PageSourceSearch

https://www.rocelec.mx/webruntime/view/4cebf587501ff39187c4ef7fd20763e0/prod/es-MX/commerceLayout_view

js rocelec.mx collected 2026-10-04 07:03:32 UTC 3,053,251 bytes, 676 lines download raw bytes

1(function() { LWR.define("@salesforce/i18n/showJapaneseCalendar",["exports"],function(e){e.default=!1,Object.defineProperty(e,"__esModule",{value:!0})});
2})();(function() { LWR.define("@salesforce/i18n/dateTime.shortTimeFormat",["exports"],function(e){e.default="HH:mm",Object.defineProperty(e,"__esModule",{value:!0})});
3})();LWR.define('@salesforce/i18n/number.currencyFormat', [], function() { return "¤#,##0.00"; });(function() { LWR.define("@salesforce/i18n/number.exponentialSign",["exports"],function(e){e.default="E",Object.defineProperty(e,"__esModule",{value:!0})});
4})();(function() { LWR.define("@salesforce/i18n/calendarData",["exports"],function(e){e.default={gregorian:{dayPeriods:{format:{abbreviated:{am:"a. m.",noon:"del mediodía",pm:"p. m.",morning1:"de la madrugada",morning2:"de la mañana",evening1:"de la tarde",night1:"de la noche"},narrow:{am:"a. m.",noon:"del mediodía",pm:"p. m.",morning1:"de la madrugada",morning2:"mañana",evening1:"de la tarde",night1:"de la noche"},wide:{am:"a. m.",noon:"del mediodía",pm:"p. m.",morning1:"de la madrugada",morning2:"de la mañana",evening1:"de la tarde",night1:"de la noche"}},"stand-alone":{abbreviated:{am:"a. m.",noon:"mediodía",pm:"p. m.",morning1:"madrugada",morning2:"mañana",evening1:"tarde",night1:"noche"},narrow:{am:"a. m.",noon:"mediodía",pm:"p. m.",morning1:"madrugada",morning2:"mañana",evening1:"tarde",night1:"noche"},wide:{am:"a. m.",noon:"mediodía",pm:"p. m.",morning1:"madrugada",morning2:"mañana",evening1:"tarde",night1:"noche"}}},days:{format:{abbreviated:{sun:"dom",mon:"lun",tue:"mar",wed:"mié",thu:"jue",fri:"vie",sat:"sáb"},narrow:{sun:"D",mon:"L",tue:"M",wed:"M",thu:"J",fri:"V",sat:"S"},short:{sun:"DO",mon:"LU",tue:"MA",wed:"MI",thu:"JU",fri:"VI",sat:"SA"},wide:{sun:"domingo",mon:"lunes",tue:"martes",wed:"miércoles",thu:"jueves",fri:"viernes",sat:"sábado"}},"stand-alone":{abbreviated:{sun:"dom",mon:"lun",tue:"mar",wed:"mié",thu:"jue",fri:"vie",sat:"sáb"},narrow:{sun:"D",mon:"L",tue:"M",wed:"M",thu:"J",fri:"V",sat:"S"},short:{sun:"DO",mon:"LU",tue:"MA",wed:"MI",thu:"JU",fri:"VI",sat:"SA"},wide:{sun:"domingo",mon:"lunes",tue:"martes",wed:"miércoles",thu:"jueves",fri:"viernes",sat:"sábado"}}},eras:{eraNames:{0:"antes de Cristo",1:"después de Cristo","0-alt-variant":"antes de la era común","1-alt-variant":"era común"},eraAbbr:{0:"a. C.",1:"d. C.","0-alt-variant":"a. e. c.","1-alt-variant":"e. c."},eraNarrow:{0:"a. C.",1:"d. C.","0-alt-variant":"a. e. c.","1-alt-variant":"e. c."}},months:{format:{abbreviated:{1:"ene",2:"feb",3:"mar",4:"abr",5:"may",6:"jun",7:"jul",8:"ago",9:"sept",10:"oct",11:"nov",12:"dic"},narrow:{1:"E",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"enero",2:"febrero",3:"marzo",4:"abril",5:"mayo",6:"junio",7:"julio",8:"agosto",9:"septiembre",10:"octubre",11:"noviembre",12:"diciembre"}},"stand-alone":{abbreviated:{1:"ene",2:"feb",3:"mar",4:"abr",5:"may",6:"jun",7:"jul",8:"ago",9:"sept",10:"oct",11:"nov",12:"dic"},narrow:{1:"E",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"enero",2:"febrero",3:"marzo",4:"abril",5:"mayo",6:"junio",7:"julio",8:"agosto",9:"septiembre",10:"octubre",11:"noviembre",12:"diciembre"}}},quarters:{format:{abbreviated:{1:"T1",2:"T2",3:"T3",4:"T4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1.er trimestre",2:"2.º trimestre",3:"3.er trimestre",4:"4.º trimestre"}},"stand-alone":{abbreviated:{1:"T1",2:"T2",3:"T3",4:"T4"},narrow:{1:"1T",2:"2T",3:"3T",4:"4T"},wide:{1:"1.er trimestre",2:"2.º trimestre",3:"3.er trimestre",4:"4.º trimestre"}}}}},Object.defineProperty(e,"__esModule",{value:!0})});
5})();(function() { LWR.define("@salesforce/i18n/number.percentFormat",["exports"],function(e){e.default="#,##0 %",Object.defineProperty(e,"__esModule",{value:!0})});
6})();(function() { LWR.define("@salesforce/i18n/defaultNumberingSystem",["exports"],function(e){e.default="latn",Object.defineProperty(e,"__esModule",{value:!0})});
7})();(function() { LWR.define("@salesforce/i18n/common.digits",["exports"],function(a){a.default={bhks:"𑱐𑱑𑱒𑱓𑱔𑱕𑱖𑱗𑱘𑱙",talu:"᧐᧑᧒᧓᧔᧕᧖᧗᧘᧙",guru:"੦੧੨੩੪੫੬੭੮੯",arabext:"Û°Û±Û²Û³Û´ÛµÛ¶Û·Û¸Û¹",gujr:"૦૧૨૩૪૫૬૭૮૯",mathdbl:"𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡",fullwide:"0123456789",telu:"౦౧౨౩౪౫౬౭౮౯",mathmono:"𝟶𝟷𝟸𝟹𝟺𝟻𝟼𝟽𝟾𝟿",gong:"𑶠𑶡𑶢𑶣𑶤𑶥𑶦𑶧𑶨𑶩",beng:"০১২৩৪৫৬৭৮৯",knda:"೦೧೨೩೪೫೬೭೮೯",java:"꧐꧑꧒꧓꧔꧕꧖꧗꧘꧙",modi:"𑙐𑙑𑙒𑙓𑙔𑙕𑙖𑙗𑙘𑙙",gonm:"𑵐𑵑𑵒𑵓𑵔𑵕𑵖𑵗𑵘𑵙",segment:"🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹",latn:"0123456789",lepc:"᱀᱁᱂᱃᱄᱅᱆᱇᱈᱉",orya:"୦୧୨୩୪୫୬୭୮୯",takr:"𑛀𑛁𑛂𑛃𑛄𑛅𑛆𑛇𑛈𑛉",sinh:"෦෧෨෩෪෫෬෭෮෯",laoo:"໐໑໒໓໔໕໖໗໘໙",thai:"๐๑๒๓๔๕๖๗๘๙",mymrtlng:"꧰꧱꧲꧳꧴꧵꧶꧷꧸꧹",sund:"᮰᮱᮲᮳᮴᮵᮶᮷᮸᮹",olck:"᱐᱑᱒᱓᱔᱕᱖᱗᱘᱙",tibt:"༠༡༢༣༤༥༦༧༨༩",hmnp:"𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉",mtei:"꯰꯱꯲꯳꯴꯵꯶꯷꯸꯹",sind:"𑋰𑋱𑋲𑋳𑋴𑋵𑋶𑋷𑋸𑋹",vaii:"꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩",mymrshan:"႐႑႒႓႔႕႖႗႘႙",tamldec:"௦௧௨௩௪௫௬௭௮௯",sora:"𑃰𑃱𑃲𑃳𑃴𑃵𑃶𑃷𑃸𑃹",arab:"٠١٢٣٤٥٦٧٨٩",diak:"𑥐𑥑𑥒𑥓𑥔𑥕𑥖𑥗𑥘𑥙",mlym:"൦à
7µ§àµ¨àµ©àµªàµ«àµ¬àµ­àµ®àµ¯",deva:"०१२३४५६७८९",hanidec:"〇一二三四五六七八九",adlm:"𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙",rohg:"𐴰𐴱𐴲𐴳𐴴𐴵𐴶𐴷𐴸𐴹",osma:"𐒠𐒡𐒢𐒣𐒤𐒥𐒦𐒧𐒨𐒩",hmng:"𖭐𖭑𖭒𖭓𖭔𖭕𖭖𖭗𖭘𖭙",wara:"𑣠𑣡𑣢𑣣𑣤𑣥𑣦𑣧𑣨𑣩",bali:"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙",brah:"𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯",lana:"᪀᪁᪂᪃᪄᪅᪆᪇᪈᪉",tirh:"𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙",saur:"꣐꣑꣒꣓꣔꣕꣖꣗꣘꣙",limb:"᥆᥇᥈᥉᥊᥋᥌᥍᥎᥏",kali:"꤀꤁꤂꤃꤄꤅꤆꤇꤈꤉",mymr:"၀၁၂၃၄၅၆၇၈၉",wcho:"𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹",mathsans:"𝟢𝟣𝟤𝟥𝟦𝟧𝟨𝟩𝟪𝟫",ahom:"𑜰𑜱𑜲𑜳𑜴𑜵𑜶𑜷𑜸𑜹",mong:"᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙",cakm:"𑄶𑄷𑄸𑄹𑄺𑄻𑄼𑄽𑄾𑄿",nkoo:"߀߁߂߃߄߅߆߇߈߉",khmr:"០១២៣៤៥៦៧៨៩",newa:"𑑐𑑑𑑒𑑓𑑔𑑕𑑖𑑗𑑘𑑙",shrd:"𑇐𑇑𑇒𑇓𑇔𑇕𑇖𑇗𑇘𑇙",mathsanb:"𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵",lanatham:"᪐᪑᪒᪓᪔᪕᪖᪗᪘᪙",mroo:"𖩠𖩡𖩢𖩣𖩤𖩥𖩦𖩧𖩨𖩩",mathbold:"𝟎𝟏𝟐𝟑𝟒𝟓𝟔𝟕𝟖𝟗",tnsa:"𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉",cham:"꩐꩑꩒꩓꩔꩕꩖꩗꩘꩙"},Object.defineProperty(a,"__esModule",{value:!0})});
8})();LWR.define('@salesforce/i18n/number.currencySymbol', [], function() { return "$"; });(function() { LWR.define("@salesforce/i18n/number.infinity",["exports"],function(e){e.default="∞",Object.defineProperty(e,"__esModule",{value:!0})});
9})();(function() { LWR.define("@salesforce/i18n/dateTime.longDateFormat",["exports"],function(e){e.default="d 'de' MMMM 'de' yyyy",Object.defineProperty(e,"__esModule",{value:!0})});
10})();(function() { LWR.define("@salesforce/i18n/number.plusSign",["exports"],function(e){e.default="+",Object.defineProperty(e,"__esModule",{value:!0})});
11})();LWR.define('@salesforce/i18n/locale', [], function() { return "es-MX"; });(function() { LWR.define("@salesforce/i18n/dateTime.shortDateFormat",["exports"],function(e){e.default="dd/MM/yyyy",Object.defineProperty(e,"__esModule",{value:!0})});
12})();(function() { LWR.define("@salesforce/i18n/defaultCalendar",["exports"],function(e){e.default="gregorian",Object.defineProperty(e,"__esModule",{value:!0})});
13})();(function() { LWR.define("@salesforce/i18n/number.superscriptingExponentSign",["exports"],function(e){e.default="×",Object.defineProperty(e,"__esModule",{value:!0})});
14})();(function() { LWR.define("@salesforce/i18n/common.calendarData",["exports"],function(t){t.default={buddhist:{calendarSystem:"solar",eras:{0:{_start:"-542-01-01"}}},"ethiopic-amete-alem":{eras:{0:{_end:"-5492-08-29"}}},generic:{},gregorian:{calendarSystem:"solar",eras:{0:{_end:"0-12-31"},1:{_start:"1-01-01"}}},indian:{eras:{0:{_start:"79-01-01"}}},japanese:{calendarSystem:"solar",eras:{0:{_start:"645-6-19"},1:{_start:"650-2-15"},2:{_start:"672-1-1"},3:{_start:"686-7-20"},4:{_start:"701-3-21"},5:{_start:"704-5-10"},6:{_start:"708-1-11"},7:{_start:"715-9-2"},8:{_start:"717-11-17"},9:{_start:"724-2-4"},10:{_start:"729-8-5"},11:{_start:"749-4-14"},12:{_start:"749-7-2"},13:{_start:"757-8-18"},14:{_start:"765-1-7"},15:{_start:"767-8-16"},16:{_start:"770-10-1"},17:{_start:"781-1-1"},18:{_start:"782-8-19"},19:{_start:"806-5-18"},20:{_start:"810-9-19"},21:{_start:"824-1-5"},22:{_start:"834-1-3"},23:{_start:"848-6-13"},24:{_start:"851-4-28"},25:{_start:"854-11-30"},26:{_start:"857-2-21"},27:{_start:"859-4-15"},28:{_start:"877-4-16"},29:{_start:"885-2-21"},30:{_start:"889-4-27"},31:{_start:"898-4-26"},32:{_start:"901-7-15"},33:{_start:"923-4-11"},34:{_start:"931-4-26"},35:{_start:"938-5-22"},36:{_start:"947-4-22"},37:{_start:"957-10-27"},38:{_start:"961-2-16"},39:{_start:"964-7-10"},40:{_start:"968-8-13"},41:{_start:"970-3-25"},42:{_start:"973-12-20"},43:{_start:"976-7-13"},44:{_start:"978-11-29"},45:{_start:"983-4-15"},46:{_start:"985-4-27"},47:{_start:"987-4-5"},48:{_start:"989-8-8"},49:{_start:"990-11-7"},50:{_start:"995-2-22"},51:{_start:"999-1-13"},52:{_start:"1004-7-20"},53:{_start:"1012-12-25"},54:{_start:"1017-4-23"},55:{_start:"1021-2-2"},56:{_start:"1024-7-13"},57:{_start:"1028-7-25"},58:{_start:"1037-4-21"},59:{_start:"1040-11-10"},60:{_start:"1044-11-24"},61:{_start:"1046-4-14"},62:{_start:"1053-1-11"},63:{_start:"1058-8-29"},64:{_start:"1065-8-2"},65:{_start:"1069-4-13"},66:{_start:"1074-8-23"},67:{_start:"1077-11-17"},68:{_start:"1081-2-10"},69:{_start:"1084-2-7"},70:{_start:"1087-4-7"},71:{_start:"1094-12-15"},72:{_start:"1096-12-17"},73:{_start:"1097-11-21"},74:{_start:"1099-8-28"},75:{_start:"1104-2-10"},76:{_start:"1106-4-9"},77:{_start:"1108-8-3"},78:{_start:"1110-7-13"},79:{_start:"1113-7-13"},80:{_start:"1118-4-3"},81:{_start:"1120-4-10"},82:{_start:"1124-4-3"},83:{_start:"1126-1-22"},84:{_start:"1131-1-29"},85:{_start:"1132-8-11"},86:{_start:"1135-4-27"},87:{_start:"1141-7-10"},88:{_start:"1142-4-28"},89:{_start:"1144-2-23"},90:{_start:"1145-7-22"},91:{_start:"1151-1-26"},92:{_start:"1154-10-28"},93:{_start:"1156-4-27"},94:{_start:"1159-4-20"},95:{_start:"1160-1-10"},96:{_start:"1161-9-4"},97:{_start:"1163-3-29"},98:{_start:"1165-6-5"},99:{_start:"1166-8-27"},100:{_start:"1169-4-8"},101:{_start:"1171-4-21"},102:{_start:"1175-7-28"},103:{_start:"1177-8-4"},104:{_start:"1181-7-14"},105:{_start:"1182-5-27"},106:{_start:"1184-4-16"},107:{_start:"1185-8-14"},108:{_start:"1190-4-11"},109:{_start:"1199-4-27"},110:{_start:"1201-2-13"},111:{_start:"1204-2-20"},112:{_start:"1206-4-27"},113:{_start:"1207-10-25"},114:{_start:"1211-3-9"},115:{_start:"1213-12-6"},116:{_start:"1219-4-12"},117:{_start:"1222-4-13"},118:{_start:"1224-11-20"},119:{_start:"1225-4-20"},120:{_start:"1227-12-10"},121:{_start:"1229-3-5"},122:{_start:"1232-4-2"},123:{_start:"1233-4-15"},124:{_start:"1234-11-5"},125:{_start:"1235-9-19"},126:{_start:"1238-11-23"},127:{_start:"1239-2-7"},128:{_start:"1240-7-16"}
14,129:{_start:"1243-2-26"},130:{_start:"1247-2-28"},131:{_start:"1249-3-18"},132:{_start:"1256-10-5"},133:{_start:"1257-3-14"},134:{_start:"1259-3-26"},135:{_start:"1260-4-13"},136:{_start:"1261-2-20"},137:{_start:"1264-2-28"},138:{_start:"1275-4-25"},139:{_start:"1278-2-29"},140:{_start:"1288-4-28"},141:{_start:"1293-8-5"},142:{_start:"1299-4-25"},143:{_start:"1302-11-21"},144:{_start:"1303-8-5"},145:{_start:"1306-12-14"},146:{_start:"1308-10-9"},147:{_start:"1311-4-28"},148:{_start:"1312-3-20"},149:{_start:"1317-2-3"},150:{_start:"1319-4-28"},151:{_start:"1321-2-23"},152:{_start:"1324-12-9"},153:{_start:"1326-4-26"},154:{_start:"1329-8-29"},155:{_start:"1331-8-9"},156:{_start:"1334-1-29"},157:{_start:"1336-2-29"},158:{_start:"1340-4-28"},159:{_start:"1346-12-8"},160:{_start:"1370-7-24"},161:{_start:"1372-4-1"},162:{_start:"1375-5-27"},163:{_start:"1379-3-22"},164:{_start:"1381-2-10"},165:{_start:"1384-4-28"},166:{_start:"1387-8-22"},167:{_start:"1387-8-23"},168:{_start:"1389-2-9"},169:{_start:"1390-3-26"},170:{_start:"1394-7-5"},171:{_start:"1428-4-27"},172:{_start:"1429-9-5"},173:{_start:"1441-2-17"},174:{_start:"1444-2-5"},175:{_start:"1449-7-28"},176:{_start:"1452-7-25"},177:{_start:"1455-7-25"},178:{_start:"1457-9-28"},179:{_start:"1460-12-21"},180:{_start:"1466-2-28"},181:{_start:"1467-3-3"},182:{_start:"1469-4-28"},183:{_start:"1487-7-29"},184:{_start:"1489-8-21"},185:{_start:"1492-7-19"},186:{_start:"1501-2-29"},187:{_start:"1504-2-30"},188:{_start:"1521-8-23"},189:{_start:"1528-8-20"},190:{_start:"1532-7-29"},191:{_start:"1555-10-23"},192:{_start:"1558-2-28"},193:{_start:"1570-4-23"},194:{_start:"1573-7-28"},195:{_start:"1592-12-8"},196:{_start:"1596-10-27"},197:{_start:"1615-7-13"},198:{_start:"1624-2-30"},199:{_start:"1644-12-16"},200:{_start:"1648-2-15"},201:{_start:"1652-9-18"},202:{_start:"1655-4-13"},203:{_start:"1658-7-23"},204:{_start:"1661-4-25"},205:{_start:"1673-9-21"},206:{_start:"1681-9-29"},207:{_start:"1684-2-21"},208:{_start:"1688-9-30"},209:{_start:"1704-3-13"},210:{_start:"1711-4-25"},211:{_start:"1716-6-22"},212:{_start:"1736-4-28"},213:{_start:"1741-2-27"},214:{_start:"1744-2-21"},215:{_start:"1748-7-12"},216:{_start:"1751-10-27"},217:{_start:"1764-6-2"},218:{_start:"1772-11-16"},219:{_start:"1781-4-2"},220:{_start:"1789-1-25"},221:{_start:"1801-2-5"},222:{_start:"1804-2-11"},223:{_start:"1818-4-22"},224:{_start:"1830-12-10"},225:{_start:"1844-12-2"},226:{_start:"1848-2-28"},227:{_start:"1854-11-27"},228:{_start:"1860-3-18"},229:{_start:"1861-2-19"},230:{_start:"1864-2-20"},231:{_start:"1865-4-7"},232:{_start:"1868-9-8"},233:{_start:"1912-7-30"},234:{_start:"1926-12-25"},235:{_start:"1989-1-8"},236:{_start:"2019-5-1"}}},persian:{calendarSystem:"solar",eras:{0:{_start:"622-01-01"}}},roc:{eras:{0:{_end:"1911-12-31"},1:{_start:"1912-01-01"}}}},Object.defineProperty(t,"__esModule",{value:!0})});
15})();(function() { LWR.define("@salesforce/i18n/number.percentSign",["exports"],function(e){e.default="%",Object.defineProperty(e,"__esModule",{value:!0})});
16})();LWR.define('@salesforce/i18n/currency', [], function() { return "MXN"; });(function() { LWR.define("@salesforce/i18n/dateTime.mediumTimeFormat",["exports"],function(e){e.default="HH:mm:ss",Object.defineProperty(e,"__esModule",{value:!0})});
17})();(function() { LWR.define("@salesforce/i18n/number.minusSign",["exports"],function(e){e.default="-",Object.defineProperty(e,"__esModule",{value:!0})});
18})();(function() { LWR.define("@salesforce/i18n/number.nan",["exports"],function(e){e.default="NaN",Object.defineProperty(e,"__esModule",{value:!0})});
19})();(function() { LWR.define("@salesforce/i18n/number.perMilleSign",["exports"],function(e){e.default="‰",Object.defineProperty(e,"__esModule",{value:!0})});
20})();LWR.define('@salesforce/i18n/dir', [], function() { return "ltr"; });LWR.define('@salesforce/i18n/firstDayOfWeek', [], function() { return 1; });(function() { LWR.define("@salesforce/i18n/number.groupingSeparator",["exports"],function(e){e.default=",",Object.defineProperty(e,"__esModule",{value:!0})});
21})();(function() { LWR.define("@salesforce/i18n/number.numberFormat",["exports"],function(e){e.default="#,##0.###",Object.defineProperty(e,"__esMo
21dule",{value:!0})});
22})();(function() { LWR.define("@salesforce/i18n/timeZone",["exports","lwc"],function(e,t){const n=Intl.DateTimeFormat().resolvedOptions().timeZone,l=t.registerComponent(n,{tmpl:void 0,sel:"@salesforce-mg0gxt27b8l1hrutfi3p",apiVersion:66,enableSyntheticElementInternals:!0});e.default=l,Object.defineProperty(e,"__esModule",{value:!0})});
23})();(function() { LWR.define("@salesforce/i18n/dateTime.mediumDateFormat",["exports"],function(e){e.default="d MMM yyyy",Object.defineProperty(e,"__esModule",{value:!0})});
24})();(function() { LWR.define("@salesforce/i18n/number.decimalSeparator",["exports"],function(e){e.default=".",Object.defineProperty(e,"__esModule",{value:!0})});
25})();LWR.define('@salesforce/label/Emojis_AnimalsNature.deciduousTree', [], function() { return "Árbol de hoja caduca"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.octopus', [], function() { return "Pulpo"; });LWR.define('@salesforce/label/Emojis_Activities.flowerPlayingCards', [], function() { return "Hanafuda"; });LWR.define('@salesforce/label/Emojis_Flags.ireland', [], function() { return "Irlanda"; });LWR.define('@salesforce/label/LightningErrorMessage.validityBadNumericInput', [], function() { return "Ingrese un valor numérico válido."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.foggy', [], function() { return "Nublado"; });LWR.define('@salesforce/label/Emojis_Objects.mobilePhone', [], function() { return "Teléfono celular"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.airplane', [], function() { return "Avión"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.MaximumNumberOfFilesAllowedErrorText', [], function() { return "Se agregaron hasta 5 datos adjuntos."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.tongue', [], function() { return "Lengua"; });LWR.define('@salesforce/label/Emojis_Activities.gameDie', [], function() { return "Juego de dados"; });LWR.define('@salesforce/label/Emojis_Symbols.inputLatinUppercase', [], function() { return "Entrada en mayúscula latina"; });LWR.define('@salesforce/label/Emojis_Objects.musicalNotes', [], function() { return "Notas musicales"; });LWR.define('@salesforce/label/Emojis_Symbols.blueCircle', [], function() { return "Círculo azul"; });LWR.define('@salesforce/label/Emojis_Objects.musicalNote', [], function() { return "Nota musical"; });LWR.define('@salesforce/label/c.B2BLoggingIdentifier', [], function() { return "b2b"; });LWR.define('@salesforce/label/Emojis_Objects.key', [], function() { return "Clave"; });LWR.define('@salesforce/label/Emojis_Activities.japaneseDolls', [], function() { return "Muñeca japonesa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.foldedHands', [], function() { return "Manos juntas"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteHeavyCheckMark', [], function() { return "Marca de verificación gruesa de color blanco"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.pigNose', [], function() { return "Nariz de cerdo"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.viewCartButtonText', [], function() { return "Ver carrito"; });LWR.define('@salesforce/label/Emojis_Objects.newspaper', [], function() { return "Periódico"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.bathtub', [], function() { return "Bañera"; });LWR.define('@salesforce/label/ThemeNav.closeNavigationMenu', [], function() { return "Cerrar menú de navegación"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.worriedFace', [], function() { return "Cara preocupada"; });LWR.define('@salesforce/label/c.B2BNewsHeader', [], function() { return "Novedades"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.pig', [], function() { return "Cerdo"; });LWR.define('@salesforce/label/Emojis_Symbols.upDownArrow', [], function() { return "Flecha hacia abajo y arriba"; });LWR.define('@salesforce/label/Emojis_Activities.moonViewingCeremony', [], function() { return "Ceremonia de visualización lunar"; });LWR.define('@salesforce/label/c.B2BSolutionsHref', [], function() { return "/solutions"; });LWR.define('@salesforce/label/c.B2BAerospaceandDefenceHref', [], function() { return "/markets/aerospace-defense"; });LWR.define('@salesforce/label/LightningColorPicker.redAbbr', [], function() { return "Rojo"; });LWR.define('@salesforce/label/Emojis_Symbols.warning', [], function() { return "Advertencia"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.revolvingHearts', [], function() { return "Corazones giratorios"; });LWR.define('@salesforce/label/LightningColorPicker.greenAbbr', [], function() { return "Verde"; });LWR.define('@salesforce/label/c.B2BLogicHref', [], function() { return "/products/logic"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.wearyFace', [], function() { return "Cara cansada"; });LWR.define('@salesforce/label/Emojis_Symbols.exclamationQuestionMark', [], function() { return "Signo de interrogación y exclamación"; });
25LWR.define('@salesforce/label/c.B2BOurLocationsHref', [], function() { return "/about/locations"; });LWR.define('@salesforce/label/Emojis_Symbols.endArrow', [], function() { return "Flecha END"; });LWR.define('@salesforce/label/c.B2BAnalogandMixedSignalHref', [], function() { return "/products/analog-and-mixed-signal"; });LWR.define('@salesforce/label/c.B2BLogoutHeader', [], function() { return "Cerrar sesión"; });LWR.define('@salesforce/label/c.B2BManufacturers', [], function() { return "Fabricantes"; });LWR.define('@salesforce/label/LightningToast.close', [], function() { return "Cerrar"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personPouting', [], function() { return "Persona poniendo mala cara"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.raisedFist', [], function() { return "Puño alzado"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.dizzy', [], function() { return "Vertiginoso"; });LWR.define('@salesforce/label/LightningErrorMessage.validityTooLong', [], function() { return "Su entrada es demasiado larga."; });LWR.define('@salesforce/label/Emojis_Symbols.virgo', [], function() { return "Virgo"; });LWR.define('@salesforce/label/Emojis_FoodDrink.candy', [], function() { return "Caramelo"; });LWR.define('@salesforce/label/Emojis_FoodDrink.eggplant', [], function() { return "Berenjena"; });LWR.define('@salesforce/label/Emojis_Symbols.idButton', [], function() { return "Botón ID"; });LWR.define('@salesforce/label/LightningButtonMenu.showMenu', [], function() { return "Mostrar menú"; });LWR.define('@salesforce/label/c.B2BMyAccountHref', [], function() { return "/myprofile"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.seedling', [], function() { return "Planta"; });LWR.define('@salesforce/label/Emojis_FoodDrink.kitchenKnife', [], function() { return "Cuchillo de cocina"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonTitle', [], function() { return "Descargar archivo"; });LWR.define('@salesforce/label/Emojis_Flags.southKorea', [], function() { return "Corea del Sur"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.poutingCatFace', [], function() { return "Cara de gato haciendo pucheros"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.elevenOClock', [], function() { return "Once en punto"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.CloseMenuButtonAssistiveText', [], function() { return "Cerrar el menú del chat"; });LWR.define('@salesforce/label/Emojis_FoodDrink.curryRice', [], function() { return "Arroz con curry"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.ConversationEndedMinimizedText', [], function() { return "Sesión de chat finalizada"; });LWR.define('@salesforce/label/Emojis_Objects.memo', [], function() { return "Nota"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouthColdSweat', [], function() { return "Cara con boca abierta y sudor frío"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap0', [], function() { return "Tecla 0"; });LWR.define('@salesforce/label/Emojis_Flags.norway', [], function() { return "Noruega"; });LWR.define('@salesforce/label/Emojis_Objects.saxophone', [], function() { return "Saxofón"; });LWR.define('@salesforce/label/LightningErrorMessage.validityBadInput', [], function() { return "Ingrese un valor válido."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smirkingFace', [], function() { return "Cara pícara"; });LWR.define('@salesforce/label/Emojis_Flags.unitedArabEmirates', [], function() { return "Emiratos Árabes Unidos"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ConversationClosedText', [], function() { return "El chat finalizó a las"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationAssistiveText', [], function() { return "Ampliar el texto"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinutes', [], function() { return "Estamos conectándole con un agente. Su tiempo de espera estimado es de {0} minutos."; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.RemoveAttachmentButtonAssistiveText', [], function() { return "No enviar el archivo {0}"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.hushedFace', [], function() { return "Cara sorprendido"; });LWR.define('@salesforce/label/LightningModalBase.waitstate', [], function() { return "Procesando"; });LWR.define('@salesforce/label/c.B2BAutomotiveHref', [], function() { return "/markets/automotive"; });LWR.define('@salesforce/label/Emojis_Objects.lockedWithPen', [], function() { return "Bloqueado con lápiz"; });LWR.define('@salesforce/label/c.B2BPrivacyPolicy', [], function() { return "Política de privacidad"; });LWR.define('@salesforce/label/c.B2BMedical', [], function() { return "Médica"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.nineOClock', [], function() { return "Nueve en punto"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.waxingGibbousMoon', [], function() { return "Luna creciente gibosa"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.travelPlacesCategory', [], function() { return "Viajes y lugares"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.JwtExpiredText', [], function() { return "La sesión finalizó. Inicie una nueva sesión de chat..."; });LWR.define('@salesforce/label/LightningInputNumber.incrementCounter', [], function() { return "Aumentar número"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.womansHat', [], function() { return "Sombrero de mujer"; });LWR.define('@salesforce/label/Emojis_FoodDrink.bread', [], function() { return "Pan"; });LWR.define('@salesforce/label/LightningControl.true', [], function() { return "Verdadero"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.spiralShell', [], function() { return "Concha"; });LWR.define('@salesforce/label/LightningToast.infoLabel', [], function() { return "Información"; });LWR.define('@salesforce/label/Emojis_Objects.hammer', [], function() { return "Martillo"; });LWR.define('@salesforce/label/Emojis_Symbols.rightArrow', [], function() { return "Flecha derecha"; });LWR.define('@salesforce/label/c.B2BLiteratureHref', [], function() { return "/literature"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.dragonFace', [], function() { return "Cara de dragón"; });LWR.define('@salesforce/label/Emojis_Objects.chartIncreasingWithYen', [], function() { return "Gráfico creciente con yen"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.BackButtonDisabledAssistiveText', [], function() { return "
25El botón Atrás no está disponible"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestFailureHeaderAnnouncement', [], function() { return "Transferencia cancelada"; });LWR.define('@salesforce/label/Emojis_Flags.philippines', [], function() { return "Filipinas"; });LWR.define('@salesforce/label/Emojis_FoodDrink.hotBeverage', [], function() { return "Bebida caliente"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.cryingCatFace', [], function() { return "Cara de gato llorando"; });LWR.define('@salesforce/label/c.B2BLoginHref', [], function() { return "/login"; });LWR.define('@salesforce/label/Emojis_FoodDrink.clinkingBeerMugs', [], function() { return "Brindis con jarras de cerveza"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithOpenMouth', [], function() { return "Cara de gato sonriente con boca abierta"; });LWR.define('@salesforce/label/Emojis_Activities.heartSuit', [], function() { return "Juego de corazones"; });LWR.define('@salesforce/label/Emojis_Symbols.vsButton', [], function() { return "Botón VS"; });LWR.define('@salesforce/label/c.B2BAuthorizedDistribution', [], function() { return "Authorized Distribution"; });LWR.define('@salesforce/label/LightningErrorMessage.validityRangeUnderflow', [], function() { return "El número es demasiado bajo."; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.StepLabel', [], function() { return "Paso: {0}/{1}"; });LWR.define('@salesforce/label/Emojis_Objects.straightRuler', [], function() { return "Regla recta"; });LWR.define('@salesforce/label/Emojis_Symbols.recyclingSymbol', [], function() { return "Símbolo de reciclaje"; });LWR.define('@salesforce/label/Emojis_Flags.indonesia', [], function() { return "Indonesia"; });LWR.define('@salesforce/label/Emojis_Objects.crystalBall', [], function() { return "Bola de cristal"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.FileSendingText', [], function() { return "Enviando archivo..."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.dashingAway', [], function() { return "Movimiento"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.whiteMediumStar', [], function() { return "Estrella mediana blanca"; });LWR.define('@salesforce/label/Emojis_Symbols.atmSign', [], function() { return "Símbolo de cajero automático"; });LWR.define('@salesforce/label/Emojis_Objects.incomingEnvelope', [], function() { return "Sobre recibido"; });LWR.define('@salesforce/label/Emojis_Objects.notebook', [], function() { return "Bloc de notas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.cityscapeAtDusk', [], function() { return "Paisaje urbano al anochecer"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingBus', [], function() { return "Autobús aproximándose"; });LWR.define('@salesforce/label/Emojis_Symbols.upLeftArrow', [], function() { return "Flecha izquierda hacia arriba"; });LWR.define('@salesforce/label/Emojis_Objects.flashlight', [], function() { return "Linterna"; });LWR.define('@salesforce/label/c.B2BLicensedManufacturing', [], function() { return "Fabricación con licencia"; });LWR.define('@salesforce/label/c.B2BMyAccount', [], function() { return "Mi cuenta"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.StartNewConversationButtonText', [], function() { return "Nueva plática"; });LWR.define('@salesforce/label/Emojis_Objects.openFileFolder', [], function() { return "Carpeta de archivos abierta"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ReadByAll', [], function() { return "Leído por todos"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingTaxi', [], function() { return "Taxi aproximándose"; });LWR.define('@salesforce/label/c.B2BPurchasingOnBehalfStart', [], function() { return "If you\u0027re purchasing on behalf of a company,"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.BackButtonLabel', [], function() { return "Atrás"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.whiteFlower', [], function() { return "Flor blanca"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.postOffice', [], function() { return "Oficina de correos"; });LWR.define('@salesforce/label/c.B2BVideos', [], function() { return "Videos"; });LWR.define('@salesforce/label/Emojis_Objects.blackNib', [], function() { return "Pluma negra"; });
25LWR.define('@salesforce/label/Emojis_Activities.runningShirt', [], function() { return "Camiseta para correr"; });LWR.define('@salesforce/label/c.B2BCareersHref', [], function() { return "/about/careers"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.flexedBiceps', [], function() { return "Bíceps flexionados"; });LWR.define('@salesforce/label/Emojis_Flags.germany', [], function() { return "Alemania"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationConfirmButtonLabel', [], function() { return "Abandonar formulario"; });LWR.define('@salesforce/label/Emojis_Symbols.heavyCheckMark', [], function() { return "Marca de verificación gruesa"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.seat', [], function() { return "Asiento"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.addToSecondaryCartFailureToast', [], function() { return "No pudimos agregar \"{0}\" al carrito \"{1}\". Inténtelo de nuevo."; });LWR.define('@salesforce/label/LightningColorPicker.a11yTriggerText', [], function() { return "Seleccione un colo. Color actual: "; });LWR.define('@salesforce/label/Emojis_Symbols.crossMarkButton', [], function() { return "Botón Cruz"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.neutralFace', [], function() { return "Cara seria"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.bicycle', [], function() { return "Bicicleta"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Read', [], function() { return "Leer"; });LWR.define('@salesforce/label/Emojis_FoodDrink.tropicalDrink', [], function() { return "Bebida tropical"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.tigerFace', [], function() { return "Cara de tigre"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.flushedFace', [], function() { return "Cara sonrojada"; });LWR.define('@salesforce/label/EmbeddedMessagingCarousels.NextCardButtonAssistiveText', [], function() { return "Siguiente"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.monkey', [], function() { return "Mono"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.heartWithRibbon', [], function() { return "Corazón con lazo"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.frogFace', [], function() { return "Cara de rana"; });LWR.define('@salesforce/label/Emojis_Objects.dvd', [], function() { return "DVD"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.handbag', [], function() { return "Bolso de mano"; });LWR.define('@salesforce/label/Commerce_Wishlists.wishlistPageAssistiveText', [], function() { return "Mi lista"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sunWithFace', [], function() { return "Sol con cara"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap2', [], function() { return "Tecla 2"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.HeaderGreetingAnnouncement', [], function() { return "Hola, pregúnteme cualquier cosa."; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.MessagingIframeTitle', [], function() { return "Sesión de chat con un agente"; });LWR.define('@salesforce/label/Emojis_Activities.confettiBall', [], function() { return "Bola de confeti"; });LWR.define('@salesforce/label/c.B2BTermsandConditionsHref', [], function() { return "/about/corporate-policies/governance/terms-and-conditions"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.twoMenHoldingHands', [], function() { return "Dos hombres de la mano"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.QueuePositionPlaceholderText', [], function() { return "Obteniendo su puesto en la cola..."; });LWR.define('@salesforce/label/Emojis_AnimalsNature.tropicalFish', [], function() { return "Pez tropical"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceholderEndUserOnlyParticipant', [], function() { return "Iniciar a nueva sesión de chat..."; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.SSEConnectionTryAgainNotification', [], function() { return "No pudimos conectarle."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.wavingHand', [], function() { return "Mano que saluda"; });LWR.define('@salesforce/label/Emojis_Symbols.libra', [], function() { return "Libra"; });LWR.define('@salesforce/label/c.B2BAboutUs', [], function() { return "Sobre nosotros"; });LWR.define('@salesforce/label/c.B2BCookiePolicy', [], function() { return "Política de cookies"; });LWR.define('@salesforce/label/B2B_Search_Suggestions.search', [], function() { return "Buscar"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.bouquet', [], function() { return "Ramo de flores"; });
25LWR.define('@salesforce/label/Emojis_Activities.tennis', [], function() { return "Tenis"; });LWR.define('@salesforce/label/Emojis_Symbols.restroom', [], function() { return "Servicios"; });LWR.define('@salesforce/label/Emojis_Symbols.cancer', [], function() { return "Cáncer"; });LWR.define('@salesforce/label/Emojis_Activities.clubSuit', [], function() { return "Juego de bastos"; });LWR.define('@salesforce/label/Emojis_Symbols.coolButton', [], function() { return "Botón COOL"; });LWR.define('@salesforce/label/Emojis_Objects.clapperBoard', [], function() { return "Claqueta"; });LWR.define('@salesforce/label/Emojis_Objects.postbox', [], function() { return "Buzón"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personWalking', [], function() { return "Persona caminando"; });LWR.define('@salesforce/label/c.B2BParagraph', [], function() { return "Reciba cada semana en su bandeja de entrada las últimas noticias, artículos y recursos."; });LWR.define('@salesforce/label/Emojis_Objects.moneyWithWings', [], function() { return "Dinero con alas"; });LWR.define('@salesforce/label/UserProfileMenu.AlternativeTextWithCompany', [], function() { return "Perfil de usuario de {userName} {companyName}"; });LWR.define('@salesforce/label/Emojis_Flags.switzerland', [], function() { return "Suiza"; });LWR.define('@salesforce/label/Emojis_Objects.poundBanknote', [], function() { return "Billete de libra"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.school', [], function() { return "Colegio"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.speechBalloon', [], function() { return "Bocadillo de diálogo"; });LWR.define('@salesforce/label/LightningErrorMessage.validityTypeMismatch', [], function() { return "Ingresó un formato no válido."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithTearsOfJoy', [], function() { return "Cara con lágrimas de alegría"; });LWR.define('@salesforce/label/Emojis_Symbols.leo', [], function() { return "Leo"; });LWR.define('@salesforce/label/c.B2BDiscrete', [], function() { return "Semiconductor discreto"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.closedUmbrella', [], function() { return "Paraguas cerrado"; });LWR.define('@salesforce/label/Emojis_FoodDrink.cookie', [], function() { return "Galleta"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.AgentLeaveAnnouncement', [], function() { return "El participante se fue"; });LWR.define('@salesforce/label/Emojis_Objects.mutedSpeaker', [], function() { return "Altavoz silenciado"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.hourglassWithFlowingSand', [], function() { return "Reloj de arena con arena fluyendo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSunglasses', [], function() { return "Cara sonriente con gafas de sol"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.cowFace', [], function() { return "Cara de vaca"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.CloseNotification', [], function() { return "Cerrar"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseApplicationButton', [], function() { return "Botón Aplicación en japonés"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.fallenLeaf', [], function() { return "Hoja seca"; });LWR.define('@salesforce/label/LightningDateTimePicker.previousMonth', [], function() { return "Mes anterior"; });LWR.define('@salesforce/label/Emojis_Objects.computerDisk', [], function() { return "Disco de computadora"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.jeans', [], function() { return "Vaqueros"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.manWithChineseCap', [], function() { return "Hombre con capa china"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.threeThirty', [], function() { return "Tres y media"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.gemStone', [], function() { return "Piedra preciosa"; });LWR.define('@salesforce/label/Emojis_Objects.link', [], function() { return "Vínculo"; });LWR.define('@salesforce/label/Emojis_Symbols.passportControl', [], function() { return "Control de pasaportes"; });LWR.define('@salesforce/label/Emojis_Symbols.information', [], function() { return "Información"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.bug', [], function() { return "Insecto"; });
25LWR.define('@salesforce/label/Emojis_Activities.soccerBall', [], function() { return "Balón de fútbol"; });LWR.define('@salesforce/label/Emojis_Flags.belgium', [], function() { return "Bélgica"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.mapOfJapan', [], function() { return "Mapa de Japón"; });LWR.define('@salesforce/label/c.B2BResources', [], function() { return "Recursos"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.hatchingChick', [], function() { return "Huevo eclosionado"; });LWR.define('@salesforce/label/Emojis_Flags.colombia', [], function() { return "Colombia"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.womansBoot', [], function() { return "Botas de mujer"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.disappointedButRelievedFace', [], function() { return "Cara desilusionado"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.itemInCart', [], function() { return "Carrito: 1 artículo"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.FetchMoreEntriesSpinnerAssistiveText', [], function() { return "Cargando nuevos mensajes..."; });LWR.define('@salesforce/label/Emojis_Objects.pageFacingUp', [], function() { return "Página marcada"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.sweatDroplets', [], function() { return "Gotas de sudor"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.mountFuji', [], function() { return "Monte Fuji"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButton', [], function() { return "Enviar mensaje"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.rocket', [], function() { return "Cohete"; });LWR.define('@salesforce/label/Emojis_Objects.bookmarkTabs', [], function() { return "Lengüetas marcapáginas"; });LWR.define('@salesforce/label/Emojis_Objects.inboxTray', [], function() { return "Bandeja de entrada"; });LWR.define('@salesforce/label/Emojis_FoodDrink.steamingBowl', [], function() { return "Recipiente de cocción al vapor"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.StreamingTokenValidationMessageFooterText', [], function() { return "Revisado"; });LWR.define('@salesforce/label/Emojis_Flags.australia', [], function() { return "Australia"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.poutingFace', [], function() { return "Cara haciendo pucheros"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.oldMan', [], function() { return "Hombre mayor"; });LWR.define('@salesforce/label/Emojis_FoodDrink.babyBottle', [], function() { return "Biberón"; });LWR.define('@salesforce/label/Emojis_Symbols.pButton', [], function() { return "Botón P"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.glowingStar', [], function() { return "Estrella brillante"; });LWR.define('@salesforce/label/Emojis_Symbols.noEntry', [], function() { return "Prohibida la entrada"; });LWR.define('@salesforce/label/Emojis_FoodDrink.shavedIce', [], function() { return "Granizado"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingFaceWithClosedEyes', [], function() { return "Cara que besa con ojos cerrados"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.train', [], function() { return "Entrenar"; });LWR.define('@salesforce/label/Emojis_Symbols.dottedSixPointedStar', [], function() { return "Estrella de seis puntas con punto en el centro"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.officeBuilding', [], function() { return "Edificio de oficinas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.mountainCableway', [], function() { return "Teleférico"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.snowboarder', [], function() { return "Snowboarder"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.bomb', [], function() { return "Bomba"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.rabbitFace', [], function() { return "Cara de conejo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.hotSprings', [], function() { return "Fuentes termales"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.SSEConnectionTryAgainButtonText', [], function() { return "Inténtelo de nuevo"; });LWR.define('@salesforce/label/Emojis_Symbols.prohibited', [], function() { return "Prohibido"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiButtonAssistiveText', [], function() { return "Insertar emoji"; });LWR.define('@salesforce/label/B2B_Search_Suggestions.loading', [], function() { return "Cargando"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouth', [], function() { return "Cara sonriente con boca abierta"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.rainbow', [], function() { return "Arco iris"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ExpiredJWT', [], function() { return "
25Esta plática finalizó. Cierre la ventana de chat e inicie una nueva."; });LWR.define('@salesforce/label/LightningColorPicker.gInput', [], function() { return "G"; });LWR.define('@salesforce/label/Emojis_Symbols.noPedestrians', [], function() { return "Prohibido peatones"; });LWR.define('@salesforce/label/Emojis_Symbols.ophiuchus', [], function() { return "Cazador de serpientes"; });LWR.define('@salesforce/label/Emojis_FoodDrink.oden', [], function() { return "Oden"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kimono', [], function() { return "Kimono"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.purse', [], function() { return "Monedero"; });LWR.define('@salesforce/label/Emojis_Symbols.inputLatinLowercase', [], function() { return "Entrada en minúscula latina"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.mouseFace', [], function() { return "Cara de ratón"; });LWR.define('@salesforce/label/c.B2BAboutUsHref', [], function() { return "/about"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.monorail', [], function() { return "Monorraíl"; });LWR.define('@salesforce/label/Emojis_FoodDrink.pineapple', [], function() { return "Piña"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.camel', [], function() { return "Camello"; });LWR.define('@salesforce/label/Emojis_Symbols.hundredPoints', [], function() { return "Cien puntos"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tractor', [], function() { return "Tractor"; });LWR.define('@salesforce/label/LightningColorPickerPanel.defaultTab', [], function() { return "Predeterminado"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.policeOfficer', [], function() { return "Policía"; });LWR.define('@salesforce/label/c.B2BDesignAndAuthorizedApplicationHref', [], function() { return "/solutions/design-and-authorized-replication"; });LWR.define('@salesforce/label/Emojis_Symbols.onArrow', [], function() { return "Flecha ON"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseAcceptableButton', [], function() { return "Botón Admisible en japonés"; });LWR.define('@salesforce/label/Emojis_Objects.faxMachine', [], function() { return "Fax"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.lastQuarterMoonWithFace', [], function() { return "Luna en cuarto menguante con cara"; });LWR.define('@salesforce/label/c.B2BLoginHeader', [], function() { return "Iniciar sesión"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.grinningCatFaceWithSmilingEyes', [], function() { return "Cara de gato sonriente con ojos alegres"; });LWR.define('@salesforce/label/Emojis_Objects.objectsCategory', [], function() { return "Objetos"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.RequiredSelectInputMissing', [], function() { return "Seleccione un valor."; });LWR.define('@salesforce/label/Emojis_Objects.laptopComputer', [], function() { return "Computadora portátil"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithoutMouth', [], function() { return "Cara sin boca"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.grimacingFace', [], function() { return "Cara haciendo muecas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.locomotive', [], function() { return "Locomotora"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kiss', [], function() { return "Beso"; });LWR.define('@salesforce/label/Emojis_Symbols.heavyLargeCircle', [], function() { return "Gran círculo grueso"; });LWR.define('@salesforce/label/LightningModalBase.cancelandclose', [], function() { return "Cancelar y cerrar"; });LWR.define('@salesforce/label/LightningToast.warningLabel', [], function() { return "Advertencia"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteExclamationMark', [], function() { return "Signo de exclamación blanco"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tenOClock', [], function() { return "Diez en punto"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.goblin', [], function() { return "Duende"; });LWR.define('@salesforce/label/Emojis_Symbols.cinema', [], function() { return "Cine"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.waningCrescentMoon', [], function() { return "Luna menguante"; });LWR.define('@salesforce/label/c.B2BLogic', [], function() { return "Lógica"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.minibus', [], function() { return "Minibús"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sailboat', [], function() { return "Velero"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.ConferenceHeaderText', [], function() { return "Conferencia"; });LWR.define('@salesforce/label/EmbeddedMessagingMobilePublisher.MobileFab', [], function() { return "Pregúnteme lo que quiera"; });LWR.define('@salesforce/label/Emojis_Objects.redPaperLantern', [], function() { return "Farolillo rojo"; });LWR.define('@salesforce/label/Emojis_Objects.microscope', [], function() { return "Microscopio"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.alienMonster', [], function() { return "Monstruo alienígena"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.circusTent', [], function() { return "Carpa de circo"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.StartNewConversationNotification', [], function() { return "No pudimos volverle a conectar. Inicie una nueva plática."; });LWR.define('@salesforce/label/Emojis_Symbols.rightArrowCurvingDown', [], function() { return "Flecha derecha con curva hacia abajo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.firstQuarterMoonWithFace', [], function() { return "Luna en cuarto creciente con cara"; });LWR.define('@salesforce/label/c.B2BLicensedManufacturingHref', [], function() { return "/solutions/licensed-manufacturing"; });LWR.define('@salesforce/label/Emojis_FoodDrink.fishCakeWithSwirl', [], function() { return "Pastel de pescado"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kissMark', [], function() { return "Marca de beso"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.emptyCart', [], function() { return "Carrito: vacío"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.RequestTranscriptMenuOption', [], function() { return "Solicitar transcripción de chat"; });LWR.define('@salesforce/label/LightningColorPicker.hexLabel', [], function() { return "Hexadecimal"; });
25LWR.define('@salesforce/label/Emojis_Activities.trophy', [], function() { return "Trofeo"; });LWR.define('@salesforce/label/Emojis_Objects.closedBook', [], function() { return "Libro cerrado"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sixOClock', [], function() { return "Seis en punto"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ParticipantLeaveText', [], function() { return "{0} salió"; });LWR.define('@salesforce/label/Emojis_Activities.flagInHole', [], function() { return "Bandera en hoyo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.peopleWithBunnyEarsPartying', [], function() { return "Personas de fiesta con orejas de conejo"; });LWR.define('@salesforce/label/Emojis_Symbols.downRightArrow', [], function() { return "Flecha derecha hacia abajo"; });LWR.define('@salesforce/label/Emojis_FoodDrink.melon', [], function() { return "Melón"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.threeOClock', [], function() { return "Tres en punto"; });LWR.define('@salesforce/label/c.B2BAuthorizedDistributionHref', [], function() { return "/solutions/authorized-distribution"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.sheafOfRice', [], function() { return "Paquete de arroz"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.snowflake', [], function() { return "Snowflake"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.greenHeart', [], function() { return "Corazón verde"; });LWR.define('@salesforce/label/Emojis_Symbols.exclamationMark', [], function() { return "Signo de exclamación"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonDisabledAssistiveText', [], function() { return "El botón Enviar no está disponible"; });LWR.define('@salesforce/label/Emojis_FoodDrink.pear', [], function() { return "Pera"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Delivered', [], function() { return "Entregado"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.okHand', [], function() { return "Señal de Ok"; });LWR.define('@salesforce/label/Emojis_Symbols.taurus', [], function() { return "Tauro"; });LWR.define('@salesforce/label/Emojis_Flags.israel', [], function() { return "Israel"; });LWR.define('@salesforce/label/Emojis_FoodDrink.strawberry', [], function() { return "Fresa"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fiveThirty', [], function() { return "Cinco y media"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceHolder', [], function() { return "Escriba su mensaje..."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.lastQuarterMoon', [], function() { return "Luna en cuarto menguante"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedReconnectInProgress', [], function() { return "Volviendo a conectar..."; });LWR.define('@salesforce/label/Emojis_FoodDrink.chocolateBar', [], function() { return "Barra de chocolate"; });LWR.define('@salesforce/label/Emojis_Symbols.smallBlueDiamond', [], function() { return "Diamante azul pequeño"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.clutchBag', [], function() { return "Clutch"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap8', [], function() { return "Tecla 8"; });LWR.define('@salesforce/label/Emojis_Symbols.clockwiseVerticalArrows', [], function() { return "Fechas verticales en el sentido de las agujas del reloj"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.angryFace', [], function() { return "Cara enfadado"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgress', [], function() { return "$Label.EmbeddedMessagingConversationState.ReconnectInProgress does not exist."; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TransferRequestTryAgainSystemMessage', [], function() { return "Espere e inténtelo más tarde."; });LWR.define('@salesforce/label/LightningColorPicker.doneButton', [], function() { return "Listo"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationDismissButtonAssistiveText', [], function() { return "Cerrar la notificación de chat"; });LWR.define('@salesforce/label/Emojis_FoodDrink.tomato', [], function() { return "Tomate"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap', [], function() { return "Tecla"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.family', [], function() { return "Familia"; });LWR.define('@salesforce/label/LightningHelptext.buttonAlternativeText', [], function() { return "Ayuda"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personSwimming', [], function() { return "Persona nadando"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tokyoTower', [], function() { return "Torre de Tokio"; });LWR.define('@salesforce/label/c.B2BOrdersHeaderHref', [], function() { return "/OrderSummary/OrderSummary/Default"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteCircle', [], function() { return "Círculo blanco"; });LWR.define('@salesforce/label/c.B2BQualityHref', [], function() { return "/quality"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.firstQuarterMoon', [], function() { return "Luna en cuarto creciente"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.ship', [], function() { return "
25Enviar"; });LWR.define('@salesforce/label/LightningControl.clear', [], function() { return "Borrar"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.ambulance', [], function() { return "Ambulancia"; });LWR.define('@salesforce/label/Emojis_Symbols.customs', [], function() { return "Aduanas"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingLeft', [], function() { return "Índice de revés señalando a la izquierda"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.barberPole', [], function() { return "Barbero"; });LWR.define('@salesforce/label/LightningCombobox.pillCloseButtonAlternativeText', [], function() { return "Borrar {0} selección"; });LWR.define('@salesforce/label/Emojis_Objects.battery', [], function() { return "Batería"; });LWR.define('@salesforce/label/Emojis_Flags.russia', [], function() { return "Rusia"; });LWR.define('@salesforce/label/Emojis_Flags.saudiArabia', [], function() { return "Arabia Saudí"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tenThirty', [], function() { return "Diez y media"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.confoundedFace', [], function() { return "Cara desconcertada"; });LWR.define('@salesforce/label/Emojis_Symbols.dimButton', [], function() { return "Botón Oscurecer"; });LWR.define('@salesforce/label/Emojis_Symbols.gemini', [], function() { return "Géminis"; });LWR.define('@salesforce/label/Emojis_Objects.lightBulb', [], function() { return "Bombilla"; });LWR.define('@salesforce/label/Emojis_Activities.carpStreamer', [], function() { return "Serpentina en forma de carpa"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseVacancyButton', [], function() { return "Botón Vacante en japonés"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.rabbit', [], function() { return "Conejo"; });LWR.define('@salesforce/label/Emojis_FoodDrink.potOfFood', [], function() { return "Olla"; });LWR.define('@salesforce/label/Emojis_Symbols.pisces', [], function() { return "Piscis"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseCongratulationsButton', [], function() { return "Botón Felicitaciones en japonés"; });LWR.define('@salesforce/label/LightningColorPicker.errorMessage', [], function() { return "Ingrese un valor hexadecimal válido."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.loudlyCryingFace', [], function() { return "Cara con llanto"; });LWR.define('@salesforce/label/Emojis_Symbols.heavyMinusSign', [], function() { return "Signo menos grueso"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.beatingHeart', [], function() { return "Corazón latiendo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.guard', [], function() { return "Cubierta"; });LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.UnseenMessagesAssistiveText', [], function() { return "Desplace los mensajes más recientes en vista ({0} no leído)."; });LWR.define('@salesforce/label/Emojis_AnimalsNature.elephant', [], function() { return "Elefante"; });LWR.define('@salesforce/label/Emojis_Objects.opticalDisk', [], function() { return "Disco óptico"; });LWR.define('@salesforce/label/EmbeddedMessagingClientErrorMessages.GenericErrorMessage', [], function() { return "Algo falló. Inténtelo de nuevo más tarde."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.suspensionRailway', [], function() { return "Ferrocarril en suspensión"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.oneThirty', [], function() { return "Una y media"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.wolfFace', [], function() { return "Cara de lobo"; });LWR.define('@salesforce/label/c.B2BMarketsHref', [], function() { return "/markets"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.factory', [], function() { return "Fábrica"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.ProgressBarAssistiveText', [], function() { return "Barra de progreso de formularios seguros"; });LWR.define('@salesforce/label/Emojis_Symbols.blackMediumSmallSquare', [], function() { return "Pequeño recuadro negro mediano"; });LWR.define('@salesforce/label/Emojis_Objects.speakerMediumVolume', [], function() { return "Altavoz a volumen medio"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.winkingFace', [], function() { return "Cara con guiño"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.globeShowingEuropeAfrica', [], function() { return "Globo que muestra Europa África"; });LWR.define('@salesforce/label/Emojis_FoodDrink.cooking', [], function() { return "Cocina"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.TransferInitiatedText', [], function() { return "Transferencia solicitada"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.angryFaceWithHorns', [], function() { return "Cara enfadado con cuernos"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.addToSecondaryCartSuccessToast', [], function() { return "Se agregó \"{0}\" al carrito \"{1}\"."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.japanesePostOffice', [], function() { return "Oficina de correos japonesa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.man', [], function() { return "Hombre"; });LWR.define('@salesforce/label/Commerce_Cart_Error_Messages.preserveGuestCartErrorTitle', [], function() { return "Algo falló"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.NotificationDismissButtonText', [], function() { return "Lo entiendo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingFace', [], function() { return "Cara que besa"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.door', [], function() { return "Puerta"; });LWR.define('@salesforce/label/Emojis_Symbols.sagittarius', [], function() { return "Sagitario"; });
25LWR.define('@salesforce/label/Emojis_Activities.sparkles', [], function() { return "Destellos"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.OutboundNewMessageScreenReaderText', [], function() { return "Usted ha dicho {0} a las {1}"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHalo', [], function() { return "Cara sonriente bueno"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.EndUserEndedChatText', [], function() { return "Finalizó la sesión de chat a las"; });LWR.define('@salesforce/label/Emojis_Activities.joker', [], function() { return "Comodín"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.cow', [], function() { return "Vaca"; });LWR.define('@salesforce/label/c.B2BClose', [], function() { return "Cerrar"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseReservedButton', [], function() { return "Botón Reservado en japonés"; });LWR.define('@salesforce/label/Emojis_FoodDrink.doughnut', [], function() { return "Donut"; });LWR.define('@salesforce/label/Emojis_Objects.pageWithCurl', [], function() { return "Página enrollada"; });LWR.define('@salesforce/label/LightningColorPickerPanel.customTab', [], function() { return "Personalizado"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TransferRequestSuccessSystemMessage', [], function() { return "Transferencia solicitada a las"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.oldWoman', [], function() { return "Señora mayor"; });LWR.define('@salesforce/label/Emojis_Symbols.upRightArrow', [], function() { return "Flecha derecha hacia arriba"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.skull', [], function() { return "Calavera"; });LWR.define('@salesforce/label/LightningDateTimePicker.maxRangeMessage', [], function() { return "Seleccionar una fecha antes de {0}"; });LWR.define('@salesforce/label/Emojis_Objects.blueBook', [], function() { return "Libro azul"; });LWR.define('@salesforce/label/Emojis_Flags.sweden', [], function() { return "Suecia"; });LWR.define('@salesforce/label/Emojis_Symbols.mobilePhoneOff', [], function() { return "Teléfono celular apagado"; });LWR.define('@salesforce/label/Emojis_Objects.lockedWithKey', [], function() { return "Bloqueado con llave"; });LWR.define('@salesforce/label/DxpGrid.ListItem', [], function() { return "Elemento de lista {0}"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.TransferFailedText', [], function() { return "Transferencia cancelada"; });LWR.define('@salesforce/label/Emojis_Objects.pistol', [], function() { return "Pistola"; });LWR.define('@salesforce/label/c.B2BMarkets', [], function() { return "Mercados"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personFrowning', [], function() { return "Persona con ceño fruncido"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.helicopter', [], function() { return "Helicóptero"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.thumbsUp', [], function() { return "A favor"; });LWR.define('@salesforce/label/Emojis_Symbols.mensRoom', [], function() { return "Baño de hombres"; });LWR.define('@salesforce/label/Emojis_Activities.directHit', [], function() { return "Impacto directo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.cloud', [], function() { return "Nube"; });LWR.define('@salesforce/label/Emojis_Activities.videoGame', [], function() { return "Videojuego"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.bus', [], function() { return "Autobús"; });LWR.define('@salesforce/label/LightningToast.genericNavigationAssistiveText', [], function() { return "Pulse Control + F6 para navegar a la siguiente notificación emergente o región enfocable."; });LWR.define('@salesforce/label/Emojis_Objects.scroll', [], function() { return "Desplazamiento"; });LWR.define('@salesforce/label/Emojis_Symbols.doubleExclamationMark', [], function() { return "Doble signo de exclamación"; });LWR.define('@salesforce/label/UserProfileMenu.AlternativeText', [], function() { return "Perfil de usuario de {userName}"; });LWR.define('@salesforce/label/LightningErrorMessage.validityPatternMismatch', [], function() { return "Formato no válido"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.artistPalette', [], function() { return "Paleta de pintor"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.hearNoEvilMonkey', [], function() { return "Mono que se tapa las orejas al mal"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.ferrisWheel', [], function() { return "Noria"; });LWR.define('@salesforce/label/Emojis_Symbols.aries', [], function() { return "Aries"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.mountainRailway', [], function() { return "Tren de cremallera"; });LWR.define('@salesforce/label/LightningDateTimePicker.ariaLabelMonth', [], function() { return "Selector de fecha "; });LWR.define('@salesforce/label/Emojis_Symbols.blackLargeSquare', [], function() { return "Recuadro negro grande"; });
25LWR.define('@salesforce/label/Emojis_Activities.ribbon', [], function() { return "Lazo"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.leafFlutteringInWind', [], function() { return "Hoja agitada por el viento"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.waxingCrescentMoon', [], function() { return "Luna creciente"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.headerText', [], function() { return "Mi carrito"; });LWR.define('@salesforce/label/c.B2BPrivacyPolicyHref', [], function() { return "/about/corporate-policies/governance/privacy-policy"; });LWR.define('@salesforce/label/c.B2BProcessorandPeripheralHref', [], function() { return "/products/processor-and-peripheral"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.NextButtonLabel', [], function() { return "Siguiente"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.tiger', [], function() { return "Tigre"; });LWR.define('@salesforce/label/Emojis_Flags.vietnam', [], function() { return "Vietnam"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.DatePickerInputSelectInstruction', [], function() { return "Seleccionar una fecha"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.unamusedFace', [], function() { return "Cara aburrida"; });LWR.define('@salesforce/label/Emojis_Objects.notebookWithDecorativeCover', [], function() { return "Bloc de notas con tapa decorativa"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeCloseButtonTitle', [], function() { return "Cerrar ventana"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonSuccessResponseStateTitle', [], function() { return "Se envió el formulario."; });LWR.define('@salesforce/label/Emojis_FoodDrink.softIceCream', [], function() { return "Helado suave"; });LWR.define('@salesforce/label/LightningInputFile.bodyText', [], function() { return "O suelte archivos"; });LWR.define('@salesforce/label/Emojis_Symbols.playButton', [], function() { return "Botón Reproducir"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderText', [], function() { return "Página posterior al chat"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personGesturingNo', [], function() { return "Persona gesticulando no"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.dizzyFace', [], function() { return "Cara aturdida"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.EventSourceUnavailable', [], function() { return "No podemos conectarle con el servidor de chat debido a su configuración de red."; });LWR.define('@salesforce/label/c.B2BLeadershipHref', [], function() { return "/about/leadership"; });LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessagesAssistiveText', [], function() { return "Desplace los mensajes más recientes en vista (9+ no leído)."; });LWR.define('@salesforce/label/Emojis_Objects.closedMailboxWithRaisedFlag', [], function() { return "Buzón de correo cerrado con bandera alzada"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButtonAssistiveText', [], function() { return "Enviar mensaje"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.church', [], function() { return "Iglesia"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.loveHotel', [], function() { return "Hotel del amor"; });LWR.define('@salesforce/label/c.B2BAssociations', [], function() { return "Asociaciones"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.catFace', [], function() { return "Cara de gato"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fiveOClock', [], function() { return "Cinco en punto"; });LWR.define('@salesforce/label/Emojis_Objects.wrench', [], function() { return "Llave inglesa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.coupleWithHeart', [], function() { return "Pareja con corazón"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.nightWithStars', [], function() { return "Noche con estrellas"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.eyes', [], function() { return "Ojos"; });LWR.define('@salesforce/label/Emojis_Flags.brazil', [], function() { return "Brasil"; });LWR.define('@salesforce/label/Emojis_Flags.france', [], function() { return "Francia"; });LWR.define('@salesforce/label/Emojis_Symbols.brightButton', [], function() { return "Botón brillo"; });LWR.define('@salesforce/label/Emojis_Flags.malaysia', [], function() { return "Malasia"; });LWR.define('@salesforce/label/Emojis_Objects.greenBook', [], function() { return "Libro verde"; });LWR.define('@salesforce/label/Emojis_Symbols.wheelchairSymbol', [], function() { return "Símbolo de silla de ruedas"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueClosedEyes', [], function() { return "Cara bromeando con ojos cerrados"; });LWR.define('@salesforce/label/Emojis_Symbols.repeatSingleButton', [], function() { return "Botón Repetir canción"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.articulatedLorry', [], function() { return "Camión articulado"; });LWR.define('@salesforce/label/Emojis_Symbols.crossMark', [], function() { return "Cruz"; });
25LWR.define('@salesforce/label/Emojis_Activities.basketball', [], function() { return "Baloncesto"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.catFaceWithTearsOfJoy', [], function() { return "Cara de gato con lágrimas de alegría"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personRowingBoat', [], function() { return "Persona remando"; });LWR.define('@salesforce/label/Emojis_Symbols.smallOrangeDiamond', [], function() { return "Diamante naranja pequeño"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.RegexPatternMismatch', [], function() { return "Ingrese el formato de entrada correcto."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.angerSymbol', [], function() { return "Símbolo de furia"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.dragon', [], function() { return "Dragón"; });LWR.define('@salesforce/label/Emojis_FoodDrink.custard', [], function() { return "Natilla"; });LWR.define('@salesforce/label/Emojis_Objects.guitar', [], function() { return "Guitarra"; });LWR.define('@salesforce/label/Emojis_Objects.satelliteAntenna', [], function() { return "Antena de satélite"; });LWR.define('@salesforce/label/Emojis_Flags.unitedStates', [], function() { return "Estados Unidos"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithMedicalMask', [], function() { return "Cara con máscara"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.mouth', [], function() { return "Boca"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseDiscountButton', [], function() { return "Botón Descuento en japonés"; });LWR.define('@salesforce/label/c.B2BYoutubeHref', [], function() { return "https://www.youtube.com/channel/UChx3vcZTygq9LmKB-lbg4rQ"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.brideWithVeil', [], function() { return "Novia con velo"; });LWR.define('@salesforce/label/LightningDateTimePicker.valueMissingWithDateFormat', [], function() { return "Rellene este campo con el formato {0}."; });LWR.define('@salesforce/label/Emojis_AnimalsNature.herb', [], function() { return "Hierba"; });LWR.define('@salesforce/label/c.B2BTwitterHref', [], function() { return "https://twitter.com/rochesterelec"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.horse', [], function() { return "Caballo"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.NewMessageText', [], function() { return "Nuevo mensaje"; });LWR.define('@salesforce/label/Emojis_FoodDrink.birthdayCake', [], function() { return "Tarta de cumpleaños"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.disappointedFace', [], function() { return "Cara decepcionada"; });LWR.define('@salesforce/label/B2B_Search_Suggestions.clear', [], function() { return "Borrar"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smileysPeopleCategory', [], function() { return "Emoticonos y personas"; });LWR.define('@salesforce/label/Emojis_Objects.camera', [], function() { return "Cámara"; });LWR.define('@salesforce/label/Emojis_Symbols.upButton', [], function() { return "Botón Arriba"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.twelveOClock', [], function() { return "Doce en punto"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.blossom', [], function() { return "Flor"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHeartEyes', [], function() { return "Cara sonriente con ojos en forma de corazones"; });LWR.define('@salesforce/label/Emojis_Objects.orangeBook', [], function() { return "Libro naranja"; });LWR.define('@salesforce/label/Emojis_Symbols.blackSquareButton', [], function() { return "Botón Recuadro negro"; });LWR.define('@salesforce/label/c.B2BTransportation', [], function() { return "Transporte"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.automobile', [], function() { return "Automóvil"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.confusedFace', [], function() { return "Cara confundida"; });LWR.define('@salesforce/label/Emojis_Activities.baseball', [], function() { return "Béisbol"; });LWR.define('@salesforce/label/c.B2BBOMHref', [], function() { return "/bom"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.castle', [], function() { return "Castillo"; });LWR.define('@salesforce/label/Emojis_Flags.italy', [], function() { return "Italia"; });
25LWR.define('@salesforce/label/Emojis_Activities.bowling', [], function() { return "Bolos"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.boar', [], function() { return "Jabalí"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsErrorLine2', [], function() { return "Actualice la página y vuelva a intentarlo."; });LWR.define('@salesforce/label/Emojis_Objects.violin', [], function() { return "Violín"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap4', [], function() { return "Tecla 4"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.openHands', [], function() { return "Manos abiertas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.station', [], function() { return "Estación"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.pigFace', [], function() { return "Cara de cerdo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.blondHairedPerson', [], function() { return "Persona con pelo rubio"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.tShirt', [], function() { return "Camiseta"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.shootingStar', [], function() { return "Estrella fugaz"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.pensiveFace', [], function() { return "Cara pensativa"; });LWR.define('@salesforce/label/Emojis_Activities.fishingPole', [], function() { return "Caña de pescar"; });LWR.define('@salesforce/label/AppLauncherDesktop.titleLabel', [], function() { return "Iniciador de aplicación"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fullMoon', [], function() { return "Luna llena"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.milkyWay', [], function() { return "Vía láctea"; });LWR.define('@salesforce/label/Emojis_Symbols.antennaBars', [], function() { return "Barras de antena"; });LWR.define('@salesforce/label/c.B2BGDPRPolicyHref', [], function() { return "/about/corporate-policies/governance/gdpr-policy"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.babyChick', [], function() { return "Polluelo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.toilet', [], function() { return "Baño"; });LWR.define('@salesforce/label/c.B2BOrdersHeader', [], function() { return "Pedidos"; });LWR.define('@salesforce/label/c.B2BMemory', [], function() { return "Memoria"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.wedding', [], function() { return "Boda"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesMenuMessageAssistiveText', [], function() { return "Seleccionar un elemento de menú"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.grinningFace', [], function() { return "Cara sonriente"; });LWR.define('@salesforce/label/Commerce_Navigation_Menu.MobileTrigger', [], function() { return "Desencadenador del menú de navegación"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.twoHearts', [], function() { return "Dos corazones"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthClosedEyes', [], function() { return "Cara sonriente con boca abierta y ojos cerrados"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteQuestionMark', [], function() { return "Signo de interrogación blanco"; });LWR.define('@salesforce/label/Emojis_Symbols.nameBadge', [], function() { return "Placa identificativa"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.koala', [], function() { return "Koala"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.speakNoEvilMonkey', [], function() { return "Mono que se tapa la boca al mal"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.MessageCitationSourcesSectionText', [], function() { return "Orígenes:"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.StartNewMessagingSessionButtonText', [], function() { return "Nueva plática"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingDown', [], function() { return "Índice de revés señalando hacia abajo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.crown', [], function() { return "Corona"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap6', [], function() { return "Tecla 6"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseMonthlyAmountButton', [], function() { return "Botón Importe mensual en japonés"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.watch', [], function() { return "Reloj"; });
25LWR.define('@salesforce/label/Emojis_Objects.loudspeaker', [], function() { return "Altavoz"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.womanDancing', [], function() { return "Mujer bailando"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.ant', [], function() { return "Hormiga"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.deliveryTruck', [], function() { return "Camión de reparto"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Sent', [], function() { return "Enviado"; });LWR.define('@salesforce/label/Emojis_FoodDrink.meatOnBone', [], function() { return "Carne con hueso"; });LWR.define('@salesforce/label/Emojis_Objects.yenBanknote', [], function() { return "Billete de yen"; });LWR.define('@salesforce/label/Emojis_Symbols.abButtonBloodType', [], function() { return "Botón Grupo sanguíneo AB"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseSecretButton', [], function() { return "Botón Secreto en japonés"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.ghost', [], function() { return "Fantasma"; });LWR.define('@salesforce/label/Emojis_Symbols.repeatButton', [], function() { return "Botón Repetir"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.shower', [], function() { return "Ducha"; });LWR.define('@salesforce/label/c.B2BAntiCounterfeiting', [], function() { return "Antifalsificación"; });LWR.define('@salesforce/label/Emojis_FoodDrink.hamburger', [], function() { return "Hamburguesa"; });LWR.define('@salesforce/label/Emojis_Objects.trumpet', [], function() { return "Trompeta"; });LWR.define('@salesforce/label/Emojis_Objects.dollarBanknote', [], function() { return "Billete de dólar"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.umbrellaWithRainDrops', [], function() { return "Paraguas con gotas de lluvia"; });LWR.define('@salesforce/label/Emojis_Activities.pool8Ball', [], function() { return "Bola 8 de billar"; });LWR.define('@salesforce/label/Emojis_FoodDrink.dango', [], function() { return "Dango"; });LWR.define('@salesforce/label/Commerce_LayoutSite.skipToMain', [], function() { return "Saltar a contenido principal"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.highSpeedTrainWithBulletNose', [], function() { return "Tren bala"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesButtonsMessageAssistiveText', [], function() { return "Seleccionar una respuesta rápida"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.lightRail', [], function() { return "Tren ligero"; });LWR.define('@salesforce/label/c.B2BPurchasingOnBehalfEnd', [], function() { return "— we\u0027ll guide you through setting up your account."; });LWR.define('@salesforce/label/Emojis_Objects.television', [], function() { return "Televisión"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithColdSweat', [], function() { return "Cara sudando"; });LWR.define('@salesforce/label/Emojis_Symbols.shuffleTracksButton', [], function() { return "Botón Orden aleatorio"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.mouse', [], function() { return "Ratón"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.alarmClock', [], function() { return "Despertador"; });LWR.define('@salesforce/label/Commerce_MultiCart_Badge.viewAllCartsLabel', [], function() { return "Ver todos los carritos"; });LWR.define('@salesforce/label/c.B2BOptoelctronics', [], function() { return "Optoelectrónica"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sunset', [], function() { return "Puesta del sol"; });LWR.define('@salesforce/label/c.B2BContactUsHeader', [], function() { return "Comuníquese con nosotros"; });LWR.define('@salesforce/label/LightningCombobox.deselectOptionKeyboard', [], function() { return "Pulse eliminaro retroceso para eliminar"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.catFaceWithWrySmile', [], function() { return "Cara de gato con sonrisa irónica"; });LWR.define('@salesforce/label/Emojis_Activities.wrappedGift', [], function() { return "Regalo envuelto"; });LWR.define('@salesforce/label/LightningInput.helptextAlternativeText', [], function() { return "Información de ayuda de {0}"; });LWR.define('@salesforce/label/Emojis_FoodDrink.peach', [], function() { return "Melocotón"; });LWR.define('@salesforce/label/c.B2BPersonalAccountsDiscontinued', [], function() { return "Se han descontinuado las cuentas personales."; });LWR.define('@salesforce/label/Emojis_FoodDrink.cookedRice', [], function() { return "Arroz cocido"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.girl', [], function() { return "Chica"; });LWR.define('@salesforce/label/Emojis_Symbols.noOneUnderEighteen', [], function() { return "Prohibido a menores de 18 años"; });
25LWR.define('@salesforce/label/Emojis_Activities.fireworks', [], function() { return "Fuegos artificiales"; });LWR.define('@salesforce/label/c.B2BBusinessCustomersExclusively', [], function() { return "Ahora atendemos exclusivamente a clientes empresariales."; });LWR.define('@salesforce/label/c.B2BDiscreteHref', [], function() { return "/products/discrete"; });LWR.define('@salesforce/label/Emojis_Flags.unitedKingdom', [], function() { return "Reino Unido"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.ox', [], function() { return "Buey"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.pandaFace', [], function() { return "Cara de panda"; });LWR.define('@salesforce/label/Emojis_Symbols.capricorn', [], function() { return "Capricornio"; });LWR.define('@salesforce/label/Emojis_Flags.chile', [], function() { return "Chile"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.speedboat', [], function() { return "Lancha rápida"; });LWR.define('@salesforce/label/Emojis_Objects.electricPlug', [], function() { return "Enchufe eléctrico"; });LWR.define('@salesforce/label/Emojis_FoodDrink.cocktailGlass', [], function() { return "Copa de cóctel"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseNotFreeOfChargeButton', [], function() { return "Botón No es gratuito en japonés"; });LWR.define('@salesforce/label/Emojis_FoodDrink.foodDrinkCategory', [], function() { return "Comida y bebida"; });LWR.define('@salesforce/label/Emojis_Objects.speakerLowVolume', [], function() { return "Altavoz a bajo volumen"; });LWR.define('@salesforce/label/c.B2BNewsHeaderHref', [], function() { return "/news"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.fourLeafClover', [], function() { return "Trébol de cuatro hojas"; });LWR.define('@salesforce/label/c.B2BMedicalHref', [], function() { return "/markets/medical"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tramCar', [], function() { return "Coche de tranvía"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.oneOClock', [], function() { return "Una en punto"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.StartBookendText', [], function() { return "Hoy"; });LWR.define('@salesforce/label/Emojis_Objects.clipboard', [], function() { return "Portapapeles"; });LWR.define('@salesforce/label/Emojis_Objects.scissors', [], function() { return "Tijeras"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.Minimize', [], function() { return "Minimizar ventana de chat"; });LWR.define('@salesforce/label/Emojis_Objects.videoCamera', [], function() { return "Videocámara"; });LWR.define('@salesforce/label/LightningErrorMessage.validityRangeOverflow', [], function() { return "El número es demasiado alto."; });LWR.define('@salesforce/label/Emojis_Symbols.babySymbol', [], function() { return "Símbolo de bebé"; });LWR.define('@salesforce/label/Emojis_Symbols.inputSymbols', [], function() { return "Entrada en símbolos"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.EndSession', [], function() { return "Finalizar chat"; });LWR.define('@salesforce/label/Emojis_Flags.mexico', [], function() { return "México"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.waterWave', [], function() { return "Oleada"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.dress', [], function() { return "Vestido"; });LWR.define('@salesforce/label/Emojis_Activities.mahjongRedDragon', [], function() { return "Dragón rojo de Mahjong"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.UnsupportedMessageTypeText', [], function() { return "{0} envió un tipo de mensaje no admitido."; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseProhibitedButton', [], function() { return "Botón Prohibido en japonés"; });LWR.define('@salesforce/label/Emojis_Symbols.blackCircle', [], function() { return "Círculo negro"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.DefaultHeaderText', [], function() { return "Chat"; });LWR.define('@salesforce/label/Commerce_Navigation_Menu.All', [], function() { return "Todos"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.pawPrints', [], function() { return "Huellas de zarpa"; });LWR.define('@salesforce/label/LightningColorPicker.a11yDefaultText', [], function() { return "Ninguno seleccionado"; });
25LWR.define('@salesforce/label/Emojis_Activities.windChime', [], function() { return "Campanas de viento"; });LWR.define('@salesforce/label/c.B2BLiterature', [], function() { return "Bibliografía"; });LWR.define('@salesforce/label/LightningDateTimePicker.customErrorWithDateFormat', [], function() { return "{0} (Utilizar formato {1})"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.ogre', [], function() { return "Ogro"; });LWR.define('@salesforce/label/LwcComponent:commerce_builder:drilldownNavigation.component_name', [], function() { return "Menú de navegación multinivel"; });LWR.define('@salesforce/label/Emojis_Objects.openBook', [], function() { return "Libro abierto"; });LWR.define('@salesforce/label/LightningDateTimePicker.yearSelector', [], function() { return "Seleccionar un año"; });LWR.define('@salesforce/label/Emojis_Flags.japan', [], function() { return "Japón"; });LWR.define('@salesforce/label/Emojis_Objects.bell', [], function() { return "Campana"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonAssistiveText', [], function() { return "Icono de flecha de descarga"; });LWR.define('@salesforce/label/Emojis_Symbols.rightArrowCurvingUp', [], function() { return "Flecha derecha con curva hacia arriba"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseBargainButton', [], function() { return "Botón Trato en japonés"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.newMoonFace', [], function() { return "Cara de luna nueva"; });LWR.define('@salesforce/label/Emojis_Symbols.leftLuggage', [], function() { return "Consigna"; });LWR.define('@salesforce/label/Emojis_Symbols.tradeMark', [], function() { return "TM"; });LWR.define('@salesforce/label/Emojis_Flags.newZealand', [], function() { return "Nueva Zelanda"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.redHeart', [], function() { return "Corazón rojo"; });LWR.define('@salesforce/label/Emojis_Symbols.noSmoking', [], function() { return "Prohibido fumar"; });LWR.define('@salesforce/label/Emojis_Objects.musicalKeyboard', [], function() { return "Teclado"; });LWR.define('@salesforce/label/Emojis_Objects.mailPackage', [], function() { return "Paquete"; });LWR.define('@salesforce/label/Emojis_Symbols.redTrianglePointedDown', [], function() { return "Triángulo rojo apuntando hacia abajo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.twelveThirty', [], function() { return "Doce y media"; });LWR.define('@salesforce/label/Emojis_FoodDrink.beerMug', [], function() { return "Jarra de cerveza"; });LWR.define('@salesforce/label/Emojis_Symbols.curlyLoop', [], function() { return "Bucle enroscado"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.blowfish', [], function() { return "Pez globo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.brokenHeart', [], function() { return "Corazón partido"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.horizontalTrafficLight', [], function() { return "Semáforo horizontal"; });LWR.define('@salesforce/label/c.B2BBusinessCustomersOnly', [], function() { return "Hemos pasado a atender únicamente a clientes empresariales, por lo que las cuentas personales ya no están activas. Si realiza compras para una empresa, póngase en contacto con nosotros; lo ayudaremos con el proceso."; });LWR.define('@salesforce/label/Emojis_Objects.leftPointingMagnifyingGlass', [], function() { return "Lupa apuntando a la izquierda"; });LWR.define('@salesforce/label/Emojis_Symbols.inputLatinLetters', [], function() { return "Entrada en letra latina"; });LWR.define('@salesforce/label/LightningDateTimePicker.rangeUnderflow', [], function() { return "El valor debe ser {0} o posterior."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personGesturingOk', [], function() { return "Persona gesticulando sí"; });LWR.define('@salesforce/label/Emojis_Activities.ticket', [], function() { return "Billete"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fullMoonWithFace', [], function() { return "Luna llena con cara"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInitialStateAssistiveText', [], function() { return "Abrir formulario seguro"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.taxi', [], function() { return "Taxi"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.astonishedFace', [], function() { return "Cara atónita"; });LWR.define('@salesforce/label/c.B2BQuality', [], function() { return "Calidad"; });LWR.define('@salesforce/label/Emojis_Symbols.baggageClaim', [], function() { return "Recogida de equipajes"; });LWR.define('@salesforce/label/c.B2BTermsandConditions', [], function() { return "Términos y condiciones"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.MenuButtonAssistiveText', [], function() { return "Abrir el menú de chat"; });LWR.define('@salesforce/label/Emojis_Objects.chartDecreasing', [], function() { return "Gráfico desce
25ndente"; });LWR.define('@salesforce/label/Emojis_Symbols.litterInBinSign', [], function() { return "Símbolo de papelera"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.globeWithMeridians', [], function() { return "Globo con meridianos"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.droplet', [], function() { return "Gota"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.bustInSilhouette', [], function() { return "Silueta de busto"; });LWR.define('@salesforce/label/LightningColorPicker.hueInput', [], function() { return "Seleccionar matiz"; });LWR.define('@salesforce/label/Emojis_FoodDrink.sushi', [], function() { return "Sushi"; });LWR.define('@salesforce/label/Emojis_Symbols.blackSmallSquare', [], function() { return "Pequeño recuadro negro"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.palmTree', [], function() { return "Palmera"; });LWR.define('@salesforce/label/LightningProgressBar.progressBar', [], function() { return "Barra de progreso"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ParticipantJoinText', [], function() { return "{0} se unió"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.nailPolish', [], function() { return "Esmalte de uñas"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.sparklingHeart', [], function() { return "Corazón brillante"; });LWR.define('@salesforce/label/Commerce_Navigation_Menu.Back', [], function() { return "Atrás"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.honeybee', [], function() { return "Abeja"; });LWR.define('@salesforce/label/LightningButtonMenu.loading', [], function() { return "Cargando elementos de menú..."; });LWR.define('@salesforce/label/LightningErrorMessage.validitySelectAtleastOne', [], function() { return "Debe seleccionar al menos una opción de este conjunto."; });LWR.define('@salesforce/label/LightningDateTimePicker.selectDateFor', [], function() { return "Seleccionar una fecha para {0}"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sixThirty', [], function() { return "Seis y media"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithSteamFromNose', [], function() { return "Cara furiosa"; });LWR.define('@salesforce/label/Emojis_Symbols.heavyDivisionSign', [], function() { return "Signo división grueso"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.InboundNewMessageScreenReaderText', [], function() { return "{0} dijo {1} a las {2}"; });LWR.define('@salesforce/label/c.B2BContactUsBannedBanner', [], function() { return "Contáctanos"; });LWR.define('@salesforce/label/c.B2BAutomotive', [], function() { return "Automotive"; });LWR.define('@salesforce/label/Emojis_FoodDrink.poultryLeg', [], function() { return "Muslo de pollo"; });LWR.define('@salesforce/label/Emojis_Symbols.heavyPlusSign', [], function() { return "Signo más grueso"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInactiveStateAssistiveText', [], function() { return "Formulario seguro no está disponible"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.tulip', [], function() { return "Tulipán"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseHereButton', [], function() { return "Botón Aquí en japonés"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.cat', [], function() { return "Gato"; });LWR.define('@salesforce/label/Commerce_LayoutSite.skipToFooter', [], function() { return "Saltar al pie de página"; });LWR.define('@salesforce/label/Emojis_FoodDrink.riceCracker', [], function() { return "Galleta de arroz"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.zzz', [], function() { return "Zzz"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.chicken', [], function() { return "Gallina"; });LWR.define('@salesforce/label/Emojis_Objects.roundPushpin', [], function() { return "Chincheta circular"; });LWR.define('@salesforce/label/Emojis_Symbols.blackMediumSquare', [], function() { return "Recuadro negro mediano"; });LWR.define('@salesforce/label/Emojis_Flags.crossedFlags', [], function() { return "Banderas cruzadas"; });LWR.define('@salesforce/label/Emojis_Objects.locked', [], function() { return "Bloqueado"; });LWR.define('@salesforce/label/EmbeddedMessagingCarousels.PreviousCardButtonAssistiveText', [], function() { return "Anterior"; });LWR.define('@salesforce/label/Emojis_FoodDrink.tangerine', [], function() { return "Mandarina"; });LWR.define('@salesforce/label/Emojis_FoodDrink.forkAndKnife', [], function() { return "Tenedor y cuchillo"; });LWR.define('@salesforce/label/c.B2BSuccess', [], function() { return "Éxito"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.runningShoe', [], function() { return "Zapatilla para correr"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.StreamingTokenValidationSystemMessage', [], function() { return "No se pudo verificar la respuesta anterior. El agente está generando una nueva respuesta."; });LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.ZeroUnseenMessagesAssistiveText', [], function() { return "Desplace los mensajes más recientes en vista"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.constructionWorker', [], function() { return "Guardia"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.lipstick', [], function() { return "Barra de labios"; });LWR.define('@salesforce/label/Emojis_FoodDrink.pizza', [], function() { return "Pizza"; });LWR.define('@salesforce/label/Emojis_Objects.pencil', [], function() { return "Lápiz"; });LWR.define('@salesforce/label/Emojis_Symbols.partAlternationMark', [], function() { return "Marca de alternancia"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.policeCarLight', [], function() { return "Luces de coche de policía"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TransferRequestFailureSystemMessage', [], function() { return "Solicitud de transferencia fallida a las"; });LWR.define('@salesforce/label/Emojis_Objects.moai', [], function() { return "Moai"; });LWR.define('@salesforce/label/Emojis_Symbols.rightArrowCurvingLeft', [], function() { return "Flecha derecha con curva hacia la izquierda"; });LWR.define('@salesforce/label/Emojis_Symbols.reverseButton', [], function() { return "Botón Retroceso"; });LWR.define('@salesforce/label/LightningDateTimePicker.invalidDate', [], function() { return "Su entrada no coincide con el patrón permitido {0}."; });LWR.define('@salesforce/label/Emojis_Symbols.leftRightArrow', [], function() { return "Flecha izquierda y dere
25cha"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.QueuePositionText', [], function() { return "Su posición en la cola es {0}."; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinute', [], function() { return "Estamos conectándole con un agente. Su tiempo de espera estimado es de {0} minuto."; });LWR.define('@salesforce/label/Emojis_Flags.denmark', [], function() { return "Dinamarca"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap1', [], function() { return "Tecla 1"; });LWR.define('@salesforce/label/Emojis_Symbols.anticlockwiseArrowsButton', [], function() { return "Botón flechas en el sentido contrario de las agujas del reloj"; });LWR.define('@salesforce/label/Emojis_Objects.eMail', [], function() { return "Email"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.slightlySmilingFace', [], function() { return "Cara algo sonriente"; });LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatTermsAndConditionsAcknowledgement', [], function() { return "Acepto"; });LWR.define('@salesforce/label/LightningColorPicker.colorPickerInstructions', [], function() { return "Utilice teclas de flechas para seleccionar una saturación y brillo, en un eje x e y."; });LWR.define('@salesforce/label/Emojis_Objects.postalHorn', [], function() { return "Bocina"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.globeShowingAsiaAustralia', [], function() { return "Globo que muestra Asia Australia"; });LWR.define('@salesforce/label/c.B2BEnterThemail', [], function() { return "Por favor, ingrese su correo electrónico."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.manAndWomanHoldingHands', [], function() { return "Mujer y hombre de la mano"; });LWR.define('@salesforce/label/Emojis_Symbols.bButtonBloodType', [], function() { return "Botón Grupo sanguíneo B"; });LWR.define('@salesforce/label/Emojis_FoodDrink.frenchFries', [], function() { return "Patatas fritas"; });LWR.define('@salesforce/label/Emojis_Symbols.redTrianglePointedUp', [], function() { return "Triángulo rojo apuntando hacia arriba"; });LWR.define('@salesforce/label/Emojis_FoodDrink.friedShrimp', [], function() { return "Gamba frita"; });LWR.define('@salesforce/label/Emojis_Objects.rightPointingMagnifyingGlass', [], function() { return "Lupa apuntando a la derecha"; });LWR.define('@salesforce/label/Emojis_Objects.openMailboxWithLoweredFlag', [], function() { return "Buzón de correo abierto con bandera bajada"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.thumbsDown', [], function() { return "En contra"; });LWR.define('@salesforce/label/Emojis_FoodDrink.greenApple', [], function() { return "Manzana verde"; });LWR.define('@salesforce/label/Emojis_Symbols.sosButton', [], function() { return "Botón SOS"; });LWR.define('@salesforce/label/Emojis_Symbols.registered', [], function() { return "Registrado"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.hamsterFace', [], function() { return "Cara de hámster"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouth', [], function() { return "Cara con boca abierta"; });LWR.define('@salesforce/label/Emojis_Objects.telephoneReceiver', [], function() { return "Auricular de teléfono"; });LWR.define('@salesforce/label/EffectiveAccountAPILocalizedError.effectiveAccountIdRequiredError', [], function() { return "El parámetro \u0027effectiveAccountId\u0027 es obligatorio para poder ejecutar correctamente esta solicitud."; });LWR.define('@salesforce/label/Emojis_Flags.flagsCategory', [], function() { return "Indicadores"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personWearingTurban', [], function() { return "Persona con turbante"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personMountainBiking', [], function() { return "Persona en bicicleta de montaña"; });LWR.define('@salesforce/label/Emojis_Objects.euroBanknote', [], function() { return "Billete de euro"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHorns', [], function() { return "Cara sonriente con cuernos"; });LWR.define('@salesforce/label/c.B2BCookiePolicyHref', [], function() { return "/about/corporate-policies/governance/cookie-policy"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonLabel', [], function() { return "
25Enviar"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.NotSent', [], function() { return "No enviado"; });LWR.define('@salesforce/label/LightningInputNumber.decrementCounter', [], function() { return "Disminuir número"; });LWR.define('@salesforce/label/Emojis_Flags.singapore', [], function() { return "Singapur"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.thoughtBalloon', [], function() { return "Bocadillo de pensamiento"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.carouselHorse', [], function() { return "Carrusel"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.snake', [], function() { return "Serpiente"; });LWR.define('@salesforce/label/Emojis_Symbols.topArrow', [], function() { return "Flecha TOP"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.CloseButtonAssistiveText', [], function() { return "Cerrar la ventana de chat"; });LWR.define('@salesforce/label/c.B2BManufacturersHref', [], function() { return "/manufacturers"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.glasses', [], function() { return "Gafas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.slotMachine', [], function() { return "Máquina tragaperras"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.anguishedFace', [], function() { return "Cara angustiada"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteSquareButton', [], function() { return "Botón Recuadro blanco"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthSmilingEyes', [], function() { return "Cara sonriente con boca abierta y ojos alegres"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.mansShoe', [], function() { return "Zapato de hombre"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.womansSandal', [], function() { return "Sandalia de mujer"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.horseRacing', [], function() { return "Carrera de caballos"; });LWR.define('@salesforce/label/Emojis_Activities.skis', [], function() { return "Esquís"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.aerialTramway', [], function() { return "Tranvía aéreo"; });LWR.define('@salesforce/label/c.B2BVideosHref', [], function() { return "/resources/videos"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.JWTExpiredAnnouncement', [], function() { return "Plática finalizada"; });LWR.define('@salesforce/label/Emojis_Symbols.redCircle', [], function() { return "Círculo rojo"; });LWR.define('@salesforce/label/Emojis_Symbols.fastUpButton', [], function() { return "Botón Arriba rápido"; });LWR.define('@salesforce/label/c.B2BPleaseEnterValidEmail', [], function() { return "Por favor, ingrese un correo electrónico válido."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.bikini', [], function() { return "Bikini"; });LWR.define('@salesforce/label/LightningCombobox.ariaSelectedOptions', [], function() { return "Opciones seleccionadas:"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.addToSecondaryCart', [], function() { return "Agregar a carrito guardado"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseOpenForBusinessButton', [], function() { return "Botón Abierto para compañías en japonés"; });LWR.define('@salesforce/label/Commerce_Cart_Pill.removePillAssistiveText', [], function() { return "Eliminar {0}"; });LWR.define('@salesforce/label/Emojis_FoodDrink.watermelon', [], function() { return "Sandía"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.evergreenTree', [], function() { return "Árbol perenne"; });LWR.define('@salesforce/label/Emojis_Objects.briefcase', [], function() { return "Maletín"; });LWR.define('@salesforce/label/LightningCombobox.placeholder', [], function() { return "Seleccione una opción"; });LWR.define('@salesforce/label/Emojis_Symbols.ballotBoxWithCheck', [], function() { return "Urna de votación con marca de verificación"; });LWR.define('@salesforce/label/LightningToast.macNavigationAssistiveText', [], function() { return "Pulse Comando + F6 para navegar a la siguiente notificación emergente o región enfocable."; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.TitleNotificationSenderDisplayName', [], function() { return "{0} dice…"; });LWR.define('@salesforce/label/LightningControl.required', [], function() { return "obligatorio"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationCancelButtonLabel', [], function() { return "Permanecer en el formulario"; });LWR.define('@salesforce/label/Emojis_Flags.canada', [], function() { return "Canadá"; });LWR.define('@salesforce/label/Emojis_Symbols.okButton', [], function() { return "Botón OK"; });LWR.define('@salesforce/label/Emojis_FoodDrink.grapes', [], function() { return "Viñedos"; });LWR.define('@salesforce/label/Emojis_Symbols.downLeftArrow', [], function() { return "Flecha izquierda hacia abajo"; });LWR.define('@salesforce/label/Emojis_Objects.megaphone', [], function() { return "Megáfono"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesMenuSelectedOptionAssistiveText', [], function() { return "Opción seleccionad
25a"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.penguin', [], function() { return "Pingüino"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChatbotEndedChatText', [], function() { return "El bot finalizó la sesión de chat a las"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.leopard', [], function() { return "Leopardo"; });LWR.define('@salesforce/label/Commerce_MCM_Cart_Details_Card.defaultCartTypePillLabel', [], function() { return "Predeterminado"; });LWR.define('@salesforce/label/LightningControl.inactiveCapitalized', [], function() { return "Inactivo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personRaisingHand', [], function() { return "Persona con mano levantada"; });LWR.define('@salesforce/label/Commerce_Navigation_Menu.OverflowMenuItemLabel', [], function() { return "Más"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.house', [], function() { return "Casa"; });LWR.define('@salesforce/label/Emojis_Objects.moneyBag', [], function() { return "Bolsa de dinero"; });LWR.define('@salesforce/label/Emojis_Symbols.fastDownButton', [], function() { return "Botón Abajo rápido"; });LWR.define('@salesforce/label/Commerce_ProductsAddedToCart.successfullyAddedToCartPopupMessage', [], function() { return "Agregado a carrito"; });LWR.define('@salesforce/label/Emojis_FoodDrink.wineGlass', [], function() { return "Copa de vino"; });LWR.define('@salesforce/label/c.B2BMemoryHref', [], function() { return "/products/memory"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.turtle', [], function() { return "Tortuga"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsLoading', [], function() { return "Cargando..."; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonPendingStateTitle', [], function() { return "Enviando formulario..."; });LWR.define('@salesforce/label/c.B2BProductsHref', [], function() { return "/products"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueWinkingEye', [], function() { return "Cara bromeando con guiño"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogCancelButton', [], function() { return "Cancelar"; });LWR.define('@salesforce/label/Emojis_Symbols.womensRoom', [], function() { return "Baño de mujeres"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.EndUserSentFileAttachmentAssistiveText', [], function() { return "Archivo enviado por usuario"; });LWR.define('@salesforce/label/Emojis_FoodDrink.bentoBox', [], function() { return "Fiambrera"; });LWR.define('@salesforce/label/Emojis_FoodDrink.cherries', [], function() { return "Cerezas"; });LWR.define('@salesforce/label/Emojis_Activities.christmasTree', [], function() { return "Árbol de navidad"; });LWR.define('@salesforce/label/Emojis_Objects.floppyDisk', [], function() { return "Disquete"; });LWR.define('@salesforce/label/Emojis_Symbols.aButtonBloodType', [], function() { return "Botón Grupo sanguíneo A"; });LWR.define('@salesforce/label/NavigationMenuItemDefaults.OpensInNewTab', [], function() { return "{0}, se abre en una nueva ficha"; });LWR.define('@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessageCount', [], function() { return "9+"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.graduationCap', [], function() { return "Capa de graduación"; });LWR.define('@salesforce/label/Emojis_FoodDrink.earOfCorn', [], function() { return "Mazorca de maíz"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.fearfulFace', [], function() { return "Cara miedosa"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.AttachedFilesAssistiveText', [], function() { return "Archivos adjuntos"; });LWR.define('@salesforce/label/Emojis_Symbols.ngButton', [], function() { return "Botón NG"; });LWR.define('@salesforce/label/EmbeddedMessagingCarousels.CarouselDescriptionAssistiveText', [], function() { return "Carrusel de opciones"; });LWR.define('@salesforce/label/Emojis_Flags.india', [], function() { return "India"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadSuccessNotification', [], function() { return "Se descargó la transcripción."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sportUtilityVehicle', [], function() { return "Vehículo deportivo utilitario"; });
25LWR.define('@salesforce/label/Emojis_Activities.activitiesCategory', [], function() { return "Actividades"; });LWR.define('@salesforce/label/Emojis_Symbols.eightPointedStar', [], function() { return "Estrella de ocho puntas"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.clappingHands', [], function() { return "Manos aplaudiendo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personRunning', [], function() { return "Persona corriendo"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.SpinnerDefaultAssistiveText', [], function() { return "Cargando..."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sun', [], function() { return "Dom"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.goat', [], function() { return "Cabra"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogConfirmButton', [], function() { return "Sí, abandonar la página"; });LWR.define('@salesforce/label/Emojis_Flags.turkey', [], function() { return "Turquía"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personBowing', [], function() { return "Persona inclinada"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatFrameTitle', [], function() { return "URL posterior al chat"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.bearFace', [], function() { return "Cara de oso"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.hourglass', [], function() { return "Reloj de arena"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.horseFace', [], function() { return "Cara de caballo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.snowmanWithoutSnow', [], function() { return "Muñeco de nieve sin nieve"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.productTypesInCart', [], function() { return "Carritos: {0} tipos de productos"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadInProgressNotification', [], function() { return "Descargando transcripción de chat..."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.oncomingFist', [], function() { return "Puño que viene"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantJoinedText', [], function() { return "El participante se unió"; });LWR.define('@salesforce/label/Emojis_FoodDrink.shortcake', [], function() { return "Shortcake"; });LWR.define('@salesforce/label/Emojis_Symbols.noMobilePhones', [], function() { return "Prohibido el uso de teléfonos celulares"; });LWR.define('@salesforce/label/LightningProgressBar.progress', [], function() { return "Progreso"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.rat', [], function() { return "Rata"; });LWR.define('@salesforce/label/c.B2BSlaveryandHumanTraffickingStatement', [], function() { return "Declaración sobre la esclavitud y la trata de personas"; });LWR.define('@salesforce/label/LightningCombobox.loadingText', [], function() { return "Cargando"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.nineThirty', [], function() { return "Nueve y media"; });LWR.define('@salesforce/label/Emojis_Objects.radio', [], function() { return "Botón de opción"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.poodle', [], function() { return "Caniche"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.snail', [], function() { return "Caracola"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.ladyBeetle', [], function() { return "Mariquita"; });LWR.define('@salesforce/label/Emojis_Objects.syringe', [], function() { return "Jeringa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.growingHeart', [], function() { return "Corazón creciente"; });LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatStateSubmitButton', [], function() { return "Iniciar plática"; });LWR.define('@salesforce/label/Emojis_Symbols.fastReverseButton', [], function() { return "Botón Retroceso rápido"; });LWR.define('@salesforce/label/Emojis_Objects.barChart', [], function() { return "Gráfico de barras"; });LWR.define('@salesforce/label/Emojis_Symbols.newButton', [], function() { return "Botón New"; });LWR.define('@salesforce/label/c.B2BAerospaceandDefence', [], function() { return "Aeroespacial y defensa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.collision', [], function() { return "Colisión"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.itemsLabel', [], function() { return "Artículos"; });LWR.define('@salesforce/label/Emojis_Objects.ledger', [], function() { return "Libro de cuentas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.statueOfLiberty', [], function() { return "
25Estatua de la libertad"; });LWR.define('@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiKeyboardAssistiveText', [], function() { return "Teclado de emojis"; });LWR.define('@salesforce/label/Commerce_MultiCart_Badge.loadingCarts', [], function() { return "Cargando..."; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogTitleText', [], function() { return "¿Abandonar la página actual?"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.mapleLeaf', [], function() { return "Hoja de arce"; });LWR.define('@salesforce/label/Emojis_Symbols.childrenCrossing', [], function() { return "Niños cruzando"; });LWR.define('@salesforce/label/Emojis_Objects.heavyDollarSign', [], function() { return "Símbolo de dólar"; });LWR.define('@salesforce/label/LightningToast.errorLabel', [], function() { return "Error"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.animalsNatureCategory', [], function() { return "Animales y naturaleza"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.AgentTypingIndicator', [], function() { return "{0} está escribiendo..."; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadErrorNotification', [], function() { return "Algo falló."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.womansClothes', [], function() { return "Ropa de mujer"; });LWR.define('@salesforce/label/Emojis_Objects.creditCard', [], function() { return "Tarjeta de crédito"; });LWR.define('@salesforce/label/Emojis_Objects.calendar', [], function() { return "Calendario"; });LWR.define('@salesforce/label/Emojis_Symbols.questionMark', [], function() { return "Signo de interrogación"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.rooster', [], function() { return "Gallo"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.dolphin', [], function() { return "Delfín"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.hotel', [], function() { return "Hotel"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.japaneseCastle', [], function() { return "Castillo japonés"; });LWR.define('@salesforce/label/Emojis_Objects.pushpin', [], function() { return "Chincheta"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteMediumSquare', [], function() { return "Recuadro blanco mediano"; });LWR.define('@salesforce/label/Emojis_Objects.musicalScore', [], function() { return "Partitura musical"; });LWR.define('@salesforce/label/Emojis_Symbols.tridentEmblem', [], function() { return "Símbolo de tridente"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.grinningFaceWithSmilingEyes', [], function() { return "Cara sonriente con ojos alegres"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedButtonAssistiveText', [], function() { return "Ampliar la ventana de chat"; });LWR.define('@salesforce/label/Emojis_Objects.fileFolder', [], function() { return "Carpeta de archivos"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.highHeeledShoe', [], function() { return "Zapato de tacón alto"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.dogFace', [], function() { return "Cara de perro"; });LWR.define('@salesforce/label/c.B2BCartHref', [], function() { return "/cart"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.babyAngel', [], function() { return "Bebé ángel"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceSavoringDeliciousFood', [], function() { return "Cara saboreando comida deliciosa"; });LWR.define('@salesforce/label/LightningErrorMessage.validityValueMissing', [], function() { return "Rellene este campo."; });LWR.define('@salesforce/label/Emojis_Symbols.potableWater', [], function() { return "Agua potable"; });LWR.define('@salesforce/label/c.B2BSlaveryandHumanTraffickingStatementHref', [], function() { return "/about/corporate-policies/governance/slavery-and-human-trafficking-statement"; });LWR.define('@salesforce/label/Emojis_Flags.puertoRico', [], function() { return "Puerto Rico"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithHeartEyes', [], function() { return "Cara de gato sonriente con ojos en forma de corazones"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.continueShoppingButtonText', [], function() { return "Seguir comprando"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.monkeyFace', [], function() { return "Cara de mono"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.purpleHeart', [], function() { return "Corazón morado"; });
25LWR.define('@salesforce/label/Emojis_Activities.spadeSuit', [], function() { return "Juego de rombos"; });LWR.define('@salesforce/label/Emojis_Objects.speakerHighVolume', [], function() { return "Altavoz a volumen alto"; });LWR.define('@salesforce/label/c.B2BResourcesHref', [], function() { return "/resources"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fountain', [], function() { return "Fuente"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.busStop', [], function() { return "Parada de autobús"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fireEngine', [], function() { return "Camión de bomberos"; });LWR.define('@salesforce/label/Emojis_Symbols.japanesePassingGradeButton', [], function() { return "Botón Aprobación de grado en japonés"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.anchor', [], function() { return "Anclaje"; });LWR.define('@salesforce/label/c.SiteSufix', [], function() { return "/shop"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.frowningFaceWithOpenMouth', [], function() { return "Cara sorpresa"; });LWR.define('@salesforce/label/Emojis_Flags.china', [], function() { return "China"; });LWR.define('@salesforce/label/Emojis_Flags.portugal', [], function() { return "Portugal"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingUp', [], function() { return "Índice de revés señalando hacia arriba"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.volcano', [], function() { return "Volcano"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.dog', [], function() { return "Perro"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.verticalTrafficLight', [], function() { return "Semáforo vertical"; });LWR.define('@salesforce/label/Emojis_Objects.pager', [], function() { return "Localizador"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.wearyCatFace', [], function() { return "Cara de gato cansada"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeTitle', [], function() { return "Vista previa de imagen ampliada"; });LWR.define('@salesforce/label/LightningControl.indeterminate', [], function() { return "Mezclado"; });LWR.define('@salesforce/label/LightningColorPicker.bInput', [], function() { return "B"; });LWR.define('@salesforce/label/c.B2BTransportationHref', [], function() { return "/markets/transportation"; });LWR.define('@salesforce/label/c.B2BSubscribeButton', [], function() { return "Suscribirse"; });LWR.define('@salesforce/label/Emojis_FoodDrink.lemon', [], function() { return "Limón"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.crescentMoon', [], function() { return "Luna creciente"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedStateAssistiveText', [], function() { return "Ampliar la ventana de mensaje"; });
25LWR.define('@salesforce/label/c.B2BAssociationsHref', [], function() { return "/about/associations"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.fish', [], function() { return "Pez"; });LWR.define('@salesforce/label/c.B2BManufacturingServices', [], function() { return "Servicios de fabricación"; });LWR.define('@salesforce/label/Emojis_Symbols.noLittering', [], function() { return "Prohibido arrojar basura"; });LWR.define('@salesforce/label/Emojis_FoodDrink.banana', [], function() { return "Plátano"; });LWR.define('@salesforce/label/c.B2BProcessorandPeripheral', [], function() { return "Procesador y periféricos"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.hospital', [], function() { return "Hospital"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChoicesSelectionResponsePlaceholderText', [], function() { return "Marcador de posición"; });LWR.define('@salesforce/label/Emojis_Objects.currencyExchange', [], function() { return "Cambio de divisa"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.spoutingWhale', [], function() { return "Ballena echando agua"; });LWR.define('@salesforce/label/LightningInputFile.buttonLabel', [], function() { return "Cargar ar
25chivos"; });LWR.define('@salesforce/label/c.B2BCareers', [], function() { return "Vacantes"; });LWR.define('@salesforce/label/Emojis_Activities.balloon', [], function() { return "Globo"; });LWR.define('@salesforce/label/Emojis_Objects.telescope', [], function() { return "Telescopio"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogBodyText', [], function() { return "Después de abandonar el formulario, puede abrirlo de nuevo en la ventana de chat. Sin embargo, su progreso no se guarda."; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseServiceChargeButton', [], function() { return "Botón Cargo por servicio en japonés"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseNoVacancyButton', [], function() { return "Botón Sin vacante en japonés"; });LWR.define('@salesforce/label/Emojis_FoodDrink.iceCream', [], function() { return "Helado"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.itemsInCart', [], function() { return "Carrito: {0} artículos"; });LWR.define('@salesforce/label/LightningDateTimePicker.minRangeMessage', [], function() { return "Seleccionar una fecha después de {0}"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.departmentStore', [], function() { return "Grandes almacenes"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.loveLetter', [], function() { return "Carta de amor"; });LWR.define('@salesforce/label/Emojis_Symbols.circledM', [], function() { return "M en círculo"; });LWR.define('@salesforce/label/Emojis_Objects.outboxTray', [], function() { return "Bandeja de salida"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tram', [], function() { return "Tranvía"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.globeShowingAmericas', [], function() { return "Globo que muestra las Américas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fourThirty', [], function() { return "Cuatro y media"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.MessageResendButtonText', [], function() { return "Volver a enviar"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.sleepyFace', [], function() { return "Cara somnoliento"; });LWR.define('@salesforce/label/c.B2BFacebookHref', [], function() { return "https://www.facebook.com/RochesterMexico"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.rollerCoaster', [], function() { return "Montaña rusa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthColdSweat', [], function() { return "Cara sonriente con boca abierta y sudor frío"; });LWR.define('@salesforce/label/Emojis_Symbols.clButton', [], function() { return "Botón CL"; });LWR.define('@salesforce/label/Emojis_Objects.videocassette', [], function() { return "Videocasete"; });LWR.define('@salesforce/label/Emojis_Objects.bellWithSlash', [], function() { return "Campana tachada"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingPoliceCar', [], function() { return "Coche de policía aproximándose"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.railwayCar', [], function() { return "Vagón de tren"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.construction', [], function() { return "Construcción"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.cryingFace', [], function() { return "Cara llorando"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.maximumCount', [], function() { return "{maximumCount}+"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseSymbolForBeginner', [], function() { return "Símbolo en japonés para principiantes"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceBlowingAKiss', [], function() { return "Cara enviando un beso"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgressAssistiveText', [], function() { return "$Label.EmbeddedMessagingConversationState.ReconnectInProgressAssistiveText does not exist."; });LWR.define('@salesforce/label/LightningDateTimePicker.nextMonth', [], function() { return "Mes siguiente"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.topHat', [], function() { return "Chistera"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.heartWithArrow', [], function() { return "Corazón con flecha"; });LWR.define('@salesforce/label/Emojis_Symbols.waterCloset', [], function() { return "Retrete"; });LWR.define('@salesforce/label/Emojis_Symbols.copyright', [], function() { return "Copyright"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap9', [], function() { return "Tecla 9"; });LWR.define('@salesforce/label/Emojis_Objects.triangularRuler', [], function() { return "Regla triangular"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.FormButtonErrorResponseStateTitle', [], function() { return "No pudimos enviar el formulario."; });LWR.define('@salesforce/label/LightningDateTimePicker.minAndMaxRangeMessage', [], function() { return "Seleccionar una fecha de {0} a {1}"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.waningGibbousMoon', [], function() { return "Luna menguante gibosa"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.princess', [], function() { return "Princesa"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.performingArts', [], function() { return "Artes escénicas"; });LWR.define('@salesforce/label/LightningControl.false', [], function() { return "Falso"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sunrise', [], function() { return "Amanecer"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsNoResult', [], function() { return "No tiene ningún carrito guardado."; });LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatChoiceListValueNone', [], function() { return "Ninguno"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteMediumSmallSquare', [], function() { return "Pequeño recuadro blanco mediano"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.hibiscus', [], function() { return "Hibisco"; });LWR.define('@salesforce/label/LightningColorPicker.cancelButton', [], function() { return "Cancelar"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.alien', [], function() { return "Alien"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.twoWomenHoldingHands', [], function() { return "Dos mujeres de la mano"; });LWR.define('@salesforce/label/Emojis_Objects.movieCamera', [], function() { return "Cámara de cine"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personGettingMassage', [], function() { return "Persona recibiendo masaje"; });LWR.define('@salesforce/label/LightningToast.successLabel', [], function() { return "Correcto"; });LWR.define('@salesforce/label/Emojis_Flags.finland', [], function() { return "Finlandia"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.policeCar', [], function() { return "Coche de policía"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.houseWithGarden', [], function() { return "Casa con jardín"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.ChatbotTypingIndicator', [], function() { return "Pensando"; });LWR.define('@salesforce/label/B2B_Search_Suggestions.searchInputAriaDescribedby', [], function() { return "$Label.B2B_Search_Suggestions.searchInputAriaDescribedby does not exist."; });LWR.define('@salesforce/label/c.B2BEmailSentSuccessfully', [], function() { return "Correo electrónico enviado correctamente"; });LWR.define('@salesforce/label/Emojis_Flags.triangularFlag', [], function() { return "Bandera triangular"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.crocodile', [], function() { return "Crocodilo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.boy', [], function() { return "Chico"; });LWR.define('@salesforce/label/c.B2BBOMLabel', [], function() { return "Mis listas"; });LWR.define('@salesforce/label/Emojis_Objects.cardIndex', [], function() { return "Fichero"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.woman', [], function() { return "Mujer"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputMultipleSelectInstruction', [], function() { return "Seleccione cualquier opción adecuada"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.UnsupportedFileTypeErrorText', [], function() { return "Tipo de archivo no admitido: {0}. Inténtelo de nuevo."; });LWR.define('@salesforce/label/Emojis_Symbols.symbolsCategory', [], function() { return "Símbolos"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.perseveringFace', [], function() { return "Cara falta fuerza"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.footprints', [], function() { return "Pisadas"; });LWR.define('@salesforce/label/Emojis_Objects.unlocked', [], function() { return "Desbloqueada"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.bustsInSilhouette', [], function() { return "Silueta de bustos"; });LWR.define('@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsErrorLine1', [], function() { return "No se pudimos recuperar la lista de carritos."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingRight', [], function() { return "Índice de revés señalando a la derecha"; });LWR.define('@salesforce/label/Emojis_Symbols.scorpio', [], function() { return "
25Escorpio"; });LWR.define('@salesforce/label/c.B2BGDPRPolicy', [], function() { return "Política del RGPD"; });LWR.define('@salesforce/label/Emojis_Symbols.backArrow', [], function() { return "Flecha atrás"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.bridgeAtNight', [], function() { return "Puente de noche"; });LWR.define('@salesforce/label/c.B2BLeadership', [], function() { return "Liderazgo"; });LWR.define('@salesforce/label/LightningCombobox.defaultGroupHeader', [], function() { return "Resultados de búsqueda"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputSingleSelectInstruction', [], function() { return "Seleccionar una"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.TextInputSelectInstruction', [], function() { return "Ingresar texto"; });LWR.define('@salesforce/label/Emojis_Activities.jackOLantern', [], function() { return "Calabaza de Halloween"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personTippingHand', [], function() { return "Persona con mano inclinada"; });LWR.define('@salesforce/label/Emojis_Objects.envelope', [], function() { return "Sobre"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.santaClaus', [], function() { return "Santa Claus"; });LWR.define('@salesforce/label/Emojis_FoodDrink.lollipop', [], function() { return "Piruleta"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSmilingEyes', [], function() { return "Cara sonriente con ojos alegres"; });LWR.define('@salesforce/label/Emojis_Symbols.upArrow', [], function() { return "Flecha hacia arriba"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogTitleText', [], function() { return "¿Salir de este formulario?"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.ring', [], function() { return "Anillo"; });LWR.define('@salesforce/label/Emojis_FoodDrink.chestnut', [], function() { return "Castaña"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.sleepingFace', [], function() { return "Cara durmiendo"; });LWR.define('@salesforce/label/Dxp_Content_Layout_Site_Logo.imageAlternativeText', [], function() { return "Página de inicio"; });LWR.define('@salesforce/label/Emojis_Flags.spain', [], function() { return "España"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.baby', [], function() { return "Bebé"; });LWR.define('@salesforce/label/Emojis_Symbols.doubleCurlyLoop', [], function() { return "Doble bucle enroscado"; });LWR.define('@salesforce/label/c.B2BEmailLabel', [], function() { return "Correo electrónico"; });LWR.define('@salesforce/label/LightningControl.activeCapitalized', [], function() { return "Activo"; });LWR.define('@salesforce/label/Emojis_Flags.southAfrica', [], function() { return "Sudáfrica"; });LWR.define('@salesforce/label/Emojis_Activities.sparkler', [], function() { return "Bengala"; });LWR.define('@salesforce/label/Emojis_Flags.chequeredFlag', [], function() { return "Bandera a cuadros"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.nose', [], function() { return "Nariz"; });LWR.define('@salesforce/label/c.B2BOurLocations', [], function() { return "Nuestras ubicaciones"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.SendFileAttachmentAssistiveText', [], function() { return "El archivo adjunto está en vista previa hasta que pulse en el icono Enviar mensaje."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.convenienceStore', [], function() { return "Tienda de alimentación"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.cherryBlossom', [], function() { return "Flor de cerezo"; });LWR.define('@salesforce/label/Emojis_Objects.chartIncreasing', [], function() { return "Gráfico ascendente"; });LWR.define('@salesforce/label/Emojis_Symbols.downArrow', [], function() { return "Flecha hacia abajo"; });LWR.define('@salesforce/label/Emojis_Symbols.fastForwardButton', [], function() { return "Botón Avance rápido"; });LWR.define('@salesforce/label/Emojis_Objects.books', [], function() { return "Libros"; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.NextButtonDisabledAssistiveText', [], function() { return "
25El botón Siguiente no está disponible"; });LWR.define('@salesforce/label/c.B2BLinkedInHref', [], function() { return "https://www.linkedin.com/company/rochester-electronics-mexico/"; });LWR.define('@salesforce/label/Emojis_Objects.envelopeWithArrow', [], function() { return "Sobre con flecha"; });LWR.define('@salesforce/label/Commerce_Cart_Error_Messages.preserveGuestCartErrorMessage', [], function() { return "{0} artículos ya no están en su carrito. Revise su carrito y vuelva a agregar los artículos si fuese necesario."; });LWR.define('@salesforce/label/Emojis_Symbols.noBicycles', [], function() { return "Prohibidas las bicicletas"; });LWR.define('@salesforce/label/Emojis_Symbols.wavyDash', [], function() { return "Línea ondulada"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.Yesterday', [], function() { return "Ayer"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.NotRoutedToAgentRoutingResult', [], function() { return "Los agentes no están disponibles. Inténtelo de nuevo más tarde."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fire', [], function() { return "Fuego"; });LWR.define('@salesforce/label/Emojis_Symbols.leftArrow', [], function() { return "Flecha izquierda"; });LWR.define('@salesforce/label/Emojis_Objects.nutAndBolt', [], function() { return "Tuerca y tornillo"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingCatFaceWithClosedEyes', [], function() { return "Cara de gato que besa con ojos cerrados"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.expressionlessFace', [], function() { return "Cara inexpresiva"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.tent', [], function() { return "Carpa"; });LWR.define('@salesforce/label/c.B2BDistributors', [], function() { return "Distribuidores"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.victoryHand', [], function() { return "Mano con símbolo de victoria"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fourOClock', [], function() { return "Cuatro en punto"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.cyclone', [], function() { return "Ciclón"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonAssistiveText', [], function() { return "Volver al chat"; });LWR.define('@salesforce/label/EmbeddedMessagingIframesAndContents.ChatWindowAssistiveText', [], function() { return "Ventana de chat"; });LWR.define('@salesforce/label/Emojis_Objects.mobilePhoneWithArrow', [], function() { return "Teléfono celular con flecha"; });LWR.define('@salesforce/label/Emojis_Objects.cigarette', [], function() { return "Cigarrillo"; });LWR.define('@salesforce/label/c.B2BSolutions', [], function() { return "Soluciones"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personBiking', [], function() { return "Persona en bicicleta"; });LWR.define('@salesforce/label/Emojis_Flags.netherlands', [], function() { return "Países Bajos"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongue', [], function() { return "Cara bromeando"; });LWR.define('@salesforce/label/LightningErrorMessage.validityStepMismatch', [], function() { return "Su entrada no es un incremento válido."; });LWR.define('@salesforce/label/Emojis_Objects.headphone', [], function() { return "Auriculares"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.pileOfPoo', [], function() { return "Excremento"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sevenOClock', [], function() { return "Siete en punto"; });LWR.define('@salesforce/label/Emojis_Objects.tearOffCalendar', [], function() { return "Calendario de taco"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.highVoltage', [], function() { return "Alto voltaje"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personSurfing', [], function() { return "Persona surfeando"; });LWR.define('@salesforce/label/Emojis_Symbols.largeBlueDiamond', [], function() { return "Diamante azul grande"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap3', [], function() { return "Tecla 3"; });LWR.define('@salesforce/label/c.B2BManufacturingServicesHref', [], function() { return "/solutions/manufacturing-services"; });LWR.define('@salesforce/label/LightningColorPicker.blueAbbr', [], function() { return "Azul"; });LWR.define('@salesforce/label/Emojis_FoodDrink.roastedSweetPotato', [], function() { return "Batata asada"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogBodyText', [], function() { return "Después de abandonar esta página, no podrá volver a ella."; });LWR.define('@salesforce/label/Emojis_Symbols.aquarius', [], function() { return "Acuario"; });LWR.define('@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonTitle', [], function() { return "Volver al chat"; });LWR.define('@salesforce/label/Emojis_FoodDrink.spaghetti', [], function() { return "
25Espaguetis"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.AgentEndedChatText', [], function() { return "El agente finalizó la sesión de chat a las"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantLeftText', [], function() { return "El participante se fue"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.twoOClock', [], function() { return "Dos en punto"; });LWR.define('@salesforce/label/LightningDateTimePicker.dateLabel', [], function() { return "Fecha"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.sunflower', [], function() { return "Girasol"; });LWR.define('@salesforce/label/Emojis_Objects.closedMailboxWithLoweredFlag', [], function() { return "Buzón de correo cerrado con bandera bajada"; });LWR.define('@salesforce/label/Emojis_Activities.diamondSuit', [], function() { return "Juego de diamantes"; });LWR.define('@salesforce/label/EmbeddedMessagingMinimizedState.MultipleNewMessagesText', [], function() { return "Nuevos mensajes"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.whale', [], function() { return "Ballena"; });LWR.define('@salesforce/label/Emojis_FoodDrink.honeyPot', [], function() { return "Bote de miel"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.bank', [], function() { return "Banco"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.seeNoEvilMonkey', [], function() { return "Mono que se tapa los ojos al mal"; });LWR.define('@salesforce/label/EmbeddedMessagingPrechat.RequiredFormFieldError', [], function() { return "Este campo es obligatorio."; });LWR.define('@salesforce/label/Emojis_Symbols.sparkle', [], function() { return "Destello"; });LWR.define('@salesforce/label/Emojis_FoodDrink.redApple', [], function() { return "Manzana roja"; });LWR.define('@salesforce/label/LightningDateTimePicker.today', [], function() { return "Hoy"; });LWR.define('@salesforce/label/c.B2BIndustrial', [], function() { return "Industrial"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap10', [], function() { return "Tecla 10"; });LWR.define('@salesforce/label/Emojis_Symbols.japaneseFreeOfChargeButton', [], function() { return "Botón Es gratuito en japonés"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap5', [], function() { return "Tecla 5"; });LWR.define('@salesforce/label/Emojis_Objects.paperclip', [], function() { return "Sujetapapeles"; });LWR.define('@salesforce/label/Emojis_Symbols.soonArrow', [], function() { return "Flecha SOON"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sunBehindCloud', [], function() { return "Sol detrás de nube"; });LWR.define('@salesforce/label/c.B2BIndustrialHref', [], function() { return "/markets/industrial"; });LWR.define('@salesforce/label/LightningErrorMessage.validityTooShort', [], function() { return "Su entrada es demasiado corta."; });LWR.define('@salesforce/label/Emojis_Activities.partyPopper', [], function() { return "Lanzador de confeti"; });LWR.define('@salesforce/label/Emojis_Activities.tanabataTree', [], function() { return "Árbol de Tanabata"; });LWR.define('@salesforce/label/c.B2BOptoelctronicsHref', [], function() { return "/products/optoelectronics"; });LWR.define('@salesforce/label/c.B2BProducts', [], function() { return "Productos"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.sheep', [], function() { return "Oveja"; });LWR.define('@salesforce/label/Emojis_FoodDrink.sake', [], function() { return "Sake"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.kissingFaceWithSmilingEyes', [], function() { return "Cara que besa con ojos sonrientes"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.MinimizeButtonAssistiveText', [], function() { return "Minimizar ventana de chat"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.ear', [], function() { return "Oreja"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.frontFacingBabyChick', [], function() { return "Cara de polluelo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.fuelPump', [], function() { return "Gasolinera"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.relievedFace', [], function() { return "Cara aliviado"; });LWR.define('@salesforce/label/Emojis_Symbols.vibrationMode', [], function() { return "Modo vibración"; });LWR.define('@salesforce/label/Emojis_Objects.bookmark', [], function() { return "Favorito"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.trolleybus', [], function() { return "Trolebús"; });LWR.define('@salesforce/label/Emojis_Symbols.radioButton', [], function() { return "Botón de opción"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.personGettingHaircut', [], function() { return "Persona recibiendo corte de pelo"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.metro', [], function() { return "Metro"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.AgentJoinAnnouncement', [], function() { return "Nuevo participante"; });LWR.define('@salesforce/label/Emojis_Symbols.oButtonBloodType', [], function() { return "Botón Grupo sangu
25íneo O"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.blueHeart', [], function() { return "Corazón azul"; });LWR.define('@salesforce/label/Emojis_Symbols.diamondWithADot', [], function() { return "Diamante con un punto"; });LWR.define('@salesforce/label/Emojis_Objects.microphone', [], function() { return "Micrófono"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteSmallSquare', [], function() { return "Pequeño recuadro blanco"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonTitle', [], function() { return "Adjuntar archivo"; });LWR.define('@salesforce/label/LightningColorPicker.rInput', [], function() { return "R"; });LWR.define('@salesforce/label/EmbeddedMessagingPrechat.InvalidEmailFormFieldError', [], function() { return "Utilice un formato de email válido."; });LWR.define('@salesforce/label/Emojis_Flags.macauSarChina', [], function() { return "Región Administrativa Especial de Macau de China"; });LWR.define('@salesforce/label/Emojis_Symbols.largeOrangeDiamond', [], function() { return "Diamante naranja grande"; });LWR.define('@salesforce/label/c.B2BDesignAndAuthorizedReplication', [], function() { return "Diseño y replicación autorizada"; });LWR.define('@salesforce/label/LightningErrorMessage.validityBadEmailInput', [], function() { return "Ingrese una dirección de email válida, como [email protected]."; });LWR.define('@salesforce/label/Emojis_Objects.openMailboxWithRaisedFlag', [], function() { return "Buzón de correo abierto con bandera alzada"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.newMoon', [], function() { return "Luna nueva"; });LWR.define('@salesforce/label/B2B_Search_Suggestions.searchFor', [], function() { return "Buscar \"{searchTerm}\""; });LWR.define('@salesforce/label/EmbeddedMessagingSecureForm.RequiredInputMissing', [], function() { return "Ingrese un valor."; });LWR.define('@salesforce/label/Emojis_AnimalsNature.bird', [], function() { return "Pájaro"; });LWR.define('@salesforce/label/c.B2BDistributorsHref', [], function() { return "/about/distributors"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.ConfirmationDialogMenuItemAssistiveText', [], function() { return "Confirmar {0}"; });LWR.define('@salesforce/label/c.B2BAntiCounterfeitingHref', [], function() { return "/quality/anti-counterfeiting"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.productTypeInCart', [], function() { return "Carrito: 1 tipo de producto"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.rose', [], function() { return "Rosa"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.personTakingBath', [], function() { return "Persona tomando un baño"; });LWR.define('@salesforce/label/Emojis_Activities.americanFootball', [], function() { return "Fútbol americano"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.tiredFace', [], function() { return "Cara cansado"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.highSpeedTrain', [], function() { return "Tren de alta velocidad"; });LWR.define('@salesforce/label/LightningDateTimePicker.timeLabel', [], function() { return "Hora"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.cactus', [], function() { return "Cactus"; });LWR.define('@salesforce/label/Emojis_Symbols.heavyMultiplicationX', [], function() { return "Símbolo de multiplicación grueso"; });LWR.define('@salesforce/label/Emojis_Flags.hongKongSarChina', [], function() { return "Región Administrativa Especial de Hong Kong de China"; });LWR.define('@salesforce/label/Emojis_Objects.pill', [], function() { return "Píldora"; });LWR.define('@salesforce/label/EmbeddedMessagingConversationState.MultiAgentTypingIndicator', [], function() { return "Hay varios participantes escribiendo..."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.eightOClock', [], function() { return "Ocho en punto"; });LWR.define('@salesforce/label/Emojis_FoodDrink.teacupWithoutHandle', [], function() { return "Taza de té sin asa"; });LWR.define('@salesforce/label/Emojis_Symbols.nonPotableWater', [], function() { return "Agua no potable"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.eightThirty', [], function() { return "Ocho y media"; });LWR.define('@salesforce/label/Emojis_Symbols.downButton', [], function() { return "Botón Abajo"; });LWR.define('@salesforce/label/Emojis_Flags.austria', [], function() { return "Austr
25ia"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.FileExceededSizeLimitErrorText', [], function() { return "Estos archivos superan el límite de {1} MB: {0}. Inténtelo de nuevo."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.raisingHands', [], function() { return "Manos alzadas"; });LWR.define('@salesforce/label/Emojis_Flags.poland', [], function() { return "Polonia"; });LWR.define('@salesforce/label/Emojis_Activities.rugbyFootball', [], function() { return "Rugby"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.necktie', [], function() { return "Corbata"; });LWR.define('@salesforce/label/Emojis_Symbols.eightSpokedAsterisk', [], function() { return "Asterisco de ocho puntas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sunriseOverMountains', [], function() { return "Amanecer sobre las montañas"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.oncomingAutomobile', [], function() { return "Automóvil aproximándose"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.twoHumpCamel', [], function() { return "Camello con dos jorobas"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.indexPointingUp', [], function() { return "Índice señalando hacia arriba"; });LWR.define('@salesforce/label/Emojis_Activities.pineDecoration', [], function() { return "Decoración con piñas"; });LWR.define('@salesforce/label/Emojis_Symbols.leftArrowCurvingRight', [], function() { return "Fecha izquierda con curva hacia la derecha"; });LWR.define('@salesforce/label/Emojis_Symbols.keycap7', [], function() { return "Tecla 7"; });LWR.define('@salesforce/label/LightningDateTimePicker.rangeOverflow', [], function() { return "El valor debe ser {0} o anterior."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.twoThirty', [], function() { return "Dos y media"; });LWR.define('@salesforce/label/LightningControl.loading', [], function() { return "Cargando"; });LWR.define('@salesforce/label/Emojis_Objects.telephone', [], function() { return "Teléfono"; });LWR.define('@salesforce/label/EmbeddedMessagingPrechat.PrechatSubmitButtonLoading', [], function() { return "Cargando..."; });LWR.define('@salesforce/label/Emojis_SmileysPeople.heartDecoration', [], function() { return "Decoración de corazón"; });LWR.define('@salesforce/label/Emojis_Symbols.freeButton', [], function() { return "Botón Free"; });LWR.define('@salesforce/label/c.B2BRightReserved', [], function() { return "© 2026 Rochester Electronics. Todos los derechos reservados."; });LWR.define('@salesforce/label/Emojis_TravelPlaces.elevenThirty', [], function() { return "Once y media"; });LWR.define('@salesforce/label/c.B2BSubscribe', [], function() { return "Suscríbase a nuestro boletín"; });LWR.define('@salesforce/label/Emojis_FoodDrink.mushroom', [], function() { return "Champiñón"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestSuccessHeaderAnnouncement', [], function() { return "Transfiriendo..."; });LWR.define('@salesforce/label/Emojis_AnimalsNature.waterBuffalo', [], function() { return "Búbalo"; });LWR.define('@salesforce/label/c.B2BContactUsHeaderHref', [], function() { return "/contact-us"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.faceScreamingInFear', [], function() { return "Cara de horror"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.schoolBackpack', [], function() { return "Mochila"; });LWR.define('@salesforce/label/Emojis_Symbols.inputNumbers', [], function() { return "Entrada en números"; });LWR.define('@salesforce/label/c.B2BAnalogandMixedSignal', [], function() { return "Señales analógicas y mixtas"; });LWR.define('@salesforce/label/LightningDateTimePicker.dateFormatExampleText', [], function() { return "Formato: {0}"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.yellowHeart', [], function() { return "Corazón amarillo"; });LWR.define('@salesforce/label/EmbeddedMessagingChatHeader.Close', [], function() { return "Cerrar ventana de chat"; });LWR.define('@salesforce/label/Emojis_Symbols.whiteLargeSquare', [], function() { return "Recuadro blanco grande"; });LWR.define('@salesforce/label/Emojis_TravelPlaces.sevenThirty', [], function() { return "Siete y media"; });LWR.define('@salesforce/label/Emojis_AnimalsNature.ram', [], function() { return "Carnero"; });LWR.define('@salesforce/label/Emojis_FoodDrink.riceBall', [], function() { return "Bola de arroz"; });LWR.define('@salesforce/label/Commerce_Cart_Badge.checkoutButtonText', [], function() { return "Pasar por caja"; });LWR.define('@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonAssistiveText', [], function() { return "Icono para adjuntar"; });LWR.define('@salesforce/label/Emojis_SmileysPeople.raisedHand', [], function() { return "Mano alzada"; });(function() { LWR.define("commerce/layoutSite",["exports","lwc","@
25salesforce/label/Commerce_LayoutSite.skipToMain","@salesforce/label/Commerce_LayoutSite.skipToFooter"],function(e,t,o,a){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(o),s=n(a);function i(e,t,o){var a=e?"."+e:"";return(t?":host {":(e?"."+e+"-host":"")+" {")+"display: flex;flex-direction: column;min-height: 100vh;}.header"+a+" {top: 0;left: 0;z-index: var(--com-c-header-zindex, 999);position: var(--com-c-layout-header-position, sticky);border-bottom: var(--com-c-layout-header-border-bottom);}.announcement"+a+" {background-color: var(--com-c-layout-header-announcement-background-color, var(--com-c-layout-header-background-color, var(--dxp-g-root, #fff)));}.content"+a+" {scroll-margin-top: var(--com-c-layout-content-scroll-margin-top, 0rem);flex: 1 0 auto;}.skip-to-content"+a+" {color: var(--dxp-g-root-contrast);background-color: var(--com-c-layout-header-background-color, var(--dxp-g-root, #fff));}.skip-to-content-link"+a+" {position: absolute;display: inline-block;width: 1px;height: 1px;margin: -1px;clip: rect(0, 0, 0, 0);overflow: hidden;}.skip-to-content-link:focus-visible"+a+" {padding: 0.5rem 1rem;position: static;width: auto;height: auto;margin: 0.625rem 2rem;overflow: visible;clip: auto;}"}i.$scoped$=!0;var l=[i];const c=t.parseFragment`<div class="skip-to-content${0}"${2}><a class="skip-to-content-link${0}" href="#layout-site-content"${2}>${"t2"}</a><a class="skip-to-content-link${0}" href="#layout-site-footer"${2}>${"t4"}</a></div>`,d={classMap:{header:!0},attrs:{name:"header","data-layout-site-region":"header","data-f6-region":""},key:2},u={classMap:{announcement:!0},key:3},m={attrs:{name:"announcement"},key:4},p=[],f={attrs:{name:"header"},key:5},y={classMap:{content:!0},attrs:{id:"layout-site-content",name:"content","data-layout-site-region":"content",role:"main","data-f6-region":""},key:6},h={key:7},k={attrs:{id:"layout-site-footer",name:"footer","data-layout-site-region":"footer","data-f6-region":""},key:8},g={attrs:{name:"footer"},key:9};function v(e,t,o,a){const{d:n,sp:r,st:s,s:i,h:l}=e;return[s(c,1,[r(2,null,n(t.Labels.skipToMain)),r(4,null,n(t.Labels.skipToFooter))]),l("div",d,[l("div",u,[i("announcement",m,p,o)]),i("header",f,p,o)]),l("main",y,[i("",h,p,o)]),l("div",k,[i("footer",g,p,o)])]}var b=t.registerTemplate(v);v.slots=["","announcement","footer","header"],v.renderMode="light",v.stylesheets=[],v.stylesheetToken="lwc-4g1q55crn48",v.legacyStylesheetToken="commerce-layoutSite_layoutSite",l&&v.stylesheets.push.apply(v.stylesheets,l),t.freezeTemplate(v);const x={skipToMain:r.default,skipToFooter:s.default};class T extends t.LightningElement{constructor(...e){super(...e),this.Labels=x}}T.renderMode="light",t.registerDecorators(T,{fields:["Labels"]});const $=t.registerComponent(T,{tmpl:b,sel:"commerce-layout-site",apiVersion:66,enableSyntheticElementInternals:!0});e.default=$,Object.defineProperty(e,"__esModule",{value:!0})});
26})();(function() { LWR.define("lightning/shadowBaseClassPrivate",["exports","lwc"],function(e,t){const s=[];function n(e,t,n,a){return s}var a=t.registerTemplate(n);n.stylesheets=[],n.stylesheetToken="lwc-758d5qnnql0",n.legacyStylesheetToken="lightning-shadowBaseClassPrivate_shadowBaseClassPrivate",t.freezeTemplate(n);class l extends t.LightningElement{connectedCallback(){this.template.synthetic||this.setAttribute("data-render-mode","shadow")}}const i=t.registerComponent(l,{tmpl:a,sel:"lightning-shadow-base-class-private",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=i,Object.defineProperty(e,"__esModule",{value:!0})});
27})();(function() { LWR.define("lwr/environment",["exports"],function(e){const a=globalThis?.LWR?.env||{},s=a&&("true"===a.SSR||!0===a.SSR),t=a&&a.basePath,l=a&&a.locale,n=a&&a.assetBasePath,o=a&&a.uiBasePath;e.assetBasePath=n,e.basePath=t,e.isServer=s,e.locale=l,e.uiBasePath=o,Object.defineProperty(e,"__esModule",{value:!0})});
28})();(function() { LWR.define("lightning/utils",["exports","lwr/environment"],function(e,t){function n(e,t){if("string"==typeof t){const n=t.trim().split(/\s+/);for(let t=0,{length:r}=n;t<r;t+=1)e[n[t]]=!0;return e}return Object.assign(e,t)}const r=Object.defineProperties(Object.create(null),{add:{value(e){return n(this,e)}},invert:{value(){const e=Object.keys(this);for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t];this[n]=!this[n]}return this}},toString:{value(){let e="";const t=Object.keys(this);for(let n=0,{length:r}=t;n<r;n+=1){const r=t[n];this[r]&&(e+=(e.length?" ":"")+r)}return e}}});const A=/input|select|textarea|button|object/;function N(e){const t=e.tagName.toLowerCase();return!!("a"===t&&e.href||!e.disabled&&A.test(t))&&function(e){if("hidden"===window.getComputedStyle(e).visibility)return!1;const{width:t,height:n}=e.getBoundingClientRect();return t>0||n>0}(e)}function s(e){return"enable"===e.dataset.navigation||e.tabIndex>=0&&N(e)}const o=/^(\/+|\.+|ftp|http(s?):\/\/)/i;function S(e){return o.test(e)}function M(e){const n=t.isServer?"https:":window.location.protocol;return S(e)?e:`${n}//${e}`}
28const i="((?:(?:https?|ftp):\\/\\/(?:[\\w\\-\\|=%~#\\/+*@\\.,;:\\?!']|&){0,2047}(?:[\\(\\)\\.\\w=\\/+#-]*)[^\\s()\\.<>,;\\[\\]`'\"])|(?:\\b(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AC|AD|AE|AERO|AF|AG|AI|AL|AM|AN|AO|AQ|AR|ARPA|AS|ASIA|AT|AU|AW|AX|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BIZ|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CAT|CC|CD|CF|CG|CH|CI|CK|CL|CM|CN|CO|COM|COOP|CR|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EDU|EE|EG|ER|ES|ET|EU|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GG|GH|GI|GL|GM|GN|GOV|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IM|IN|INFO|INT|IO|IQ|IR|IS|IT|JE|JM|JO|JOBS|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|ME|MG|MH|MIL|MK|ML|MM|MN|MO|MOBI|MP|MQ|MR|MS|MT|MU|MUSEUM|MV|MW|MX|MY|MZ|NA|NAME|NC|NE|NET|NF|NG|NI|NL|NO|NP|NR|NU|NZ|OM|ORG|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PRO|PS|PT|PW|PY|QA|RE|RO|RS|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TEL|TF|TG|TH|TJ|TK|TL|TM|TN|TO|TP|TR|TRAVEL|TT|TV|TW|TZ|UA|UG|UK|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|XN--0ZWM56D|XN--11B5BS3A9AJ6G|XN--80AKHBYKNJ4F|XN--9T4B11YI5A|XN--DEBA0AD|XN--FIQS8S|XN--FIQZ9S|XN--G6W251D|XN--HGBK6AJ7F53BBA|XN--HLCJ6AYA9ESC7A|XN--J6W193G|XN--JXALPDLP|XN--KGBECHTV|XN--KPRW13D|XN--KPRY57D|XN--MGBAAM7A8H|XN--MGBERP4A5D4AR|XN--P1AI|XN--WGBH1C|XN--ZCKZAH|YE|YT|ZA|ZM|ZW)(?!@(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AC|AD|AE|AERO|AF|AG|AI|AL|AM|AN|AO|AQ|AR|ARPA|AS|ASIA|AT|AU|AW|AX|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BIZ|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CAT|CC|CD|CF|CG|CH|CI|CK|CL|CM|CN|CO|COM|COOP|CR|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EDU|EE|EG|ER|ES|ET|EU|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GG|GH|GI|GL|GM|GN|GOV|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IM|IN|INFO|INT|IO|IQ|IR|IS|IT|JE|JM|JO|JOBS|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|ME|MG|MH|MIL|MK|ML|MM|MN|MO|MOBI|MP|MQ|MR|MS|MT|MU|MUSEUM|MV|MW|MX|MY|MZ|NA|NAME|NC|NE|NET|NF|NG|NI|NL|NO|NP|NR|NU|NZ|OM|ORG|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PRO|PS|PT|PW|PY|QA|RE|RO|RS|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TEL|TF|TG|TH|TJ|TK|TL|TM|TN|TO|TP|TR|TRAVEL|TT|TV|TW|TZ|UA|UG|UK|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|XN--0ZWM56D|XN--11B5BS3A9AJ6G|XN--80AKHBYKNJ4F|XN--9T4B11YI5A|XN--DEBA0AD|XN--FIQS8S|XN--FIQZ9S|XN--G6W251D|XN--HGBK6AJ7F53BBA|XN--HLCJ6AYA9ESC7A|XN--J6W193G|XN--JXALPDLP|XN--KGBECHTV|XN--KPRW13D|XN--KPRY57D|XN--MGBAAM7A8H|XN--MGBERP4A5D4AR|XN--P1AI|XN--WGBH1C|XN--ZCKZAH|YE|YT|ZA|ZM|ZW))(?:/[\\w\\-=?/.&;:%~,+@#*]{0,2048}(?:[\\w=/+#-]|\\([^\\s()]*\\)))?(?:$|(?=\\.$)|(?=\\.\\s)|(?=[^\\w\\.]))))",a="([\\w-\\.\\+_']{1,64}@(?:[\\w-]){1,255}(?:\\.[\\w-]{1,255}){1,10})",G=function(e){return M(e)},c=function(e){return`mailto:${e}`};e.classSet=function(e){return n(Object.create(r),e)},e.createEmailHref=c,e.createHttpHref=G,e.emailRegexString=a,e.formatLabel=function(e,...t){let n=[];return n=Array.isArray(t[0])?t[0]:t,e.replace(/{(\d+)}/g,(e,t)=>{const r=n[t];return null!=r?r:""})},e.formatUrl=M,e.isValidUrl=S,e.linkTextNodes=function(e){const t=new RegExp(`^${i}/?$`,"i"),n=new RegExp(`^${a}$`,"i"),r=[],A=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;A.nextNode();){const e=A.currentNode,N=A.currentNode.parentNode;if("A"!==N.nodeName){const s=A.currentNode.nodeValue.split(/(&quot;|;|["']?\s+["']?|["]|[.,!?]+(?=\s|$))/g),o=document.createDocumentFragment();let S=!1;s.forEach((e,r)=>{if(r%2==0)if(e.match(t)){const t=document.createElement("a");t.href=G(e),t.target="_blank",t.rel="noopener",t.appendChild(document.createTextNode(e)),o.appendChild(t),S=!0}else if(e.match(n)){const t=document.createElement("a");t.href=c(e),t.appendChild(document.createTextNode(e)),o.appendChild(t),S=!0}else e&&o.appendChild(document.createTextNode(e));else e&&o.appendChild(document.createTextNode(e))}),S&&r.push({parent:N,fragment:o,currentNode:e})}}r.forEach(({parent:e,fragment:t,currentNode:n})=>{e.replaceChild(t,n)})},e.newLineRegexString="(\r\n|\r|\n)",e.queryFocusable=function(e){const t=e.querySelectorAll("*"),n=[];for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];s(r)&&n.push(r)}return n},e.tagRegexString="(<a[\\s]+[^>]+[^/]>[\\s\\S]*?</a>|<a[\\s]+[^>]+/>|<i?frame[\\s]+[^>]+[^/]>[\\s\\S]*?</i?frame>|<i?frame[\\s]+[^>]+/>|<area[\\s]+[^>]+[^/]>[\\s\\S]*?</area>|<area[\\s]+[^>]+/>|<link[\\s]+[^>]+[^/]>[\\s\\S]*?</link>|<link[\\s]+[^>]+/>|<img[\\s]+[^>]+[^/]>[\\s\\S]*?</img>|<img[\\s]+[^>]+>|<form[\\s]+[^>]+[^/]>[\\s\\S]*?</form>|<form[\\s]+[^>]+/>|<body[\\s]+[^>]+[^/]>[\\s\\S]*?</body>|<body[\\s]+[^>]+/>|<head[\\s]+[^>]+[^/]>[\\s\\S]*?</head>|<head[\\s]+[^>]+/>|<input[\\s]+[^>]+[^/]>[\\s\\S]*?</input>|<input[\\s]+[^>]+/>|<button[\\s]+[^>]+[^/]>[\\s\\S]*?</button>|<button[\\s]+[^>]+/>|<blockquote[\\s]+[^>]+[^/]>[\\s\\S]*?</blockquote>|<blockquote[\\s]+[^>]+/>|<q[\\s]+[^>]+[^/]>[\\s\\S]*?</q>|<q[\\s]+[^>]+/>|<del[\\s]+[^>]+[^/]>[\\s\\S]*?</del>|<del[\\s]+[^>]+/>|<ins[\\s]+[^>]+[^/]>[\\s\\S]*?</ins>|<ins[\\s]+[^>]+/>
28)",e.urlRegexString=i,Object.defineProperty(e,"__esModule",{value:!0})});
29})();LWR.define('@salesforce/gate/colorIconsMenuItem.bc.ltng', [], () => {const gateObj = {
30    isOpen: (fallbackObj) => true,
31    hasError: () => false,
32};
33return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableConsolidateTypeAttributes', [], () => {const gateObj = {
34    isOpen: (fallbackObj) => true,
35    hasError: () => false,
36};
37return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableCalendarMinMaxNavigation', [], () => {const gateObj = {
38    isOpen: (fallbackObj) => true,
39    hasError: () => false,
40};
41return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDatatableHoverStyling', [], () => {const gateObj = {
42    isOpen: (fallbackObj) => true,
43    hasError: () => false,
44};
45return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDatatablePositionOverride', [], () => {const gateObj = {
46    isOpen: (fallbackObj) => true,
47    hasError: () => false,
48};
49return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDatatableVoiceoverFix', [], () => {const gateObj = {
50    isOpen: (fallbackObj) => true,
51    hasError: () => false,
52};
53return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDateInvalidYearHandling', [], () => {const gateObj = {
54    isOpen: (fallbackObj) => true,
55    hasError: () => false,
56};
57return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDisabledRowsAttribute', [], () => {const gateObj = {
58    isOpen: (fallbackObj) => true,
59    hasError: () => false,
60};
61return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDropdownCloseDelay', [], () => {const gateObj = {
62    isOpen: (fallbackObj) => true,
63    hasError: () => false,
64};
65return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableDualListboxSingleCharTypeahead', [], () => {const gateObj = {
66    isOpen: (fallbackObj) => true,
67    hasError: () => false,
68};
69return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableAssertContext260Round2', [], () => {const gateObj = {
70    isOpen: (fallbackObj) => true,
71    hasError: () => false,
72};
73return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableFormattedRichTextParts', [], () => {const gateObj = {
74    isOpen: (fallbackObj) => true,
75    hasError: () => false,
76};
77return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableLookupFieldObjApiName', [], () => {const gateObj = {
78    isOpen: (fallbackObj) => true,
79    hasError: () => false,
80};
81return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enablePositionLibraryFlipInOverlay', [], () => {const gateObj = {
82    isOpen: (fallbackObj) => true,
83    hasError: () => false,
84};
85return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableTextareaReadOnlyStatic', [], () => {const gateObj = {
86    isOpen: (fallbackObj) => true,
87    hasError: () => false,
88};
89return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableTimeIntervalApi', [], () => {const gateObj = {
90    isOpen: (fallbackObj) => true,
91    hasError: () => false,
92};
93return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableInputModeOverride', [], () => {const gateObj = {
94    isOpen: (fallbackObj) => true,
95    hasError: () => false,
96};
97return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableInputSearchCommitEvent', [], () => {const gateObj = {
98    isOpen: (fallbackObj) => true,
99    hasError: () => false,
100};
101return Object.freeze(gateObj);});LWR.define('@salesforce/gate/primitiveThemeProviderDisabled.bc.ltng', [], () => {const gateObj = {
102    isOpen: (fallbackObj) => true,
103    hasError: () => false,
104};
105return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableOutputFieldReadOnlyClass', [], () => {const gateObj = {
106    isOpen: (fallbackObj) => true,
107    hasError: () => false,
108};
109return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.258.enableNoDescribedbyTooltip', [], () => {const gateObj = {
110    isOpen: (fallbackObj) => true,
111    hasError: () => false,
112};
113return Object.freeze(gateObj);});
113LWR.define('@salesforce/gate/bc.258.enableMaxEditLimit', [], () => {const gateObj = {
114    isOpen: (fallbackObj) => true,
115    hasError: () => false,
116};
117return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableA11yMultiColSortModal', [], () => {const gateObj = {
118    isOpen: (fallbackObj) => true,
119    hasError: () => false,
120};
121return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableCalendarGridCellAriaFix', [], () => {const gateObj = {
122    isOpen: (fallbackObj) => true,
123    hasError: () => false,
124};
125return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableDualListboxA11yReqOptionErrFix', [], () => {const gateObj = {
126    isOpen: (fallbackObj) => true,
127    hasError: () => false,
128};
129return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enablePositionLibFlipCalcWithViewportRight', [], () => {const gateObj = {
130    isOpen: (fallbackObj) => true,
131    hasError: () => false,
132};
133return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableDTHeightCalcForScrollbar', [], () => {const gateObj = {
134    isOpen: (fallbackObj) => true,
135    hasError: () => false,
136};
137return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableTooltipHoverDismiss', [], () => {const gateObj = {
138    isOpen: (fallbackObj) => true,
139    hasError: () => false,
140};
141return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableTreeGridSecondArrKeyUpdate', [], () => {const gateObj = {
142    isOpen: (fallbackObj) => true,
143    hasError: () => false,
144};
145return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableRelativeDateTimeLocale', [], () => {const gateObj = {
146    isOpen: (fallbackObj) => true,
147    hasError: () => false,
148};
149return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableRadioGroupStaticErrDom', [], () => {const gateObj = {
150    isOpen: (fallbackObj) => true,
151    hasError: () => false,
152};
153return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableSelectStaticErrDom', [], () => {const gateObj = {
154    isOpen: (fallbackObj) => true,
155    hasError: () => false,
156};
157return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableCheckboxGroupStaticErrDom', [], () => {const gateObj = {
158    isOpen: (fallbackObj) => true,
159    hasError: () => false,
160};
161return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableFontSizeThirteen', [], () => {const gateObj = {
162    isOpen: (fallbackObj) => true,
163    hasError: () => false,
164};
165return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableBaseComboboxNullCheck', [], () => {const gateObj = {
166    isOpen: (fallbackObj) => true,
167    hasError: () => false,
168};
169return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableDatatableUseClientWidth', [], () => {const gateObj = {
170    isOpen: (fallbackObj) => true,
171    hasError: () => false,
172};
173return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableGeolocationTimeout', [], () => {const gateObj = {
174    isOpen: (fallbackObj) => true,
175    hasError: () => false,
176};
177return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableHelptextA11yInModal', [], () => {const gateObj = {
178    isOpen: (fallbackObj) => true,
179    hasError: () => false,
180};
181return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableComboboxElementInternals', [], () => {const gateObj = {
182    isOpen: (fallbackObj) => true,
183    hasError: () => false,
184};
185return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableAssertContext260', [], () => {const gateObj = {
186    isOpen: (fallbackObj) => true,
187    hasError: () => false,
188};
189return Object.freeze(gateObj);});LWR.define('@salesforce/gate/mpe.260.enableAssertContextForBarcodeScanner', [], () => {const gateObj = {
190    isOpen: (fallbackObj) => true,
191    hasError: () => false,
192};
193return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableDualListboxButtonDisablingFix', [], () => {const gateObj = {
194    isOpen: (fallbackObj) => true,
195    hasError: () => false,
196};
197return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableLargeNumberFormatting', [], (
197) => {const gateObj = {
198    isOpen: (fallbackObj) => true,
199    hasError: () => false,
200};
201return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enablePositionLibraryTransformScaleFix', [], () => {const gateObj = {
202    isOpen: (fallbackObj) => true,
203    hasError: () => false,
204};
205return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableTooltipFlashingFix', [], () => {const gateObj = {
206    isOpen: (fallbackObj) => true,
207    hasError: () => false,
208};
209return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableMobileGroupedCbAriaUpdates', [], () => {const gateObj = {
210    isOpen: (fallbackObj) => true,
211    hasError: () => false,
212};
213return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableTreeGackFix', [], () => {const gateObj = {
214    isOpen: (fallbackObj) => true,
215    hasError: () => false,
216};
217return Object.freeze(gateObj);});LWR.define('@salesforce/gate/com.salesforce.sldsv2.enableWcagRichTextLight', [], () => {const gateObj = {
218    isOpen: (fallbackObj) => true,
219    hasError: () => false,
220};
221return Object.freeze(gateObj);});LWR.define('@salesforce/gate/com.salesforce.sldsv2.enableWcagRichTextDark', [], () => {const gateObj = {
222    isOpen: (fallbackObj) => true,
223    hasError: () => false,
224};
225return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableCarouselRTLFix', [], () => {const gateObj = {
226    isOpen: (fallbackObj) => true,
227    hasError: () => false,
228};
229return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.colorPickerButtonNotAnchorTag', [], () => {const gateObj = {
230    isOpen: (fallbackObj) => true,
231    hasError: () => false,
232};
233return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableDTAutoInlineEditFix', [], () => {const gateObj = {
234    isOpen: (fallbackObj) => true,
235    hasError: () => false,
236};
237return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableSliderMax0Value', [], () => {const gateObj = {
238    isOpen: (fallbackObj) => true,
239    hasError: () => false,
240};
241return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableInputNamePicklistRO', [], () => {const gateObj = {
242    isOpen: (fallbackObj) => true,
243    hasError: () => false,
244};
245return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableDisabledOptDualListbox', [], () => {const gateObj = {
246    isOpen: (fallbackObj) => true,
247    hasError: () => false,
248};
249return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableReadOnlyTimepickerFix', [], () => {const gateObj = {
250    isOpen: (fallbackObj) => true,
251    hasError: () => false,
252};
253return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableColorPickerEscapeStopPropagation', [], () => {const gateObj = {
254    isOpen: (fallbackObj) => false,
255    hasError: () => false,
256};
257return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableParseErrorSafeAccess', [], () => {const gateObj = {
258    isOpen: (fallbackObj) => true,
259    hasError: () => false,
260};
261return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableUpdatedCheckboxButtonBlueprint', [], () => {const gateObj = {
262    isOpen: (fallbackObj) => true,
263    hasError: () => false,
264};
265return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableTreeGridRTLFix', [], () => {const gateObj = {
266    isOpen: (fallbackObj) => true,
267    hasError: () => false,
268};
269return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableDtInlineEditBlurRace', [], () => {const gateObj = {
270    isOpen: (fallbackObj) => true,
271    hasError: () => false,
272};
273return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableTabsetRTLFix', [], () => {const gateObj = {
274    isOpen: (fallbackObj) => true,
275    hasError: () => false,
276};
277return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableDatepickerAriaDescribedByDedup', [], () => {const gateObj = {
278    isOpen: (fallbackObj) => true,
279    hasError: () => false,
280};
281return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableMessageToLabelLink', [], () => {const gateObj = {
282    isOpen: (fallbackObj) => true,
283    hasError: () => false,
284};
285return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableMessageTemplateData', [], () => {const gateObj = {
286    isOpen: (fallbackObj) => true,
287    hasError: () => false,
288};
289return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableComboboxPlaceholderA11y', [], () => {const gateObj = {
290    isOpen: (fallbackObj) => true,
291    hasError: () => false,
292};
293return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableformattedtextlinkrouting', [], (
293) => {const gateObj = {
294    isOpen: (fallbackObj) => false,
295    hasError: () => false,
296};
297return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableAriaInvalidGroupCombobox', [], () => {const gateObj = {
298    isOpen: (fallbackObj) => true,
299    hasError: () => false,
300};
301return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableaftersanitizationhook', [], () => {const gateObj = {
302    isOpen: (fallbackObj) => true,
303    hasError: () => false,
304};
305return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableFormattedRichTextNoNestedShadow', [], () => {const gateObj = {
306    isOpen: (fallbackObj) => false,
307    hasError: () => false,
308};
309return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableIndeterminateForInput', [], () => {const gateObj = {
310    isOpen: (fallbackObj) => true,
311    hasError: () => false,
312};
313return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enablemcsfocusorderonadddelete', [], () => {const gateObj = {
314    isOpen: (fallbackObj) => true,
315    hasError: () => false,
316};
317return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableComboboxButtonVariant', [], () => {const gateObj = {
318    isOpen: (fallbackObj) => true,
319    hasError: () => false,
320};
321return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enablecomboboxreflowfix', [], () => {const gateObj = {
322    isOpen: (fallbackObj) => false,
323    hasError: () => false,
324};
325return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enableDateRolloverFix', [], () => {const gateObj = {
326    isOpen: (fallbackObj) => false,
327    hasError: () => false,
328};
329return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.262.enablePrivateMethodsComponents262', [], () => {const gateObj = {
330    isOpen: (fallbackObj) => true,
331    hasError: () => false,
332};
333return Object.freeze(gateObj);});LWR.define('@salesforce/gate/bc.260.enableManualImageUpload', [], () => {const gateObj = {
334    isOpen: (fallbackObj) => true,
335    hasError: () => false,
336};
337return Object.freeze(gateObj);});(function() { LWR.define("lightning/features",["exports","lwc","@salesforce/gate/colorIconsMenuItem.bc.ltng","@salesforce/gate/bc.258.enableConsolidateTypeAttributes","@salesforce/gate/bc.258.enableCalendarMinMaxNavigation","@salesforce/gate/bc.258.enableDatatableHoverStyling","@salesforce/gate/bc.258.enableDatatablePositionOverride","@salesforce/gate/bc.258.enableDatatableVoiceoverFix","@salesforce/gate/bc.258.enableDateInvalidYearHandling","@salesforce/gate/bc.258.enableDisabledRowsAttribute","@salesforce/gate/bc.258.enableDropdownCloseDelay","@salesforce/gate/bc.258.enableDualListboxSingleCharTypeahead","@salesforce/gate/bc.260.enableAssertContext260Round2","@salesforce/gate/bc.260.enableFormattedRichTextParts","@salesforce/gate/bc.258.enableLookupFieldObjApiName","@salesforce/gate/bc.258.enablePositionLibraryFlipInOverlay","@salesforce/gate/bc.258.enableTextareaReadOnlyStatic","@salesforce/gate/bc.258.enableTimeIntervalApi","@salesforce/gate/bc.258.enableInputModeOverride","@salesforce/gate/bc.258.enableInputSearchCommitEvent","@salesforce/gate/primitiveThemeProviderDisabled.bc.ltng","@salesforce/gate/bc.258.enableOutputFieldReadOnlyClass","@salesforce/gate/bc.258.enableNoDescribedbyTooltip","@salesforce/gate/bc.258.enableMaxEditLimit","@salesforce/gate/bc.260.enableA11yMultiColSortModal","@salesforce/gate/bc.260.enableCalendarGridCellAriaFix","@salesforce/gate/bc.260.enableDualListboxA11yReqOptionErrFix","@salesforce/gate/bc.260.enablePositionLibFlipCalcWithViewportRight","@salesforce/gate/bc.260.enableDTHeightCalcForScrollbar","@salesforce/gate/bc.260.enableTooltipHoverDismiss","@salesforce/gate/bc.260.enableTreeGridSecondArrKeyUpdate","@salesforce/gate/bc.260.enableRelativeDateTimeLocale","@salesforce/gate/bc.260.enableRadioGroupStaticErrDom","@salesforce/gate/bc.260.enableSelectStaticErrDom","@salesforce/gate/bc.260.enableCheckboxGroupStaticErrDom","@salesforce/gate/bc.260.enableFontSizeThirteen","@salesforce/gate/bc.260.enableBaseComboboxNullCheck","@salesforce/gate/bc.260.enableDatatableUseClientWidth","@
337salesforce/gate/bc.260.enableGeolocationTimeout","@salesforce/gate/bc.262.enableHelptextA11yInModal","@salesforce/gate/bc.260.enableComboboxElementInternals","@salesforce/gate/bc.260.enableAssertContext260","@salesforce/gate/mpe.260.enableAssertContextForBarcodeScanner","@salesforce/gate/bc.262.enableDualListboxButtonDisablingFix","@salesforce/gate/bc.262.enableLargeNumberFormatting","@salesforce/gate/bc.260.enablePositionLibraryTransformScaleFix","@salesforce/gate/bc.260.enableTooltipFlashingFix","@salesforce/gate/bc.262.enableMobileGroupedCbAriaUpdates","@salesforce/gate/bc.260.enableTreeGackFix","@salesforce/gate/com.salesforce.sldsv2.enableWcagRichTextLight","@salesforce/gate/com.salesforce.sldsv2.enableWcagRichTextDark","@salesforce/gate/bc.262.enableCarouselRTLFix","@salesforce/gate/bc.262.colorPickerButtonNotAnchorTag","@salesforce/gate/bc.262.enableDTAutoInlineEditFix","@salesforce/gate/bc.262.enableSliderMax0Value","@salesforce/gate/bc.262.enableInputNamePicklistRO","@salesforce/gate/bc.262.enableDisabledOptDualListbox","@salesforce/gate/bc.262.enableReadOnlyTimepickerFix","@salesforce/gate/bc.262.enableColorPickerEscapeStopPropagation","@salesforce/gate/bc.262.enableParseErrorSafeAccess","@salesforce/gate/bc.262.enableUpdatedCheckboxButtonBlueprint","@salesforce/gate/bc.262.enableTreeGridRTLFix","@salesforce/gate/bc.262.enableDtInlineEditBlurRace","@salesforce/gate/bc.262.enableTabsetRTLFix","@salesforce/gate/bc.262.enableDatepickerAriaDescribedByDedup","@salesforce/gate/bc.262.enableMessageToLabelLink","@salesforce/gate/bc.262.enableMessageTemplateData","@salesforce/gate/bc.262.enableComboboxPlaceholderA11y","@salesforce/gate/bc.260.enableformattedtextlinkrouting","@salesforce/gate/bc.262.enableAriaInvalidGroupCombobox","@salesforce/gate/bc.262.enableaftersanitizationhook","@salesforce/gate/bc.262.enableFormattedRichTextNoNestedShadow","@salesforce/gate/bc.262.enableIndeterminateForInput","@salesforce/gate/bc.262.enablemcsfocusorderonadddelete","@salesforce/gate/bc.262.enableComboboxButtonVariant","@salesforce/gate/bc.262.enablecomboboxreflowfix","@salesforce/gate/bc.262.enableDateRolloverFix","@salesforce/gate/bc.262.enablePrivateMethodsComponents262","@salesforce/gate/bc.260.enableManualImageUpload"],function(e,a,l,t,o,n,r,b,s,i,c,d,f,u,g,p,x,m,T,D,h,C,F,y,v,R,A,S,L,O,E,I,P,M,k,w,N,B,G,_,j,U,H,V,W,z,q,K,Y,$,J,Q,X,Z,ee,ae,le,te,oe,ne,re,be,se,ie,ce,de,fe,ue,ge,pe,xe,me,Te,De,he,Ce,Fe,ye,ve){function Re(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Ae=Re(l),Se=Re(t),Le=Re(o),Oe=Re(n),Ee=Re(r),Ie=Re(b),Pe=Re(s),Me=Re(i),ke=Re(c),we=Re(d),Ne=Re(f),Be=Re(u),Ge=Re(g),_e=Re(p),je=Re(x),Ue=Re(m),He=Re(T),
337Ve=Re(D),We=Re(h),ze=Re(C),qe=Re(F),Ke=Re(y),Ye=Re(v),$e=Re(R),Je=Re(A),Qe=Re(S),Xe=Re(L),Ze=Re(O),ea=Re(E),aa=Re(I),la=Re(P),ta=Re(M),oa=Re(k),na=Re(w),ra=Re(N),ba=Re(B),sa=Re(G),ia=Re(_),ca=Re(j),da=Re(U),fa=Re(H),ua=Re(V),ga=Re(W),pa=Re(z),xa=Re(q),ma=Re(K),Ta=Re(Y),Da=Re($),ha=Re(J),Ca=Re(Q),Fa=Re(X),ya=Re(Z),va=Re(ee),Ra=Re(ae),Aa=Re(le),Sa=Re(te),La=Re(oe),Oa=Re(ne),Ea=Re(re),Ia=Re(be),Pa=Re(se),Ma=Re(ie),ka=Re(ce),wa=Re(de),Na=Re(fe),Ba=Re(ue),Ga=Re(ge),_a=Re(pe),ja=Re(xe),Ua=Re(me),Ha=Re(Te),Va=Re(De),Wa=Re(he),za=Re(Ce),qa=Re(Fe),Ka=Re(ye),Ya=Re(ve),$a=Object.freeze({__proto__:null,ENABLE_COLOR_ICONS_MENU_ITEM:Ae.default,colorPickerButtonNotAnchorTag:Fa.default,enableA11yMultiColSortModal:Ye.default,enableAriaInvalidGroupCombobox:_a.default,enableAssertContext260:da.default,enableAssertContext260Round2:Ne.default,enableAssertContextForBarcodeScanner:fa.default,enableBaseComboboxNullCheck:ra.default,enableCalendarGridCellAriaFix:$e.default,enableCalendarMinMaxNavigation:Le.default,enableCarouselRTLFix:Ca.default,enableCheckboxGroupStaticErrDom:oa.default,enableColorPickerEscapeStopPropagation:La.default,enableComboboxButtonVariant:Wa.default,enableComboboxElementInternals:ca.default,enableComboboxPlaceholderA11y:Ba.default,enableComboboxReflowFix:za.default,enableConsolidateTypeAttributes:Se.default,enableDTAutoInlineEditFix:ya.default,enableDTHeightCalcForScrollbar:Xe.default,enableDatatableHoverStyling:Oe.default,enableDatatablePositionOverride:Ee.default,enableDatatableUseClientWidth:ba.default,enableDatatableVoiceoverFix:Ie.default,enableDateInvalidYearHandling:Pe.default,enableDateRolloverFix:qa.default,enableDatepickerAriaDescribedByDedup:ka.default,enableDisabledOptDualListbox:Aa.default,enableDisabledRowsAttribute:Me.default,enableDropdownCloseDelay:ke.default,enableDtInlineEditBlurRace:Pa.default,enableDualListboxA11yReqOptionErrFix:Je.default,enableDualListboxButtonDisablingFix:ua.default,enableDualListboxSingleCharTypeahead:we.default,enableFontSizeThirteen:na.default,enableFormattedRichTextNoNestedShadow:Ua.default,enableFormattedRichTextParts:Be.default,enableGeolocationTimeout:sa.default,enableHelptextA11yInModal:ia.default,enableIndeterminateForInput:Ha.default,enableInputModeOverride:He.default,enableInputNamePicklistRO:Ra.default,enableInputSearchCommitEvent:Ve.default,enableLargeNumberFormatting:ga.default,enableLookupFieldObjApiName:Ge.default,enableManualImageUpload:Ya.default,enableMaxEditLimit:Ke.default,enableMessageTemplateData:Na.default,enableMessageToLabelLink:wa.default,enableMobileGroupedCbAriaUpdates:ma.default,enableNoDescribedbyTooltip:qe.default,enableOutputFieldReadOnlyClass:ze.default,enableParseErrorSafeAccess:Oa.default,enablePositionLibFlipCalcWithViewportRight:Qe.default,enablePositionLibraryFlipInOverlay:_e.default,enablePositionLibraryTransformScaleFix:pa.default,enablePrivateMethodsComponents262:Ka.default,enableRadioGroupStaticErrDom:la.default,enableReadOnlyTimepickerFix:Sa.default,enableRelativeDateTimeLocale:aa.default,enableSelectStaticErrDom:ta.default,enableSliderMax0Value:va.default,enableTabsetRTLFix:Ma.default,enableTextareaReadOnlyStatic:je.default,enableTimeIntervalApi:Ue.default,enableTooltipFlashingFix:xa.default,enableTooltipHoverDismiss:Ze.default,enableTreeGackFix:Ta.default,enableTreeGridRTLFix:Ia.default,enableTreeGridSecondArrKeyUpdate:ea.default,enableUpdatedCheckboxButtonBlueprint:Ea.default,enableWcagRichTextDark:ha.default,enableWcagRichTextLight:Da.default,enableaftersanitizationhook:ja.default,enableformattedtextlinkrouting:Ga.default,enablemcsfocusorderonadddelete:Va.default,primitiveThemeProviderDisabled:We.default});const Ja=Object.create(null);for(const[e,a]of Object.entries($a))"__lwc_hmr_context"!==e&&(Ja[e]=a.isOpen({fallback:!1}));const Qa=a.registerComponent(Ja,{tmpl:void 0,sel:"lightning-features",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0}),Xa=Object.assign(Object.create(null),Qa),Za="This object and its prototype are immutable. Object values can only be updated with `setFeatureForTest()`",el=new Proxy(Xa,{set(){throw new TypeError(Za)},defineProperty(){throw new TypeError(Za)},deleteProperty(){throw new TypeError(Za)},setPrototypeOf(){throw new TypeError(Za)}});e.features=el,e.setFeatureForTest=function(e,a){if(void 0===Xa[e])throw new TypeError(`Unrecognized feature "${e}". Expected one of: ${Object.keys(Xa).join(", ")}`);Xa[e]=a}
337,Object.defineProperty(e,"__esModule",{value:!0})});
338})();(function() { LWR.define("lightning/utilsInternal",["exports"],function(t){const e=new WeakMap;function n(){return{setContext:(t,n={})=>{e.set(t,n)},getContext:t=>e.get(t),assertContext:t=>{if(!e.has(t))throw new TypeError("Invalid `this`. This function can only be invoked as a method of the component that defined it.")}}}const o=n();t.createPrivateContext=n,t.privateContext=o,Object.defineProperty(t,"__esModule",{value:!0})});
339})();(function() { LWR.define("lightning/positionLibrary",["exports","lightning/utilsPrivate","@salesforce/i18n/dir","lightning/features","lwr/environment","lightning/utilsInternal"],function(t,e,i,o,n,s){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var h=r(i);const l="data-position-id";const a=new class{get window(){return this._window||(this._window=window,this.window.getComputedStyle||(this.window.getComputedStyle=t=>t.style)),this._window}mockWindow(t){this._window=t}get documentElement(){return e.assert(this.window.document,"Missing window.document"),this.window.document.documentElement}get MutationObserver(){return this.window.MutationObserver}isWindow(t){return t&&("[object Window]"===t.toString()||t instanceof Window)}};function d(t){return t&&11===t.nodeType}function c(t,e,i){if(!t||t===e||t===document.body)return null;try{const o=a.window.getComputedStyle(t);return o?i(o)?t:c(d(t.parentNode)?t.parentNode.host:t.parentNode,e,i):null}catch(t){return null}}function u(t){return t===a.window||(!(d(t.parentNode)||!t.parentNode||!t.parentNode.tagName||"BODY"!==t.parentNode.tagName.toUpperCase())||(d(t.parentNode)&&t.parentNode.host?u(t.parentNode.host):!!t.parentNode&&u(t.parentNode)))}function p(t){return t.nodeType&&(1===t.nodeType||11===t.nodeType)}let f=1e6;function g(t){if(!t)return null;const e="lgcp-"+f++;return t.setAttribute(l,e),t=document.querySelector(`[${l}="${e}"]`)||t}function m(t,e,i,o,n){const s=e.isInside||!n&&(r=o,l=a.window,c(r,l,t=>"hidden"===t["overflow-x"]||"hidden"===t["overflow-y"]));var r,l;return t.style.position=s?"fixed":"absolute",t.style.zIndex=i||0,t.style.left="rtl"===h.default?"99999px":"-9999px",t.style.right="auto",t.style.top="0px",{element:t,overlay:e}}function b(t){return t&&function(t){return"px"===t.slice(-2)}(t)?parseFloat(t):0}const w={Center:"center",Middle:"middle",Right:"right",Left:"left",Bottom:"bottom",Top:"top",Default:"default"},y={top:w.Top,bottom:w.Bottom,center:w.Middle},v={left:w.Left,right:w.Right,center:w.Center},_={left:w.Right,right:w.Left,top:w.Bottom,bottom:w.Top,center:w.Center,default:w.Right};function x(t){if(t)return t.getBoundingClientRect();const e={width:a.window.innerWidth||document.body.clientWidth||0,height:a.window.innerHeight||document.body.clientHeight||0,top:0,left:0};return e.bottom=e.height,e.right=e.width,e}function C(t,i){return e.normalizeString(t,{fallbackValue:i||w.Default,validValues:[w.Center,w.Right,w.Left,w.Bottom,w.Top,w.Middle,w.Default]})}function I(t){return t=C(t,w.Left),_[t]}class L{constructor(t,e,i,o){this.pad=t||0,this.boxDirections=e||{left:!0,right:!0},this.transformX=i||function(){},this.transformY=o||function(){}}transform(){}}const M={center:(t,e)=>Math.floor(t+.5*e.width),right:(t,e)=>t+e.width,left:t=>t,bottom:(t,e)=>t+e.height},S={top:class extends L{transform(t,e){return{top:Math.floor(this.transformY(t.top,t,e)+this.pad)}}},bottom:class extends L{transform(t,e){return{top:Math.floor(this.transformY(t.top,t,e)-e.height-this.pad)}}},center:class extends L{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)-.5*e.width)}}},middle:class extends L{transform(t,e){return{top:Math.floor(.5*(2*t.top+t.height-e.height))}}},left:class extends L{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)+this.pad)}}},right:class extends L{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)-e.width-this.pad)}}},below:class extends L{transform(t,e){const i=t.top+t.height+this.pad;return e.top<i?{top:i}:{}}},"bounding box":class extends L{transform(t,e){const i={};return this.boxDirections.top&&e.top<t.top+this.pad&&(i.top=t.top+this.pad),this.boxDirections.left&&e.left<t.left+this.pad&&(i.left
339=t.left+this.pad),this.boxDirections.right&&e.left+e.width>t.left+t.width-this.pad&&(i.left=t.left+t.width-e.width-this.pad),this.boxDirections.bottom&&e.top+e.height>t.top+t.height-this.pad&&(i.top=t.top+t.height-e.height-this.pad),i}},"shrinking box":class extends L{transform(t,e){const i={};return this.boxDirections.top&&e.top<t.top+this.pad&&(i.top=t.top+this.pad,i.height=Math.max(e.height-(i.top-e.top),36)),this.boxDirections.left&&e.left<t.left+this.pad&&(i.left=t.left+this.pad,i.width=Math.max(e.width-(i.left-e.left),36)),this.boxDirections.right&&e.left+e.width>t.left+t.width-this.pad&&(i.right=t.left+t.width-this.pad,i.width=Math.max(i.right-(i.left||e.left),36)),this.boxDirections.bottom&&e.top+e.height>t.top+t.height-this.pad&&(i.bottom=t.top+t.height-this.pad,i.height=Math.max(i.bottom-(i.top||e.top),36)),i}},"inverse bounding box":class extends L{transform(t,e){const i={};return this.boxDirections.left&&t.left-this.pad<e.left&&(i.left=t.left-this.pad),this.boxDirections.right&&e.left+e.width<t.left+t.width+this.pad&&(i.left=t.width+this.pad-e.width+t.left),this.boxDirections.top&&t.top<e.top+this.pad&&(i.top=t.top-this.pad),this.boxDirections.bottom&&e.top+e.height<t.top+t.height+this.pad&&(i.top=t.height+this.pad-e.height+t.top),i}},default:L};function B(t){return M[t]||M.left}class D{type(t){return this._type=t,this}align(t,e){return this._transformX=B(t),this._transformY=B(e),this}pad(t){return this._pad=parseInt(t,10),this}boxDirections(t){return this._boxDirections=t,this}build(){return new(S[this._type]?S[this._type]:S[w.Default])(this._pad||0,this._boxDirections||{},this._transformX||B(w.left),this._transformY||B(w.left))}}class O{constructor(t,e){const{target:i,element:o,pad:n,boxDirections:s}=e,{horizontal:r,vertical:h}=e.targetAlign;this._element=o,this._targetElement=i,this.destroyed=!1,this._transformer=(new D).type(t).align(r,h).pad(n).boxDirections(s).build()}detach(){this._disabled=!0}attach(){this._disabled=!1}computeDisplacement(){return this._disabled||(this._targetElement.refresh(),this._element.refresh(),this._pendingBox=this._transformer.transform(this._targetElement,this._element)),this}computePosition(){const t=this._element;return this._disabled||Object.keys(this._pendingBox).forEach(e=>{t.setDirection(e,this._pendingBox[e])}),this}destroy(){this._element.release(),this._targetElement.release(),this._disabled=!0,this.destroyed=!0}}const{setContext:T,assertContext:k}=s.privateContext;class E{constructor(t,e){if(T(this),this.id=e,this.width=0,this.height=0,this.left=0,this.top=0,this.right=0,this.bottom=0,this._dirty=!1,this._node=null,this._releaseCb=null,!t)throw new Error("Element missing");a.isWindow(t)&&(t=a.window),this._node=t,this.setupObserver(),this.refresh()}setupObserver(){a.MutationObserver&&!this._node.isObserved&&(this._observer=new a.MutationObserver(this.refresh.bind(this)),a.isWindow(this._node)||(this._observer.observe(this._node,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),this._node.isObserved=!0))}setReleaseCallback(t,e){o.features.enableAssertContext260Round2&&k(this);const i=e||this;this._releaseCb=t.bind(i)}checkNodeIsInDom(){return!!u(this._node)}refresh(){const t=a.window;if(!this.isDirty()){if(!this.checkNodeIsInDom())return this.release();let e,i,o,n;if(void 0!==t.pageYOffset?(o=t.pageYOffset,n=t.pageXOffset):(o=t.scrollY,n=t.scrollX),a.isWindow(this._node))e={},this.width=a.documentElement.clientWidth,this.height=a.documentElement.clientHeight,this.left=n,this.top=o,this.right=a.documentElement.clientWidth+n,this.bottom=a.documentElement.clientHeight;else{for(i in this._node.offsetHeight,e=this._node.getBoundingClientRect(),e)this[i]=Math.floor(e[i]);
339this.setAdjustedBoundingRect(this,e),this.top=Math.floor(this.top+o),this.bottom=Math.floor(this.top+e.height),this.left=Math.floor(this.left+n),this.right=Math.floor(this.left+e.width)}this._dirty=!1}return this._dirty}getNode(){return this._node}isDirty(){return this._dirty}getElementZoomRatio(t){const e=this._node;if(o.features.enablePositionLibraryTransformScaleFix)return!n.isServer&&"currentCSSZoom"in Element.prototype?e.currentCSSZoom:parseFloat(t.zoom)||1;const i=e.getBoundingClientRect(),s=e.offsetWidth||Math.round(i.width)||1,r=e.offsetHeight||Math.round(i.height)||1,h=Math.round(i.width),l=Math.round(i.height),a=Number((h/s).toFixed(2)),d=Number((l/r).toFixed(2));return Math.min(a,d)}setAdjustedBoundingRect(t,i,s,r){if(o.features.enablePositionLibraryTransformScaleFix&&!n.isServer&&e.isSafari){const e=s||getComputedStyle(this._node),o=r||this.getElementZoomRatio(e);if(1!==o){const e=i||this._node.getBoundingClientRect();for(const i in e)t[i]=e[i]*o;return!0}}return!1}bake(){const t=a.window;let e={};const i=t.getComputedStyle(this._node)||this._node.style,o=this.getElementZoomRatio(i);
339this.setAdjustedBoundingRect(e,null,i,o)||(e=this._node.getBoundingClientRect());const n=void 0!==t.pageYOffset,s=n?t.pageYOffset:t.scrollY,r=n?t.pageXOffset:t.scrollX,h=i.left.match(/auto|fixed/)?"0":b(i.left),l=i.top.match(/auto|fixed/)?"0":b(i.top),d=t=>t/o,c=d(b(i.marginTop)),u=d(Math.round(e.top))+s-(d(this.top)<d(Math.round(e.top))+s?c:-c),p=d(this.top)<d(u)?c:-c,f=d(Math.round(e.left)+r),g=d(Math.round(e.top)+s);let m=Math.round(d(this.left)-f);const w=Math.round(d(this.top)-(g+p)),y=t.innerWidth||document.body.clientWidth;let v=parseInt(i.right,10);if(h+m+this._node.offsetWidth*o>y&&v<=0&&(v=v<0?-v:m,this._node.style.right=-v+"px",m=0),this._node.style.left=`${h+m}px`,this._node.style.top=`${l+w}px`,this._restoreSize){void 0===this.originalHeight&&(this.originalHeight=this._node.style.height),void 0===this.originalWidth&&(this.originalWidth=this._node.style.width);const t=d(this.width),e=d(this.height);this._node.style.width=`${t}px`,this._node.style.height=`${e}px`}this._dirty=!1}setDirection(t,e){this[t]=e,this._dirty=!0,"height"!==t&&"width"!==t||(this._restoreSize=!0)}release(){this._restoreSize&&(this._node.style.width=this.originalWidth,this._node.style.height=this.originalHeight,this._removeMinHeight&&(this._node.style.minHeight="")),this._releaseCb&&this._releaseCb(this),this._observer&&(this._observer.disconnect(),this._observer=null)}querySelectorAll(t){return this._node.querySelectorAll(t)}}const R=new class{constructor(){this.proxyCache={}}get count(){return Object.keys(this.proxyCache).length}releaseOrphanProxies(){for(const t in this.proxyCache)this.proxyCache[t].el.checkNodeIsInDom()||this.proxyCache[t].el.release()}bakeOff(){for(const t in this.proxyCache)this.proxyCache[t].el.isDirty()&&this.proxyCache[t].el.bake()}getReferenceCount(t){const e=t.id;return e&&this.proxyCache[e]?this.proxyCache[e].refCount:0}release(t){const e=this.proxyCache[t.id];e&&--e.refCount,e&&e.refCount<=0&&delete this.proxyCache[t.id]}reset(){this.proxyCache={}}create(t){let i="window";if(a.isWindow(t)||(i=t?t.getAttribute(l):null,e.assert(i&&t.nodeType&&(1!==t.nodeType||11!==t.nodeType),`Element Proxy requires an element and has property ${l}`)),this.proxyCache[i])return this.proxyCache[i].refCount++,this.proxyCache[i].el;const o=new E(t,i);var n;return o.setReleaseCallback(z,o),this.proxyCache[i]={el:o,refCount:1},(n=0,new Promise(t=>{setTimeout(()=>{t()},n)})).then(()=>{this.releaseOrphanProxies()}),this.proxyCache[i].el}};function z(t){return R.release(t)}function N(t){return R.create(t)}const A=new class{constructor(){this.callbacks=[],this.repositionScheduled=!1,this._constraints=[],this.timeoutId=0,this.lastIndex=e.getZIndexBaseline(),this.eventsBound=!1}get nextIndex(){return this.lastIndex++}get constraints(){return this._constraints}set constraints(t){this._constraints=this._constraints.concat(t)}dispatchRepositionCallbacks(){for(;this.callbacks.length>0;)this.callbacks.shift()()}add(t){return"function"==typeof t&&(this.callbacks.push(t),!0)}scheduleReposition(t){0===this.timeoutId&&(this.timeoutId=setTimeout(()=>{this.reposition(t)},10))}reposition(t){"function"==typeof t&&this.callbacks.push(t),clearTimeout(this.timeoutId),this.timeoutId=0,this.repositionScheduled||(requestAnimationFrame(()=>{this.repositionScheduled=!1,this._constraints=this._constraints.filter(t=>!t.destroyed&&(t.computeDisplacement().computePosition(),!0)),R.bakeOff(),this.dispatchRepositionCallbacks()}),this.repositionScheduled=!0)}get repositioning(){return this._reposition||(this._reposition=this.scheduleReposition.bind(this)),this._reposition}bindEvents(){this.eventsBound||(window.addEventListener("resize",this.repositioning),window.addEventListener("scroll",this.repositioning),this.eventsBound=!0)}detachEvents(){window.removeEventListener("resize",this.repositioning),window.removeEventListener("scroll",this.repositioning),this.eventsBound=!1}rebase(t){this.lastIndex<=t&&(this.lastIndex=t+1)}};function P(t){A.scheduleReposition(t)}function W(t){A.reposition(t)}function H(t){return A.rebase(t)}class F{constructor(t,e,i,o){this.config=t,this.constraintList=e,this.scrollableParent=i,this.observer=o}disable(){this.constraintList.forEach(t=>{t.detach()})}enable(){this.constraintList.forEach(t=>{t.attach()})}destroy(){for(this.config.removeListeners&&(this.config.removeListeners(),this.config.removeListeners=void 0);this.constraintList.length>0;)this.constraintList.pop().destroy();if(this.config.appendToBody&&this.config.element){const t=document.querySelector(`[${l}="${this.config.element.getAttribute(l)}"]`);t&&t.parentNode.removeChild(t)}this.observer&&(this.observer.disconnect(),this.observer=null)}reposition(){return new Promise(t=>{W(()=>{t()})})}}const Y="none",X="uiModal",j="lightning-dialog",U="lightning-popover",$="uiPanel",q="overlay-surface",V="slds-modal";function Z(t){if(!t)return{isInside:!1,type:null,overlay:null};const e=function(t){return t.localName===j?j:t.localName===U?U:t.classList&&t.classList.contains(q)?q:t.classList&&t.classList.contains(X)?X:t.classList&&t.classList.contains($)?$:t.classList&&t.classList.contains(V)?V:Y}(t);return e!==Y?{isInside:!0,type:e,overlay:t}:t.parentNode?Z(d(t.parentNode)?t.parentNode.host:t.parentNode):{isInside:!1,type:null,overlay:null}}class G{constructor(t){this._element=t,this._detection=Z(this._element)||{isInside:!1,overlay:null}}get isInsideModal(){return this.isInside&&(this._detection.type===X||this._detection.type===j||this._detection.type===V)}get isInside(){return this._detection.isInside}get overlay(){return this._detection.overlay}}const J="1.875rem";function K(t,e,i){A.bindEvents();let n=(h=t.target,s="TEXTAREA"===h.tagName?d(h.parentNode)?h.parentNode.host:h.parentNode:h,r=a.window,c(s,r,t=>{const e=t["overflow-y"];return"auto"===e||"scroll"===e}));var s,r,h;!n&&i&&(n=function(t){let e,i;for(let o=0;o<t.length;o++){const n=t[o];
339if(n instanceof HTMLElement&&(e=a.window.getComputedStyle(n),i=e["overflow-y"],"auto"===i||"scroll"===i))return n}return null}(i));const l=function(t,e){e.align=e.align||{},e.targetAlign=e.targetAlign||{};const i=function(t,e,i,n){const s=x(t),r=x(),h=e.getBoundingClientRect(),l=i.getBoundingClientRect(),a=void 0!==h.height?h.height:h.bottom-h.top,d=void 0!==h.width?h.width:h.right-h.left;let c=!1,u=!1;"rtl"===document.dir&&(c=n,n=!1,u=!0);const p=l.top-s.top-a,f=s.height-l.bottom-a;let g=p>=0||null==t&&f<0&&p>f,m=f>=0||p<0&&f>p,b=!1;b=t?o.features.enablePositionLibFlipCalcWithViewportRight?l.right-s.left>=d&&l.left+d>(c?l.right:s.right):l.right-s.left>=d&&l.left+d>(c?l.right:s.width):l.right>=d&&l.left+d>(c?l.right:s.width);let w=!1;w=t?l.left+d<=s.right&&l.right-s.left-d<(n?l.left:0):l.left+d<=s.width&&l.right-d<(n?l.left:0);const y=s.width-l.left,v=l.right;return w||b||!t?!w&&!b&&y<d&&v<d&&(b=v>y,w=v<y):(b=(l.right-s.left>=d||l.right>=d)&&l.left+d>(c?l.right:s.width),w=(l.left+d<=s.right||l.left+d<=r.width)&&l.right-d<(n?l.left:0)),!u||w||b||"LIGHTNING-PRIMITIVE-BUBBLE"!==e.tagName||(b=v>y,w=v<y),!g&&!m&&t&&e.style&&"fixed"===e.style.position&&(g=l.top-r.top-a>0,m=r.height-l.bottom-a>0),{shouldAlignToLeft:w,shouldAlignToRight:b,hasSpaceAbove:g,hasSpaceBelow:m,centerOverflow:{left:l.left-.5*d<0,right:l.right+.5*d>s.width,top:l.top-.5*a<0,bottom:l.bottom+.5*a>s.height}}}(!e.overlay.isInside||o.features.enablePositionLibraryFlipInOverlay&&e.flipInOverlay?t:null,e.element,e.target,e.leftAsBoundary),{align:n,targetAlign:s}=function(t,e){const i={horizontal:t.align.horizontal,vertical:t.align.vertical},o={horizontal:t.targetAlign.horizontal,vertical:t.targetAlign.vertical};"rtl"===document.dir&&(i.horizontal=I(i.horizontal),o.horizontal=I(o.horizontal));let n=!1;(function(t){return t.autoFlip||t.autoFlipVertical})(t)&&(i.vertical===w.Bottom?n=!e.hasSpaceAbove&&e.hasSpaceBelow:i.vertical===w.Top?n=e.hasSpaceAbove&&!e.hasSpaceBelow:i.vertical===w.Center&&(e.centerOverflow.top&&!e.centerOverflow.bottom?i.vertical=o.vertical=w.Top:e.centerOverflow.bottom&&!e.centerOverflow.top&&(i.vertical=o.vertical=w.Bottom)));let s=!1;(function(t){return t.autoFlip||t.autoFlipHorizontal})(t)&&(i.horizontal===w.Left?s=e.shouldAlignToRight&&!e.shouldAlignToLeft:i.horizontal===w.Right?s=e.shouldAlignToLeft&&!e.shouldAlignToRight:i.horizontal===w.Center&&(e.centerOverflow.left&&!e.centerOverflow.right?i.horizontal=o.horizontal=w.Left:e.centerOverflow.right&&!e.centerOverflow.left&&(i.horizontal=o.horizontal=w.Right)));return{align:{horizontal:s?I(i.horizontal):C(i.horizontal,w.Left),vertical:n?I(i.vertical):C(i.vertical,w.Top)},targetAlign:{horizontal:s?I(o.horizontal):C(o.horizontal,w.Left),vertical:n?I(o.vertical):C(o.vertical,w.Bottom)}}}(e,i);!e.isInsideModal||i.hasSpaceAbove||i.hasSpaceBelow||(e.scrollableParentBound=!0);return{target:e.target,element:e.element,align:n,targetAlign:s,alignWidth:e.alignWidth,scrollableParentBound:e.scrollableParentBound,keepInViewport:e.keepInViewport,pad:e.pad,padTop:e.padTop,padLeft:e.padLeft,autoShrink:{height:e.autoShrink||e.autoShrinkHeight,width:e.autoShrink||e.autoShrinkWidth},minHeight:e.minHeight||J}}(n,t);l.alignWidth&&"fixed"===l.element.style.position&&(l.element.style.width=l.target.getBoundingClientRect().width+"px");const u=[],p=function(t,e){const i=t.element;let o=null;return a.MutationObserver&&!i.isObserved&&(o=new a.MutationObserver(()=>{}),o.observe(i,{attributes:!0,subtree:!0,childList:!0}),i.isObserved=!0),e&&(e.addEventListener("scroll",P),t.removeListeners=()=>{e.removeEventListener("scroll",P)}),o}(l,n);l.appendToBody&&document.body.appendChild(l.element),l.element=N(l.element),l.target=N(l.target);const f=Object.assign({},l);void 0!==f.padLeft&&(f.pad=f.padLeft);const m=Object.assign({},l);var b;void 0!==m.padTop&&(m.pad=m.padTop),u.push(new O((b=C(b=l.align.horizontal,w.Left),v[b]),f)),u.push(new O(function(t){return t=C(t,w.Left),y[t]}(l.align.vertical),m));const _=l.autoShrink.height||l.autoShrink.width;if(l.scrollableParentBound&&n){const t=g(n),e={element:l.element,enabled:l.enabled,target:N(t),align:{},targetAlign:{},pad:3,boxDirections:{top:!0,bottom:!0,left:!0,right:!0}};if(_){const t=e.element.getNode().style;t.minHeight||(t.minHeight=l.minHeight,e.element._removeMinHeight=!0),e.boxDirections={top:!!l.autoShrink.height,bottom:!!l.autoShrink.height,left:!!l.autoShrink.width,right:!!l.autoShrink.width},u.push(new O("shrinking box",e))}else u.push(new O("bounding box",e))}var L;return l.keepInViewport&&u.push(new O("bounding box",{element:l.element,enabled:l.enabled,target:N(window),align:{},targetAlign:{},pad:3,boxDirections:{top:!0,bottom:!0,left:!0,right:!0}})),L=u,A.constraints=L,e||W(),new F(l,u,n,p)}function Q(t,e){return e&&"string"==typeof e?t.querySelector(e):e&&"function"==typeof e?e():e}function tt(t,i,o){e.assert(t,"Root is undefined or missing"),e.assert(i,"Config is undefined or missing");const n=g(t),s=Q(n,i.target),r=Q(n,i.element);if(!s||!r)return null;i.target=g(s),i.element=g(r);const h=new G(i.element);if(i.isInsideModal=h.isInsideModal,i.isInsideModal&&h.overlay){H(parseInt(h.overlay.style.zIndex,10))}const l=new G(i.target);if(l.isInsideModal&&l.overlay){H(parseInt(l.overlay.style.zIndex,10))}const d=m(i.element,h,A.nextIndex,i.target,i.alignWidth);i.element=d.element,i.overlay=d.overlay,function(t){e.assert(t.element&&p(t.element),"Element is undefined or missing, or not a Dom Node"),e.assert(t.target&&(a.isWindow(t.target)||p(t.target)),"Target is undefined or missing")}(i);const c=K(i,o);return t.dispatchEvent(new CustomEvent("privatescrollablecontainer",{composed:!0,bubbles:!0,detail:{callback:t=>{const e=K(i,o,t);c.config.align.horizontal=e.config.align.horizontal,c.config.align.vertical=e.config.align.vertical}}})),c}function et(t){t&&t.destroy()}t.AutoPosition=class{constructor(t){this._autoPositionUpdater=null,this._root=t}start(t){return new Promise(t=>{requestAnimationFrame(()=>t())}).then(()=>{let e=Promise.resolve();return this._autoPositionUpdater?e=e.then(()=>this._autoPositionUpdater.reposition()):this._autoPositionUpdater=tt(this._root,t),e.then(()=>this._autoPositionUpdater)})}stop(){return this._autoPositionUpdater&&(et(this._autoPositionUpdater),this._autoPositionUpdater=null),Promise.resolve()}},t.Direction=w,t.startPositioning=tt,t.stopPositioning=et,Object.defineProperty(t,"__esMo
339dule",{value:!0})});
340})();(function() { LWR.define("lightning/sldsCommon",["exports"],function(d){var e=[function(d,e,a){var o=d?"["+d+"]":"",r=d?"["+d+"-host]":"";return[e?":host([data-render-mode='shadow']) *"+o+",:host([data-render-mode='shadow']) "+o+"::before,:host([data-render-mode='shadow']) ":r+"[data-render-mode='shadow'] *"+o+","+r+"[data-render-mode='shadow'] "+o+"::before,"+r+"[data-render-mode='shadow'] ",o,"::after {box-sizing: border-box;}",e?":host([data-render-mode='shadow']) h1"+o+",:host([data-render-mode='shadow']) h2"+o+",:host([data-render-mode='shadow']) h3"+o+",:host([data-render-mode='shadow']) h4"+o+",:host([data-render-mode='shadow']) h5"+o+",:host([data-render-mode='shadow']) h6":r+"[data-render-mode='shadow'] h1"+o+","+r+"[data-render-mode='shadow'] h2"+o+","+r+"[data-render-mode='shadow'] h3"+o+","+r+"[data-render-mode='shadow'] h4"+o+","+r+"[data-render-mode='shadow'] h5"+o+","+r+"[data-render-mode='shadow'] h6",o," {font-weight: var(--slds-s-heading-font-weight, inherit);margin-block-start: var(\n --slds-s-heading-spacing-block-start,\n var(--slds-s-heading-spacing-block)\n );margin-block-end: var(\n --slds-s-heading-spacing-block-end,\n var(--slds-s-heading-spacing-block)\n );font-size: 1em;}",e?":host([data-render-mode='shadow']) a":r+"[data-render-mode='shadow'] a",o," {color: var(--slds-s-link-color);text-decoration: var(--_slds-g-font-decoration, none);transition: color 0.1s linear;background-color: transparent;}",e?":host([data-render-mode='shadow']) a:active"+o+",:host([data-render-mode='shadow']) a:hover":r+"[data-render-mode='shadow'] a:active"+o+","+r+"[data-render-mode='shadow'] a:hover",o," {outline: 0;}",e?":host([data-render-mode='shadow']) a:hover"+o+",:host([data-render-mode='shadow']) a:focus":r+"[data-render-mode='shadow'] a:hover"+o+","+r+"[data-render-mode='shadow'] a:focus",o," {text-decoration: var(--_slds-g-font-decoration-hover, underline);color: var(\n --slds-g-link-color-hover,\n var(--slds-g-color-brand-base-30, #014486)\n );}",e?":host([data-render-mode='shadow']) a:active":r+"[data-render-mode='shadow'] a:active",o," {color: var(\n --slds-g-link-color-active,\n var(--slds-g-color-brand-base-30, #014486)\n );}",e?":host([data-render-mode='shadow']) a:focus-visible":r+"[data-render-mode='shadow'] a:focus-visible",o," {outline-color: var(\n --_slds-g-color-outline,\n var(--slds-g-color-brand-base-50, #0176d3)\n );}",e?":host([data-render-mode='shadow']) a:focus":r+"[data-render-mode='shadow'] a:focus",o," {box-shadow: var(--_slds-g-shadow);border-color: var(--_slds-g-color-border);border-width: var(--_slds-g-sizing-border);border-style: var(--_slds-g-style-border);outline: var(--_slds-g-font-decoration-hover);}",e?":host([data-render-mode='shadow']) a"+o+",:host([data-render-mode='shadow']) button":r+"[data-render-mode='shadow'] a"+o+","+r+"[data-render-mode='shadow'] button",o," {cursor: pointer;}",e?":host([data-render-mode='shadow']) p":r+"[data-render-mode='shadow'] p",o," {margin-block-start: var(\n --slds-s-content-spacing-block-start,\n var(--slds-s-content-spacing-block, 0)\n );margin-block-end: var(\n --slds-s-content-spacing-block-end,\n var(--slds-s-content-spacing-block, 0)\n );margin-inline-start: 0;margin-inline-end: 0;padding-block-start: 0;padding-block-end: 0;padding-inline-start: 0;padding-inline-end: 0;}",e?":host([data-render-mode='shadow']) ol"+o+",:host([data-render-mode='shadow']) ul":r+"[data-render-mode='shadow'] ol"+o+","+r+"[data-render-mode='shadow'] ul",o," {list-style: none;padding: 0;margin-block-start: var(\n --slds-s-content-spacing-block-start,\n var(--slds-s-content-spacing-block)\n );margin-block-end: var(\n --slds-s-content-spacing-block-end,\n var(--slds-s-content-spacing-block)\n );}",e?":host([data-render-mode='shadow']) button"+o+",:host([data-render-mode='shadow']) [type='button']"+o+",:host([data-render-mode='shadow']) [type='reset']"+o+",:host([data-render-mode='shadow']) [type='submit']":r+"[data-render-mode='shadow'] button"+o+","+r+"[data-render-mode='shadow'] [type='button']"+o+","+r+"[data-render-mode='shadow'] [type='reset']"+o+","+r+"[data-render-mode='shadow'] [type='submit']",o," {-webkit-appearance: button;appearance: button;cursor: pointer;}",e?":host([data-render-mode='shadow']) [type='search']":r+"[data-render-mode='shadow'] [type='search']",o," {-webkit-appearance: textfield;outline-offset: -2px;}",e?":host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-decoration,:host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-cancel-button,:host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-results-button,:host([data-render-mode='shadow']) [type='search']":r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-decoration,"+r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-cancel-button,"+r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-results-button,"+r+"[data-render-mode='shadow'] [type='search']",o,"::-webkit-search-results-decoration {display: none;}",e?":host([data-render-mode='shadow']) select":r+"[data-render-mode='shadow'] select",o," {color: inherit;font: inherit;margin: 0;}",e?":host([data-render-mode='shadow']) input:focus"+o+",:host([data-render-mode='shadow']) button:focus"+o+",:host([data-render-mode='shadow']) select:focus"+o+",:host([data-render-mode='shadow']) textarea:focus":r+"[data-render-mode='shadow'] input:focus"+o+","+r+"[data-render-mode='shadow'] button:focus"+o+","+r+"[data-render-mode='shadow'] select:focus"+o+","+r+"[data-render-mode='shadow'] textarea:focus",o," {outline-offset: 0;}",e?":host([data-render-mode='shadow']) ":r+"[data-render-mode='shadow'] ",o,"::-moz-focus-inner {border-style: none;padding: 0;}",e?":host([data-render-mode='shadow']) ":r+"[data-render-mode='shadow'] ",o,"::-webkit-search-decoration {-webkit-appearance: none;}",e?":host([data-render-mode='shadow']) ":r+"[data-render-mode='shadow'] ",o,"::-webkit-file-upload-button {-webkit-appearance: button;font: inherit;}",e?":host([data-render-mode='shadow']) :-moz-focusring":r+"[data-render-mode='shadow'] :-moz-focusring",o," {outline: 1px dotted ButtonText;}",e?":host([data-render-mode='shadow']) :-moz-ui-invalid":r+"[data-render-mode='shadow'] :-moz-ui-invalid",o," {box-shadow: none;}",e?":host([data-render-mode='shadow']) code"+o+",:host([data-render-mode='shadow']) kbd"+o+",:host([data-render-mode='shadow']) samp"+o+",:host([data-render-mode='shadow']) pre":r+"[data-render-mode='shadow'] code"+o+","+r+"[data-render-mode='shadow'] kbd"+o+","+r+"[data-render-mode='shadow'] samp"+o+","+r+"[data-render-mode='shadow'] pre",o," {font-family: var(\n --slds-g-font-family-monospace,\n Consolas,\n Me
340nlo,\n Monaco,\n Courier,\n monospace,\n monospace\n );font-size: var(--slds-g-font-size-base, 0.875rem, 1rem);}",e?":host([data-render-mode='shadow']) img"+o+",:host([data-render-mode='shadow']) [type='image']"+o+",:host([data-render-mode='shadow']) canvas"+o+",:host([data-render-mode='shadow']) [type='canvas']":r+"[data-render-mode='shadow'] img"+o+","+r+"[data-render-mode='shadow'] [type='image']"+o+","+r+"[data-render-mode='shadow'] canvas"+o+","+r+"[data-render-mode='shadow'] [type='canvas']",o," {max-width: 100%;height: auto;border: 0;vertical-align: middle;}",e?":host([data-render-mode='shadow']) iframe":r+"[data-render-mode='shadow'] iframe",o," {border-style: none;}",e?":host([data-render-mode='shadow']) svg:not([fill])":r+"[data-render-mode='shadow'] svg:not([fill])",o," {fill: currentColor;}",e?":host([data-render-mode='shadow']) abbr[title]":r+"[data-render-mode='shadow'] abbr[title]",o," {text-decoration: none;cursor: help;}",e?":host([data-render-mode='shadow']) table":r+"[data-render-mode='shadow'] table",o," {border-collapse: collapse;border-spacing: 0;border: 0;width: 100%;}",e?":host([data-render-mode='shadow']) hr":r+"[data-render-mode='shadow'] hr",o," {display: block;margin: var(--slds-g-spacing-6, 2rem, 2rem) 0;border-top: var(--slds-g-sizing-border-1, 1px, 1px) solid\n var(--slds-g-color-border-base-1, #c9c9c9);height: var(--slds-g-sizing-border-1, 1px, 1px);clear: both;box-sizing: content-box;border: 0;padding: 0;}",e?":host([data-render-mode='shadow']) abbr[title]":r+"[data-render-mode='shadow'] abbr[title]",o," {border-bottom: var(--slds-g-sizing-border-1, 1px, 1px) dotted;text-decoration: none;border: 0;cursor: help;}",e?":host([data-render-mode='shadow']) caption"+o+",:host([data-render-mode='shadow']) th"+o+",:host([data-render-mode='shadow']) td":r+"[data-render-mode='shadow'] caption"+o+","+r+"[data-render-mode='shadow'] th"+o+","+r+"[data-render-mode='shadow'] td",o," {text-align: left;}",e?":host([data-render-mode='shadow']) td"+o+",:host([data-render-mode='shadow']) th":r+"[data-render-mode='shadow'] td"+o+","+r+"[data-render-mode='shadow'] th",o," {padding: 0;}",e?":host([data-render-mode='shadow']) dl":r+"[data-render-mode='shadow'] dl",o," {margin: 0;padding: 0;}",e?":host([data-render-mode='shadow']) dd":r+"[data-render-mode='shadow'] dd",o," {margin: 0;}",e?":host([data-render-mode='shadow']) pre":r+"[data-render-mode='shadow'] pre",o," {overflow: auto;}",e?":host([data-render-mode='shadow']) mark":r+"[data-render-mode='shadow'] mark",o," {background-color: #ff0;color: #000;}",e?":host([data-render-mode='shadow']) small":r+"[data-render-mode='shadow'] small",o," {font-size: 80%;}",e?":host([data-render-mode='shadow']) sub"+o+",:host([data-render-mode='shadow']) sup":r+"[data-render-mode='shadow'] sub"+o+","+r+"[data-render-mode='shadow'] sup",o," {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}",e?":host([data-render-mode='shadow']) sup":r+"[data-render-mode='shadow'] sup",o," {top: -0.5em;}",e?":host([data-render-mode='shadow']) sub":r+"[data-render-mode='shadow'] sub",o," {bottom: -0.25em;}",e?":host([data-render-mode='shadow']) b"+o+",:host([data-render-mode='shadow']) strong"+o+",:host([data-render-mode='shadow']) dfn":r+"[data-render-mode='shadow'] b"+o+","+r+"[data-render-mode='shadow'] strong"+o+","+r+"[data-render-mode='shadow'] dfn",o," {font-weight: var(--slds-g-font-weight-7, 700, 700);}",e?":host([data-render-mode='shadow']) b"+o+",:host([data-render-mode='shadow']) strong":r+"[data-render-mode='shadow'] b"+o+","+r+"[data-render-mode='shadow'] strong",o," {font-weight: var(--slds-g-font-weight-bold, bold, bold);}",e?":host([data-render-mode='shadow']) [data-f6-region].f6-highlight":r+"[data-render-mode='shadow'] [data-f6-region].f6-highlight",o," {position: relative;}",e?":host([data-render-mode='shadow']) [data-f6-region].f6-highlight":r+"[data-render-mode='shadow'] [data-f6-region].f6-highlight",o,"::after {width: 100%;height: 100%;content: '';outline: rgb(94, 158, 214) 3px solid;outline-offset: -3px;position: absolute;top: 0;left: 0;z-index: 9999;}"].join("")}];d.default=e,Object.defineProperty(d,"__esModule",{value:!0})});
341})();(function() { LWR.define("lightning/primitiveBubble",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/features"],function(t,e,
341i,s,n){function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=l(i);var o=[[function(t,e,i){return".fix-popover_tooltip_alignment"+(t?"["+t+"]":"")+" {min-width: inherit;}"}],function(){return""}];const r={part:"overlay"},d={"slds-popover__body":!0},h={lwc:{dom:"manual"}};function c(t,e,i,s){const{ncls:n,b:l,h:a}=t,{_m0:o,_m1:c}=s;return[a("div",{className:n(e.computedPopoverClass),attrs:r,key:0,on:o||(s._m0={transitionend:l(e.handleTransitionEnd)})},[a("div",{classMap:d,context:h,key:1,on:c||(s._m1={mouseleave:l(e.handleMouseLeave)})})])]}var b=e.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-5fnnbdvmu3k",c.legacyStylesheetToken="lightning-primitiveBubble_primitiveBubble",o&&c.stylesheets.push.apply(c.stylesheets,o),e.freezeTemplate(c);const u={horizontal:"left",vertical:"bottom"},p=".slds-popover__body",v="1rem",g="absolute",m="0",f="0";class y extends a.default{constructor(...t){super(...t),this.state={visible:!1,hidden:!0,contentId:""},this.disableVisibilityChangeOnLeave=void 0,this.divEl=void 0}get contentId(){return this.state.contentId}set contentId(t){this.state.contentId=t,this.state.inDOM&&this.divEl.setAttribute("id",this.state.contentId)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tooltip"),this.setAttribute("aria-hidden",!0),this.setAttribute("class","slds-scope"),this.state.inDOM=!0}disconnectedCallback(){if(n.features.enableHelptextA11yInModal){const t=this.template.querySelector(p);t?.removeAttribute("aria-hidden")}this.state.inDOM=!1}renderedCallback(){this.setContentManually(),this.setIdManually(),this.createInvisibleDivManually()}set content(t){this.state.content=t,this.state.inDOM&&this.setContentManually()}get content(){return this.state.content||""}get align(){return this.state.align||u}set align(t){this.state.align=t}get visible(){return this.state.visible}set visible(t){const e=this.state.hidden;if(this.state.visible=t,this.state.visible&&(this.state.hidden=!1,n.features.enableHelptextA11yInModal&&e)){const t=this.template.querySelector(p);t?.removeAttribute("aria-hidden")}this.state.hidden?this.setAttribute("aria-hidden",!0):this.removeAttribute("aria-hidden")}handleTransitionEnd(){if(!this.state.visible&&(this.state.hidden=!0,this.setAttribute("aria-hidden",!0),n.features.enableHelptextA11yInModal)){const t=this.template.querySelector(p);t?.removeAttribute("aria-hidden")}}setIdManually(){this.setAttribute("id",this.state.contentId)}setContentManually(){this.template.querySelector(p).textContent=this.state.content}createInvisibleDivManually(){if(this.state.visible){const t=this.template.querySelector(".slds-popover"),e=this.template.querySelector(p),i=document.createElement("div"),{vertical:s}=this.align;let n=null;window&&t&&e&&(n=window.getComputedStyle(t),i.style.width=n.getPropertyValue("width"),i.style.top="bottom"===s?Math.max(32,t.offsetHeight)+"px":"-1rem"),i.style.height=v,i.style.position=g,i.style.left=m,i.style.marginLeft=f,e.appendChild(i)}}get computedPopoverClass(){const t=s.classSet("slds-popover").add("slds-popover_tooltip").add("fix-popover_tooltip_alignment");t.add({"slds-rise-from-ground":this.visible,"slds-fall-into-ground":!this.visible,"slds-hide":this.state.hidden});const{horizontal:e,vertical:i}=this.align;return t.add({"slds-nubbin_top-left":"left"===e&&"top"===i,"slds-nubbin_top-right":"right"===e&&"top"===i,"slds-nubbin_bottom-left":"left"===e&&"bottom"===i,"slds-nubbin_bottom-right":"right"===e&&"bottom"===i,"slds-nubbin_bottom":"center"===e&&"bottom"===i,"slds-nubbin_top":"center"===e&&"top"===i,"slds-nubbin_left":"left"===e&&"center"===i,"slds-nubbin_right":"right"===e&&"center"===i}),t.toString()}handleMouseLeave(){this.disableVisibilityChangeOnLeave||(this.visible=!1)}}e.registerDecorators(y,{publicProps:{disableVisibilityChangeOnLeave:{config:0},contentId:{config:3},content:{config:3},align:{config:3},visible:{config:3}},track:{state:1},fields:["divEl"]});const _=e.registerComponent(y,{tmpl:b,sel:"lightning-primitive-bubble",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
341t.default=_,Object.defineProperty(t,"__esModule",{value:!0})});
342})();(function() { LWR.define("lightning/ariaObserver",["exports","lwc","lwr/environment","lightning/utilsPrivate","lightning/features"],function(e,t,o,i,n){const r="\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0,0,0,0);\n  border: 0;\n";let s=!1;const a=[];function l(){const e=[...a].sort((e,t)=>e.priority-t.priority);a.length=0,s=!1,e.forEach(({callback:e})=>e())}function d(e,t){a.push({callback:t,priority:e}),s||(s=!0,Promise.resolve().then(l))}function c(e){if(e.shadowRoot)return e.shadowRoot.childNodes;if("function"==typeof e.assignedNodes){const t=e.assignedNodes();return t.length?t:e.childNodes}return e.childNodes}function h(e){if("function"!=typeof e.assignedNodes&&e.assignedSlot&&e.assignedSlot.parentElement)return e.assignedSlot.parentElement;if(e.parentElement)return e.parentElement;const t=e.getRootNode();return t!==document?t.host:null}function u(e,t){let o=e;for(;null!=o;)if(o=h(o),o===t)return!0;return!1}class f{constructor(e){this._observers=[],this._callbacks=[];const t=[],o=e=>{if(!(e=>t.some(t=>t.contains(e)))(e)){t.push(e);const o=new MutationObserver(()=>this._mutationCallback());o.observe(e,{subtree:!0,attributes:!0,childList:!0,characterData:!0}),this._observers.push(o)}c(e).forEach(e=>o(e))};o(e)}onMutation(e){this._callbacks.push(e)}_mutationCallback(){d(0,()=>this._callbacks.forEach(e=>e()))}disconnect(){this._observers.forEach(e=>e.disconnect()),this._observers=void 0,this._callbacks=void 0}}function p(e){const t={},{attributes:o}=e;for(let e=0;e<o.length;e++){const i=o[e];t[i.name]=i.value}return t}const m=new WeakMap;function g(e){let t=m.get(e);return t||(t="shadow-aria-"+Math.floor(1e9*Math.random()).toString(16),m.set(e,t)),t}const v=new Set(["a","audio","button","details","input","select","summary","textarea","video"]);const b=["display","visibility"];function N(e,t,o){const i=new Map,n=(e,t)=>{const r=function(e,t){if(e.nodeType===Node.TEXT_NODE)return t&&t.nodeType===Node.TEXT_NODE?(t.textContent!==e.textContent&&(t.textContent=e.textContent),t):e.cloneNode();if(e.nodeType!==Node.ELEMENT_NODE)return document.createComment("shadow-aria-deleted");let o,i,{tagName:n}=e;if(["style","link","script"].includes(n.toLowerCase()))return document.createComment("shadow-aria-deleted");(n.includes("-")||"slot"===n.toLowerCase())&&(n="div"),t&&t.nodeType===Node.ELEMENT_NODE&&t.tagName.toLowerCase()===n.toLowerCase()?(i=t,o=p(i)):i=document.createElement(n);const r=Object.fromEntries([...Object.entries(p(e))].filter(([e])=>e.toLowerCase().startsWith("aria-")||"role"===e.toLowerCase())),s=getComputedStyle(e);let a="";var l,d;return b.forEach(e=>a+=`${e}:${s[e]};`),"contents"!==s?.display&&(r.id=g(e)),r.style=a,v.has(n.toLowerCase())&&(r.tabindex="-1"),Object.entries(r).forEach(([e,t])=>{o&&o[e]===t||i.setAttribute(e,t)}),o&&Object.keys(o).forEach(e=>{e in r||i.removeAttribute(e)}),d=e,(l=i)&&d&&function(e,t){e.addEventListener("focus",e=>{e.preventDefault(),e.stopImmediatePropagation(),t.dispatchEvent(new e.constructor(e.type,e)),t.focus()})}(l,d),i}(e,t);if(r.nodeType===Node.COMMENT_NODE)return r;o.has(e)&&i.set(e,r);const s=c(e);if(t&&t.childNodes.length===s.length)for(let e=0;e<s.length;e++){const o=t.childNodes[e],i=s[e],r=n(i,o);r!==o&&t.replaceChild(r,o)}else{if(t)for(;t.childNodes.length;)t.childNodes[t.childNodes.length-1].remove();s.forEach(e=>{const t=n(e,null);r.appendChild(t)})}return r};return{mirroredNode:n(e,t),trackedNodesToMirroredNodes:i}}function y(e,t,o){const i=t.map(e=>e.getAttribute("id")),n=function(e){if(!e)return[];return e.trim().split(/\s+/)}(e.getAttribute(o)),r=i.filter(e=>!n.includes(e)),s=n.filter(e=>!i.includes(e));return e.setAttribute(o,i.join(" ")),{linkedNodeIds:r,unlinkedNodeIds:s}}const E=["aria-activedescendant","aria-errormessage"],w=new WeakMap,C=[];function M(e,t){const o=function(e){let t=w.get(e);if(!t){const o=document.createElement("div");o.setAttribute("class","aria-element-reflection-mirror"),o.setAttribute("style",r);(e.body||e).appendChild(o),t={redundantChildNodes:new Set,nodesToMirroredNodes:new Map,mirrorRoot:o},w.set(e,t)}return t}(e);!function(e,t){const{redundantChildNodes:o,nodesToMirroredNodes:i,mirrorRoot:n}=e;
342t.redundantChildNodes.forEach(e=>o.add(e));const r=new Set(t.relationships.map(({toNodes:e})=>e).flat().filter(Boolean).filter(e=>!o.has(e)));r.forEach(e=>{const t=new Set([...o,e]),{node:r=null,usage:s=0}=i.get(e)||{},{mirroredNode:a,trackedNodesToMirroredNodes:l}=N(e,r,t);a!==r&&(r&&n.removeChild(r),n.appendChild(a)),l.forEach((e,t)=>i.set(t,{node:e,usage:s}))})}(o,t),function(e,t){const{nodesToMirroredNodes:o}=e;t.relationships.forEach(t=>{const{fromNode:i,toNodes:n,relationship:r,track:s,signal:a,mirrorOnly:l}=t;if(n?.length){if(!l){const t=n.map(e=>o.get(e).node),{linkedNodeIds:l,unlinkedNodeIds:d}=y(i,t,r);I(e,d,l),s&&function(e,t,o){t.forEach(t=>{const i=new f(t);i.onMutation(()=>{!function(e,t){A({fromNode:e,toNodes:t,mirrorOnly:!0})}(e,[t])}),o&&o.addEventListener("abort",()=>{i.disconnect()})})}(i,n,a)}}else{const{unlinkedNodeIds:t}=y(i,[],r);I(e,t),i.removeAttribute(r)}})}(o,t)}function I(e,t,o=[]){const{nodesToMirroredNodes:i,mirrorRoot:n}=e;i.forEach((e,r)=>{o.includes(e.node.id)?e.usage++:t.includes(e.node.id)&&--e.usage<=0&&(i.delete(r),e.node.parentElement===n&&n.removeChild(e.node))})}function k(){const e=function(e){const t=new Map;return e.forEach(e=>{const{fromNode:o}=e,i=o.getRootNode();let n=t.get(i);n||(n={relationships:[],redundantChildNodes:new Set},t.set(i,n)),n.relationships.push(e)}),t.forEach(e=>{const{relationships:t,redundantChildNodes:o}=e,i=t.map(e=>e.toNodes).flat();for(let e=0;e<i.length;e++)for(let t=e+1;t<i.length;t++){const n=i[e],r=i[t];n&&r&&e!==t&&(u(n,r)?o.add(n):u(r,n)&&o.add(r))}}),t}(C);C.length=0,e.forEach((e,t)=>M(t,e))}function A(e){C.push(e),d(1,k)}function R(e,t,o,i={}){const{track:n,signal:r}=i;t=function(e,t){return Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length>1&&E.includes(t)&&(console.warn(`Multiple targets passed to aria relationship "${t}". This API only accepts a single target. Ignoring elements beyond the first one.`),e=e.slice(0,1)),e}(t,o),A({fromNode:e,toNodes:t,relationship:o,track:n,signal:r})}const O=[["aria-controls",{ariaReflection:"ariaControlsElements",polyfill:function(e,t,o){R(e,t,"aria-controls",o)}}],["aria-labelledby",{ariaReflection:"ariaLabelledByElements",polyfill:function(e,t,o){R(e,t,"aria-labelledby",o)}}],["aria-describedby",{ariaReflection:"ariaDescribedByElements",polyfill:function(e,t,o){R(e,t,"aria-describedby",o)}}],["aria-errormessage",{ariaReflection:"ariaErrorMessageElements",polyfill:function(e,t,o){R(e,t,"aria-errormessage",o)}}],["aria-activedescendant",{ariaReflection:"ariaActiveDescendantElement",polyfill:function(e,t,o){R(e,t,"aria-activedescendant",o)}}],["aria-details",{ariaReflection:"ariaDetailsElements",polyfill:function(e,t,o){R(e,t,"aria-details",o)}}]],S=new Map(O);let _;function T(e,t){return"string"!=typeof t||""===t?[]:x(t).map(t=>e.querySelector(`[id*="${t}"]`)).filter(e=>!!e)}function x(e){return e?(e+"").trim().split(/\s+/):[]}o.isServer||(_=[...S.values()].every(({ariaReflection:e})=>e in Element.prototype));const L=t.registerComponent(class{constructor(e){this.component=void 0,this.template=void 0,this.isNativeShadow=void 0,this.state=void 0,this.liveIds=void 0,this.guid=void 0,this.placeholderContainer=void 0,this.ariaReflectionMap=void 0,this.nodeMap=void 0,this._root=void 0,this.mo=void 0,this.component=e,this.template=e.template,this.isNativeShadow=i.isNativeComponent(e),this.state={},this.liveIds={},this.guid=i.guid(),this.placeholderContainer=null,this.ariaReflectionMap=new Map,this.nodeMap=new Map}connectLiveIdRef(e,t){const o=(e+"").trim().split(/\s+/).map(e=>`[id*="${e}"]`).join(",");let i;this.liveIds[e]?this.liveIds[e].callbacks.push(t):(i={refs:e,selector:o,callbacks:[t]},this.liveIds[e]=i)}connect({attribute:e,targetSelector:t,targetNode:o,relatedNodeIds:i,relatedNodes:n}){this.state[e]=this.state[e]||{};const r=this.state[e];r.targetNode=o,r.targetSelector=t,r.relatedNodes=(Array.isArray(n)?n:[n]).filter(Boolean),r.relatedNodeIds=Array.isArray(i)?i.join(" "):i,this.component.isConnected&&this.privateUpdate(e)}sync(e){if(null!=e&&(this.isNativeShadow=e),!this.component.isConnected)throw new Error("Invalid sync invocation. It can only be invoked during renderedCallback().");this.root||(this.root=this.template&&this.template.host?this.template.host.getRootNode():null),this.privateUpdateLiveIds();for(const e in this.state)Object.prototype.hasOwnProperty.call(this.state,e)&&this.privateUpdate(e)}get privateIsMoRequired(){return this.isNativeShadow||0!==Object.keys(this.liveIds).length}get root(){return this._root}set root(e){this._root=e,this._root&&this.privateIsMoRequired&&this.privateCreateMutationObserver()}privateUpdate(e){const{targetSelector:t,targetNode:o=this.template.querySelector(t),relatedNodeIds:i,relatedNodes:r}=this.state[e];if(!o)return;const s=S.get(e);if(!s)throw new Error(`${e} is not supported by AriaObserver. Supported attributes: ${Array.from(S.keys())}`);if(this.isNativeShadow){const t=[...r,...T(this.root,i)];if(_)if(n.features.enableMobileGroupedCbAriaUpdates&&"aria-activedescendant"===e){const e=r?.length>0?r[0]:null;o[s.ariaReflection]=e}else o[s.ariaReflection]=r;else s.polyfill(o,t,e);const a=o.getRootNode();for(let e=0;e<t.length;e++)this.privateAddNestedReferences(a,t[e])}else{const t=[...x(i),...r.map(e=>e.id)].join(" ");t?o.setAttribute(e,t):o.removeAttribute(e)}}privateExtractCorrectElements(e="",t){const o=`(${e.split(/\s/g).join("|")})`,i=new RegExp(`^${o}(-[0-9]+)$`);return[...t].filter(e=>i.test(e.id))}privateCreateMutationObserver(){this.disconnect(),this.mo=new MutationObserver(()=>{this.component.isConnected&&this.sync()}),this.mo.observe(this.root,{characterData:!0,childList:!0,subtree:!0})}privateExtractIds(e){return e.map(e=>e.getAttribute("id")).join(" ")}privateUpdateLiveIds(){const e=this.template&&this.template.host?this.template.host.getRootNode():null;if(e)for(const t in this.liveIds)if(Object.prototype.hasOwnProperty.call(this.liveIds,t)){const o=this.liveIds[t];if(!o.elements||!o.elements.length){const i=x(t);
342try{const t=Array.from(e.querySelectorAll(o.selector));o.elements=t.sort((e,t)=>{const o=e.getAttribute("id")?.replace(/-[0-9]+$/g,""),n=t.getAttribute("id")?.replace(/-[0-9]+$/g,"");return i.indexOf(o)-i.indexOf(n)})}catch(e){return void(e instanceof DOMException&&console.warn(`lightning/ariaObserver could not find elements to connect live IDs due to an invalid id selector.\n\n${e.message}`))}}const i=this.privateExtractCorrectElements(o.refs,o.elements),n=this.privateExtractIds(i);if(n.length&&n!==o.ids){for(let e=0;e<o.callbacks.length;e++)o.callbacks[e](n);o.ids=n}}}privateAddNestedReferences(e,t){for(let o=0;o<O.length;o++){const[i,{polyfill:n}]=O[o],r=t.getAttribute(i);if(r){let o=this.nodeMap.get(t);if(!o){let n=this.ariaReflectionMap.get(e);n||(n=e.querySelector(".aria-element-reflection-mirror"),this.ariaReflectionMap.set(e,n)),n&&(o=n.querySelector(`[${i}='${r}']`),this.nodeMap.set(t,o))}if(o){n(o,T(this.root,r),i)}}}}disconnect(){this.mo&&(this.mo.disconnect(),this.mo=void 0)}},{tmpl:void 0,sel:"lightning-aria-observer",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=L,Object.defineProperty(e,"__esModule",{value:!0})});
343})();(function() { LWR.define("lightning/tooltipLibrary",["exports","lwr/environment","lwc","lightning/positionLibrary","lightning/utilsPrivate","lightning/primitiveBubble","lightning/ariaObserver","lightning/features"],function(e,t,i,s,o,n,l,a){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=r(n),d=r(l);const u="salesforce-lightning-tooltip-bubble",c=o.guid(),v=`${u}_${c}`,b=`salesforce-lightning-tooltip-modal-portal_${c}`;function _(){return null!=window.ResizeObserver}let g,f;function p(){return g||(g=i.createElement("lightning-primitive-bubble",{is:h.default}),g.contentId=v,g.contentModalPortalId=a.features.enableHelptextA11yInModal?b:void 0,g.style.position="absolute",g.style.minWidth="75px",g.disableVisibilityChangeOnLeave=!0),g}const m="aria-describedby",y='[data-modal][aria-modal="true"]',E="[data-modal-tooltip-portal]";const T={Info:"info",Toggle:"toggle"};Object.defineProperty(e,"Direction",{enumerable:!0,get:function(){return s.Direction}}),e.BUBBLE_PREFIX=u,e.Tooltip=class{constructor(e,i){if(this._autoPosition=null,this._disabled=!0,this._initialized=!1,this._visible=!1,this._isFocusEvent=!1,this._initialResize=!0,this._ariaObserver=null,this._resizeObserver=void 0,this._config={},this._value="",this._root=void 0,this._target=void 0,this._element=void 0,this._type=void 0,this._shouldRemoveAriaHiddenOnBubbleBody=!1,this.boundHandleTooltipMouseLeave=void 0,this._modalPortalElement=null,this._isTooltipInModal=!1,this._isNativeShadow=!1,this._handleTooltipMouseLeave=e=>{if(this._visible){if(e instanceof MouseEvent&&e.clientX&&e.clientY)try{const t=this._target();if(t){const{clientX:i,clientY:s}=e,{left:o,right:n,top:l,bottom:a}=t.getBoundingClientRect(),r=1;if(i>=o-r&&i<=n+r&&s>=l-r&&s<=a+r)return}}catch(e){}this.hide()}},o.assert(!!i.target,"target for tooltip is undefined or missing"),this.value=e,this._root=i.root,this._target=i.target,this._config={...i},this._config.align=i.align||{},this._config.targetAlign=i.targetAlign||{},this._config.disableAriaDescribedBy=i.disableAriaDescribedBy||!1,this._type=o.normalizeString(i.type,{fallbackValue:T.Info,validValues:Object.values(T)}),this._element=i.element,!t.isServer&&!this._element){this._element=p;const e=p();null===e.parentNode&&document.body.appendChild(e)}this.handleDocumentTouch=this.handleDocumentTouch.bind(this),this.handleEscape=this.handleEscape.bind(this),this.hide=this.hide.bind(this),a.features.enableTooltipFlashingFix&&(this.boundHandleTooltipMouseLeave=this._handleTooltipMouseLeave.bind(this))}detach(){this._disabled=!0}attach(){this._disabled=!1}initialize(){const e=this._target();if(!this._initialized&&e){if(this._type===T.Toggle)this.addToggleListeners();else this.addInfoListeners();this._config.disableAriaDescribedBy||(this._ariaObserver=new d.default(this._root),this._ariaObserver.connect({attribute:m,targetNode:this._target(),relatedNodes:this._element
343()})),a.features.enableHelptextA11yInModal&&this._root&&(this._isNativeShadow=o.isNativeComponent(this._root)),this._initialized=!0}}getDescriptionElement(){const{_modalPortalElement:e,_isTooltipInModal:t}=this;return a.features.enableHelptextA11yInModal&&t&&e?e:this._element()}disconnect(){this._ariaObserver&&this._ariaObserver.disconnect(),a.features.enableHelptextA11yInModal&&this._shouldRemoveAriaHiddenOnBubbleBody&&this.setAriaHiddenOnBubbleBody(!1),this._visible&&this.hide(),a.features.enableHelptextA11yInModal&&(this._modalPortalElement=null,this._isTooltipInModal=!1)}addInfoListeners(){const e=this._target();!this._initialized&&e&&(["mouseenter","focus"].forEach(t=>e.addEventListener(t,()=>this.show())),["mouseleave","blur","click","keydown"].forEach(t=>e.addEventListener(t,e=>{this._visible&&(this.hideIfNotSelfCover(e),"Escape"===e.key&&e.stopPropagation())})))}hideIfNotSelfCover(e){if(!this._visible)return;const t=this._element();if("mouseleave"===e.type&&e instanceof MouseEvent&&e.clientX&&e.clientY)try{const i="top"===t.align.vertical?1:0;if((document.elementFromPoint?document.elementFromPoint(e.clientX,e.clientY+i):null)===this._element())return void(_()||this.startPositioning())}catch(e){}this.hide()}handleDocumentTouch(){this._visible&&this.hide()}addToggleListeners(){const e=this._target();!this._initialized&&e&&(e.addEventListener("touchstart",e=>{e.stopPropagation(),this.toggle()}),["mouseenter","focus"].forEach(t=>e.addEventListener(t,e=>this.show(e))),["mouseleave","blur"].forEach(t=>e.addEventListener(t,e=>this.hideIfNotSelfCover(e))),e.addEventListener("keydown",e=>{"Escape"===e.key&&this._visible&&(this.hideIfNotSelfCover(e),e.stopPropagation())}))}handleEscape(e){(a.features.enableTooltipHoverDismiss&&"Escape"===e.key||"Escape"===e.key&&this._isFocusEvent)&&(e.stopPropagation(),this.hideIfNotSelfCover(e))}get resizeObserver(){return this._resizeObserver||(this._resizeObserver=this._buildResizeObserver(()=>{if(this._visible&&this._autoPosition){const e=this._element();if(!a.features.enableTooltipHoverDismiss&&f!==this||a.features.enableTooltipHoverDismiss&&o.getActiveTooltip()!==this)return void this.hide(!1);this.startPositioning().then(()=>{this._initialResize&&(a.features.enableTooltipFlashingFix?e.addEventListener("mouseleave",this.boundHandleTooltipMouseLeave):e.addEventListener("mouseleave",this.hide),this._initialResize=!1)}).catch(()=>{})}})),this._resizeObserver}setAriaHiddenOnBubbleBody(e){const t=this._element(),i=t?.shadowRoot?.querySelector(".slds-popover__body");i&&(e?(i.setAttribute("aria-hidden","true"),this._shouldRemoveAriaHiddenOnBubbleBody=!0):(i.removeAttribute("aria-hidden"),this._shouldRemoveAriaHiddenOnBubbleBody=!1))}setupModalPortal({target:e,value:i}){this._modalPortalElement=null;const s=function(e,i){if(t.isServer||!e)return null;const s=globalThis?.HTMLElement;if(i){const t=globalThis?.ShadowRoot;if(!t||!s)return null;let i=e;for(;i;){const e=i.getRootNode();if(!(e instanceof t))return null;const o=e.querySelector(y);if(o&&o instanceof s)return o.querySelector?.(E);i=e.host}return null}const o=e.closest?.(y);return o&&s&&o instanceof s?o.querySelector?.(E):null}(e,this._isNativeShadow);if(!s?.isConnected)return;this._modalPortalElement=s,this._isTooltipInModal=!0;const o=this._element();s.textContent="",s.setAttribute("id",o.contentModalPortalId),s.removeAttribute("aria-hidden"),this.setAriaHiddenOnBubbleBody(!0),s.textContent=i}cleanUpModalPortal(){const{_isTooltipInModal:e,_modalPortalElement:t}=this;e&&t&&(t.setAttribute("aria-hidden","true"),t.removeAttribute("id"),t.textContent="",this._isTooltipInModal=!1,this._modalPortalElement=null),this._shouldRemoveAriaHiddenOnBubbleBody&&this.setAriaHiddenOnBubbleBody(!1)}show(e){if(this._disabled||this._visible)return;const i=a.features.enableTooltipHoverDismiss?o.getActiveTooltip():f;if(i&&i!==this&&i._visible&&i.hide(!1),a.features.enableTooltipHoverDismiss)o.setActiveTooltip(this);else{f=this}this._isFocusEvent=e&&"focus"===e.type,this._visible=!0,this._initialResize=!0;const s=this._element(),n=this._target();s.visible=this._visible;const{_value:l}=this;s.content=l,!t.isServer&&n&&a.features.enableHelptextA11yInModal&&this.setupModalPortal({target:n,value:l}),this._ariaObserver&&this._root&&this._root.isConnected&&(a.features.enableHelptextA11yInModal&&this._ariaObserver.connect({attribute:m,targetNode:n,relatedNodes:this.getDescriptionElement()}),this._ariaObserver.sync()),this.startPositioning(),document.addEventListener("keydown",this.handleEscape),document.addEventListener("touchstart",this.handleDocumentTouch),this.resizeObserver.observe(s)}hide(e=!0){this._visible=!1;
343const t=this._element();a.features.enableHelptextA11yInModal&&(this.cleanUpModalPortal(),this._shouldRemoveAriaHiddenOnBubbleBody&&this.setAriaHiddenOnBubbleBody(!1)),e&&(t.visible=this._visible),this.stopPositioning(),document.removeEventListener("touchstart",this.handleDocumentTouch),document.removeEventListener("keydown",this.handleEscape),a.features.enableTooltipFlashingFix?t.removeEventListener("mouseleave",this.boundHandleTooltipMouseLeave):t.removeEventListener("mouseleave",this.hide),this.resizeObserver.unobserve(t),a.features.enableTooltipHoverDismiss?o.setActiveTooltip(null):f=null}toggle(){this._visible?this.hide():this.show()}get value(){return this._value}set value(e){this._value=e,this._disabled=!e}get initialized(){return this._initialized}get visible(){return this._visible}startPositioning(){this._autoPosition||(this._autoPosition=new s.AutoPosition(this._root));const e={horizontal:this._config.align.horizontal||s.Direction.Left,vertical:this._config.align.vertical||s.Direction.Bottom},t={horizontal:this._config.targetAlign.horizontal||s.Direction.Left,vertical:this._config.targetAlign.vertical||s.Direction.Top},i=.5*this._target().getBoundingClientRect().width-24;return this._autoPosition.start({target:this._target,element:this._element,align:e,targetAlign:t,autoFlip:!0,padTop:16,padLeft:i}).then(e=>{if(e){const t=this._element();t.align=e.config.align,t.visible=this._visible}})}stopPositioning(){this._autoPosition&&this._autoPosition.stop()}_buildResizeObserver(e){return _()?new ResizeObserver(e):{observe(){},disconnect(){},unobserve(){}}}},e.TooltipType=T,Object.defineProperty(e,"__esModule",{value:!0})});
344})();(function() { LWR.define("lightning/iso8601Utils",["exports"],function(t){const n=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d[:]?\d\d)|Z)?)?)?)?$/i,e=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d[:]?\d\d)|Z)?$/i,i=/(Z|([+-])(\d{2})[:]?(\d{2}))$/i;function r(t){if(!function(t){if("string"!=typeof t)return!1;return e.test(t)}(t))return!1;return s(`2018-09-09T${d(t)}Z`)}function d(t){return"string"==typeof t?t.split(i)[0]:t}function s(t){const n=Date.parse(t);return isFinite(n)}t.STANDARD_DATE_FORMAT="YYYY-MM-DD",t.STANDARD_TIME_FORMAT="HH:mm:ss.SSS",t.TIME_SEPARATOR="T",t.isValidISODateTimeString=function(t){return function(t){if("string"!=typeof t)return!1;return n.test(t)}(t)&&s(t)},t.isValidISOTimeString=r,t.padMilliseconds=function(t){if("string"==typeof t&&(s(t)||r(t))){const n=t.indexOf(".");let e=t.search(i);if(-1===e&&(e=t.length),-1!==n){const i=t.substring(n+1,e);let r=i;if(i.length>3)r=r.substring(0,3);else if(i.length<3){r=`${r}${"0".repeat(3-i.length)}`}return`${t.substring(0,n)}.${r}${t.substring(e)}`}}return t},t.removeTimeZoneSuffix=d,Object.defineProperty(t,"__esModule",{value:!0})});
345})();(function() { LWR.define("lightning/utilsPrivate",["exports","lwr/environment","@salesforce/client/formFactor","@salesforce/i18n/locale","lightning/utils","lightning/iso8601Utils","lwc"],function(e,t,n,r,i,o,s){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=a(n),c=a(r);const l=(t.isServer?null:HTMLTextAreaElement.prototype.setRangeText)||(()=>{});const f=["activeDescendant","atomic","autoComplete","busy","checked","colCount","colIndex","colSpan","controls","current","describedAt","describedBy","description","details","disabled","dropEffect","errorMessage","expanded","flowTo","grabbed","hasPopup","hidden","invalid","keyShortcuts","label","labelledBy","level","live","modal","multiLine","multiSelectable","orientation","owns","placeholder","posInSet","pressed","readOnly","relevant","required","roleDescription","rowCount","rowIndex","rowSpan","selected","setSize","sort","valueMax","valueMin","valueNow","valueText"],d=(e,t="default")=>{const n=e?e.length:0;if(0===n)throw new Error("List of aria properties is required");const r={};if("default"===t){for(let t=0;t<n;t+=1){const n=e[t],i=n.toUpperCase();r[i]||(r[i]=`aria-${n.toLowerCase()}`)}return r}for(let t=0;t<n;t+=1){const n=e[t],i=`aria-${n.toLowerCase()}`;if(!r[i]){const e=`aria${n[0].toUpperCase()}${n.slice(1)}`;r[i]=e}}return r},m=d(f),p=d(f,"cc");let g=null;const h="($1) $2-$3",y=/^\d{10}$/,w=/(\d{3})(\d{3})(\d{4})/,b=/^1\d{10}$/,v=/1(\d{3})(\d{3})(\d{4})$/;const S="javascript:void(0)",A=/^(?:\w+script|data):/i,O=/&#(\w+)(^\w|;
345)?/g,E=/&(newline|tab);/gi,F=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;const D=Array.prototype.slice;const x=e=>{if(Number.isNaN(e)||null==e||""===e||Array.isArray(e))return!0;const t=Number(e);return Number.isNaN(t)};const N={};const L=!t.isServer&&function(e){return/Trident.*rv[ :]*11\./.test(e.userAgent)}(navigator),C=!t.isServer&&function(e){return/Chrome/.test(e.userAgent)&&/Google Inc/.test(e.vendor)}(navigator),I=!t.isServer&&function(e){return/^((?!chrome|android).)*safari/i.test(e.userAgent)}(navigator);const T=new Set(["www.youtube.com","www.youtube-nocookie.com","www.youtube.ca","www.youtube.jp","www.youtube.com.br","www.youtube.co.uk","www.youtube.nl","www.youtube.pl","www.youtube.es","www.youtube.ie","www.youtube.fr","player.vimeo.com","play.vidyard.com","players.brightcove.net","bcove.video","player.cloudinary.com","fast.wistia.net","i1.adis.ws","s1.adis.ws","scormanywhere.secure.force.com","appiniummastertrial.secure.force.com","embed.app.guidde.com","cdnapisec.kaltura.com"]);const R=new RegExp(`(${i.newLineRegexString})|${i.urlRegexString}|${i.emailRegexString}`,"gi"),$=new RegExp(`${i.urlRegexString}|${i.emailRegexString}`,"gi"),k=new RegExp(`^${i.emailRegexString}$`,"gi"),_=new RegExp(i.newLineRegexString,"gi");function M(e){return{isText:!0,value:e}}function j(e){return{isNewline:!0,key:e}}function P(e,t,n){return!n&&e.match(_)?j(t):e.match(k)?function(e,t){return{isLink:!0,value:e,href:i.createEmailHref(e),key:`${e}-${t}`}}(e,t):function(e,t){return{isLink:!0,value:e,href:i.createHttpHref(e),key:`${e}-${t}`}}(e,t)}const B=new Set(["type","attributes","state"]);const V=!t.isServer&&(({userAgent:e})=>/(macintosh|macintel|macppc|mac68k|macos)/i.test(e))(navigator),U=!t.isServer&&(({userAgent:e})=>/(win32|win64|windows)/i.test(e))(navigator),z=!t.isServer&&(({userAgent:e})=>/(iphone|ipad|ipod)/i.test(e))(navigator),H=!t.isServer&&(({userAgent:e})=>/android/i.test(e))(navigator),q=["1","2","3","4","5","6"];function G(e){return null!=e&&""!==e&&(isFinite(e)||o.isValidISODateTimeString(e))}function K(e){return null!=e&&""!==e&&isFinite(e)&&Math.abs(e)<=90}function Z(e){return null!=e&&""!==e&&isFinite(e)&&Math.abs(e)<=180}function W(e){const t={weekday:e.weekday,era:e.era,year:e.year,month:e.month,day:e.day,hour:e.hour,hourCycle:void 0,hour12:void 0,minute:e.minute,second:e.second,timeZoneName:e.timeZoneName,timeZone:e.timeZone},{hour12:n}=e;return e._hour12Set&&(!1===n?t.hourCycle="h23":t.hour12=n),t}const Y=/^#[0-9abcdef]{6}$/i;let J;const Q=s.registerComponent(class{constructor(){this._observers=void 0,this._observers=[]}subscribe(e){const t=e=>this._observers=this._observers.filter(t=>t!==e);return this._observers.push(e),()=>t(e)}notify(e){this._observers.forEach(t=>t(e))}},{tmpl:void 0,sel:"lightning-utils-private",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0}),X=/^LIGHTNING/i,ee=/-\w/g;function te(e){return e[1].toUpperCase()}function ne(e,t){return Object.getPrototypeOf(e)===t.prototype}function re(e){return null==e}function ie(e){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")}const oe={FIRST:"first",MIDDLE:"middle",LAST:"last",ONLY:"only"};const{hasOwn:se}=Object,{hasOwnProperty:ae}=Object.prototype,ue="function"==typeof se?se:function(e,t){return ae.call(e,t)};e.ARIA=m,e.ARIA_TO_CAMEL=p,e.ArraySlice=D,e.BUTTON_GROUP_ORDER=oe,e.EventEmitter=class{constructor(){this.registry=void 0,this.registry={}}on(e,t){return this.registry[e]=this.registry[e]||[],this.registry[e].push(t),this}once(e,t){const n=(...r)=>{t(...r),this.removeListener(e,n)};return this.on(e,n),this}emit(e,...t){const n=this.registry[e];let r=0;if(n)for(let e=0,{length:i}=n;e<i;e+=1)r+=1,n[e](...t);return r>0}removeListener(e,t){const n=this.registry[e];if(n)for(let e=0,r=n.length;e<r;e+=1)if(n[e]===t)return n.splice(e,1),this;return this}},e.FALLBACK_URL=S,e.Observable=Q,e.VALID_HEADING_LEVELS=q,e.animationFrame=function(){return new Promise(e=>{window.requestAnimationFrame(e)})},e.arraysEqual=function e(t,n){if(!t||!n)return!1;if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r]instanceof Array&&n[r]instanceof Array){if(!e(t[r],n[r]))return!1}else if(t[r]!==n[r])return!1;return!0},e.assert=function(e,t){},e.buttonGroupOrderClass=function(e){return{[oe.FIRST]:"slds-button_first",[oe.MIDDLE]:"slds-button_middle",[oe.LAST]:"slds-button_last",[oe.ONLY]:"single-button"}[e]},e.classListMutation=function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n[r];r<i;r+=1){const i=n[r];"string"==typeof i&&i.length>0&&(t[i]?e.add(i):e.remove(i))}},e.classSetToString=function(e){let t="";const n=Object.keys(e);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r];e[i]&&(t+=(t.length?" ":"")+i)}return t},e.computeAriaInvalid=function(e,t,n){return void 0!==n?n:null==t||""===t?!!e||void 0:!!e},e.decorateInputForDragon=function(e){const t=ie(e);Object.defineProperty(e,"value",{set(e){t?.set?.call(this,e),this.dispatchEvent(new CustomEvent("input"))},get:t.get,enumerable:!0,configurable:!0})},e.deepCopy=function e(t,n=!0){if(Object(t)!==t)return t;if(t instanceof Set)return new Set(t);if(t instanceof Date)return new Date(t);if("function"==typeof t)return n?t.bind({}):()=>{};if(Array.isArray(t)){const r=[],i=t.length;for(let o=0;o<i;o++)r.push(e(t[o],n));return r}const r=Object.create({});let i=Object.keys(t);t instanceof Error&&(i=Object.getOwnPropertyNames(t));const o=i.length;for(let s=0;s<o;s++){const o=i[s];r[o]=e(t[o],n)}return r},e.escapeHTML=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},e.getActiveTooltip=function(){return J},e.getRealDOMId=function(e){return"string"==typeof e?e.length>0?e:null:"object"==typeof e&&null!==e?e.getAttribute("id"):null},e.getShadowActiveElement=function(){let e=document.activeElement;for(;e?.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e},e.getShadowActiveElements=function(){let e=document.activeElement;const t=[];for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)t.push(e),e=e.shadowRoot.activeElement;return e&&t.push(e),t},e.getZIndexBaseline=function(){const e=t.isServer?9e3.toString():(window.getComputedStyle(document.documentElement)||document.documentElement.style).getPropertyValue("--lwc-zIndexModal"),n=parseInt(e,10);return isNaN(n)?9100:n+100},e.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},e.hasActiveTooltip=function(){return!!J},e.hasAnimation=function(){if(!t.isServer){if(!window.matchMedia)return!0;const e=window.matchMedia("(prefers-reduced-motion: reduce)");return!(!e||e.matches)}return!1},e.hasOnlyAllowedVideoIframes=function(e){if(e&&e.indexOf("<iframe")>-1){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.prototype.slice.call(t.querySelectorAll("iframe"));return n.length>0&&!n.some(e=>!function(e){const t=document.createElement("a");if(t.href=e,"https:"!==t.protocol)return!1;if("vimeo.com"===t.hostname){const e=/^\/showcase\/\d+\/embed$/;return null!==t.pathname.match(e)}if("www.my.salesforce-sites.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.my\.salesforce-sites\.com$/))return!0;
345if(t.hostname.match(/^[\w-]+\.sandbox\.my\.salesforce-sites\.com$/))return!0;if("www.lightning.force.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.lightning\.force\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.lightning\.force\.com$/))return!0;if("www.my.site.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.my\.site\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.my\.site\.com$/))return!0;return T.has(t.hostname)}(e.src))}return!1},e.hasOwn=ue,e.hasOwnProperties=function(e){for(const t in e)if(ue(e,t))return!0;return!1},e.isAndroidOS=H,e.isAriaDescriptionSupported=function(){if(null!==g)return g;const e="test ability to set";try{const t=document.createElement("span");t.ariaDescription=e;const n=t.getAttribute(m.DESCRIPTION);g=e===n}catch(e){g=!1}return g},e.isBubblingFocusEvent=function(e){return e instanceof FocusEvent&&["focus","blur"].includes(e.type)},e.isChrome=C,e.isDesktopBrowser=function(){return"Large"===u.default},e.isHeadingLevelValid=function(e){return("string"==typeof e||"number"==typeof e)&&q.includes(e.toString())},e.isIE11=L,e.isMacOS=V,e.isNativeComponent=function(e){return e?.template&&!e.template.synthetic},e.isNotUndefinedOrNull=function(e){return!re(e)},e.isProductionEnv=()=>!0,e.isRTL=function(){return!t.isServer&&"rtl"===document.dir},e.isSafari=I,e.isShiftMetaOrControlKey=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},e.isTextIgnoreRTL=function(e){return"string"==typeof e&&""!==e&&Y.test(e)},e.isUndefinedOrNull=re,e.isValidDate=G,e.isValidLatitude=K,e.isValidLongitude=Z,e.isValidPageReference=function(e){return e&&e.type&&"string"==typeof e.type&&e.attributes&&"object"==typeof e.attributes&&Object.keys(e).every(e=>B.has(e))},e.isValidPhone=function(e){return"string"==typeof e&&""!==e},e.isWindowsOS=U,e.isiOS=z,e.keyCodes={tab:9,backspace:8,enter:13,escape:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46,shift:16},e.makeEverythingExceptElementInert=function(e){const t=[];let n=e,r=n.parentNode instanceof ShadowRoot?n.parentNode.host:n.parentNode;for(;null!=r;)if(r.nodeType===Node.ELEMENT_NODE){let e=r.firstChild;for(null===e&&r.shadowRoot&&(e=r.shadowRoot.firstChild);null!==e;)e.nodeType===Node.ELEMENT_NODE&&e!==n&&"head"!==e.localName&&(t.push({node:e,ariaHidden:e.ariaHidden}),e.ariaHidden="true"),e=e.nextSibling;n=r,r=r.parentNode}else r=r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r.parentNode;return t},e.normalizeAriaAttribute=function(e){let t=Array.isArray(e)?e:[e];return t=t.map(e=>"string"==typeof e?e.replace(/\s+/g," ").trim():"").filter(e=>!!e),t.length>0?t.join(" "):null},e.normalizeArray=function(e){return Array.isArray(e)?e:[]},e.normalizeBoolean=function(e){return"string"==typeof e||!!e},e.normalizeKeyValue=function(e){switch(e){case"Spacebar":return" ";case"Esc":return"Escape";case"Del":return"Delete";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Up":return"ArrowUp";default:return e}},e.normalizeNumber=function(e,t={}){const{fallbackValue:n,minValue:r,maxValue:i}=t,o="number"==typeof n&&n||void 0;return x(e)||!x(e)&&e<r||!x(e)&&e>i?o:1*e},e.normalizeString=function(e,t={}){const{fallbackValue:n="",validValues:r,toLowerCase:i=!0}=t;let o="string"==typeof e&&e.trim()||"";return o=i?o.toLowerCase():o,r&&-1===r.indexOf(o)&&(o=n),o},e.observePosition=function(e,t=5,n,r){const i=e.getBoundingClientRect(),o=i.left,s=i.top,a=n.left,u=n.top,c=Math.abs(o-a),l=Math.abs(s-u);(c>=t||l>=t)&&r()},e.parseToFormattedLinkifiedParts=function(e,t=!1){const n=[],r=t?$:R;let i,o=0;for(;null!==(i=r.exec(e));){let s=i[0];const a=s&&s.endsWith("&quot");i.index>0&&n.push(M(e.slice(0,i.index))),a&&(s=s.slice(0,s.lastIndexOf("&quot"))),n.push(P(s,o,t)),a&&n.push(M("&quot")),e=e.substring(r.lastIndex),r.lastIndex=0,o+=1}return null!=e&&""!==e&&n.push(M(e)),n},e.parseToFormattedParts=function(e){return e.split(_).map((e,t)=>t%2==0?M(e):j(t))},e.prototypeMatches=ne,e.raf=function(e){let t=!1;return function(n){t||requestAnimationFrame(()=>{e.call(this,n),t=!1}),t=!0}},e.reflectAttribute=function(e,t,n){e&&("string"==typeof n?e.setAttribute(t,n):!0===n?e.setAttribute(t,""):n?console.warn(`Invalid attribute value for "${t}": ${n}`):e.removeAttribute(t))},e.restoreInertness=function(e){for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t],{node:r}=n;r&&(r.ariaHidden=n.ariaHidden)}},e.runActionOnBufferedTypedCharacters=function(e,t){const n=e.key;if(n&&n.length>1)return;N._clearBufferId&&clearTimeout(N._clearBufferId),N._keyBuffer=N._keyBuffer||[],N._keyBuffer.push(n),t(N._keyBuffer.join("").toLowerCase()),N._clearBufferId=setTimeout(()=>{N._keyBuffer=[]},700)},e.sanitizeURL=function(e){if(e){return(t=e,t.replace(O,(e,t)=>String.fromCharCode(t))).replace(E,"").replace(F,"").trim().match(A)?S:e}var t;return S},e.setActiveTooltip=function(e){J=e},e.setDecoratedDragonInputValueWithoutEvent=function(e,t){ie(e).set.call(e,t)},e.setRangeText=l,e.synchronizeAttrs=function(e,t){e&&(X.test(e.tagName)?function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r],o=t[i];e[i.replace(ee,te)]=o||null}}(e,t):function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r],o=t[i];o?e.setAttribute(i,o):e.removeAttribute(i)}}(e,t))},e.timeout=function(e){return new Promise(t=>{setTimeout(t,e)})},e.toDateTimeFormatOptions=W,e.toFormattedDate=function(e,t){const{value:n}=e;if(G(n)){const r=t(W(e),e.dateStyle).format(n);if(r)return r}return n&&console.warn(`<lightning-formatted-date-time> The value attribute accepts either a Date object, a timestamp, or a valid ISO8601 formatted string with timezone offset. but we are getting the ${typeof n} value "${n}" instead.`),""},e.toFormattedLocation=function(e){const{latitude:t,longitude:n}=e;return K(t)&&Z(n)?`${t}, ${n}`:(console.warn("<lightning-formatted-location> expects latitude in range [-90.0, 90.0], longitude in range [-180.0, 180.0]."),"")},e.toFormattedNumber=function(e,t){const{value:n}=e;if(null!=n&&""!==n&&isFinite(n)){const{formatStyle:r}=e,i={style:r,currency:e.currencyCode,currencyDisplay:e.currencyDisplayAs,minimumIntegerDigits:e.minimumIntegerDigits,minimumFractionDigits:e.minimumFractionDigits,maximumFractionDigits:e.maximumFractionDigits,minimumSignificantDigits:e.minimumSignificantDigits,maximumSignificantDigits:e.maximumSignificantDigits},o=String(n);let s=o;return"percent-fixed"===r&&(i.style="percent",s=parseFloat(n)/100,o.indexOf(".")>0&&o.indexOf("e")<0&&(s=s.toFixed(o.split(".")[1].length+2))),t(i).format(s)}return""},e.toNorthAmericanPhoneNumber=function(e,t){return function(e){const t=function(e){if(!e)return null;const[,t]=e.split("-");return t}(e);if("US"===t||"CA"===t)return!0;return!1}(t||c.default)?y.test(e)?e.replace(w,h):b.test(e)?e.replace(v,h):e||"":e},e.updateAriaInvalidOnElement=function(e,t){t?e.setAttribute("aria-invalid","true"):e.removeAttribute("aria-invalid")},e.valueSetter=function(e,t=[],n){if(!e||"string"!=typeof e.tagName)return;const r=e=>/^[a-z][-_.\w]*-[-.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u37D0\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u10000-\uEFFFF]*$/.test(e);
345if(r(e.tagName.toLowerCase()))e.value=n;else if(r(e.tagName.toLowerCase()))e.value=n;else for(const r of t)if(e instanceof r&&ne(e,r)&&!i(e,"value")){e.value=n;break}function i(e,t){const n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t),r=Object.getOwnPropertyDescriptor(e,t);return r&&r.set!==n?.set}},Object.defineProperty(e,"__esModule",{value:!0})});
346})();(function() { LWR.define("lightning/iconUtils",["exports","lightning/configProvider"],function(r,e){const t={standard:{header_discounts:"rgb(92, 92, 92)",contact:"rgb(150, 2, 199)",prep_flow:"rgb(255, 83, 138)",crypto_transaction:"rgb(255, 93, 45)",multi_select_checkbox:"rgb(147, 147, 147)",work_order:"rgb(6, 165, 154)",post:"rgb(27, 150, 255)",global_constant:"rgb(16, 124, 173)",change_request:"rgb(5, 103, 100)",indicator_performance_period:"rgb(3, 45, 96)",eval_result:"rgb(144, 80, 233)",data_cloud:"rgb(90, 27, 169)",carousel:"rgb(59, 167, 85)",account_score:"rgb(88, 103, 232)",ai_slack_summary:"rgb(255, 93, 45)",submit_for_approval:"rgb(3, 45, 96)",work_contract:"rgb(27, 150, 255)",impact_strategy_assignment:"rgb(6, 165, 154)",resource_skill:"rgb(59, 167, 85)",system_and_global_variable:"rgb(16, 124, 173)",segments:"rgb(255, 93, 45)",account_info:"rgb(88, 103, 232)",prompt_builder:"rgb(47, 44, 183)",goals:"rgb(27, 150, 255)",tour_check:"rgb(144, 80, 233)",adjust_value:"rgb(59, 167, 85)",case_wrap_up:"rgb(255, 93, 45)",investment_account:"rgb(59, 167, 85)",store:"rgb(57, 101, 71)",slider:"rgb(147, 147, 147)",output:"rgb(16, 124, 173)",medication_ingredient:"rgb(6, 165, 154)",store_group:"rgb(27, 150, 255)",all:"rgb(16, 124, 173)",service_territory_policy:"rgb(27, 150, 255)",slack_conversations:"rgb(72, 26, 84)",picklist_choice:"rgb(16, 124, 173)",choice:"rgb(16, 124, 173)",funding_requirement:"rgb(57, 101, 71)",your_account:"rgb(1, 68, 134)",app:"rgb(255, 93, 45)",default:"rgb(147, 147, 147)",case_milestone:"rgb(255, 93, 45)",operation_plan:"rgb(90, 27, 169)",today:"rgb(255, 83, 138)",buyer_account:"rgb(57, 101, 71)",lead_list:"rgb(255, 93, 45)",it_service_management:"rgb(182, 5, 84)",list_rate:"rgb(57, 101, 71)",work_plan_template:"rgb(6, 165, 154)",program_site:"rgb(144, 80, 233)",tableau:"rgb(15, 30, 60)",shift:"rgb(255, 83, 138)",people_score:"rgb(88, 103, 232)",product_item_transaction:"rgb(255, 93, 45)",person_language:"rgb(6, 165, 154)",apex:"rgb(3, 45, 96)",reply_text:"rgb(255, 83, 138)",answer_private:"rgb(255, 93, 45)",immunization:"rgb(255, 83, 138)",asset_downtime_period:"rgb(16, 124, 173)","opportunity_contact role":"rgb(88, 103, 232)",retail_banking_console:"rgb(6, 165, 154)",channel_program_members:"rgb(6, 165, 154)",apps_admin:"rgb(88, 103, 232)",metric_definition:"rgb(16, 124, 173)",usage_entitlement_entry:"rgb(5, 103, 100)",end_call:"rgb(88, 103, 232)",datadotcom:"rgb(27, 150, 255)",settings:"rgb(57, 101, 71)",network_contract:"rgb(59, 167, 85)",crypto_transaction_envelope_item:"rgb(16, 124, 173)",product_item:"rgb(27, 150, 255)",metrics:"rgb(27, 150, 255)",topic2:"rgb(27, 150, 255)",partner_fund_allocation:"rgb(6, 165, 154)",care_request_reviewer:"rgb(59, 167, 85)",outcome_datebound:"rgb(255, 93, 45)",indicator_definition:"rgb(3, 45, 96)",crypto_transaction_envelope_change_snapshot:"rgb(203, 101, 255)",operation_plan_step_execution:"rgb(90, 27, 169)",approval:"rgb(59, 167, 85)",work_queue:"rgb(16, 124, 173)",business_unit:"rgb(88, 103, 232)",changes:"rgb(6, 165, 154)",iot_orchestrations:"rgb(16, 124, 173)",visualforce_page:"rgb(255, 93, 45)",person_account:"rgb(88, 103, 232)",entity:"rgb(255, 93, 45)",dynamic_highlights_panel:"rgb(59, 167, 85)",service_territory_location:"rgb(88, 103, 232)",qualifications:"rgb(57, 101, 71)",document_preview:"rgb(182, 5, 84)",tax_treatment:"rgb(57, 101, 71)",entitlement_policy:"rgb(57, 101, 71)",form:"rgb(59, 167, 85)",query_editor:"rgb(126, 38, 0)",hierarchy_table:"rgb(255, 93, 45)",visualization:"rgb(27, 150, 255)",similar_case:"rgb(144, 80, 233)",products:"rgb(90, 27, 169)",prompt:"rgb(6, 165, 154)",order_item:"rgb(27, 150, 255)",read_receipts:"rgb(59, 167, 85)",outcome_timebound:"rgb(255, 93, 45)",javascript_button:"rgb(255, 93, 45)",maintenance_asset:"rgb(16, 124, 173)",work_plan_rule:"rgb(6, 165, 154)",loop:"rgb(221, 122, 1)",portal_roles_and_subordinates:"rgb(27, 150, 255)",work_capacity_limit:"rgb(16, 124, 173)",employee_organization:"rgb(27, 150, 255)",workforce_engagement:"rgb(182, 5, 84)",constant:"rgb(16, 124, 173)",marketing_actions:"rgb(59, 167, 85)",record_companion_agent:"rgb(3, 45, 96)",calculated_dimension:"rgb(27, 150, 255)",case_transcript:"rgb(255, 93, 45)",list_fee:"rgb(47, 44, 183)",timesheet_entry:"rgb(59, 167, 85)",key_dates:"rgb(27, 150, 255)",multi_picklist:"rgb(147, 147, 147)",facility_bed:"rgb(255, 83, 138)",product_workspace:"rgb(57, 101, 71)",visit_templates:"rgb(27, 150, 255)",restriction_policy:"rgb(27, 150, 255)",task:"rgb(59, 167, 85)",scheduling_workspace_territory:"rgb(255, 83, 138)",answer_best:"rgb(255, 93, 45)",agent_astro:"rgb(3, 45, 96)",attach:"rgb(144, 80, 233)",asset_action:"rgb(16, 124, 173)",ad_event_party:"rgb(182, 5, 84)",section:"rgb(147, 147, 147)",service_request:"rgb(27, 150, 255)",orders:"rgb(27, 150, 255)",propagation_policy:"rgb(27, 150, 255)",budget:"rgb(16, 124, 173)",report_type:"rgb(59, 167, 85)",past_chat:"rgb(255, 93, 45)",crypto_transaction_envelope_
346change_log:"rgb(8, 73, 104)",feedback:"rgb(27, 150, 255)",action_list_component:"rgb(16, 124, 173)",opportunity_splits:"rgb(255, 93, 45)",location_permit:"rgb(6, 165, 154)",app_form_product_participant:"rgb(126, 38, 0)",messaging_user:"rgb(6, 165, 154)",filter_criteria:"rgb(16, 124, 173)",tax_policy:"rgb(57, 101, 71)",trailhead:"rgb(3, 45, 96)",entitlements:"rgb(144, 80, 233)",checkout:"rgb(57, 101, 71)",formula:"rgb(16, 124, 173)",case_log_a_call:"rgb(255, 93, 45)",shift_pattern_entry:"rgb(255, 83, 138)",thanks_loading:"rgb(147, 147, 147)",job_family:"rgb(27, 150, 255)",service_appointment_capacity_usage:"rgb(16, 124, 173)",inbox:"rgb(16, 124, 173)",channel_program_levels:"rgb(6, 165, 154)",member_period:"rgb(144, 80, 233)",letterhead:"rgb(27, 150, 255)",promotions_workspace:"rgb(57, 101, 71)",nft_settings:"rgb(255, 83, 138)",asset_hierarchy:"rgb(16, 124, 173)",email_chatter:"rgb(255, 93, 45)",custody_chain_entry:"rgb(6, 165, 154)",document_reference:"rgb(16, 124, 173)",announcement:"rgb(27, 150, 255)",field_sales:"rgb(144, 80, 233)",bot:"rgb(16, 124, 173)",secondary_index:"rgb(16, 124, 173)",macros:"rgb(6, 165, 154)",dashboard_ea:"rgb(88, 103, 232)",job_profile:"rgb(255, 83, 138)",steps:"rgb(16, 124, 173)",snippet_alt:"rgb(16, 124, 173)",asset_relationship:"rgb(255, 93, 45)",high_velocity_sales:"rgb(6, 165, 154)",brand:"rgb(88, 103, 232)",ad_event_cause:"rgb(182, 5, 84)",collection_alt:"rgb(126, 38, 0)",historical_adherence:"rgb(6, 165, 154)",visits:"rgb(27, 150, 255)",einstein_replies:"rgb(255, 83, 138)",coaching:"rgb(255, 83, 138)",record_lookup:"rgb(255, 83, 138)",product_service_campaign_item:"rgb(16, 124, 173)",scheduling_constraint:"rgb(255, 83, 138)",disease_definition_criteria:"rgb(255, 93, 45)",lightning_component:"rgb(147, 147, 147)",mcp_server:"rgb(88, 103, 232)",search:"rgb(27, 150, 255)",connected_apps:"rgb(88, 103, 232)",swarm_request:"rgb(255, 83, 138)",usage_summary:"rgb(6, 165, 154)",work_type_group:"rgb(16, 124, 173)",usage_ratable_summary:"rgb(47, 44, 183)",education:"rgb(27, 150, 255)",work_type:"rgb(16, 124, 173)",travel_mode:"rgb(59, 167, 85)",environment_hub:"rgb(16, 124, 173)",identifier:"rgb(255, 93, 45)",cms:"rgb(59, 167, 85)",study:"rgb(47, 44, 183)",call_coaching:"rgb(27, 150, 255)",salesforce_cms:"rgb(16, 124, 173)",price_sheet:"rgb(59, 167, 85)",thanks:"rgb(255, 83, 138)",service_territory_member:"rgb(88, 103, 232)",work_forecast:"rgb(255, 93, 45)",crypto_product_category_wallet_role:"rgb(5, 103, 100)",program_cohort_member:"rgb(27, 150, 255)",holiday_operating_hours:"rgb(27, 150, 255)",uploaded_model:"rgb(6, 165, 154)",user_role:"rgb(59, 167, 85)",observation_component:"rgb(88, 103, 232)",orchestrator:"rgb(16, 124, 173)",work_capacity_usage:"rgb(16, 124, 173)",record_create:"rgb(255, 83, 138)",campaign_members:"rgb(255, 93, 45)",retail_banking:"rgb(6, 165, 154)",rcs_message:"rgb(59, 167, 85)",product_service_campaign:"rgb(16, 124, 173)",portal_roles:"rgb(255, 93, 45)",operation_plan_step:"rgb(90, 27, 169)",calibration:"rgb(6, 165, 154)",answer_public:"rgb(255, 93, 45)",robot:"rgb(47, 44, 183)",display_text:"rgb(147, 147, 147)",product_consumed_state:"rgb(6, 165, 154)",budget_category_value:"rgb(27, 150, 255)",scheduling_workspace:"rgb(255, 83, 138)",unmatched:"rgb(27, 150, 255)",partners:"rgb(6, 165, 154)",email_iq:"rgb(88, 103, 232)",mulesoft:"rgb(27, 150, 255)",service_crew:"rgb(255, 93, 45)",payment_gateway:"rgb(5, 103, 100)",voice_call:"rgb(59, 167, 85)",cancel_checkout:"rgb(147, 147, 147)",asset_warranty:"rgb(16, 124, 173)",resource_capacity:"rgb(59, 167, 85)",repeaters:"rgb(6, 165, 154)",setup_modal:"rgb(16, 124, 173)",channel_programs:"rgb(6, 165, 154)",quip:"rgb(255, 93, 45)",quip_sheet:"rgb(59, 167, 85)",timeslot:"rgb(255, 93, 45)",enrollee_status:"rgb(144, 80, 233)",live_chat:"rgb(255, 93, 45)",service_request_detail:"rgb(6, 165, 154)",med_rec_statement_recommendation:"rgb(88, 103, 232)",job_position:"rgb(27, 150, 255)",reset_password:"rgb(147, 147, 147)",sobject_collection:"rgb(16, 124, 173)",user:"rgb(16, 124, 173)",client:"rgb(6, 165, 154)",screen:"rgb(27, 150, 255)",portal:"rgb(59, 167, 85)",in_app_messaging:"rgb(203, 101, 255)",partner_fund_request:"rgb(6, 165, 154)",asset_audit:"rgb(144, 80, 233)",prospect:"rgb(6, 165, 154)",resource_preference:"rgb(59, 167, 85)",record_consent:"rgb(255, 83, 138)",first_non_empty:"rgb(255, 83, 138)",rate_adjustment:"rgb(182, 5, 84)",impact_strategy:"rgb(6, 165, 154)",customer_360:"rgb(3, 45, 96)",employee_job:"rgb(27, 150, 255)",program_detail:"rgb(144, 80, 233)",resource_absence:"rgb(59, 167, 85)",registered_model:"rgb(59, 167, 85)",panel_detail:"rgb(8, 73, 104)",text_template:"rgb(16, 124, 173)",entitlement_template:"rgb(88, 103, 232)",lightning_usage:"rgb(88, 103, 232)",volume_discounts:"rgb(255, 93, 45)",indicator_result:"rgb(3, 45, 96)",product_transfer_state:"rgb(255, 93, 45)",tabset:"rgb(126, 38, 0)",medication_dispense:"rgb(27, 150, 255)",entitlement:"rgb(88, 103, 232)",empty:"rgb(147, 147, 147)",text:"rgb(147, 147, 147)",delegated_account:"rgb(57, 101, 71)",fulfillment_order:"rgb(147, 147, 147)",case_email:"rgb(255, 93, 45)",send_log:"rgb(147, 147, 147)",dx_pipeline:"rgb(255, 93, 45)",account:"rgb(88, 103, 232)",program_status:"rgb(144, 80, 233)",study_candidate:"rgb(47, 44, 183)",coupon_codes:"rgb(57, 101, 71)",adverse_event:"rgb(182, 5, 84)",assignment:"rgb(221, 122, 1)",wealth_management_c
346onsole:"rgb(6, 165, 154)",task2:"rgb(59, 167, 85)",patient_medication_dosage:"rgb(6, 165, 154)",code_playground:"rgb(16, 124, 173)",social:"rgb(255, 83, 138)",transaction_usage_entitlement:"rgb(255, 83, 138)",endorsement:"rgb(88, 103, 232)",folder:"rgb(88, 103, 232)",service_crew_member:"rgb(88, 103, 232)",variation_attribute_setup:"rgb(57, 101, 71)",real_time:"rgb(255, 93, 45)",connect_wallet:"rgb(182, 5, 84)",flow:"rgb(3, 45, 96)",recipe:"rgb(16, 124, 173)",expense_report_entry:"rgb(47, 44, 183)",employee:"rgb(27, 150, 255)",omni_supervisor:"rgb(88, 103, 232)",capacity_plan:"rgb(255, 83, 138)",asset_object:"rgb(16, 124, 173)",table:"rgb(255, 93, 45)",medication_administration:"rgb(57, 101, 71)",sub_metric:"rgb(92, 92, 92)",product:"rgb(144, 80, 233)",ad_event_info:"rgb(182, 5, 84)",crypto_transaction_envelope:"rgb(5, 103, 100)",topic:"rgb(27, 150, 255)",product_required:"rgb(255, 83, 138)",dynamic_record_choice:"rgb(16, 124, 173)",aggregation_policy:"rgb(27, 150, 255)",warranty_term:"rgb(16, 124, 173)",process:"rgb(16, 124, 173)",swarm_session:"rgb(255, 83, 138)",people:"rgb(6, 165, 154)",medication:"rgb(59, 167, 85)",reward:"rgb(255, 83, 138)",usage_billing_period_item:"rgb(90, 27, 169)",employee_contact:"rgb(27, 150, 255)",bundle_policy:"rgb(27, 150, 255)",performance:"rgb(255, 93, 45)",promotions:"rgb(57, 101, 71)",case_comment:"rgb(255, 93, 45)",price_book_entries:"rgb(57, 101, 71)",sales_channel:"rgb(16, 124, 173)",apex_plugin:"rgb(3, 45, 96)",party_profile:"rgb(90, 27, 169)",campaign:"rgb(144, 80, 233)",contact_request:"rgb(255, 93, 45)",ad_event_factor:"rgb(182, 5, 84)",business_hours:"rgb(59, 167, 85)",metric:"rgb(3, 45, 96)",evernote:"rgb(59, 167, 85)",variation_products:"rgb(57, 101, 71)",program_cohort:"rgb(27, 150, 255)",trailhead_alt:"rgb(3, 45, 96)",custom_textbox:"rgb(88, 103, 232)",service_territory:"rgb(88, 103, 232)",customer_lifecycle_analytics:"rgb(88, 103, 232)",code_set:"rgb(16, 124, 173)",case:"rgb(255, 83, 138)",slack:"rgb(74, 21, 75)",currency:"rgb(147, 147, 147)",record:"rgb(59, 167, 85)",custom_entity:"rgb(88, 103, 232)",code_set_bundle:"rgb(16, 124, 173)",queue:"rgb(16, 124, 173)",schedule_objective:"rgb(16, 124, 173)",contract_line_item:"rgb(59, 167, 85)",skill_entity:"rgb(88, 103, 232)",funding_award_adjustment:"rgb(27, 150, 255)",skill:"rgb(255, 93, 45)",operating_hours:"rgb(27, 150, 255)",crypto_product:"rgb(144, 80, 233)",taxonomy:"rgb(27, 150, 255)",ad_event_outcome:"rgb(182, 5, 84)",operation_plan_request:"rgb(90, 27, 169)",custom:"rgb(147, 147, 147)",shift_ui:"rgb(182, 5, 84)",related_list:"rgb(6, 165, 154)",bot_training:"rgb(16, 124, 173)",life_sciences:"rgb(150, 2, 199)",case_change_status:"rgb(255, 93, 45)",insurance_console:"rgb(6, 165, 154)",dashboard_component:"rgb(88, 103, 232)",incident:"rgb(182, 5, 84)",inspector_brief:"rgb(59, 167, 85)",contract:"rgb(57, 101, 71)",policy:"rgb(6, 165, 154)",sobject:"rgb(147, 147, 147)",ad_event_effect:"rgb(182, 5, 84)",whatsapp:"rgb(59, 167, 85)",sales_cadence_target:"rgb(16, 124, 173)",photo:"rgb(147, 147, 147)",apps:"rgb(27, 150, 255)",timesheet:"rgb(88, 103, 232)",drafts:"rgb(27, 150, 255)",outcome:"rgb(255, 93, 45)",discounts:"rgb(57, 101, 71)",work_order_item:"rgb(27, 150, 255)",pricebook:"rgb(144, 80, 233)",scan_card:"rgb(255, 93, 45)",note:"rgb(182, 5, 84)",serialized_product_transaction:"rgb(27, 150, 255)",shift_pattern:"rgb(255, 83, 138)",buyer_group:"rgb(57, 101, 71)",price_adjustment_schedule:"rgb(255, 83, 138)",product_quantity_rules:"rgb(57, 101, 71)",medication_reconciliation:"rgb(16, 124, 173)",procedure:"rgb(27, 150, 255)",opportunity:"rgb(255, 93, 45)",news:"rgb(88, 103, 232)",sort_policy:"rgb(27, 150, 255)",display_rich_text:"rgb(147, 147, 147)",strategy:"rgb(59, 167, 85)",time_period:"rgb(3, 45, 96)",call_history:"rgb(255, 93, 45)",webcart:"rgb(57, 101, 71)",serialized_product:"rgb(27, 150, 255)",tax_rate:"rgb(57, 101, 71)",report:"rgb(6, 165, 154)",customer_workspace:"rgb(57, 101, 71)",groups:"rgb(27, 150, 255)",disease_outbreak:"rgb(255, 83, 138)",data_model:"rgb(255, 83, 138)",dashboard:"rgb(47, 44, 183)",generic_loading:"rgb(147, 147, 147)",replace:"rgb(147, 147, 147)",play:"rgb(27, 150, 255)",number_input:"rgb(147, 147, 147)",toggle:"rgb(147, 147, 147)",address:"rgb(59, 167, 85)",price_books:"rgb(57, 101, 71)",entity_milestone:"rgb(255, 93, 45)",contract_line_outcome:"rgb(57, 101, 71)",wealth_management:"rgb(6, 165, 154)",customers:"rgb(6, 165, 154)",disclosure_and_compliance:"rgb(6, 165, 154)",workspace:"rgb(255, 93, 45)",story:"rgb(16, 124, 173)",service_appointment:"rgb(88, 103, 232)",maintenance_plan:"rgb(16, 124, 173)",contract_line_outcome_data:"rgb(57, 101, 71)",data_integration_hub:"rgb(16, 124, 173)",person_name:"rgb(88, 103, 232)",work_plan_template_entry:"rgb(6, 165, 154)",hierarchy:"rgb(6, 165, 154)",custom_component_task:"rgb(88, 103, 232)",partner_marketing_budget:"rgb(6, 165, 154)",asset_action_source:"rgb(16, 124, 173)",skill_requirement:"rgb(255, 93, 45)",filter_criteria_rule:"rgb(16, 124, 173)",study_related:"rgb(47, 44, 183)",no_code_model:"rgb(27, 150, 255)",location:"rgb(59, 167, 85)",action_override:"rgb(126, 38, 0)",promotion_tiers:"rgb(57, 101, 71)",radio_button:"rgb(147, 147, 147)",avatar_loading:"rgb(147, 147, 147)",article:"rgb(255, 93, 45)",custody_entry_verification:"rgb(6, 165, 154)",learner_program:"rgb(255, 93, 45)",invocable_action:"rgb(16, 124, 173)",device:"rgb(88, 103, 232)",app_form_participant:"rgb(5, 103, 100)",proposition:"rgb(27, 150, 255)",snippets:"rgb(6, 165, 154)",customer_portal_users:"rgb(27, 150, 255)",cost_model:"rgb(3, 45, 96)",path_experiment:"rgb(221, 122, 1)",actions_and_buttons:"rgb(255, 93, 45)",record_update:"rgb(255, 83, 138)",shift_type:"rgb(255, 83, 138)",water:"rgb(88, 103, 232)",log_a_call:"rgb(6, 165, 154)",crypto_wallet:"rgb(57, 101, 71)",crypto_wallet_group:"rgb(16, 124, 173)",quotes:"rgb(59, 167, 85)",data_governance:"rgb(57, 101, 71)",ad_event_action:"rgb(182, 5, 84)",question_feed:"rgb(255, 93, 45)",attribute_based_pricing:"rgb(182, 5, 84)",walkthroughs:"rgb(6, 165, 154)",kanban:"rgb(27, 150, 255)",work_plan:"rgb(6, 165, 154)",shift_template:"rgb(255, 83, 138)",merge:"rgb(255, 93, 45)",entity_milestone_time:"rgb(255, 93, 45)",expense:"rgb(47, 44, 183)",dataset:"rgb(144, 80, 233)",work_summary:"rgb(182, 5, 84)",shift_preference:"rgb(255, 83, 138)",product_consumed:"rgb(6, 165, 154)",canvas:"rgb(147, 147, 147)",bundles_pricing:"rgb(27, 150, 255)",forecasts:"rgb(59, 167, 85)",relationship:"rgb(27, 150, 255)",tour:"rgb(144, 80, 233)",service_resource:"rgb(88, 103, 232)",filter:"rgb(47, 44, 183)",
346sales_path:"rgb(16, 124, 173)",shift_scheduling_operation:"rgb(255, 83, 138)",data_graph:"rgb(6, 165, 154)",data_lake_objects:"rgb(90, 27, 169)",entity_milestone_date:"rgb(255, 93, 45)",events:"rgb(27, 150, 255)",data_mapping:"rgb(3, 45, 96)",sms:"rgb(59, 167, 85)",impact_outcome:"rgb(6, 165, 154)",rtc_presence:"rgb(6, 165, 154)",avatar:"rgb(27, 150, 255)",record_delete:"rgb(255, 83, 138)",solution:"rgb(59, 167, 85)",edit_form:"rgb(147, 147, 147)",nft_studio:"rgb(88, 103, 232)",manual_discounts:"rgb(16, 124, 173)",agent_home:"rgb(3, 45, 96)",linked:"rgb(6, 165, 154)",partner_fund_claim:"rgb(6, 165, 154)",individual:"rgb(27, 150, 255)",custom_notification:"rgb(27, 150, 255)",contract_payment:"rgb(144, 80, 233)",date_input:"rgb(147, 147, 147)",catalog:"rgb(57, 101, 71)",template:"rgb(27, 150, 255)",usage_entitlement_bucket:"rgb(88, 103, 232)",activation_target:"rgb(203, 101, 255)",selling_model:"rgb(144, 80, 233)",shipment:"rgb(88, 103, 232)",budget_allocation:"rgb(16, 124, 173)",custody_override:"rgb(6, 165, 154)",record_signature_task:"rgb(255, 83, 138)",event:"rgb(203, 101, 255)",
346insurance:"rgb(6, 165, 154)",live_chat_visitor:"rgb(255, 93, 45)",push:"rgb(147, 147, 147)",textarea:"rgb(147, 147, 147)",work_step:"rgb(6, 165, 154)",picklist_type:"rgb(147, 147, 147)",survey:"rgb(16, 124, 173)",operation_plan_execution:"rgb(90, 27, 169)",link:"rgb(27, 150, 255)",messaging_session:"rgb(6, 165, 154)",video:"rgb(144, 80, 233)",list_email:"rgb(147, 147, 147)",med_rec_recommendation:"rgb(6, 165, 154)",crypto_wallet_group_item:"rgb(144, 80, 233)",recycle_bin:"rgb(27, 150, 255)",document:"rgb(147, 147, 147)",map_line_item:"rgb(88, 103, 232)",product_transfer:"rgb(255, 93, 45)",database:"rgb(255, 83, 138)",instore_locations:"rgb(16, 124, 173)",billing:"rgb(255, 93, 45)",recent:"rgb(27, 150, 255)",practitioner_role:"rgb(255, 83, 138)",password:"rgb(147, 147, 147)",datashare_target:"rgb(255, 83, 138)",send_to_flow:"rgb(16, 124, 173)",expense_report:"rgb(47, 44, 183)",patient_service:"rgb(150, 2, 199)",branch_merge:"rgb(255, 83, 138)",ai_accelerator_card:"rgb(16, 124, 173)",insights:"rgb(203, 101, 255)",budget_period:"rgb(150, 2, 199)",market:"rgb(57, 101, 71)",dropbox:"rgb(27, 150, 255)",unified_health_score:"rgb(88, 103, 232)",bill_of_materials:"rgb(255, 93, 45)",calculated_insights:"rgb(27, 150, 255)",employee_job_position:"rgb(27, 150, 255)",file:"rgb(147, 147, 147)",outcome_activity:"rgb(6, 165, 154)",currency_input:"rgb(147, 147, 147)",data_transforms:"rgb(88, 103, 232)",variable:"rgb(16, 124, 173)",team_member:"rgb(255, 93, 45)",event_ext:"rgb(147, 147, 147)",pricing_workspace:"rgb(57, 101, 71)",agent_session:"rgb(255, 93, 45)",guidance_center:"rgb(88, 103, 232)",crypto_category_wallet_group:"rgb(182, 5, 84)",group_loading:"rgb(147, 147, 147)",lead:"rgb(27, 150, 255)",email:"rgb(147, 147, 147)",service_contract:"rgb(88, 103, 232)",decision:"rgb(221, 122, 1)",promotion_segments:"rgb(57, 101, 71)",duration_downscale:"rgb(27, 150, 255)",snippet:"rgb(88, 103, 232)",usage_entitlement_account:"rgb(255, 93, 45)",entitlement_process:"rgb(88, 103, 232)",price_adjustment_matrix:"rgb(6, 165, 154)",contact_list:"rgb(88, 103, 232)",planogram:"rgb(27, 150, 255)",activations:"rgb(144, 80, 233)",sparkles:"rgb(144, 80, 233)",scheduling_policy:"rgb(255, 83, 138)",channel_program_history:"rgb(6, 165, 154)",question_best:"rgb(255, 93, 45)",omni_channel:"rgb(16, 124, 173)",collection_variable:"rgb(16, 124, 173)",indicator_assignment:"rgb(3, 45, 96)",procedure_detail:"rgb(6, 165, 154)",calculated_measure:"rgb(6, 165, 154)",procedure_output_resolution:"rgb(182, 5, 84)",sales_value:"rgb(27, 150, 255)",knowledge:"rgb(203, 101, 255)",datashares:"rgb(150, 2, 199)",date_time:"rgb(147, 147, 147)",category:"rgb(57, 101, 71)",maintenance_work_rule:"rgb(16, 124, 173)",data_streams:"rgb(255, 83, 138)",textbox:"rgb(147, 147, 147)",lead_insights:"rgb(27, 150, 255)",waits:"rgb(255, 93, 45)",concur:"rgb(6, 165, 154)",feed:"rgb(8, 73, 104)",sort:"rgb(47, 44, 183)",messaging_conversation:"rgb(6, 165, 154)",service_report:"rgb(88, 103, 232)",iot_context:"rgb(16, 124, 173)",price_adjustment_tier:"rgb(3, 45, 96)",asset_state_period:"rgb(16, 124, 173)",call:"rgb(255, 93, 45)",collection:"rgb(255, 93, 45)",stage:"rgb(255, 93, 45)",sales_cadence:"rgb(16, 124, 173)",product_request_line_item:"rgb(59, 167, 85)",return_order_line_item:"rgb(6, 165, 154)",chart:"rgb(6, 165, 154)",table_code:"rgb(255, 93, 45)",customer:"rgb(57, 101, 71)",buyer_group_qualifier:"rgb(57, 101, 71)",quick_text:"rgb(27, 150, 255)",home:"rgb(255, 83, 138)",sossession:"rgb(16, 124, 173)",digital_verification_config:"rgb(47, 44, 183)",disease_investigation:"rgb(182, 5, 84)",aggregate:"rgb(27, 150, 255)",bundle_config:"rgb(27, 150, 255)",title_party:"rgb(5, 103, 100)",employee_asset:"rgb(27, 150, 255)",process_exception:"rgb(255, 93, 45)",product_warranty_term:"rgb(144, 80, 233)",problem:"rgb(255, 93, 45)",stage_collection:"rgb(255, 93, 45)",product_request:"rgb(59, 167, 85)",logging:"rgb(16, 124, 173)",digital_verification_config_group:"rgb(47, 44, 183)",assigned_resource:"rgb(59, 167, 85)",return_order:"rgb(6, 165, 154)",poll:"rgb(27, 150, 255)",household:"rgb(6, 165, 154)",work_step_template:"rgb(6, 165, 154)",medication_statement:"rgb(27, 150, 255)",labels:"rgb(59, 167, 85)"},custom:{custom110:"rgb(242, 139, 0)",custom100:"rgb(225, 93, 118)",custom111:"rgb(242, 139, 0)",custom1:"rgb(255, 123, 132)",custom101:"rgb(242, 139, 0)",custom112:"rgb(242, 139, 0)",custom2:"rgb(207, 208, 92)",custom102:"rgb(242, 139, 0)",custom113:"rgb(242, 139, 0)",custom90:"rgb(34, 164, 138)",custom3:"rgb(236, 180, 108)",custom103:"rgb(242, 139, 0)",custom80:"rgb(101, 154, 213)",custom91:"rgb(191, 123, 102)",custom4:"rgb(225, 217, 81)",custom104:"rgb(242, 139, 0)",custom70:"rgb(231, 105, 180)",custom81:"rgb(218, 98, 127)",custom92:"rgb(81, 126, 130)",custom5:"rgb(159, 219, 102)",custom105:"rgb(242, 139, 0)",custom60:"rgb(191, 90, 136)",custom71:"rgb(227, 110, 227)",custom82:"rgb(209, 91, 151)",custom93:"rgb(144, 77, 76)",custom6:"rgb(84, 196, 115)",custom106:"rgb(242, 139, 0)",custom50:"rgb(73, 188, 211)",custom61:"rgb(245, 115, 118)",custom72:"rgb(141, 155, 251)",custom83:"rgb(231, 128, 111)",custom94:"rgb(67, 156, 186)",custom7:"rgb(106, 137, 229)",custom107:"rgb(242, 139, 0)",custom40:"rgb(131, 199, 94)",custom51:"rgb(216, 199, 96)",custom62:"rgb(107, 146, 220)",custom73:"rgb(103, 158, 240)",custom84:"rgb(246, 112, 123)",custom95:"rgb(139, 207, 106)",custom8:"rgb(80, 206, 185)",custom108:"rgb(242, 139, 0)",custom30:"rgb(245, 159, 113)",custom41:"rgb(67, 181, 181)",custom52:"rgb(238, 142, 111)",custom63:"rgb(124, 207, 96)",custom74:"rgb(65, 200, 160)",custom85:"rgb(242, 104, 145)",custom96:"rgb(109, 157, 227)",custom9:"rgb(107, 158, 226)",custom109:"rgb(242, 139, 0)",custom20:"rgb(72, 199, 200)",custom31:"rgb(235, 104, 127)",custom42:"rgb(207, 208, 91)",custom53:"rgb(243, 110, 131)",custom64:"rgb(97, 143, 216)",custom75:"rgb(205, 159, 
346101)",custom86:"rgb(226, 96, 171)",custom97:"rgb(221, 96, 133)",custom10:"rgb(100, 136, 227)",custom21:"rgb(138, 122, 237)",custom32:"rgb(56, 195, 147)",custom43:"rgb(127, 147, 249)",custom54:"rgb(234, 112, 177)",custom65:"rgb(242, 121, 171)",custom76:"rgb(219, 109, 122)",custom87:"rgb(216, 118, 229)",custom98:"rgb(225, 190, 92)",custom11:"rgb(135, 132, 234)",custom22:"rgb(139, 133, 249)",custom33:"rgb(151, 207, 93)",custom44:"rgb(200, 202, 88)",custom55:"rgb(214, 110, 224)",custom66:"rgb(216, 190, 95)",custom77:"rgb(181, 93, 91)",custom88:"rgb(153, 111, 230)",custom99:"rgb(240, 133, 110)",custom12:"rgb(220, 113, 209)",custom23:"rgb(176, 112, 230)",custom34:"rgb(213, 138, 106)",custom45:"rgb(217, 88, 121)",custom56:"rgb(113, 141, 235)",custom67:"rgb(248, 125, 118)",custom78:"rgb(90, 149, 221)",custom89:"rgb(62, 153, 190)",custom13:"rgb(223, 97, 132)",custom24:"rgb(229, 103, 152)",custom35:"rgb(233, 99, 126)",custom46:"rgb(103, 165, 231)",custom57:"rgb(90, 156, 221)",custom68:"rgb(242, 105, 121)",custom79:"rgb(142, 211, 99)",custom14:"rgb(60, 194, 179)",custom25:"rgb(228, 111, 190)",custom36:"rgb(212, 114, 212)",custom47:"rgb(95, 204, 100)",custom58:"rgb(52, 181, 157)",custom69:"rgb(237, 99, 135)",custom15:"rgb(247, 126, 117)",custom26:"rgb(118, 152, 240)",custom37:"rgb(140, 137, 242)",custom48:"rgb(239, 105, 127)",custom59:"rgb(227, 208, 103)",custom16:"rgb(233, 175, 103)",custom27:"rgb(90, 176, 210)",custom38:"rgb(83, 182, 215)",custom49:"rgb(226, 92, 128)",custom17:"rgb(172, 211, 96)",custom28:"rgb(137, 192, 89)",custom39:"rgb(79, 190, 117)",custom18:"rgb(77, 202, 118)",custom29:"rgb(189, 210, 95)",custom19:"rgb(58, 190, 177)"},action:{new_custom18:"rgb(59, 167, 85)",new_custom29:"rgb(59, 167, 85)",edit_groups:"rgb(6, 165, 154)",new_custom9:"rgb(27, 150, 255)",log_a_call:"rgb(6, 165, 154)",new_custom19:"rgb(6, 165, 154)",filter:"rgb(255, 83, 138)",user_activation:"rgb(16, 124, 173)",opportunity_competitor:"rgb(255, 93, 45)",canvas:"rgb(16, 124, 173)",change_record_type:"rgb(16, 124, 173)",new_notebook:"rgb(255, 93, 45)",docusign:"rgb(27, 150, 255)",share_link:"rgb(88, 103, 232)",add_file:"rgb(88, 103, 232)",edit_relationship:"rgb(6, 165, 154)",notebook:"rgb(255, 93, 45)",new_lead:"rgb(255, 93, 45)",new_custom_object:"rgb(59, 167, 85)",new_account:"rgb(88, 103, 232)",question_post_action:"rgb(59, 167, 85)",share_file:"rgb(147, 147, 147)",default_custom_object:"rgb(16, 124, 173)",opportunity_team_member:"rgb(255, 93, 45)",add_photo_video:"rgb(6, 165, 154)",sort:"rgb(59, 167, 85)",call:"rgb(6, 165, 154)",concur:"rgb(6, 165, 154)",reject:"rgb(6, 165, 154)",share_poll:"rgb(27, 150, 255)",scan_enabled:"rgb(27, 150, 255)",following:"rgb(59, 167, 85)",defer:"rgb(255, 83, 138)",opportunity_line_item:"rgb(255, 93, 45)",social_post:"rgb(255, 83, 138)",share_post:"rgb(27, 150, 255)",view_relationship:"rgb(27, 150, 255)",adjust_value:"rgb(59, 167, 85)",upload:"rgb(16, 124, 173)",remove_relationship:"rgb(255, 83, 138)",freeze_user:"rgb(16, 124, 173)",new_person_account:"rgb(88, 103, 232)",bug:"rgb(255, 83, 138)",apex:"rgb(92, 92, 92)",new_opportunity:"rgb(255, 93, 45)",fallback:"rgb(88, 103, 232)",dial_in:"rgb(88, 103, 232)",approval:"rgb(6, 165, 154)",change_owner:"rgb(16, 124, 173)",new_task:"rgb(59, 167, 85)",priority:"rgb(255, 93, 45)",remove:"rgb(16, 124, 173)",web_link:"rgb(27, 150, 255)",leave_group:"rgb(255, 93, 45)",manage_perm_sets:"rgb(16, 124, 173)",close:"rgb(255, 83, 138)",google_news:"rgb(255, 83, 138)",announcement:"rgb(255, 93, 45)",back:"rgb(6, 165, 154)",new_custom90:"rgb(6, 165, 154)",download:"rgb(16, 124, 173)",new_custom80:"rgb(27, 150, 255)",new_custom91:"rgb(147, 147, 147)",search:"rgb(27, 150, 255)",new_event:"rgb(255, 83, 138)",new_custom70:"rgb(255, 83, 138)",new_custom81:"rgb(255, 83, 138)",new_custom92:"rgb(5, 103, 100)",refresh:"rgb(16, 124, 173)",share_thanks:"rgb(255, 83, 138)",update:"rgb(16, 124, 173)",email:"rgb(16, 124, 173)",join_group:"rgb(88, 103, 232)",new_custom60:"rgb(255, 83, 138)",new_custom71:"rgb(203, 101, 255)",new_custom82:"rgb(255, 83, 138)",new_custom93:"rgb(92, 92, 92)",edit:"rgb(6, 165, 154)",quote:"rgb(59, 167, 85)",dropbox:"rgb(27, 150, 255)",description:"rgb(59, 167, 85)",map:"rgb(27, 150, 255)",user:"rgb(27, 150, 255)",reset_password:"rgb(16, 124, 173)",new_custom50:"rgb(27, 150, 255)",new_custom61:"rgb(255, 83, 138)",new_custom72:"rgb(88, 103, 232)",new_custom83:"rgb(255, 83, 138)",new_custom94:"rgb(6, 165, 154)",clone:"rgb(27, 150, 255)",script:"rgb(16, 124, 173)",delete:"rgb(255, 83, 138)",new_custom40:"rgb(59, 167, 85)",new_custom51:"rgb(255, 93, 45)",new_custom62:"rgb(88, 103, 232)",new_custom73:"rgb(27, 150, 255)",new_custom84:"rgb(255, 83, 138)",new_custom95:"rgb(59, 167, 85)",scan_disabled:"rgb(147, 147, 147)",share:"rgb(16, 124, 173)",new_custom30:"rgb(255, 93, 45)",new_custom41:"rgb(6, 165, 154)",new_custom52:"rgb(255, 83, 138)",new_custom63:"rgb(59, 167, 85)",new_custom74:"rgb(6, 165, 154)",new_custom85:"rgb(255, 83, 138)",new_custom96:"rgb(27, 150, 255)",log_event:"rgb(27, 150, 255)",new_group:"rgb(27, 150, 255)",new_custom20:"rgb(6, 165, 154)",new_custom31:"rgb(255, 83, 138)",new_custom42:"rgb(59, 167, 85)",info:"rgb(16, 124, 173)",new_custom53:"rgb(255, 83, 138)",new_custom64:"rgb(88, 103, 232)",new_custom75:"rgb(147, 147, 147)",new_custom86:"rgb(255, 83, 138)",flow:"rgb(16, 124, 173)",new_custom97:"rgb(255, 83, 138)",submit_for_approval:"rgb(59, 167, 85)",new:"rgb(27, 150, 255)",new_campaign:"rgb(255, 93, 45)",new_custom10:"rgb(88, 103, 232)",new_custom21:"rgb(88, 103, 232)",new_custom32:"rgb(6, 165, 154)",new_custom43:"rgb(88, 103, 232)",new_custom54:"rgb(255, 83, 138)",new_custom65:"rgb(255, 83, 138)",new_custom76:"rgb(255, 83, 138)",new_custom87:"rgb(203, 101, 255)",new_custom98:"rgb(255, 93, 45)",new_case:"rgb(255, 93, 45)",new_custom100:"rgb(255, 83, 138)",new_custom1:"rgb(255, 83, 138)",new_contact:"rgb(144, 80, 233)",office_365:"rgb(255, 93, 45)",new_custom11:"rgb(88, 103, 232)",new_custom22:"rgb(88, 103, 232)",new_custom33:"rgb(59, 167, 85)",new_custom44:"rgb(59, 167, 85)",new_custom55:"rgb(203, 101, 255)",new_custom66:"rgb(255, 93, 45)",new_custom77:"rgb(255, 83, 138)",new_custom88:"rgb(144, 80, 233)",
346new_custom99:"rgb(255, 83, 138)",add_contact:"rgb(144, 80, 233)",evernote:"rgb(59, 167, 85)",new_custom2:"rgb(59, 167, 85)",lead_convert:"rgb(255, 93, 45)",new_custom12:"rgb(203, 101, 255)",new_custom23:"rgb(203, 101, 255)",new_custom34:"rgb(255, 93, 45)",new_custom45:"rgb(255, 83, 138)",new_custom56:"rgb(88, 103, 232)",new_custom67:"rgb(255, 83, 138)",recall:"rgb(8, 73, 104)",new_custom78:"rgb(27, 150, 255)",new_custom89:"rgb(16, 124, 173)",follow:"rgb(27, 150, 255)",record:"rgb(59, 167, 85)",new_custom3:"rgb(255, 93, 45)",new_note:"rgb(255, 93, 45)",new_custom13:"rgb(255, 83, 138)",new_custom24:"rgb(255, 83, 138)",new_custom35:"rgb(255, 83, 138)",new_custom46:"rgb(27, 150, 255)",new_custom57:"rgb(27, 150, 255)",new_custom68:"rgb(255, 83, 138)",new_custom79:"rgb(59, 167, 85)",new_child_case:"rgb(255, 93, 45)",new_custom4:"rgb(255, 93, 45)",new_custom14:"rgb(6, 165, 154)",new_custom25:"rgb(255, 83, 138)",new_custom36:"rgb(203, 101, 255)",new_custom47:"rgb(59, 167, 85)",new_custom58:"rgb(6, 165, 154)",new_custom69:"rgb(255, 83, 138)",new_custom5:"rgb(59, 167, 85)",goal:"rgb(27, 150, 255)",new_custom15:"rgb(255, 83, 138)",new_custom26:"rgb(88, 103, 232)",new_custom37:"rgb(88, 103, 232)",new_custom48:"rgb(255, 83, 138)",new_custom59:"rgb(255, 93, 45)",new_custom6:"rgb(59, 167, 85)",log_this_event:"rgb(255, 83, 138)",new_custom16:"rgb(255, 93, 45)",new_custom27:"rgb(27, 150, 255)",new_custom38:"rgb(27, 150, 255)",new_custom49:"rgb(255, 83, 138)",new_custom7:"rgb(88, 103, 232)",more:"rgb(27, 150, 255)",add_relationship:"rgb(27, 150, 255)",new_custom17:"rgb(59, 167, 85)",new_custom28:"rgb(59, 167, 85)",new_custom39:"rgb(59, 167, 85)",password_unlock:"rgb(16, 124, 173)",check:"rgb(16, 124, 173)",update_status:"rgb(6, 165, 154)",preview:"rgb(88, 103, 232)",new_custom8:"rgb(6, 165, 154)"}};const g=/^([a-zA-Z]+):([a-zA-Z]\w*)$/,b=/_/g;let o;const s=Object.assign(Object.create(null),{action:"lightning.actionSprite",custom:"lightning.customSprite",doctype:"lightning.doctypeSprite",standard:"lightning.standardSprite",utility:"lightning.utilitySprite"}),c=Object.assign(Object.create(null),{action:"lightning.actionSpriteRtl",custom:"lightning.customSpriteRtl",doctype:"lightning.doctypeSpriteRtl",standard:"lightning.standardSpriteRtl",utility:"lightning.utilitySpriteRtl"}),n=Object.assign(Object.create(null),{"lightning.actionSprite":"/assets/icons/action-sprite/svg/symbols.svg","lightning.actionSpriteRtl":"/assets/icons/action-sprite/svg/symbols.svg","lightning.customSprite":"/assets/icons/custom-sprite/svg/symbols.svg","lightning.customSpriteRtl":"/assets/icons/custom-sprite/svg/symbols.svg","lightning.doctypeSprite":"/assets/icons/doctype-sprite/svg/symbols.svg","lightning.doctypeSpriteRtl":"/assets/icons/doctype-sprite/svg/symbols.svg","lightning.standardSprite":"/assets/icons/standard-sprite/svg/symbols.svg","lightning.standardSpriteRtl":"/assets/icons/standard-sprite/svg/symbols.svg","lightning.utilitySprite":"/assets/icons/utility-sprite/svg/symbols.svg","lightning.utilitySpriteRtl":"/assets/icons/utility-sprite/svg/symbols.svg"}),a=(r,t)=>{const g="rtl"===t?c:s;return e.getToken(g[r])||((r,e)=>n[e[r]])(r,g)},_=r=>e=>{const t=g.exec(e);return t?t[r]:""},i=_(1),u=_(2),m=r=>g.test(r);r.computeSldsClass=r=>{if(m(r)){return`slds-icon-${i(r)}-${u(r).replace(b,"-")}`}return""},r.getCategory=i,r.getIconColor=r=>{if(m(r)){const e=i(r),g=u(r);return t[e]&&t[e][g]||null}return null},r.getIconPath=(r,t="ltr")=>{if(o=void 0!==o?o:e.getPathPrefix(),m(r)){const e=a(i(r),t);if(e)return`${o}${e}#${u(r)}`}return""},r.getName=u,r.isValidName=m,r.polyfill=function(){},Object.defineProperty(r,"__esModule",{value:!0})});
347})();(function() { LWR.define("lightning/sldsUtilsMargin",["exports"],function(a){var d=[function(a,d,s){var e=a?"["+a+"]":"",r=a?"["+a+"-host]":"";return[d?":host([data-render-mode='shadow']) .slds-m-top_none"+e+",:host([data-render-mode='shadow'].slds-m-top_none) {":r+"[data-render-mode='shadow'] .slds-m-top_none"+e+","+r+".slds-m-top_none[data-render-mode='shadow'] {","margin-top: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-top_xxx-small":r+"[data-render-mode='shadow'] .slds-m-top_xxx-small",e," {margin-block-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-top_xx-small":r+"[data-render-mode='shadow'] .slds-m-top_xx-small",e," {margin-block-start: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-top_x-small":r+"[data-render-mode='shadow'] .slds-m-top_x-small",e," {margin-block-start: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-top_small":r+"[data-render-mode='shadow'] .slds-m-top_small",e," {margin-block-start: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-top_medium":r+"[data-render-mode='shadow'] .slds-m-top_medium",e," {margin-block-start: var(--slds-g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-top_large":r+"[data-render-mode='shadow'] .slds-m-top_large",e," {margin-block-start: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-top_x-large":r+"[data-render-mode='shadow'] .slds-m-top_x-large",e," {margin-block-start: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-top_xx-large":r+"[data-render-mode='shadow'] .slds-m-top_xx-large",e," {margin-block-start: var(--slds-g-spacing-8, 3rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_none":r+"[data-render-mode='shadow'] .slds-m-right_none",e," {margin-inline-end: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-right_xxx-small":r+"[data-render-mode='shadow'] .slds-m-right_xxx-small",e," {margin-inline-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-right_xx-small"+e+",:host([data-render-mode='shadow'].slds-m-right_xx-small) {":r+"[data-render-mode='shadow'] .slds-m-right_xx-small"+e+","+r+".slds-m-right_xx-small[data-render-mode='shadow'] {","margin-inline-end: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_x-small"+e+",:host([data-render-mode='shadow'].slds-m-right_x-small) {":r+"[data-render-mode='shadow'] .slds-m-right_x-small"+e+","+r+".slds-m-right_x-small[data-render-mode='shadow'] {","margin-inline-end: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_small"+e+",:host([data-render-mode='shadow'].slds-m-right_small) {":r+"[data-render-mode='shadow'] .slds-m-right_small"+e+","+r+".slds-m-right_small[data-render-mode='shadow'] {","margin-inline-end: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_medium":r+"[data-render-mode='shadow'] .slds-m-right_medium",e," {margin-inline-end: var(--slds-g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_large":r+"[data-render-mode='shadow'] .slds-m-right_large",e," {margin-inline-end: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_x-large":r+"[data-render-mode='shadow'] .slds-m-right_x-large",e," {margin-inline-end: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-right_xx-large":r+"[data-render-mode='shadow'] .slds-m-right_xx-large",e," {margin-inline-end: var(--slds-g-spacing-8, 3rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_none"+e+",:host([data-render-mode='shadow'].slds-m-bottom_none) {":r+"[data-render-mode='shadow'] .slds-m-bottom_none"+e+","+r+".slds-m-bottom_none[data-render-mode='shadow'] {","margin-block-end: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-bottom_xxx-small":r+"[data-render-mode='shadow'] .slds-m-bottom_xxx-small",e," {margin-block-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_xx-small":r+"[data-render-mode='shadow'] .slds-m-bottom_xx-small",e," {margin-block-end: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_x-small":r+"[data-render-mode='shadow'] .slds-m-bottom_x-small",e," {margin-block-end: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_small":r+"[data-render-mode='shadow'] .slds-m-bottom_small",e," {margin-block-end: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_medium":r+"[data-render-mode='shadow'] .slds-m-bottom_medium",e," {margin-block-end: var(--slds-g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_large":r+"[data-render-mode='shadow'] .slds-m-bottom_large",e," {margin-block-end: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_x-large":r+"[data-render-mode='shadow'] .slds-m-bottom_x-large",e," {margin-block-end: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-bottom_xx-large":r+"[data-render-mode='shadow'] .slds-m-bottom_xx-large",e," {margin-block-end: var(--slds-g-spacing-8, 3rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_none":r+"[data-render-mode='shadow'] .slds-m-left_none",e," {margin-inline-start: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-left_xxx-small":r+"[data-render-mode='shadow'] .slds-m-left_xxx-small",e," {margin-inline-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-left_xx-small"+e+",:host([data-render-mode='shadow'].slds-m-left_xx-small) {":r+"[data-render-mode='shadow'] .slds-m-left_xx-small"+e+","+r+".slds-m-left_xx-small[data-render-mode='shadow'] {","margin-inline-start: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_x-small"+e+",:host([data-render-mode='shadow'].slds-m-left_x-small) {":r+"[data-render-mode='shadow'] .slds-m-left_x-small"+e+","+r+".slds-m-left_x-small[data-render-mode='shadow'] {","margin-inline-start: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_small":r+"[data-render-mode='shadow'] .slds-m-left_small",e," {margin-inline-start: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_medium":r+"[data-render-mode='shadow'] .slds-m-left_medium",e," {margin-inline-start: var(--slds-g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_large":r+"[data-render-mode='shadow'] .slds-m-left_large",e," {margin-inline-start: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_x-large":r+"[data-render-mode='shadow'] .slds-m-left_x-large",e," {margin-inline-start: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-left_xx-large"+e+",:host([data-render-mode='shadow'].slds-m-left_xx-large) {":r+"[data-render-mode='shadow'] .slds-m-left_xx-large"+e+","+r+".slds-m-left_xx-large[data-render-mode='shadow'] {","margin-inline-start: var(--slds-g-spacing-8, 3rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_none"+e+",:host([data-render-mode='shadow'].slds-m-horizontal_none) {":r+"[data-render-mode='shadow'] .slds-m-horizontal_none"+e+","+r+".slds-m-horizontal_none[data-render-mode='shadow'] {","margin-inline-start: 0 !important;margin-inline-end: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_xxx-small":r+"[data-render-mode='shadow'] .slds-m-horizontal_xxx-small",e," {margin-inline-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);margin-inline-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_xx-small":r+"[data-render-mode='shadow'] .slds-m-horizontal_xx-small",e," {margin-inline-start: var(--slds-g-spacing-1, 0.25rem);margin-inline-end: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_x-small":r+"[data-render-mode='shadow'] .slds-m-horizontal_x-small",e," {margin-inline-start: var(--slds-g-spacing-2, 0.5rem);margin-inline-end: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_small":r+"[data-render-mode='shadow'] .slds-m-horizontal_small",e," {margin-inline-start: var(--slds-g-spacing-3, 0.75rem);margin-inline-end: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_medium":r+"[data-render-mode='shadow'] .slds-m-horizontal_medium",e," {margin-inline-start: var(--slds-g-spacing-4, 1rem);margin-inline-end: var(--slds-g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_large":r+"[data-render-mode='shadow'] .slds-m-horizontal_large",e," {margin-inline-start: var(--slds-g-spacing-5, 1.5rem);margin-inline-end: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_x-large":r+"[data-render-mode='shadow'] .slds-m-horizontal_x-large",e," {margin-inline-start: var(--slds-g-spacing-6, 2rem);margin-inline-end: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-horizontal_xx-large":r+"[data-render-mode='shadow'] .slds-m-horizontal_xx-large",e," {margin-inline-start: var(--slds-g-spacing-8, 3rem);margin-inline-end: var(--slds-g-spacing-8, 3rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_none":r+"[data-render-mode='shadow'] .slds-m-vertical_none",e," {margin-block-start: 0 !important;margin-block-end: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-vertical_xxx-small":r+"[data-render-mode='shadow'] .slds-m-vertical_xxx-small",e," {margin-block-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);margin-block-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_xx-small":r+"[data-render-mode='shadow'] .slds-m-vertical_xx-small",e," {margin-block-start: var(--slds-g-spacing-1, 0.25rem);margin-block-end: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_x-small":r+"[data-render-mode='shadow'] .slds-m-vertical_x-small",e," {margin-block-start: var(--slds-g-spacing-2, 0.5rem);margin-block-end: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_small":r+"[data-render-mode='shadow'] .slds-m-vertical_small",e," {margin-block-start: var(--slds-g-spacing-3, 0.75rem);margin-block-end: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_medium":r+"[data-render-mode='shadow'] .slds-m-vertical_medium",e," {margin-block-start: var(--slds-g-spacing-4, 1rem);margin-block-end: var(--slds-g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_large":r+"[data-render-mode='shadow'] .slds-m-vertical_large",e," {margin-block-start: var(--slds-g-spacing-5, 1.5rem);margin-block-end: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_x-large":r+"[data-render-mode='shadow'] .slds-m-vertical_x-large",e," {margin-block-start: var(--slds-g-spacing-6, 2rem);margin-block-end: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-vertical_xx-large":r+"[data-render-mode='shadow'] .slds-m-vertical_xx-large",e," {margin-block-start: var(--slds-g-spacing-8, 3rem);margin-block-end: var(--slds-g-spacing-8, 3rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_none":r+"[data-render-mode='shadow'] .slds-m-around_none",e," {margin: 0 !important;}",d?":host([data-render-mode='shadow']) .slds-m-around_xxx-small":r+"[data-render-mode='shadow'] .slds-m-around_xxx-small",e," {margin: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",d?":host([data-render-mode='shadow']) .slds-m-around_xx-small"+e+",:host([data-render-mode='shadow'].slds-m-around_xx-small) {":r+"[data-render-mode='shadow'] .slds-m-around_xx-small"+e+","+r+".slds-m-around_xx-small[data-render-mode='shadow'] {","margin: var(--slds-g-spacing-1, 0.25rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_x-small":r+"[data-render-mode='shadow'] .slds-m-around_x-small",e," {margin: var(--slds-g-spacing-2, 0.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_small":r+"[data-render-mode='shadow'] .slds-m-around_small",e," {margin: var(--slds-g-spacing-3, 0.75rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_medium"+e+",:host([data-render-mode='shadow'].slds-m-around_medium) {":r+"[data-render-mode='shadow'] .slds-m-around_medium"+e+","+r+".slds-m-around_medium[data-render-mode='shadow'] {","margin: var(--slds-
347g-spacing-4, 1rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_large"+e+",:host([data-render-mode='shadow'].slds-m-around_large) {":r+"[data-render-mode='shadow'] .slds-m-around_large"+e+","+r+".slds-m-around_large[data-render-mode='shadow'] {","margin: var(--slds-g-spacing-5, 1.5rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_x-large":r+"[data-render-mode='shadow'] .slds-m-around_x-large",e," {margin: var(--slds-g-spacing-6, 2rem);}",d?":host([data-render-mode='shadow']) .slds-m-around_xx-large":r+"[data-render-mode='shadow'] .slds-m-around_xx-large",e," {margin: var(--slds-g-spacing-8, 3rem);}"].join("")}];a.default=d,Object.defineProperty(a,"__esModule",{value:!0})});
348})();(function() { LWR.define("lightning/sldsUtilsPadding",["exports"],function(d){var a=[function(d,a,s){var e=d?"["+d+"]":"",r=d?"["+d+"-host]":"";return[a?":host([data-render-mode='shadow']) .slds-p-top_none":r+"[data-render-mode='shadow'] .slds-p-top_none",e," {padding-block-start: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-top_xxx-small":r+"[data-render-mode='shadow'] .slds-p-top_xxx-small",e," {padding-block-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",a?":host([data-render-mode='shadow']) .slds-p-top_xx-small":r+"[data-render-mode='shadow'] .slds-p-top_xx-small",e," {padding-block-start: var(--slds-g-spacing-1, 0.25rem);}",a?":host([data-render-mode='shadow']) .slds-p-top_x-small":r+"[data-render-mode='shadow'] .slds-p-top_x-small",e," {padding-block-start: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-top_small":r+"[data-render-mode='shadow'] .slds-p-top_small",e," {padding-block-start: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-top_medium":r+"[data-render-mode='shadow'] .slds-p-top_medium",e," {padding-block-start: var(--slds-g-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-top_large":r+"[data-render-mode='shadow'] .slds-p-top_large",e," {padding-block-start: var(--slds-g-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-top_x-large":r+"[data-render-mode='shadow'] .slds-p-top_x-large",e," {padding-block-start: var(--slds-g-spacing-6, 2rem);}",a?":host([data-render-mode='shadow']) .slds-p-top_xx-large":r+"[data-render-mode='shadow'] .slds-p-top_xx-large",e," {padding-block-start: var(--slds-g-spacing-8, 3rem);}",a?":host([data-render-mode='shadow']) .slds-p-right_none":r+"[data-render-mode='shadow'] .slds-p-right_none",e," {padding-inline-end: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-right_xxx-small":r+"[data-render-mode='shadow'] .slds-p-right_xxx-small",e," {padding-inline-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",a?":host([data-render-mode='shadow']) .slds-p-right_xx-small":r+"[data-render-mode='shadow'] .slds-p-right_xx-small",e," {padding-inline-end: var(--slds-g-spacing-1, 0.25rem);}",a?":host([data-render-mode='shadow']) .slds-p-right_x-small":r+"[data-render-mode='shadow'] .slds-p-right_x-small",e," {padding-inline-end: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-right_small"+e+",:host([data-render-mode='shadow'].slds-p-right_small) {":r+"[data-render-mode='shadow'] .slds-p-right_small"+e+","+r+".slds-p-right_small[data-render-mode='shadow'] {","padding-inline-end: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-right_medium"+e+",:host([data-render-mode='shadow'].slds-p-right_medium) {":r+"[data-render-mode='shadow'] .slds-p-right_medium"+e+","+r+".slds-p-right_medium[data-render-mode='shadow'] {","padding-inline-end: var(--slds-g-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-right_large"+e+",:host([data-render-mode='shadow'].slds-p-right_large) {":r+"[data-render-mode='shadow'] .slds-p-right_large"+e+","+r+".slds-p-right_large[data-render-mode='shadow'] {","padding-inline-end: var(--slds-g-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-right_x-large":r+"[data-render-mode='shadow'] .slds-p-right_x-large",e," {padding-inline-end: var(--slds-g-spacing-6, 2rem);}
348",a?":host([data-render-mode='shadow']) .slds-p-right_xx-large":r+"[data-render-mode='shadow'] .slds-p-right_xx-large",e," {padding-inline-end: var(--slds-g-spacing-8, 3rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_none":r+"[data-render-mode='shadow'] .slds-p-bottom_none",e," {padding-block-end: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-bottom_xxx-small":r+"[data-render-mode='shadow'] .slds-p-bottom_xxx-small",e," {padding-block-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_xx-small":r+"[data-render-mode='shadow'] .slds-p-bottom_xx-small",e," {padding-block-end: var(--slds-g-spacing-1, 0.25rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_x-small":r+"[data-render-mode='shadow'] .slds-p-bottom_x-small",e," {padding-block-end: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_small":r+"[data-render-mode='shadow'] .slds-p-bottom_small",e," {padding-block-end: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_medium":r+"[data-render-mode='shadow'] .slds-p-bottom_medium",e," {padding-block-end: var(--slds-g-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_large":r+"[data-render-mode='shadow'] .slds-p-bottom_large",e," {padding-block-end: var(--slds-g-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_x-large":r+"[data-render-mode='shadow'] .slds-p-bottom_x-large",e," {padding-block-end: var(--slds-g-spacing-6, 2rem);}",a?":host([data-render-mode='shadow']) .slds-p-bottom_xx-large":r+"[data-render-mode='shadow'] .slds-p-bottom_xx-large",e," {padding-block-end: var(--slds-g-spacing-8, 3rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_none":r+"[data-render-mode='shadow'] .slds-p-left_none",e," {padding-inline-start: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-left_xxx-small":r+"[data-render-mode='shadow'] .slds-p-left_xxx-small",e," {padding-inline-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",a?":host([data-render-mode='shadow']) .slds-p-left_xx-small":r+"[data-render-mode='shadow'] .slds-p-left_xx-small",e," {padding-inline-start: var(--slds-g-spacing-1, 0.25rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_x-small":r+"[data-render-mode='shadow'] .slds-p-left_x-small",e," {padding-inline-start: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_small"+e+",:host([data-render-mode='shadow'].slds-p-left_small) {":r+"[data-render-mode='shadow'] .slds-p-left_small"+e+","+r+".slds-p-left_small[data-render-mode='shadow'] {","padding-inline-start: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_medium"+e+",:host([data-render-mode='shadow'].slds-p-left_medium) {":r+"[data-render-mode='shadow'] .slds-p-left_medium"+e+","+r+".slds-p-left_medium[data-render-mode='shadow'] {","padding-inline-start: var(--slds-g-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_large"+e+",:host([data-render-mode='shadow'].slds-p-left_large) {":r+"[data-render-mode='shadow'] .slds-p-left_large"+e+","+r+".slds-p-left_large[data-render-mode='shadow'] {","padding-inline-start: var(--slds-g-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_x-large":r+"[data-render-mode='shadow'] .slds-p-left_x-large",e," {padding-inline-start: var(--slds-g-spacing-6, 2rem);}",a?":host([data-render-mode='shadow']) .slds-p-left_xx-large":r+"[data-render-mode='shadow'] .slds-p-left_xx-large",e," {padding-inline-start: var(--slds-g-spacing-8, 3rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_none":r+"[data-render-mode='shadow'] .slds-p-horizontal_none",e," {padding-inline-start: 0 !important;padding-inline-end: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_xxx-small":r+"[data-render-mode='shadow'] .slds-p-horizontal_xxx-small",e," {padding-inline-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);padding-inline-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}
348",a?":host([data-render-mode='shadow']) .slds-p-horizontal_xx-small":r+"[data-render-mode='shadow'] .slds-p-horizontal_xx-small",e," {padding-inline-start: var(--slds-g-spacing-1, 0.25rem);padding-inline-end: var(--slds-g-spacing-1, 0.25rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_x-small":r+"[data-render-mode='shadow'] .slds-p-horizontal_x-small",e," {padding-inline-start: var(--slds-g-spacing-2, 0.5rem);padding-inline-end: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_small":r+"[data-render-mode='shadow'] .slds-p-horizontal_small",e," {padding-inline-start: var(--slds-g-spacing-3, 0.75rem);padding-inline-end: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_medium":r+"[data-render-mode='shadow'] .slds-p-horizontal_medium",e," {padding-inline-start: var(--slds-g-spacing-4, 1rem);padding-inline-end: var(--slds-g-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_large":r+"[data-render-mode='shadow'] .slds-p-horizontal_large",e," {padding-inline-start: var(--slds-g-spacing-5, 1.5rem);padding-inline-end: var(--slds-g-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_x-large":r+"[data-render-mode='shadow'] .slds-p-horizontal_x-large",e," {padding-inline-start: var(--slds-g-spacing-6, 2rem);padding-inline-end: var(--slds-g-spacing-6, 2rem);}",a?":host([data-render-mode='shadow']) .slds-p-horizontal_xx-large":r+"[data-render-mode='shadow'] .slds-p-horizontal_xx-large",e," {padding-inline-start: var(--slds-g-spacing-8, 3rem);padding-inline-end: var(--slds-g-spacing-8, 3rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_none":r+"[data-render-mode='shadow'] .slds-p-vertical_none",e," {padding-block-start: 0 !important;padding-block-end: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-vertical_xxx-small":r+"[data-render-mode='shadow'] .slds-p-vertical_xxx-small",e," {padding-block-start: calc(var(--slds-g-spacing-1, 0.25rem) / 2);padding-block-end: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_xx-small":r+"[data-render-mode='shadow'] .slds-p-vertical_xx-small",e," {padding-block-start: var(--slds-g-spacing-1, 0.25rem);padding-block-end: var(--slds-g-spacing-1, 0.25rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_x-small":r+"[data-render-mode='shadow'] .slds-p-vertical_x-small",e," {padding-block-start: var(--slds-g-spacing-2, 0.5rem);padding-block-end: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_small":r+"[data-render-mode='shadow'] .slds-p-vertical_small",e," {padding-block-start: var(--slds-g-spacing-3, 0.75rem);padding-block-end: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_medium":r+"[data-render-mode='shadow'] .slds-p-vertical_medium",e," {padding-block-start: var(--slds-g-spacing-4, 1rem);padding-block-end: var(--slds-g-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_large":r+"[data-render-mode='shadow'] .slds-p-vertical_large",e," {padding-block-start: var(--slds-g-spacing-5, 1.5rem);padding-block-end: var(--slds-g-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_x-large":r+"[data-render-mode='shadow'] .slds-p-vertical_x-large",e," {padding-block-start: var(--slds-g-spacing-6, 2rem);padding-block-end: var(--slds-g-spacing-6, 2rem);}",a?":host([data-render-mode='shadow']) .slds-p-vertical_xx-large":r+"[data-render-mode='shadow'] .slds-p-vertical_xx-large",e," {padding-block-start: var(--slds-g-spacing-8, 3rem);padding-block-end: var(--slds-g-spacing-8, 3rem);}",a?":host([data-render-mode='shadow']) .slds-p-around_none":r+"[data-render-mode='shadow'] .slds-p-around_none",e," {padding: 0 !important;}",a?":host([data-render-mode='shadow']) .slds-p-around_xxx-small":r+"[data-render-mode='shadow'] .slds-p-around_xxx-small",e," {padding: calc(var(--slds-g-spacing-1, 0.25rem) / 2);}",a?":host([data-render-mode='shadow']) .slds-p-around_xx-small":r+"[data-render-mode='shadow'] .slds-p-around_xx-small",e," {padding: var(--slds-g-spacing-1, 0.25rem);}
348",a?":host([data-render-mode='shadow']) .slds-p-around_x-small":r+"[data-render-mode='shadow'] .slds-p-around_x-small",e," {padding: var(--slds-g-spacing-2, 0.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-around_small"+e+",:host([data-render-mode='shadow'].slds-p-around_small) {":r+"[data-render-mode='shadow'] .slds-p-around_small"+e+","+r+".slds-p-around_small[data-render-mode='shadow'] {","padding: var(--slds-g-spacing-3, 0.75rem);}",a?":host([data-render-mode='shadow']) .slds-p-around_medium"+e+",:host([data-render-mode='shadow'].slds-p-around_medium) {":r+"[data-render-mode='shadow'] .slds-p-around_medium"+e+","+r+".slds-p-around_medium[data-render-mode='shadow'] {","padding: var(--sds-spacing-4, 1rem);}",a?":host([data-render-mode='shadow']) .slds-p-around_large"+e+",:host([data-render-mode='shadow'].slds-p-around_large) {":r+"[data-render-mode='shadow'] .slds-p-around_large"+e+","+r+".slds-p-around_large[data-render-mode='shadow'] {","padding: var(--sds-spacing-5, 1.5rem);}",a?":host([data-render-mode='shadow']) .slds-p-around_x-large":r+"[data-render-mode='shadow'] .slds-p-around_x-large",e," {padding: var(--sds-spacing-6, 2rem);}",a?":host([data-render-mode='shadow']) .slds-p-around_xx-large":r+"[data-render-mode='shadow'] .slds-p-around_xx-large",e," {padding: var(--sds-spacing-8, 3rem);}"].join("")}];d.default=a,Object.defineProperty(d,"__esModule",{value:!0})});
349})();(function() { LWR.define("lightning/primitiveIcon",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/iconUtils","@salesforce/i18n/dir","@salesforce/loader"],function(t,e,i,a,s,n,r,l,c){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=o(a),d=o(l);var h=[function(){return""},function(t,e,i){return".private-dt-sort-icon"+(t?"["+t+"]":"")+" {display: inline-block;}"}];const g=e.parseFragment`<svg${"c0"} focusable="false"${"a0:data-key"} aria-hidden="true" part="icon"${2}><use${"a1:href"}${3}/></svg>`;function m(t,i,a,s){const{ncls:n,fid:r,sp:l,st:c}=t;return[c(g,1,[l(0,{className:n(i.computedClass),attrs:{"data-key":i.name}},null),l(1,{attrs:{href:e.sanitizeAttribute("use","http://www.w3.org/2000/svg","href",r(i.href))}},null)])]}var f=e.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-25f9lgh55ct",m.legacyStylesheetToken="lightning-primitiveIcon_primitiveIcon",h&&m.stylesheets.push.apply(m.stylesheets,h),e.freezeTemplate(m);const v={},p={};function y(t,e){const i=_(t,e);if(v[i])return v[i];const a=async function(t,e){if("rtl"===t)switch(e){case"utility":{const{default:t}=await c.load("lightning/iconSvgTemplatesUtilityRtl");return t}case"action":{const{default:t}=await c.load("lightning/iconSvgTemplatesActionRtl");return t}case"standard":{const{default:t}=await c.load("lightning/iconSvgTemplatesStandardRtl");return t}case"doctype":{const{default:t}=await c.load("lightning/iconSvgTemplatesDoctypeRtl");return t}case"custom":{const{default:t}=await c.load("lightning/iconSvgTemplatesCustomRtl");return t}default:return null}else switch(e){case"utility":{const{default:t}=await c.load("lightning/iconSvgTemplatesUtility");return t}case"action":{const{default:t}=await c.load("lightning/iconSvgTemplatesAction");return t}case"standard":{const{default:t}=await c.load("lightning/iconSvgTemplatesStandard");return t}case"doctype":{const{default:t}=await c.load("lightning/iconSvgTemplatesDoctype");return t}case"custom":{const{default:t}=await c.load("lightning/iconSvgTemplatesCustom");return t}default:return null}}(t,e);return a.then(t=>{p[i]=t,delete v[i]}).catch(()=>{delete v[i]}),v[i]=a,a}function _(t,e){return`${e}${t}`}class b extends u.default{constructor(...t){super(...t),this.src=void 0,this.svgClass=void 0,this._size="medium",this._variant="",this._iconLibrary=null,this._iconName=null}get size(){return this._size}set size(t){this._size=t,this.setAttribute("size",this.normalizeSize(this._size))}get variant(){return this._variant}set variant(t){this._variant=t,this.setAttribute("variant",this.normalizeVariant(this._variant))}get iconName(){return this._iconName}set iconName(t){t!==this._iconName&&(this._iconName=t,this.requestIconTemplates())}get category(){if(r.isValidName(this._iconName)){const[t]=this._iconName.split(":");return t}return null}get isReady(){return!!this._iconLibrary}async requestIconTemplates(){if(function(t,e){const i=_(t,e);return!!p[i]}(d.default,this.category))this._iconLibrary=function(t,e){const i=_(t,e);return p[i]||null}(d.default,this.category);else if(this.category)try{this._iconLibrary=null,i.isServer||(this._iconLibrary=await y(d.default,this.category))}catch(t){console.warn(`<lightning-primitive-icon> failed to dynamically import icon templates for ${this.category}: ${t.message}`)}}renderedCallback(){(this.isReady||this.iconName!==this.prevIconName)&&(this.prevIconName=this.iconName)}
349render(){if(this.isReady&&!this.src){const t=this.iconName;if(r.isValidName(t)){const[e,i]=t.split(":"),a=this._iconLibrary[`${e}_${i}`];if(a)return a}}return f}get href(){return this.src?n.sanitizeURL(this.src):""}get name(){return r.getName(this.iconName)}normalizeSize(t){return n.normalizeString(t,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}normalizeVariant(t){return n.normalizeString(t,{fallbackValue:"",validValues:["bare","error","inverse","warning","success"]})}get computedClass(){const t=s.classSet(this.svgClass);switch("bare"!==this._variant&&t.add("slds-icon"),this._variant){case"error":t.add("slds-icon-text-error");break;case"warning":t.add("slds-icon-text-warning");break;case"success":t.add("slds-icon-text-success");break;case"inverse":case"bare":break;default:this.src||t.add("slds-icon-text-default")}return"medium"!==this._size&&t.add(`slds-icon_${this._size}`),t.toString()}}b.validationOptOut=["class"],b.stylesheets=[h],e.registerDecorators(b,{publicProps:{src:{config:0},svgClass:{config:0},size:{config:3},variant:{config:3},iconName:{config:3}},fields:["_size","_variant","_iconLibrary","_iconName"]});const w=e.registerComponent(b,{tmpl:f,sel:"lightning-primitive-icon",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=w,Object.defineProperty(t,"__esModule",{value:!0})});
350})();(function() { LWR.define("lightning/icon",["exports","lwc","lightning/primitiveIcon","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/iconUtils","lightning/utilsInternal"],function(t,e,i,s,n,a,r){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=c(i),l=c(s);var h=[function(){return""}];const u=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,d={part:"boundary"},g={exportparts:"icon"};function v(t,e,i,s){const{c:n,d:a,sp:r,st:c,h:l}=t;return[l("span",{style:e.iconBgColorStyle,attrs:d,key:0},[n("lightning-primitive-icon",o.default,{attrs:g,props:{iconName:e._iconName,size:e.size,variant:e.variant,src:e._src},key:1}),e.alternativeText?c(u,3,[r(1,null,a(e.alternativeText))]):null])]}var m=e.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-4897l11qtae",v.legacyStylesheetToken="lightning-icon_icon",h&&v.stylesheets.push.apply(v.stylesheets,h),e.freezeTemplate(v);const{setContext:p,assertContext:_}=r.privateContext;class f extends l.default{get src(){return this.privateSrc}set src(t){_(this),this.privateSrc=t,t||this.updateIconName(this.iconName),t&&n.isIE11?this.setDefault():this._src=t}get iconName(){return this._privateIconName}set iconName(t){this._privateIconName=t,this.src||this.updateIconName(t)}updateIconName(t){if(t===this._iconName)return;const e={};if(void 0!==this._iconName){const t=a.computeSldsClass(this._iconName);Object.assign(e,{[t]:!1})}if(a.isValidName(t)){const i="action"===a.getCategory(t),s=a.computeSldsClass(t);Object.assign(e,{"slds-icon_container_circle":i,[s]:!0}),this._iconName=t,this.setAttribute("icon-name",t)}else console.warn(`<lightning-icon> Invalid icon name ${t}`),Object.assign(e,{"slds-icon_container_circle":!1}),this._iconName=void 0,this.removeAttribute("icon-name");n.classListMutation(this.classList,e)}get size(){return n.normalizeString(this._size,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}set size(t){this._size=t}get variant(){return t=this._variant,e=this._iconName,"bare"===t&&(t="inverse"),"utility"===a.getCategory(e)?n.normalizeString(t,{fallbackValue:"",validValues:["error","inverse","warning","success"]}):"inverse";var t,e}set variant(t){this._variant=t}constructor(){super(),this._src=void 0,this._privateIconName=void 0,this._iconName=void 0,this._size=void 0,this._variant=void 0,this.alternativeText=void 0,this.privateSrc=void 0,p(this)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-icon_container")}renderedCallback(){this.template.host.hasAttribute("data-input-pill-search-icon")&&n.reflectAttribute(this.template.querySelector("lightning-primitive-icon"),"data-input-pill-search-primicon",!0)}setDefault(){this._src=void 0,this.updateIconName("standard:default")}get iconBgColorStyle(){const t=this.iconName;if(a.isValidName(t)){const e="--sds-c-icon-color-background",i="--slds-c-icon-color-background",s="transparent",n=a.getIconColor(t);return`${e}: var(${i}, ${n||s})`}return""}}f.validationOptOut=["class"],e.registerDecorators(f,{publicProps:{alternativeText:{config:0},src:{config:3},iconName:{config:3},size:{config:3},variant:{config:3}},track:{_src:1,_privateIconName:1,_iconName:1,_size:1,_variant:1},fields:["privateSrc"]});const N=e.registerComponent(f,{tmpl:m,sel:"lightning-icon",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
350t.default=N,Object.defineProperty(t,"__esModule",{value:!0})});
351})();(function() { LWR.define("lightning/primitiveButton",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils","lightning/ariaObserver"],function(i,a,e,r,t,s,l){function n(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var o=n(r),d=n(l);const u=[];function g(i,a,e,r){return u}var c=a.registerTemplate(g);g.stylesheets=[],g.stylesheetToken="lwc-50rp014c9i6",g.legacyStylesheetToken="lightning-primitiveButton_primitiveButton",a.freezeTemplate(g);class h extends o.default{set disabled(i){this.originalDisabledValue=i,this.state.disabled=t.normalizeBoolean(i)}get disabled(){return this.state.disabled}set ariaLabelledBy(i){this.originalAriaLabelledBy=i,this.ariaObserver.connect({targetSelector:"button",attribute:"aria-labelledby",relatedNodeIds:i})}get ariaLabelledBy(){return this.originalAriaLabelledBy}set ariaDescribedBy(i){this.originalAriaDescribedBy=i,this.ariaObserver.connect({targetSelector:"button",attribute:"aria-describedby",relatedNodeIds:i})}get ariaDescribedBy(){return this.originalAriaDescribedBy}set ariaControls(i){this.originalAriaControls=i,this.setAttribute("aria-controls",i)}get ariaControls(){return this.originalAriaControls}set ariaOwns(i){this.originalAriaOwns=i,this.setAttribute("aria-owns",i)}get ariaOwns(){return this.originalAriaOwns}set ariaDetails(i){this.originalAriaDetails=i,this.setAttribute("aria-details",i)}get ariaDetails(){return this.originalAriaDetails}set ariaFlowTo(i){this.originalAriaFlowTo=i,this.setAttribute("aria-flowto",i)}get ariaFlowTo(){return this.originalAriaFlowTo}get ariaExpanded(){return void 0!==this.originalAriaExpanded?String(this.originalAriaExpanded):null}set ariaExpanded(i){this.originalAriaExpanded=i,"string"==typeof i?this.state.ariaExpanded=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]}):"boolean"==typeof i&&(this.state.ariaExpanded=t.normalizeBoolean(i))}get computedAriaExpanded(){return this.state.ariaExpanded}set ariaPressed(i){this.originalAriaPressed=i,this.state.ariaPressed=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaPressed(){return this.originalAriaPressed}get computedAriaPressed(){return this.state.ariaPressed}set ariaHidden(i){this.originalAriaHidden=i,this.state.ariaHidden=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaHidden(){return this.originalAriaHidden}get computedAriaHidden(){return this.state.ariaHidden}set ariaHasPopup(i){this.originalAriaHasPopup=i,this.state.ariaHasPopup=t.normalizeString(i,{fallbackValue:null,validValues:["true","dialog","menu","listbox","tree","grid"]})}get ariaHasPopup(){return this.originalAriaHasPopup}get computedAriaHasPopup(){return this.state.ariaHasPopup}set ariaRelevant(i){this.originalAriaRelevant=i,this.state.ariaRelevant=t.normalizeString(i,{fallbackValue:null,validValues:["additions","removals","text","all"]})}get ariaRelevant(){return this.originalAriaRelevant}get computedAriaRelevant(){return this.state.ariaRelevant}set ariaLive(i){this.originalAriaLive=i,this.state.ariaLive=t.normalizeString(i,{fallbackValue:null,validValues:["polite","assertive","off"]})}get ariaLive(){return this.originalAriaLive}get computedAriaLive(){return this.state.ariaLive}set ariaAtomic(i){this.originalAriaAtomic=i,this.state.ariaAtomic=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaAtomic(){return this.originalAriaAtomic}get computedAriaAtomic(){return this.state.ariaAtomic}set ariaBusy(i){this.originalAriaBusy=i,this.state.ariaBusy=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaBusy(){return this.originalAriaBusy}get computedAriaBusy(){return this.state.ariaBusy}get computedButtonClass(){const i=s.classSet("slds-button");return i.add(t.buttonGroupOrderClass(this.groupOrder)),i.toString()}focus(){}constructor(){super(),this._initialized=!1,this.state={ariaAtomic:null,ariaBusy:null,ariaControls:null,ariaDetails:null,ariaDescribedBy:null,ariaExpanded:null,ariaFlowTo:null,ariaHasPopup:null,ariaHidden:null,ariaLabelledBy:null,ariaLive:null,ariaOwns:null,ariaPressed:null,ariaRelevant:null,disabled:!1},this.ariaObserver=void 0,this.originalAriaAtomic=void 0,this.originalAriaBusy=void 0,this.originalAriaControl
351s=void 0,this.originalAriaDetails=void 0,this.originalAriaDescribedBy=void 0,this.originalAriaExpanded=void 0,this.originalAriaFlowTo=void 0,this.originalAriaHasPopup=void 0,this.originalAriaHidden=void 0,this.originalAriaLabelledBy=void 0,this.originalAriaLive=void 0,this.originalAriaOwns=void 0,this.originalAriaPressed=void 0,this.originalAriaRelevant=void 0,this.originalDisabledValue=void 0,this.accessKey=void 0,this.title=void 0,this.ariaLabel=void 0,this.ariaCurrent=void 0,this.ariaKeyShortcuts=void 0,this.groupOrder="",this.ariaObserver=new d.default(this),t.isIE11&&!e.isServer&&this.template.addEventListener("click",i=>{this.disabled&&i.stopImmediatePropagation()})}connectedCallback(){super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new d.default(this))}renderedCallback(){this.isConnected&&this.ariaObserver.sync()}disconnectedCallback(){this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}}a.registerDecorators(h,{publicProps:{disabled:{config:3},accessKey:{config:0},title:{config:0},ariaLabel:{config:0},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},ariaControls:{config:3},ariaOwns:{config:3},ariaDetails:{config:3},ariaFlowTo:{config:3},ariaExpanded:{config:3},ariaPressed:{config:3},ariaHidden:{config:3},ariaCurrent:{config:0},ariaKeyShortcuts:{config:0},ariaHasPopup:{config:3},ariaRelevant:{config:3},ariaLive:{config:3},ariaAtomic:{config:3},ariaBusy:{config:3},groupOrder:{config:0}},publicMethods:["focus"],track:{state:1},fields:["_initialized","ariaObserver","originalAriaAtomic","originalAriaBusy","originalAriaControls","originalAriaDetails","originalAriaDescribedBy","originalAriaExpanded","originalAriaFlowTo","originalAriaHasPopup","originalAriaHidden","originalAriaLabelledBy","originalAriaLive","originalAriaOwns","originalAriaPressed","originalAriaRelevant","originalDisabledValue"]});const v=a.registerComponent(h,{tmpl:c,sel:"lightning-primitive-button",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});i.default=v,Object.defineProperty(i,"__esModule",{value:!0})});
352})();(function() { LWR.define("interop/buttonIcon",["exports","lwc","lightning/primitiveIcon","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/features","lightning/tooltipLibrary","lightning/primitiveButton"],function(t,e,i,a,n,s,o,l,r){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var d=c(i),u=c(r);var h=[function(){return""},function(t,e,i){return"lightning-primitive-icon"+(t?"["+t+"]":"")+" {display: contents;}"}];const p=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,b={exportparts:"icon"};function m(t,e,i,a){const{ncls:n,ti:s,b:o,c:l,d:r,sp:c,st:u,h:h}=t,{_m0:m}=a;return[h("button",{className:n(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,name:e.name,title:e.computedTitle,accesskey:e.accessKey,type:e.normalizedType,value:e.value,"aria-label":e.ariaLabel,"aria-expanded":e.computedAriaExpanded,"aria-live":e.computedAriaLive,"aria-atomic":e.computedAriaAtomic,"aria-haspopup":e.computedAriaHasPopup,part:"button button-icon",tabindex:s(e.tabIndex)},key:0,on:m||(a._m0={focus:o(e.handleFocus),blur:o(e.handleBlur)})},[l("lightning-primitive-icon",d.default,{attrs:b,props:{iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:1}),e.alternativeText?u(p,3,[c(1,null,r(e.alternativeText))]):null])]}var v=e.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-485vfn4rmof",m.legacyStylesheetToken="interop-buttonIcon_buttonIcon",h&&m.stylesheets.push.apply(m.stylesheets,h),e.freezeTemplate(m);const g="medium",_="border",f="button",x=Symbol("relatedTarget"),{setContext:T,assertContext:y}=s.privateContext;class z extends u.default{get variant(){return this._originalVariant}set variant(t){this._originalVariant=t,this._variant=this.normalizeVariant(t),this.setAttribute("variant",this._variant)}get size(){return this._originalSize}set size(t){this._originalSize=t,this._size=this.normalizeSize(t),this.setAttribute("size",this._size)}get tooltip(){return this._tooltip?this._tooltip.value:void 0}set tooltip(t){y(this),this.tooltipValue=t,this._tooltip?this._tooltip.value=t:t&&this.rendered&&this.createTooltip(t)}createTooltip(t){this._tooltip=new l.Tooltip(t,{root:this,target:()=>this.template.querySelector("button"),type:this.tooltipType,disableAriaDescribedBy:o.features.enableNoDescribedbyTooltip&&t===this.alternativeText}),this._tooltip.initialize()}render(){return v}get computedTitle(){return this.title?this.title:this.disableAlternativeTextTitle?null:this.alternativeText}normalizeVariant(t){return o.features.enableAssertContext260Round2&&y(this),n.normalizeString(t,{fallbackValue:_,validValues:["bare","brand","container","border","border-filled","bare-inverse","border-inverse"]})}
352get normalizedType(){return n.normalizeString(this.type,{fallbackValue:f,validValues:["button","reset","submit"]})}normalizeSize(t){return n.normalizeString(t,{fallbackValue:g,validValues:["xx-small","x-small","small","medium","large"]})}get variantBase(){return this._variant.split("-")[0]}get variantModifier(){return this._variant.split("-")[1]||""}get computedButtonClass(){const t=a.classSet(super.computedButtonClass),e="bare"===this.variantBase;if(t.add("slds-button_icon"),!e)switch(this._size){case"small":t.add("slds-button_icon-small");break;case"x-small":t.add("slds-button_icon-x-small");break;case"xx-small":t.add("slds-button_icon-xx-small");break;case"large":console.warn('<lightning-button-icon> The non-bare variants of buttonIcon do not support a size value of "large". Supported values include "xx-small", "x-small", "small", and "medium". Falling back to size value "medium".')}return t.add({"slds-button_icon-bare":e,"slds-button_icon-container":"container"===this._variant,"slds-button_icon-border":"border"===this._variant,"slds-button_icon-border-filled":"border-filled"===this._variant,"slds-button_icon-border-inverse":"border-inverse"===this._variant,"slds-button_icon-inverse":"bare-inverse"===this._variant,"slds-button_icon-brand":"brand"===this._variant}).toString()}get computedIconClass(){const t="bare"===this.variantBase,e=this.iconClass||"",i=a.classSet("slds-button__icon");if(i.add(e),t)switch(this._size){case"large":i.add("slds-button__icon_large");break;case"small":i.add("slds-button__icon_small");break;case"xx-small":console.warn('<lightning-button-icon> The bare variant of buttonIcon does not support a size value of "xx-small". Supported values include "x-small", "small", "medium", and "large". The default is "medium".');case"x-small":i.add("slds-button__icon_x-small")}return i.toString()}handleFocus(t){t.stopPropagation(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(t){this.dispatchEvent(new CustomEvent("blur",{detail:{[x]:t.relatedTarget}}))}focus(){this._connected&&this.template.querySelector("button").focus()}click(){this._connected&&this.template.querySelector("button").click()}constructor(){super(),this._tooltipCreated=!1,this.name=void 0,this.value=void 0,this.tabIndex=void 0,this._variant=_,this._originalVariant=void 0,this._originalSize=void 0,this._connected=void 0,this.iconName=void 0,this.iconClass=void 0,this._size=g,this.type=f,this.alternativeText=void 0,this.tooltipType=l.TooltipType.Info,this.disableAlternativeTextTitle=!1,this._tooltip=null,this.tooltipValue=null,this.rendered=!1,T(this)}connectedCallback(){super.connectedCallback(),this._connected=!0}renderedCallback(){y(this),super.renderedCallback(),this.tooltipValue&&!this._tooltip&&this.createTooltip(this.tooltipValue),this.template.host.style.pointerEvents=this.disabled?"none":"",this.rendered=!0}disconnectedCallback(){super.disconnectedCallback(),this._connected=!1,this.rendered=!1,this._tooltip&&this._tooltip.disconnect()}}z.delegatesFocus=!0,e.registerDecorators(z,{publicProps:{name:{config:0},value:{config:0},tabIndex:{config:0},variant:{config:3},iconName:{config:0},iconClass:{config:0},size:{config:3}
352,type:{config:0},alternativeText:{config:0},tooltipType:{config:0},disableAlternativeTextTitle:{config:0},tooltip:{config:3}},publicMethods:["focus","click"],fields:["_tooltipCreated","_variant","_originalVariant","_originalSize","_connected","_size","_tooltip","tooltipValue","rendered"]});const C=e.registerComponent(z,{tmpl:v,sel:"interop-button-icon",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=C,t.relatedTarget=x,Object.defineProperty(t,"__esModule",{value:!0})});
353})();LWR.define('lightning/buttonIcon', ['interop/buttonIcon'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("c/b2bShowToastMessage",["exports","lwc","lightning/icon","lightning/buttonIcon"],function(s,e,t,o){function l(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var a=l(t),i=l(o);const n=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,c=e.parseFragment`<div class="slds-notify__content${0}"${2}><h2 class="slds-text-heading_small${0}" style="white-space: break-spaces;"${2}>${"t2"}</h2></div>`,r={classMap:{"slds-notify_container":!0},key:0},d={role:"status"},h={classMap:{"slds-notify__close":!0},key:8},u={"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-inverse":!0},g={iconName:"utility:close",size:"small",variant:"border-filled",alternativeText:"next"};function p(s,e,t,o){const{d:l,sp:p,st:m,c:y,h:f,b:T}=s,{_m0:b}=o;return[e.showToastBar?f("div",r,[f("div",{className:e.outerClass,attrs:d,key:1},[m(n,3,[p(1,null,l(e.type))]),f("span",{className:e.innerClass,attrs:{title:e.message},key:4},[y("lightning-icon",a.default,{props:{iconName:e.getIconName,alternativeText:"icon",styleclass:"slds-icon slds-icon_small",variant:"inverse",size:"small"},key:5})]),m(c,7,[p(2,null,l(e.message))]),f("div",h,[y("lightning-button-icon",i.default,{classMap:u,props:g,key:9,on:b||(o._m0={click:T(e.closeModel)})})])])]):null]}var m=e.registerTemplate(p);p.stylesheets=[],p.stylesheetToken="lwc-5d0hous8g2s",p.legacyStylesheetToken="c-b2bShowToastMessage_b2bShowToastMessage",e.freezeTemplate(p);class y extends e.LightningElement{constructor(...s){super(...s),this.type=void 0,this.message=void 0,this.showToastBar=!1,this.autoCloseTime=5e3}showToast(s,e){this.type=e,this.message=s,this.showToastBar=!0,setTimeout(()=>{this.closeModel()},this.autoCloseTime)}closeModel(){this.showToastBar=!1,this.type="",this.message=""}get getIconName(){return"utility:"+this.type}get innerClass(){return"slds-icon_container slds-icon-utility-"+this.type+" slds-icon-utility-success slds-m-right_small slds-no-flex slds-align-top"}get outerClass(){return"slds-notify slds-notify_toast slds-theme_"+this.type}}e.registerDecorators(y,{publicMethods:["showToast"],fields:["type","message","showToastBar","autoCloseTime"]});const f=e.registerComponent(y,{tmpl:m,sel:"c-b2b-show-toast-message",apiVersion:59});s.default=f,Object.defineProperty(s,"__esModule",{value:!0})});
354})();(function() { LWR.define("c/b2bSubscriber",["exports","lwc","lightning/icon","c/b2bShowToastMessage","@salesforce/label/c.B2BSubscribe","@salesforce/label/c.B2BSubscribeButton","@salesforce/label/c.B2BParagraph","@salesforce/label/c.B2BEmailLabel","@salesforce/label/c.B2BEnterThemail","@salesforce/label/c.B2BPleaseEnterValidEmail","@salesforce/label/c.B2BEmailSentSuccessfully","@salesforce/label/c.B2BSuccess"],function(e,t,l,i,s,a,n,r,o,c,b,d){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=u(l),h=u(i),f=u(s),g=u(a),m=u(n),B=u(r),w=u(o),S=u(c),y=u(b),x=u(d);var E=[function(e,t,l){var i=e?"["+e+"]":"";return".newsletter-container"+i+" {width: 100%;display: flex;flex-direction: column;background: #8b1e2e;color: white;padding: 2rem 1.5rem;}.title-row"+i+" {display: flex;align-items: center;gap: 0.8rem;}.heading"+i+"{color: white;font-weight: bold;font-size: 18px;padding-top: 2px;}.icon-box"+i+" {font-size: 40px;}.my-icon"+i+"{--sds-c-icon-color-foreground-default: white;float: right;cursor: pointer;}p"+i+" {margin: 0.5rem 0 1.0rem 0;font-size: 1rem;}.subscribe-btn"+i+" {width: 110px;height: 30px;border-radius: 25px;font-size: 1.0rem;font-weight: 500;border: none;cursor: pointer;background: white;color: #8b1e2e;}@media (min-width: 768px) {.newsletter-container"+i+" {flex-direction: row;justify-content: space-between;align-items: center;}.newsletter-left"+i+" {max-width: 60%;}.heading"+i+"{font-size: 45px;text-wrap: nowrap;}.subscribe-btn"+i+" {width: 160px;height: 30px;border-radius: 25px;font-size: 1.0rem;font-weight: 500;}}"}];const k=t.parseFragment`<h1 class="slds-text-heading_large heading${0}"${2}>${"t1"}</h1>`,z=t.parseFragment`<p${3}>${"t1"}</p>`,L=t.parseFragment`<button class="subscribe-btn${0}"${2}>${"t1"}</button>`,v={classMap:{"newsletter-container":!0},key:0},M={classMap:{"newsletter-left":!0},key:1},T={classMap:{"title-row":!0},key:2},$={classMap:{"icon-box":!0},key:3},_={"my-icon":!0},F={key:11};function P(e,t,l,i){const{c:s,h:a,d:n,sp:r,st:o,b:c}=e,{_m0:b,_m1:d}=i;return[a("div",v,[a("div",M,[a("div",T,[a("div",$,[s("lightning-icon",p.default,{classMap:_,props:{size:t.iconSize,iconName:"utility:email"},key:4})]),o(k,6,[r(1,null,n(t.labels.B2BSubscribe))])]),o(z,8,[r(1,null,n(t.labels.B2BParagraph))]),o(L,10,[r(0,{on:d||(i._m1={click:c(t.handleSendEmail)})},null),r(1,null,n(t.labels.B2BSubscribeButton))])])]),s("c-b2b-show-toast-message",h.default,F)]}var C=t.registerTemplate(P);P.stylesheets=[],P.stylesheetToken="lwc-562i8fuiu7g",P.legacyStylesheetToken="c-b2bSubscriber_b2bSubscriber",E&&P.stylesheets.push.apply(P.stylesheets,E),t.freezeTemplate(P);const R={B2BSubscribe:f.default,B2BSubscribeButton:g.default,B2BParagraph:m.default,B2BEmailLabel:B.default,B2BEnterThemail:w.default,B2BPleaseEnterValidEmail:S.default,B2BEmailSentSuccessfully:y.default,B2BSuccess:x.default};class U extends t.LightningElement{constructor(...e){super(...e),this.labels=R,this.emailField="",this.isLoading=!1,this.emailLabel=this.labels.B2BEmailLabel,this.iconSize="large",this.hubSpotURL="https://rocelec.my.site.com/lp/landing-page/registration-landing-page---english-MC662FQTKNQ5HJRLEFOCMQUEH4Z4"}renderedCallback(){window.innerWidth<=600&&(this.iconSize="small")}connectedCallback(){}handleSendEmail(){let e=this.hubSpotURL;window.open(e,"_blank")}}t.registerDecorators(U,{publicProps:{hubSpotURL:{config:0}},fields:["labels","emailField","isLoading","emailLabel","iconSize"]});const j=t.registerComponent(U,{tmpl:C,sel:"c-b2b-subscriber",apiVersion:59});
354e.default=j,Object.defineProperty(e,"__esModule",{value:!0})});
355})();(function() { LWR.define("embeddedMessaging/constants",["exports"],function(E){const e={TITLE_ITEM:"TitleItem"};function T(E){return _(E),E.title}function _(E){if(!E||!E.title)throw new Error(`Expected title to be defined but received: ${E.title}`);if(!E.itemType||!E.itemType.length||E.itemType!==e.TITLE_ITEM)throw new Error(`Expected item type to be a ${e.TITLE_ITEM} but received: ${E.itemType}`)}function S(E){if(!E||!E.subTitle)throw new Error(`Expected subTitle to be defined but received: ${E.subTitle}`)}const N={TITLE_OPTION_ITEM:"TitleOptionItem",TITLE_LINK_ITEM:"TitleLinkItem"};function I(E){if(!E||!E.titleItem)throw new Error(`Expected title item to be defined but received: ${E.titleItem}`);if(!E.itemType||!E.itemType.length||E.itemType!==N.TITLE_OPTION_ITEM)throw new Error(`Expected item type to be a ${N.TITLE_OPTION_ITEM} but received: ${E.itemType}`)}const t={TEXT_VALUE:"TextValue"};E.ACCESS_TOKEN_PATH="/accessToken",E.ATTACHMENT_UPLOAD_RESULT_TYPE={PENDING:"PendingAttachmentUploadResult",COMPLETED:"CompletedAttachmentUploadResult",ERROR:"ErrorAttachmentUploadResult"},E.AT_LEAST_ONE_NON_WHITESPACE_CHAR_REGEX="^((\\s)*(\\S)+(\\s)*)+$",E.AUTH_MODE={AUTH:"Auth",UNAUTH:"UnAuth",EXP_SITE_AUTH:"ExperienceSiteAuth",EXCHANGE_JWT_AUTH:"ExchangeJWTAuth",SALESFORCE_SESSION_AUTH:"SalesforceSessionAuth"},E.CITATION_MARKER="<span class='citationmarker'>{0}</span>",E.CLIENT_NAME={WEB_V1:"Web_v1",WEB_V2:"Web_v2"},E.CLIENT_SESSION_ID_JWT_CLAIM="clientSessionId",E.ConversationEntryProperties={CONVERSATION_ID:"conversationId",MESSAGE_ID:"messageId",CONTENT:"content",MESSAGE_TYPE:"messageType",ENTRY_TYPE:"entryType",SENDER:"sender",ACTOR_NAME:"actorName",ACTOR_TYPE:"actorType",TRANSCRIPTED_TIMESTAMP:"transcriptedTimestamp",MESSAGE_REASON:"messageReason",WAS_REVISED:"wasRevised"},E.ConversationMessageDirectionality={INBOUND:"inbound",OUTBOUND:"outbound",SYSTEM:"system"},E.ConversationStatus={NOT_STARTED_CONVERSATION:"NOT_STARTED",OPENED_CONVERSATION:"OPEN",CLOSED_CONVERSATION:"CLOSED",SESSION_ENDED:"SESSION_ENDED"},E.DATE_TIMESTAMP_FORMAT={weekday:"short",month:"short",day:"numeric"},E.DAY_THRESHOLD_MILLISECONDS=864e5,E.DEFAULT_IMAGE_URL="/_slds/images/illustrations/empty-states/desertSmall.svg",E.DEFAULT_POLL_TIMEOUT_MS=25e3,E.DISPLAY_MODE={INLINE:"inline",POPUP:"default"},E.DisplayTypes={AUTO_OVERLAY:"AutoOverlay"},E.EMAIL_VALIDATION_REGEX="\\S+@\\S+\\.\\S+",E.EVENTS_OUT_OF_RANGE__GET_CONVERSATION_ENTRIES_LIMIT=100,E.EntryTypes={CONVERSATION_MESSAGE:"Message",CONVERSATION_MESSAGE_UPDATED:"MessageUpdated",PARTICIPANT_CHANGED:"ParticipantChanged",ROUTING_RESULT:"RoutingResult",TYPING_STARTED_INDICATOR:"TypingStartedIndicator",TYPING_STOPPED_INDICATOR:"TypingStoppedIndicator",DELIVERY_ACKNOWLEDGEMENT:"DeliveryAcknowledgement",READ_ACKNOWLEDGEMENT:"ReadAcknowledgement",SESSION_STATUS_CHANGED:"SessionStatusChanged",STREAMING_TOKEN:"StreamingToken",CONVERSATION_UPDATED:"ConversationUpdated"},E.EventTypes={CONVERSATION_MESSAGE:"CONVERSATION_MESSAGE",CONVERSATION_MESSAGE_UPDATED:"CONVERSATION_MESSAGE_UPDATED",CONVERSATION_PARTICIPANT_CHANGED:"CONVERSATION_PARTICIPANT_CHANGED",CONVERSATION_DELIVERY_ACKNOWLEDGEMENT:"CONVERSATION_DELIVERY_ACKNOWLEDGEMENT",CONVERSATION_READ_ACKNOWLEDGEMENT:"CONVERSATION_READ_ACKNOWLEDGEMENT",CONVERSATION_ROUTING_RESULT:"CONVERSATION_ROUTING_RESULT",CONVERSATION_CLOSE_CONVERSATION:"CONVERSATION_CLOSE_CONVERSATION",CONVERSATION_TYPING_STARTED_INDICATOR:"CONVERSATION_TYPING_STARTED_INDICATOR",CONVERSATION_TYPING_STOPPED_INDICATOR:"CONVERSATION_TYPING_STOPPED_INDICATOR",CONVERSATION_PROGRESS_INDICATOR:"CONVERSATION_PROGRESS_INDICATOR",CONVERSATION_PING:"ping",CONVERSATION_SESSION_STATUS_CHANGED:"CONVERSATION_SESSION_STATUS_CHANGED",CONVERSATION_SESSION_CONTEXT:"CONVERSATION_SESSION_CONTEXT",CONVERSATION_STREAMING_TOKEN:"CONVERSATION_STREAMING_TOKEN",EVENTS_OUT_OF_RANGE:"EVENTS_OUT_OF_RANGE",CONVERSATION_QUEUE_POSITION:"CONVERSATION_QUEUE_POSITION",CONVERSATION_MODALITY_CONNECTION:"CONVERSATION_MODALITY_CONNECTION",CONVERSATION_CONVERSATION_UPDATED:"CONVERSATION_CONVERSATION_UPDATED"},E.FILE_ATTACHMENT_ICON_TYPES={image:"doctype:image",pdf:"doctype:pdf",xml:"doctype:xml",audio:"doctype:audio",video:"doctype:video",text:"doctype:txt",csv:"doctype:csv",doc:"doctype:word",general:"doctype:attachment"},E.FILE_PREVIEW_IFRAME_NAME="embeddedMessagingFilePreviewFrame",E.FIRST_PING_TIMEOUT_MS=2e3,E.FormDisplayContext={CONVERSATION:"Conversation",SESSION:"Session"},E.FormFieldTypes={TEXT:"Text",EMAIL:"Email",PHONE:"Phone",NUMBER:"Number",CHECKBOX:"Checkbox",CHOICELIST:"ChoiceList"},E.FormInputType={SELECT_INPUT:"SelectInput",SELECT_NAVIGATION_INPUT:"SelectNavigationInput",OPTION_PICKER_INPUT:"OptionPickerInput",DATE_PICKER_INPUT:"DatePickerInput",TEXT_INPUT:"TextInput",DATE_TIME_PICKER_INPUT:"DateTimePickerInput"},E.FormMessageState={INITIAL:"Initial",INACTIVE:"Inactive",PENDING:"Pending",SUCCESS:"Success",ERROR:"Error"},E.FormResultType={FORM_RECORDS_RESULT:"FormRecordsResult",FORM_ERROR_RESULT:"FormErrorResult",FORM_PENDING_RESULT:"FormPendingResult"},E.FormTypes={PRE_CHAT:"PreChat",SECURE_FORM:"SecureForm"},E.FormValueType={TEXT_VALUE:"TextValue",BOOLEAN_VALUE:"BooleanValue",INTEGER_VALUE:"IntegerValue",DOUBLE_VALUE:"DoubleValue",URL_VALUE:"UrlValue",DATE_VALUE:"DateValue",DATETIME_VALUE:"DateTimeValue"}
355,E.FormatTypes={TEXT:"Text",BUTTONS:"Buttons",QUICK_REPLIES:"QuickReplies",CAROUSELS:"Carousel",SELECTIONS:"Selections",ATTACHMENTS:"Attachments",RICH_LINK:"RichLink",WEB_VIEW:"WebView",INPUTS:"Inputs",RESULT:"Result",EXPERIENCE_TYPE:"ExperienceType"},E.GET_CONVERSATION_ENTRIES_LIMIT=50,E.GetConversationEntriesQueryDirection={FROM_START:"FromStart",FROM_END:"FromEnd"},E.HIDDEN_MESSAGE_CONTENT="START_NEW_MESSAGING_SESSION",E.HOST_EVENT={ON_EMBEDDED_MESSAGING_READY:"onEmbeddedMessagingReady",ON_EMBEDDED_MESSAGING_BUTTON_CREATED:"onEmbeddedMessagingButtonCreated",ON_EMBEDDED_MESSAGING_CONVERSATION_STARTED:"onEmbeddedMessagingConversationStarted",ON_EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED:"onEmbeddedMessagingIdentityTokenExpired",ON_EMBEDDED_MESSAGING_LINK_CLICKED:"onEmbeddedMessageLinkClicked",ON_EMBEDDED_MESSAGING_BUTTON_CLICKED:"onEmbeddedMessagingButtonClicked",ON_EMBEDDED_MESSAGING_TRANSCRIPT_REQUESTED:"onEmbeddedMessagingTranscriptRequested",ON_EMBEDDED_MESSAGING_TRANSCRIPT_DOWNLOAD_SUCCESSFUL:"onEmbeddedMessagingTranscriptDownloadSuccessful",ON_EMBEDDED_MESSAGING_TRANSCRIPT_REQUEST_FAILED:"onEmbeddedMessagingTranscriptRequestFailed",ON_EMBEDDED_MESSAGE_READ:"onEmbeddedMessageRead",ON_EMBEDDED_MESSAGING_CONVERSATION_ROUTED:"onEmbeddedMessagingConversationRouted",ON_EMBEDDED_MESSAGE_DELIVERED:"onEmbeddedMessageDelivered",ON_EMBEDDED_MESSAGING_CONVERSATION_PARTICIPANT_CHANGED:"onEmbeddedMessagingConversationParticipantChanged",ON_EMBEDDED_MESSAGING_CONVERSATION_CLOSED:"onEmbeddedMessagingConversationClosed",ON_EMBEDDED_MESSAGING_PRECHAT_LOADED:"onEmbeddedMessagingPreChatLoaded",ON_EMBEDDED_MESSAGE_SENT:"onEmbeddedMessageSent",ON_EMBEDDED_MESSAGING_PRECHAT_SUBMITTED_EVENT_NAME:"onEmbeddedMessagingPreChatSubmitted",ON_EMBEDDED_MESSAGEING_CONVERSATION_OPENED_EVENT_NAME:"onEmbeddedMessagingConversationOpened",ON_EMBEDDED_MESSAGING_TOKEN_EXPIRED:"onEmbeddedMessagingTokenExpired",ON_EMBEDDED_MESSAGING_WINDOW_CLOSED:"onEmbeddedMessagingWindowClosed",ON_EMBEDDED_MESSAGING_FIRST_BOT_MESSAGE_SENT:"onEmbeddedMessagingFirstBotMessageSent",ON_EMBEDDED_MESSAGING_QUEUE_POSITION_UPDATE:"onEmbeddedMessagingQueuePositionUpdate",ON_EMBEDDED_MESSAGING_SESSION_STATUS_UPDATE:"onEmbeddedMessagingSessionStatusUpdate"},E.HTTP_ERROR_CODE_MISSING_SESSION=417,E.ID_TOKEN_TYPE={JWT:"JWT",EXCHANGE_JWT:"ExchangeJWT",SALESFORCE_SESSION_TOKEN:"SalesforceSessionToken"},E.InputElementType={URL:"url",NUMBER:"number",PHONE:"tel",EMAIL:"email"},E.InputValueType={SINGLE_INPUT_VALUE:"SingleInputValue",SELECTED_OPTIONS_INPUT_VALUE:"SelectedOptionsInputValue"},E.MAX_RECONNECT_INTERVAL_SECONDS=60,E.MAX_RETRIES=10,E.MessageReason={AUTOMATED_RESPONSE:"AutomatedResponse",CONSENT:"Consent"},E.MessageTypes={STATIC_CONTENT_MESSAGE:"StaticContentMessage",CHOICES_MESSAGE:"ChoicesMessage",CHOICES_RESPONSE_MESSAGE:"ChoicesResponseMessage",FORM_MESSAGE:"FormMessage",FORM_RESPONSE_MESSAGE:"FormResponseMessage"},E.PING_TIMEOUT_MS=4e4,E.PRECHAT_DISPLAY_EVENT_DETAIL_NAME="prechatDisplay",E.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE={CONVERSATION:"Conversation",SESSION:"Session"},E.PRECHAT_SUBMIT_FIELDS="prechatSubmitFields",E.ParticipantChangedOperations={ADD:"add",REMOVE:"remove"},E.ParticipantRoles={ENDUSER:"EndUser",AGENT:"Agent",CHATBOT:"Chatbot",SYSTEM:"System",ROUTER:"Router",SUPERVISOR:"Supervisor"},E.RECONNECT_JITTER_MS=1e3,E.RoutingFailureTypes={NO_ERROR:"None",UNKNOWN_ERROR:"Unknown",SUBMISSION_ERROR:"SubmissionError",ROUTING_ERROR:"RoutingError",CANCELLED:"Cancelled"},E.RoutingStatus={ROUTED:"ROUTED",NEEDS_ROUTING:"NEEDS_ROUTING",INITIAL:"INITIAL",TRANSFER:"TRANSFER"},E.RoutingTypes={INITIAL:"Initial",TRANSFER:"Transfer"},E.SCRT_SERVER_ERROR_CODES={ORG_NOT_SUPPORTED:"ORG_NOT_SUPPORTED",ORG_UNDER_MAINTENANCE:"ORG_UNDER_MAINTENANCE",ORG_MIGRATED:"ORG_MIGRATED"},E.SET_IDENTITY_TOKEN_TIMEOUT_IN_MS=3e4,E.SSE_REQUEST_RATE_LIMITED_ERROR="Too Many Requests.",E.SSE_TOO_MANY_RETRIES="Too many attempts to subscribe to server-sent event source.",E.STANDARD_EMAIL_FIELD_MAX_LENGTH=80,E.STORAGE_KEYS={IS_MINIMIZED:"IS_MINIMIZED",FAILED_OUTBOUND_MESSAGE_ENTRIES:"FAILED_MESSAGES",SCROLL_POSITION:"SCROLL_POSITION",SCROLL_ANCHOR_MESSAGE_INDEX:"SCROLL_ANCHOR_MESSAGE_INDEX",SCROLL_ANCHOR_OFFSET_WITHIN_MESSAGE:"SCROLL_ANCHOR_OFFSET_WITHIN_MESSAGE",JWT:"JWT",QUEUE_POSITION:"QUEUE_POSITION",IS_POSTCHAT_DISPLAYED:"IS_POSTCHAT_DISPLAYED",CONVERSATION_BUTTON_CLICK_TIME:"CONVERSATION_BUTTON_CLICK_TIME",PRECHAT_SUBMIT_TIME:"PRECHAT_SUBMIT_TIME",INPUT_FOOTER_RENDER_TIME:"INPUT_FOOTER_RENDER_TIME",SSE_STATUS:"SSE_STATUS"},E.SessionStatus={NOT_STARTED:"NOT_STARTED",ACTIVE:"Active",ENDED:"Ended",WAITING:"Waiting",INACTIVE:"Inactive"},E.SseStatus={NOT_STARTED_SSE:"NOT_STARTED",OPENED_SSE:"OPEN",BLOCKED_SSE:"BLOCKED",BLOCKED_INITIAL_SSE:"BLOCKED_INITIAL",CLOSED_SSE:"CLOSED",LONG_POLLING:"LONG_POLLING"},E.StreamingTokenType={MESSAGE_STREAMING_TOKEN:"MessageStreamingToken",STREAMING_TOKEN_VALIDATION:"StreamingTokenValidation"},E.TextInputContentType={NAME:"Name",PHONE:"TelephoneNumber",EMAIL:"EmailAddress",URL:"URL"},E.TextInputKeyboardType={URL:"URL",NUMBER:"NumberPad",PHONE:"PhonePad",EMAIL:"EmailAddress",DECIMAL:"DecimalPad"},E.TextInputType={SINGLE_LINE:"Singleline",MULTI_LINE:"Multiline"},E.TitleInteractionItemTypes=N,E.TitleItemTypes=e,E.ValueTypes=t,E.WEEKDAY_TIMESTAMP_FORMAT={weekday:"long"},E.WEEK_THRESHOLD_MILLISECONDS=5184e5,E.createTitleOptionItem=function(E){const T=E.title||E.titleItem.title;
355return{title:T,itemType:N.TITLE_OPTION_ITEM,titleItem:{itemType:e.TITLE_ITEM,title:T}}},E.getOptionTitle=function(E){return I(E),T(E.titleItem)},E.getSubTitle=function(E){return S(E),E.subTitle},E.getTextValue=function(E){return function(E){if(!E||!E.textValue)throw new Error(`Expected text value to be defined but received: ${E.textValue}`);if(!E.valueType.length||E.valueType!==t.TEXT_VALUE)throw new Error(`Expected value type to be a ${t.TEXT_VALUE} but received: ${E.valueType}`)}(E),E.textValue},E.getTitle=T,E.getValueType=function(E){return function(E){if(!E||!E.valueType)throw new Error(`Expected value type to be defined but received: ${E.valueType}`);if(!E.valueType.length||"string"!=typeof E.valueType)throw new Error("Expected value type to be a string but received: "+typeof E.valueType)}(E),E.valueType},E.validateSubTitleItem=S,E.validateTitleItem=_,E.validateTitleOptionItem=I,Object.defineProperty(E,"__esModule",{value:!0})});
356})();LWR.define('embeddedmessaging/constants', ['embeddedMessaging/constants'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/eventStorePrivate",["exports","lwc"],function(e,t){const n=t.registerComponent(class{constructor(){this.eventHandlerMap={}}assignHandler(e,t){if(!e)throw new Error(`Expected an eventName parameter with a string value. Instead received ${e}.`);if(!t)throw new Error(`Expected an eventHandler parameter with a function value. Instead received ${t}.`);if("function"!=typeof t)throw new Error("The event handler function parameter passed to assignHandler was not of type 'function'.");this.eventHandlerMap[e]||(this.eventHandlerMap[e]=new Set),this.eventHandlerMap[e].add(t)}dispatchEvent(e,t){if(!e)throw new Error(`Expected an eventName parameter with a string value. Instead received ${e}.`);if(!t)throw new Error(`Expected an eventData parameter to be an object. Instead received ${t}.`);try{Object.prototype.hasOwnProperty.call(this.eventHandlerMap,e)&&this.eventHandlerMap[e].forEach(e=>{e(t)})}catch(t){throw new Error("Error thrown while invoking handler for "+e+": "+t)}}getEventHandlerMap(){return this.eventHandlerMap}clearHandlersForEvent(e){if(!e)throw new Error("The event name parameter passed to assignHandler is "+e+".");delete this.eventHandlerMap[e]}clearEventHandlerMap(){this.eventHandlerMap={}}},{tmpl:void 0,sel:"embeddedMessaging-event-store-private",apiVersion:66,enableSyntheticElementInternals:!0});e.default=n,Object.defineProperty(e,"__esModule",{value:!0})});
357})();LWR.define('embeddedmessaging/eventStorePrivate', ['embeddedMessaging/eventStorePrivate'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/globalEventStore",["exports","embeddedMessaging/eventStorePrivate"],function(e,t){function E(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=E(t);const a=new n.default,r=new n.default,i=new n.default,d=new n.default;e.FORM_EVENTS={FOOTER_NEXT_BUTTON_CLICKED:"footernextbuttonclick",FOOTER_PREV_BUTTON_CLICKED:"footerbackbuttonclick",FOOTER_NEXT_BUTTON_KEYDOWN:"footernextbuttonkeydown",FOOTER_BACK_BUTTON_KEYDOWN:"footerbackbuttonkeydown",FOOTER_DISABLE_PREV_BUTTON:"footerdisablepreviousbutton",FOOTER_ENABLE_PREV_BUTTON:"footerenablepreviousbutton",FOOTER_DISABLE_NEXT_BUTTON:"footerdisablenextbutton",FOOTER_ENABLE_NEXT_BUTTON:"footerenablenextbutton",SECURE_FORM_SUBMIT:"secureformsubmit",FIELD_CHANGE:"fieldchange",SHOW_CLOSE_CONFIRMATION_DIALOG:"showcloseconfirmationdialog",FOCUS_ON_LAST_FOCUSABLE_ELEMENT:"focusonlastfocusableelement"},e.GLOBAL_EVENTS={},e.HEADER_EVENTS={JWT_EXPIRED:"chatheaderjwtexpired",CLEAR_NOTIFICATION:"chatheaderclearnotification",CLICK_OUTSIDE_HEADER:"chatheaderclickoutside",SEND_TRANSCRIPT_SUCCESS:"chatheadersendtranscriptsuccess",SEND_TRANSCRIPT_ERROR:"chatheadersendtranscripterror",CLICK_HEADER_MENU_BUTTON:"chatheadermenubuttonclick",SCRT_REQUEST_ERROR:"scrtrequesterror"},e.MINIMIZED_EVENTS={PARTICIPANT_JOINED:"chatminimizedparticipantjoined",PARTICIPANT_LEFT:"chatminimizedparticipantleft",TRANSFER_INITIATED:"chatminimizedtransferrequested",TRANSFER_TERMINATED:"chatminimizedtransferfailed",TRANSFER_COMPLETED:"chatminimizedtransfercompleted",NEW_UNSEEN_MESSAGES:"chatminimizednewunseenmessages",CLEAR_NOTIFICATIONS:"chatminimizedclearnotifications",JWT_EXPIRED:"chatminimizedjwtexpired",JWT_FETCH_FAILURE:"EMBEDDED_MESSAGING_JWT_RETRIEVAL_FAILURE_EVENT",RECONNECT_IN_PROGRESS:"reconnectinprogress",RECONNECT_ENDED:"reconnectended"},e.assignChatHeaderHandler=(e,t)=>{a.assignHandler(e,t)},e.assignChatMinimizedHandler=(e,t)=>{i.assignHandler(e,t)},e.assignFormEventHandler=(e,t)=>{r.assignHandler(e,t)},e.assignHandler=(e,t)=>{d.assignHandler(e,t)},e.clearEventHandlerMap=()=>{d.clearEventHandlerMap()},e.clearHandlersForEvent=e=>{d.clearHandlersForEvent(e)},e.clearHandlersForFormEvent=e=>r.clearHandlersForEvent(e),e.dispatchChatHeaderEvent=(e,t)=>
357a.dispatchEvent(e,t),e.dispatchChatMinimizedEvent=(e,t)=>i.dispatchEvent(e,t),e.dispatchEvent=(e,t)=>d.dispatchEvent(e,t),e.dispatchFormEvent=(e,t)=>r.dispatchEvent(e,t),e.getEventHandlerMap=()=>d.getEventHandlerMap(),Object.defineProperty(e,"__esModule",{value:!0})});
358})();LWR.define('embeddedmessaging/globalEventStore', ['embeddedMessaging/globalEventStore'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("o11y_schema/sf_embeddedMessaging",["exports"],function(e){e.currentStateSchema={namespace:"sf.embeddedMessaging",name:"CurrentState",pbjsSchema:{nested:{sf:{nested:{embeddedMessaging:{nested:{CurrentState:{oneofs:{_convEntryId:{oneof:["convEntryId"]},_participantType:{oneof:["participantType"]}},fields:{configDev:{type:"string",id:1},method:{type:"string",id:2},stateMessage:{type:"string",id:3},convId:{type:"string",id:4},convEntryId:{type:"string",id:5},convType:{type:"string",id:6},jwtClaims:{type:"string",id:7},hostUrl:{type:"string",id:8},clientName:{type:"string",id:9},participantType:{type:"string",id:10}}}}}}}}}},e.failureEventSchema={namespace:"sf.embeddedMessaging",name:"FailureEvent",pbjsSchema:{nested:{sf:{nested:{embeddedMessaging:{nested:{FailureEvent:{oneofs:{_convEntryId:{oneof:["convEntryId"]},_participantType:{oneof:["participantType"]}},fields:{configDev:{type:"string",id:1},method:{type:"string",id:2},errMessage:{type:"string",id:3},convId:{type:"string",id:4},errCode:{type:"uint32",id:5},convEntryId:{type:"string",id:6},convType:{type:"string",id:7},jwtClaims:{type:"string",id:8},hostUrl:{type:"string",id:9},clientName:{type:"string",id:10},participantType:{type:"string",id:11}}}}}}}}}},e.interactionEventSchema={namespace:"sf.embeddedMessaging",name:"InteractionEvent",pbjsSchema:{nested:{sf:{nested:{embeddedMessaging:{nested:{InteractionEvent:{oneofs:{_participantType:{oneof:["participantType"]}},fields:{configDev:{type:"string",id:1},method:{type:"string",id:2},feature:{type:"string",id:3},op:{type:"string",id:4},convId:{type:"string",id:5},fileSize:{type:"uint32",id:6},fileMimeType:{type:"string",id:7},convType:{type:"string",id:8},jwtClaims:{type:"string",id:9},hostUrl:{type:"string",id:10},clientName:{type:"string",id:11},participantType:{type:"string",id:12}}}}}}}}}},Object.defineProperty(e,"__esModule",{value:!0})});
359})();(function() { LWR.define("embeddedMessaging/common",["exports","embeddedMessaging/constants","embeddedMessaging/globalEventStore","o11y/client","o11y_schema/sf_embeddedMessaging","lightning/purifyLib"],function(e,t,n,r,s,i){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(i);function l(e){return void 0===e||null==e}function E(e){return"boolean"==typeof e&&!isNaN(e)}function c(e){return"number"==typeof e&&!isNaN(e)}function p(e){return"string"==typeof e&&e.trim().length>0}function h(e){if(!p(e))throw new Error(`Expected value to be a 'string', but received: ${e||typeof e}`);return e}function u(e){return"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&Object.keys(e).length>0}function _(e){return!!(Array.isArray(e)&&e.length>0)}function S(e){return"function"==typeof e}let d=!1;function g(e,t,n){d&&window&&window.console&&window.console[e]&&window.console[e]("[Embedded Messaging] "+(Array.isArray(t)?t.join(", "):t))}function T(e){g("log",`${e}`)}function A(e){g("warn",e?`Warning: ${e}`:"Unspecified warning.")}function f(e){g("error",e?`${e}`:"Unspecified error.")}const N={validateAuthMode(e){if(!Object.values(t.AUTH_MODE).includes(e))throw new Error(`${e} is not a valid AUTH_MODE enum value`)},validateJwtExpiry(e){let t,n;try{return t=this.parseJWT(e),n=Math.floor(Date.now()/1e3)<t.exp,n||T(`JWT has expired at ${new Date(1e3*t.exp).toString()}`),n}catch(e){return!1}},parseJWT(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(window.atob(t).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(n)},getAuthMode(e){let t=null;try{t=e.embeddedServiceMessagingChannel.authMode}catch(e){f(`Failed to retrieve auth mode flag: ${e.message}`)}return t},isUserVerificationEnabled(e){const n=this.getAuthMode(e);return n===t.AUTH_MODE.AUTH||n===t.AUTH_MODE.EXP_SITE_AUTH||n===t.AUTH_MODE.EXCHANGE_JWT_AUTH},getUserEnvironmentDetails(){const e=[navigator.platform,navigator.userAgent,navigator.appVersion,navigator.vendor,window.opera].join(" ");return{os:this.matchItem(e,[{name:"Windows Phone",value:"Windows Phone",version:"OS"},{name:"Windows",value:"Win",version:"NT"},{name:"iPhone",value:"iPhone",version:"OS"},{name:"iPad",value:"iPad",version:"OS"},{name:"Kindle",value:"Silk",version:"Silk"},{name:"Android",value:"Android",version:"Android"},{name:"PlayBook",value:"PlayBook",version:"OS"},{name:"BlackBerry",value:"BlackBerry",version:"/"},{name:"Macintosh",value:"Mac",version:"OS X"},{name:"Linux",value:"Linux",version:"rv"},{name:"Palm",value:"Palm",version:"PalmOS"}]),browser:this.matchItem(e,[{name:"Edge",value:"Edg",version:"Edg"},{name:"Chrome",value:"Chrome",version:"Chrome"},{name:"Firefox",value:"Firefox",version:"Firefox"},{name:"Safari",value:"Safari",version:"Version"},{name:"Internet Explorer",value:"MSIE",version:"MSIE"},{name:"Opera",value:"Opera",version:"Opera"},{name:"BlackBerry",value:"CLDC",version:"CLDC"},{name:"Mozilla",value:"Mozilla",version:"Mozilla"}])}},matchItem(e,t){let n,r,s,i,o,a=0,l=0;for(a=0;a<t.length;a+=1)if(n=new RegExp(t[a].value,"i"),s=n.test(e),s){if(r=new RegExp(t[a].version+"[- /:;]([\\d._]+)","i"),i=e.match(r),o="",i&&i[1]&&(i=i[1]),i)for(i=i.split(/[._]+/),l=0;l<i.length;l+=1)o+=0===l?i[l]+".":i[l];else o="0";return{name:t[a].name,version:parseFloat(o)}}return{name:"unknown",version:0}},getDeviceInfoAsQueryParams(){let e="";const t=this.getUserEnvironmentDetails();return t&&(e=new URLSearchParams({os:t.os.name,osVersion:t.os.version,browser:t.browser.name,browserVersion:t.browser.version}).toString()),e}};let I,m,D,k,M,R,b;class w{static setClientSessionId(e){M=e}static setConversationId(e){k=e}static setTraceId(e){R=e}static getTraceId(){return R}static setSpanId(e){b=e}static getSpanId(){return b}}w.initializeLoggingUtil=e=>{I=N.getAuthMode(e)||"",m=e.hostUrl,D=e.name,k=e.conversationId},w.logInteraction=(e,n,i,o)=>{try{const a=r.getInstrumentation(i);e&&e.type&&"click"===e.type&&a.domEvent(e,n,s.interactionEventSchema,{configDev:D||o.configDev,method:o.method,feature:o.feature?o.feature:e.target.id.includes("-")?e.target.id.substr(0,e.target.id.lastIndexOf("-")):e.target.id,op:e.type,convId:k||o.convId,fileSize:o.fileSize,fileMimeType:o.fileMimeType,convType:I||o.convType,hostUrl:m||o.hostUrl,...M&&{jwtClaims:JSON.stringify({[t.CLIENT_SESSION_ID_JWT_CLAIM]:M})},...o.clientName&&{clientName:o.clientName},...o.participantType&&{participantType:o.participantType}})}catch(e){f(`Something went wrong in executing O11y domEvent API from ${o.method}: ${e}`)}},w.logCurrentState=(e,n)=>{try{r.getInstrumentation(e).log(s.currentStateSchema,{configDev:D||n.configDev,method:n.method,stateMessage:n.stateMessage,convId:k||n.c
359onvId,convEntryId:n.convEntryId,convType:I||n.convType,hostUrl:m||n.hostUrl,...M&&{jwtClaims:JSON.stringify({[t.CLIENT_SESSION_ID_JWT_CLAIM]:M})},...n.clientName&&{clientName:n.clientName},...n.participantType&&{participantType:n.participantType}})}catch(e){f(`Something went wrong in executing O11y log API from ${n.method}: ${e}`)}},w.logError=(e,n,i)=>{try{r.getInstrumentation(n).error(e,s.failureEventSchema,{configDev:D||i.configDev,method:i.method,errMessage:i.errMessage,convId:k||i.convId,errCode:i.errCode,convEntryId:i.convEntryId,convType:I||i.convType,hostUrl:m||i.hostUrl,...M&&{jwtClaims:JSON.stringify({[t.CLIENT_SESSION_ID_JWT_CLAIM]:M})},...i.clientName&&{clientName:i.clientName},...i.participantType&&{participantType:i.participantType}})}catch(e){f(`Something went wrong in executing O11y error API from ${i.method}: ${e}`)}},w.logActivity=(e,t,n)=>{try{return r.getInstrumentation(e).activityAsync(t,n)}catch(e){return f(`Something went wrong in executing O11y activity API from ${t}.`),n}};const x=/\{\{(.*?)\}\}/g,y="(?:[\\p{L}\\p{N}_\\-+.'$%&=?^]{1,64}@(?:[\\p{L}\\p{N}_-]){1,255}(?:\\.[\\p{L}\\p{N}_-]{1,255}){1,10})|(?:(?:(?:https?|ftp):\\/\\/(?:[\\p{L}\\p{N}_\\-|=%~#/+@.,;:?!']|&){0,2047}(?:[().\\p{L}\\p{N}_=/+#-])[^\\s().<>,;[\\]'\"]))|(?:([a-zà-ÿ0-9](?:[-a-z0-9]{0,62}[a-zà-ÿ0-9])?\\.)+(?:AI|AU|BE|BR|BIZ|CA|CN|CO|COM|DE|EDU|FM|FR|GOV|IM|IN|INFO|INT|IO|JOBS|JP|LY|ME|MIL|MOBI|NAME|NET|ORG|PRO|RU|SH|SITE|TEL|TRAVEL|TV|UK|US|XYZ)(?!@(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AI|AU|BE|BR|BIZ|CA|CN|CO|COM|DE|EDU|FM|FR|GOV|IM|IN|INFO|INT|IO|JOBS|JP|LY|ME|MIL|MOBI|NAME|NET|ORG|PRO|RU|SH|SITE|TEL|TRAVEL|TV|UK|US|XYZ))(?:\\/[\\p{L}\\p{N}_\\-=?/.&;:%~,+@#]{0,2048}(?:[\\p{L}\\p{N}_=/+#-]|\\([^\\s()]*\\)))?(?:$|(?=\\.$)|(?=\\.\\s)|(?=[^\\p{L}\\p{N}_.])))",O="uigm",G=/\[([^\]]+)\]\((.*?)\)(?=[^\s)]*\s|[^\s)]*$)/g,C={HTTP:"http:",HTTPS:"https:",FULL_HTTP:"http://",FULL_HTTPS:"https://",EMAIL:"mailto:"};function P(e){let t;if(!p(e))throw new Error(`Expected value to be a 'string', but received: ${e||typeof e}`);try{if(t=new URL(e),t.protocol!==C.HTTP&&t.protocol!==C.HTTPS)throw new Error(`URL protocol ${t.protocol} is not allowlisted.`)}catch(t){throw new Error(`URL ${e} failed validation. ${t}`)}return t}function v(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let L={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function B(e){L=e}const U={exec:()=>null};function $(e,t=""){let n="string"==typeof e?e:e.source;const r={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(V.caret,"$1"),n=n.replace(e,s),r},getRegex:()=>new RegExp(n,t)};return r}const V={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},F=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,z=/(?:[*+-]|\d{1,9}[.)])/,H=$(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,z).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),W=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Z=/(?!\s*\])(?:\\.|[^\[\]\\])+/,j=$(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Z).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),q=$(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,z).getRegex(),X="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",J=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,K=$("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
359)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",J).replace("tag",X).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Y=$(W).replace("hr",F).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",X).getRegex(),Q={blockquote:$(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Y).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:j,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:F,html:K,lheading:H,list:q,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Y,table:U,text:/^[^\n]+/},ee=$("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",F).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",X).getRegex(),te={...Q,table:ee,paragraph:$(W).replace("hr",F).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ee).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",X).getRegex()},ne={...Q,html:$("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",J).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:U,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$(W).replace("hr",F).replace("heading"," *#{1,6} *[^\n]").replace("lheading",H).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},re=/^( {2,}|\\)\n(?!\s*$)/,se=/[\p{P}\p{S}]/u,ie=/[\s\p{P}\p{S}]/u,oe=/[^\s\p{P}\p{S}]/u,ae=$(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ie).getRegex(),le=/(?!~)[\p{P}\p{S}]/u,Ee=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,ce=$(Ee,"u").replace(/punct/g,se).getRegex(),pe=$(Ee,"u").replace(/punct/g,le).getRegex(),he="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ue=$(he,"gu").replace(/notPunctSpace/g,oe).replace(/punctSpace/g,ie).replace(/punct/g,se).getRegex(),_e=$(he,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,le).getRegex(),Se=$("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,oe).replace(/punctSpace/g,ie).replace(/punct/g,se).getRegex(),de=$(/\\(punct)/,"gu").replace(/punct/g,se).getRegex(),ge=$(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Te=$(J).replace("(?:--\x3e|$)","--\x3e").getRegex(),Ae=$("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Te).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),fe=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ne=$(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",fe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ie=$(/^!?\[(label)\]\[(ref)\]/).replace("label",fe).replace("ref",Z).getRegex(),me=$
vendor: 18,965 bytes, line 359
359(/^!?\[(ref)\](?:\[\])?/).replace("ref",Z).getRegex(),De={_backpedal:U,anyPunctuation:de,autolink:ge,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:re,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:U,emStrongLDelim:ce,emStrongRDelimAst:ue,emStrongRDelimUnd:Se,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:Ne,nolink:me,punctuation:ae,reflink:Ie,reflinkSearch:$("reflink|nolink(?!\\()","g").replace("reflink",Ie).replace("nolink",me).getRegex(),tag:Ae,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:U},ke={...De,link:$(/^!?\[(label)\]\((.*?)\)/).replace("label",fe).getRegex(),reflink:$(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",fe).getRegex()},Me={...De,emStrongRDelimAst:_e,emStrongLDelim:pe,url:$(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Re={...Me,br:$(re).replace("{2,}","*").getRegex(),text:$(Me.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},be={normal:Q,gfm:te,pedantic:ne},we={normal:De,gfm:Me,breaks:Re,pedantic:ke},xe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ye=e=>xe[e];function Oe(e,t){if(t){if(V.escapeTest.test(e))return e.replace(V.escapeReplace,ye)}else if(V.escapeTestNoEncode.test(e))return e.replace(V.escapeReplaceNoEncode,ye);return e}function Ge(e){try{e=encodeURI(e).replace(V.percentDecode,"%")}catch{return null}return e}function Ce(e,t){const n=e.replace(V.findPipe,(e,t,n)=>{let r=!1,s=t;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(V.splitPipe);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(V.slashPipe,"|");return n}function Pe(e,t,n){const r=e.length;if(0===r)return"";let s=0;for(;s<r;){if(e.charAt(r-s-1)!==t)break;s++}return e.slice(0,r-s)}function ve(e,t,n,r,s){const i=t.href,o=t.title||null,a=e[1].replace(s.other.outputLinkReplace,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:o,text:a}}class Le{constructor(e){this.options=void 0,this.rules=void 0,this.lexer=void 0,this.options=e||L}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Pe(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t,n){const r=e.match(n.other.indentCodeCompensation);if(null===r)return t;const s=r[1];return t.split("\n").map(e=>{const t=e.match(n.other.beginningSpace);if(null===t)return e;const[r]=t;return r.length>=s.length?e.slice(s.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){const t=Pe(e,"#");this.options.pedantic?e=t.trim():t&&!this.rules.other.endingSpaceChar.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Pe(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=Pe(t[0],"\n").split("\n"),n="",r="";const s=[];for(;e.length>0;){let t=!1;const i=[];let o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))i.push(e[o]),t=!0;else{if(t)break;i.push(e[o])}e=e.slice(o);const a=i.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n    $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${l}`:l;const E=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,s,!0),this.lexer.state.top=E,0===e.length)break;const c=s.at(-1);if("code"===c?.type)break;if("blockquote"===c?.type){const t=c,i=t.raw+"\n"+e.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if("list"===c?.type){const t=c,i=t.raw+"\n"+e.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-c.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=i.substring(s.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const i=this.rules.other.listItemRegex(n);let o=!1;for(;e;){let n=!1,r="",a="";if(!(t=i.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,e=>" ".repeat(3*e.length)),E=e.split("\n",1)[0],c=!l.trim(),p=0;if(this.options.pedantic?(p=2,a=l.trimStart()):c?p=t[1].length+1:(p=t[2].search(this.rules.other.nonSpaceChar),p=p>4?1:p,a=l.slice(p),p+=t[1].length),c&&this.rules.other.blankLine.test(E)&&(r+=E+"\n",e=e.substring(E.length+1),n=!0),!n){const t=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),s=this.rules.other.fencesBeginRegex(p),i=this.rules.other.headingBeginRegex(p),o=this.rules.other.htmlBeginRegex(p);for(;e;){const h=e.split("\n",1)[0];let u;if(E=h,this.options.pedantic?(E=E.replace(this.rules.other.listReplaceNesting,"  "),u=E):u=E.replace(this.rules.other.tabCharGlobal,"    "),s.test(E))break;if(i.test(E))break;if(o.test(E))break;if(t.test(E))break;if(n.test(E))break;if(u.search(this.rules.other.nonSpaceChar)>=p||!E.trim())a+="\n"+u.slice(p);else{if(c)break;if(l.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4)break;if(s.test(l))break;if(i.test(l))break;if(n.test(l))break;a+="\n"+E}c||E.trim()||(c=!0),r+=h+"\n",e=e.substring(h.length+1),l=u.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0));let h,u=null;this.options.gfm&&(u=this.rules.other.listIsTask.exec(a),u&&(h="[ ] "!==u[0],a=a.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:r,task:!!u,checked:h,loose:!1,text:a,tokens:[]}),s.raw+=r}const a=s.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter(e=>"space"===e.type),n=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!this.rules.other.tableDelimiter.test(t[2]))return;const n=Ce(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(const e of s)i.rows.push(Ce(e,i.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]})));return i}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;const t=Pe(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),ve(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return ve(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let s,i,o=n,a=0;const l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(i=[...s].length,r[3]||r[4]){o+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){a+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+a);const t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+i);if(Math.min(n,i)%2){const e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}const E=l.slice(2,-2);return{type:"strong",raw:l,text:E,tokens:this.lexer.inlineTokens(E)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," ");const n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=t[0],n="mailto:"+e;else{let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(r!==t[0]);e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}}class Be{constructor(e){this.tokens=void 0,this.options=void 0,this.state=void 0,this.tokenizer=void 0,this.inlineQueue=void 0,this.tokens=[],this.tokens.links=Object.create(null),this.options=e||L,this.options.tokenizer=this.options.tokenizer||new Le,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:V,block:be.normal,inline:we.normal};this.options.pedantic?(t.block=be.pedantic,t.inline=we.pedantic):this.options.gfm&&(t.block=be.gfm,this.options.breaks?t.inline=we.breaks:t.inline=we.gfm),this.tokenizer.rules=t}static get rules(){return{block:be,inline:we}}static lex(e,t){return new Be(t).lex(e)}static lexInline(e,t){return new Be(t).inlineTokens(e)}lex(e){e=e.replace(V.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(V.tabCharGlobal,"    ").replace(V.spaceLine,""));e;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);const n=t.at(-1);1===r.raw.length&&void 0!==n?n.raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);const n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);const n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let s=e;if(this.options.extensions?.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){const i=t.at(-1);n&&"paragraph"===i?.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(r),n=s.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);const n=t.at(-1);"text"===n?.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,r=null;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(n));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(n));)n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,r.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let s=!1,i="";for(;e;){let r;if(s||(i=""),s=!1,this.options.extensions?.inline?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);const n=t.at(-1);"text"===r.type&&"text"===n?.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,i)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let o=e;if(this.options.extensions?.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(o)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(i=r.raw.slice(-1)),s=!0;const n=t.at(-1);"text"===n?.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}}
vendor: 6,047 bytes, line 359
359class Ue{constructor(e){this.options=void 0,this.parser=void 0,this.options=e||L}space(e){return""}code({text:e,lang:t,escaped:n}){const r=(t||"").match(V.notSpaceStart)?.[0],s=e.replace(V.endingNewline,"")+"\n";return r?'<pre><code class="language-'+Oe(r)+'">'+(n?s:Oe(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:Oe(s,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let t=0;t<e.items.length;t++){const n=e.items[t];r+=this.listitem(n)}const s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===e.tokens[0]?.type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+Oe(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){const s=e.rows[t];n="";for(let e=0;e<s.length;e++)n+=this.tablecell(s[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Oe(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),s=Ge(e);if(null===s)return r;let i='<a href="'+(e=s)+'"';return t&&(i+=' title="'+Oe(t)+'"'),i+=">"+r+"</a>",i}image({href:e,title:t,text:n}){const r=Ge(e);if(null===r)return Oe(n);let s=`<img src="${e=r}" alt="${n}"`;return t&&(s+=` title="${Oe(t)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Oe(e.text)}}class $e{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class Ve{constructor(e){this.options=void 0,this.renderer=void 0,this.textRenderer=void 0,this.options=e||L,this.options.renderer=this.options.renderer||new Ue,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new $e}static parse(e,t){return new Ve(t).parse(e)}static parseInline(e,t){return new Ve(t).parseInline(e)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions?.renderers?.[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);for(;r+1<e.length&&"text"===e[r+1].type;)s=e[++r],o+="\n"+this.renderer.text(s);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t=this.renderer){let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions?.renderers?.[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}const i=s;switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class Fe{constructor(e){this.options=void 0,this.block=void 0,this.options=e||L}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Be.lex:Be.lexInline}provideParser(){return this.block?Ve.parse:Ve.parseInline}}Fe.passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);const ze=new class{constructor(...e){this.defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null},this.options=this.setOptions,this.parse=this.parseMarkdown(!0),this.parseInline=this.parseMarkdown(!1),this.Parser=Ve,this.Renderer=Ue,this.TextRenderer=$e,this.Lexer=Be,this.Tokenizer=Le,this.Hooks=Fe,this.use(...e)}walkTokens(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{const e=r;
vendor: 4,781 bytes, line 359
359for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{const s=e[r].flat(1/0);n=n.concat(this.walkTokens(s,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){const t=this.defaults.renderer||new Ue(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const r=n,s=e.renderer[r],i=t[r];t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new Le(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,s=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new Fe;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const r=n,s=e.hooks[r],i=t[r];Fe.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then(e=>i.call(t,e));const n=s.call(t,e);return i.call(t,n)}:t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Be.lex(e,t??this.defaults)}parser(e,t){return Ve.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{const r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(null==t)return i(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);const o=s.hooks?s.hooks.provideLexer():e?Be.lex:Be.lexInline,a=s.hooks?s.hooks.provideParser():e?Ve.parse:Ve.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then(e=>o(e,s)).then(e=>s.hooks?s.hooks.processAllTokens(e):e).then(e=>s.walkTokens?Promise.all(this.walkTokens(e,s.walkTokens)).then(()=>e):e).then(e=>a(e,s)).then(e=>s.hooks?s.hooks.postprocess(e):e).catch(i);try{s.hooks&&(t=s.hooks.preprocess(t));let e=o(t,s);s.hooks&&(e=s.hooks.processAllTokens(e)),s.walkTokens&&this.walkTokens(e,s.walkTokens);let n=a(e,s);return s.hooks&&(n=s.hooks.postprocess(n)),n}catch(e){return i(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Oe(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function He(e,t){return ze.parse(e,t)}He.options=He.setOptions=function(e){return ze.setOptions(e),He.defaults=ze.defaults,B(He.defaults),He},He.getDefaults=v,He.defaults=L,He.use=function(...e){return ze.use(...e),He.defaults=ze.defaults,B(He.defaults),He},He.walkTokens=function(e,t){return ze.walkTokens(e,t)},He.parseInline=ze.parseInline,He.Parser=Ve,He.parser=Ve.parse,He.Renderer=Ue,He.TextRenderer=$e,He.Lexer=Be,He.lexer=Be.lex,He.Tokenizer=Le,He.Hooks=Fe,He.parse=He,He.options,He.setOptions,He.use,He.walkTokens,He.parseInline,Ve.parse,Be.lex;
359const We={RTL:"RTL",LTR:"LTR"};let Ze;const je={setHtmlDirection(e){Ze&&A("htmlDirection has been previously set by the client"),Ze=e},isHtmlDirectionRTL:()=>Ze===We.RTL},qe="EmbeddedMessaging-Common";let Xe;const Je={EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_CLOSED_EVENT:"conversationstatuschangeclosed",EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_OPENED_EVENT:"conversationstatuschangeopened",EMBEDDED_MESSAGING_CHAT_HEADER_BACK_BUTTON_CLICK_EVENT:"chatheaderbackbuttonclick",EMBEDDED_MESSAGING_MAXIMIZE_EVENT:"maximize",EMBEDDED_MESSAGING_MINIMIZED_NOTIFICATION_DISMISS:"minimizednotificationdismiss",UNSEEN_MESSAGE_NOTIFICATION_CLICKED:"unseenmessagenotificationdismiss",APP_LOADED_EVENT_NAME:"ESW_APP_LOADED",APP_MINIMIZE_EVENT_NAME:"ESW_APP_MINIMIZE",APP_MAXIMIZE_EVENT_NAME:"ESW_APP_MAXIMIZE",EMBEDDED_MESSAGING_SET_JWT_EVENT_NAME:"ESW_SET_JWT_EVENT",EMBEDDED_MESSAGING_CLEAR_WEBSTORAGE_EVENT_NAME:"ESW_CLEAR_WEBSTORAGE_EVENT",EMBEDDED_MESSAGING_APP_READY_EVENT_NAME:"ESW_APP_READY_EVENT",EMBEDDED_MESSAGING_SET_CONFIG_EVENT_NAME:"ESW_SET_CONFIG_EVENT",EMBEDDED_MESSAGING_FORM_SUBMIT:"formsubmit",EMBEDDED_MESSAGING_PRECHAT_SUBMIT:"prechatsubmit",APP_RESET_INITIAL_STATE_EVENT_NAME:"ESW_APP_RESET_INITIAL_STATE",EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR:"inappserviceerror",EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY:"createconversationentry",EMBEDDED_MESSAGING_DOWNLOAD_FILE:"ESW_DOWNLOAD_FILE",EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE:"scrollstateupdate",EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE:"endusersentmessage",EMBEDDED_MESSAGING_CONVERSATION_ENTRY_ADDED:"conversationentryadded",EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED:"conversationentryupdated",EMBEDDED_MESSAGING_ACKNOWLEDGEMENT_UPDATE:"acknowledgementupdate",EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_UPDATE:"announcementupdate",EMBEDDED_MESSAGING_UPDATE_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME:"ESW_SET_WEBSTORAGE_FAILEDMESSAGES_EVENT",EMBEDDED_MESSAGING_CLEAN_UP_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME:"ESW_CLEAN_UP_WEBSTORAGE_FAILEDMESSAGES_EVENT",EMBEDDED_MESSAGING_UNSEEN_NOTIFICATION_ANIMATION_END:"unseenNotificationAnimationEnd",EMBEDDED_MESSAGING_STORE_RESTORE_MESSAGE_AREA_SCROLL_POSITION:"storerestoremessageareascrollposition",EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT:"trapfocustolast",EMBEDDED_MESSAGING_MAXIMIZE_RESIZING_COMPLETED_EVENT:"ESW_APP_MAXIMIZATION_RESIZING_COMPLETED",EMBEDDED_MESSAGING_MINIMIZE_RESIZING_COMPLETED_EVENT:"ESW_APP_MINIMIZATION_RESIZING_COMPLETED",EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION:"ESW_APP_UPDATE_TITLE_NOTIFICATION",EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT:"ESW_SHOW_FULL_SIZE_FILE_PREVIEW",EMBEDDED_MESSAGING_INITIALIZE_FILE_PREVIEW_FRAME:"ESW_INITIALIZE_FILE_PREVIEW_FRAME",EMBEDDED_MESSAGING_RESEND_FAILED_MESSAGE:"ESW_RESEND_FAILED_MESSAGE",APP_REQUEST_HIDDEN_PRECHAT_FIELDS_EVENT_NAME:"ESW_APP_SEND_HIDDEN_PRECHAT_FIELDS",APP_RECEIVE_HIDDEN_PRECHAT_FIELDS_EVENT_NAME:"ESW_APP_RECEIVE_HIDDEN_PRECHAT_FIELDS",EMBEDDED_MESSAGING_SET_CONVERSATION_DATA_EVENT_NAME:"EMBEDDED_MESSAGING_SET_CONVERSATION_DATA_EVENT",APP_REQUEST_AUTORESPONSE_PARAMETERS_EVENT_NAME:"ESW_APP_SEND_AUTORESPONSE_PARAMETERS",APP_RECEIVE_AUTORESPONSE_PARAMETER_EVENT_NAME:"ESW_APP_RECEIVE_AUTORESPONSE_PARAMETERS",APP_PRECHAT_SUBMIT:"ESW_APP_PRECHAT_SUBMIT",EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER_EVENT:"EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER",EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT:"EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED",EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT:"EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED",EMBEDDED_MESSAGING_SSE_ERROR_EVENT:"EMBEDDED_MESSAGING_SSE_ERROR",APP_INIT_ERROR_EVENT_NAME:"ESW_APP_INITIALIZATION_ERROR",EMBEDDED_MESSAGING_FORM_MESSAGE_CLICK_EVENT:"embeddedmessagingformmessageclick",EMBEDDED_MESSAGING_CLOSE_CONFIRMATION:"CLOSE_CONFIRMATION_DIALOG",EMBEDDED_MESSAGING_DIALOG_CONFIRM_BUTTON_CLICK:"confirmbuttonclick",EMBEDDED_MESSAGING_DIALOG_CANCEL_BUTTON_CLICK:"cancelbuttonclick",EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT:"EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT",APP_SHOW_MINI
359MIZED_STATE_NOTIFICATION:"ESW_APP_SHOW_MINIMIZED_STATE_NOTIFICATION",EMBEDDED_MESSAGING_PUSH_PARENT_FRAME_LOGS:"EMBEDDED_MESSAGING_PUSH_PARENT_FRAME_LOGS",EMBEDDED_MESSAGING_PUSH_VISIBLE_PRECHAT_FIELDS:"EMBEDDED_MESSAGING_PUSH_VISIBLE_PRECHAT_FIELDS",EMBEDDED_MESSAGING_SHOW_NOTIFICATION:"shownotification",EMBEDDED_MESSAGING_CLEAR_NOTIFICATION:"clearnotification",EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT:"EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_EVENT",EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_SUCCESS:"EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_SUCCESS_EVENT",EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_ERROR:"EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_ERROR_EVENT",EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER:"EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER",EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD:"EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD",EMBEDDED_MESSAGING_APP_AFTER_REFRESH:"EMBEDDED_MESSAGING_APP_AFTER_REFRESH",EMBEDDED_MESSAGING_DISPATCH_EVENT_TO_HOST:"EMBEDDED_MESSAGING_DISPATCH_EVENT_TO_HOST",EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_REQUEST_EVENT_NAME:"EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_REQUEST",EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE_EVENT_NAME:"EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE",EMBEDDED_MESSAGING_END_SESSION:"onEmbeddedMessagingEndSession",EMBEDDED_MESSAGING_CONVO_ERROR_DATA_RECEIVED_EVENT_NAME:"EMBEDDED_MESSAGING_CONVO_ERROR_DATA_RECEIVED",EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ENDED_EVENT:"EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ENDED_EVENT",EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ACTIVE_EVENT:"EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ACTIVE_EVENT",EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_WAITING_EVENT:"EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_WAITING_EVENT",EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_INACTIVE_EVENT:"EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_INACTIVE_EVENT",EMBEDDED_MESSAGING_ON_ORG_MIGRATED_EVENT:"EMBEDDED_MESSAGING_ON_ORG_MIGRATED_EVENT",EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT:"EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT",EMBEDDED_MESSAGING_TEXT_MESSAGE_LINK_CLICK:"EMBEDDED_MESSAGING_TEXT_MESSAGE_LINK_CLICK",APP_RESET_AND_RELAUNCH_EVENT_NAME:"ESW_APP_RESET_AND_RELAUNCH",EMBEDDED_MESSAGING_UPDATE_JWT:"EMBEDDED_MESSAGING_UPDATE_JWT",EMBEDDED_MESSAGING_CLEAR_USER_SESSION_ERROR:"EMBEDDED_MESSAGING_CLEAR_USER_SESSION_ERROR"},Ke={isSafari:()=>navigator.userAgent&&-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome"),isElementVisible:(e,t)=>{if(e&&t){const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom}return!1},unwrapProxy:e=>Array.isArray(e)?e:JSON.parse(JSON.stringify(e||{})||"[]"),waitForFrame:e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(e)})},sendPostMessageToOrigin:(e,t,n)=>{if("string"!=typeof t)throw new Error(`Expected a string to use as message param in post message, instead received ${t}.`);if("string"!=typeof e||e.length<1)throw new Error(`Unable to send post message to parent window because origin value is invalid. Current value is: ${e}.`);window.parent.postMessage({method:t,...n&&{data:n}},e)},dispatchEventToHost(e,t){if("string"!=typeof e||e.length<1)throw new Error("eventName param cannot be undefined or empty");this.sendPostMessageToOrigin(Ke.getParentWindowUrl(),Je.EMBEDDED_MESSAGING_DISPATCH_EVENT_TO_HOST,{eventName:e,eventDetails:t})},sendPostMessageToFilePreviewFrame:(e,n,r)=>{if("string"!=typeof n)throw new Error(`Expected a string to use as message param in post message, instead received ${n}.`);if("string"!=typeof e||e.length<1)throw new Error(`Unable to send post message to file preview iframe because origin value is invalid. Current value is: ${e}.`);Xe||window.parent&&window.parent.frames&&window.parent.frames.length&&(Xe=Object.values(window.parent.frames).find(e=>{try{return e.self===e&&e.name===t.FILE_PREVIEW_IFRAME_NAME}catch{return!1}})),Xe&&Xe.postMessage({method:n,...r&&{data:r}},e)},replacePlaceholdersInString:(e,t)=>{let n=e;for(const e in t)e&&(n=n.replace(e,t[e]));return n},uuid:()=>
359{const e="0123456789abcdef",t=new Uint32Array(32);crypto.getRandomValues(t);let n="";for(let r=0;r<32;r++)8!==r&&12!==r&&16!==r&&20!==r||(n+="-"),n+=12===r?"4":e.charAt(16===r?3&t[r]|8:15&t[r]);return n},generateTraceId:()=>{try{const e=new Uint8Array(16);return crypto.getRandomValues(e),Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch(e){return f(`Error generating a x-b3-traceId: ${e}`),""}},generateSpanId:()=>{try{const e=new Uint8Array(8);return crypto.getRandomValues(e),Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch(e){return f(`Error generating a x-b3-spanId: ${e}`),""}},isDesktop:()=>-1===navigator.userAgent.indexOf("Mobi"),isIOSChrome:()=>navigator.userAgent.match("CriOS"),isMobilePublisherApp:()=>navigator.userAgent.includes("CommunityHybridContainer")||navigator.userAgent.includes("playgroundcommunity"),isEmpty:e=>e&&0===Object.keys(e).length,isSameDay(e,t){const n=new Date(e),r=new Date(t);return n.getDate()===r.getDate()&&n.getMonth()===r.getMonth()&&n.getFullYear()===r.getFullYear()},handleWindowEvents(e,t){let n,r;try{if(l(e&&e.data))throw new Error(`Expected to receive a valid message event, instead received ${e}.`);let s;n=e.data.method?e.data.method:void 0,r=e.data.data?e.data.data:void 0;const i=Ke.getParentWindowUrl();try{s=i?new URL(i).origin:void 0}catch(e){s=void 0}if(s&&"null"!==e.origin&&e.origin===s&&t&&u(t)&&t.hasOwnProperty(n)&&S(t[n])){(0,t[n])(r)}}catch(e){f(`Failed to handle a message event from the parent page for the event ${n}.`)}},querySelectItem(e,t){const n=e.parentNode;if(!n||!n.children||n.children.length<1)return null;const r=Array.prototype.indexOf.call(n.children,e);if(r<0)return null;const s=n.children.length,i=n.children[((r+t)%s+s)%s];return i&&i.children&&i.children.length>0&&i.firstChild?i.firstChild:null},getEpochTimesDiffInSeconds(e,t){try{if(isNaN(e))throw new Error(`[getEpochTimesDiffInSeconds] Expected a valid start-time, instead received ${e}`);if(isNaN(t))throw new Error(`[getEpochTimesDiffInSeconds] Expected a valid end-time, instead received ${t}`);if(e>t)throw new Error(`[getEpochTimesDiffInSeconds] start-time: ${e} is after end-time: ${t}`);return((t-e)/1e3).toFixed(3)}catch(n){throw new Error(`[getEpochTimesDiffInSeconds] Something went wrong while calculating Epoch time difference in seconds between start-time: ${e} and end-time: ${t}`)}},getClientSessionIdJwtClaim(e){try{const n=N.parseJWT(e)||{};return n[t.CLIENT_SESSION_ID_JWT_CLAIM]||""}catch(e){throw new Error(`Something went wrong while extracting clientSessionId claim from the JWT: ${e}`)}},getParentWindowUrl:()=>document.referrer&&""!==document.referrer?document.referrer:document.location.ancestorOrigins[0],encodeRFC5987FileName(e){if("string"!=typeof e)return f(`Expected file name to be a valid string to encode, instead received ${e}.`),"";try{return encodeURIComponent(e).replace(/['()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`).replace(/%(7C|60|5E)/g,(e,t)=>String.fromCharCode(parseInt(t,16)))}catch(t){return f(`Something went wrong while encoding the filename: ${e} per RFC5987 encoding standards: ${t}`),""}},parseMarkdownLinks:e=>e?e.replace(G,(e,t,n)=>n.trim().toLowerCase().startsWith("javascript:")?t:`<a href="${n}" target="_blank" rel="noopener noreferrer">${t}</a>`):"",parseMarkdownToHtml(e){if(!e)return"";try{return He.parse(e,{breaks:!0}).trim()}catch(e){return w.logError(e,qe,{method:"parseMarkdownToHtml",errMessage:"Something went wrong parsing markdown."}),""}},parseStaticText(e){const t=[];if(!e)return t;let n;try{n=new RegExp(y,O)}catch(n){return w.logError(n,qe,{method:"parseStaticText",errMessage:"Something went wrong initializing hyperlink regex."}),t.push({id:0,isAnchor:!1,text:e.substring(0,e.length)}),t}let r=n.exec(e),s=0,i=0,o="";for(;null!==r;){const a=r[0];r.index!==s&&t.push({id:i++,isAnchor:!1,text:e.substring(s,r.index)}),-1!==a.indexOf("@")?t.push({id:i++,isAnchor:!0,url:C.EMAIL+a,text:a}):(o=a.startsWith(C.FULL_HTTP)||a.startsWith(C.FULL_HTTPS)?a:C.FULL_HTTPS+a,t.push({id:i++,isAnchor:!0,url:o,text:a})),s=r.index+a.length,r=n.exec(e)}return s!==e.length&&t.push({id:i++,isAnchor:!1,text:e.substring(s,e.length)}),t},handleLinkClick(e,t){t&&(t.stopPropagation(),w.logInteraction(t,this,e,{method:"handleLinkClick"}))},handleTextMessageLinkClick(e,t,n){if(n){n.stopPropagation(),w.logInteraction(n,this,e,{method:"handleTextMessageLinkClick"});const r=n.target?.closest?.("a"),s=r?.dataset.href;r&&s&&(n.preventDefault(),Ke.sendPostMessageToOrigin(Ke.getParentWindowUrl(),Je.EMBEDDED_MESSAGING_TEXT_MESSAGE_LINK_CLICK,{conversationEntry:JSON.stringify(t),link:s}))}},formatTextMessageLinks(e,t,n){if(!e||!n)return;const r=e.querySelector("lightning-formatted-rich-text");if(r){const e=r.shadowRoot.querySelectorAll("a");for(const r of e){r.setAttribute("rel","noopener noreferrer");const e=r.getAttribute("href");r.dataset.href=e,r.addEventListener("click",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.returnValue=!1,this.handleTextMessageLinkClick(t,n,e)},!0)}}},formatMarkdownTables(e,t){if(!e)return;const n=e.querySelector("lightning-formatted-rich-text");if(n&&n.shadowRoot){const e=n.shadowRoot.querySelectorAll("table"),r="table-wrapper"+(t?"_outbound":"_inbound");
359e.forEach(e=>{if(e.parentElement&&e.parentElement.classList.contains("table-wrapper-inner"))return;const t=document.createElement("div");t.className=`table-wrapper-outer ${r}`;const n=document.createElement("div");n.className=`table-wrapper-inner ${r}`;e.parentNode.insertBefore(t,e),t.appendChild(n),n.appendChild(e)})}},formatMarkdownCodeblocks(e,t){if(!e)return;const n=e.querySelector("lightning-formatted-rich-text");if(n&&n.shadowRoot){const e=n.shadowRoot.querySelectorAll("pre"),r="code-block-wrapper"+(t?"_outbound":"_inbound");e.forEach(e=>{if(e.parentElement&&e.parentElement.classList.contains("code-block-inner"))return;const t=document.createElement("div");t.className=`code-block-outer ${r}`;const n=document.createElement("div");n.className=`code-block-inner ${r}`;e.parentNode.insertBefore(t,e),t.appendChild(n),n.appendChild(e)})}}};let Ye=!0;let Qe;let et;const tt={createStaticContentTextEntry(e,r,s){n.dispatchEvent(Je.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:r,content:{...s&&{inReplyToMessageId:s},messageType:t.MessageTypes.STATIC_CONTENT_MESSAGE,staticContent:{formatType:t.FormatTypes.TEXT,text:e}},messageType:t.MessageTypes.STATIC_CONTENT_MESSAGE,entryType:t.EntryTypes.CONVERSATION_MESSAGE,sender:{role:t.ParticipantRoles.ENDUSER},actorType:t.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createStaticContentAttachmentsEntry(e,r,s){const i=Array.isArray(r)?r:[r];if(!i.length||i.some(e=>!e||"object"!=typeof e))throw new Error(`Failed to create a conversation entry. Expected an attachment type of Object but received: ${JSON.stringify(r)}`);n.dispatchEvent(Je.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:e,content:{messageType:t.MessageTypes.STATIC_CONTENT_MESSAGE,staticContent:{attachments:i.map(e=>({id:Ke.uuid(),mimeType:e.type,name:e.name})),formatType:t.FormatTypes.ATTACHMENTS,text:s}},messageType:t.MessageTypes.STATIC_CONTENT_MESSAGE,entryType:t.EntryTypes.CONVERSATION_MESSAGE,sender:{role:t.ParticipantRoles.ENDUSER},actorType:t.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createChoicesResponseSelectionsEntry(e,r,s){const i=e.optionIdentifier,o=t.getOptionTitle(e);n.dispatchEvent(Je.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:r,content:{...s&&{inReplyToMessageId:s},messageType:t.MessageTypes.CHOICES_RESPONSE_MESSAGE,choicesResponse:{formatType:t.FormatTypes.SELECTIONS,selectedOptions:[{optionIdentifier:i,itemType:t.TitleInteractionItemTypes.TITLE_OPTION_ITEM,titleItem:{itemType:t.TitleItemTypes.TITLE_ITEM,title:o}}]}},messageType:t.MessageTypes.CHOICES_RESPONSE_MESSAGE,entryType:t.EntryTypes.CONVERSATION_MESSAGE,sender:{role:t.ParticipantRoles.ENDUSER},actorType:t.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createFormResponseErrorMessageEntry(e,r,s){n.dispatchEvent(Je.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:r,content:{...s&&{inReplyToMessageId:s},messageType:t.MessageTypes.FORM_RESPONSE_MESSAGE,formResponse:{formatType:t.FormatTypes.RESULT,result:{resultType:t.FormResultType.FORM_ERROR_RESULT,...e&&{errors:e}}}},messageType:t.MessageTypes.FORM_RESPONSE_MESSAGE,entryType:t.EntryTypes.CONVERSATION_MESSAGE,sender:{role:t.ParticipantRoles.ENDUSER},actorType:t.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})},createFormResponsePendingMessageEntry(e,r){n.dispatchEvent(Je.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,{detail:{messageId:e,content:{...r&&{inReplyToMessageId:r},messageType:t.MessageTypes.FORM_RESPONSE_MESSAGE,formResponse:{formatType:t.FormatTypes.RESULT,result:{resultType:t.FormResultType.FORM_PENDING_RESULT}}},messageType:t.MessageTypes.FORM_RESPONSE_MESSAGE,entryType:t.EntryTypes.CONVERSATION_MESSAGE,sender:{role:t.ParticipantRoles.ENDUSER},actorType:t.ParticipantRoles.ENDUSER,transcriptedTimestamp:Date.now()}})}},nt=new Set(["fixed","absolute","sticky"]),rt=new Set(["z-index","transform","opacity","margin","margin-top","margin-right","margin-bottom","margin-left"]),st=e=>{if(1!==e.nodeType||!e.hasAttribute("style"))return;const t=e.style,n=t.getPropertyValue("position").trim().toLowerCase();nt.has(n)&&t.removeProperty("position");for(let e=t.length-1;e>=0;e-=1){const n=t[e].toLowerCase();rt.has(n)&&t.removeProperty(n)}0===t.length&&e.removeAttribute("style")};e.ALLOWED_URL_PROTOCOLS=C,e.AUTORESPONSE_URL_PLACEHOLDER_REGEX=x,e.DOMAIN_REGEX=/^(?:https?:\/\/)?(?:[^@/\n]+@)?(?:www.)?([^:/?\n]+)/,e.HYPERLINK_REGEX=y,e.HYPE
359RLINK_REGEX_FLAGS=O,e.HtmlDirections=We,e.KEY_CODES={ENTER:"Enter",TAB:"Tab",SPACE:" ",ESCAPE:"Escape",UP:"ArrowUp",DOWN:"ArrowDown"},e.LINE_BREAK_REGEX=/\n/g,e.LoggingUtil=w,e.MARKDOWN_LINK_REGEX=G,e.NOTIFICATION_TYPES={INFO:"info",SUCCESS:"success",ERROR:"error"},e.NUMBER_VALIDATION_REGEX="^[0-9.]*$",e.PHONE_NUMBER_VALIDATION_REGEX="^[0-9\\(\\)+-.\\s]*$",e.SLDS_ICON={CLOSE:"utility:close",MENU:"utility:threedots_vertical",INFO:"utility:info",SUCCESS:"utility:success",ERROR:"utility:error"},e.URL_VALIDATION_REGEX="\\S+\\.\\S+",e.YOUTUBE_VIDEO_IDS_REGEX=/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?(?:embed\/)?(?:v\/)?(?:shorts\/)?(?<videoId>[\w-]{11})(?:\S+)?/g,e.authEvent={EMBEDDED_MESSAGING_CLEAR_USER_SESSION_EVENT_NAME:"EMBEDDED_MESSAGING_CLEAR_USER_SESSION_EVENT",EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT_NAME:"EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT",EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME:"EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT",EMBEDDED_MESSAGING_SET_IDENTITY_TOKEN_EVENT_NAME:"EMBEDDED_MESSAGING_SET_IDENTITY_TOKEN_EVENT"},e.authUtil=N,e.constructAutoResponseURL=(e,n=[],r={})=>{const s={};let i;try{if(Array.isArray(n))for(const e of n)try{const n=t.getTextValue(e.value);s[e.name]=n}catch(t){A(`[Auto-Response] Unable to extract text value for parameter: ${e.name}. Error: ${t.message}`)}if(r&&Object.assign(s,r),!e)throw new Error("URL string is required");const o=P(e);return i=decodeURI(o.href).replaceAll(x,e=>{const t=x.exec(e);if(x.lastIndex=0,null!==t&&t[1]){const n=t[1];if(Object.keys(s).includes(n))return s[n];A(`[Auto-Response] Unable to replace parameter {{${n}}}. URL will include placeholder ${e}.`)}return e}),P(i),i}catch(e){throw new Error(`Error constructing auto-response URL: ${e.message}`)}},e.createConversationEntryUtil=tt,e.error=f,e.events=Je,e.getDisplayMode=()=>et,e.getEnableUserInputForConversationWithBotFromConfig=()=>Ye,e.getLanguage=()=>Qe,e.isArray=_,e.isBoolean=E,e.isFunction=S,e.isNullOrUndefined=l,e.isNumber=c,e.isObject=u,e.isString=p,e.log=T,e.requestParametersFromAutoResponseAPI=()=>{Ke.sendPostMessageToOrigin(Ke.getParentWindowUrl(),Je.APP_REQUEST_AUTORESPONSE_PARAMETERS_EVENT_NAME)},e.rtlUtil=je,e.sanitizeRichTextHtml=(e="")=>a.default(e,{hook:{afterSanitizeAttributes:st}}),e.setDevMode=function(e){d=e},e.setDisplayMode=e=>{et=e},e.setEnableUserInputForConversationWithBotFromConfig=e=>{Ye=e},e.setLanguage=e=>{Qe=e},e.util=Ke,e.validateArray=function(e){if(!_(e))throw new Error(`Expected value to be an Array, but received: ${e||typeof e}`);return e},e.validateBoolean=function(e){if(!E(e))throw new Error(`Expected value to be a 'boolean' but received: ${e||typeof e}`);return e},e.validateFunction=function(e){if(!S(e))throw new Error(`Expected value to be a 'function', but received: ${e||typeof e}`);return e},e.validateNotNullOrUndefined=function(e){if(l(e))throw new Error(`Expected value to be defined and non-null but received: ${e||typeof e}`);return e},e.validateNumber=function(e){if(!c(e))throw new Error(`Expected value to be a 'number' but received: ${e||typeof e}`);return e},e.validateObject=function(e){if(!u(e))throw new Error(`Expected value to be an 'object', but received: ${e||typeof e}`);return e},e.validateParametersFromAutoResponseAPI=e=>{if("object"!=typeof e||"[object Object]"!==Object.prototype.toString.call(e))throw new Error(`Expected value to be an 'object', but received: ${e||typeof e}`);if(Object.keys(e).length>0)for(const[t,n]of Object.entries(e))h(t),h(n);else A("[Auto-Response API] Parameters received from host domain are empty.")},e.validateString=h,e.validateURL=P,e.warning=A,Object.defineProperty(e,"__esModule",{value:!0})});
360})();LWR.define('embeddedmessaging/common', ['embeddedMessaging/common'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/brandingUtils",["exports"],function(e){const a={AGENT_MESSAGE_BACKGROUND:{name:"--agentMessageBackgroun
360d",default:"#F3F3F3"},AGENT_MESSAGE_TEXT:{name:"--agentMessageText",default:"#181818"},AGENT_MESSAGE_LINK:{name:"--agentMessageLink",default:"#0469C1"},USER_MESSAGE_BACKGROUND:{name:"--userMessageBackground",default:"#2E2E2E"},USER_MESSAGE_TEXT:{name:"--userMessageText",default:"#FFFFFF"},USER_MESSAGE_LINK:{name:"--userMessageLink",default:"#FFFFFF"},PRIMARY_BUTTON_BACKGROUND:{name:"--primaryButtonBackground",default:"#2E2E2E"},PRIMARY_BUTTON_TEXT:{name:"--primaryButtonText",default:"#FFFFFF"},INPUT_FOOTER_BUTTON:{name:"--inputFooterButton",default:"#939393"},CHAT_BUTTON:{name:"--chatButton",default:"#2E2E2E"},HEADER_BACKGROUND:{name:"--headerBackground",default:"#FFFFFF"},HEADER_FOREGROUND:{name:"--headerForeground",default:"#181818"},PRIMARY_TEXT:{name:"--primaryText",default:"#181818"},SECONDARY_TEXT:{name:"--secondaryText",default:"#444444"},INPUT_OUTLINE:{name:"--inputOutline",default:"#747474"},ALERT:{name:"--alert",default:"#D72E2D"},INVITATION_TEXT:{name:"--invitationText",default:"#FFFFFF"},INVITATION_DISMISSAL_BUTTON:{name:"--invitationDismissalButton",default:"#AEAEAE"},SECONDARY_BUTTON_BACKGROUND:{name:"--secondaryButtonBackground",default:"#FFFFFF"},SECONDARY_BUTTON_TEXT:{name:"--secondaryButtonText",default:"#181818"},SECONDARY_BUTTON_OUTLINE:{name:"--secondaryButtonOutline",default:"#747474"},CITATIONS_BACKGROUND:{name:"--citationsBackground",default:"#FFFFFF"},CITATIONS_TEXT:{name:"--citationsText",default:"#181818"},FONT:{name:"--font",default:"Arial, sans-serif"},AGENT_AVATAR_IMAGE:{name:"--avatarImage",default:null},LOGO_IMAGE:{name:"--logoImage",default:null},BOT_AVATAR_IMAGE:{name:"--botImage",default:null},FAB_IMAGE:{name:"--fabImage",default:null},BASE_FONT_SIZE:{name:"--baseFontSize",default:"medium"},WIDTH:{name:"--width",default:"320"},HEIGHT:{name:"--height",default:"480"}},t={agentAvatarImage:{value:null},logoImage:{value:null},botAvatarImage:{value:null},fabImage:{value:null}},n=["primaryButtonBackground","secondaryButtonBackground","chatButton","headerBackground","inputFooterButton","citationsBackground"],r={Arial:"sans-serif","Salesforce Sans":"sans-serif",Georgia:"serif","Palatino Linotype":"serif","Times New Roman":"serif","Arial Black":"sans-serif","Comic Sans MS":"cursive",Impact:"fantasy","Lucida Sans Unicode":"sans-serif",Tacoma:"sans-serif","Trebuchet MS":"sans-serif",Verdana:"sans-serif","Courier New":"monospace","Lucida Console":"monospace",customFont:"sans-serif"},T=e=>/[^A-Za-z-]+/.test(e),u=e=>getComputedStyle(document.documentElement).getPropertyValue(e.name)?getComputedStyle(document.documentElement).getPropertyValue(e.name):e.default,E=(e,a)=>{if(!e)throw new Error(`Cannot set branding value. Expected tokenName to be defined but received: ${e}.`);a?document.documentElement.style.setProperty("--"+e,a):document.documentElement.style.setProperty("--"+e,null)},o=e=>{switch(e){case a.AGENT_MESSAGE_BACKGROUND.name:return u(a.AGENT_MESSAGE_BACKGROUND);case a.AGENT_MESSAGE_TEXT.name:return u(a.AGENT_MESSAGE_TEXT);case a.AGENT_MESSAGE_LINK.name:return u(a.AGENT_MESSAGE_LINK);case a.USER_MESSAGE_BACKGROUND.name:return u(a.USER_MESSAGE_BACKGROUND);case a.USER_MESSAGE_TEXT.name:return u(a.USER_MESSAGE_TEXT);case a.USER_MESSAGE_LINK.name:return u(a.USER_MESSAGE_LINK);case a.PRIMARY_BUTTON_BACKGROUND.name:return u(a.PRIMARY_BUTTON_BACKGROUND);case a.PRIMARY_BUTTON_TEXT.name:return u(a.PRIMARY_BUTTON_TEXT);case a.INPUT_FOOTER_BUTTON.name:return u(a.INPUT_FOOTER_BUTTON);case a.CHAT_BUTTON.name:return u(a.CHAT_BUTTON);case a.INVITATION_DISMISSAL_BUTTON.name:return u(a.INVITATION_DISMISSAL_BUTTON);case a.HEADER_BACKGROUND.name:return u(a.HEADER_BACKGROUND);case a.HEADER_FOREGROUND.name:return u(a.HEADER_FOREGROUND);case a.PRIMARY_TEXT.name:return u(a.PRIMARY_TEXT);case a.SECONDARY_TEXT.name:return u(a.SECONDARY_TEXT);case a.INPUT_OUTLINE.name:return u(a.INPUT_OUTLINE);case a.ALERT.name:return u(a.ALERT);case a.INVITATION_TEXT.name:return u(a.INVITATION_TEXT);case a.SECONDARY_BUTTON_BACKGROUND.name:return u(a.SECONDARY_BUTTON_BACKGROUND);case a.SECONDARY_BUTTON_TEXT.name:return u(a.SECONDARY_BUTTON_TEXT);case a.SECONDARY_BUTTON_OUTLINE.name:return u(a.SECONDARY_BUTTON_OUTLINE);case a.CITATIONS_BACKGROUND.name:return u(a.CITATIONS_BACKGROUND);case a.CITATIONS_TEXT.name:return u(a.CITATIONS_TEXT);case a.FONT.name:return u(a.FONT);case a.AGENT_AVATAR_IMAGE.name:return t.agentAvatarImage.value;case a.LOGO_IMAGE.name:return t.logoImage.value;case a.BOT_AVATAR_IMAGE.name:return t.botAvatarImage.value;case a.FAB_IMAGE.name:return t.fabImage.value;case a.BASE_FONT_SIZE.name:return u(a.BASE_FONT_SIZE);case a.WIDTH.name:return u(a.WIDTH);case a.HEIGHT.name:return u(a.HEIGHT)}return""},s=(e,a)=>e+"/sfsites/c/resource/"+a,A=(e,a)=>{const t=document.createElement("style");t.id="customFontStyle",t.textContent=`@font-face {\n            font-family: '${e}';\n            src: url("${a}");\n         }`,document.head.appendChild(t)},m=()=>
360{n.forEach(e=>{E(`${e}HoverColor`,_.getHoverBackgroundColor(o("--"+e)))})},_={getRelativeLuminance:e=>{const[a,t,n]=Object.values(e).map(e=>_.getSRGB(e));return.2126*a+.7152*t+.0722*n},getSRGB:e=>(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),convertHexToRGB:e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}),convertRGBToHex:(e,a,t)=>"#"+((1<<24)+(e<<16)+(a<<8)+t).toString(16).slice(1),getHoverBackgroundColor:e=>{const a=_.convertHexToRGB(e),t=_.getRelativeLuminance(a).toFixed(6)>=.027321?-22:22,n=Math.max(0,a.r+t),r=Math.max(0,a.g+t),T=Math.max(0,a.b+t);return _.convertRGBToHex(n,r,T)}};e.BRANDING_TOKENS=a,e.BUTTON_BACKGROUND_TOKENS=n,e.buttonStateStyling=_,e.computeStyle=u,e.createAndAppendCustomFontStyle=A,e.createButtonHoverColors=m,e.createCustomCSSProperties=(e,a)=>{let n="";for(const u of e){switch(u&&!u.hasOwnProperty("v")&&(u.v=null),u.n){case"baseFontSize":E(u.n,u.v.toLowerCase());break;case"font":if(n=u.v+", "+r[u.v],void 0===r[u.v]&&T(u.v)?n=`'${u.v}', `+r.customFont:void 0!==r[u.v]||T(u.v)?void 0!==r[u.v]&&T(u.v)&&(n=`'${u.v}', `+r[u.v]):n=u.v+", "+r.customFont,E(u.n,n),void 0===r[u.v]){const e=u.v,t=s(a,e);A(e,t)}break;case"avatarImage":t.agentAvatarImage.value=u.v;break;case"logoImage":t.logoImage.value=u.v;break;case"botImage":t.botAvatarImage.value=u.v;break;case"fabImage":t.fabImage.value=u.v;break;default:E(u.n,u.v)}m()}},e.generateResourceUrl=s,e.getBrandingValue=o,e.setBrandingValue=E,Object.defineProperty(e,"__esModule",{value:!0})});
361})();LWR.define('embeddedmessaging/brandingUtils', ['embeddedMessaging/brandingUtils'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/loadingAnimation",["exports","lwc","embeddedMessaging/common","embeddedMessaging/brandingUtils"],function(a,e,i,n){var s=[function(a,e,i){var n=a?"["+a+"]":"",s=a?"["+a+"-host]":"",t=a?"-"+a:"";return(e?":host {":s+" {")+"position: relative;}"+(e?":host.showLoadingAnimation {":s+".showLoadingAnimation {")+"opacity: 1;display: block;visibility: visible;background-color: inherit;animation: appear"+t+" 0.5s linear;}"+(e?":host.hideLoadingAnimation {":s+".hideLoadingAnimation {")+"opacity: 0;display: none;animation: disappear"+t+" 0.5s linear;}@keyframes appear"+t+" {0% {opacity: 0;}100% {opacity: 1;}}@keyframes disappear"+t+" {0% {opacity: 1;}100% {opacity: 0;}}span.loadingBall"+n+" {font-size: 8px;text-align: center;margin: 3px;display: inline-block;width: 1em;height: 1em;border-radius: 50%;vertical-align: middle;}span.loadingBall.first"+n+" {animation: ballanimate"+t+" 2.25s infinite ease-in-out;}span.loadingBall.second"+n+" {animation: ballanimate-2"+t+" 2.25s infinite ease-in-out;}span.loadingBall.third"+n+" {animation: ballanimate-3"+t+" 2.25s infinite ease-in-out;}@keyframes ballanimate"+t+" {0% {transform: scale(1.0);}16% {transform: scale(1.5);}32% {transform: scale(1.0);}}@keyframes ballanimate-2"+t+" {32% {transform: scale(1.0);}48% {transform: scale(1.5);}64% {transform: scale(1.0);}}@keyframes ballanimate-3"+t+" {64% {transform: scale(1.0);}80% {transform: scale(1.5);}96% {transform: scale(1.0);}}"}];const t=e.parseFragment`<span class="loadingBall first${0}"${2}></span>`,l=e.parseFragment`<span class="loadingBall second${0}"${2}></span>`,o=e.parseFragment`<span class="loadingBall third${0}"${2}></span>`;function r(a,e,i,n){const{st:s}=a;return[s(t,1),s(l,3),s(o,5)]}var d=e.registerTemplate(r);r.stylesheets=[],r.stylesheetToken="lwc-2kir59ntf7a",r.legacyStylesheetToken="embeddedMessaging-loadingAnimation_loadingAnimation",s&&r.stylesheets.push.apply(r.stylesheets,s),e.freezeTemplate(r);class m extends e.LightningElement{constructor(...a){super(...a),this.loadingBallColorToken=void 0,this._shouldDisplay=void 0}get shouldDisplay(){return this._shouldDisplay}set shouldDisplay(a){i.validateBoolean(a),this._shouldDisplay=a,a?(this.template.host.classList.add("showLoadingAnimation"),this.template.host.classList.remove("hideLoadingAnimation")):(this.template.host.classList.remove("showLoadingAnimation"),this.template.host.classList.add("hideLoadingAnimation"))}connectedCallback(){this.applyStyling()}applyStyling(){try{if(i.isString(this.loadingBallColorToken.name)){const a=document.createElement("style"),e=n.getBrandingValue(this.loadingBallColorToken.name);this.template.host.appendChild(a),a.sheet.insertRule(`.loadingBall { background-color: var(${this.loadingBallColorToken.name}, ${e}); }`)}}catch(a){i.warning(a)}}}e.registerDecorators(m,{publicProps:{loadingBallColorToken:{config:0},shouldDisplay:{config:3}},fields:["_shouldDisplay"]});const p=e.registerComponent(m,{tmpl:d,sel:"embeddedMessaging-loading-animation",apiVersion:66,enableSyntheticElementInternals:!0});a.default=p,Object.defineProperty(a,"__esModule",{value:!0})});
362})();LWR.define('embeddedmessaging/loadingAnimation', ['embeddedMessaging/loadingAnimation'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/sldsUtilsThemes",["exports"],function(e){var s=[function(e,s,r){var a=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(s?":host([data-render-mode='shadow']) .slds-theme_default"+a+",:host([data-interactive-dialog]) .slds-theme_default":o+"[data-render-mode='shadow'] .slds-theme_default"+a+","+o+"[data-interactive-dialog] .slds-theme_default")+a+" {background-color: var(--slds-g-color-neutral-base-100, #fff);color: var(--slds-g-color-neutral-base-10, #181818);}"+(s?":host([data-render-mode='shadow']) .slds-theme_shade"+a+",:host([data-interactive-dialog]) .slds-theme_shade":o+"[data-render-mode='shadow'] .slds-theme_shade"+a+","+o+"[data-interactive-dialog] .slds-theme_shade")+a+" {background-color: var(--slds-g-color-neutral-base-95, #f3f3f3);}"+(s?":host([data-render-mode='shadow']) .slds-theme_inverse"+a+",:host([data-interactive-dialog]) .slds-theme_inverse":o+"[data-render-mode='shadow'] .slds-theme_inverse"+a+","+o+"[data-interactive-dialog] .slds-theme_inverse")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-brand-base-10, #001639);border-color: var(--slds-g-color-brand-base-10, #001639);}"+(s?":host([data-render-mode='shadow']) .slds-theme_alt-inverse"+a+",:host([data-interactive-dialog]) .slds-theme_alt-inverse":o+"[data-render-mode='shadow'] .slds-theme_alt-inverse"+a+","+o+"[data-interactive-dialog] .slds-theme_alt-inverse")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-brand-base-20, #032d60);border-color: var(--slds-g-color-brand-base-20, #032d60);}"+(s?":host([data-render-mode='shadow']) .slds-theme_success"+a+",:host([data-interactive-dialog]) .slds-theme_success":o+"[data-render-mode='shadow'] .slds-theme_success"+a+","+o+"[data-interactive-dialog] .slds-theme_success")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-success-base-50, #2e844a);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(\n --slds-g-color-neutral-100-opacity-50,\n rgb(255 255 255 / 50%)\n );--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?":host([data-render-mode='shadow']) .slds-theme_info"+a+",:host([data-interactive-dialog]) .slds-theme_info":o+"[data-render-mode='shadow'] .slds-theme_info"+a+","+o+"[data-interactive-dialog] .slds-theme_info")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-neutral-base-50, #747474);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(\n --slds-g-color-neutral-100-opacity-50,\n rgb(255 255 255 / 50%)\n );--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?":host([data-render-mode='shadow']) .slds-theme_warning"+a+",:host([data-interactive-dialog]) .slds-theme_warning":
362o+"[data-render-mode='shadow'] .slds-theme_warning"+a+","+o+"[data-interactive-dialog] .slds-theme_warning")+a+" {background-color: var(--slds-g-color-warning-base-60, #fe9339);color: var(--slds-g-color-neutral-base-10, #181818);--slds-g-link-color: var(--slds-g-color-neutral-base-10, #181818);--slds-g-link-color-active: var(--slds-g-color-neutral-base-30, #514f4d);--slds-g-link-color-hover: var(--slds-g-color-neutral-base-10, #181818);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;--_slds-g-shadow: 0 0 3px var(--slds--g-color-neutral-base-30, #514f4d);--_slds-g-style-border: solid;--_slds-g-sizing-border: var(--slds-g-sizing-border-1);--_slds-g-color-border: var(--slds-g-color-neutral-base-30, #514f4d);--_slds-g-color-outline: transparent;}"+(s?":host([data-render-mode='shadow']) .slds-theme_warning":o+"[data-render-mode='shadow'] .slds-theme_warning")+a+" "+a+"::part(button) {color: var(--slds-g-color-on-warning-1);text-decoration: underline;--slds-c-icon-color-foreground: var(--slds-g-color-on-warning-1);}"+(s?":host([data-render-mode='shadow']) .slds-theme_warning":o+"[data-render-mode='shadow'] .slds-theme_warning")+a+" ::part(button):hover"+a+" {color: color-mix(in oklab, currentColor, transparent 25%);--slds-c-icon-color-foreground: color-mix(\n in oklab,\n var(--slds-g-color-on-warning-1),\n transparent 25%\n );}"+(s?":host([data-render-mode='shadow']) .slds-theme_warning":o+"[data-render-mode='shadow'] .slds-theme_warning")+a+" ::part(button):focus"+a+" {color: var(--slds-g-color-neutral-base-30, #514f4d);box-shadow: 0 0 3px var(--slds-g-color-neutral-base-30, #514f4d);border: 1px solid var(--slds-g-color-neutral-base-30, #514f4d);}"+(s?":host([data-render-mode='shadow']) .slds-theme_warning":o+"[data-render-mode='shadow'] .slds-theme_warning")+a+" ::part(button):active"+a+" {color: var(--slds-g-color-neutral-base-50, #706e6b);}"+(s?":host([data-render-mode='shadow']) .slds-theme_warning":o+"[data-render-mode='shadow'] .slds-theme_warning")+a+" "+a+"::part(boundary) {--slds-c-icon-color-foreground: var(\n --slds-g-color-neutral-base-30,\n #514f4d\n );}"+(s?":host([data-render-mode='shadow']) .slds-theme_error"+a+",:host([data-interactive-dialog]) .slds-theme_error":o+"[data-render-mode='shadow'] .slds-theme_error"+a+","+o+"[data-interactive-dialog] .slds-theme_error")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-error-base-40, #ea001e);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(\n --slds-g-color-neutral-100-opacity-50,\n rgb(255 255 255 / 50%)\n );--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?":host([data-render-mode='shadow']) .slds-theme_offline"+a+",:host([data-interactive-dialog]) .slds-theme_offline":o+"[data-render-mode='shadow'] .slds-theme_offline"+a+","+o+"[data-interactive-dialog] .slds-theme_offline")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-neutral-base-30, #444);}"+(s?":host([data-render-mode='shadow']) .slds-theme_alert-texture"+a+",:host([data-interactive-dialog]) .slds-theme_alert-texture":o+"[data-render-mode='shadow'] .slds-theme_alert-texture"+a+","+o+"[data-interactive-dialog] .slds-theme_alert-texture")+a+" {background-image: linear-gradient(\n 45deg,\n rgb(0 0 0 / 2.5%) 25%,\n transparent 25%,\n transparent 50%,\n rgb(0 0 0 / 2.5%) 50%,\n rgb(0 0 0 / 2.5%) 75%,\n transparent 75%,\n transparent\n );background-size: 64px 64px;}"+(s?":host([data-render-mode='shadow']) .slds-theme_inverse-text"+a+",:host([data-interactive-dialog]) .slds-theme_inverse-text":o+"[data-render-mode='shadow'] .slds-theme_inverse-text"+a+","+o+"[data-interactive-dialog] .slds-theme_inverse-text")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);}"}];e.default=s,Object.defineProperty(e,"__esModule",{value:!0})});
363})();(function() { LWR.define("lightning/routingService",["exports","lwr/environment","@salesforce/client/formFactor","lightning/features"],function(e,t,n,r){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(n);const s="lightningroutingservicegetlinkinfo",a=new WeakMap,u={standard:"standard_webPage"};class d{constructor(e,t){this.url=void 0,this.dispatcher=void 0,this.url=e,this.dispatcher=t,Object.freeze(this)}}function l(e,t){return new Promise((n,r)=>{const i=new CustomEvent(s,{detail:{stateRef:t,callback:(e,t)=>{e?r(e):n(t)}},bubbles:!0,composed:!0,cancelable:!0});e.dispatchEvent(i)})}e.LinkInfo=d,e.getLinkInfo=l,e.hasLinkProvider=function(e){let{parentNode:t}=e;for(;t;){if(a.has(t))return!0;t=t.parentNode}return!1},e.isLinkProvider=function(e){return a.has(e)},e.registerLinkProvider=function(e,t){let n=a.get(e);void 0===n&&(n=new Set,a.set(e,n)),n.add(t),e.addEventListener(s,t)},e.unregisterLinkProvider=function(e,t){const n=a.get(e);n&&(n.delete(t),n.size||a.delete(e)),e.removeEventListener(s,t)},e.updateRawLinkInfo=function(e,{url:n,target:i,forceDispatch:s=!1}){return null==n&&console.error("url must be specified"),t.isServer?Promise.resolve(new d(n,()=>{})):r.features.enableformattedtextlinkrouting&&s||function(e,t){return!e||"_self"===e||"Small"===t&&"_blank"===e||"_top"===e&&window.top===window||"_parent"===e&&window.parent===window}(i,o.default)?l(e,{stateType:u.standard,attributes:{url:n,target:i}}):new Promise(e=>{e(new d(n,()=>{}))})}
363,e.urlTypes=u,Object.defineProperty(e,"__esModule",{value:!0})});
364})();(function() { LWR.define("lightning/formattedRichTextRenderer",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/purifyLib","lightning/routingService","lightning/utilsPrivate","lightning/utils","lightning/features"],function(e,t,r,i,n,s,a,l,o){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=h(i),d=h(n);var u=[function(){return""}];const g=t.parseFragment`<span part="formatted-rich-text"${3}>${"t1"}</span>`,p={part:"formatted-rich-text"},f={lwc:{dom:"manual"}};function b(e,t,r,i){const{d:n,sp:s,st:a,fr:l,shc:o,h:h}=e;return[t.rawTextIfSanitizerThrewError?l(0,[a(g,2,[s(1,null,n(t.rawTextIfSanitizerThrewError))])],0):l(0,[h("span",{attrs:p,props:{innerHTML:i._rawHtml$0!==(i._rawHtml$0=t.richText)?i._sanitizedHtml$0=o(t.richText):i._sanitizedHtml$0},context:f,key:3})],0)]}var m=t.registerTemplate(b);b.stylesheets=[],b.stylesheetToken="lwc-ne59pbu999",b.legacyStylesheetToken="lightning-formattedRichTextRenderer_formattedRichTextRenderer",u&&b.stylesheets.push.apply(b.stylesheets,u),t.freezeTemplate(b);const k=Object.freeze(["a","abbr","acronym","address","b","br","big","blockquote","caption","cite","code","col","colgroup","del","div","dl","dd","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","ol","mark","p","param","pre","q","s","samp","small","span","strong","sub","sup","table","tbody","td","tfoot","th","thead","tr","tt","u","ul","var","strike","font"]),T=Object.freeze(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","rows","rowspan","spellcheck","scope","selected","shape","size","span","srclang","start","src","step","style","summary","tabindex","target","title","type","usemap","valign","value","width","xmlns","data-fileid"]),x=Object.freeze(["ftp","ftps","http","https","mailto","tel","callto","cid","xmpp","ciscotel","navision","skedulox"]).join("|"),y=new RegExp(`^(?:(?:${x}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"),v=Object.freeze({ALLOWED_TAGS:k,ALLOWED_ATTR:T,ALLOWED_URI_REGEXP:y,ALLOW_UNKNOWN_PROTOCOLS:!1}),_=new RegExp(`${l.tagRegexString}|${l.emailRegexString}|${l.urlRegexString}`,"gi"),R=function(e){return"string"!=typeof e?"":e.replace(_,(e,t,r,i)=>{if(t)return t;if(i){const e=i.endsWith("&quot");let t=i;return e&&(t=i.slice(0,i.lastIndexOf("&quot"))),function(e){return`<a href="${l.createHttpHref(e)}" target="_blank" rel="noopener">${e}</a>`}(t)+(e?"&quot":"")}return r?function(e){return`<a href="${l.createEmailHref(e)}">${e}</a>`}(r):e})};function w(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function C({r:e,g:t,b:r}){return.2126*w(e)+.7152*w(t)+.0722*w(r)}function L(e,t){const r=C(e),i=C(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function S(e,t,r){t/=100,r/=100;const i=(1-Math.abs(2*r-1))*t,n=i*(1-Math.abs(e/60%2-1)),s=r-i/2;let a=0,l=0,o=0;return e>=0&&e<60?(a=i,l=n,o=0):e>=60&&e<120?(a=n,l=i,o=0):e>=120&&e<180?(a=0,l=i,o=n):e>=180&&e<240?(a=0,l=n,o=i):e>=240&&e<300?(a=n,l=0,o=i):e>=300&&e<360&&(a=i,l=0,o=n),{r:Math.round(255*(a+s)),g:Math.round(255*(l+s)),b:Math.round(255*(o+s))}}function E(e,t){let r=L(e,t);if(r>=4.5)return t;const i=function({r:e,g:t,b:r}){e/=255,t/=255,r/=255;const i=Math.max(e,t,r),n=Math.min(e,t,r);let s,a;const l=(i+n)/2;if(i===n)s=a=0;else{const o=i-n;switch(a=l>.5?o/(2-i-n):o/(i+n),i){case e:s=(t-r)/o+(t<r?6:0);break;case t:s=(r-e)/o+2;break;case r:s=(e-t)/o+4}s/=6}return{h:360*s,s:100*a,l:100*l}}(t);let n=i.l;const s=C(e),a=C(t)<s?-1:1;for(;r<4.5&&n>=0&&n<=100&&(n+=1*a,!(n<0||n>100));){const t=S(i.h,i.s,n);if(r=L(e,t),r>=4.5)return t}const l={r:255,g:255,b:255},o={r:0,g:0,b:0};return L(e,l)>=L(e,o)?l:o}
364try{t.setHooks({sanitizeHtmlContent:e=>e})}catch(e){}function O(){return!r.isServer&&getComputedStyle(document.head).getPropertyValue("--_slds-is-v2-enabled")}class z extends c.default{constructor(...e){super(...e),this._themeKey="light",this.rendered=!1,this._value="",this._disableLinkify=!1,this.connected=!1,this.richText=null,this.rawTextIfSanitizerThrewError=null,this.serverRenderedContent=null,this.linkingRequired=!1,this._backgroundColor=null}get disableLinkify(){return this._disableLinkify}set disableLinkify(e){this._disableLinkify=a.normalizeBoolean(e),this.renderRichText()}get value(){return this._value}set value(e){this._value=null==e?"":String(e),this.renderRichText()}renderedCallback(){if(this.linkingRequired&&this.linkRichText(),!this.rendered){if(this.rendered=!0,(o.features.enableWcagRichTextLight||o.features.enableWcagRichTextDark)&&O()&&!r.isServer){const e=window.getComputedStyle(this.template.host)?.colorScheme.includes("dark");e&&(this._themeKey="dark")}this.renderRichText()}}connectedCallback(){super.connectedCallback(),this.classList.add("slds-rich-text-editor__output"),this.connected=!0,r.isServer||(this.serverRenderedContent=this.container?.innerHTML,this.serverRenderedContent&&(this.richText=this.serverRenderedContent))}disconnectedCallback(){this.removeLinkClickListeners(),this.connected=!1}handleClick(e){const t=e.currentTarget;if(null===t)return;const r=t.target,i=t.href;s.updateRawLinkInfo(this,{url:i,target:r}).then(r=>{t.href=r.url,r.dispatcher(e)})}renderRichText(){if(r.isServer&&(this.richText=this.disableLinkify?this.value:R(this.value)),this.rendered)try{if(this.rawTextIfSanitizerThrewError=null,this.value){let e=v;a.hasOnlyAllowedVideoIframes(this.value)&&(e={...v,ALLOWED_TAGS:v.ALLOWED_TAGS.concat(["iframe"]),ALLOWED_ATTR:v.ALLOWED_ATTR.concat(["allowfullscreen"])}),this.richText=d.default(this.value,e),this.linkingRequired=!0,O()&&this.adjustColors()}else this.richText=this.value}catch(e){console.warn(e.message),this.richText=null,this.rawTextIfSanitizerThrewError=this.value}}linkRichText(){this.disableLinkify||l.linkTextNodes(this.container),this.links.forEach(e=>{e.addEventListener("click",this.handleClick.bind(this))}),this.linkingRequired=!1}removeLinkClickListeners(){this.links.forEach(e=>{e.removeEventListener("click",this.handleClick.bind(this))})}get links(){return this.container?[...this.container.querySelectorAll("a")]:[]}get container(){return this.template.querySelector("span")}get backgroundColor(){return r.isServer?(this._backgroundColor="rgb(255, 255, 255)",this._backgroundColor):(r.isServer||null===this._backgroundColor&&(this._backgroundColor=window.getComputedStyle(this.template.host).backgroundColor,"rgba(0, 0, 0, 0)"===this._backgroundColor&&(this.template.host.style.backgroundColor="inherit",this._backgroundColor=window.getComputedStyle(this.template.host).backgroundColor,this.template.host.style.removeProperty("background-color"))),this._backgroundColor)}get backgroundColorRgb(){const e=this.backgroundColor.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);return e?{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10)}:"light"===this._themeKey?{r:255,g:255,b:255}:{r:0,g:0,b:0}}adjustColors(){if(("light"!==this._themeKey||o.features.enableWcagRichTextLight)&&("dark"!==this._themeKey||o.features.enableWcagRichTextDark))try{const e=new RegExp('(?<=<[^>]*style="[^"]*)color:\\s*rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)',"g");this.richText=this.richText.replace(e,(e,t,r,i)=>{const n=parseInt(t,10),s=parseInt(r,10),a=parseInt(i,10);if("light"===this._themeKey&&255===n&&255===s&&255===a)return"";if("dark"===this._themeKey&&0===n&&0===s&&0===a)return"";const l=E(this.backgroundColorRgb,{r:n,g:s,b:a});return`color:rgb(${l.r},${l.g},${l.b})`})}catch(e){}}}z.validationOptOut=["class"],t.registerDecorators(z,{publicProps:{disableLinkify:{config:3},value:{config:3}},fields:["_themeKey","rendered","_value","_disableLinkify","connected","richText","rawTextIfSanitizerThrewError","serverRenderedContent","linkingRequired","_backgroundColor"]});const $=t.registerComponent(z,{tmpl:m,sel:"lightning-formatted-rich-text-renderer",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
364e.default=$,Object.defineProperty(e,"__esModule",{value:!0})});
365})();(function() { LWR.define("lightning/formattedRichText",["exports","lightning/formattedRichTextRenderer","lwc","lwr/environment","lightning/utilsInternal","lightning/features","lightning/shadowBaseClassPrivate","lightning/purifyLib","lightning/routingService","lightning/utilsPrivate","lightning/utils"],function(e,t,r,i,n,s,a,l,o,h,c){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(t),g=d(a),f=d(l);var p=[function(){return""}];const m={attrs:{part:"formatted-rich-text"},context:{lwc:{dom:"manual"}},key:1},b={exportparts:"heading, paragraph, link, user-content-hook-1, user-content-hook-2, user-content-hook-3"};function k(e,t,r,i){const{h:n,fr:s,c:a}=e;return[t.csrOnly?s(0,[n("span",m)],0):s(0,[t.enableFormattedRichTextParts?s(2,[a("lightning-formatted-rich-text-renderer",u.default,{attrs:b,props:{value:t.value,disableLinkify:t.disableLinkify},key:3})],0):s(2,[a("lightning-formatted-rich-text-renderer",u.default,{props:{value:t.value,disableLinkify:t.disableLinkify},key:4})],0)],0)]}var x=r.registerTemplate(k);k.stylesheets=[],k.stylesheetToken="lwc-4nfn2rc40ch",k.legacyStylesheetToken="lightning-formattedRichText_formattedRichText",p&&k.stylesheets.push.apply(k.stylesheets,p),r.freezeTemplate(k);const T=r.parseFragment`<span part="formatted-rich-text"${3}>${"t1"}</span>`,y={part:"formatted-rich-text"},v={lwc:{dom:"manual"}};function C(e,t,r,i){const{d:n,sp:s,st:a,fr:l,shc:o,h:h}=e;return[t.rawTextIfSanitizerThrewError?l(0,[a(T,2,[s(1,null,n(t.rawTextIfSanitizerThrewError))])],0):l(0,[h("span",{attrs:y,props:{innerHTML:i._rawHtml$0!==(i._rawHtml$0=t.richText)?i._sanitizedHtml$0=o(t.richText):i._sanitizedHtml$0},context:v,key:3})],0)]}var R=r.registerTemplate(C);C.stylesheets=[],C.stylesheetToken="lwc-5v4jtf3uab1",C.legacyStylesheetToken="lightning-formattedRichText_formattedRichText.ssr",r.freezeTemplate(C);const w={attrs:{part:"formatted-rich-text"},context:{lwc:{dom:"manual"}},key:0};function _(e,t,r,i){const{h:n}=e;return[n("span",w)]}var L=r.registerTemplate(_);_.stylesheets=[],_.stylesheetToken="lwc-20emgi50k8t",_.legacyStylesheetToken="lightning-formattedRichText_formattedRichText.csr",r.freezeTemplate(_);const S=Object.freeze(["a","abbr","acronym","address","b","br","big","blockquote","caption","cite","code","col","colgroup","del","div","dl","dd","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","ol","mark","p","param","pre","q","s","samp","small","span","strong","sub","sup","table","tbody","td","tfoot","th","thead","tr","tt","u","ul","var","strike","font"]),E=Object.freeze(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","rows","rowspan","spellcheck","scope","selected","shape","size","span","srclang","start","src","step","style","summary","tabindex","target","title","type","usemap","valign","value","width","xmlns","data-fileid"]),O=Object.freeze(["ftp","ftps","http","https","mailto","tel","callto","cid","xmpp","ciscotel","navision","skedulox"]).join("|"),z=new RegExp(`^(?:(?:${O}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"),I=Object.freeze({ALLOWED_TAGS:S,ALLOWED_ATTR:E,ALLOWED_URI_REGEXP:z,ALLOW_UNKNOWN_PROTOCOLS:!1}),A=new RegExp(`${c.tagRegexString}|${c.emailRegexString}|${c.urlRegexString}`,"gi"),$=function(e){return"string"!=typeof e?"":e.replace(A,(e,t,r,i)=>{if(t)return t;if(i){const e=i.endsWith("&quot");let t=i;return e&&(t=i.slice(0,i.lastIndexOf("&quot"))),function(e){return`<a href="${c.createHttpHref(e)}" target="_blank" rel="noopener">${e}</a>`}(t)+(e?"&quot":"")}return r?function(e){return`<a href="${c.createEmailHref(e)}">${e}</a>`}(r):e})};function q(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function M({r:e,g:t,b:r}){return.2126*q(e)+.7152*q(t)+.0722*q(r)}function W(e,t){const r=M(e),i=M(t);
365return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function H(e,t,r){t/=100,r/=100;const i=(1-Math.abs(2*r-1))*t,n=i*(1-Math.abs(e/60%2-1)),s=r-i/2;let a=0,l=0,o=0;return e>=0&&e<60?(a=i,l=n,o=0):e>=60&&e<120?(a=n,l=i,o=0):e>=120&&e<180?(a=0,l=i,o=n):e>=180&&e<240?(a=0,l=n,o=i):e>=240&&e<300?(a=n,l=0,o=i):e>=300&&e<360&&(a=i,l=0,o=n),{r:Math.round(255*(a+s)),g:Math.round(255*(l+s)),b:Math.round(255*(o+s))}}function N(e,t){let r=W(e,t);if(r>=4.5)return t;const i=function({r:e,g:t,b:r}){e/=255,t/=255,r/=255;const i=Math.max(e,t,r),n=Math.min(e,t,r);let s,a;const l=(i+n)/2;if(i===n)s=a=0;else{const o=i-n;switch(a=l>.5?o/(2-i-n):o/(i+n),i){case e:s=(t-r)/o+(t<r?6:0);break;case t:s=(r-e)/o+2;break;case r:s=(e-t)/o+4}s/=6}return{h:360*s,s:100*a,l:100*l}}(t);let n=i.l;const s=M(e),a=M(t)<s?-1:1;for(;r<4.5&&n>=0&&n<=100&&(n+=1*a,!(n<0||n>100));){const t=H(i.h,i.s,n);if(r=W(e,t),r>=4.5)return t}const l={r:255,g:255,b:255},o={r:0,g:0,b:0};return W(e,l)>=W(e,o)?l:o}const{setContext:P,assertContext:D}=n.privateContext;try{s.features.enableFormattedRichTextNoNestedShadow&&i.isServer&&r.setHooks({sanitizeHtmlContent:e=>e})}catch(e){}function j(){return!i.isServer&&getComputedStyle(document.head).getPropertyValue("--_slds-is-v2-enabled")}class K extends u.default{get enableFormattedRichTextParts(){return s.features.enableFormattedRichTextParts}constructor(){super(),this.csrOnly=!1,s.features.enableAssertContext260&&P(this)}connectedCallback(){super.connectedCallback(),this.csrOnly=!i.isServer&&!this.template.querySelector("lightning-formatted-rich-text-renderer")}renderedCallback(){this.csrOnly&&super.renderedCallback()}renderRichText(){if(s.features.enableAssertContext260&&D(this),this.csrOnly){super.renderRichText();const e=this.container;if(this.rawTextIfSanitizerThrewError){const t=document.createTextNode(this.rawTextIfSanitizerThrewError);for(;e.hasChildNodes();)e.removeChild(e.lastChild);e.appendChild(t)}else e.innerHTML=this.richText,this.linkingRequired&&this.linkRichText()}}disconnectedCallback(){this.csrOnly&&super.disconnectedCallback()}}r.registerDecorators(K,{fields:["csrOnly"]});class F extends g.default{get disableLinkify(){return this._disableLinkify}set disableLinkify(e){this._disableLinkify=h.normalizeBoolean(e),this.renderRichText()}get value(){return this._value}set value(e){this._value=null==e?"":String(e),this.renderRichText()}render(){return i.isServer?R:L}constructor(){super(),this.rendered=!1,this._value="",this._disableLinkify=!1,this.connected=!1,this.richText=null,this.rawTextIfSanitizerThrewError=null,this.serverRenderedContent=null,this.linkingRequired=!1,this._themeKey="light",this._backgroundColor=null,s.features.enableAssertContext260&&P(this)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-rich-text-editor__output"),this.connected=!0,i.isServer||(this.serverRenderedContent=this.container?.innerHTML,this.serverRenderedContent&&(this.richText=this.serverRenderedContent))}renderedCallback(){if(this.linkingRequired&&this.linkRichText(),!this.rendered){if(this.rendered=!0,(s.features.enableWcagRichTextLight||s.features.enableWcagRichTextDark)&&j()&&!i.isServer){const e=window.getComputedStyle(this.template.host)?.colorScheme.includes("dark");e&&(this._themeKey="dark")}this.renderRichText()}}renderRichText(){if(s.features.enableAssertContext260&&D(this),i.isServer&&(this.richText=this.disableLinkify?this.value:$(this.value)),this.rendered){try{if(this.rawTextIfSanitizerThrewError=null,this.value){let e=I;h.hasOnlyAllowedVideoIframes(this.value)&&(e={...I,ALLOWED_TAGS:I.ALLOWED_TAGS.concat(["iframe"]),ALLOWED_ATTR:I.ALLOWED_ATTR.concat(["allowfullscreen"])}),this.richText=f.default(this.value,e),this.linkingRequired=!0,j()&&this.adjustColors()}else this.richText=this.value}catch(e){console.warn(e.message),this.richText=null,this.rawTextIfSanitizerThrewError=this.value}if(!i.isServer){const e=this.container;if(this.rawTextIfSanitizerThrewError){const t=document.createTextNode(this.rawTextIfSanitizerThrewError);for(;e.hasChildNodes();)e.removeChild(e.lastChild);e.appendChild(t)}else e.innerHTML=this.richText,this.linkingRequired&&this.linkRichText()}}}disconnectedCallback(){this.removeLinkClickListeners(),this.connected=!1}handleClick(e){const t=e.currentTarget;if(null===t)return;const r=t.target,i=t.href;o.updateRawLinkInfo(this,{url:i,target:r}).then(r=>{t.href=r.url,r.dispatcher(e)})}linkRichText(){this.disableLinkify||c.linkTextNodes(this.container),this.links.forEach(e
365=>{e.addEventListener("click",this.handleClick.bind(this))}),this.linkingRequired=!1}removeLinkClickListeners(){this.links.forEach(e=>{e.removeEventListener("click",this.handleClick.bind(this))})}get links(){return this.container?[...this.container.querySelectorAll("a")]:[]}get container(){return this.template.querySelector("span")}get backgroundColor(){return i.isServer?(this._backgroundColor="rgb(255, 255, 255)",this._backgroundColor):(i.isServer||null===this._backgroundColor&&(this._backgroundColor=window.getComputedStyle(this.template.host).backgroundColor,"rgba(0, 0, 0, 0)"===this._backgroundColor&&(this.template.host.style.backgroundColor="inherit",this._backgroundColor=window.getComputedStyle(this.template.host).backgroundColor,this.template.host.style.removeProperty("background-color"))),this._backgroundColor)}get backgroundColorRgb(){const e=this.backgroundColor.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);return e?{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10)}:"light"===this._themeKey?{r:255,g:255,b:255}:{r:0,g:0,b:0}}adjustColors(){if(("light"!==this._themeKey||s.features.enableWcagRichTextLight)&&("dark"!==this._themeKey||s.features.enableWcagRichTextDark))try{const e=new RegExp('(?<=<[^>]*style="[^"]*)color:\\s*rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)',"g");this.richText=this.richText.replace(e,(e,t,r,i)=>{const n=parseInt(t,10),s=parseInt(r,10),a=parseInt(i,10);if("light"===this._themeKey&&255===n&&255===s&&255===a)return"";if("dark"===this._themeKey&&0===n&&0===s&&0===a)return"";const l=N(this.backgroundColorRgb,{r:n,g:s,b:a});return`color:rgb(${l.r},${l.g},${l.b})`})}catch(e){}}}F.validationOptOut=["class"],F.stylesheets=[p],r.registerDecorators(F,{publicProps:{disableLinkify:{config:3},value:{config:3}},fields:["rendered","_value","_disableLinkify","connected","richText","rawTextIfSanitizerThrewError","serverRenderedContent","linkingRequired","_themeKey","_backgroundColor"]});const G=r.registerComponent(class extends(s.features.enableFormattedRichTextNoNestedShadow?F:K){},{tmpl:x,sel:"lightning-formatted-rich-text",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=G,Object.defineProperty(e,"__esModule",{value:!0})});
366})();(function() { LWR.define("embeddedMessaging/chatHeaderAnnouncement",["exports","lwc","embeddedmessaging/loadingAnimation","lightning/formattedRichText","embeddedMessaging/brandingUtils","embeddedMessaging/common"],function(e,t,n,i,a,o){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(n),s=r(i);var d=[function(e,t,n){var i=e?"["+e+"]":"",a=e?"-"+e:"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;visibility: hidden;}p"+i+" {background-color: inherit;width: 100%;visibility: visible;padding: 12px;margin: 0;top: 0;right: 0;overflow-y: scroll;word-wrap: break-word;box-sizing: border-box;display: inline-table;z-index: inherit;}.textContainer"+i+" {background-color: inherit;}.text"+i+" {animation: slide"+a+" 2s;}.loadingAnimation"+i+" {animation: slide"+a+" 1.85s;}.temporary"+i+" {visibility: hidden;animation: temporary"+a+" 2s;}.announcement"+i+" {visibility: hidden;animation: announcement"+a+" 6.5s;}@keyframes slide"+a+" {0% {opacity: 0;transform: translateY(-50px);}85% {transform: translateY(0);}100% {opacity: 1;}}@keyframes temporary"+a+" {0% {visibility: visible;opacity: 1;}100% {opacity: 0;}}@keyframes announcement"+a+" {0% {visibility: visible;opacity: 0;transform: translateY(-50px);}15% {transform: translateY(0);}18% {opacity: 1;}90% {opacity: 1;}100% {opacity: 0;}}"}];const c=t.parseFragment`<p class="text temporary${0}"${"a0:title"}${2}>${"t1"}</p>`,m=t.parseFragment`<p class="text announcement${0}"${"a0:title"}${2}>${"t1"}</p>`,p={loadingAnimation:!0},g={classMap:{textContainer:!0},key:1},u={text:!0};function h(e,t,n,i){const{c:a,h:o,d:r,sp:d,st:h}=e;return[a("embeddedmessaging-loading-animation",l.default,{classMap:p,props:{loadingBallColorToken:t.loadingBallColorToken,shouldDisplay:t.loading},key:0}),t.text?o("div",g,[a("lightning-formatted-rich-text",s.default,{classMap:u,props:{value:t.textContent},key:2})]):null,t.temporary?h(c,4,[d(0,{attrs:{title:t.temporary}},null),d(1,null,r(t.temporary))]):null,t.announcement?h(m,6,[d(0,{attrs:{title:t.announcement}},null),d(1,null,r(t.announcement))]):null]}var y=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-7k5g5qoesmg",h.legacyStylesheetToken="embeddedMessaging-chatHeaderAnnouncement_chatHeaderAnnouncement",d&&h.stylesheets.push.apply(h.stylesheets,d),t.freezeTemplate(h);class b extends t.LightningElement{constructor(...e){super(...e),this.loadingBallColorToken=a.BRANDING_TOKENS.HEADER_TEXT_COLOR,this.text=void 0,this.temporary=void 0,this.announcement=void 0,this.loading=!1,this.clearAnnouncement=void 0}get textContent(){return o.util.parseMarkdownToHtml(this.text).replace(/<a href="([^"]*)">/g,'<a href="$1" target="_blank" rel="noopener noreferrer">')}renderedCallback(){const e=this.template.querySelector(".text.temporary"),t=this.template.querySelector(".textContainer");if(e&&e.addEventListener("animationend",this.clearAnnouncement),t){const e=document.createElement("style");t.appendChild(e),e.sheet&&(e.sheet.insertRule("lightning-formatted-rich-text, lightning-formatted-rich-text > span { background-color: inherit; }",0),e.sheet.insertRule("lightning-formatted-rich-text > span > p { background-color: inherit; width: 100%; visibility: visible; padding: 12px; margin: 0;
366 overflow-y: scroll; word-wrap: break-word; box-sizing: border-box; display: inline-table; }",0))}}}t.registerDecorators(b,{publicProps:{text:{config:0},temporary:{config:0},announcement:{config:0},loading:{config:0},clearAnnouncement:{config:0}},fields:["loadingBallColorToken"]});const f=t.registerComponent(b,{tmpl:y,sel:"embeddedMessaging-chat-header-announcement",apiVersion:66,enableSyntheticElementInternals:!0});e.default=f,Object.defineProperty(e,"__esModule",{value:!0})});
367})();LWR.define('embeddedmessaging/chatHeaderAnnouncement', ['embeddedMessaging/chatHeaderAnnouncement'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/labelUtils",["exports","@salesforce/label/EmbeddedMessagingChatHeader.Minimize","@salesforce/label/EmbeddedMessagingChatHeader.Close","@salesforce/label/EmbeddedMessagingChatHeader.DefaultHeaderText","@salesforce/label/EmbeddedMessagingChatHeader.HeaderGreetingAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestSuccessHeaderAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.TransferRequestFailureHeaderAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.AgentJoinAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.AgentLeaveAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.JWTExpiredAnnouncement","@salesforce/label/EmbeddedMessagingChatHeader.MinimizeButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.CloseButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.ConfirmationDialogMenuItemAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.MenuButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.CloseMenuButtonAssistiveText","@salesforce/label/EmbeddedMessagingChatHeader.RequestTranscriptMenuOption","@salesforce/label/EmbeddedMessagingChatHeader.EndSession","@salesforce/label/EmbeddedMessagingChatHeader.ConferenceHeaderText","@salesforce/label/EmbeddedMessagingChatHeader.EventSourceUnavailable","@salesforce/label/EmbeddedMessagingPrechat.PrechatStateSubmitButton","@salesforce/label/EmbeddedMessagingPrechat.InvalidEmailFormFieldError","@salesforce/label/EmbeddedMessagingPrechat.RequiredFormFieldError","@salesforce/label/EmbeddedMessagingPrechat.PrechatChoiceListValueNone","@salesforce/label/EmbeddedMessagingPrechat.PrechatTermsAndConditionsAcknowledgement","@salesforce/label/EmbeddedMessagingPrechat.PrechatSubmitButtonLoading","@salesforce/label/EmbeddedMessagingConversationState.StartBookendText","@salesforce/label/EmbeddedMessagingConversationState.ParticipantJoinText","@salesforce/label/EmbeddedMessagingConversationState.ParticipantLeaveText","@salesforce/label/EmbeddedMessagingConversationState.Sent","@salesforce/label/EmbeddedMessagingConversationState.Delivered","@salesforce/label/EmbeddedMessagingConversationState.Read","@salesforce/label/EmbeddedMessagingConversationState.ReadByAll","@salesforce/label/EmbeddedMessagingConversationState.ExpiredJWT","@salesforce/label/EmbeddedMessagingConversationState.ChoicesMenuMessageAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.ChoicesSelectionResponsePlaceholderText","@salesforce/label/EmbeddedMessagingConversationState.TransferRequestSuccessSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.TransferRequestFailureSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.TransferRequestTryAgainSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.ChoicesButtonsMessageAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.AgentTypingIndicator","@salesforce/label/EmbeddedMessagingConversationState.MultiAgentTypingIndicator","@salesforce/label/EmbeddedMessagingConversationState.ChatbotTypingIndicator","@salesforce/label/EmbeddedMessagingConversationState.NotSent","@salesforce/label/EmbeddedMessagingConversationState.FetchMoreEntriesSpinnerAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.SpinnerDefaultAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.NotRoutedToAgentRoutingResult","@salesforce/label/EmbeddedMessagingConversationState.TitleNotificationSenderDisplayName","@salesforce/label/EmbeddedMessagingConversationState.MessageResendButtonText","@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinute","@salesforce/label/EmbeddedMessagingConversationState.EstimatedWaitTimeInMinutes","@salesforce/label/EmbeddedMessagingConversationState.Yesterday","@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgress","@salesforce/label/EmbeddedMessagingConversationState.ReconnectInProgressAssistiveText","@salesforce/label/EmbeddedMessagingConversationState.UnsupportedMessageTypeText","@salesforce/label/EmbeddedMessagingConversationState.EndUserEndedChatText","@salesforce/label/EmbeddedMessagingConversationState.AgentEndedChatText","@salesforce/label/EmbeddedMessagingConversationState.ChatbotEndedChatText","@salesforce/label/EmbeddedMessagingConversationState.InboundNewMessageScreenReaderText","@salesforce/label/EmbeddedMessagingConversationState.OutboundNewMessageScreenReaderText","@salesforce/label/EmbeddedMessagingConversationState.MessageCitationSourcesSectionText","@salesforce/label/EmbeddedMessagingConversationState.StreamingTokenValidationSystemMessage","@salesforce/label/EmbeddedMessagingConversationState.StreamingTokenValidationMessageFooterText","@salesforce/label/EmbeddedMessagingConversationState.QueuePositionText","@salesforce/label/EmbeddedMessagingConversationState.QueuePositionPlaceholderText","@salesforce/label/EmbeddedMessagingConversationState.ConversationClosedText","@salesforce/label/EmbeddedMessagingConversationState.ChoicesMenuSelectedOptionAssistiveText","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessageCount","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.ZeroUnseenMessagesAssistiveText","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.UnseenMessagesAssistiveText","@salesforce/label/EmbeddedMessagingUnseenMessageNotification.NinePlusUnseenMessagesAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonTitle","@salesforce/label/EmbeddedMessagingFileAttachments.SelectFileAttachmentButtonAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.FileSendingText","@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonTitle","@salesforce/label/EmbeddedMessagingFileAttachments.DownloadFileButtonAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.MaximumNumberOfFilesAllowedErrorText","@salesforce/label/EmbeddedMessagingFileAttachments.UnsupportedFileTypeErrorText","@salesforce/label/EmbeddedMessagingFileAttachments.FileExceededSizeLimitErrorText","@salesforce/label/EmbeddedMessagingFileAttachments.AttachedFilesAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.RemoveAttachmentButtonAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.SendFileAttachmentAssistiveText","@salesforce/label/EmbeddedMessagingFileAttachments.EndUserSentFileAttachmentAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceHolder","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterTextAreaPlaceholderEndUserOnlyParticipant","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButton","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterSendButtonAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiButtonAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.InputFooterEmojiKeyboardAssistiveText","@salesforce/label/EmbeddedMessagingInputFooter.StartNewMessagingSessionButtonText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedButtonAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationDismissButtonAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.NotificationDismissButtonText","@salesforce/label/EmbeddedMessagingMinimizedState.ConversationEndedMinimizedText","@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantJoinedText","@salesforce/label/EmbeddedMessagingMinimizedState.ParticipantLeftText","@salesforce/label/EmbeddedMessagingMinimizedState.NewMessageText","@salesforce/label/EmbeddedMessagingMinimizedState.MultipleNewMessagesText","@salesforce/label/EmbeddedMessagingMinimizedState.JwtExpiredText","@salesforce/label/EmbeddedMessagingMinimizedState.TransferInitiatedText","@salesforce/label/EmbeddedMessagingMinimizedState.TransferFailedText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedNotificationAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedStateAssistiveText","@salesforce/label/EmbeddedMessagingMinimizedState.MinimizedReconnectInProgress","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInitialStateAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonInactiveStateAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonPendingStateTitle","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonErrorResponseStateTitle","@salesforce/label/EmbeddedMessagingSecureForm.FormButtonSuccessResponseStateTitle","@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputSingleSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.OptionSelectInputMultipleSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.DatePickerInputSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.TextInputSelectInstruction","@salesforce/label/EmbeddedMessagingSecureForm.RequiredInputMissing","@salesforce/label/EmbeddedMessagingSecureForm.RegexPatternMismatch","@salesforce/label/EmbeddedMessagingSecureForm.NextButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.BackButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.ProgressBarAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.StepLabel","@salesforce/label/EmbeddedMessagingSecureForm.NextButtonDisabledAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.BackButtonDisabledAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.SubmitButtonDisabledAssistiveText","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogTitleText","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationDialogBodyText","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationConfirmButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.CloseConfirmationCancelButtonLabel","@salesforce/label/EmbeddedMessagingSecureForm.RequiredSelectInputMissing","@salesforce/label/EmbeddedMessagingIframesAndContents.MessagingIframeTitle","@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeTitle","@salesforce/label/EmbeddedMessagingIframesAndContents.FilePreviewIframeCloseButtonTitle","@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadInProgressNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadSuccessNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.DownloadErrorNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.CloseNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.ChatWindowAssistiveText","@salesforce/label/EmbeddedMessagingIframesAndContents.SSEConnectionTryAgainNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.StartNewConversationNotification","@salesforce/label/EmbeddedMessagingIframesAndContents.SSEConnectionTryAgainButtonText","@salesforce/label/EmbeddedMessagingIframesAndContents.StartNewConversationButtonText","@salesforce/label/EmbeddedMessagingPostchat.PostchatFrameTitle","@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderText","@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonTitle","@salesforce/label/EmbeddedMessagingPostchat.PostchatHeaderBackButtonAssistiveText","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogTitleText","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogBodyText","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogConfirmButton","@salesforce/label/EmbeddedMessagingPostchat.PostchatConfirmationDialogCancelButton","@salesforce/label/EmbeddedMessagingClientErrorMessages.GenericErrorMessage","@salesforce/label/EmbeddedMessagingCarousels.PreviousCardButtonAssistiveText","@salesforce/label/EmbeddedMessagingCarousels.NextCardButtonAssistiveText","@salesforce/label/EmbeddedMessagingCarousels.CarouselDescriptionAssistiveText","embeddedMessaging/common"],function(e,t,s,a,n,i,d,l,o,r,g,c,u,f,m,b,M,T,E,S,x,C,A,v,h,F,p,B,P,I,N,R,w,y,D,H,z,L,U,k,q,O,J,W,V,j,$,G,Q,K,Y,Z,_,X,ee,te,se,ae,ne,ie,de,le,oe,re,ge,ce,ue,fe,me,be,Me,Te,Ee,Se,xe,Ce,Ae,ve,he,Fe,pe,Be,Pe,Ie,Ne,Re,we,ye,De,He,ze,Le,Ue,ke,qe,Oe,Je,We,Ve,je,$e,Ge,Qe,Ke,Ye,Ze,_e,Xe,et,tt,st,at,nt,it,dt,lt,ot,rt,gt,ct,ut,ft,mt,bt,Mt,Tt,Et,St,xt,Ct,At,vt,ht,Ft,pt,Bt,Pt,It,Nt,Rt,wt,yt,Dt,Ht,zt,Lt,Ut,kt,qt,Ot,Jt,Wt){function Vt(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var jt=Vt(t),$t=Vt(s),Gt=Vt(a),Qt=Vt(n),Kt=Vt(i),Yt=Vt(d),Zt=Vt(l),_t=Vt(o),Xt=Vt(r),es=Vt(g),ts=Vt(c),ss=Vt(u),as=Vt(f),ns=Vt(m),is=Vt(b),ds=Vt(M),ls=Vt(T),os=Vt(E),rs=Vt(S),gs=Vt(x),cs=Vt(C),us=Vt(A),fs=Vt(v),ms=Vt(h),bs=Vt(F),Ms=Vt(p),Ts=Vt(B),Es=Vt(P),Ss=Vt(I),xs=Vt(N),Cs=Vt(R),As=Vt(w),vs=Vt(y),hs=Vt(D),Fs=Vt(H),ps=Vt(z),Bs=Vt(L),Ps=Vt(U),Is=Vt(k),Ns=Vt(q),Rs=Vt(O),ws=Vt(J),ys=Vt(W),Ds=Vt(V),Hs=Vt(j),zs=Vt($),Ls=Vt(G),Us=Vt(Q),ks=Vt(K),qs=Vt(Y),Os=Vt(Z),Js=Vt(_),Ws=Vt(X),Vs=Vt(ee),js=Vt(te),$s=Vt(se),Gs=Vt(ae),Qs=Vt(ne),Ks=Vt(ie),Ys=Vt(de),Zs=Vt(le),_s=Vt(oe),Xs=Vt(re),ea=Vt(ge),ta=Vt(ce),sa=Vt(ue),aa=Vt(fe),na=Vt(me),ia=Vt(be),da=Vt(Me),la=Vt(Te),oa=Vt(Ee),ra=Vt(Se),ga=Vt(xe),ca=Vt(Ce),ua=Vt(Ae),fa=Vt(ve),ma=Vt(he),ba=Vt(Fe),Ma=Vt(pe),Ta=Vt(Be),Ea=Vt(Pe),Sa=Vt(Ie),xa=Vt(Ne),Ca=Vt(Re),Aa=Vt(we),va=Vt(ye),ha=Vt(De),Fa=Vt(He),pa=Vt(ze),Ba=Vt(Le),Pa=Vt(Ue),Ia=Vt(ke),Na=Vt(qe),Ra=Vt(Oe),wa=Vt(Je),ya=Vt(We),Da=Vt(Ve),Ha=Vt(je),za=Vt($e),La=Vt(Ge),Ua=Vt(Qe),ka=Vt(Ke),qa=Vt(Ye),Oa=Vt(Ze),Ja=Vt(_e),Wa=Vt(Xe),Va=Vt(et),ja=Vt(tt),$a=Vt(st),Ga=Vt(at),Qa=Vt(nt),Ka=Vt(it),Ya=Vt(dt),Za=Vt(lt),_a=Vt(ot),Xa=Vt(rt),en=Vt(gt),tn=Vt(ct),sn=Vt(ut),an=Vt(ft),nn=Vt(mt),dn=Vt(bt),ln=Vt(Mt),on=Vt(Tt),rn=Vt(Et),gn=Vt(St),cn=Vt(xt),un=Vt(Ct),fn=Vt(At),mn=Vt(vt),bn=Vt(ht),Mn=Vt(Ft),Tn=Vt(pt),En=Vt(Bt),Sn=Vt(Pt),xn=Vt(It),Cn=Vt(Nt),An=Vt(Rt),vn=Vt(wt),hn=Vt(yt),Fn=Vt(Dt),pn=Vt(Ht),Bn=Vt(zt),Pn=Vt(Lt),In=Vt(Ut),Nn=Vt(kt),Rn=Vt(qt),wn=Vt(Ot),yn=Vt(Jt);const Dn={EmbeddedMessagingChatHeader:{DefaultHeaderText:Gt.default,Minimize:jt.default,Close:$t.default,HeaderGreetingAnnouncement:Qt.default,TransferRequestSuccessHeaderAnnouncement:Kt.default,TransferRequestFailureHeaderAnnouncement:Yt.default,AgentJoinAnnouncement:Zt.default,AgentLeaveAnnouncement:_t.default,JWTExpiredAnnouncement:Xt.default,MinimizeButtonAssistiveText:es.default,CloseButtonAssistiveText:ts.default,ConfirmationDialogMenuItemAssistiveText:ss.default,MenuButtonAssistiveText:as.default,CloseMenuButtonAssistiveText:ns.default,RequestTranscriptMenuOption:is.default,EndSession:ds.default,ConferenceHeaderText:ls.default,EventSourceUnavailable:os.default},EmbeddedMessagingMinimizedState:{MinimizedButtonAssistiveText:Fa.default,MinimizedNotificationDismissButtonAssistiveText:pa.default,NotificationDismissButtonText:Ba.default,ConversationEndedMinimizedText:Pa.default,ParticipantJoinedText:Ia.default,ParticipantLeftText:Na.default,NewMessageText:Ra.default,MultipleNewMessagesText:wa.default,JwtExpiredText:ya.default,TransferInitiatedText:Da.default,TransferFailedText:Ha.default,MinimizedNotificationAssistiveText:za.default,MinimizedStateAssistiveText:La.default,MinimizedReconnectInProgress:Ua.default},EmbeddedMessagingUnseenMessageNotification:{NinePlusUnseenMessageCount:sa.default,ZeroUnseenMessagesAssistiveText:aa.default,UnseenMessagesAssistiveText:na.default,NinePlusUnseenMessagesAssistiveText:ia.default},EmbeddedMessagingInputFooter:{InputFooterTextAreaPlaceHolder:Ea.default,InputFooterTextAreaPlaceholderEndUserOnlyParticipant:Sa.default,InputFooterSendButton:xa.default,InputFooterSendButtonAssistiveText:Ca.default,InputFooterEmojiButtonAssistiveText:Aa.default,InputFooterEmojiKeyboardAssistiveText:va.default,StartNewMe
367ssagingSessionButtonText:ha.default},EmbeddedMessagingConversationState:{StartBookendText:bs.default,ParticipantJoinText:Ms.default,ParticipantLeaveText:Ts.default,ExpiredJWT:As.default,Sent:Es.default,Delivered:Ss.default,Read:xs.default,ReadByAll:Cs.default,ChoicesMenuMessageAssistiveText:vs.default,ChoicesSelectionResponsePlaceholderText:hs.default,TransferRequestSuccessSystemMessage:Fs.default,TransferRequestFailureSystemMessage:ps.default,TransferRequestTryAgainSystemMessage:Bs.default,ChoicesButtonsMessageAssistiveText:Ps.default,AgentTypingIndicator:Is.default,MultiAgentTypingIndicator:Ns.default,ChatbotTypingIndicator:Rs.default,NotSent:ws.default,FetchMoreEntriesSpinnerAssistiveText:ys.default,SpinnerDefaultAssistiveText:Ds.default,NotRoutedToAgentRoutingResult:Hs.default,TitleNotificationSenderDisplayName:zs.default,MessageResendButtonText:Ls.default,EstimatedWaitTimeInMinute:Us.default,EstimatedWaitTimeInMinutes:ks.default,Yesterday:qs.default,ReconnectInProgress:Os.default,ReconnectInProgressAssistiveText:Js.default,UnsupportedMessageTypeText:Ws.default,EndUserEndedChatText:Vs.default,AgentEndedChatText:js.default,ChatbotEndedChatText:$s.default,InboundNewMessageScreenReaderText:Gs.default,OutboundNewMessageScreenReaderText:Qs.default,MessageCitationSourcesSectionText:Ks.default,StreamingTokenValidationSystemMessage:Ys.default,StreamingTokenValidationMessageFooterText:Zs.default,QueuePositionText:_s.default,QueuePositionPlaceholderText:Xs.default,ConversationClosedText:ea.default,ChoicesMenuSelectedOptionAssistiveText:ta.default},EmbeddedMessagingPrechat:{PrechatStateSubmitButton:rs.default,InvalidEmailFormFieldError:gs.default,RequiredFormFieldError:cs.default,PrechatChoiceListValueNone:us.default,PrechatTermsAndConditionsAcknowledgement:fs.default,PrechatSubmitButtonLoading:ms.default},EmbeddedMessagingFileAttachments:{FileSendingText:oa.default,DownloadFileButtonTitle:ra.default,SelectFileAttachmentButtonTitle:da.default,RemoveAttachmentButtonAssistiveText:ba.default,DownloadFileButtonAssistiveText:ga.default,SelectFileAttachmentButtonAssistiveText:la.default,AttachedFilesAssistiveText:ma.default,MaximumNumberOfFilesAllowedErrorText:ca.default,UnsupportedFileTypeErrorText:ua.default,FileExceededSizeLimitErrorText:fa.default,SendFileAttachmentAssistiveText:Ma.default,EndUserSentFileAttachmentAssistiveText:Ta.default},EmbeddedMessagingIframesAndContents:{MessagingIframeTitle:gn.default,FilePreviewIframeTitle:cn.default,FilePreviewIframeCloseButtonTitle:un.default,DownloadInProgressNotification:fn.default,DownloadSuccessNotification:mn.default,DownloadErrorNotification:bn.default,CloseNotification:Mn.default,ChatWindowAssistiveText:Tn.default,SSEConnectionTryAgainNotification:En.default,StartNewConversationNotification:Sn.default,SSEConnectionTryAgainButtonText:xn.default,StartNewConversationButtonText:Cn.default},EmbeddedMessagingPostchat:{PostchatFrameTitle:An.default,PostchatHeaderText:vn.default,PostchatHeaderBackButtonTitle:hn.default,PostchatHeaderBackButtonAssistiveText:Fn.default,PostchatConfirmationDialogTitleText:pn.default,PostchatConfirmationDialogBodyText:Bn.default,PostchatConfirmationDialogConfirmButton:Pn.default,PostchatConfirmationDialogCancelButton:In.default},EmbeddedMessagingClientErrorMessages:{GenericErrorMessage:Nn.default},EmbeddedMessagingSecureForm:{FormButtonInitialStateAssistiveText:ka.default,FormButtonInactiveStateAssistiveText:qa.default,FormButtonPendingStateTitle:Oa.default,FormButtonErrorResponseStateTitle:Ja.default,FormButtonSuccessResponseStateTitle:Wa.default,OptionSelectInputSingleSelectInstruction:Va.default,OptionSelectInputMultipleSelectInstruction:ja.default,DatePickerInputSelectInstruction:$a.default,TextInputSelectInstruction:Ga.default,RequiredInputMissing:Qa.default,RegexPatternMismatch:Ka.default,NextButtonLabel:Ya.default,BackButtonLabel:Za.default,SubmitButtonLabel:_a.default,ProgressBarAssistiveText:Xa.default,StepLabel:en.default,NextButtonDisabledAssistiveText:tn.default,BackButtonDisabledAssistiveText:sn.default,SubmitButtonDisabledAssistiveText:an.default,CloseConfirmationDialogTitleText:nn.default,CloseConfirmationDialogBodyText:dn.default,CloseConfirmationConfirmButtonLabel:ln.default,CloseConfirmationCancelButtonLabel:on.default,RequiredSelectInputMissing:rn.default},EmbeddedMessagingCarousels:{PreviousCardButtonAssistiveText:Rn.default,NextCardButtonAssistiveText:wn.default,CarouselDescriptionAssistiveText:yn.default}},Hn={},zn=e=>{try{for(const t of e){if(Hn.hasOwnProperty(t.sectionName)||(Hn[t.sectionName]={}),!t.labelName)throw new Error("Expected a label name");Hn[t.sectionName][t.labelName]=t.labelValue}}catch(e){throw new Error("Error processing Embedded Messaging labels: "+e)}};e.getLabel=(e,t)=>
367{let s="";if(!e||"string"!=typeof e)throw new Error(`Expected a valid label section name string, instead received ${e}.`);if(!t||"string"!=typeof t)throw new Error(`Expected a valid label name string, instead received ${t}.`);try{s=Hn.hasOwnProperty(e)&&Hn[e].hasOwnProperty(t)?Hn[e][t]:Dn[e][t]}catch(s){Wt.error(`Error getting Embedded Messaging label ${t} from ${e}: ${s}`)}return s},e.setLabelsData=(e,t)=>{zn(e||[]),zn(t||[])},Object.defineProperty(e,"__esModule",{value:!0})});
368})();LWR.define('embeddedmessaging/labelUtils', ['embeddedMessaging/labelUtils'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightningsnapin/eventStore",["exports","embeddedMessaging/eventStorePrivate"],function(e,d){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const s=new(n(d).default);e.MESSAGING_EVENT={BACK_BUTTON_CLICK:"embeddedmessaging_chatheaderbackbuttonclick",MINIMIZE_BUTTON_CLICK:"embeddedmessaging_minimizebuttonclick",MAXIMIZE_BUTTON_CLICK:"embeddedmessaging_maximizebuttonclick",START_NEW_CONVERSATION:"embeddedmessaging_startnewconversation",CLOSE_CONVERSATION:"embeddedmessaging_closeconversation",CLOSE_CONTAINER:"embeddedmessaging_closecontainer",TOGGLE_BACK_BUTTON:"embeddedmessaging_chatheadertogglebackbutton",MENU_ITEM_SELECTED:"embeddedmessaging_menuitemselected",PARTICIPANT_JOINED:"embeddedmessaging_chatheaderparticipantjoined",PARTICIPANT_LEFT:"embeddedmessaging_chatheaderparticipantleft",UPDATE_HEADER_TEXT:"embeddedmessaging_chatheadertextupdate",REQUEST_TRANSCRIPT:"embeddedmessaging_requesttranscript",TRANSFER_INITIATED:"embeddedmessaging_transferrequested",TRANSFER_TERMINATED:"embeddedmessaging_transferfailed",TRANSFER_COMPLETED:"embeddedmessaging_transfercompleted",RECONNECT_IN_PROGRESS:"embeddedmessaging_reconnectinprogress",RECONNECT_ENDED:"embeddedmessaging_reconnectended",SSE_INITIAL_PING_TIMEOUT:"embeddedmessaging_sseinitialpingtimeout",SSE_PING_TIMEOUT:"embeddedmessaging_ssepingtimeout",TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT:"embeddedmessaging_tabfocusonfirstfocusableelement",ANNOUNCEMENT_CHANGED:"embeddedmessaging_announcementchanged"},e.assignMessagingEventHandler=(e,d)=>{s.assignHandler(e,d)},e.dispatchMessagingEvent=(e,d)=>s.dispatchEvent(e,d),Object.defineProperty(e,"__esModule",{value:!0})});
369})();(function() { LWR.define("embeddedMessaging/participant",["exports","lwc","embeddedMessaging/constants","embeddedMessaging/common"],function(t,e,n,r){function i(t){return t.role===n.ParticipantRoles.AGENT}function a(t){return t.role===n.ParticipantRoles.CHATBOT}function o(t){return t.role===n.ParticipantRoles.ROUTER}function s(t){return Array.isArray(r.util.unwrapProxy(t))?r.util.unwrapProxy(t):[]}function u(t){return s(t).filter(t=>i(t)||a(t))}function c(t){return s(t).filter(t=>i(t))}function p(t){return s(t).filter(t=>a(t))}function l(t){return u(s(t)).length}const g=e.registerComponent(class{constructor(t,e,n,r,i=!1){this.role=t,this.subject=e,this.appType=n,this.displayName=r,this.showAvatar=i}getRole(){return this.role}getSubject(){return this.subject}getAppType(){return this.appType}getDisplayName(){return this.displayName}getShowAvatar(){return this.showAvatar}},{tmpl:void 0,sel:"embeddedMessaging-participant",apiVersion:66,enableSyntheticElementInternals:!0});t.default=g,t.getAgentOrBotParticipantCount=l,t.getAgentOrBotParticipants=u,t.getAgentParticipantCount=function(t){return c(s(t)).length},t.getAgentParticipants=c,t.getBotParticipantCount=function(t){return p(s(t)).length},t.getBotParticipants=p,t.isAgentParticipant=i,t.isBotParticipant=a,t.isBotParticipantPresent=function(t){return s(t).filter(t=>a(t)).length>0},t.isConferenceMode=function(t){return l(s(t))>1},t.isEndUserOnlyParticipant=function(t){return 0===s(t).filter(t=>i(t)||a(t)||o(t)).length},t.isEndUserParticipant=function(t){return t.role===n.ParticipantRoles.ENDUSER},t.isRouterParticipant=o,t.isRouterParticipantPresent=function(t){return s(t).filter(t=>o(t)).length>0},t.isSupervisorParticipant=function(t){return t.role===n.ParticipantRoles.SUPERVISOR},t.isSystemParticipant=function(t){return t.role===n.ParticipantRoles.SYSTEM}
369,Object.defineProperty(t,"__esModule",{value:!0})});
370})();LWR.define('embeddedmessaging/participant', ['embeddedMessaging/participant'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatHeader",["exports","lwc","lightning/icon","embeddedmessaging/chatHeaderAnnouncement","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/brandingUtils","embeddedMessaging/labelUtils","lightningsnapin/eventStore","embeddedMessaging/participant"],function(e,t,n,s,i,o,a,r,l,u,d){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=c(n),g=c(s);var m=[function(e,t,n){var s=e?"["+e+"]":"";return[t?":host {":(e?"["+e+"-host]":"")+" {","flex: 0 1 auto;height: 50px;min-height: 50px;color: var(--headerForeground, #181818);background-color: var(--headerBackground, #FFFFFF);border-bottom: 1px solid var(--inputOutline, #747474);}.chatHeader",s,", .headerAnnouncement",s," {width: 100%;max-width: 100%;background-color: inherit;transition: background-color 1s ease;}.chatHeader",s," {display: flex;align-items: center;box-sizing: border-box;position: relative;height: 100%;padding-left: 0.55rem;padding-right: 0.55rem;}.headerAnnouncement",s," {z-index: 999;position: absolute;right: 0;font-size: 0.75em;height: fit-content;text-align: center;}img",s," {margin-left: 10px;max-height: 36px;max-width: 36px;}",n?"":'[dir="rtl"]'," ",n?":dir(rtl)":""," img",s," {margin-right: 10px;margin-left: 0;}h2",s," {margin: 0.1rem 0.55rem 0 0.55rem;align-self: center;flex-grow: 1;text-align: left;vertical-align: middle;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-weight: normal;letter-spacing: 0.025em;font-size: var(--baseFontSize, medium);color: var(--headerForeground, #181818);}",n?"":'[dir="rtl"]'," ",n?":dir(rtl)":""," h2",s," {text-align: right;}.headerButton",s," {height: 32px;min-height: 32px;width: 32px;min-width: 32px;
370cursor: default;}.headerButton:focus",s," {box-shadow: none;outline: 0;border: 0.1rem solid var(--headerForeground, #181818);}.headerButton:hover",s,':before {content: " ";position: absolute;width: 32px;height: 32px;border-radius: 4px;}.headerButton:hover',s," {background-color: var(--headerBackgroundHoverColor, #F3F3F3);}.slds-button",s,"+.slds-button",s," {margin-left: 0;}.minimizeButton",s," > .slds-icon_container",s," {padding-bottom: 4px;}.optionsMenu",s," {width: 100vw;}.optionsMenu",s," > .slds-dropdown__list",s," {max-height: 60vh;overflow-y: auto;padding: 1px 0 1px 0;}.chatOverlay",s," {display: none;width: 100vw;height: 100vh;background: rgba(147, 147, 147, .5);position: fixed;left: 0;top: 55px;right: 0;bottom: 0;z-index: 99;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_right[class*=slds-nubbin]",s," {right: -0.55rem;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_right[class~=backButtonPresent]",s," {right: -2.55rem;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_left[class*=slds-nubbin]",s," {left: -0.55rem;}.slds-dropdown-trigger",s,">[class*=slds-button_icon]",s,"~.slds-dropdown_left[class~=backButtonPresent]",s," {left: -2.55rem;}.backButtonPresent.slds-nubbin--top-left",s,":after, .backButtonPresent.slds-nubbin--top-left",s,":before,.backButtonPresent.slds-nubbin_top-left-corner",s,":after, .backButtonPresent.slds-nubbin_top-left-corner",s,":before,.backButtonPresent.slds-nubbin_top-left",s,":after, .backButtonPresent.slds-nubbin_top-left",s,":before {left: 3.5rem;}.backButtonPresent.slds-nubbin--top-right",s,":after, .backButtonPresent.slds-nubbin--top-right",s,":before,.backButtonPresent.slds-nubbin_top-right-corner",s,":after, .backButtonPresent.slds-nubbin_top-right-corner",s,":before,.backButtonPresent.slds-nubbin_top-right",s,":after, .backButtonPresent.slds-nubbin_top-right",s,":before {right: 3.5rem;}.slds-dropdown",s," {max-width: 30rem;}.slds-dropdown__item",s," > .endChatOption",s,",.slds-dropdown__item",s," > .requestTranscriptOption",s,",.slds-dropdown__item",s," > .chatbotMenuOption",s," {position: relative;z-index: 100;padding: 0.75rem 1rem;background-color: var(--secondaryButtonBackground, #FFFFFF);;border: 0;display: flex;width: 100%;font-size: 0.8rem;}.slds-dropdown__item",s," > .endChatOption:hover",s,",.slds-dropdown__item",s," > .requestTranscriptOption:hover",s,",.slds-dropdown__item",s," > .chatbotMenuOption:hover",s," {outline: 0;text-decoration: none;background-color: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);}.slds-dropdown__item",s," > .endChatOption:focus",s,",.slds-dropdown__item",s," > .requestTranscriptOption:focus",s,",.slds-dropdown__item",s," > .chatbotMenuOption:focus",s," {outline: 2px auto var(--slds-g-color-neutral-base-20, #2e2e2e);text-decoration: none;background-color: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);border-radius: 4px;}.slds-dropdown__list",s," > .slds-dropdown__item:not(:first-child)",s," {border-top: #e2e2e2 1px solid;}.slds-dropdown__item",s," .slds-truncate",s," {color: var(--primaryText, #333333);}.slds-dropdown__item",s,' > .endChatOption[aria-disabled="true"]',s," {outline: 0;text-decoration: none;background-color: #c9c9c9;cursor: not-allowed;}"].join("")}];const E=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,p=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,b=t.parseFragment`<div class="chatOverlay${0}"${2}></div>`,M=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><button role="menuitem" class="chatbotMenuOption${0}" tabindex="-1"${"a1:value"}${"a1:id"}${2}><span class="slds-truncate${0}"${"a2:title"}${"a2:value"}${"a2:id"}${2}>${"t3"}</span></button></li>`,S=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><button role="menuitem" class="requestTranscriptOption${0}" tabindex="-1"${"a1:id"}${2}><span class="slds-truncate${0}"${"a2:title"}${"a2:id"}${2}>${"t3"}</span></button></li>`,_=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><button role="menuitem" class="endChatOption${0}" tabindex="-1"${"a1:aria-disabled"}${"a1:id"}${2}><span class="endChat slds-truncate${0}"${"a2:title"}${"a2:id"}${2}>${"t3"}</span></button></li>`,B=t.parseFragment`<img${"a0:src"} alt${3}>`,T=t.parseFragment`<h2${"c0"}${"a0:title"}${2}>${"t1"}</h2>`,C=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,v=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,A={classMap:{chatHeader:!0},key:0},O={headerButton:!0,backButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},N={headerButton:!0,menuButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},y={classMap:{"slds-dropdown__list":!0},attrs:{role:"menu"},key:13},I={headerButton:!0,minimizeButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},x={headerButton:!0,closeButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon-bare":!0,"slds-button_icon-inverse":!0},k={headerAnnouncement:!0};function f(e,t,n,s){const{gid:i,b:o,d:a,sp:r,st:l,c:u,h:d,ncls:c,k:m,i:f,f:D}=e,{_m0:w,_m1:F,_m2:H,_m3:L,_m4:R,_m5:G,_m6:$,_m7:P,_m8:q}=s;return[d("header",A,[t.shouldDisplayBackButton?d("button",{classMap:O,attrs:{title:t.labels.BackButtonTitle,id:i("headerBackButton")},key:1,on:w||(s._m0={keydown:o(t.onBackButtonKeyDown),click:o(t.onBackButtonClick)})},[l(E,3,[r(1,null,a(t.labels.BackButtonAssistiveText))]),u("lightning-icon",h.default,{props:{iconName:t.generateBackButtonIconName,variant:"inverse",size:"x-small",id:i("headerBackButtonIcon")},key:4})]):null,t.shouldDisplayMenuButton?d("div",{className:c(t.menuClass),key:5},[d("button",{classMap:N,attrs:{title:t.menuButtonText,"aria-haspopup":"true","aria-expanded":t.isAriaExpanded,id:i("headerMenuButton")},key:6,on:F||(s._m1={keydown:o(t.onMenuButtonKeyDown),mousedown:o(t.onMenuButtonMouseDown),click:o(t.onMenuButtonClick)})},[l(p,8,[r(1,null,a(t.menuButtonText))]),u("lightning-icon",h.default,{props:{iconName:"utility:threedots_vertical",variant:"inverse",size:"x-small",id:i("menuButtonIcon")},key:9})]),l(b,11,[r(0,{on:L||(s._m3={click:o(t.closeMenu)})},null)]),d("section",{className:c(t.generateOptionMenuClassName),key:12},[d("ul",y,D([f(t.chatbotMenuOptions,function(e){return l(M,m(15,e.optionIdentifier),[r(1,{on:R||(s._m4={keydown:o(t.onMenuItemKeyDown),mouseenter:o(t.onMenuItemMouseEnter),click:o(t.onMenuOptionClick),blur:o(t.onMenuItemBlur)}),attrs:{value:e.optionIdentifier,id:i("chatbotMenuOptionButton")}},null),r(2,{attrs:{title:e.title,value:e.optionIdentifier,id:i("chatbotMenuOptionText")}},null),r(3,null,a(e.title))])}
370),t.shouldDisplayRequestTranscriptOption?l(S,17,[r(1,{on:G||(s._m5={keydown:o(t.onMenuItemKeyDown),blur:o(t.onMenuItemBlur),mouseenter:o(t.onMenuItemMouseEnter),click:o(t.onRequestTranscriptOptionClick)}),attrs:{id:i("requestTranscriptOptionButton")}},null),r(2,{attrs:{title:t.labels.RequestTranscript,id:i("requestTranscriptOptionText")}},null),r(3,null,a(t.labels.RequestTranscript))]):null,l(_,19,[r(1,{on:$||(s._m6={keydown:o(t.onMenuItemKeyDown),blur:o(t.onMenuItemBlur),mouseenter:o(t.onMenuItemMouseEnter),click:o(t.handleEndChat)}),attrs:{"aria-disabled":t.shouldDisableEndChatOption,id:i("endChatOptionButton")}},null),r(2,{attrs:{title:t.labels.EndSession,id:i("endChatOptionText")}},null),r(3,null,a(t.labels.EndSession))])]))])]):null,t.logo?l(B,21,[r(0,{attrs:{src:t.logo}},null)]):null,l(T,23,[r(0,{className:c(t.generateHeaderTextClassName),attrs:{title:t.headerText}},null),r(1,null,a(t.headerText))]),t.shouldDisplayMinimizeButton?d("button",{classMap:I,attrs:{title:t.labels.Minimize,id:i("headerMinimizeButton")},key:24,on:P||(s._m7={keydown:o(t.onMinimizeButtonKeyDown),click:o(t.onMinimizeButtonClick)})},[l(C,26,[r(1,null,a(t.labels.MinimizeButtonAssistiveText))]),u("lightning-icon",h.default,{props:{iconName:t.minimizeButtonIcon,variant:"inverse",size:"x-small",id:i("headerMinimizeButtonIcon")},key:27})]):null,t.shouldDisplayCloseButton?d("button",{classMap:x,attrs:{title:t.labels.Close,id:i("headerCloseButton")},key:28,on:q||(s._m8={keydown:o(t.onCloseButtonKeyDown),click:o(t.onCloseButtonClick)})},[l(v,30,[r(1,null,a(t.labels.CloseButtonAssistiveText))]),u("lightning-icon",h.default,{props:{iconName:"utility:close",variant:"inverse",size:"x-small",id:i("closeButtonIcon")},key:31})]):null]),u("embeddedmessaging-chat-header-announcement",g.default,{classMap:k,props:{text:t.headerAnnouncement.text,temporary:t.headerAnnouncement.temporary,announcement:t.headerAnnouncement.announcement,loading:t.headerAnnouncement.loading,clearAnnouncement:t.clearAnnouncement},key:32})]}var D=t.registerTemplate(f);f.stylesheets=[],f.stylesheetToken="lwc-c5th8h1hm8",f.legacyStylesheetToken="embeddedMessaging-chatHeader_chatHeader",m&&f.stylesheets.push.apply(f.stylesheets,m),t.freezeTemplate(f);const w="slds-dropdown-trigger slds-dropdown-trigger_click",F=w+" slds-is-open",H="EmbeddedMessaging-ChatHeader";class L extends t.LightningElement{constructor(...e){super(...e),this.configuration=void 0,this.sessionStatus=void 0,this.sseStatus=void 0,this.chatbotMenuOptions=[],this.logo=r.getBrandingValue(r.BRANDING_TOKENS.LOGO_IMAGE.name),this.showBackButton=!1,this.showMinimizeButton=!0,this.headerText="",this.headerAnnouncement={text:"",temporary:"",announcement:"",loading:!1},this.menuClass=w,this.setFirstMenuItemFocus=!1,this.cancelMenuItemBlur=!1,this.labels={},this.isMessageAreaEndOfScroll=void 0,this._conversationStatus=void 0,this.clearAnnouncement=()=>{this.setSubText(""),this.setTemporarySubText(""),this.setAnnouncementSubText(""),this.setLoadingAnimation(!1)}}get shouldDisplayBackButton(){return this.showBackButton}get shouldDisplayMinimizeButton(){return this.showMinimizeButton}get shouldDisplayMenuButton(){return this.conversationStatus!==a.ConversationStatus.NOT_STARTED_CONVERSATION}get shouldDisplayRequestTranscriptOption(){return this.conversationStatus!==a.ConversationStatus.NOT_STARTED_CONVERSATION&&Boolean(this.configuration.transcript&&this.configuration.transcript.allowTranscriptDownload)}get isAriaExpanded(){return this.menuClass===F}get menuButtonText(){return this.isAriaExpanded?this.labels.CloseMenuButtonAssistiveText:this.labels.MenuButtonAssistiveText}get generateOptionMenuClassName(){return"optionsMenu slds-dropdown"+(o.rtlUtil.isHtmlDirectionRTL()?" slds-dropdown_right slds-nubbin_top-right":" slds-dropdown_left slds-nubbin_top-left")+(this.shouldDisplayBackButton?" backButtonPresent":"")}get generateHeaderTextClassName(){return this.logo?"headerText logo":"headerText"}get generateBackButtonIconName(){return o.rtlUtil.isHtmlDirectionRTL()?"utility:forward":"utility:back"}get conversationStatus(){return this._conversationStatus}set conversationStatus(e){this._conversationStatus=e,this._conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION&&this.clearAnnouncement()}get isAuthenticated(){return o.authUtil.isUserVerificationEnabled(this.configuration)}connectedCallback(){this.handleLabels(),this.headerText=this.labels.DefaultHeaderText,this.assignHandlers(),this.applyStyling()}renderedCallback(){u.assignMessagingEventHandler(u.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,()=>{this.showBackButton?this.setFocusOnBackButton():this.shouldDisplayMenuButton?this.setFocusOnMenuButton():this.showMinimizeButton?this.setFocusOnMinimizeButton():this.shouldDisplayCloseButton&&this.setFocusOnCloseButton()}),this.setFirstMenuItemFocus&&(this.setFocusOnFirstMenuItem(),this.setFirstMenuItemFocus=!1)}errorCallback(e,t){o.error(e,t)}assignHandlers(){u.assignMessagingEventHandler(u.MESSAGING_EVENT.UPDATE_HEADER_TEXT,e=>{e&&e.text&&this.setText(e.text)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,e=>{e&&o.isBoolean(e.showBackButton)&&(this.showBackButton=e.showBackButton)}),i.assignChatHeaderHandler(i.HEADER_EVENTS.CLEAR_NOTIFICATION,()=>{this.clearAnnouncement()}),i.assignChatHeaderHandler(i.HEADER_EVENTS.CLICK_HEADER_MENU_BUTTON,this.onMenuButtonClick.bind(this)),u.assignMessagingEventHandler(u.MESSAGING_EVENT.PARTICIPANT_JOINED,e=>
370{e&&(e.options&&Array.isArray(e.options)&&e.options.forEach(e=>{this.chatbotMenuOptions.some(t=>t.optionIdentifier===e.optionIdentifier)||this.chatbotMenuOptions.push(e)}),e.label&&!e.silentMode&&(e.conversationParticipants&&d.isConferenceMode(e.conversationParticipants)?this.setText(this.labels.HeaderConferenceText):this.setText(e.label),this.clearAnnouncement(),o.isBoolean(this.isMessageAreaEndOfScroll)&&!this.isMessageAreaEndOfScroll&&this.setAnnouncementSubText(this.labels.AgentJoinAnnouncement)))}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.PARTICIPANT_LEFT,e=>{let t;if(this.chatbotMenuOptions=[],e?.conversationParticipants){const n=d.getAgentOrBotParticipants(e.conversationParticipants);switch(n.length){case 0:t=this.labels.DefaultHeaderText;break;case 1:t=n[0].displayName;break;default:t=this.labels.HeaderConferenceText}}this.showBackButton||this.setText(t||this.labels.DefaultHeaderText),o.isBoolean(this.isMessageAreaEndOfScroll)&&!this.isMessageAreaEndOfScroll&&this.setAnnouncementSubText(this.labels.AgentLeaveAnnouncement)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.TRANSFER_INITIATED,()=>{this.chatbotMenuOptions=[],this.setLoadingAnimation(!0),this.setSubText(this.labels.TransferRequestSuccessHeaderAnnouncement)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.TRANSFER_COMPLETED,this.clearAnnouncement.bind(this)),i.assignChatHeaderHandler(i.HEADER_EVENTS.JWT_EXPIRED,()=>{this.chatbotMenuOptions=[],this.setSubText(this.labels.JWTExpiredAnnouncement)}),i.assignChatHeaderHandler(i.HEADER_EVENTS.CLICK_OUTSIDE_HEADER,()=>{this.closeMenu()}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.RECONNECT_IN_PROGRESS,()=>{this.setLoadingAnimation(!0),this.setSubText(this.labels.ReconnectInProgress)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.RECONNECT_ENDED,()=>{this.setTemporarySubText(this.labels.ReconnectInProgress),this.setLoadingAnimation(!1),this.sseStatus=void 0}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.SSE_INITIAL_PING_TIMEOUT,()=>{this.sseStatus=a.SseStatus.BLOCKED_INITIAL_SSE,this.setLoadingAnimation(!1),this.setSubText(this.labels.EventSourceUnavailable)}),u.assignMessagingEventHandler(u.MESSAGING_EVENT.SSE_PING_TIMEOUT,()=>{this.sseStatus&&this.sseStatus!==a.SseStatus.BLOCKED_INITIAL_SSE&&(this.sseStatus=a.SseStatus.BLOCKED_SSE,this.setLoadingAnimation(!0),this.setSubText(this.labels.ReconnectInProgress))}),i.assignChatHeaderHandler(i.HEADER_EVENTS.SCRT_REQUEST_ERROR,()=>{this.setSubText(this.labels.GenericErrorMessage),this.setLoadingAnimation(!1)})}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule("embeddedmessaging-chat-header .slds-icon_container svg.slds-icon_x-small { width: 20px; height: 20px; }",0),e.sheet.insertRule("embeddedmessaging-chat-header .slds-icon_container svg.slds-icon_x-small { fill: var(--headerForeground, #181818) }",0))}handleLabels(){this.labels.Minimize=l.getLabel("EmbeddedMessagingChatHeader","Minimize"),this.labels.Close=l.getLabel("EmbeddedMessagingChatHeader","Close"),this.labels.DefaultHeaderText=l.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText"),this.labels.TransferRequestSuccessHeaderAnnouncement=l.getLabel("EmbeddedMessagingChatHeader","TransferRequestSuccessHeaderAnnouncement"),this.labels.TransferRequestFailureHeaderAnnouncement=l.getLabel("EmbeddedMessagingChatHeader","TransferRequestFailureHeaderAnnouncement"),this.labels.AgentJoinAnnouncement=l.getLabel("EmbeddedMessagingChatHeader","AgentJoinAnnouncement"),this.labels.AgentLeaveAnnouncement=l.getLabel("EmbeddedMessagingChatHeader","AgentLeaveAnnouncement"),this.labels.JWTExpiredAnnouncement=l.getLabel("EmbeddedMessagingChatHeader","JWTExpiredAnnouncement"),this.labels.BackButtonTitle=l.getLabel("EmbeddedMessagingPostchat","PostchatHeaderBackButtonTitle"),this.labels.BackButtonAssistiveText=l.getLabel("EmbeddedMessagingPostchat","PostchatHeaderBackButtonAssistiveText"),this.labels.MinimizeButtonAssistiveText=l.getLabel("EmbeddedMessagingChatHeader","MinimizeButtonAssistiveText"),this.labels.CloseButtonAssistiveText=l.getLabel("EmbeddedMessagingChatHeader","CloseButtonAssistiveText"),this.labels.MenuButtonAssistiveText=l.getLabel("EmbeddedMessagingChatHeader","MenuButtonAssistiveText"),this.labels.CloseMenuButtonAssistiveText=l.getLabel("EmbeddedMessagingChatHeader","CloseMenuButtonAssistiveText"),this.labels.ReconnectInProgress=l.getLabel("EmbeddedMessagingChatHeader","ReconnectInProgress"),this.labels.GenericErrorMessage=l.getLabel("EmbeddedMessagingClientErrorMessages","GenericErrorMessage"),this.labels.RequestTranscript=l.getLabel("EmbeddedMessagingChatHeader","RequestTranscriptMenuOption"),this.labels.EndSession=l.getLabel("EmbeddedMessagingChatHeader","EndSession"),this.labels.HeaderConferenceText=l.getLabel("EmbeddedMessagingChatHeader","ConferenceHeaderText"),this.labels.EventSourceUnavailable=l.getLabel("EmbeddedMessagingChatHeader","EventSourceUnavailable")}setText(e){this.headerText=e}setSubText(e){this.headerAnnouncement.text=e,this.headerAnnouncement.temporary="",this.headerAnnouncement.announcement="",u.dispatchMessagingEvent(u.MESSAGING_EVENT.ANNOUNCEMENT_CHANGED,{})}setTemporarySubText(e){this.headerAnnouncement.temporary=e,this.headerAnnouncement.text="",this.headerAnnouncement.announcement="",u.dispatchMessagingEvent(u.MESSAGING_EVENT.ANNOUNCEMENT_CHANGED,{})}setAnnouncementSubText(e){this.headerAnnouncement.announcement!==e&&(this.headerAnnouncement.text&&(this.headerAnnouncement.text=""),this.headerAnnouncement.temporary&&(this.headerAnnouncement.temporary=""),Promise.resolve().then(()=>{this.headerAnnouncement.announcement=e,u.dispatchMessagingEvent(u.MESSAGING_EVENT.ANNOUNCEMENT_CHANGED,{})}))}setLoadingAnimation(e){this.headerAnnouncement.loading=Boolean(e),u.dispatchMessagingEvent(u.MESSAGING_EVENT.ANNOUNCEMENT_CHANGED,{})}onBackButtonClick(e){u.dispatchMessagingEvent(u.MESSAGING_EVENT.BACK_BUTTON_CLICK,{}),o.LoggingUtil.logInteraction(e,this,H,{method:"onBackButtonClick"})}onBackButtonKeyDown(e){e&&e.key===o.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),i.dispatchEvent(o.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}onMinimizeButtonClick(e){this.conversationStatus!==a.ConversationStatus.NOT_STARTED_CONVERSATION&&this.conversationStatus!==a.ConversationStatus.CLOSED_CONVERSATION||!this.isDisplayModeInline()?u.dispatchMessagingEvent(u.MESSAGING_EVENT.MINIMIZE_BUTTON_CLICK,{bubbles:!0}):this.dispatchCloseContainerEvent(),o.LoggingUtil.logInteraction(e,this,H,{method:"onMinimizeButtonClick"})}onMinimizeButtonKeyDown(e){e.key===o.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),this.shouldDisplayMenuButton?this.setFocusOnMenuButton():this.showBackButton?this.setFocusOnBackButton():i.dispatchEvent(o.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}get minimizeButtonIcon(){return this.isDisplayModeInline()?"utility:close":"utility:chevrondown"}get shouldDisplayCloseButton(){return!this.isDisplayModeInline()&&(this.conversationStatus===a.ConversationStatus.NOT_STARTED_CONVERSATION||this.conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION)}onCloseButtonKeyDown(e){e.key===o.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),this.shouldDisplayMinimizeButton?this.setFocusOnMinimizeButton():this.shouldDisplayMenuButton?this.setFocusOnMenuButton():this.showBackButton?this.setFocusOnBackButton():i.dispatchEvent(o.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0}))}onCloseButtonClick(e){this.dispatchCloseContainerEvent(),o.LoggingUtil.logInteraction(e,this,H,{method:"onCloseHeaderButtonClick"})}onMenuButtonClick(e){this.toggleMenuVisibility(),this.cancelMenuItemBlur=!0,o.LoggingUtil.logInteraction(e,this,H,{method:"onMenuButtonClick"})}onMenuButtonKeyDown(e){e&&(e.key===o.KEY_CODES.ENTER||e.key===o.KEY_CODES.SPACE||e.key===o.KEY_CODES.DOWN?(e.preventDefault(),this.onMenuButtonClick()):e.key===o.KEY_CODES.TAB&&e.shiftKey&&(e.preventDefault(),this.showBackButton?this.setFocusOnBackButton():i.dispatchEvent(o.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,{bubbles:!0})))}onMenuButtonMouseDown(){this.cancelMenuItemBlur=!0}onMenuItemKeyDown(e){e&&(e.key===o.KEY_CODES.ENTER||e.key===o.KEY_CODES.SPACE?(e.preventDefault(),e.currentTarget.click()):e.key===o.KEY_CODES.ESCAPE?(e.preventDefault(),e.stopPropagation(),this.cancelMenuItemBlur=!1,this.closeMenu(),this.setFocusOnMenuButton()):e.key===o.KEY_CODES.DOWN?(e.preventDefault(),this.cancelMenuItemBlur=!0,this.setFocusOnNextMenuItem(e.currentTarget.parentElement)):e.key===o.KEY_CODES.UP?(e.preventDefault(),this.cancelMenuItemBlur=!0,this.setFocusOnPreviousMenuItem(e.currentTarget.parentElement)):e.key===o.KEY_CODES.TAB&&e.shiftKey?(e.preventDefault(),this.cancelMenuItemBlur=!1,this.closeMenu(),this.setFocusOnMenuButton()):e.key===o.KEY_CODES.TAB&&(this.cancelMenuItemBlur=!1))}onMenuItemMouseEnter(e){e&&e.currentTarget&&(e.currentTarget.focu
370s(),this.cancelMenuItemBlur=!0)}onMenuItemBlur(){this.cancelMenuItemBlur||this.closeMenu()}onMenuOptionClick(e){let t,n,s;e&&(e.preventDefault(),e.target&&e.target.getAttribute("value")&&(t=e.target.getAttribute("value"),n=this.chatbotMenuOptions.find(e=>e.optionIdentifier===t),t&&n&&u.dispatchMessagingEvent(u.MESSAGING_EVENT.MENU_ITEM_SELECTED,{selectedOption:n})),s=e.target.id.includes("-")?e.target.id.substr(0,e.target.id.lastIndexOf("-")):e.target.id,o.LoggingUtil.logInteraction(e,this,H,{method:"onMenuOptionClick",feature:e.target.value?`${s}_${e.target.value}`:s})),this.closeMenu(),this.setFocusOnMenuButton()}toggleMenuVisibility(){this.menuClass===w?(this.openMenu(),this.setFirstMenuItemFocus=!0):this.closeMenu()}showOverlay(){const e=this.querySelectChatOverlayOption();e&&(e.style.display="block")}hideOverlay(){const e=this.querySelectChatOverlayOption();e&&(e.style.display="none")}openMenu(){this.menuClass=F,this.showOverlay()}closeMenu(){this.menuClass=w,this.hideOverlay()}handleEndChat(e){this.conversationStatus!==a.ConversationStatus.CLOSED_CONVERSATION&&(this.closeMenu(),this.isAuthenticated?this.dispatchEndSessionEvent():this.dispatchCloseConversationEvent(),this.setFocusOnMenuButton(),i.dispatchEvent(o.events.UNSEEN_MESSAGE_NOTIFICATION_CLICKED,{}),e&&(e.stopPropagation(),o.LoggingUtil.logInteraction(e,this,H,{method:"handleEndChat"})))}dispatchCloseConversationEvent(){u.dispatchMessagingEvent(u.MESSAGING_EVENT.CLOSE_CONVERSATION,{bubbles:!0})}dispatchEndSessionEvent(){i.dispatchEvent(o.events.EMBEDDED_MESSAGING_END_SESSION,{bubbles:!0})}dispatchCloseContainerEvent(){u.dispatchMessagingEvent(u.MESSAGING_EVENT.CLOSE_CONTAINER,{bubbles:!0})}get shouldDisableEndChatOption(){return this.conversationStatus===a.ConversationStatus.CLOSED_CONVERSATION||this.isAuthenticated&&this.sessionStatus===a.SessionStatus.ENDED}onRequestTranscriptOptionClick(){u.dispatchMessagingEvent(u.MESSAGING_EVENT.REQUEST_TRANSCRIPT,{bubbles:!0}),this.closeMenu(),this.setFocusOnMenuButton()}isDisplayModeInline(){return o.getDisplayMode()===a.DISPLAY_MODE.INLINE}querySelectHeader(){return this.template&&this.template.querySelector(".chatHeader")?this.template.querySelector(".chatHeader"):void 0}querySelectBackButton(){return this.template&&this.template.querySelector("button.backButton")?this.template.querySelector("button.backButton"):void 0}querySelectMenuButton(){return this.template&&this.template.querySelector("button.menuButton")?this.template.querySelector("button.menuButton"):void 0}querySelectMinimizeButton(){return this.template&&this.template.querySelector("button.minimizeButton")?this.template.querySelector("button.minimizeButton"):void 0}querySelectCloseButton(){return this.template&&this.template.querySelector("button.closeButton")?this.template.querySelector("button.closeButton"):void 0}querySelectFirstMenuItem(){return this.template&&this.template.querySelector(".slds-dropdown__list > li.slds-dropdown__item:first-child > button")?this.template.querySelector(".slds-dropdown__list > li.slds-dropdown__item:first-child > button"):void 0}querySelectNextMenuItem(e){return o.util.querySelectItem(e,1)}querySelectPreviousMenuItem(e){return o.util.querySelectItem(e,-1)}querySelectChatOverlayOption(){return this.template.querySelector(".chatOverlay")}setFocusOnElement(e){o.util.waitForFrame(()=>{e&&e.focus()})}setFocusOnBackButton(){this.setFocusOnElement(this.querySelectBackButton())}setFocusOnMinimizeButton(){this.setFocusOnElement(this.querySelectMinimizeButton())}setFocusOnCloseButton(){this.setFocusOnElement(this.querySelectCloseButton())}setFocusOnMenuButton(){this.setFocusOnElement(this.querySelectMenuButton())}setFocusOnFirstMenuItem(){this.setFocusOnElement(this.querySelectFirstMenuItem())}setFocusOnNextMenuItem(e){this.setFocusOnElement(this.querySelectNextMenuItem(e))}setFocusOnPreviousMenuItem(e){this.setFocusOnElement(this.querySelectPreviousMenuItem(e))}}t.registerDecorators(L,{publicProps:{configuration:{config:0},sessionStatus:{config:0},isMessageAreaEndOfScroll:{config:0},conversationStatus:{config:3}},track:{chatbotMenuOptions:1,headerAnnouncement:1,labels:1},fields:["sseStatus","logo","showBackButton","showMinimizeButton","headerText","menuClass","setFirstMenuItemFocus","cancelMenuItemBlur","_conversationStatus","clearAnnouncement"]});const R=t.registerComponent(L,{tmpl:D,sel:"embeddedMessaging-chat-header",apiVersion:66,enableSyntheticElementInternals:!0});
370e.default=R,Object.defineProperty(e,"__esModule",{value:!0})});
371})();LWR.define('embeddedmessaging/chatHeader', ['embeddedMessaging/chatHeader'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/i18nCldrOptions",["exports"],function(e){var r=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var a=Object.create(null);e.default=function(e){if("string"!=typeof e)throw new TypeError;var c=a[e];return c||(c=a[e]={},e.replace(r,function(e){return function(e,r){switch(e.charAt(0)){case"G":r.era=["short","short","short","long","narrow"][e.length-1];break;case"y":case"Y":case"u":case"U":case"r":r.year=2===e.length?"2-digit":"numeric";break;case"Q":case"q":r.quarter=["numeric","2-digit","short","long","narrow"][e.length-1];break;case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][e.length-1];break;case"w":r.week=2===e.length?"2-digit":"numeric";break;case"W":r.week="numeric";break;case"d":r.day=2===e.length?"2-digit":"numeric";break;case"D":case"F":case"g":r.day="numeric";break;case"E":r.weekday=["short","short","short","long","narrow","short"][e.length-1];break;case"e":r.weekday=["numeric","2-digit","short","long","narrow","short"][e.length-1];break;case"c":r.weekday=["numeric",void 0,"short","long","narrow","short"][e.length-1];break;case"a":case"b":case"B":r.hour12=!0;break;case"h":r.hourCycle="h12",r.hour12=!0,r.hour=2===e.length?"2-digit":"numeric";break;case"H":r.hourCycle="h23",r.hour12=!1,r.hour=2===e.length?"2-digit":"numeric";break;case"k":r.hourCycle="h24",r.hour12=!1,r.hour=2===e.length?"2-digit":"numeric";break;case"K":r.hourCycle="h11",r.hour12=!0,r.hour=2===e.length?"2-digit":"numeric";break;case"m":r.minute=2===e.length?"2-digit":"numeric";break;case"s":r.second=2===e.length?"2-digit":"numeric";break;case"S":case"A":r.second="numeric";break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":r.timeZoneName=e.length<4?"short":"long"}}(e,c),""}),c)},Object.defineProperty(e,"__esModule",{value:!0})});
372})();(function() { LWR.define("lightning/i18nService",["exports","@salesforce/i18n/common.digits","@salesforce/i18n/common.calendarData","@salesforce/i18n/defaultCalendar","@salesforce/i18n/defaultNumberingSystem","@salesforce/i18n/calendarData","@salesforce/i18n/number.decimalSeparator","@salesforce/i18n/number.groupingSeparator","@salesforce/i18n/number.percentSign","@salesforce/i18n/number.plusSign","@salesforce/i18n/number.minusSign","@salesforce/i18n/number.exponentialSign","@salesforce/i18n/number.superscriptingExponentSign","@salesforce/i18n/number.perMilleSign","@salesforce/i18n/number.infinity","@salesforce/i18n/number.nan","@salesforce/i18n/number.currencySymbol"],function(e,t,n,r,s,a,i,o,c,u,l,h,m,f,g,d,p){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y=b(t),w=b(n),S=b(r),E=b(s),k=b(a),v=b(i),D=b(o),N=b(c),M=b(u),x=b(l),T=b(h),U=b(m),C=b(f),G=b(g),O=b(d),F=b(p);function I(e){const t=typeof e;if("string"===t||"number"===t||"boolean"===t||"undefined"===t)return e;if("object"===t){if(Array.isArray(e)){const t=[];for(const n of e)t.push(I(n));return t}{const t={},n=Object.getOwnPropertyNames(e).sort();for(const r of n){const n=I(e[r]);void 0!==n&&(t[r]=n)}return t}}}class L{constructor(){this.map=new Map}has(e){const t=this.normalize(e);return this.map.has(t)}get(e){const t=this.normalize(e);return this.map.get(t)}set(e,t){const n=this.normalize(e);return this.map.set(n,t),this}clear(){return this.map.clear()}normalize(e){const t=I(e);return JSON.stringify(t)}}const P=new Map;function Z(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const j={gregory:"gregorian"};const A=/^([-]?[0-9]+)-([0-9]{1,2})-([0-9]{1,2})$/;function z(e){if(e&&A.test(e)){const t=e.match(A);return{year:parseInt(t[0],10),month:parseInt(t[0],10),day:parseInt(t[0],10)}}}function $(e,t){return function(e,t){const n=[];return[...e].forEach(e=>{const r=t.indexOf(e);r>=0&&n.push(r)}),n.reverse()}
372(e,Array.from(t)).reduce((e,t,n)=>e+t*10**n,0)}function R(e,t=""){return function(e,t=""){return e.length>1&&e.reduce((e,t,n,r)=>0===n||e&&t.codePointAt(0)-r[n-1].codePointAt(0)===1,!1)?"["+[e[0],e[e.length-1]].join("-")+Z(t)+"]":"["+e.join("")+Z(t)+"]"}(Array.from(e),t)}let W;const _=/(\d+).(\d+).(\d+),?\s+(\d+).(\d+)(.(\d+))?/,B=new Map;function H(e){const t=e.replace(/[\u200E\u200F]/g,"");return[].slice.call(_.exec(t),1).map(Math.floor)}function K(e,t){B.has(e)||B.set(e,new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}));const n=B.get(e);return function(e,t){let n=e[1]-t[1];return n>15&&(n=-1),n<-15&&(n=1),60*(24*n+(e[3]-t[3]))+(e[4]-t[4])}(H((W||(W=new Intl.DateTimeFormat("en-US",{timeZone:"UTC",hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"})),W).format(t)),H(n.format(t)))}function Y(e){return 1===e||3===e||5===e||7===e||8===e||10===e||12===e}function Q(e){return 4===e||6===e||9===e||11===e}function X(e,t,n){return function(e){return Y(e)||Q(e)||2===e}(e)&&Number.isInteger(t)&&t>=1&&(t<=30&&Q(e)||t<=31&&Y(e)||n&&2===e&&t<=29||!n&&2===e&&t<=28)}class q{constructor(e){this.year=0,this.month=1,this.day=1,this.hour=0,this.minute=0,this.second=0,this.millisecond=0,this.timeZone=e}clear(){this.year=0,this.month=1,this.day=1,this.hour=0,this.minute=0,this.second=0,this.millisecond=0}getDate(e=2e3){this.year<100&&this.year>=0&&(this.year+=e);const t=new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond);if(this.timeZone){const e=t.getTimezoneOffset()-K(this.timeZone,t);if(0!==Math.floor(e)){return new Date(t.getTime()-60*e*1e3)}}return t}}function J(e,t){switch(e){case"a":case"aa":case"aaa":return t.dayPeriods.format.abbreviated;case"aaaa":return t.dayPeriods.format.wide;case"aaaaa":return t.dayPeriods.format.narrow;case"G":return t.eras.eraAbbr;case"GGGG":return t.eras.eraNames;case"GGGGG":return t.eras.eraNarrow;case"MMM":return t.months.format.abbreviated;case"MMMM":return t.months.format.wide;case"MMMMM":return t.months.format.narrow;case"EEEE":return t.days.format.wide;case"EEEEE":return t.days.format.narrow;case"EEEEEE":return t.days.format.abbreviated;default:return{}}}function V(e){switch(e.type){case"y":case"d":case"K":case"H":case"h":case"k":case"m":case"s":case"S":case"A":case"Q":return 2===e.length?2:0;case"M":case"e":case"c":switch(e.length){case 1:return 0;case 2:return 2;default:return-1}}return-1}const ee=new Map;function te(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&e[n]===t)return n}const ne=["1","2","3","4","5","6","7","8","9","10","11","12"];class re{constructor(e){const t={commonDigits:y.default,commonCalendarData:w.default,defaultCalendar:S.default,defaultNumberingSystem:E.default,calendarData:k.default};var n;this.calendarType=e.calendar?(n=e.calendar,Object.prototype.hasOwnProperty.call(j,n)?j[n]:n):t.defaultCalendar;const r=e.numberingSystem?e.numberingSystem:t.defaultNumberingSystem,s=e.timeZone?e.timeZone:void 0;e.numberingSystem=r,e.timeZone=s,this.options=e,this.digits=t.commonDigits[r],this.commonCalendarData=t.commonCalendarData[this.calendarType],this.calendarData=t.calendarData[this.calendarType],this.expr=function(e,t,n){const r=function(e){const t=[..."GyYQqM<wWdDFEecabBhHKkmsSAxXOvVXxZz"],n=[];let r=!1,s=!1;return[...e].forEach(e=>{const a=t.indexOf(e)>=0?e:void 0;let i=!1;if(void 0===a&&"'"===e||!s||(r=!r),void 0===a||r)"'"!==e||s?(i=!0,s=!1):s=!0;else{if(n.length>0&&n[n.length-1].type===a){let e=n[n.length-1].length;e=void 0===e?1:e+1,n[n.length-1].length=e}else void 0!==a&&n.push({type:a,length:1});s=!1}if(i)if(n.length>0&&void 0===n[n.length-1].type){let t=n[n.length-1].text;t=void 0===t?e:t+e,n[n.length-1].text=t}else n.push({text:e})}),n}(e),s=[],a=R(t);let i="^[\\s]*";for(let e=0;e<r.length;e++){const t=r[e];if(void 0!==t.text&&""!==t.text)i+="("+Z(t.text)+")",s.push(t);else if(void 0!==t.type){const e=t.type.repeat(t.length),r=V(t);if(-1===r){if("z"===e)i+="([^\\s]+)";else{const t=J(e,n);i+="("+Object.keys(t).map(e=>Z(t[e])).join("|")+")"}s.push(t)}else 0===r?(i+="("+a+"+)",s.push(t)):r>0&&(i+="("+a+"{1,"+r+"})",s.push(t))}}return i+="[\\s]*$",ee.has(i)||ee.set(i,new RegExp(i)),{regexp:ee.get(i),groups:s}}(this.options.pattern,this.digits,this.calendarData)}parse(e){const t=e.match(this.expr.regexp);if(!t||t.length<=this.expr.groups.length)throw new Error("Invalid date: '"+e+"' for pattern: '"+this.options.pattern+"'");const n=new q(this.options.timeZone);let r,s;if(n.clear(),this.expr.groups.forEach((e,a)=>{if(void 0===e.type)return;const i=t[a+1];if(V(e)>=0)switch(e.type){case"y":n.year=$(i,this.digits);break;case"M":n.month=$(i,this.digits);break;case"d":n.day=$(i,this.digits);break;case"K":case"H":case"h":case"k":n.hour=$(i,this.digits);break;case"m":n.minute=$(i,this.digits);break;case"s":n.second=$(i,this.digits);break;case"A":n.millisecond=$(i,this.digits)}else{const t=function(e,t,n){const r=t.type.repeat(t.length);switch(t.type){case"G":switch(r){case"G":return te(n.eras.eraNames,e);case"GGGG":return te(n.eras.eraNarrow,e);case"GGGGG":return te(n.eras.eraAbbr,e)}break;case"M":case"L":switch(r){case"MMM":return te(n.months.format.abbreviated,e);case"MMMM":return te(n.months.format.wide,e);case"MMMMM":return te(n.months.format.narrow,e);case"LLL":return te(n.months["stand-alone"].short,e);case"LLLL":return te(n.months["stand-alone"].wide,e);case"LLLLL":return te(n.months["stand-alone"].narrow,e)}break;case"a":case"b":case"B":if(t.length>=1&&t.length<=3)return te(n.dayPeriods.format.abbreviated,e);if(4===t.length)return te(n.dayPeriods.format.wide,e);if(5===t.length)return te(n.dayPeriods.format.narrow,e);break;case"E":case"e":case"c":switch(r){case"E":case"EE":case"EEE":case"eee":case"ccc":case"EEEEE":case"eeeee":case"ccccc":return te(n.days.format.abbreviated,e);case"EEEE":case"eeee":case"cccc":return te(n.days.format.wide,e);case"EEEEEE":case"eeeeee":case"cccccc":return te(n.days.format.short,e)}
372}}(i,e,this.calendarData);if(t)switch(e.type){case"G":r=parseInt(t,10);break;case"M":case"L":n.month=ne.indexOf(t)+1;break;case"a":case"b":case"B":s=t}}}),void 0!==r&&r>=0){const e=function(e,t,n,r,s="gregorian",a){if("gregorian"===s)return 0===e?-t:t;if(a&&"solar"===a.calendarSystem&&a.eras){const n=Object.keys(a.eras).sort().map(e=>a.eras[e]);(e>=n.length||e<0)&&(e=n.length-1);const r=n[e],s=t>0?t-1:t<0?t+1:0;if(r._end){const e=z(r._end);if(!e)return;return e.year-s}if(r._start){const e=z(r._start);if(!e)return;return e.year+s}}else if(a&&"solar"!==a.calendarSystem&&a.eras)return t}(r,n.year,n.month,n.day,this.calendarType,this.commonCalendarData);void 0!==e&&(n.year=e)}if(void 0!==s)switch(s){case"am":case"morning1":case"morning2":break;case"pm":case"afternoon1":case"afternoon2":case"evening1":case"night1":n.hour>=0&&n.hour<12&&(n.hour+=12);break;case"midnight":12===n.hour&&(n.hour=0)}return n.getDate()}}const se=new L;const ae=new Map;const ie=new Map;function oe(e,t=!1,n,r,s,a){const i=[];let o=0,c=0;const u=[],l=e.indexOf("E"),h=l>0?e.slice(0,l):e.slice(0),m=h.indexOf("."),f=m>=0?h.slice(0,m):h.slice(0);let g=0,d=!1,p=!1,b=!1;const y=[];if([...f].forEach(e=>y.push(e)),y.reverse(),[...y].forEach(e=>{switch(e){case".":break;case"+":p=!0,i.push({token:"plusSign"});break;case"-":b=!0,i.push({token:"minusSign"});break;case"%":i.push({token:"percentSign"});break;case"¤":i.push({token:"currencySign"});break;case"0":c++;case"#":g++,d||(i.push({token:"integer"}),d=!0);break;case",":u.push(g),g=0;break;default:i.push({token:"string",value:e})}}),i.reverse(),m>=0){i.push({token:"decimalSign"});const e=h.slice(m);let t=!1;[...e].forEach(e=>{switch(e){case".":break;case"+":p=!0,i.push({token:"plusSign"});break;case"-":b=!0,i.push({token:"minusSign"});break;case"%":i.push({token:"percentSign"});break;case"¤":i.push({token:"currencySign"});break;case"0":o++;case"#":t||(i.push({token:"fraction"}),t=!0);break;case",":break;default:i.push({token:"string",value:e})}})}let w="";for(let e=0;e<i.length;e++){const t=i[e];switch(t.token){case"integer":w+="("+R(n,u.length>0?r.group:"")+"+)";break;case"fraction":w+="("+R(n,u.length>0?r.group:"")+"+)",(a||m>0&&o<=0)&&(w+="?");break;case"decimalSign":w+="("+Z(r.decimal)+")",(a||m>0&&o<=0)&&(w+="?");break;case"plusSign":w+="("+Z(r.plusSign)+")?";break;case"minusSign":w+="("+Z(r.minusSign)+")?";break;case"percentSign":w+="("+Z(r.percentSign)+")?";break;case"currencySign":w+="("+Z(s)+")?";break;case"string":void 0!==t.value&&(/^\s+$/.test(t.value)?w+="(\\s+)"+(a?"?":""):w+="("+Z(t.value)+")")}}t||(p||b?p?b||(w="("+Z(r.minusSign)+")?"+w,i.unshift({token:"minusSign"})):(w="("+Z(r.plusSign)+")?"+w,i.unshift({token:"plusSign"})):(w="("+Z(r.plusSign)+"|"+Z(r.minusSign)+")?"+w,i.unshift({token:"plusOrMinusSign"})));return{expr:new RegExp(w),groups:i,isNegative:t,minIntegerDigits:c,minFractionalDigits:o}}function ce(e,t=!1,n,r,s,a){if(!t&&r){const t=ce(e,!0,n,r,s,a);if(!isNaN(t))return t}const i=t&&r?r:n,o=e.match(i.expr);if(!o)return NaN;let c=!1,u=!1,l=!1,h="",m="";const f=new RegExp(Z(a.group),"g");for(let e=0;e<i.groups.length;e++){const t=i.groups[e];l=l||"percentSign"===t.token;const n=o[e+1];if(n)switch(t.token){case"integer":h+=$(n.replace(f,""),s);break;case"fraction":m+=$(n.replace(f,""),s);break;case"plusSign":u=!0;break;case"minusSign":c=!0;break;case"plusOrMinusSign":switch(n){case a.plusSign:u=!0;break;case a.minusSign:c=!0}}}if(c&&u)throw new Error("String has both plus and minus sign");let g=NaN;if(h.replace(/\b0+\B/,""),l){m=h.slice(-2).padStart(2,"0")+m,h=h.slice(0,-2).padStart(1,"0");let e=(c?"-":"")+h;""!==m&&(e+="."+m),g=Number.parseFloat(e)}else{let e=(c?"-":"")+h;void 0===i.minFractionalDigits||void 0!==i.minFractionalDigits&&i.minFractionalDigits<=0&&""===m?g=Number.parseInt(e):(""!==m&&(e+="."+m),g=Number.parseFloat(e))}return t&&r?-g:g}class ue{constructor(e){const t={commonDigits:y.default,defaultNumberingSystem:E.default,currencySymbol:F.default,symbols:{decimal:v.default,group:D.default,percentSign:N.default,plusSign:M.default,minusSign:x.default,exponential:T.default,superScriptingExponent:U.default,perMille:C.default,infinity:G.default,nan:O.default}};e.numberingSystem=e.numberingSystem?e.numberingSystem:t.defaultNumberingSystem,this.options=e,this.digits=t.commonDigits[e.numberingSystem],this.symbols=t.symbols,this.currencySymbol=t.currencySymbol,this.lenient=!(!1===e.lenient);
372const n=function(e,t,n,r,s){const a=e.split(";");return a.length>=2?{positive:oe(a[0],!1,t,n,r,s),negative:oe(a[1],!0,t,n,r,s)}:{positive:oe(e,!1,t,n,r,s)}}(this.options.pattern,this.digits,this.symbols,this.currencySymbol,this.lenient);this.positiveExpr=n.positive,this.negativeExpr=n.negative}parse(e){return ce(e,!0,this.positiveExpr,this.negativeExpr,this.digits,this.symbols)}}const le=new L;const he=/^[\s]*(((-|\+)?([0-9]{4})[-]?|--)(([0-9]{2})|([0-9]{2})[-]?([0-9]{2})|(W([0-9]{2})([-]?([0-9]))?)|[-]?([0-9]{3})))(T([0-9]{2})([:]?([0-9]{2})([:]?([0-9]{2})(\.([0-9]{3}))?)?)?(Z|(-|\+)([0-9]{2})([:]?([0-9]{2})?)?)?)?[\s]*$/,me=/^[\s]*(([0-9]{2})([:]?([0-9]{2})([:]?([0-9]{2})(\.([0-9]{3}))?)?)?(Z|(-|\+)([0-9]{2})([:]?([0-9]{2})?)?)?)[\s]*$/;function fe(e){if(e&&he.test(e))return function(e){const t=e.match(he);if(t){let n,r,s=!0,a=!1;t[4]&&(n=Number(t[4]),t[3]&&"-"===t[3]&&(n=-n),a=a||t[2].endsWith("-"));let i=1,o=1;if(void 0!==n&&t[5]){if(r=29===new Date(Date.UTC(n,1,29,0,0,0,0)).getUTCDate(),a=a||t[5].indexOf("-")>=0,t[6]){if(!t[2].endsWith("-"))throw new Error("Unparseable date '"+e+"'");i=Number(t[6]),o=1,s=!1}else if(t[7])i=Number(t[7]),o=Number(t[8]);else if(t[9]){const r=Number(t[10]);let a=1;if(t[11]?a=Number(t[12]):s=!1,!function(e){return Number.isInteger(e)&&e>=1&&e<=53}(r)||!function(e){return Number.isInteger(e)&&e>=1&&e<=7}(a))throw new Error("Unparseable date '"+e+"'");const c=new Date(Date.UTC(n,0,1,0,0,0,0)).getUTCDay(),u=2===c||3===c||4===c?n-1:n,l=2===c||3===c||4===c?12:1,h=2===c||3===c||4===c?33-c:(9-c)%7,m=new Date(Date.UTC(u,l-1,h+7*(r-1)+(a-1),0,0,0,0));n=m.getUTCFullYear(),i=m.getUTCMonth()+1,o=m.getUTCDate()}else if(t[13]){const s=Number(t[13]);if(!function(e,t){return Number.isInteger(e)&&e>=1&&(t&&e<=366||!t&&e<=365)}(s,r))throw new Error("Unparseable date '"+e+"'");const a=new Date(Date.UTC(n,0,s,0,0,0,0));i=a.getUTCMonth()+1,o=a.getUTCDate()}}else{if(void 0!==n||!t[5]||!t[7])throw new Error("Unparseable date '"+e+"'");n=2e3,i=Number(t[7]),o=Number(t[8]),r=29===new Date(Date.UTC(n,1,29,0,0,0,0)).getUTCDate(),s=!1,a=a||t[5].indexOf("-")>=0}if(!X(i,o,r))throw new Error("Unparseable date '"+e+"'");let c=0,u=0,l=0,h=0,m=!1,f=!0;if(void 0!==t[14]){if(!s)throw new Error("Unparseable date '"+e+"'");if(c=Number(t[15]),t[16]&&(u=Number(t[17]),m=m||t[16].startsWith(":"),f=!1),void 0!==t[18]&&(l=Number(t[19]),m=m||t[18].startsWith(":"),f=!1),void 0!==t[20]&&(h=Number(t[21])),void 0!==t[22]&&"Z"!==t[22]){let e=60*Number(t[24]);void 0!==t[25]&&(e+=Number(t[26])),"+"===t[23]&&(e=-e),u+=e}if(a!==m&&!f)throw new Error("Unparseable date '"+e+"'")}const g=Date.UTC(n,i-1,o,c,u,l,h);return new Date(g)}throw new Error("Unparseable date '"+e+"'")}(e);if(e&&me.test(e))return function(e){const t=e.match(me);if(t){let e=0,n=0,r=0,s=0;if(void 0!==t[1]&&(e=Number(t[2]),t[3]&&(n=Number(t[4])),void 0!==t[5]&&(r=Number(t[6])),void 0!==t[7]&&(s=Number(t[8])),void 0!==t[9]&&"Z"!==t[9])){let e=60*Number(t[11]);void 0!==t[12]&&(e+=Number(t[13])),"+"===t[10]&&(e=-e),n+=e}const a=new Date,i=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),e,n,r,s);return new Date(i)}throw new Error("Unparseable date '"+e+"'")}(e);throw new Error("Unparseable date '"+e+"'")}const ge=new class{constructor(){}parse(e){return fe(e)}};e.clearCache=function(){P.clear(),se.clear(),ae.clear(),ie.clear(),le.clear()},e.getDateTimeCLDRParser=function(e){return se.has(e)||se.set(e,new re(e)),se.get(e)},e.getDateTimeFormat=function(e="en-US",t={}){if(P.has(e)||P.set(e,new L),!P.get(e).has(t)){const n=new Intl.DateTimeFormat(e,t);P.get(e).set(t,n)}return P.get(e).get(t)},e.getDateTimeISO8601Parser=function(){return ge},e.getNumberFormat=function(e="en-US",t={}){return ie.has(e)||ie.set(e,new L),ie.get(e).has(t)||ie.get(e).set(t,new Intl.NumberFormat(e,t)),ie.get(e).get(t)},e.getNumberParser=function(e){return le.has(e)||le.set(e,new ue(e)),le.get(e)},e.getRelativeTimeFormat=function(e="en-US",t={}){return ae.has(e)||ae.set(e,new L),ae.get(e).has(t)||ae.get(e).set(t,new Intl.RelativeTimeFormat(e,t)),ae.get(e).get(t)},Object.defineProperty(e,"__esModule",{value:!0})});
373})();(function() { LWR.define("lightning/internationalizationLibrary",["exports","@salesforce/i18n/currency","@
373salesforce/i18n/locale","lightning/i18nService","@salesforce/i18n/number.numberFormat","@salesforce/i18n/number.percentFormat","@salesforce/i18n/number.currencyFormat","lightning/configProvider","lightning/iso8601Utils","lwr/environment","lightning/features","lightning/utilsPrivate","@salesforce/i18n/dateTime.shortDateFormat","@salesforce/i18n/dateTime.mediumDateFormat","@salesforce/i18n/dateTime.longDateFormat","lightning/i18nCldrOptions","@salesforce/i18n/dateTime.shortTimeFormat","@salesforce/i18n/dateTime.mediumTimeFormat","@salesforce/i18n/lang"],function(e,t,n,r,i,a,o,u,s,l,f,c,m,A,d,S,g,p,C){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T=h(t),K=h(n),Z=h(i),y=h(a),b=h(o),_=h(m),F=h(A),L=h(d),I=h(S),D=h(g),O=h(p),v=h(C);function N(e){let t=function(e,t){if("object"!=typeof e||!e)return e;let n=e[Symbol.toPrimitive];if(void 0!==n){let r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(let n=0;n<t.length;n++){let r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,N(r.key),r)}}function R(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t){let n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);let n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}(e))||t){n&&(e=n);let t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}let r,i=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){let e=n.next();return i=e.done,e},e:function(e){a=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw r}}}}let z={AE:{fmt:"%A%n%S%n%K",require:"ASK",input:"ASK"},AL:{fmt:"%A%n%Z%n%C%n%K",require:"AZCK",input:"AZCK"},EC:{_ref:"AL"},MU:{_ref:"AL"},OM:{_ref:"AL"},AM:{fmt:"%A%n%Z%n%C%n%S%n%K",require:"AZK",input:"AZK"},AR:{fmt:"%A%n%Z %C%n%S%n%K",require:"AZCSK",input:"AZCSK"},CL:{_ref:"AR"},CV:{_ref:"AR"},MY:{_ref:"AR"},UZ:{_ref:"AR"},AT:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},BA:{_ref:"AT"},BG:{_ref:"AT"},CH:{_ref:"AT"},CY:{_ref:"AT"},DE:{_ref:"AT"},DK:{_ref:"AT"},DO:{_ref:"AT"},DZ:{_ref:"AT"},EE:{_ref:"AT"},ET:{_ref:"AT"},FR:{_ref:"AT"},GE:{_ref:"AT"},GL:{_ref:"AT"},GR:{_ref:"AT"},IL:{_ref:"AT"},KW:{_ref:"AT"},LA:{_ref:"AT"},LR:{_ref:"AT"},IS:{_ref:"AT"},MA:{_ref:"AT"},MG:{_ref:"AT"},MK:{_ref:"AT"},MZ:{_ref:"AT"},NL:{_ref:"AT"},NO:{_ref:"AT"},PL:{_ref:"AT"},PT:{_ref:"AT"},PY:{_ref:"AT"},RO:{_ref:"AT"},RS:{_ref:"AT"},SK:{_ref:"AT"},TJ:{_ref:"AT"},TN:{_ref:"AT"},TZ:{_ref:"AT"},WF:{_ref:"AT"},AU:{fmt:"%A%n%C %S %Z%n%K",require:"ACSZK",input:"ACSZK"},CA:{_ref:"AU"},AZ:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},AF:{fmt:"%A%n%C%n%Z%n%K",require:"ACZK",input:"ACZK"},FK:{_ref:"AF"},GB:{fmt:"%A%n%C%n%S%n%Z%n%K",require:"ACZK",input:"ACSZK"},KE:{_ref:"AF"},LK:{_ref:"AF"},ZA:{_ref:"AF"},SH:{_ref:"AF"},SZ:{_ref:"AF"},US:{fmt:"%A%n%C, %S %Z%n%K",require:"ACSZK",input:"ACSZK"},BB:{_ref:"US"},BS:{_ref:"US"},SO:{_ref:"US"},ES:{fmt:"%A%n%Z %C %S%n%K",require:"AZCSK",input:"AZCSK"},IT:{_ref:"ES"},UY:{_ref:"ES"},ID:{fmt:"%A%n%C%n%S %Z%n%K",require:"ACSZK",input:"ACSZK"},IE:{_ref:"ID"},TH:{_ref:"ID"},VN:{_ref:"ID"},HU:{fmt:"%C%n%A%n%Z%n%K",require:"CAZK",input:"CAZK"},BH:{fmt:"%A%n%C %Z%n%K",require:"ACZK",input:"ACZK"},BM:{_ref:"BH"},BN:{_ref:"BH"},BT:{_ref:"BH"},KH:{_ref:"BH"},LB:{_ref:"BH"},JO:{_ref:"BH"},MT:{_ref:"BH"},NP:{_ref:"BH"},NZ:{_ref:"BH"},SA:{_ref:"BH"},BD:{fmt:"%A%n%C - %Z%n%K",require:"ACZK",input:"ACZK"},BR:{fmt:"%A%n%C-%S%n%Z%n%K",require:"ACSZK",input:"ACSZK"},CN:{fmt:"%K%n%S %C%n%A%n%Z",require:"KCAZ",input:"KSCAZ"},HK:{fmt:"%K%S%C%n%A%n%Z",require:"KCA",input:"KSCAZ"},CO:{fmt:"%A%n%C, %S, %Z%n%K",require:"ACSZK",input:"ACSZK"},CR:{fmt:"%A%n%S, %C%n%Z%n%K",require:"ACSZK",input:"ASCZK"},EG:{fmt:"%A%n%C%n%S%n%Z%n%K",require:"ACSZK",input:"ACSZK"},RU:{_ref:"EG"},UA:{_ref:"EG"},FI:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},GT:{fmt:"%A%n%Z-%C%n%K",require:"AZCK",input:"AZCK"},HN:{fmt:"%A%n%C, %S%n%Z%n%K",require:"ACSZK",input:"ACSZK"},IQ:{_ref:"HN"},HR:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},HT:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},IN:{fmt:"%A%n%C %Z%n%S%n%K",require:"ACZSK",input:"ACZSK"},NG:{_ref:"IN"},PE:{_ref:"IN"},IR:{fmt:"%S%n%C%n%A%n%Z%n%K",require:"SCAZK",input:"SCAZK"},JM:{fmt:"%A%n%C%n%S%n%K",require:"ACSK",input:"ACSK"},PA:{_ref:"JM"},SC:{_ref:"JM"},SR:{_ref:"JM"},JP:{fmt:"%K%n"+String.fromCharCode(12306)+"%Z%n%S %C%n%A",require:"KZCA",input:"KZSCA"},EN_JP:{fmt:"%A%n%C %S%n%Z %K",require:"ACSZK",input:"ACSZK"},KG:{fmt:"%Z %C%n%A%n%S%n%K",require:"ZCAK",input:"ZCAK"},KR:{fmt:"%S %C%n%A%n%Z%n%K",require:"SCAZK",input:"SCAZK"},KY:{fmt:"%A%n%S %Z%n%K",require:"ASZK",input:"ASZK"},KZ:{fmt:"%Z%n%S%n%C%n%A%n%K",require:"ZSCAK",input:"ZSCAK"},LT:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},LV:{fmt:"%A%n%C, %Z%n%K",require:"ACZK",input:"ACZK"},MM:{_ref:"LV"},MC:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},MD:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},MW:{fmt:"%A%n%C%n%K",require:"ACK",input:"ACK"},MX:{fmt:"%A%n%Z %C, %S%n%K",require:"AZCSK",input:"AZCSK"},NI:{fmt:"%A%n%Z%n%C, %S%n%K",require:"AZCSK",input:"AZCSK"},PG:{fmt:"%A%n%C %Z %S%n%K",require:"ACZSK",input:"ACZSK"},PH:{fmt:"%A, %C%n%Z %S%n%K",require:"ACZSK",input:"ACZSK"},PK:{fmt:"%A%n%C-%Z%n%K",require:"ACZK",input:"ACZK"},PR:{fmt:"%A%n%C %Z%n%K",require:"ACZK",input:"ACZK"},SE:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},SG:{fmt:"%A%n%C %Z%n%S%n%K",require:"AZK",input:"AZK"},SI:{fmt:"%A%n%Z %C%n%K",require:"AZCK",input:"AZCK"},SV:{fmt:"%A%n%Z-%C%n%S%n%K",require:"AZCSK",input:"AZCSK"},TR:{fmt:"%A%n%Z %C/%S%n%K",require:"AZCK",input:"AZCK"},TW:{fmt:"%K%n%Z%n%S %C%n%A",require:"KZSCA",input:"KZSCA"},VE:{fmt:"%A%n%C %Z, %S%n%K",require:"ACZSK",input:"ACZSK"}},j={languageCode:{af:"ZA",am:"ET",ar:"AE",bg:"BG",bn:"BD",bs:"BA",ca:"ES",cs:"CZ",cy:"GB",da:"DK",de:"DE",el:"GR",es:"ES",et:"EE",eu:"ES",fa:"IR",fi:"FI",fr:"FR",ga:"IE",gu:"IN",haw:"US",hi:"IN",hm
373n:"US",hr:"HR",ht:"HT",hu:"HU",hy:"AM",in:"ID",is:"IS",it:"IT",iw:"IL",ja:"JP",ji:"IL",ka:"GE",kk:"KZ",kl:"GL",km:"KH",kn:"IN",ko:"KR",lb:"LU",lt:"LT",lv:"LV",mi:"NZ",mk:"MK",ml:"IN",mr:"IN",ms:"MY",mt:"MT",my:"MM",nl:"NL",no:"NO",pa:"IN",pl:"PL",pt:"PT",rm:"CH",ro:"RO",ru:"RU",sh:"RS",sk:"SK",sl:"SL",sm:"WS",sq:"AL",sr:"RS",sv:"SE",sw:"ZA",ta:"IN",te:"IN",th:"TH",tl:"PH",tr:"TR",uk:"UA",ur:"IN",vi:"VN",xh:"ZA",zh:"CN",zu:"ZA"}};var H=Object.freeze({A:Symbol("Address Lines"),C:Symbol("City"),S:Symbol("State"),K:Symbol("Country"),Z:Symbol("Zip Code"),n:Symbol("New Line"),fromPlaceHolder:function(e){switch(e){case"A":return H.A;case"C":return H.C;case"S":return H.S;case"K":return H.K;case"Z":return H.Z;case"n":return H.n}return null},getPlaceHolder:function(e){switch(e){case H.A:return"A";case H.C:return"C";case H.S:return"S";case H.K:return"K";case H.Z:return"Z";case H.n:return"n"}return null},getData:function(e,t){if(t)switch(e){case H.A:return t.address;case H.C:return t.city;case H.S:return t.state;case H.K:return t.country;case H.Z:return t.zipCode;case H.n:return t.newLine}return null}});let q=Object.freeze({DATA:Symbol("data"),STRING:Symbol("string"),NEWLINE:Symbol("newline"),GROUP:Symbol("group")}),k=function(){function e(t,n,r){M(this,e),this.type=t,this.string=n,this.pattern=r}return R(e,null,[{key:"string",value:function(t){return new e(q.STRING,t)}},{key:"data",value:function(t){return new e(q.DATA,void 0,t)}},{key:"newLine",value:function(){return new e(q.NEWLINE)}}]),e}(),P=R(function e(t,n){M(this,e),this.pattern=t,this.start=n});function x(e,t,n,r,i){let a=[];for(let o=r;o<=i;o++){let u=e[o];if(u&&u.type==q.DATA){let u="",s=o;for(let n=o;n<=i;n++){let r=e[n];if(!r||r.type!=q.DATA)break;let i=H.getData(r.pattern,t);i&&(u+=i,s=n)}let l=u&&u.length>0,f=!1;if(o-1>=r){let i=e[o-1];if(i&&i.type==q.STRING&&i.string){for(let n=o-2;n>=r;n--){let r=e[n];if(r&&r.type==q.DATA){if(H.getData(r.pattern,t)){f=!0;break}}else r&&r.type==q.STRING&&(i=r)}(!n||f&&l||o-1==r&&l)&&a.push(i.string)}}if(l&&a.push(u),o=s,o+1==i){let t=e[o+1];t&&t.type==q.STRING&&t.string&&(!n||l||f)&&a.push(t.string),o+=1}}}return a.join("").trim()}let V={format:function(e,t,n,r){r=!1!==r,n=n||"\n";let i=[];return function(e,t){let n=e.start;if(e.pattern){let r=e.pattern.length;for(;e.start<r;)if(n=e.pattern.indexOf("%",n),n>=0&&n+1<r){let r=e.pattern.substring(n+1,n+2);switch(r){case"n":n-e.start>0&&t.push(k.string(e.pattern.substring(e.start,n))),t.push(k.newLine()),e.start=n+2,n=e.start;break;default:{let i=H.fromPlaceHolder(r);i?(n-e.start>0&&t.push(k.string(e.pattern.substring(e.start,n))),t.push(k.data(i)),e.start=n+2,n=e.start):(e.start=n+2,n=e.start);break}}}else e.start<r&&t.push(k.string(e.pattern.substring(e.start))),e.start=r}}(new P(t,0),i),function(e,t,n,r){let i=[],a=-1;for(let n=0;n<e.length;n++){let o=!1,u=!1;if(e[n].type===q.NEWLINE?a>=0?(o=!0,u=!0):r||(i.push(""),n+1==e.length&&i.push("")):(a=a<0?n:a,o=n+1==e.length||o),o){let o=x(e,t,r,a,u?n-1:n);r&&!o||i.push(o),!r&&u&&n+1==e.length&&i.push(""),a=-1}}return i.join(n)}(i,e,n,r)}},G=["CN","HK","TW","JP","KR","KP"],B=["zh","ja","ko"],$={getAddressInfoForCountry:function(e,t){let n=this.getCountryFromLocale(e,t);if(z[n]){let e=Object.freeze(Object.assign({},z[n]));return Object.freeze({address:e})}return{}},getAddressFormat:function(e,t){let n=this.getCountryFromLocale(e,t);return z[n]?z[n].fmt:""},getAddressInputOrder:function(e,t){e&&"en"==e.toLowerCase()&&t&&"HK"==t.toUpperCase()&&(e="en",t="US");let n=this.getCountryFromLocale(e,t);return z[n]?z[n].input:""},getAddressInputOrderAllField:function(e,t){e&&"en"==e.toLowerCase()&&t&&"HK"==t.toUpperCase()&&(e="en",t="US");let n=this.getCountryFromLocale(e,t);if(z[n]){let e=z[n].input;return-1===e.indexOf("S")&&(e=e.replace("K","SK")),-1===e.indexOf("C")&&(e=e.replace("S","CS")),-1===e.indexOf("Z")&&(e=e.replace("C","ZC")),e}return""},getAddressRequireFields:function(e,t){let n=this.getCountryFromLocale(e,t);return z[n]?z[n].require:""},formatAddressAllFields:function(e,t,n,r){let i=this.getCountryFromLocale(e,t,n);if(z[i]){let e=z[i].fmt;return n.zipCode&&-1===e.indexOf("%Z")&&(e=e.replace("%K","%Z %K")),n.city&&-1===e.indexOf("%C")&&(e=e.replace("%K","%C %K")),n.state&&-1===e.indexOf("%S")&&(e=e.replace("%K","%S %K")),this.buildAddressLines(e,n,r,!0)}return""},formatAddress:function(e,t,n,r){let i=this.getCountryFromLocale(e,t,n);return z[i]?this.buildAddressLines(z[i].fmt,n,r,!0):""},buildAddressLines:function(e,t,n,r){return V.format(t,e,n,r)},followReferences:function(e,t){return e[t]&&e[t]._ref?this.followReferences(e,e[t]._ref):t},containsHanScript:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!(!t||!Array.isArray(t))&&t.some(function(e){if(!e)return!1;let t,n=U(e);try{for(n.s();!(t=n.n()).done;){let e=t.value.codePointAt(0);if(11904<=e&&e<=12031||13056<=e&&e<=13311||65072<=e&&e<=65103||63744<=e&&e<=64255||194560<=e&&e<=195103||12288<=e&&e<=12351||19968<=e&&e<=40959||13312<=e&&e<=19903||131072<=e&&e<=173791||173824<=e&&e<=177983||177984<=e&&e<=178207||178208<=e&&e<=183983||183984<=e&&e<=191471||12800<=e&&e<=13055||12736<=e&&e<=12783||12544<=e&&e<=12591||12704<=e&&e<=12735||12
373032<=e&&e<=12255||12272<=e&&e<=12287||65280<=e&&e<=65519||12352<=e&&e<=12447||12448<=e&&e<=12543||12784<=e&&e<=12799||110592<=e&&e<=110847||110848<=e&&e<=110895||4352<=e&&e<=4607||44032<=e&&e<=55215||12592<=e&&e<=12687||43360<=e&&e<=43391||55216<=e&&e<=55295)return!0}}catch(e){n.e(e)}finally{n.f()}return!1})},getCountryFromLocale:function(e,t,n){if(n){let r=!t&&B.indexOf(e.toLowerCase())>=0||t&&G.indexOf(t.toUpperCase())>=0;if((!(!t&&"ja"==e.toLowerCase()||t&&"JP"==t.toUpperCase())||!this.containsHanScript(n.address,n.city,n.state,n.country))&&r&&!this.containsHanScript(n.address))return this.getCountryFromLocale(e,"EN_"+t)}let r=t;return"uz"==e&&r&&"latn"==r.toLowerCase()&&(r="UZ"),!r&&j.languageCode[e]&&(r=j.languageCode[e]),r=this.followReferences(z,r),r&&z[r]?r:"US"},getFallback:function(e,t,n){return this.getCountryFromLocale(e,t)}};var W={DEFAULT:{short_f:"%F %L",medium_f:"%F %M %L",long_f:"%S %F %M %L %X %I",input:"SFMLXI"},vi:{short_f:"%L %F",medium_f:"%L %M %F",long_f:"%L %M %F %X %I",input:"SLFMXI"},vi_VN:{_ref:"vi"},hu:{short_f:"%L %F",medium_f:"%L %F",long_f:"%L %F %M %X %I",input:"SLFMXI"},hu_HU:{_ref:"hu"},ja:{short_f:"%L %F",medium_f:"%L %M %F",long_f:"%L %M %F %X %I",input:"SLMFXI"},ja_JP:{_ref:"ja"},ko:{_ref:"ja"},ko_KR:{_ref:"ja"},zh:{_ref:"ja"},zh_CN:{_ref:"ja"},zh_CN_PINYIN:{_ref:"ja"},zh_CN_STROKE:{_ref:"ja"},zh_HK:{_ref:"ja"},zh_HK_STROKE:{_ref:"ja"},zh_MO:{_ref:"ja"},zh_SG:{_ref:"ja"},zh_TW:{_ref:"ja"},zh_TW_STROKE:{_ref:"ja"}},X={SALUTATION:Symbol("Salutation"),FIRST:Symbol("First Name"),MIDDLE:Symbol("Middle Name"),LAST:Symbol("Last Name"),SUFFIX:Symbol("Suffix"),INFORMAL:Symbol("Informal Name")},Y=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Q=function e(t){J(this,e),this.parts=Object.freeze(t),Object.freeze(this)},ee=function e(t){J(this,e),this.field=t,this.type="field",Object.freeze(this)},te=function e(t){J(this,e),this.type="text",this.text=t,Object.freeze(this)},ne=Object.freeze({SALUTATION:new ee(X.SALUTATION),FIRST:new ee(X.FIRST),MIDDLE:new ee(X.MIDDLE),LAST:new ee(X.LAST),SUFFIX:new ee(X.SUFFIX),INFORMAL:new ee(X.INFORMAL)}),re=new(function(){function e(){J(this,e)}return Y(e,[{key:"parse",value:function(e){for(var t=[],n="",r=0;r<e.length;r+=1)if("%"===e[r]){if(r+=1,n.length>0&&(t.push(Object.freeze(new te(n))),n=""),r>=e.length)throw new Error("Unexpected end of format. Symbol at "+(r-1)+" should be followed by a valid field code");switch(e[r]){case"S":t.push(ne.SALUTATION);break;case"F":t.push(ne.FIRST);break;case"M":t.push(ne.MIDDLE);break;case"L":t.push(ne.LAST);break;case"X":t.push(ne.SUFFIX);break;case"I":t.push(ne.INFORMAL)}}else n+=e[r];return n.length>0&&t.push(new te(n)),new Q(t)}}]),e}()),ie={getNameInfoForLocale:function(e){var t=this.getFallback(e);if(W[t]){var n=Object.freeze(Object.assign({},W[t]));return Object.freeze({name:n})}},getNameFormatPatternMedium:function(e){var t=this.getFallback(e);if(W[t])return W[t].medium_f},getNameFormatPatternShort:function(e){var t=this.getFallback(e);if(W[t])return W[t].short_f},getNameFormatPatternLong:function(e){var t=this.getFallback(e);if(W[t])return W[t].long_f},getNameInputOrder:function(e){var t=this.getFallback(e);if(W[t])return W[t].input},formatNameShort:function(e,t){var n=this.getFallback(e);if(W[n])return this.buildName(W[n].short_f,t)},formatNameMedium:function(e,t){var n=this.getFallback(e);if(W[n])return this.buildName(W[n].medium_f,t)},formatNameLong:function(e,t){var n=this.getFallback(e);if(W[n])return this.buildName(W[n].long_f,t)},buildName:function(e,t){for(var n=re.parse(e),r=[],i=0;i<n.parts.length;i++){var a=n.parts[i];"text"===a.type?r.push(a.text):"field"===a.type&&(a.field===X.SALUTATION?r.push(t.salutation||""):a.field===X.FIRST?r.push(t.first||""):a.field===X.MIDDLE?r.push(t.middle||""):a.field===X.LAST?r.push(t.last||""):a.field===X.SUFFIX?r.push(t.suffix||""):a.field===X.INFORMAL&&r.push(t.informal||""))}return r.join("").trim().replace(/  /g," ")},followReferences:function(e){return W[e]&&W[e]._ref?this.followReferences(W[e]._ref):e},getFallback:function(e){var t=this.followReferences(e);return W[t]?t:"DEFAULT"}};const ae="currency",oe="percent",ue="symbol",se="name",le=/0+$/;function fe(e){return parseInt(e,10)}function ce(e,t){!function(e,t){const n=function(e){return e.split(";")[0].split(".")[1]||""}(e),r=n.replace(/[^0]/g,"").length,i=n.replace(/[^0#]/g,"").length,a=fe(t.minimumFractionDigits),o=fe(t.maximumFractionDigits);isFinite(t.minimumFractionDigits)||(t.minimumFractionDigits=Math.min(r,isNaN(o)?r:o)),(!isFinite(t.maximumFractionDigits)||o<a)&&(t.maximumFractionDigits=Math.max(i,isNaN(a)?i:a))}(e,t);const n=function(e){const{minimumFractionDigits:t,maximumFractionDigits:n}=e;return"."+"0".repeat(t)+"#".repeat(n-t)}(t);return me(e,n)}function me(e,t){if(!t)return e;if(e.indexOf(";")>0){const[n,r]=e.split(";");return`${me(n,t)};${me(r,t)}`}if(e.indexOf(".")>0)return e.replace(/\.(0|#)*/,t);const n=Math.max(e.lastIndexOf("0"),e.lastIndexOf("#"))+1;return[e.slice(0,n),t,e.slice(n)].join("")}function Ae(e){const t=e.currencyDisplay||ue;return t===ue||t===se?function(e,t){const n={style:ae,currency:e,minimumFractionDigits:0};return t&&(n.currencyDisplay=t),r.getNumberFormat(K.default,n).format(2).replace(/2/g,"")}(e.currency,t):e.currency}const de=e=>{const t=(e=>e.style===ae?b.default:e.style===oe?y.default:Z.default)(e);let n=ce(t,e);return n=function(e,t){const n=t.minimumIntegerDigits,r=function(e){const t=e.match(/,[#0]*\./);return t?t[0].length-2:0}(e);return n?n<=r?e.replace(/,[#0]*\./,","+"#".repeat(r-n)+"0".repeat(n)+"."):e.replace(/[#0]*\./,"0".repeat(n-r)+","+"0".repeat(r)+"."):e}(n,e),(e=>!e.currency||T.default===e.currency)(e)||(n=function(e,t,n){const r=String.fromCharCode(164);return n.currencyDisplay===se?e.replace(r,"")+t:e.replace(r,t)}(n,Ae(e),e)),n};function Se(e){return u.getLocalizationService().formatDateTimeUTC(e)}function ge(e,t,n){return u.getLocalizationService().formatDate(e,t,n)}function pe(e,t,n){return u.getLocalizationService().formatDateUTC(e,t,n
373)}function Ce(e,t){return u.getLocalizationService().formatTime(e,t)}function he(e){return u.getLocalizationService().parseDateTimeUTC(e)}function Te(e){return u.getLocalizationService().parseDateTimeISO8601(e)}function Ke(e,t,n){return u.getLocalizationService().parseDateTime(e,t,n)}function Ze(e,t){let n=null;return u.getLocalizationService().UTCToWallTime(e,t,e=>{n=e}),n}function ye(e,t){let n=null;return u.getLocalizationService().WallTimeToUTC(e,t,e=>{n=e}),n}function be(e){return u.getLocalizationService().translateToOtherCalendar(e)}function _e(e){return u.getLocalizationService().translateFromOtherCalendar(e)}function Fe(e,t,n){if(!e)return null;if(!t)return s.isValidISOTimeString(e)?Te(e):null;const r=e.replace(/(\d)([AaPp][Mm])/g,"$1 $2"),i=t.replace(/(\b|[^h])h{2}(?!h)/g,"$1h").replace(/(\b|[^H])H{2}(?!H)/g,"$1H").replace(/(\b|[^m])m{2}(?!m)/g,"$1m").replace(/\s*A/g," A").trim(),a=[i];a.push(i.replace("m","m:s"),i.replace("m","m:s.S"),i.replace("m","m:s.SS"),i.replace("m","m:s.SSS")),a.reverse();for(let e=0;e<a.length;e++){const t=Ke(r,a[e],n);if(t)return t}return null}function Le(e){const t=de(e);return{format:e=>function(e){return u.getLocalizationService().getNumberFormat(e)}(t).format(e)}}const Ie=!l.isServer&&window.$A?.localizationService,De=e=>`datetime component: The value attribute accepts a valid ISO8601 formatted string with timezone offset. but we are getting the ${typeof e} value "${e}" instead.`;const Oe={weekday:{short:"EEE, ",narrow:"EEE, ",long:"EEEE, "},month:{short:"MMM ",narrow:"MMM ",numeric:"MMM ","2-digit":"MMM ",long:"MMMM "},day:{numeric:"d, ","2-digit":"dd, "},year:{numeric:"yyyy ","2-digit":"yy "},hour:{numeric12:"h",numeric24:"H","2-digit12":"hh","2-digit24":"HH"},minute:{numeric:"mm","2-digit":"mm"},second:{numeric:"ss","2-digit":"ss"},timeZoneName:{short:"[GMT]Z",long:"[GMT]Z"}},ve=[","," ",":"];const Ne=e=>{const t=[];!function(e,t){const n=t.weekday;void 0!==Oe.weekday[n]&&e.push(Oe.weekday[n])}(t,e),function(e,t){const n=t.month;void 0!==Oe.month[n]&&e.push(Oe.month[n])}(t,e),function(e,t){const n=t.day;void 0!==Oe.day[n]&&e.push(Oe.day[n])}(t,e),function(e,t){const n=t.year;void 0!==Oe.year[n]&&e.push(Oe.year[n])}(t,e),function(e,t){const n=t.hour,r=t.minute,i=t.second;let a=!1,o=!1;"numeric"!==n&&"2-digit"!==n||(a=!0,!1===t.hour12?"numeric"===n?e.push(Oe.hour.numeric24):e.push(Oe.hour["2-digit24"]):"numeric"===n?e.push(Oe.hour.numeric12):e.push(Oe.hour["2-digit12"]),void 0!==Oe.minute[r]?e.push(":"):void 0!==Oe.second[i]&&(o=!0)),void 0!==Oe.minute[r]&&(a=!0,e.push(Oe.minute[r]),void 0!==Oe.second[i]&&e.push(":")),void 0===Oe.second[i]||o||(a=!0,e.push(Oe.second[i])),a&&e.push(" a "),o&&e.push("[(sec]: "+Oe.second[i]+"[)]")}(t,e),function(e,t){const n=t.timeZoneName;void 0!==Oe.timeZoneName[n]&&("UTC"===t.timeZone?e.push("[GMT]"):e.push(Oe.timeZoneName[n]))}(t,e);let n=t.join("");return ve.forEach(e=>{n.lastIndexOf(e)===n.length-1&&(n=n.slice(0,-1))}),n},Me="yyyy-MM-dd'T'hh:mm:ss.SSS'Z'",we="latn",Re={timeZone:"UTC"},Ee=e=>"string"==typeof e?e.trim():e,Ue=e=>{const t=Ee(e);return s.padMilliseconds(t)};function ze(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())}function je(e){return ze(e)?`${e.getFullYear()}-${xe(e.getMonth()+1)}-${xe(e.getDate())}`:null}function He(e){return ze(e)?`${xe(e.getHours())}:${xe(e.getMinutes())}:${xe(e.getSeconds())}.${Ve(e.getMilliseconds())}`:null}function qe(e){return ze(e)?`${xe(e.getUTCHours())}:${xe(e.getUTCMinutes())}:${xe(e.getUTCSeconds())}.${Ve(e.getUTCMilliseconds())}`:null}function ke(e,t,n){const i=function(e,t,n){const i=r.getDateTimeCLDRParser({pattern:Me,timeZone:t,numberingSystem:we}).parse(e.toISOString()),a=n?e.getTimezoneOffset():0;return e.getTime()-e.getMilliseconds()+60*a*1e3-i}(e,t,n),a=e.getTime()+i;return new Date(a)}function Pe(e){const t=new Date;return Ie?(t.setTime(t.getTime()+60*t.getTimezoneOffset()*1e3),Ze(t,e)):ke(t,e,!0)}function xe(e){return Number(e)<10?"0"+e:e}function Ve(e){const t=Number(e);return t<10?"00"+e:t<100?"0"+e:e}const Ge="date",Be="time",$e={SHORT:"short",MEDIUM:"medium",LONG:"long"},We={[Ge]:{[$e.SHORT]:_.default,[$e.MEDIUM]:F.default,[$e.LONG]:L.default,default:F.default},[Be]:{[$e.SHORT]:D.default,[$e.MEDIUM]:O.default,[$e.LONG]:O.default,default:D.default}},Xe=(e,t,n)=>{let r=We[e][t];return r||(r=We[e].default),Ie||n?r:I.default(r)},Ye=(e,t)=>
373Xe(Ge,e,t),Je=(e,t)=>Xe(Be,e,t);function Qe(e,t){const n=Ee(e),i=Ye(t,!0);let a;try{if(n)if(Ie)a=_e(Ke(n,i,!0));else if(a=r.getDateTimeCLDRParser({pattern:i}).parse(n),f.features.enableDateRolloverFix&&a&&function(e,t,n){const i=I.default(n),a=r.getDateTimeFormat(K.default,i).format(t),o=e.match(/\d+/g)||[],u=a.match(/\d+/g)||[];return o.join(",")!==u.join(",")}(n,a,i))return null}catch(e){return null}return!a||f.features.enableDateInvalidYearHandling&&4!==a.getFullYear().toString().length?null:je(a)}function et(e,t){const n=Ee(e),i=Je(t,!0);let a;try{n&&(a=Ie?Fe(n,i||O.default,!0):r.getDateTimeCLDRParser({pattern:i}).parse(n))}catch(e){return null}return a?He(a):null}const tt=(e,t)=>{const n=Object.values($e);let r=null,i=null;for(let a=0;a<n.length;a++)if(r=e(t,n[a]),r){i=n[a];break}return{value:r,style:i}};const nt={short:_.default,medium:F.default,long:L.default};function rt(e){try{return function(e){if(e&&!ze(e)&&isFinite(e))return new Date(parseInt(e,10));if(e&&!ze(e)){const t=s.padMilliseconds(e);return r.getDateTimeISO8601Parser().parse(t)}return e}(e)}catch(t){return console.warn(`'${e}' does not follow a supported date format. Please use either a timestamp, ISO8601 string, or Date object to avoid risking inconsistencies and breakages.`),new Date(e)}}const it=function(){try{Intl.DateTimeFormat("en-US",{timeZone:"America/Los_Angeles"})}catch(e){return!1}return!0}();function at(e,t){const n=nt[t],r=ot(e)?n:Ne(e),{timeZone:i}=e;return{format:e=>{if(s.isValidISODateTimeString(e)&&e.indexOf(s.TIME_SEPARATOR)<0)return ge(e,nt[t]);const n=rt(e);return ze(n)?("UTC"===i&&n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3),function(e,t,n){return pe(Ze(be(e),n),t)}(n,r,i)):""}}}function ot(e){const t={hour12:!0,hourCycle:!0,timeZone:!0,timeZoneName:!0};return!Object.keys(e).some(n=>void 0!==e[n]&&!t[n])}const ut=[K.default,"en-us"],st={};function lt(e,t){const n=e.format(t);return n.replace(/[\u200E\u200F]/g,"")}e.addressFormat=$,e.dateTimeFormat=function(e,t="medium"){const n=e||{};if(function(e){const{timeZone:t}=e,n=t&&"UTC"!==t;return!(!Ie||!(ot(e)||!it&&n))}(n))return at(n,t);if(ot(n)){const r=nt[t];e=Object.assign(n,I.default(r))}return{format:t=>r.getDateTimeFormat(K.default,e).format(rt(t))}},e.formatDate=ge,e.formatDateTimeUTC=Se,e.formatDateUTC=pe,e.formatTime=Ce,e.fromLocalizedDigits=function(e){return u.getLocalizationService().translateFromLocalizedDigits(e)},e.fromOtherCalendar=_e,e.getCurrentDateString=function(){return je(Pe())},e.getCurrentTimeString=function(e){const t=Pe(e);return`${xe(t.getHours())}:${xe(t.getMinutes())}`},e.getDateFormatFromStyle=Ye,e.getISODateString=je,e.getISOTimeString=He,e.getMonthNames=function(e){const t=e||v.default,n=st[t];if(n&&n.months)return n.months;const r=[t,...ut],i=new Intl.DateTimeFormat(r,{month:"long"}),a=[];for(let e=0;e<=11;e++){const t=new Date(1970,e,4);a.push({fullName:lt(i,t)})}return st[t]||(st[t]={}),st[t].months=a,a},e.getNameOfWeekdays=function(e){const t=e||v.default,n="pt-PT"===t?"pt":t,r=st[n];if(r&&r.weekdays)return r.weekdays;const i=[n,...ut],a=new Intl.DateTimeFormat(i,{weekday:"long",timeZone:"UTC"}),o=new Intl.DateTimeFormat(i,{weekday:"short",timeZone:"UTC"}),u=[];for(let e=0;e<=6;e++){const t=new Date(Date.UTC(1970,0,4+e));u.push({fullName:lt(a,t),shortName:lt(o,t)})}return st[n]||(st[n]={}),st[n].weekdays=u,u},e.getTimeFormatFromStyle=Je,e.isAfter=function(e,t,n){return u.getLocalizationService().isAfter(e,t,n)},e.isAuraL10NAvailable=Ie,e.isBefore=function(e,t,n){return u.getLocalizationService().isBefore(e,t,n)},e.nameFormat=ie,e.normalizeFormattedDateTime=function(e,t){const n=Ee(e);let i;try{if(n)if(Ie){const e=he(n);e&&(i=ye(e,t))}else{const e=r.getDateTimeISO8601Parser().parse(n);i=r.getDateTimeCLDRParser({pattern:Me,timeZone:t,numberingSystem:we}).parse(e.toISOString())}}catch(e){return null}return!i||f.features.enableDateInvalidYearHandling&&4!==i.getFullYear().toString().length?null:i.toISOString()},e.normalizeISODate=function(e,t){const n=Ye(t),i=(e=>"string"==typeof e?e.split(s.TIME_SEPARATOR)[0]:e)(Ue(e));let a,o;if(i){const t=s.isValidISODateTimeString(i);if(l.isServer||t){if(!t)return{isoValue:null,displayValue:""}}else f.features.enableDateInvalidYearHandling?console.error(De(e)):c.assert(t,De(e));try{if(Ie){a=Ke(i,s.STANDARD_DATE_FORMAT);o=ge(be(a),n)}else{a=r.getDateTimeISO8601Parser().parse(i);const e=Object.assign({},Re,n);o=r.getDateTimeFormat(K.default,e).format(a)}}catch(e){console.warn(e.message),a=null}}return a?{isoValue:i,displayValue:o}:{isoValue:null,displayValue:e||""}},e.normalizeISODateTime=function(e,t){const n=Ue(e);let i,a;if(n){const o=s.isValidISODateTimeString(n);if(l.isServer||o){if(!o)return{isoValue:null,displayValue:""}}else f.features.enableDateInvalidYearHandling?console.error(De(e)):c.assert(o,De(e));try{if(Ie){const e=Te(n);e&&(i=Ze(e,t),a=Se(i))}else{i=ke(r.getDateTimeISO8601Parser().parse(n),t);const e=I.default(F.default),o=I.default(O.default),u=Object.assign({},Re,e,o);a=r.getDateTimeFormat(K.default,u).format(i)}}catch(e){console.warn(e.message),i=null}}return i?{isoValue:s.removeTimeZoneSuffix(i.toISOString()),displayValue:a}:{isoValue:null,displayValue:e||""}},e.normalizeISOTime=function(e,t){const n=Je(t),i=Ue(s.removeTimeZoneSuffix(e));let a,o,u;if(i){const t=s.isValidISOTimeString(i);if(l.isServer||t){if(!t)return{isoValue:null,parsedValue:null,displayValue:""}}else f.features.enableDateInvalidYearHandling?console.error(De(e)):c.assert(t,De(e));try{if(Ie)a=Fe(i),o=Ce(a,n),u=He;else{a=r.getDateTimeISO8601Parser().parse(i);const e=Object.assign({},Re,n);o=r.getDateTimeFormat(K.default,e).format(a),u=qe}}catch(e){console.warn(e.message),a=null}}return a?((e=>"string"==typeof e&&(-1!==e.indexOf("+")||-1!==e.indexOf("-")))(e)&&console.warn("lightning-formatted-time does not support non-UTC time zones and will ignore any time zone offsets."),{isoValue:u(a),parsedValue:a,displayValue:o}):{isoValue:null,parsedValue:null,displayValue:e||""}},e.numberFormat=function(e){const t={currency:e.currency||T.default},n=Object.assign({},e,t);return{format:e=>{if(f.features.enableLargeNumberFormatting)return r.getNumberFormat(K.default,n).format(e);const t=Ie&&e&&function(e){const t=e.toString(),[n,r]=t.split(".");return n.length+(r?r.replace(le,"").length:0)>=15}(e);return(t?Le(n):r.getNumberFormat(K.default,n)).format(e)}}},e.parseDateTime=Ke,e.parseDateTimeUTC=he,e.parseFormattedDate=e=>tt(Qe,e),e.parseFormattedTime=e=>tt(et,e),e.parseTime=Fe,e.relativeFormat=function(){return{format:e=>{const t=Date.now(),n=Number(e);c.assert(isFinite(n),`RelativeFormat: The value attribute accepts either a Date object or a t
373imestamp, but we are getting the ${typeof e} value "${e}" instead.`);const r=function(e,t){return u.getLocalizationService().duration(e,t)}((n-t)/6e4,"minutes");return function(e,t,n){return u.getLocalizationService().displayDuration(e,t,n)}(r,!0,f.features.enableRelativeDateTimeLocale?K.default:"en")}}},e.syncUTCToWallTime=Ze,e.syncWallTimeToUTC=ye,e.toDate=rt,e.toLocalizedDigits=function(e){return u.getLocalizationService().translateToLocalizedDigits(e)},e.toOtherCalendar=be,Object.defineProperty(e,"__esModule",{value:!0})});
374})();(function() { LWR.define("lightning/helptext",["exports","lwc","lightning/buttonIcon","@salesforce/label/LightningHelptext.buttonAlternativeText","lightning/shadowBaseClassPrivate","lightning/iconUtils","lightning/utilsPrivate"],function(t,e,n,i,a,s,r){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=o(n),c=o(i),u=o(a);var g=[function(){return""},function(t,e,n){return(e?":host(.modal_header) .slds-form-element__icon":(t?"["+t+"-host]":"")+".modal_header .slds-form-element__icon")+(t?"["+t+"]":"")+" {padding-top: unset;padding-left: var(--slds-g-sizing-2);}"}];const h={classMap:{"slds-form-element__icon":!0},attrs:{part:"help-text"},key:0};function d(t,e,n,i){const{ti:a,c:s,h:r}=t;return[r("div",h,[s("lightning-button-icon",l.default,{props:{iconName:e.iconName,iconClass:e.computedIconClass,variant:e.computedButtonVariant,alternativeText:e.alternativeText,disableAlternativeTextTitle:!0,tooltip:e.content,tabIndex:a(e.tabIndex),tooltipType:"toggle"},key:1})])]}var p=e.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-287jov2qseb",d.legacyStylesheetToken="lightning-helptext_helptext",g&&d.stylesheets.push.apply(d.stylesheets,g),e.freezeTemplate(d);const f=c.default,m="utility:info",v="bare";class x extends u.default{constructor(...t){super(...t),this.state={iconName:m,iconVariant:v,alternativeText:f},this.content=void 0,this.tabIndex=void 0}get iconName(){return s.isValidName(this.state.iconName)?this.state.iconName:m}set iconName(t){this.state.iconName=t}get iconVariant(){return r.normalizeString(this.state.iconVariant,{fallbackValue:v,validValues:["bare","error","inverse","warning"]})}set iconVariant(t){this.state.iconVariant=t}get alternativeText(){return this.state.alternativeText}set alternativeText(t){t&&"string"==typeof t&&""!==t.trim()?this.state.alternativeText=t:console.warn(`<lightning-helptext> Invalid alternativeText value: ${t}`)}focus(){this.template.querySelector("lightning-button-icon").focus()}get computedButtonVariant(){return"inverse"===this.iconVariant?"bare-inverse":"bare"}get computedIconClass(){switch(this.iconVariant){case"error":return"slds-icon-text-error";case"warning":return"slds-icon-text-warning";default:return""}}}e.registerDecorators(x,{publicProps:{content:{config:0},tabIndex:{config:0},iconName:{config:3},iconVariant:{config:3},alternativeText:{config:3}},publicMethods:["focus"],track:{state:1}});const b=e.registerComponent(x,{tmpl:p,sel:"lightning-helptext",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=b,Object.defineProperty(t,"__esModule",{value:!0})});
375})();(function() { LWR.define("lightning/sldsGenAiUtils",["exports"],function(e){var n=[function(e,n,t){return(n?":host(.gen-ai-enabled) {":(e?"["+e+"-host]":"")+".gen-ai-enabled {")+"padding: 0;margin-bottom: 0;}"}];e.default=n,Object.defineProperty(e,"__esModule",{value:!0})});
376})();(function() { LWR.define("lightning/inputUtils",["exports","lightning/utilsPrivate","lightning/features","lightning/utilsInternal","@salesforce/label/LightningErrorMessage.validityBadInput","@salesforce/label/LightningErrorMessage.validityBadNumericInput","@salesforce/label/LightningErrorMessage.validityBadEmailInput","@salesforce/label/LightningErrorMessage.validityPatternMismatch","@salesforce/label/LightningErrorMessage.validityRangeOverflow","@salesforce/label/LightningErrorMessage.validityRangeUnderflow","@salesforce/label/LightningErrorMessage.validityStepMismatch","@salesforce/label/LightningErrorMessage.validityTooLong","@salesforce/label/LightningErrorMessage.validityTooShort","@salesforce/label/LightningErrorMessage.validityTypeMismatch","@salesforce/label/LightningErrorMessage.validityValueMissing","@salesforce/label/LightningErrorMessage.validitySelectAtleastOne"],function(t,e,
376i,n,s,r,a,o,u,l,h,c,d,p,m,g){function v(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var f=v(s),_=v(r),b=v(a),y=v(o),E=v(u),M=v(l),I=v(h),A=v(c),C=v(d),L=v(p),V=v(m),S=v(g);let w=0;const{setContext:O,getContext:x}=n.privateContext;class N{constructor(t={}){this.eventemitter=void 0,this._interacting=void 0,this._debouncedLeave=void 0,this._debounceInteraction=void 0,this._interactedRecently=void 0,this._debouncedEmitLeave=void 0,this._debouncedEmitEnter=void 0;const n=t&&t.duration>=0?t.duration:2e3;this.eventemitter=new e.EventEmitter,this._interacting=!1,i.features.enableAssertContext260Round2?O(this,{debouncedLeave:T(N.prototype.leave.bind(this),n)}):this._debouncedLeave=T(this.leave.bind(this),n),this._debounceInteraction=t&&t.debounceInteraction,this._interactedRecently=!1,this._debounceInteraction&&(this._debouncedEmitLeave=T(()=>{this._interacting||(this._interactedRecently=!1,this.eventemitter.emit("leave"))},200),this._debouncedEmitEnter=()=>{this._interactedRecently||(this._interactedRecently=!0,this.eventemitter.emit("enter"))})}isInteracting(){return this._interacting}enter(){this._interacting||(this._interacting=!0,this._debounceInteraction?this._debouncedEmitEnter():this.eventemitter.emit("enter"))}onenter(t){this.eventemitter.on("enter",t)}leave(){this._interacting&&(this._interacting=!1,this._debounceInteraction?this._debouncedEmitLeave():this.eventemitter.emit("leave"))}onleave(t){this.eventemitter.on("leave",t)}interacting(){this.enter(),i.features.enableAssertContext260Round2?x(this).debouncedLeave():this._debouncedLeave()}}function T(t,e,i){const n=i||{};let s,r=n.leading;return function(){const i=Array.prototype.slice.apply(arguments);r&&(t.apply(this,i),r=!1),clearTimeout(s),s=setTimeout(function(){t.apply(this,i),r=n.leading},e)}}const U={badInput:f.default,customError:f.default,badNumericInput:_.default,badEmailInput:b.default,patternMismatch:y.default,rangeOverflow:E.default,rangeUnderflow:M.default,stepMismatch:I.default,tooLong:A.default,tooShort:C.default,typeMismatch:L.default,valueMissing:V.default,selectAtleastOneValue:S.default};function P(t,e){const i=t[e];return"function"==typeof i?i():"boolean"==typeof i&&i}function R(t){return Object.freeze((e=t,new class{get valueMissing(){return P(e,"valueMissing")}get typeMismatch(){return P(e,"typeMismatch")}get patternMismatch(){return P(e,"patternMismatch")}get tooLong(){return P(e,"tooLong")}get tooShort(){return P(e,"tooShort")}get rangeUnderflow(){return P(e,"rangeUnderflow")}get rangeOverflow(){return P(e,"rangeOverflow")}get stepMismatch(){return P(e,"stepMismatch")}get customError(){return P(e,"customError")}get badInput(){return P(e,"badInput")}get badNumericInput(){return P(e,"badNumericInput")}get badEmailInput(){return P(e,"badEmailInput")}get selectAtleastOneValue(){return P(e,"validitySelectAtleastOneValue")}get valid(){return!(this.valueMissing||this.typeMismatch||this.patternMismatch||this.tooLong||this.tooShort||this.rangeUnderflow||this.rangeOverflow||this.stepMismatch||this.customError||this.badInput||this.badNumericInput||this.badEmailInput||this.selectAtleastOneValue)}}));var e}function D(t,e){const i=function(t){let e;return t&&!1===t.valid&&(e="badInput",["customError","badInput","badNumericInput","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","badEmailInput","typeMismatch","valueMissing","selectAtleastOneValue"].some(i=>!0===t[i]&&(e=i,!0))),e}(t);return i?e[i]?e[i]:U[i]:""}class W{constructor(t,i){this._inputComponentProvider=void 0,this._constraintsProvider=void 0,this._constraint=void 0,this._customValidityMessage=void 0,this._inputComponentElement=void 0,e.assert("function"==typeof t),this._inputComponentProvider=t,this._constraintsProvider=Object.assign({},i),this._constraintsProvider.customError||(this._constraintsProvider.customError=()=>"string"==typeof this._customValidityMessage&&""!==this._customValidityMessage)}get validity(){return this._constraint||(this._constraint=R(this._constraintsProvider)),this._constraint}checkValidity(){const t=this.validity.valid;return t||this.inputComponent&&this.inputComponent.dispatchEvent(new CustomEvent("invalid",{cancellable:!0})),t}reportValidity(t){const i=this.checkValidity();return this.inputComponent&&(this.inputComponent.classList.toggle("slds-has-error",!i),e.reflectAttribute(this.inputComponent,"invali
376d",!i),t&&t(this.validationMessage)),i}setCustomValidity(t){this._customValidityMessage=t}get validationMessage(){return D(this.validity,{customError:this._customValidityMessage,badInput:this.inputComponent.messageWhenBadInput,badNumericInput:this.inputComponent.messageWhenBadInput,badEmailInput:this.inputComponent.messageWhenTypeMismatch,patternMismatch:this.inputComponent.messageWhenPatternMismatch,rangeOverflow:this.inputComponent.messageWhenRangeOverflow,rangeUnderflow:this.inputComponent.messageWhenRangeUnderflow,stepMismatch:this.inputComponent.messageWhenStepMismatch,tooShort:this.inputComponent.messageWhenTooShort,tooLong:this.inputComponent.messageWhenTooLong,typeMismatch:this.inputComponent.messageWhenTypeMismatch,valueMissing:this.inputComponent.messageWhenValueMissing,selectAtleastOneValue:this.inputComponent.messageWhenValueMissing})}get inputComponent(){return this._inputComponentElement||(this._inputComponentElement=this._inputComponentProvider()),this._inputComponentElement}}const B={STANDARD:"standard",LABEL_HIDDEN:"label-hidden",LABEL_STACKED:"label-stacked",LABEL_INLINE:"label-inline"};const j=["decimal","email","none","numeric","search","tel","text","url"];function k(t){const e=`${t}`;return""===e||null===e.match(/@\S*@/)&&(null===e.match(/[\s,]+/)&&null!==e.match(/^\S+@\S+$/))}t.FieldConstraintApi=W,t.FieldConstraintApiWithProxyInput=class{constructor(t,e={},i="input"){if(this._inputComponent=void 0,this._overrides=void 0,this._proxyInput=void 0,this._attributes=void 0,this._attributeUpdater=void 0,this._privateConstraintApi=void 0,"textarea"!==i&&"input"!==i)throw new Error("FieldConstraintApiWithProxyInput is not supported for this element");this._inputComponent=t,this._overrides=e,this._proxyInput=document.createElement(i)}setInputAttributes(t){return this._attributes=t,this._attributeUpdater=e=>{t&&("string"==typeof e?this._setAttribute(e,t[e]()):e.forEach(e=>{this._setAttribute(e,t[e]())}))},this._attributeUpdater}get validity(){return this._constraintApi.validity}checkValidity(){return this._constraintApi.checkValidity()}reportValidity(t){return this._constraintApi.reportValidity(t)}setCustomValidity(t){this._constraintApi.setCustomValidity(t),this._proxyInput.setCustomValidity(t)}get validationMessage(){return this._constraintApi.validationMessage}_setAttribute(t,i){if(null!=i&&!1!==i)if("value"===t){if("file"===this._proxyInput.type)return;this._proxyInput.value=i}else"number"==typeof i?e.reflectAttribute(this._proxyInput,t,i.toString()):e.reflectAttribute(this._proxyInput,t,i);else e.reflectAttribute(this._proxyInput,t)}get _constraintApi(){if(!this._privateConstraintApi){this._updateAllAttributes();const t=t=>{const e=this._overrides[t],i=this._proxyInput.hasAttribute("disabled")||this._proxyInput.hasAttribute("readonly");return"function"==typeof e?!i&&e():!i&&this._proxyInput.validity[t]},e=["customError","badInput","badNumericInput","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","badEmailInput","typeMismatch","valueMissing","selectAtleastOneValue"].reduce((e,i)=>(e[i]=t.bind(this,i),e),{});this._privateConstraintApi=new W(this._inputComponent,e)}return this._privateConstraintApi}_updateAllAttributes(){this._attributes&&Object.entries(this._attributes).forEach(([t,e])=>{this._setAttribute(t,e())})}},t.INPUTMODE_VALID_VALUES=j,t.InteractingState=N,t.VARIANT=B,t.buildSyntheticValidity=R,t.debounce=T,t.generateUniqueId=function(t="input"){return w++,`${t}-${w}`},t.getErrorMessage=D,t.isEmptyObject=function(t){if(null==t||"object"!=typeof t)return!1;for(const e in t)return!1;return!0},t.isEmptyString=function(t){return null==t||"string"==typeof t&&""===t.trim()},t.isValidEmail=k,t.isValidMultipleEmails=function(t){const e=`${t}`;if(""===e)return!0;if(null!==e.match(/,\s*,/))return!1;const i=e.split(/\s*,\s*/g);for(let t=0;t<i.length;t++)if(!k(i[t]))return!1;return!0},t.normalizeInput=function(t){return"number"==typeof t||"string"==typeof t?String(t):""},t.normalizeInputModeGetterValue=function(t,e){let i;return i=void 0!==t?t:"number"===e?"decimal":"email"===e?"email":"",i},t.normalizeInputModeSetterValue=function(t){return e.normalizeString(t,{fallbackValue:"",validValues:j})},t.normalizeVariant=function(t){return e.normalizeString(t,{fallbackValue:B.STANDARD,validValues:[B.STANDARD,B.LABEL_HIDDEN,B.LABEL_STACKED,B.LABEL_INLINE]})}
376,Object.defineProperty(t,"__esModule",{value:!0})});
377})();(function() { LWR.define("lightning/numberUtils",["exports","@salesforce/i18n/number.groupingSeparator","@salesforce/i18n/number.decimalSeparator","lightning/internationalizationLibrary","lightning/inputUtils","lightning/utilsPrivate"],function(t,e,n,i,r,o){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s=a(e),l=a(n);const c=new RegExp("^[-+0-9kKmMbBtTeE.,٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-෯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹]$"),u={k:3,m:6,b:9,t:12},m=["k","m","b","t"],f=["+","-"];function g(t,e){if(null==t||0===t.length)return"";const n=e?e.decimalSeparator:l.default,r=e?e.groupSeparator:s.default;let o=t.split(r).join("");return"."!==n&&(o=o.replace(n,".")),d(function(t){const e=t.indexOf(".");if(0===e||1===e){const n=t.charAt(0);"+"!==n&&"-"!==n&&"."!==n||(t=t.substring(0,e)+"0"+t.substring(e))}return t}(i.fromLocalizedDigits(o)))}function p(t){const e=t.toLowerCase().trim(),n=m.join(""),i=new RegExp(`([${n}])`,"g"),r=e.match(i);if(r&&r.length>1)return!1;const o=new RegExp(`[${n}]$`);return null!==e.match(o)&&e.length>1}function d(t){if(!p(t))return t;let e=t.toLowerCase().trim();const n=e.charAt(e.length-1);if(e=e.substring(0,e.length-1),isNaN(e))return t;const i=e.split(".");let r=0;i.length>1&&(r=i[1].length);const o=u[n],a=Math.max(0,r-o);return parseFloat(e*Math.pow(10,o)).toFixed(a)}t.calculateFractionDigitsFromStep=function(t){let e;if(t){const n=String(t).toLowerCase();if("any"!==n){let t=0;if(n.indexOf(".")>=0&&n.indexOf("e")<0){const e=n.split(".")[1];parseInt(e,10)>0&&(t=e.length)}else if(n.indexOf("e-")>0){const e=n.split("e-"),i=e[0].split(".")[1],r=e[1],o=i?i.length:0;t=parseInt(r,10)+o}e=t}}return e},t.expandShortcuts=d,t.formatNumber=function(t,e){if(r.isEmptyString(t))return"";let n=t,o=t;const a=e.style,s={style:a};if(s.minimumFractionDigits=e.minimumFractionDigits,s.maximumFractionDigits=e.maximumFractionDigits,"percent-fixed"===a){s.style="percent";const t=o.toString(),e=parseFloat(o)/100;o=t.indexOf(".")>0&&t.indexOf("e")<0?e.toFixed(t.split(".")[1].length+2):e}try{n=i.numberFormat(s).format(o)||""}catch(t){}return n},t.fromIsoDecimal=function(t){return i.toLocalizedDigits(t.replace(".",l.default))},t.getDecimalPlaces=function(t){const e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},t.hasValidNumberShortcut=p,t.hasValidNumberSymbol=function(t){const e=f.join(""),n=new RegExp(`[${e}]`);return!!t.match(n)},t.increaseNumberByStep=function({value:t,increment:e,step:n,fractionDigits:i}){const r=""===t||null==t?"0":t,o=parseFloat(n);let a;if(isNaN(o))a=parseFloat(r)+e;else{const t=e*o;a=parseFloat(r)+t}return a.toFixed(i)},t.isValidNumber=function(t){return!isNaN(g(t))},t.isValidNumberCharacter=function(t){return c.test(t)},t.stringifyNumber=function(t){const e="string"==typeof t?Number(t):t;return void 0===o.normalizeNumber(e)?"":String(t)},t.toIsoDecimal=function(t){const e=g(t);return isNaN(e)?"":e},t.transformLocalizedNumberToIsoDecimal=g,Object.defineProperty(t,"__esModule",{value:!0})});
378})();(function() { LWR.define("lightning/primitiveInputSimple",["exports","lwc","lightning/helptext","lightning/primitiveIcon","lightning/features","lightning/shadowBaseClassPrivate","lightning/utilsInternal","@salesforce/label/LightningControl.required","@salesforce/label/LightningControl.clear","@salesforce/label/LightningControl.loading","@salesforce/client/formFactor","lightning/internationalizationLibrary","lightning/numberUtils","lightning/inputUtils","lightning/utilsPrivate"],function(e,t,i,s,a,n,l,r,o,h,u,p,c,d,m){function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=g(i),f=g(s),b=g(n),_=g(r),y=g(o),E=g(h),T=g(u);var S=[[function(e,t,i){return(i?"":'[dir="rtl"]')+" input[type='tel']"+(i?":dir(rtl)":"")+(e?"["+e+"]":"")+" {direction: ltr;text-align: right;unicode-bidi: embed;}"}],function(){return""}];
378const C=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} part="required" aria-hidden="true"${2}>*</abbr>`,D=t.parseFragment`<input${"a0:accesskey"}${"a0:aria-haspopup"}${"a0:aria-invalid"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-autocomplete"}${"a0:aria-expanded"}${"a0:autocomplete"} class="slds-input${0}"${"a0:disabled"}${"a0:id"}${"a0:inputmode"}${"a0:max"}${"a0:maxlength"}${"a0:min"}${"a0:minlength"}${"a0:name"}${"a0:role"} part="input"${"a0:pattern"}${"a0:placeholder"}${"a0:required"}${"a0:readonly"}${"a0:step"}${"a0:type"}${2}>`,V=t.parseFragment`<div role="status" class="slds-spinner slds-spinner_brand slds-spinner_x-small slds-input__spinner${0}"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span><div class="slds-spinner__dot-a${0}"${2}></div><div class="slds-spinner__dot-b${0}"${2}></div></div>`,w=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,N=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,x={attrs:{part:"input-text"},ref:"container",key:0},I={attrs:{name:"label-end"},key:4},$=[],L={props:{iconName:"utility:error",svgClass:"slds-input__icon",variant:"bare"},key:7},M={props:{iconName:"utility:search",variant:"bare",svgClass:"slds-input__icon slds-input__icon_left slds-icon-text-default"},key:10},F={classMap:{"slds-input__icon-group":!0,"slds-input__icon-group_right":!0},key:11},k={"slds-input__icon":!0,"slds-input__icon_right":!0,"slds-button":!0,"slds-button_icon":!0},R={"data-element-id":"searchClear",type:"button"},A={props:{iconName:"utility:clear",variant:"bare",svgClass:"slds-button__icon"},key:15};function O(e,t,i,s){const{ncls:a,gid:n,sp:l,st:r,d:o,t:h,s:u,h:p,c:c,b:d}=e,{_m0:m,_m1:g,_m2:b}=s;return[p("div",x,[t.hasExternalLabel?null:p("label",{className:a(t.computedLabelClass),attrs:{for:n("input"),part:"label"},key:1},[t.required?r(C,3,[l(0,{attrs:{title:t.i18n.required}},null)]):null,h(o(t.label)),u("label-end",I,$,i)]),t.hasExternalLabel?null:t.fieldLevelHelp?c("lightning-helptext",v.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:5}):null,p("div",{className:a(t.computedFormElementClass),attrs:{part:"input-container",type:t.internalType},key:6},[t.showErrorIcon?c("lightning-primitive-icon",f.default,L):null,r(D,9,[l(0,{on:g||(s._m1={blur:d(t.handleBlur),change:d(t.handleChange),focus:d(t.handleFocus),input:d(t.handleInput),keydown:d(t.handleKeyDown)}),attrs:{accesskey:t.accessKey,"aria-haspopup":t.ariaHasPopup,"aria-invalid":t.ariaInvalid,"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-autocomplete":t.ariaAutoComplete,"aria-expanded":t.ariaExpanded,autocomplete:t.autocomplete,disabled:t.disabled?"":null,id:n("input"),inputmode:t.inputmode,max:t.max,maxlength:t.maxLength,min:t.min,minlength:t.minLength,name:t.name,role:t.role,pattern:t.pattern,placeholder:t.placeholder,required:t.required?"":null,readonly:t.readOnly?"":null,step:t.step,type:t.internalType}},null)]),t.isTypeSearch?c("lightning-primitive-icon",f.default,M):null,t.isTypeSearch?p("div",F,[t.isLoading?r(V,13,[l(2,null,o(t.i18n.loading))]):null,t.showClearButton?p("button",{classMap:k,attrs:R,key:14,on:b||(s._m2={click:d(t.clearAndSetFocusOnInput)})},[c("lightning-primitive-icon",f.default,A),r(w,17,[l(1,null,o(t.i18n.clear))])]):null]):null])]),p("div",{className:a(t.computedHelpMessageClass),attrs:{id:n("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text","aria-live":"polite"},key:18},[t._helpMessage?r(N,20,[l(1,null,o(t.label))]):null,t._helpMessage?h(o(t._helpMessage)):null])]}var P=t.registerTemplate(O);function z(e){return p.normalizeISOTime(e,"short").isoValue||""}function q(e,t){return p.normalizeFormattedDateTime(e,t)||""}function H(e,t){e.setSelectionRange(t._selectionStartCached,t._selectionEndCached),t.clearCache()}O.slots=["label-end"],O.hasRefs=!0,O.stylesheets=[],O.stylesheetToken="lwc-enmikoh2qu",O.legacyStylesheetToken="lightning-primitiveInputSimple_primitiveInputSimple",S&&O.stylesheets.push.apply(O.stylesheets,S),t.freezeTemplate(O);class B{constructor(){this._selectionStartCached=null,this._selectionEndCached=null}_cacheSelectionRange(e,t){"number"==typeof e&&"number"==typeof t&&(this._selectionStartCached=e,this._selectionEndCached=t)}clearCache(){this._selectionStartCached=null,this._selectionEndCached=null}hasSelection(e){return null!==e.selectionStart&&e.selectionStart!==e.selectionEnd}isCached(){return null!==this._selectionStartCached&&null!==this._selectionEndCached}preserve(e){!this.hasSelection(e)&&this.isCached()||this.hasSelection(e)&&this._cacheSelectionRange(e.selectionStart,e.selectionEnd)}restore(e){if(!this.isCached())return Promise.resolve();if(m.isSafari)return m.timeout(0).then(()=>{this.isCached()&&e&&H(e,this)});if(m.isIE11){const t=e.value.length;return e.setSelectionRange(t,t),Promise.resolve()}return H(e,this),Promise.resolve()}}const{setContext:K,assertContext:U}=l.privateContext,W={required:_.default,clear:y.default,loading:E.default},j=["decimal","percent","percent-fixed","currency"],Y=j[0];class G extends b.default{get role(){return this.isTypeNumber&&"Large"===T.default&&(this._role="spinbutton"),this._role}
378set role(e){this._role=e}getHelpMessageElement(){return this.template.querySelector("[data-help-message]")}get ariaDescribedByElements(){return this.getHelpMessageElement()}get ariaErrorMessageElement(){return this.getHelpMessageElement()}get isNativeShadow(){return this._isNativeShadow}get type(){return this._type}set type(e){const t=m.normalizeString(e);this._type=t,this._rendered&&(this._initialValueSet=!1,this.isTypeNumber&&this.updateNumberValue(this._value))}get formatter(){return this._formatter}set formatter(e){this._formatter=m.normalizeString(e,{fallbackValue:Y,validValues:j}),this.updateInputDisplayValueIfTypeNumber()}get formatFractionDigits(){return this._formatFractionDigits}set formatFractionDigits(e){this._formatFractionDigits=e,this._rendered&&this.isTypeNumber&&this.setInputValue(this.displayedValue)}get step(){return this._step}set step(e){this._step=e,this._rendered&&this.isTypeNumber&&!this._showRawNumber&&this.inputElement&&this.setInputValue(this.displayedValue)}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,m.reflectAttribute(this,"invalid",!!e)}get value(){return this._value}set value(e){const t=this._value;this._value=function(e){return"number"==typeof e||"string"==typeof e?String(e):""}(e),this._rendered&&(this.isTypeNumber&&(this._value=c.stringifyNumber(e),this._value!==t&&this.updateNumberValue(e)),this.reflectPopulatedState())}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get inputmode(){return this._inputmode||null}set inputmode(e){this._inputmode=e}getDisplayedValue(){return this.isTypeNumber?1===this.inputElement.value.length&&c.hasValidNumberSymbol(this.inputElement.value)?this.inputElement.value:this._showRawNumber||!1===this.validity?.valid?(c.hasValidNumberShortcut(this._numberRawValue)&&c.isValidNumber(this._numberRawValue)&&(this._numberRawValue=c.fromIsoDecimal(this._value)),this._numberRawValue):c.formatNumber(this._value,this.buildFormatNumberOptions(this.formatter)):this.isTypeMobileDate||this.isTypeMobileDateTime||this.isTypeMobileTime?this.normalizeDateTimeString(this._value):this._value}getNumberRawValue(){return this._numberRawValue}handleFocus(e){a.features.enableAssertContext260&&U(this),e.stopPropagation(),this._rendered&&this.isTypeNumber&&(this._showRawNumber=!0,this._selectionCache.preserve(this.inputElement),this.inputElement.value=this.displayedValue,this._selectionCache.restore(this.inputElement)),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(e){e.stopPropagation(),this.validity.valid&&(this._showRawNumber=!1),this.dispatchEvent(new CustomEvent("blur"))}handleKeyDown(e){if(this.isTypeNumber){if(!(e.metaKey||e.ctrlKey)&&!this.readOnly&&e.key){const t=m.normalizeKeyValue(e.key);1!==t.length||c.isValidNumberCharacter(t)||e.preventDefault(),"ArrowUp"===t?(e.preventDefault(),this.numberStepUpAndDispatchEvents(1)):"ArrowDown"===t&&(e.preventDefault(),this.numberStepUpAndDispatchEvents(-1))}}this.isTypeSearch&&"Escape"===e.key&&e.preventDefault(),a.features.enableInputSearchCommitEvent&&this.isTypeSearch&&"Enter"===e.key&&this.dispatchCommitEvent()}handleInput(e){e.stopPropagation();const t=e.target,i=t.value.length,s="char-limit-warning";let a=this.template.querySelector(`#${s}`);i>=this.maxLength?a||(a=document.createElement("p"),a.textContent=`Limit reached. You can only use ${this.maxLength} characters in this field.`,a.setAttribute("role","alert"),a.id=s,a.classList.add("slds-assistive-text"),t.after(a)):a&&a.remove(),this.isTypeNumber&&(this._numberRawValue=this.inputElement.value),this.value!==e.target.value&&(this.dispatchChangeEvent(),this.reflectPopulatedState())}handleFocusOut(e){const{relatedTarget:t}=e;!(t instanceof Node&&this.template.contains(t))&&this.dispatchCommitEvent()}handleChange(e){e.stopPropagation(),a.features.enableInputSearchCommitEvent&&this.isTypeSearch||this.dispatchCommitEvent(),this.isTypeMobileDateTime&&this.value===q(e.target.value,this.timezone)||this.value!==e.target.value&&this.dispatchChangeEvent()}handleSelect(){m.isSafari&&this._selectionCache.preserve(this.inputElement)}
378dispatchCommitEvent(){a.features.enableInputSearchCommitEvent?this._committedValue!==this.value&&(this._committedValue=this.value,this.dispatchEvent(new CustomEvent("commit"))):this.dispatchEvent(new CustomEvent("commit"))}dispatchChangeEvent(){const e={};this.isTypeNumber?(this._numberRawValue=this.inputElement.value,e.value=c.toIsoDecimal(this.inputElement.value)):this.isTypeMobileDateTime?e.value=q(this.inputElement.value,this.timezone):this.isTypeMobileTime?e.value=z(this.inputElement.value):e.value=this.inputElement.value,this._value=e.value,this.dispatchChangeEventWithDetail(e)}dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}get internalType(){return this.isTypeNumber||this.isTypeEmail?"text":this.type}get isTypeNumber(){return"number"===this.type}get isTypeEmail(){return"email"===this.type}get isTypeSearch(){return"search"===this.type}get isTypeText(){return"text"===this.type}get isTypeDate(){return"date"===this.type}get isTypeDateTime(){return"datetime"===this.type||"datetime-local"===this.type}get isTypeTime(){return"time"===this.type}get isTypeMobileDate(){return this.isTypeDate&&!m.isDesktopBrowser()}get isTypeMobileTime(){return this.isTypeTime&&!m.isDesktopBrowser()}get isTypeMobileDateTime(){return this.isTypeDateTime&&!m.isDesktopBrowser()}get computedHelpMessageClass(){return this.variant===d.VARIANT.LABEL_INLINE?"slds-form-element__help":"slds-form-element__help slds-m-left_none"}get showClearButton(){return this.isTypeSearch&&m.isNotUndefinedOrNull(this._value)&&""!==this._value}get displayedValue(){return this.isTypeNumber?this.getDisplayedValue():this.isTypeMobileTime||this.isTypeMobileDate||this.isTypeMobileDateTime?this.normalizeDateTimeString(this._value,this.timezone):this._value}normalizeDateTimeString(e){return this.isTypeDate?function(e){return p.normalizeISODate(e,"medium").isoValue||""}(e):this.isTypeTime?z(e):this.isTypeDateTime?function(e,t){return p.normalizeISODateTime(e,t).isoValue||""}(e,this.timezone):e}get i18n(){return W}get showErrorIcon(){return this._helpMessage&&!this.isTypeSearch}get computedFormElementClass(){return{"slds-form-element__control":!0,"slds-grow":!0,"slds-input-has-icon":this.isTypeSearch||this.showErrorIcon,"slds-input-has-icon_left-right":this.isTypeSearch,"slds-input-has-icon_left":this.showErrorIcon}}updateNumberValue(e){const t=c.stringifyNumber(e);this._value=t,this._numberRawValue=c.fromIsoDecimal(t)}numberStepUpAndDispatchEvents(e){this._readOnly||this._disabled||(this._value=c.increaseNumberByStep({value:this._value,step:this.step,increment:e,fractionDigits:this.buildFormatNumberOptions(this.formatter).minimumFractionDigits}),this._numberRawValue=c.fromIsoDecimal(this._value),this.setInputValue(this.displayedValue),this.dispatchChangeEvent(),this.dispatchCommitEvent())}buildFormatNumberOptions(e){const t={style:e};if(void 0!==this._formatFractionDigits)t.minimumFractionDigits=this._formatFractionDigits,t.maximumFractionDigits=this._formatFractionDigits;else{let i=c.calculateFractionDigitsFromStep(this._step);"percent"===e&&"number"==typeof i&&(i-=2,i<0&&(i=0)),t.minimumFractionDigits=i,t.maximumFractionDigits=i}return t}updateInputDisplayValueIfTypeNumber(){this._rendered&&this.isTypeNumber&&!this._showRawNumber&&this.inputElement&&this.setInputValue(this.displayedValue)}clearAndSetFocusOnInput(e){this.disabled||(e.stopPropagation(),this.setInputValue(""),this._value="",this.inputElement.focus(),this.dispatchChangeEventWithDetail({value:this._value}),this.dispatchCommitEvent())}setInputValue(e){m.setDecoratedDragonInputValueWithoutEvent(this.inputElement,e),this.reflectPopulatedState()}reflectPopulatedState(){this.refs&&m.reflectAttribute(this.refs.container,"populated",!d.isEmptyString(this._value)||!d.isEmptyString(this._numberRawValue))}connectedCallback(){super.connectedCallback(),this.isTypeNumber&&this.updateNumberValue(this._value),this._isNativeShadow=m.isNativeComponent(this)}renderedCallback(){m.isSafari&&this.inputElement.addEventListener("select",this.handleSelect.bind(this)),!this._initialValueSet&&this.inputElement&&(this._rendered=!0,this.isTypeNumber&&(this._numberRawValue=c.fromIsoDecimal(this._value)),this.setInputValue(this.displayedValue),this._initialValueSet=!0),m.reflectAttribute(this,"variant",this.variant),m.reflectAttribute(this,"disabled",this.disabled),m.reflectAttribute(this,"readonly",this.readOnly),this.isTypeSearch&&!this._focusOutListenerAttached&&this.refs&&a.features.enableInputSearchCommitEvent&&(this.focusOutEventHandler=this.handleFocusOut.bind(this),this.refs.container.addEventListener("focusout",this.focusOutEventHandler),this._focusOutListenerAttached=!0)}disconnectedCallback(){this.isTypeSearch&&a.features.enableInputSearchCommitEvent&&(this.refs.container.removeEventListener("focusout",this.focusOutEventHandler),this._focusOutListenerAttached=!1)}constructor(){super(),this._type=void 0,this.hasExternalLabel=void 0,this.computedLabelClass=void 0,this.required=void 0,this.label=void 0,this.fieldLevelHelp=void 0,this.helptextAlternativeText=void 0,this.ariaHasPopup=void 0,this.accessKey=void 0,this.autocomplete=void 0,this.isLoading=void 0,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.pattern=void 0,this.placeholder=void 0,this.name=void 0,this.readOnly=void 0,this.disabled=void 0,this.variant=void 0,this.validity=void 0,this.ariaLabel=void 0,this.ariaInvalid=void 0,this.timezone=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.ariaExpanded=void 0,this.ariaAutoComplete=void 0,this._formatter=Y,this._showRawNumber=!1,this._initialValueSet=!1,this._rendered=void 0,this._selectionCache=void 0,this._helpMessage=void 0,this._step=void 0,this._numberRawValue="",this._value="",this._committedValue=void 0,this._focusOutListenerAttached=!1,a.features.enableAssertContext260&&K(this),this._selectionCache=new B}}t.registerDecorators(G,{publicProps:{hasExternalLabel:{config:0},computedLabelClass:{config:0},required:{config:0},label:{config:0},fieldLevelHelp:{config:0},helptextAlternativeText:{config:0},ariaHasPopup:{config:0},accessKey:{config:0},autocomplete:{config:0},isLoading:{config:0},max:{config:0},min:{config:0},maxLength:{config:0},minLength:{config:0},pattern:{config:0},placeholder:{config:0},name:{config:0},readOnly:{config:0},disabled:{config:0},variant:{config:0},validity:{config:0},ariaLabel:{config:0},ariaInvalid:{config:0},timezone:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},ariaExpanded:{config:0},ariaAutoComplete:{config:0},role:{config:3},ariaDescribedByElements:{config:1},ariaErrorMessageElement:{config:1},isNativeShadow:{config:1},type:{config:3},formatter:{config:3},formatFractionDigits:{config:3},step:{config:3},helpMessage:{config:3},value:{config:3},inputElement:{config:1},inputmode:{config:3}},publicMethods:["getDisplayedValue","getNumberRawValue"],fields:["_type","_formatter","_showRawNumber","_initialValueSet","_rendered","_selectionCache","_helpMessage","_step","_numberRawValue","_value","_committedValue","_focusOutListenerAttached"]});const J=t.registerComponent(G,{tmpl:P,sel:"lightning-primitive-input-simple",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
378e.default=J,Object.defineProperty(e,"__esModule",{value:!0})});
379})();(function() { LWR.define("lightning/primitiveInputToggle",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utilsInternal","lightning/features","lightning/inputUtils","@salesforce/label/LightningControl.required"],function(e,t,a,i,s,l,n,r){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=c(a),h=c(r);var d=[function(){return""}];const g=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,u=t.parseFragment`<span${"c0"}${2}>${"t1"}</span>`,p=t.parseFragment`<input type="checkbox"${"a0:id"} part="checkbox" role="switch"${"a0:accesskey"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:disabled"}${"a0:name"}${"a0:readonly"}${"a0:required"}${3}>`,m=t.parseFragment`<span${"a0:id"} data-toggle-description class="slds-checkbox_faux_container${0}"${2}><span class="slds-checkbox_faux${0}" part="indicator"${2}></span><span class="slds-checkbox_on${0}"${2}>${"t3"}</span><span class="slds-checkbox_off${0}"${2}>${"t5"}</span></span>`,v=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,b={classMap:{"slds-form-element__control":!0},key:0},f={"slds-checkbox_toggle":!0,"slds-grid":!0},_={"slds-form-element__help":!0};function k(e,t,a,i){const{gid:s,sp:l,st:n,ncls:r,d:c,b:o,h:h,t:d}=e,{_m0:k,_m1:y}=i;return[h("div",b,[h("label",{classMap:f,attrs:{for:s("checkbox-toggle"),part:"checkbox-toggle"},key:1},[t.required?n(g,3,[l(0,{attrs:{title:t.labelRequired}},null)]):null,n(u,5,[l(0,{className:r(t.computedLabelClass)},null),l(1,null,c(t.label))]),n(p,7,[l(0,{on:y||(i._m1={blur:o(t.handleBlur),change:o(t.handleChange),focus:o(t.handleFocus),click:o(t.handleClick)}),attrs:{id:s("checkbox-toggle"),accesskey:t.accessKey,"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,disabled:t.disabled?"":null,name:t.name,readonly:t.readOnly?"":null,required:t.required?"":null}},null)]),n(m,9,[l(0,{attrs:{id:s("toggle-description")}},null),l(3,null,c(t.messageToggleActive)),l(5,null,c(t.messageToggleInactive))])])]),h("div",{classMap:_,attrs:{id:s("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text",role:"status"},key:10},[t._helpMessage?n(v,12,[l(1,null,c(t.label))]):null,t._helpMessage?d(c(t._helpMessage)):null])]}var y=t.registerTemplate(k);k.stylesheets=[],k.stylesheetToken="lwc-1fmklhh3ll6",k.legacyStylesheetToken="lightning-primitiveInputToggle_primitiveInputToggle",d&&k.stylesheets.push.apply(k.stylesheets,d),t.freezeTemplate(k);const{setContext:$,assertContext:E}=s.privateContext,x={required:h.default};class C extends o.default{constructor(){super(),this._checked=void 0,this._value="",this._ariaLabel=void 0,this._cachedInputElement=void 0,this._helpMessage="",this._messageToggleActive=void 0,this._messageToggleInactive=void 0,this.initialRender=!1,this.accessKey=void 0,this.disabled=void 0,this.label=void 0,this.name=void 0,this.readOnly=void 0,this.required=void 0,this.ariaInvalid=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.messageToggleActive=void 0,this.messageToggleInactive=void 0,l.features.enableAssertContext260&&$(this)}get value(){return this._value}set value(e){this._value="number"==typeof e||"string"==typeof e?String(e):""}get checked(){return this.initialRender?this.inputElement.checked:this._checked}set checked(e){e=Boolean(e),this._checked=e,this.initialRender&&(this.inputElement.checked=this._checked)}get ariaDescribedByElements(){return[this.template.querySelector("[data-help-message]"),this.template.querySelector("data-toggle-description")]}get ariaErrorMessageElement(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=i.normalizeAriaAttribute(e)}get inputElement(){if(!this._cachedInputElement){let e=this.template.querySelector("input");this._cachedInputElement=e}return this._cachedInputElement}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,i.reflectAttribute(this,"invalid",Boolean(e))}get variant(){return this._variant}set variant(e){this._variant=e,i.reflectAttribute(this,"variant",e)}get computedLabelClass(){return this.variant===n.VARIANT.LABEL_HIDDEN?"slds-form-element__label slds-assistive-text":"slds-form-element__label"}get i18n(){return x}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){this._checked=e.target.checked;const t=new CustomEvent("change",{detail:{checked:e.target.checked}});this.dispatchEvent(t)}handleClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}connectedCallback(){super.connectedCallback(),this._isNativeShadow=i.isNativeComponent(this)}renderedCallback(){l.features.enableAssertContext260&&E(this),this.initialRender||(this.inputElement.checked=this.checked,this.inputElement.value=this._value,this.initialRender=!0)}disconnectedCallback(){this._cachedInputElement=void 0}}t.registerDecorators(C,{publicProps:{accessKey:{config:0},disabled:{config:0},label:{config:0},name:{config:0},readOnly:{config:0},required:{config:0},ariaInvalid:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},messageToggleActive:{config:0},messageToggleInactive:{config:0},value:{config:3},checked:{config:3},ariaDescribedByElements:{config:1},ariaErrorMessageElement:{config:1},isNativeShadow:{config:1},ariaLabel:{config:3},inputElement:{config:1},helpMessage:{config:3},variant:{config:3}},fields:["_checked","_value","_ariaLabel","_cachedInputElement","_helpMessage","_messageToggleActive","_messageToggleInactive","initialRender"]});const I=t.registerComponent(C,{tmpl:y,sel:"lightning-primitive-input-toggle",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
379e.default=I,Object.defineProperty(e,"__esModule",{value:!0})});
380})();(function() { LWR.define("lightning/primitiveInputCheckbox",["exports","lwc","lightning/helptext","lightning/icon","lightning/utils","lightning/inputUtils","@salesforce/label/LightningControl.required","@salesforce/label/LightningControl.true","@salesforce/label/LightningControl.false","@salesforce/label/LightningControl.indeterminate","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/features"],function(e,t,a,i,l,n,s,r,d,c,h,o,u){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=p(a),m=p(i),b=p(s),f=p(r),v=p(d),k=p(c),y=p(h);var _=[function(){return""}];const x=t.parseFragment`<span part="label"${"c0"}${2}>${"t1"}</span>`,$=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} part="required" aria-hidden="true"${2}>*</abbr>`,E=t.parseFragment`<span part="label"${"c0"}${2}>${"t1"}</span>`,C=t.parseFragment`<span part="label"${"c0"}${2}>${"t1"}</span>`,I=t.parseFragment`<abbr class="slds-required${
3800}"${"a0:title"} part="required" aria-hidden="true"${2}>*</abbr>`,S=t.parseFragment`<input type="checkbox" part="checkbox"${"a0:id"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:accesskey"}${"a0:name"}${"a0:required"}${"a0:readonly"}${"a0:disabled"}${3}>`,L=t.parseFragment`<span part="indicator" class="slds-checkbox_faux${0}"${2}></span>`,q=t.parseFragment`<label${"a0:for"} part="label-container" class="slds-checkbox__label${0}"${2}><span part="indicator" class="slds-checkbox_faux${0}"${2}></span><span part="label"${"c2"}${2}>${"t3"}</span></label>`,A=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,M={"slds-checkbox__label":!0},T={classMap:{"slds-form-element__control":!0,"slds-grow":!0},key:9},N={"slds-current-color":!0,"slds-m-right_x-small":!0},H={part:"input-checkbox"},D={"slds-form-element__help":!0};function w(e,t,a,i){const{ncls:l,d:n,sp:s,st:r,fr:d,gid:c,h:h,c:o,b:u,t:p}=e,{_m0:b,_m1:f}=i;return[t.isStandardVariant?null:t.showReadOnlyIcon?d(0,[r(x,2,[s(0,{className:l(t.computedLabelClass)},null),s(1,null,n(t.label))])],0):d(0,[h("label",{classMap:M,attrs:{for:c("checkbox"),part:"label-container"},key:3},[t.required?r($,5,[s(0,{attrs:{title:t.labelRequired}},null)]):null,r(E,7,[s(0,{className:l(t.computedLabelClass)},null),s(1,null,n(t.label))])])],0),t.isStandardVariant?null:t.fieldLevelHelp?o("lightning-helptext",g.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:8}):null,h("div",T,[t.showReadOnlyIcon?d(10,[o("lightning-icon",m.default,{classMap:N,props:{size:"x-small",iconName:t.computedIconName,title:t.computedIconTitle,alternativeText:t.computedIconTitle},key:11}),t.isStandardVariant?r(C,13,[s(0,{className:l(t.computedLabelClass)},null),s(1,null,n(t.label))]):null,t.isStandardVariant&&t.fieldLevelHelp?o("lightning-helptext",g.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:14}):null],0):d(10,[h("span",{className:l(t.computedCheckboxClass),attrs:H,key:15},[t.isStandardVariant&&t.required?r(I,17,[s(0,{attrs:{title:t.labelRequired}},null)]):null,r(S,19,[s(0,{on:f||(i._m1={blur:u(t.handleBlur),focus:u(t.handleFocus),change:u(t.handleChange),click:u(t.handleClick)}),attrs:{id:c("checkbox"),"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,accesskey:t.accessKey,name:t.name,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null}},null)]),t.isStandardVariant?null:r(L,21),t.isStandardVariant?r(q,23,[s(0,{attrs:{for:c("checkbox")}},null),s(2,{className:l(t.computedLabelClass)},null),s(3,null,n(t.label))]):null,t.isStandardVariant&&t.fieldLevelHelp?o("lightning-helptext",g.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:24}):null])],0)]),h("div",{classMap:D,attrs:{id:c("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text","aria-live":"polite"},key:25},[t.helpMessage?r(A,27,[s(1,null,n(t.label))]):null,t.helpMessage?p(n(t.helpMessage)):null])]}var R=t.registerTemplate(w);w.stylesheets=[],w.stylesheetToken="lwc-16hle61jt7i",w.legacyStylesheetToken="lightning-primitiveInputCheckbox_primitiveInputCheckbox",_&&w.stylesheets.push.apply(w.stylesheets,_),t.freezeTemplate(w);const V={true:f.default,false:v.default,indeterminate:k.default};class F extends y.default{constructor(...e){super(...e),this.required=void 0,this.readOnly=void 0,this.label=void 0,this.labelHidden=void 0,this.helptextAlternativeText=void 0,this.fieldLevelHelp=void 0,this.ariaInvalid=void 0,this.ariaLabel=void 0,this.accessKey=void 0,this.name=void 0,this.disabled=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.labelRequired=b.default,this._checked=void 0,this._indeterminate=!1,this._helpMessage=void 0}getHelpMessageElement(){return this.template.querySelector("[data-help-message]")}get ariaDescribedByElements(){return this.getHelpMessageElement()}get checked(){return this._checked}set checked(e){this._setChecked(e)}get indeterminate(){return!!u.features.enableIndeterminateForInput&&this._indeterminate}set indeterminate(e){this._setIndeterminate(o.normalizeBoolean(e))}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,o.reflectAttribute(this,"invalid",!!e)}get variant(){return this._variant}set variant(e){this._variant=e,o.reflectAttribute(this,"variant",e)}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get describedByElements(){return this.template.querySelector("[data-help-message]")}get ariaErrorMessageElement(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}get isStandardVariant(){return this.variant===n.VARIANT.STANDARD||this.variant===n.VARIANT.LABEL_HIDDEN}get isLabelHidden(){return this.variant===n.VARIANT.LABEL_HIDDEN}get computedCheckboxClass(){return l.classSet("slds-checkbox").add({"slds-checkbox_standalone":!this.isStandardVariant}).toString()}get computedIconName(){return this._indeterminate?"utility:dash":this._checked?"utility:check":"utility:steps"}get computedIconTitle(){return this._indeterminate?V.indeterminate:this._checked?V.true:V.false}get computedLabelClass(){return l.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get showReadOnlyIcon(){return!this.disabled&&this.readOnly}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}_setChecked(e){e=Boolean(e),this._checked=e,o.reflectAttribute(this,"checked",this.checked),this.rendered&&this.inputElement&&this.inputElement.checked!==e&&(this.inputElement.checked=this._checked)}_setIndeterminate(e){u.features.enableIndeterminateForInput&&(this._indeterminate=e,o.reflectAttribute(this,"indeterminate",e),this.rendered&&this.inputElement&&(this.inputElement.indeterminate=e))}handleChange(e){this._indeterminate&&this._setIndeterminate(!1),this._setChecked(e.target.checked);const t=new CustomEvent("change",{detail:{composed:!0,bubbles:!0,checked:e.target.checked}});this.dispatchEvent(t)}handleClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}connectedCallback(){super.connectedCallback(),this._isNativeShadow=o.isNativeComponent(this)}renderedCallback(){!this.rendered&&this.inputElement&&(this.inputElement.checked=this.checked,this.inputElement.indeterminate=this._indeterminate),o.reflectAttribute(this,"disabled",this.disabled),this.rendered=!0}disconnectedCallback(){this.cachedInputElement=void 0,this.rendered=!1}}t.registerDecorators(F,{publicProps:{required:{config:0},readOnly:{config:0},label:{config:0},labelHidden:{config:0},helptextAlternativeText:{config:0},fieldLevelHelp:{config:0},ariaInvalid:{config:0},ariaLabel:{config:0},accessKey:{config:0},name:{config:0},disabled:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},ariaDescribedByElements:{config:1},checked:{config:3},indeterminate:{config:3},helpMessage:{config:3},variant:{config:3},inputElement:{config:1},describedByElements:{config:1},ariaErrorMessageElement:{config:1},isNativeShadow:{config:1}},fields:["labelRequired","_checked","_indeterminate","_helpMessage"]});const B=t.registerComponent(F,{tmpl:R,sel:"lightning-primitive-input-checkbox",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
380e.default=B,Object.defineProperty(e,"__esModule",{value:!0})});
381})();(function() { LWR.define("lightning/primitiveInputCheckboxButton",["exports","lwc","lightning/icon","lightning/utilsPrivate","lightning/utilsInternal","lightning/features","lightning/shadowBaseClassPrivate"],function(e,t,a,i,s,l,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=r(a),d=r(n);var h=[function(){return""}];const o=t.parseFragment`<input type="checkbox"${"a0:id"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:accesskey"} class="slds-assistive-text${0}"${"a0:name"}${"a0:required"}${"a0:readonly"}${"a0:disabled"} part="checkbox"${2}>`,u=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,p={"slds-current-color":!0},b={"slds-form-element__help":!0};function g(e,t,a,i){const{ncls:s,gid:l,b:n,sp:r,st:d,c:h,h:g,d:m,t:k}=e,{_m0:v,_m1:f}=i;return[g("label",{className:s(t.computedCheckboxButtonClass),attrs:{for:l("checkbox-button"),part:"input-checkbox-button"},key:0},[d(o,2,[r(0,{on:f||(i._m1={blur:n(t.handleBlur),focus:n(t.handleFocus),change:n(t.handleChange),click:n(t.handleClick)}),attrs:{id:l("checkbox-button"),"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,accesskey:t.accessKey,name:t.name,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null}},null)]),h("lightning-icon",c.default,{classMap:p,props:{alternativeText:t.label,iconName:t.iconName,size:"x-small",part:"faux-button"},key:3})]),g("div",{classMap:b,attrs:{id:l("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text",role:"status"},key:4},[t._helpMessage?d(u,6,[r(1,null,m(t.label))]):null,t._helpMessage?k(m(t._helpMessage)):null])]}var m=t.registerTemplate(g);g.stylesheets=[],g.stylesheetToken="lwc-49ug9a33g5f",g.legacyStylesheetToken="lightning-primitiveInputCheckboxButton_primitiveInputCheckboxButton",h&&g.stylesheets.push.apply(g.stylesheets,h),t.freezeTemplate(g);const k=t.parseFragment`<div class="slds-checkbox_add-button${0}" part="input-checkbox-button"${2}><input type="checkbox"${"a1:id"}${"a1:aria-label"}${"a1:aria-keyshortcuts"}${"a1:aria-disabled"}${"a1:aria-roledescription"}${"a1:aria-invalid"}${"a1:accesskey"} class="slds-assistive-text${0}"${"a1:name"}${"a1:required"}${"a1:readonly"}${"a1:disabled"} part="checkbox"${2}><label${"a2:for"} class="slds-checkbox_faux${0}" part="faux-button"${2}><span class="slds-assistive-text${0}" part="label"${2}>${"t4"}</span></label></div>`,v=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,f={"slds-form-element__help":!0};function y(e,t,a,i){const{b:s,gid:l,d:n,sp:r,st:c,t:d,h:h}=e,{_m0:o}=i;return[c(k,1,[r(1,{on:o||(i._m0={blur:s(t.handleBlur),focus:s(t.handleFocus),change:s(t.handleChange),click:s(t.handleClick)}),attrs:{id:l("checkbox-button"),"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,accesskey:t.accessKey,name:t.name,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null}},null),r(2,{attrs:{for:l("checkbox-button")}},null),r(4,null,n(t.label))]),h("div",{classMap:f,attrs:{id:l("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text",role:"status"},key:2},[t._helpMessage?c(v,4,[r(1,null,n(t.label))]):null,t._helpMessage?d(n(t._helpMessage)):null])]}var x=t.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-49sb66poent",y.legacyStylesheetToken="lightning-primitiveInputCheckboxButton_primitiveInputCheckboxButtonOld",t.freezeTemplate(y);const{setContext:_,assertContext:$}=s.privateContext;class C extends d.default{constructor(){super(),this.ariaLabel=void 0,this.ariaInvalid=void 0,this.accessKey=void 0,this.name=void 0,this.required=void 0,this.readOnly=void 0,this.label=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this._checked=!1,this._disabled=!1,this._helpMessage="",this.rendered=!1,this.initialValueSet=!1,l.features.enableAssertContext260&&_(this)}get checked(){return this.initialValueSet?this.inputElement.checked:this._checked}set checked(e){this._checked=i.normalizeBoolean(e),this.rendered&&(this.inputElement.checked=this._checked),i.reflectAttribute(this,"checked",this.checked)}get disabled(){return this._disabled}set disabled(e){this._disabled=i.normalizeBoolean(e),i.reflectAttribute(this,"disabled",this.disabled)}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,i.reflectAttribute(this,"invalid",!!e)}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get ariaErrorMessageElement(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}get computedCheckboxButtonClass(){return i.classSetToString({"slds-checkbox-button":!0,"slds-checkbox-button_is-checked":this.checked,"slds-checkbox-button_is-disabled":this.disabled})}get iconName(){return this._checked?"utility:check":"utility:add"}connectedCallback(){super.connectedCallback(),this._isNativeShadow=i.isNativeComponent(this)}disconnectedCallback(){this.cachedInputElement=void 0,this.initialValueSet=!1,this.rendered=!1}renderedCallback(){this.rendered=!0,this.initialValueSet||(this.inputElement.checked=this._checked,this.initialValueSet=!0)}render(){return l.features.enableUpdatedCheckboxButtonBlueprint?m:x}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){e.stopPropagation(),this.dispatchCommitEvent(),this.dispatchChangeEvent()}handleClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,detail:e}))}dispatchChangeEvent(){const e={};this._checked=this.inputElement.checked,i.reflectAttribute(this,"checked",this._checked),e.checked=this._checked,this.dispatchChangeEventWithDetail(e)}
381dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}setInputValue(e){l.features.enableAssertContext260&&$(this),this.inputElement.value=e}normalizeInput(e){return"number"==typeof e||"string"==typeof e?String(e):""}}t.registerDecorators(C,{publicProps:{ariaLabel:{config:0},ariaInvalid:{config:0},accessKey:{config:0},name:{config:0},required:{config:0},readOnly:{config:0},label:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},checked:{config:3},disabled:{config:3},helpMessage:{config:3},inputElement:{config:1},ariaDescribedByElements:{config:1},ariaErrorMessageElement:{config:1},isNativeShadow:{config:1}},fields:["_checked","_disabled","_helpMessage","rendered","initialValueSet"]});const E=t.registerComponent(C,{tmpl:m,sel:"lightning-primitive-input-checkbox-button",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=E,Object.defineProperty(e,"__esModule",{value:!0})});
382})();(function() { LWR.define("lightning/primitiveInputRadio",["exports","lwc","lightning/utils","lightning/inputUtils","lightning/utilsPrivate","lightning/shadowBaseClassPrivate"],function(e,a,t,i,s,n){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(n);const d=a.parseFragment`<div class="slds-form-element__control${0}"${2}><span class="slds-radio${0}"${2}><input type="radio"${"a2:id"}${"a2:aria-keyshortcuts"}${"a2:aria-disabled"}${"a2:aria-roledescription"}${"a2:aria-invalid"}${"a2:accesskey"}${"a2:name"}${"a2:required"}${"a2:readonly"}${"a2:disabled"}${"a2:aria-label"}${3}><label${"a3:for"} class="slds-radio__label${0}"${2}><span class="slds-radio_faux${0}"${2}></span><span${"c5"}${2}>${"t6"}</span></label></span></div>`,c=a.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,o={"slds-form-element__help":!0};function h(e,a,t,i){const{b:s,gid:n,ncls:l,d:r,sp:h,st:u,t:p,h:g}=e,{_m0:m}=i;return[u(d,1,[h(2,{on:m||(i._m0={blur:s(a.handleBlur),focus:s(a.handleFocus),change:s(a.handleChange)}),attrs:{id:n("radio"),"aria-keyshortcuts":a.ariaKeyShortcuts,"aria-disabled":a.ariaDisabled,"aria-roledescription":a.ariaRoleDescription,"aria-invalid":a.ariaInvalid,accesskey:a.accessKey,name:a.name,required:a.required?"":null,readonly:a.readOnly?"":null,disabled:a.disabled?"":null,"aria-label":a.ariaLabel}},null),h(3,{attrs:{for:n("radio")}},null),h(5,{className:l(a.computedLabelClass)},null),h(6,null,r(a.label))]),g("div",{classMap:o,attrs:{id:n("help-message"),"data-name":a.name,"data-help-message":"",part:"help-text",role:"status"},key:2},[a.helpMessage?u(c,4,[h(1,null,r(a.label))]):null,a.helpMessage?p(r(a.helpMessage)):null])]}var u=a.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-4943usg6b6",h.legacyStylesheetToken="lightning-primitiveInputRadio_primitiveInputRadio",a.freezeTemplate(h);class p extends r.default{constructor(...e){super(...e),this.variant=void 0,this.ariaInvalid=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.accessKey=void 0,this.name=void 0,this.required=void 0,this.readOnly=void 0,this.disabled=void 0,this.label=void 0,this.ariaLabel=void 0,this.helpMessage=void 0}get checked(){return this._checked}set checked(e){this._setChecked(e)}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get ariaErrorMessageElement(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}get inputElement(){if(!this._cachedInputElement){let e=this.template.querySelector("input");this._cachedInputElement=e}return this._cachedInputElement}get isLabelHidden(){return this.variant===i.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return t.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}_setChecked(e){e=Boolean(e),this._checked=e,this.rendered&&this.inputElement.checked!==this._checked&&(this.inputElement.checked=this._checked)}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){this._setChecked(e.target.checked);const a=new CustomEvent("change",{bubbles:!0,composed:!0,detail:{checked:e.target.checked}});this.dispatchEvent(a)}connectedCallback(){super.connectedCallback(),this._isNativeShadow=s.isNativeComponent(this)}renderedCallback(){this.rendered||(this.inputElement.checked=this.checked),this.rendered=!0}disconnectedCallback(){this._cachedInputElement=void 0,this.rendered=!1}}a.registerDecorators(p,{publicProps:{variant:{config:0},ariaInvalid:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},accessKey:{config:0},name:{config:0},required:{config:0},readOnly:{config:0},disabled:{config:0},label:{config:0},ariaLabel:{config:0},helpMessage:{config:0},checked:{config:3},ariaDescribedByElements:{config:1},ariaErrorMessageElement:{config:1},isNativeShadow:{config:1},inputElement:{config:1}}});const g=a.registerComponent(p,{tmpl:u,sel:"lightning-primitive-input-radio",a
382piVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
383})();(function() { LWR.define("interop/primitiveFileDroppableZone",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/utilsPrivate"],function(e,t,i,s,l){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(s);var n=[function(e,t,i){return"slot"+(e?"["+e+"]":"")+" {display: inline-block;}"}];const o={key:0},d=[];function p(e,t,i,s){const{s:l}=e;return[l("",o,d,i)]}var h=t.registerTemplate(p);p.slots=[""],p.stylesheets=[],p.stylesheetToken="lwc-7gt6355bheb",p.legacyStylesheetToken="interop-primitiveFileDroppableZone_primitiveFileDroppableZone",n&&p.stylesheets.push.apply(p.stylesheets,n),t.freezeTemplate(p);class u extends a.default{get disabled(){return this._disabled||!1}set disabled(e){this._disabled=l.normalizeBoolean(e)}get multiple(){return this._multiple||!1}set multiple(e){this._multiple=l.normalizeBoolean(e)}constructor(){super(),this._disabled=void 0,this._multiple=void 0,i.isServer||(this.template.addEventListener("dragover",this.allowDrop.bind(this)),this.template.addEventListener("dragleave",this.handleDragLeave.bind(this)),this.template.addEventListener("drop",this.handleOnDrop.bind(this)))}connectedCallback(){this.classList.add("slds-file-selector__dropzone")}setDragOver(e){this.classList.toggle("slds-has-drag-over",e)}handleDragLeave(){this.setDragOver(!1)}handleOnDrop(e){e.preventDefault(),this.setDragOver(!1),this.disabled?e.stopPropagation():this.meetsMultipleCriteria(e)||e.stopPropagation()}allowDrop(e){e.preventDefault(),this.disabled||this.setDragOver(!0)}meetsMultipleCriteria(e){return!(e.dataTransfer.files.length>1&&!this.multiple)}}u.validationOptOut=["class"],t.registerDecorators(u,{publicProps:{disabled:{config:3},multiple:{config:3}},track:{_disabled:1,_multiple:1}});const v=t.registerComponent(u,{tmpl:h,sel:"interop-primitive-file-droppable-zone",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=v,Object.defineProperty(e,"__esModule",{value:!0})});
384})();LWR.define('lightning/primitiveFileDroppableZone', ['interop/primitiveFileDroppableZone'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/primitiveInputFile",["exports","lwc","lightning/primitiveIcon","lightning/primitiveFileDroppableZone","lwr/environment","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","@salesforce/label/LightningControl.required","@salesforce/label/LightningInputFile.bodyText","@salesforce/label/LightningInputFile.buttonLabel"],function(e,t,i,l,a,s,n,r,o,d){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=c(i),u=c(l),h=c(s),f=c(r),g=c(o),m=c(d);var b=[function(){return""}];const v=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} aria-hidden="true"${2}>*</abbr>`,y=t.parseFragment`<input type="file"${"a0:id"}${"a0:aria-label"}${"a0:aria-keyshortcuts"}${"a0:aria-disabled"}${"a0:aria-roledescription"}${"a0:aria-invalid"}${"a0:accesskey"} class="slds-file-selector__input slds-assistive-text${0}"${"a0:accept"}${"a0:multiple"}${"a0:name"}${"a0:required"}${"a0:readonly"}${"a0:disabled"} part="input"${2}>`,_=t.parseFragment`<span class="slds-file-selector__text slds-medium-show${0}"${2}>${"t1"}</span>`,F=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,E={classMap:{"slds-form-element__control":!0},key:3},$={"slds-file-selector":!0,"slds-file-selector_files":!0},C={part:"file-selector"},k={"slds-file-selector__body":!0},M={classMap:{"slds-file-selector__button":!0,"slds-button":!0,"slds-button_neutral":!0},attrs:{part:"button"},key:9},q={props:{iconName:"utility:upload",variant:"bare",svgClass:"slds-button__icon slds-button__icon_left"},key:10},w={"slds-form-element__help":!0};function S(e,t,i,l){const{gid:a,ncls:s,sp:n,st:r,d:o,t:d,h:c,b:h,c:f}=e,{_m0:g,_m1:m,_m2:b}=l;return[c("span",{className:s(t.labelClass),attrs:{id:a("form-label"),"data-form-label":""},key:0},[t.required?r(v,2,[n(0,{attrs:{title:t.i18n.required}},null)]):null,d(o(t.label))]),c("div",E,[c("div",{classMap:$,attrs:C,key:4,on:g||(l._m0={drop:h(t.handleDropFiles)})},[f("lightning-primitive-file-droppable-zone",u.default,{props:{multiple:t.multiple,disabled:t.disabled},key:5},[r(y,7,[n(0,{on:b||(l._m2={blur:h(t.handleBlur),focus:h(t.handleFocus),click:h(t.handleFileClick),change:h(t.handleChange)}),attrs:{id:a("input-file"),"aria-label":t.ariaLabel,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-roledescription":t.ariaRoleDescription,"aria-invalid":t.ariaInvalid,accesskey:t.accessKey,accept:t.accept,multiple:t.multiple?"":null,name:t.name,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null}},null)]),c("label",{classMap:k,attrs:{id:a("file-selector-label"),"data-file-selector-label":"",for:a("input-file")},key:8},[c("span",M,[f("lightning-primitive-icon",p.default,q),d(o(t.i18n.inputFileButtonLabel))]),r(_,12,[n(1,null,o(t.i18n.inputFileBodyText))])])])])]),c("div",{classMap:w,attrs:{id:a("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text",role:"status"},key:13},[t.helpMessage?r(F,15,[n(1,null,o(t.label))]):null,t.helpMessage?d(o(t.helpMessage)):null])]}var L=t.registerTemplate(S);S.stylesheets=[],S.stylesheetToken="lwc-24ep20h9ret",S.legacyStylesheetToken="lightning-primitiveInputFile_primitiveInputFile",b&&S.stylesheets.push.apply(S.stylesheets,b),t.freezeTemplate(S);const D={required:f.default,inputFileBodyText:g.default,inputFileButtonLabel:m.default};class B extends h.default{constructor(...e){super(...e),this._files=null,this._helpMessage="",this.accept=void 0,this.accessKey=void 0,this.ariaInvalid=void 0,this.disabled=void 0,this.label=void 0,this.labelClass=void 0,this.multiple=void 0,this.name=void 0,this.readOnly=void 0,this.required=void 0,this.ariaLabel=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0}get files(){return this._files}set files(e){if(e&&!a.isServer)if(e instanceof FileList)this._files=e;else{const t=new DataTransfer;if(Array.isArray(e)){let i=!1;for(const l of e)l instanceof File?t.items.add(l):i=!0;i&&console.error("lightning-input type=file only supports FileList, File, or an Array of File objects in the files property")}else e instanceof File?t.items.add(e):console.error("lightning-input type=file only supports FileList, File, or an Array of File objects in the files property");this._files=t.files,requestAnimationFrame(()=>{this.inputElement&&(this.inputElement.files=t.files)})}}get inputElement(){return this.template.querySelector("input")}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get ariaErrorMessageElement(){return this.template.querySelector("[data-help-message]")}get ariaLabelledByElements(){return[this.template.querySelector("[data-form-label]"),this.template.querySelector("[data-file-selector-label]")]}get isNativeShadow(){return this._isNativeShadow}get helpMessage(){return this._helpMessage}set helpMessage(e){this._helpMessage=e,n.reflectAttribute(this,"invalid",!!e)}get variant(){return this._variant}set variant(e){this._variant=e,n.reflectAttribute(this,"variant",e)}get i18n(){return D}handleDropFiles(e){this._files=e.dataTransfer&&e.dataTransfer.files,this.dispatchEvent(new CustomEvent("change")),this.dispatchEvent(new CustomEvent("reportvalidity"))}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleFileClick(){this.inputElement.value=null}handleChange(){this._files=this.inputElement.files,this.dispatchEvent(new CustomEvent("change")),this.dispatchEvent(new CustomEvent("reportvalidity"))}connectedCallback(){super.connectedCallback(),this._isNativeShadow=n.isNativeComponent(this)}}t.registerDecorators(B,{publicProps:{accept:{config:0},accessKey:{config:0},ariaInvalid:{config:0},disabled:{config:0},label:{config:0},labelClass:{config:0},multiple:{config:0},name:{config:0},readOnly:{config:0},required:{config:0},ariaLabel:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},files:{config:3},inputElement:{config:1},ariaDescribedByElements:{config:1},ariaErrorMessageElement:{config:1},ariaLabelledByElements:{config:1},isNativeShadow:{config:1},helpMessage:{config:3},variant:{config:3}},fields:["_files","_helpMessage"]});const I=t.registerComponent(B,{tmpl:L,sel:"lightning-primitive-input-file",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
384e.default=I,Object.defineProperty(e,"__esModule",{value:!0})});
385})();(function() { LWR.define("interop/button",["exports","lwc","lightning/primitiveIcon","lwr/environment","lightning/utils","lightning/utilsPrivate","lightning/primitiveButton"],function(t,e,n,i,s,o,r){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=a(n),c=a(r);var u=[function(){return""},function(t,e,n){return"lightning-primitive-icon"+(t?"["+t+"]":"")+" {display: contents;}"}];function d(t,e,n,i){const{ncls:s,ti:o,b:r,c:a,d:c,t:u,h:d}=t,{_m0:h}=i;return[d("button",{className:s(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,"aria-disabled":e.disabled,name:e.name,accesskey:e.accessKey,title:e.title,type:e.normalizedType,value:e.value,"aria-atomic":e.computedAriaAtomic,"aria-busy":e.computedAriaBusy,"aria-label":e.ariaLabel,"aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.computedAriaHasPopup,"aria-live":e.computedAriaLive,"aria-pressed":e.computedAriaPressed,"aria-relevant":e.computedAriaRelevant,part:"button",tabindex:o(e.tabIndex)},key:0,on:h||(i._m0={focus:r(e.handleButtonFocus),blur:r(e.handleButtonBlur),click:r(e.handleButtonClick)})},[e.showIconLeft?a("lightning-primitive-icon",l.default,{props:{part:"start",iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:1}):null,u(c(e.label)),e.showIconRight?a("lightning-primitive-icon",l.default,{props:{part:"end",iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:2}):null])]}var h=e.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-40a585din3p",d.legacyStylesheetToken="interop-button_button",u&&d.stylesheets.push.apply(d.stylesheets,u),e.freezeTemplate(d);const m="slds-kx-is-animating-from-click",p="underline",b="ripple",v={base:{"kx-scope":"button","kx-type":p},neutral:{"kx-scope":"button-neutral","kx-type":b},brand:{"kx-scope":"button-brand","kx-type":b},"brand-outline":{"kx-scope":"button-outline","kx-type":b},destructive:{"kx-scope":"button-filled","kx-type":b},"destructive-text":{"kx-scope":"button-outline","kx-type":b},inverse:{"kx-scope":"button-outline","kx-type":b},success:{"kx-scope":"button-filled","kx-type":b}};function f(t){if(!t)return console.warn("getKineticsAttributes: variant is required"),[];const e=[],n=v[t];return Object.keys(n).forEach(t=>{e.push({name:t,value:n[t]})}),e}const g={},_={},k={},y={};function x(t){const e=t.getAttribute("kx-scope"),n=e?e.match(/^(\w+)/):null;return n?n[1]:""}function z(t){if(!t)return;const{offsetX:e,offsetY:n}=t;y.current={offsetX:e,offsetY:n}}function A(t){const{target:e}=t;V(e)}function V(t,e){const n=t.getAttribute("kx-type");function i(){!function(t){const e=function(t){if(E)return E;return E=function(){t.classList.remove(m),t.removeEventListener("animationend",E)},E}(t);t.removeEventListener("animationend",e),t.classList.remove(m),t.offsetWidth,t.addEventListener("animationend",e),t.classList.add(m)}(t)}e||(n!==p&&t.addEventListener("click",i),t.addEventListener("mouseleave",function e(){window.cancelAnimationFrame(_.current),t.removeEventListener("mousemove",z),t.removeEventListener("click",i),t.removeEventListener("mouseleave",e),setTimeout(()=>{!function(t){if(!t)return;const e=x(t);t.style.removeProperty(`--slds-kx-${e}-pointer-position-x`),t.style.removeProperty(`--slds-kx-${e}-pointer-position-y`)}(t)},250)}),t.addEventListener("mousemove",z)),void 0!==g.current&&(!function(t){if(!y.current||y.current===k.current)return;const{offsetX:e,offsetY:n}=y.current,i=x(t);t.style.setProperty(`--slds-kx-${i}-pointer-position-x`,`${e}px`),t.getAttribute("kx-type")!==p&&t.style.setProperty(`--slds-kx-${i}-pointer-position-y`,`${n}px`)}(t),k.current=y.current),g.current=e,_.current=window.requestAnimationFrame(e=>{V(t,e)})}let E;class S extends c.default{constructor(...t){super(...t),this._normalizedVariant="neutral",this._stretch=!1,this.name=void 0,this.value=void 0,this.label=void 0,this.tabIndex=void 0,this.originalVariant=void 0,this._connected=void 0,this.iconName=void 0,this.iconPosition="left",this._originalStretch=!1,this._normalizedStretch=!1,this.type="button",this._disableAnimation=!1}get variant(){return this.originalVariant}set variant(t){this.originalVariant=t,this._normalizedVariant=o.normalizeString(t,{fallbackValue:"neutral",validValues:["base","neutral","brand","brand-outline","destructive","destructive-text","inverse","success"]}),o.reflectAttribute(this,"variant",this._normalizedVariant)}get stretch(){return this._originalStretch}set stretch(t){this._originalStretch=t,this._normalizedStretch=o.normalizeBoolean(t),o.reflectAttribute(this,"stretch",this._normalizedStretch)}get disableAnimation(){return this._disableAnimation}set disableAnimation(t){this._disableAnimation=o.normalizeBoolean(t)}render(){return h}get computedButtonClass(){return s.classSet(super.computedButtonClass).add({"slds-button_neutral":"neutral"===this._normalizedVariant,"slds-button_brand":"brand"===this._normalizedVariant,"slds-button_outline-brand":"brand-outline"===this._normalizedVariant,"slds-button_destructive":"destructive"===this._normalizedVariant,"slds-button_text-destructive":"destructive-text"===this._normalizedVariant,"slds-button_inverse":"inverse"===this._normalizedVariant,"slds-button_success":"success"===this._normalizedVariant,"slds-button_stretch":this.stretch}).toString()}
385get normalizedType(){return o.normalizeString(this.type,{fallbackValue:"button",validValues:["button","reset","submit"]})}get normalizedIconPosition(){return o.normalizeString(this.iconPosition,{fallbackValue:"left",validValues:["left","right"]})}get showIconLeft(){return this.iconName&&"left"===this.normalizedIconPosition}get showIconRight(){return this.iconName&&"right"===this.normalizedIconPosition}get computedIconClass(){return s.classSet("slds-button__icon").add({"slds-button__icon_left":"left"===this.normalizedIconPosition,"slds-button__icon_right":"right"===this.normalizedIconPosition}).toString()}handleButtonFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleButtonBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleButtonClick(){if(!this.template.synthetic&&"submit"===this.normalizedType){const t=this.template.host.closest("form");t&&t.requestSubmit()}}focus(){this._connected&&this.button.focus()}click(){this._connected&&this.button.click()}get button(){return i.isServer?null:this.template.querySelector("button")}connectedCallback(){super.connectedCallback(),this.template.synthetic||this.setAttribute("data-render-mode","shadow"),this._connected||(o.reflectAttribute(this,"variant",this._normalizedVariant),this._connected=!0)}renderedCallback(){if(super.renderedCallback(),this.template.host.style.pointerEvents=this.disabled?"none":"",this.disabled||!o.hasAnimation()||this._disableAnimation){f(this._normalizedVariant).forEach(({name:t})=>{this.button.removeAttribute(t)})}else{f(this._normalizedVariant).forEach(({name:t,value:e})=>{this.button.setAttribute(t,e)}),(t=this.button)&&t.addEventListener("mouseenter",A)}var t}disconnectedCallback(){super.disconnectedCallback(),this._connected=!1}}S.delegatesFocus=!0,S.interopMap=void 0,e.registerDecorators(S,{publicProps:{name:{config:0},value:{config:0},label:{config:0},tabIndex:{config:0},variant:{config:3},iconName:{config:0},iconPosition:{config:0},stretch:{config:3}
385,type:{config:0},disableAnimation:{config:3}},publicMethods:["focus","click"],fields:["_normalizedVariant","_stretch","originalVariant","_connected","_originalStretch","_normalizedStretch","_disableAnimation"]});const C=e.registerComponent(S,{tmpl:h,sel:"interop-button",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});S.interopMap={exposeNativeEvent:{click:!0,focus:!0,blur:!0}},t.default=C,Object.defineProperty(t,"__esModule",{value:!0})});
386})();LWR.define('lightning/button', ['interop/button'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/colorPickerCustom",["exports","lwc","@salesforce/label/LightningColorPicker.bInput","@salesforce/label/LightningColorPicker.blueAbbr","@salesforce/label/LightningColorPicker.colorPickerInstructions","@salesforce/label/LightningColorPicker.errorMessage","@salesforce/label/LightningColorPicker.gInput","@salesforce/label/LightningColorPicker.greenAbbr","@salesforce/label/LightningColorPicker.hexLabel","@salesforce/label/LightningColorPicker.hueInput","@salesforce/label/LightningColorPicker.rInput","@salesforce/label/LightningColorPicker.redAbbr","@salesforce/client/formFactor","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/features","lightning/utilsInternal","lightning/inputUtils"],function(e,t,s,r,a,n,o,i,l,u,c,h,d,p,g,m,b,_){function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=v(s),y=v(r),C=v(a),x=v(n),w=v(o),$=v(i),k=v(l),P=v(u),M=v(c),A=v(h),F=v(d),L=v(p);var R=[function(){return""}];const I=t.parseFragment`<p${"a0:id"} class="slds-assistive-text${0}"${2}>${"t1"}</p>`,S=t.parseFragment`<canvas${"a0:width"}${"a0:height"}${3}></canvas>`,E=t.parseFragment`<button data-id="color-anchor" class="slds-color-picker__range-indicator${0}" style="position: absolute; display: inline;" aria-live="assertive" aria-atomic="true"${"a0:aria-describedby"} type="button"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span></button>`,D=t.parseFragment`<a data-id="color-anchor" href="javascript:void(0)" class="slds-color-picker__range-indicator${0}" style="position: absolute; display: inline;" aria-live="assertive" aria-atomic="true"${"a0:aria-describedby"} role="button"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span></a>`,T=t.parseFragment`<label class="slds-assistive-text${0}"${"a0:for"}${2}>${"t1"}</label>`,q=t.parseFragment`<span class="slds-swatch${0}" data-id="color-preview"${"s0"}${2}><span class="slds-assistive-text${0}" aria-hidden="true"${2}>${"t2"}</span></span>`,B=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}>${"t1"}</label>`,G=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}><abbr${"a1:title"}${3}>${"t2"}</abbr></label>`,V=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}><abbr${"a1:title"}${3}>${"t2"}</abbr></label>`,U=t.parseFragment`<label part="label" class="slds-form-element__label${0}"${"a0:for"}${2}><abbr${"a1:title"}${3}>${"t2"}</abbr></label>`,z=t.parseFragment`<div class="slds-form-element__help${0}" aria-live="assertive"${2}>${"t1"}</div>`,K={classMap:{"slds-color-picker__custom":!0},attrs:{part:"color-picker-custom"},key:0},N={"slds-m-bottom_small":!0},j={"data-id":"color-gradient"},H={classMap:{"slds-color-picker__hue-and-preview":!0},key:11},W={"slds-color-picker__hue-slider":!0},O={classMap:{"slds-color-picker__custom-inputs":!0},key:17},X={classMap:{"slds-form-element":!0,"slds-color-picker__input-custom-hex":!0},attrs:{part:"input-text"},key:18},Y={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:21},J={"slds-input":!0},Q={classMap:{"slds-form-element":!0},attrs:{part:"input-text"},key:23},Z={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:26},ee={classMap:{"slds-form-element":!0},attrs:{part:"input-text"},key:28},te={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:31},se={classMap:{"slds-form-element":!0},attrs:{part:"input-text"},key:33},re={classMap:{"slds-form-element__control":!0},attrs:{part:"input-container"},key:36};function ae(e,t,s,r){const{gid:a,d:n,sp:o,st:i,b:l,fr:u,h:c}=e,{_m0:h,_m1:d,_m2:p,_m3:g,_m4:m,_m5:b,_m6:_,_m7:v,_m8:f,_m9:y}=r;return[c("div",K,[i(I,2,[o(0,{attrs:{id:a("color-picker-instructions")}}
386,null),o(1,null,n(t.i18n.colorPickerInstructions))]),c("div",{classMap:N,style:t.gradientStyle,attrs:j,key:3,on:h||(r._m0={mousedown:l(t.handleMouseDown)})},[i(S,5,[o(0,{attrs:{width:t.canvasRect.x,height:t.canvasRect.y}},null)]),t.useButtonNotAnchor?u(6,[i(E,8,[o(0,{on:p||(r._m2={mousedrag:l(t.handlePreventDefault),mousedown:l(t.handlePreventDefault),keydown:l(t.handleKeydown)}),attrs:{"aria-describedby":a("color-picker-instructions")}},null),o(2,null,n(t._hex))])],0):u(6,[i(D,10,[o(0,{on:m||(r._m4={mousedrag:l(t.handlePreventDefault),mousedown:l(t.handlePreventDefault),keydown:l(t.handleKeydown)}),attrs:{"aria-describedby":a("color-picker-instructions")}},null),o(2,null,n(t._hex))])],0)]),c("div",H,[i(T,13,[o(0,{attrs:{for:a("rainbow")}},null),o(1,null,n(t.i18n.hueInput))]),c("input",{classMap:W,attrs:{"data-id":"hue-slider",type:"range",min:"0",max:"360",id:a("rainbow")},props:{value:t._hueValue},key:14,on:b||(r._m5={mousedown:l(t.handleDrag),change:l(t.onChange)})}),i(q,16,[o(0,{style:t.thumbnailStyle},null),o(2,null,n(t._hex))])]),c("div",O,[c("div",X,[i(B,20,[o(0,{attrs:{for:a("input")}}
386,null),o(1,null,n(t.i18n.hexLabel))]),c("div",Y,[c("input",{classMap:J,attrs:{"data-primary-input":"",type:"text",id:a("input"),part:"input",minlength:"4",maxlength:"7",pattern:"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",placeholder:"#FFFFFF"},props:{value:t._hex},key:22,on:_||(r._m6={change:l(t.handleHexChange)})})])]),c("div",Q,[i(G,25,[o(0,{attrs:{for:a("red")}},null),o(1,{attrs:{title:t.i18n.redAbbr}},null),o(2,null,n(t.i18n.rInput))]),c("div",Z,[c("input",{classMap:J,attrs:{type:"text",id:a("red"),"data-color-name":"red",part:"input",placeholder:"255"},props:{value:t._rgb.red},key:27,on:v||(r._m7={change:l(t.handleRgbChange)})})])]),c("div",ee,[i(V,30,[o(0,{attrs:{for:a("green")}},null),o(1,{attrs:{title:t.i18n.greenAbbr}},null),o(2,null,n(t.i18n.gInput))]),c("div",te,[c("input",{classMap:J,attrs:{type:"text",id:a("green"),"data-color-name":"green",part:"input",placeholder:"255"},props:{value:t._rgb.green},key:32,on:f||(r._m8={change:l(t.handleRgbChange)})})])]),c("div",se,[i(U,35,[o(0,{attrs:{for:a("blue")}},null),o(1,{attrs:{title:t.i18n.blueAbbr}},null),o(2,null,n(t.i18n.bInput))]),c("div",re,[c("input",{classMap:J,attrs:{type:"text",id:a("blue"),"data-color-name":"blue",part:"input",placeholder:"255"},props:{value:t._rgb.blue},key:37,on:y||(r._m9={change:l(t.handleRgbChange)})})])])]),t._errorMessage?i(z,39,[o(1,null,n(t._errorMessage))]):null])]}var ne=t.registerTemplate(ae);function oe(e){Array.isArray(e)&&e.length>0&&(e=e[0]),e&&e.length<=6&&"#"!==e.charAt(0)&&(e="#"+e);return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e)||(e="#000000"),4===e.length&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3)),e}function ie(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(oe(e));return t?{red:parseInt(t[1],16),green:parseInt(t[2],16),blue:parseInt(t[3],16)}:null}function le(e){const t=e.red,s=e.green,r=e.blue;return a=(t<<16|s<<8|r).toString(16).toUpperCase(),new Array(7-a.length).join("0")+a;var a}function ue(e){const t=e.red/255,s=e.green/255,r=e.blue/255,a=Math.max(t,s,r),n=Math.min(t,s,r);let o=(a+n)/2,i=0,l=0;if(a!==n)if(i=o<.5?(a-n)/(a+n):(a-n)/(2-a-n),t===a){l=(s-r)/(a-n)}else if(s===a){l=2+(r-t)/(a-n)}else{l=4+(t-s)/(a-n)}o*=100,i*=100,l*=60,l<0&&(l+=360);return{hue:l,saturation:i,lightness:o}}function ce(e,t){const s=function(e){const t=e.red/255,s=e.green/255,r=e.blue/255,a=Math.max(t,s,r),n=Math.min(t,s,r),o=a-n,i=0===a?0:o/a,l=a;let u,c,h;if(a===n)u=0;else{switch(a){case t:c=s-r,h=c/o,u=h+(s<r?6:0);break;case s:c=r-t,h=c/o,u=h+2;break;case r:c=t-s,h=c/o,u=h+4}u/=6}return{hue:360*u,saturation:100*i,brightness:100*l}}(e),r=s.saturation/100,a=s.brightness/100;return{x:t.x*r,y:t.y*(1-a)}}ae.stylesheets=[],ae.stylesheetToken="lwc-5mnumbh5e5i",ae.legacyStylesheetToken="lightning-colorPickerCustom_colorPickerCustom",R&&ae.stylesheets.push.apply(ae.stylesheets,R),t.freezeTemplate(ae);const{setContext:he,assertContext:de}=b.privateContext,pe={bInput:f.default,blueAbbr:y.default,colorPickerInstructions:C.default,errorMessage:x.default,gInput:w.default,greenAbbr:$.default,hexLabel:k.default,hueInput:P.default,rInput:M.default,redAbbr:A.default},ge={x:198,y:80};class me extends L.default{constructor(){super(),this._hueValue=null,this._rgb={red:"86",green:"121",blue:"192"},this._hex="#5679C0",this._errorMessage=null,this._currentColor=null,this._initialized=!1,this._mousedown=null,this._mouseup=null,this._mousemove=null,m.features.enableAssertContext260&&he(this),this.uniqueId=_.generateUniqueId()}renderedCallback(){this._initialized||(requestAnimationFrame(()=>{"Large"!==F.default?requestAnimationFrame(()=>this.focus()):this.focus()}),this.gradient(),this.handleUpdateAnchor(),this._initialized=!0)}get currentColor(){return this._currentColor}set currentColor(e){const t=oe(e);if(this._currentColor=e,this._hex=t,this._rgb=ie(t),this._canvas){const e=ue(this._rgb).hue,t=this.rgbToPosition(this._rgb),s=`#${le(this._rgb)}`;this.updateRainbow(e),this.setCanvasColor(e),this.setCanvasCursor(t.x,t.y),this.updateSelectedColor(s)}}focus(){this.anchorElement.focus()}get i18n(){return pe}get useButtonNotAnchor(){return m.features.colorPickerButtonNotAnchorTag}get thumbnailStyle(){return`background: ${this._hex||"hsl(220, 46%, 55%)"};`}get gradientStyle(){return"position: relative;"}get canvasRect(){return ge}get anchorElement(){return this.template.querySelector('*[data-id="color-anchor"]')}get thumbnailElement(){return this.template.querySelector('*[data-id="color-preview"]')}get gradientElement(){return this.template.querySelector('*[data-id="color-gradient"]')}handlePreventDefault(e){e.preventDefault()}selectColor(e){this.dispatchEvent(new CustomEvent("updatecolor",{bubbles:!0,composed:!0,cancelable:!0,detail:{color:e.target.innerText}}))}handleMouseDown(e){e.preventDefault(),this.onMouseDrag(e,!0)}handleDrag(e){this.onMouseDrag(e,!1)}onChange(){this.rainbowCursor()}parseAndLimit(e){let t=e;return!e||parseInt(e,10)<0||isNaN(e)?t=0:parseInt(e,10)>255&&(t=255),t}handleRgbChange(e){m.features.enableAssertContext260&&de(this);const t=e.currentTarget,s=this.parseAndLimit(t.value);t.value=s;const r=t.getAttribute("data-color-name");"red"===r?this._rgb.red=s:"green"===r?this._rgb.green=s:"blue"===r&&(this._rgb.blue=s);const a=this._rgb,n=ue(a).hue,o=this.rgbToPosition(a),i=`#${le(a)}`;this.updateRainbow(n),this.setCanvasColor(n),this.setCanvasCursor(o.x,o.y),this.updateSelectedColor(i)}handleHexChange(e){if(e.srcElement.validity.valid){const t=oe(e.target.value);this.classList.remove("slds-has-error"),this._errorMessage=null;const s=ie(t);this._rgb=s;const r=ue(s).hue,a=this.rgbToPosition(s);this.updateRainbow(r),this.setCanvasColor(r),this.setCanvasCursor(a.x,a.y),this.updateSelectedColor(t)}else e.srcElement.classList.add("slds-has-error"),this._errorMessage=_.getErrorMessage(e.srcElement.validity,{patternMismatch:this.i18n.errorMessage})}updateSelectedColor(e){this.template.querySelector("[data-primary-input]").classList.remove("slds-has-error"),this._errorMessage=null,this._hex=e,this.dispatchEvent(new CustomEvent("updateselectedcolor",{bubbles:!0,composed:!0,cancelable:!0,detail:{color:e}}))}onMouseDrag(e,t){const s=this;let r=!1;t?this.getColorFromGradient(e):this.rainbowCursor(),this._mousedown&&this._mousemove&&this._mouseup||(s._mousedown=function(){r=!0,this._cursorActive=!0},s._mouseup=function(){r=!1,this._cursorActive=!1,window.removeEventListener("mousedown",s._mousedown),window.removeEventListener("mouseup",s._mouseup),window.removeEventListener("mousemove",s._mousemove),s._mousedown=null,s._mouseup=null,s._mousemove=null},s._mousemove=function(e){r&&t?s.getColorFromGradient(e):r&&s.rainbowCursor()},window.addEventListener("mousedown",s._mousedown),window.addEventListener("mouseup",s._mouseup),window.addEventListener("mousemove",s._mousemove))}gradient(){const e=ue(this._rgb).hue;this.canvasContext(),this.setCanvasColor(e),this.updateRainbow(e)}getColorFromGradient(e){let t;if("keydown"===e.type&&"Tab"!==e.key)t=this.gradientCursorPositionFromKeydown(e);else{if("mousedown"!==e.type&&"mousemove"!==e.type)return;t=this.gradientCursorPosition(e)}const s=t.x,r=t.y;this.setCanvasColor(this._hueValue),this.setRGBValues(s,r)}rainbowCursor(){const e=this.template.querySelector('*[data-id="hue-slider"]'),t=this._cachePosition||this.rgbToPosition(this._rgb);this.setCanvasColor(e.value),this.setRGBValues(t.x,t.y),this.updateRainbow(e.value)}updateRainbow(e){this._hueValue=e}
386handleUpdateAnchor(){const e=this._cachePosition||this.rgbToPosition(this._rgb),t=this.anchorElement,s=t.offsetWidth/2,r=e.x-s+5,a=e.y-s-5,n=r/this._canvas.width*100,o=a/this._canvas.height*100;t.style.left=`${n}%`,t.style.top=`${o}%`}gradientCursorPosition(e){const t=this._canvas.getBoundingClientRect();let s=e.clientX-t.left,r=e.clientY-t.top;return s>t.width&&(s=t.width-1),s<0&&(s=0),r>t.height&&(r=t.height),r<0&&(r=0),this._cachePosition={x:s,y:r},{x:s,y:r}}gradientCursorPositionFromKeydown(e){e.preventDefault();const t=this._canvas.getBoundingClientRect(),s=e.keyCode;let r,a;this._cachePosition||(this._cachePosition=this.rgbToPosition(this._rgb));const n={};n[g.keyCodes.left]={x:-1,y:0},n[g.keyCodes.up]={x:0,y:-1},n[g.keyCodes.right]={x:1,y:0},n[g.keyCodes.down]={x:0,y:1};const o=n[s]?n[s]:{x:0,y:0};return r=this._cachePosition.x+o.x,a=this._cachePosition.y+o.y,r>t.width&&(r=t.width-1),r<0&&(r=0),a>t.height&&(a=t.height),a<0&&(a=0),this._cachePosition={x:r,y:a},{x:r,y:a}}setRGBValues(e,t){const s=this._canvasCtx.getImageData(e,t,1,1).data,r={red:s[0],green:s[1],blue:s[2]},a=`#${le(r)}`;this._rgb=r,this.updateSelectedColor(a),this.handleUpdateAnchor()}setCanvasColor(e){const t=this._canvasCtx,s=t.createLinearGradient(1,0,this.canvasRect.x-1,0);s.addColorStop(0,"rgb(255,255,255)"),s.addColorStop(1,"hsl("+e+", 100%, 50%)"),t.fillStyle=s,t.fillRect(0,0,this.canvasRect.x,this.canvasRect.y);const r=t.createLinearGradient(0,1,0,this.canvasRect.y);r.addColorStop(0,"rgba(0,0,0,0)"),r.addColorStop(1,"rgb(0,0,0)"),t.fillStyle=r,t.fillRect(0,0,this.canvasRect.x,this.canvasRect.y)}setCanvasCursor(e,t){const s=e,r=t,a=this.anchorElement,n=a.offsetWidth/2;t=r-n-5;const o=(e=s-n+5)/this._canvas.width*100,i=t/this._canvas.height*100;a.style.left=`${o}%`,a.style.top=`${i}%`}canvasContext(){this._canvas=this.template.querySelector("canvas"),this._canvasCtx=this._canvas.getContext("2d"),this._cursorActive=!1}handleKeydown(e){this.getColorFromGradient(e)}rgbToPosition(e){return ce(e,this.canvasRect)}}t.registerDecorators(me,{publicProps:{currentColor:{config:3}},publicMethods:["focus"],track:{_hueValue:1,_rgb:1,_hex:1,_errorMessage:1,_currentColor:1},fields:["_initialized","_mousedown","_mouseup","_mousemove"]});const be=t.registerComponent(me,{tmpl:ne,sel:"lightning-color-picker-custom",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=be,Object.defineProperty(e,"__esModule",{value:!0})});
387})();(function() { LWR.define("lightning/colorPickerPanel",["exports","lwc","lightning/colorPickerCustom","lightning/button","@salesforce/label/LightningColorPicker.cancelButton","@salesforce/label/LightningColorPickerPanel.customTab","@salesforce/label/LightningColorPickerPanel.defaultTab","@salesforce/label/LightningColorPicker.doneButton","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/features"],function(e,t,o,l,s,r,a,n,i,c,d,u){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(o),g=h(l),C=h(s),f=h(r),b=h(a),m=h(n),k=h(i);var _=[[function(e,t,o){var l=e?"["+e+"]":"";return(t?":host:not([data-render-mode]) .fix-slds-color-picker__selector-footer":(e?"["+e+"-host]":"")+":not([data-render-mode]) .fix-slds-color-picker__selector-footer")+l+" > lightning-button"+l+" {flex: 1;}"}],function(){return""}];const v={"slds-popover":!0,"slds-color-picker__selector":!0,"slds-show":!0,"slds-is-absolute":!0},y={"slds-popover__body":!0},P={classMap:{"slds-popover__footer":!0},key:3},T={classMap:{"slds-color-picker__selector-footer":!0,"fix-slds-color-picker__selector-footer":!0},key:4},S={"slds-m-left_x-small":!0};function E(e,t,o,l){const{gid:s,b:r,c:a,h:n}=e,{_m0:i,_m1:c,_m2:d}=l;return[n("section",{classMap:v,attrs:{role:"dialog","aria-label":"Choose a color","aria-modal":"true","aria-describedby":s("dialog-body-id")},key:0,on:i||(l._m0={updateselectedcolor:r(t.handleUpdateSelectedColor),keydown:r(t.handleKeydown)})},[n("div",{classMap:y,attrs:{tabindex:"0",id:s("dialog-body-id"),role:"application"},key:1},[a("lightning-color-picker-custom",p.default,{props:{currentColor:t.currentColor},key:2})]),n("footer",P,[n("div",T,[a("lightning-button",g.default,{props:{label:t.i18n.cancelButton,name:"cancel",stretch:!0}
387,key:5,on:c||(l._m1={click:r(t.handleCancelClick)})}),a("lightning-button",g.default,{classMap:S,props:{variant:"brand",label:t.i18n.doneButton,name:"done",stretch:!0},key:6,on:d||(l._m2={click:r(t.handleDoneClick)})})])])])]}var D=t.registerTemplate(E);E.stylesheets=[],E.stylesheetToken="lwc-40plt1npuv1",E.legacyStylesheetToken="lightning-colorPickerPanel_colorPickerPanel",_&&E.stylesheets.push.apply(E.stylesheets,_),t.freezeTemplate(E);const w={cancelButton:C.default,customTab:f.default,defaultTab:b.default,doneButton:m.default};class x extends k.default{constructor(...e){super(...e),this.currentColor=void 0,this._isCustomTabActive=!1,this._selectedColor=null}connectedCallback(){super.connectedCallback(),this._selectedColor=this.currentColor||"#000000"}get i18n(){return w}get computedClassDefault(){return c.classSet({"slds-tabs_default__item":!0,"slds-is-active":!this._isCustomTabActive}).toString()}get computedClassCustom(){return c.classSet({"slds-tabs_default__item":!0,"slds-is-active":this._isCustomTabActive}).toString()}get ariaSelectedDefault(){return!this._isCustomTabActive.toString()}get ariaSelectedCustom(){return this._isCustomTabActive.toString()}handleTabChange(e){e.preventDefault();const t=e.currentTarget;t.classList.contains("slds-is-active")||(this._isCustomTabActive=t.title!==w.defaultTab)}handleUpdateSelectedColor(e){this._selectedColor=e.detail.color}dispatchUpdateColorEventWithColor(e){this.dispatchEvent(new CustomEvent("updatecolor",{composed:!0,bubbles:!0,detail:{color:e}}))}handleDoneClick(){this.dispatchUpdateColorEventWithColor(this._selectedColor)}handleCancelClick(){this.dispatchUpdateColorEventWithColor(this.currentColor)}handleKeydown(e){e.keyCode===d.keyCodes.escape?(e.preventDefault(),u.features.enableColorPickerEscapeStopPropagation&&e.stopPropagation(),this.dispatchUpdateColorEventWithColor(this.currentColor)):e.shiftKey&&e.keyCode===d.keyCodes.tab&&"color-anchor"===e.srcElement.dataset.id?(e.preventDefault(),this.template.querySelector('button[name="done"]').focus()):e.shiftKey||e.keyCode!==d.keyCodes.tab||"done"!==e.srcElement.name||(e.preventDefault(),this.template.querySelector("lightning-color-picker-custom").focus())}}t.registerDecorators(x,{publicProps:{currentColor:{config:0}},track:{_isCustomTabActive:1,_selectedColor:1}});const A=t.registerComponent(x,{tmpl:D,sel:"lightning-color-picker-panel",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=A,Object.defineProperty(e,"__esModule",{value:!0})});
388})();(function() { LWR.define("lightning/primitiveColorpickerButton",["exports","lwc","lightning/primitiveIcon","lightning/colorPickerPanel","@salesforce/label/LightningColorPicker.a11yTriggerText","@salesforce/label/LightningColorPicker.a11yDefaultText","lightning/shadowBaseClassPrivate","lightning/positionLibrary","lightning/utilsPrivate"],function(t,e,i,o,s,l,n,r,a){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=c(i),p=c(o),d=c(s),h=c(l),g=c(n);var b=[function(){return""}];const P=e.parseFragment`<span class="slds-swatch${0}" data-id="thumbnail"${"s0"}${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span></span>`,v=e.parseFragment`<span class="slds-assistive-text a11y-color-value${0}"${2}>${"t1"}</span>`,k={"slds-button":!0,"slds-color-picker__summary-button":!0,"slds-button_icon":!0,"slds-button_icon-more":!0},_={props:{iconName:"utility:down",svgClass:"slds-button__icon slds-button__icon_small",variant:"bare"},key:3},m={"color-picker-panel":!0};function y(t,e,i,o){const{b:s,d:l,sp:n,st:r,c:a,h:c}=t,{_m0:d,_m1:h}=o;return[c("button",{classMap:k,attrs:{type:"button",part:"color-picker-button",disabled:e.disabled?"":null,"aria-disabled":e.ariaDisabled},key:0,on:d||(o._m0={click:s(e.handleColorPickerToggleClick)})},[r(P,2,[n(0,{style:e.colorInputStyle},null),n(2,null,l(e.i18n.a11yTriggerText))]),a("lightning-primitive-icon",u.default,_),r(v,5,[n(1,null,l(e.assistiveValue))])]),e._isColorPickerPanelOpen?a("lightning-color-picker-panel",p.default,{classMap:m,props:{currentColor:e.value}
388,key:6,on:h||(o._m1={updatecolor:s(e.handleUpdateColorEvent)})}):null]}var f=e.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-1ob50kcdi1r",y.legacyStylesheetToken="lightning-primitiveColorpickerButton_primitiveColorpickerButton",b&&y.stylesheets.push.apply(y.stylesheets,b),e.freezeTemplate(y);const C={a11yTriggerText:d.default,a11yDefaultText:h.default};class T extends g.default{constructor(...t){super(...t),this._isColorPickerPanelOpen=!1,this._value="",this._disabled=!1,this.ariaDisabled=void 0}get value(){return this._value}set value(t){this._value=t}get assistiveValue(){return this.value?this.value:this.i18n.a11yDefaultText}get disabled(){return this._disabled}set disabled(t){this._disabled=a.normalizeBoolean(t),a.reflectAttribute(this,"disabled",this.disabled)}focus(){const t=this.template.querySelector("button");return t&&t.focus()}blur(){const t=this.template.querySelector("button");return t&&t.blur()}get colorInputStyle(){return`background: ${this.value||"#5679C0"};`}handleColorPickerToggleClick(t){t.preventDefault(),this._isColorPickerPanelOpen=!this._isColorPickerPanelOpen,this._isColorPickerPanelOpen?this.startColorPickerPositioning():this.stopColorPickerPositioning()}startColorPickerPositioning(){this._autoPosition||(this._autoPosition=new r.AutoPosition(this)),this._autoPosition.start({target:()=>this.template.querySelector("button.slds-color-picker__summary-button"),element:()=>this.template.querySelector("lightning-color-picker-panel").shadowRoot.querySelector("section"),align:{horizontal:r.Direction.Left,vertical:r.Direction.Top},targetAlign:{horizontal:r.Direction.Left,vertical:r.Direction.Bottom},autoFlip:!0})}stopColorPickerPositioning(){this._autoPosition&&this._autoPosition.stop()}handleUpdateColorEvent(t){t.stopPropagation();const e=t.detail;this._isColorPickerPanelOpen=!1,this.stopColorPickerPositioning(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}get i18n(){return C}}T.delegatesFocus=!0,e.registerDecorators(T,{publicProps:{ariaDisabled:{config:0},value:{config:3},assistiveValue:{config:1},disabled:{config:3}},publicMethods:["focus","blur"],track:{_isColorPickerPanelOpen:1,_value:1,_disabled:1}});const D=e.registerComponent(T,{tmpl:f,sel:"lightning-primitive-colorpicker-button",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=D,Object.defineProperty(t,"__esModule",{value:!0})});
389})();(function() { LWR.define("lightning/primitiveInputColor",["exports","lwc","lightning/helptext","lightning/primitiveColorpickerButton","lightning/shadowBaseClassPrivate","lightning/utils","lightning/inputUtils","lightning/utilsPrivate","lightning/utilsInternal","lightning/features"],function(e,t,i,a,l,s,n,r,o,h){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(i),c=d(a),p=d(l);var v=[function(){return""},function(e,t,i){return(t?":host(:not([invalid])) .slds-form-element__help":(e?"["+e+"-host]":"")+":not([invalid]) .slds-form-element__help")+(e?"["+e+"]":"")+" {margin-top: 0px !important;}"}];const g=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"}${2}>*</abbr>`,m=t.parseFragment`<div class="slds-color-picker__summary-input${0}" part="input-container"${2}><input type="text"${"a1:id"} class="slds-input${0}" part="input"${"a1:name"}${"a1:autocomplete"}${"a1:accesskey"}${"a1:aria-label"}${"a1:aria-invalid"}${"a1:aria-keyshortcuts"}${"a1:aria-disabled"}${"a1:aria-required"}${"a1:disabled"} minlength="4" maxlength="7"${"a1:placeholder"}${"a1:pattern"}${2}></div>`,b=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,f={classMap:{"slds-color-picker":!0},attrs:{part:"color-picker"},key:0},E={classMap:{"slds-form-element":!0,"slds-color-picker__summary":!0},key:1},y={classMap:{"slds-form-element__control":!0},attrs:{part:"input-text"},key:6},C={"slds-form-element__help":!0};function _(e,t,i,a){const{ncls:l,gid:s,sp:n,st:r,d:o,t:h,h:d,c:p,b:v}=e,{_m0:_,_m1:x}=a;return[d("div",f,[d("div",E,[t.hasExternalLabel?null:d("label",{className:l(t.computedColorLabelClass),attrs:{for:s("color")},key:2},[t.required?r(g,4,[n(0,{attrs:{title:t.required}},null)]):null,h(o(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?p("lightning-helptext",u.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:5}):null,d("div",y,[p("lightning-primitive-colorpicker-button",c.default,{props:{value:t.value,disabled:t.disabled,ariaDisabled:t.ariaDisabled},key:7,on:_||(a._m0={blur:v(t.handleBlur),focus:v(t.handleFocus),change:v(t.handleColorChange)})}),r(m,9,[n(1,{on:x||(a._m1={blur:v(t.handleBlur),focus:v(t.handleFocus),change:v(t.handleChange),input:v(t.handleInput)}),attrs:{id:s("color"),name:t.name,autocomplete:t.autocomplete,accesskey:t.accessKey,"aria-label":t.ariaLabel,"aria-invalid":t.ariaInvalid,"aria-keyshortcuts":t.ariaKeyShortcuts,"aria-disabled":t.ariaDisabled,"aria-required":t.required,disabled:t.disabled?"":null,placeholder:t.placeholder,pattern:t.pattern}},null)])])])]),d("div",{classMap:C,attrs:{id:s("help-message"),"data-name":t.name,"data-help-message":"",part:"help-text",role:"status"},key:10},[t.helpMessage?r(b,12,[n(1,null,o(t.label))]):null,t.helpMessage?h(o(t.helpMessage)):null])]}var x=t.registerTemplate(_);_.stylesheets=[],_.stylesheetToken="lwc-3oouck6ago4",_.legacyStylesheetToken="lightning-primitiveInputColor_primitiveInputColor",v&&_.stylesheets.push.apply(_.stylesheets,v),t.freezeTemplate(_);const{setContext:k,assertContext:$}=o.privateContext;class I extends p.default{constructor(){super(),this.hasExternalLabel=void 0,this.required=void 0,this.accessKey=void 0,this.label=void 0,this.fieldLevelHelp=void 0,this.helptextAlternativeText=void 0,this.helpMessage=void 0,this.disabled=void 0,this.name=void 0,this.autocomplete=void 0,this.ariaLabel=void 0,this.ariaInvalid=void 0,this.ariaDisabled=void 0,this.ariaKeyShortcuts=void 0,this.placeholder=void 0,this.pattern=void 0,this.variant=void 0,this._value="",this.rendered=!1,this.initialValueSet=!1,h.features.enableAssertContext260&&k(this)}focus(){this.rendered&&this.inputElement.focus()}get value(){return this._value}set value(e){this._value=this.normalizeInput(e),this.rendered&&this.inputElement.value!==this._value&&this.setInputValue(this._value)}get inputElement(){if(!this.cachedInputElement){let e=this.template.querySelector("input");this.cachedInputElement=e}return this.cachedInputElement}get ariaDescribedByElements(){return this.template.querySelector("[data-help-message]")}get ariaErrorMessageElement(){return this.template.querySelector("[data-help-message]")}get isNativeShadow(){return this._isNativeShadow}connectedCallback(){super.connectedCallback(),this._isNativeShadow=r.isNativeComponent(this)}disconnectedCallback(){this.rendered=!1,this.initialValueSet=!1,this.cachedInputElement=void 0}renderedCallback(){this.rendered=!0,this.initialValueSet||(this.inputElement.value=this._value,this.initialValueSet=!0),r.reflectAttribute(this,"disabled",this.disabled),r.reflectAttribute(this,"invalid",!!this.helpMessage),r.reflectAttribute(this,"variant",this.variant)}get computedColorLabelClass(){return s.classSet("slds-form-element__label slds-color-picker__summary-label").add({"slds-assistive-text":this.isLabelHidden})}get isLabelHidden(){return this.variant===n.VARIANT.LABEL_HIDDEN}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleChange(e){e.stopPropagation(),this.dispatchCommitEvent(),this.dispatchChangeEvent()}handleColorChange(e){const t=e.detail.color;t!==this.inputElement.value&&(this.setInputValue(t),this._value=t,this.focus(),this.dispatchChangeEventWithDetail({value:t}),this.dispatchCommitEvent()),this.template.querySelector("lightning-primitive-colorpicker-button").focus()}handleInput(e){e.stopPropagation(),this.dispatchChangeEvent()}dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}dispatchChangeEvent(){const e={value:this.inputElement.value};this._value=e.value,this.dispatchChangeEventWithDetail(e)}
389dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}setInputValue(e){h.features.enableAssertContext260&&$(this),this.inputElement.value=e}normalizeInput(e){return"number"==typeof e||"string"==typeof e?String(e):""}}t.registerDecorators(I,{publicProps:{hasExternalLabel:{config:0},required:{config:0},accessKey:{config:0},label:{config:0},fieldLevelHelp:{config:0},helptextAlternativeText:{config:0},helpMessage:{config:0},disabled:{config:0},name:{config:0},autocomplete:{config:0},ariaLabel:{config:0},ariaInvalid:{config:0},ariaDisabled:{config:0},ariaKeyShortcuts:{config:0},placeholder:{config:0},pattern:{config:0},variant:{config:0},value:{config:3},inputElement:{config:1},ariaDescribedByElements:{config:1},ariaErrorMessageElement:{config:1},isNativeShadow:{config:1}},publicMethods:["focus"],fields:["_value","rendered","initialValueSet"]});const S=t.registerComponent(I,{tmpl:x,sel:"lightning-primitive-input-color",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=S,Object.defineProperty(e,"__esModule",{value:!0})});
390})();(function() { LWR.define("lightning/focusUtils",["exports","lightning/tooltipLibrary"],function(t,e){const n=/^input$|^select$|^textarea$|^a$|^button$/;function o(t,e){if(!t)return;if(t.nodeType===Node.ELEMENT_NODE){if(t.hasAttribute("inert"))return;if(function(t){return"IFRAME"===t.tagName||t instanceof HTMLIFrameElement}(t))return void(t.contentDocument?o(t.contentDocument,e):e&&e(t));if(e&&e(t),t.shadowRoot)return void o(t.shadowRoot,e);if("slot"===t.localName){const n=t.assignedNodes({flatten:!0});for(let t=0;t<n.length;t++)o(n[t],e);return}}let n=t.firstChild;for(;null!==n;)o(n,e),n=n.nextSibling}const r=["button","select","textarea","input"],i=["a","select","textarea","input","button","iframe","object","area","frame"];const u=t=>"tooltip"===t.getAttribute("role"),c=t=>t.classList.contains("ignore-autofocus"),a=t=>{const n="button"===t.tagName.toLowerCase(),o=t.getAttribute("aria-describedby"),r=!!o&&0===String(o).indexOf(e.BUBBLE_PREFIX);return n&&r},s=t=>{if(!t)return!1;return![u(t),a(t),c(t)].some(t=>!0===t)};t.filterTooltips=function(t){return t&&Array.isArray(t)&&t.length>0?t.filter(s):[]},t.findAllFocusableNodes=function(t){const e=[];return o(t,t=>{n.test(t.tagName.toLowerCase())&&e.push(t)}),e},t.findAllTabbableElements=function(t){const e=[];return o(t,n=>{try{(function({element:t,rootContainer:e}){const n=t.localName;if("input"===n&&"hidden"===n.type)return!1;const o=t.getAttribute("tabindex");if("-1"===o)return!1;if(t.disabled&&r.includes(t.localName))return!1;const u="0"===o||0===t.tabIndex&&i.includes(t.localName);return u&&function(t){const{width:e,height:n}=t.getBoundingClientRect();return(e>0||n>0)&&"hidden"!==getComputedStyle(t).visibility}(t)&&function({element:t,rootContainer:e}){const n=e.getRootNode(),o=t.ownerDocument;let r=t.getRootNode();for(;r!==n&&r!==o;){const t=r.host;if("-1"===t.getAttribute("tabindex"))return!1;r=t&&t.getRootNode()}return!0}({element:t,rootContainer:e})})({element:n,rootContainer:t})&&e.push(n)}catch(t){console.warn(t)}}),e},t.getElementWithFocus=function(){let t=document.activeElement;for(;t;)if(t.shadowRoot){const e=t.shadowRoot.activeElement;if(!e)return t;t=e}else{if(!t.contentDocument)return t;{const e=t.contentDocument.activeElement;if(!e)return t;t=e}}},t.returnFocusToElement=function(t){const e=document.body.contains(t);if(t){if(e)return t.focus(),!0;const n=function(t){let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof DocumentFragment?e.parentNode.host:e.parentNode}return!1}(t);if(n)return t.focus(),!0}return!1},Object.defineProperty(t,"__esModule",{value:!0})});
391})();(function() { LWR.define("lightning/focusTrap",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/focusUtils"],function(e,t,s,n){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(s);var a=[function(e,t,s){var n=e?"["+e+"]":"";return"div[data-start]"+n+",div[data-end]"+n+" {position: fixed;top: 1rem;left: 1rem;}"}];const l=t.parseFragment`<div${"a0:tabindex"} data-start${3}></div>`,d=t.parseFragment`<div${"a0:tabindex"} data-end${3}></div>`,u=[];function r(e,t,s,n){const{ti:i,b:o,sp:a,st:r,s:c}=e,{_m0:_,_m1:h,_m2:f,_m3:m,_m4:p}=n;return[r(l,1,[a(0,{on:h||(n._m1={focus:o(t._focusLastElement)}),attrs:{tabindex:i(t._bookendTabIndex)}},null)]),c("",{key:2,on:f||(n._m2={focusin:o(t._handleFocusIn),focusout:o(t._handleFocusOut)})},u,s),r(d,4,[a(0,{on:p||(n._m4={focus:o(t._focusFirstElement)}),attrs:{tabindex:i(t._bookendTabIndex)}},null)])]}var c=t.registerTemplate(r);r.slots=[""],r.stylesheets=[],r.stylesheetToken="lwc-654o76jjrnk",r.legacyStylesheetToken="lightning-focusTrap_focusTrap",a&&r.stylesheets.push.apply(r.stylesheets,a),t.freezeTemplate(r);class _ extends o.default{constructor(...e){super(...e),this._startNode=void 0,this._endNode=void 0,this._focused=!1,this._initialized=!1,this._pendingFocusOut=!1}renderedCallback(){this._initialized||(this._initialized=!0,this._startNode=this.template.querySelector("[data-start]"),this._endNode=this.template.querySelector("[data-end]"))}focus(){this._focused||this._focusFirstElement()}get _bookendTabIndex(){return this._focused?"0":"-1"}
391_handleFocusIn(){this._pendingFocusOut&&(this._pendingFocusOut=!1),this._focused=!0}_handleFocusOut(){this._pendingFocusOut=!0,requestAnimationFrame(()=>{this._pendingFocusOut&&(this._focused=!1)})}_moveFocusTo(e){const t=this._getFocusableElements();if(t.length>0){let s;"last"===e?s=t[t.length-1]:"first"===e&&(s=t[0]),s.focus()}}_focusFirstElement(){this._moveFocusTo("first")}_focusLastElement(){this._moveFocusTo("last")}_getFocusableElements(){return n.findAllTabbableElements(this.template.querySelector("slot"))}}t.registerDecorators(_,{publicMethods:["focus"],fields:["_startNode","_endNode","_focused","_initialized","_pendingFocusOut"]});const h=t.registerComponent(_,{tmpl:c,sel:"lightning-focus-trap",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
392})();(function() { LWR.define("interop/select",["exports","lwc","lightning/helptext","lwr/environment","@salesforce/label/LightningControl.required","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/inputUtils","lightning/ariaObserver","lightning/features"],function(e,t,s,i,l,a,r,n,d,o,h,c,u){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=p(s),v=p(l),_=p(a),b=p(r),m=p(c);var y=[function(){return""}];const f=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} part="required"${2}>*</abbr>`,L=t.parseFragment`<option disabled${"a0:value"}${3}>${"t1"}</option>`,A=t.parseFragment`<option${"a0:value"}${3}>${"t1"}</option>`,M=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,C=t.parseFragment`<div${"a0:id"} data-help-message class="slds-form-element__help${0}"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,B={classMap:{"slds-form-element__control":!0},key:4},S={classMap:{"slds-select_container":!0},key:5},V={"slds-select":!0},E={attrs:{role:"status"},key:12},O={"slds-form-element__help":!0},x=[],D={attrs:{role:"status"},key:17};function k(e,t,s,i){const{ncls:l,gid:a,sp:r,st:n,d:d,t:o,h:h,c:c,b:u,k:p,i:v,fr:_}=e,{_m0:b}=i;return[h("label",{className:l(t.computedLabelClass),attrs:{for:a("select"),part:"select-label"},key:0},[t.required?n(f,2,[r(0,{attrs:{title:t.i18n.required}},null)]):null,o(d(t.label))]),t.fieldLevelHelp?c("lightning-helptext",g.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:3}):null,h("div",B,[h("div",S,[h("select",{classMap:V,attrs:{autocomplete:t.autocomplete,disabled:t.disabled?"":null,id:a("select"),multiple:t.multiple?"":null,name:t.name,required:t.required?"":null,accesskey:t.accessKey,size:t.size,"aria-invalid":t.computedAriaInvalid,part:"select"},key:6,on:b||(i._m0={blur:u(t.handleBlur),change:u(t.handleChange),focus:u(t.handleFocus)})},v(t.options,function(e){return[e.disabled?n(L,p(8,e.value),[r(0,{attrs:{value:e.value}},null),r(1,null,d(e.label))]):null,e.disabled?null:n(A,p(10,e.value),[r(0,{attrs:{value:e.value}},null),r(1,null,d(e.label))])]}))])]),t.isFixStaticErrorDOMEnabled?_(11,[h("div",E,[h("div",{classMap:O,attrs:{id:a("help-message-err"),"data-help-message":""},key:13},[t._helpMessage?_(14,[n(M,16,[r(1,null,d(t.label))]),o(d(t._helpMessage))],0):_(14,x,0)])])],0):_(11,[h("div",D,[t._helpMessage?n(C,19,[r(0,{attrs:{id:a("help-message")}},null),r(2,null,d(t.label)),r(3,null,d(t._helpMessage))]):null])],0)]}var q=t.registerTemplate(k);k.stylesheets=[],k.stylesheetToken="lwc-184g1ot50fv",k.legacyStylesheetToken="interop-select_select",y&&k.stylesheets.push.apply(k.stylesheets,y),t.freezeTemplate(k);const{setContext:I,assertContext:T}=o.privateContext,$={required:v.default,helpTextAlternativeText:_.default};class w extends b.default{constructor(){super(),this.label=void 0,this.name=void 0,this.messageWhenValueMissing=void 0,this.accessKey=void 0,this.autocomplete=void 0,this._options=[],this._helpMessage="",this._selectedValue=void 0,this._variant=void 0,this._required=!1,this._disabled=!1,this._multiple=!1,this._fieldLevelHelp=void 0,this._size=void 0,this._ariaDescribedBy="",this._ariaLabelledBy="",this._helpMessageChanged=!1,this.ariaObserver=null,this._isNativeShadow=void 0,this._connected=void 0,this._rendered=void 0,this.interactingState=void 0,this.customErrorMessage=void 0,this._constraintApi=void 0,I(this),this.ariaObserver=new m.default(this),this._isNativeShadow=d.isNativeComponent(this)}connectedCallback(){T(this),super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new m.default(this)),this._connected=!0,this.classList.add("slds-form-element"),this.updateClassList(),this.interactingState=new h.InteractingState,this.interactingState.onleave(()=>this.reportValidity())}renderedCallback(){T(this),this.isConnected&&this.ariaObserver.sync(this._isNativeShadow),this._rendered||(this.connectAriaDescribedBy(),this.connectAriaLabelledBy(),this._rendered=!0),this.options&&void 0!==this._selectedValue&&this.selectOptionsByValue(this._selectedValue),this._helpMessageChanged&&(this.connectAriaDescribedBy(),this._helpMessageChanged=!1)}disconnectedCallback(){this._connected=!1,this.ariaObserver&&this.ariaObserver.disconnect&&(this.ariaObserver.disconnect(),this.ariaObserver=null)}get computedAriaInvalid(){return!!this._helpMessage||void 0}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get variant(){return this._variant||h.VARIANT.STANDARD}set variant(e){this._variant=h.normalizeVariant(e),this.updateClassList(),d.reflectAttribute(this,"variant",this._variant)}get multiple(){return this._multiple}set multiple(e){this._multiple=d.normalizeBoolean(e),d.reflectAttribute(this,"multiple",this._multiple)}get size(){return this.multiple?void 0===this._size?"4":this._size:null}set size(e){this._size=e}get required(){return this._required}set required(e){this._required=d.normalizeBoolean(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=d.normalizeBoolean(e)}get value(){return this._selectedValue}set value(e){this._selectedValue=e,this.isConnected&&this.selectOptionsByValue(e)}get options(){return this._options}set options(e){T(this),this._options=e,this.isConnected&&e&&this.selectOptionsByValue(this._selectedValue)}get ariaDescribedBy(){return this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e,this.connectAriaDescribedBy()}get ariaLabelledBy(){return this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e,this.connectAriaLabelledBy()}updateClassList(){d.classListMutation(this.classList,{"slds-form-element_stacked":this.variant===h.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===h.VARIANT.LABEL_INLINE})}focus(){this.isConnected&&this.selectElement.focus()}blur(){this.isConnected&&this.selectElement.blur()}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}setCustomValidity(e){this._constraint.setCustomValidity(e),this.customErrorMessage=e}reportValidity(){return this._constraint.reportValidity(e=>{this._helpMessage=e,this._helpMessageChanged=!0})}showHelpMessageIfInvalid(){const e=this.validity;e.valid?(this._helpMessage="",this.classList.remove("slds-has-error")):(this.classList.add("slds-has-error"),this._helpMessage=h.getErrorMessage(e,{valueMissing:this.messageWhenValueMissing,customError:this.customErrorMessage}),this._helpMessageChanged=!0)}get i18n(){return $}get selectElement(){return this.template.querySelector("select")}get isLabelHidden(){return this.variant===h.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return n.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get _constraint(){return this._constraintApi||(this._constraintApi=new h.FieldConstraintApi(()=>this,{valueMissing:()=>{const e=this.multiple&&(!this.value||0===this.value.length);return!this.disabled&&this.required&&(h.isEmptyString(this.value)||e)}})),this._constraintApi}handleChange(e){e.preventDefault(),e.stopPropagation(),this._selectedValue=this.getSelectedOptionValues(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:this._selectedValue}}))}handleFocus(){this.interactingState.enter(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.interactingState.leave(),this.dispatchEvent(new CustomEvent("blur"))}connectAriaDescribedBy(){i.isServer||this.ariaObserver.connect({targetSelector:"select",attribute:"aria-describedby",relatedNodeIds:this.ariaDescribedBy,relatedNodes:this.template.querySelector("[data-help-message]")})}connectAriaLabelledBy(){i.isServer||this.ariaObserver.connect({targetSelector:"select",attribute:"aria-labelledby",relatedNodeIds:this.ariaLabelledBy})}selectOptionsByValue(e){if(this.multiple){if(Array.isArray(e)){this.template.querySelectorAll("option").forEach(t=>{t.selected=e.includes(t.value)})}}else d.valueSetter(this.selectElement,[HTMLSelectElement],e)}getSelectedOptionValues(){if(this.multiple){const e=this.template.querySelectorAll("option");return Array.prototype.reduce.call(e,(e,t)=>(t.selected&&e.push(t.value),e),[])}return this.selectElement.value}get helptextAlternativeText(){return n.formatLabel($.helpTextAlternativeText,this.label)}get isFixStaticErrorDOMEnabled(){return u.features.enableSelectStaticErrDom}}w.delegatesFocus=!0,w.validationOptOut=["class"],t.registerDecorators(w,{publicProps:{label:{config:0},name:{config:0},messageWhenValueMissing:{config:0},accessKey:{config:0},autocomplete:{config:0},fieldLevelHelp:{config:3},variant:{config:3},multiple:{config:3},size:{config:3},required:{config:3},disabled:{config:3},value:{config:3},options:{config:3},ariaDescribedBy:{config:3},ariaLabelledBy:{config:3},validity:{config:1}},publicMethods:["focus","blur","checkValidity","setCustomValidity","reportValidity","showHelpMessageIfInvalid"],track:{_options:1,_selectedValue:1,_variant:1,_fieldLevelHelp:1,_size:1},fields:["_helpMessage","_required","_disabled","_multiple","_ariaDescribedBy","_ariaLabelledBy","_helpMessageChanged","ariaObserver","_isNativeShadow","_connected","_rendered","interactingState","customErrorMessage","_constraintApi"]});const N=t.registerComponent(w,{tmpl:q,sel:"interop-select",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
392e.default=N,Object.defineProperty(e,"__esModule",{value:!0})});
393})();LWR.define('lightning/select', ['interop/select'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/calendar",["exports","lwc","lightning/buttonIcon","lightning/select","lightning/focusTrap","lwr/environment","@salesforce/label/LightningDateTimePicker.ariaLabelMonth","@salesforce/label/LightningDateTimePicker.nextMonth","@salesforce/label/LightningDateTimePicker.previousMonth","@salesforce/label/LightningDateTimePicker.today","@salesforce/label/LightningDateTimePicker.yearSelector","lightning/shadowBaseClassPrivate","lightning/utils","lightning/inputUtils","@salesforce/i18n/firstDayOfWeek","lightning/utilsPrivate","@salesforce/i18n/lang","@salesforce/i18n/showJapaneseCalendar","lightning/internationalizationLibrary","lightning/iso8601Utils","lightning/features"],function(e,t,a,s,l,n,r,i,d,o,c,u,h,g,D,f,p,m,b,y,C){function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var M=k(a),v=k(s),x=k(l),S=k(r),I=k(i),F=k(d),A=k(o),w=k(c),$=k(u),T=k(D),Y=k(p),_=k(m);var N=[[function(e,t,a){var s=e?"["+e+"]":"";return(a?"":'[dir="rtl"]')+" .slds-dropdown_left"+(a?":dir(rtl)":"")+s+" {left: 0;right: auto;}tbody"+s+" > tr"+s+" >
393 td"+s+" > span:focus"+s+" {outline: 0;}tbody"+s+" > tr"+s+" > td"+s+" > span.slds-day:focus"+s+" {box-shadow: var(--slds-g-shadow-inset-inverse-focus-1);}tbody"+s+" > tr"+s+" > td.slds-is-selected"+s+" > span.slds-day:focus"+s+" {background: var(--slds-g-color-brand-base-30);box-shadow: var(--slds-g-shadow-outset-focus-1);color: var(--slds-g-color-on-accent-1);}"}],function(){return""}];const E=t.parseFragment`<h2 aria-atomic="false" aria-live="polite" class="slds-align-middle${0}"${"a0:id"}${"a0:data-index"}${2}>${"t1"}</h2>`,P=t.parseFragment`<span${"a0:id"} class="slds-assistive-text${0}"${2}>${"t1"}</span>`,L=t.parseFragment`<th${"a0:id"} scope="col"${3}><abbr${"a1:title"}${3}>${"t2"}</abbr></th>`,O=t.parseFragment`<td role="gridcell"${"c0"}${"a0:data-value"}${2}><span class="slds-day${0}"${"a1:tabindex"}${"a1:aria-selected"}${"a1:aria-current"}${"a1:aria-disabled"} role="button"${2}>${"t2"}</span></td>`,W=t.parseFragment`<td role="gridcell"${"a0:aria-selected"}${"a0:aria-current"}${"c0"}${"a0:data-value"}${"a0:aria-disabled"}${"a0:aria-label"}${2}><span class="slds-day${0}"${"a1:tabindex"} role="button"${2}>${"t2"}</span></td>`,B=t.parseFragment`<button name="today" type="button" class="slds-button slds-align_absolute-center slds-text-link${0}"${2}>${"t1"}</button>`,q={"slds-datepicker":!0,"slds-dropdown":!0,"slds-dropdown_left":!0},V={key:1},K={classMap:{"slds-datepicker__filter":!0,"slds-grid":!0},key:2},R={classMap:{"slds-datepicker__filter_month":!0,"slds-grid":!0,"slds-grid_align-spread":!0,"slds-grow":!0},key:3},G={classMap:{"slds-align-middle":!0},key:4},z={classMap:{"slds-align-middle":!0},key:8},U={classMap:{"slds-shrink-none":!0},key:10},j={"slds-datepicker__month":!0},J={key:15};function H(e,t,a,s){const{b:l,c:n,h:r,gid:i,d:d,sp:o,st:c,k:u,i:h,ncls:g,ti:D}=e,{_m0:f,_m1:p,_m2:m,_m3:b,_m4:y,_m5:C,_m6:k,_m7:S}=s;return[r("div",{classMap:q,attrs:{"aria-hidden":"false","aria-label":t.computedAriaLabel,role:"dialog",tabindex:"-1",part:"overlay dropdown calendar"},ref:"calendar",key:0},[n("lightning-focus-trap",x.default,V,[r("div",K,[r("div",R,[r("div",G,[n("lightning-button-icon",M.default,{props:{disabled:t.computedPrevDisabled,iconName:t.previousMonthIconName,variant:"container",alternativeText:t.i18n.previousMonth},key:5,on:f||(s._m0={click:l(t.goToPreviousMonth)})})]),c(E,7,[o(0,{attrs:{id:i("month-title"),"data-index":t.monthIndex}},null),o(1,null,d(t.computedMonthTitle))]),r("div",z,[n("lightning-button-icon",M.default,{props:{disabled:t.computedNextDisabled,iconName:t.nextMonthIconName,variant:"container",alternativeText:t.i18n.nextMonth},key:9,on:p||(s._m1={click:l(t.goToNextMonth)})})])]),r("div",U,[n("lightning-select",v.default,{props:{value:t.calendarYear,label:t.i18n.yearSelector,variant:"label-hidden",options:t.computedYearList},key:11,on:m||(s._m2={change:l(t.handleYearChange),click:l(t.handleYearSelectClick)})}),t.isCalendarGridCellAriaFixEnabled?c(P,13,[o(0,{attrs:{id:i("year-selected")}},null),o(1,null,d(t.calendarYear))]):null])]),r("table",{classMap:j,attrs:{role:"grid","aria-labelledby":i(t.computedGridAriaLabelledby)},key:14},[r("thead",J,[r("tr",{attrs:{id:i("weekdays-element")},key:16},h(t.computedWeekdayLabels,function(e){return c(L,u(18,e.fullName),[o(0,{attrs:{id:i(e.fullName)}},null),o(1,{attrs:{title:e.fullName}},null),o(2,null,d(e.shortName))])}))]),r("tbody",{key:19,on:b||(s._m3={keydown:l(t.handleCalendarKeyDown)})},h(t.computedMonth,function(e,a){return r("tr",{key:u(20,e.id)},h(e.days,function(e){return[t.isCalendarGridCellAriaFixEnabled?c(O,u(22,e.dateValue),[o(0,{className:g(e.className),attrs:{"data-value":e.dateValue}},null),o(1,{on:y||(s._m4={click:l(t.handleDateClick)}),attrs:{tabindex:D(e.tabIndex),"aria-selected":e.isSelected,"aria-current":e.ariaCurrent,"aria-disabled":e.ariaDisabled}},null),o(2,null,d(e.dayInMonth))]):null,t.isCalendarGridCellAriaFixEnabled?null:c(W,u(24,e.dateValue),[o(0,{className:g(e.className),attrs:{"aria-selected":e.isSelected,"aria-current":e.ariaCurrent,"data-value":e.dateValue,"aria-disabled":e.ariaDisabled,"aria-label":e.dateValue}},null),o(1,{on:C||(s._m5={click:l(t.handleDateClick)}),attrs:{tabindex:D(e.tabIndex)}},null),o(2,null,d(e.dayInMonth))])]}))}))]),c(B,26,[o(0,{on:S||(s._m7={click:l(t.handleTodayClick)})},null),o(1,null,d(t.i18n.today))])])])]}var Q=t.registerTemplate(H);function X(e){e.preventDefault(),e.stopPropagation()}H.hasRefs=!0,H.stylesheets=[],H.stylesheetToken="lwc-71geokdeko1",H.legacyStylesheetToken="lightning-calendar_calendar",N&&H.stylesheets.push.apply(H.stylesheets,N),t.freezeTemplate(H);const Z={ariaLabelMonth:S.default,nextMonth:I.default,previousMonth:F.default,today:A.default,yearSelector:w.default},ee={},te=[{key:"R",year:2019,label:"令和"},{key:"H",year:1989,label:"平成"},{key:"S",year:1926,label:"昭和"},{key:"T",year:1912,label:"大正"},{key:"M",year:1868,label:"明治"}];class ae extends $.default{get value(){return this.selectedDate}set value(e){const t="string"==typeof e?e.split(y.TIME_SEPARATOR)[0]:e;if(t!==this.selectedDate){if(this.selectedDate=t,!this._connected)return;const e=this.parseDate(t);e?this.selectDate(e):(this.selectedDate=null,this.renderToday())}}constructor(){super(),this.calendarYear=null,this.calendarMonth=null,this.min=void 0,this.max=void 0,this.uniqueId=g.generateUniqueId()}renderedCallback(){this.dispatchEvent(new CustomEvent("ready"))}connectedCallback(){super.connectedCallback(),this._connected=!0,this.todayDate=b.getCurrentDateString();
393const e=this.getSelectedDate()||this.getTodaysDate();this.renderCalendar(e),this.keyboardInterface=this.calendarKeyboardInterface()}disconnectedCallback(){this._connected=!1}focus(){requestAnimationFrame(()=>{const e=this.getFocusableDateCell();e&&e.focus()})}get i18n(){return Z}get computedAriaLabel(){const e=this.getCalendarDate().getMonth();return Z.ariaLabelMonth+b.getMonthNames()[e].fullName}get computedMonthTitle(){const e=this.getCalendarDate().getMonth();return b.getMonthNames()[e].fullName}get computedNextDisabled(){if(!C.features.enableCalendarMinMaxNavigation)return!1;const e=this.parseDate(this.max),t=this.getCalendarDate(),a=t.getMonth()+1,s=t.getFullYear(),l=new Date(s,a,1);return b.isBefore(e,l,"day")}get computedPrevDisabled(){if(!C.features.enableCalendarMinMaxNavigation)return!1;const e=this.parseDate(this.min),t=this.getCalendarDate(),a=t.getMonth(),s=t.getFullYear(),l=new Date(s,a,0);return b.isAfter(e,l,"day")}get computedWeekdayLabels(){const e=b.getNameOfWeekdays(),t=this.getFirstDayOfWeek(),a=[];for(let s=t;s<e.length;s++)a.push(e[s]);for(let s=0;s<t;s++)a.push(e[s]);return a}get computedSelectElementId(){return this.uniqueId+"-select"}get computedWeekdaysElementId(){return this.uniqueId+"-weekdays"}get computedMonthTitleId(){return this.uniqueId+"-month"}get computedYearList(){const e=new Date,t=e.getFullYear(),a=this.parseDate(this.min),s=this.parseDate(this.max),l=a?a.getFullYear():t-100,n=s?s.getFullYear():t+100,r=[];for(let t=l;t<=n;t++)r.push({label:this.getYearDisplayValue(e,t),value:t});return r}get monthIndex(){return this.getCalendarDate().getMonth()}get hostDirection(){let e;return n.isServer||(e=window.getComputedStyle(this.template.host)),e?e.direction.toLowerCase():"ltr"}get previousMonthIconName(){return"ltr"===this.hostDirection?"utility:left":"utility:right"}get nextMonthIconName(){return"ltr"===this.hostDirection?"utility:right":"utility:left"}get isCalendarGridCellAriaFixEnabled(){return C.features.enableCalendarGridCellAriaFix}get computedGridAriaLabelledby(){return C.features.enableCalendarGridCellAriaFix?"month-title year-selected":null}getJapaneseCalendarYear(e){const t=(e,t)=>t?e.key:e.label,a="ja"!==Y.default;for(let s=0;s<te.length;s++)if(e>=te[s].year){let l=t(te[s],a)+(e-te[s].year+1);if(e===te[s].year&&s<te.length-1){const n=te[s+1];l+="/"+t(n,a)+(e-n.year+1)}return l}return null}getYearDisplayValue(e,t){e.setFullYear(t);let a=b.toLocalizedDigits(String(b.toOtherCalendar(e).getFullYear()));if(_.default){const e=this.getJapaneseCalendarYear(t);e&&(a+=" ("+e+")")}return a}get computedMonth(){if(!this._connected)return[];const e=this.getSelectedDate(),t=this.getCalendarDate(),a=this.getCalendarCacheKey(t,e);if(a in ee)return ee[a];const s=this.getTodaysDate(),l={selectedDate:e,renderDate:t,focusableDate:this.getInitialFocusDate(s,e,t),todayDate:s,minDate:this.parseDate(this.min),maxDate:this.parseDate(this.max)},n=[],r=this.getCalendarStartDate(t);for(let e=0;e<6;e++){const t={id:e,days:[]};for(let e=0;e<7;e++){const e=this.getDateCellAttributes(r,l);t.days.push(e),r.setDate(r.getDate()+1)}n.push(t)}return ee[a]=n,n}getDateCellAttributes(e,t){const a=this.isBetween(e,t.minDate,t.maxDate),s=!this.dateInCalendar(e,t.renderDate)||!a,l=C.features.enableCalendarMinMaxNavigation?!a:null,n=this.isSame(e,t.selectedDate),r=this.isSame(e,t.todayDate),i=!!r&&"date",d=!!this.isSame(e,t.focusableDate)&&"0",o=h.classSet().add({"slds-is-today":r,"slds-is-selected":n,"slds-day_adjacent-month":s}).toString()||void 0;return{dayInMonth:b.toLocalizedDigits(String(e.getDate())),dateValue:this.formatDate(e),isSelected:n?"true":"false",ariaDisabled:l,className:o,tabIndex:d,ariaCurrent:i}}dispatchSelectEvent(){this.dispatchEvent(new CustomEvent("select",{composed:!0,bubbles:!0,cancelable:!0,detail:{value:this.selectedDate}}))}dateInCalendar(e,t){const a=t||this.getCalendarDate();return e.getMonth()===a.getMonth()&&e.getFullYear()===a.getFullYear()}getInitialFocusDate(e,t,a){return t&&this.dateInCalendar(t,a)?t:this.dateInCalendar(e,a)?e:new Date(a.getFullYear(),a.getMonth(),1)}getTodaysDate(){return this.todayDate?this.parseDate(this.todayDate):new Date}
393getSelectedDate(){return this.parseDate(this.selectedDate)}getCalendarDate(){return this.calendarYear?new Date(this.calendarYear,this.calendarMonth,1):this.getTodaysDate()}getCalendarStartDate(e){const t=new Date(e.getFullYear(),e.getMonth(),1);return this.getStartOfWeek(t)}getStartOfWeek(e){const t=this.getFirstDayOfWeek();let a=e.getDay();for(;a!==t;)e.setDate(e.getDate()-1),a=e.getDay();return e}getFirstDayOfWeek(){return T.default-1}selectDate(e){if(this.dateInCalendar(e)){const t=this.getElementByDate(this.formatDate(e));this.selectDateInCalendar(t)}else this.renderCalendar(e)}selectDateInCalendar(e){const t=e.parentElement;this.selectedDate=t.getAttribute("data-value"),this.removeCurrentlySelectedDateAttributes(),this.addSelectedDateAttributes(e)}selectDateInCalendarAndDispatchSelect(e){this.selectDateInCalendar(e),this.dispatchSelectEvent()}getElementByDate(e){const t=this.template.querySelector(`td[data-value='${e}']`);return t?t.querySelector('span[role="button"]'):null}getFocusableDateCell(){return this.template.querySelector('span[role="button"][tabIndex="0"]')}
393unfocusDateCell(e){e&&e.removeAttribute("tabIndex")}focusDateCell(e){e&&(e.setAttribute("tabIndex",0),e.focus())}focusElementByDate(e){requestAnimationFrame(()=>{const t=this.getElementByDate(this.formatDate(e));t&&(this.unfocusDateCell(this.getFocusableDateCell()),this.focusDateCell(t))})}renderCalendar(e){this.calendarMonth=e.getMonth(),this.calendarYear=e.getFullYear()}renderToday(){const e=this.getTodaysDate();if(this.dateInCalendar(e)){this.removeCurrentlySelectedDateAttributes(),this.unfocusDateCell(this.getFocusableDateCell());const e=this.getElementByDate(this.todayDate);this.focusDateCell(e)}else this.renderCalendar(e)}removeCurrentlySelectedDateAttributes(){const e=this.template.querySelector("td[class*='slds-is-selected'] span[role=\"button\"]");e&&(e.parentElement.classList.remove("slds-is-selected"),e.parentElement.setAttribute("aria-selected","false")),this.unfocusDateCell(this.getFocusableDateCell())}addSelectedDateAttributes(e){this.focusDateCell(e),e.parentElement.classList.add("slds-is-selected"),e.parentElement.setAttribute("aria-selected","true")}handleCalendarKeyDown(e){const t=e.target.parentElement.getAttribute("data-value");!function(e,t,a){const s=e.target;switch(f.normalizeKeyValue(e.key)){case"ArrowUp":X(e),t.setDate(t.getDate()-7),a.focusDate(t);break;case"ArrowDown":X(e),t.setDate(t.getDate()+7),a.focusDate(t);break;case"ArrowRight":X(e),f.isRTL()?t.setDate(t.getDate()-1):t.setDate(t.getDate()+1),a.focusDate(t);break;case"ArrowLeft":X(e),f.isRTL()?t.setDate(t.getDate()+1):t.setDate(t.getDate()-1),a.focusDate(t);break;case"Enter":case" ":X(e),a.selectDate(s);break;case"PageUp":X(e),e.altKey?t.setFullYear(t.getFullYear()-1):t.setMonth(t.getMonth()-1),a.focusDate(t);break;case"PageDown":X(e),e.altKey?t.setFullYear(t.getFullYear()+1):t.setMonth(t.getMonth()+1),a.focusDate(t);break;case"Home":{X(e);const s=a.getStartOfWeek(t);a.focusDate(s);break}case"End":{X(e);const s=a.getStartOfWeek(t);s.setDate(s.getDate()+6),a.focusDate(s);break}}}(e,this.parseDate(t),this.keyboardInterface)}handleDateClick(e){e.stopPropagation(),this.selectDateInCalendarAndDispatchSelect(e.target)}handleTodayClick(e){e.stopPropagation(),this.selectedDate=this.todayDate,this.selectDate(this.getTodaysDate()),this.dispatchSelectEvent()}handleYearSelectClick(e){e.stopPropagation()}handleYearChange(e){e.stopPropagation();const t=e.target.value;this.calendarYear!==t&&(this.calendarYear=t)}goToNextMonth(e){e.stopPropagation();const t=this.getCalendarDate();t.setMonth(t.getMonth()+1),this.renderCalendar(t),this.computedNextDisabled&&this.refs.calendar&&this.refs.calendar.focus()}goToPreviousMonth(e){e.stopPropagation();const t=this.getCalendarDate();t.setMonth(t.getMonth()-1),this.renderCalendar(t),this.computedPrevDisabled&&this.refs.calendar&&this.refs.calendar.focus()}calendarKeyboardInterface(){const e=this;return{focusDate(t){if(!e.dateInCalendar(t)){if(C.features.enableCalendarMinMaxNavigation){const a=e.getCalendarDate(),s=b.isBefore(t,a,"day"),l=b.isAfter(t,a,"day");if(s&&e.computedPrevDisabled||l&&e.computedNextDisabled)return}e.renderCalendar(t)}e.focusElementByDate(t)},getStartOfWeek:t=>e.getStartOfWeek(t),selectDate(t){e.selectDateInCalendarAndDispatchSelect(t)}}}formatDate(e){return b.getISODateString(e)}parseDate(e){return b.parseDateTime(e,y.STANDARD_DATE_FORMAT,!0)}isSame(e,t){return!(!e||!t)&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}isBetween(e,t,a){let s=!0,l=!0;return a&&(s=b.isBefore(e,a,"day")||this.isSame(e,a)),t&&(l=b.isAfter(e,t,"day")||this.isSame(e,t)),s&&l}getCalendarCacheKey(e,t){let a=e.getFullYear()+"-"+e.getMonth();return a+=this.min?"min"+this.min:"",a+=this.max?"max"+this.max:"",a+=C.features.enableCalendarMinMaxNavigation?"enableCalendarMinMaxNavigation":"",t&&this.dateInCalendar(t,e)&&(a+="_"+t.getDate()),a}}t.registerDecorators(ae,{publicProps:{min:{config:0},max:{config:0},value:{config:3}},publicMethods:["focus"],track:{calendarYear:1,calendarMonth:1}});const se=t.registerComponent(ae,{tmpl:Q,sel:"lightning-calendar",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
393e.default=se,Object.defineProperty(e,"__esModule",{value:!0})});
394})();LWR.define('@salesforce/accessCheck/A11yResizeReflow.orgHasA11yResizeReflow', [], function() { return false; });(function() { LWR.define("lightning/datepicker",["exports","lwc","lightning/helptext","lightning/buttonIcon","lightning/calendar","lwr/environment","@salesforce/label/LightningDateTimePicker.invalidDate","@salesforce/label/LightningDateTimePicker.rangeOverflow","@salesforce/label/LightningDateTimePicker.rangeUnderflow","@salesforce/label/LightningDateTimePicker.minRangeMessage","@salesforce/label/LightningDateTimePicker.maxRangeMessage","@salesforce/label/LightningDateTimePicker.minAndMaxRangeMessage","@salesforce/label/LightningControl.required","@salesforce/label/LightningDateTimePicker.valueMissingWithDateFormat","@salesforce/label/LightningDateTimePicker.customErrorWithDateFormat","@salesforce/label/LightningDateTimePicker.selectDateFor","@salesforce/label/LightningInput.helptextAlternativeText","@salesforce/label/LightningDateTimePicker.dateFormatExampleText","@salesforce/client/formFactor","@salesforce/accessCheck/A11yResizeReflow.orgHasA11yResizeReflow","lightning/features","lightning/shadowBaseClassPrivate","lightning/internationalizationLibrary","lightning/positionLibrary","lightning/utils","lightning/utilsPrivate","lightning/inputUtils","lightning/ariaObserver"],function(e,t,a,i,s,r,n,l,o,d,h,c,u,g,m,p,b,_,f,y,v,D,E,M,x,w,I,L){function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var A=k(a),F=k(i),V=k(s),O=k(n),C=k(l),S=k(o),T=k(d),B=k(h),R=k(c),P=k(u),W=k(g),q=k(m),z=k(p),H=k(b),N=k(_),U=k(f),$=k(y),K=k(D),j=k(L);var G=[function(){return""}];const J=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} aria-hidden="true"${2}>*</abbr>`,Q=t.parseFragment`<span${"a0:id"} data-range-message class="slds-assistive-text${0}"${2}>${"t1"}</span>`,X=t.parseFragment`<div${"a0:id"}${"a0:data-name"} data-date-format${"c0"}${2}>${"t1"}</div>`,Y=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,Z={classMap:{"slds-dropdown-trigger":!0,"slds-dropdown-trigger_click":!0,"slds-size_1-of-1":!0},attrs:{role:"group",part:"input-text"},key:0},ee={classMap:{"slds-form-element__control":!0,"slds-input-has-icon":!0,"slds-input-has-icon_right":!0},attrs:{part:"input-container"},key:7},te={"slds-input":!0},ae={"slds-input__icon":!0,"slds-input__icon_right":!0},ie={exportparts:"button-icon"},se={"slds-form-element__help":!0};function re(e,t,a,i){const{ncls:s,gid:r,sp:n,st:l,d:o,t:d,h:h,c:c,b:u}=e,{_m0:g,_m1:m,_m2:p}=i;return[h("div",Z,[t.hasExternalLabel?null:h("label",{className:s(t.computedLabelClass),attrs:{for:r("input"),part:"label"},key:1},[t.required?l(J,3,[n(0,{attrs:{title:t.i18n.required}},null)]):null,d(o(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?c("lightning-helptext",A.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,t.isRangeMessageVisible?l(Q,6,[n(0,{attrs:{id:r("range-message")}},null),n(1,null,o(t.rangeMessage))]):null,h("div",ee,[h("input",{classMap:te,attrs:{type:"text",id:r("input"),part:"input",name:t.name,accesskey:t.accessKey,placeholder:t.placeholder,"aria-invalid":t.computedAriaInvalid,"aria-label":t.ariaLabel,"aria-disabled":t.ariaDisabled,required:t.required?"":null,readonly:t.readOnly?"":null,disabled:t.disabled?"":null,autocomplete:t.autocomplete},props:{value:t.displayValue},key:8,on:g||(i._m0={input:u(t.handleInput),change:u(t.handleInputChange),focusin:u(t.onFocusIn),focusout:u(t.handleInputBlur),keydown:u(t.handleInputKeydown),click:u(t.handleInputClick)})}),c("lightning-button-icon",F.default,{classMap:ae,attrs:ie,props:{iconName:"utility:event",variant:"bare",disabled:t.computedIconDisabledState,title:t.computedSelectDateLabel,alternativeText:t.computedSelectDateLabel},key:9,on:m||(i._m1={click:u(t.handleDatePickerIconClick),keydown:u(t.handleDatePickerIconKeyDown),focusin:u(t.onFocusIn),focusout:u(t.onFocusOut)})}),t.isCalendarVisible?c("lightning-calendar",V.default,{props:{value:t.value,min:t.min,max:t.max},key:10,on:p||(i._m2={select:u(t.handleDateSelect),ready:u(t.startPositioning),keydown:u(t.handleCalendarKeyDown),focusin:u(t.onFocusIn),focusout:u(t.onFocusOut)})}):null])]),t.computedShowDateFormat?l(X,12,[n(0,{className:s(t.computedClassFormatText),attrs:{id:r("fmt-text"),"data-name":t.name}},null),n(1,null,o(t.dateFormatText))]):null,h("div",{classMap:se,attrs:{id:r("error-message"),"data-name":t.name,"data-error-message":"","aria-live":"polite"},key:13},[t.errorMessage?l(Y,15,[n(1,null,o(t.label))]):null,t.errorMessage?d(o(t.errorMessage)):null])]}var ne=t.registerTemplate(re);function le(e,t){t.isCalendarVisible()&&"Escape"===w.normalizeKeyValue(e.key)&&
394(oe(e),t.hideCalendar())}function oe(e){e.preventDefault(),e.stopPropagation()}re.stylesheets=[],re.stylesheetToken="lwc-2fb3f2nu4or",re.legacyStylesheetToken="lightning-datepicker_datepicker",G&&re.stylesheets.push.apply(re.stylesheets,G),t.freezeTemplate(re);const de={invalidDate:O.default,rangeOverflow:C.default,rangeUnderflow:S.default,minRangeMessage:T.default,maxRangeMessage:B.default,minAndMaxRangeMessage:R.default,required:P.default,selectDateFor:z.default,helpTextAlternativeText:H.default,valueMissingWithDateFormat:W.default,customErrorWithDateFormat:q.default,dateFormatExampleText:N.default},he="aria-label",ce="aria-disabled",ue="aria-invalid",ge="short",me="medium",pe="long";class be extends K.default{connectAriaErrorMessage(){this.ariaObserver&&this._rendered&&this.ariaObserver.connect({attribute:"aria-errormessage",targetSelector:"input",relatedNodeIds:this._ariaErrorMessage})}get ariaErrorMessageElement(){return this._ariaErrorMessage}set ariaErrorMessageElement(e){this._ariaErrorMessage=e,this.connectAriaErrorMessage()}get rootAriaNode(){return this.ariaObserver?this.ariaObserver.root:null}set rootAriaNode(e){this.ariaObserver&&(this.ariaObserver.root=e)}setNormalisedIsoDateMin(){const e=E.normalizeISODate(this._userMinValue,this._dateStyle);e.isoValue&&(this._min=e.isoValue,this._displayMin=e.displayValue)}get min(){return this._min}set min(e){this._min=e,this._displayMin=e,this._userMinValue=e,this.setNormalisedIsoDateMin()}setNormalisedIsoDateMax(){const e=E.normalizeISODate(this._userMaxValue,this._dateStyle);e.isoValue&&(this._max=e.isoValue,this._displayMax=e.displayValue)}get max(){return this._max}set max(e){this._max=e,this._displayMax=e,this._userMaxValue=e,this.setNormalisedIsoDateMax()}get messageWhenValueMissing(){return this._messageWhenValueMissing?x.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenValueMissing,this.dateFormatExample):x.formatLabel(this.i18n.valueMissingWithDateFormat,this.dateFormatExample)}set messageWhenValueMissing(e){this._messageWhenValueMissing=e}get messageWhenBadInput(){return this._messageWhenBadInput?x.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenBadInput,this.dateFormatExample):x.formatLabel(this.i18n.invalidDate,this.dateFormatExample)}set messageWhenBadInput(e){this._messageWhenBadInput=e}get messageWhenRangeOverflow(){return this._messageWhenRangeOverflow?x.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeOverflow,this.dateFormatExample):x.formatLabel(this.i18n.rangeOverflow,this._displayMax)}set messageWhenRangeOverflow(e){this._messageWhenRangeOverflow=e}get messageWhenRangeUnderflow(){return this._messageWhenRangeUnderflow?x.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeUnderflow,this.dateFormatExample):x.formatLabel(this.i18n.rangeUnderflow,this._displayMin)}set messageWhenRangeUnderflow(e){this._messageWhenRangeUnderflow=e}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.synchronizeA11y()}get ariaDisabled(){return this._ariaDisabled}set ariaDisabled(e){this._ariaDisabled=e,this.synchronizeA11y()}set ariaLabelledByElement(e){this._ariaLabelledBy=e,this.ariaObserver&&this.ariaObserver.connect({attribute:"aria-labelledby",targetSelector:"input",relatedNodeIds:w.getRealDOMId(this._ariaLabelledBy)})}get ariaLabelledByElement(){return this._ariaLabelledBy}set ariaControlsElement(e){this._ariaControls=e,this.ariaObserver&&this.ariaObserver.connect({attribute:"aria-controls",targetSelector:"input",relatedNodeIds:w.getRealDOMId(this.ariaControlsElement)})}get ariaControlsElement(){return this._ariaControls}set ariaDetailsElements(e){this._ariaDetails=e,this.ariaObserver&&this.ariaObserver.connect({attribute:"aria-details",targetSelector:"input",relatedNodeIds:w.getRealDOMId(this.ariaDetailsElements)})}get ariaDetailsElements(){return this._ariaDetails}set ariaDescribedByElements(e){Array.isArray(e)?this._ariaDescribedBy=e:this._ariaDescribedBy=[e],v.features.enableDatepickerAriaDescribedByDedup||this._ariaDescribedBy.push(this.errorMessageElement),this.connectAriaDescribedBy()}get ariaDescribedByElements(){return this._ariaDescribedBy}synchronizeA11y(){if(!this._rendered)return;const e=this.template.querySelector("input");if(!e)return;w.synchronizeAttrs(e,{[he]:this._ariaLabel,[ce]:this._ariaDisabled,[ue]:this.computedAriaInvalid});this.template.querySelector("lightning-button-icon").ariaDescribedBy=this.computedDatepickerButtonAriaDescribedby,this.isConnected&&(this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this.ariaObserver.sync())}
394renderedCallback(){this.showFormatHelpText&&!this.pointerEventAdded?(document.addEventListener("pointerdown",this.handlePointerDown),document.addEventListener("pointerup",this.handlePointerUp),this.pointerEventAdded=!0):!this.showFormatHelpText&&this.pointerEventAdded&&(document.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp),this.pointerEventAdded=!1),this._rendered=!0,this.synchronizeA11y()}get value(){return this._value}set value(e){const t=E.normalizeISODate(e,this.dateStyle);this._value=t.isoValue,this._displayValue=t.displayValue}get disabled(){return this._disabled}set disabled(e){this._disabled=w.normalizeBoolean(e),w.reflectAttribute(this,"disabled",this._disabled)}get readOnly(){return this._readonly}set readOnly(e){this._readonly=w.normalizeBoolean(e),w.reflectAttribute(this,"readonly",this._readonly)}get required(){return this._required}set required(e){this._required=w.normalizeBoolean(e)}set fieldLevelHelp(e){this._fieldLevelHelp=e}get fieldLevelHelp(){return this._fieldLevelHelp}get variant(){return this._variant||I.VARIANT.STANDARD}set variant(e){this._variant=I.normalizeVariant(e),w.reflectAttribute(this,"variant",e)}focus(){this.connected&&this.inputElement.focus()}blur(){this.connected&&this.inputElement.blur()}showHelpMessage(e){e?(this.classList.add("slds-has-error"),this._errorMessage=e):(this.classList.remove("slds-has-error"),this._errorMessage="")}hasBadInput(){return!!this._displayValue&&null===this._value}get dateStyle(){return this._dateStyle}set dateStyle(e){this._dateStyle=w.normalizeString(e,{fallbackValue:me,validValues:[ge,me,pe]});const t=E.normalizeISODate(this._value,this._dateStyle);this._displayValue=t.displayValue,this.setNormalisedIsoDateMax(),this.setNormalisedIsoDateMin()}constructor(){super(),this._disabled=!1,this._readonly=!1,this._required=!1,this._value=null,this._calendarVisible=!1,this._displayValue=null,this._errorMessage="",this._fieldLevelHelp=void 0,this._variant=void 0,this.accessKey=void 0,this._min=void 0,this._max=void 0,this._messageWhenValueMissing=void 0,this._userMaxValue=void 0,this._userMinValue=void 0,this._displayMin=void 0,this._displayMax=void 0,this._dateStyle=me,this.showFormatHelpText=!1,this.clickedOutsideDatepicker=void 0,this.label=void 0,this.name=void 0,this.placeholder=void 0,this.externalErrorMessage=void 0,this.parentErrorMessageElement=void 0,this.autocomplete="off",this._ariaLabelledBy=void 0,this._ariaControls=void 0,this._ariaDetails=void 0,this._ariaDescribedBy=[],this._ariaErrorMessage=void 0,this.handlePointerDown=e=>{const t=".slds-dropdown-trigger";let a=null;e.target&&"function"==typeof e.target.closest?a=e.target.closest(t):e.relatedTarget&&"function"==typeof e.relatedTarget.closest&&(a=e.relatedTarget.closest(t)),this.showFormatHelpText&&!a&&(this.clickedOutsideDatepicker=!0)},this.handlePointerUp=()=>
394{this.clickedOutsideDatepicker&&(this.showFormatHelpText=!1,this.clickedOutsideDatepicker=!1)},this.uniqueId=I.generateUniqueId(),this.ariaObserver=new j.default(this)}connectedCallback(){super.connectedCallback(),this.connected=!0,this.ariaObserver||(this.ariaObserver=new j.default(this)),this.keyboardInterface=this.datepickerKeyboardInterface()}disconnectedCallback(){this.connected=!1,this._rendered=!1,this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}get computedClassFormatText(){return x.classSet("slds-form-element__help").add({"slds-assistive-text":!this.showFormatHelpText})}get computedShowDateFormat(){return!this.errorMessage&&!this.externalErrorMessage}get dateFormatExample(){return E.normalizeISODate("2024-12-31",this.dateStyle).displayValue}get dateFormatText(){return x.formatLabel(this.i18n.dateFormatExampleText,this.dateFormatExample)}get i18n(){return de}get isLabelHidden(){return this.variant===I.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return x.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get errorMessageElement(){return this.template.querySelector("[data-error-message]")}get rangeMessageElement(){return this.template.querySelector("[data-range-message]")}get dateFormatElement(){return this.template.querySelector("[data-date-format]")}get computedUniqueRangeMessageElementId(){const e=this.template.querySelector("[data-range-message]");return w.getRealDOMId(e)}get isRangeMessageVisible(){return this.min||this.max}get isCalendarVisible(){return this._calendarVisible}get displayValue(){return this._displayValue}get errorMessage(){return this._errorMessage}get computedIconDisabledState(){return this.disabled||this.readOnly}get ariaDescribedByElementsInternal(){const e=[];return this.errorMessage?e.push(this.errorMessageElement):e.push(this.dateFormatElement),this.isRangeMessageVisible&&e.push(this.rangeMessageElement),e}get computedAriaDescribedby(){const e=[];return this._ariaDescribedBy.forEach(t=>{const a=w.getRealDOMId(t);a&&e.push(a)}),w.normalizeAriaAttribute(e)}connectAriaDescribedBy(){this.ariaObserver&&this._rendered&&this.ariaObserver.connect({attribute:"aria-describedby",targetSelector:"input",relatedNodeIds:this.computedAriaDescribedby,relatedNodes:[...this.ariaDescribedByElementsInternal,this.parentErrorMessageElement]})}get computedDatepickerButtonAriaDescribedby(){return this.isRangeMessageVisible?this.computedUniqueRangeMessageElementId:""}get computedSelectDateLabel(){return x.formatLabel(this.i18n.selectDateFor,this.label)}get rangeMessage(){return this.min&&!this.max?x.formatLabel(this.i18n.minRangeMessage,this._displayMin):this.max&&!this.min?x.formatLabel(this.i18n.maxRangeMessage,this._displayMax):this.min&&this.max?x.formatLabel(this.i18n.minAndMaxRangeMessage,this._displayMin,this._displayMax):""}handleInputChange(e){e.stopPropagation(),this._displayValue=e.currentTarget.value,this._value=E.parseFormattedDate(this._displayValue).value,this.dispatchChangeEvent()}handleInput(){this._displayValue=this.inputElement.value,this.hideCalendarAndFocusTrigger()}handleInputBlur(){if(null!==this._value){const e=E.normalizeISODate(this._value,this.dateStyle);this._displayValue=e.displayValue}this.onFocusOut()}handleInputClick(e){this.readOnly||(this.calendarTrigger=e.target,this.showCalendar())}onFocusIn(){this._pendingFocusOut&&(this._pendingFocusOut=!1),this._focused||this.dispatchEvent(new CustomEvent("focus")),this._focused=!0,this.showFormatHelpText=!0,this.clickedOutsideDatepicker=!1}onFocusOut(){this._pendingFocusOut=!0,requestAnimationFrame(()=>{this._pendingFocusOut&&(this._focused=!1,this.hideCalendar(),this.dispatchEvent(new CustomEvent("blur")))}
394),this.clickedOutsideDatepicker||(this.showFormatHelpText=!1)}handleDatePickerIconClick(e){this.readOnly||this.disabled||(this.calendarTrigger=e.target,this.showAndFocusCalendar())}handleInputKeydown(e){this.calendarTrigger=e.target,le(e,this.keyboardInterface)}handleDatePickerIconKeyDown(e){this.calendarTrigger=e.target,function(e,t){switch(w.normalizeKeyValue(e.key)){case"Enter":case" ":oe(e),t.showCalendar();break;case"Escape":oe(e),t.hideCalendar()}}(e,this.keyboardInterface)}handleCalendarKeyDown(e){le(e,this.keyboardInterface)}handleDateSelect(e){e.stopPropagation(),this._value=e.detail.value,this._displayValue=E.normalizeISODate(this._value,this.dateStyle).displayValue,this.hideCalendarAndFocusTrigger(),this.dispatchChangeEvent()}showAndFocusCalendar(){this.showCalendar(),requestAnimationFrame(()=>{this.focusCalendar()})}hideCalendarAndFocusTrigger(){this.hideCalendar(),this.calendarTrigger&&(this.calendarTrigger===this.calendarButtonElement?this.inputElement.focus():this.calendarTrigger.focus())}focusCalendar(){const e=this.template.querySelector("lightning-calendar");e&&e.focus()}startPositioning(){const e=this.isReflowResizeActivated?{keepInViewport:!0,autoShrinkHeight:!0}:{};if(this.isReflowResizeActivated){const e=this.lightningCalendarElement.shadowRoot.querySelector(".slds-datepicker");e.style.overflow="auto",e.style.maxHeight="100vh"}this._relationship?this._relationship.reposition():this._relationship=M.startPositioning(this,{target:()=>this.template.querySelector("div.slds-form-element__control"),element:()=>this.template.querySelector("lightning-calendar").shadowRoot.querySelector("div"),align:{horizontal:M.Direction.Right,vertical:M.Direction.Top},targetAlign:{horizontal:M.Direction.Right,vertical:M.Direction.Bottom},autoFlip:!0,leftAsBoundary:!0,...e})}stopPositioning(){this._relationship&&(M.stopPositioning(this._relationship),this._relationship=null)}showCalendar(){this.isCalendarVisible||(this.rootElement.classList.add("slds-is-open"),this._calendarVisible=!0)}hideCalendar(){this.isCalendarVisible&&(this.rootElement.classList.remove("slds-is-open"),this.stopPositioning(),this._calendarVisible=!1)}get rootElement(){return this.template.querySelector("div")}get inputElement(){return this.template.querySelector("input")}get calendarButtonElement(){return this.template.querySelector("lightning-button-icon")}get lightningCalendarElement(){return this.template.querySelector("lightning-calendar")}get isReflowResizeActivated(){return this.lightningCalendarElement&&window.innerWidth<684&&"Large"===U.default&&$.default}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this._value}}))}datepickerKeyboardInterface(){const e=this;return{showCalendar(){e.showAndFocusCalendar()},hideCalendar(){e.hideCalendarAndFocusTrigger()},isCalendarVisible:()=>e.isCalendarVisible}}get hasExternalLabel(){return this.variant===I.VARIANT.LABEL_HIDDEN&&this.ariaLabelledByElement&&this.ariaLabelledByElement.length}get computedAriaInvalid(){const e=(r.isServer?null:this.template.host.getAttribute("data-aria-invalid"))||this._errorMessage;return w.computeAriaInvalid(e,this.hasBadInput()||"")}get helptextAlternativeText(){return x.formatLabel(de.helpTextAlternativeText,this.label)}}t.registerDecorators(be,{publicProps:{accessKey:{config:0},label:{config:0},name:{config:0},placeholder:{config:0},externalErrorMessage:{config:0},parentErrorMessageElement:{config:0},autocomplete:{config:0},ariaErrorMessageElement:{config:3},rootAriaNode:{config:3},min:{config:3},max:{config:3},messageWhenValueMissing:{config:3},messageWhenBadInput:{config:3},messageWhenRangeOverflow:{config:3},messageWhenRangeUnderflow:{config:3},ariaLabel:{config:3},ariaDisabled:{config:3},ariaLabelledByElement:{config:3},ariaControlsElement:{config:3},ariaDetailsElements:{config:3},ariaDescribedByElements:{config:3},value:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},fieldLevelHelp:{config:3},variant:{config:3},dateStyle:{config:3},inputElement:{config:1}},publicMethods:["focus","blur","showHelpMessage","hasBadInput"],track:{_disabled:1,_readonly:1,_required:1,_value:1,_calendarVisible:1,_displayValue:1,_errorMessage:1,_fieldLevelHelp:1,_variant:1},fields:["_min","_max","_messageWhenValueMissing","_userMaxValue","_userMinValue","_displayMin","_displayMax","_dateStyle","showFormatHelpText","clickedOutsideDatepicker","_ariaLabelledBy","_ariaControl
394s","_ariaDetails","_ariaDescribedBy","_ariaErrorMessage","handlePointerDown","handlePointerUp"]});const _e=t.registerComponent(be,{tmpl:ne,sel:"lightning-datepicker",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=_e,Object.defineProperty(e,"__esModule",{value:!0})});
395})();(function() { LWR.define("lightning/baseComboboxFormattedText",["exports","lwc","lightning/shadowBaseClassPrivate"],function(t,e,s){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=r(s);const n=e.parseFragment`<strong${3}>${"t1"}</strong>`,o=[];function i(t,e,s,r){const{k:a,d:i,sp:l,st:h,t:g,i:x,f:c}=t;return c([e.hasParts?x(e.text,function(t){return[t.part.highlight?h(n,a(1,t.key),[l(1,null,i(t.part.text))]):null,t.part.highlight?null:g(i(t.part.text))]}):o,e.hasParts?null:g(i(e.text))])}var l=e.registerTemplate(i);i.stylesheets=[],i.stylesheetToken="lwc-2bf7evhq2m0",i.legacyStylesheetToken="lightning-baseComboboxFormattedText_baseComboboxFormattedText",e.freezeTemplate(i);class h extends a.default{constructor(...t){super(...t),this._text="",this.hasParts=void 0}get text(){return this._text}set text(t){this.hasParts=Array.isArray(t)&&t.length>0,this.hasParts?this._text=t.map((t,e)=>({part:t,key:e})):this._text=t}}e.registerDecorators(h,{publicProps:{text:{config:3}},track:{_text:1,hasParts:1}});const g=e.registerComponent(h,{tmpl:l,sel:"lightning-base-combobox-formatted-text",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=g,Object.defineProperty(t,"__esModule",{value:!0})});
396})();(function() { LWR.define("lightning/sldsMediaObject",["exports"],function(i){var s=[function(i,s,e){var d=i?"["+i+"]":"";return".slds-media"+d+" {display: flex;align-items: flex-start;}.slds-media__figure"+d+" {flex-shrink: 0;margin-inline-end: var(--slds-g-spacing-3);}.slds-media__figure_fixed-width"+d+" {min-width: var(--slds-g-sizing-10);}.slds-media__body"+d+" {flex: 1;min-width: 0;}.slds-media__body"+d+",.slds-media__body"+d+" > :last-child"+d+" {margin-block-end: 0;}.slds-media-body-iefix"+d+" {flex-shrink: 0;flex-basis: auto;}.slds-media_small"+d+" .slds-media__figure"+d+" {margin-inline-end: var(--slds-g-spacing-1);}.slds-media_small"+d+" .slds-media__figure_reverse"+d+" {margin-inline-start: var(--slds-g-spacing-1);}.slds-media_large"+d+" .slds-media__figure"+d+" {margin-inline-end: var(--slds-g-spacing-5);}.slds-media_large"+d+" .slds-media__figure_reverse"+d+" {margin-inline-start: var(--slds-g-spacing-5);}.slds-media_inline"+d+" .slds-media__body"+d+" {flex: 0 1 auto;}.slds-media_center"+d+" {align-items: center;}.slds-media__figure_reverse"+d+" {margin-block: 0;margin-inline-start: var(--slds-g-spacing-3);margin-inline-end: 0;}@media (width <= 48em) {.slds-media_responsive"+d+" {display: block;}.slds-media_responsive"+d+" .slds-media__figure"+d+" {margin-block: 0;margin-inline-start: var(--slds-g-spacing-3);margin-inline-end: 0;}}"}];i.default=s,Object.defineProperty(i,"__esModule",{value:!0})});
397})();(function() { LWR.define("lightning/baseComboboxItem",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/icon","lightning/baseComboboxFormattedText"],function(t,e,s,i,l){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=n(s),o=n(i),r=n(l);var c=[function(){return""}];const h=e.parseFragment`<span${"a0:title"}${3}>${"t1"}</span>`,m=e.parseFragment`<span${"a0:title"}${3}>${"t1"}</span>`,g={classMap:{"slds-media__figure":!0,"slds-listbox__option-icon":!0},key:0},p={classMap:{"slds-media__body":!0},key:2},u={classMap:{"slds-listbox__option-text":!0,"slds-listbox__option-text_entity":!0},key:3},x={classMap:{"slds-listbox__option-meta":!0,"slds-listbox__option-meta_entity":!0},key:7},d={classMap:{"slds-media__figure":!0,"slds-media__figure_reverse":!0},key:11};function b(t,e,s,i){const{c:l,h:n,d:a,sp:c,st:b}=t;return[n("span",g,[e.item.iconName?l("lightning-icon",o.default,{props:{size:e.iconSize,alternativeText:e.item.iconAlternativeText,iconName:e.item.iconName},key:1}):null]),n("span",p,[n("span",u,[e.textHasParts?null:b(h,5,[c(0,{attrs:{title:e.item.text}},null),c(1,null,a(e.item.text))]),e.textHasParts?l("lightning-base-combobox-formatted-text",r.default,{props:{title:e.text,text:e.item.text},key:6}):null]),e.hasSubText?n("span",x,[e.subTextHasParts?null:b(m,9,[c(0,{attrs:{title:e.item.subText}},null),c(1,null,a(e.item.subText))]),e.subTextHasParts?l("lightning-base-combobox-formatted-text",r.default,{props:{title:e.subText,text:e.item.subText},key:10}):null]):null]),e.item.rightIconName?n("span",d,[l("lightning-icon",o.default,{props:{size:e.rightIconSize,alternativeText:e.item.rightIconAlternativeText,iconName:e.item.rightIconName},key:12})]):null]}var y=e.registerTemplate(b);b.stylesheets=[],b.stylesheetToken="lwc-3povdhm22r3",b.legacyStylesheetToken="lightning-baseComboboxItem_card",c&&b.stylesheets.push.apply(b.stylesheets,c),e.freezeTemplate(b);var _=[function(){return""}];const T=e.parseFragment`<span${"a0:title"}${3}>${"t1"}</span>`,f={classMap:{"slds-media__figure":!0,"slds-listbox__option-icon":!0},key:0},k={classMap:{"slds-media__body":!0},key:2};function v(t,e,s,i){const{c:l,h:n,d:a,sp:c,st:h}=t;return[n("span",f,[e.item.iconName?l("lightning-icon",o.default,{props:{alternativeText:e.item.iconAlternativeText,iconName:e.item.iconName,size:"x-small"},key:1}):null]),n("span",k,[e.textHasParts?null:h(T,4,[c(0,{attrs:{title:e.item.text}},null),c(1,null,a(e.item.text))]),e.textHasParts?l("lightning-base-combobox-formatted-text",r.default,{props:{text:e.item.text,title:e.text},key:5}):null])]}var H=e.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-7co8ha3nedg",v.legacyStylesheetToken="lightning-baseComboboxItem_inline",_&&v.stylesheets.push.apply(v.stylesheets,_),e.freezeTemplate(v);class P extends a.default{constructor(...t){super(...t),this.item={}}connectedCallback(){super.connectedCallback(),this.item.selectable&&this.setAttribute("aria-selected","false"),"option-inline"===this.item.type?this.classList.add("slds-media_small","slds-listbox__option_plain"):this.classList.add("slds-listbox__option_entity")}renderedCallback(){this.setAttribute("aria-selected",this.item.checked)}get textHasParts(){const t=this.item.text;return t&&Array.isArray(t)&&t.length>0}get subTextHasParts(){const t=this.item.subText;return t&&Array.isArray(t)&&t.length>0}render(){return"option-card"===this.item.type?y:H}highlight(){this.toggleHighlight(!0)}removeHighlight(){this.toggleHighlight(!1)}toggleHighlight(t){this.item.selectable&&this.classList.toggle("slds-has-focus",t)}partsToText(t){return t&&Array.isArray(t)&&t.length>0?t.map(t=>t.text).join(""):t}get rightIconSize(){return this.item.rightIconSize||"small"}get iconSize(){return this.item.iconSize||"small"}get text(){return this.partsToText(this.item.text)}get subText(){return this.partsToText(this.item.subText)}get hasSubText(){const t=this.item.subText;return t&&t.length>0}}e.registerDecorators(P,{publicProps:{item:{config:0}},publicMethods:["highlight","removeHighlight"]});const z=e.registerComponent(P,{tmpl:void 0,sel:"lightning-base-combobox-item",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
397t.default=z,Object.defineProperty(t,"__esModule",{value:!0})});
398})();(function() { LWR.define("lightning/spinner",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/features","@salesforce/featureFlag/BaseComponents.org.enablePrivateMethodsComponents262Dev","lightning/utilsInternal"],function(e,t,i,a,s,n,r,l,o){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(a),u=d(l);var h=[function(){return""}];const v=t.parseFragment`<div part="backdrop"${3}></div>`,c=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,g=t.parseFragment`<div part="dot-a" class="slds-spinner__dot-a${0}"${2}></div>`,m=t.parseFragment`<div part="dot-b" class="slds-spinner__dot-b${0}"${2}></div>`,_={role:"status",part:"spinner"};function z(e,t,i,a){const{st:s,ncls:n,d:r,sp:l,h:o}=e;return[s(v,1),o("div",{className:n(t.computedClass),attrs:_,key:2},[t.validAlternativeText?s(c,4,[l(1,null,r(t._altText))]):null,s(g,6),s(m,8)])]}var f=t.registerTemplate(z);z.stylesheets=[],z.stylesheetToken="lwc-47dd688sbro",z.legacyStylesheetToken="lightning-spinner_spinner",h&&z.stylesheets.push.apply(z.stylesheets,h),t.freezeTemplate(z);const{setContext:b,assertContext:S}=o.privateContext,x="medium",V="base";class T extends p.default{get size(){return this._originalSize}set size(e){r.features.enableAssertContext260Round2&&S(this),this._originalSize=e,this._privateSize=u.default?this.#e(e):this.normalizeSize(e),this.setAttribute("size",this._privateSize)}get variant(){return this._originalVariant}set variant(e){this._originalVariant=e,this._privateVariant=u.default?this.#t(e):this.normalizeVariant(e),this._privateVariant!==V&&this.setAttribute("variant",this._privateVariant)}constructor(){super(),this.alternativeText=void 0,this._originalSize=x,this._privateSize=x,this._originalVariant=void 0,this._privateVariant=V,this._altText=null,this.stopScrolling=e=>{e.preventDefault()},b(this)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-spinner_container"),i.isServer||(this.template.addEventListener("mousewheel",this.stopScrolling),this.template.addEventListener("touchmove",this.stopScrolling))}renderedCallback(){setTimeout(()=>{this._altText=this.alternativeText},0)}#t(e){return n.normalizeString(e,{fallbackValue:V,validValues:["base","brand","inverse"]})}normalizeVariant(e){return n.normalizeString(e,{fallbackValue:V,validValues:["base","brand","inverse"]})}#e(e){return n.normalizeString(e,{fallbackValue:x,validValues:["xx-small","x-small","small","medium","large"]})}normalizeSize(e){return n.normalizeString(e,{fallbackValue:x,validValues:["xx-small","x-small","small","medium","large"]})}get computedClass(){const e=s.classSet("slds-spinner");return this._privateVariant!==V&&e.add(`slds-spinner_${this._privateVariant}`),e.add(`slds-spinner_${this._privateSize}`),e.toString()}get validAlternativeText(){const e=!!this.alternativeText;return e||console.warn("<lightning-spinner> The alternativeText attribute should not be empty. Please add a description of what is causing the wait."),e}}T.validationOptOut=["class"],t.registerDecorators(T,{publicProps:{alternativeText:{config:0},size:{config:3},variant:{config:3}},track:{_originalVariant:1},fields:["_originalSize","_privateSize","_privateVariant","_altText","stopScrolling"]});const C=t.registerComponent(T,{tmpl:f,sel:"lightning-spinner",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=C,Object.defineProperty(e,"__esModule",{value:!0})});
399})();(function() { LWR.define("lightning/sldsUtilsAlignment",["exports"],function(e){var t=[function(e,t,n){return(t?":host([data-render-mode='shadow']) .slds-align_absolute-center":(e?"["+e+"-host]":"")+"[data-render-mode='shadow'] .slds-align_absolute-center")+(e?"["+e+"]":"")+" {display: flex;justify-content: center;align-content: center;align-items: center;margin: auto;}"}];e.default=t,Object.defineProperty(e,"__esModule",{value:!0})});
400})();(function() { LWR.define("lightning/sldsUtilsTruncation",["exports"],function(e){var t=[function(e,t,n){return".slds-truncate"+(e?"["+e+"]":"")+" {max-width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}"}];
400e.default=t,Object.defineProperty(e,"__esModule",{value:!0})});
401})();(function() { LWR.define("lightning/baseCombobox",["exports","lwc","lightning/icon","lightning/primitiveIcon","lightning/baseComboboxItem","lightning/spinner","lwr/environment","@salesforce/label/LightningCombobox.ariaSelectedOptions","@salesforce/label/LightningCombobox.deselectOptionKeyboard","@salesforce/label/LightningCombobox.loadingText","@salesforce/label/LightningCombobox.pillCloseButtonAlternativeText","@salesforce/label/LightningCombobox.placeholder","@salesforce/label/LightningCombobox.defaultGroupHeader","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utilsInternal","lightning/features","lightning/utils","lightning/positionLibrary","lightning/inputUtils","lightning/ariaObserver"],function(t,e,i,n,s,o,l,a,r,d,h,p,u,c,m,g,b,_,I,w,v){function f(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var A=f(i),y=f(n),D=f(s),x=f(o),E=f(a),O=f(r),C=f(d),T=f(h),V=f(p),N=f(u),k=f(c),B=f(v);var S=[[function(t,e,i){var n=t?"["+t+"]":"";return".slds-inline-logo"+n+" {height: 1rem;margin-top: 1rem;margin-bottom: 1rem;}input[aria-readonly='true']"+n+" {caret-color: transparent;}button:disabled"+n+",[type='button']:disabled"+n+" {cursor: not-allowed;}.fix-slds-input_faux"+n+" {line-height: max(1.875rem, calc(1.2em - 2px));}"}],function(){return""}];const P=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,L=e.parseFragment`<div role="status" class="slds-spinner slds-spinner_brand slds-spinner_x-small slds-input__spinner${0}" part="spinner"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span><div part="dot-a" class="slds-spinner__dot-a${0}"${2}></div><div part="dot-b" class="slds-spinner__dot-b${0}"${2}></div></div>`,R=e.parseFragment`<li role="presentation" class="slds-listbox__item${0}"${2}><div class="slds-media slds-listbox__option slds-listbox__option_plain slds-media_small${0}" role="presentation"${2}><h3 role="presentation"${"a2:title"} class="slds-listbox__option-header${0}"${2}>${"t3"}</h3></div></li>`,M=e.parseFragment`<div class="slds-align_absolute-center${0}"${2}><img${"a1:src"} class="slds-inline-logo${0}"${"a1:alt"}${"a1:title"}${2}></div>`,H={role:"none"},z={"slds-icon_container":!0,"slds-combobox__input-entity-icon":!0},$={"data-input-pill-search-icon":""},q={attrs:{part:"input-text"},key:4},F={attrs:{part:"input-container"},key:5},U={"slds-button__icon":!0,"slds-button__icon_left":!0},K={"slds-button__icon":!0,"slds-button__icon_right":!0},W={classMap:{"slds-input__icon-group":!0,"slds-input__icon-group_right":!0},key:11},G={"slds-button":!0,"slds-button_icon":!0,"slds-input__icon":!0,"slds-input__icon_right":!0},j={props:{iconName:"utility:close",variant:"bare",svgClass:"slds-button__icon"},key:13},J={classMap:{"slds-input__icon-group":!0,"slds-input__icon-group_right":!0},key:16},Q={"slds-input__icon":!0,"slds-input__icon_right":!0},X={"slds-media":!0,"slds-listbox__option":!0,"slds-media_center":!0},Y={"slds-listbox__item":!0},Z={role:"presentation"},tt={classMap:{"slds-listbox__item":!0,"slds-spinner_inline":!0},attrs:{role:"option"},key:27},et={classMap:{"slds-align_absolute-center":!0,"slds-p-top_medium":!0,"slds-p-bottom_medium":!0},key:28},it=[];function nt(t,e,i,n){const{ncls:s,b:o,gid:l,c:a,h:r,d:d,t:h,sp:p,st:u,k:c,i:m,f:g}=t,{_m0:b,_m1:_,_m2:I,_m3:w,_m4:v,_m5:f,_m6:E}=n;return[r("div",{className:s(e.computedContainerClass),key:0},[r("div",{className:s(e.computedDropdownTriggerClass),key:1,on:b||(n._m0={click:o(e.handleTriggerClick)})},[r("div",{className:s(e.computedFormElementClass),attrs:H,key:2},[e.hasInputPill?a("lightning-icon",A.default,{classMap:z,attrs:$,props:{id:l("input-pill-search-icon"),iconName:e.inputPill.iconName,alternativeText:e.inputPill.iconAlternativeText,size:"x-small"},key:3}):null,e.isUserInputDisabled?null:r("div",q,[r("div",F,[r("input",{className:s(e.computedInputClass),attrs:{id:l("combobox-input"),type:"text",role:e.customRole,accesskey:e.accessKey,"aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.customAriaHasPopup,required:e.required?"":null,readonly:e._inputAriaReadOnly?"":null,autocomplete:e.autocomplete,"data-value":e.computedInputValue,name:e.name,placeholder:e.computedPlaceholder,maxlength:e.inputMa
401xlength,disabled:e.disabled?"":null,"aria-disabled":e.computedAriaDisabled,"aria-readonly":e._inputAriaReadOnly,"aria-autocomplete":e.computedAriaAutocomplete,"aria-label":e.inputLabel,"aria-invalid":e.computedAriaInvalid,part:"input"},props:{value:e.computedInputValue},key:6,on:_||(n._m1={focus:o(e.handleFocus),select:o(e.handleInputSelect),change:o(e.handleTextChange),input:o(e.handleInput),keydown:o(e.handleInputKeyDown),click:o(e.handleInputClick),blur:o(e.handleBlur)})})])]),e.isUserInputDisabled?r("button",{className:s(e.computedButtonClass),attrs:{id:l("combobox-button"),type:"button","aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.customAriaHasPopup,"aria-invalid":e.ariaInvalid,name:e.name,role:e.customRole,"data-value":e.computedInputValue,disabled:e.disabled?"":null,"aria-disabled":e.disabled,"aria-label":e.inputLabel,"aria-required":e.required,part:"input-button"},key:7,on:I||(n._m2={focus:o(e.handleFocus),keydown:o(e.handleInputKeyDown),blur:o(e.handleBlur)})},[e.showLeftIcon?a("lightning-icon",A.default,{classMap:U,props:{iconName:e.leftIconName,size:e.leftIconSize,variant:e.buttonIconVariant},key:8}):null,r("span",{className:s(e.computedButtonValueClass),attrs:{part:"input-button-value","data-resize-reflow-enabled":e.isResizeReflowEnabled},key:9},[e.computedInputValue?h(d(e.computedInputValue)):null,e.computedInputValue?null:h(d(e.computedPlaceholder))]),e.showRightIcon?a("lightning-icon",A.default,{classMap:K,props:{iconName:e.inputIconName,size:e.inputIconSize,variant:e.buttonIconVariant},key:10}):null]):null,e.isCloseVisible?r("div",W,[r("button",{classMap:G,attrs:{type:"button","data-clear-selection-button":"",title:e.clearSelectionText},key:12,on:w||(n._m3={click:o(e.handlePillRemove)})},[a("lightning-primitive-icon",y.default,j),u(P,15,[p(1,null,d(e.clearSelectionText))])])]):null,e.shouldShowIconGroup?r("div",J,[e.showInputActivityIndicator?u(L,18,[p(2,null,d(e.i18n.loadingText))]):null,e.inputIconName?a("lightning-icon",A.default,{classMap:Q,props:{alternativeText:e.inputIconAlternativeText,iconName:e.inputIconName,size:e.inputIconSize},key:19}):null]):null]),r("div",{className:s(e.computedDropdownClass),attrs:{id:l("dropdown-element"),"data-dropdown-element":"",role:"listbox",part:"dropdown overlay","aria-label":e.inputLabel},key:20,on:v||(n._m4={scroll:o(e.handleListboxScroll),mousedown:o(e.handleDropdownMouseDown),mouseup:o(e.handleDropdownMouseUp),mouseleave:o(e.handleDropdownMouseLeave),click:o(e.handleOptionClick)})},e._hasDropdownOpened?g([m(e._items,function(t){return[t.items?null:a("lightning-base-combobox-item",D.default,{classMap:X,attrs:{"data-item-id":t.id,exportparts:"option","data-value":t.value},props:{role:"option",item:t,id:l(t.id),ariaChecked:t.checked},key:c(21,t.value),on:f||(n._m5={mouseenter:o(e.handleOptionMouseEnter)})}),t.items?r("ul",{attrs:{role:"group","aria-label":t.label},key:c(22,t.label)},g([t.label?u(R,24,[p(2,{attrs:{title:t.label}},null),p(3,null,d(t.label))]):null,m(t.items,function(t){return r("li",{classMap:Y,attrs:Z,key:c(25,t.value)},[a("lightning-base-combobox-item",D.default,{classMap:X,attrs:{"data-item-id":t.id,"data-value":t.value},props:{role:"option",item:t,id:l(t.id),ariaChecked:t.checked},key:26,on:E||(n._m6={mouseenter:o(e.handleOptionMouseEnter)})})])})])):null]}),e.showDropdownActivityIndicator?r("div",tt,[r("div",et,[a("lightning-spinner",x.default,{props:{size:"x-small",alternativeText:e.i18n.loadingText},key:29})])]):null,e.showAttribution?u(M,31,[p(1,{attrs:{src:e.attributionLogoUrl,alt:e.attributionLogoAssistiveText,title:e.attributionLogoAssistiveText}},null)]):null]):it)])])]}var st=e.registerTemplate(nt);function ot(t){t.preventDefault(),t.stopPropagation()}function lt({event:t,currentIndex:e,dropdownInterface:i}){ot(t),i.isDropdownVisible()||i.openDropdownIfNotEmpty();i.getTotalOptions()>0&&requestAnimationFrame(()=>{let n=0;n="PageUp"===t.key?Math.max(e-10,0):Math.min(e+10,i.getTotalOptions()-1),i.highlightOptionWithIndex(n)})}function at({event:t,dropdownInterface:e}){e.isInputReadOnly()&&(ot(t),e.isDropdownVisible()||e.openDropdownIfNotEmpty(),e.getTotalOptions()>0&&requestAnimationFrame(()=>{const i="Home"===t.key?0:e.getTotalOptions()-1;e.highlightOptionWithIndex(i)}))}function rt({event:t,currentIndex:e,dropdownInterface:i}){ot(t),i.isDropdownVisible()||i.openDropdownIfNotEmpty();const n="Up"===t.key||"ArrowUp"===t.key;let s;e>=0?(s=n?e-1:e+1,s>=i.getTotalOptions()?s=0:s<0&&(s=i.getTotalOptions()-1)):s=n?i.getTotalOptions()-1:0,i.getTotalOptions()>0&&requestAnimationFrame(()=>{i.highlightOptionWithIndex(s)})}function dt({event:t,dropdownInterface:e}){e.isDropdownVisible()&&(t.stopPropagation(),e.closeDropdown())}function ht({event:t,dropdownInterface:e}){e.shouldPreventInputDeletion()&&t.preventDefault(),e.isDropdownVisible()||e.openDropdownIfNotEmpty()}
401nt.stylesheets=[],nt.stylesheetToken="lwc-4kb6kaqheak",nt.legacyStylesheetToken="lightning-baseCombobox_baseCombobox",S&&nt.stylesheets.push.apply(nt.stylesheets,S),e.freezeTemplate(nt);const pt={Enter:function({event:t,currentIndex:e,dropdownInterface:i}){ot(t),i.isDropdownVisible()&&e>=0?i.selectByIndex(e):i.openDropdownIfNotEmpty()},PageUp:lt,PageDown:lt,Home:at,End:at,Down:rt,Up:rt,ArrowUp:rt,ArrowDown:rt,Esc:dt,Escape:dt,Tab:function({event:t,dropdownInterface:e,currentIndex:i}){if(!e.isDropdownVisible())return;const n=e.isInputReadOnly()||!e.getEditingMode();i>=0&&n&&e.selectByIndex(i),t.stopPropagation(),e.closeDropdown()},Backspace:ht,Delete:ht},ut=["Enter","PageUp","PageDown","Home","End","Down","Up","ArrowUp","ArrowDown","Esc","Escape","Tab"],ct=({event:t,dropdownInterface:e})=>{var i;i=t.key,ut.includes(i)?e.setEditingMode(!1):e.setEditingMode(!0)};function mt({event:t,currentIndex:e,dropdownInterface:i}){const n={event:t,currentIndex:e,dropdownInterface:i};pt[t.key]?pt[t.key](n):function({event:t,currentIndex:e,dropdownInterface:i}){t.key&&t.key.length>1||(i.isDropdownVisible()||i.openDropdownIfNotEmpty(),i.isInputReadOnly()&&(t.preventDefault(),requestAnimationFrame(()=>m.runActionOnBufferedTypedCharacters(t,i.highlightOptionWithText.bind(this,e||0)))))}(n),ct(n)}const{assertContext:gt}=g.privateContext;class bt{constructor(t){b.features.enableAssertContext260&&gt(t),this.dispatchEvent=t.dispatchEvent.bind(t)}dispatchPillRemove(t){this.dispatchEvent(new CustomEvent("pillremove",{detail:{item:t}}))}dispatchEndReached(){this.dispatchEvent(new CustomEvent("endreached"))}dispatchFocus(){this.dispatchEvent(new CustomEvent("focus"))}dispatchBlur(){this.dispatchEvent(new CustomEvent("blur"))}dispatchTextInput(t){this.dispatchEvent(new CustomEvent("textinput",{detail:{text:t}}))}dispatchTextChange(t){this.dispatchEvent(new CustomEvent("textchange",{detail:{text:t}}))}dispatchSelect(t){this.dispatchEvent(new CustomEvent("select",{detail:{value:t}}))}dispatchDropdownOpen(){this.dispatchEvent(new CustomEvent("dropdownopen"))}dispatchDropdownOpenRequest(){this.dispatchEvent(new CustomEvent("dropdownopenrequest"))}}var _t=[function(t,e,i){var n=t?"["+t+"]":"",s=t?"["+t+"-host]":"";return"@media (width <= 42.688em) {"+(e?':host([data-render-mode="shadow"]) .slds-input_faux'+n+" > .slds-truncate[data-resize-reflow-enabled]"+n+", :host .slds-input_faux":s+'[data-render-mode="shadow"] .slds-input_faux'+n+" > .slds-truncate[data-resize-reflow-enabled]"+n+","+s+" .slds-input_faux")+n+" > .slds-truncate[data-resize-reflow-enabled]"+n+" {white-space: normal;word-break: break-word;}}"}];var It=[function(t,e,i){return(e?":host {":(t?"["+t+"-host]":"")+" {")+"}"}];const{setContext:wt}=g.privateContext,vt={ariaSelectedOptions:E.default,deselectOptionKeyboard:O.default,pillCloseButtonAlternativeText:T.default,loadingText:C.default,placeholder:V.default,defaultGroupHeader:N.default},ft=".slds-combobox__input",At=`${ft}.slds-input_faux`,yt="button",Dt="aria-label",xt="aria-activedescendant",Et="aria-invalid";class Ot extends k.default{get autocomplete(){return this._autocomplete}set autocomplete(t){this._autocomplete=t||"off"}constructor(){super(),this.inputText="",this.inputIconName="utility:down",this.inputIconSize="x-small",this.inputIconAlternativeText=void 0,this.inputMaxlength=void 0,this.showInputActivityIndicator=!1,this.required=!1,this.placeholder=vt.placeholder,this.inputLabel=void 0,this.customRole="combobox",this.customAriaHasPopup="listbox",this.accessKey=void 0,this.ariaInvalid=void 0,this.name=void 0,this.inputPill=void 0,this.attributionLogoUrl=void 0,this.attributionLogoAssistiveText=void 0,this.helpTextElement=void 0,this.leftIconName=void 0,this.dropdownTriggerClass="",this._showDropdownActivityIndicator=!1,this._items=[],this._disabled=!1,this._dropdownVisible=!1,this._hasDropdownOpened=!1,this._highlightedOptionElementId=null,this._internals=void 0,this._variant=void 0,this._dropdownHeight="standard",this._readonly=!1,this._logoLoaded=!1,this._inputDescribedBy=[],this._inputAriaControls=void 0,this._inputAriaDetails=void 0,this._activeElementDomId=void 0,this._autocomplete="off",this._dropdownAlignment="left",this.originDisableDefaultHighlight=void 0,this.privateDisableDefaultHighlight=void 0,this._editingMode=!1,this._connected=!1,this.ariaObserver=null,this._inputElement=null,this.ariaDisabled=void 0,b.features.enableAssertContext260&&wt(this),this._events=new bt(this),b.features.enableComboboxElementInternals&&!l.isServer&&"undefined"!=typeof ElementInternals&&(this._internals=this.attachInternals()),this.setupAriaObserverIfAbsent()}renderedCallback(){this.inputElement=null,this.dispatchEvent(new CustomEvent("ready",{detail:{id:this.inputId,name:this.name}})),this.syncAriaObserver(),this.synchronizeA11y(),m.reflectAttribute(this,"data-input-pill",this.hasInputPill),m.reflectAttribute(this.template.querySelector("lightning-primitive-icon"),"data-input-pill-close-primicon",this.isCloseVisible),m.reflectAttribute(this.template.querySelector("slds-combobox__input-entity-icon"),"data-input-pill-search-icon",this.hasInputPill)}connectedCallback(){super.connectedCallback(),this.setupAriaObserverIfAbsent(),l.isServer||this.overrideDropdownAlignment(),this.classList.add("slds-combobox_container"),this._connected=!0,this._keyboardInterface=this.dropdownKeyboardInterface()}disconnectedCallback(){this._connected=!1,this._listBoxElementCache=void 0,this.removeAriaObserver()}setupAriaObserverIfAbsent(){this.ariaObserver||(this.ariaObserver=new B.default(this))}removeAriaObserver(){this.ariaObserver&&this.ariaObserver.disconnect&&(this.ariaObserver.disconnect(),this.ariaObserver=null)}get dropdownAlignment(){return this._dropdownAlignment}set dropdownAlignment(t){this._dropdownAlignment=t}
401get inputControlsElement(){return this._inputAriaControls}set inputControlsElement(t){this._inputAriaControls=t,this.connectAriaControls()}get inputDetailsElements(){return this._inputAriaDetails}set inputDetailsElements(t){this._inputAriaDetails=t,this.connectAriaAttribute({attribute:"aria-details",relatedNodeIds:t})}get internals(){return this._internals}syncAriaObserver(){this.setupAriaObserverIfAbsent();const t=this.ariaObserver&&this.ariaObserver.sync;this.isConnected&&t&&this.ariaObserver.sync()}connectAriaControls(){this.connectAriaAttribute({attribute:"aria-controls",relatedNodeIds:this._inputAriaControls,relatedNodes:this.dropdownElement})}connectAriaAttribute(t){if(this.setupAriaObserverIfAbsent(),this.ariaObserver&&this.ariaObserver.connect){const e=Array.isArray(t.relatedNodeIds)?t.relatedNodeIds.map(t=>m.getRealDOMId(t)).join(" "):m.getRealDOMId(t.relatedNodeIds);this.ariaObserver.connect({...t,targetSelector:ft,relatedNodeIds:e})}}get ariaErrorMessageElement(){return this._ariaErrorMessageElement}set ariaErrorMessageElement(t){this._ariaErrorMessageElement=t,this.connectAriaErrorMessageElement()}get inputDescribedByElements(){return this._inputDescribedBy}set inputDescribedByElements(t){this._inputDescribedBy=t,this.connectAriaDescribedByElements()}connectAriaDescribedByElements(){this.connectAriaAttribute({attribute:"aria-describedby",relatedNodeIds:this._inputDescribedBy,relatedNodes:this.helpTextElement})}connectAriaErrorMessageElement(){this.connectAriaAttribute({attribute:"aria-errormessage",relatedNodeIds:this._ariaErrorMessageElement})}get inputLabelledByElement(){return this._inputLabelledBy}set inputLabelledByElement(t){this._inputLabelledBy=t,this.connectAriaAttribute({attribute:"aria-labelledby",relatedNodeIds:t})}get rootAriaNode(){return this.ariaObserver.root}set rootAriaNode(t){this.setupAriaObserverIfAbsent(),this.ariaObserver&&(this.ariaObserver.root=t)}get inputId(){return m.getRealDOMId(this.inputElement)}get dropdownHeight(){return this._dropdownHeight}set dropdownHeight(t){this._dropdownHeight=m.normalizeString(t,{fallbackValue:"standard",validValues:["standard","small"]})}get showDropdownActivityIndicator(){return this._showDropdownActivityIndicator}set showDropdownActivityIndicator(t){this._showDropdownActivityIndicator=m.normalizeBoolean(t),this._connected&&(this._showDropdownActivityIndicator?this._shouldOpenDropDown&&this.openDropdownIfNotEmpty():this._dropdownVisible&&this.isDropdownEmpty&&this.closeDropdown())}get computedAriaDisabled(){return!("true"!==this.ariaDisabled&&!this.disabled)}get disabled(){return this._disabled}set disabled(t){this._disabled=m.normalizeBoolean(t),m.reflectAttribute(this,"disabled",this._disabled),this._disabled&&this._dropdownVisible&&this.closeDropdown()}get readOnly(){return this._readonly}set readOnly(t){this._readonly=m.normalizeBoolean(t),b.features.enableComboboxElementInternals&&m.reflectAttribute(this,"readonly",this._readonly),this._readonly&&this._dropdownVisible&&this.closeDropdown()}get variant(){return this._variant||w.VARIANT.STANDARD}set variant(t){const e=[w.VARIANT.STANDARD,w.VARIANT.LABEL_INLINE,w.VARIANT.LABEL_STACKED,w.VARIANT.LABEL_HIDDEN,"lookup"];b.features.enableComboboxButtonVariant&&e.push(yt),this._variant=m.normalizeString(t,{fallbackValue:w.VARIANT.STANDARD,validValues:e})}get items(){return this._unprocessedItems}set items(t=[]){this._unprocessedItems=t,this.updateItems(t),this._connected&&(this._hasDropdownOpened&&(this.updateItems(t),this._dropdownVisible&&(this.isDropdownEmpty?this.closeDropdown():(this.highlightDefaultItem(),this.startDropdownAutoPositioning()))),this._shouldOpenDropDown&&this.openDropdownIfNotEmpty())}get disableDefaultHighlight(){return this.originDisableDefaultHighlight}set disableDefaultHighlight(t){this.originDisableDefaultHighlight=t,this.privateDisableDefaultHighlight=m.normalizeBoolean(t)}highlightInputText(){this._connected&&requestAnimationFrame(()=>{const{inputElement:t}=this;t.setSelectionRange(0,t.value.length)})}get showAttribution(){return this.attributionLogoUrl}focus(){this._connected&&this.inputElement.focus()}focusAndOpenDropdownIfNotEmpty(){this._connected&&(this._inputHasFocus||this.focus(),this.openDropdownIfNotEmpty())}blur(){this._connected&&this.inputElement.blur()}setValidity(t,e){this._internals&&this._internals.setValidity(t,e,this.inputElement)}synchronizeA11y(){const t=this.inputElement;t&&(m.synchronizeAttrs(t,{[Dt]:this.inputLabel,[Et]:this.computedAriaInvalid,[xt]:this.computedAriaActiveDescendant}
401),this.isConnected&&this.connectAriaControls())}itemId(t){return this.inputId+"-"+t}itemIndexFromId(t){return parseInt(t.substring(t.lastIndexOf("-")+1),10)}processItem(t){const e={};return e.type=t.type,e.iconName=t.iconName,e.iconSize=t.iconSize,e.iconAlternativeText=t.iconAlternativeText,e.rightIconName=t.rightIconName,e.rightIconSize=t.rightIconSize,e.rightIconAlternativeText=t.rightIconAlternativeText,e.text=t.text,e.subText=t.subText,e.value=t.value,e.checked=t.checked||!1,e.selectable=["option-card","option-inline"].indexOf(t.type)>=0,e.selectable&&(e.index=this._selectableItems,e.id=this.itemId(e.index),this._selectableItems+=1,t.highlight&&(this._highlightedItemIndex=e.index)),e}get clearSelectionText(){return _.formatLabel(this.i18n.pillCloseButtonAlternativeText,this.inputLabel)}get isAutocompleteEnabled(){return this.autocomplete&&"off"!==this.autocomplete}get isButtonVariant(){return this.variant===yt}get isStandardOrLabelVariant(){const t=[w.VARIANT.STANDARD,w.VARIANT.LABEL_INLINE,w.VARIANT.LABEL_STACKED,w.VARIANT.LABEL_HIDDEN];return b.features.enableComboboxButtonVariant&&t.push(yt),t.includes(this.variant)}get isDefaultReadOnlyTypes(){return this.isStandardOrLabelVariant||this.hasInputPill}get isUserInputDisabled(){return this.isStandardOrLabelVariant&&!this.isAutocompleteEnabled}get isResizeReflowEnabled(){return b.features.enableComboboxReflowFix?"":null}get _inputAriaReadOnly(){return!(!this._dropdownVisible||!this.isStandardOrLabelVariant)||(this._readonly||!this.isAutocompleteEnabled&&this.isDefaultReadOnlyTypes)}get computedAriaActiveDescendant(){return this.isUserInputDisabled||!this._editingMode?this._activeElementDomId:void 0}get computedAriaAutocomplete(){return this.hasInputPill?null:this._inputAriaReadOnly?"none":"list"}get computedPlaceholder(){return b.features.enableComboboxPlaceholderA11y?this.placeholder:this.hasInputPill?this.inputPill.label:this.placeholder}get computedInputValue(){return this.hasInputPill?this.inputPill.label:this.inputText}handleListboxScroll(t){t.stopPropagation();const e=t.target,i=e.getBoundingClientRect().height,n=e.scrollHeight-i;e.scrollTop+20>=n&&this._events.dispatchEndReached()}get listboxElement(){return this._listBoxElementCache||(this._listBoxElementCache=this.template.querySelector('[role="listbox"]')),this._listBoxElementCache}get computedUniqueElementId(){return this.inputId}get dropdownElement(){return l.isServer?null:this.template.querySelector("[data-dropdown-element]")}get i18n(){return vt}get computedContainerClass(){const t=_.classSet("slds-combobox_container");return this.isButtonVariant&&t.add("slds-combobox-button slds-size_small"),t.toString()}get computedDropdownTriggerClass(){const t=b.features.enableReadOnlyTimepickerFix&&this.dropdownTriggerClass||"";return _.classSet(`slds-combobox slds-dropdown-trigger slds-dropdown-trigger_click ${t}`).add({"slds-is-open":this._dropdownVisible,"slds-is-selected":this.isButtonVariant&&!!this.computedInputValue}).toString()}get computedDropdownClass(){const t=this.dropdownAlignment;let e="";return this._dropdownVisible&&("standard"===this.dropdownHeight?e=window.innerHeight<=834?"slds-dropdown_length-with-icon-7":"slds-dropdown_length-with-icon-10":"small"===this.dropdownHeight&&(e="slds-dropdown_length-with-icon-5")),_.classSet(`slds-listbox slds-listbox_vertical slds-dropdown slds-dropdown_fluid ${e}`).add({"slds-dropdown_left":"left"===t||"auto"===t,"slds-dropdown_center":"center"===t,"slds-dropdown_right":"right"===t,"slds-dropdown_bottom":"bottom-center"===t,"slds-dropdown_bottom slds-dropdown_right slds-dropdown_bottom-right":"bottom-right"===t,"slds-dropdown_bottom slds-dropdown_left slds-dropdown_bottom-left":"bottom-left"===t}).toString()}get computedInputClass(){const t=_.classSet("slds-combobox__input");return t.add({"slds-input_faux":this.isUserInputDisabled,"fix-slds-input_faux":this.isUserInputDisabled,"slds-input":!this.isUserInputDisabled,"slds-is-disabled":this.disabled,"slds-combobox__input-value":this.computedInputValue,"slds-input-has-icon_group-right":!this.computedInputValue&&this.showInputActivityIndicator}),t.toString()}get computedButtonClass(){if(!this.isButtonVariant)return this.computedInputClass;const t=this._dropdownVisible||!!this.computedInputValue;return _.classSet("slds-combobox__input slds-button").add({"slds-button_neutral":!t,"
401slds-button_brand":t}).toString()}get computedButtonValueClass(){return this.isButtonVariant?"slds-grow slds-text-align_left slds-truncate":"slds-truncate"}get showLeftIcon(){return this.isButtonVariant&&!!this.leftIconName}get leftIconSize(){return this.isButtonVariant?"xx-small":void 0}get showRightIcon(){return this.isButtonVariant}get buttonIconVariant(){if(!this.isButtonVariant)return;return this._dropdownVisible||!!this.computedInputValue?"bare":void 0}get _shouldOpenDropDown(){return!this.dropdownDisabled&&this._inputHasFocus&&this._requestedDropdownOpen}get dropdownDisabled(){return this.readOnly||this.disabled}handleOptionClick(t){t.target.hasAttribute("aria-selected")&&(t.stopPropagation(),t.preventDefault(),this.selectOptionAndCloseDropdown(t.target))}handleOptionMouseEnter(t){t.target.hasAttribute("aria-selected")&&(this._editingMode=!1,this.highlightOption(t.target))}handleDropdownMouseLeave(){this.removeHighlight(),this._inputHasFocus||this.closeDropdown()}handleTriggerClick(t){t.stopPropagation(),this.allowBlur(),this.dropdownDisabled||this.hasInputPill||(this._inputAriaReadOnly&&this._dropdownVisible?this.closeDropdown():this.openDropdownIfNotEmpty(),this.inputElement.focus())}handlePillKeyDown(t){this.dropdownDisabled||"Delete"!==t.key&&"Del"!==t.key&&"Backspace"!==t.key||this.handlePillRemove()}handleInputKeyDown(t){this.dropdownDisabled||t.isComposing||229===t.keyCode||t.ctrlKey||t.altKey||t.metaKey||(this.hasInputPill?this.handlePillKeyDown(t):mt({event:t,currentIndex:this.getCurrentHighlightedOptionIndex(),dropdownInterface:this._keyboardInterface}))}handleInputClick(){this.dispatchEvent(new CustomEvent("inputclick"))}handleTextChange(t){const e=t.target.value;if(this.variant===w.VARIANT.STANDARD){let t;const i=this._unprocessedItems.find(t=>t.value===e);if(t=i,!i){t=this._unprocessedItems.find(t=>t.value&&t.text===e)}t&&this._events.dispatchSelect(t.value)}else this._events.dispatchTextChange(e)}handleFocus(){this._inputHasFocus=!0,this._events.dispatchFocus()}handleInput(t){this.hasInputPill||this._events.dispatchTextInput(t.target.value)}handleBlur(){this._inputHasFocus=!1,this._cancelBlur||(this.closeDropdown(),this._events.dispatchBlur())}handleDropdownMouseDown(t){0===t.button&&this.cancelBlur()}handleDropdownMouseUp(){this.allowBlur()}highlightOption(t){this.removeHighlight(),t&&(t.highlight(),this._highlightedOptionElement=t,this._highlightedOptionElementId=t.getAttribute("data-item-id"),this._activeElementDomId=t.id),this.synchronizeA11y()}highlightOptionAndScrollIntoView(t){0!==this._selectableItems.length&&t&&(this.highlightOption(t),function(t,e){const i=e.getBoundingClientRect(),n=t.getBoundingClientRect();n.top<i.top?t.offsetTop+n.height<i.height?e.scrollTop=0:e.scrollTop=t.offsetTop:n.bottom>i.bottom&&(e.scrollTop+=n.bottom-i.bottom)}(t,this.listboxElement))}removeHighlight(){const t=this._highlightedOptionElement;t&&(t.removeHighlight(),this._highlightedOptionElement=null,this._highlightedOptionElementId=null,this._activeElementDomId=null)}selectOptionAndCloseDropdown(t){this.closeDropdown(),this.inputElement.focus();const e=t.getAttribute("data-value");this._events.dispatchSelect(e)}handleInputSelect(t){t.stopPropagation()}openDropdownIfNotEmpty(){if(this._dropdownVisible)return;(!Array.isArray(this.items)||0===this.items.length)&&!this._requestedDropdownOpen&&this._events.dispatchDropdownOpenRequest(),this.isDropdownEmpty?this._requestedDropdownOpen=!0:(this._hasDropdownOpened||(this._unprocessedItems&&this.updateItems(this._unprocessedItems),this._hasDropdownOpened=!0),this._requestedDropdownOpen=!1,this._dropdownVisible=!0,this.startDropdownAutoPositioning(),this.highlightDefaultItem(),this._events.dispatchDropdownOpen())}closeDropdown(){this._dropdownVisible&&(this.stopDropdownPositioning(),this.removeHighlight(),this._dropdownVisible=!1)}findOptionElementByIndex(t){return this.template.querySelector(`[data-item-id="${this.itemId(t)}"]`)}allowBlur(){this._cancelBlur=!1}cancelBlur(){this._cancelBlur=!0}getCurrentHighlightedOptionIndex(){return this._highlightedOptionElementId&&this._highlightedOptionElementId.length>0?this.itemIndexFromId(this._highlightedOptionElementId):-1}get inputElement(){return l.isServer?null:(this._inputElement=this._inputElement||this.template.querySelector(ft),this._inputElement)}set inputElement(t){this._inputElement=t}startDropdownAutoPositioning(){if("auto"!==this.dropdownAlignment)return;this._autoPosition||(this._autoPosition=new I.AutoPosition(this));const t=this.isUserInputDisabled?At:'[part~="input-text"]';this._autoPosition.start({target:()=>this.template.querySelector(t),element:()=>this.template.querySelector("div.slds-dropdown"),align:{horizontal:I.Direction.Left,vertical:I.Direction.Top},targetAlign:{horizontal:I.Direction.Left,vertical:I.Direction.Bottom},autoFlip:!0,alignWidth:!0,autoShrinkHeight:!0,minHeight:this._selectableItems<3?"2.25rem":"6.75rem",keepInViewport:!0})}stopDropdownPositioning(){this._autoPosition&&this._autoPosition.stop()}get hasInputPill(){return this.inputPill&&Object.keys(this.inputPill).length>0}get isCloseVisible(){return!this.disabled&&this.hasInputPill}get shouldShowIconGroup(){return!this.hasInputPill&&!this.isButtonVariant}handlePillRemove(){this.inputElement.focus(),this._events.dispatchPillRemove(this.inputPill)}get computedFormElementClass(){if(this.isButtonVariant)return"";const t=this.hasInputPill&&this.inputPill.iconName;return _.classSet("slds-combobox__form-element slds-input-has-icon").add({"slds-input-has-icon_right":!t,"slds-input-has-icon_left-right":t}).toString()}get computedAriaExpanded(){return this._dropdownVisible?"true":"false"}updateItems(t){t&&(m.assert(Array.isArray(t),'"items" must be an array'),this._selectableItems=0,this._highlightedItemIndex=0,this._items=t.map(t=>{if(t.items){const e={label:t.label||(t.items.length?this.i18n.defaultGroupHeader:void 0)};return e.items=t.items.map(t=>this.processItem(t)),e}return this.processItem(t)}))}highlightDefaultItem(){this.removeHighlight(),this.privateDisableDefaultHighlight||this._editingMode||requestAnimationFrame(()=>{this.highlightOptionAndScrollIntoView(this.findOptionElementByIndex(this._highlightedItemIndex))})}get isDropdownEmpty(){return!(this.showDropdownActivityIndicator||Array.isArray(this.items)&&0!==this.items.length)}dropdownKeyboardInterface(){const t=this;return{getTotalOptions:()=>t._selectableItems,selectByIndex(e){t.selectOptionAndCloseDropdown(t.findOptionElementByIndex(e))},highlightOptionWithIndex(e){t.highlightOptionAndScrollIntoView(t.findOptionElementByIndex(e))},isInputReadOnly:()=>t._inputAriaReadOnly,shouldPreventInputDeletion:()=>t.isAutocompleteEnabled&&t.isDefaultReadOnlyTypes,highlightOptionWithText(e,i){for(let n=e+1;n<t._items.length;n++){const e=t._items[n];if(e.selectable&&e.text&&0===e.text.toLowerCase().indexOf(i.toLowerCase()))return void t.highlightOptionAndScrollIntoView(t.findOptionElementByIndex(n))}for(let n=0;n<e;n++){const e=t._items[n];if(e.selectable&&e.text&&0===e.text.toLowerCase().indexOf(i.toLowerCase()))return void t.highlightOptionAndScrollIntoView(t.findOptionElementByIndex(n))}},isDropdownVisible:()=>t._dropdownVisible,openDropdownIfNotEmpty(){t.openDropdownIfNotEmpty()},closeDropdown(){t.closeDropdown()},setEditingMode(e){t._editingMode=e,e&&(t._activeElementDomId=null),t.synchronizeA11y()},getEditingMode:()=>t._editingMode}}get computedAriaInvalid(){return b.features.enableAriaInvalidGroupCombobox?this.ariaInvalid:m.computeAriaInvalid(this.ariaInvalid,!0)}isShadowRoot(t){return t&&11===t.nodeType}parentNodeContainsClass(t,e){let i=t;for(;i?.parentNode&&(i=this.isShadowRoot(i.parentNode)?i.parentNode.host:i.parentNode,!b.features.enableBaseComboboxNullCheck||i);)if(i.classList&&i.classList.contains(e))return!0;return!1}overrideDropdownAlignment(){this.parentNodeContainsClass(this.template.host,"slds-modal")&&(this._dropdownAlignment="auto")}}Ot.delegatesFocus=!0,Ot.formAssociated=!0,Ot.validationOptOut=["class"],Ot.stylesheets=[b.features.enableComboboxReflowFix&&_t||It],e.registerDecorators(Ot,{publicProps:{autocomplete:{config:3},inputText:{config:0},inputIconName:{config:0},inputIconSize:{config:0},inputIconAlternativeText:{config:0},inputMaxlength:{config:0},showInputActivityIndicator:{config:0},required:{config:0},placeholder:{config:0},inputLabel:{config:0},customRole:{config:0},customAriaHasPopup:{config:0},accessKey:{config:0},ariaInvalid:{config:0},name:{config:0},inputPill:{config:0},attributionLogoUrl:{config:0},attributionLogoAssistiveText:{config:0},helpTextElement:{config:0},leftIconName:{config:0},dropdownTriggerClass:{config:0},dropdownAlignment:{config:3},inputControlsElement:{config:3},inputDetailsElements:{config:3},internals:{config:1},ariaErrorMessageElement:{config:3},inputDescribedByElements:{config:3},inputLabelledByElement:{config:3},rootAriaNode:{config:3},dropdownHeight:{config:3},showDropdownActivityIndicator:{config:3},ariaDisabled:{config:0},computedAriaDisabled:{config:1},disabled:{config:3},readOnly:{config:3},variant:{config:3},items:{config:3},disableDefaultHighlight:{config:3}},publicMethods:["highlightInputText","focus","focusAndOpenDropdownIfNotEmpty","blur","setValidity","closeDropdown"],track:{_items:1},fields:["_showDropdownActivityIndicator","_disabled","_dropdownVisible","_hasDropdownOpened","_highlightedOptionElementId","_internals","_variant","_dropdownHeight","_readonly","_logoLoaded","_inputDescribedBy","_inputAriaControl
401s","_inputAriaDetails","_activeElementDomId","_autocomplete","_dropdownAlignment","originDisableDefaultHighlight","privateDisableDefaultHighlight","_editingMode","_connected","ariaObserver","_inputElement"]});const Ct=e.registerComponent(Ot,{tmpl:st,sel:"lightning-base-combobox",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=Ct,Object.defineProperty(t,"__esModule",{value:!0})});
402})();(function() { LWR.define("lightning/timepicker",["exports","lwc","lightning/helptext","lightning/baseCombobox","lwr/environment","@salesforce/label/LightningDateTimePicker.invalidDate","@salesforce/label/LightningDateTimePicker.rangeOverflow","@salesforce/label/LightningDateTimePicker.rangeUnderflow","@salesforce/label/LightningControl.required","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/internationalizationLibrary","lightning/utils","lightning/iso8601Utils","lightning/utilsPrivate","lightning/inputUtils","lightning/features"],function(e,t,i,s,a,l,n,r,o,h,d,m,u,c,g,p,b){function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=f(i),_=f(s),y=f(l),L=f(n),S=f(r),E=f(o),T=f(h),x=f(d);var I=[function(){return""}];const M=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} aria-hidden="true"${2}>*</abbr>`,A=t.parseFragment`<div${"a0:id"} data-error-message${"a0:data-name"}${"c0"} aria-live="polite"${2}>${"t1"}</div>`,D={classMap:{"slds-form-element__control":!0},key:4};function B(e,t,i,s){const{ncls:a,sp:l,st:n,d:r,t:o,h:h,c:d,b:m,gid:u}=e,{_m0:c}=s;return[t.hasExternalLabel?null:h("label",{className:a(t.computedLabelClass),key:0},[t.required?n(M,2,[l(0,{attrs:{title:t.i18n.required}},null)]):null,o(r(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?d("lightning-helptext",v.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:3}):null,h("div",D,[d("lightning-base-combobox",_.default,{props:{part:"input-container",ariaDisabled:t.ariaDisabled,autocomplete:t.autocomplete,accessKey:t.accessKey,dropdownHeight:"small",dropdownTriggerClass:"slds-timepicker",name:t.name,variant:"lookup",placeholder:t.placeholder,disabled:t.disabled,readOnly:t.readOnly,required:t.required,items:t.items,inputText:t.displayValue,inputIconName:"utility:clock",inputLabel:t.comboboxLabel,inputControlsElement:t.ariaControlsElement,inputDetailsElements:t.ariaDetailsElements,inputLabelledByElement:t.ariaLabelledByElement,dropdownAlignment:"auto",ariaInvalid:t.computedAriaInvalid,rootAriaNode:t.rootAriaNode,inputDescribedByElements:t.ariaDescribedByElements,ariaErrorMessageElement:t.ariaErrorMessageElement},key:5,on:c||(s._m0={ready:m(t.handleReady),textchange:m(t.handleInputChange),textinput:m(t.handleTextInput),dropdownopenrequest:m(t.handleDropdownOpenRequest),focus:m(t.handleFocus),blur:m(t.handleBlur),select:m(t.handleTimeSelect)})})]),n(A,7,[l(0,{className:a(t.computedClass),attrs:{id:u("error-message"),"data-name":t.name}},null),l(1,null,r(t._errorMessage))])]}var w=t.registerTemplate(B);B.stylesheets=[],B.stylesheetToken="lwc-2onco8hrliv",B.legacyStylesheetToken="lightning-timepicker_timepicker",I&&B.stylesheets.push.apply(B.stylesheets,I),t.freezeTemplate(B);const C={invalidDate:y.default,rangeOverflow:L.default,rangeUnderflow:S.default,required:E.default,helpTextAlternativeText:T.default},O="short",V="medium",k="long";class H extends x.default{constructor(...e){super(...e),this._disabled=!1,this._required=!1,this._displayValue=null,this._value=null,this._min=void 0,this._max=void 0,this._items=[],this._fieldLevelHelp=void 0,this._variant="lookup",this._mainInputId=void 0,this._errorMessage=void 0,this._readonly=!0,this._describedByElements=[],this._timeStepMinutes=15,this.rootAriaNode=void 0,this.autocomplete="off",this.ariaLabelledByElement=void 0,this.ariaControlsElement=void 0,this.ariaDetailsElements=void 0,this.ariaLabel=void 0,this.ariaDisabled=void 0,this.label=void 0,this.name=void 0,this.placeholder="",this.accessKey=void 0,this.messageWhenValueMissing=void 0,this._ariaDescribedByElements=void 0,this._timeStyle=O,this.ariaErrorMessageElement=void 0}get timeStepMinutes(){return this._timeStepMinutes}set timeStepMinutes(e){if(b.features.enableTimeIntervalApi){const t=parseInt(e,10);t>=5&&t===Number(e)?this._timeStepMinutes=t:(this._timeStepMinutes=15,null!=e&&""!==e&&console.warn("<lightning-timepicker>: Invalid timeStepMinutes value. Please use a positive integer above or equal to 5. Defaulting to 15.")),this._items.length&&this.connected&&this.rebuildAndUpdateTimeList()}}get comboboxComponent(){return this.template.querySelector("lightning-base-combobox")}
402get messageWhenBadInput(){return this._messageWhenBadInput||u.formatLabel(C.invalidDate,m.getTimeFormatFromStyle(this.timeStyle,!0))}set messageWhenBadInput(e){this._messageWhenBadInput=e}get messageWhenRangeOverflow(){return this._messageWhenRangeOverflow||u.formatLabel(C.rangeOverflow,m.normalizeISOTime(this.max,this.timeStyle).isoValue)}set messageWhenRangeOverflow(e){this._messageWhenRangeOverflow=e}get messageWhenRangeUnderflow(){return this._messageWhenRangeUnderflow||u.formatLabel(C.rangeUnderflow,m.normalizeISOTime(this.min,this.timeStyle).isoValue)}set messageWhenRangeUnderflow(e){this._messageWhenRangeUnderflow=e}set ariaDescribedByElements(e){Array.isArray(e)?this._ariaDescribedByElements=e:this.ariaDescribedByElements=[e],this.errorMessageElement&&!this._ariaDescribedByElements.includes(this.errorMessageElement)&&this._ariaDescribedByElements.push(this.errorMessageElement)}get ariaDescribedByElements(){return this._ariaDescribedByElements}get value(){return this._value}set value(e){const t=c.removeTimeZoneSuffix(e),i=m.normalizeISOTime(t,this.timeStyle);this._value=i.isoValue,this._displayValue=i.displayValue,this._items.length&&(this._items=this.timeList)}get disabled(){return this._disabled}set disabled(e){this._disabled=g.normalizeBoolean(e)}get readOnly(){return this._readonly}set readOnly(e){this._readonly=g.normalizeBoolean(e)}get required(){return this._required}set required(e){this._required=g.normalizeBoolean(e)}hasBadInput(){return!!this._displayValue&&null===this._value}showHelpMessage(e){e?(this.classList.add("slds-has-error"),this._errorMessage=e):(this.classList.remove("slds-has-error"),this._errorMessage="")}set fieldLevelHelp(e){this._fieldLevelHelp=e}get fieldLevelHelp(){return this._fieldLevelHelp}get variant(){return this._variant||p.VARIANT.STANDARD}set variant(e){this._variant=p.normalizeVariant(e),g.reflectAttribute(this,"variant",this._variant)}get max(){return this._max}set max(e){this._max=e,this.connected&&this.rebuildAndUpdateTimeList()}get min(){return this._min}set min(e){this._min=e,this.connected&&this.rebuildAndUpdateTimeList()}focus(){this.connected&&this.getCombobox().focus()}blur(){this.connected&&this.getCombobox().blur()}get timeStyle(){return this._timeStyle}set timeStyle(e){this._timeStyle=g.normalizeString(e,{fallbackValue:O,validValues:[O,V,k]});const t=m.normalizeISOTime(this._value,this._timeStyle);this._displayValue=t.displayValue}connectedCallback(){super.connectedCallback(),this._isNativeShadow=g.
402isNativeComponent(this),this.connected=!0}disconnectedCallback(){this.connected=!1}get errorMessageElement(){return a.isServer?null:this.template.querySelector("[data-error-message]")}synchronizeA11y(){const e=this.template.querySelector("label");g.synchronizeAttrs(e,{for:this._mainInputId})}renderedCallback(){this.synchronizeA11y()}get comboboxLabel(){return this.ariaLabel||this.ariaLabelledByElement||!this._isNativeShadow?this.ariaLabel:this.label}get displayValue(){return this._displayValue}get items(){return this._items}get i18n(){return C}get isLabelHidden(){return this.variant===p.VARIANT.LABEL_HIDDEN}get computedClass(){return this._errorMessage?"slds-form-element__help slds-show":"slds-form-element__help"}get computedLabelClass(){return u.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}handleReady(e){this._mainInputId=e.detail.id}buildTimeList(){const e=[],t=m.normalizeISOTime(this.min,O).parsedValue,i=m.normalizeISOTime(this.max,O).parsedValue,s=new Date;if(b.features.enableTimeIntervalApi){const a=t?60*t.getHours()+t.getMinutes():0,l=i?60*i.getHours()+i.getMinutes()+60:1440;for(let t=a;t<l;t+=this._timeStepMinutes){const a=Math.floor(t/60),l=t%60;if(s.setHours(a,l),s.setSeconds(0,0),this.isAfterMaxTime(s,i))break;const n=m.getISOTimeString(s),r=m.normalizeISOTime(n,O);e.push({type:"option-inline",text:r.displayValue,value:n})}}else{const a=t?t.getHours():0,l=i?i.getHours()+1:24;for(let n=a;n<l;n++)for(let a=0;a<60;a+=15){if(s.setHours(n,a),s.setSeconds(0,0),this.isBeforeMinTime(s,t))continue;if(this.isAfterMaxTime(s,i))break;const l=m.getISOTimeString(s),r=m.normalizeISOTime(l,O);e.push({type:"option-inline",text:r.displayValue,value:l})}}return e}get timeList(){if(this._timeList||(this._timeList=this.buildTimeList()),!this._value)return this._timeList;const e=function(e,t){const i=m.parseTime(e);if(!i)return null;i.setSeconds(0,0);let s=i.getHours(),a=i.getMinutes();const l=a%t,n=Math.floor(a/t);0!==l&&(a=(l<t/2?n:n+1)*t,a>=60&&(23===s?a-=t:(a=0,s++)),i.setHours(s),i.setMinutes(a));return m.getISOTimeString(i)}(this._value,b.features.enableTimeIntervalApi?this._timeStepMinutes:15);return this._timeList.map(t=>{const i=Object.assign({},t);return t.value===this._value?(i.iconName="utility:check",i.checked=!0):i.checked=!1,t.value===e&&(i.highlight=!0),i})}rebuildAndUpdateTimeList(){this._timeList=null,this._items=this.timeList}getCombobox(){return this.template.querySelector("lightning-base-combobox")}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleInputChange(e){e.preventDefault(),e.stopPropagation(),this._displayValue=e.detail.text;const{value:t,style:i}=m.parseFormattedTime(this._displayValue);this._value=t,i&&(this._timeStyle=i),this._items=this.timeList,this.dispatchChangeEvent()}handleTextInput(e){e.preventDefault(),e.stopPropagation(),this._displayValue=e.detail.text,this.getCombobox().closeDropdown()}handleTimeSelect(e){e.stopPropagation(),e.detail&&(this._value=e.detail.value,this._displayValue=m.normalizeISOTime(this._value,this.timeStyle).displayValue,this._items=this.timeList,this.dispatchChangeEvent())}handleDropdownOpenRequest(){this._items=this.timeList}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this._value}}))}isBeforeMinTime(e,t){const i=t||m.normalizeISOTime(this.min,O);return!!i&&m.isBefore(e,i,"minute")}isAfterMaxTime(e,t){const i=t||m.normalizeISOTime(this.max,O);return!!i&&m.isAfter(e,i,"minute")}get hasExternalLabel(){return this.variant===p.VARIANT.LABEL_HIDDEN&&this.ariaLabelledByElement&&this.ariaLabelledByElement.length}get computedAriaInvalid(){const e=(a.isServer?null:this.template.host.getAttribute("data-aria-invalid"))||this._errorMessage;return g.computeAriaInvalid(e,this.value)}get helptextAlternativeText(){return u.formatLabel(C.helpTextAlternativeText,this.label)}}H.delegatesFocus=!0,t.registerDecorators(H,{publicProps:{rootAriaNode:{config:0},timeStepMinutes:{config:3},autocomplete:{config:0},ariaLabelledByElement:{config:0}
402,ariaControlsElement:{config:0},ariaDetailsElements:{config:0},ariaLabel:{config:0},ariaDisabled:{config:0},label:{config:0},name:{config:0},placeholder:{config:0},accessKey:{config:0},comboboxComponent:{config:1},messageWhenValueMissing:{config:0},messageWhenBadInput:{config:3},messageWhenRangeOverflow:{config:3},messageWhenRangeUnderflow:{config:3},ariaDescribedByElements:{config:3},value:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},fieldLevelHelp:{config:3},variant:{config:3},max:{config:3},min:{config:3},timeStyle:{config:3},ariaErrorMessageElement:{config:0}},publicMethods:["hasBadInput","showHelpMessage","focus","blur"],track:{_disabled:1,_required:1,_displayValue:1,_value:1,_min:1,_max:1,_items:1,_fieldLevelHelp:1,_variant:1,_mainInputId:1,_errorMessage:1,_readonly:1,_describedByElements:1,_timeStepMinutes:1},fields:["_ariaDescribedByElements","_timeStyle"]});const q=t.registerComponent(H,{tmpl:w,sel:"lightning-timepicker",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=q,Object.defineProperty(e,"__esModule",{value:!0})});
403})();(function() { LWR.define("lightning/datetimepicker",["exports","lwc","lightning/helptext","lightning/datepicker","lightning/timepicker","lwr/environment","@salesforce/label/LightningDateTimePicker.dateLabel","@salesforce/label/LightningDateTimePicker.rangeOverflow","@salesforce/label/LightningDateTimePicker.rangeUnderflow","@salesforce/label/LightningDateTimePicker.timeLabel","@salesforce/label/LightningInput.helptextAlternativeText","@salesforce/label/LightningDateTimePicker.valueMissingWithDateFormat","@salesforce/label/LightningDateTimePicker.customErrorWithDateFormat","@salesforce/i18n/timeZone","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/features","lightning/internationalizationLibrary","lightning/iso8601Utils","lightning/inputUtils"],function(e,t,i,a,s,r,n,l,o,h,d,m,u,c,g,p,f,v,_,b,A,y){function D(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T=D(i),M=D(a),V=D(s),E=D(n),k=D(l),L=D(o),B=D(h),x=D(d),I=D(m),z=D(u),S=D(c),C=D(g);var F=[function(){return""}];const W=t.parseFragment`<legend${"c0"}${2}>${"t1"}</legend>`,w=t.parseFragment`<div data-error-message${"a0:id"}${"a0:data-name"} class="slds-form-element__help${0}" aria-live="polite"${2}>${"t1"}</div>`,O={classMap:{"slds-form":!0},attrs:{tabindex:"-1"},key:0},R={classMap:{"slds-form-element":!0,"slds-form-element_compound":!0},key:1},H={classMap:{"slds-form-element__control":!0},key:5},q={classMap:{"slds-form-element__group":!0},key:6},N={classMap:{"slds-form-element__row":!0},key:7},P={"slds-form-element":!0};function U(e,t,i,a){const{ncls:s,d:r,sp:n,st:l,c:o,b:h,h:d,gid:m}=e,{_m0:u,_m1:c}=a;return[d("div",O,[d("fieldset",R,[t.hasExternalLabel?null:l(W,3,[n(0,{className:s(t.computedLabelClass)},null),n(1,null,r(t.label))]),t.hasExternalLabel?null:t.fieldLevelHelp?o("lightning-helptext",T.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,d("div",H,[d("div",q,[d("div",N,[o("lightning-datepicker",M.default,{classMap:P,attrs:{"data-aria-invalid":t.computedDateAriaInvalid},props:{autocomplete:t.autocomplete,accessKey:t.dateAccessKey,min:t.dateMin,max:t.dateMax,label:t.i18n.date,name:t.name,placeholder:t.placeholder,readOnly:t.readOnly,disabled:t.disabled,dateStyle:t.dateStyle,required:t.required,ariaDisabled:t.ariaDisabled,variant:t.childVariant,rootAriaNode:t.rootAriaNode,externalErrorMessage:t.customErrorMessage},key:8,on:u||(a._m0={focus:h(t.handleDatepickerFocus),blur:h(t.handleDatepickerBlur),change:h(t.handleDateChange)})}),o("lightning-timepicker",V.default,{classMap:P,attrs:{"data-aria-invalid":t.computedTimeAriaInvalid},props:{autocomplete:t.autocomplete,accessKey:t.timeAccessKey,label:t.i18n.time,name:t.name,timeStyle:t.timeStyle,placeholder:t.placeholder,readOnly:t.readOnly,required:t.required,disabled:t.disabled,timeStepMinutes:t.timeStepMinutes,ariaDisabled:t.ariaDisabled,variant:t.childVariant,rootAriaNode:t.rootAriaNode},key:9,on:c||(a._m1={focus:h(t.handleTimepickerFocus),blur:h(t.handleTimepickerBlur),change:h(t.handleTimeChange)})})])])]),l(w,11,[n(0,{attrs:{id:m("errormessage"),"data-name":t.name}},null),n(1,null,r(t.customErrorMessage))])])])]}var K=t.registerTemplate(U);U.stylesheets=[],U.stylesheetToken="lwc-326m1b941ni",U.legacyStylesheetToken="lightning-datetimepicker_datetimepicker",F&&U.stylesheets.push.apply(U.stylesheets,F),t.freezeTemplate(U);const{setContext:$,assertContext:j}=v.privateContext,Z={date:E.default,rangeOverflow:k.default,rangeUnderflow:L.default,time:B.default,helpTextAlternativeText:x.default,valueMissingWithDateFormat:I.default,customErrorWithDateFormat:z.default};
403class G extends C.default{set timeAriaControls(e){this._timeAriaControls=e,this.synchronizeA11y()}get timeAriaControls(){return this._timeAriaControls}set timeAriaDetails(e){this._timeAriaDetails=e,this.synchronizeA11y()}get timeAriaDetails(){return this._timeAriaDetails}set timeAriaLabelledBy(e){this._timeAriaLabelledBy=e,this.synchronizeA11y()}get timeAriaLabelledBy(){return this._timeAriaLabelledBy}set timeAriaDescribedBy(e){this._timeAriaDescribedBy=e,this.synchronizeA11y()}get timeAriaDescribedBy(){return this._timeAriaDescribedBy}get messageWhenValueMissing(){return this._messageWhenValueMissing?p.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenValueMissing,this.dateFormatExample):p.formatLabel(this.i18n.valueMissingWithDateFormat,this.dateFormatExample)}set messageWhenValueMissing(e){this._messageWhenValueMissing=e}get messageWhenBadInput(){return this._messageWhenBadInput?p.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenBadInput,this.dateFormatExample):this.hasBadDateInput?this.getDatepicker().messageWhenBadInput:this.hasBadTimeInput?this.getTimepicker().messageWhenBadInput:null}set messageWhenBadInput(e){this._messageWhenBadInput=e}get messageWhenRangeOverflow(){return this._messageWhenRangeOverflow?p.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeOverflow,this.dateFormatExample):p.formatLabel(Z.rangeOverflow,this.formattedMax)}set messageWhenRangeOverflow(e){this._messageWhenRangeOverflow=e}get messageWhenRangeUnderflow(){return this._messageWhenRangeUnderflow?p.formatLabel(this.i18n.customErrorWithDateFormat,this._messageWhenRangeUnderflow,this.dateFormatExample):p.formatLabel(Z.rangeUnderflow,this.formattedMin)}set messageWhenRangeUnderflow(e){this._messageWhenRangeUnderflow=e}get max(){return this.maxValue}set max(e){this.maxValue=e,this.calculateFormattedMaxValue()}get min(){return this.minValue}set min(e){this.minValue=e,this.calculateFormattedMinValue()}get value(){return this._value}set value(e){this.connected?this.setDateAndTimeValues(e):this._initialValue=e}get timezone(){return this._timezone}set timezone(e){this._timezone=e,this.connected&&this.updateValuesForTimezone()}get normalizedTimezone(){return this.timezone?this.timezone:b.isAuraL10NAvailable?S.default:(new Intl.DateTimeFormat).resolvedOptions().timeZone}get disabled(){return this._disabled}set disabled(e){this._disabled=f.normalizeBoolean(e)}get readOnly(){return this._readonly}set readOnly(e){this._readonly=f.normalizeBoolean(e)}get required(){return this._required}set required(e){this._required=f.normalizeBoolean(e)}set fieldLevelHelp(e){this._fieldLevelHelp=e}get fieldLevelHelp(){return this._fieldLevelHelp}get variant(){return this._variant||y.VARIANT.STANDARD}set variant(e){this._variant=y.normalizeVariant(e),f.reflectAttribute(this,"variant",this._variant)}get childVariant(){return this._variant===y.VARIANT.LABEL_HIDDEN?this._variant:y.VARIANT.STANDARD}focus(){this.connected&&this.getDatepicker().focus()}blur(){this.connected&&(this.getDatepicker().blur(),this.getTimepicker().blur())}hasBadInput(){return this.connected&&(this.hasBadDateInput||this.hasBadTimeInput)}get hasBadDateInput(){return this.getDatepicker()?.hasBadInput()}get hasMissingDateTimeInput(){return this.required&&(!this._dateValue||!this._timeValue)}get hasBadTimeInput(){const e=this.getTimepicker()?.hasBadInput();return this.required&&this._dateValue&&!this._timeValue||e}showHelpMessage(e){if(this.connected)if(e){if(this.hasMissingDateTimeInput&&(this.clearHelpMessage(),f.reflectAttribute(this.getDatepicker(),"invalid",!0),f.reflectAttribute(this.getTimeCombobox(),"invalid",!0)),this.hasBadDateInput&&!this._messageWhenBadInput)return this.clearHelpMessage(),f.reflectAttribute(this.getDatepicker(),"invalid",this.hasBadDateInput),void this.getDatepicker().showHelpMessage(e);if(this.hasBadTimeInput&&!this._messageWhenBadInput)return this.clearHelpMessage(),f.reflectAttribute(this.getTimepicker(),"invalid",this.hasBadTimeInput),f.reflectAttribute(this.getTimeCombobox(),"invalid",!0),void this.getTimepicker().showHelpMessage(e);this.classList.add("slds-has-error"),this._customErrorMessage=e}else this.clearHelpMessage()}clearHelpMessage(){this.classList.remove("slds-has-error"),this._customErrorMessage="",this.getDatepicker().showHelpMessage(""),this.getDatepicker().removeAttribute("invalid"),this.getTimepicker().showHelpMessage(""),this.getTimepicker().removeAttribute("invalid"),this.getTimeCombobox().removeAttribute("invalid")}get isLabelHidden(){return this.variant===y.VARIANT.LABEL_HIDDEN}get computedLabelClass(){return p.classSet("slds-form-element__legend slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get dateFormatExample(){return b.normalizeISODate("2024-12-31",this.dateStyle).displayValue}get i18n(){return Z}get customErrorMessage(){return this._customErrorMessage}get dateMin(){return this._dateMin}get dateMax(){return this._dateMax}get errorMessageElement(){return r.isServer?null:this.template.querySelector("[data-error-message]")}get hasExternalLabel(){return this.variant===y.VARIANT.LABEL_HIDDEN&&this.timeAriaLabelledBy&&this.timeAriaLabelledBy.length&&this.dateAriaLabelledBy&&this.dateAriaLabelledBy.length}constructor(){super(),this._rendered=!1,this._messageWhenValueMissing=void 0,this.connected=!1,this._disabled=!1,this._readonly=!1,this._required=!1,this._fieldLevelHelp=void 0,this._variant=void 0,this._value=null,this._customErrorMessage="",this._timezone=null,this._dateMin=void 0,this._dateMax=void 0,this.label=void 0,this.name=void 0,this.placeholder="",this.dateStyle=void 0,this.timeStyle=void 0,this.timeAriaLabel=void 0,this.ariaDisabled=void 0,this.rootAriaNode=void 0,this.timeStepMinutes=void 0,this.autocomplete="off",this.dateAriaControl
403s=void 0,this.dateAriaDetails=void 0,this.dateAriaLabel=void 0,this.dateAriaLabelledBy=void 0,this.dateAriaDescribedBy=void 0,this.dateAccessKey=void 0,this.timeAccessKey=void 0,this.dateAriaErrorMessage=void 0,this.timeAriaErrorMessage=void 0,_.features.enableAssertContext260&&$(this),this.uniqueId=y.generateUniqueId()}synchronizeA11y(){if(r.isServer)return;const e=this.template.querySelector("lightning-datepicker"),t=this.template.querySelector("lightning-timepicker");e&&f.synchronizeAttrs(e,{ariaLabelledByElement:this.dateAriaLabelledBy,ariaDescribedByElements:this.dateAriaDescribedBy,ariaControlsElement:this.dateAriaControls,ariaDetailsElements:this.dateAriaDetails,"aria-label":this.dateAriaLabel,ariaErrorMessageElement:this.dateAriaErrorMessage,parentErrorMessageElement:this.errorMessageElement}),t&&f.synchronizeAttrs(t,{ariaLabelledByElement:this.timeAriaLabelledBy,ariaDescribedByElements:this.timeAriaDescribedBy,ariaControlsElement:this.timeAriaControls,ariaDetailsElements:this.timeAriaDetails,"aria-label":this.timeAriaLabel,ariaErrorMessageElement:this.timeAriaErrorMessage})}connectedCallback(){super.connectedCallback(),this.connected=!0,this.updateValuesForTimezone(this._initialValue),this.interactingState=new y.InteractingState({debounceInteraction:!0}),this.interactingState.onenter(()=>{this.dispatchEvent(new CustomEvent("focus"))}),this.interactingState.onleave(()=>{this.dispatchEvent(new CustomEvent("blur"))})}renderedCallback(){this._rendered||(this.updateValuesForTimezone(this.value),this._rendered=!0),this.synchronizeA11y()}disconnectedCallback(){this._rendered=!1,this.connected=!1}getTimepicker(){return this._rendered?this.template.querySelector("lightning-timepicker"):null}getTimeCombobox(){return this._rendered?this.getTimepicker().shadowRoot.querySelector("lightning-base-combobox"):null}getDatepicker(){return this._rendered?this.template.querySelector("lightning-datepicker"):null}handleDatepickerFocus(){this._dateFocus=!0,this.interactingState.enter()}handleTimepickerFocus(){this._timeFocus=!0,this.interactingState.enter()}handleDatepickerBlur(){this._dateFocus=!1,this._timeFocus||this.interactingState.leave()}handleTimepickerBlur(){this._timeFocus=!1,this._dateFocus||this.interactingState.leave()}handleDateChange(e){e.stopPropagation(),e.detail&&(this._dateValue=e.detail.value,this._dateValue&&(this._timeValue=this._timeValue||b.getCurrentTimeString(this.normalizedTimezone),this.setTimepickerValue(this._timeValue)),this.updateValue())}handleTimeChange(e){e.stopPropagation(),e.detail&&(this._timeValue=e.detail.value,this.updateValue())}updateValue(){const e=this._dateValue,t=this._timeValue;if(e&&t){const i=e+A.TIME_SEPARATOR+t;this._value=b.normalizeFormattedDateTime(i,this.normalizedTimezone),this.dispatchChangeEvent()}else e||(this._value=null,this.dispatchChangeEvent())}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this._value}}))}updateValuesForTimezone(e){this.setDateAndTimeValues(e||this._value),this.calculateFormattedMinValue(),this.calculateFormattedMaxValue()}setDateAndTimeValues(e){const t=b.normalizeISODateTime(e,this.normalizedTimezone).isoValue;if(t&&e.indexOf(A.TIME_SEPARATOR)<0)return this._dateValue=e,this._value=this._dateValue,void this.setDatepickerValue(e);const i=this.separateDateTime(t);this._dateValue=i&&i[0],this._timeValue=i&&i[1],this._value=e,this.setDatepickerValue(this._dateValue),this.setTimepickerValue(this._timeValue)}setDatepickerValue(e){_.features.enableAssertContext260&&j(this);const t=this.getDatepicker();t&&(t.value=e)}setTimepickerValue(e){const t=this.getTimepicker();t&&(t.value=e)}calculateFormattedMinValue(){if(!this.min)return;const e=b.normalizeISODateTime(this.min,this.normalizedTimezone);this._dateMin=this.separateDateTime(e.isoValue)[0],this.formattedMin=e.displayValue}calculateFormattedMaxValue(){if(!this.max)return;const e=b.normalizeISODateTime(this.max,this.normalizedTimezone);this._dateMax=this.separateDateTime(e.isoValue)[0],this.formattedMax=e.displayValue}separateDateTime(e){return"string"==typeof e?e.split(A.TIME_SEPARATOR):null}get computedDateAriaInvalid(){return f.computeAriaInvalid(this._customErrorMessage,this._dateValue)||void 0}get computedTimeAriaInvalid(){return f.computeAriaInvalid(this._customErrorMessage,this._timeValue)||void 0}get helptextAlternativeText(){return p.formatLabel(Z.helpTextAlternativeText,this.label)}}G.delegatesFocus=!0,t.registerDecorators(G,{publicProps:{label:{config:0},name:{config:0},placeholder:{config:0},dateStyle:{config:0},timeStyle:{config:0},timeAriaLabel:{config:0},ariaDisabled:{config:0},rootAriaNode:{config:0},timeStepMinutes:{config:0},autocomplete:{config:0}
403,timeAriaControls:{config:3},timeAriaDetails:{config:3},timeAriaLabelledBy:{config:3},timeAriaDescribedBy:{config:3},dateAriaControls:{config:0},dateAriaDetails:{config:0},dateAriaLabel:{config:0},dateAriaLabelledBy:{config:0},dateAriaDescribedBy:{config:0},dateAccessKey:{config:0},timeAccessKey:{config:0},dateAriaErrorMessage:{config:0},timeAriaErrorMessage:{config:0},messageWhenValueMissing:{config:3},messageWhenBadInput:{config:3},messageWhenRangeOverflow:{config:3},messageWhenRangeUnderflow:{config:3},max:{config:3},min:{config:3},value:{config:3},timezone:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},fieldLevelHelp:{config:3},variant:{config:3}},publicMethods:["focus","blur","hasBadInput","showHelpMessage","getTimeCombobox","getDatepicker"],track:{_disabled:1,_readonly:1,_required:1,_fieldLevelHelp:1,_variant:1,_value:1,_customErrorMessage:1,_timezone:1,_dateMin:1,_dateMax:1},fields:["_rendered","_messageWhenValueMissing","connected"]});const J=t.registerComponent(G,{tmpl:K,sel:"lightning-datetimepicker",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=J,Object.defineProperty(e,"__esModule",{value:!0})});
404})();(function() { LWR.define("lightning/input",["exports","lwc","lightning/sldsGenAiUtils","lightning/primitiveInputSimple","lightning/primitiveInputToggle","lightning/primitiveInputCheckbox","lightning/primitiveInputCheckboxButton","lightning/primitiveInputRadio","lightning/primitiveInputFile","lightning/primitiveInputColor","lightning/datepicker","lightning/timepicker","lightning/datetimepicker","lwr/environment","@salesforce/label/LightningColorPicker.a11yTriggerText","@salesforce/label/LightningControl.activeCapitalized","@salesforce/label/LightningControl.inactiveCapitalized","@salesforce/label/LightningControl.required","@salesforce/label/LightningControl.clear","@salesforce/label/LightningControl.loading","@salesforce/label/LightningInputNumber.incrementCounter","@salesforce/label/LightningInputNumber.decrementCounter","@salesforce/label/LightningInput.helptextAlternativeText","@salesforce/i18n/timeZone","@salesforce/client/formFactor","lightning/features","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/ariaObserver","lightning/internationalizationLibrary","lightning/numberUtils","lightning/inputUtils","lightning/shadowBaseClassPrivate"],function(e,t,i,a,s,r,n,l,o,h,d,p,c,u,m,g,_,b,y,v,A,f,T,D,C,L,E,k,I,x,B,S,M,N){function V(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var O=V(i),R=V(a),w=V(s),P=V(r),z=V(n),q=V(l),W=V(o),F=V(h),H=V(d),K=V(p),U=V(c),$=V(m),G=V(g),j=V(_),Z=V(b),J=V(y),Q=V(v),X=V(A),Y=V(f),ee=V(T),te=V(D),ie=V(C),ae=V(x),se=V(N);var re=[[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: block;}"+(i?"":'[dir="rtl"]')+" input[type='tel']"+(i?":dir(rtl)":"")+(e?"["+e+"]":"")+" {direction: ltr;text-align: right;unicode-bidi: embed;}"}],function(){return""},O.default];const ne=t.parseFragment`<div${"a0:id"}${"c0"} data-help-message part="help-text" role="status"${2}>${"t1"}</div>`,le={exportparts:"input-text, input-container, input, required, label"},oe={slotAssignment:"label-end",attrs:{name:"label-end"},key:1},he=[],de={exportparts:"indicator"},pe={exportparts:"required, indicator, label"},ce={exportparts:"button"},ue={exportparts:"label: label-datepicker, button-icon: button-icon-datepicker"};function me(e,t,i,a){const{b:s,s:r,c:n,gid:l,ncls:o,d:h,sp:d,st:p}=e,{_m0:c,_m1:u,_m2:m,_m3:g,_m4:_,_m5:b,_m6:y,_m7:v,_m8:A,_m9:f,_m10:T}=a;return[t.isTypeSimple?n("lightning-primitive-input-simple",R.default,{attrs:le,props:{accessKey:t.accesskey,ariaHasPopup:t.ariaHasPopup,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,ariaLabel:t.computedAriaLabel,ariaExpanded:t.ariaExpanded,ariaAutoComplete:t.ariaAutoComplete,autocomplete:t.autocomplete,computedLabelClass:t.computedLabelClass,disabled:t.disabled,fieldLevelHelp:t.fieldLevelHelp,formatter:t.formatter,formatFractionDigits:t.formatFractionDigits,hasExternalLabel:t.hasExternalLabel,helptextAlternativeText:t.helptextAlternativeText,helpMessage:t._helpMessage,inputmode:t.inputmode,isLoading:t.isLoading,label:t.label,max:t.normalizedMax,maxLength:t.maxLength,min:t.normalizedMin,minLength:t.minLength,name:t.name,pattern:t.pattern,placeholder:t.placeholder,readOnly:t.readOnly,required:t.required,role:t.role,step:t.step,type:t.type,timezone:t.timezone,variant:t.variant,value:t.value,validity:t.validity},key:0,on:c||(a._m0={blur:s(t.handleBlur),focus:s(t.handleFocus),change:s(t.handlePrimitiveInputChange),commit:s(t.handleCommit)})},[r("label-end",oe,he,i)]):null,t.isTypeToggle?n("lightning-primitive-input-toggle",w.default,{attrs:de,props:{accessKey:t.accesskey,ariaLabel:t.computedAriaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,checked:t.checked,disabled:t.disabled,helpMessage:t._helpMessage,label:t.label,messageToggleActive:t.messageToggleActive,messageToggleInactive:t.messageToggleInactive,name:t.name,readOnly:t.readOnly,required:t.required,value:t.value,variant:t.variant},key:2,on:u||(a._m1={blur:s(t.handleBlur),change:s(t.handleChange),focus:s(t.handleFocus)})}):null,t.isTypeCheckbox?n("lightning-primitive-input-checkbox",P.default,{attrs:pe,props:{accessKey:t.accesskey,ariaLabel:t.computedAriaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,checked:t.checked,disabled:t.disabled,fieldLevelHelp:t.fieldLevelHelp,helpMessage:t._helpMessage,indeterminate:t.indeterminate,helptextAlternativeText:t.helptextAlternativeText,label:t.label,labelHidden:t.labelHidden,name:t.name,readOnly:t.readOnly,required:t.required,variant:t.variant},key:3,on:m||(a._m2={blur:s(t.handleBlur),change:s(t.handleChange),focus:s(t.handleFocus)})}
404):null,t.isTypeCheckboxButton&&t._useUpdatedCheckboxButtonBlueprint?n("lightning-primitive-input-checkbox-button",z.default,{props:{label:t.label,ariaLabel:t.ariaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,required:t.required,accessKey:t.accesskey,disabled:t.disabled,name:t.name,readOnly:t.readOnly,checked:t._checked,helpMessage:t._helpMessage},key:4,on:g||(a._m3={blur:s(t.handleBlur),focus:s(t.handleFocus),change:s(t.handleChange)})}):null,t.isTypeCheckboxButton?t._useUpdatedCheckboxButtonBlueprint?null:n("lightning-primitive-input-checkbox-button",z.default,{props:{label:t.label,ariaLabel:t.ariaLabel,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaInvalid:t.computedAriaInvalid,required:t.required,accessKey:t.accesskey,disabled:t.disabled,name:t.name,readOnly:t.readOnly,checked:t.checked,helpMessage:t._helpMessage},key:5,on:_||(a._m4={blur:s(t.handleBlur),focus:s(t.handleFocus),change:s(t.handleChange)})}):null,t.isTypeRadio?n("lightning-primitive-input-radio",q.default,{attrs:de,props:{accessKey:t.accesskey,ariaInvalid:t.computedAriaInvalid,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaLabel:t.ariaLabel,disabled:t.disabled,helpMessage:t._helpMessage,label:t.label,name:t.name,required:t.required,readOnly:t.readOnly,variant:t.variant},key:6,on:b||(a._m5={blur:s(t.handleBlur),change:s(t.handleChange),focus:s(t.handleFocus)})}):null,t.isTypeFile?n("lightning-primitive-input-file",W.default,{attrs:ce,props:{accept:t.accept,accessKey:t.accesskey,ariaInvalid:t.computedAriaInvalid,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,ariaRoleDescription:t.ariaRoleDescription,ariaLabel:t.computedAriaLabel,disabled:t.disabled,files:t._files,helpMessage:t._helpMessage,label:t.label,labelClass:t.computedLabelClass,multiple:t.multiple,name:t.name,readOnly:t.readOnly,required:t.required,variant:t.variant},key:7,on:y||(a._m6={reportvalidity:s(t.reportValidity),blur:s(t.handleBlur),focus:s(t.handleFocus),change:s(t.handlePrimitiveInputFileChange)})}):null,t.isTypeColor?n("lightning-primitive-input-color",F.default,{props:{label:t.label,fieldLevelHelp:t.fieldLevelHelp,helpMessage:t._helpMessage,helptextAlternativeText:t.helptextAlternativeText,hasExternalLabel:t.hasExternalLabel,required:t.required,accessKey:t.accesskey,disabled:t.disabled,name:t.name,autocomplete:t.autocomplete,placeholder:t.placeholder,pattern:t.pattern,ariaLabel:t.ariaLabel,ariaInvalid:t.computedAriaInvalid,ariaKeyShortcuts:t.ariaKeyShortcuts,ariaDisabled:t.ariaDisabled,value:t.value,variant:t.variant},key:8,on:v||(a._m7={blur:s(t.handleBlur),commit:s(t.handleCommit),focus:s(t.handleFocus),change:s(t.handlePrimitiveInputChange)})}):null,t.isTypeDesktopDate?n("lightning-datepicker",H.default,{attrs:ue,props:{max:t.max,min:t.min,label:t.label,name:t.name,accessKey:t.accesskey,variant:t.variant,ariaLabel:t.ariaLabel,ariaDisabled:t.ariaDisabled,dateStyle:t.dateStyle,placeholder:t.placeholder,required:t.required,readOnly:t.readOnly,fieldLevelHelp:t.fieldLevelHelp,autocomplete:t.autocomplete,messageWhenBadInput:t.messageWhenBadInput,messageWhenValueMissing:t.messageWhenValueMissing,messageWhenRangeOverflow:t.messageWhenRangeOverflow,messageWhenRangeUnderflow:t.messageWhenRangeUnderflow,disabled:t.disabled,rootAriaNode:t.templateRootNode},key:9,on:A||(a._m8={change:s(t.handleChange),blur:s(t.handleBlur),focus:s(t.handleFocus)})}):null,t.isTypeDesktopTime?n("lightning-timepicker",K.default,{props:{max:t.max,min:t.min,label:t.label,name:t.name,accessKey:t.accesskey,ariaLabel:t.ariaLabel,ariaDisabled:t.ariaDisabled,variant:t.variant,timeStyle:t.timeStyle,timeStepMinutes:t.timeStepMinutes,placeholder:t.placeholder,required:t.required,readOnly:t.readOnly,autocomplete:t.autocomplete,fieldLevelHelp:t.fieldLevelHelp,messageWhenBadInput:t.messageWhenBadInput,messageWhenValueMissing:t.messageWhenValueMissing,messageWhenRangeOverflow:t.messageWhenRangeOverflow,messageWhenRangeUnderflow:t.messageWhenRangeUnderflow,disabled:t.disabled,rootAriaNode:t.templateRootNode},key:10,on:f||(a._m9={change:s(t.handleChange),blur:s(t.handleBlur),focus:s(t.handleFocus)})}):null,t.isTypeDesktopDateTime?n("lightning-datetimepicker",U.default,{props:{dateAriaControl
404s:t.dateAriaControls,dateAriaLabel:t.dateAriaLabel,dateAriaLabelledBy:t.dateAriaLabelledBy,dateAriaDescribedBy:t.dateAriaDescribedBy,dateAriaDetails:t.dateAriaDetails,dateAriaErrorMessage:t.dateAriaErrorMessage,ariaDisabled:t.ariaDisabled,dateStyle:t.dateStyle,timeStyle:t.timeStyle,timeStepMinutes:t.timeStepMinutes,dateAccessKey:t.dateAccessKey,timeAccessKey:t.timeAccessKey,timeAriaControls:t.timeAriaControls,timeAriaLabel:t.timeAriaLabel,timeAriaLabelledBy:t.timeAriaLabelledBy,timeAriaDescribedBy:t.timeAriaDescribedBy,timeAriaDetails:t.timeAriaDetails,timeAriaErrorMessage:t.timeAriaErrorMessage,max:t.max,min:t.min,timezone:t.timezone,label:t.label,name:t.name,variant:t.variant,placeholder:t.placeholder,required:t.required,readOnly:t.readOnly,fieldLevelHelp:t.fieldLevelHelp,autocomplete:t.autocomplete,messageWhenBadInput:t.messageWhenBadInput,messageWhenValueMissing:t.messageWhenValueMissing,messageWhenRangeOverflow:t.messageWhenRangeOverflow,messageWhenRangeUnderflow:t.messageWhenRangeUnderflow,disabled:t.disabled,rootAriaNode:t.templateRootNode},key:11,on:T||(a._m10={change:s(t.handleChange),blur:s(t.handleBlur),focus:s(t.handleFocus)})}):null,t.shouldShowHelpMessage?p(ne,13,[d(0,{className:o(t.computedHelpMessageClass),attrs:{id:l("help-message")}},null),d(1,null,h(t._helpMessage))]):null]}var ge=t.registerTemplate(me);function _e(e){return B.normalizeISOTime(e,"short").isoValue||""}me.slots=["label-end"],me.stylesheets=[],me.stylesheetToken="lwc-66unc5l95ad",me.legacyStylesheetToken="lightning-input_input",re&&me.stylesheets.push.apply(me.stylesheets,re),t.freezeTemplate(me);const be={a11yTriggerText:$.default,messageToggleActive:G.default,messageToggleInactive:j.default,numberIncrementCounter:X.default,numberDecrementCounter:Y.default,required:Z.default,clear:J.default,loading:Q.default,helpTextAlternativeText:ee.default},ye="aria-label",ve="aria-labelledby",Ae="aria-describedby",fe="aria-errormessage",Te=["checkbox","checkbox-button","date","datetime","time","email","file","password","search","tel","url","number","text","radio","toggle","color","range","datetime-local","month","week"],{setContext:De,assertContext:Ce}=I.privateContext;class Le extends se.default{get autocomplete(){return this.isAutoCompleteSupported?this._autocomplete:this.isTypeDate||this.isTypeDateTime||this.isTypeTime?"off":void 0}set autocomplete(e){this._autocomplete=e}get inputmode(){return M.normalizeInputModeGetterValue(this._normalizedInputModeOverrideValue,this.type)}set inputmode(e){L.features.enableInputModeOverride&&(this._normalizedInputModeOverrideValue=M.normalizeInputModeSetterValue(e))}constructor(){super(),this.placeholder=void 0,this.name=void 0,this.label=void 0,this.messageWhenBadInput=void 0,this.messageWhenPatternMismatch=void 0,this.messageWhenRangeOverflow=void 0,this.messageWhenRangeUnderflow=void 0,this.messageWhenStepMismatch=void 0,this.messageWhenTooShort=void 0,this.messageWhenTooLong=void 0,this.messageWhenTypeMismatch=void 0,this.messageWhenValueMissing=void 0,this.messageToggleActive=be.messageToggleActive,this.messageToggleInactive=be.messageToggleInactive,this.ariaLabel=void 0,this.isIE11=void 0,this._normalizedInputModeOverrideValue=void 0,this.dateStyle=void 0,this.timeStyle=void 0,this.dateAriaLabel=void 0,this.timeAriaLabel=void 0,this.dateAccessKey=void 0,this.timeAccessKey=void 0,this._ariaActiveDescendantElement=null,this._timeAriaDescribedBy=void 0,this._timeAriaLabelledBy=void 0,this._timeAriaErrorMessage=void 0,this._timeAriaControls=void 0,this._dateAriaControls=void 0,this._timeAriaDetails=void 0,this._dateAriaDetails=void 0,this._dateAriaDescribedBy=void 0,this._dateAriaLabelledBy=void 0,this._dateAriaErrorMessage=void 0,this._files=void 0,this._value="",this._type="text",this._pattern=void 0,this._max=void 0,this._min=void 0,this._step=void 0,this._disabled=!1,this._readOnly=!1,this._required=!1,this._checked=!1,this._indeterminate=!1,this._isLoading=!1,this._multiple=!1,this._timezone=!1,this._helpMessage=null,this._isColorPickerPanelOpen=!1,this._fieldLevelHelp=void 0,this._accesskey=void 0,this._maxLength=void 0,this._minLength=void 0,this._accept=void 0,this._variant=void 0,this._ariaInvalid=void 0,this._autocomplete=void 0,this._shouldShowHelpMessage=!0,this._helpMessageChanged=!1,this._formatter="decimal",this._initialValueSet=!1,this._rendered=void 0,this._isNativeShadow=void 0,this._primitiveComponentRefreshNeeded=void 0,this._inputElementRefreshNeeded=void 0,this._cachedInputElement=void 0,this.cachedPrimitiveComponent=void 0,this._inputDragonDecorated=void 0,this._customMessageSet=void 0,this._constraintApi=void 0,this._constraintApiProxyInputUpdater=void 0,this.ariaObserver=void 0,this.interactingState=void 0,this._ariaControl
404s=void 0,this._ariaDetails=void 0,this._ariaLabelledBy=void 0,this._ariaDescribedBy=void 0,this._ariaErrorMessage=void 0,this._role=void 0,this._useUpdatedCheckboxButtonBlueprint=L.features.enableUpdatedCheckboxButtonBlueprint,this.timeStepMinutes=void 0,this.formatFractionDigits=void 0,this.ariaHasPopup=void 0,this.ariaKeyShortcuts=void 0,this.ariaDisabled=void 0,this.ariaRoleDescription=void 0,this.ariaExpanded=void 0,this.ariaAutoComplete=void 0,this.ariaObserver=new ae.default(this),this._isNativeShadow=k.isNativeComponent(this),De(this)}connectedCallback(){Ce(this),super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new ae.default(this)),this.classList.add("slds-form-element"),this.updateClassListForVariant(),this.validateRequiredAttributes(),this.interactingState=new M.InteractingState,this.interactingState.onleave(()=>this.reportValidity())}disconnectedCallback(){this._rendered=!1,this._initialValueSet=!1,this._cachedInputElement=void 0,this.cachedPrimitiveComponent=void 0,this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}renderedCallback(){this.isConnected&&(this.ariaObserver.sync(this.isNativeShadow),this._helpMessageChanged&&(this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this._helpMessageChanged=!1),this._rendered||(this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this.connectAriaLabelledBy(),this.connectAriaControls(),this.connectAriaDetails(),this.connectAriaActiveDescendantElement())),!this._initialValueSet&&this._inputElement&&(this._rendered=!0,this._setInputValue(this._displayedValue),this.isTypeCheckable&&(this._inputElement.checked=this._checked),this._initialValueSet=!0),this._synchronizeA11y()}get timeAriaControls(){return this._timeAriaControls}set timeAriaControls(e){this._timeAriaControls=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaControls=e})}get timeAriaDetails(){return this._timeAriaDetails}set timeAriaDetails(e){this._timeAriaDetails=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaDetails=e})}get dateAriaErrorMessage(){return this._dateAriaErrorMessage}set dateAriaErrorMessage(e){this._dateAriaErrorMessage=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaErrorMessage=e})}get timeAriaErrorMessage(){return this._timeAriaErrorMessage}set timeAriaErrorMessage(e){this._timeAriaErrorMessage=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaErrorMessage=e})}get dateAriaLabelledBy(){return this._dateAriaLabelledBy}set dateAriaLabelledBy(e){this._dateAriaLabelledBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaLabelledBy=e})}get timeAriaLabelledBy(){return this._timeAriaLabelledBy}set timeAriaLabelledBy(e){this._timeAriaLabelledBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaLabelledBy=e})}get timeAriaDescribedBy(){return this._timeAriaDescribedBy}set timeAriaDescribedBy(e){this._timeAriaDescribedBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._timeAriaDescribedBy=e})}get dateAriaControls(){return this._dateAriaControls}set dateAriaControls(e){this._dateAriaControls=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaControls=e})}get dateAriaDetails(){return this._dateAriaDetails}set dateAriaDetails(e){this._dateAriaDetails=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaDetails=e})}get dateAriaDescribedBy(){return this._dateAriaDescribedBy}set dateAriaDescribedBy(e){this._dateAriaDescribedBy=e,this.ariaObserver.connectLiveIdRef(e,e=>{this._dateAriaDescribedBy=e})}get ariaControls(){return this._ariaControls}set ariaControls(e){this._ariaControls=e,this._rendered&&this.connectAriaControls()}get ariaDetails(){return this._ariaControls}set ariaDetails(e){this._ariaDetails=e,this._rendered&&this.connectAriaDetails()}get ariaActiveDescendantElement(){return this._ariaActiveDescendantElement}set ariaActiveDescendantElement(e){L.features.enableMobileGroupedCbAriaUpdates&&(this._ariaActiveDescendantElement=e,this._rendered&&this.connectAriaActiveDescendantElement())}get ariaLabelledBy(){return this._rendered&&this.isNativeShadow?this._inputElement.getAttribute(ve):this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e,this._rendered&&this.connectAriaLabelledBy()}get ariaDescribedBy(){return this._rendered&&this.isNativeShadow?this._inputElement.getAttribute(Ae):this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e,this._rendered&&this.connectAriaDescribedBy()}get ariaErrorMessage(){return this._rendered&&this.isNativeShadow?this._inputElement.getAttribute(fe):this._ariaErrorMessage}set ariaErrorMessage(e){this._ariaErrorMessage=e,this._rendered&&this.connectAriaErrorMessage()}get isNativeShadow(){return this._primitiveComponent?.isNativeShadow||this._isNativeShadow}connectAriaLabelledBy(){this._primitiveComponent&&this.ariaObserver.connect({attribute:ve,targetNode:this._inputElement,relatedNodes:this._primitiveComponent.ariaLabelledByElements,relatedNodeIds:this._ariaLabelledBy})}connectAriaDescribedBy(){this._primitiveComponent&&this.ariaObserver.connect({attribute:Ae,targetNode:this._inputElement,relatedNodes:this._primitiveComponent.ariaDescribedByElements,relatedNodeIds:this._ariaDescribedBy})}connectAriaErrorMessage(){this._primitiveComponent&&this.ariaObserver.connect({attribute:fe,targetNode:this._inputElement,relatedNodeIds:this._ariaErrorMessage})}
404connectAriaControls(){this._primitiveComponent&&this.ariaObserver.connect({attribute:"aria-controls",targetNode:this._inputElement,relatedNodeIds:this._ariaControls})}connectAriaDetails(){this._primitiveComponent&&this.ariaObserver.connect({attribute:"aria-details",targetNode:this._inputElement,relatedNodeIds:this._ariaDetails})}connectAriaActiveDescendantElement(){if(L.features.enableMobileGroupedCbAriaUpdates&&this._primitiveComponent){const{_ariaActiveDescendantElement:e}=this;this.ariaObserver.connect({attribute:"aria-activedescendant",targetNode:this._inputElement,relatedNodes:null!==e?[e]:[]})}}get ariaInvalid(){return this._ariaInvalid}set ariaInvalid(e){const t=void 0===e?void 0:k.normalizeBoolean(e);this._ariaInvalid=t}get formatter(){return this.isTypeNumber&&this._primitiveComponent?this._primitiveComponent.formatter:this._formatter}set formatter(e){this._formatter=e,this.isTypeNumber&&this._primitiveComponent&&(this._primitiveComponent.formatter=this._formatter)}get type(){return this._type}set type(e){const t=this.isTypeSimple,i=k.normalizeString(e);this._type="datetime"===i?"datetime-local":i,this._validateType(i)||(this._type="text"),t&&this.isTypeSimple||(this._primitiveComponentRefreshNeeded=!0),t&&this.isTypeSimple||(this._primitiveComponentRefreshNeeded=!0),this._primitiveComponentRefreshNeeded=!0,this._inputElementRefreshNeeded=!0,this._rendered&&(this._initialValueSet=!1,this.connectAriaLabelledBy(),this.connectAriaDescribedBy(),this.connectAriaErrorMessage(),this.connectAriaControls(),this.connectAriaDetails(),this.connectAriaActiveDescendantElement()),this._updateProxyInputAttributes(["type","value","max","min","required","pattern"])}get isLoading(){return this._isLoading}set isLoading(e){this._isLoading=k.normalizeBoolean(e)}get pattern(){return this.isTypeColor?"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$":this._pattern}set pattern(e){this._pattern=e,this._updateProxyInputAttributes("pattern")}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e,this._updateProxyInputAttributes("maxlength")}get accept(){return this._accept}set accept(e){this._accept=e,this._updateProxyInputAttributes("accept")}get minLength(){return this._minLength}set minLength(e){this._minLength=e,this._updateProxyInputAttributes("minlength")}get max(){return this._max}set max(e){this._max=e,this._updateProxyInputAttributes("max")}get min(){return this._min}set min(e){this._min=e,this._updateProxyInputAttributes("min")}get step(){return this.isTypeDateTime||this.isTypeTime?"any":this._step}set step(e){"string"==typeof e&&"any"===e.toLowerCase()?this._step="any":this._step=k.isUndefinedOrNull(e)||isNaN(e)?void 0:String(e),this._updateProxyInputAttributes("step")}get checked(){const e=this._inputElement;return this.isTypeCheckable&&this._initialValueSet&&e?e.checked:this._checked}set checked(e){if(this._checked=k.normalizeBoolean(e),this._rendered){const e=this.isTypeCheckbox?this._primitiveComponent:this._inputElement;e&&(e.checked=this._checked)}this._updateProxyInputAttributes("checked"),k.reflectAttribute(this,"checked",this._checked)}get indeterminate(){return!!L.features.enableIndeterminateForInput&&this._indeterminate}set indeterminate(e){if(L.features.enableIndeterminateForInput){if(this._indeterminate=k.normalizeBoolean(e),this._rendered&&this.isTypeCheckbox){const e=this._primitiveComponent;e&&(e.indeterminate=this._indeterminate)}k.reflectAttribute(this,"indeterminate",this._indeterminate)}}get multiple(){return this._multiple}set multiple(e){this._multiple=k.normalizeBoolean(e),this._updateProxyInputAttributes("multiple")}get value(){if(this.isTypeSimple&&this._rendered){const e=this._primitiveComponent;if(e)return e.value}return this._value}set value(e){if(!this.isTypeFile){if(this._value=M.normalizeInput(e),this._rendered){if(this.isTypeSimple){const e=this._primitiveComponent;e&&k.valueSetter(e,void 0,this._value)}this._inputElement.value!==this._displayedValue&&this._setInputValue(this._displayedValue)}this._updateProxyInputAttributes("value")}}get variant(){return this._variant||M.VARIANT.STANDARD}set variant(e){this._variant=M.normalizeVariant(e),this.updateClassListForVariant(),k.reflectAttribute(this,"variant",this._variant)}get disabled(){return this._disabled}set disabled(e){this._disabled=k.normalizeBoolean(e),this._updateProxyInputAttributes("disabled"),k.reflectAttribute(this,"disabled",this.disabled)}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=k.normalizeBoolean(e),this._updateProxyInputAttributes("readonly"),k.reflectAttribute(this,"readonly",this.readOnly)}get required(){return this._required}set required(e){this._required=k.normalizeBoolean(e),this._updateProxyInputAttributes("required")}get timezone(){return this._timezone||te.default}set timezone(e){this._timezone=e,this._updateProxyInputAttributes(["value","max","min"])}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get accessKey(){return this._accesskey}set accessKey(e){this._accesskey=e}get files(){return this.isTypeFile?this._primitiveComponent.files:null}set files(e){this._files=e}get validity(){return this._constraint.validity}
404get selectionStart(){if(this._inputElement&&"selectionStart"in this._inputElement)return this._inputElement.selectionStart}set selectionStart(e){this._inputElement&&"selectionStart"in this._inputElement&&(this._inputElement.selectionStart=e)}get selectionEnd(){if(this._inputElement&&"selectionEnd"in this._inputElement)return this._inputElement.selectionEnd}set selectionEnd(e){this._inputElement&&"selectionEnd"in this._inputElement&&(this._inputElement.selectionEnd=e)}get role(){return this._role}set role(e){"combobox"===e?this._role="combobox":console.warn("<lightning-input> The role attribute value is invalid. Options are: 'combobox'")}checkValidity(){return this._constraint.checkValidity()}setCustomValidity(e){this._customMessageSet=!!e,this._constraint.setCustomValidity(e)}reportValidity(){return this._constraint.reportValidity(e=>{if(this.isTypeDesktopTime&&k.reflectAttribute(this._inputElement.comboboxComponent,"invalid",!this.checkValidity()),this._rendered&&!this.isNativeInput)return this._inputElement.showHelpMessage(e),void(this.isTypeDateTime&&this._customMessageSet&&(k.reflectAttribute(this._inputElement.getDatepicker(),"invalid",!this.checkValidity()),k.reflectAttribute(this._inputElement.getTimeCombobox(),"invalid",!this.checkValidity())));this._rendered&&this.isTypePrimitiveInput&&(this._shouldShowHelpMessage=!1,this._helpMessageChanged=!0),this._helpMessage=e})}resetDtInlineEditCustomValidation(){"string"==typeof this.name&&this.name?.startsWith("dt-inline-edit")&&(this.setCustomValidity(""),this.reportValidity())}showHelpMessageIfInvalid(){this.reportValidity()}focus(){this._rendered&&this._inputElement.focus()}blur(){this._rendered&&this._inputElement.blur()}get primitiveSelector(){return this.isTypeSimple?"lightning-primitive-input-simple":this.isTypeCheckboxButton?"lightning-primitive-input-checkbox-button":this.isTypeToggle?"lightning-primitive-input-toggle":this.isTypeColor?"lightning-primitive-input-color":this.isTypeCheckbox?"lightning-primitive-input-checkbox":this.isTypeRadio?"lightning-primitive-input-radio":this.isTypeFile?"lightning-primitive-input-file":null}get shouldShowHelpMessage(){return this._shouldShowHelpMessage&&this._helpMessage}get isTypePrimitiveInput(){return this.isTypeSimple||this.isTypeCheckboxButton||this.isTypeCheckbox||this.isTypeToggle||this.isTypeColor||this.isTypeRadio||this.isTypeFile}get isTypeNumber(){return"number"===this.type}get isTypeTelephone(){return"tel"===this.type}get isTypeUrl(){return"url"===this.type}get isTypeEmail(){return"email"===this.type}get isTypeCheckable(){return this.isTypeCheckbox||this.isTypeCheckboxButton||this.isTypeRadio||this.isTypeToggle}get isTypeToggle(){return"toggle"===this.type}get isTypeText(){return"text"===this.type}get isTypeCheckbox(){return"checkbox"===this.type}get isTypeRadio(){return"radio"===this.type}get isTypeCheckboxButton(){return"checkbox-button"===this.type}get isTypeFile(){return"file"===this.type}get isTypeColor(){return"color"===this.type}get isTypeDate(){return"date"===this.type}get isTypeDateTime(){return"datetime"===this.type||"datetime-local"===this.type}get isTypeTime(){return"time"===this.type}get isTypeSearch(){return"search"===this.type}get isTypeMobileDate(){return this.isTypeDate&&!this._isDesktopBrowser()}get isTypeDesktopDate(){return this.isTypeDate&&this._isDesktopBrowser()}get isTypeMobileDateTime(){return this.isTypeDateTime&&!this._isDesktopBrowser()}get isTypeDesktopDateTime(){return this.isTypeDateTime&&this._isDesktopBrowser()}get isTypeMobileTime(){return this.isTypeTime&&!this._isDesktopBrowser()}get isTypeDesktopTime(){return this.isTypeTime&&this._isDesktopBrowser()}get isTypeSimple(){const e=this.type;return"text"===e||"number"===e||"email"===e||"tel"===e||"url"===e||"search"===e||"password"===e||"range"===e||"month"===e||"week"===e||!e||!this._isDesktopBrowser()&&("date"===e||"time"===e||"datetime"===e||"datetime-local"===e)}get isNativeInput(){return!(this.isTypeDesktopDate||this.isTypeDesktopDateTime||this.isTypeDesktopTime)}get _primitiveComponent(){return this.cachedPrimitiveComponent&&!this._primitiveComponentRefreshNeeded||u.isServer||(this.cachedPrimitiveComponent=this.template.querySelector(this.primitiveSelector),this._primitiveComponentRefreshNeeded=!1),this.cachedPrimitiveComponent}get computedAriaLabel(){const e=[];return this.isTypeMobileDateTime&&(e.push(this.dateAriaLabel),e.push(this.timeAriaLabel)),this.ariaLabel&&e.push(this.ariaLabel),k.normalizeAriaAttribute(e)}get computedColorAriaLabel(){const e=[];return this.ariaLabel&&e.push(this.ariaLabel),this.ariaLabel||"color"!==this.type||e.push("Enter Hexadecimal value"),k.normalizeAriaAttribute(e)}get computedAriaInvalid(){return k.computeAriaInvalid(this._helpMessage,this.value,this.ariaInvalid)}get isLabelHidden(){return this.variant===M.VARIANT.LABEL_HIDDEN}get isLabelStacked(){return this.variant===M.VARIANT.LABEL_STACKED}get accesskey(){return this._accesskey}get i18n(){return be}
404get computedLabelClass(){const e=E.classSet("slds-form-element__label");return this.isTypeCheckable||this.isTypeFile||(this.isTypeToggle?e.add("slds-m-bottom_none"):e.add("slds-no-flex")),e.add({"slds-assistive-text":this.isLabelHidden}).toString()}get normalizedMax(){return Ce(this),this._normalizeDateTimeString(this.max)}get normalizedMin(){return Ce(this),this._normalizeDateTimeString(this.min)}get _inputElement(){if(!u.isServer&&(!this._cachedInputElement||this._inputElementRefreshNeeded)){let e;if(this._inputDragonDecorated=!1,this.isTypeDesktopDate)e=this.template.querySelector("lightning-datepicker");else if(this.isTypeDesktopDateTime)e=this.template.querySelector("lightning-datetimepicker");else if(this.isTypeDesktopTime)e=this.template.querySelector("lightning-timepicker");else{const t=this._primitiveComponent;t?.inputElement&&(e=t.inputElement,this._inputDragonDecorated=!0,k.decorateInputForDragon(e))}e&&(this._inputElementRefreshNeeded=!1,this._cachedInputElement=e)}return this._cachedInputElement}get _inputTypeForValidity(){let e="text";return this.isTypeSimple?e=this.isTypeEmail?"text":this.isTypeNumber?"number":this.type:this.isTypeCheckable?e=this.isTypeRadio?"radio":"checkbox":this.isTypeFile?e="file":this.isTypeDateTime?e="datetime-local":this.isTypeTime?e="time":this.isTypeDate&&(e="date"),e}get _displayedValue(){if(this.isTypeNumber||this.isTypeMobileDate||this.isTypeMobileDateTime||this.isTypeMobileTime){return this._primitiveComponent.getDisplayedValue()}return this._value}get isStandardVariant(){return this.variant===M.VARIANT.STANDARD||this.variant===M.VARIANT.LABEL_HIDDEN}get _ignoreRequired(){return this.isTypeFile&&this._required&&this.files&&this.files.length}get _constraint(){if(u.isServer)return{};if(!this._constraintApi){const e={badInput:()=>!!this._rendered&&(this.isNativeInput?this._inputElement.validity.badInput:this._inputElement.hasBadInput()),badNumericInput:()=>!!this.isTypeNumber&&!S.isValidNumber(this._primitiveComponent?.getNumberRawValue()),tooLong:()=>this.isNativeInput&&!this.isTypeNumber&&this._rendered&&this._inputElement.validity.tooLong,tooShort:()=>this.isNativeInput&&!this.isTypeNumber&&this._rendered&&this._inputElement.validity.tooShort,patternMismatch:()=>this.isNativeInput&&this._rendered&&this._inputElement.validity.patternMismatch,badEmailInput:()=>!!this.isTypeEmail&&(this._multiple?!M.isValidMultipleEmails(this.value):!M.isValidEmail(this.value))};(this.isTypeDesktopDateTime||this.isTypeDesktopTime||this.isTypeDesktopDate)&&(e.rangeOverflow=()=>{const e=this.isTypeDesktopTime?_e(this.max):this.max;return B.isAfter(this.value,e)},e.rangeUnderflow=()=>{const e=this.isTypeDesktopTime?_e(this.min):this.min;return B.isBefore(this.value,e)},e.stepMismatch=()=>!1),this.isIE11&&(e.stepMismatch=()=>!1),this._constraintApi=new M.FieldConstraintApiWithProxyInput(()=>this.isNativeInput?this:this._inputElement,e),this._constraintApiProxyInputUpdater=this._constraintApi.setInputAttributes({type:()=>this._inputTypeForValidity,value:()=>this._normalizeDateTimeString(this.value),checked:()=>this.checked,maxlength:()=>this.maxLength,minlength:()=>this.minLength,pattern:()=>this.pattern,max:()=>this.normalizedMax,min:()=>this.normalizedMin,step:()=>this.step,accept:()=>this.accept,multiple:()=>this.multiple,disabled:()=>this.disabled,readonly:()=>this.readOnly,required:()=>this.required&&!this._ignoreRequired})}return this._constraintApi}get hasExternalLabel(){return this.variant===M.VARIANT.LABEL_HIDDEN&&this.ariaLabelledBy&&this.ariaLabelledBy.length}get helptextAlternativeText(){return E.formatLabel(be.helpTextAlternativeText,this.label)}get isAutoCompleteSupported(){return this.isTypeTelephone||this.isTypeUrl||this.isTypeSearch||this.isTypeEmail||this.isTypeText}get templateRootNode(){return u.isServer?null:this.template.host.getRootNode()}handleFocus(e){k.isBubblingFocusEvent(e)?e.stopPropagation():(this.interactingState.enter(),this.isTypeColor&&(this._isColorPickerPanelOpen=!1),this.dispatchEvent(new CustomEvent("focus")))}handleBlur(e){k.isBubblingFocusEvent(e)?e.stopPropagation():(this.interactingState.leave(),this._rendered&&this.isTypeNumber&&this._setInputValue(this._displayedValue),e.relatedTarget&&this.template.contains(e.relatedTarget)||this.dispatchEvent(new CustomEvent("blur")))}handleCheckboxClick(){null===this.template.activeElement&&this.template.querySelector("[type='checkbox']").focus()}handleChange(e){e.stopPropagation(),this.resetDtInlineEditCustomValidation(),this._dispatchCommitEvent(),this._dispatchChangeEvent()}handleCommit(){this._dispatchCommitEvent()}handlePrimitiveInputFileChange(){this._dispatchCommitEvent();const e={files:this.files,value:this._inputElement.value};
404this._updateProxyInputAttributes("required"),this._updateValueAndValidityAttribute(e.value),this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}handlePrimitiveInputChange(e){this.interactingState.enter(),this.resetDtInlineEditCustomValidation(),this._updateValueAndValidityAttribute(e.detail.value)}_dispatchCommitEvent(){this.dispatchEvent(new CustomEvent("commit"))}_dispatchChangeEventWithDetail(e){this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:e}))}_validateType(e){if(Te.includes(e))return!0;const t=`<lightning-input> The type attribute value "${e}" is invalid.`;return k.assert("hidden"!==e,`${t} Use a regular <input type="hidden"> instead.`),k.assert("submit"!==e&&"reset"!==e&&"image"!==e&&"button"!==e,`${t} Use <lightning:button> instead.`),this.isTypeRadio&&k.assert(!this.required,"<lightning-input> The required attribute is not supported on radio inputs directly. It should be implemented at the radio group level."),"phone"===e?console.warn(`${t} Please use <lightning-input type="tel"> instead. Defaulting to text type.`):"week"===e||"month"===e?console.warn(`${t} Please use <lightning-combobox> and/or <lightning-input type="number"> instead to avoid inconsistencies and breakages across browsers.`):console.warn(`${t} Defaulting to text type.`),!1}validateRequiredAttributes(){const{label:e}=this;k.assert("string"==typeof e&&e.length,`<lightning-input> The required label attribute value "${e}" is invalid.`)}_setInputValue(e){L.features.enableAssertContext260&&Ce(this),this._inputDragonDecorated?k.setDecoratedDragonInputValueWithoutEvent(this._inputElement,e):k.valueSetter(this._inputElement,[HTMLInputElement],e)}_dispatchChangeEvent(){this.interactingState.enter();const e={};var t,i;this.isTypeCheckable&&(this._updateCheckedAndValidityAttribute(this._inputElement.checked),e.checked=this._checked,L.features.enableIndeterminateForInput&&this.isTypeCheckbox&&this._indeterminate&&(this._indeterminate=!1,this._rendered&&this._primitiveComponent&&(this._primitiveComponent.indeterminate=!1),k.reflectAttribute(this,"indeterminate",!1))),this.isTypeCheckable||(this.isTypeNumber||(e.value=this._inputElement.value),this.isTypeMobileDateTime?e.value=(t=e.value,i=this.timezone,B.normalizeFormattedDateTime(t,i)||""):this.isTypeMobileTime&&(e.value=_e(e.value)),this._updateValueAndValidityAttribute(e.value)),this._dispatchChangeEventWithDetail(e)}_isDesktopBrowser(){return"Large"===ie.default}_updateValueAndValidityAttribute(e){this._value=e,this._updateProxyInputAttributes("value")}_updateCheckedAndValidityAttribute(e){this._checked=e,this._updateProxyInputAttributes("checked"),k.reflectAttribute(this,"checked",this._checked)}_updateProxyInputAttributes(e){this._constraintApiProxyInputUpdater&&this._constraintApiProxyInputUpdater(e)}updateClassListForVariant(){k.classListMutation(this.classList,{"slds-form-element_stacked":this.variant===M.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===M.VARIANT.LABEL_INLINE})}_normalizeDateTimeString(e){let t=e;return this.isTypeDate?t=function(e){return B.normalizeISODate(e,"medium").isoValue||""}(e):this.isTypeTime?t=_e(e):this.isTypeDateTime&&(t=function(e,t){return B.normalizeISODateTime(e,t).isoValue||""}(e,this.timezone)),t}_updateDateOrTimePickerA11y(e){k.synchronizeAttrs(e,{ariaLabelledByElement:this._ariaLabelledBy,ariaDescribedByElements:this._ariaDescribedBy,ariaErrorMessageElement:this._ariaErrorMessage,ariaControlsElement:this._ariaControls,ariaDetailsElements:this._ariaDetails,[ye]:this.computedAriaLabel})}_updateDateTimePickerA11y(e){k.synchronizeAttrs(e,{dateAriaLabelledBy:this.dateAriaLabelledBy,dateAriaDescribedBy:this.dateAriaDescribedBy,dateAriaControls:this.dateAriaControls,dateAriaLabel:this.dateAriaLabel,dateAriaDetails:this.dateAriaDetails,dateAriaErrorMessage:this.dateAriaErrorMessage,timeAriaLabelledBy:this.timeAriaLabelledBy,timeAriaDescribedBy:this.timeAriaDescribedBy,timeAriaControls:this.timeAriaControls,timeAriaLabel:this.timeAriaLabel,timeAriaDetails:this.timeAriaDetails,timeAriaErrorMessage:this.timeAriaErrorMessage})}_updateColorA11y(e){k.synchronizeAttrs(e,{[ye]:this.computedColorAriaLabel})}_synchronizeA11y(){const e=this.template.querySelector("lightning-datepicker"),t=this.template.querySelector("lightning-timepicker"),i=this.template.querySelector("lightning-datetimepicker"),a=this.template.querySelector("lightning-primitive-input-color");e?this._updateDateOrTimePickerA11y(e):t?this._updateDateOrTimePickerA11y(t):i?this._updateDateTimePickerA11y(i):a&&this._updateColorA11y(a)}}
404Le.validationOptOut=["class"],Le.interopMap=void 0,t.registerDecorators(Le,{publicProps:{placeholder:{config:0},name:{config:0},label:{config:0},messageWhenBadInput:{config:0},messageWhenPatternMismatch:{config:0},messageWhenRangeOverflow:{config:0},messageWhenRangeUnderflow:{config:0},messageWhenStepMismatch:{config:0},messageWhenTooShort:{config:0},messageWhenTooLong:{config:0},messageWhenTypeMismatch:{config:0},messageWhenValueMissing:{config:0},messageToggleActive:{config:0},messageToggleInactive:{config:0},ariaLabel:{config:0},autocomplete:{config:3},dateStyle:{config:0},timeStyle:{config:0},dateAriaLabel:{config:0},timeAriaLabel:{config:0},dateAccessKey:{config:0},timeAccessKey:{config:0},timeStepMinutes:{config:0},inputmode:{config:3},formatFractionDigits:{config:0},timeAriaControls:{config:3},timeAriaDetails:{config:3},dateAriaErrorMessage:{config:3},timeAriaErrorMessage:{config:3},dateAriaLabelledBy:{config:3},timeAriaLabelledBy:{config:3},timeAriaDescribedBy:{config:3},dateAriaControls:{config:3},dateAriaDetails:{config:3},dateAriaDescribedBy:{config:3},ariaControls:{config:3},ariaDetails:{config:3},ariaActiveDescendantElement:{config:3},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},ariaErrorMessage:{config:3},ariaInvalid:{config:3},ariaHasPopup:{config:0},ariaKeyShortcuts:{config:0},ariaDisabled:{config:0},ariaRoleDescription:{config:0},ariaExpanded:{config:0},ariaAutoComplete:{config:0},formatter:{config:3}
404,type:{config:3},isLoading:{config:3},pattern:{config:3},maxLength:{config:3},accept:{config:3},minLength:{config:3},max:{config:3},min:{config:3},step:{config:3},checked:{config:3},indeterminate:{config:3},multiple:{config:3},value:{config:3},variant:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},timezone:{config:3},fieldLevelHelp:{config:3},accessKey:{config:3},files:{config:3},validity:{config:1},selectionStart:{config:3},selectionEnd:{config:3},role:{config:3}},publicMethods:["checkValidity","setCustomValidity","reportValidity","showHelpMessageIfInvalid","focus","blur"],track:{_timeAriaDescribedBy:1,_timeAriaLabelledBy:1,_timeAriaErrorMessage:1,_timeAriaControls:1,_dateAriaControls:1,_timeAriaDetails:1,_dateAriaDetails:1,_dateAriaDescribedBy:1,_dateAriaLabelledBy:1,_dateAriaErrorMessage:1,_files:1,_value:1,_type:1,_pattern:1,_max:1,_min:1,_step:1,_disabled:1,_readOnly:1,_required:1,_checked:1,_indeterminate:1,_isLoading:1,_multiple:1,_timezone:1,_helpMessage:1,_isColorPickerPanelOpen:1,_fieldLevelHelp:1,_accesskey:1,_maxLength:1,_minLength:1,_accept:1,_variant:1,_ariaInvalid:1,_autocomplete:1,_rendered:1},fields:["isIE11","_normalizedInputModeOverrideValue","_ariaActiveDescendantElement","_shouldShowHelpMessage","_helpMessageChanged","_formatter","_initialValueSet","_isNativeShadow","_primitiveComponentRefreshNeeded","_inputElementRefreshNeeded","_cachedInputElement","cachedPrimitiveComponent","_inputDragonDecorated","_customMessageSet","_constraintApi","_constraintApiProxyInputUpdater","ariaObserver","interactingState","_ariaControls","_ariaDetails","_ariaLabelledBy","_ariaDescribedBy","_ariaErrorMessage","_role","_useUpdatedCheckboxButtonBlueprint"]});const Ee=t.registerComponent(Le,{tmpl:ge,sel:"lightning-input",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});Le.interopMap={exposeNativeEvent:{change:!0,focus:!0,blur:!0}},e.default=Ee,Object.defineProperty(e,"__esModule",{value:!0})});
405})();(function() { LWR.define("lightning/combobox",["exports","lwc","lightning/sldsGenAiUtils","lightning/helptext","lightning/baseCombobox","lwr/environment","@salesforce/label/LightningControl.required","@salesforce/label/LightningCombobox.placeholder","@salesforce/label/LightningInput.helptextAlternativeText","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/inputUtils","lightning/features"],function(e,t,i,s,a,n,l,o,r,d,c,h,u,p,m){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=b(i),v=b(s),_=b(a),f=b(l),y=b(o),I=b(r),A=b(d);var x=[[function(e,t,i){var s=e?"["+e+"-host]":"";return(t?":host {":s+" {")+"display: block;}"+(t?":host.slds-has-error {":s+".slds-has-error {")+"--slds-c-input-color-border: var(--slds-g-color-error-base-40, #ea001e);--slds-c-input-shadow: var(--slds-g-color-error-base-40, #ea001e) 0 0 0 1px\n inset;--slds-c-input-color-background: var(\n --slds-c-input-color-background,\n var(\n --sds-c-input-color-background,\n var(--slds-g-color-neutral-base-100, #fff)\n )\n );--slds-c-input-text-color: var(\n --slds-c-input-text-color,\n var(\n --sds-c-input-text-color,\n var(--slds-g-color-neutral-base-10, #747474)\n )\n );}.slds-assistive-text"+(e?"["+e+"]":"")+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"}],function(){return""},g.default,function(e,t,i){return(t?":host(:not([invalid])) .slds-form-element__help":(e?"["+e+"-host]":"")+":not([invalid]) .slds-form-element__help")+(e?"["+e+"]":"")+" {margin-top: 0px !important;}"}];const L=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} part="required"${2}>*</abbr>`,V=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,N={attrs:{part:"combobox"},key:0},B={part:"label"},C={classMap:{"slds-form-element__control":!0},key:6},S={exportparts:"dropdown, option, input, input-button, input-button-value"},k={attrs:{role:"status"},key:8},w={"slds-form-element__help":!0};function E(e,t,i,s){const{b:a,ncls:n,sp:l,st:o,d:r,t:d,h:c,c:h,gid:u}=e,{_m0:p,_m1:m}=s;return[c("div",N,[c("span",{key:1,on:p||(s._m0={click:a(t.handleLabelClicked)})},[c("label",{className:n(t.computedLabelClass),attrs:B,key:2},[t.required?o(L,4,[l(0,{attrs:{title:t.i18n.required}},null)]):null,d(r(t.label))])]),t._fieldLevelHelp?h("lightning-helptext",v.default,{props:{content:t._fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:5}):null,c("div",C,[h("lightning-base-combobox",_.default,{attrs:S,props:{name:t.name,autocomplete:t.autocomplete,ariaInvalid:t.computedAriaInvalid,rootAriaNode:t.templateRootNode,required:t.required,disabled:t.disabled,placeholder:t.placeholder,items:t._items,inputText:t._selectedLabel,inputLabel:t.label,inputIconSize:"xx-small",inputIconName:"utility:down",leftIconName:t.computedLeftIconName,showDropdownActivityIndicator:t.spinnerActive,dropdownAlignment:t.dropdownAlignment,readOnly:t.readOnly,helpTextElement:t.helpTextElement,variant:t.variant},key:7,on:m||(s._m1={dropdownopen:a(t.handleDropdownOpen),focus:a(t.handleFocus),blur:a(t.handleBlur),ready:a(t.handleComboboxReady),select:a(t.handleSelect)}
405)})]),c("div",k,[c("div",{classMap:w,attrs:{id:u("help-text"),"data-help-text":""},key:9},[t._helpMessage?o(V,11,[l(1,null,r(t.label))]):null,t._helpMessage?d(r(t._helpMessage)):null])])])]}var T=t.registerTemplate(E);E.stylesheets=[],E.stylesheetToken="lwc-24on3e8rogg",E.legacyStylesheetToken="lightning-combobox_combobox",x&&E.stylesheets.push.apply(E.stylesheets,x),t.freezeTemplate(E);const{setContext:D,assertContext:O}=u.privateContext,q={required:f.default,placeholder:y.default,helpTextAlternativeText:I.default},M="button";class R extends A.default{get ariaInvalid(){return this._ariaInvalid}set ariaInvalid(e){this._ariaInvalid=void 0===e?void 0:h.normalizeBoolean(e)}get computedAriaInvalid(){return h.computeAriaInvalid(this._helpMessage,this.value,this.ariaInvalid)}constructor(){super(),this._ariaLabelledBy="",this._ariaDescribedBy="",this._fieldLevelHelp="",this._selectedLabel="",this._disabled=!1,this._readOnly=!1,this._spinnerActive=!1,this._required=!1,this._variant=void 0,this._helpMessage=void 0,this._labelForId=void 0,this._ariaInvalid=void 0,this._items=[],this._options=void 0,this._selectedItem=void 0,this._constraintApi=void 0,this.selectedValue=void 0,this.connected=void 0,this.rendered=void 0,this._isNativeShadow=void 0,this.interactingState=void 0,this.iconName=void 0,this.autocomplete=void 0,this.label=void 0,this.dropdownAlignment="left",this.placeholder=q.placeholder,this.messageWhenValueMissing=void 0,this.name=void 0,D(this)}renderedCallback(){this.rendered||(this.rendered=!0,this.updateValidity()),this.synchronizeA11y()}connectedCallback(){O(this),super.connectedCallback(),this._isNativeShadow=h.isNativeComponent(this),this.classList.add("slds-form-element"),this.updateClassList(),this.interactingState=new p.InteractingState,this.interactingState.onleave(()=>this.showHelpMessageIfInvalid()),this.connected=!0,this._items=this.generateItems(this.options),this.options&&void 0!==this.selectedValue&&this.updateSelectedOptions()}updateClassList(){h.classListMutation(this.classList,{"slds-form-element_stacked":this.variant===p.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===p.VARIANT.LABEL_INLINE})}disconnectedCallback(){this.connected=!1}get ariaLabelledBy(){return this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e}get helpTextElement(){return n.isServer?null:this.template.querySelector("[data-help-text]")}get ariaDescribedBy(){return this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get variant(){return this._variant||p.VARIANT.STANDARD}set variant(e){m.features.enableComboboxButtonVariant?this._variant=h.normalizeString(e,{fallbackValue:p.VARIANT.STANDARD,validValues:[p.VARIANT.STANDARD,p.VARIANT.LABEL_HIDDEN,p.VARIANT.LABEL_STACKED,p.VARIANT.LABEL_INLINE,M]}):this._variant=p.normalizeVariant(e),this.updateClassList(),h.reflectAttribute(this,"variant",this._variant)}get value(){return this.selectedValue}set value(e){e!==this.selectedValue&&(this.selectedValue=e,this.connected&&this.options&&this.updateSelectedOptions())}get options(){return this._options||[]}set options(e){this._options=h.normalizeArray(e),this.connected&&(this._items=this.generateItems(this._options),this.updateSelectedOptions())}get disabled(){return this._disabled||this._readOnly||!1}set disabled(e){this._disabled=h.normalizeBoolean(e)}get readOnly(){return this.disabled}set readOnly(e){this._readOnly=h.normalizeBoolean(e)}get required(){return this._required}set required(e){this._required=h.normalizeBoolean(e),this.connected&&this.updateValidity()}get spinnerActive(){return this._spinnerActive}set spinnerActive(e){this._spinnerActive=h.normalizeBoolean(e)}focus(){this.connected&&this.getBaseComboboxElement().focus()}blur(){this.connected&&this.getBaseComboboxElement().blur()}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}reportValidity(){return this._constraint.reportValidity(e=>{h.reflectAttribute(this.template.querySelector("lightning-base-combobox"),"invalid",!this.checkValidity()),this._helpMessage=e})}setCustomValidity(e){this._constraint.setCustomValidity(e),this.updateV
405alidity()}showHelpMessageIfInvalid(){this.reportValidity()}handleComboboxReady(e){this._labelForId=e.detail.id}handleLabelClicked(){if(this._isNativeShadow){const e=this.getBaseComboboxElement();e.blur(),setTimeout(()=>{e.focusAndOpenDropdownIfNotEmpty()},50)}}synchronizeA11y(){h.synchronizeAttrs(this.template.querySelector("label"),{for:this._labelForId});const e=this.template.querySelector("lightning-base-combobox");e.inputLabelledByElement=this.ariaLabelledBy,e.inputDescribedByElements=this.ariaDescribedBy}get templateRootNode(){return n.isServer?null:this.template.host.getRootNode()}get i18n(){return q}get isButtonVariant(){return this.variant===M}get isLabelHidden(){return this.variant===p.VARIANT.LABEL_HIDDEN||this.isButtonVariant}get computedLeftIconName(){if(!this.isButtonVariant)return;const e=this.options.find(e=>e.value===this.value);return e&&e.iconName?e.iconName:this.iconName}get computedLabelClass(){return c.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}handleSelect(e){e.detail.value!==this.selectedValue&&(this.selectedValue=e.detail.value,this.updateSelectedOptions(),this.dispatchEvent(new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:this.selectedValue}})))}handleFocus(){this.interactingState.enter(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.interactingState.leave(),this.dispatchEvent(new CustomEvent("blur"))}handleDropdownOpen(){this.dispatchEvent(new CustomEvent("open"))}updateSelectedOptions(){O(this),this.updateSelectedLabelFromValue(this.selectedValue),this.markOptionSelectedFromValue(this.selectedValue),this.updateValidity()}updateValidity(){if(!m.features.enableComboboxElementInternals||!this.rendered)return;const e=this.getBaseComboboxElement();if(e){const{_constraint:t}=this;e.setValidity(t.validity,t.validationMessage)}}markOptionSelectedFromValue(e){if(O(this),this._items){const t=this._items.find(t=>t.value===e);this._selectedItem&&(this._selectedItem.checked=!1,m.features.enableComboboxButtonVariant?void 0!==this._selectedItem.originalIconName?(this._selectedItem.iconName=this._selectedItem.originalIconName,this._selectedItem.originalIconName=void 0):"utility:check"===this._selectedItem.iconName&&(this._selectedItem.iconName=void 0):this._selectedItem.iconName=void 0,this._selectedItem.highlight=!1),this._selectedItem=t,t&&(m.features.enableComboboxButtonVariant?(t.originalIconName=t.iconName,this.isButtonVariant||(t.iconName="utility:check")):t.iconName="utility:check",this._selectedItem.highlight=!0,this._selectedItem.checked=!0),this._items=this._items.slice()}}updateSelectedLabelFromValue(e){this._selectedLabel=this.getOptionLabelByValue(e)}getOptionLabelByValue(e){const t=this.options.find(t=>t.value===e);return t?t.label:""}generateItems(e){return e.map(e=>({type:e.description?"option-card":"option-inline",text:e.label,subText:e.description,highlight:this.value===e.value,iconSize:"x-small",value:e.value,iconName:m.features.enableComboboxButtonVariant&&this.isButtonVariant?e.iconName:void 0}))}getBaseComboboxElement(){return this.template.querySelector("lightning-base-combobox")}get _constraint(){return this._constraintApi||(this._constraintApi=new p.FieldConstraintApi(()=>this,{valueMissing:()=>!this.disabled&&this.required&&p.isEmptyString(this.selectedValue)})),this._constraintApi}get helptextAlternativeText(){return c.formatLabel(q.helpTextAlternativeText,this.label)}}R.delegatesFocus=!0,R.validationOptOut=["class"],t.registerDecorators(R,{publicProps:{iconName:{config:0},autocomplete:{config:0},ariaInvalid:{config:3},label:{config:0},dropdownAlignment:{config:0},placeholder:{config:0},messageWhenValueMissing:{config:0},name:{config:0},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},fieldLevelHelp:{config:3},variant:{config:3},value:{config:3},options:{config:3},disabled:{config:3},readOnly:{config:3},required:{config:3},spinnerActive:{config:3},validity:{config:1}},publicMethods:["focus","blur","checkValidity","reportValidity","setCustomValidity","showHelpMessageIfInvalid"],track:{_variant:1,_helpMessage:1,_labelForId:1,_ariaInvalid:1,_items:1},fields:["_ariaLabelledBy","_ariaDescribedBy","_fieldLevelHelp","_selectedLabel","_disabled","_readOnly","_spinnerActive","_required","_options","_selectedItem","_constraintApi","selectedValue","connected","rendered","_isNativeShadow","interactingState"]});const H=t.registerComponent(R,{tmpl:T,sel:"lightning-combobox",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
405e.default=H,Object.defineProperty(e,"__esModule",{value:!0})});
406})();(function() { LWR.define("embeddedMessaging/formField",["exports","lwc","lightning/input","lightning/combobox","embeddedMessaging/constants","embeddedMessaging/labelUtils"],function(e,i,l,t,s,a){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(l),r=n(t);var d=[function(e,i,l){var t=e?"["+e+"]":"";return(i?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;flex: 0 1 auto;--lwc-heightInput: 2.625em;--lwc-colorTextLabel: var(--primaryText, #333333);--sds-c-input-text-color: var(--inputOutline, #747474);--lwc-formLabelFontSize: 0.75em;--slds-c-input-color-border: var(--inputOutline, #747474);--slds-c-input-color-border-focus: var(--slds-g-color-neutral-base-40, #5c5c5c);--slds-c-input-shadow-focus: 0 0 0 var(--inputOutline, #747474);--slds-c-input-text-color: var(--primaryText, #333333);--slds-c-listbox-option-color-background-hover: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);--slds-g-shadow-inset-focus-1: 0 0 0 2px #FFFFFF inset, 0 0 0 4px var(--slds-g-color-neutral-base-40, #5c5c5c) inset;}.hidden-component"+t+" {border: none;background: transparent!important;pointer-events: none;height: 0;}.hidden-component:focus"+t+" {outline: 1px solid var(--slds-g-color-neutral-base-10, #181818);}"}];const u=i.parseFragment`<span class="hidden-component${0}" tabindex="0"${"a0:aria-label"}${2}></span>`,c={"slds-p-bottom_small":!0};function h(e,i,l,t){const{c:s,b:a,sp:n,st:d}=e,{_m0:h,_m1:p,_m2:m}=t;return[i.isTypeText?s("lightning-input",o.default,{classMap:c,props:{type:"text",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,maxLength:i.fieldInfo.maxLength,messageWhenPatternMismatch:i.labels.RequiredFormFieldError,messageWhenValueMissing:i.labels.RequiredFormFieldError,pattern:i.validInputPattern,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:0}):null,i.isTypeEmail?s("lightning-input",o.default,{classMap:c,props:{type:"email",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,maxLength:i.fieldInfo.maxLength,messageWhenPatternMismatch:i.labels.InvalidEmailFormFieldError,messageWhenTypeMismatch:i.labels.InvalidEmailFormFieldError,messageWhenValueMissing:i.labels.RequiredFormFieldError,pattern:i.validEmailPattern,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:1}):null,i.isTypePhone?s("lightning-input",o.default,{classMap:c,props:{type:"tel",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,maxLength:i.fieldInfo.maxLength,messageWhenPatternMismatch:i.labels.RequiredFormFieldError,messageWhenValueMissing:i.labels.RequiredFormFieldError,pattern:i.validInputPattern,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:2}):null,i.isTypeNumber?s("lightning-input",o.default,{classMap:c,props:{type:"number",label:i.displayLabel,name:i.autoCompleteFieldName,autocomplete:i.autoCompleteValue,value:i.initialValue,max:i.maxNumber,messageWhenValueMissing:i.labels.RequiredFormFieldError,min:i.minNumber,required:i.fieldInfo.required,disabled:i.isFieldDisabled,step:"any",title:""},key:3}):null,i.isTypeCheckbox&&i.initialValue?s("lightning-input",o.default,{classMap:c,props:{type:"checkbox",label:i.displayLabel,messageWhenValueMissing:i.labels.RequiredFormFieldError,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:"",checked:!0},key:4,on:h||(t._m0={change:a(i.handleCheckboxChange)})}):null,i.isTypeCheckbox?i.initialValue?null:s("lightning-input",o.default,{classMap:c,props:{type:"checkbox",label:i.displayLabel,messageWhenValueMissing:i.labels.RequiredFormFieldError,required:i.fieldInfo.required,disabled:i.isFieldDisabled,title:""},key:5,on:p||(t._m1={change:a(i.handleCheckboxChange)})}):null,i.isTypeChoiceList?s("lightning-combobox",r.default,{classMap:c,props:{label:i.displayLabel,options:i.choiceListOptions,value:i.initialValue,messageWhenValueMissing:i.labels.RequiredFormFieldError,required:i.fieldInfo.required,disabled:i.isFieldDisabled},key:6,on:m||(t._m2={change:a(i.handleChoiceListChange)})}):null,i.isFieldDisabled?d(u,8,[n(0,{attrs:{"aria-label":i.disabledFieldAriaLabel}},null)]):null]}var p=i.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-2chgdk50gj4",h.legacyStylesheetToken="embeddedMessaging-formField_formField",d&&h.stylesheets.push.apply(h.stylesheets,d),i.freezeTemplate(h);class m extends i.LightningElement{constructor(...e){super(...e),this.fieldInfo={},this.labels={},this.lightningComponent=void 0,this.initialRender=!0,this.choiceListValue="",this.choiceListOptions=void 0}get autoCompleteValue(){switch(this.fieldInfo.type){case s.FormFieldTypes.TEXT:return"_firstName"===this.name?"given-name":"_lastName"===this.name?"family-name":"on";
406case s.FormFieldTypes.EMAIL:return"email";case s.FormFieldTypes.PHONE:return"tel";default:return"on"}}get autoCompleteFieldName(){switch(this.fieldInfo.type){case s.FormFieldTypes.TEXT:case s.FormFieldTypes.EMAIL:return this.name.replace("_","");case s.FormFieldTypes.PHONE:return"tel";default:return this.name}}get initialValue(){return this.isTypeChoiceList?this.fieldInfo.value?this.fieldInfo.value:this.choiceListValue:this.fieldInfo.value||""}get isFieldDisabled(){return"boolean"==typeof this.fieldInfo.isEditableByEndUser&&!this.fieldInfo.isEditableByEndUser}get isTypeText(){return this.fieldInfo.type===s.FormFieldTypes.TEXT}get isTypeEmail(){return this.fieldInfo.type===s.FormFieldTypes.EMAIL}get isTypePhone(){return this.fieldInfo.type===s.FormFieldTypes.PHONE}get isTypeNumber(){return this.fieldInfo.type===s.FormFieldTypes.NUMBER}get isTypeCheckbox(){return this.fieldInfo.type===s.FormFieldTypes.CHECKBOX}get isTypeChoiceList(){return this.fieldInfo.type===s.FormFieldTypes.CHOICELIST}get displayLabel(){return(this.fieldInfo.labels||{}).display||""}get validInputPattern(){return this.fieldInfo.required?s.AT_LEAST_ONE_NON_WHITESPACE_CHAR_REGEX:"(.*?)"}get validEmailPattern(){return s.EMAIL_VALIDATION_REGEX}get maxNumber(){return 999999999999999999n}get minNumber(){return-999999999999999999n}get name(){return this.fieldInfo.name}get value(){let e="";return this.lightningComponent&&(e=this.isTypeCheckbox?this.lightningComponent.checked:this.lightningComponent.value),e}get disabledFieldAriaLabel(){return`The ${this.displayLabel} field is set to ${this.value}. You can’t edit this field.`}initializeChoiceList(){const e=[];let i="";const l=[...this.fieldInfo.choiceListValues];l.sort((e,i)=>e.order-i.order),e.push({label:this.labels.PrechatChoiceListValueNone,value:""});for(const t of l)t.isDefaultValue&&(!i||t.label<i)&&(i=t.label,this.choiceListValue=t.choiceListValueName),e.push({label:t.label,value:t.choiceListValueName});this.choiceListOptions=e}handleChoiceListChange(e){e&&e.detail&&e.detail.value&&(this.choiceListValue=e.detail.value)}handleCheckboxChange(e){e&&e.target&&e.target.reportValidity()}connectedCallback(){this.handleLabels(),this.applyStyling(),this.isTypeChoiceList&&this.initializeChoiceList()}renderedCallback(){this.initialRender&&(this.initialRender=!1,this.lightningComponent=this.querySelectLightningComponent())}handleLabels(){this.labels.InvalidEmailFormFieldError=a.getLabel("EmbeddedMessagingPrechat","InvalidEmailFormFieldError"),this.labels.RequiredFormFieldError=a.getLabel("EmbeddedMessagingPrechat","RequiredFormFieldError"),this.labels.PrechatChoiceListValueNone=a.getLabel("EmbeddedMessagingPrechat","PrechatChoiceListValueNone")}reportValidity(){return!!this.lightningComponent&&this.lightningComponent.reportValidity()}focus(){this.lightningComponent&&this.lightningComponent.focus()}querySelectLightningComponent(){return this.isTypeChoiceList?this.template.querySelector("lightning-combobox"):this.template.querySelector("lightning-input")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule(".slds-combobox__input:focus { border: 1px solid var(--slds-g-color-neutral-base-40, #5c5c5c); box-shadow: 0 0 0 #5c5c5c;}",0),e.sheet.insertRule("input[readonly][role=combobox]:focus { border-color: var(--sds-c-input-color-border-focus, #005290); -webkit box shadow: 0 0 3px #005290; box-shadow: var(--sds-c-input-color-shadow-focus, #005290);}",0),e.sheet.insertRule(".slds-dropdown { font-size: var(--baseFontSize, medium) }",0),e.sheet.insertRule(".slds-input:focus { border: 1px solid var(--slds-g-color-neutral-base-40, #5c5c5c);}",0),e.sheet.insertRule(".slds-input { color: var(--primaryText, #333333); border-color: var(--inputOutline, #747474);}",0),e.sheet.insertRule(".slds-checkbox .slds-checkbox_faux, .slds-form-element .slds-checkbox .slds-checkbox_faux { border-color: var(--inputOutline, #747474);}",0),e.sheet.insertRule(".slds-checkbox:focus-within .slds-checkbox_faux, .slds-checkbox.slds-has-focus .slds-checkbox_faux { border: 2px solid var(--inputOutline, #747474);}",0),e.sheet.insertRule(".slds-form-element__label { color: var(--primaryText, #333333);}",0))}}i.registerDecorators(m,{publicProps:{fieldInfo:{config:0},name:{config:1},value:{config:1}},publicMethods:["reportValidity","focus"],track:{labels:1},fields:["lightningComponent","initialRender","choiceListValue","choiceListOptions"]});const b=i.registerComponent(m,{tmpl:p,sel:"embeddedMessaging-form-field",apiVersion:66,enableSyntheticElementInternals:!0});
406e.default=b,Object.defineProperty(e,"__esModule",{value:!0})});
407})();LWR.define('embeddedmessaging/formField', ['embeddedMessaging/formField'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/webStorageUtils",["exports","embeddedMessaging/common"],function(e,t){const o="EmbeddedMessaging-WebStorageUtils";let a;e.storageKey=void 0;const s=()=>{try{if(window.localStorage.getItem("test"),window.localStorage&&"object"==typeof window.localStorage)return!0}catch{return t.log("localStorage not available"),!1}return!1},r=()=>{try{if(window.sessionStorage.getItem("test"),window.sessionStorage&&"object"==typeof window.sessionStorage)return!0}catch{return t.log("sessionStorage not available"),!1}return!1},g=(e=!1)=>s()&&e?localStorage:r()?sessionStorage:void 0;e.clearWebStorage=()=>{s()&&localStorage.removeItem(e.storageKey),r()&&sessionStorage.removeItem(e.storageKey),t.util.sendPostMessageToOrigin(t.util.getParentWindowUrl(),t.events.EMBEDDED_MESSAGING_CLEAR_WEBSTORAGE_EVENT_NAME),t.log("web storage cleared"),t.LoggingUtil.logCurrentState(o,{method:"clearWebStorage",stateMessage:"Cleared the web storage."})},e.getItemInPayloadByKey=(e,t)=>{let o;if(e){o=(JSON.parse(e)||{})[t]}return o},e.getItemInWebStorageByKey=(t,o=!0)=>{let a;const s=g(o);if(s){a=(s.getItem(e.storageKey)&&JSON.parse(s.getItem(e.storageKey))||{})[t]}return a},e.initializeWebStorage=g=>{a=g,e.storageKey=`${a}_WEB_STORAGE`;const i=JSON.stringify({});s()&&!localStorage.getItem(e.storageKey)&&localStorage.setItem(e.storageKey,i),r()&&!sessionStorage.getItem(e.storageKey)&&sessionStorage.setItem(e.storageKey,i),t.log("web storage initialized"),t.LoggingUtil.logCurrentState(o,{method:"initializeWebStorage",stateMessage:"Initialized the web storage."})},e.isLocalStorageAvailable=s,e.isSessionStorageAvailable=r,e.removeItemInWebStorage=o=>{if(s()&&localStorage.getItem(e.storageKey)){const t=JSON.parse(localStorage.getItem(e.storageKey))||{};delete t[o],localStorage.setItem(e.storageKey,JSON.stringify(t))}if(r()&&sessionStorage.getItem(e.storageKey)){const t=JSON.parse(sessionStorage.getItem(e.storageKey))||{};delete t[o],sessionStorage.setItem(e.storageKey,JSON.stringify(t))}t.log(`${o} removed from web storage`)},e.setItemInWebStorage=(o,a,s=!0)=>{const r=g(s);if(r){const g=r.getItem(e.storageKey)&&JSON.parse(r.getItem(e.storageKey))||{};g[o]=a,r.setItem(e.storageKey,JSON.stringify(g)),t.log(`${o} set in ${s?"localStorage":"sessionStorage"}`)}},Object.defineProperty(e,"__esModule",{value:!0})});
408})();LWR.define('embeddedmessaging/webStorageUtils', ['embeddedMessaging/webStorageUtils'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/form",["exports","lwc","embeddedmessaging/formField","lightning/formattedRichText","embeddedMessaging/common","embeddedMessaging/constants","lightningsnapin/eventStore","embeddedMessaging/labelUtils","embeddedMessaging/webStorageUtils"],function(e,t,i,n,s,o,r,d,l){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=a(i),m=a(n);var c=[function(e,t,i){var n=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;flex: 1 1 auto;overflow: hidden;--lwc-colorTextLabel: var(--primaryText, #333333);}.form-content"+n+" {display: flex;flex-direction: column;flex: 1 1 auto;overflow-y: auto;overflow-x: hidden;}.form-footer"+n+" {flex: 0 1 auto;text-align: center;}.submit-button"+n+" {height: 48px;min-height: 48px;background: var(--primaryButtonBackground, #444444);font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);border: none;color: var(--primaryButtonText, #ffffff);}.submit-button:hover"+n+" {background: var(--primaryButtonBackgroundHoverColor, #181818);}.submit-button:focus"+n+" {outline: 2px solid var(--primaryButtonBackground, #444444);outline-offset: 2px;text-shadow: none;}.termsAndConditionsText"+n+" {color: var(--primaryText, #333333);padding-bottom: 0.5rem;font-size: 0.8rem;}.termsAndConditionsAcknowledgement"+n+" {height: 44px;}.noPrechatFieldsPresent"+n+" {border-top: 1px solid var(--slds-g-color-neutral-base-60, #939393);position: absolute;width: 100%;bottom: 72px;left: 0;}.submit-button-text"+n+' {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}.submit-button[aria-disabled="true"]'+n+" {opacity: 0.8;
408cursor: not-allowed;}"}];const f=t.parseFragment`<div class="form-footer slds-p-around_medium${0}"${2}><button class="submit-button slds-button slds-button_brand slds-button_stretch${0}"${"a1:title"}${"a1:id"}${2}><span class="submit-button-text${0}"${"a2:id"}${2}>${"t3"}</span></button></div>`,h={classMap:{"form-content":!0,"slds-p-around_medium":!0},key:0},b={classMap:{termsAndConditionsText:!0},key:3},g={classMap:{termsAndConditionsAcknowledgement:!0},key:5};function p(e,t,i,n){const{k:s,c:o,i:r,ncls:d,b:l,h:a,f:c,gid:p,d:y,sp:S,st:C}=e,{_m0:A,_m1:v}=n;return[a("div",h,c([r(t.fields,function(e){return o("embeddedmessaging-form-field",u.default,{props:{fieldInfo:e},key:s(1,e.name)})}),t.isTermsAndConditionsEnabled?a("div",{className:d(t.generateTermsAndConditionsClassName),key:2},[a("div",b,[o("lightning-formatted-rich-text",m.default,{props:{value:t.termsAndConditionsText},key:4,on:A||(n._m0={click:l(t.handleTextClick)})})]),t.isTermsAndConditionsRequired?a("div",g,[o("embeddedmessaging-form-field",u.default,{props:{fieldInfo:t.termsAndConditionsRequiredFieldInfo},key:6})]):null]):null])),C(f,8,[S(1,{on:v||(n._m1={keydown:l(t.onSubmitButtonKeyDown),click:l(t.handleSubmit)}),attrs:{title:t.submitButtonLabel,id:p("formSubmitButton")}},null),S(2,{attrs:{id:p("formSubmitButtonText")}},null),S(3,null,y(t.submitButtonLabel))])]}var y=t.registerTemplate(p);p.stylesheets=[],p.stylesheetToken="lwc-5rpe7iq4pvm",p.legacyStylesheetToken="embeddedMessaging-form_form",c&&p.stylesheets.push.apply(p.stylesheets,c),t.freezeTemplate(p);const S="EmbeddedMessaging-PrechatForm";class C extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.submitLabel="",this.choiceListConfig={},this.termsAndConditions={},this._fields=[],this.formSubmitted=!1,this.fieldElements=[],this._initialRender=!0}get fields(){return s.util.isEmpty(this.choiceListConfig)||(this._fields=this.addChoiceListValues()),this._fields.sort((e,t)=>e.order-t.order)}set fields(e){this._fields=JSON.parse(JSON.stringify(e))}addChoiceListValues(){for(const e of this._fields)if(e.type===o.FormFieldTypes.CHOICELIST){const t=this.choiceListConfig.choiceList.find(t=>t.choiceListId===e.choiceListId)||{};e.choiceListValues=t.choiceListValues||[]}return this._fields}get submitButtonLabel(){return this.formSubmitted?this.labels.PrechatSubmitButtonLoadingLabel:this.submitLabel}connectedCallback(){this.handleLabels()}renderedCallback(){this._initialRender&&(this._initialRender=!1,this.fieldElements=this.querySelectFields(),this.fieldElements[0]&&s.util.waitForFrame(()=>{this.fieldElements[0].focus();const e=this.querySelectFormAreaElement();e&&(e.scrollTop=0)}),s.util.waitForFrame(()=>{this.setupTermsAndConditionsLinks()}))}handleLabels(){this.labels.termsAndConditionsAcknowledgementLabel=d.getLabel("EmbeddedMessagingPrechat","PrechatTermsAndConditionsAcknowledgement"),this.labels.PrechatSubmitButtonLoadingLabel=d.getLabel("EmbeddedMessagingPrechat","PrechatSubmitButtonLoading")}handleSubmit(e){const t={};if(!this.formSubmitted&&this.reportValidity()){for(const e of this.fieldElements)t[e.name]=e.value;this.dispatchEvent(new CustomEvent(s.events.EMBEDDED_MESSAGING_FORM_SUBMIT,{detail:{value:t}})),l.setItemInWebStorage(o.STORAGE_KEYS.PRECHAT_SUBMIT_TIME,Date.now()),s.LoggingUtil.logInteraction(e,this,S,{method:"handleSubmit"}),this.formSubmitted=!0,this.disableSubmitButton()}}handleTextClick(e){return s.util.handleLinkClick(S,e)}setupTermsAndConditionsLinks(){const e=this.template.querySelector("lightning-formatted-rich-text");if(!e?.shadowRoot)return;e.shadowRoot.querySelectorAll("a").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault(),t.stopImmediatePropagation(),window.open(e.href,"_blank","noopener,noreferrer")},!0)})}reportValidity(){let e,t=!0;for(const i of this.fieldElements)i.reportValidity()||(t=!1,void 0===e&&(e=i));return t||void 0===e||e.focus(),t}disableSubmitButton(){const e=this.querySelectSubmitButton();e&&e.setAttribute("aria-disabled","true")}get isTermsAndConditionsEnabled(){return Boolean(this.termsAndConditions.isTermsAndConditionsEnabled)}get isTermsAndConditionsRequired(){return Boolean(this.termsAndConditions.isTermsAndConditionsRequired)}get generateTermsAndConditionsClassName(){let e="termsAndConditions";return e+=0===this._fields.length?" slds-p-around_medium noPrechatFieldsPresent":"",e}get termsAndConditionsText(){const e=this.termsAndConditions.label;return s.util.parseMarkdownLinks(e)}get termsAndConditionsRequiredFieldInfo(){return{name:"_termsAndConditionsAcknowledgementField",required:!0,type:o.FormFieldTypes.CHECKBOX,labels:{display:this.labels.termsAndConditionsAcknowledgementLabel}}}setFocusOnSubmitButton(){s.util.waitForFrame(()=>{const e=this.querySelectSubmitButton();e&&e.focus()})}onSubmitButtonKeyDown(e){e.key!==s.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),r.dispatchMessagingEvent(r.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}querySelectFields(){return this.template.querySelectorAll("embeddedmessaging-form-field")}querySelectFormAreaElement(){return this.template.querySelector(".form-content")}querySelectSubmitButton(){return this.template&&this.template.querySelector("button.submit-button")?this.template.querySelector("button.submit-button"):void 0}}t.registerDecorators(C,{publicProps:{submitLabel:{config:0},choiceListConfig:{config:0},termsAndConditions:{config:0},fields:{config:3}},publicMethods:["setFocusOnSubmitButton"],track:{labels:1},fields:["_fields","formSubmitted","fieldElements","_initialRender"]});const A=t.registerComponent(C,{tmpl:y,sel:"embeddedMessaging-form",apiVersion:66,enableSyntheticElementInternals:!0});
408e.default=A,Object.defineProperty(e,"__esModule",{value:!0})});
409})();LWR.define('embeddedmessaging/form', ['embeddedMessaging/form'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/prechatState",["exports","lwc","embeddedmessaging/form","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore"],function(e,t,i,a,s,n,r){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(i);var d=[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;flex: 1 1 auto;overflow: hidden;background: var(--slds-g-color-neutral-base-100, #ffffff);}"}];function c(e,t,i,a){const{b:s,c:n}=e,{_m0:r}=a;return[n("embeddedmessaging-form",l.default,{props:{fields:t.fields,choiceListConfig:t.choiceListConfig,termsAndConditions:t.termsAndConditions,submitLabel:t.labels.PrechatStateSubmitButton},key:0,on:r||(a._m0={formsubmit:s(t.handleFormSubmit)})})]}var h=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-cd7kpa9m50",c.legacyStylesheetToken="embeddedMessaging-prechatState_prechatState",d&&c.stylesheets.push.apply(c.stylesheets,d),t.freezeTemplate(c);const m="EmbeddedMessaging-PrechatState";class g extends t.LightningElement{constructor(...e){super(...e),this.configuration={},this.labels={},this.initialRender=!0,this.prechatStateInitialRenderTime=void 0,this.conversationStatus=void 0,this.handleMessageEvents=e=>{a.util.handleWindowEvents(e,{[a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT]:this.setFocusOnLastFocusableElement.bind(this)})}}get fields(){return((this.configuration.forms||[]).find(e=>e.formType===s.FormTypes.PRE_CHAT)||{}).formFields||[]}get choiceListConfig(){return this.configuration.choiceListConfig||{}}get termsAndConditions(){return this.configuration.termsAndConditions||{}}connectedCallback(){window.addEventListener("message",this.handleMessageEvents),this.assignHandlers(),this.handleLabels()}renderedCallback(){this.initialRender&&(this.prechatStateInitialRenderTime=Date.now(),r.dispatchEvent(a.events.EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER,{}),this.initialRender=!1)}disconnectedCallback(){window.removeEventListener("message",this.handleMessageEvents),r.clearHandlersForEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT)}assignHandlers(){r.assignHandler(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,this.setFocusOnLastFocusableElement.bind(this))}handleFormSubmit(e){let t={};e&&e.detail&&(t=this.formatPrechatFields(e.detail.value)),this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_PRECHAT_SUBMIT,{detail:{value:t}}))}formatPrechatFields(e){const t={};e=e||{};for(const i of this.fields)i.name in e&&(t[i.name]=String(e[i.name]));return t}handleLabels(){this.labels.PrechatStateSubmitButton=n.getLabel("EmbeddedMessagingPrechat","PrechatStateSubmitButton")}setFocusOnLastFocusableElement(){const e=this.template.querySelector("embeddedmessaging-form");e&&e.setFocusOnSubmitButton()}logPrechatAvailabilityTime(e){let t;const i=this.prechatStateInitialRenderTime,s=e;try{a.isNumber(s)?a.isNumber(i)?(t=a.util.getEpochTimesDiffInSeconds(s,i),a.LoggingUtil.logCurrentState(m,{method:"logPrechatRenderTime",stateMessage:`[Pre-Chat Availability Time] Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} is ${t} seconds`})):a.LoggingUtil.logError("Pre-Chat Availability Time",m,{method:"logPrechatRenderTime",errMessage:`[Pre-Chat Availability Time] Unable to calculate Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} - Expected valid numerical Pre-Chat state render time, instead received: ${e}`}):a.LoggingUtil.logError("Pre-Chat Availability Time",m,{method:"logPrechatRenderTime",errMessage:`[Pre-Chat Availability Time] Unable to calculate Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} - Expected valid numerical Pre-Chat state initiator time, instead received: ${e}`})}catch(e){a.LoggingUtil.logError(e,m,{method:"logPrechatRenderTime",errMessage:`[Pre-Chat Availability Time] Something went wrong while calculating Pre-Chat Availability Time when Conversation Status: ${this.conversationStatus} with Pre-Chat state initiator time: ${s} and Pre-Chat state render time: ${i}`})}this.prechatStateInitialRenderTime=void 0}}t.registerDecorators(g,{publicProps:{configuration:{config:0},conversationStatus:{config:0}},publicMethods:["formatPrechatFields","logPrechatAvailabilityTime"],track:{labels:1},fields:["initialRender","prechatStateInitialRenderTime","handleMessageEvents"]});const u=t.registerComponent(g,{tmpl:h,sel:"embeddedMessaging-prechat-state",apiVersion:66,enableSyntheticElementInternals:!0});
409e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
410})();LWR.define('embeddedmessaging/prechatState', ['embeddedMessaging/prechatState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatNotification",["exports","lwc","lightning/icon","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(t,e,n,i,s,o){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=a(n);var r=[function(t,e,n){var i=t?"["+t+"]":"",s=t?"["+t+"-host]":"";return(e?":host {":s+" {")+"--slds-c-toast-sizing-min-width: 100vw;--slds-c-toast-radius-border: 0;}"+(e?(n?"":'[dir="ltr"]')+" "+(n?":dir(ltr)":"")+" :host {":(n?"":'[dir="ltr"]')+" "+(n?":dir(ltr)":"")+" "+s+" {")+"--slds-c-toast-spacing-inline-start: 1rem;}"+(e?(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" :host {":(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" "+s+" {")+"--slds-c-toast-spacing-inline-start: 3rem;--slds-c-toast-spacing-inline-end: 1rem;}.slds-notify_container"+i+" {z-index: 99;}.notificationText"+i+" {font-size: 0.8rem;line-height: 1.25;}.slds-notify--toast"+i+", .slds-notify_toast"+i+" {margin: 0;}.iconContainer"+i+" {margin: 0 0.75rem 0 0;display: flex;align-items: center;justify-content: center;}.closeButton"+i+", .tryAgainButton"+i+", .newConversationButton"+i+" {border: none;background-color: inherit;text-decoration: underline;font-size: 0.8rem;position: fixed;}"+(n?"":'[dir="ltr"]')+" "+(n?":dir(ltr)":"")+" .closeButton"+i+","+(n?"":'[dir="ltr"]')+" "+(n?":dir(ltr)":"")+" .tryAgainButton"+i+","+(n?"":'[dir="ltr"]')+" "+(n?":dir(ltr)":"")+" .newConversationButton"+i+" {right: 0.5rem;}"+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" .closeButton"+i+","+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" .tryAgainButton"+i+","+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" .newConversationButton"+i+" {left: 0.5rem;}.notificationWrapper"+i+" {display: flex;}.notificationTextWrapper"+i+" {max-width: 10rem;flex-grow: 1;}"}];const d=e.parseFragment`<div class="slds-notify__content notificationTextWrapper${0}"${2}><div class="notificationText${0}"${2}>${"t2"}</div></div>`,c=e.parseFragment`<button class="closeButton${0}"${2}>${"t1"}</button>`,h=e.parseFragment`<button class="tryAgainButton${0}"${2}>${"t1"}</button>`,u=e.parseFragment`<button class="newConversationButton${0}"${2}>${"t1"}</button>`,g={classMap:{"slds-notify_container":!0,"slds-is-relative":!0},key:0},f={role:"alert"},m={classMap:{"slds-icon_container":!0,"slds-no-flex":!0,iconContainer:!0},key:2};function y(t,e,n,i){const{ncls:s,c:o,h:a,d:r,sp:y,st:p,b:C}=t,{_m0:N,_m1:b,_m2:T,_m3:_,_m4:I,_m5:v}=i;return[e.shouldDisplayNotification?a("div",g,[a("div",{className:s(e.notificationClass),attrs:f,key:1},[a("span",m,[o("lightning-icon",l.default,{props:{iconName:e.notificationIcon,variant:"inverse",size:"small"},key:3})]),p(d,5,[y(2,null,r(e.text))]),e.isDismissible?p(c,7,[y(0,{on:b||(i._m1={click:C(e.onClose)})},null),y(1,null,r(e.labels.Close))]):null,e.showTryAgainButton?p(h,9,[y(0,{on:_||(i._m3={click:C(e.handleTryAgainButtonClick)})},null),y(1,null,r(e.labels.TryAgain))]):null,e.showNewConversationButton?p(u,11,[y(0,{on:v||(i._m5={click:C(e.handleNewConversationButtonClick)})},null),y(1,null,r(e.labels.NewConversation))]):null])]):null]}var p=e.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-2eenglaejop",y.legacyStylesheetToken="embeddedMessaging-chatNotification_chatNotification",r&&y.stylesheets.push.apply(y.stylesheets,r),e.freezeTemplate(y);class C extends e.LightningElement{constructor(...t){super(...t),this.type="",this.text="",this.isDismissible=!0,this.labels={},this.showTryAgainButton=!1,this.showNewConversationButton=!1}get shouldDisplayNotification(){return this.type&&this.text}get notificationClass(){if(this.type)switch(this.type){case s.NOTIFICATION_TYPES.SUCCESS:return"slds-notify slds-notify_toast slds-theme_success notificationWrapper";case s.NOTIFICATION_TYPES.ERROR:return"slds-notify slds-notify_toast slds-theme_error notificationWrapper";case s.NOTIFICATION_TYPES.INFO:return"slds-notify slds-notify_toast slds-theme_info notificationWrapper"}return"slds-notify slds-notify_toast"}
410get notificationIcon(){if(this.type)switch(this.type){case s.NOTIFICATION_TYPES.SUCCESS:return s.SLDS_ICON.SUCCESS;case s.NOTIFICATION_TYPES.ERROR:return s.SLDS_ICON.ERROR;case s.NOTIFICATION_TYPES.INFO:return s.SLDS_ICON.INFO}return""}connectedCallback(){this.handleLabels(),this.assignHandlers()}handleLabels(){this.labels.Close=o.getLabel("EmbeddedMessagingIframesAndContents","CloseNotification"),this.labels.TryAgain=o.getLabel("EmbeddedMessagingIframesAndContents","SSEConnectionTryAgainButtonText"),this.labels.NewConversation=o.getLabel("EmbeddedMessagingIframesAndContents","StartNewConversationButtonText")}assignHandlers(){i.assignHandler(s.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,this.setNotificationData.bind(this)),i.assignHandler(s.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,this.clearNotification.bind(this))}setNotificationData(t){t&&(this.text=t.text,this.type=t.type,this.isDismissible=t.isDismissible,this.showTryAgainButton=t.showTryAgainButton,this.showNewConversationButton=t.showNewConversationButton)}clearNotification(){this.text="",this.type="",this.isDismissible=!0}onClose(){i.dispatchEvent(s.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,{})}handleTryAgainButtonClick(){i.dispatchEvent("onTryAgainButtonClick",{})}handleNewConversationButtonClick(){i.dispatchEvent("onNewConversationButtonClick",{})}}e.registerDecorators(C,{track:{labels:1},fields:["type","text","isDismissible","showTryAgainButton","showNewConversationButton"]});const N=e.registerComponent(C,{tmpl:p,sel:"embeddedMessaging-chat-notification",apiVersion:66,enableSyntheticElementInternals:!0});t.default=N,Object.defineProperty(t,"__esModule",{value:!0})});
411})();LWR.define('embeddedmessaging/chatNotification', ['embeddedMessaging/chatNotification'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/progressBar",["exports","lwc","@salesforce/label/LightningProgressBar.progress","@salesforce/label/LightningProgressBar.progressBar","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/internationalizationLibrary"],function(e,a,r,t,s,i,l,n){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(r),g=o(t),p=o(s);var c=[function(){return""}];const d=a.parseFragment`<div${"c0"} part="progress-bar" aria-valuemin="0" aria-valuemax="100"${"a0:aria-valuenow"}${"a0:aria-busy"} role="progressbar"${"a0:aria-label"}${2}><span class="slds-progress-bar__value${0}"${"s1"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span></span></div>`;function h(e,a,r,t){const{ncls:s,d:i,sp:l,st:n}=e;return[n(d,1,[l(0,{className:s(a.computedClass),attrs:{"aria-valuenow":a.percentValue,"aria-busy":a.ariaBusy,"aria-label":a.computeAriaLabel}},null),l(1,{style:a.computedStyle},null),l(3,null,i(a.assistiveText))])]}var v=a.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-6fe1vtge1h4",h.legacyStylesheetToken="lightning-progressBar_progressBar",c&&h.stylesheets.push.apply(h.stylesheets,c),a.freezeTemplate(h);const b={progress:u.default,progressBar:g.default},m="medium",f="base";class y extends p.default{constructor(...e){super(...e),this.privateVariant=f,this.privateSize=m,this.value=0,this.ariaLabel=void 0}get variant(){return this.privateVariant}set variant(e){this.privateVariant=l.normalizeString(e,{fallbackValue:f,validValues:["base","circular"]})}get size(){return this.privateSize}set size(e){this.privateSize=l.normalizeString(e,{fallbackValue:m,validValues:["x-small","small","medium","large"]})}get ariaBusy(){const e=this.percentValue;return e>0&&e<100?"true":null}get computedClass(){const{size:e,variant:a}=this,r=i.classSet("slds-progress-bar");return r.add(`slds-progress-bar_${e}`),"circular"===a&&r.add("slds-progress-bar_circular"),r.toString()}get percentValue(){const{value:e}=this;return!e||e<=0?0:e>=100?100:Math.round(e)}get computedStyle(){return`width: ${this.percentValue}%;`}get assistiveText(){const e=n.numberFormat({style:"percent"}).format(this.percentValue/100);return`${b.progress} ${e}`}get computeAriaLabel(){return l.isUndefinedOrNull(this.ariaLabel)?b.progressBar:this.ariaLabel}}a.registerDecorators(y,{publicProps:{value:{config:0},ariaLabel:{config:0},variant:{config:3},size:{config:3}},track:{privateVariant:1,privateSize:1}});const $=a.registerComponent(y,{tmpl:v,sel:"lightning-progress-bar",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
411e.default=$,Object.defineProperty(e,"__esModule",{value:!0})});
412})();(function() { LWR.define("embeddedMessaging/formFooter",["exports","lwc","lightning/progressBar","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore","lightningsnapin/eventStore","embeddedMessaging/common"],function(e,t,o,r,n,s,a){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=i(o);var u=[function(e,t,o){var r=e?"["+e+"]":"";return".form-footer-button"+r+" {padding: 0.25rem 1rem;text-align: center;vertical-align: middle;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;transition: border .15s linear;border-style: solid;border-width: var(--sds-c-button-sizing-border, 1px);border-radius: var(--sds-c-button-radius-border, 0.25rem);margin: 0.5rem;}.form-footer-button.previous"+r+" {background: var(--secondaryButtonBackground, #FFFFFF);color: var(--secondaryButtonText, #181818);border-color: var(--secondaryButtonOutline, #747474);}.form-footer-button.previous:not(:disabled):hover"+r+" {background: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);color: var(--secondaryButtonText, #181818);}.form-footer-button.previous:focus"+r+" {outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;}.form-footer-button.next"+r+" {background: var(--primaryButtonBackground, #444444);color: var(--primaryButtonText, #ffffff);border: none;}.form-footer-button.next:not(:disabled):hover"+r+" {background: var(--primaryButtonBackgroundHoverColor, #181818);color: var(--primaryButtonText, #ffffff);}.form-footer-button.next:focus"+r+" {outline: 2px solid var(--primaryButtonBackground, #444444);outline-offset: 2px;}.form-footer-button[disabled]"+r+" {opacity: 0.8;cursor: not-allowed;}.progress-bar-container"+r+" {flex-grow: 2;display: flex;flex-direction: column;align-items: center;margin-bottom: 0.5rem;color: var(--secondaryText, #5C5C5C);}.step-text"+r+" {font-size: 0.85rem;font-weight: bold;margin-bottom: 0.2rem;}lightning-progress-bar"+r+" {width: 100%;}"}];const d=t.parseFragment`<button class="form-footer-button previous${0}"${"a0:disabled"}${2}><span${"a1:title"}${3}>${"t2"}</span></button>`,c=t.parseFragment`<span class="step-text${0}"${2}>${"t1"}</span>`,b=t.parseFragment`<button class="form-footer-button next${0}"${"a0:disabled"}${2}><span${"a1:title"}${3}>${"t2"}</span></button>`,g={classMap:{"progress-bar-container":!0},key:2};function p(e,t,o,r){const{b:n,d:s,sp:a,st:i,c:u,h:p}=e,{_m0:m,_m1:f,_m2:h,_m3:v}=r;return[t.isPaginated?i(d,1,[a(0,{on:f||(r._m1={click:n(t.handlePreviousButtonClick),keydown:n(t.handlePreviousButtonKeyChange)}),attrs:{disabled:t.disablePreviousButton?"":null}},null),a(1,{attrs:{title:t.previousButtonLabel}},null),a(2,null,s(t.previousButtonLabel))]):null,t.isPaginated?p("div",g,[i(c,4,[a(1,null,s(t.stepText))]),u("lightning-progress-bar",l.default,{props:{value:t.progress,size:"large",variant:"circular",ariaHidden:"true"},key:5})]):null,t.isPaginated?i(b,7,[a(0,{on:v||(r._m3={click:n(t.handleNextButtonClick),keydown:n(t.handleNextButtonKeyChange)}),attrs:{disabled:t.disableNextButton?"":null}},null),a(1,{attrs:{title:t.nextButtonLabel}},null),a(2,null,s(t.nextButtonLabel))]):null]}var m=t.registerTemplate(p);p.stylesheets=[],p.stylesheetToken="lwc-2jdu41oevl8",p.legacyStylesheetToken="embeddedMessaging-formFooter_formFooter",u&&p.stylesheets.push.apply(p.stylesheets,u),t.freezeTemplate(p);const f="EmbeddedMessaging-FormFooter";class h extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.fieldInfo=void 0,this.progress=0,this.disablePreviousButton=void 0,this.disableNextButton=void 0,this.currentStep=void 0,this.totalSteps=void 0}get isPaginated(){return!0}get previousButtonLabel(){return this.labels.previousButtonLabel}get nextButtonLabel(){return this.fieldInfo.submitForm?this.labels.submitButtonLabel:this.labels.nextButtonLabel}get progressBarAssistiveText(){return this.labels.progressBarAssistiveText}get stepText(){return this.labels.stepLabel.replace("{0}",this.currentStep).replace("{1}",this.totalSteps)}handleLabels(){this.labels.nextButtonLabel=r.getLabel("EmbeddedMessagingSecureForm","NextButtonLabel"),this.labels.previousButtonLabel=r.getLabel("EmbeddedMessagingSecureForm","BackButtonLabel"),this.labels.submitButtonLabel=r.getLabel("EmbeddedMessagingSecureForm","SubmitButtonLabel"),this.labels.progressBarAssistiveText=r.getLabel("EmbeddedMessagingSecureForm","ProgressBarAssistiveText"),this.labels.stepLabel=r.getLabel("EmbeddedMessagingSecureForm","StepLabel")}
412applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule(".slds-progress-bar__value { background: var(--primaryButtonBackground, #444444);) }",0),e.sheet.insertRule(".slds-progress-bar { border: 2px solid #181818; }",0))}handlePreviousButtonClick(e){e&&(e.preventDefault(),e.stopPropagation(),n.dispatchFormEvent(n.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED,{}),a.LoggingUtil.logInteraction(e,this,f,{method:"handlePreviousButtonClick",feature:"form-footer-button previous"}))}handleNextButtonClick(e){e&&(e.preventDefault(),e.stopPropagation(),n.dispatchFormEvent(n.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED,{nextSectionInputId:this.fieldInfo.nextSectionInputId,submitForm:Boolean(this.fieldInfo.submitForm)}),a.LoggingUtil.logInteraction(e,this,f,{method:"handleNextButtonClick",feature:"form-footer-button next"}))}handlePreviousButtonKeyChange(e){e.key===a.KEY_CODES.TAB&&!e.shiftKey&&this.disableNextButton&&(e.preventDefault(),s.dispatchMessagingEvent(s.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}handleNextButtonKeyChange(e){e.key!==a.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),s.dispatchMessagingEvent(s.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}querySelectPreviousButton(){return this.template&&this.template.querySelector("button.previous")?this.template.querySelector("button.previous"):void 0}querySelectNextButton(){return this.template&&this.template.querySelector("button.next")?this.template.querySelector("button.next"):void 0}setFocusOnNextButton(){a.util.waitForFrame(()=>{const e=this.querySelectNextButton();e&&e.focus()})}setFocusOnPreviousButton(){a.util.waitForFrame(()=>{const e=this.querySelectPreviousButton();e&&e.focus()})}connectedCallback(){this.handleLabels(),this.applyStyling()}}t.registerDecorators(h,{publicProps:{isPaginated:{config:1},fieldInfo:{config:0},progress:{config:0},disablePreviousButton:{config:0},disableNextButton:{config:0},currentStep:{config:0},totalSteps:{config:0}},publicMethods:["setFocusOnNextButton","setFocusOnPreviousButton"],track:{labels:1}});const v=t.registerComponent(h,{tmpl:m,sel:"embeddedMessaging-form-footer",apiVersion:66,enableSyntheticElementInternals:!0});e.default=v,Object.defineProperty(e,"__esModule",{value:!0})});
413})();LWR.define('embeddedmessaging/formFooter', ['embeddedMessaging/formFooter'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/sldsUtilsBorders",["exports"],function(r){var e=[function(r,e,s){var o=r?"["+r+"]":"";return".slds-border_top"+o+" {border-top: var(--slds-g-sizing-border-1, 1px) solid\n var(--slds-g-color-border-base-1, #e5e5e5);}.slds-border_right"+o+" {border-right: var(--slds-g-sizing-border-1, 1px) solid\n var(--slds-g-color-border-base-1, #e5e5e5);}.slds-border_bottom"+o+" {border-bottom: var(--slds-g-sizing-border-1, 1px) solid\n var(--slds-g-color-border-base-1, #e5e5e5);}.slds-border_left"+o+" {border-left: var(--slds-g-sizing-border-1, 1px) solid\n var(--slds-g-color-border-base-1, #e5e5e5);}"}];r.default=e,Object.defineProperty(r,"__esModule",{value:!0})});
414})();(function() { LWR.define("lightning/sldsUtilsVisibility",["exports"],function(t){var d=[function(t,d,e){var i=t?"["+t+"]":"",a=t?"["+t+"-host]":"";return(d?":host([data-render-mode='shadow']) .slds-assistive-text":a+"[data-render-mode='shadow'] .slds-assistive-text")+i+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"+(d?":host([data-render-mode='shadow']) .slds-hide":a+"[data-render-mode='shadow'] .slds-hide")+i+" {display: none !important;}"+(d?":host([data-render-mode='shadow']) .slds-hidden":a+"[data-render-mode='shadow'] .slds-hidden")+i+" {visibility: hidden !important;}"}];t.default=d,Object.defineProperty(t,"__esModule",{value:!0})});
415})();(function() { LWR.define("lightning/touchScrollLibrary",["exports","lightning/utilsPrivate","@salesforce/client/formFactor"],function(t,e,
415i){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(i);function o(t){return t.touches?t.touches[0].screenY:t.screenY}function s(t){const e=t.scrollHeight>t.offsetHeight,i=t.scrollWidth>t.offsetWidth;return e||i}function c(t){return 0===t.scrollTop}function l(t){return t.scrollHeight-t.scrollTop===t.offsetHeight||t.scrollHeight-t.scrollTop===t.clientHeight}function a(t){t.cancelScrolling=!0,t.preventBounce=!1}class u{static isMobile(){return"Large"!==n.default}constructor(t){this._initialized=!1,this._startY=null,this._target=void 0,e.assert(!!t,"a non-empty target is required for TouchScroller to add touch listeners to"),this._target=t,this.initialize()}initialize(){!this._initialized&&this._target&&(u.isMobile()&&(this._target.addEventListener("touchstart",t=>this.handleTouchStart(t)),this._target.addEventListener("touchmove",t=>this.handleTouchMove(t))),this._initialized=!0)}handleTouchStart(t){this._startY=o(t)}handleTouchMove(t){const e=t.currentTarget,i=t.target;if(function(t){return"INPUT"===t.tagName&&"range"===t.type}(i))return void a(t);const r=s(e),n=function(t){return"TEXTAREA"===t.tagName}(i)&&s(i);if(n||r){const r=o(t);let s=null!==this._startY&&this._startY<r&&c(e),u=null!==this._startY&&this._startY>r&&l(e);n&&!t.preventBounce&&(s=s&&c(i),u=u&&l(i)),s||u?function(t){t.cancelScrolling=!1,t.preventBounce=!0}(t):a(t)}}}t.TouchScroller=u,Object.defineProperty(t,"__esModule",{value:!0})});
416})();(function() { LWR.define("lightning/resizeObserver",["exports"],function(e){e.LightningResizeObserver=class{constructor(e){this._resizeObserverAvailable=void 0,this._delayedResizeCallback=void 0,this._running=void 0,this._resizeObserver=void 0,this._requestAnimationId=void 0,this._hasWindowResizeHandler=void 0,this._resizeObserverAvailable="function"==typeof ResizeObserver,this._delayedResizeCallback=()=>{this._running||(this._running=!0,setTimeout(()=>{requestAnimationFrame(()=>{e(),this._running=!1})},16))},this._resizeObserverAvailable&&(this._resizeObserver=new ResizeObserver(this._delayedResizeCallback))}observe(e){this._requestAnimationId=requestAnimationFrame(()=>{this._resizeObserverAvailable?this._resizeObserver.observe(e):this._hasWindowResizeHandler||(window.addEventListener("resize",this._delayedResizeCallback),this._hasWindowResizeHandler=!0)})}disconnect(){this._resizeObserver&&this._resizeObserver.disconnect(),this._requestAnimationId&&cancelAnimationFrame(this._requestAnimationId),window.removeEventListener("resize",this._delayedResizeCallback),this._hasWindowResizeHandler=!1}},Object.defineProperty(e,"__esModule",{value:!0})});
417})();(function() { LWR.define("lightning/textarea",["exports","lwc","lightning/sldsGenAiUtils","lightning/helptext","lwr/environment","@salesforce/label/LightningControl.required","@salesforce/label/LightningInput.helptextAlternativeText","lightning/features","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/inputUtils","lightning/touchScrollLibrary","lightning/ariaObserver","lightning/resizeObserver"],function(e,t,a,s,i,r,n,l,d,o,h,c,u,g,p,v){function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var x=b(a),_=b(s),m=b(r),y=b(n),f=b(d),L=b(p);var S=[[function(e,t,a){return(t?":host,textarea":(e?"["+e+"-host]":"")+",textarea")+(e?"["+e+"]":"")+" {display: block;}"}],function(){return""},x.default];const A=t.parseFragment`<abbr class="slds-required${0}"${"a0:title"} aria-hidden="true"${2}>*</abbr>`,O=t.parseFragment`<div${"c0"}${"a0:data-gate-textarea-readonly"}${2}><textarea${"a1:id"}${"c1"}${"a1:data-gate-textarea-readonly"}${"a1:aria-invalid"}${"a1:autocomplete"}${"a1:readonly"}${"a1:disabled"}${"a1:name"}${"a1:maxlength"}${"a1:minlength"}${"a1:placeholder"}${"a1:required"}${"a1:accesskey"} part="textarea"${2}>${"t2"}</textarea></div>`,T=t.parseFragment`<div${"a0:id"} data-help-message class="slds-form-element__help${0}"${2}><span class="slds-assistive-text${0}"${2}>${"t2"}</span>${"t3"}</div>`,I={attrs:{name:"label-end"},key:3},R=[],C={attrs:{role:"status"},key:7};function z(e,t,a,s){const{ncls:i,gid:r,sp:n,st:l,d:d,t:o,s:h,h:c,c:u,b:g}=e,{_m0:p}=s;return[c("label",{className:i(t.computedLabelClass),attrs:{for:r("input"),part:"label"},key:0},[t.required?l(A,2,[n(0,{attrs:{title:t.i18n.required}},null)]):null,o(d(t.label)),h("label-end",I,R,a)]),t.fieldLevelHelp?u("lightning-helptext",_.default,{props:{content:t.fieldLevelHelp,alternativeText:t.helptextAlternativeText},key:4}):null,l(O,6,[n(0,{className:i(t.computedDivClass),attrs:{"data-gate-textarea-readonly":t.shouldAddDataTextareaReadonlyAttr}},null),n(1,{on:p||(s._m0={input:g(t.handleInput),change:g(t.handleChange),focus:g(t.handleFocus),blur:g(t.handleBlur)}),className:i(t.computedTextareaClass),attrs:{id:r("input"),"data-gate-textarea-readonly":t.shouldAddDataTextareaReadonlyAttr,"aria-invalid":t.computedAriaInvalid,autocomplete:t.autocomplete,readonly:t.readOnly?"":null,disabled:t.disabled?"":null,name:t.name,maxlength:t.maxLength,minlength:t.minLength,placeholder:t.placeholder,required:t.required?"":null,accesskey:t.accessKey}},null),n(2,null,d(t._defaultValue))]),c("div",C,[t._helpMessage?l(T,9,[n(0,{attrs:{id:r("help-message")}},null),n(2,null,d(t.label)),n(3,null,d(t._helpMessage))]):null])]}var w=t.registerTemplate(z);z.slots=["label-end"],z.stylesheets=[],z.stylesheetToken="lwc-2c0jakuf71q",z.legacyStylesheetToken="lightning-textarea_textarea",S&&z.stylesheets.push.apply(z.stylesheets,S),t.freezeTemplate(z);var B=[function(e,t,a){return"textarea"+(e?"["+e+"]":"")+" {}"}];var k=[function(e,t,a){var s=e?"["+e+"]":"";return".slds-textarea[data-gate-textarea-readonly][readonly]"+s+" {field-sizing: content;border-width: 0 0 var(--slds-g-sizing-border-1);border-radius: var(--slds-c-textarea-radius-border, 0);outline: none;resize: none;overflow: hidden;min-height: 0;background-color: transparent;padding-block-start: var(\n --slds-c-textarea-spacing-blockstart,\n var(--slds-g-spacing-1)\n );padding-inline-end: var(\n --slds-c-textarea-spacing-inlineend,\n var(--slds-g-spacing-1)\n );padding-block-end: var(\n --slds-c-textarea-spacing-blockend,\n var(--slds-g-spacing-1)\n );padding-inline-start: var(\n --slds-c-textarea-spacing-inlinestart,\n var(--slds-g-spacing-1)\n );}.slds-textarea[data-gate-textarea-readonly][disabled]"+s+",.slds-textarea.slds-is-disabled[data-gate-textarea-readonly]"+s+" {background-color: var(\n --slds-s-input-color-background-disabled,\n var(--slds-g-color-disabled-container-1)\n );border-color: var(\n --slds-s-input-color-border-disabled,\n var(--slds-g-color-border-disabled-1)\n );color: var(\n --slds-s-input-color-disabled,\n var(--slds-g-color-on-disabled-2)\n );}.slds-textarea[readonly][disabled][data-gate-textarea-readonly]"+s+",.slds-textarea.slds-is-disabled[readonly][data-gate-textarea-readonly]"+s+" {border-bottom-width: 0;background-color: var(\n --slds-s-input-color-background-disabled,\n var(--slds-g-color-disabled-container-1)\n );color: var(\n --slds-s-input-color-disabled,\n var(--slds-g-color-on-disabled-2)\n );border-radius: var(\n --slds-c-textarea-radius-border,\n var(--slds-g-sizing-border-3)\n );}.slds-textarea[readonly][data-gate-textarea-readonly]:focus:not([disabled])"+s+",.slds-textarea[readonly][data-gate-textarea-readonly]:active:not([disabled])"+s+" {color: var(\n --slds-c-textarea-text-color-focus,\n var(--sds-c-textarea-text-color-focus)\n );background-color: transparent;border-color: var(\n --slds-s-input-color-border-focus,\n var(\n --slds-c-textarea-color-border-focus,\n var(\n --sds-c-textarea-color-border-focus,\n var(--slds-g-color-brand-base-60)\n )\n )\n );border-radius: var(\n --slds-c-textarea-radius-border,\n var(--slds-g-sizing-border-3)\n );box-shadow: var(\n --slds-c-textarea-shadow-focus,\n 0 0 var(--slds-g-sizing-border-3) var(--slds-g-color-palette-blue-50)\n );}.slds-textarea[readonly][data-gate-textarea-readonly]:focus:not([disabled])"+s+" {border-color: var(\n --slds-s-input-color-border-focus,\n var(--slds-g-color-border-base-4, var(--slds-g-color-border-base-1))\n );box-shadow: var(\n --slds-c-textarea-shadow-focus,\n var(\n --slds-g-shadow-outline-focus-1,\n 0 0 var(--slds-g-sizing-border-3)\n var(--slds-g-color-palette-blue-50)\n )\n );}.slds-textarea.slds-border_bottom.fix-slds-textarea[readonly]:not( :focus, [disabled] )"+s+" {border-bottom-width: var(--slds-g-sizing-border-1);}.slds-textarea.fix-slds-textarea-height[readonly]"+s+",.slds-textarea.fix-slds-textarea-height[readonly][disabled]"+s+" {--fix-textarea-height: 22px;height: var(--fix-textarea-height);}.slds-form-element__static.fix-slds-form-element__static"+s+" {font-size: var(--slds-s-label-font-size, var(--slds-g-font-scale-neg-1));
417font-weight: var(--slds-g-font-weight-4);color: var(--slds-s-label-color, var(--slds-g-color-neutral-base-10));}@media (width >= 48em) {.slds-form-element__static.fix-slds-form-element__static"+s+" {display: block;}}"}];const E={required:m.default,helpTextAlternativeText:y.default},{setContext:$,assertContext:H,getContext:V}=c.createPrivateContext();class D extends f.default{get ariaDescribedBy(){return this._ariaDescribedBy}set ariaDescribedBy(e){this._ariaDescribedBy=e,this.connectAriaDescribedBy()}get ariaLabelledBy(){return this._ariaLabelledBy}set ariaLabelledBy(e){this._ariaLabelledBy=e,this._rendered&&this.connectAriaLabelledBy()}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e,this._updateProxyInputAttributes("maxlength")}get minLength(){return this._minLength}set minLength(e){this._minLength=e,this._updateProxyInputAttributes("minlength")}get value(){return this._value}set value(e){this._value!==e&&(this._value=e||"",this._connected?(this._setInputValue(this._value),this.updateTextareaHeightWhenReadonly()):this._defaultValue=this._value),this._updateProxyInputAttributes("value")}get disabled(){return this._disabled}set disabled(e){this._disabled=h.normalizeBoolean(e),this._updateProxyInputAttributes("disabled")}get fieldLevelHelp(){return this._fieldLevelHelp}set fieldLevelHelp(e){this._fieldLevelHelp=e}get readOnly(){return this._readOnly}set readOnly(e){const{_readOnly:t}=this;this._readOnly=h.normalizeBoolean(e),this._updateProxyInputAttributes("readonly"),this.toggleResizeObserver(t)}get required(){return this._required}set required(e){this._required=h.normalizeBoolean(e),this._updateProxyInputAttributes("required")}get variant(){return this._variant||u.VARIANT.STANDARD}set variant(e){this._variant=u.normalizeVariant(e),h.reflectAttribute(this,"variant",this._variant),this.updateHostClassList()}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}reportValidity(){return this._constraint.reportValidity(e=>{this._helpMessage=e,this._helpMessageChanged=!0})}setCustomValidity(e){this._constraint.setCustomValidity(e)}showHelpMessageIfInvalid(){this.reportValidity()}focus(){this._connected&&this.inputElement.focus()}blur(){this._connected&&this.inputElement.blur()}setRangeText(...e){H(this),this._connected&&(h.setRangeText.apply(this.inputElement,e),this.value=this.inputElement.value)}get isLabelHidden(){return this.variant===u.VARIANT.LABEL_HIDDEN}get i18n(){return E}get computedLabelClass(){return o.classSet("slds-form-element__label").add({"slds-assistive-text":this.isLabelHidden}).toString()}get inputElement(){H(this);const e=V(this);e.textarea||(e.textarea=i.isServer?null:e.template.querySelector("textarea"));const t=e.textarea;return h.decorateInputForDragon(t),t}get _constraint(){return this._constraintApi||(this._constraintApi=new u.FieldConstraintApiWithProxyInput(()=>this,{valueMissing:()=>this._required&&u.isEmptyString(this._value),tooShort:()=>this._connected&&this.inputElement.validity.tooShort,tooLong:()=>this._connected&&this.inputElement.validity.tooLong},"textarea"),this._constraintApiProxyInputUpdater=this._constraint.setInputAttributes({value:()=>this.value,maxlength:()=>this.maxLength,minlength:()=>this.minLength,disabled:()=>this.disabled,readonly:()=>this.readOnly,required:()=>this.required})),this._constraintApi}get computedAriaInvalid(){return h.computeAriaInvalid(this._helpMessage,this.value)}get helptextAlternativeText(){return o.formatLabel(E.helpTextAlternativeText,this.label)}get shouldRenderTextareaReadonly(){return l.features.enableTextareaReadOnlyStatic&&this.readOnly&&!this.disabled}get shouldAddDataTextareaReadonlyAttr(){return this.shouldRenderTextareaReadonly?"":null}get computedDivClass(){const{shouldRenderTextareaReadonly:e}=this;return{"slds-form-element__control":!0,"textarea-container":!0,"slds-form-element__static":e,"fix-slds-form-element__static":e,"slds-grow":!e}}get computedTextareaClass(){const{shouldRenderTextareaReadonly:e,disabled:t}=this;return{"slds-textarea":!0,"fix-slds-textarea":e,"slds-border_bottom":!t&&e}}calculateTextareaHeight(e,t){const a=document.createElement("p");Object.assign(a.style,{visibility:"hidden",position:"absolute",whiteSpace:"pre-wrap",wordBreak:"break-word",padding:t.padding,font:t.font,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,width:t.width,boxSizing:t.boxSizing,border:t.border}),a.textContent=e.value||" ",document.body.appendChild(a);const s=a.offsetHeight;return document.body.removeChild(a),s}setTextareaHeight(e){let t=null;try{t=window.getComputedStyle(e)}catch(e){t=null}if(!t)return void(e.style.height="27px");const a=e.value||"",s=this.calculateTextareaHeight(e,t),i=(parseFloat(t.lineHeight)||21)+(parseFloat(t.paddingTop)||4)+(parseFloat(t.paddingBottom)||2),r=!a||s<=i?i:s;e.style.height=`${r}px`}get fieldSizingSupport(){if(i.isServer)return!1;try{return CSS&&CSS.supports&&CSS.supports("field-sizing","content")||!1}catch(e){return!1}}updateTextareaHeightWhenReadonly(){const{_rendered:e,shouldRenderTextareaReadonly:t,inputElement:a}=this;if(!e||!l.features.enableTextareaReadOnlyStatic||!a)return;const{fieldSizingSupport:s,value:i}=this;
417!s&&t?this.setTextareaHeight(a):s&&(a.classList.remove("fix-slds-textarea-height"),t&&!i&&a.classList.add("fix-slds-textarea-height"))}toggleResizeObserver(e){if(i.isServer||!l.features.enableTextareaReadOnlyStatic)return;const{shouldRenderTextareaReadonly:t,_resizeObserver:a,_rendered:s}=this;if(!t&&e&&s&&a)return this.inputElement.style.height=null,void this.removeResizeObserver();!t||e||this.fieldSizingSupport||this.setupResizeObserver()}shouldSetupResizeObserver(){return this._rendered&&this.shouldRenderTextareaReadonly&&l.features.enableTextareaReadOnlyStatic&&!this.fieldSizingSupport&&!this._resizeObserver&&this.inputElement}setupResizeObserver(){this.shouldSetupResizeObserver()&&(this._resizeObserver=new v.LightningResizeObserver(()=>{this.updateTextareaHeightWhenReadonly()}),this._resizeObserver.observe(this.inputElement))}removeResizeObserver(){if(!l.features.enableTextareaReadOnlyStatic)return;const{_resizeObserver:e}=this;e&&(e.disconnect(),this._resizeObserver=null)}constructor(){super(),this._maxLength=void 0,this._minLength=void 0,this._defaultValue="",this._disabled=!1,this._required=!1,this._readOnly=!1,this._variant=void 0,this._helpMessage=void 0,this._fieldLevelHelp=void 0,this._connected=void 0,this._rendered=void 0,this._isNativeShadow=!1,this._value=void 0,this._resizeObserver=null,this._helpMessageChanged=!1,this._constraintApi=void 0,this._constraintApiProxyInputUpdater=void 0,this._ariaDescribedBy="",this._ariaLabelledBy="",this.ariaObserver=null,this.interactingState=void 0,this.touchScroller=void 0,this.autocomplete=void 0,this.label=void 0,this.placeholder=void 0,this.name=void 0,this.messageWhenBadInput=void 0,this.messageWhenTooShort=void 0,this.messageWhenTooLong=void 0,this.messageWhenValueMissing=void 0,this.accessKey=void 0,this.ariaObserver=new L.default(this),$(this,{textarea:null,template:super.template})}connectedCallback(){H(this),super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new L.default(this)),this.updateHostClassList(),this._connected=!0,this.interactingState=new u.InteractingState,this.interactingState.onleave(()=>this.showHelpMessageIfInvalid()),this._isNativeShadow=h.isNativeComponent(this)}renderedCallback(){if(this.isConnected&&this.ariaObserver.sync(this._isNativeShadow),!this._rendered){this.connectAriaDescribedBy(),this.connectAriaLabelledBy(),this._rendered=!0,this._setInputValue(this._defaultValue);const e=this.template.querySelector(".textarea-container");this.touchScroller=new g.TouchScroller(e)}this.setupResizeObserver(),this.updateTextareaHeightWhenReadonly(),this._helpMessageChanged&&(this.connectAriaDescribedBy(),this._helpMessageChanged=!1)}disconnectedCallback(){this._connected=!1,this.ariaObserver&&this.ariaObserver.disconnect&&(this.ariaObserver.disconnect(),this.ariaObserver=null),this.removeResizeObserver()}handleFocus(){this.interactingState.enter(),this.dispatchEvent(new CustomEvent("focus"))}handleBlur(){this.interactingState.leave(),this.dispatchEvent(new CustomEvent("blur"))}handleChange(e){e.stopPropagation()}handleInput(e){e.stopPropagation();const t=e.target,a=t.value.length,s="char-limit-warning";let i=this.template.querySelector(`#${s}`);a>=this.maxLength?i||(i=document.createElement("p"),i.textContent=`Limit reached. You can only use ${this.maxLength} characters in this field.`,i.setAttribute("role","alert"),i.id=s,i.classList.add("slds-assistive-text"),t.after(i)):i&&i.remove(),this._connected&&this._value!==e.target.value&&(this.interactingState.interacting(),this._value=this.inputElement.value,this._updateProxyInputAttributes("value"),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:this._value}})))}connectAriaDescribedBy(){const e=i.isServer?null:this.template.querySelector("[data-help-message]");this.ariaObserver.connect({targetSelector:"textarea",attribute:"aria-describedby",relatedNodeIds:this.ariaDescribedBy,relatedNodes:e})}connectAriaLabelledBy(){this.ariaObserver.connect({targetSelector:"textarea",attribute:"aria-labelledby",relatedNodeIds:this.ariaLabelledBy})}_setInputValue(e){H(this),h.setDecoratedDragonInputValueWithoutEvent(this.inputElement,e)}_updateProxyInputAttributes(e){this._constraintApiProxyInputUpdater&&this._constraintApiProxyInputUpdater(e)}updateHostClassList(){h.classListMutation(this.classList,{"slds-form-element":!0,"slds-form-element_stacked":this.variant===u.VARIANT.LABEL_STACKED,"slds-form-element_horizontal":this.variant===u.VARIANT.LABEL_INLINE})}}D.delegatesFocus=!0,D.validationOptOut=["class"],D.stylesheets=[l.features.enableTextareaReadOnlyStatic&&k||B],t.registerDecorators(D,{publicProps:{autocomplete:{config:0},label:{config:0},placeholder:{config:0},name:{config:0},messageWhenBadInput:{config:0},messageWhenTooShort:{config:0},messageWhenTooLong:{config:0},messageWhenValueMissing:{config:0},accessKey:{config:0},ariaDescribedBy:{config:3},ariaLabelledBy:{config:3},maxLength:{config:3},minLength:{config:3},value:{config:3},disabled:{config:3},fieldLevelHelp:{config:3},readOnly:{config:3},required:{config:3},variant:{config:3},validity:{config:1}},publicMethods:["checkValidity","reportValidity","setCustomValidity","showHelpMessageIfInvalid","focus","blur","setRangeText"],track:{_maxLength:1,_minLength:1,_defaultValue:1,_disabled:1,_required:1,_readOnly:1,_variant:1,_helpMessage:1,_fieldLevelHelp:1,_ariaDescribedBy:1,_ariaLabelledBy:1},fields:["_connected","_rendered","_isNativeShadow","_value","_resizeObserver","_helpMessageChanged","_constraintApi","_constraintApiProxyInputUpdater","ariaObserver","interactingState","touchScroller"]});const q=t.registerComponent(D,{tmpl:w,sel:"lightning-textarea",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
417D.interopMap={exposeNativeEvent:{change:!0,focus:!0,blur:!0}},e.default=q,Object.defineProperty(e,"__esModule",{value:!0})});
418})();(function() { LWR.define("embeddedMessaging/secureFormField",["exports","lwc","lightning/input","lightning/textarea","lightning/icon","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/globalEventStore","lightningsnapin/eventStore"],function(e,t,i,n,l,s,r,a,u,o){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=p(i),c=p(n),h=p(l);var I=[function(e,t,i){var n=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"--slds-c-input-color-border-focus: var(--slds-g-color-neutral-base-40, #5c5c5c);--slds-c-input-shadow-focus: var(--slds-g-color-neutral-base-40, #5c5c5c);--slds-c-textarea-color-border-focus: var(--slds-g-color-neutral-base-40, #5c5c5c);--slds-c-textarea-shadow-focus: var(--slds-g-color-neutral-base-40, #5c5c5c);--slds-c-input-text-color: var(--primaryText, #333333);--lwc-colorTextLabel: var(--primaryText, #333333);}.inputFieldTitle"+n+" {color: var(--primaryText, #181818);}.textAreaCharacterIndicator"+n+"{font-size: 0.75rem;color: var(--primaryText, #181818);text-align: right;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+".textAreaCharacterIndicator"+n+"{font-size: 0.75rem;color: var(--primaryText, #181818);text-align: left;}.option"+n+"{width: 100%;display: flex;height: 2.5em;color: var(--secondaryButtonOutline, #747474);justify-content: space-between;}.option:focus"+n+"{outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;border-color: var(--secondaryButtonOutline, #747474);box-shadow: none;}.option:hover"+n+"{background-color: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);color: var(--secondaryButtonText, #181818);}.selectOption"+n+'{padding-top: 0.5rem;}[aria-checked="true"]'+n+" {border: 2px solid var(--secondaryButtonOutline, #747474);background-image: linear-gradient(to bottom left, var(--secondaryButtonOutline, #747474) 50%, transparent 50%);background-size: 15% 60%;background-repeat: no-repeat;background-position: top right;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+'[aria-checked="true"]'+n+' {background-image: linear-gradient(to bottom right, var(--secondaryButtonOutline, #747474) 50%, transparent 50%);background-position: top left;}[aria-checked="false"]'+n+" {border: 1px solid var(--secondaryButtonOutline, #747474);}.selectedIconWrapper"+n+"{margin-right: -0.75rem;padding-bottom: 1.5rem;position: unset;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+".selectedIconWrapper"+n+"{margin-right: 0;margin-left: -0.75rem;}.optionSelectInputText"+n+"{padding-top: 0.5rem;padding-bottom: 0.25rem;font-size: 0.8rem;}.optionSelectInputRequiredError"+n+"{padding-top: 0.25rem;font-size: 0.75rem;color: var(--alert, #D72E2D);;}.requiredAsterisk"+n+"{font-size: 0.8rem;color: var(--alert, #D72E2D);;padding-right: 0.1rem;}"}];const g=t.parseFragment`<p${"a0:id"} class="inputFieldTitle${0}"${2}>${"t1"}</p>`,f=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,S=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,T=t.parseFragment`<div${"a0:id"} class="textAreaCharacterIndicator${0}"${2}>${"t1"}</div>`,m=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,F=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,x=t.parseFragment`<span class="requiredAsterisk${0}"${2}>*</span>`,O=t.parseFragment`<span${"a0:value"}${3}>${"t1"}</span>`,b=t.parseFragment`<div class="optionSelectInputRequiredError${0}"${2}>${"t1"}</div>`,E={classMap:{"form-content":!0},key:0},y={"secure-forms-text-input":!0},v={optionSelectInputText:!0},M={"secure-forms-option-select-input":!0},k={selectOption:!0},_={"slds-button":!0,"slds-p-around_medium":!0,option:!0},R={classMap:{selectedIconWrapper:!0,"slds-is-fixed":!0},props:{iconName:"utility:check",size:"xx-small"},key:25},V={attrs:{role:"status"},key:26};function D(e,t,i,n){const{gid:l,d:s,sp:r,st:a,b:u,c:o,t:p,h:I,k:D,i:N}=e,{_m0:C,_m1:A,_m2:L,_m3:P,_m4:B}=n;return[I("div",E,[a(g,2,[r(0,{attrs:{id:l("inputFieldTitle")}},null),r(1,null,s(t.inputFieldTitle))]),t.isTextInput&&t.isTextInputSingleLine?o("lightning-input",d.default,{classMap:y,props:{type:"text",label:t.inputFieldHintText,maxLength:t.inputFieldMaxLength,pattern:t.inputFieldRegEx,messageWhenPatternMismatch:t.labels.regexPatternMismatch,required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,placeholder:t.inputFieldPlaceholderText,value:t.fieldValue,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle},key:3,on:C||(n._m0={blur:u(t.handleLightningInputValidation),change:u(t.handleLightningInputValidation),keydown:u(t.handleInputKeyDown)})},[a(f,5,[r(1,null,s(t.inputFieldHintText))])]):null,t.isTextInput?t.isTextInputSingleLine?null:o("lightning-textarea",c.default,{classMap:y,props:{placeholder:t.inputFieldPlaceholderText,value:t.fieldValue,label:t.inputFieldHintText,maxLength:t.inputFieldMaxLength,required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle,ariaDescribedBy:l("characterIndicator")},key:6,on:A||(n._m1={blur:u(t.handleTextAreaChange),change:u(t.handleTextAreaChange),keydown:u(t.handleInputKeyDown)})},[a(S,8,[r(1,null,s(t.inputFieldHintText))])]):null,t.isTextInput?t.isTextInputSingleLine?null:a(T,10,[r(0,{attrs:{id:l("characterIndicator")}},null),r(1,null,s(t.textAreaCharacterIndicatorText))]):null,t.isDatePickerInput?o("lightning-input",d.default,{props:{type:"date",required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,messageWhenPatternMismatch:t.labels.regexPatternMismatch,label:t.inputFieldHintText,value:t.inputFieldStartDate,min:t.inputFieldMinDate,max:t.inputFieldMaxDate,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle},key:11,on:L||(n._m2={blur:u(t.handleLightningInputValidation),change:u(t.handleLightningInputValidation),keydown:u(t.handleInputKeyDown)})},[a(m,13,[r(1,null,s(t.inputFieldHintText))])]):null,t.isDateTimePickerInput?o("lightning-input",d.default,{props:{type:"datetime",required:t.isFieldRequired,messageWhenValueMissing:t.labels.requiredInputMissing,messageWhenPatternMismatch:t.labels.regexPatternMismatch,label:t.inputFieldHintText,value:t.inputFieldStartDate,min:t.inputFieldMinDate,max:t.inputFieldMaxDate,title:t.inputFieldHintText,ariaLabel:t.inputFieldTitle},key:14,on:P||(n._m3={blur:u(t.handleLightningInputValidation),change:u(t.handleLightningInputValidation),keydown:u(t.handleInputKeyDown)})},[a(F,16,[r(1,null,s(t.inputFieldHintText))])]):null,t.isOptionSelectInput?I("label",{classMap:v,attrs:{id:l("optionSelectInputText"),"aria-describedby":l("inputFieldTitle")},key:17},[t.isFieldRequired?a(x,19):null,p(s(t.optionSelectInputText))]):null,t.isOptionSelectInput?I("div",{classMap:M,attrs:{role:"group","aria-label":t.optionSelectInputText},key:20},N(t.inputSelectOptions,function(e){return I("div",{classMap:k,key:D(21,e.optionIdentifier)},[I("button",{classMap:_,attrs:{role:t.optionType,value:e.optionIdentifier,"aria-checked":e.ariaIsChecked,tabindex:"-1"},key:22,on:B||(n._m4={click:u(t.onOptionsClick),keydown:u(t.onOptionsKeyDown),blur:u(t.onOptionsBlur)})},[a(O,24,[r(0,{attrs:{value:e.optionIdentifier}}
418,null),r(1,null,s(e.titleItem.title))]),e.isSelected?o("lightning-icon",h.default,R):null])])})):null,t.isOptionSelectInput?I("div",V,[t.inputSelectOptionsShowErrorMessage?a(b,28,[r(1,null,s(t.labels.RequiredSelectInputMissing))]):null]):null])]}var N=t.registerTemplate(D);D.stylesheets=[],D.stylesheetToken="lwc-637s2o1u6af",D.legacyStylesheetToken="embeddedMessaging-secureFormField_secureFormField",I&&D.stylesheets.push.apply(D.stylesheets,I),t.freezeTemplate(D);class C extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.fieldType=void 0,this.fieldInfo={},this.fieldValue=void 0,this.disablePreviousButton=void 0,this.disableNextButton=void 0,this.inputSelectOptions=[],this.inputSelectOptionsValue=[],this.initialFieldRender=!0,this.inputSelectOptionsShowErrorMessage=!1,this.setFocusOnFirstSelectOption=!1,this.previousIndex=0,this.textAreaCharacterCount=0}get isTextInput(){return this.fieldInfo.input.inputType===r.FormInputType.TEXT_INPUT}get inputFieldTitle(){return this.fieldInfo.input&&this.fieldInfo.input.label&&this.fieldInfo.input.label.title?this.fieldInfo.input.label.title:""}get inputFieldHintText(){let e=this.labels.textInputSelect;return(this.isDatePickerInput||this.isDateTimePickerInput)&&(e=this.labels.datetimeInputSelect),this.fieldInfo.input&&this.fieldInfo.input.hintText&&this.fieldInfo.input.hintText||e}get isFieldRequired(){return!!this.fieldInfo.input&&Boolean(this.fieldInfo.input.required)}get textInputType(){if(this.fieldInfo.input&&this.fieldInfo.input.keyboardType)switch(this.fieldInfo.input.keyboardType){case r.TextInputKeyboardType.NUMBER:return r.InputElementType.NUMBER;case r.TextInputKeyboardType.PHONE:return r.InputElementType.PHONE;case r.TextInputKeyboardType.EMAIL:return r.InputElementType.EMAIL}return"text"}get isTextInputSingleLine(){return!this.fieldInfo.input||!this.fieldInfo.input.textInputType||"Singleline"===this.fieldInfo.input.textInputType}get isTextInputURL(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.URL}get isTextInputEmail(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.EMAIL}get isTextInputNumber(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&(this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.NUMBER||this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.DECIMAL)}get isTextInputPhone(){return this.fieldInfo.input&&this.fieldInfo.input.keyboardType&&this.fieldInfo.input.keyboardType===r.TextInputKeyboardType.PHONE}get inputFieldPlaceholderText(){return this.fieldInfo.input&&this.fieldInfo.input.placeholder?this.fieldInfo.input.placeholder:""}get inputFieldRegEx(){return this.fieldInfo.input&&this.fieldInfo.input.regEx?this.fieldInfo.input.regEx:this.isTextInputURL?a.URL_VALIDATION_REGEX:this.isTextInputEmail?r.EMAIL_VALIDATION_REGEX:this.isTextInputNumber?a.NUMBER_VALIDATION_REGEX:this.isTextInputPhone?a.PHONE_NUMBER_VALIDATION_REGEX:this.isFieldRequired?r.AT_LEAST_ONE_NON_WHITESPACE_CHAR_REGEX:void 0}get inputFieldMaxLength(){if(this.fieldInfo.input&&this.fieldInfo.input.maximumCharacterCount)return this.fieldInfo.input.maximumCharacterCount}get textAreaCharacterIndicatorText(){return this.inputFieldMaxLength?this.textAreaCharacterCount.toString()+"/"+this.inputFieldMaxLength.toString():""}handleInputKeyDown(e){e&&e.key===a.KEY_CODES.TAB&&!e.shiftKey&&this.disablePreviousButton&&this.disableNextButton&&(e.preventDefault(),o.dispatchMessagingEvent(o.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}handleTextAreaChange(e){e&&e.detail&&(e.detail.value?this.textAreaCharacterCount=e.detail.value.length:this.textAreaCharacterCount=0),this.handleLightningInputValidation()}handleLightningInputValidation(){if(this.isTextInput||this.isDatePickerInput||this.isDateTimePickerInput){const e=this.querySelectInputField();e&&(e.checkValidity()?(e.setAttribute("aria-invalid",!1),u.dispatchFormEvent(u.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,{})):(e.setAttribute("aria-invalid",!0),u.dispatchFormEvent(u.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,{})))}}get isDatePickerInput(){return this.fieldInfo.input.inputType===r.FormInputType.DATE_PICKER_INPUT}get isDateTimePickerInput(){return this.fieldInfo.input.inputType===r.FormInputType.DATE_TIME_PICKER_INPUT}get inputFieldMaxDate(){if(this.fieldInfo.input&&this.fieldInfo.input.maximumDate)return this.fieldInfo.input.maximumDate}get inputFieldMinDate(){if(this.fieldInfo.input&&this.fieldInfo.input.minimumDate)return this.fieldInfo.input.minimumDate}get inputFieldStartDate(){return this.fieldValue?this.fieldValue:this.fieldInfo.input&&this.fieldInfo.input.startDate?this.fieldInfo.input.startDate:""}get isOptionPickerInput(){return this.fieldInfo.input.inputType===r.FormInputType.OPTION_PICKER_INPUT}get isSelectInput(){return this.fieldInfo.input.inputType===r.FormInputType.SELECT_INPUT}get isOptionSelectInput(){return this.isOptionPickerInput||this.isSelectInput}get isOptionSelectInputMultipleSelection(){return Boolean(this.fieldInfo.input.multipleSelection)}get optionSelectInputText(){return this.isOptionSelectInputMultipleSelection?this.labels.optionSelectInputMultipleSelect:this.labels.optionSelectInputSingleSelect}get optionType(){return this.isOptionSelectInputMultipleSelection?"checkbox":"radio"}initializeSelectOptions(){let e;const t=this.isOptionPickerInput&&!this.fieldValue,i=this.fieldInfo.input.selectedOptionIndex?this.fieldInfo.input.selectedOptionIndex-1:0;this.inputSelectOptions=[],this.inputSelectOptionsValue=[],this.fieldValue&&Array.isArray(this.fieldValue)&&this.fieldValue.forEach(e
418=>{this.inputSelectOptionsValue.push(e.optionIdentifier)}),this.fieldInfo.input.optionItems.forEach((n,l)=>{this.inputSelectOptions.push({...n}),e=this.inputSelectOptions[l],this.inputSelectOptionsValue.includes(n.optionIdentifier)?(e.isSelected=!0,e.ariaIsChecked=String(e.isSelected)):t&&l===i?(e.isSelected=!0,e.ariaIsChecked=String(e.isSelected),this.inputSelectOptionsValue.push(n.optionIdentifier)):(e.isSelected=!1,e.ariaIsChecked=String(e.isSelected))}),this.setFocusOnFirstSelectOption=!0}onOptionsClick(e){let t;e&&(e.preventDefault(),e.target&&e.target.getAttribute("value")&&(t=e.target.getAttribute("value"),this.isOptionSelectInputMultipleSelection?this.handleMultipleSelectOptionClick(t):this.handleSingleSelectOptionClick(t)),this.isSelectInput&&this.isFieldRequired&&this.handleSelectInputValidation())}onOptionsKeyDown(e){e&&(e.key===a.KEY_CODES.ENTER||e.key===a.KEY_CODES.SPACE?(e.preventDefault(),e.currentTarget.click()):e.key===a.KEY_CODES.DOWN?(e.preventDefault(),e.currentTarget.setAttribute("tabindex",-1),this.setFocusOnNextOption(e.currentTarget.parentElement)):e.key===a.KEY_CODES.UP?(e.preventDefault(),e.currentTarget.setAttribute("tabindex",-1),this.setFocusOnPreviousOption(e.currentTarget.parentElement)):e.key===a.KEY_CODES.TAB&&!e.shiftKey&&this.disablePreviousButton&&this.disableNextButton&&(e.preventDefault(),o.dispatchMessagingEvent(o.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{})))}handleSingleSelectOptionClick(e){let t,i;const n=this.inputSelectOptions.find(t=>t.optionIdentifier===e);n.isSelected?this.isSelectInput&&(n.isSelected=!1,n.ariaIsChecked=String(n.isSelected),this.inputSelectOptionsValue.pop()):(1===this.inputSelectOptionsValue.length&&(t=this.inputSelectOptionsValue.pop(),i=this.inputSelectOptions.find(e=>e.optionIdentifier===t),i.isSelected=!1,i.ariaIsChecked=String(i.isSelected)),n.isSelected=!0,n.ariaIsChecked=String(n.isSelected),this.inputSelectOptionsValue.push(e))}handleMultipleSelectOptionClick(e){const t=this.inputSelectOptions.find(t=>t.optionIdentifier===e);t.isSelected?(this.isSelectInput||this.isOptionPickerInput&&this.inputSelectOptionsValue.length>1)&&(t.isSelected=!1,t.ariaIsChecked=String(t.isSelected),this.inputSelectOptionsValue.splice(this.inputSelectOptionsValue.indexOf(e),1)):(t.isSelected=!0,t.ariaIsChecked=String(t.isSelected),this.inputSelectOptionsValue.push(e))}optionSelectValue(){let e;const t=[];return this.inputSelectOptionsValue.forEach(i=>{e=this.inputSelectOptions.find(e=>e.optionIdentifier===i),t.push({optionTitle:{itemType:e.titleItem.itemType,title:e.titleItem.title},optionIdentifier:e.optionIdentifier})}),t}onOptionsBlur(){this.isSelectInput&&this.isFieldRequired&&this.handleSelectInputValidation()}handleSelectInputValidation(){0===this.inputSelectOptionsValue.length?(this.inputSelectOptionsShowErrorMessage=!0,u.dispatchFormEvent(u.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,{})):(this.inputSelectOptionsShowErrorMessage=!1,u.dispatchFormEvent(u.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,{}))}selectOptionsRendered(){const e=this.queryFirstSelectOption();return e&&e.value===this.inputSelectOptions[0].optionIdentifier}setFocusOnNextOption(e){const t=a.util.querySelectItem(e,1);t&&(t.removeAttribute("tabindex"),this.setFocusOnElement(t))}setFocusOnPreviousOption(e){const t=a.util.querySelectItem(e,-1);t&&(t.removeAttribute("tabindex"),this.setFocusOnElement(t))}connectedCallback(){this.handleLabels(),this.applyStyling(),u.assignFormEventHandler(u.FORM_EVENTS.FIELD_CHANGE,this.newFormField.bind(this))}renderedCallback(){this.initialFieldRender&&(this.initialFieldRender=!1,this.isOptionSelectInput?(this.inputSelectOptionsShowErrorMessage=!1,this.setFocusOnFirstSelectOption=!1,this.initializeSelectOptions()):(!this.isTextInputSingleLine&&this.fieldValue&&(this.textAreaCharacterCount=this.fieldValue.length),this.setFocusOnField()),this.handleInitialFieldValidation(),this.previousIndex=this.fieldInfo.input.id),this.setFocusOnFirstSelectOption&&this.selectOptionsRendered()&&(this.setFocusOnField(),this.setFocusOnFirstSelectOption=!1)}disconnectedCallback(){u.clearHandlersForFormEvent(u.FORM_EVENTS.FIELD_CHANGE)}handleInitialFieldValidation(){this.isFieldRequired?this.isSelectInput&&0===this.inputSelectOptionsValue.length?u.dispatchFormEvent(u.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,{}):this.handleLightningInputValidation():u.dispatchFormEvent(u.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,{}),this.previousIndex>this.fieldInfo.input.id&&this.lightingInputStylingFieldValidation()}lightingInputStylingFieldValidation(){if(this.isTextInput||this.isDatePickerInput||this.isDateTimePickerInput){const e=this.querySelectInputField();e&&e.reportValidity()}}newFormField(){this.initialFieldRender=!0}setFocusOnElement(e){a.util.waitForFrame(()=>{e&&e.focus()})}setFocusOnField(){if(this.isOptionSelectInput){const e=this.queryFirstSelectOption();e&&(e.removeAttribute("tabindex"),this.setFocusOnElement(e))}else this.setFocusOnElement(this.querySelectInputField())}get value(){let e,t="";return this.isOptionSelectInput?t=this.optionSelectValue():(e=this.querySelectInputField(),e&&(t=this.querySelectInputField.value)),t}querySelectInputField(){return this.isTextInput?this.template.querySelector(".secure-forms-text-input"):this.template.querySelector("lightning-input")}queryFirstSelectOption(){return this.template&&this.template.querySelector("button:first-child")?this.template.querySelector("button:first-child"):void 0}handleLabels(){this.labels.optionSelectInputSingleSelect=s.getLabel("EmbeddedMessagingSecureForm","OptionSelectInputSingleSelectInstruction"),this.labels.optionSelectInputMultipleSelect=s.getLabel("EmbeddedMessagingSecureForm","OptionSelectInputMultipleSelectInstruction"),this.labels.textInputSelect=s.getLabel("EmbeddedMessagingSecureForm","TextInputSelectInstruction"),this.labels.datetimeInputSelect=s.getLabel("EmbeddedMessagingSecureForm","DatePickerInputSelectInstruction"),this.labels.requiredInputMissing=s.getLabel("EmbeddedMessagingSecureForm","RequiredInputMissing"),this.labels.regexPatternMismatch=s.getLabel("EmbeddedMessagingSecureForm","RegexPatternMismatch"),this.labels.RequiredSelectInputMissing=s.getLabel("EmbeddedMessagingSecureForm","RequiredSelectInputMissing")}
418applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule(".slds-icon-text-default { fill: var(--slds-g-color-neutral-base-100, #ffffff); }",0),e.sheet.insertRule(".slds-textarea { max-height: 20rem; }",0),e.sheet.insertRule(".slds-input:focus { border: 1px solid var(--slds-g-color-neutral-base-40, #5c5c5c);}",0),e.sheet.insertRule(".slds-textarea:focus { border: 1px solid var(--slds-g-color-neutral-base-40, #5c5c5c);}",0),e.sheet.insertRule(".slds-input { color: var(--primaryText, #333333); border-color: var(--inputOutline, #747474);}",0),e.sheet.insertRule(".slds-textarea { color: var(--primaryText, #333333); border-color: var(--inputOutline, #747474);}",0),e.sheet.insertRule(".slds-form-element__label { color: var(--primaryText, #333333);}",0))}}t.registerDecorators(C,{publicProps:{fieldType:{config:0},fieldInfo:{config:0},fieldValue:{config:0},disablePreviousButton:{config:0},disableNextButton:{config:0},isTextInput:{config:1},inputFieldTitle:{config:1},textInputType:{config:1},isDatePickerInput:{config:1},isDateTimePickerInput:{config:1},value:{config:1}},publicMethods:["setFocusOnField","querySelectInputField"],track:{labels:1,inputSelectOptions:1},fields:["inputSelectOptionsValue","initialFieldRender","inputSelectOptionsShowErrorMessage","setFocusOnFirstSelectOption","previousIndex","textAreaCharacterCount"]});const A=t.registerComponent(C,{tmpl:N,sel:"embeddedMessaging-secure-form-field",apiVersion:66,enableSyntheticElementInternals:!0});e.default=A,Object.defineProperty(e,"__esModule",{value:!0})});
419})();LWR.define('embeddedmessaging/secureFormField', ['embeddedMessaging/secureFormField'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/confirmationDialog",["exports","lwc","embeddedMessaging/common","lightningsnapin/eventStore"],function(t,e,n,o){var i=[function(t,e,n){var o=t?"["+t+"]":"";return(e?":host {":(t?"["+t+"-host]":"")+" {")+"font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);position: absolute;width: 100%;}.confirmation-dialog"+o+" {display: flex;flex-direction: column;flex: 1 1 auto;text-align: center;align-content: stretch;justify-content: center;height: calc(100vh - var(--header-height, 50px) - var(--notification-height, 0px));background: var(--slds-g-color-neutral-base-100, #FFFFFF);}.confirmation-dialog-content"+o+" {display: flex;flex-direction: column;flex: 1 1 auto;justify-content: center;text-align: center;padding: 0 24px;color: var(--primaryText, #333333);}h3.confirmation-dialog-title"+o+" {margin: 0 0 4px;font-size: 1.125em;font-weight: 700;line-height: 27px;}span.confirmation-dialog-body"+o+" {margin: 4px 0 0;font-size: 0.75em;font-weight: 400;line-height: 21px;}.confirmation-dialog-footer"+o+" {display: flex;flex-direction: column;flex: 0 1 auto;padding: 0 24px 16px;box-sizing: border-box;}.confirmation-dialog-button"+o+" {min-height: 2rem;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;border-radius: 8px;}.confirmButton"+o+" {background: var(--primaryButtonBackground, #444444);color: var(--primaryButtonText, #ffffff);border: none;}.confirmButton:hover"+o+" {background: var(--primaryButtonBackgroundHoverColor, #181818);}.confirmButton:focus"+o+" {outline: 2px solid var(--primaryButtonBackground, #444444);outline-offset: 2px;}.cancelButton"+o+"{background: var(--secondaryButtonBackground, #FFFFFF);color: var(--secondaryButtonText, #181818);}.cancelButton:hover"+o+" {background: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);}.cancelButton:focus"+o+" {outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;}"}];const a=e.parseFragment`<div class="confirmation-dialog${0}"${2}><div class="confirmation-dialog-content${0}"${2}><h3 class="confirmation-dialog-title${0}" tabindex="-1"${2}>${"t3"}</h3><span class="confirmation-dialog-body${0}"${2}>${"t5"}</span></div><div class="confirmation-dialog-footer${0}"${2}><button class="confirmButton confirmation-dialog-button slds-m-vertical_xx-small${0}"${"a7:title"}${"a7:label"}${2}>${"t8"}</button><button class="cancelButton confirmation-dialog-button slds-m-vertical_xx-small${0}"${"a9:title"}${"a9:label"}${2}>${"t10"}</button></div></div>`;function l(t,e,n,o){const{d:i,b:l,sp:r,st:c}=t,{_m0:s,_m1:u}=o;return[c(a,1,[r(3,null,i(e.dialogTitleText)),r(5,null,i(e.dialogBodyText)),r(7,{on:s||(o._m0={click:l(e.onConfirmButtonClick)}),attrs:{title:e.confirmButtonLabel,label:e.confirmButtonLabel}},null),r(8,null,i(e.confirmButtonLabel)),r(9,{on:u||(o._m1={click:l(e.onCancelButtonClick),keydown:l(e.onCancelButtonKeyChange)}),attrs:{title:e.cancelButtonLabel,label:e.cancelButtonLabel}},null),r(10,null,i(e.cancelButtonLabel))])]}
419var r=e.registerTemplate(l);l.stylesheets=[],l.stylesheetToken="lwc-ba1utdh9ro",l.legacyStylesheetToken="embeddedMessaging-confirmationDialog_confirmationDialog",i&&l.stylesheets.push.apply(l.stylesheets,i),e.freezeTemplate(l);const c="EmbeddedMessaging-ConfirmationDialog";class s extends e.LightningElement{constructor(...t){super(...t),this.dialogTitleText=void 0,this.dialogBodyText=void 0,this.confirmButtonLabel=void 0,this.cancelButtonLabel=void 0,this._initialRender=!0}onConfirmButtonClick(t){this.dispatchEvent(new CustomEvent(n.events.EMBEDDED_MESSAGING_DIALOG_CONFIRM_BUTTON_CLICK)),n.LoggingUtil.logInteraction(t,this,c,{method:"onConfirmButtonClick",feature:"confirmButton confirmation-dialog-button"})}onCancelButtonClick(t){this.dispatchEvent(new CustomEvent(n.events.EMBEDDED_MESSAGING_DIALOG_CANCEL_BUTTON_CLICK)),n.LoggingUtil.logInteraction(t,this,c,{method:"onCancelButtonClick",feature:"cancelButton confirmation-dialog-button"})}onCancelButtonKeyChange(t){t.key!==n.KEY_CODES.TAB||t.shiftKey||(t.preventDefault(),o.dispatchMessagingEvent(o.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}renderedCallback(){this._initialRender&&(this._initialRender=!1,this.setFocusOnDialogTitle())}setFocusOnElement(t){n.util.waitForFrame(()=>{t&&t.focus()})}setFocusOnDialogTitle(){const t=this.querySelectDialogTitle();t&&this.setFocusOnElement(t)}setFocusOnCancelButton(){const t=this.querySelectCancelButton();t&&this.setFocusOnElement(t)}querySelectDialogTitle(){return this.template&&this.template.querySelector(".confirmation-dialog-title")?this.template.querySelector(".confirmation-dialog-title"):void 0}querySelectCancelButton(){return this.template&&this.template.querySelector("button.cancelButton")?this.template.querySelector("button.cancelButton"):void 0}}e.registerDecorators(s,{publicProps:{dialogTitleText:{config:0},dialogBodyText:{config:0},confirmButtonLabel:{config:0},cancelButtonLabel:{config:0}},publicMethods:["setFocusOnCancelButton"],fields:["_initialRender"]});const u=e.registerComponent(s,{tmpl:r,sel:"embeddedMessaging-confirmation-dialog",apiVersion:66,enableSyntheticElementInternals:!0});t.default=u,Object.defineProperty(t,"__esModule",{value:!0})});
420})();LWR.define('embeddedmessaging/confirmationDialog', ['embeddedMessaging/confirmationDialog'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/secureForm",["exports","lwc","embeddedmessaging/secureFormField","embeddedmessaging/formFooter","embeddedmessaging/confirmationDialog","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/globalEventStore","embeddedMessaging/common","lightningsnapin/eventStore"],function(e,t,n,i,s,o,r,l,u,a){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=d(n),T=d(i),c=d(s);var p=[function(e,t,n){var i=e?"["+e+"]":"";return".form-content"+i+" {padding-top: calc(var(--announcement-height, 0px) + 1rem);}embeddedmessaging-form-footer"+i+" {border: 5px;height: 80px;display: flex;flex-direction: row;justify-content: space-evenly;align-items: center;background-color: #F3F3F3;}.secureForm.confirmationDialog"+i+" {display: none;}"}];const m={classMap:{"form-content":!0,"slds-p-around_medium":!0},key:0};function h(e,t,n,i){const{ncls:s,c:o,h:r,b:l}=e,{_m0:u}=i;return[r("div",m,[o("embeddedmessaging-secure-form-field",E.default,{className:s(t.generateSecureFormClass),props:{fieldType:t.currentFieldInputType,fieldInfo:t.currentFormField,fieldValue:t.currentInputValue.inputValue,disablePreviousButton:t.shouldDisablePreviousButton,disableNextButton:t.shouldDisableNextButton},key:1})]),o("embeddedmessaging-form-footer",T.default,{className:s(t.generateSecureFormClass),props:{fieldInfo:t.currentFormField,progress:t.progress,currentStep:t.currentStep,totalSteps:t.totalSteps,disablePreviousButton:t.shouldDisablePreviousButton,disableNextButton:t.shouldDisableNextButton},key:2}),t.shouldShowConfirmationDialog?o("embeddedmessaging-confirmation-dialog",c.default,{props:{dialogTitleText:t.labels.DialogTitleText,dialogBodyText:t.labels.DialogBodyText,confirmButtonLabel:t.labels.
420ConfirmButtonLabel,cancelButtonLabel:t.labels.CancelButtonLabel},key:3,on:u||(i._m0={confirmbuttonclick:l(t.onCloseConfirmationDialogConfirm),cancelbuttonclick:l(t.onCloseConfirmationDialogCancel)})}):null]}var F=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-1101b9cvjdn",h.legacyStylesheetToken="embeddedMessaging-secureForm_secureForm",p&&h.stylesheets.push.apply(h.stylesheets,p),t.freezeTemplate(h);const _=t.registerComponent(class{constructor(e,t,n,i,s){switch(this._inputValueType=void 0,this._inputId=void 0,this._inputLabel=void 0,this._inputValue=void 0,this._valueType=void 0,this._inputId=t,this._inputLabel=n,this._inputValue=s,this._valueType=i,e){case r.FormInputType.SELECT_NAVIGATION_INPUT:case r.FormInputType.SELECT_INPUT:case r.FormInputType.OPTION_PICKER_INPUT:this._inputValueType=r.InputValueType.SELECTED_OPTIONS_INPUT_VALUE;break;case r.FormInputType.DATE_PICKER_INPUT:case r.FormInputType.TEXT_INPUT:default:this._inputValueType=r.InputValueType.SINGLE_INPUT_VALUE}}get inputValueType(){return this._inputValueType}get inputId(){return this._inputId}get inputLabel(){return this._inputLabel}get inputValue(){return this._inputValue}set inputValue(e){this._inputValue=e}get valueType(){return this._valueType}get isNonEmpty(){return this.inputValueType===r.InputValueType.SINGLE_INPUT_VALUE?"string"==typeof this.inputValue&&""!==this.inputValue:this.inputValueType===r.InputValueType.SELECTED_OPTIONS_INPUT_VALUE&&(Array.isArray(this.inputValue)&&this.inputValue.length>0)}toJsonObject(){const e={inputValueType:this.inputValueType,inputId:this.inputId};return e.inputlabel={itemType:r.TitleItemTypes.TITLE_ITEM,title:this.inputLabel},this.inputValueType===r.InputValueType.SINGLE_INPUT_VALUE?(e.value={valueType:this.valueType},e.value[this.valueType.charAt(0).toLowerCase()+this.valueType.slice(1)]=this.inputValue):this.inputValueType===r.InputValueType.SELECTED_OPTIONS_INPUT_VALUE&&(e.selectedOptions=this.inputValue),e}},{tmpl:void 0,sel:"embeddedMessaging-secure-form",apiVersion:66,enableSyntheticElementInternals:!0});class I extends t.LightningElement{constructor(...e){super(...e),this.labels={},this.formTitle=void 0,this.formInputData=void 0,this._currentFieldIndex=0,this._currentFormField={},this.formValues=[],this.shouldDisablePreviousButton=!1,this.shouldDisableNextButton=!1,this.shouldShowConfirmationDialog=!1}get currentFieldIndex(){return this._currentFieldIndex}set currentFieldIndex(e){this._currentFieldIndex=e,l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED,this.onPreviousButtonClick.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED,this.onNextButtonClick.bind(this))}get currentFormField(){return this.formInputData[this.currentFieldIndex]}get currentInputValue(){return this.formValues[this.currentFieldIndex]?this.formValues[this.currentFieldIndex]:""}set currentInputValue(e){this.formValues[this.currentFieldIndex]=e}get currentFieldInputType(){return this.currentFormField.input.inputType}get generateSecureFormClass(){let e="secureForm";return this.shouldShowConfirmationDialog&&(e+=" confirmationDialog"),e}currentFieldValueType(){const e=this.querySelectFormFieldElement();switch(this.currentFieldInputType){case r.FormInputType.DATE_PICKER_INPUT:return r.FormValueType.DATE_VALUE;case r.FormInputType.DATE_TIME_PICKER_INPUT:return r.FormValueType.DATETIME_VALUE;case r.FormInputType.TEXT_INPUT:switch(e.textInputType){case r.InputElementType.URL:return r.FormValueType.URL_VALUE;case r.InputElementType.NUMBER:return r.FormValueType.DOUBLE_VALUE;case r.InputElementType.PHONE:case r.InputElementType.EMAIL:default:return r.FormValueType.TEXT_VALUE}case r.FormInputType.SELECT_NAVIGATION_INPUT:case r.FormInputType.SELECT_INPUT:case r.FormInputType.OPTION_PICKER_INPUT:default:return null}}get progress(){return(this.currentFieldIndex+1)/this.formInputData.length*100}get currentStep(){return this.currentFieldIndex+1}get totalSteps(){return this.formInputData.length}connectedCallback(){this.handleLabels(),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED,this.onPreviousButtonClick.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_
420NEXT_BUTTON_CLICKED,this.onNextButtonClick.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_DISABLE_PREV_BUTTON,this.disablePreviousButton.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_ENABLE_PREV_BUTTON,this.enablePreviousButton.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON,this.disableNextButton.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON,this.enableNextButton.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.SHOW_CLOSE_CONFIRMATION_DIALOG,this.onHeaderBackButtonClick.bind(this)),l.assignFormEventHandler(l.FORM_EVENTS.FOCUS_ON_LAST_FOCUSABLE_ELEMENT,this.setFocusOnLastFocusableElement.bind(this))}renderedCallback(){a.dispatchMessagingEvent(a.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!0}),a.dispatchMessagingEvent(a.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:this.formTitle}),0===this.currentFieldIndex?this.disablePreviousButton():this.enablePreviousButton()}disconnectedCallback(){l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_DISABLE_PREV_BUTTON),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_ENABLE_PREV_BUTTON),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_DISABLE_NEXT_BUTTON),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_ENABLE_NEXT_BUTTON),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_PREV_BUTTON_CLICKED),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOOTER_NEXT_BUTTON_CLICKED),l.clearHandlersForFormEvent(l.FORM_EVENTS.FOCUS_ON_LAST_FOCUSABLE_ELEMENT),l.clearHandlersForFormEvent(l.FORM_EVENTS.SHOW_CLOSE_CONFIRMATION_DIALOG)}setFocusOnLastFocusableElement(){const e=this.querySelectFormFieldElement(),t=this.querySelectFormFooterElement(),n=this.querySelectConfirmationDialogElement();this.shouldShowConfirmationDialog?n&&n.setFocusOnCancelButton():t&&!this.shouldDisableNextButton?t.setFocusOnNextButton():t&&!this.shouldDisablePreviousButton?t.setFocusOnPreviousButton():e&&e.setFocusOnField()}onPreviousButtonClick(){this.setCurrentInputValue(),this.shouldDisablePreviousButton||(this.currentFieldIndex=this.formInputData.findIndex(e=>e.nextSectionInputId===this.formInputData[this.currentFieldIndex].input.id),l.dispatchFormEvent(l.FORM_EVENTS.FIELD_CHANGE,{}))}onNextButtonClick(e){const t=this.querySelectFormFieldElement();if(t&&(t.isTextInput||t.isDatePickerInput||t.isDateTimePickerInput)){const e=t?t.querySelectInputField():null;if(!e)return;if(!e.checkValidity())return e.reportValidity(),void(this.shouldDisableNextButton=!0);this.shouldDisableNextButton=!1}if(this.setCurrentInputValue(),!this.shouldDisableNextButton)if(e&&Boolean(e.submitForm)){const e=this.formValues.filter(e=>e.isNonEmpty).map(e=>e.toJsonObject());l.dispatchFormEvent(l.FORM_EVENTS.SECURE_FORM_SUBMIT,{inputValues:e}),u.LoggingUtil.logCurrentState("EmbeddedMessaging-SecureForm",{method:"onNextButtonClick",stateMessage:"Secure form submitted."}),a.dispatchMessagingEvent(a.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!1}),a.dispatchMessagingEvent(a.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:o.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText")})}else e&&e.nextSectionInputId&&(this.currentFieldIndex=this.formInputData.findIndex(t=>t.input.id===e.nextSectionInputId),l.dispatchFormEvent(l.FORM_EVENTS.FIELD_CHANGE,{}))}onHeaderBackButtonClick(){this.shouldShowConfirmationDialog=!this.shouldShowConfirmationDialog}onCloseConfirmationDialogCancel(){this.shouldShowConfirmationDialog=!1}onCloseConfirmationDialogConfirm(){l.dispatchEvent(u.events.EMBEDDED_MESSAGING_CLOSE_CONFIRMATION,{}),this.shouldShowConfirmationDialog=!1}setCurrentInputValue(){const e=this.querySelectFormFieldElement();let t,n=null,i=null;if(this.currentFormField&&e){switch(e.fieldType){case r.FormInputType.DATE_PICKER_INPUT:case r.FormInputType.DATE_TIME_PICKER_INPUT:case r.FormInputType.TEXT_INPUT:t=e.querySelectInputField(),n=t?t.value:null,i=this.currentFieldValueType(),t.value="";break;case r.FormInputType.SELECT_INPUT:case r.FormInputType.SELECT_NAVIGATION_INPUT:case r.FormInputType.OPTION_PICKER_INPUT:n=e.value,i=this.currentFieldValueType()}this.currentInputValue=new _(e.fieldType,this.currentFormField.input.id,e.inputFieldTitle,i,n)}}disablePreviousButton(){this.shouldDisablePreviousButton=!0}enablePreviousButton(){this.shouldDisablePreviousButton=!1}disableNextButton(){this.shouldDisableNextButton=!0}enableNextButton(){this.shouldDisableNextButton=!1}querySelectFormFieldElement(){return this.template.querySelector("embeddedmessaging-secure-form-field")}querySelectFormFooterElement(){return this.template.querySelector("embeddedmessaging-form-footer")}querySelectConfirmationDialogElement(){return this.template.querySelector("embeddedmessaging-confirmation-dialog")}handleLabels(){this.labels.DialogTitleText=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationDialogTitleText"),this.labels.DialogBodyText=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationDialogBodyText"),this.labels.ConfirmButtonLabel=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationConfirmButtonLabel"),this.labels.CancelButtonLabel=o.getLabel("EmbeddedMessagingSecureForm","CloseConfirmationCancelButtonLabel")}}t.registerDecorators(I,{publicProps:{formTitle:{config:0},formInputData:{config:0},formValues:{config:0}},track:{labels:1}
420,fields:["_currentFieldIndex","_currentFormField","shouldDisablePreviousButton","shouldDisableNextButton","shouldShowConfirmationDialog"]});const g=t.registerComponent(I,{tmpl:F,sel:"embeddedMessaging-secure-form",apiVersion:66,enableSyntheticElementInternals:!0});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
421})();LWR.define('embeddedmessaging/secureForm', ['embeddedMessaging/secureForm'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/icons",["exports"],function(c){c.defaultIcons={MINIMIZED_CHAT_ICON:"M50 0c27.614 0 50 20.52 50 45.833S77.614 91.667 50 91.667c-8.458 0-16.425-1.925-23.409-5.323-13.33 6.973-21.083 9.839-23.258 8.595-2.064-1.18.114-8.436 6.534-21.767C3.667 65.54 0 56.08 0 45.833 0 20.52 22.386 0 50 0zm4.583 61.667H22.917a2.917 2.917 0 000 5.833h31.666a2.917 2.917 0 000-5.833zm12.5-15.834H22.917a2.917 2.917 0 000 5.834h44.166a2.917 2.917 0 000-5.834zM79.583 30H22.917a2.917 2.917 0 000 5.833h56.666a2.917 2.917 0 000-5.833z",MINIMIZED_NEW_MESSAGES_ICON:"M48.41793 0C21.546624 0 .13028532 19.8.13028532 44.24706c0 7.67745 2.22244968 14.95098 5.85918168 21.41634.606111 1.01013.80817 2.22222.404085 3.43464L.13028532 86.27157c-.60612222 1.61634 1.01020458 3.03039 2.62653138 2.62647L20.13231 82.23072c1.010229-.40425 2.222451-.20229 3.434706.40392C30.84048 86.67549 39.52839 89.1 48.82218 89.1 75.2895 88.89804 96.9078 69.3 96.9078 44.65098 96.70584 19.8 75.08754 0 48.41793 0Z",PAPER_CLIP_ICON:"M33.846 70.577c1.154 1.154 2.885.961 4.039 0l19.23-19.23c1.347-1.347 3.654-1.54 5.385 0 1.73 1.538 1.538 4.23 0 5.768l-23.654 23.27c-5.192 5.192-13.846 5.192-19.038 0l-.193-.193c-5.192-5.192-5.192-13.846 0-19.038l41.731-41.73c5.192-5.193 13.846-5.193 19.039 0l.192.191c5.192 5.193 5.192 13.847 0 19.039l-.192.192c-.962.962-1.154 2.308-.385 3.462 1.154 2.115 2.115 4.423 2.692 6.73.385 1.539 2.116 1.924 3.27.962 1.538-1.538 2.884-3.077 2.884-3.077 9.808-9.808 9.808-25.77 0-35.577h-.384c-9.808-9.808-25.77-9.808-35.577 0L11.154 52.885c-9.808 9.807-9.808 25.769 0 35.577l.384.384a24.955 24.955 0 0035.385 0L70.77 65.192c6.154-6.154 5.962-16.154-.384-22.307-6.154-5.962-16.154-5.577-22.116.577L29.423 62.308c-1.154 1.154-1.154 3.077 0 4.23l4.423 4.039z",CANCEL_ATTACHMENT_ICON:"M59.615 48.846l25-25.192c1.154-1.154 1.154-2.885 0-4.039l-3.846-4.038c-1.154-1.154-2.884-1.154-4.038 0L51.538 40.769c-.769.77-1.923.77-2.692 0L23.654 15.385c-1.154-1.154-2.885-1.154-4.039 0l-4.038 4.038c-1.154 1.154-1.154 2.885 0 4.039l25.192 25.192c.77.77.77 1.923 0 2.692L15.385 76.731c-1.154 1.154-1.154 2.884 0 4.038l4.038 4.039c1.154 1.154 2.885 1.154 4.039 0l25.192-25.193c.77-.769 1.923-.769 2.692 0l25.192 25.193c1.154 1.154 2.885 1.154 4.039 0l4.038-4.039c1.154-1.154 1.154-2.884 0-4.038l-25-25.193c-.769-.769-.769-1.923 0-2.692z",ATTACHMENT_ICON:{FILE_ICON:"M14.167 0C10 0 6.25 3.333 6.25 7.917v84.166C6.25 96.25 10 100 14.167 100h71.666c4.167 0 7.917-3.75 7.917-7.917V31.667L64.167 0h-50z",FILE_ICON_FOLD:"M64.167 0v22.917c0 2.5 1.666 8.75 9.583 8.75h20L64.167 0z",FILE_ICON_PAPER_CLIP:"M47.917 65c1.666-2.083 1.666-5 0-6.667s-4.584-1.666-6.667 0L27.083 72.5c-1.666 2.083-1.666 5 0 6.667s4.584 1.666 6.25 0l8.75-8.75c.834-.417.834-1.25 0-2.084s-1.25-.416-1.666 0L35 74.167c-.833.833-2.083.833-2.917 0-.833-.834-.833-2.084 0-2.917l5.417-5.417c2.083-2.083 5.417-2.083 7.5 0s2.083 5.417 0 7.084l-8.75 9.166C32.917 85 27.5 85 24.167 82.083c-3.334-3.333-3.334-8.75 0-12.083L38.75 55.417c3.333-3.334 8.333-3.334 11.667 0 3.333 3.333 3.333 8.75 0 12.083l-1.25 1.667c0-1.667-.417-2.917-1.667-4.167l.417-.417z"},ATTACHMENT_ERROR_ICON:"M98.846 81.73L54.808 10.578c-2.308-3.846-7.308-3.846-9.616 0L1.154 81.73c-2.692 4.423 0 10.577 4.808 10.577h88.076c4.808 0 7.693-6.154 4.808-10.577zM50 76.924c-3.27 0-5.77-2.5-5.77-5.77s2.5-5.768 5.77-5.768 5.77 2.5 5.77 5.769-2.5 5.77-5.77 5.77zm5.77-17.308c0 1.154-.77 1.923-1.924 1.923h-7.692c-1.154 0-1.923-.769-1.923-1.923v-25c0-1.153.769-1.923 1.923-1.923h7.692c1.154 0 1.923.77 1.923 1.923v25z",TYPING_ANIMATION_INNER_ARC_ICON:"M35.526 48.684A35.526 35.526 0 0 0 0 13.158V0a48.684 48.684 0 0 1 0 97.368V84.211a35.526 35.526 0 0 0 35.526-35.527Z",TYPING_ANIMATION_OUTER_ARC_ICON:"M50 8.333C26.987 8.333 8.333 26.987 8.333 50S26.987 91.667 50 91.667V100C22.387 100 0 77.613 0 50S22.387 0 50 0s50 22.387 50 50h-8.333C91.667 26.987 73.013 8.333 50 8.333Z"},Object.defineProperty(c,"__esModule",{value:!0})});
422})();LWR.define('embeddedmessaging/icons', ['embeddedMessaging/icons'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/progressIndicator",["exports","lwc","embeddedMessaging/icons"],function(e,t,i){var n=[function(e,t,i){var n=e?"["+e+"]":"",r=e?"-"+e:"";return".outerArc"+n+" {position: absolute;top: 0;left: 0;animation-name: clockwise"+r+";animation-duration: 2.5s;transform-box: fill-box;animation-iteration-count: infinite;transform-origin: center;display: inline-block;animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 0.7);height: 25px;width: 25px;fill: var(--primaryText, #181818);}.innerArc"+n+" {position: absolute;top: 5.8px;left: 12.2px;animation-name: anti-clockwise"+r+";animation-duration: 2.5s;transform-box: fill-box;animation-iteration-count: infinite;transform-origin: 0.5px 6.7px;display: inline-block;animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 0.7);height: 14px;width: 14px;fill: var(--primaryText, #181818);}@keyframes clockwise"+r+" {0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}@keyframes anti-clockwise"+r+" {0% {transform: rotate(360deg);}100% {transform: rotate(0deg);}}"}];const r=t.parseFragment`<svg class="outerArc${0}" viewBox="0 0 100 100"${2}>
422<path${"a1:fill"}${"a1:d"}${3}/></svg>`,o=t.parseFragment`<svg class="innerArc${0}" viewBox="0 0 100 100"${2}><path${"a1:fill"}${"a1:d"}${3}/></svg>`;function s(e,t,i,n){const{sp:s,st:a}=e;return[a(r,1,[s(1,{attrs:{fill:t.fillColor,d:t.outerArcIcon}},null)]),a(o,3,[s(1,{attrs:{fill:t.fillColor,d:t.innerArcIcon}},null)])]}var a=t.registerTemplate(s);s.stylesheets=[],s.stylesheetToken="lwc-b8d7ildl25",s.legacyStylesheetToken="embeddedMessaging-progressIndicator_progressIndicator",n&&s.stylesheets.push.apply(s.stylesheets,n),t.freezeTemplate(s);class l extends t.LightningElement{constructor(...e){super(...e),this.fillColor=void 0,this.innerArcIcon=i.defaultIcons.TYPING_ANIMATION_INNER_ARC_ICON,this.outerArcIcon=i.defaultIcons.TYPING_ANIMATION_OUTER_ARC_ICON}}t.registerDecorators(l,{publicProps:{fillColor:{config:0}},fields:["innerArcIcon","outerArcIcon"]});const c=t.registerComponent(l,{tmpl:a,sel:"embeddedMessaging-progress-indicator",apiVersion:66,enableSyntheticElementInternals:!0});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
423})();LWR.define('embeddedmessaging/progressIndicator', ['embeddedMessaging/progressIndicator'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/spinner",["exports","lwc","embeddedMessaging/common","embeddedMessaging/brandingUtils","embeddedMessaging/labelUtils"],function(s,e,i,t,n){var a=[function(s,e,i){var t=s?"["+s+"-host]":"",n=s?"-"+s:"";return(e?":host {":t+" {")+"height: 1rem;width: 100%;flex: 0 1 auto;margin: 10px 0;}"+(e?":host.showAnimation {":t+".showAnimation {")+"opacity: 1;display: block;visibility: visible;animation: appear"+n+" 0.5s linear;}"+(e?":host.hideAnimation {":t+".hideAnimation {")+"opacity: 0;display: none;animation: disappear"+n+" 0.5s linear;}.slds-align_absolute-center"+(s?"["+s+"]":"")+" {transform: translate(0, 50%);}@keyframes appear"+n+" {0% {opacity: 0;}100% {opacity: 1;}}@keyframes disappear"+n+" {0% {opacity: 1;}100% {opacity: 0;}}"}];const l=e.parseFragment`<div${"c0"}${2}><div role="status"${"c1"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span><div class="slds-spinner__dot-a${0}"${2}></div><div class="slds-spinner__dot-b${0}"${2}></div></div></div>`;function o(s,e,i,t){const{ncls:n,d:a,sp:o,st:r}=s;return[r(l,1,[o(0,{className:n(e.spinnerContainerClass)},null),o(1,{className:n(e.spinnerClass)},null),o(3,null,a(e.assistiveLabel))])]}var r=e.registerTemplate(o);o.stylesheets=[],o.stylesheetToken="lwc-hia9nsqi18",o.legacyStylesheetToken="embeddedMessaging-spinner_spinner",a&&o.stylesheets.push.apply(o.stylesheets,a),e.freezeTemplate(o);class d extends e.LightningElement{constructor(...s){super(...s),this.assistiveText=void 0,this.size=void 0,this.isInline=!1,this.labels={},this.spinnerColorToken=void 0,this._shouldDisplay=!0}get assistiveLabel(){return i.isString(this.assistiveText)?this.assistiveText:this.labels.SpinnerDefaultAssistiveText||""}get spinnerContainerClass(){return""+(this.isInline?"slds-align_absolute-center":"")}get spinnerClass(){return`slds-spinner slds-spinner_${i.isString(this.size)?this.size:"small"} ${this.isInline?"slds-spinner_inline":""}`}get shouldDisplay(){return this._shouldDisplay}set shouldDisplay(s){i.validateBoolean(s),this._shouldDisplay=s,s?(this.template.host.classList.add("showAnimation"),this.template.host.classList.remove("hideAnimation")):(this.template.host.classList.remove("showAnimation"),this.template.host.classList.add("hideAnimation"))}connectedCallback(){this.applyStyling(),this.handleLabels()}applyStyling(){try{if(i.isString(this.spinnerColorToken)){const s=document.createElement("style"),e=t.getBrandingValue(this.spinnerColorToken);this.template.host.appendChild(s),s.sheet.insertRule(`.slds-spinner:before, .slds-spinner:after, .slds-spinner__dot-a:before, .slds-spinner__dot-b:before, .slds-spinner__dot-a:after, .slds-spinner__dot-b:after { background-color: var(${this.spinnerColorToken}, ${e}); }`)}}catch(s){i.warning(s)}}handleLabels(){this.labels.SpinnerDefaultAssistiveText=n.getLabel("EmbeddedMessagingConversationState","SpinnerDefaultAssistiveText")}}e.registerDecorators(d,{publicProps:{assistiveText:{config:0},size:{config:0},isInline:{config:0},spinnerColorToken:{config:0},shouldDisplay:{config:3}},track:{labels:1},fields:["_shouldDisplay"]});const p=e.registerComponent(d,{tmpl:r,sel:"embeddedMessaging-spinner",apiVersion:66,enableSyntheticElementInternals:!0});s.default=p,Object.defineProperty(s,"__esModule",{value:!0})});
424})();LWR.define('embeddedmessaging/spinner', ['embeddedMessaging/spinner'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/avatar",["exports","lwc","lightning/icon","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/iconUtils"],function(t,a,e,s,i,l,r){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=n(e),o=n(s);var u=[function(){return""}];const g=a.parseFragment`<img${"a0:src"}${"a0:alt"}${"a0:title"}${3}>`,h=a.parseFragment`<abbr${"c0"}${"a0:title"}${"s0"}${2}>${"t1"}</abbr>`,m={part:"avatar"},d={exportparts:"icon"};function v(t,a,e,s){const{ncls:i,b:l,sp:r,st:n,d:o,c:u,h:v}=t,{_m0:f,_m1:_}=s;return[v("span",{className:i(a.computedClass),attrs:m,key:0},[a._src?n(g,2,[r(0,{on:_||(s._m1={error:l(a.handleImageError)}),attrs:{src:a._src,alt:a.alternativeText,title:a.alternativeText}},null)]):null,a.showInitials?n(h,4,[r(0,{className:i(a.computedInitialsClass),style:a.computedInitialsStyle,attrs:{title:a.alternativeText}},null),r(1,null,o(a.initials))]):null,a.showIcon?u("lightning-icon",c.default,{attrs:d,props:{iconName:a.fallbackIconName,alternativeText:a.alternativeText,title:a.alternativeText},key:5}):null])]}var f=a.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-35am9di7q5a",v.legacyStylesheetToken="lightning-avatar_avatar",u&&v.stylesheets.push.apply(v.stylesheets,u),a.freezeTemplate(v);const _="medium",b="square";class p extends o.default{constructor(...t){super(...t),this.alternativeText="",this.initials=void 0,this._size=_,this._src="",this._fallbackIconName="",this._variant=b}set fallbackIconName(t){this._fallbackIconName=t,l.reflectAttribute(this,"icon-name",this._fallbackIconName)}get fallbackIconName(){return this._fallbackIconName}get size(){return this._size}set size(t){this._size=l.normalizeString(t,{fallbackValue:_,validValues:["x-small","small","medium","large"]}),l.reflectAttribute(this,"size",this._size)}get src(){return this._src}set src(t){this._src="string"==typeof t&&t.trim()||""}get variant(){return this._variant}set variant(t){this._variant=l.normalizeString(t,{fallbackValue:b,validValues:["circle","square"]}),l.reflectAttribute(this,"variant",this._variant)}get computedClass(){const t=this._variant,a=this._size;return i.classSet("slds-avatar").add({"slds-avatar_x-small":"x-small"===a,"slds-avatar_small":"small"===a,"slds-avatar_medium":"medium"===a,"slds-avatar_large":"large"===a}).add({"slds-avatar_circle":"circle"===t})}get computedInitialsClass(){return i.classSet("slds-avatar__initials").add(r.computeSldsClass(this.fallbackIconName)).toString()}get computedInitialsStyle(){if(this.fallbackIconName){const t=r.getIconColor(this.fallbackIconName);if(t)return`background-color: var(--slds-c-icon-color-background, ${t})`}return"background-color: var(\n            --slds-c-avatar-color-background,\
424n            var(--slds-g-color-accent-container-2, #0176d3)\n        )"}get showInitials(){return!this._src&&this.initials}get showIcon(){return!this._src&&!this.initials}handleImageError(t){console.warn(`<lightning-avatar> Image with src="${t.target.src}" failed to load.`),this._src=""}}a.registerDecorators(p,{publicProps:{alternativeText:{config:0},fallbackIconName:{config:3},initials:{config:0},size:{config:3},src:{config:3},variant:{config:3}},track:{_size:1,_src:1,_fallbackIconName:1,_variant:1}});const I=a.registerComponent(p,{tmpl:f,sel:"lightning-avatar",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=I,Object.defineProperty(t,"__esModule",{value:!0})});
425})();(function() { LWR.define("lightning/formattedDateTime",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/internationalizationLibrary","lightning/utilsPrivate"],function(e,t,i,o,n){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(i);function s(e,t,i,o){const{d:n,t:a}=e;return[a(n(t.formattedValue))]}var l=t.registerTemplate(s);s.stylesheets=[],s.stylesheetToken="lwc-klp6k35fm",s.legacyStylesheetToken="lightning-formattedDateTime_formattedDateTime",t.freezeTemplate(s);class h extends r.default{constructor(...e){super(...e),this.value=void 0,this.weekday=void 0,this.era=void 0,this.year=void 0,this.month=void 0,this.day=void 0,this.hour=void 0,this.minute=void 0,this.second=void 0,this.timeZoneName=void 0,this.timeZone=void 0,this._dateStyle="medium",this._hour12=!1,this._hour12Set=!1}get hour12(){return this._hour12}set hour12(e){void 0===e?(this._hour12Set=!1,this._hour12=e):(this._hour12Set=!0,this._hour12=n.normalizeBoolean(e))}get dateStyle(){return this._dateStyle}set dateStyle(e){const t=n.normalizeString(e,{fallbackValue:"medium",validValues:["short","medium","long"]});this._dateStyle=t}get formattedValue(){return n.toFormattedDate(this,o.dateTimeFormat)}getOptions(){return n.toDateTimeFormatOptions(this)}}t.registerDecorators(h,{publicProps:{value:{config:0},weekday:{config:0},era:{config:0},year:{config:0},month:{config:0},day:{config:0},hour:{config:0},minute:{config:0},second:{config:0},timeZoneName:{config:0},timeZone:{config:0},hour12:{config:3},dateStyle:{config:3}},track:{_hour12:1,_hour12Set:1},fields:["_dateStyle"]});const d=t.registerComponent(h,{tmpl:l,sel:"lightning-formatted-date-time",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
426})();(function() { LWR.define("lightning/accordionUtilsPrivate",["exports","lwr/environment","lightning/utilsPrivate","lightning/utilsInternal"],function(e,t,i,n){function o(e){if(t.isServer)throw new Error("getSortedSections can only be called in client-side rendering context");const i=Object.values(e);return i.sort((e,t)=>{const i=e.ref.compareDocumentPosition(t.ref);return i&Node.DOCUMENT_POSITION_FOLLOWING||i&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS?1:0}),i}function r(e,t,i){let n=e.indexOf(t);return-1===n?null:(n+=i?-1:1,n<0&&(n=e.length-1),e[n%e.length])}class c{constructor(){this.privateSectionBag={},this.privateSortedSections=[]}add(e){if(t.isServer)throw new Error("add can only be called in client-side rendering context");this.privateSectionBag[e.id]=e,this.privateSortedSections=o(this.privateSectionBag)}get sections(){return this.privateSortedSections}remove(e){if(t.isServer)throw new Error("remove can only be called in client-side rendering context");delete this.privateSectionBag[e],this.privateSortedSections=o(this.privateSectionBag)}getSectionById(e){return this.privateSectionBag[e]}get openSections(){return this.privateSortedSections.filter(e=>e.isOpen())}getSectionByName(e){return function(e,t){let i=0;const n=e.length;for(;i<n&&e[i].name!==t;)i++;return i<n?e[i]:null}(this.privateSortedSections,e)}getNextSectionTo(e){return r(this.privateSortedSections,this.privateSectionBag[e],!1)}getPrevSectionTo(e){return r(this.privateSortedSections,this.privateSectionBag[e],!0)}}function s(e,t){let i=!1;
426if(t){e.sections.forEach(e=>{e!==t&&(i=i||e.isOpen(),e.close())}),i=i||!t.isOpen(),t.open()}return i}class a{constructor(e){this.privateSectionList=e}openFirstSection(){const e=this.privateSectionList.sections;return!!e.length&&s(this.privateSectionList,e[0])}openSectionByName(e){const t=Array.isArray(e)&&e.length>0?e[0]:e,i=this.privateSectionList.getSectionByName(t);return s(this.privateSectionList,i)}handleSectionSelect(e){const t=this.privateSectionList.getSectionById(e);return s(this.privateSectionList,t)}handleSectionWillDeregister(e){const t=this.privateSectionList.getSectionById(e);if(t.isOpen()){const i=this.privateSectionList.getNextSectionTo(e);return i&&i!==t&&i.open(),!0}return!1}}class S{constructor(e){this.privateSectionList=void 0,this.privateSectionList=e}openFirstSection(){return!1}openSectionByName(e){const t=function(e,t){const i={};return t.forEach(t=>{const n=e.getSectionByName(t);n&&(i[n.id]=!0)}),i}(this.privateSectionList,function(e){let t;return Array.isArray(e)?t=e:(t=[],t.push(e)),t}(e)),i=this.privateSectionList.sections;let n=!1;return i.forEach(e=>{t[e.id]?(n=n||!e.isOpen(),e.open()):(n=n||e.isOpen(),e.close())}),n}handleSectionSelect(e){const t=this.privateSectionList.getSectionById(e);return!!t&&(t.isOpen()?t.close():t.open(),!0)}handleSectionWillDeregister(){return!1}}const{setContext:l,getContext:h}=n.privateContext,p="accordion-section-deregister",d="accordion-section-select",v="accordion-section-keynav";class g{constructor(e,t,i){this.privateAccordionSectionList=void 0,this.privateOpenSectionObservers=[],this.privateEventEmitter=void 0,this.privateCollapsible=!1,this.privateAccordionStrategies=void 0,l(this),this.privateAccordionSectionList=e,this.privateAccordionStrategies={false:t,true:i},this._configureSectionsEventEmitter()}get sectionStrategy(){return this.privateAccordionStrategies[this.collapsible]}get collapsible(){return this.privateCollapsible}set collapsible(e){this.privateCollapsible=i.normalizeBoolean(e)}attachOpenSectionObserver(e){this.privateOpenSectionObservers.push(e)}get sections(){return this.privateAccordionSectionList.sections}openFirstSection(){this.sectionStrategy.openFirstSection()&&this._notifyOpenSectionChange()}get openSectionsNames(){const e=this.privateAccordionSectionList.openSections.reduce((e,t)=>(t.name&&(e[t.name]=!0),e),{});return Object.keys(e)}openSectionByName(e){const t=this.sectionStrategy.openSectionByName(e);return t&&this._notifyOpenSectionChange(),t}registerSection(e){if(t.isServer)throw new Error("registerSection can only be called in client-side rendering context");var i,n;this.privateAccordionSectionList.add(e),e.ackParentAccordion((i=e.id,n=h(this).privateEventEmitter,{notifySectionDeregister:()=>{n.emit(p,i)},notifySectionSelect:()=>{n.emit(d,i)},notifySectionKeyNav:e=>{n.emit(v,i,e)}}))}_handleSectionSelect(e){this.sectionStrategy.handleSectionSelect(e)&&this._notifyOpenSectionChange()}_deregisterSection(e){if(t.isServer)throw new Error("_deregisterSection can only be called in client-side rendering context");const i=this.sectionStrategy.handleSectionWillDeregister(e);this.privateAccordionSectionList.remove(e),i&&this._notifyOpenSectionChange()}_configureSectionsEventEmitter(){const e=new i.EventEmitter;h(this).privateEventEmitter=e,e.on(p,e=>{this._deregisterSection(e)}).on(v,(e,t)=>{this._handleSectionKeyNav(e,t)}).on(d,e=>{this._handleSectionSelect(e)})}_notifyOpenSectionChange(){this.privateOpenSectionObservers.forEach(e=>e())}_handleSectionKeyNav(e,n){if(t.isServer)throw new Error("_handleSectionKeyNav can only be called in client-side rendering context");const o=n===i.keyCodes.left||n===i.keyCodes.up,r=this.privateAccordionSectionList,c=o?r.getPrevSectionTo(e):r.getNextSectionTo(e);null!==c&&c.focus()}}e.createAccordionManager=function(){const e=new c,t=new a(e),i=new S(e);return new g(e,t,i)},Object.defineProperty(e,"__esModule",{value:!0})});
427})();(function() { LWR.define("interop/accordionSection",["exports","lwc","lightning/primitiveIcon","lwr/environment","lightning/shadowBaseClassPrivate","lightning/inputUtils","lightning/utilsPrivate","lightning/utilsInternal","lightning/utils","@salesforce/i18n/dir"],function(e,t,i,n,s,o,a,r,c,l){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=d(i),p=d(s),u=d(l);var g=[[function(e,t,i){var n=e?"["+e+"-host]":"";return(t?":host {":n+" {")+"display: list-item;}"+(t?":host([data-render-mode='shadow']) {":n+"[data-render-mode='shadow'] {")+"border: none !important;}"}],function(){return""}];const v=t.parseFragment`<span class="slds-accordion__summary-content${0}"${"a0:title"}${2}>${"t1"}</span>`,m={classMap:{"slds-accordion__list-item":!0},key:0},S={part:"accordion-section"},_={classMap:{"slds-accordion__summary":!0},key:2},y={"section-control":!0,"slds-button":!0,"slds-button_reset":!0,"slds-accordion__summary-action":!0},b={name:"actions"},f=[],k={"slds-accordion__content":!0}
427,C={key:10};function A(e,t,i,n){const{ncls:s,b:o,gid:a,c:r,d:c,sp:l,st:d,h:p,s:u}=e,{_m0:g,_m1:A,_m2:O}=n;return[p("div",m,[p("section",{className:s(t.computedSectionClasses),attrs:S,key:1},[p("div",_,[p("h2",{className:s(t.computedHeaderClass),attrs:{"aria-level":t._privateHeadingAriaLevel},ref:"header",key:3,on:g||(n._m0={keydown:o(t.handleKeyDown)})},[p("button",{classMap:y,attrs:{type:"button","aria-expanded":t.computedAriaExpanded,"aria-controls":a("lgt-accordion-section"),part:"button"},key:4,on:A||(n._m1={click:o(t.handleSelectSection)})},[r("lightning-primitive-icon",h.default,{props:{iconName:t.accordionTitleIcon,svgClass:"slds-button__icon slds-button__icon_left",size:"x-small"},key:5}),d(v,7,[l(0,{attrs:{title:t.label}},null),l(1,null,c(t.label))])])]),u("actions",{attrs:b,key:8,on:O||(n._m2={slotchange:o(t.handleSlotChange)})},f,i)]),p("div",{classMap:k,attrs:{id:a("lgt-accordion-section"),hidden:t.computedHidden?"":null,"aria-hidden":t.computedAriaHidden},key:9},[u("",C,f,i)])])])]}var O=t.registerTemplate(A);A.slots=["","actions"],A.hasRefs=!0,A.stylesheets=[],A.stylesheetToken="lwc-3tfn8c53l4v",A.legacyStylesheetToken="interop-accordionSection_accordionSection",g&&A.stylesheets.push.apply(A.stylesheets,g),t.freezeTemplate(A);const{setContext:I,assertContext:w}=r.privateContext;class E extends p.default{get headingLevel(){return this._privateHeadingAriaLevel}set headingLevel(e){a.isHeadingLevelValid(e)&&(this._privateHeadingAriaLevel=e)}constructor(){super(),this.name=void 0,this.label=void 0,this.title=void 0,this.privateIsOpen=!1,this._privateHeadingAriaLevel=void 0,this._slotAssignedElement=void 0,this.pendingFocus=!1,this.privateUniqueId=o.generateUniqueId("lgt-accordion-section"),I(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem"),this.classList.add("slds-accordion__list-item"),this.registerSectionWithParent()}disconnectedCallback(){this.privateAccordionSectionObserver&&this.privateAccordionSectionObserver.notifySectionDeregister()}renderedCallback(){this.privateIsOpen&&this.pendingFocus&&(this.pendingFocus=!1,this.focusSection())}get computedAriaExpanded(){return this.privateIsOpen.toString()}get computedAriaHidden(){return(!this.privateIsOpen).toString()}get computedSectionClasses(){return c.classSet("slds-accordion__section").add({"slds-is-open":this.privateIsOpen}).toString()}get computedHidden(){return this.privateIsOpen?"":(!this.privateIsOpen).toString()}get computedHeaderClass(){return a.classSetToString({"slds-accordion__summary-heading":!0,"slds-m-right_small":"ltr"===this.hostDirection&&this._slotAssignedElement&&"lightning-button-menu"!==this._slotAssignedElement,"slds-m-left_small":"rtl"===this.hostDirection&&this._slotAssignedElement})}handleKeyDown(e){switch(e.keyCode){case a.keyCodes.up:case a.keyCodes.right:case a.keyCodes.down:case a.keyCodes.left:e.preventDefault(),e.stopPropagation(),this.privateAccordionSectionObserver.notifySectionKeyNav(e.keyCode)}}handleSelectSection(){this.pendingFocus=!0,this.privateAccordionSectionObserver.notifySectionSelect()}handleSlotChange(e){const t=e.target.assignedElements()||[];t.length&&(this._slotAssignedElement=t[0].tagName.toLowerCase())}get hostDirection(){if(n.isServer)return u.default||"ltr";const e=this.template.host;return e.parentElement?window.getComputedStyle(e.parentElement).direction.toLowerCase()||"ltr":u.default||"ltr"}get accordionTitleIcon(){return this.privateIsOpen?"utility:switch":"ltr"===this.hostDirection?"utility:chevronright":"utility:chevronleft"}registerSectionWithParent(){w(this);const e={targetId:this.privateUniqueId,targetName:this.name,openSection:this.openSection.bind(this),isOpen:this.isOpen.bind(this),closeSection:this.closeSection.bind(this),focusSection:this.focusSection.bind(this),ackParentAccordion:this.ackParentAccordion.bind(this)};n.isServer||this.dispatchEvent(new CustomEvent("privateaccordionsectionregister",{bubbles:!0,composed:!0,cancelable:!0,detail:e}))}openSection(){this.privateIsOpen=!0}closeSection(){this.privateIsOpen=!1}focusSection(){const e=n.isServer?null:this.template.querySelector("button.section-control");e&&(e.blur(),e.focus())}isOpen(){return this.privateIsOpen}ackParentAccordion(e){this.privateAccordionSectionObserver=e}}E.validationOptOut=["class"],t.registerDecorators(E,{publicProps:{name:{config:0},label:{config:0},title:{config:0},headingLevel:{config:3}},track:{privateIsOpen:1},fields:["_privateHeadingAriaLevel","_slotAssignedElement","pendingFocus","privateUniqueId"]});const H=t.registerComponent(E,{tmpl:O,sel:"interop-accordion-section",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
427e.default=H,Object.defineProperty(e,"__esModule",{value:!0})});
428})();LWR.define('lightning/accordionSection', ['interop/accordionSection'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("interop/accordion",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/accordionUtilsPrivate","lightning/utilsPrivate","lightning/utilsInternal"],function(e,t,i,n,s,o,c){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(n);var l=[[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: block;list-style: none;}"+(e?"["+e+"]":"")+"::slotted(lightning-accordion-section:first-child) {--slds-c-accordionsection-sizing-border: 0;}"}],function(){return""}];const p={attrs:{part:"accordion"},key:0},d={key:1},h=[];function v(e,t,i,n){const{s:s,h:o}=e;return[o("div",p,[s("",d,h,i)])]}var g=t.registerTemplate(v);v.slots=[""],v.stylesheets=[],v.stylesheetToken="lwc-4fpb0t2acsh",v.legacyStylesheetToken="interop-accordion_accordion",l&&v.stylesheets.push.apply(v.stylesheets,l),t.freezeTemplate(v);const{setContext:S,assertContext:u}=c.privateContext;class f extends r.default{constructor(){super(),this.privateIsSectionLessInLastRender=!0,this._allowMultipleSectionsOpen=!1,this.connected=!1,this._isNativeShadow=!1,S(this),this.privateAccordionManager=s.createAccordionManager()}connectedCallback(){u(this),this._isNativeShadow=o.isNativeComponent(this),this.privateAccordionManager.attachOpenSectionObserver(()=>{const e=this.activeSectionName;this.connected&&!i.isServer&&this.dispatchEvent(new CustomEvent("sectiontoggle",{detail:{openSections:e}}))}),super.connectedCallback(),this.connected=!0,this.setAttribute("role","list"),this.classList.add("slds-accordion"),this.addEventListener("privateaccordionsectionregister",this.handleSectionRegister.bind(this))}disconnectedCallback(){this.connected=!1}get title(){return this.getAttribute("title")}set title(e){this.setAttribute("title",e)}get activeSectionName(){const e=this.privateAccordionManager.openSectionsNames;return this.allowMultipleSectionsOpen?e:e.length?e[0]:void 0}set activeSectionName(e){this._activeSectionName=e,this.privateIsSectionLessInLastRender||this.privateAccordionManager.openSectionByName(e)}get allowMultipleSectionsOpen(){return this._allowMultipleSectionsOpen}set allowMultipleSectionsOpen(e){this._allowMultipleSectionsOpen=e,this.privateAccordionManager.collapsible=e}checkOpenSections(){if(this.privateIsSectionLessInLastRender){let e=!1;this._activeSectionName&&(e=this.privateAccordionManager.openSectionByName(this._activeSectionName)),this._allowMultipleSectionsOpen||e||this.privateAccordionManager.openFirstSection()}this.privateIsSectionLessInLastRender=0===this.privateAccordionManager.sections.length}renderedCallback(){this._isNativeShadow?Promise.resolve().then(()=>this.checkOpenSections()):this.checkOpenSections()}get openedSection(){return this.privateAccordionManager.openedSection}handleSectionRegister(e){e.stopPropagation(),e.preventDefault();const{detail:t}=e,i={id:t.targetId,name:t.targetName,ref:e.target,open:t.openSection,isOpen:t.isOpen,close:t.closeSection,focus:t.focusSection,ackParentAccordion:t.ackParentAccordion};this.privateAccordionManager.registerSection(i)}}f.validationOptOut=["class"],t.registerDecorators(f,{publicProps:{title:{config:3},activeSectionName:{config:3},allowMultipleSectionsOpen:{config:3}},fields:["privateIsSectionLessInLastRender","_allowMultipleSectionsOpen","connected","_isNativeShadow"]});const M=t.registerComponent(f,{tmpl:g,sel:"interop-accordion",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=M,Object.defineProperty(e,"__esModule",{value:!0})});
429})();LWR.define('lightning/accordion', ['interop/accordion'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/gate/com.salesforce.esw.embeddedMessaging.web.hasMarkdownSupport', [], () => {const gateObj = {
430    isOpen: (fallbackObj) => true,
431    hasError: () => false,
432};
433return Object.freeze(gateObj);});LWR.define('@salesforce/gate/com.salesforce.esw.embeddedMessaging.web.hasCitationsSupport', [], (
433) => {const gateObj = {
434    isOpen: (fallbackObj) => true,
435    hasError: () => false,
436};
437return Object.freeze(gateObj);});LWR.define('@salesforce/gate/com.salesforce.esw.embeddedMessaging.web.hasLongPollingSupport', [], () => {const gateObj = {
438    isOpen: (fallbackObj) => true,
439    hasError: () => false,
440};
441return Object.freeze(gateObj);});LWR.define('@salesforce/gate/com.salesforce.esw.embeddedMessaging.multiFileUploadEnabled', [], () => {const gateObj = {
442    isOpen: (fallbackObj) => false,
443    hasError: () => false,
444};
445return Object.freeze(gateObj);});(function() { LWR.define("embeddedMessaging/gaterService",["exports","@salesforce/gate/com.salesforce.esw.embeddedMessaging.web.hasMarkdownSupport","@salesforce/gate/com.salesforce.esw.embeddedMessaging.web.hasCitationsSupport","@salesforce/gate/com.salesforce.esw.embeddedMessaging.web.hasLongPollingSupport","@salesforce/gate/com.salesforce.esw.embeddedMessaging.multiFileUploadEnabled"],function(e,a,s,o,l){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=t(a),n=t(s),i=t(o),r=t(l);e.hasCitationsSupport=()=>n.default.isOpen({fallback:!1}),e.hasLongPollingSupport=()=>i.default.isOpen({fallback:!1}),e.hasMarkdownSupport=()=>d.default.isOpen({fallback:!1}),e.hasMultiFileUploadSupport=()=>r.default.isOpen({fallback:!1}),Object.defineProperty(e,"__esModule",{value:!0})});
446})();LWR.define('embeddedmessaging/gaterService', ['embeddedMessaging/gaterService'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationTextMessage",["exports","lwc","lightning/formattedRichText","embeddedMessaging/gaterService","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/labelUtils"],function(t,e,i,n,r,o,a){function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=s(i);var c=[function(t,e,i){var n=t?"["+t+"]":"";return"lightning-formatted-rich-text"+n+" {white-space: normal;}lightning-accordion"+n+" {border: 1px solid;border-radius: 25px}.citationSourcePillsContainer"+n+" {border: none;background: transparent;position: relative;}.citationSourcesPillsList"+n+" {flex-grow: 1;flex-direction: row;}.citationSourcePillItem"+n+" {padding-left: 0;}.citationReferencePill"+n+" {background: var(--citationsBackground, #FFFFFF);border: none;border-radius: 7px;padding: 5px;max-width: 200px;}.citationReferencePill:hover"+n+" {background: var(--citationsBackgroundHoverColor, #d6d6d6);text-decoration: underline;cursor: pointer;}.citationSourceLink"+n+" {font-size: smaller;color: var(--citationsText, #181818);}"}];const d=e.parseFragment`<a${"a0:href"} target="_blank" rel="noopener"${"a0:id"}${3}>${"t1"}</a>`,h=e.parseFragment`<span${3}>${"t1"}</span>`,g=e.parseFragment`<p class="slds-m-top_medium citationSourcesLabel${0}"${2}>${"t1"}</p>`,p=e.parseFragment`<li class="slds-listbox-item slds-p-around_xx-small citationSourcePillItem${0}"${2}><span class="slds-pill citationReferencePill${0}"${"a1:id"}${2}><a${"a2:href"} rel="nofollow noopener" class="slds-pill__label citationSourceLink${0}" target="_blank"${2}>${"t3"}</a></span></li>`,u={classMap:{"slds-pill_container":!0,citationSourcePillsContainer:!0},key:8},f={classMap:{"slds-listbox":!0,"slds-listbox_horizontal":!0,citationSourcesPillsList:!0},key:9};function b(t,e,i,n){const{c:r,fr:o,fid:a,gid:s,k:c,b:b,d:m,sp:x,st:C,i:w,h:k}=t,{_m0:v,_m1:y,_m2:R}=n;return[e.isMarkdownSupportEnabled?o(0,[r("lightning-formatted-rich-text",l.default,{props:{value:e.sanitizedHtml},key:1})],0):o(0,w(e.textContentToRender,function(t){return[t.isAnchor?C(d,c(3,t.id),[x(0,{on:y||(n._m1={click:b(e.handleConversationEntryClick)}),attrs:{href:a(t.url),id:s("conversationEntryLink")}},null),x(1,null,m(t.text))]):null,t.isAnchor?null:C(h,c(5,t.id),[x(1,null,m(t.text))])]}),0),e.hasMessageCitations?C(g,7,[x(1,null,m(e.labels.CitationSourcesSectionText))]):null,e.hasMessageCitations?k("div",u,[k("ul",f,w(e.generateCitationSourcesList,function(t){return C(p,c(11,t.index),[x(1,{attrs:{id:s("citationReferencePill")}},null),x(2,{on:R||(n._m2={click:b(e.handleCitationLinkClick)}),attrs:{href:a(t.url)}},null),x(3,null,m(t.text))])}))]):null]}var m=e.registerTemplate(b);b.stylesheets=[],b.stylesheetToken="lwc-d8e7m00j8f",b.legacyStylesheetToken="embeddedMessaging-conversationTextMessage_conversationTextMessage",c&&b.stylesheets.push.apply(b.stylesheets,c),e.freezeTemplate(b);const x="EmbeddedMessaging-ConversationTextMessage";class C extends e.LightningElement{constructor(...t){super(...t),this.conversationEntry=void 0,this.publicConversationEntry=void 0,this._initialRender=!0,this.citations=[],this.flattenedCitations=[],this.textContent=void 0,this.labels={}}connectedCallback(){if(this.textContent=this.conversationEntry.staticTextContent,this.hasMessageCitations)try{this.citations=this.conversationEntry.staticTextCitations,this.sortCitations(),this.insertInlineCitations()}catch(t){r.error(`Something went wrong in inserting the inline citations into the text: ${t}`),r.LoggingUtil.logError(t,x,{method:"connectedCallback",errMessage:`Something went wrong in inserting the inline citations into the text: ${t}`,convEntryId:this.conversationEntry.messageId}),this.textContent=this.conversationEntry.staticTextContent}this.isMarkdownSupportEnabled?this.textContent=r.util.parseMarkdownToHtml(this.textContent):this.textContent=r.util.parseStaticText(this.textContent),this.applyStyling(),this.handleLabels()}renderedCallback(){this._initialRender&&(this._initialRender=!1,this.isMarkdownSupportEnabled&&(r.util.formatTextMessageLinks(this.template,x,this.publicConversationEntry),r.util.formatMarkdownTables(this.template,this.conversationEntry.isMessageOutbound),r.util.formatMarkdownCodeblocks(this.template,this.conversationEntry.isMessageOutbound)))}applyStyling(){const t=document.createElement("style");this.template.host.appendChild(t),t.sheet&&(t.sheet.insertRule("lightning-formatted-rich-text > span > p { white-space: pre-line; }",0),this.hasMessageCitations&&t.sheet.insertRule("lightning-formatted-rich-text span[class~='citationmarker'] { border: none; border-radius: 4px; height: 10px;
446 width: 20px;display: inline-table; text-align: center; background: var(--citationsBackground, #FFFFFF); color: var(--citationsText, #181818); transform: scale(0.65); margin-inline: -2px }",0),this.isMarkdownSupportEnabled&&(t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper-outer, lightning-formatted-rich-text .code-block-outer { max-width: 100%; width: 100%; position: relative; overflow-x: hidden; }",0),t.sheet.insertRule("lightning-formatted-rich-text .code-block-outer { margin: 0.5rem 0; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_inbound.table-wrapper-outer::before, lightning-formatted-rich-text .code-block-wrapper_inbound.code-block-outer::before { content: ''; position: absolute; top: 0; left: 0; width: 1rem; height: 100%; background: linear-gradient(90deg, #f2f2f3, transparent); pointer-events: none; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_inbound.table-wrapper-outer::after, lightning-formatted-rich-text .code-block-wrapper_inbound.code-block-outer::after { content: ''; position: absolute; top: 0; right: 0; width: 1rem; height: 100%; background: linear-gradient(90deg, transparent, #f2f2f3); pointer-events: none; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_outbound.table-wrapper-outer::before, lightning-formatted-rich-text .code-block-wrapper_outbound.code-block-outer::before { content: ''; position: absolute; top: 0; left: 0; width: 1rem; height: 100%; background: linear-gradient(90deg, var(--secondaryColor, #005290), transparent); pointer-events: none; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_outbound.table-wrapper-outer::after, lightning-formatted-rich-text .code-block-wrapper_outbound.code-block-outer::after { content: ''; position: absolute; top: 0; right: 0; width: 1rem; height: 100%; background: linear-gradient(90deg, transparent, var(--secondaryColor, #005290)); pointer-events: none; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper-inner, lightning-formatted-rich-text .code-block-inner { overflow-x: scroll; padding: 0 1rem; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper-outer .table-wrapper-inner table { width: max-content; table-layout: auto; border-collapse: collapse; margin: 0.5rem 0; background: color-mix(in srgb, #ffffff, transparent 100%); }",0),t.sheet.insertRule("@media only screen and (min-width: 15em) and (max-width: 47.9375em) { lightning-formatted-rich-text .table-wrapper-outer .table-wrapper-inner table { max-width: 100%; width: 100%; } }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_inbound td, lightning-formatted-rich-text .table-wrapper_inbound th { border: 1px solid color-mix(in srgb, var(--contrastPrimaryColor, #333333), transparent 80%); padding: 0.25rem 0.75rem; text-align: revert-layer; overflow: hidden; white-space: normal; width: auto; min-width: 100px; max-width: 200px; vertical-align: top; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_outbound td, lightning-formatted-rich-text .table-wrapper_outbound th { border: 1px solid color-mix(in srgb, var(--slds-g-color-neutral-base-100, #fff), transparent 80%); padding: 0.25rem 0.75rem; text-align: revert-layer; overflow: hidden; white-space: normal; width: auto; min-width: 100px; max-width: 200px; vertical-align: top; color: var(--slds-g-color-neutral-base-100, #fff); }",0),t.sheet.insertRule("lightning-formatted-rich-text th { background-color: color-mix(in srgb, #ffffff, transparent 100%); }",0),t.sheet.insertRule("lightning-formatted-rich-text p { padding: 0.25rem; }",0),t.sheet.insertRule("lightning-formatted-rich-text pre { display: inline-block; width: fit-content; padding: 0 1rem; border-radius: .25rem; margin: 0; margin-right: 1rem; }",0),t.sheet.insertRule("lightning-formatted-rich-text .code-block-wrapper_inbound pre { border: 1px solid color-mix(in srgb, var(--contrastPrimaryColor, #333333), transparent 80%); }",0),t.sheet.insertRule("lightning-formatted-rich-text .code-block-wrapper_outbound pre { border: 1px solid color-mix(in srgb, var(--slds-g-color-neutral-base-100, #fff), transparent 80%); color: var(--slds-g-color-neutral-base-100, #fff); }",0),t.sheet.insertRule("lightning-formatted-rich-text code { display: block; white-space: pre; overflow-x: auto; border-radius: 4px; padding: 0.5rem; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_inbound code { background-color: #f2f2f3; }",0),t.sheet.insertRule("lightning-formatted-rich-text .table-wrapper_outbound code { background-color: var(--secondaryColor, #005290); }",0),t.sheet.insertRule("lightning-formatted-rich-text .code-block-inner, lightning-formatted-rich-text .table-wrapper-inner { scrollbar-width: thin; }",0),t.sheet.insertRule("lightning-formatted-rich-text .code-block-inner::-webkit-scrollbar, lightning-formatted-rich-text .table-wrapper-inner::-webkit-scrollbar { height: 8px; display: block; width: calc(100% - 2rem); }",0),t.sheet.insertRule(":dir(rtl) lightning-formatted-rich-text ol { list-style-position: inside; padding-right: 1rem; }",0),t.sheet.insertRule(":dir(rtl) lightning-formatted-rich-text ul { list-style-position: inside; padding-right: 1rem; }",0)))}handleLabels(){this.labels.CitationSourcesSectionText=a.getLabel("EmbeddedMessagingConversationState","MessageCitationSourcesSectionText")}get isMarkdownSupportEnabled(){return n.hasMarkdownSupport()}get hasMessageCitations(){return n.hasCitationsSupport()&&this.conversationEntry.hasMessageCitations}handleConversationEntryClick(t){return r.util.handleTextMessageLinkClick(x,this.publicConversationEntry,t)}sortCitations(){this.citations.forEach((t,e)=>{t.sourceIndex=e+1});const t=[],e=this.citations.filter(e=>!!this.hasCitationLocationOffset(e)||(t.push(e),!1)).flatMap(t=>
446t.citedDetails.inlineMetadata.map(e=>({citedReference:t.citedReference,citedLocationOffset:e.citedLocationOffset,sourceIndex:t.sourceIndex})));e.sort((t,e)=>t.citedLocationOffset-e.citedLocationOffset),this.flattenedCitations=e.concat(t)}hasCitationLocationOffset(t){return Boolean(t&&t.citedDetails&&t.citedDetails.inlineMetadata&&t.citedDetails.inlineMetadata.length)}citationLocationOffsets(t){return this.hasCitationLocationOffset(t)?t.citedDetails.inlineMetadata:[]}generateCitationMarkerText(t){if(this.isMarkdownSupportEnabled){const e={"{0}":t};return r.util.replacePlaceholdersInString(o.CITATION_MARKER,e)}return` ${t} `}insertInlineCitations(){let t=0;this.flattenedCitations.forEach(e=>{const i=this.generateCitationMarkerText(e.sourceIndex);if(e.citedLocationOffset){const n=e.citedLocationOffset+t;this.textContent=this.textContent.slice(0,n)+i+this.textContent.slice(n),t+=i.length}else this.textContent+=i})}get generateCitationSourcesList(){const t=[];for(let e=0;e<this.citations.length;e++){const i=this.citations[e];let n,o;try{const t=r.validateURL(this.getCitationReferenceUrl(i));n=t.host,o=t.href}catch(t){r.error(`Something went wrong in generating the citation sources: ${t}`),r.LoggingUtil.logError(t,x,{method:"generateCitationSourcesList",errMessage:`Something went wrong in generating the citation sources: ${t}`,convEntryId:this.conversationEntry.messageId}),n=this.getCitationReferenceUrl(i),o=this.getCitationReferenceUrl(i)}const a=this.getCitationReferenceLabel(i)||n;t.push(Object.assign({},{index:e+1,urlDomain:n,url:o,text:`${e+1}. ${a}`}))}return r.LoggingUtil.logCurrentState(x,{method:"generateCitationSourcesList",stateMessage:`Static Text Message has ${this.citations.length} citations.`,convEntryId:this.conversationEntry.messageId}),t}getCitationReferenceUrl(t){return t?t.citedReference.link.url:""}handleCitationLinkClick(t){const e=t&&t.target&&t.target.textContent?t.target.textContent:"";r.LoggingUtil.logInteraction(t,this,x,{method:"handleCitationLinkClick",feature:e})}getCitationReferenceLabel(t){return t&&t.citedReference&&t.citedReference.label?t.citedReference.label:""}get textContentToRender(){return this.hasMessageCitations?this.textContent:this.isMarkdownSupportEnabled?this.conversationEntry.parsedStaticTextContentToHtml:this.conversationEntry.parsedStaticTextContent}
446get sanitizedHtml(){return r.sanitizeRichTextHtml(this.textContentToRender)}}e.registerDecorators(C,{publicProps:{conversationEntry:{config:0},publicConversationEntry:{config:0}},fields:["_initialRender","citations","flattenedCitations","textContent","labels"]});const w=e.registerComponent(C,{tmpl:m,sel:"embeddedMessaging-conversation-text-message",apiVersion:66,enableSyntheticElementInternals:!0});t.default=w,Object.defineProperty(t,"__esModule",{value:!0})});
447})();LWR.define('embeddedmessaging/conversationTextMessage', ['embeddedMessaging/conversationTextMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/streamTextMessage",["exports","lwc","lightning/formattedRichText","embeddedMessaging/common","embeddedMessaging/gaterService"],function(e,t,n,s,a){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n);var l=[function(e,t,n){var s=e?"["+e+"]":"";return".cursor"+s+" {font-size: 15px;color: black;font-weight: bolder;}lightning-formatted-rich-text"+s+" {white-space: normal;}"}];const o=t.parseFragment`<a${"a0:href"} target="_blank" rel="noopener"${"a0:id"}${3}>${"t1"}</a>`,d=t.parseFragment`<span${3}>${"t1"}</span>`,g=t.parseFragment`<span class="cursor${0}"${2}>|</span>`;function c(e,t,n,s){const{c:a,fr:r,gid:l,k:c,b:m,d:h,sp:p,st:u,i:x}=e,{_m0:b,_m1:f}=s;return[t.isMarkdownSupportEnabled?r(0,[a("lightning-formatted-rich-text",i.default,{props:{value:t.streamingContent},key:1})],0):r(0,x(t.streamingContent,function(e){return[e.isAnchor?u(o,c(3,e.id),[p(0,{on:f||(s._m1={click:m(t.handleLinkClick)}),attrs:{href:e.url,id:l("conversationEntryLink")}},null),p(1,null,h(e.text))]):null,e.isAnchor?null:u(d,c(5,e.id),[p(1,null,h(e.text))])]}),0),u(g,7)]}var m=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-3urta202nsd",c.legacyStylesheetToken="embeddedMessaging-streamTextMessage_streamTextMessage",l&&c.stylesheets.push.apply(c.stylesheets,l),t.freezeTemplate(c);const h="EmbeddedMessaging-StreamTextMessage";class p extends t.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.publicConversationEntry=void 0,this.messageStreamTextIndex=0,this.streamingContent="",this.streamingInterval=void 0}get isMarkdownSupportEnabled(){return a.hasMarkdownSupport()}connectedCallback(){this.applyStyling(),this.generateTokenStreamContent()}disconnectedCallback(){clearInterval(this.streamingInterval),this.streamingContent=""}renderedCallback(){this.conversationEntry.wasInvalidated&&(this.messageStreamTextIndex=0),this.isMarkdownSupportEnabled&&s.util.formatTextMessageLinks(this.template,h,this.publicConversationEntry)}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&e.sheet.insertRule("lightning-formatted-rich-text > span > p { white-space: pre-line; }",0)}generateTokenStreamContent(){this.streamingInterval=setInterval(()=>{const e=this.conversationEntry.messageFullText;if(this.conversationEntry&&this.messageStreamTextIndex!==e.length){switch(e.charAt(this.messageStreamTextIndex)){case"<":this.messageStreamTextIndex+=2;break;case"/":this.messageStreamTextIndex+=3;break;default:this.messageStreamTextIndex+=1}this.streamingContent=this.isMarkdownSupportEnabled?s.util.parseMarkdownToHtml(e.substring(0,this.messageStreamTextIndex)):s.util.parseStaticText(e.substring(0,this.messageStreamTextIndex))}},7)}handleLinkClick(e){return s.util.handleTextMessageLinkClick(h,this.publicConversationEntry,e)}}t.registerDecorators(p,{publicProps:{conversationEntry:{config:0},publicConversationEntry:{config:0}},fields:["messageStreamTextIndex","streamingContent","streamingInterval"]});const u=t.registerComponent(p,{tmpl:m,sel:"embeddedMessaging-stream-text-message",apiVersion:66,enableSyntheticElementInternals:!0});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
448})();LWR.define('embeddedmessaging/streamTextMessage', ['embeddedMessaging/streamTextMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesResponse",["exports","lwc","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/labelUtils"],function(e,t,s,n,a){const i=t.parseFragment`<span${"a0:title"}${3}>${"t1"}</span>`;function o(e,t,s,n){const{d:a,sp:o,st:l}=e;return[l(i,1,[o(0,{attrs:{title:t.metadata.title}},null),o(1,null,a(t.metadata.title))])]}var l=t.registerTemplate(o);o.stylesheets=[],o.stylesheetToken="lwc-5rmuop48tpn",o.legacyStylesheetToken="embeddedMessaging-choicesResponse_choicesResponse",t.freezeTemplate(o);class d extends t.LightningElement{constructor(...e){super(...e),this.response=void 0,this._response={},this.metadata={title:""}}connectedCallback(){const e=s.util.unwrapProxy(this.response);try{this.metadata.title=n.getOptionTitle(e)}catch(e){this.metadata.title=a.getLabel("EmbeddedMessagingConversationState","ChoicesSelectionResponsePlaceholderText")}}}t.registerDecorators(d,{publicProps:{response:{config:0}},track:{metadata:1},fields:["_response"]});const r=t.registerComponent(d,{tmpl:l,sel:"embeddedMessaging-choices-response",apiVersion:66,enableSyntheticElementInternals:!0});
448e.default=r,Object.defineProperty(e,"__esModule",{value:!0})});
449})();LWR.define('embeddedmessaging/choicesResponse', ['embeddedMessaging/choicesResponse'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/fileAttachmentDefaultIcon",["exports","lwc","embeddedMessaging/icons"],function(e,t,n){const a=t.parseFragment`<svg aria-hidden="true" viewBox="0 0 100 100" class="slds-icon defaultAttachmentIconSvg${0}"${2}><path${"a1:d"} fill="#49c9a7"${3}/><path${"a2:d"} opacity=".5"${3}/><path${"a3:d"}${3}/></svg>`;function s(e,t,n,s){const{sp:l,st:c}=e;return[c(a,1,[l(1,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON}},null),l(2,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_FOLD}},null),l(3,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_PAPER_CLIP}},null)])]}var l=t.registerTemplate(s);s.stylesheets=[],s.stylesheetToken="lwc-24jmji5rfqp",s.legacyStylesheetToken="embeddedMessaging-fileAttachmentDefaultIcon_fileAttachmentDefaultIcon",t.freezeTemplate(s);class c extends t.LightningElement{constructor(...e){super(...e),this.defaultAttachmentIcon=n.defaultIcons.ATTACHMENT_ICON}}t.registerDecorators(c,{fields:["defaultAttachmentIcon"]});const d=t.registerComponent(c,{tmpl:l,sel:"embeddedMessaging-file-attachment-default-icon",apiVersion:66,enableSyntheticElementInternals:!0});e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
450})();LWR.define('embeddedmessaging/fileAttachmentDefaultIcon', ['embeddedMessaging/fileAttachmentDefaultIcon'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/fileAttachmentFooter",["exports","lwc","lightning/buttonIcon","embeddedMessaging/icons","embeddedMessaging/common","embeddedMessaging/labelUtils","embeddedMessaging/constants"],function(t,e,n,a,i,l,s){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=o(n);var r=[function(t,e,n){var a=t?"["+t+"]":"";return(e?":host {":(t?"["+t+"-host]":"")+" {")+"display: inline-flex;}.fileAttachmentButton"+a+" {height: 42px;width: 25px;padding: 0 0 0.25rem;margin: 0;border: 0;background: transparent;pointer-events: all;cursor: pointer;}.fileAttachmentButton"+a+" {bottom: 0.25rem;}.paperClipIconSvg"+a+" {transform: scale(1.5);fill: var(--inputFooterButton, #939393);}"+(n?"":'[dir="rtl"]')+" "+(n?":dir(rtl)":"")+" .paperClipIconSvg"+a+" {transform: scale(1.5) scaleX(-1);}"}];const p=e.parseFragment`<div class="slds-file-selector slds-file-selector_files${0}"${2}><input type="file" class="fileAttachmentButtonInput slds-file-selector__input slds-assistive-text${0}"${"a1:id"}${"a1:accept"}${"a1:aria-label"} multiple${2}><label class="slds-file-selector__body fileAttachmentButtonLabel${0}"${"a2:for"}${2}><span class="fileAttachmentButton slds-file-selector__button slds-button slds-button_neutral${0}"${"a3:title"} aria-hidden="true"${2}><svg aria-hidden="true" viewBox="0 0 100 100" class="slds-button__icon paperClipIconSvg${0}"${2}><path${"a5:d"}${3}/></svg></span></label></div>`,h={classMap:{"slds-form-element__control":!0},key:0},m={fileAttachmentButton:!0};function d(t,e,n,a){const{b:i,gid:l,sp:s,st:o,c:r,h:d}=t,{_m0:u}=a;return[e.attachedFile?null:d("div",h,[e.isDisabled?null:o(p,2,[s(1,{on:u||(a._m0={change:i(e.handleFileSelection),cancel:i(e.handleFileInputCancel)}),attrs:{id:l("fileAttachmentButtonInput"),accept:e.allowedFileTypes,"aria-label":e.labels.AttachmentButtonTitle}},null),s(2,{attrs:{for:l("fileAttachmentButtonInput")}},null),s(3,{attrs:{title:e.labels.AttachmentButtonTitle}},null),s(5,{attrs:{d:e.paperClipIcon}},null)]),e.isDisabled?r("lightning-button-icon",c.default,{classMap:m,props:{type:"button",alternativeText:e.labels.AttachmentButtonTitle,iconName:"utility:attach",size:"large",variant:"bare",disabled:!0},key:3}):null])]}var u=e.registerTemplate(d);let f;d.stylesheets=[],d.stylesheetToken="lwc-5son0s0achq",d.legacyStylesheetToken="embeddedMessaging-fileAttachmentFooter_fileAttachmentFooter",r&&d.stylesheets.push.apply(d.stylesheets,r),e.freezeTemplate(d);const g={jpg:["jpeg"]},A=t=>{const e=t?.attachments?.allowedFileTypes;if(!e)return".png, .jpeg, .jpg, .bmp, .gif, .tiff, .pdf, .doc, .docx, .xls, .xlsx, .xml, .csv, .txt";const n=new Set(Object.values(e).flat().map(t=>t.toLowerCase()));return Object.entries(g).forEach(([t,e])=>{n.has(t)&&e.forEach(t=>{n.add(t)})}),Array.from(n,t=>`.${t}`).join(", ")},T=5242880,b=t=>{if(t&&"number"==typeof t){return 1024*(t/1e6)*1024}},_={isAttachmentTypePDF:t=>"application/pdf"===t,isAttachmentTypeImage:t=>t.includes("image/"),isAttachmentTypeText:t=>"text/plain"===t,isAttachmentTypeXML:t=>"text/xml"===t||"application/xml"===t,isAttachmentTypeDocument:t=>"application/msword"===t||"application/vnd.openxmlformats-officedocument.wordprocessingml.document"===t,isAttachmentTypeSpreadSheet:t=>"application/vnd.ms-excel"===t||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"===t||"text/csv"===t};class y extends e.LightningElement{constructor(...t){super(...t),this.configuration=void 0,this.attachedFile=void 0,this.labels={},this.paperClipIcon=a.defaultIcons.PAPER_CLIP_ICON,this.validAttachments=void 0,this.invalidAttachments=void 0,this.isDisabled=void 0}connectedCallback(){this.handleLabels()}handleLabels(){this.labels.AttachmentButtonTitle=l.getLabel("EmbeddedMessagingFileAttachments","SelectFileAttachmentButtonTitle"),this.labels.AttachmentButtonAssistiveText=l.getLabel("EmbeddedMessagingFileAttachments","SelectFileAttachmentButtonAssistiveText")}handleFileInputCancel(){const t=this.getAttachmentButton();t&&t.focus()}handleFileSelection(t){const e=this.configuration.attachments.maxFileSize||T,n=[...i.util.unwrapProxy(this.validAttachments)],a=[...i.util.unwrapProxy(this.invalidAttachments)];let l;if(t&&(t.preventDefault(),t.target&&t.target.files)){if(l=[...t.target.files],this.getFileAttachmentInput().value=null,l&&l.length)for(let t=0;t<l.length;t++){const i=l[t].size,s=b(i);if(s){const i=l[t].name.split(".").pop().toLowerCase();this.allowedFileTypes.split(",").map(t=>t.trim().replace(/^\./,"").toLowerCase()).includes(i)&&s<=e&&!(n.length>=5)?!n.filter(e=>e.name===l[t].name).length>0&&n.push(l[t]):!a.filter(e=>e.name===l[t].name).length>0&&a.push(l[t])}}this.dispatchEvent(new CustomEvent("fileattachmentselected",{detail:{...n.length>0&&{validAttachments:n},...a.length>0&&{invalidAttachments:a}}}))}}getAttachmentButton(){return this.template&&this.template.querySelector(".fileAttachmentButtonLabel > .fileAttachmentButton")?this.template.querySelector(".fileAttachmentButtonLabel > .fileAttachmentButton"):void 0}getFileAttachmentInput(){return this.template&&this.template.querySelector(".fileAttachmentButtonInput")?this.template.querySelector(".fileAttachmentButtonInput"):void 0}get allowedFileTypes(){return A(this.configuration)}}e.registerDecorators(y,{publicProps:{configuration:{config:0},attachedFile:{config:0},validAttachments:{config:0},invalidAttachments:{config:0},isDisabled:{config:0}},track:{labels:1},fields:["paperClipIcon"]});const I=e.registerComponent(y,{tmpl:u,sel:"embeddedMessaging-file-attachment-footer",apiVersion:66,enableSyntheticElementInternals:!0});t.MAX_FILE_UPLOAD_SIZE=T,t.MAX_NUMBER_ATTACHMENTS_ALLOWED=5,t.allowEndUserFileAttachments=t=>t&&t.attachments&&t.attachments.endUserToAgent&&!t.attachments.endUserToAgentOnRequest,t.allowedFileTypes=A,t.attachmentTypeUtil=_,t.default=I,t.getFileAttachmentIconType=t=>{try{if(!t)return;if(_.isAttachmentTypePDF(t))return s.FILE_ATTACHMENT_ICON_TYPES.pdf;if(_.isAttachmentTypeImage(t))return s.FILE_ATTACHMENT_ICON_TYPES.image;if(_.isAttachmentTypeText(t))return s.FILE_ATTACHMENT_ICON_TYPES.text;if(_.isAttachmentTypeXML(t))return s.FILE_ATTACHMENT_ICON_TYPES.xml;if(_.isAttachmentTypeDocument(t))return s.FILE_ATTACHMENT_ICON_TYPES.doc;if(_.isAttachmentTypeSpreadSheet(t))return s.FILE_ATTACHMENT_ICON_TYPES.csv}catch(t){i.error(`Something went wrong while looking up the file icon type: ${t}`)}return s.FILE_ATTACHMENT_ICON_TYPES.general},t.getFileSizeInBinaryFromDecimal=b,t.getImageCompressionOptions=()=>f,t.getSizeinMegaByte=t=>{if(t)return(t/1048576).toFixed(0)}
450,t.getSupportedFileType=t=>{let e;try{if(t){if(e=t.split("/"),Object.prototype.hasOwnProperty.call(s.FILE_ATTACHMENT_ICON_TYPES,e[0]))return s.FILE_ATTACHMENT_ICON_TYPES[e[0]];if(Object.prototype.hasOwnProperty.call(s.FILE_ATTACHMENT_ICON_TYPES,e[1]))return s.FILE_ATTACHMENT_ICON_TYPES[e[1]]}}catch(t){i.error(`Something went wrong while looking up the supported file type: ${t}`)}},t.setImageCompressionOptions=t=>{f=Object.assign({},t)},Object.defineProperty(t,"__esModule",{value:!0})});
451})();LWR.define('embeddedmessaging/fileAttachmentFooter', ['embeddedMessaging/fileAttachmentFooter'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/fileAttachmentMessage",["exports","lwc","lightning/icon","embeddedmessaging/spinner","embeddedmessaging/fileAttachmentDefaultIcon","embeddedMessaging/common","embeddedMessaging/icons","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/constants"],function(e,t,i,n,a,s,l,o,r,d,h){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=c(i),g=c(n),p=c(a);var u=[function(e,t,i){var n=e?"["+e+"]":"";return".attachmentMessageWrapper"+n+' {width: 13rem;max-width: 100%;}.attachmentMessageWrapper[class~="fileSendFailed"]'+n+" {pointer-events: none;}.attachmentMessageView"+n+" {height: auto;}.attachmentMessageFooter"+n+" {height: 25px;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+" .attachmentMessageFooter"+n+" {padding-left: 3rem;padding-right: 0;}.attachmentMessageFooterControls"+n+" {height: 18px;width: 25px;}.attachmentMessageFooterNameIconWrapper"+n+" {display: flex;flex-direction: row;}.attachmentMessageFooterIconWrapper"+n+" {flex-grow: 0;}.attachmentNameWrapper"+n+" {flex-grow: 1;font-family: var(--font, Arial, sans-serif);}.attachmentMessageFooterIconContainer"+n+" {width: 18px;}.attachmentMessageFooterIconContainer"+n+" > .attachmentMessageFooterIcon"+n+" {transform: scale(0.5) translateX(-15px);}.attachmentMessageFailedIcon"+n+" {position: absolute;top: 42px;left: 88px;}embeddedmessaging-spinner"+n+" {position: initial;}.previewContainer"+n+" {overflow: hidden;border-radius: 6px;}.previewContainer.disabled"+n+" {pointer-events: none;}.previewRegion"+n+" {max-width: 100%;width: 100%;}"}];const f=t.parseFragment`<img class="previewRegion${0}"${"a0:src"}${"a0:alt"}${"a0:id"}${2}>`,w=t.parseFragment`<svg aria-hidden="true" viewBox="0 0 100 100" class="slds-icon defaultAttachmentIconSvg attachmentMessageFooterIcon${0}"${2}><path${"a1:d"} fill="#49c9a7"${3}/><path${"a2:d"} opacity=".5"${3}/><path${"a3:d"}${3}/></svg>`,T=t.parseFragment`<div class="attachmentNameWrapper slds-media__body${0}" tabindex="0"${2}><span class="slds-file__text slds-truncate${0}"${"a1:title"} role="status" aria-live="polite"${2}>${"t2"}</span></div>`,v={classMap:{attachmentMessageView:!0},key:1},y={classMap:{attachmentMessageFailedIcon:!0},props:{iconName:"utility:error",tabIndex:"-1"},key:3},F={classMap:{attachmentMessageViewIconContainer:!0,"slds-file__icon":!0,"slds-icon_container":!0},key:5},b={key:6},_={classMap:{attachmentMessageFooter:!0,"slds-file__title":!0,"slds-file__title_card":!0,"slds-file-has-actions":!0},key:10},M={classMap:{attachmentMessageFooterNameIconWrapper:!0,"slds-media":!0,"slds-media_small":!0,"slds-media_center":!0},key:11},A={classMap:{attachmentMessageFooterIconWrapper:!0,"slds-media__figure":!0,"slds-line-height_reset":!0},key:12},I={classMap:{attachmentMessageFooterIconContainer:!0,"slds-icon_container":!0},key:13},E={classMap:{attachmentMessageFooterControls:!0,"slds-file__actions-menu":!0},key:19},U={downloadButton:!0,"slds-button":!0,"slds-button_icon":!0,"slds-button_icon":!0,"slds-button_icon-x-small":!0};function C(e,t,i,n){const{ncls:a,ti:s,gid:l,b:o,c:r,h:d,sp:h,st:c,d:u}=e,{_m0:C,_m1:D,_m2:P,_m3:S}=n;return[d("div",{className:a(t.attachmentMessageWrapperClassName),key:0},[d("figure",v,[d("a",{className:a(t.previewContainerClassName),attrs:{tabindex:s(t.generatePreviewContainerTabIndex),role:t.generatePreviewContainerRole,id:l("fileThumbn
451ailPreviewRegion")},key:2,on:C||(n._m0={click:o(t.handlePreviewRegionClick),keydown:o(t.handlePreviewRegionKeyDown)})},[t.showFileSendingSpinner&&t.hasFileSendFailed?r("lightning-icon",m.default,y):null,t.showFileSendingSpinner?t.hasFileSendFailed?null:r("embeddedmessaging-spinner",g.default,{props:{size:"medium",spinnerColorToken:t.spinnerColorToken},key:4}):null,t.showFileSendingSpinner||t.filePreviewUrl?null:d("span",F,[t.fileAttachmentIconType?null:r("embeddedmessaging-file-attachment-default-icon",p.default,b),t.fileAttachmentIconType?r("lightning-icon",m.default,{props:{iconName:t.fileAttachmentIconType,size:"medium",alternativeText:t.fileAltText},key:7}):null]),t.showFileSendingSpinner?null:t.filePreviewUrl?c(f,9,[h(0,{on:P||(n._m2={load:o(t.handleThumbnailPreviewLoad)}),attrs:{src:t.filePreviewUrl,alt:t.fileAttachmentName,id:l("fileThumbnailPreviewImage")}},null)]):null]),d("figcaption",_,[d("div",M,[d("div",A,[t.showFileSendingSpinner?null:d("span",I,[t.fileAttachmentIconType?null:c(w,15,[h(1,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON}},null),h(2,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_FOLD}},null),h(3,{attrs:{d:t.defaultAttachmentIcon.FILE_ICON_PAPER_CLIP}},null)]),t.fileAttachmentIconType?r("lightning-icon",m.default,{props:{iconName:t.fileAttachmentIconType,size:"x-small"},key:16}):null])]),c(T,18,[h(1,{attrs:{title:t.fileAttachmentName}},null),h(2,null,u(t.fileAttachmentName))])])])]),d("div",E,[t.isFileAttachmentInbound?d("button",{classMap:U,attrs:{title:t.labels.FileDownloadButtonTitle,"aria-label":t.labels.FileDownloadButtonAssistiveText,id:l("fileDownloadButton")},key:20,on:S||(n._m3={click:o(t.handleFileDownload)})},[r("lightning-icon",m.default,{props:{iconName:"utility:download",alternativeText:"Download",ariaHidden:"true",size:"xx-small",id:l("fileDownloadButtonIcon")},key:21})]):null])])]}var D=t.registerTemplate(C);C.stylesheets=[],C.stylesheetToken="lwc-2a3urm58oh2",C.legacyStylesheetToken="embeddedMessaging-fileAttachmentMessage_fileAttachmentMessage",u&&C.stylesheets.push.apply(C.stylesheets,u),t.freezeTemplate(C);const P="EmbeddedMessaging-FileAttachmentMessage",S="FullSizePreview",x="ThumbnailPreview";class k extends t.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.attachment=void 0,this.labels={},this.configuration=void 0,this.defaultAttachmentIcon=l.defaultIcons.ATTACHMENT_ICON,this.spinnerColorToken="--inputFooterButton",this._previewType=x}connectedCallback(){this.handleLabels()}renderedCallback(){this.isDownloadDisabled()}handleLabels(){this.labels.FileSendingText=o.getLabel("EmbeddedMessagingFileAttachments","FileSendingText"),this.labels.FileDownloadButtonTitle=o.getLabel("EmbeddedMessagingFileAttachments","DownloadFileButtonTitle"),this.labels.FileDownloadButtonAssistiveText=o.getLabel("EmbeddedMessagingFileAttachments","DownloadFileButtonAssistiveText"),this.labels.FileEndUserSentFileAttachmentAssistiveText=o.getLabel("EmbeddedMessagingFileAttachments","EndUserSentFileAttachmentAssistiveText")}get fileAttachmentName(){return this.conversationEntry.isMessageOutbound?this.hasFileSendFailed||this.attachment&&this.isFileUploadComplete()?this.attachment.name:this.labels.FileSendingText:this.attachment?this.attachment.name:""}get fileAttachmentIconType(){if(this.attachment)return d.getFileAttachmentIconType(this.attachment.mimeType)}get attachmentMessageWrapperClassName(){const e="attachmentMessageWrapper slds-file slds-has-title";return this.attachment?this.hasFileSendFailed?`${e} fileSendFailed`:e:`${e} slds-file_loading`}get downloadButton(){return this.template&&this.template.querySelector(".attachmentMessageFooterControls > .downloadButton")?this.template.querySelector(".attachmentMessageFooterControls > .downloadButton"):void 0}isDownloadDisabled(){const e=this.downloadButton;e&&(this.hasFileSendFailed||!this.attachment?e.disabled=!0:e.disabled=!1)}get showFileSendingSpinner(){return this.conversationEntry.isMessageOutbound&&this.attachment&&!this.isFileUploadComplete()}get hasFileSendFailed(){return this.conversationEntry.hasSendFailed}get isFileAttachmentInbound(){return!this.conversationEntry.isMessageOutbound}get fileAltText(){return this.isFileAttachmentInbound?"":this.labels.FileEndUserSentFileAttachmentAssistiveText}handleFileDownload(e){const t=this.fileDownloadUrl;let i=!1;t&&(s.util.isDesktop()||!s.util.isIOSChrome()&&!s.util.isMobilePublisherApp()||(i=!0),s.LoggingUtil.logCurrentState(P,{method:"handleFileDownload",stateMessage:`Attempting to download ${this.attachment.name} file of type ${this.attachment.mimeType} having the public link ${t}`}),s.util.sendPostMessageToOrigin(s.util.getParentWindowUrl(),s.events.EMBEDDED_MESSAGING_DOWNLOAD_FILE,{attachmentDownloadURL:t,shouldOpenFileInNewTab:i})),s.LoggingUtil.logInteraction(e,this,P,{method:"handleFileDownload"})}
451get fileDownloadUrl(){return this.conversationEntry.isMessageOutbound?"":this.attachment&&this.attachment.url?this.attachment.url:""}set previewType(e){this._previewType=e}get previewType(){return this._previewType}get filePreviewUrl(){let e="";try{if(this.isFileAttachmentInbound)if(d.attachmentTypeUtil.isAttachmentTypePDF(this.attachment.mimeType)){const t=decodeURIComponent(decodeURIComponent(this.fileDownloadUrl)),i=t.split("/sfc")[0],n=t.match(/ids=(.*?)&/i)[1],a="THUMB720BY480",s="/sfc/dist/version/renditionDownload?rendition=",l="/sfc/p/",o=t.match(/&d=\/a(.*?)&asPdf/i)[1],r=this.configuration.orgId,d=this.configuration.orgId.match(/00D(.*)/)[1];e=this.previewType===S?i+l+d+"/a"+o:i+s+a+"&versionId="+n+"&d=/a"+o+"&oid="+r}else d.attachmentTypeUtil.isAttachmentTypeImage(this.attachment.mimeType)?"image/tiff"!==this.attachment.mimeType&&(e=this.fileDownloadUrl):e=""}catch(t){e="",s.LoggingUtil.logError(t,P,{method:"filePreviewUrl",errMessage:`Something went wrong in generating a ${this.previewType} for a file of ${this.attachment.mimeType} type. Expected a valid public link format for the file, instead received: ${this.fileDownloadUrl}`,convEntryId:this.conversationEntry.messageId})}return e}handleThumbnailPreviewLoad(){s.LoggingUtil.logCurrentState(P,{method:"handleThumbnailPreviewLoad",stateMessage:`${this.previewType} URL: ${this.filePreviewUrl} generated for ${this.attachment.name} file of type ${this.attachment.mimeType} having the public link ${this.fileDownloadUrl}`})}handlePreviewRegionClick(e){d.attachmentTypeUtil.isAttachmentTypePDF(this.attachment.mimeType)&&(this._previewType=S);const t=this.filePreviewUrl;t&&r.dispatchEvent(s.events.EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT,{bubbles:!0,composed:!0,attachmentUrl:t,attachmentName:this.fileAttachmentName,attachmentType:this.attachment.mimeType}),this._previewType=x,e&&(e.stopPropagation(),s.LoggingUtil.logInteraction(e,this,P,{method:"handlePreviewRegionClick"}))}handlePreviewRegionKeyDown(e){e&&(e.key!==s.KEY_CODES.ENTER&&e.key!==s.KEY_CODES.SPACE||e.currentTarget.click())}get previewContainerClassName(){let e="previewContainer "+(this.isFileAttachmentInbound?"slds-file__figure "+(d.attachmentTypeUtil.isAttachmentTypePDF(this.attachment.mimeType)||d.attachmentTypeUtil.isAttachmentTypeImage(this.attachment.mimeType)&&this.filePreviewUrl?"":"disabled"):"slds-file__figure disabled");const t=new Image;return t.src=this.filePreviewUrl,t.onload=()=>{t.naturalWidth>t.naturalHeight&&(e+=" slds-file__figure_portrait")},e}get generatePreviewContainerTabIndex(){return this.isFileAttachmentInbound?0:-1}get generatePreviewContainerRole(){return this.isFileAttachmentInbound?"button":"none"}get fileUploadResult(){return this.attachment&&this.attachment.attachmentUploadResult&&this.attachment.attachmentUploadResult.resultType}isFileUploadComplete(){return this.fileUploadResult===h.ATTACHMENT_UPLOAD_RESULT_TYPE.COMPLETED}isFileUploadPending(){return this.fileUploadResult===h.ATTACHMENT_UPLOAD_RESULT_TYPE.PENDING}hasFileUploadFailed(){return this.fileUploadResult===h.ATTACHMENT_UPLOAD_RESULT_TYPE.ERROR}}t.registerDecorators(k,{publicProps:{conversationEntry:{config:0},attachment:{config:0},configuration:{config:0},previewType:{config:3},filePreviewUrl:{config:1}},track:{labels:1},fields:["defaultAttachmentIcon","spinnerColorToken","_previewType"]});const N=t.registerComponent(k,{tmpl:D,sel:"embeddedMessaging-file-attachment-message",apiVersion:66,enableSyntheticElementInternals:!0});e.default=N,Object.defineProperty(e,"__esModule",{value:!0})});
452})();LWR.define('embeddedmessaging/fileAttachmentMessage', ['embeddedMessaging/fileAttachmentMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEmbedYoutube",["exports","lwc"],function(e,t){var s=[function(e,t,s){var n=e?"["+e+"]":"";return"div.videoContainer"+n+" {margin-top: .2em;width: 74vw;max-width: 74vw;justify-self: flex-end;}iframe"+n+" {width: 100%;height: 100%;aspect-ratio: 16/9;}"}];const n={videoContainer:!0};function r(e,t,s,r){const{k:o,ncls:i,h:a,i:l}=e;return l(t.conversationEntry.youtubeEmbedLinks,function(e){return a("div",{classMap:n,key:o(0,e)},[a("div",{className:i(t.messageBubbleClass),key:1},[a("iframe",{attrs:{src:e,title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
452 web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},key:2})])])})}var o=t.registerTemplate(r);r.stylesheets=[],r.stylesheetToken="lwc-6dobtq8qc9v",r.legacyStylesheetToken="embeddedMessaging-conversationEmbedYoutube_conversationEmbedYoutube",s&&r.stylesheets.push.apply(r.stylesheets,s),t.freezeTemplate(r);class i extends t.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.messageBubbleClass=void 0}}t.registerDecorators(i,{publicProps:{conversationEntry:{config:0},messageBubbleClass:{config:0}}});const a=t.registerComponent(i,{tmpl:o,sel:"embeddedMessaging-conversation-embed-youtube",apiVersion:66,enableSyntheticElementInternals:!0});e.default=a,Object.defineProperty(e,"__esModule",{value:!0})});
453})();LWR.define('embeddedmessaging/conversationEmbedYoutube', ['embeddedMessaging/conversationEmbedYoutube'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationLinkMessage",["exports","lwc","lightning/icon","embeddedMessaging/constants","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(e,n,i,t,a,r,s){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(i);var c=[function(e,n,i){var t=e?"["+e+"]":"";return"div.conversation-link-message__panel"+t+" {display: inline-block;width: 15rem;overflow: hidden;overflow-wrap: break-word;white-space: pre-line;word-wrap: break-word;text-align: center;background-color: var(--slds-g-color-neutral-base-95, #f2f2f3);max-width: 50vw;border: 1px solid var(--slds-g-color-neutral-base-95, #f3f2f2);}div.conversation-link-message__panel.defaultLinkImage"+t+" {display: flex;flex-direction: column;}div.conversation-link-message__panel_inbound"+t+" {border-radius: 0.25rem 0.25rem 0.25rem 0;color: var(--contrastPrimaryColor, #333333);margin-right: auto;min-height: 2rem;}div.conversation-link-message__panel_outbound"+t+" {border-radius: 0.25rem 0.25rem 0;color: var(--slds-g-color-neutral-base-100, #ffffff);margin-left: auto;min-height: 2rem;}div.conversation-link-message__content_outbound"+t+" {background-color: var(--userMessageBackgroun
453d, #2E2E2E);color: var(--userMessageLink, #FFFFFF);}div.conversation-link-message__content_inbound"+t+" {background-color: var(--agentMessageBackground, #F3F3F3);color: var(--agentMessageLink, #0469C1);}div.conversation-link-message__content_outbound"+t+" span:hover"+t+",div.conversation-link-message__content_inbound"+t+" span:hover"+t+" {text-decoration: underline;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+" div.conversation-link-message__panel_outbound"+t+" {border-radius: 0.25rem 0.25rem 0.25rem 0;}"+(i?"":'[dir="rtl"]')+" "+(i?":dir(rtl)":"")+" div.conversation-link-message__content_inbound"+t+" {border-radius: 0.25rem 0.25rem 0;}div.conversation-link-message__content"+t+" {padding: 1rem;text-align: left;}div.linkIconContainer"+t+" {display: flex;justify-content: center;width: 100%;height: 6rem;background-color: var(--slds-g-color-neutral-base-95, #f3f2f2);}.linkIconContainer"+t+" .slds-icon_container"+t+" {align-self: center;}span.linkUrlDomain"+t+" {text-decoration: underline;}"}];const d=n.parseFragment`<div${3}><img${"a1:src"} alt${3}></div>`,g=n.parseFragment`<div${"c0"}${2}><span${3}>${"t2"}</span><br${3}><span class="linkUrlDomain${0}"${2}>${"t5"}</span></div>`,m={classMap:{linkIconContainer:!0},key:4},v={props:{iconName:"utility:link",size:"small"},key:5};function h(e,n,i,t){const{b:a,ncls:r,sp:s,st:o,c:c,h:h,d:k}=e,{_m0:u,_m1:p}=t;return[h("a",{attrs:{href:n.linkUrl,target:"_blank",rel:"noopener noreferrer",title:n.linkTitle},key:0,on:u||(t._m0={click:a(n.handleConversationEntryClick)})},[h("div",{className:r(n.generateDisplayClass),key:1},[n.shouldDisplayLinkImage&&n.hasValidLinkImageUrl?o(d,3,[s(1,{on:p||(t._m1={load:a(n.handleImageLoad),error:a(n.handleInvalidImageUrl)}),attrs:{src:n.conversationEntry.linkImageUrl}},null)]):null,n.shouldDisplayLinkImage?n.hasValidLinkImageUrl?null:h("div",m,[c("lightning-icon",l.default,v)]):null,o(g,7,[s(0,{className:r(n.generateContentDisplayClass)},null),s(2,null,k(n.linkTitle)),s(5,null,k(n.linkUrlDomain))])])])]}var k=n.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-1g368pmbh5p",h.legacyStylesheetToken="embeddedMessaging-conversationLinkMessage_conversationLinkMessage",c&&h.stylesheets.push.apply(h.stylesheets,c),n.freezeTemplate(h);class u extends n.LightningElement{constructor(...e){super(...e),this.conversationEntry=void 0,this.linkUrlDomain=void 0,this.hasValidLinkImageUrl=void 0}connectedCallback(){try{this.conversationEntry.isRichLink&&(this.hasValidLinkImageUrl=this.validateLinkImageUrl(this.conversationEntry.linkImageUrl)),this.linkUrlDomain=this.extractLinkUrlDomain(this.conversationEntry.linkUrl||this.conversationEntry.webViewURL)}catch(e){throw new Error("URL failed validation: "+e)}}renderedCallback(){a.dispatchEvent(r.events.EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER_EVENT,{bubbles:!0})}errorCallback(e,n){r.error(`${e&&e.message?e.message:e} \nThrown from ${n}`)}get conversationDirectionality(){return this.conversationEntry.isWebViewChatMessage&&this.conversationEntry.actorType===t.ParticipantRoles.SYSTEM?t.ConversationMessageDirectionality.INBOUND:u.directionalityMap.get(this.conversationEntry.actorType.toLowerCase())}get linkUrl(){return this.conversationEntry.isRichLink?this.conversationEntry.linkUrl:this.conversationEntry.webViewURL}get linkTitle(){return this.conversationEntry.isRichLink?this.conversationEntry.linkTitle:t.getTitle(this.conversationEntry.webViewTitle)||s.getLabel("EmbeddedMessagingPostchat","PostchatFrameTitle")}get generateDisplayClass(){return"conversation-link-message__panel conversation-link-message__panel_"+this.conversationDirectionality+(this.conversationEntry.isRichLink?this.hasValidLinkImageUrl?"":" defaultLinkImage":"")}get generateContentDisplayClass(){return"conversation-link-message__content conversation-link-message__content_"+this.conversationDirectionality}get shouldDisplayLinkImage(){return!this.conversationEntry.isWebViewChatMessage}validateLinkImageUrl(e){return null!=e&&"string"==typeof e&&""!==e}extractLinkUrlDomain(e){const n=r.DOMAIN_REGEX.exec(e);return n?n[1]:""}handleImageLoad(){a.dispatchEvent(r.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED,{entry:this.conversationEntry})}handleInvalidImageUrl(){this.hasValidLinkImageUrl=!1}handleConversationEntryClick(e){e&&e.stopPropagation()}}u.directionalityMap=new Map([[t.ParticipantRoles.AGENT.toLowerCase(),t.ConversationMessageDirectionality.INBOUND],[t.ParticipantRoles.CHATBOT.toLowerCase(),t.ConversationMessageDirectionality.INBOUND],[t.ParticipantRoles.SYSTEM.toLowerCase(),t.ConversationMessageDirectionality.SYSTEM],[t.ParticipantRoles.ENDUSER.toLowerCase(),t.ConversationMessageDirectionality.OUTBOUND]]),n.registerDecorators(u,{publicProps:{conversationEntry:{config:0}},fields:["linkUrlDomain","hasValidLinkImageUrl"]});const p=n.registerComponent(u,{tmpl:k,sel:"embeddedMessaging-conversation-link-message",apiVersion:66,enableSyntheticElementInternals:!0});
453e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
454})();LWR.define('embeddedmessaging/conversationLinkMessage', ['embeddedMessaging/conversationLinkMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationFormMessage",["exports","lwc","lightning/icon","embeddedmessaging/spinner","embeddedMessaging/brandingUtils","embeddedMessaging/common","embeddedMessaging/labelUtils","embeddedMessaging/constants","embeddedMessaging/globalEventStore"],function(e,s,t,i,r,a,o,n,m){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=d(t),g=d(i);var c=[function(e,s,t){var i=e?"["+e+"]":"";return"div.conversation-form-message"+i+" {display: flex;margin-right: auto;min-height: 2rem;max-width: 50vw;}.slds-chat-listitem.slds-chat-listitem_inbound"+i+",.slds-chat-listitem.slds-chat-listitem_outbound"+i+" {margin-top: 0;}.container"+i+" {margin-right: auto;background-color: #e5e5e5;color: #181818;}.embedded-messaging-inbound-form-message.container.disabled"+i+",.embedded-messaging-outbound-form-message.container.disabled"+i+" {pointer-events: none;}.embedded-messaging-inbound-form-message"+i+","+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-outbound-form-message"+i+" {border-radius: .25rem .25rem .25rem 0;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-inbound-form-message"+i+",.embedded-messaging-outbound-form-message"+i+" {border-radius: .25rem .25rem 0 .25rem;}.formMesssage"+i+" {display: flex;background: none;border: none;padding: 0;overflow: hidden;align-items: stretch;}.embedded-messaging-inbound-form-button"+i+" {border-radius: .25rem .25rem .25rem 0;}.embedded-messaging-outbound-form-button"+i+" {border-radius: .25rem .25rem 0 .25rem;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .embedded-messaging-inbound-form-button"+i+" {border-radius: .25rem .25rem 0 .25rem;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .embedded-messaging-outbound-form-button"+i+" {border-radius: .25rem .25rem .25rem 0;}.embedded-messaging-outbound-form-button.hasSpinner"+i+" {align-items: center;}.embedded-messaging-outbound-form-button.hasSpinner"+i+" > .showAnimation"+i+" {width: 40%;}.embedded-messaging-form-icon"+i+" {padding: 0.5rem;border-radius: 0;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+" .embedded-messaging-form-icon"+i+" {transform: scaleX(-1);}.embedded-messaging-form-icon.active"+i+" {background-color: var(--primaryButtonBackground, #444444);}.embedded-messaging-form-icon.inactive"+i+",.embedded-messaging-form-icon.inactive:hover"+i+" {background-color: #aeaeae;}.embedded-messaging-inbound-form-title-container"+i+",.embedded-messaging-outbound-form-title-container"+i+" {display: flex;align-items: center;padding: 3px 5px;}.embedded-messaging-inbound-form-title-container"+i+" {background-color: var(--agentMessageBackgroun
454d, #F3F3F3);}.embedded-messaging-outbound-form-title-container"+i+" {background-color: var(--userMessageBackground, #2E2E2E);}.embedded-messaging-inbound-form-title"+i+",.embedded-messaging-outbound-form-title"+i+" {text-align: left;}"+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-inbound-form-title"+i+","+(t?"":'[dir="rtl"]')+" "+(t?":dir(rtl)":"")+".embedded-messaging-outbound-form-title"+i+" {text-align: right;}.embedded-messaging-inbound-form-title"+i+" {padding: 0 0.5rem;color: var(--agentMessageText, #181818);}.embedded-messaging-outbound-form-title"+i+" {padding: 0 0.5rem 0 0;color: #fff;}"}];const u=s.parseFragment`<div${"c0"}${2}><span${"c1"}${2}>${"t2"}</span></div>`,b=s.parseFragment`<div${"c0"}${2}><span${"c1"} tabindex="-1" aria-live="polite"${2}>${"t2"}</span></div>`;function S(e,s,t,i){const{ncls:r,b:a,c:o,d:n,sp:m,st:d,h:c}=e,{_m0:S}=i;return[c("div",{className:r(s.generateFormMessageListItemClass),key:0},[c("div",{className:r(s.generateFormMessageContainerClass),key:1},[s.isFormMessageInbound?c("button",{className:r(s.generateFormMessageButtonClass),attrs:{disabled:s.isDisabled?"":null},key:2,on:S||(i._m0={click:a(s.handleFormButtonClick)})},[o("lightning-icon",l.default,{className:r(s.generateFormMessageIconClass),props:{iconName:s.formIconName,size:"x-small",variant:"inverse"},key:3}),d(u,5,[m(0,{className:r(s.generateFormTitleContainerClass)},null),m(1,{className:r(s.generateFormTitleClass)},null),m(2,null,n(s.formTitle))])]):null,s.isFormMessageInbound?null:c("div",{className:r(s.generateFormMessageButtonClass),key:6},[s.isSubmittingForm?o("embeddedmessaging-spinner",g.default,{props:{spinnerColorToken:s.spinnerColorToken,size:s.spinnerSize,isInline:s.isInlineSpinner,shouldDisplay:s.isSubmittingForm,assistiveText:s.labels.pendingSecureFormResponse},key:7}):null,s.isSubmittingForm?null:o("lightning-icon",l.default,{className:r(s.generateFormMessageIconClass),props:{iconName:s.formIconName,size:"x-small",variant:"inverse"},key:8}),d(b,10,[m(0,{className:r(s.generateFormTitleContainerClass)},null),m(1,{className:r(s.generateFormTitleClass)},null),m(2,null,n(s.formTitle))])])])])]}var f=s.registerTemplate(S);S.stylesheets=[],S.stylesheetToken="lwc-2tdfgh865gt",S.legacyStylesheetToken="embeddedMessaging-conversationFormMessage_conversationFormMessage",c&&S.stylesheets.push.apply(S.stylesheets,c),s.freezeTemplate(S);class h extends s.LightningElement{constructor(...e){super(...e),this.labels={},this.formState=void 0,this.formSections=void 0,this.spinnerColorToken=r.BRANDING_TOKENS.CONTRAST_PRIMARY_COLOR,this.spinnerSize="x-small",this.isInlineSpinner=!0,this.isInitialFormResult=!0,this._formTitle=void 0,this.conversationStatus=void 0,this.conversationId=void 0,this.messageId=void 0,this._isSelectedOrRepliedTo=!1}get formTitle(){let e;switch(this.formState){case n.FormMessageState.ERROR:e=this.labels.errorSecureFormResponse;break;case n.FormMessageState.SUCCESS:e=this.labels.successfulSecureFormResponse;break;case n.FormMessageState.PENDING:e=this.labels.pendingSecureFormResponse;break;case n.FormMessageState.INITIAL:default:e=this._formTitle}return e}set formTitle(e){this._formTitle=e}get isRepliedTo(){return this._isSelectedOrRepliedTo||this.formState===n.FormMessageState.INACTIVE}set isRepliedTo(e){this._isSelectedOrRepliedTo=e}get isDisabled(){return this.isRepliedTo||this.formState===n.FormMessageState.ERROR||this.formState===n.FormMessageState.SUCCESS||this.formState===n.FormMessageState.PENDING||this.conversationStatus===n.ConversationStatus.CLOSED_CONVERSATION}get formMessageAssistiveText(){switch(this.formState){case n.FormMessageState.INITIAL:return this.labels.openSecureForm;case n.FormMessageState.INACTIVE:return this.labels.disabledSecureForm;case n.FormMessageState.ERROR:return this.labels.errorSecureFormResponse;case n.FormMessageState.SUCCESS:return this.labels.successfulSecureFormResponse;case n.FormMessageState.PENDING:return this.labels.pendingSecureFormResponse;default:return""}}get formMessageDirectionality(){switch(this.formState){case n.FormMessageState.INITIAL:case n.FormMessageState.INACTIVE:return n.ConversationMessageDirectionality.INBOUND;case n.FormMessageState.ERROR:case n.FormMessageState.SUCCESS:case n.FormMessageState.PENDING:default:return n.ConversationMessageDirectionality.OUTBOUND}}get isFormMessageInbound(){return this.formMessageDirectionality===n.ConversationMessageDirectionality.INBOUND}get isSubmittingForm(){switch(this.formState){case n.FormMessageState.PENDING:return!0;case n.FormMessageState.INITIAL:case n.FormMessageState.INACTIVE:case n.FormMessageState.ERROR:case n.FormMessageState.SUCCESS:default:return!1}}get formIconName(){switch(this.formState){case n.FormMessageState.ERROR:return"utility:error";case n.FormMessageState.INITIAL:case n.FormMessageState.INACTIVE:case n.FormMessageState.SUCCESS:default:return"utility:list"}}get generateFormMessageListItemClass(){return"slds-chat-listitem slds-chat-listitem_"+this.formMessageDirectionality}get generateFormMessageIconClass(){return"embedded-messaging-form-icon "+(this.isRepliedTo?"inactive":"active")}get generateFormMessageContainerClass(){return`embedded-messaging-${this.formMessageDirectionality}-form-message container ${this.isDisabled?"disabled":"enabled"}`}get generateFormMessageButtonClass(){return`formMesssage embedded-messaging-${this.formMessageDirectionality}-form-button ${this.isSubmittingForm?"hasSpinner":""}`}get generateFormTitleContainerClass(){return`embedded-messaging-${this.formMessageDirectionality}-form-title-container`}get generateFormTitleClass(){return`embedded-messaging-${this.formMessageDirectionality}-form-title`}connectedCallback(){this.handleLabels()}renderedCallback(){!this.isFormMessageInbound&&this.isSubmittingForm&&this.isInitialFormResult&&(this.setFocusOnFormResult(),this.isInitialFormResult=!1)}handleLabels(){this.labels.openSecureForm=o.getLabel("EmbeddedMessagingSecureForm","FormButtonInitialStateAssistiveText"),this.labels.disabledSecureForm=o.getLabel("EmbeddedMessagingSecureForm","FormButtonInactiveStateAssistiveText"),this.labels.errorSecureFormResponse=o.getLabel("EmbeddedMessagingSecureForm","FormButtonErrorResponseStateTitle"),this.labels.successfulSecureFormResponse=o.getLabel("EmbeddedMessagingSecureForm","FormButtonSuccessResponseStateTitle"),this.labels.pendingSecureFormResponse=o.getLabel("EmbeddedMessagingSecureForm","FormButtonPendingStateTitle")}handleFormButtonClick(e){e&&!this.isRepliedTo&&(e.preventDefault(),e.stopPropagation(),m.dispatchEvent(a.events.EMBEDDED_MESSAGING_FORM_MESSAGE_CLICK_EVENT,{formSections:this.formSections,formTitle:this.formTitle,formMessageButtonId:this.messageId}),a.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-ConversationFormMessage",{method:"handleFormButtonClick",feature:this.messageId}))}setFocusOnFormResult(){const e=this.querySelectFormResultTitle();e&&a.util.waitForFrame(()=>{e.focus()})}querySelectFormResultTitle(){return this.template&&this.template.querySelector(".embedded-messaging-outbound-form-title")?this.template.querySelector(".embedded-messaging-outbound-form-title"):void 0}}s.registerDecorators(h,{publicProps:{formState:{config:0},formSections:{config:0},formTitle:{config:3},conversationStatus:{config:0},conversationId:{config:0},messageId:{config:0},isRepliedTo:{config:3}},publicMethods:["handleFormButtonClick"],track:{labels:1},fields:["spinnerColorToken","spinnerSize","isInlineSpinner","isInitialFormResult","_formTitle","_isSelectedOrRepliedTo"]});const F=s.registerComponent(h,{tmpl:f,sel:"embeddedMessaging-conversation-form-message",apiVersion:66,enableSyntheticElementInternals:!0});
454e.default=F,Object.defineProperty(e,"__esModule",{value:!0})});
455})();LWR.define('embeddedmessaging/conversationFormMessage', ['embeddedMessaging/conversationFormMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/inAppService",["exports","lwc","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/globalEventStore","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/webStorageUtils"],function(e,t,r,n,o,i,a){const s=t.registerComponent(class{constructor(e,t,n,o){this.endpoint=e,this.apiPrefix=t,this.apiVersion=n,this.authMode=Object.values(r.AUTH_MODE).includes(o)?o:null}setEndpoint(e){try{this.validateString(e),this.endpoint=e}catch(e){throw new Error(e)}}getEndpoint(){return this.endpoint}setApiPrefix(e){try{this.validateString(e),this.apiPrefix=e}catch(e){throw new Error(e)}}getApiPrefix(){return this.apiPrefix}setApiVersion(e){try{this.validateString(e),this.apiVersion=e}catch(e){throw new Error(e)}}getApiVersion(){return this.apiVersion}setJwt(e){try{this.validateString(e),this.jwt=e}catch(e){throw new Error(e)}}getJwt(){return this.jwt}clearJwt(){this.jwt=void 0}setAuthMode(e){try{n.authUtil.validateAuthMode(e),this.authMode=e}catch(e){throw new Error(e)}}getAuthMode(){return this.authMode}getFullApiPath(e){return[this.endpoint,this.apiPrefix,this.apiVersion,e].filter(e=>"string"==typeof e).join("/")}validateString(e){if("string"!=typeof e)throw new Error(`Expected string type, but received: ${e}.`);if(e.trim().length<1)throw new Error(`Expected a string of length greater than 0, but received: ${e}.`)}},{tmpl:void 0,sel:"embeddedMessaging-in-app-service",apiVersion:66,enableSyntheticElementInternals:!0}),l="EmbeddedMessaging-EventSourceService";let c,g,u;const d=e=>{g=e},p=()=>g,h=(e,t)=>{if("object"!=typeof c)throw new Error(`Expected EventSource object to be a valid object, but received: ${c}`);if("string"!=typeof e||!e.length)throw new Error(`Expected a valid string to either add or remove event listeners, but received: ${e}`);Object.entries(t).forEach(t=>{const[r,n]=t;if("string"!=typeof r)throw new Error(`Expected event listener name parameter to be a valid string, but received: ${r}.`);if(r.trim().length<1)throw new Error(`Expected event listener name parameter to be a string with length greater than 0, but received: ${r}.`);if("function"!=typeof n)throw new Error(`Expected event listener handler parameter to be a function, but received: ${n}.`);c[e](r,n)})},E=(t,i,s)=>{let g,d=0,E=1;if(g="number"==typeof s?s:10,"string"!=typeof t||!t.length)throw new Error(`Expected full API path parameter to be a valid string, but received: ${t}.`);if("object"!=typeof i)throw new Error(`Expected event listener map parameter to be a valid object map, but received: ${i}.`);const m=(s,v)=>{if(a.getItemInWebStorageByKey(r.STORAGE_KEYS.SSE_STATUS,!1)===r.SseStatus.LONG_POLLING)return;const S=()=>{clearTimeout(u),u=null,o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT,{})};try{c=new window.EventSourcePolyfill(t,{headers:{Authorization:"Bearer "+e.inAppService.getJwt(),"X-Org-ID":He(),"Last-Event-ID":p()},heartbeatTimeout:9e4},()=>{n.LoggingUtil.logCurrentState(l,{method:"resolveEventSource",stateMessage:`Callback from EventSourcePolyfill.connect at ${Date.now()}.`})}),c.onopen=()=>{d=0,E=1,h("addEventListener",i),S(),n.LoggingUtil.logCurrentState(l,{method:"resolveEventSource",stateMessage:`SSE connection opened at ${Date.now()}.`}),s()},c.onerror=e=>{try{n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:`Error in Event Source - ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`})}catch(e){n.log(`Something went wrong in logging the event source error with O11y - attempt ${d}.`)}const t=(e=>e&&e.data&&e.data.includes("RegistryValueReplacedException")&&e.data.includes("A newer value has arrived, so this one is disposed"))(e);if(u||t||(u=setTimeout(()=>o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT,{}),2500)),h("removeEventListener",i),c.close(),n.LoggingUtil.logCurrentState(l,{method:"resolveEventSource",stateMessage:`SSE connection closed at ${Date.now()}.`}),e&&"number"==typeof e.status)(e=>e&&423===e.status&&e.data&&e.data.includes(r.SCRT_SERVER_ERROR_CODES.ORG_MIGRATED))(e)?(n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:`Received a ${e.status} ${e.data}: Org has been migrated - reconnecting to Event Source with new JWT.`,errCode:e.status}),o.dispatchEvent(n.events.EMBEDDED_MESSAGING_ON_ORG_MIGRATED_EVENT)):(e=>e&&e.status&&429===e.status)(e)?(n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:`Received a ${e.status} Too Many Requests error. SSE connection closed at ${Date.now()}.`,errCode:e.status}),S(),g>0?o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_ERROR_EVENT,{detail:{error:r.SSE_REQUEST_RATE_LIMITED_ERROR}}):v(e)):(n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:`Received an unknown error from Event Source. ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`}),v(e));else if(t)n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:`Received a RegistryValueReplacedException: ${e.data}`}),v(e.data);else if(d<g){try{n.LoggingUtil.logCurrentState(l,{method:"resolveEventSource",stateMessage:`Attempting to re
455connect to the event source - attempt ${d}.`})}catch(e){n.log(`Something went wrong in logging the event source reconnect attempts with O11y - attempt ${d}.`)}d++,setTimeout(()=>m(s,v),1e3*E),E=Math.min(2*E,60)}else n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:"SSE maximum retry attempts reached."}),c.close(),n.LoggingUtil.logCurrentState(l,{method:"resolveEventSource",stateMessage:`SSE connection closed at ${Date.now()}.`}),S(),g>0?(setTimeout(()=>o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_ERROR_EVENT,{detail:{error:r.SSE_TOO_MANY_RETRIES}}),1350),v(r.SSE_TOO_MANY_RETRIES)):v(e)}}catch(e){n.LoggingUtil.logError("Event Source error",l,{method:"resolveEventSource",errMessage:`Something went wrong in handling Event Source connection. ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`}),v(e)}};return new Promise(m)},m="EmbeddedMessaging-LongPollingService";let v=!1,S=!1,f=!1,y=null,w=null,A=0,T=1;const b=()=>{const t={Accept:"application/json",Authorization:"Bearer "+e.inAppService.getJwt(),"X-Org-ID":He()},r=p();return r&&(t["Last-Event-ID"]=r),t},R=async(t,i)=>{const a=await fetch((t=>e.inAppService.getEndpoint().concat(`/eventrouter/v1/poll?timeout=${t}&_ts=${Date.now()}`))(t),{method:"GET",signal:w.signal,headers:b()});if(!a.ok){if(console.error(`[LongPolling] Poll request failed with status ${a.status}.`),n.LoggingUtil.logError("Long polling error",m,{method:"makePollRequest",errMessage:`Poll request failed with status ${a.status}.`,errCode:a.status}),401===a.status||403===a.status)return _(),!1;if(429===a.status)return _(),o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_ERROR_EVENT,{detail:{error:r.SSE_REQUEST_RATE_LIMITED_ERROR}}),!1;if(423===a.status)try{const e=await a.json();if(e&&e.errorCode===r.SCRT_SERVER_ERROR_CODES.ORG_MIGRATED)return _(),o.dispatchEvent(n.events.EMBEDDED_MESSAGING_ON_ORG_MIGRATED_EVENT),!1;if(e&&(e.errorCode===r.SCRT_SERVER_ERROR_CODES.ORG_NOT_SUPPORTED||e.errorCode===r.SCRT_SERVER_ERROR_CODES.ORG_UNDER_MAINTENANCE))return _(),!1}catch(e){n.LoggingUtil.logError("Long polling error",m,{method:"makePollRequest",errMessage:`Failed to parse 423 response body: ${e.message}`})}throw new Error(`HTTP error ${a.status}`)}if("true"===a.headers.get("X-Replaced"))return n.LoggingUtil.logCurrentState(m,{method:"makePollRequest",stateMessage:"Poll superseded by newer request."}),!1;if(204===a.status)return console.debug("[LongPolling] Poll request succeeded with no new events (204)."),n.LoggingUtil.logCurrentState(m,{method:"makePollRequest",stateMessage:"Poll request succeeded with no new events (204)."}),!0;const s=await a.json(),l=s.events||s;return s.lastEventId&&d(s.lastEventId),((e,t)=>{Array.isArray(e)&&0!==e.length&&e.forEach(e=>{e.id&&d(e.id);const r=t[e.event];r&&r({data:"string"==typeof e.data?e.data:JSON.stringify(e.data)})})})(l,i),console.debug(`[LongPolling] Poll request succeeded with ${Array.isArray(l)?l.length:0} event(s).`),n.LoggingUtil.logCurrentState(m,{method:"makePollRequest",stateMessage:`Poll request succeeded with ${Array.isArray(l)?l.length:0} event(s).`}),!0},_=()=>{v=!1,S=!1,f=!1,w?.abort(),w=null,y=null,A=0,T=1,console.log("[LongPolling] Long polling stopped."),n.LoggingUtil.logCurrentState(m,{method:"stopLongPolling",stateMessage:`Long polling stopped at ${Date.now()}.`})};function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach(function(t){N(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,O(n.key),n)}}function N(e,t,r){return(t=O(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
455for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}function O(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var L,P={exports:{}};L=P,"undefined"!=typeof window&&function(e){var t=e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype,r=e.Blob&&function(){try{return Boolean(new Blob)}catch(e){return!1}}(),n=r&&e.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(e){return!1}}(),o=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||e.MSBlobBuilder,i=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,a=(r||o)&&e.atob&&e.ArrayBuffer&&e.Uint8Array&&function(e){var t,a,s,l,c,g,u,d,p;if(!(t=e.match(i)))throw new Error("invalid data URI");for(a=t[2]?t[1]:"text/plain"+(t[3]||";charset=US-ASCII"),s=!!t[4],l=e.slice(t[0].length),c=s?atob(l):decodeURIComponent(l),g=new ArrayBuffer(c.length),u=new Uint8Array(g),d=0;d<c.length;d+=1)u[d]=c.charCodeAt(d);return r?new Blob([n?u:g],{type:a}):((p=new o).append(g),p.getBlob(a))};e.HTMLCanvasElement&&!t.toBlob&&(t.mozGetAsFile?t.toBlob=function(e,r,n){var o=this;setTimeout(function(){n&&t.toDataURL&&a?e(a(o.toDataURL(r,n))):e(o.mozGetAsFile("blob",r))})}:t.toDataURL&&a&&(t.msToBlob?t.toBlob=function(e,r,n){var o=this;setTimeout(function(){(r&&"image/png"!==r||n)&&t.toDataURL&&a?e(a(o.toDataURL(r,n))):e(o.msToBlob(r))})}:t.toBlob=function(e,t,r){var n=this;setTimeout(function(){e(a(n.toDataURL(t,r)))})})),L.exports?L.exports=a:e.dataURLtoBlob=a}(window);var U=P.exports,$={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},x="undefined"!=typeof window&&void 0!==window.document?window:{},j=function(e){return e>0&&e<1/0},B=Array.prototype.slice;function G(e){return Array.from?Array.from(e):B.call(e)}var F=/^image\/.+$/;function k(e){return F.test(e)}var J=String.fromCharCode;var V=x.btoa;function q(e,t){for(var r=[],n=new Uint8Array(e);n.length>0;)r.push(J.apply(null,G(n.subarray(0,8192)))),n=n.subarray(8192);return"data:".concat(t,";base64,").concat(V(r.join("")))}function H(e){var t,r=new DataView(e);try{var n,o,i;if(255===r.getUint8(0)&&216===r.getUint8(1))for(var a=r.byteLength,s=2;s+1<a;){if(255===r.getUint8(s)&&225===r.getUint8(s+1)){o=s;break}s+=1}if(o){var l=o+10;if("Exif"===function(e,t,r){var n,o="";for(r+=t,n=t;n<r;n+=1)o+=J(e.getUint8(n));return o}(r,o+4,4)){var c=r.getUint16(l);if(((n=18761===c)||19789===c)&&42===r.getUint16(l+2,n)){var g=r.getUint32(l+4,n);g>=8&&(i=l+g)}}}if(i){var u,d,p=r.getUint16(i,n);for(d=0;d<p;d+=1)if(u=i+12*d+2,274===r.getUint16(u,n)){u+=8,t=r.getUint16(u,n),r.setUint16(u,1,n);break}}}catch(e){t=1}return t}var W=/\.\d*(?:0|9){12}\d*$/;function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return W.test(e)?Math.round(e*t)/t:e}function X(e){var t=e.aspectRatio,r=e.height,n=e.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",i=j(n),a=j(r);if(i&&a){var s=r*t;("contain"===o||"none"===o)&&s>n||"cover"===o&&s<n?r=n/t:n=r*t}else i?r=n/t:a&&(n=r*t);return{width:n,height:r}}var Y=x.ArrayBuffer,K=x.FileReader,Q=x.URL||x.webkitURL,Z=/\.\w+$/,ee=x.Compressor,te=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.file=t,this.exif=[],this.image=new Image,this.options=I(I({},$),r),this.aborted=!1,this.result=null,this.init()}var t,r,n;return t=e,n=[{key:"noConflict",value:function(){return window.Compressor=ee,e}},{key:"setDefaults",value:function(e){C($,e)}}],(r=[{key:"init",value:function(){var e=this,t=this.file,r=this.options;if(n=t,"undefined"!=typeof Blob&&(n instanceof Blob||"[object Blob]"===Object.prototype.toString.call(n))){var n,o=t.type;if(k(o))if(Q&&K){Y||(r.checkOrientation=!1,r.retainExif=!1);var i="image/jpeg"===o,a=i&&r.checkOrientation,s=i&&r.retainExif;if(!Q||a||s){var l=new K;this.reader=l,l.onload=function(r){var n=r.target.result,i={},l=1;a&&(l=H(n))>1&&C(i,function(e){var t=0,r=1,n=1;switch(e){case 2:r=-1;break;case 3:t=-180;break;case 4:n=-1;break;case 5:t=90,n=-1;break;case 6:t=90;break;case 7:t=90,r=-1;break;case 8:t=-90}return{rotate:t,scaleX:r,scaleY:n}}(l)),s&&(e.exif=function(e){for(var t=G(new Uint8Array(e)),r=t.length,n=[],o=0;o+3<r;){var i=t[o],a=t[o+1];if(255===i&&218===a)break;if(255===i&&216===a)o+=2;else{var s=o+(256*t[o+2]+t[o+3])+2,l=t.slice(o,s);n.push(l),o=s}}return n.reduce(function(e,t){return 255===t[0]&&225===t[1]?e.concat(t):e},[])}(n)),i.url=a||s?!Q||l>1?q(n,o):Q.createObjectURL(t):n,e.load(i)},l.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},l.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},l.onloadend=function(){e.reader=null}
455,a||s?l.readAsArrayBuffer(t):l.readAsDataURL(t)}else this.load({url:Q.createObjectURL(t)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var t=this,r=this.file,n=this.image;n.onload=function(){t.draw(I(I({},e),{},{naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}))},n.onabort=function(){t.fail(new Error("Aborted to load the image."))},n.onerror=function(){t.fail(new Error("Failed to load the image."))},x.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(x.navigator.userAgent)&&(n.crossOrigin="anonymous"),n.alt=r.name,n.src=e.url}},{key:"draw",value:function(e){var t=this,r=e.naturalWidth,n=e.naturalHeight,o=e.rotate,i=void 0===o?0:o,a=e.scaleX,s=void 0===a?1:a,l=e.scaleY,c=void 0===l?1:l,g=this.file,u=this.image,d=this.options,p=document.createElement("canvas"),h=p.getContext("2d"),E=Math.abs(i)%180==90,m=("contain"===d.resize||"cover"===d.resize)&&j(d.width)&&j(d.height),v=Math.max(d.maxWidth,0)||1/0,S=Math.max(d.maxHeight,0)||1/0,f=Math.max(d.minWidth,0)||0,y=Math.max(d.minHeight,0)||0,w=r/n,A=d.width,T=d.height;if(E){var b=[S,v];v=b[0],S=b[1];var R=[y,f];f=R[0],y=R[1];var _=[T,A];A=_[0],T=_[1]}m&&(w=A/T);var M=X({aspectRatio:w,width:v,height:S},"contain");v=M.width,S=M.height;var I=X({aspectRatio:w,width:f,height:y},"cover");if(f=I.width,y=I.height,m){var D=X({aspectRatio:w,width:A,height:T},d.resize);A=D.width,T=D.height}else{var N=X({aspectRatio:w,width:A,height:T}),C=N.width;A=void 0===C?r:C;var O=N.height;T=void 0===O?n:O}var L=-(A=Math.floor(z(Math.min(Math.max(A,f),v))))/2,P=-(T=Math.floor(z(Math.min(Math.max(T,y),S))))/2,$=A,x=T,B=[];if(m){var F,J,V,H,W=X({aspectRatio:w,width:r,height:n},{contain:"cover",cover:"contain"}[d.resize]);V=W.width,H=W.height,F=(r-V)/2,J=(n-H)/2,B.push(F,J,V,H)}if(B.push(L,P,$,x),E){var Y=[T,A];A=Y[0],T=Y[1]}p.width=A,p.height=T,k(d.mimeType)||(d.mimeType=g.type);var Q="transparent";g.size>d.convertSize&&d.convertTypes.indexOf(d.mimeType)>=0&&(d.mimeType="image/jpeg");var Z="image/jpeg"===d.mimeType;if(Z&&(Q="#fff"),h.fillStyle=Q,h.fillRect(0,0,A,T),d.beforeDraw&&d.beforeDraw.call(this,h,p),!this.aborted&&(h.save(),h.translate(A/2,T/2),h.rotate(i*Math.PI/180),h.scale(s,c),h.drawImage.apply(h,[u].concat(B)),h.restore(),d.drew&&d.drew.call(this,h,p),!this.aborted)){var ee=function(e){if(!t.aborted){var o=function(e){return t.done({naturalWidth:r,naturalHeight:n,result:e})};if(e&&Z&&d.retainExif&&t.exif&&t.exif.length>0){var i=function(e){return o(U(q(function(e,t){var r=G(new Uint8Array(e));if(255!==r[2]||224!==r[3])return e;var n=256*r[4]+r[5],o=[255,216].concat(t,r.slice(4+n));return new Uint8Array(o)}(e,t.exif),d.mimeType)))};if(e.arrayBuffer)e.arrayBuffer().then(i).catch(function(){t.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var a=new K;t.reader=a,a.onload=function(e){var t=e.target;i(t.result)},a.onabort=function(){t.fail(new Error("Aborted to read the compressed image with FileReader."))},a.onerror=function(){t.fail(new Error("Failed to read the compressed image with FileReader."))},a.onloadend=function(){t.reader=null},a.readAsArrayBuffer(e)}}else o(e)}};p.toBlob?p.toBlob(ee,d.mimeType,d.quality):ee(U(p.toDataURL(d.mimeType,d.quality)))}}},{key:"done",value:function(e){var t,r,n=e.naturalWidth,o=e.naturalHeight,i=e.result,a=this.file,s=this.image,l=this.options;if(Q&&0===s.src.indexOf("blob:")&&Q.revokeObjectURL(s.src),i)if(l.strict&&!l.retainExif&&i.size>a.size&&l.mimeType===a.type&&!(l.width>n||l.height>o||l.minWidth>n||l.minHeight>o||l.maxWidth<n||l.maxHeight<o))i=a;else{var c=new Date;i.lastModified=c.getTime(),i.lastModifiedDate=c,i.name=a.name,i.name&&i.type!==a.type&&(i.name=i.name.replace(Z,(t=i.type,"jpeg"===(r=k(t)?t.substr(6):"")&&(r="jpg"),".".concat(r))))}else i=a;this.result=i,l.success&&l.success.call(this,i)}},{key:"fail",value:function(e){var t=this.options;if(!t.error)throw e;t.error.call(this,e)}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}])&&D(t.prototype,r),n&&D(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();const re="POST",ne="GET",oe="DELETE",ie="cors",ae="/authorization",se="/message",le="/queries",ce="/entry",ge="/entries",ue="/conversation",de="/status",pe="/file",he="api/v2",Ee="/deliveryAcknowledgeEntries",me="/readAcknowledgeEntry",ve="/session",Se=
455ae+"/authenticated"+r.ACCESS_TOKEN_PATH,fe=ae+"/exchange/access-token",ye=le+ue,we=le+ue,Ae=[r.EntryTypes.CONVERSATION_MESSAGE,r.EntryTypes.PARTICIPANT_CHANGED,r.EntryTypes.ROUTING_RESULT,r.EntryTypes.SESSION_STATUS_CHANGED],Te=r.MessageTypes.STATIC_CONTENT_MESSAGE,be=r.FormatTypes.TEXT,Re=r.MessageTypes.CHOICES_RESPONSE_MESSAGE,_e=r.MessageTypes.FORM_RESPONSE_MESSAGE,Me=r.FormatTypes.INPUTS,Ie=r.FormatTypes.SELECTIONS,De=r.FormatTypes.ATTACHMENTS,Ne=r.GetConversationEntriesQueryDirection.FROM_END,Ce="EmbeddedMessaging-MessagingService";function Oe(){const e=Ye();if(e&&e.anonymousId&&e.correlationId)return[{entryType:"SessionContext",id:n.util.uuid(),sessionContext:{contextType:"SessionContextSet",contextVariables:[{name:"_AgentContext",value:{valueType:"StructuredValue",value:{anonymousId:e.anonymousId,correlationId:e.correlationId,...e.personalizedMsgGeneratorDefName&&{personalizedMsgGeneratorDefName:e.personalizedMsgGeneratorDefName}}}}]}}]}const Le=(t,r,o,i,a,s=t)=>{const l=i||{"Content-Type":"application/json",...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()}},c=t.endsWith(pe)||t.endsWith("/attachment")?a:a?JSON.stringify(a):void 0;return n.LoggingUtil.logActivity(Ce,`${s}Activity`,e=>fetch(t,{method:r,mode:o,headers:l,...c&&{body:c}}).then(async t=>{e._stopPerfTime||e.stop();const r=n.util.getEpochTimesDiffInSeconds(e.getStartPerfTime(),e.getStopPerfTime());if(n.LoggingUtil.logCurrentState(Ce,{method:"sendFetchRequest",stateMessage:`${s} took ${r} seconds and returned with the status code ${t.status}`}),!t.ok){let e;try{e=Object.assign(t,await t.json())}catch(r){e=Object.assign(t,{message:`Error reading the body stream of error object: ${t}`})}throw e}return l["x-b3-traceId"]&&n.LoggingUtil.setTraceId(l["x-b3-traceId"]),l["x-b3-spanId"]&&n.LoggingUtil.setSpanId(l["x-b3-spanId"]),t}))};const Pe=(t,i,s,l,c,g,u=i)=>{if(!t||!t.status||t.status>=500&&t.status<=599)return((e,t,r,o,i,a,s)=>(n.LoggingUtil.logError("FetchRequestFailure",Ce,{method:"handleHTTPServerErrors",errMessage:`Something went wrong in ${s}: ${e&&e.message?e.message:JSON.stringify(Object.assign({},e,{status:e.status,statusText:e.statusText,type:e.type}))}. Re-trying the request.`,...e&&e.status&&{errCode:e.status}}),Le(t,r,o,i,a,s).catch(e=>{throw n.LoggingUtil.logError("FetchRequestFailure",Ce,{method:"handleSendFetchRequestError",errMessage:`${s} request failed again: ${e&&e.message?e.message:JSON.stringify(Object.assign({},e,{status:e.status,statusText:e.statusText,type:e.type}))}.`,...e&e.status&&{errCode:e.status}}),e})))(t,i,s,l,c,g,u);if(!t||!t.status||t.status>=400&&t.status<=499)return function(t,i,s,l,c,g,u){if(n.LoggingUtil.logError("FetchRequestFailure",Ce,{method:"handleHTTPClientErrors",errMessage:`Received a ${t.status} in ${u}: ${t&&t.message?t.message:JSON.stringify(Object.assign({},t,{status:t.status,statusText:t.statusText,type:t.type}))}`,...t&&t.status&&{errCode:t.status}}),401===t.status){if(e.inAppService.getAuthMode()===r.AUTH_MODE.UNAUTH)throw a.clearWebStorage(),t;if(e.inAppService.getAuthMode()===r.AUTH_MODE.AUTH||e.inAppService.getAuthMode()===r.AUTH_MODE.EXP_SITE_AUTH||e.inAppService.getAuthMode()===r.AUTH_MODE.EXCHANGE_JWT_AUTH)return qe()&&n.authUtil.validateJwtExpiry(qe())||e.inAppService.getAuthMode()===r.AUTH_MODE.EXP_SITE_AUTH?new Promise(e=>{o.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:i,method:s,mode:l,requestHeaders:c,requestBody:g},pendingRequestPromiseResolve:e})}):new Promise(e=>{o.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:i,method:s,mode:l,requestHeaders:c,requestBody:g,resolve:e}})})}else if(423===t.status){if(t.errorCode&&(t.errorCode===r.SCRT_SERVER_ERROR_CODES.ORG_NOT_SUPPORTED||t.errorCode===r.SCRT_SERVER_ERROR_CODES.ORG_UNDER_MAINTENANCE)){const e={};throw Object.assign(e,{errorStatus:t.status,errorCode:t.errorCode}),a.clearWebStorage(),o.dispatchChatHeaderEvent(o.HEADER_EVENTS.SCRT_REQUEST_ERROR,{bubbles:!0,detail:e}),t}if(t.errorCode&&t.errorCode===r.SCRT_SERVER_ERROR_CODES.ORG_MIGRATED)return new Promise(e=>{o.dispatchEvent(n.events.EMBEDDED_MESSAGING_ON_ORG_MIGRATED_EVENT,{pendingRequest:{apiPath:i,method:s,mode:l,requestHeaders:c,requestBody:g,resolve:e}})})}else if(417===t.status&&!i.endsWith(pe))return o.dispatchEvent(n.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:t,entryId:g.id}}),Promise.resolve();throw n.LoggingUtil.logError("FetchRequestFailure",Ce,{method:"handleHTTPClientErrors",errMessage:`Something went wrong in ${u}: ${t&&t.message?t.message:JSON.stringify(Object.assign({},t,{status:t.status,statusText:t.statusText,type:t.type}))}`,...t.status&&{errCode:t.status}}),t}(t,i,s,l,c,g,u);throw n.LoggingUtil.logError("FetchRequestFailure",Ce,{method:"handleSendFetchRequestError",errMessage:`Something went wrong in ${u}: ${t&&t.message?t.message:JSON.stringify(Object.assign({},t,{status:t.status,statusText:t.statusText,type:t.type}))}`,...t&&t.status&&{errCode:t.status}}),t},Ue=(e,t,r,n,o,i)=>Le(e,t,r,n,o,i).catch(a=>Pe(a,e,t,r,n,o,i)),$e=e=>{const t=new FileReader;return new Promise((r,o)=>{const a=i.getImageCompressionOptions();if(e.type.toLowerCase().startsWith("image")&&a){const r={...a,success(e){t.readAsD
455ataURL(e)},error(r){n.error("Error compressing image, ",r),t.readAsDataURL(e)}};new te(e,r)}else t.readAsDataURL(e);t.onload=()=>{r(t.result)},t.onerror=e=>o(e)}).then(e=>{const t=window.atob(e.replace(/^data:.*?\/.*?;base64,/,"")),r=new Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return new Uint8Array(r)})},xe=(e,t,r,o)=>{const i=n.util.encodeRFC5987FileName(r),a=(o?"--"+e+'\r\nContent-Disposition: form-data; name="messageEntry";\r\nContent-Type: application/json\r\n\r\n'+o+"\r\n\r\n":"")+"--"+e+"\r\nContent-Type: application/octet-stream\r\n"+`Content-Disposition: form-data; name="fileData"; filename=${i}; filename*=UTF-8''${i}\r\n\r\n`,s=`\r\n\r\n--${e}--`,l=new TextEncoder,c=l.encode(a),g=l.encode(s),u=new Uint8Array(c.byteLength+t.byteLength+g.byteLength);return u.set(c),u.set(t,c.byteLength),u.set(g,c.byteLength+t.byteLength),u.buffer};let je,Be,Ge,Fe,ke,Je,Ve;e.inAppService=void 0;const qe=()=>ke,He=()=>je,We=()=>Be,ze=()=>Ge,Xe=()=>Je,Ye=()=>Ve;e.clearSessionContext=()=>{Ve=void 0},e.closeConversation=t=>{const r=e.inAppService.getFullApiPath().concat([ue,"/"+t].join(""));return Ue(r,oe,ie,null,null,"closeConversation")},e.closeEventSource=()=>new Promise((e,t)=>{try{u&&(clearTimeout(u),u=null),c&&(c.close(),c=null,n.LoggingUtil.logCurrentState(l,{method:"closeEventSource",stateMessage:`SSE connection closed at ${Date.now()}.`})),e()}catch(e){n.LoggingUtil.logError("Event Source error",l,{method:"closeEventSource",errMessage:`Something went wrong in closing Event Source connection. ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`}),t(e)}}),e.endSession=t=>{const r=ze();if(n.LoggingUtil.logCurrentState(Ce,{method:"endSession",stateMessage:`endSession api invoked for ES Developer Name: ${r} and conversationId: ${t}.`}),"string"!=typeof r||!r.length||"string"!=typeof t||!t.length){const e=`Unable to end the messaging session. Expected valid ES Developer Name associated with the current conversation and conversationId, instead received ES Developer Name: ${r} and conversationId: ${t}`;return n.LoggingUtil.logError("endSession error",Ce,{method:"endSession",errMessage:e}),Promise.reject(e)}const o=e.inAppService.getFullApiPath().concat([ue,"/"+t,ve,"?",`esDeveloperName=${r}`].join(""));return Ue(o,oe,ie,null,null,"endSession")},e.getAuthMode=()=>e.inAppService.getAuthMode(),e.getAuthenticatedJwt=()=>{const t=He(),i=We(),a=Xe(),s=qe(),l=n.authUtil.getDeviceInfoAsQueryParams()?e.inAppService.getFullApiPath().concat(Se,"?",n.authUtil.getDeviceInfoAsQueryParams(),"&",`clientName=${r.CLIENT_NAME.WEB_V1}`):e.inAppService.getFullApiPath().concat(Se,"?",`clientName=${r.CLIENT_NAME.WEB_V1}`),c=re,g=ie,u={"Content-Type":"application/json"},d={orgId:t,developerName:i,capabilitiesVersion:a,authorizationType:r.ID_TOKEN_TYPE.JWT,customerIdentityToken:s},p="getAuthenticatedJwt";return s&&n.authUtil.validateJwtExpiry(s)?Le(l,c,g,u,d,p).then(e=>{if(!e.ok)throw e;return e.json()}).catch(e=>Pe(e,l,c,g,u,d,p)):new Promise(e=>{o.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:l,method:c,mode:g,requestHeaders:u,requestBody:d,resolve:e}})}).then(e=>{if(!e.ok)throw e;return e.json()})},e.getCapabilitiesVersion=Xe,e.getChannelAddressIdentifier=()=>Fe,e.getContinuityJwt=()=>{const t=e.inAppService.getFullApiPath().concat(ae,"/continuityAccessToken");return Ue(t,ne,ie,null,null,"getContinuityJwt").then(e=>{if(!e.ok)throw e;return e.json()})},e.getConversationEntries=(t,r,n,o,i)=>{const a=e.inAppService.getFullApiPath().concat([ye,"/"+t,ge].join(""));return Ue(a,re,ie,null,{direction:i||Ne,entryTypeFilter:Ae,...r&&{limit:r},...n&&{endTimestamp:n},...o&&{startTimestamp:o}},"getConversationEntries").then(e=>e.json()).then(e=>{const r=[];if("object"!=typeof e)throw new Error(`Expected to receive JSON response, instead received ${e}.`);if(!Array.isArray(e.conversationEntries))throw new Error(`Expected entries to be an Array, instead was: ${e.conversationEntries}.`);
455return e.conversationEntries.forEach(e=>{r.push({conversationId:t,conversationEntry:e})}),r})},e.getConversationRoutingStatus=t=>{const r=e.inAppService.getFullApiPath().concat([we,"/"+t,de].join(""));return Ue(r,ne,ie,null,null,"getConversationRoutingStatus").then(e=>e.json())},e.getDeveloperName=We,e.getDeveloperNameAssociatedWithCurrentConversation=ze,e.getExchangeAuthenticatedJwt=()=>{const t=We(),i=Xe(),a=qe(),s=n.authUtil.getDeviceInfoAsQueryParams()?e.inAppService.getFullApiPath().concat(fe,"?",n.authUtil.getDeviceInfoAsQueryParams(),"&",`clientName=${r.CLIENT_NAME.WEB_V1}`):e.inAppService.getFullApiPath().concat(fe,"?",`clientName=${r.CLIENT_NAME.WEB_V1}`),l=re,c=ie,g={"Content-Type":"application/json",Authorization:"Bearer "+a},u={developerName:t,capabilitiesVersion:i},d="getExchangeAuthenticatedJwt";return a&&n.authUtil.validateJwtExpiry(a)?Le(s,l,c,g,u,d).then(e=>{if(!e.ok)throw e;return e.json()}).catch(e=>Pe(e,s,l,c,g,u,d)):new Promise(e=>{o.dispatchEvent(n.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,{pendingRequest:{apiPath:s,method:l,mode:c,requestHeaders:g,requestBody:u,resolve:e}})}).then(e=>{if(!e.ok)throw e;return e.json()})},e.getExpSiteAuthenticatedJwt=e=>{const t=We(),n=Xe(),o={Cos:"0x0204","Content-Type":"application/json"},i=e+"/miaw/auth/accesstoken"+`?platformType=Web&developerName=${t}&capabilitiesVersion=${n}&clientName=${r.CLIENT_NAME.WEB_V1}`,a="getExpSiteAuthenticatedJwt";return Le(i,ne,ie,o,null,a).then(e=>{if(!e.ok)throw e;return e.json()}).catch(e=>Pe(e,i,ne,ie,o,null,a))},e.getIdentityToken=qe,e.getJwt=()=>e.inAppService.getJwt(),e.getLastEventId=p,e.getOrgId=He,e.getSessionContext=Ye,e.handleSendFetchRequestError=Pe,e.revokeJwt=()=>{const t=e.inAppService.getFullApiPath().concat(ae,"/revokeToken"),r=e.inAppService.getJwt();return r&&n.authUtil.validateJwtExpiry(r)?Ue(t,re,ie,null,null,"revokeJwt"):Promise.resolve()},e.sendAttachmentsMessage=(t,r,o,i,a,s)=>{const l=e.inAppService.getFullApiPath().concat([ue,"/"+t,se].join("")),c=n.getLanguage(),g=a?Oe():void 0;return Ue(l,re,ie,{"Content-Type":"application/json",...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()},"x-b3-traceId":n.util.generateTraceId(),"x-b3-spanId":n.util.generateSpanId()},{id:o,messageType:Te,staticContent:{formatType:De,attachmentIds:r,...i&&{message:i}},...a&&{isNewMessagingSession:a},...g&&{context:g},...s&&{routingAttributes:s},language:c},"sendAttachmentsMessage")},e.sendChoicesResponseMessage=(t,r,o,i,a,s)=>{const l=e.inAppService.getFullApiPath().concat([ue,"/"+t,se].join("")),c=n.getLanguage(),g=a?Oe():void 0;return Ue(l,re,ie,{"Content-Type":"application/json",...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()},"x-b3-traceId":n.util.generateTraceId(),"x-b3-spanId":n.util.generateSpanId()},{id:o,messageType:Re,inReplyToMessageId:i,...a&&{isNewMessagingSession:a},...g&&{context:g},...s&&{routingAttributes:s},choicesResponse:{formatType:Ie,selectedOptions:[{optionIdentifier:r}]},language:c},"sendChoicesResponseMessage")},e.sendDeliveryAcknowledgement=(t,r)=>{const n=e.inAppService.getFullApiPath().concat([ue,"/"+t,Ee].join(""));return Ue(n,re,ie,null,{acks:[{conversationEntryId:r}]},"sendDeliveryAcknowledgement")},e.sendFetchRequest=Le,e.sendFileAttachment=(t,r,o,i,a,s,l)=>{const c=e.inAppService.getFullApiPath().concat([ue,"/"+t,pe].join("")),g="boundary_string_"+Date.now().toString(),u=n.getLanguage(),d=s?Oe():void 0;return $e(r).then(t=>{const p=JSON.stringify({id:o,fileId:n.util.uuid(),...i&&{message:i},...a&&{inReplyToMessageId:a},...s&&{isNewMessagingSession:s},...d&&{context:d},...l&&{routingAttributes:l},language:u});return Ue(c,re,ie,{"Content-Type":`multipart/form-data; boundary="${g}"`,...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()},"x-b3-traceId":n.util.generateTraceId(),"x-b3-spanId":n.util.generateSpanId()},xe(g,t,r.name,p),"sendFileAttachment")}).catch(e=>{throw e})},e.sendFormResponseMessage=(t,r,o,i,a,s)=>{const l=e.inAppService.getFullApiPath().concat([ue,"/"+t,se].join("")),c=n.getLanguage(),g=a?Oe():void 0;return Ue(l,re,ie,{"Content-Type":"application/json",...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()},"x-b3-traceId":n.util.generateTraceId(),"x-b3-spanId":n.util.generateSpanId()},{id:o,messageType:_e,inReplyToMessageId:i,...a&&{isNewMessagingSession:a},...g&&{context:g},...s&&{routingAttributes:s},formResponse:{formatType:Me,...r&&{inputValues:r}},language:c},"sendFormResponseMessage")},e.sendReadAcknowledgement=(t,r)=>{const n=e.inAppService.getFullApiPath().concat([ue,"/"+t,me].join(""));return Ue(n,re,ie,null,{conversationEntryId:r},"sendReadAcknowledgement")},e.sendTextMessage=(t,r,o,i,a,s)=>{const l=e.inAppService.getFullApiPath().concat([ue,"/"+t,se].join("")),c=n.getLanguage(),g=a?Oe():void 0;return Ue(l,re,ie,{"Content-Type":"application/json",...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()},"x-b3-traceId":n.util.generateTraceId(),"x-b3-spanId":n.util.generateSpanId()},{id:o,messageType:Te,staticContent:{formatType:be,text:r},...i&&{inReplyToMessageId:i},...a&&{isNewMessagingSession:a},...g&&{context:g},...s&&{routingAttributes:s},language:c},"sendTextMessage")},e.sendTypingIndicator=(t,r)=>{const o=e.inAppService.getFullApiPath().concat([ue,"/"+t,ce].join(""));return Ue(o,re,ie,null,{entryType:r,id:n.util.uuid()},"sendTypingIndicator")},e.setAuthMode=t=>{e.inAppService.setAuthMode(t)},e.setCapabilitiesVersion=e=>{Je=e},e.setChannelAddressIdentifier=e=>{Fe=e},e.setDeveloperName=e=>{Be=e},e.setDeveloperNameAssociatedWithCurrentConversation=e=>{Ge=e},e.setIdentityToken=e=>{ke=e},e.setJwt=t=>{e.inAppService.setJwt(t)},e.setLastEventId=d,e.setOrgId=e=>{je=e},e.setScrtServiceData=(t,r,n,o)=>{e.inAppService=new s(t,r,n,o)},e.setSessionContext=e=>{Ve=e},e.startLongPolling=(e,{timeout:t=r.DEFAULT_POLL_TIMEOUT_MS,maxAttempts:i=r.MAX_RETRIES}={})=>(v&&n.LoggingUtil.logCurrentState(m,{method:"startLongPolling",stateMessage:"Long polling is already active, restarting with new poll token."}),v=!0,new Promise((a,s)=>{(async(e,t,i,a,s)=>{const l="undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():`${Date.now()}-${Math.random()}`;y=l,w?.abort(),w=new AbortController,console.log(`[LongPolling] Long polling started with timeout ${t}ms.`),n.LoggingUtil.logCurrentState(m,{method:"pollLoop",stateMessage:`Long polling started at ${Date.now()} with timeout ${t}ms.`});let c=!1;for(;v&&y===l;)try{if(!await R(t,e))return;f&&!S||(f=!0,S=!1,o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT,{})),c||(c=!0,a()),A=0,T=1}catch(e){if("AbortError"===e.name)return console.log("[LongPolling] Long polling aborted."),void n.LoggingUtil.logCurrentState(m,{method:"pollLoop",stateMessage:"Long polling aborted."});if(S||(S=!0,o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT,{})),console.warn(`[LongPolling] Long polling error: ${e.message}`),n.LoggingUtil.logError("Long polling error",m,{method:"pollLoop",errMessage:`Long polling error: ${e.message}`}),!(A<i))return console.error("[LongPolling] Long polling maximum retry attempts reached."),n.LoggingUtil.logError("Long polling error",m,{method:"pollLoop",errMessage:"Long polling maximum retry attempts reached."}),S=!1,o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT,{}),i===r.MAX_RETRIES&&o.dispatchEvent(n.events.EMBEDDED_MESSAGING_SSE_ERROR_EVENT,{detail:{error:r.SSE_TOO_MANY_RETRIES}}),_(),void s(new Error(r.SSE_TOO_MANY_RETRIES));
455{console.log(`[LongPolling] Attempting to reconnect - attempt ${A}.`),n.LoggingUtil.logCurrentState(m,{method:"pollLoop",stateMessage:`Attempting to reconnect long polling - attempt ${A}.`}),A++;const e=Math.floor(Math.random()*r.RECONNECT_JITTER_MS),t=1e3*T+e;n.LoggingUtil.logCurrentState(m,{method:"pollLoop",stateMessage:`Backing off ${t}ms before retry (base ${T}s + jitter ${e}ms).`}),await new Promise(e=>setTimeout(e,t)),T=Math.min(2*T,r.MAX_RECONNECT_INTERVAL_SECONDS)}}})(e,t,i,a,s)})),e.stopLongPolling=_,e.subscribeToEventSource=(t,r)=>new Promise((o,i)=>{try{E(e.inAppService.getEndpoint().concat(`/eventrouter/v1/sse?_ts=${Date.now()}`),t,r).then(o,e=>{n.LoggingUtil.logError("Event Source error",l,{method:"subscribeToEventSource",errMessage:`Failed to create Event Source connection. ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`}),i(e)}).catch(e=>{n.LoggingUtil.logError("Event Source error",l,{method:"subscribeToEventSource",errMessage:`Failed to create Event Source connection. ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`}),i(e)})}catch(e){n.LoggingUtil.logError("Event Source error",l,{method:"subscribeToEventSource",errMessage:`Something went wrong in creating Event Source connection. ${e.type?`error type: ${e.type}`:""} ${e.message?`error message: ${e.message}`:""} ${e.status?`error status: ${e.status}`:""}`}),i(e)}}),e.uploadAttachment=(t,r,o)=>{const i=["conversation",t,"conversation-entry",r,"attachment"].join("/"),a=[e.inAppService.getEndpoint(),e.inAppService.getApiPrefix(),he,i].filter(e=>"string"==typeof e).join("/"),s="boundary_string_"+n.util.uuid();return $e(o).then(t=>Ue(a,re,ie,{"Content-Type":`multipart/form-data; boundary="${s}"`,...e.inAppService.getJwt()&&{Authorization:"Bearer "+e.inAppService.getJwt()},"x-b3-traceId":n.util.generateTraceId(),"x-b3-spanId":n.util.generateSpanId()},xe(s,t,o.name),"uploadAttachment")).then(async e=>{const t=await e.json();if(!t||!t.attachmentId)throw new Error("uploadAttachment: response missing attachmentId");return t.attachmentId})},Object.defineProperty(e,"__esModule",{value:!0})});
456})();LWR.define('embeddedmessaging/inAppService', ['embeddedMessaging/inAppService'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesButtons",["exports","lwc","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/globalEventStore","embeddedMessaging/inAppService","embeddedMessaging/labelUtils"],function(e,t,s,i,n,o,l){var a=[function(e,t,s){var i=e?"["+e+"]":"";return".embedded-messaging-quick-replies"+i+" {max-width: 100%;margin-left: 40px;margin-top: var(--lwc-spacingXxSmall, 0.75rem);margin-bottom: var(--lwc-spacingXxSmall, 0.75rem);flex-wrap: wrap;gap: 0.25rem;}.embedded-messaging-quick-reply"+i+" {word-wrap: break-word;overflow-wrap: break-word;word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;-ms-hyphens: auto;hyphens: auto;border-radius: 4px;min-height: 2.5rem;background: var(--secondaryButtonBackground, #FFFFFF);color: var(--secondaryButtonText, #181818);border-width: 1px;border-color: var(--secondaryButtonOutline, #747474);border-style: solid;}.embedded-messaging-quick-reply:hover"+i+" {background: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);}.embedded-messaging-quick-reply:focus"+i+" {outline: 2px solid var(--secondaryButtonText, #181818);;outline-offset: 2px;}.silent-focus-target"+i+" {position: absolute;inset-inline-start: -10000px;width: 1px;height: 1px;overflow: hidden;}"}];const d=t.parseFragment`<div role="presentation"${3}><button class="embedded-messaging-quick-reply${0}" role="option"${"a1:title"}${"a1:value"}${"a1:disabled"}${2}><span${"a2:value"}${3}>${"t3"}</span></button></div>`,r=t.parseFragment`<div class="silent-focus-target${0}" tabindex="-1" aria-hidden="true"${2}></div>`;function c(e,t,s,i){const{ncls:n,k:o,b:l,d:a,sp:c,st:h,i:p,f:u,h:m}=e,{_m0:g}=i;return[m("div",{className:n(t.generateButtonGroupClassName),attrs:{"aria-label":t.assistiveTextLabel,role:"listbox",tabindex:"0"},key:0},u([p(t.options,function(e){return h(d,o(2,e.optionIdentifier),[c(1,{on:g||(i._m0={click:l(t.handleSelection)}),attrs:{title:e.titleItem.title,value:e.optionIdentifier,disabled:t.isDisabled?"":null}},null),c(2,{attrs:{value:e.optionIdentifier}},null),c(3,null,a(e.titleItem.title))])}),h(r,4)]))]}var h=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-21dfapp5sfs",c.legacyStylesheetToken="embeddedMessaging-choicesButtons_choicesButtons",a&&c.stylesheets.push.apply(c.stylesheets,a),t.freezeTemplate(c);class p extends t.LightningElement{constructor(...e){super(...e),this.options=[],this.conversationStatus=void 0,this.conversationId=void 0,this.messageId=void 0,this.sessionStatus=void 0,this.selectedOptionId=void 0,this._isSelectedOrRepliedTo=!1,this.assistiveTextLabel=void 0,this.focusableOptions=[],this.focusedOptionIndex=0,this._initialRender=!0}connectedCallback(){this.applyStyling(),this.handleLabels()}renderedCallback(){this._initialRender&&(!this.isDisabled&&this.getListboxOptionItems()&&(this.focusableOptions=this.getListboxOptionItems(),this.focusableOptions.forEach((e,t)=>{e&&e.firstElementChild&&(e.firstElementChild.tabIndex=0===t?0:-1,e.firstElementChild.addEventListener("keydown",this.handleKeyDown.bind(this)))})),this._initialRender=!1)}get isDisabled(){return this._isSelectedOrRepliedTo||this.conversationStatus===i.ConversationStatus.CLOSED_CONVERSATION||this.sessionStatus===i.SessionStatus.ENDED}set isDisabled(e){this._isSelectedOrRepliedTo=e}disableOptions(){this._isSelectedOrRepliedTo=!0}setFocusOnSilentElement(){const e=this.querySelectSilentElement();e&&e.focus()}querySelectSilentElement(){return this.template&&this.template.querySelector(".silent-focus-target")?this.template.querySelector(".silent-focus-target"):void 0}get generateButtonGroupClassName(){let e="embedded-messaging-quick-replies slds-button-group-row";return this._isSelectedOrRepliedTo&&(e+=" slds-hide"),e}handleSelection(e){let t,i;e&&(e.preventDefault(),e.stopPropagation(),e.target&&e.target.getAttribute("value")&&(this.selectedOptionId=e.target.getAttribute("value"),i=this.options.find(e=>e.optionIdentifier===this.selectedOptionId),this.conversationId&&this.messageId&&this.selectedOptionId&&i&&(t=s.util.uuid(),o.sendChoicesResponseMessage(this.conversationId,this.selectedOptionId,t,this.messageId).catch(e=>{this.dispatchEvent(new CustomEvent(s.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t},bubbles:!0,composed:!0}))}),s.createConversationEntryUtil.createChoicesResponseSelectionsEntry(i,t,this.messageId),e.target.ariaPressed=!0,this.disableOptions(),n.dispatchEvent(s.events.EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE,{}),this.setFocusOnSilentElement())))}handleKeyDown(e){const t=this.focusableOptions[this.focusedOptionIndex];let i;if(e&&e.keyCode&&t&&t.firstElementChild)switch(e.keyCode){case 37:case 38:e.preventDefault(),e.stopPropagation(),t.firstElementChild.tabIndex=-1,0===this.focusedOptionIndex?this.focusedOptionIndex=this.focusableOptions.length-1:this.focusedOptionIndex-=1,i=this.focusableOptions[this.focusedOptionIndex],i&&i.firstElementChild&&(i.firstElementChild.tabIndex=0,s.util.waitForFrame(()=>{i.firstElementChild.focus()}));break;case 39:case 40:e.preventDefault(),e.stopPropagation(),t.firstElementChild.tabIndex=-1,this.focusedOptionIndex===this.focusableOptions.length-1?this.focusedOptionIndex=0:this.focusedOptionIndex+=1,i=this.focusableOptions[this.focusedOptionIndex],i&&i.firstElementChild&&(i.firstElementChild.tabIndex=0,s.util.waitForFrame(()=>{i.firstElementChild.focus()}))}}getListboxOptionItems(){if(this.template&&this.template.firstElementChild&&this.template.firstElementChild.children&&this.template.firstElementChild.children.length)return Array.prototype.slice.call(this.template.firstElementChild.children).filter(e=>!e.classList.contains("silent-focus-target"))}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet.insertRule("lightning-button.embedded-messaging-quick-reply > button.slds-button:focus { box-shadow: 0 0 0.375rem var(--primaryColor, #1A1B1E); }",0),e.sheet.insertRule("lightning-button.embedded-messaging-quick-reply:focus-visible { outline: 0; }",0)}handleLabels(){this.assistiveTextLabel=l.getLabel("EmbeddedMessagingConversationState","ChoicesButtonsMessageAssistiveText")}}t.registerDecorators(p,{publicProps:{options:{config:0},conversationStatus:{config:0},conversationId:{config:0},messageId:{config:0},sessionStatus:{config:0},isDisabled:{config:3}},publicMethods:["handleSelection"],fields:["selectedOptionId","_isSelectedOrRepliedTo","assistiveTextLabel","focusableOptions","focusedOptionIndex","_initialRender"]});const u=t.registerComponent(p,{tmpl:h,sel:"embeddedMessaging-choices-buttons",apiVersion:66,enableSyntheticElementInternals:!0});
456e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
457})();LWR.define('embeddedmessaging/choicesButtons', ['embeddedMessaging/choicesButtons'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesMenuItem",["exports","lwc","embeddedMessaging/globalEventStore","embeddedMessaging/common"],function(e,t,s,i){var n=[function(e,t,s){var i=e?"["+e+"]":"";return".embedded-messaging-menu-item-option"+i+" {min-height: 2.75rem;color: var(--secondaryButtonText, #181818);background-color: var(--secondaryButtonBackground, #FFFFFF);border-radius: 4px;}.embedded-messaging-menu-item-option:focus"+i+" {outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;z-index: 10;}.embedded-messaging-menu-item-option:hover:not(.isDisabled)"+i+" {background: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);}.middleMenuItem"+i+" {border-radius: 0;}.middleMenuItem"+i+",.lastMenuItem"+i+" {border-top-width: 0;}.embedded-messaging-menu-item"+i+" {padding: 0;border-color: var(--secondaryButtonOutline, #747474);}.embedded-messaging-menu-item-option"+i+" {min-width: 100%;word-wrap: break-word;overflow-wrap: break-word;word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;-ms-hyphens: auto;hyphens: auto;font-size: 0.875em;}.embedded-messaging-menu-item-option.isDisabled:not(.isSelected)"+i+" {opacity: 50%;}"}];const o=t.parseFragment`<button${"c0"} role="option"${"a0:title"}${"a0:value"}${"a0:disabled"}${"a0:aria-selected"}${2}><span${"a1:value"}${3}>${"t2"}</span></button>`;function a(e,t,s,i){const{ncls:n,b:a,d:d,sp:l,st:r}=e,{_m0:m,_m1:u}=i;return[r(o,1,[l(0,{on:u||(i._m1={click:a(t.handleSelection)}),className:n(t.generateMenuItemOptionClassName),attrs:{title:t.option.titleItem.title,value:t.option.optionIdentifier,disabled:t.isDisabled?"":null,"aria-selected":t.isAriaSelected}},null),l(1,{attrs:{value:t.option.optionIdentifier}},null),l(2,null,d(t.option.titleItem.title))])]}var d=t.registerTemplate(a);a.stylesheets=[],a.stylesheetToken="lwc-1gc2o50o3ue",a.legacyStylesheetToken="embeddedMessaging-choicesMenuItem_choicesMenuItem",n&&a.stylesheets.push.apply(a.stylesheets,n),t.freezeTemplate(a);class l extends t.LightningElement{constructor(...e){super(...e),this.option=void 0,this.isFirst=!1,this.isLast=!1,this.isDisabled=!1,this.isSelected=!1}get generateMenuItemOptionClassName(){let e="embedded-messaging-menu-item embedded-messaging-menu-item-option slds-box slds-align_absolute-center slds-m-around_none";return this.isFirst?e+=" slds-has-bottom-magnet":this.isLast?e+=" slds-has-top-magnet lastMenuItem":e+=" middleMenuItem",this.isSelected&&(e+=" isSelected"),this.isDisabled&&(e+=" isDisabled"),e}get isAriaSelected(){return this.isSelected?"true":"false"}handleSelection(e){const t=this.option;let n;e&&(e.preventDefault(),e.target&&e.target.getAttribute("value")&&(n=e.target.getAttribute("value"),n&&t&&(this.dispatchEvent(new CustomEvent("menuitemselected",{detail:{value:n,option:t}})),this.isSelected=!0,s.dispatchEvent(i.events.EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE,{}))))}getMenuItem(){return this.template&&this.template.firstElementChild?[this.template.firstElementChild]:void 0}}t.registerDecorators(l,{publicProps:{option:{config:0},isFirst:{config:0},isLast:{config:0},isDisabled:{config:0}},publicMethods:["getMenuItem"],fields:["isSelected"]});const r=t.registerComponent(l,{tmpl:d,sel:"embeddedMessaging-choices-menu-item",apiVersion:66,enableSyntheticElementInternals:!0});e.default=r,Object.defineProperty(e,"__esModule",{value:!0})});
458})();LWR.define('embeddedmessaging/choicesMenuItem', ['embeddedMessaging/choicesMenuItem'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesMenu",["exports","lwc","embeddedmessaging/choicesMenuItem","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/inAppService","embeddedMessaging/labelUtils"],function(e,t,s,i,n,o,l){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=a(s);var c=[function(e,t,s){var i=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"min-width: 50vw;max-width: 65vw;margin: var(--lwc-spacingXxSmall, 0.75rem) auto;justify-content: center;align-content: center;align-items: center;overflow-wrap: break-word;contain: layout;}.choices-menu-list-box:focus"+i+" {outline: 0px;border: 2px solid var(--slds-g-color-neutral-base-20, #2e2e2e);;border-radius: 8px;}.silent-focus-target"+i+" {position: absolute;
458inset-inline-start: -10000px;width: 1px;height: 1px;overflow: hidden;}"}];const r=t.parseFragment`<div class="silent-focus-target${0}" tabindex="-1" aria-hidden="true"${2}></div>`,h={"choices-menu-list-box":!0};function u(e,t,s,i){const{k:n,b:o,c:l,i:a,st:c,f:u,h:p}=e,{_m0:b}=i;return[p("div",{classMap:h,attrs:{"aria-label":t.assistiveTextLabel,role:"listbox",tabindex:"0"},key:0},u([a(t.options,function(e,s,a,c){const r={value:e,index:s,first:a,last:c};return l("embeddedmessaging-choices-menu-item",d.default,{props:{option:r.value,isFirst:r.first,isLast:r.last,isDisabled:t.isDisabled},key:n(1,r.value.optionIdentifier),on:b||(i._m0={menuitemselected:o(t.handleSelection)})})}),c(r,3)]))]}var p=t.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-3hvb3iog5pd",u.legacyStylesheetToken="embeddedMessaging-choicesMenu_choicesMenu",c&&u.stylesheets.push.apply(u.stylesheets,c),t.freezeTemplate(u);class b extends t.LightningElement{constructor(...e){super(...e),this.options=void 0,this.conversationStatus=void 0,this.conversationId=void 0,this.sessionStatus=void 0,this.messageId=void 0,this.selectedOptionId=void 0,this._isSelectedOrRepliedTo=!1,this.labels={},this.focusableOptions=[],this.focusedOptionIndex=0,this._initialRender=!0}connectedCallback(){this.handleLabels()}renderedCallback(){this._initialRender&&(!this.isDisabled&&this.getListboxOptionItems()&&(this.focusableOptions=this.getListboxOptionItems(),this.focusableOptions.forEach((e,t)=>{const s=this.getListboxOptionButtonElement(e);s&&(0===t?s.setAttribute("tabindex",0):s.setAttribute("tabindex",-1),s.addEventListener("keydown",this.handleKeyDown.bind(this)))})),this._initialRender=!1)}get isDisabled(){return this._isSelectedOrRepliedTo||this.conversationStatus===n.ConversationStatus.CLOSED_CONVERSATION||this.sessionStatus===n.SessionStatus.ENDED}set isDisabled(e){this._isSelectedOrRepliedTo=e}get assistiveTextLabel(){return this._isSelectedOrRepliedTo?this.labels.selectedOptionAssistiveTextLabel:this.labels.unselectedOptionAssistiveTextLabel}disableOptions(){this._isSelectedOrRepliedTo=!0}setFocusOnSilentElement(){const e=this.querySelectSilentElement();e&&e.focus()}querySelectSilentElement(){return this.template&&this.template.querySelector(".silent-focus-target")?this.template.querySelector(".silent-focus-target"):void 0}handleSelection(e){let t,s;e&&(e.stopPropagation(),e.detail&&e.detail.value&&e.detail.option&&(this.selectedOptionId=e.detail.value,s=e.detail.option,this.conversationId&&this.messageId&&this.selectedOptionId&&s&&(t=i.util.uuid(),o.sendChoicesResponseMessage(this.conversationId,this.selectedOptionId,t,this.messageId).catch(e=>{this.dispatchEvent(new CustomEvent(i.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t},bubbles:!0,composed:!0}))}),i.createConversationEntryUtil.createChoicesResponseSelectionsEntry(s,t,this.messageId),this.disableOptions(),this.setFocusOnSilentElement())))}handleKeyDown(e){const t=this.focusableOptions[this.focusedOptionIndex],s=this.getListboxOptionButtonElement(t);let n,o;if(e&&e.keyCode&&s)switch(e.keyCode){case 38:e.preventDefault(),e.stopPropagation(),s.setAttribute("tabindex",-1),0===this.focusedOptionIndex?this.focusedOptionIndex=this.focusableOptions.length-1:this.focusedOptionIndex-=1,n=this.focusableOptions[this.focusedOptionIndex],o=this.getListboxOptionButtonElement(n),o&&(o.setAttribute("tabindex",0),i.util.waitForFrame(()=>{o.focus()}));break;case 40:e.preventDefault(),e.stopPropagation(),s.setAttribute("tabindex",-1),s.removeAttribute("aria-selected"),this.focusedOptionIndex===this.focusableOptions.length-1?this.focusedOptionIndex=0:this.focusedOptionIndex+=1,n=this.focusableOptions[this.focusedOptionIndex],o=this.getListboxOptionButtonElement(n),o&&(o.setAttribute("tabindex",0),i.util.waitForFrame(()=>{o.focus()}))}}getListboxOptionItems(){if(this.template&&this.template.firstElementChild&&this.template.firstElementChild.children&&this.template.firstElementChild.children.length)return Array.prototype.slice.call(this.template.firstElementChild.children).filter(e=>!e.classList.contains("silent-focus-target"))}getListboxOptionButtonElement(e){return e&&e.getMenuItem()&&e.getMenuItem()[0]?e.getMenuItem()[0]:void 0}handleLabels(){this.labels.unselectedOptionAssistiveTextLabel=l.getLabel("EmbeddedMessagingConversationState","ChoicesMenuMessageAssistiveText"),this.labels.selectedOptionAssistiveTextLabel=l.getLabel("EmbeddedMessagingConversationState","ChoicesMenuSelectedOptionAssistiveText")}}t.registerDecorators(b,{publicProps:{options:{config:0},conversationStatus:{config:0},conversationId:{config:0},sessionStatus:{config:0},messageId:{config:0},isDisabled:{config:3}},publicMethods:["handleSelection"],track:{labels:1},fields:["selectedOptionId","_isSelectedOrRepliedTo","focusableOptions","focusedOptionIndex","_initialRender"]});const g=t.registerComponent(b,{tmpl:p,sel:"embeddedMessaging-choices-menu",apiVersion:66,enableSyntheticElementInternals:!0});
458e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
459})();LWR.define('embeddedmessaging/choicesMenu', ['embeddedMessaging/choicesMenu'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/lightningCarousel",["exports","lwc","embeddedMessaging/common"],function(t,e,s){var i=[function(t,e,s){var i=t?"["+t+"]":"";return(e?":host {":(t?"["+t+"-host]":"")+" {")+"--slds-c-button-text-color: var(--inputFooterButton, #939393);--slds-c-button-text-color-hover: var(--inputFooterButton, #939393);--slds-c-button-shadow-focus: var(--inputFooterButton, #939393);--slds-c-button-text-color-active: var(--inputFooterButton, #939393);--slds-c-button-color-border-hover: var(--secondaryButtonOutline, #747474);}slot"+i+" {display: flex;max-width: 100%;}.slds-carousel__indicators"+i+" {position: relative;margin: 5px;}.slds-carousel__indicator-action"+i+" {width: 0.75rem;height: 0.75rem;}.slds-carousel__indicator-action:active"+i+",.slds-carousel__indicator-action.slds-is-active:active"+i+" {background: var(--inputFooterButton, #939393);border-color: var(--inputFooterButton, #939393);}.slds-carousel__indicator-action.slds-is-active"+i+",.slds-carousel__indicator-action.slds-is-active:hover"+i+" {background: var(--inputFooterButtonHoverColor, #7d7d7d);border-color: var(--inputFooterButtonHoverColor, #7d7d7d);}.slds-carousel__indicator-action:focus"+i+",.slds-carousel__indicator-action.slds-is-active:focus"+i+" {outline: 2px solid var(--inputFooterButton, #939393);outline-offset: 2px;}.slds-carousel__indicator-action:hover"+i+" {background: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);}"}];const l=e.parseFragment`<span class="slds-carousel__autoplay${0}"${2}><button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small${0}"${"a1:aria-pressed"}${"a1:title"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span></button></span>`,a=e.parseFragment`<li class="slds-carousel__indicator${0}" role="presentation"${"a0:data-index"}${2}><a${"c1"}${"a1:id"} href="about:blank" role="tab"${"a1:tabindex"}${"a1:aria-selected"}${"a1:title"}${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span></a></li>`,o={classMap:{"slds-carousel":!0},key:0},n={"slds-carousel__stage":!0},r={"slds-carousel__panels":!0},c={key:5},u=[],d={"slds-carousel__indicators":!0},h={role:"tablist"};function m(t,e,s,i){const{b:m,d:g,sp:b,st:p,s:I,h:S,k:v,ncls:f,gid:_,ti:y,i:x}=t,{_m0:A,_m1:k,_m2:P,_m3:$,_m4:T,_m5:w}=i;return[S("div",o,[S("div",{classMap:n,key:1,on:A||(i._m0={touchstart:m(e.handleTouchStart),touchend:m(e.handleTouchEnd)})},[e.disableAutoScroll?null:p(l,3,[b(1,{on:k||(i._m1={click:m(e.toggleAutoScroll)}),attrs:{"aria-pressed":e.ariaPressed,title:e.togglePlayString}},null),b(3,null,g(e.i18n.autoPlay))]),S("div",{classMap:r,style:e.carouselPanelsStyle,key:4},[I("",c,u,s)]),S("ul",{classMap:d,attrs:h,key:6,on:P||(i._m2={keydown:m(e.keyDownHandler)})},x(e.paginationItems,function(t,s){return p(a,v(8,t.key),[b(0,{on:T||(i._m4={click:m(e.onItemSelect)}),attrs:{"data-index":s}},null),b(1,{on:w||(i._m5={click:m(e.onItemLinkSelect)}),className:f(t.className),attrs:{id:_(t.id),tabindex:y(t.tabIndex),"aria-selected":t.ariaSelected,title:t.tabTitle}},null),b(3,null,g(t.tabTitle))])}))])])]}var g=e.registerTemplate(m);m.slots=[""],m.stylesheets=[],m.stylesheetToken="lwc-25h6dejmj6h",m.legacyStylesheetToken="embeddedMessaging-lightningCarousel_lightningCarousel",i&&m.stylesheets.push.apply(m.stylesheets,i),e.freezeTemplate(m);const b="slds-carousel__indicator-action",p="slds-is-active",I="utility:pause",S="false",v="true",f="right",_={autoPlay:"autoplay",tabString:"tabstring"},y=37,x=39;function A(t){return"string"==typeof t||!!t}class k extends e.LightningElement{constructor(...t){super(...t),this.scrollDuration=5,this.paginationItems=[],this.autoScrollIcon=I,this.ariaPressed=S,this.carouselPanelsStyle=void 0,this.togglePlayString=_.autoPlay,this.initialRender=!0,this.activeIndexItem=0,this.carouselItems=[],this.autoScrollTimeOut=void 0,this.swipeXStart=0}get i18n(){return _}get disableAutoScroll(){return this._disableAutoScroll||!1}set disableAutoScroll(t){this._disableAutoScroll=A(t)}get disableAutoRefresh(){return this._disableAutoRefresh||!1}set disableAutoRefresh(t){this._disableAutoRefresh=A(t)}handlePrivateImageRegister(t){const e=t.target,s=t.detail,i=this.carouselItems.length,l=i===this.activeIndexItem,a={ke
459y:s.guid,id:`pagination-item-${i}`,tabTitle:e.description?e.description+" "+_.tabString:null,className:l?b+" "+p:b,tabIndex:l?"0":"-1",contentId:t.detail.contentId,ariaSelected:l?v:S};t.stopPropagation(),i>5||(l&&s.callbacks.select(),this.paginationItems.push(a),this.carouselItems.push(s))}connectedCallback(){this.setAttribute("data-handles-touch",!0),this.addEventListener("privateimageregister",this.handlePrivateImageRegister.bind(this))}renderedCallback(){this.initialRender&&(this.disableAutoScroll||this.setAutoScroll()),this.synchronizeA11y(),this.initialRender=!1}synchronizeA11y(){if(!this.hasSyncChronizedA11y){this.template.querySelectorAll(".slds-carousel__indicators a").forEach((t,e)=>{t.setAttribute("aria-controls",this.paginationItems[e].contentId),this.carouselItems[e].callbacks.setLabelledBy(t.id),this.hasSyncChronizedA11y=!0})}}setAutoScroll(){const t=this.carouselItems.length;this.activeIndexItem===t-1&&this.disableAutoRefresh?this.autoScrollOff():this.cancelAutoScrollTimeOut()}startAutoScroll(){this.selectNextSibling(),this.setAutoScroll()}cancelAutoScrollTimeOut(){clearTimeout(this.autoScrollTimeOut)}toggleAutoScroll(){this.ariaPressed===S?this.autoScrollOff():this.autoScrollOn()}autoScrollOn(){const t=this.carouselItems.length;this.disableAutoScroll||(this.activeIndexItem===t-1&&this.disableAutoRefresh&&(this.unselectCurrentItem(),this.selectNewItem(0)),this.autoScrollIcon=I,this.ariaPressed=S,this.setAutoScroll())}autoScrollOff(){this.disableAutoScroll||(this.ariaPressed=v,this.autoScrollIcon="utility:right",this.cancelAutoScrollTimeOut())}onItemSelect(t){const e=t.currentTarget.getAttribute("data-index");this.autoScrollOff(),this.activeIndexItem!==e&&(this.unselectCurrentItem(),this.selectNewItem(e),this.activeIndexItem=parseInt(e,10))}onItemLinkSelect(t){t.preventDefault()}unselectCurrentItem(){const t=this.paginationItems[this.activeIndexItem];t.tabIndex="-1",t.ariaSelected=S,t.className=b,this.carouselItems[this.activeIndexItem].callbacks.unselect()}selectNewItem(t){const e=this.paginationItems[t];this.carouselItems[t].callbacks.isSelected()||(e.tabIndex="0",e.ariaSelected=v,e.className=b+" "+p,this.carouselPanelsStyle=`transform:translateX(${s.rtlUtil.isHtmlDirectionRTL()?"":"-"}${100*t}%);`,this.carouselItems[t].callbacks.select(),this.activeIndexItem=t)}keyDownHandler(t){const e=t.keyCode;let s=this.indicatorActionsElements;e===x&&(t.preventDefault(),t.stopPropagation(),this.autoScrollOff(),this.selectNextSibling()),e===y&&(t.preventDefault(),t.stopPropagation(),this.autoScrollOff(),this.selectPreviousSibling()),s||(s=this.template.querySelectorAll(".slds-carousel__indicator-action"),this.indicatorActionsElements=s),s[this.activeIndexItem].focus()}selectNextSibling(){const t=this.carouselItems.length;let e=this.activeIndexItem+1;if(this.activeIndexItem===t-1){if(this.disableAutoRefresh)return this.autoScrollOff(),e;e=0}return this.unselectCurrentItem(),this.selectNewItem(e),e}selectPreviousSibling(){const t=this.carouselItems.length;let e=this.activeIndexItem-1;if(0===this.activeIndexItem){if(this.disableAutoRefresh)return this.autoScrollOff(),e;e=t-1}return this.unselectCurrentItem(),this.selectNewItem(e),e}handleTouchStart({changedTouches:t}){this.swipeXStart=t&&t[0].clientX||0}handleTouchEnd(t){const{changedTouches:e}=t,s=(e&&e[0].clientX||0)-this.swipeXStart,i=1===Math.sign(s)?"left":f;Math.abs(s)>20&&(i===f?this.selectNextSibling():this.selectPreviousSibling(),t.preventDefault()),this.swipeXStart=0}}e.registerDecorators(k,{publicProps:{disableAutoScroll:{config:3},disableAutoRefresh:{config:3},scrollDuration:{config:0}},publicMethods:["selectNextSibling","selectPreviousSibling"],track:{paginationItems:1,autoScrollIcon:1,ariaPressed:1,carouselPanelsStyle:1},fields:["togglePlayString","initialRender","activeIndexItem","carouselItems","autoScrollTimeOut","swipeXStart"]});const P=e.registerComponent(k,{tmpl:g,sel:"embeddedMessaging-lightning-carousel",apiVersion:66,enableSyntheticElementInternals:!0});t.default=P,Object.defineProperty(t,"__esModule",{value:!0})});
460})();LWR.define('embeddedmessaging/lightningCarousel', ['embeddedMessaging/lightningCarousel'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/lightningCarouselImage",["exports","lwc","embeddedMessaging/constants"],function(e,t,s){var i=[function(e,t,s){var i=e?"["+e+"]":"";return".slds-carousel__image"+i+" {display: flex;justify-content: center;height: 12rem;width: 12rem;}.slds-carousel__panel-action"+i+" {border-radius: 16px;overflow: hidden;box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.16);}.slds-carousel__panel-action:focus"+i+" {outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;}.slds-carousel__content"+i+" {padding: 0.6rem 0.75rem 0 0.75rem;height: 6.65rem;max-height: 6.65rem;display: block;}.slds-carousel__content-title"+i+",.slds-button"+i+" {font-size: 0.825rem;}.slds-carousel__content-title"+i+" {max-height: 20%;height: 20%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.slds-carousel__content-subtitle"+i+",.slds-button"+i+" {top: 5px;}.slds-button"+i+" {display: block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;width: 85%;max-width: 85%;margin: auto;color: var(--secondaryButtonText, #181818);}.slds-button:focus"+i+" {outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;color: var(--secondaryButtonText, #181818);}.slds-button:hover"+i+" {background: var(--secondaryButtonBackgroun
460dHoverColor, #F3F3F3);color: var(--secondaryButtonText, #181818);}.slds-carousel__content-subtitle"+i+" {overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;max-height: 40%;height: 40%;font-size: 0.75rem;position: relative;}img"+i+" {height: 100%;width: 100%;object-fit: cover;}img.empty-state"+i+" {background-color: #f3f3f3;}"}];const a=t.parseFragment`<div class="slds-carousel__image${0}"${2}><img${"c1"}${"a1:src"}${"a1:alt"}${2}></div>`,l=t.parseFragment`<h2 class="slds-carousel__content-title${0}"${"a0:title"}${2}>${"t1"}</h2>`,n=t.parseFragment`<p class="slds-carousel__content-subtitle${0}"${"a0:title"}${2}>${"t1"}</p>`,r=t.parseFragment`<button${"a0:id"}${"a0:disabled"} class="slds-button${0}"${"a0:title"}${"a0:tabindex"}${2}><span${3}>${"t2"}</span></button>`,o={"slds-carousel__panel-action":!0,"slds-text-link_reset":!0},d={classMap:{"slds-carousel__content":!0,"content-container":!0},key:4};function c(e,t,s,i){const{gid:c,ti:h,ncls:u,sp:b,st:g,d:p,fr:v,b:m,h:x}=e,{_m0:f,_m1:_}=i;return[x("div",{attrs:{role:"tabpanel",id:c("carousel-image"),"aria-hidden":t.ariaHidden},key:0},[x("div",{classMap:o,attrs:{tabindex:h(t.tabIndex)},key:1},[g(a,3,[b(1,{className:u(t.getImageElementClass),attrs:{src:t.src,alt:t.alternativeText}},null)]),x("div",d,[g(l,6,[b(0,{attrs:{title:t.header}},null),b(1,null,p(t.header))]),t.description?v(7,[g(n,9,[b(0,{attrs:{title:t.description}},null),b(1,null,p(t.description))])],0):null,g(r,11,[b(0,{on:_||(i._m1={click:m(t.carouselCardSelectionHandler)}),attrs:{id:c(t.optionIdentifier),disabled:t.isSubmissionButtonDisabled?"":null,title:t.buttonLabel,tabindex:h(t.tabIndex)}},null),b(2,null,p(t.buttonLabel))])])])])]}var h=t.registerTemplate(c);function u(e,t){if(!e)throw new Error(t)}function b(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}c.stylesheets=[],c.stylesheetToken="lwc-7eo28f8cpkj",c.legacyStylesheetToken="embeddedMessaging-lightningCarouselImage_lightningCarouselImage",i&&c.stylesheets.push.apply(c.stylesheets,i),t.freezeTemplate(c);class g extends t.LightningElement{get src(){return this._src}set src(e){this._src=e,this.validateSrc()}get alternativeText(){return this._alternativeText}set alternativeText(e){this._alternativeText=e,this.validateAlternativeText()}constructor(){super(),this._src=void 0,this.header=void 0,this.description=void 0,this.buttonLabel=void 0,this._alternativeText=void 0,this.href=void 0,this.optionIdentifier=void 0,this.ariaHidden="true",this.ariaLabelledby=void 0,this.computedId=void 0,this.tabIndex="-1",this._selected=!1,this.isSubmissionButtonDisabled=void 0,this.carouselCardSelectionHandler=void 0,this.initialRender=!0,this.selected=!1}connectedCallback(){this.setAttribute("data-handles-touch",!0)}set selected(e){this._selected=e,!0===e?(this.ariaHidden="false",this.setTabIndex("0")):(this.ariaHidden="true",this.setTabIndex("-1"))}get selected(){return this._selected}get getImageElementClass(){return this.src===s.DEFAULT_IMAGE_URL?"empty-state":""}setLabelledBy(e){this.panelElement.setAttribute("aria-labelledby",e)}setTabIndex(e){this.tabIndex=e}select(){const e=new CustomEvent("privateimageselect",{bubbles:!0,composed:!0});this.selected=!0,this.dispatchEvent(e)}unselect(){this.selected=!1}isSelected(){return this.selected}validateAll(){this.validateAlternativeText(),this.validateSrc()}validateAlternativeText(){u("string"==typeof this._alternativeText&&this._alternativeText.length,'<lightning-carousel-image> The "alternative-text" attribute value is required.')}validateSrc(){u("string"==typeof this._src&&this._src.length,'<lightning-carousel-image> The "src" attribute value is required.')}renderedCallback(){if(this.initialRender){this.validateAll(),this.panelElement=this.template.querySelector("div");const e=new CustomEvent("privateimageregister",{bubbles:!0,detail:{callbacks:{select:this.select.bind(this),unselect:this.unselect.bind(this),isSelected:this.isSelected.bind(this),setTabIndex:this.setTabIndex.bind(this),set
460LabelledBy:this.setLabelledBy.bind(this)},contentId:this.panelElement.getAttribute("id"),guid:b()}});this.classList.add("slds-carousel__panel"),this.dispatchEvent(e),this.initialRender=!1}}}t.registerDecorators(g,{publicProps:{src:{config:3},header:{config:0},description:{config:0},buttonLabel:{config:0},alternativeText:{config:3},href:{config:0},optionIdentifier:{config:0},isSubmissionButtonDisabled:{config:0},carouselCardSelectionHandler:{config:0}},track:{_src:1,_alternativeText:1,ariaHidden:1,ariaLabelledby:1,computedId:1,tabIndex:1},fields:["_selected","initialRender"]});const p=t.registerComponent(g,{tmpl:h,sel:"embeddedMessaging-lightning-carousel-image",apiVersion:66,enableSyntheticElementInternals:!0});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
461})();LWR.define('embeddedmessaging/lightningCarouselImage', ['embeddedMessaging/lightningCarouselImage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/choicesCarousel",["exports","lwc","embeddedmessaging/lightningCarouselImage","embeddedmessaging/lightningCarousel","lightning/button","embeddedMessaging/constants","embeddedMessaging/inAppService","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(e,t,i,s,n,o,l,a,r){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(i),u=d(s),g=d(n);var h=[function(e,t,i){return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: flex;flex-direction: column;width: 16rem;height: 21.25rem;max-width: 100%;margin: var(--lwc-spacingXxSmall, 0.75rem) auto;justify-content: center;align-content: center;align-items: center;overflow-wrap: break-word;--slds-c-button-color-border-hover: var(--primaryButtonBackground, #444444);position: relative;}.carousel-controls"+(e?"["+e+"]":"")+" {display: flex;justify-content: space-between;position: absolute;top: 40%;left: 0;right: 0;width: 100%;transform: translateY(-50%);}"}];const m={"slds-size_3-of-4":!0,"slds-text-align_center":!0,"slds-m-around_x-small":!0},b={props:{disableAutoRefresh:!0,disableAutoScroll:!0},key:1},p=[],v={classMap:{"carousel-controls":!0},key:3};function I(e,t,i,s){const{k:n,c:o,i:l,h:a,b:r}=e,{_m0:d,_m1:h,_m2:I,_m3:f}=s;return[a("div",{classMap:m,attrs:{role:"region","aria-label":t.assistiveTextLabel},key:0},[o("embeddedmessaging-lightning-carousel",u.default,b,t.cards?l(t.cards,function(e){return o("embeddedmessaging-lightning-carousel-image",c.default,{props:{isSubmissionButtonDisabled:t.isDisabled,header:e.title,description:e.subtitle,src:e.imageUrl,alternativeText:e.title,buttonLabel:e.button,optionIdentifier:e.optionIdentifier,carouselCardSelectionHandler:t.selectionHandler},key:n(2,e.optionIdentifier)})}):p)]),a("div",v,[t.isPreviousButtonDisabled?o("lightning-button",g.default,{props:{iconName:t.generatePreviousButtonIcon,variant:"base",name:t.previousButtonLabel,alternativeText:t.previousButtonLabel,title:t.previousButtonLabel,disabled:!0},key:4,on:d||(s._m0={click:r(t.selectPrevious)})}):null,t.isPreviousButtonDisabled?null:o("lightning-button",g.default,{props:{iconName:t.generatePreviousButtonIcon,variant:"base",name:t.previousButtonLabel,alternativeText:t.previousButtonLabel,title:t.previousButtonLabel},key:5,on:h||(s._m1={click:r(t.selectPrevious)})}),t.isNextButtonDisabled?o("lightning-button",g.default,{props:{iconName:t.generateNextButtonIcon,variant:"base",name:t.nextButtonLabel,alternativeText:t.nextButtonLabel,title:t.nextButtonLabel,disabled:!0},key:6,on:I||(s._m2={click:r(t.selectNext)})}):null,t.isNextButtonDisabled?null:o("lightning-button",g.default,{props:{iconName:t.generateNextButtonIcon,variant:"base",name:t.nextButtonLabel,alternativeText:t.nextButtonLabel,title:t.nextButtonLabel},key:7,on:f||(s._m3={click:r(t.selectNext)})})])]}var f=t.registerTemplate(I);I.stylesheets=[],I.stylesheetToken="lwc-2r0g3kehsc4",I.legacyStylesheetToken="embeddedMessaging-choicesCarousel_choicesCarousel",h&&I.stylesheets.push.apply(I.stylesheets,h),t.freezeTemplate(I);const x="EmbeddedMessaging-ChoicesCarousel";class y extends t.LightningElement{constructor(...e){super(...e),this.options=void 0,this.images=void 0,this.cards=[],this.messageId=void 0,this.conversationId=void 0,this.conversationStatus=void 0,this.configuration=void 0,this.sessionStatus=void 0,this.selectedOptionId=void 0,this.currentActiveImageIndex=0,this._isSelectedOrRepliedTo=!1,this.selectionHandler=this.handleSelection.bind(this),this.assistiveTextLabel=void 0,this.previousButtonLabel=void 0,this.nextButtonLabel=void 0}
461connectedCallback(){this.options.forEach(e=>{const t={optionIdentifier:"",buttonText:"",imageUrl:"",title:"",subtitle:""};e.titleItem&&e.interactionItems&&e.interactionItems[0]&&(t.optionIdentifier=e.interactionItems[0].optionIdentifier,t.button=e.interactionItems[0].titleItem.title,t.title=e.titleItem.title,t.subtitle=e.titleItem.subTitle,e.titleItem.imageId?this.images.forEach(i=>{i.id===e.titleItem.imageId&&(t.imageUrl=i.assetUrl?i.assetUrl:"")}):t.imageUrl=o.DEFAULT_IMAGE_URL,this.cards.push(t))}),this.handleLabels(),this.applyStyling()}get isDisabled(){return this._isSelectedOrRepliedTo||this.conversationStatus===o.ConversationStatus.CLOSED_CONVERSATION||this.sessionStatus===o.SessionStatus.ENDED}set isDisabled(e){this._isSelectedOrRepliedTo=e}disableOptions(){this._isSelectedOrRepliedTo=!0}handleSelection(e){if(e&&e.currentTarget&&e.currentTarget.id){const t=this.options.find(t=>e.currentTarget.id.startsWith(t.interactionItems[0].optionIdentifier)),i=a.util.uuid();this.selectedOptionId=t.interactionItems[0].optionIdentifier,a.LoggingUtil.logInteraction(e,this,x,{method:"handleSelection",feature:this.selectedOptionId}),l.sendChoicesResponseMessage(this.conversationId,this.selectedOptionId,i,this.messageId).catch(e=>{this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:i},bubbles:!0,composed:!0}))}),a.createConversationEntryUtil.createChoicesResponseSelectionsEntry(t,i,this.messageId),this.disableOptions()}}handleLabels(){this.previousButtonLabel=r.getLabel("EmbeddedMessagingCarousels","PreviousCardButtonAssistiveText"),this.nextButtonLabel=r.getLabel("EmbeddedMessagingCarousels","NextCardButtonAssistiveText"),this.assistiveTextLabel=r.getLabel("EmbeddedMessagingCarousels","CarouselDescriptionAssistiveText")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule("embeddedmessaging-choices-carousel .slds-carousel__indicator-action.slds-is-active { background: var(--inputFooterButton, #939393); border-color: var(--inputFooterButton, #939393); box-shadow: none; }",0),e.sheet.insertRule("embeddedmessaging-choices-carousel .slds-button:hover { background-color: #F3F3F3 ; color: var(--inputFooterButton, #939393) }",0),e.sheet.insertRule("embeddedmessaging-choices-carousel .slds-button__icon { fill: var(--inputFooterButton, #939393) }",0))}get generatePreviousButtonIcon(){return a.rtlUtil.isHtmlDirectionRTL()?"utility:chevronright":"utility:chevronleft"}get generateNextButtonIcon(){return a.rtlUtil.isHtmlDirectionRTL()?"utility:chevronleft":"utility:chevronright"}get isPreviousButtonDisabled(){return 0===this.currentActiveImageIndex}get isNextButtonDisabled(){return this.currentActiveImageIndex===this.options.length-1}selectPrevious(e){this.currentActiveImageIndex=this.querySelectLightningCarousel().selectPreviousSibling(),a.LoggingUtil.logInteraction(e,this,x,{method:"selectPrevious"})}selectNext(e){this.currentActiveImageIndex=this.querySelectLightningCarousel().selectNextSibling(),a.LoggingUtil.logInteraction(e,this,x,{method:"selectNext"})}querySelectLightningCarousel(){return this.template.querySelector("embeddedmessaging-lightning-carousel")?this.template.querySelector("embeddedmessaging-lightning-carousel"):void 0}}t.registerDecorators(y,{publicProps:{options:{config:0},images:{config:0},messageId:{config:0},conversationId:{config:0},conversationStatus:{config:0},configuration:{config:0},sessionStatus:{config:0},isDisabled:{config:3}},publicMethods:["handleSelection"],fields:["cards","selectedOptionId","currentActiveImageIndex","_isSelectedOrRepliedTo","selectionHandler","assistiveTextLabel","previousButtonLabel","nextButtonLabel"]});const B=t.registerComponent(y,{tmpl:f,sel:"embeddedMessaging-choices-carousel",apiVersion:66,enableSyntheticElementInternals:!0});e.default=B,Object.defineProperty(e,"__esModule",{value:!0})});
462})();LWR.define('embeddedmessaging/choicesCarousel', ['embeddedMessaging/choicesCarousel'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntry",["exports","lwc","embeddedMessaging/constants","embeddedMessaging/common"],function(e,t,s,r){function i(e){const t={};
462return Object.values(s.ConversationEntryProperties).forEach(s=>{t[s]=e&&e[s]?e[s]:void 0}),t}function a(e){try{r.validateString(e)}catch(t){r.error(`conversationId ${e} is not valid. ${t}`)}}function n(e){try{r.validateString(e)}catch(t){r.error(`messageId ${e} is not valid. ${t}`)}}function o(e){try{r.validateObject(e)}catch(t){r.error(`content ${JSON.stringify(e)} is not valid. ${t}`)}}function d(e){try{r.validateString(e)}catch(t){r.error(`messageType ${e} is not valid. ${t}`)}}function c(e){try{r.validateString(e)}catch(t){r.error(`entryType ${e} is not valid. ${t}`)}}function p(e){try{r.validateObject(e)}catch(t){r.error(`sender ${JSON.stringify(e)} is not valid. ${t}`)}}function h(e){try{r.validateString(e)}catch(t){r.error(`actorName ${e} is not valid. ${t}`)}}function y(e){try{r.validateString(e)}catch(t){r.error(`actorType ${e} is not valid. ${t}`)}}function v(e){try{r.validateNumber(e)}catch(t){r.error(`transcriptedTimestamp ${e} is not valid. ${t}`)}}function m(e){try{r.isBoolean(e)}catch(t){r.error(`wasRevised ${e} is not valid. ${t}`)}}const T="EmbeddedMessaging-ConversationEntryItem";class g{constructor(e,t,s,r,i,a,n,o,d,c){this._conversationId=void 0,this._messageId=void 0,this._content=void 0,this._messageType=void 0,this._entryType=void 0,this._sender=void 0,this._actorName=void 0,this._actorType=void 0,this._transcriptedTimestamp=void 0,this._wasRevised=void 0,this._isDelivered=!1,this._deliveryAcknowledgementTimestamp=void 0,this._shouldShowTimeStamp=!1,this._shouldShowAvatar=!1,this._isFauxLastInGroup=!1,this._conversationId=e,this._messageId=t,this._content=s,this._messageType=r,this._entryType=i,this._sender=a,this._actorName=n,this._actorType=o,this._transcriptedTimestamp=d,this._wasRevised=c}get conversationId(){return this._conversationId}set conversationId(e){this._conversationId=e}get messageId(){return this._messageId}set messageId(e){this._messageId=e}get content(){return this._content}set content(e){this._content=e}get messageType(){return this._messageType}set messageType(e){this._messageType=e}get entryType(){return this._entryType}set entryType(e){this._entryType=e}get sender(){return this._sender}set sender(e){this._sender=e}get actorName(){return this._actorName}set actorName(e){this._actorName=e}get actorType(){return this._actorType}set actorType(e){this._actorType=e}get transcriptedTimestamp(){return this._transcriptedTimestamp}set transcriptedTimestamp(e){this._transcriptedTimestamp=e}get wasRevised(){return this._wasRevised}set wasRevised(e){this._wasRevised=e}get isDelivered(){return this._isDelivered}set isDelivered(e){this._isDelivered=e}get deliveryAcknowledgementTimestamp(){return this._deliveryAcknowledgementTimestamp}set deliveryAcknowledgementTimestamp(e){this._deliveryAcknowledgementTimestamp=e}get shouldShowTimeStamp(){return this._shouldShowTimeStamp}set shouldShowTimeStamp(e){this._shouldShowTimeStamp=e}get shouldShowAvatar(){return this._shouldShowAvatar}set shouldShowAvatar(e){this._shouldShowAvatar=e}get isFauxLastInGroup(){return this._isFauxLastInGroup}set isFauxLastInGroup(e){this._isFauxLastInGroup=e}get contentPayload(){return this.content}get isConversationMessage(){return this.entryType===s.EntryTypes.CONVERSATION_MESSAGE||this.entryType===s.EntryTypes.CONVERSATION_MESSAGE_UPDATED}get isChatMessage(){return this.isConversationMessage&&!this.isSystemEvent||this.messageReason===s.MessageReason.AUTOMATED_RESPONSE&&this.messageType===s.MessageTypes.STATIC_CONTENT_MESSAGE&&this.content.staticContent.formatType===s.FormatTypes.WEB_VIEW&&this.content.staticContent.displayType!==s.DisplayTypes.AUTO_OVERLAY}get isMessageOutbound(){return this.isChatMessage&&this.actorType===s.ParticipantRoles.ENDUSER}get isSystemEvent(){return this.actorType===s.ParticipantRoles.SYSTEM}get isStreamingToken(){return this.entryType===s.EntryTypes.STREAMING_TOKEN}validate(){a(this.conversationId),this.actorType&&this.isUnsupportedMessage&&(this.isMessageOutbound?r.LoggingUtil.logError("Unsupported message",T,{method:"validate",errMessage:`User tried to send a message of unsupported or unrecognized type, with entryType: ${this.entryType} ; messageType: ${this.messageType} ; formatType: ${this.formatType}.`,convId:this.conversationId,convEntryId:this.messageId}):r.LoggingUtil.logError("Unsupported message",T,{method:"validate",errMessage:`Received a message of unsupported or unrecognized type from ${this.actorType}, with entryType: ${this.entryType} ; messageType: ${this.messageType} ; formatType: ${this.formatType}.`,convId:this.conversationId,convEntryId:this.messageId}))}static populateConversationEntryObject(e){return i(e)}static createConversationEntry(e){return new g(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp,e.wasRevised)}}const l=t.registerComponent(g,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry",apiVersion:66,enableSyntheticElementInternals:!0});e.createConversationEntryObject=i,e.default=l,e.validateActorName=h,e.validateActorType=y,e.validateContent=o,e.validateConversationEntryProperties=function(e,t){const i=[];
462if(Object.values(s.ConversationEntryProperties).forEach(t=>{try{const i=e[t];switch(t){case s.ConversationEntryProperties.CONVERSATION_ID:a(i);break;case s.ConversationEntryProperties.MESSAGE_ID:n(i);break;case s.ConversationEntryProperties.CONTENT:o(i);break;case s.ConversationEntryProperties.MESSAGE_TYPE:d(i);break;case s.ConversationEntryProperties.ENTRY_TYPE:c(i);break;case s.ConversationEntryProperties.SENDER:p(i);break;case s.ConversationEntryProperties.ACTOR_NAME:h(i);break;case s.ConversationEntryProperties.ACTOR_TYPE:y(i);break;case s.ConversationEntryProperties.TRANSCRIPTED_TIMESTAMP:v(i);break;case s.ConversationEntryProperties.MESSAGE_REASON:break;case s.ConversationEntryProperties.WAS_REVISED:m(i);break;default:r.warning(`Unable to validate unknown conversation entry property: ${t}`)}}catch(e){i.push(`${t} failed validation: ${e}`)}}),i.forEach(e=>{r.error(e)}),i.length&&t)throw new Error("Error validating conversation entry properties!")},e.validateConversationId=a,e.validateEntryType=c,e.validateMessageId=n,e.validateMessageType=d,e.validateSender=p,e.validateTranscriptedTimestamp=v,e.validateWasRevised=m,Object.defineProperty(e,"__esModule",{value:!0})});
463})();LWR.define('embeddedmessaging/conversationEntry', ['embeddedMessaging/conversationEntry'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryItem",["exports","lwc","lightning/formattedDateTime","lightning/avatar","embeddedmessaging/conversationTextMessage","embeddedmessaging/streamTextMessage","embeddedmessaging/choicesResponse","embeddedmessaging/fileAttachmentMessage","embeddedmessaging/conversationEmbedYoutube","embeddedmessaging/conversationLinkMessage","embeddedmessaging/conversationFormMessage","lightning/icon","embeddedmessaging/choicesButtons","embeddedmessaging/choicesMenu","embeddedmessaging/choicesCarousel","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/labelUtils","embeddedMessaging/common","embeddedMessaging/brandingUtils","embeddedMessaging/globalEventStore","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/participant"],function(e,t,s,n,a,i,r,o,d,l,c,g,m,u,h,v,p,y,E,b,T,S,C){function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var M=x(s),f=x(n),_=x(a),R=x(i),k=x(r),w=x(o),N=x(d),A=x(l),I=x(c),F=x(g),L=x(m),P=x(u),B=x(h);var D=[function(e,t,s){var n=e?"["+e+"]":"",a=e?"-"+e:"";return[t?":host {":(e?"["+e+"-host]":"")+" {","--slds-c-avatar-color-background: var(--agentMessageBackgroun
463d, #F3F3F3);--slds-c-avatar-initials-text-color: var(--agentMessageText, #181818);}div.slds-chat-event",n," {font-size: 0.75em;}div.embedded-messaging-system-event-avatar",n," {display: flex;flex-direction: column;align-items: center;justify-content: space-around;}div.embedded-messaging-system-event-participantchanged",n,",div.embedded-messaging-system-event-session-ended",n," {display: flex;}div.embedded-messaging-system-event-participantchanged",n," > lightning-avatar.embedded-messaging-system-event-avatar",n," {border-radius: 25px;display: inline-block;width: 1.25rem;height: 1.25rem;margin-top: 0.25rem;}div.embedded-messaging-system-event-participantchanged-text",n,",div.embedded-messaging-system-event-routingresult-text",n,",div.embedded-messaging-system-event-sessionstatuschanged-text",n," {color: var(--secondaryText, #5C5C5C);background-color: var(--slds-g-color-neutral-base-100, #FBFBFB);border-radius: 4px;padding: 4px 4px 16px 4px;}div.embedded-messaging-chat-message",n," > lightning-avatar.embedded-messaging-chat-message-agent-avatar",n," {border-radius: 25px;min-width: 1.5rem;}div.embedded-messaging-chat-message",n," > lightning-avatar",n," {align-self: flex-end;margin-bottom: 16px;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-chat-message",n," > lightning-avatar",n," {margin-left: 0.5rem;margin-right: 0;}div.embedded-messaging-chat-message",n," {white-space: pre-wrap;word-break: break-word;overflow-wrap: break-word;width: 100%;min-width: 0;}div.embedded-messaging-inbound-chat-message",n,",div.embedded-messaging-outbound-chat-message",n," {font-size: 0.875em;}div.embedded-messaging-inbound-chat-message:not(.custom_chat_message_bubble_component)",n," {background-color: var(--agentMessageBackgroun
463d, #F3F3F3);}div.embedded-messaging-chat-message",n," div.slds-chat-message__body",n," {width: 100%;min-width: 0;}div.embedded-messaging-chat-message-metadata",n," {font-size: 0.625em;margin-top: 4px;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-outbound-chat-message",n," {margin-right: 2rem;margin-left: 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-inbound-chat-message",n," {margin-right: 0;margin-left: auto;}.slds-chat-message_faux-avatar",n," {padding-left: 2rem;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .slds-chat-message_faux-avatar",n," {padding-right: 2rem;padding-left: 0;}.embedded-messaging-inbound-chat-message",n," {width: fit-content;max-width: 100%;}.embedded-messaging-outbound-chat-message",n," {width: fit-content;max-width: calc(100% - 2rem);margin-left: auto;}.embedded-messaging-chat-message",n," div.embedded-messaging-inbound-chat-message",n," {color: var(--agentMessageText, #181818);}.embedded-messaging-chat-message",n," div.embedded-messaging-outbound-chat-message",n," {color: var(--userMessageText, #FFFFFF);margin-inline-start: auto;}.embedded-messaging-chat-message",n," div.embedded-messaging-outbound-chat-message:not(.slds-chat-message__file_outbound):not(.slds-chat-message__file_inbound):not(.slds-chat-message__link_outbound):not(.custom_chat_message_bubble_component)",n," {background-color: var(--userMessageBackgroun
463d, #2E2E2E);}.embedded-messaging-chat-message",n," div.slds-chat-message__form_inbound",n,",.embedded-messaging-chat-message",n," div.slds-chat-message__link_inbound",n," {border-radius: .5rem .5rem .5rem 0;}.embedded-messaging-chat-message",n," div.slds-chat-message__form_outbound",n,",.embedded-messaging-chat-message",n," div.slds-chat-message__link_outbound",n," {border-radius: .5rem .5rem 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-chat-message",n," div.slds-chat-message__form_inbound",n,",",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-chat-message",n," div.slds-chat-message__link_inbound",n," {border-radius: .5rem .5rem 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-chat-message",n," div.slds-chat-message__form_outbound",n,",",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-chat-message",n," div.slds-chat-message__link_outbound",n," {border-radius: .5rem .5rem .5rem 0;}div.embedded-messaging-outbound-chat-message",n," ~ div.embedded-messaging-chat-message-metadata",n," {margin-left: auto;text-align: right;}div.embedded-messaging-inbound-chat-message",n," ~ div.embedded-messaging-chat-message-metadata",n," {text-align: left;width: max-content;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," div.embedded-messaging-outbound-chat-message",n," + div.embedded-messaging-chat-message-metadata",n," {margin-right: auto;margin-left: 0;text-align: left;}.embedded-messaging-conversation-entry-listitem.embedded-messaging-choices-message",n," {flex-direction: column;}.embedded-messaging-conversation-entry-listitem.embedded-messaging-choices-carousel-message",n," {flex-flow: column;}.embedded-messaging-conversation-entry-listitem",n," {margin-top: 0.125rem;margin-bottom: 0.125rem;flex-wrap: wrap;}div.embedded-messaging-automated-response",n,",div.embedded-messaging-estimated-wait-time",n," {color: var(--secondaryText, #5C5C5C);margin: 12px auto 16px;position: relative;width: 100%;text-align: center;word-break: break-word;font-size: 0.75em;white-space : pre-line;}.embedded-messaging-retry-button",n," {color: var(--primaryButtonBackground, #444444);display: inline;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;max-width: 10ch;font-size: 0.625rem;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embedded-messaging-retry-button",n," {transform: scaleX(-1);}.embedded-messaging-timestamp",n," {margin: 12px auto 16px;position: relative;width: 100%;text-align: center;word-break: break-word;font-size: 0.75em;color: var(--secondaryText, #5C5C5C);}.unsupportedMessage",n," {display: flex;}.unsupportedMessageIconContainer",n," {background: red;border-radius: .5rem 0 0 0;margin: -8px;}.unsupportedMessageIcon",n," {--sds-c-icon-color-foreground-default: white;padding: 0.5rem 0.5rem;}.unsupportedMessageText",n," {padding-left: 1.25rem;}.custom_chat_message_bubble_component",n," {background-color: transparent;padding: 0;}div.slds-chat-session-ended-event",n," {font-size: 0.75em;text-align: center;}.inline-timestamp",n," {display: inline-block;}.messageRevisedFooterText",n," {font-style: italic;opacity: 0;animation: fadeIn",a," 1s;animation-delay: 1s;animation-fill-mode: forwards;}@keyframes fadeIn",a," {0% {opacity: 0;}100% {opacity: 1;}}@keyframes rollUpToSingleLine",a," {0% {height: var(--original-height);width: var(--original-width);}50% {height: var(--single-line-height);width: var(--original-width);}100% {height: var(--single-line-height);width: 3vw;}}.roll-up-animation",n," {animation: rollUpToSingleLine",a," 1.2s ease-in-out forwards !important;overflow: hidden !important;position: relative !important;}.roll-up-animation[data-preserved-text]",n,"::before {content: attr(data-preserved-text);position: absolute;top: 0;left: 0;right: 0;bottom: 0;padding: inherit;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 10;-webkit-box-orient: vertical;text-overflow: ellipsis;pointer-events: none;z-index: 1;animation: clipText",a," 1.2s ease-in-out forwards;}@keyframes clipText",a," {0% {opacity: 1;-webkit-line-clamp: 10;}50% {opacity: 0.8;-webkit-line-clamp: 2;}70% {opacity: 0.5;-webkit-line-clamp: 1;}85% {opacity: 0;}100% {opacity: 0;}}.roll-up-animation[data-preserved-text]",n," > *",n," {opacity: 0;}"].join("")}];const O=t.parseFragment`<div${"c0"}${2}><span${3}>${"t2"}</span></div>`,U=t.parseFragment`<div${"c0"}${2}><span${3}>${"t2"}</span></div>`,G=t.parseFragment`<span class="unsupportedMessageText${0}"${2}>${"t1"}</span>`,$=t.parseFragment`<span${"a0:id"}${3}>${"t1"}</span>`,H=t.parseFragment`<span aria-hidden="true"${3}> • </span>`,V=t.parseFragment`<span${3}>${"t1"}</span>`,W=t.parseFragment`<span class="messageRevisedFooterText${0}"${2}>${"t1"}</span>`,z=t.parseFragment`<span${3}>${"t1"}</span>`,Y=t.parseFragment`<div class="embedded-messaging-automated-response${0}"${2}><span${3}>${"t2"}</span></div>`,q={role:"presentation"},K={classMap:{"embedded-messaging-timestamp":!0},key:1},j={key:2},J=[],X={classMap:{unsupportedMessageIconContainer:!0},key:30},Q={classMap:{unsupportedMessageIcon:!0},props:{iconName:"utility:error",alternativeText:"error",size:"small"},key:31},Z={"slds-button":!0,"embedded-messaging-retry-button":!0},ee={key:44},te={classMap:{"inline-timestamp":!0},key:47},se={classMap:{"embedded-messaging-system-event-participantchanged":!0},key:51},ne={classMap:{"embedded-messaging-system-event-participantchanged-text":!0},key:53},ae={key:54},ie={classMap:{"inline-timestamp":!0},key:55},re={classMap:{"embedded-messaging-system-event-routingresult":!0},key:57},oe={classMap:{"embedded-messaging-system-event-routingresult-text":!0},key:58},de={key:61},le={classMap:{"embedded-messaging-system-event-sessionstatuschanged-text":!0},key:63},ce={key:64},ge={classMap:{"embedded-messaging-estimated-wait-time":!0},key:66},me={key:67};function ue(e,t,s,n){const{ncls:a,d:i,t:r,c:o,h:d,dc:l,fr:c,sp:g,st:m,k:u,i:h,f:v,gid:p,b:y}=e,{_m0:E}=n;return[t.shouldDisplayConversationEntry?d("li",{className:a(t.generateListItemClassName),attrs:q,key:0},[t.shouldShowTimestamp?d("div",K,[d("span",j,[r(i(t.generateTimeStamp)+" • "),o("lightning-formatted-date-time",M.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:3})])]):null,d("div",{className:a(t.generateEntryTypeClassName),key:4},[t.shouldDisplayChatBubble?t.conversationEntry.isMessageOutbound?null:t.isLastInGroup?o("lightning-avatar",f.default,{className:a(t.generateMessageAvatarClassName),props:{variant:"circle",size:"small",initials:t.generateAvatarInitials,alternativeText:t.conversationEntry.actorName,src:t.generateAvatarImage},key:5}):null:null,d("div",{className:a(t.generateEntryTypeBodyClassName),key:6},v([t.shouldDisplayChatBubble?v([t.conversationEntry.isStaticText?d("div",{className:a(t.generateChatMessageClassName),key:7},[t.textMessageConstructor?c(8,[l(t.textMessageConstructor,{props:{conversationEntry:t.conversationEntry.publicConversationEntry,configuration:t.publicConfiguration},key:9})],0):c(8,[o("embeddedmessaging-conversation-text-message",_.default,{props:{conversationEntry:t.conversationEntry,publicConversationEntry:t.conversationEntry.publicConversationEntry},key:10})],0)]):null,t.conversationEntry.isStreamingToken?d("div",{className:a(t.generateChatMessageClassName),key:11},[o("embeddedmessaging-stream-text-message",R.default,{props:{conversationEntry:t.conversationEntry,publicConversationEntry:t.conversationEntry.publicConversationEntry},key:12})]):null,t.conversationEntry.choicesText?m(O,14,[g(0,{className:a(t.generateChatMessageClassName)},null),g(2,null,i(t.conversationEntry.choicesText))]):null,t.conversationEntry.isChoicesResponse?d("div",{className:a(t.generateChatMessageClassName),key:15},[o("embeddedmessaging-choices-response",k.default,{props:{response:t.conversationEntry.choicesResponseSelection},key:16})]):null,t.conversationEntry.isAttachments?v([t.conversationEntry.staticTextInAttachmentsEntry?m(U,18,[g(0,{className:a(t.generateClassNameForStaticTextInAttachmentMessage)},null),g(2,null,i(t.conversationEntry.staticTextInAttachmentsEntry))]):null,h(t.conversationEntry.attachments,function(e){return d("div",{className:a(t.generateChatMessageClassName),key:u(19,e.id)},[o("embeddedmessaging-file-attachment-message",w.default,{props:{conversationEntry:t.conversationEntry,attachment:e,configuration:t.configuration},key:20})])})]):J,t.conversationEntry.isMessageLinkURL?t.conversationEntry.hasYoutubeEmbedLinks?c(21,[o("embeddedmessaging-conversation-embed-youtube",N.default,{props:{conversationEntry:t.conversationEntry,messageBubbleClass:t.generateChatMessageClassName},key:22})],0):c(21,[d("div",{className:a(t.generateChatMessageClassName),key:23},[o("embeddedmessaging-conversation-link-message",A.default,{props:{conversationEntry:t.conversationEntry},key:24})])],0):null,t.conversationEntry.isForm?d("div",{className:a(t.generateChatMessageClassName),key:25},[o("embeddedmessaging-conversation-form-message",I.default,{props:{formState:t.conversationEntry.formState,formSections:t.conversationEntry.formSections,formTitle:t.conversationEntry.formTitle,messageId:t.conversationEntry.messageId,isRepliedTo:t.conversationEntry.isSelectedOrRepliedTo,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus},key:26})]):null,t.conversationEntry.isFormResponseResult?d("div",{className:a(t.generateChatMessageClassName),key:27},[o("embeddedmessaging-conversation-form-message",I.default,{props:{formState:t.conversationEntry.formState,formTitle:t.conversationEntry.formTitle,messageId:t.conversationEntry.messageId,isRepliedTo:t.conversationEntry.isSelectedOrRepliedTo,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus},key:28})]):null,t.conversationEntry.isUnsupportedMessage?d("div",{className:a(t.generateUnsupportedMessageTypeClassName),key:29},[d("div",X,[o("lightning-icon",F.default,Q)]),m(G,33,[g(1,null,i(t.unsupportedMessageText))])]):null,t.conversationEntry.isStaticText&&t.conversationEntry.hasYoutubeEmbedLinks?t.textMessageConstructor?null:o("embeddedmessaging-conversation-embed-youtube",N.default,{props:{conversationEntry:t.conversationEntry,messageBubbleClass:t.generateChatMessageClassName},key:34}):null,t.isLastInGroup?d("div",{className:a(t.generateChatMessageMetadataClassName),key:35},[t.conversationEntry.isMessageOutbound&&t.shouldDisplayResendButton?d("button",{classMap:Z,attrs:{role:"button",title:t.labels.MessageResendButtonText,id:p("resendButton")},key:36,on:E||(n._m0={click:y(t.onResendButtonClick)})},[o("lightning-icon",F.default,{props:{iconName:"utility:refresh",size:"xx-small",id:p("resendButtonIcon")},key:37}),r(" "),m($,39,[g(0,{attrs:{id:p("resendButtonText")}},null),g(1,null,i(t.labels.MessageResendButtonText))])]):null,t.conversationEntry.isMessageOutbound&&t.shouldDisplayResendButton?r(" • "):null,t.conversationEntry.isMessageOutbound&&t.shouldDisplayReceipt?d("span",{className:a(t.generateChatMessageReceiptTextClassName),key:40},[r(i(t.receiptText)),m(H,42),o("lightning-formatted-date-time",M.default,{props:{value:t.receiptTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:43})]):null,t.conversationEntry.isMessageOutbound?null:d("span",ee,[m(V,46,[g(1,null,i(t.conversationEntry.actorName))]),r(" • "),d("span",te,[o("lightning-formatted-date-time",M.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:48})]),t.conversationEntry.wasRevised?m(W,50,[g(1,null," • "+i(t.labels.StreamingTokenValidationMessageFooterText))]):null])]):null]):J,t.conversationEntry.isSystemEvent&&t.conversationEntry.isParticipantChangedSystemEvent?d("div",se,[o("lightning-avatar",f.default,{className:a(t.generateEventAvatarClassName),props:{variant:"circle",size:"x-small",initials:t.generateAvatarInitials,alternativeText:t.conversationEntry.actorName,src:t.generateAvatarImage},key:52}),d("div",ne,[d("span",ae,[r(i(t.generateParticipantChangedSystemEventText)+" • "),d("span",ie,[o("lightning-formatted-date-time",M.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:56})])])])]):null,t.conversationEntry.isSystemEvent&&t.conversationEntry.isRoutingResultSystemEvent&&t.conversationEntry.shouldShowRoutingResultSystemEventText?d("div",re,[d("div",oe,[t.conversationEntry.isInitialRoutingFailure?m(z,60,[g(1,null,i(t.generateInitialRoutingFailureSystemEventText))]):null,t.conversationEntry.isTransferRoutingInitiated?d("span",de,[r(i(t.generateTransferRoutingInitiatedSystemEventText)+" "),o("lightning-formatted-date-time",M.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:62})]):null])]):null,t.conversationEntry.isSystemEvent&&t.shouldDisplaySessionStatusEntry?d("div",le,[d("span",ce,[r(i(t.sessionEndedText)+" "),o("lightning-formatted-date-time",M.default,{props:{value:t.conversationEntry.sessionEndTime,hour:"numeric",minute:"numeric",hour12:"true"},key:65})])]):null]))]),t.conversationEntry.isRoutingResultSystemEvent&&t.conversationEntry.shouldShowEstimatedWaitTime?d("div",ge,[d("span",me,[r(i(t.generateEstimatedWaitTimeSystemEventText)+" • "),o("lightning-formatted-date-time",M.default,{props:{value:t.conversationEntry.transcriptedTimestamp,hour:"numeric",minute:"numeric",hour12:"true"},key:68})])]):null,t.conversationEntry.isAutomatedResponseStaticText?m(Y,70,[g(2,null,i(t.conversationEntry.automatedResponseText))]):null,t.conversationEntry.isChoices&&t.conversationEntry.isChoicesButtons?o("embeddedmessaging-choices-buttons",L.default,{props:{options:t.conversationEntry.choices,messageId:t.conversationEntry.messageId,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus,isDisabled:t.conversationEntry.isSelectedOrRepliedTo,sessionStatus:t.sessionStatus},key:71}):null,t.conversationEntry.isChoices&&t.conversationEntry.isChoicesMenu?o("embeddedmessaging-choices-menu",P.default,{props:{options:t.conversationEntry.choices,messageId:t.conversationEntry.messageId,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus,isDisabled:t.conversationEntry.isSelectedOrRepliedTo,sessionStatus:t.sessionStatus},key:72}):null,t.conversationEntry.isChoices&&t.conversationEntry.isChoicesCarousel?o("embeddedmessaging-choices-carousel",B.default,{props:{options:t.conversationEntry.choicesCarouselOptions,images:t.conversationEntry.choicesCarouselImages,messageId:t.conversationEntry.messageId,conversationId:t.conversationEntry.conversationId,conversationStatus:t.conversationStatus,configuration:t.configuration,isDisabled:t.conversationEntry.isSelectedOrRepliedTo,sessionStatus:t.sessionStatus},key:73}):null]):null]}var he=t.registerTemplate(ue);ue.stylesheets=[],ue.stylesheetToken="lwc-3cjfrt9r4ka",ue.legacyStylesheetToken="embeddedMessaging-conversationEntryItem_conversationEntryItem",D&&ue.stylesheets.push.apply(ue.stylesheets,D),t.freezeTemplate(ue);const ve="EmbeddedMessaging-ConversationEntryItem";class pe extends t.LightningElement{constructor(...e){super(...e),this.conversationParticipants=void 0,this.conversationEntry=void 0,this.conversationStatus=void 0,this.labels={},this.configuration={},this.publicConfiguration=void 0,this.textMessageConstructor=void 0,this.sessionStatus=void 0,this.isMinimized=void 0,this.animationState="none",this._announceToScreenReader=!0}connectedCallback(){v.validateMessageId(this.conversationEntry.messageId),this.conversationEntry.validate(),this.handleLabels(),this.applyStyling()}renderedCallback(){!this._announceToScreenReader||this.conversationEntry.isMessageOutbound&&!this.conversationEntry.isSent&&!this.conversationEntry.hasSendFailed||this.conversationEntry.isStreamingToken||(this.handleScreenReaderAnnouncement(),this._announceToScreenReader=!1)}get shouldDisplayConversationEntry(){return this.conversationEntry.entryType!==p.EntryTypes.PARTICIPANT_CHANGED||("boolean"!=typeof this.configuration.snippetSettings.shouldShowParticipantChgEvntInConvHist||this.configuration.snippetSettings.shouldShowParticipantChgEvntInConvHist)}get shouldDisplayResendButton(){return this.conversationEntry.isMessageOutbound&&this.conversationEntry.hasSendFailed&&(this.conversationEntry.formatType!==p.FormatTypes.ATTACHMENTS||this.shouldDisplayF
463ileAttachmentResend)&&this.conversationStatus===p.ConversationStatus.OPENED_CONVERSATION&&!this.conversationEntry.resendInProgress}get shouldDisplayFileAttachmentResend(){return S.allowEndUserFileAttachments(this.configuration)&&Boolean(this.conversationEntry.attachedFile||this.conversationEntry.attachedFiles&&this.conversationEntry.attachedFiles.length)}get shouldDisplayChatBubble(){return(!Boolean(this.configuration.snippetSettings.showStartNewSessionCTA)||!E.authUtil.isUserVerificationEnabled(this.configuration)||this.conversationEntry.staticTextContent!==p.HIDDEN_MESSAGE_CONTENT)&&(this.conversationEntry.isStreamingToken||this.conversationEntry.isChatMessage&&(this.conversationEntry.isStaticContentMessage||this.conversationEntry.isChoices&&this.conversationEntry.choicesText||this.conversationEntry.isChoicesResponse||this.conversationEntry.isForm||this.conversationEntry.isFormResponseResult)||this.conversationEntry.isSystemEvent&&this.conversationEntry.isWebViewChatMessage||this.conversationEntry.isUnsupportedMessage&&!this.conversationEntry.isMessageOutbound)}get isFileAttachmentUploadPending(){if(!this.conversationEntry.isAttachments)return!1;return this.conversationEntry.attachments.some(e=>e?.attachmentUploadResult?.resultType===p.ATTACHMENT_UPLOAD_RESULT_TYPE.PENDING)}get shouldDisplayReceipt(){return(this.conversationEntry.isRead||this.conversationEntry.isDelivered||this.conversationEntry.isSent||this.conversationEntry.hasSendFailed)&&this.shouldDisplayChatBubble&&!this.isFileAttachmentUploadPending}get shouldDisplaySessionStatusEntry(){return this.conversationEntry.isSessionStatusChangedSystemEvent&&this.conversationEntry.isSessionEnded}get sessionEndedText(){switch(this.conversationEntry.sessionEndedByRole){case p.ParticipantRoles.ENDUSER:return this.labels.EndUserEndedChatText;case p.ParticipantRoles.CHATBOT:return this.labels.ChatbotEndedChatText;case p.ParticipantRoles.AGENT:return this.labels.AgentEndedChatText;default:return this.labels.ChatEndedText}}get isLastInGroup(){return this.conversationEntry.isLastInGroup||this.conversationEntry.isFauxLastInGroup}get receiptText(){return this.conversationEntry.hasSendFailed?this.labels.NotSent:this.conversationEntry.isRead&&this.configuration.embeddedServiceMessagingChannel.showReadReceipts?C.isConferenceMode(this.conversationParticipants)&&this.conversationEntry.readByParticipantIds.size===C.getAgentParticipantCount(this.conversationParticipants)?this.labels.ReadByAll:this.labels.Read:this.conversationEntry.isDelivered&&this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts?this.labels.Delivered:this.conversationEntry.isSent?this.labels.Sent:""}get receiptTimestamp(){return this.conversationEntry.isRead&&this.configuration.embeddedServiceMessagingChannel.showReadReceipts&&this.conversationEntry.readAcknowledgementTimestamp?this.conversationEntry.readAcknowledgementTimestamp:this.conversationEntry.isDelivered&&this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts&&this.conversationEntry.deliveryAcknowledgementTimestamp?this.conversationEntry.deliveryAcknowledgementTimestamp:(this.conversationEntry.isSent||this.conversationEntry.hasSendFailed)&&this.conversationEntry.transcriptedTimestamp?this.conversationEntry.transcriptedTimestamp:""}get generateChatMessageReceiptTextClassName(){let e="embedded-messaging-chat-message-receipt-text";return e+=this.conversationEntry.hasSendFailed?" slds-text-color_error":"",e}get generateListItemClassName(){const e=this.conversationEntry.actorType;let t="slds-chat-listitem slds-chat-listitem_";switch(e){case p.ParticipantRoles.AGENT:case p.ParticipantRoles.CHATBOT:t+="inbound";break;case p.ParticipantRoles.ENDUSER:t+="outbound";break;case p.ParticipantRoles.SYSTEM:t+="event";break;default:throw new Error(`Unsupported actor type: ${e}`)}return t+=" embedded-messaging-conversation-entry-listitem",this.conversationEntry.choicesText&&(this.conversationEntry.isChoicesMenu||this.conversationEntry.isChoicesButtons?t+=" embedded-messaging-choices-message":this.conversationEntry.isChoicesCarousel&&(t+=" embedded-messaging-choices-carousel-message")),t}get generateEntryTypeClassName(){const e=this.conversationEntry.entryType;let t="slds-chat-";switch(e.toLowerCase()){case p.EntryTypes.CONVERSATION_MESSAGE.toLowerCase():case p.EntryTypes.STREAMING_TOKEN.toLowerCase():t+="message",t+=" embedded-messaging-chat-message",this.isLastInGroup||this.conversationEntry.isMessageOutbound||this.conversationEntry.isChoicesCarousel||(t+=" slds-chat-message_faux-avatar");break;case p.EntryTypes.PARTICIPANT_CHANGED.toLowerCase():case p.EntryTypes.ROUTING_RESULT.toLowerCase():case p.EntryTypes.SESSION_STATUS_CHANGED.toLowerCase():t+="event";break;default:throw new Error(`Unsupported entry type: ${e}`)}return t}get generateEntryTypeBodyClassName(){const e=this.conversationEntry.entryType;let t="slds-chat-";switch(e.toLowerCase()){case p.EntryTypes.CONVERSATION_MESSAGE.toLowerCase():case p.EntryTypes.STREAMING_TOKEN.toLowerCase():t+="message";break;case p.EntryTypes.PARTICIPANT_CHANGED.toLowerCase():case p.EntryTypes.SESSION_STATUS_CHANGED.toLowerCase():case p.EntryTypes.ROUTING_RESULT.toLowerCase():t+="event";break;default:throw new Error(`Unsupported entry type: ${e}`)}return t+="__body",t}get generateChatMessageClassName(){const e=this.conversationEntry.formatType,t=this.conversationEntry.actorType;let s="slds-chat-message";switch(e.toLowerCase()){case p.FormatTypes.TEXT.toLowerCase():case p.FormatTypes.BUTTONS.toLowerCase():case p.FormatTypes.QUICK_REPL
463IES.toLowerCase():case p.FormatTypes.CAROUSELS.toLowerCase():case p.FormatTypes.SELECTIONS.toLowerCase():s+="__text";break;case p.FormatTypes.ATTACHMENTS.toLowerCase():s+="__file";break;case p.FormatTypes.RICH_LINK.toLowerCase():case p.FormatTypes.WEB_VIEW.toLowerCase():s+=this.conversationEntry.hasYoutubeEmbedLinks?"__text":"__link";break;case p.FormatTypes.INPUTS.toLowerCase():case p.FormatTypes.RESULT.toLowerCase():s+="__form";break;default:throw new Error(`Unsupported format type: ${e}`)}switch(s.concat(" ",s),t){case p.ParticipantRoles.AGENT:case p.ParticipantRoles.CHATBOT:case p.ParticipantRoles.SYSTEM:s+="_inbound",s+=" embedded-messaging-inbound-chat-message",s+=this.conversationEntry.isAttachments?" slds-m-top_xx-small slds-m-bottom_xx-small":"";break;case p.ParticipantRoles.ENDUSER:s+="_outbound",s+=" embedded-messaging-outbound-chat-message";break;default:throw new Error(`Unsupported actor type: ${t}`)}return this.textMessageConstructor&&(s+=this.conversationEntry.isStaticText?" custom_chat_message_bubble_component":""),this.conversationEntry.wasInvalidated&&this.conversationEntry.isStreamingToken&&"none"===this.animationState&&this.handleRollUpAnimation(),s}handleRollUpAnimation(){const e=this.template.querySelector(".slds-chat-message__text_inbound.embedded-messaging-inbound-chat-message");if(this.animationState="started",e){const t=e.getBoundingClientRect(),s=window.getComputedStyle(e),n=t.height,a=t.width,i=parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)+parseFloat(s.lineHeight);e.style.setProperty("--original-height",`${n}px`),e.style.setProperty("--original-width",`${a}px`),e.style.setProperty("--single-line-height",`${i}px`);const r=this.conversationEntry.originalContent;r&&r.trim().length>0&&e.setAttribute("data-preserved-text",r);const o=()=>{e.classList.remove("roll-up-animation"),e.removeEventListener("animationend",o)};e.addEventListener("animationend",o),e.classList.add("roll-up-animation")}}get generateUnsupportedMessageTypeClassName(){let e="slds-chat-message__text";const t=this.conversationEntry.actorType;switch(t){case p.ParticipantRoles.AGENT:case p.ParticipantRoles.CHATBOT:case p.ParticipantRoles.SYSTEM:e+="_inbound",e+=" embedded-messaging-inbound-chat-message";break;case p.ParticipantRoles.ENDUSER:e+="_outbound",e+=" embedded-messaging-outbound-chat-message";break;default:throw new Error(`Unsupported actor type: ${t}`)}return e+=" unsupportedMessage",e}get unsupportedMessageText(){const e={"{0}":this.conversationEntry.actorType};return E.util.replacePlaceholdersInString(this.labels.UnsupportedMessageText,e)}get generateChatMessageMetadataClassName(){let e="slds-chat-message__meta";return e+=" embedded-messaging-chat-message-metadata","slds-chat-message__meta embedded-messaging-chat-message-metadata"}get generateMessageAvatarClassName(){let e="slds-chat-avatar";return e+=" embedded-messaging-chat-message-agent-avatar","slds-chat-avatar embedded-messaging-chat-message-agent-avatar"}get generateEventAvatarClassName(){return"embedded-messaging-system-event-avatar"}get generateParticipantChangedSystemEventText(){const e=this.conversationEntry.messageType,t={"{0}":this.conversationEntry.actorName};let s="";return e===p.ParticipantChangedOperations.ADD?s=E.util.replacePlaceholdersInString(this.labels.ParticipantJoinText,t):e===p.ParticipantChangedOperations.REMOVE?s=E.util.replacePlaceholdersInString(this.labels.ParticipantLeaveText,t):E.warning(`Unsupported ParticipantChanged operation: ${e}`),s}get generateInitialRoutingFailureSystemEventText(){return this.conversationEntry.shouldShowRoutingFailureReason?this.conversationEntry.routingFailureReason:this.labels.InitialRoutingFailureSystemMessage}get generateTransferRoutingInitiatedSystemEventText(){return this.labels.TransferRequestSuccessSystemMessage}get generateEstimatedWaitTimeSystemEventText(){let e="";const t={"{0}":this.conversationEntry.estimatedWaitTimeInMinutes};return e=this.conversationEntry.estimatedWaitTimeInMinutes>1?E.util.replacePlaceholdersInString(this.labels.EstimatedWaitTimeInMinutes,t):E.util.replacePlaceholdersInString(this.labels.EstimatedWaitTimeInMinute,t),e}get generateAvatarInitials(){const e=this.conversationEntry.actorName.toUpperCase().split(" ");let t="";return e.forEach((s,n)=>{const a=n;e[a].length>0&&""!==e[a]&&(t+=e[a][0])}),t.length>2&&(t=t.slice(0,2)),t}get generateAvatarImage(){let e;switch(this.conversationEntry.actorType){case p.ParticipantRoles.AGENT:e=this.conversationEntry.shouldShowAvatar?b.getBrandingValue(b.BRANDING_TOKENS.AGENT_AVATAR_IMAGE.name):"";break;case p.ParticipantRoles.CHATBOT:e=b.getBrandingValue(b.BRANDING_TOKENS.BOT_AVATAR_IMAGE.name);break;case p.ParticipantRoles.SYSTEM:e=this.conversationEntry.isParticipantForParticipantChangedSystemEventAnAgent&&this.conversationEntry.shouldShowAvatar?b.getBrandingValue(b.BRANDING_TOKENS.AGENT_AVATAR_IMAGE.name):this.conversationEntry.isParticipantForParticipantChangedSystemEventAChatbot?b.getBrandingValue(b.BRANDING_TOKENS.BOT_AVATAR_IMAGE.name):"";break;default:e=""}return e}get shouldShowTimestamp(){return this.conversationEntry.shouldShowTimeStamp}get generateTimeStamp(){const e=(new Date).setHours(0,0,0,0).valueOf(),t=new Date(this.conversationEntry.transcriptedTimestamp),s=e-this.conversationEntry.transcriptedTimestamp;return E.util.isSameDay(this.conversationEntry.transcriptedTimestamp,e)?this.labels.StartBookendText:s<p.DAY_THRESHOLD_MILLISECONDS?this.labels.Yesterday:s<p.WEEK_THRESHOLD_MILLISECONDS?t.toLocaleStr
463ing(E.getLanguage(),p.WEEKDAY_TIMESTAMP_FORMAT):t.toLocaleDateString(E.getLanguage(),p.DATE_TIMESTAMP_FORMAT)}get accessibilityText(){try{if(this.conversationEntry.isAutomatedResponseStaticText)return this.conversationEntry.automatedResponseText;if(this.conversationEntry.isSystemEvent&&!this.conversationEntry.isWebViewChatMessage)return this.systemEventText;let e="";if(this.conversationEntry.isStaticText||this.conversationEntry.isChoicesResponse||this.conversationEntry.isMessageLinkURL||this.conversationEntry.isWebViewChatMessage?e=this.textFromChatBubble:this.conversationEntry.isAttachments?e=this.conversationEntry.attachmentsAccessibilityText:this.conversationEntry.isChoices?e=this.conversationEntry.choiceMessageAccessibilityText:this.conversationEntry.isForm?e=this.conversationEntry.formTitle:this.conversationEntry.isUnsupportedMessage&&(e=this.unsupportedMessageText),e){if(this.conversationEntry.isMessageOutbound){const t={"{0}":e,"{1}":new Date(this.conversationEntry.transcriptedTimestamp).toLocaleTimeString()};return E.util.replacePlaceholdersInString(y.getLabel("EmbeddedMessagingConversationState","OutboundNewMessageScreenReaderText"),t)}const t={"{0}":this.conversationEntry.actorName,"{1}":e,"{2}":new Date(this.conversationEntry.transcriptedTimestamp).toLocaleTimeString()};return E.util.replacePlaceholdersInString(y.getLabel("EmbeddedMessagingConversationState","InboundNewMessageScreenReaderText"),t)}}catch(e){E.LoggingUtil.logError(e,ve,{method:"accessibilityText",errMessage:"Something went wrong getting accessibility text."})}return""}get systemEventText(){return this.conversationEntry.isParticipantChangedSystemEvent?this.generateParticipantChangedSystemEventText:this.conversationEntry.isRoutingResultSystemEvent&&this.conversationEntry.isInitialRoutingFailure?this.generateInitialRoutingFailureSystemEventText:this.conversationEntry.isRoutingResultSystemEvent&&this.conversationEntry.isTransferRoutingInitiated?this.generateTransferRoutingInitiatedSystemEventText:this.conversationEntry.isRoutingResultSystemEvent&&this.conversationEntry.shouldShowEstimatedWaitTime?this.generateEstimatedWaitTimeSystemEventText:this.shouldDisplaySessionStatusEntry?this.sessionEndedText:""}get textFromChatBubble(){return this.querySelectChatBubble()?this.querySelectChatBubble().innerText.replace(E.LINE_BREAK_REGEX," "):""}onResendButtonClick(e){T.dispatchEvent(E.events.EMBEDDED_MESSAGING_RESEND_FAILED_MESSAGE,{conversationEntry:this.conversationEntry,resendButtonElement:e.target}),E.LoggingUtil.logInteraction(e,this,ve,{method:"onResendButtonClick"})}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet.insertRule("lightning-avatar.embedded-messaging-chat-message-agent-avatar > abbr.slds-avatar__initials, lightning-avatar.embedded-messaging-chat-message-agent-avatar > abbr.slds-avatar__initials:hover, lightning-avatar.embedded-messaging-system-event-avatar > abbr.slds-avatar__initials, lightning-avatar.embedded-messaging-system-event-avatar > abbr.slds-avatar__initials:hover { color: #FFFFFF; text-shadow:none; }",0),e.sheet.insertRule(".slds-chat-message__text_outbound a { color: var(--userMessageLink, #FFFFFF); }",0),e.sheet.insertRule(".slds-chat-message__text_inbound a { color: var(--agentMessageLink, #0469C1); }",0),e.sheet.insertRule(".slds-chat-message__text_outbound { border-radius: 4px 4px 0 4px; }",0),e.sheet.insertRule(".slds-chat-message__text_inbound { border-radius: 4px 4px 4px 0; }",0),e.sheet.insertRule(":dir(rtl) .slds-chat-message__text_outbound { border-radius: 4px 4px 4px 0; }",0),e.sheet.insertRule(":dir(rtl) .slds-chat-message__text_inbound { border-radius: 4px 4px 0 4px; }",0),e.sheet.insertRule(".slds-chat-message__file_outbound { border: 1px solid var(--userMessageBackgroun
463d, #2E2E2E); }",0),e.sheet.insertRule(".slds-chat-message__file_outbound .slds-file__title_card { border-radius: 0 0 0 6px; background-color: var(--userMessageBackground, #2E2E2E); color: var(--userMessageText, #FFFFFF); }",0),e.sheet.insertRule(".slds-chat-message__file_inbound .slds-file__title_card { border-radius: 0 0 6px 0; color: #181818 }",0)}handleLabels(){this.labels.ParticipantJoinText=y.getLabel("EmbeddedMessagingConversationState","ParticipantJoinText"),this.labels.ParticipantLeaveText=y.getLabel("EmbeddedMessagingConversationState","ParticipantLeaveText"),this.labels.NotSent=y.getLabel("EmbeddedMessagingConversationState","NotSent"),this.labels.Sent=y.getLabel("EmbeddedMessagingConversationState","Sent"),this.labels.Delivered=y.getLabel("EmbeddedMessagingConversationState","Delivered"),this.labels.Read=y.getLabel("EmbeddedMessagingConversationState","Read"),this.labels.ReadByAll=y.getLabel("EmbeddedMessagingConversationState","ReadByAll"),this.labels.TransferRequestSuccessSystemMessage=y.getLabel("EmbeddedMessagingConversationState","TransferRequestSuccessSystemMessage"),this.labels.TransferRequestFailureSystemMessage=y.getLabel("EmbeddedMessagingConversationState","TransferRequestFailureSystemMessage"),this.labels.TransferRequestTryAgainSystemMessage=y.getLabel("EmbeddedMessagingConversationState","TransferRequestTryAgainSystemMessage"),this.labels.InitialRoutingFailureSystemMessage=y.getLabel("EmbeddedMessagingConversationState","NotRoutedToAgentRoutingResult"),this.labels.MessageResendButtonText=y.getLabel("EmbeddedMessagingConversationState","MessageResendButtonText"),this.labels.EstimatedWaitTimeInMinute=y.getLabel("EmbeddedMessagingConversationState","EstimatedWaitTimeInMinute"),this.labels.EstimatedWaitTimeInMinutes=y.getLabel("EmbeddedMessagingConversationState","EstimatedWaitTimeInMinutes"),this.labels.StartBookendText=y.getLabel("EmbeddedMessagingConversationState","StartBookendText"),this.labels.Yesterday=y.getLabel("EmbeddedMessagingConversationState","Yesterday"),this.labels.UnsupportedMessageText=y.getLabel("EmbeddedMessagingConversationState","UnsupportedMessageTypeText"),this.labels.EndUserEndedChatText=y.getLabel("EmbeddedMessagingConversationState","EndUserEndedChatText"),this.labels.AgentEndedChatText=y.getLabel("EmbeddedMessagingConversationState","AgentEndedChatText"),this.labels.ChatbotEndedChatText=y.getLabel("EmbeddedMessagingConversationState","ChatbotEndedChatText"),this.labels.StreamingTokenValidationMessageFooterText=y.getLabel("EmbeddedMessagingConversationState","StreamingTokenValidationMessageFooterText"),this.labels.ChatEndedText=y.getLabel("EmbeddedMessagingConversationState","ConversationClosedText")}get generateClassNameForStaticTextInAttachmentMessage(){const e=this.conversationEntry.isMessageOutbound?"outbound":"inbound";return`slds-chat-message__text_${e} embedded-messaging-${e}-chat-message slds-m-top_xx-small`}querySelectChatBubble(){const e=this.conversationEntry.isMessageOutbound?".embedded-messaging-outbound-chat-message":".embedded-messaging-inbound-chat-message";return this.template.querySelector(e)}handleScreenReaderAnnouncement(){!this.isMinimized&&this.accessibilityText&&E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:this.accessibilityText})}}t.registerDecorators(pe,{publicProps:{conversationParticipants:{config:0},conversationEntry:{config:0},conversationStatus:{config:0},configuration:{config:0},publicConfiguration:{config:0},textMessageConstructor:{config:0},sessionStatus:{config:0},isMinimized:{config:0}},track:{labels:1},fields:["animationState","_announceToScreenReader"]});const ye=t.registerComponent(pe,{tmpl:he,sel:"embeddedMessaging-conversation-entry-item",apiVersion:66,enableSyntheticElementInternals:!0});e.default=ye,Object.defineProperty(e,"__esModule",{value:!0})});
464})();LWR.define('embeddedmessaging/conversationEntryItem', ['embeddedMessaging/conversationEntryItem'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatUnseenMessageNotification",["exports","lwc","lightning/buttonIcon","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(e,s,t,n,i,a){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(t);var r=[function(e,s,t){var n=e?"["+e+"]":"",i=e?"-"+e:"";return[".unseenMessageNotification",n," {position: absolute;display: flex;flex-direction: column;flex-wrap: nowrap;justify-content: center;align-items: center;height: 60px;width: 36px;bottom: 0;left: 45%;pointer-events: none;z-index: 10;}",t?"":'[dir="rtl"]'," ",t?":dir(rtl)":""," .unseenMessageNotification",n," {right: 45%;transform: translateX(-1px);}.unseenMessageNotification",n," > .scrollDownButton:hover",n,",.unseenMessageNotification",n," > .unseenMessageBubble:hover",n," {cursor: pointer;}.unseenMessageNotification",n," > .scrollDownButton:hover",n," {background-color: #F3F3F3}.unseenMessageNotification",n," .unseenMessageBubble",n," {position: absolute;top: 10px;display: flex;
464width: 20px;height: 20px;background-color: var(--alert, #D72E2D);color: white;font-size: 10px;font-weight: bold;border-radius: 50%;margin: 0 0.25rem;justify-content: center;align-items: center;pointer-events: auto;}.rtl",n," {left: -10px;}.ltr",n," {right: -10px;}.unseenMessageNotification",n," .scrollDownButtonBubble",n," {order: 0;position: relative;top: 5px;display: flex;width: 38px;height: 38px;border-radius: 50%;margin: 0 0.25rem;justify-content: center;align-items: center;border: none;pointer-events: auto;background-color: white;box-shadow: 0 2px 5px 0 rgba(45,45,0,0.5);--slds-c-button-text-color-hover: var(--primaryText, #333333);--slds-c-button-color-border-active: #00000000;--slds-c-button-text-color-active: var(--primaryText, #333333);--slds-c-button-sizing-border: 20px;}.unseenMessageNotification",n," .scrollDownButton",n," {order: 0;position: relative;top: -12px;display: flex;width: 14px;height: 14px;justify-content: center;align-items: center;pointer-events: auto;margin-top: auto;--slds-c-icon-color-foreground: var(--primaryText, #333333);}.unseenMessageNotification",n," .scrollDownButtonBubble:hover",n," {background: var(--secondaryButtonBackgroundHoverColor, #F3F3F3);}.unseenMessageNotification",n," .scrollDownButtonBubble:focus",n," {outline: 2px solid var(--secondaryButtonText, #181818);outline-offset: 2px;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount",n," {color: var(--slds-g-color-neutral-base-95, #F4F4F4);font-weight: bold;font-size: var(--slds-g-font-scale-neg-1, 0.75em);}.messageCount",n," {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}@supports (-moz-appearance:none) {.unseenMessageNotification",n," .unseenMessageBubble",n," {z-index: 1;}}.unseenMessageNotification.hideMessageCount",n," {-webkit-animation: notification-exit-fade-out",i," 0.3s ease-in both;animation: notification-exit-fade-out",i," 0.3s ease-in both;}.unseenMessageNotification",n," .scrollDownButton",n," {-webkit-animation: unseen-message-notification-fade-in",i," 0.5s ease-out both;animation: unseen-message-notification-fade-in",i," 0.5s ease-out both;}.unseenMessageNotification",n," .unseenMessageBubble",n," {-webkit-animation: bubble-scale-in-bottom-left",i," 0.3s ease-out both;animation: bubble-scale-in-bottom-left",i," 0.3s ease-out both;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showMessageCount",n," {-webkit-animation: message-count-increment-slide-in-top",i," 0.3s cubic-bezier(0.075, 0.820, 0.165, 1.000) both;animation: message-count-increment-slide-in-top",i," 0.3s cubic-bezier(0.075, 0.820, 0.165, 1.000) both;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showNinePlusMessageCount",n," {-webkit-animation: unseen-message-notification-fade-in",i," 0.3s ease-out both;animation: unseen-message-notification-fade-in",i," 0.3s ease-out both;}@media not screen and (prefers-reduced-motion: no-preference),only screen and (prefers-reduced-motion: reduce) {.unseenMessageNotification.hideMessageCount",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .scrollDownButton",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .unseenMessageBubble",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showMessageCount",n," {-webkit-animation: none;animation: none;}.unseenMessageNotification",n," .unseenMessageBubble",n," .messageCount.showNinePlusMessageCount",n," {-webkit-animation: none;animation: none;}}@-webkit-keyframes unseen-message-notification-fade-in {0%",n," {opacity: 0;visibility: hidden;}100%",n," {opacity: 1;visibility: visible;}}@keyframes unseen-message-notification-fade-in",i," {0% {opacity: 0;visibility: hidden;}100% {opacity: 1;visibility: visible;}}@-webkit-keyframes bubble-scale-in-bottom-left {0%",n," {-webkit-transform: scale(0);transform: scale(0);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: hidden;}100%",n," {-webkit-transform: scale(1);transform: scale(1);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;
464opacity: 1;visibility: visible;}}@keyframes bubble-scale-in-bottom-left",i," {0% {-webkit-transform: scale(0);transform: scale(0);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: hidden;}100% {-webkit-transform: scale(1);transform: scale(1);-webkit-transform-origin: 0% 100%;transform-origin: 0% 100%;opacity: 1;visibility: visible;}}@-webkit-keyframes message-count-increment-slide-in-top {0%",n," {-webkit-transform: translateY(-30px);transform: translateY(-30px);opacity: 0;visibility: hidden;}100%",n," {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1;visibility: visible;}}@keyframes message-count-increment-slide-in-top",i," {0% {-webkit-transform: translateY(-30px);transform: translateY(-30px);opacity: 0;visibility: hidden;}100% {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1;visibility: visible;}}@-webkit-keyframes notification-exit-fade-out {0%",n," {opacity: 1;visibility: visible;}100%",n," {opacity: 0;visibility: hidden;}}@keyframes notification-exit-fade-out",i," {0% {opacity: 1;visibility: visible;}100% {opacity: 0;visibility: hidden;}}"].join("")}];const u=s.parseFragment`<div${"c0"}${"a0:id"}${2}><span${"c1"} aria-hidden="true"${"a1:title"}${"a1:id"}${2}>${"t2"}</span></div>`,c={unseenMessageNotification:!0},g={scrollDownButtonBubble:!0},b={scrollDownButton:!0};function d(e,s,t,n){const{gid:i,b:a,c:o,h:r,ncls:d,d:m,sp:f,st:h}=e,{_m0:p}=n;return[r("div",{classMap:c,attrs:{id:i("unseenMessageNotification")},key:0,on:p||(n._m0={click:a(s.handleClick)})},[r("div",{classMap:g,attrs:{id:i("scrollDownButtonBubble")},key:1},[o("lightning-button-icon",l.default,{classMap:b,props:{iconName:"utility:arrowdown",size:"medium",variant:"container",alternativeText:s.unseenMessageNotificationAssistiveLabel,id:i("scrollDownButtonIcon")},key:2})]),s.shouldDisplayBubble?h(u,4,[f(0,{className:d(s.unseenMessageBubbleClass),attrs:{id:i("unseenMessageBubble")}},null),f(1,{className:d(s.unseenMessageCountClass),attrs:{title:s.numberOfUnreadMessages,id:i("unseenMessageCountText")}},null),f(2,null,m(s.numberOfUnreadMessages))]):null])]}var m=s.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-6berj1hjgql",d.legacyStylesheetToken="embeddedMessaging-chatUnseenMessageNotification_chatUnseenMessageNotification",r&&d.stylesheets.push.apply(d.stylesheets,r),s.freezeTemplate(d);class f extends s.LightningElement{constructor(...e){super(...e),this.unseenMessageCount=void 0,this.labels={},this.isAnimating=!1}connectedCallback(){i.validateNumber(this.unseenMessageCount),this.handleLabels(),this.applyStyling()}get shouldDisplayBubble(){return this.unseenMessageCount>0}get numberOfUnreadMessages(){return this.unseenMessageCount<=9?this.unseenMessageCount:this.labels.NinePlusUnseenMessageCount}get unseenMessageNotificationAssistiveLabel(){const e={"{0}":this.unseenMessageCount};return 0===this.unseenMessageCount?this.labels.ZeroUnseenMessagesAssistiveText:this.unseenMessageCount<=9?i.util.replacePlaceholdersInString(this.labels.UnseenMessagesAssistiveText,e):this.labels.NinePlusUnseenMessagesAssistiveText}get unseenMessageBubbleClass(){return i.rtlUtil.isHtmlDirectionRTL()?"unseenMessageBubble rtl":"unseenMessageBubble ltr"}get unseenMessageCountClass(){return this.unseenMessageCount<10?"messageCount showMessageCount":"messageCount showNinePlusMessageCount"}getUnseenMessageNotification(){return this.template?this.template.querySelector(".unseenMessageNotification"):void 0}getUnseenMessageNotificationBubble(){return this.template?this.template.querySelector(".unseenMessageNotification > .unseenMessageBubble"):void 0}initiateHideAnimation(){const e=this.template?this.template.querySelector(".unseenMessageNotification"):void 0;e&&!this.isAnimating&&(this.isAnimating=!0,e.addEventListener("animationend",()=>{this.isAnimating=!1,n.dispatchEvent(i.events.EMBEDDED_MESSAGING_UNSEEN_NOTIFICATION_ANIMATION_END,{})}),e.classList.add("hideMessageCount"))}handleClick(e){n.dispatchEvent(i.events.UNSEEN_MESSAGE_NOTIFICATION_CLICKED,{bubbles:!0}
464),i.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-ChatUnseenMessageNotification",{method:"handleClick"})}handleLabels(){this.labels.NinePlusUnseenMessageCount=a.getLabel("EmbeddedMessagingUnseenMessageNotification","NinePlusUnseenMessageCount"),this.labels.ZeroUnseenMessagesAssistiveText=a.getLabel("EmbeddedMessagingUnseenMessageNotification","ZeroUnseenMessagesAssistiveText"),this.labels.UnseenMessagesAssistiveText=a.getLabel("EmbeddedMessagingUnseenMessageNotification","UnseenMessagesAssistiveText"),this.labels.NinePlusUnseenMessagesAssistiveText=a.getLabel("EmbeddedMessagingUnseenMessageNotification","NinePlusUnseenMessagesAssistiveText")}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule("embeddedmessaging-chat-unseen-message-notification .slds-button_icon-container { width: auto; }",0),e.sheet.insertRule("embeddedmessaging-chat-unseen-message-notification .slds-button:focus { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 2px solid  var(--secondaryButtonText, #181818); box-shadow: none; }",0))}}s.registerDecorators(f,{publicProps:{unseenMessageCount:{config:0}},publicMethods:["getUnseenMessageNotification","getUnseenMessageNotificationBubble","initiateHideAnimation"],track:{labels:1},fields:["isAnimating"]});const h=s.registerComponent(f,{tmpl:m,sel:"embeddedMessaging-chat-unseen-message-notification",apiVersion:66,enableSyntheticElementInternals:!0});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
465})();LWR.define('embeddedmessaging/chatUnseenMessageNotification', ['embeddedMessaging/chatUnseenMessageNotification'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/countdownTimer",["exports","lwc"],function(i,e){const t=e.registerComponent(class{constructor(i,e,t){this._timer=void 0,this._finished=void 0,this._endTimerCallback=void 0,this._durationInMillis=void 0,this._lastReceivedTimestamp=void 0,this._timer=null,this._finished=!1,this._endTimerCallback=i,this._durationInMillis=e,this._lastReceivedTimestamp=t}start(){this.clear(),this._finished=!1,this._timer=setTimeout(()=>{this._finished=!0,this._endTimerCallback(),this.clear()},this._durationInMillis)}clear(){this._timer&&clearTimeout(this._timer)}reset(i){i<this._lastReceivedTimestamp||(this._lastReceivedTimestamp=i,this._finished&&(this._timer=void 0),this.start())}},{tmpl:void 0,sel:"embeddedMessaging-countdown-timer",apiVersion:66,enableSyntheticElementInternals:!0});i.default=t,Object.defineProperty(i,"__esModule",{value:!0})});
466})();LWR.define('embeddedmessaging/countdownTimer', ['embeddedMessaging/countdownTimer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationLog",["exports","lwc","embeddedmessaging/spinner","embeddedmessaging/conversationEntryItem","embeddedmessaging/progressIndicator","lightning/formattedDateTime","embeddedmessaging/chatUnseenMessageNotification","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/brandingUtils","embeddedMessaging/globalEventStore","embeddedMessaging/inAppService","embeddedMessaging/countdownTimer","embeddedMessaging/labelUtils","embeddedMessaging/webStorageUtils","embeddedMessaging/participant"],function(e,t,s,i,n,o,a,r,l,d,c,g,h,u,p,m){function S(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=S(s),v=S(i),M=S(n),T=S(o),A=S(a),b=S(h);var f=[function(e,t,s){var i=e?"["+e+"]":"",n=e?"["+e+"-host]":"";return(t?":host {":n+" {")+"height: inherit;width: inherit;position: relative;align-self: stretch;flex: 1 1 auto;overflow: hidden;}"+(t?":host:focus {":n+":focus {")+"border: 1px solid var(--secondaryColor, #005290);outline: none;}li"+i+" > div.embedded-messaging-bookend"+i+" {border: none;color: var(--secondaryText, #5C5C5C);text-align: center;font-size: 0.75em;}section.slds-chat"+i+" {height: 100%;width: 100%;overflow: hidden;display: flex;flex-direction: column;justify-content: end;}section.slds-chat:focus"+i+" {border: 2px solid var(--slds-g-color-neutral-base-20, #2e2e2e);outline: 0px;}ul.slds-chat-list"+i+" {flex: 0 1 auto;width: 100%;overflow-y: auto;overflow-x: hidden;padding: 5px 14px 0 14px;}ul"+i+" > div.chat-typing-indicator"+i+" {overflow: hidden;display: table;}ul"+i+" > div.chat-typing-indicator"+i+" > embeddedmessaging-progress-indicator"+i+" {position: relative;top: 5px;display: inline-block;width: 25px;height: 25px;border-radius: 50%;justify-content: center;align-items: center;border: none;pointer-events: auto;}ul"+i+" > div.chat-typing-indicator"+i+" > span.typing-indicator-text"+i+" {text-overflow: ellipsis;white-space: nowrap;max-width: 267px;overflow: hidden;padding-left: 14px;color: var(--secondaryText, #5C5C5C);font-size: var(--slds-g-font-scale-1, 0.875em);display: inline-block;vertical-align: middle;}
466"+(s?"":'[dir="rtl"]')+" "+(s?":dir(rtl)":"")+" ul"+i+" > div.chat-typing-indicator"+i+" > span.typing-indicator-text"+i+" {padding-left: 0;padding-right: 14px;}embeddedmessaging-spinner"+i+" {position: absolute;}"}];const C=t.parseFragment`<span class="typing-indicator-text${0}"${"a0:title"}${2}>${"t1"}</span>`,y=t.parseFragment`<span${3}>${"t1"}</span>`,N={"slds-chat":!0},_={classMap:{"slds-chat-list":!0},attrs:{role:"presentation"},key:2},R={classMap:{"chat-typing-indicator":!0},key:4},w={key:5},I={classMap:{"slds-chat-listitem":!0,"slds-chat-listitem_bookend":!0},key:8},O={classMap:{"embedded-messaging-bookend":!0,"slds-chat-bookend":!0,"slds-chat-bookend_stop":!0},key:9},D={key:10},P={key:14};function x(e,t,s,i){const{c:n,k:o,i:a,d:r,sp:l,st:d,h:c,f:g}=e;return[t.showGetConversationEntriesSpinner?n("embeddedmessaging-spinner",E.default,{props:{spinnerColorToken:t.spinnerColorToken,shouldDisplay:t.showGetConversationEntriesSpinner,assistiveText:t.spinnerAssistiveText},key:0}):null,c("section",{classMap:N,attrs:{"aria-label":t.conversationLogAssistiveText,tabindex:"0"},key:1},[c("ul",_,g([a(t.conversationEntries,function(e){return n("embeddedmessaging-conversation-entry-item",v.default,{props:{conversationEntry:e,conversationStatus:t.conversationStatus,textMessageConstructor:t.textMessageConstructor,publicConfiguration:t.publicConfiguration,configuration:t.configuration,conversationParticipants:t.conversationParticipants,sessionStatus:t.sessionStatus,isMinimized:t.isMinimized},key:o(3,e.messageId)})}),t.showFooterIndicator?c("div",R,[n("embeddedmessaging-progress-indicator",M.default,w),d(C,7,[l(0,{attrs:{title:t.footerIndicatorMessage}},null),l(1,null,r(t.footerIndicatorMessage))])]):null,t.endBookendText?c("li",I,[c("div",O,[c("p",D,[d(y,12,[l(1,null,r(t.endBookendText)+" ")]),n("lightning-formatted-date-time",T.default,{props:{value:t.conversationEndTime,hour:"numeric",minute:"numeric",hour12:"true"},key:13})])])]):null]))]),t.shouldDisplayUnseenMessageBanner?c("div",P,[n("embeddedmessaging-chat-unseen-message-notification",A.default,{props:{unseenMessageCount:t.unseenMessageCount},key:15})]):null]}var B=t.registerTemplate(x);x.stylesheets=[],x.stylesheetToken="lwc-2itfp6ba1pc",x.legacyStylesheetToken="embeddedMessaging-conversationLog_conversationLog",f&&x.stylesheets.push.apply(x.stylesheets,f),t.freezeTemplate(x);class L extends t.LightningElement{constructor(...e){super(...e),this.conversationParticipants=void 0,this.conversationEntries=void 0,this.conversationStatus=void 0,this.conversationId=void 0,this.startTime=void 0,this.endTime=void 0,this.sessionStatus=void 0,this.unseenMessageCount=0,this.shouldDisplayUnseenMessageBanner=void 0,this.currentTypingParticipants=void 0,this.progressIndicatorMessage=void 0,this.queuePosition=void 0,this._isAnotherParticipantTyping=!1,this.isJwtExpired=void 0,this.configuration={},this.publicConfiguration=void 0,this.textMessageConstructor=void 0,this.labels={},this._isMinimized=void 0,this.isAppAfterMaximization=!0,this.scrollingTimer=void 0,this.readReceiptsTimer=void 0,this.lastReadRecipt=-1,this.lastProcessedEntry=-1,this.isAutoScrollEnabled=!1,this.messageAreaElement=void 0,this.lastMessageAreaScrollPosition=void 0,this.isScrolledToTheBottom=!1,this._showGetConversationEntriesSpinner=!1,this.isInitialRender=!0,this.hasLoadedAllConversationEntries=void 0,this.spinnerColorToken=d.BRANDING_TOKENS.CONTRAST_PRIMARY_COLOR,this.handleScroll=()=>{this.isAppAfterMaximization&&(this.isAutoScrollEnabled=!0,this.isScrolledToTheBottom=this.isMessageAreaEndOfScroll(),c.dispatchEvent(r.events.EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE,{isMessageAreaEndOfScroll:this.isMessageAreaEndOfScroll()}),this.hasLoadedAllConversationEntries||this.showGetConversationEntriesSpinner||!this.isMessageAreaTopOfScroll()||this.dispatchEvent(new CustomEvent("messageareatopofscroll")),!this.shouldShowUnseenMessageCounter()&&this.conversationEntries.length>0&&this.clearUnseenMessageNotifications(),this.scrollingTimer?this.scrollingTimer.reset(Date.now()):(this.scrollingTimer=new b.default(this.handleScrollEnd.bind(this),500,Date.now()),this.scrollingTimer.start()),this.lastMessageAreaScrollPosition=this.getMessageArea().scrollTop)}}get isConversationOpenForQueuePosition(){return this.conversationStatus!==l.ConversationStatus.CLOSED_CONVERSATION&&this.conversationStatus!==l.ConversationStatus.SESSION_ENDED}get shouldShowQueuePosition(){return this.queuePosition>0&&this.isConversationOpenForQueuePosition}get isAnotherParticipantTyping(){return this._isAnotherParticipantTyping}set isAnotherParticipantTyping(e){this._isAnotherParticipantTyping=e,this.isAutoScrollEnabled&&this.isMessageAreaEndOfScroll()&&this.scrollToBottom()}get isMinimized(){return this._isMinimized}set isMinimized(e){this._isMinimized=e,this.readReceiptsTimer&&this.readReceiptsTimer.clear(),e||(this.readReceiptsTimer=new b.default(()=>{this.handleSendReadAcknowledgement(),this.readReceiptsTimer=void 0},500,Date.now()),this.readReceiptsTimer.start())}get showGetConversationEntriesSpinner(){return this._showGetConversationEntriesSpinner}set showGetConversationEntriesSpinner(e){const t=this.getMessageArea();this._showGetConversationEntriesSpinner=e;try{!1===e&&r.isNumber(this.lastMessageAreaScrollPosition)&&t&&(t.scrollTop=this.lastMessageAreaScrollPosition)}catch(e){r.warning(e)}}get spinnerAssistiveText(){return this.labels.FetchMoreEntriesSpinnerAssistiveText}get endBookendText(){return this.isJwtExpired?this.labels.ExpiredJWTLabel:this.isConversationClosed&&this.sessionStatus!==l.SessionStatus.ENDED?this.labels.ConversationClosedTextLabel:void 0}get isConversationClosed(){switch(this.conversationStatus){case l.ConversationStatus.CLOSED_CONVERSATION:return!0;case l.ConversationStatus.NOT_STARTED_CONVERSATION:case l.ConversationStatus.OPENED_CONVERSATION:default:return!1}}get conversationLogAssistiveText(){return u.getLabel("EmbeddedMessagingIframesAndContents","ChatWindowAssistiveText")}connectedCallback(){c.assignHandler(r.events.UNSEEN_MESSAGE_NOTIFICATION_CLICKED,this.handleSkipButtonClick.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE,(
466)=>{this.isAutoScrollEnabled=!0}),c.assignHandler(r.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_ADDED,this.handleConversationEntry.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED,this.handleConversationEntry.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_ACKNOWLEDGEMENT_UPDATE,this.handleAcknowledgementUpdate.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_UNSEEN_NOTIFICATION_ANIMATION_END,this.clearUnseenMessageNotificationsAttributes.bind(this)),c.assignHandler(r.events.EMBEDDED_MESSAGING_LINK_MESSAGE_RERENDER_EVENT,()=>{this.isScrolledToTheBottom&&this.scrollToBottom()}),r.util.isSafari()?window.addEventListener("focus",this.handleSendReadAcknowledgement.bind(this)):window.addEventListener("visibilitychange",this.handleSendReadAcknowledgement.bind(this)),window.addEventListener("beforeunload",this.handleBeforeUnload.bind(this)),this.handleLabels()}renderedCallback(){const e=this.getMessageArea();e&&(e.addEventListener("scroll",this.handleScroll.bind(this),!1),this.conversationEntries.length>0&&this.isInitialRender&&(this.isInitialRender=!1,this.restoreScrollPosition()))}restoreScrollPosition(){const e=this.getMessageArea();if(!e)return;const t=p.getItemInWebStorageByKey(l.STORAGE_KEYS.SCROLL_POSITION),s=p.getItemInWebStorageByKey(l.STORAGE_KEYS.SCROLL_ANCHOR_MESSAGE_INDEX),i=p.getItemInWebStorageByKey(l.STORAGE_KEYS.SCROLL_ANCHOR_OFFSET_WITHIN_MESSAGE);"number"!=typeof t||t<0?this.scrollToBottom():r.util.waitForFrame(()=>{if("number"==typeof s&&"number"==typeof i){const n=e.querySelectorAll("embeddedmessaging-conversation-entry-item");if(s<n.length){const t=n[s],o=e.getBoundingClientRect().top-t.getBoundingClientRect().top,a=i-o;e.scrollTop+=a}else e.scrollTop=t}else e.scrollTop=t;this.lastMessageAreaScrollPosition=e.scrollTop})}disconnectedCallback(){const e=this.getMessageArea();e&&e.removeEventListener("scroll",this.handleScroll.bind(this)),window.removeEventListener("beforeunload",this.handleBeforeUnload.bind(this)),this.isScrolledToTheBottom=!1}saveScrollPosition(){const e=this.getMessageArea();if(!e||!r.isNumber(e.scrollTop))return;const t=e.scrollTop;p.setItemInWebStorage(l.STORAGE_KEYS.SCROLL_POSITION,t);const s=e.querySelectorAll("embeddedmessaging-conversation-entry-item"),i=e.getBoundingClientRect().top;for(let e=0;e<s.length;e++){const t=s[e].getBoundingClientRect();if(t.bottom>i){const s=i-t.top;return p.setItemInWebStorage(l.STORAGE_KEYS.SCROLL_ANCHOR_MESSAGE_INDEX,e),void p.setItemInWebStorage(l.STORAGE_KEYS.SCROLL_ANCHOR_OFFSET_WITHIN_MESSAGE,s)}}}handleBeforeUnload(){this.saveScrollPosition()}errorCallback(e,t){r.error(`Error loading the conversation: ${e.message} ${t}.`)}handleConversationEntry(e){const t=e&&e.entry?e.entry:void 0;if(this.conversationEntries.length){if(t&&!t.isServerSentEntry)return;if((this.isOutgoingMessage(t)||this.isAutoScrollEnabled&&0===this.unseenMessageCount&&this.isMessageAreaEndOfScroll())&&this.scrollToBottom(),this.isIncomingMessage(t)){const e=this.conversationEntries.length>this.lastProcessedEntry;(this.shouldShowUnseenMessageCounter()||"visible"!==document.visibilityState||this.isMinimized)&&e&&(this.unseenMessageCount+=1,this.lastProcessedEntry=this.conversationEntries.length),this.isAutoScrollEnabled&&this.isMessageAreaEndOfScroll()&&this.scrollToBottom()}this.readReceiptsTimer=new b.default(()=>{this.handleSendReadAcknowledgement(),this.readReceiptsTimer=void 0},500,Date.now()),this.readReceiptsTimer.start()}}handleAcknowledgementUpdate(){const e=this.getMessageArea(),t=e?e.querySelector("embeddedmessaging-conversation-entry-item:last-child"):void 0;t&&r.util.isElementVisible(t,e)&&this.isAutoScrollEnabled&&this.scrollToBottom()}scrollUp(){this.getMessageArea().scrollTop=this.getMessageArea().scrollTop-100}scrollDown(){this.getMessageArea().scrollTop=this.getMessageArea().scrollTop+100}handleScrollEnd(){this.saveScrollPosition(),this.handleSendReadAcknowledgement(),this.scrollingTimer=void 0}handleScrollPositionOnMaximizeAndMinimize(e){this.isAppAfterMaximization=!e,e?this.lastMessageAreaScrollPosition=this.getMessageArea().scrollTop:this.lastMessageAreaScrollPosition&&(this.getMessageArea().scrollTop=this.lastMessageAreaScrollPosition)}isMessageAreaTopOfScroll(){const e=this.getMessageArea();return!!e&&e.scrollTop<=10}getMessageAreaDistanceFromBottom(){const e=this.getMessageArea();return Math.abs(Math.round(e.scrollHeight-e.scrollTop)-e.clientHeight)}isMessageAreaEndOfScroll(){return this.getMessageAreaDistanceFromBottom()<=10}getMessageArea(){return r.isNullOrUndefined(this.messageAreaElement)&&(this.messageAreaElement=this.template&&this.template.querySelector(".slds-chat")?this.template.querySelector(".slds-chat").querySelector("ul"):void 0),this.messageAreaElement}scrollToBottom(){const e=this.getMessageArea();this.isScrolledToTheBottom=!0,e&&r.util.waitForFrame(()=>{e.scrollTop=e.scrollHeight-e.offsetHeight})}handleSkipButtonClick(){this.scrollToBottom();const e=this.getMessageArea();e&&r.util.waitForFrame(()=>{const t=e.querySelector("embeddedmessaging-conversation-entry-item:last-child");
466t&&(t.setAttribute("tabindex","-1"),t.focus())})}isIncomingMessage(e){return e.actorType===l.ParticipantRoles.AGENT||e.actorType===l.ParticipantRoles.CHATBOT||e.actorType===l.ParticipantRoles.SYSTEM}isOutgoingMessage(e){return e.actorType===l.ParticipantRoles.ENDUSER}getChatUnseenMessageNotificationComponent(){return this.template?this.template.querySelector("embeddedmessaging-chat-unseen-message-notification"):void 0}getUnseenMessageNotificationBubble(){return this.getChatUnseenMessageNotificationComponent()?this.getChatUnseenMessageNotificationComponent().getUnseenMessageNotificationBubble():void 0}getUnseenMessageNotificationHeight(){return this.getChatUnseenMessageNotificationComponent()&&this.getChatUnseenMessageNotificationComponent().shadowRoot.querySelector(".unseenMessageNotification")?this.getChatUnseenMessageNotificationComponent().shadowRoot.querySelector(".unseenMessageNotification").offsetHeight:void 0}shouldShowUnseenMessageCounter(){const e=this.getMessageArea(),t=e?e.querySelector("embeddedmessaging-conversation-entry-item:last-child"):void 0,s=t?t.getBoundingClientRect().height/2:30;let i;return e?(i=this.getMessageAreaDistanceFromBottom()>s,this.shouldDisplayUnseenMessageBanner=!!i||this.shouldDisplayUnseenMessageBanner):this.shouldDisplayUnseenMessageBanner=!1,i}clearUnseenMessageNotificationsAttributes(){this.shouldDisplayUnseenMessageBanner=!1,this.unseenMessageCount=0}clearUnseenMessageNotifications(){const e=this.getChatUnseenMessageNotificationComponent();e&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&this.clearUnseenMessageNotificationsAttributes(),e.initiateHideAnimation())}handleSendReadAcknowledgement(){if("boolean"==typeof this.isMinimized&&!this.isMinimized&&"visible"===document.visibilityState&&this.conversationStatus===l.ConversationStatus.OPENED_CONVERSATION){const e=this.conversationEntries,t=this.getMessageArea(),s=t.querySelectorAll("ul > embeddedmessaging-conversation-entry-item");let i,n;if(s&&e.length&&e.length-1>this.lastReadRecipt){for(let o=e.length-1;o>=0&&!i;o--){const a=e[o];a.actorType!==l.ParticipantRoles.ENDUSER&&(!this.isAutoScrollEnabled&&this.isMessageAreaEndOfScroll()||r.util.isElementVisible(s[o],t))&&(n=o,i=a)}i&&n>this.lastReadRecipt&&(g.sendReadAcknowledgement(i.conversationId,i.messageId,Date.now()),this.lastReadRecipt=n)}}}handleLabels(){this.labels.ConversationClosedTextLabel=u.getLabel("EmbeddedMessagingConversationState","ConversationClosedText"),this.labels.ExpiredJWTLabel=u.getLabel("EmbeddedMessagingConversationState","ExpiredJWT"),this.labels.AgentTypingIndicatorLabel=u.getLabel("EmbeddedMessagingConversationState","AgentTypingIndicator"),this.labels.ChatbotTypingIndicatorLabel=u.getLabel("EmbeddedMessagingConversationState","ChatbotTypingIndicator"),this.labels.FetchMoreEntriesSpinnerAssistiveText=u.getLabel("EmbeddedMessagingConversationState","FetchMoreEntriesSpinnerAssistiveText")}get conversationEndTime(){return this.endTime||new Date(Date.now())}get showFooterIndicator(){return m.getAgentOrBotParticipantCount(this.conversationParticipants)>0?this._isAnotherParticipantTyping:!!this.shouldShowQueuePosition}get footerIndicatorMessage(){if(m.getAgentOrBotParticipantCount(this.conversationParticipants)>0)return this.progressIndicatorMessage;if(this.shouldShowQueuePosition){const e={"{0}":this.queuePosition};return r.util.replacePlaceholdersInString(u.getLabel("EmbeddedMessagingConversationState","QueuePositionText"),e)}return""}}t.registerDecorators(L,{publicProps:{conversationParticipants:{config:0},conversationEntries:{config:0},conversationStatus:{config:0},conversationId:{config:0},startTime:{config:0},endTime:{config:0},sessionStatus:{config:0},currentTypingParticipants:{config:0},progressIndicatorMessage:{config:0},queuePosition:{config:0},isAnotherParticipantTyping:{config:3},isJwtExpired:{config:0},configuration:{config:0},publicConfiguration:{config:0},textMessageConstructor:{config:0},isMinimized:{config:3},showGetConversationEntriesSpinner:{config:3},hasLoadedAllConversationEntries:{config:0}},publicMethods:["scrollUp","scrollDown","handleScrollPositionOnMaximizeAndMinimize","getMe
466ssageArea","scrollToBottom","getChatUnseenMessageNotificationComponent"],track:{labels:1},fields:["unseenMessageCount","shouldDisplayUnseenMessageBanner","_isAnotherParticipantTyping","_isMinimized","isAppAfterMaximization","scrollingTimer","readReceiptsTimer","lastReadRecipt","lastProcessedEntry","isAutoScrollEnabled","messageAreaElement","lastMessageAreaScrollPosition","isScrolledToTheBottom","_showGetConversationEntriesSpinner","isInitialRender","spinnerColorToken","handleScroll"]});const k=t.registerComponent(L,{tmpl:B,sel:"embeddedMessaging-conversation-log",apiVersion:66,enableSyntheticElementInternals:!0});e.default=k,Object.defineProperty(e,"__esModule",{value:!0})});
467})();LWR.define('embeddedmessaging/conversationLog', ['embeddedMessaging/conversationLog'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiCategorizedViewer",["exports","lwc"],function(e,t){var o=[function(e,t,o){var i=e?"["+e+"]":"";return"button"+i+",button:focus"+i+" {border: none;background: none;outline: none;}.viewer"+i+" {overflow-y: scroll;overflow-x: hidden;max-height: 7.4rem;user-select: none;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;}.category-emojis"+i+" {display: flex;flex-direction: row;flex-wrap: wrap;}.emoji-entity"+i+" {flex-basis: 12.5%;font-size: var(--baseFontSize, medium);text-decoration: none;cursor: pointer;text-align: center;padding-top: var(--lwc-spacingXxxSmall);border-radius: 4px;text-indent: 0;}button:focus"+i+",.emoji-entity:focus"+i+" {border-radius: 4px;border: 2px solid var(--primaryButtonBackground, #444444);outline: none;}button:hover"+i+",.emoji-entity:hover"+i+" {border-radius: 4px;background-color: #e9e9e9;}"}];const i=t.parseFragment`<h2 class="slds-text-heading_x-small slds-m-bottom_xx-small slds-text-title_caps emoji-category-text${0}"${2}>${"t1"}</h2>`,a=t.parseFragment`<span class="emoji-entity${0}"${"a0:title"} role="gridcell" tabindex="0"${2}><button tabindex="-1"${3}>${"t2"}</button></span>`,s=t.parseFragment`<span class="emoji-entity${0}"${"a0:title"} role="gridcell" tabindex="-1"${2}><button tabindex="-1"${3}>${"t2"}</button></span>`,r={viewer:!0},n={category:!0,"slds-p-vertical_x-small":!0,"slds-p-horizontal_small":!0},l={classMap:{"category-emojis":!0},attrs:{role:"row"},key:5};function c(e,t,o,c){const{b:m,k:d,d:g,sp:h,st:u,i:y,h:p}=e,{_m0:x}=c;return[p("div",{classMap:r,key:0,on:x||(c._m0={click:m(t.handleClick),keydown:m(t.handleKeyDown),scroll:m(t.handleCategoryScroll)})},y(t.normalizedCategories,function(e){return p("section",{classMap:n,attrs:{"data-name":e.displayName},key:d(1,e.displayName)},[u(i,3,[h(1,null,g(e.displayName))]),p("div",{attrs:{role:"grid","aria-label":e.displayName},key:4},[p("div",l,y(e.emojis,function(e,t,o,i){const r={value:e,index:t,first:o,last:i};return[r.first?u(a,d(7,r.value.display),[h(0,{attrs:{title:r.value.description}},null),h(2,null,g(r.value.display))]):null,r.first?null:u(s,d(9,r.value.display),[h(0,{attrs:{title:r.value.description}},null),h(2,null,g(r.value.display))])]}))])])}))]}var m=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-o95ec9u45j",c.legacyStylesheetToken="embeddedMessaging-emojiCategorizedViewer_emojiCategorizedViewer",o&&c.stylesheets.push.apply(c.stylesheets,o),t.freezeTemplate(c);const d=Object.freeze(Object.assign(Object.create(null),{Down:1,Left:2,Right:3,Up:4}));class g{constructor(e,t){this._emojiMap=void 0,this._categories=Array.from(e),this._maximumEmojisPerRow=t}move(e,t){let o;this._ensureEmojiMapInitialized();const i=this._emojiMap.get(e);if(void 0!==i)switch(t){case d.Left:o=this._getEmojiToLeft(i);break;case d.Right:o=this._getEmojiToRight(i);break;case d.Up:o=this._getEmojiAbove(i);break;case d.Down:o=this._getEmojiBelow(i)}return o}_getEmojiToRight(e){let t;const o=e.emojiIndex+1;return o<e.category.emojis.length&&(t={categoryIndex:e.categoryIndex,emojiIndex:o}),t}_getEmojiToLeft(e){let t;const o=e.emojiIndex-1;return o>=0&&(t={categoryIndex:e.categoryIndex,emojiIndex:o}),t}_getEmojiAbove(e){let t;const o=e.emojiIndex-this._maximumEmojisPerRow;if(o>=0)t={categoryIndex:e.categoryIndex,emojiIndex:o};else if(e.categoryIndex>0){const o=e.categoryIndex-1,i=this._categories[o].emojis,a=e.emojiIndex%this._maximumEmojisPerRow;let s=i.length%this._maximumEmojisPerRow-1;s<0&&(s=this._maximumEmojisPerRow-1);let r=i.length-1;(0===s||a<=s)&&(r-=s-a),t={categoryIndex:o,emojiIndex:r}}return t}_getEmojiBelow(e){let t;const o=e.emojiIndex+this._maximumEmojisPerRow;if(o<e.category.emojis.length)t={categoryIndex:e.categoryIndex,emojiIndex:o};else if(e.categoryIndex+1<this._categories.length){const o=e.categoryIndex+1,i=this._categories[o].emojis,a=e.emojiIndex%this._maximumEmojisPerRow;let s=i.length-1;a<i.length&&(s=a),t={categoryIndex:o,emojiIndex:s}}return t}_ensureEmojiMapInitialized(){void 0===this._emojiMap&&(this._emojiMap=new Map,this._categories.forEac
467h((e,t)=>{e.emojis.forEach((o,i)=>{this._emojiMap.set(o.display,{category:e,categoryIndex:t,emojiIndex:i})})}))}}const h=new Map([["ArrowUp",d.Up],["ArrowDown",d.Down],["ArrowLeft",d.Left],["ArrowRight",d.Right]]);class u extends t.LightningElement{constructor(...e){super(...e),this._activeCategoryName=void 0,this._categories=void 0,this.keyboardNavigator=new g([],8)}get categories(){return this._categories}set categories(e){const t=this._categories!==e;this._categories=e,t&&(this.keyboardNavigator=new g(this._categories,8),this.focus())}get activeCategoryName(){return this._activeCategoryName}set activeCategoryName(e){const t=this.activeCategoryName!==e;this._activeCategoryName=e,t&&this.focus()}focus(){const e=this._activeCategoryName,t=this.template.querySelector(`.category[data-name="${e}"]`);if(t){this.template.querySelector(".viewer").scrollTop=t.offsetTop;const o=this.template.querySelector(`.category[data-name="${e}"] .emoji-entity:first-child`);o&&o.focus()}}get normalizedCategories(){return this.categories||[]}handleCategoryScroll(e){const t=function(e){const t=Array.from(e.querySelectorAll(".category")),o=e.scrollTop+.6*e.clientHeight;let i;return t.reverse().some(e=>{let t=!1;return o>=e.offsetTop&&(i=e.dataset.name,t=!0),t}),i}(e.target);this._activeCategoryName!==t&&(this._activeCategoryName=t,this.notifyOfActiveCategoryChange(t))}handleClick(e){let t=e.target;"BUTTON"===e.target.tagName&&(t=e.target.parentNode),t.classList.contains("emoji-entity")&&this.notifyOfEmojiSelection(e.target.textContent,e.target.title)}handleKeyDown(e){if("Enter"===e.key)e.preventDefault(),this.handleClick(e);else if(h.has(e.code)){e.preventDefault();const t=e.target.textContent,o=h.get(e.code),i=this.keyboardNavigator.move(t,o);void 0!==i&&this.template.querySelector(`.category:nth-child(${i.categoryIndex+1}) .emoji-entity:nth-child(${i.emojiIndex+1})`).focus()}}notifyOfActiveCategoryChange(e){this.dispatchEvent(new CustomEvent("activecategorychanged",{bubbles:!0,composed:!0,detail:{name:e}}))}notifyOfEmojiSelection(e,t){this.dispatchEvent(new CustomEvent("emojiselected",{bubbles:!0,composed:!0,detail:{emoji:e,description:t}}))}}t.registerDecorators(u,{publicProps:{categories:{config:3},activeCategoryName:{config:3}},publicMethods:["focus"],fields:["_activeCategoryName","_categories","keyboardNavigator"]});const y=t.registerComponent(u,{tmpl:m,sel:"embeddedMessaging-emoji-categorized-viewer",apiVersion:66,enableSyntheticElementInternals:!0});e.default=y,Object.defineProperty(e,"__esModule",{value:!0})});
468})();LWR.define('embeddedmessaging/emojiCategorizedViewer', ['embeddedMessaging/emojiCategorizedViewer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiPrimitiveIcon",["exports","lwc","lightning/utils","lightning/iconUtils"],function(e,t,i,s){function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var s=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,Object.freeze(t)}var a=n(s);var r=[function(e,t,i){return"@supports (-ms-ime-align: auto) {svg"+(e?"["+e+"]":"")+" {pointer-events: none;}}"}];const l=t.parseSVGFragment`<use${"a0:xlink:href"}${3}/>`;function o(e,i,s,n){const{ncls:a,fid:r,sp:o,st:c,h:d}=e;return[d("svg",{className:a(i.computedClass),attrs:{focusable:"false","data-key":i.name,"aria-hidden":"true"},key:0,svg:!0},[i.hasIcon?c(l,2,[o(0,{attrs:{"xlink:href":t.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",r(i.href))}},null)]):null])]}var c=t.registerTemplate(o);function d(e,t={}){const{fallbackValue:i="",validValues:s}=t;let n="string"==typeof e&&e.trim()||"";return n=n.toLowerCase(),s&&-1===s.indexOf(n)&&(n=i),n}o.stylesheets=[],o.stylesheetToken="lwc-20plc5j81vs",o.legacyStylesheetToken="embeddedMessaging-emojiPrimitiveIcon_emojiPrimitiveIcon",r&&o.stylesheets.push.apply(o.stylesheets,r),t.freezeTemplate(o);class u extends t.LightningElement{constructor(...e){super(...e),this.iconName=void 0,this.svgClass=void 0,this.size="medium",this.variant=void 0}renderedCallback(){if(this.iconName!==this.prevIconName){this.prevIconName=this.iconName;const e=this.template.querySelector("svg");a.polyfill(e)}}get hasIcon(){return(this.href||"").length>0}get href(){return a.getIconPath(this.iconName)}get name(){return a.getName(this.iconName)}get normalizedSize(){return d(this.size,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}get normalizedVariant(){return d(this.variant,{fallbackValue:"",validValues:["bare","error","inverse","warning"]})}get computedClass(){const{normalizedSize:e,normalizedVariant:t}=this,s=i.classSet(this.svgClass);switch("bare"!==t&&s.add("slds-icon"),t){case"error":s.add("slds-icon-text-error");break;case"warning":s.add("slds-icon-text-warning");break;case"inverse":case"bare":break;default:s.add("slds-icon-text-default")}return"medium"!==e&&s.add(`slds-icon_${e}`),s.toString()}}t.registerDecorators(u,{publicProps:{iconName:{config:0},svgClass:{config:0},size:{config:0},variant:{config:0}}});const m=t.registerComponent(u,{tmpl:c,sel:"embeddedMessaging-emoji-primitive-icon",apiVersion:66,enableSyntheticElementInternals:!0});
468e.default=m,Object.defineProperty(e,"__esModule",{value:!0})});
469})();LWR.define('embeddedmessaging/emojiPrimitiveIcon', ['embeddedMessaging/emojiPrimitiveIcon'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiCategory",["exports","lwc","embeddedmessaging/emojiPrimitiveIcon","embeddedMessaging/common"],function(e,t,s,o){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(s);var l=[function(e,t,s){var o=e?"["+e+"]":"",n=e?"["+e+"-host]":"";return(t?":host(.selected) button":n+".selected button")+o+" {color: var(--primaryButtonBackground, #444444);}"+(t?":host:not(.selected) button":n+":not(.selected) button")+o+" {color: var(--slds-g-color-neutral-base-50, #6d6d70);transition: all 0.2s ease-in-out;}"+(t?":host:not(.selected):hover button"+o+",:host button:focus":n+":not(.selected):hover button"+o+","+n+" button:focus")+o+" {color: var(--primaryButtonBackground, #444444);transform: scale(1.2);}button:focus"+o+" {outline: none;box-shadow: none;background-color: var(--slds-g-color-neutral-base-95, #f3f2f2);}"}];const i=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,c={"slds-button":!0,"slds-button--icon-bare":!0},r={"slds-button__icon":!0};function d(e,t,s,o){const{b:n,c:l,d:d,sp:u,st:m,h:b}=e,{_m0:g}=o;return[b("button",{classMap:c,attrs:{type:"button",title:t.name,role:"button","aria-pressed":t.ariaPressed,tabindex:"0",value:t.name},key:0,on:g||(o._m0={click:n(t.handleClick)})},[l("embeddedmessaging-emoji-primitive-icon",a.default,{classMap:r,props:{iconName:t.icon,size:"x-small",variant:"bare"},key:1}),m(i,3,[u(1,null,d(t.name))])])]}var u=t.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-k465glg1qo",d.legacyStylesheetToken="embeddedMessaging-emojiCategory_emojiCategory",l&&d.stylesheets.push.apply(d.stylesheets,l),t.freezeTemplate(d);const m="selected";class b extends t.LightningElement{constructor(...e){super(...e),this.icon=void 0,this._selected=!1,this.name=void 0}get selected(){return this._selected}set selected(e){this._selected=e,!0===e?this.classList.add(m):this.classList.remove(m)}get ariaPressed(){return this._selected.toString()}setFocusOnButton(){o.util.waitForFrame(()=>{const e=this.template.querySelector("button");e&&e.focus()})}handleClick(){this.selected||this.dispatchEvent(new CustomEvent("selectcategory",{bubbles:!0,cancelable:!0,composed:!0,detail:{name:this.name}}))}}t.registerDecorators(b,{publicProps:{icon:{config:0},selected:{config:3},name:{config:0}},publicMethods:["setFocusOnButton"],fields:["_selected"]});const g=t.registerComponent(b,{tmpl:u,sel:"embeddedMessaging-emoji-category",apiVersion:66,enableSyntheticElementInternals:!0});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
470})();LWR.define('embeddedmessaging/emojiCategory', ['embeddedMessaging/emojiCategory'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiCategorySelector",["exports","lwc","embeddedmessaging/emojiCategory"],function(e,t,o){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(o);var r=[function(e,t,o){var s=e?"["+e+"]":"";return".categories"+s+" {display: flex;justify-content: space-between;padding-bottom: 0.5rem;padding-left: 1rem;padding-right: 1rem;padding-top: 0.3125rem;}embeddedmessaging-emoji-category"+s+" {padding-top: 0.3125rem;padding-bottom: 0.5rem;border-top: 0.125rem solid transparent;}embeddedmessaging-emoji-category.selected"+s+" {border-top: 0.125rem solid var(--primaryButtonBackground, #444444);}"}];const i={categories:!0},d={"slds-p-horizontal_x-small":!0};function n(e,t,o,s){const{b:r,k:n,c:c,h:g,i:l}=e,{_m0:m}=s;return[g("ul",{classMap:i,key:0,on:m||(s._m0={selectcategory:r(t.handleCategorySelection)})},l(t._categories,function(e){return g("li",{key:n(1,e.name)},[c("embeddedmessaging-emoji-category",a.default,{classMap:d,props:{name:e.name,icon:e.icon,selected:e.selected},key:2})])}))]}var c=t.registerTemplate(n);n.stylesheets=[],n.stylesheetToken="lwc-5qqot9878rj",n.legacyStylesheetToken="embeddedMessaging-emojiCategorySelector_emojiCategorySelector",r&&n.stylesheets.push.apply(n.stylesheets,r),t.freezeTemplate(n);class g extends t.LightningElement{constructor(...e){super(...e),this._categories=[],this.providedCategories=[]}get categories(){return this.providedCategories}set categories(e){this.providedCategories=e;const t=this.selectedCategoryName;this._categories=e.map(e=>({icon:e.icon,name:e.displayName,selected:e.displayName===t}))}get selectedCategoryName(){return this._categories.reduce((e,t)=>
470t.selected?t.name:e,void 0)}set selectedCategoryName(e){this.updateChildCategories(e)}handleCategorySelection(e){e.stopPropagation();const t=e.detail.name;this.selectCategoryAndNotify(t)}selectCategoryAndNotify(e){this.updateChildCategories(e),this.dispatchEvent(new CustomEvent("categoryselected",{bubbles:!0,composed:!0,detail:{categoryName:e}}))}updateChildCategories(e){this._categories.forEach(t=>{t.selected=t.name===e})}}t.registerDecorators(g,{publicProps:{categories:{config:3},selectedCategoryName:{config:3}},publicMethods:["selectCategoryAndNotify"],track:{_categories:1},fields:["providedCategories"]});const l=t.registerComponent(g,{tmpl:c,sel:"embeddedMessaging-emoji-category-selector",apiVersion:66,enableSyntheticElementInternals:!0});e.default=l,Object.defineProperty(e,"__esModule",{value:!0})});
471})();LWR.define('embeddedmessaging/emojiCategorySelector', ['embeddedMessaging/emojiCategorySelector'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiLabels",["exports","lwc","@salesforce/label/Emojis_SmileysPeople.smileysPeopleCategory","@salesforce/label/Emojis_SmileysPeople.grinningFace","@salesforce/label/Emojis_SmileysPeople.grinningFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.faceWithTearsOfJoy","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthSmilingEyes","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthColdSweat","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithOpenMouthClosedEyes","@salesforce/label/Emojis_SmileysPeople.winkingFace","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.faceSavoringDeliciousFood","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithSunglasses","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHeartEyes","@salesforce/label/Emojis_SmileysPeople.faceBlowingAKiss","@salesforce/label/Emojis_SmileysPeople.kissingFace","@salesforce/label/Emojis_SmileysPeople.kissingFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.kissingFaceWithClosedEyes","@salesforce/label/Emojis_SmileysPeople.slightlySmilingFace","@salesforce/label/Emojis_SmileysPeople.neutralFace","@salesforce/label/Emojis_SmileysPeople.expressionlessFace","@salesforce/label/Emojis_SmileysPeople.faceWithoutMouth","@salesforce/label/Emojis_SmileysPeople.smirkingFace","@salesforce/label/Emojis_SmileysPeople.perseveringFace","@salesforce/label/Emojis_SmileysPeople.disappointedButRelievedFace","@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.hushedFace","@salesforce/label/Emojis_SmileysPeople.sleepyFace","@salesforce/label/Emojis_SmileysPeople.tiredFace","@salesforce/label/Emojis_SmileysPeople.sleepingFace","@salesforce/label/Emojis_SmileysPeople.relievedFace","@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongue","@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueWinkingEye","@salesforce/label/Emojis_SmileysPeople.faceWithStuckOutTongueClosedEyes","@salesforce/label/Emojis_SmileysPeople.unamusedFace","@salesforce/label/Emojis_SmileysPeople.faceWithColdSweat","@salesforce/label/Emojis_SmileysPeople.pensiveFace","@salesforce/label/Emojis_SmileysPeople.confusedFace","@salesforce/label/Emojis_SmileysPeople.astonishedFace","@salesforce/label/Emojis_SmileysPeople.confoundedFace","@salesforce/label/Emojis_SmileysPeople.disappointedFace","@salesforce/label/Emojis_SmileysPeople.worriedFace","@salesforce/label/Emojis_SmileysPeople.faceWithSteamFromNose","@salesforce/label/Emojis_SmileysPeople.cryingFace","@salesforce/label/Emojis_SmileysPeople.loudlyCryingFace","@salesforce/label/Emojis_SmileysPeople.frowningFaceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.anguishedFace","@salesforce/label/Emojis_SmileysPeople.fearfulFace","@salesforce/label/Emojis_SmileysPeople.wearyFace","@salesforce/label/Emojis_SmileysPeople.grimacingFace","@salesforce/label/Emojis_SmileysPeople.faceWithOpenMouthColdSweat","@salesforce/label/Emojis_SmileysPeople.faceScreamingInFear","@salesforce/label/Emojis_SmileysPeople.flushedFace","@salesforce/label/Emojis_SmileysPeople.dizzyFace","@salesforce/label/Emojis_SmileysPeople.poutingFace","@salesforce/label/Emojis_SmileysPeople.angryFace","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHalo","@
471salesforce/label/Emojis_SmileysPeople.faceWithMedicalMask","@salesforce/label/Emojis_SmileysPeople.smilingFaceWithHorns","@salesforce/label/Emojis_SmileysPeople.angryFaceWithHorns","@salesforce/label/Emojis_SmileysPeople.ogre","@salesforce/label/Emojis_SmileysPeople.goblin","@salesforce/label/Emojis_SmileysPeople.skull","@salesforce/label/Emojis_SmileysPeople.ghost","@salesforce/label/Emojis_SmileysPeople.alien","@salesforce/label/Emojis_SmileysPeople.alienMonster","@salesforce/label/Emojis_SmileysPeople.pileOfPoo","@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithOpenMouth","@salesforce/label/Emojis_SmileysPeople.grinningCatFaceWithSmilingEyes","@salesforce/label/Emojis_SmileysPeople.catFaceWithTearsOfJoy","@salesforce/label/Emojis_SmileysPeople.smilingCatFaceWithHeartEyes","@salesforce/label/Emojis_SmileysPeople.catFaceWithWrySmile","@salesforce/label/Emojis_SmileysPeople.kissingCatFaceWithClosedEyes","@salesforce/label/Emojis_SmileysPeople.wearyCatFace","@salesforce/label/Emojis_SmileysPeople.cryingCatFace","@salesforce/label/Emojis_SmileysPeople.poutingCatFace","@salesforce/label/Emojis_SmileysPeople.seeNoEvilMonkey","@salesforce/label/Emojis_SmileysPeople.hearNoEvilMonkey","@salesforce/label/Emojis_SmileysPeople.speakNoEvilMonkey","@salesforce/label/Emojis_SmileysPeople.boy","@salesforce/label/Emojis_SmileysPeople.girl","@salesforce/label/Emojis_SmileysPeople.man","@salesforce/label/Emojis_SmileysPeople.woman","@salesforce/label/Emojis_SmileysPeople.oldMan","@salesforce/label/Emojis_SmileysPeople.oldWoman","@salesforce/label/Emojis_SmileysPeople.baby","@salesforce/label/Emojis_SmileysPeople.babyAngel","@salesforce/label/Emojis_SmileysPeople.policeOfficer","@salesforce/label/Emojis_SmileysPeople.guard","@salesforce/label/Emojis_SmileysPeople.constructionWorker","@salesforce/label/Emojis_SmileysPeople.personWearingTurban","@salesforce/label/Emojis_SmileysPeople.blondHairedPerson","@salesforce/label/Emojis_SmileysPeople.santaClaus","@salesforce/label/Emojis_SmileysPeople.princess","@salesforce/label/Emojis_SmileysPeople.brideWithVeil","@salesforce/label/Emojis_SmileysPeople.manWithChineseCap","@salesforce/label/Emojis_SmileysPeople.personFrowning","@salesforce/label/Emojis_SmileysPeople.personPouting","@salesforce/label/Emojis_SmileysPeople.personGesturingNo","@salesforce/label/Emojis_SmileysPeople.personGesturingOk","@salesforce/label/Emojis_SmileysPeople.personTippingHand","@salesforce/label/Emojis_SmileysPeople.personRaisingHand","@salesforce/label/Emojis_SmileysPeople.personBowing","@salesforce/label/Emojis_SmileysPeople.personGettingMassage","@salesforce/label/Emojis_SmileysPeople.personGettingHaircut","@salesforce/label/Emojis_SmileysPeople.personWalking","@salesforce/label/Emojis_SmileysPeople.personRunning","@salesforce/label/Emojis_SmileysPeople.womanDancing","@salesforce/label/Emojis_SmileysPeople.peopleWithBunnyEarsPartying","@salesforce/label/Emojis_SmileysPeople.bustInSilhouette","@salesforce/label/Emojis_SmileysPeople.bustsInSilhouette","@salesforce/label/Emojis_SmileysPeople.horseRacing","@salesforce/label/Emojis_SmileysPeople.snowboarder","@salesforce/label/Emojis_SmileysPeople.personSurfing","@salesforce/label/Emojis_SmileysPeople.personRowingBoat","@salesforce/label/Emojis_SmileysPeople.personSwimming","@salesforce/label/Emojis_SmileysPeople.personBiking","@salesforce/label/Emojis_SmileysPeople.personMountainBiking","@salesforce/label/Emojis_SmileysPeople.manAndWomanHoldingHands","@salesforce/label/Emojis_SmileysPeople.twoMenHoldingHands","@salesforce/label/Emojis_SmileysPeople.twoWomenHoldingHands","@salesforce/label/Emojis_SmileysPeople.kiss","@salesforce/label/Emojis_SmileysPeople.coupleWithHeart","@salesforce/label/Emojis_SmileysPeople.family","@salesforce/label/Emojis_SmileysPeople.flexedBiceps","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingLeft","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingRight","@salesforce/label/Emojis_SmileysPeople.indexPointingUp","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingUp","@salesforce/label/Emojis_SmileysPeople.backhandIndexPointingDown","@
471salesforce/label/Emojis_SmileysPeople.victoryHand","@salesforce/label/Emojis_SmileysPeople.raisedHand","@salesforce/label/Emojis_SmileysPeople.okHand","@salesforce/label/Emojis_SmileysPeople.thumbsUp","@salesforce/label/Emojis_SmileysPeople.thumbsDown","@salesforce/label/Emojis_SmileysPeople.raisedFist","@salesforce/label/Emojis_SmileysPeople.oncomingFist","@salesforce/label/Emojis_SmileysPeople.wavingHand","@salesforce/label/Emojis_SmileysPeople.clappingHands","@salesforce/label/Emojis_SmileysPeople.openHands","@salesforce/label/Emojis_SmileysPeople.raisingHands","@salesforce/label/Emojis_SmileysPeople.foldedHands","@salesforce/label/Emojis_SmileysPeople.nailPolish","@salesforce/label/Emojis_SmileysPeople.ear","@salesforce/label/Emojis_SmileysPeople.nose","@salesforce/label/Emojis_SmileysPeople.footprints","@salesforce/label/Emojis_SmileysPeople.eyes","@salesforce/label/Emojis_SmileysPeople.tongue","@salesforce/label/Emojis_SmileysPeople.mouth","@salesforce/label/Emojis_SmileysPeople.kissMark","@salesforce/label/Emojis_SmileysPeople.heartWithArrow","@salesforce/label/Emojis_SmileysPeople.redHeart","@salesforce/label/Emojis_SmileysPeople.beatingHeart","@salesforce/label/Emojis_SmileysPeople.brokenHeart","@salesforce/label/Emojis_SmileysPeople.twoHearts","@salesforce/label/Emojis_SmileysPeople.sparklingHeart","@salesforce/label/Emojis_SmileysPeople.growingHeart","@salesforce/label/Emojis_SmileysPeople.blueHeart","@salesforce/label/Emojis_SmileysPeople.greenHeart","@salesforce/label/Emojis_SmileysPeople.yellowHeart","@salesforce/label/Emojis_SmileysPeople.purpleHeart","@salesforce/label/Emojis_SmileysPeople.heartWithRibbon","@salesforce/label/Emojis_SmileysPeople.revolvingHearts","@salesforce/label/Emojis_SmileysPeople.heartDecoration","@salesforce/label/Emojis_SmileysPeople.loveLetter","@salesforce/label/Emojis_SmileysPeople.zzz","@salesforce/label/Emojis_SmileysPeople.angerSymbol","@salesforce/label/Emojis_SmileysPeople.bomb","@salesforce/label/Emojis_SmileysPeople.collision","@salesforce/label/Emojis_SmileysPeople.sweatDroplets","@salesforce/label/Emojis_SmileysPeople.dashingAway","@salesforce/label/Emojis_SmileysPeople.dizzy","@salesforce/label/Emojis_SmileysPeople.speechBalloon","@salesforce/label/Emojis_SmileysPeople.thoughtBalloon","@salesforce/label/Emojis_SmileysPeople.glasses","@salesforce/label/Emojis_SmileysPeople.necktie","@salesforce/label/Emojis_SmileysPeople.tShirt","@salesforce/label/Emojis_SmileysPeople.jeans","@salesforce/label/Emojis_SmileysPeople.dress","@salesforce/label/Emojis_SmileysPeople.kimono","@salesforce/label/Emojis_SmileysPeople.bikini","@salesforce/label/Emojis_SmileysPeople.womansClothes","@salesforce/label/Emojis_SmileysPeople.purse","@salesforce/label/Emojis_SmileysPeople.handbag","@salesforce/label/Emojis_SmileysPeople.clutchBag","@salesforce/label/Emojis_SmileysPeople.schoolBackpack","@salesforce/label/Emojis_SmileysPeople.mansShoe","@salesforce/label/Emojis_SmileysPeople.runningShoe","@salesforce/label/Emojis_SmileysPeople.highHeeledShoe","@salesforce/label/Emojis_SmileysPeople.womansBoot","@salesforce/label/Emojis_SmileysPeople.womansSandal","@salesforce/label/Emojis_SmileysPeople.crown","@salesforce/label/Emojis_SmileysPeople.womansHat","@salesforce/label/Emojis_SmileysPeople.topHat","@salesforce/label/Emojis_SmileysPeople.graduationCap","@salesforce/label/Emojis_SmileysPeople.lipstick","@salesforce/label/Emojis_SmileysPeople.ring","@salesforce/label/Emojis_SmileysPeople.gemStone","@salesforce/label/Emojis_AnimalsNature.animalsNatureCategory","@salesforce/label/Emojis_AnimalsNature.monkeyFace","@salesforce/label/Emojis_AnimalsNature.monkey","@salesforce/label/Emojis_AnimalsNature.dogFace","@salesforce/label/Emojis_AnimalsNature.dog","@salesforce/label/Emojis_AnimalsNature.poodle","@salesforce/label/Emojis_AnimalsNature.wolfFace","@salesforce/label/Emojis_AnimalsNature.catFace","@salesforce/label/Emojis_AnimalsNature.cat","@salesforce/label/Emojis_AnimalsNature.tigerFace","@salesforce/label/Emojis_AnimalsNature.tiger","@salesforce/label/Emojis_AnimalsNature.leopard","@salesforce/label/Emojis_AnimalsNature.horseFace","@salesforce/label/Emojis_AnimalsNature.horse","@salesforce/label/Emojis_AnimalsNature.cowFace","@salesforce/label/Emojis_AnimalsNature.ox","@salesforce/label/Emojis_AnimalsNature.waterBuffalo","@salesforce/label/Emojis_AnimalsNature.cow","@salesforce/label/Emojis_AnimalsNature.pigFace","@salesforce/label/Emojis_AnimalsNature.pig","@salesforce/label/Emojis_AnimalsNature.boar","@salesforce/label/Emojis_AnimalsNature.pigNose","@salesforce/label/Emojis_AnimalsNature.ram","@salesforce/label/Emojis_AnimalsNature.sheep","@
471salesforce/label/Emojis_AnimalsNature.goat","@salesforce/label/Emojis_AnimalsNature.camel","@salesforce/label/Emojis_AnimalsNature.twoHumpCamel","@salesforce/label/Emojis_AnimalsNature.elephant","@salesforce/label/Emojis_AnimalsNature.mouseFace","@salesforce/label/Emojis_AnimalsNature.mouse","@salesforce/label/Emojis_AnimalsNature.rat","@salesforce/label/Emojis_AnimalsNature.hamsterFace","@salesforce/label/Emojis_AnimalsNature.rabbitFace","@salesforce/label/Emojis_AnimalsNature.rabbit","@salesforce/label/Emojis_AnimalsNature.bearFace","@salesforce/label/Emojis_AnimalsNature.koala","@salesforce/label/Emojis_AnimalsNature.pandaFace","@salesforce/label/Emojis_AnimalsNature.pawPrints","@salesforce/label/Emojis_AnimalsNature.chicken","@salesforce/label/Emojis_AnimalsNature.rooster","@salesforce/label/Emojis_AnimalsNature.hatchingChick","@salesforce/label/Emojis_AnimalsNature.babyChick","@salesforce/label/Emojis_AnimalsNature.frontFacingBabyChick","@salesforce/label/Emojis_AnimalsNature.bird","@salesforce/label/Emojis_AnimalsNature.penguin","@salesforce/label/Emojis_AnimalsNature.frogFace","@salesforce/label/Emojis_AnimalsNature.crocodile","@salesforce/label/Emojis_AnimalsNature.turtle","@salesforce/label/Emojis_AnimalsNature.snake","@salesforce/label/Emojis_AnimalsNature.dragonFace","@salesforce/label/Emojis_AnimalsNature.dragon","@salesforce/label/Emojis_AnimalsNature.spoutingWhale","@salesforce/label/Emojis_AnimalsNature.whale","@salesforce/label/Emojis_AnimalsNature.dolphin","@salesforce/label/Emojis_AnimalsNature.fish","@salesforce/label/Emojis_AnimalsNature.tropicalFish","@salesforce/label/Emojis_AnimalsNature.blowfish","@salesforce/label/Emojis_AnimalsNature.octopus","@salesforce/label/Emojis_AnimalsNature.spiralShell","@salesforce/label/Emojis_AnimalsNature.snail","@salesforce/label/Emojis_AnimalsNature.bug","@salesforce/label/Emojis_AnimalsNature.ant","@salesforce/label/Emojis_AnimalsNature.honeybee","@salesforce/label/Emojis_AnimalsNature.ladyBeetle","@salesforce/label/Emojis_AnimalsNature.bouquet","@salesforce/label/Emojis_AnimalsNature.cherryBlossom","@salesforce/label/Emojis_AnimalsNature.whiteFlower","@salesforce/label/Emojis_AnimalsNature.rose","@salesforce/label/Emojis_AnimalsNature.hibiscus","@salesforce/label/Emojis_AnimalsNature.sunflower","@salesforce/label/Emojis_AnimalsNature.blossom","@salesforce/label/Emojis_AnimalsNature.tulip","@salesforce/label/Emojis_AnimalsNature.seedling","@salesforce/label/Emojis_AnimalsNature.evergreenTree","@salesforce/label/Emojis_AnimalsNature.deciduousTree","@salesforce/label/Emojis_AnimalsNature.palmTree","@salesforce/label/Emojis_AnimalsNature.cactus","@salesforce/label/Emojis_AnimalsNature.sheafOfRice","@salesforce/label/Emojis_AnimalsNature.herb","@salesforce/label/Emojis_AnimalsNature.fourLeafClover","@salesforce/label/Emojis_AnimalsNature.mapleLeaf","@salesforce/label/Emojis_AnimalsNature.fallenLeaf","@salesforce/label/Emojis_AnimalsNature.leafFlutteringInWind","@salesforce/label/Emojis_FoodDrink.foodDrinkCategory","@salesforce/label/Emojis_FoodDrink.grapes","@salesforce/label/Emojis_FoodDrink.melon","@salesforce/label/Emojis_FoodDrink.watermelon","@
471salesforce/label/Emojis_FoodDrink.tangerine","@salesforce/label/Emojis_FoodDrink.lemon","@salesforce/label/Emojis_FoodDrink.banana","@salesforce/label/Emojis_FoodDrink.pineapple","@salesforce/label/Emojis_FoodDrink.redApple","@salesforce/label/Emojis_FoodDrink.greenApple","@salesforce/label/Emojis_FoodDrink.pear","@salesforce/label/Emojis_FoodDrink.peach","@salesforce/label/Emojis_FoodDrink.cherries","@salesforce/label/Emojis_FoodDrink.strawberry","@salesforce/label/Emojis_FoodDrink.tomato","@salesforce/label/Emojis_FoodDrink.eggplant","@salesforce/label/Emojis_FoodDrink.earOfCorn","@salesforce/label/Emojis_FoodDrink.mushroom","@salesforce/label/Emojis_FoodDrink.chestnut","@salesforce/label/Emojis_FoodDrink.bread","@salesforce/label/Emojis_FoodDrink.meatOnBone","@salesforce/label/Emojis_FoodDrink.poultryLeg","@salesforce/label/Emojis_FoodDrink.hamburger","@salesforce/label/Emojis_FoodDrink.frenchFries","@salesforce/label/Emojis_FoodDrink.pizza","@salesforce/label/Emojis_FoodDrink.cooking","@salesforce/label/Emojis_FoodDrink.potOfFood","@salesforce/label/Emojis_FoodDrink.bentoBox","@salesforce/label/Emojis_FoodDrink.riceCracker","@salesforce/label/Emojis_FoodDrink.riceBall","@salesforce/label/Emojis_FoodDrink.cookedRice","@salesforce/label/Emojis_FoodDrink.curryRice","@salesforce/label/Emojis_FoodDrink.steamingBowl","@salesforce/label/Emojis_FoodDrink.spaghetti","@salesforce/label/Emojis_FoodDrink.roastedSweetPotato","@salesforce/label/Emojis_FoodDrink.oden","@salesforce/label/Emojis_FoodDrink.sushi","@salesforce/label/Emojis_FoodDrink.friedShrimp","@salesforce/label/Emojis_FoodDrink.fishCakeWithSwirl","@salesforce/label/Emojis_FoodDrink.dango","@salesforce/label/Emojis_FoodDrink.softIceCream","@salesforce/label/Emojis_FoodDrink.shavedIce","@salesforce/label/Emojis_FoodDrink.iceCream","@salesforce/label/Emojis_FoodDrink.doughnut","@salesforce/label/Emojis_FoodDrink.cookie","@salesforce/label/Emojis_FoodDrink.birthdayCake","@salesforce/label/Emojis_FoodDrink.shortcake","@salesforce/label/Emojis_FoodDrink.chocolateBar","@salesforce/label/Emojis_FoodDrink.candy","@salesforce/label/Emojis_FoodDrink.lollipop","@salesforce/label/Emojis_FoodDrink.custard","@salesforce/label/Emojis_FoodDrink.honeyPot","@salesforce/label/Emojis_FoodDrink.babyBottle","@salesforce/label/Emojis_FoodDrink.hotBeverage","@salesforce/label/Emojis_FoodDrink.teacupWithoutHandle","@salesforce/label/Emojis_FoodDrink.sake","@salesforce/label/Emojis_FoodDrink.wineGlass","@salesforce/label/Emojis_FoodDrink.cocktailGlass","@salesforce/label/Emojis_FoodDrink.tropicalDrink","@salesforce/label/Emojis_FoodDrink.beerMug","@salesforce/label/Emojis_FoodDrink.clinkingBeerMugs","@salesforce/label/Emojis_FoodDrink.forkAndKnife","@salesforce/label/Emojis_FoodDrink.kitchenKnife","@salesforce/label/Emojis_TravelPlaces.travelPlacesCategory","@salesforce/label/Emojis_TravelPlaces.globeShowingEuropeAfrica","@salesforce/label/Emojis_TravelPlaces.globeShowingAmericas","@salesforce/label/Emojis_TravelPlaces.globeShowingAsiaAustralia","@salesforce/label/Emojis_TravelPlaces.globeWithMeridians","@salesforce/label/Emojis_TravelPlaces.mapOfJapan","@salesforce/label/Emojis_TravelPlaces.volcano","@salesforce/label/Emojis_TravelPlaces.mountFuji","@salesforce/label/Emojis_TravelPlaces.house","@salesforce/label/Emojis_TravelPlaces.houseWithGarden","@salesforce/label/Emojis_TravelPlaces.officeBuilding","@salesforce/label/Emojis_TravelPlaces.japanesePostOffice","@salesforce/label/Emojis_TravelPlaces.postOffice","@salesforce/label/Emojis_TravelPlaces.hospital","@salesforce/label/Emojis_TravelPlaces.bank","@salesforce/label/Emojis_TravelPlaces.hotel","@salesforce/label/Emojis_TravelPlaces.loveHotel","@salesforce/label/Emojis_TravelPlaces.convenienceStore","@salesforce/label/Emojis_TravelPlaces.school","@salesforce/label/Emojis_TravelPlaces.departmentStore","@salesforce/label/Emojis_TravelPlaces.factory","@salesforce/label/Emojis_TravelPlaces.japaneseCastle","@salesforce/label/Emojis_TravelPlaces.castle","@salesforce/label/Emojis_TravelPlaces.wedding","@salesforce/label/Emojis_TravelPlaces.tokyoTower","@salesforce/label/Emojis_TravelPlaces.statueOfLiberty","@salesforce/label/Emojis_TravelPlaces.church","@salesforce/label/Emojis_TravelPlaces.fountain","@salesforce/label/Emojis_TravelPlaces.tent","@salesforce/label/Emojis_TravelPlaces.foggy","@salesforce/label/Emojis_TravelPlaces.nightWithStars","@salesforce/label/Emojis_TravelPlaces.sunriseOverMountains","@salesforce/label/Emojis_TravelPlaces.sunrise","@salesforce/label/Emojis_TravelPlaces.cityscapeAtDusk","@salesforce/label/Emojis_TravelPlaces.sunset","@salesforce/label/Emojis_TravelPlaces.bridgeAtNight","@salesforce/label/Emojis_TravelPlaces.hotSprings","@salesforce/label/Emojis_TravelPlaces.milkyWay","@salesforce/label/Emojis_TravelPlaces.carouselHorse","@salesforce/label/Emojis_TravelPlaces.ferrisWheel","@salesforce/label/Emojis_TravelPlaces.rollerCoaster","@salesforce/label/Emojis_TravelPlaces.barberPole","@salesforce/label/Emojis_TravelPlaces.circusTent","@salesforce/label/Emojis_TravelPlaces.performingArts","@salesforce/label/Emojis_TravelPlaces.artistPalette","@salesforce/label/Emojis_TravelPlaces.slotMachine","@salesforce/label/Emojis_TravelPlaces.locomotive","@salesforce/label/Emojis_TravelPlaces.railwayCar","@salesforce/label/Emojis_TravelPlaces.highSpeedTrain","@salesforce/label/Emojis_TravelPlaces.highSpeedTrainWithBulletNose","@salesforce/label/Emojis_TravelPlaces.train","@salesforce/label/Emojis_TravelPlaces.metro","@salesforce/label/Emojis_TravelPlaces.lightRail","@salesforce/label/Emojis_TravelPlaces.station","@salesforce/label/Emojis_TravelPlaces.tram","@salesforce/label/Emojis_TravelPlaces.monorail","@salesforce/label/Emojis_TravelPlaces.mountainRailway","@salesforce/label/Emojis_TravelPlaces.tramCar","@salesforce/label/Emojis_TravelPlaces.bus","@salesforce/label/Emojis_TravelPlaces.oncomingBus","@salesforce/label/Emojis_TravelPlaces.trolleybus","@salesforce/label/Emojis_TravelPlaces.minibus","@salesforce/label/Emojis_TravelPlaces.ambulance","@salesforce/label/Emojis_TravelPlaces.fireEngine","@salesforce/label/Emojis_TravelPlaces.policeCar","@salesforce/label/Emojis_TravelPlaces.oncomingPoliceCar","@salesforce/label/Emojis_TravelPlaces.taxi","@salesforce/label/Emojis_TravelPlaces.oncomingTaxi","@salesforce/label/Emojis_TravelPlaces.automobile","@salesforce/label/Emojis_TravelPlaces.oncomingAutomobile","@salesforce/label/Emojis_TravelPlaces.sportUtilityVehicle","@salesforce/label/Emojis_TravelPlaces.deliveryTruck","@salesforce/label/Emojis_TravelPlaces.articulatedLorry","@salesforce/label/Emojis_TravelPlaces.tractor","@salesforce/label/Emojis_TravelPlaces.bicycle","@salesforce/label/Emojis_TravelPlaces.busStop","@salesforce/label/Emojis_TravelPlaces.fuelPump","@salesforce/label/Emojis_TravelPlaces.policeCarLight","@salesforce/label/Emojis_TravelPlaces.horizontalTrafficLight","@salesforce/label/Emojis_TravelPlaces.verticalTrafficLight","@salesforce/label/Emojis_TravelPlaces.construction","@salesforce/label/Emojis_TravelPlaces.anchor","@salesforce/label/Emojis_TravelPlaces.sailboat","@salesforce/label/Emojis_TravelPlaces.speedboat","@salesforce/label/Emojis_TravelPlaces.ship","@salesforce/label/Emojis_TravelPlaces.airplane","@salesforce/label/Emojis_TravelPlaces.seat","@salesforce/label/Emojis_TravelPlaces.helicopter","@salesforce/label/Emojis_TravelPlaces.suspensionRailway","@salesforce/label/Emojis_TravelPlaces.mountainCableway","@salesforce/label/Emojis_TravelPlaces.aerialTramway","@salesforce/label/Emojis_TravelPlaces.rocket","@salesforce/label/Emojis_TravelPlaces.door","@salesforce/label/Emojis_TravelPlaces.toilet","@salesforce/label/Emojis_TravelPlaces.shower","@salesforce/label/Emojis_TravelPlaces.personTakingBath","@salesforce/label/Emojis_TravelPlaces.bathtub","@salesforce/label/Emojis_TravelPlaces.hourglass","@salesforce/label/Emojis_TravelPlaces.hourglassWithFlowingSand","@salesforce/label/Emojis_TravelPlaces.watch","@salesforce/label/Emojis_TravelPlaces.alarmClock","@salesforce/label/Emojis_TravelPlaces.twelveOClock","@salesforce/label/Emojis_TravelPlaces.twelveThirty","@salesforce/label/Emojis_TravelPlaces.oneOClock","@salesforce/label/Emojis_TravelPlaces.oneThirty","@salesforce/label/Emojis_TravelPlaces.twoOClock","@salesforce/label/Emojis_TravelPlaces.twoThirty","@salesforce/label/Emojis_TravelPlaces.threeOClock","@salesforce/label/Emojis_TravelPlaces.threeThirty","@salesforce/label/Emojis_TravelPlaces.fourOClock","@salesforce/label/Emojis_TravelPlaces.fourThirty","@salesforce/label/Emojis_TravelPlaces.fiveOClock","@salesforce/label/Emojis_TravelPlaces.fiveThirty","@salesforce/label/Emojis_TravelPlaces.sixOClock","@salesforce/label/Emojis_TravelPlaces.sixThirty","@salesforce/label/Emojis_TravelPlaces.sevenOClock","@salesforce/label/Emojis_TravelPlaces.sevenThirty","@salesforce/label/Emojis_TravelPlaces.eightOClock","@salesforce/label/Emojis_TravelPlaces.eightThirty","@salesforce/label/Emojis_TravelPlaces.nineOClock","@salesforce/label/Emojis_TravelPlaces.nineThirty","@salesforce/label/Emojis_TravelPlaces.tenOClock","@salesforce/label/Emojis_TravelPlaces.tenThirty","@salesforce/label/Emojis_TravelPlaces.elevenOClock","@salesforce/label/Emojis_TravelPlaces.elevenThirty","@salesforce/label/Emojis_TravelPlaces.newMoon","@salesforce/label/Emojis_TravelPlaces.waxingCrescentMoon","@salesforce/label/Emojis_TravelPlaces.firstQuarterMoon","@salesforce/label/Emojis_TravelPlaces.waxingGibbousMoon","@salesforce/label/Emojis_TravelPlaces.fullMoon","@salesforce/label/Emojis_TravelPlaces.waningGibbousMoon","@salesforce/label/Emojis_TravelPlaces.lastQuarterMoon","@salesforce/label/Emojis_TravelPlaces.waningCrescentMoon","@salesforce/label/Emojis_TravelPlaces.crescentMoon","@salesforce/label/Emojis_TravelPlaces.newMoonFace","@salesforce/label/Emojis_TravelPlaces.firstQuarterMoonWithFace","@salesforce/label/Emojis_TravelPlaces.lastQuarterMoonWithFace","@salesforce/label/Emojis_TravelPlaces.sun","@salesforce/label/Emojis_TravelPlaces.fullMoonWithFace","@salesforce/label/Emojis_TravelPlaces.sunWithFace","@salesforce/label/Emojis_TravelPlaces.whiteMediumStar","@salesforce/label/Emojis_TravelPlaces.glowingStar","@salesforce/label/Emojis_TravelPlaces.shootingStar","@salesforce/label/Emojis_TravelPlaces.cloud","@salesforce/label/Emojis_TravelPlaces.sunBehindCloud","@salesforce/label/Emojis_TravelPlaces.cyclone","@salesforce/label/Emojis_TravelPlaces.rainbow","@salesforce/label/Emojis_TravelPlaces.closedUmbrella","@salesforce/label/Emojis_TravelPlaces.umbrellaWithRainDrops","@salesforce/label/Emojis_TravelPlaces.highVoltage","@salesforce/label/Emojis_TravelPlaces.snowflake","@salesforce/label/Emojis_TravelPlaces.snowmanWithoutSnow","@salesforce/label/Emojis_TravelPlaces.fire","@salesforce/label/Emojis_TravelPlaces.droplet","@salesforce/label/Emojis_TravelPlaces.waterWave","@salesforce/label/Emojis_A
471ctivities.activitiesCategory","@salesforce/label/Emojis_Activities.jackOLantern","@salesforce/label/Emojis_Activities.christmasTree","@salesforce/label/Emojis_Activities.fireworks","@salesforce/label/Emojis_Activities.sparkler","@salesforce/label/Emojis_Activities.sparkles","@salesforce/label/Emojis_Activities.balloon","@salesforce/label/Emojis_Activities.partyPopper","@salesforce/label/Emojis_Activities.confettiBall","@salesforce/label/Emojis_Activities.tanabataTree","@salesforce/label/Emojis_Activities.pineDecoration","@salesforce/label/Emojis_Activities.japaneseDolls","@salesforce/label/Emojis_Activities.carpStreamer","@salesforce/label/Emojis_Activities.windChime","@salesforce/label/Emojis_Activities.moonViewingCeremony","@salesforce/label/Emojis_Activities.ribbon","@salesforce/label/Emojis_Activities.wrappedGift","@salesforce/label/Emojis_Activities.ticket","@salesforce/label/Emojis_Activities.trophy","@salesforce/label/Emojis_Activities.soccerBall","@salesforce/label/Emojis_Activities.baseball","@salesforce/label/Emojis_Activities.basketball","@salesforce/label/Emojis_Activities.americanFootball","@salesforce/label/Emojis_Activities.rugbyFootball","@salesforce/label/Emojis_Activities.tennis","@salesforce/label/Emojis_Activities.pool8Ball","@salesforce/label/Emojis_Activities.bowling","@salesforce/label/Emojis_Activities.directHit","@salesforce/label/Emojis_Activities.flagInHole","@salesforce/label/Emojis_Activities.fishingPole","@salesforce/label/Emojis_Activities.runningShirt","@salesforce/label/Emojis_Activities.skis","@salesforce/label/Emojis_Activities.videoGame","@salesforce/label/Emojis_Activities.gameDie","@salesforce/label/Emojis_Activities.spadeSuit","@salesforce/label/Emojis_Activities.heartSuit","@salesforce/label/Emojis_Activities.diamondSuit","@salesforce/label/Emojis_Activities.clubSuit","@salesforce/label/Emojis_Activities.joker","@salesforce/label/Emojis_Activities.mahjongRedDragon","@salesforce/label/Emojis_Activities.flowerPlayingCards","@salesforce/label/Emojis_Objects.objectsCategory","@salesforce/label/Emojis_Objects.mutedSpeaker","@salesforce/label/Emojis_Objects.speakerLowVolume","@salesforce/label/Emojis_Objects.speakerMediumVolume","@salesforce/label/Emojis_Objects.speakerHighVolume","@salesforce/label/Emojis_Objects.loudspeaker","@salesforce/label/Emojis_Objects.megaphone","@salesforce/label/Emojis_Objects.postalHorn","@salesforce/label/Emojis_Objects.bell","@salesforce/label/Emojis_Objects.bellWithSlash","@salesforce/label/Emojis_Objects.musicalScore","@salesforce/label/Emojis_Objects.musicalNote","@salesforce/label/Emojis_Objects.musicalNotes","@salesforce/label/Emojis_Objects.microphone","@salesforce/label/Emojis_Objects.headphone","@salesforce/label/Emojis_Objects.radio","@salesforce/label/Emojis_Objects.saxophone","@salesforce/label/Emojis_Objects.guitar","@salesforce/label/Emojis_Objects.musicalKeyboard","@salesforce/label/Emojis_Objects.trumpet","@salesforce/label/Emojis_Objects.violin","@salesforce/label/Emojis_Objects.mobilePhone","@salesforce/label/Emojis_Objects.mobilePhoneWithArrow","@salesforce/label/Emojis_Objects.telephone","@salesforce/label/Emojis_Objects.telephoneReceiver","@salesforce/label/Emojis_Objects.pager","@salesforce/label/Emojis_Objects.faxMachine","@salesforce/label/Emojis_Objects.battery","@salesforce/label/Emojis_Objects.electricPlug","@salesforce/label/Emojis_Objects.laptopComputer","@salesforce/label/Emojis_Objects.computerDisk","@salesforce/label/Emojis_Objects.floppyDisk","@salesforce/label/Emojis_Objects.opticalDisk","@salesforce/label/Emojis_Objects.dvd","@salesforce/label/Emojis_Objects.movieCamera","@salesforce/label/Emojis_Objects.clapperBoard","@salesforce/label/Emojis_Objects.television","@salesforce/label/Emojis_Objects.camera","@salesforce/label/Emojis_Objects.videoCamera","@salesforce/label/Emojis_Objects.videocassette","@salesforce/label/Emojis_Objects.leftPointingMagnifyingGlass","@salesforce/label/Emojis_Objects.rightPointingMagnifyingGlass","@salesforce/label/Emojis_Objects.microscope","@salesforce/label/Emojis_Objects.telescope","@salesforce/label/Emojis_Objects.satelliteAntenna","@salesforce/label/Emojis_Objects.lightBulb","@salesforce/label/Emojis_Objects.flashlight","@salesforce/label/Emojis_Objects.redPaperLantern","@salesforce/label/Emojis_Objects.notebookWithDecorativeCover","@salesforce/label/Emojis_Objects.closedBook","@salesforce/label/Emojis_Objects.openBook","@salesforce/label/Emojis_Objects.greenBook","@salesforce/label/Emojis_Objects.blueBook","@
471salesforce/label/Emojis_Objects.orangeBook","@salesforce/label/Emojis_Objects.books","@salesforce/label/Emojis_Objects.notebook","@salesforce/label/Emojis_Objects.ledger","@salesforce/label/Emojis_Objects.pageWithCurl","@salesforce/label/Emojis_Objects.scroll","@salesforce/label/Emojis_Objects.pageFacingUp","@salesforce/label/Emojis_Objects.newspaper","@salesforce/label/Emojis_Objects.bookmarkTabs","@salesforce/label/Emojis_Objects.bookmark","@salesforce/label/Emojis_Objects.moneyBag","@salesforce/label/Emojis_Objects.yenBanknote","@salesforce/label/Emojis_Objects.dollarBanknote","@salesforce/label/Emojis_Objects.euroBanknote","@salesforce/label/Emojis_Objects.poundBanknote","@salesforce/label/Emojis_Objects.moneyWithWings","@salesforce/label/Emojis_Objects.creditCard","@salesforce/label/Emojis_Objects.chartIncreasingWithYen","@salesforce/label/Emojis_Objects.currencyExchange","@salesforce/label/Emojis_Objects.heavyDollarSign","@salesforce/label/Emojis_Objects.envelope","@salesforce/label/Emojis_Objects.eMail","@salesforce/label/Emojis_Objects.incomingEnvelope","@salesforce/label/Emojis_Objects.envelopeWithArrow","@salesforce/label/Emojis_Objects.outboxTray","@salesforce/label/Emojis_Objects.inboxTray","@salesforce/label/Emojis_Objects.mailPackage","@salesforce/label/Emojis_Objects.closedMailboxWithRaisedFlag","@salesforce/label/Emojis_Objects.closedMailboxWithLoweredFlag","@salesforce/label/Emojis_Objects.openMailboxWithRaisedFlag","@salesforce/label/Emojis_Objects.openMailboxWithLoweredFlag","@salesforce/label/Emojis_Objects.postbox","@salesforce/label/Emojis_Objects.pencil","@salesforce/label/Emojis_Objects.blackNib","@salesforce/label/Emojis_Objects.memo","@salesforce/label/Emojis_Objects.briefcase","@salesforce/label/Emojis_Objects.fileFolder","@salesforce/label/Emojis_Objects.openFileFolder","@salesforce/label/Emojis_Objects.calendar","@salesforce/label/Emojis_Objects.tearOffCalendar","@salesforce/label/Emojis_Objects.cardIndex","@salesforce/label/Emojis_Objects.chartIncreasing","@salesforce/label/Emojis_Objects.chartDecreasing","@salesforce/label/Emojis_Objects.barChart","@salesforce/label/Emojis_Objects.clipboard","@salesforce/label/Emojis_Objects.pushpin","@salesforce/label/Emojis_Objects.roundPushpin","@salesforce/label/Emojis_Objects.paperclip","@salesforce/label/Emojis_Objects.straightRuler","@salesforce/label/Emojis_Objects.triangularRuler","@salesforce/label/Emojis_Objects.scissors","@salesforce/label/Emojis_Objects.locked","@salesforce/label/Emojis_Objects.unlocked","@salesforce/label/Emojis_Objects.lockedWithPen","@salesforce/label/Emojis_Objects.lockedWithKey","@salesforce/label/Emojis_Objects.key","@salesforce/label/Emojis_Objects.hammer","@salesforce/label/Emojis_Objects.pistol","@salesforce/label/Emojis_Objects.wrench","@salesforce/label/Emojis_Objects.nutAndBolt","@salesforce/label/Emojis_Objects.link","@salesforce/label/Emojis_Objects.syringe","@salesforce/label/Emojis_Objects.pill","@salesforce/label/Emojis_Objects.cigarette","@salesforce/label/Emojis_Objects.moai","@salesforce/label/Emojis_Objects.crystalBall","@salesforce/label/Emojis_Symbols.symbolsCategory","@salesforce/label/Emojis_Symbols.atmSign","@salesforce/label/Emojis_Symbols.litterInBinSign","@salesforce/label/Emojis_Symbols.potableWater","@salesforce/label/Emojis_Symbols.wheelchairSymbol","@salesforce/label/Emojis_Symbols.mensRoom","@salesforce/label/Emojis_Symbols.womensRoom","@salesforce/label/Emojis_Symbols.restroom","@salesforce/label/Emojis_Symbols.babySymbol","@salesforce/label/Emojis_Symbols.waterCloset","@salesforce/label/Emojis_Symbols.passportControl","@salesforce/label/Emojis_Symbols.customs","@salesforce/label/Emojis_Symbols.baggageClaim","@salesforce/label/Emojis_Symbols.leftLuggage","@salesforce/label/Emojis_Symbols.warning","@salesforce/label/Emojis_Symbols.childrenCrossing","@salesforce/label/Emojis_Symbols.noEntry","@salesforce/label/Emojis_Symbols.prohibited","@salesforce/label/Emojis_Symbols.noBicycles","@salesforce/label/Emojis_Symbols.noSmoking","@salesforce/label/Emojis_Symbols.noLittering","@salesforce/label/Emojis_Symbols.nonPotableWater","@salesforce/label/Emojis_Symbols.noPedestrians","@salesforce/label/Emojis_Symbols.noMobilePhones","@salesforce/label/Emojis_Symbols.noOneUnderEighteen","@salesforce/label/Emojis_Symbols.upArrow","@salesforce/label/Emojis_Symbols.upRightArrow","@salesforce/label/Emojis_Symbols.rightArrow","@salesforce/label/Emojis_Symbols.downRightArrow","@salesforce/label/Emojis_Symbols.downArrow","@salesforce/label/Emojis_Symbols.downLeftArrow","@salesforce/label/Emojis_Symbols.leftArrow","@salesforce/label/Emojis_Symbols.upLeftArrow","@salesforce/label/Emojis_Symbols.upDownArrow","@salesforce/label/Emojis_Symbols.leftRightArrow","@salesforce/label/Emojis_Symbols.rightArrowCurvingLeft","@salesforce/label/Emojis_Symbols.leftArrowCurvingRight","@salesforce/label/Emojis_Symbols.rightArrowCurvingUp","@salesforce/label/Emojis_Symbols.rightArrowCurvingDown","@
471salesforce/label/Emojis_Symbols.clockwiseVerticalArrows","@salesforce/label/Emojis_Symbols.anticlockwiseArrowsButton","@salesforce/label/Emojis_Symbols.backArrow","@salesforce/label/Emojis_Symbols.endArrow","@salesforce/label/Emojis_Symbols.onArrow","@salesforce/label/Emojis_Symbols.soonArrow","@salesforce/label/Emojis_Symbols.topArrow","@salesforce/label/Emojis_Symbols.dottedSixPointedStar","@salesforce/label/Emojis_Symbols.aries","@salesforce/label/Emojis_Symbols.taurus","@salesforce/label/Emojis_Symbols.gemini","@salesforce/label/Emojis_Symbols.cancer","@salesforce/label/Emojis_Symbols.leo","@salesforce/label/Emojis_Symbols.virgo","@salesforce/label/Emojis_Symbols.libra","@salesforce/label/Emojis_Symbols.scorpio","@salesforce/label/Emojis_Symbols.sagittarius","@salesforce/label/Emojis_Symbols.capricorn","@salesforce/label/Emojis_Symbols.aquarius","@salesforce/label/Emojis_Symbols.pisces","@salesforce/label/Emojis_Symbols.ophiuchus","@salesforce/label/Emojis_Symbols.shuffleTracksButton","@salesforce/label/Emojis_Symbols.repeatButton","@salesforce/label/Emojis_Symbols.repeatSingleButton","@salesforce/label/Emojis_Symbols.playButton","@salesforce/label/Emojis_Symbols.fastForwardButton","@salesforce/label/Emojis_Symbols.reverseButton","@salesforce/label/Emojis_Symbols.fastReverseButton","@salesforce/label/Emojis_Symbols.fastUpButton","@salesforce/label/Emojis_Symbols.downButton","@salesforce/label/Emojis_Symbols.fastDownButton","@salesforce/label/Emojis_Symbols.cinema","@salesforce/label/Emojis_Symbols.dimButton","@salesforce/label/Emojis_Symbols.brightButton","@salesforce/label/Emojis_Symbols.antennaBars","@salesforce/label/Emojis_Symbols.vibrationMode","@salesforce/label/Emojis_Symbols.mobilePhoneOff","@salesforce/label/Emojis_Symbols.recyclingSymbol","@salesforce/label/Emojis_Symbols.nameBadge","@salesforce/label/Emojis_Symbols.japaneseSymbolForBeginner","@salesforce/label/Emojis_Symbols.tridentEmblem","@salesforce/label/Emojis_Symbols.heavyLargeCircle","@salesforce/label/Emojis_Symbols.whiteHeavyCheckMark","@salesforce/label/Emojis_Symbols.ballotBoxWithCheck","@salesforce/label/Emojis_Symbols.heavyCheckMark","@salesforce/label/Emojis_Symbols.heavyMultiplicationX","@salesforce/label/Emojis_Symbols.crossMark","@salesforce/label/Emojis_Symbols.crossMarkButton","@salesforce/label/Emojis_Symbols.heavyPlusSign","@salesforce/label/Emojis_Symbols.heavyMinusSign","@salesforce/label/Emojis_Symbols.heavyDivisionSign","@salesforce/label/Emojis_Symbols.curlyLoop","@salesforce/label/Emojis_Symbols.doubleCurlyLoop","@salesforce/label/Emojis_Symbols.partAlternationMark","@salesforce/label/Emojis_Symbols.eightSpokedAsterisk","@salesforce/label/Emojis_Symbols.eightPointedStar","@salesforce/label/Emojis_Symbols.sparkle","@salesforce/label/Emojis_Symbols.doubleExclamationMark","@salesforce/label/Emojis_Symbols.exclamationQuestionMark","@salesforce/label/Emojis_Symbols.questionMark","@salesforce/label/Emojis_Symbols.whiteQuestionMark","@salesforce/label/Emojis_Symbols.whiteExclamationMark","@salesforce/label/Emojis_Symbols.exclamationMark","@salesforce/label/Emojis_Symbols.wavyDash","@salesforce/label/Emojis_Symbols.copyright","@salesforce/label/Emojis_Symbols.registered","@salesforce/label/Emojis_Symbols.tradeMark","@salesforce/label/Emojis_Symbols.keycap","@salesforce/label/Emojis_Symbols.keycap0","@salesforce/label/Emojis_Symbols.keycap1","@salesforce/label/Emojis_Symbols.keycap2","@salesforce/label/Emojis_Symbols.keycap3","@salesforce/label/Emojis_Symbols.keycap4","@salesforce/label/Emojis_Symbols.keycap5","@salesforce/label/Emojis_Symbols.keycap6","@salesforce/label/Emojis_Symbols.keycap7","@salesforce/label/Emojis_Symbols.keycap8","@salesforce/label/Emojis_Symbols.keycap9","@salesforce/label/Emojis_Symbols.keycap10","@salesforce/label/Emojis_Symbols.hundredPoints","@salesforce/label/Emojis_Symbols.inputLatinUppercase","@salesforce/label/Emojis_Symbols.inputLatinLowercase","@salesforce/label/Emojis_Symbols.inputNumbers","@salesforce/label/Emojis_Symbols.inputSymbols","@salesforce/label/Emojis_Symbols.inputLatinLetters","@salesforce/label/Emojis_Symbols.aButtonBloodType","@salesforce/label/Emojis_Symbols.abButtonBloodType","@salesforce/label/Emojis_Symbols.bButtonBloodType","@salesforce/label/Emojis_Symbols.clButton","@salesforce/label/Emojis_Symbols.coolButton","@salesforce/label/Emojis_Symbols.freeButton","@salesforce/label/Emojis_Symbols.information","@salesforce/label/Emojis_Symbols.idButton","@salesforce/label/Emojis_Symbols.circledM","@salesforce/label/Emojis_Symbols.newButton","@salesforce/label/Emojis_Symbols.ngButton","@salesforce/label/Emojis_Symbols.oButtonBloodType","@salesforce/label/Emojis_Symbols.okButton","@salesforce/label/Emojis_Symbols.pButton","@salesforce/label/Emojis_Symbols.sosButton","@salesforce/label/Emojis_Symbols.upButton","@salesforce/label/Emojis_Symbols.vsButton","@salesforce/label/Emojis_Symbols.japaneseHereButton","@salesforce/label/Emojis_Symbols.japaneseServiceChargeButton","@salesforce/label/Emojis_Symbols.japaneseMonthlyAmountButton","@salesforce/label/Emojis_Symbols.japaneseNotFreeOfChargeButton","@salesforce/label/Emojis_Symbols.japaneseReservedButton","@salesforce/label/Emojis_Symbols.japaneseBargainButton","@salesforce/label/Emojis_Symbols.japaneseDiscountButton","@salesforce/label/Emojis_Symbols.japaneseFreeOfChargeButton","@salesforce/label/Emojis_Symbols.japaneseProhibitedButton","@salesforce/label/Emojis_Symbols.japaneseAcceptableButton","@salesforce/label/Emojis_Symbols.japaneseApplicationButton","@salesforce/label/Emojis_Symbols.japanesePassingGradeButton","@salesforce/label/Emojis_Symbols.japaneseVacancyButton","@salesforce/label/Emojis_Symbols.japaneseCongratulationsButton","@salesforce/label/Emojis_Symbols.japaneseSecretButton","@salesforce/label/Emojis_Symbols.japaneseOpenForBusinessButton","@salesforce/label/Emojis_Symbols.japaneseNoVacancyButton","@salesforce/label/Emojis_Symbols.blackSmallSquare","@salesforce/label/Emojis_Symbols.whiteSmallSquare","@salesforce/label/Emojis_Symbols.whiteMediumSquare","@salesforce/label/Emojis_Symbols.blackMediumSquare","@salesforce/label/Emojis_Symbols.whiteMediumSmallSquare","@salesforce/label/Emojis_Symbols.blackMediumSmallSquare","@salesforce/label/Emojis_Symbols.blackLargeSquare","@salesforce/label/Emojis_Symbols.whiteLargeSquare","@salesforce/label/Emojis_Symbols.largeOrangeDiamond","@salesforce/label/Emojis_Symbols.largeBlueDiamond","@salesforce/label/Emojis_Symbols.smallOrangeDiamond","@salesforce/label/Emojis_Symbols.smallBlueDiamond","@salesforce/label/Emojis_Symbols.redTrianglePointedUp","@salesforce/label/Emojis_Symbols.redTrianglePointedDown","@salesforce/label/Emojis_Symbols.diamondWithADot","@salesforce/label/Emojis_Symbols.radioButton","@salesforce/label/Emojis_Symbols.blackSquareButton","@salesforce/label/Emojis_Symbols.whiteSquareButton","@salesforce/label/Emojis_Symbols.whiteCircle","@salesforce/label/Emojis_Symbols.blackCircle","@salesforce/label/Emojis_Symbols.redCircle","@salesforce/label/Emojis_Symbols.blueCircle","@salesforce/label/Emojis_Flags.flagsCategory","@salesforce/label/Emojis_Flags.chequeredFlag","@salesforce/label/Emojis_Flags.triangularFlag","@salesforce/label/Emojis_Flags.crossedFlags","@salesforce/label/Emojis_Flags.unitedArabEmirates","@salesforce/label/Emojis_Flags.austria","@salesforce/label/Emojis_Flags.australia","@salesforce/label/Emojis_Flags.belgium","@salesforce/label/Emojis_Flags.brazil","@salesforce/label/Emojis_Flags.canada","@salesforce/label/Emojis_Flags.switzerland","@salesforce/label/Emojis_Flags.chile","@salesforce/label/Emojis_Flags.china","@salesforce/label/Emojis_Flags.colombia","@salesforce/label/Emojis_Flags.germany","@
471salesforce/label/Emojis_Flags.denmark","@salesforce/label/Emojis_Flags.spain","@salesforce/label/Emojis_Flags.finland","@salesforce/label/Emojis_Flags.france","@salesforce/label/Emojis_Flags.unitedKingdom","@salesforce/label/Emojis_Flags.hongKongSarChina","@salesforce/label/Emojis_Flags.indonesia","@salesforce/label/Emojis_Flags.ireland","@salesforce/label/Emojis_Flags.israel","@salesforce/label/Emojis_Flags.india","@salesforce/label/Emojis_Flags.italy","@salesforce/label/Emojis_Flags.japan","@salesforce/label/Emojis_Flags.southKorea","@salesforce/label/Emojis_Flags.macauSarChina","@salesforce/label/Emojis_Flags.mexico","@salesforce/label/Emojis_Flags.malaysia","@salesforce/label/Emojis_Flags.netherlands","@salesforce/label/Emojis_Flags.norway","@salesforce/label/Emojis_Flags.newZealand","@salesforce/label/Emojis_Flags.philippines","@salesforce/label/Emojis_Flags.poland","@salesforce/label/Emojis_Flags.puertoRico","@salesforce/label/Emojis_Flags.portugal","@salesforce/label/Emojis_Flags.russia","@salesforce/label/Emojis_Flags.saudiArabia","@salesforce/label/Emojis_Flags.sweden","@salesforce/label/Emojis_Flags.singapore","@salesforce/label/Emojis_Flags.turkey","@salesforce/label/Emojis_Flags.unitedStates","@salesforce/label/Emojis_Flags.vietnam","@salesforce/label/Emojis_Flags.southAfrica"],function(e,l,a,s,o,i,t,r,f,c,m,n,u,b,d,j,E,_,p,y,g,h,S,P,k,v,F,w,T,A,B,O,C,W,M,D,N,H,x,L,R,I,q,G,z,U,V,K,Q,J,X,Y,Z,$,ee,le,ae,se,oe,ie,te,re,fe,ce,me,ne,ue,be,de,je,Ee,_e,pe,ye,ge,he,Se,Pe,ke,ve,Fe,we,Te,Ae,Be,Oe,Ce,We,Me,De,Ne,He,xe,Le,Re,Ie,qe,Ge,ze,Ue,Ve,Ke,Qe,Je,Xe,Ye,Ze,$e,el,ll,al,sl,ol,il,tl,rl,fl,cl,ml,nl,ul,bl,dl,jl,El,_l,pl,yl,gl,hl,Sl,Pl,kl,vl,Fl,wl,Tl,Al,Bl,Ol,Cl,Wl,Ml,Dl,Nl,Hl,xl,Ll,Rl,Il,ql,Gl,zl,Ul,Vl,Kl,Ql,Jl,Xl,Yl,Zl,$l,ea,la,aa,sa,oa,ia,ta,ra,fa,ca,ma,na,ua,ba,da,ja,Ea,_a,pa,ya,ga,ha,Sa,Pa,ka,va,Fa,wa,Ta,Aa,Ba,Oa,Ca,Wa,Ma,Da,Na,Ha,xa,La,Ra,Ia,qa,Ga,za,Ua,Va,Ka,Qa,Ja,Xa,Ya,Za,$a,es,ls,as,ss,os,is,ts,rs,fs,cs,ms,ns,us,bs,ds,js,Es,_s,ps,ys,gs,hs,Ss,Ps,ks,vs,Fs,ws,Ts,As,Bs,Os,Cs,Ws,Ms,Ds,Ns,Hs,xs,Ls,Rs,Is,qs,Gs,zs,Us,Vs,Ks,Qs,Js,Xs,Ys,Zs,$s,eo,lo,ao,so,oo,io,to,ro,fo,co,mo,no,uo,bo,jo,Eo,_o,po,yo,go,ho,So,Po,ko,vo,Fo,wo,To,Ao,Bo,Oo,Co,Wo,Mo,Do,No,Ho,xo,Lo,Ro,Io,qo,Go,zo,Uo,Vo,Ko,Qo,Jo,Xo,Yo,Zo,$o,ei,li,ai,si,oi,ii,ti,ri,fi,ci,mi,ni,ui,bi,di,ji,Ei,_i,pi,yi,gi,hi,Si,Pi,ki,vi,Fi,wi,Ti,Ai,Bi,Oi,Ci,Wi,Mi,Di,Ni,Hi,xi,Li,Ri,Ii,qi,Gi,zi,Ui,Vi,Ki,Qi,Ji,Xi,Yi,Zi,$i,et,lt,at,st,ot,it,tt,rt,ft,ct,mt,nt,ut,bt,dt,jt,Et,_t,pt,yt,gt,ht,St,Pt,kt,vt,Ft,wt,Tt,At,Bt,Ot,Ct,Wt,Mt,Dt,Nt,Ht,xt,Lt,Rt,It,qt,Gt,zt,Ut,Vt,Kt,Qt,Jt,Xt,Yt,Zt,$t,er,lr,ar,sr,or,ir,tr,rr,fr,cr,mr,nr,ur,br,dr,jr,Er,_r,pr,yr,gr,hr,Sr,Pr,kr,vr,Fr,wr,Tr,Ar,Br,Or,Cr,Wr,Mr,Dr,Nr,Hr,xr,Lr,Rr,Ir,qr,Gr,zr,Ur,Vr,Kr,Qr,Jr,Xr,Yr,Zr,$r,ef,lf,af,sf,of,tf,rf,ff,cf,mf,nf,uf,bf,df,jf,Ef,_f,pf,yf,gf,hf,Sf,Pf,kf,vf,Ff,wf,Tf,Af,Bf,Of,Cf,Wf,Mf,Df,Nf,Hf,xf,Lf,Rf,If,qf,Gf,zf,Uf,Vf,Kf,Qf,Jf,Xf,Yf,Zf,$f,ec,lc,ac,sc,oc,ic,tc,rc,fc,cc,mc,nc,uc,bc,dc,jc,Ec,_c,pc,yc,gc,hc,Sc,Pc,kc,vc,Fc,wc,Tc,Ac,Bc,Oc,Cc,Wc,Mc,Dc,Nc,Hc,xc,Lc,Rc,Ic,qc,Gc,zc,Uc,Vc,Kc,Qc,Jc,Xc,Yc,Zc,$c,em,lm,am,sm,om,im,tm,rm,fm,cm,mm,nm,um,bm,dm,jm,Em,_m,pm,ym,gm,hm,Sm,Pm,km,vm,Fm,wm,Tm,Am,Bm,Om,Cm,Wm,Mm,Dm,Nm,Hm,xm,Lm,Rm,Im,qm,Gm,zm,Um,Vm,Km,Qm,Jm,Xm,Ym,Zm,$m,en,ln,an,sn,on,tn,rn,fn,cn,mn,nn,un,bn,dn,jn,En,_n,pn,yn,gn,hn,Sn,Pn,kn,vn,Fn,wn,Tn,An,Bn,On,Cn,Wn,Mn,Dn,Nn,Hn,xn,Ln,Rn,In,qn,Gn,zn,Un,Vn,Kn,Qn,Jn,Xn,Yn,Zn,$n,eu,lu,au,su,ou,iu,tu,ru,fu,cu,mu,nu,uu,bu,du,ju,Eu,_u,pu,yu,gu,hu,Su,Pu,ku,vu,Fu,wu,Tu,Au,Bu,Ou,Cu,Wu,Mu,Du,Nu,Hu,xu,Lu,Ru,Iu,qu,Gu,zu,Uu,Vu,Ku,Qu,Ju,Xu,Yu,Zu,$u,eb,lb,ab,sb,ob,ib,tb,rb,fb,cb,mb,nb,ub,bb,db,jb,Eb,_b,pb,yb,gb,hb,Sb,Pb,kb,vb,Fb,wb,Tb,Ab,Bb,Ob,Cb,Wb,Mb,Db,Nb,Hb,xb,Lb,Rb,Ib,qb,Gb,zb,Ub,Vb,Kb,Qb,Jb,Xb,Yb,Zb,$b,ed,ld,ad,sd,od,id,td,rd,fd,cd,md,nd,ud,bd,dd,jd,Ed,_d,pd,yd,gd,hd,Sd,Pd,kd,vd,Fd,wd,Td,Ad,Bd,Od,Cd,Wd,Md,Dd,Nd,Hd,xd,Ld,Rd,Id,qd,Gd,zd,Ud,Vd,Kd,Qd,Jd,Xd,Yd,Zd,$d,ej,lj,aj,sj,oj,ij,tj,rj,fj,cj,mj,nj,uj,bj,dj,jj,Ej,_j,pj,yj,gj,hj,Sj,Pj,kj){function vj(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Fj=vj(a),wj=vj(s),Tj=vj(o),Aj=vj(i),Bj=vj(t),Oj=vj(r),Cj=vj(f),Wj=vj(c),Mj=vj(m),Dj=vj(n),Nj=vj(u),Hj=vj(b),xj=vj(d),Lj=vj(j),Rj=vj(E),Ij=vj(_),qj=vj(p),Gj=vj(y),zj=vj(g),Uj=vj(h),Vj=vj(S),Kj=vj(P),Qj=vj(k),Jj=vj(v),Xj=vj(F),Yj=vj(w),Zj=vj(T),$j=vj(A),eE=vj(B),lE=vj(O),aE=vj(C),sE=vj(W),oE=vj(M),iE=vj(D),tE=vj(N),rE=vj(H),fE=vj(x),cE=vj(L),mE=vj(R),nE=vj(I),uE=vj(q),bE=vj(G),dE=vj(z),jE=vj(U),EE=vj(V),_E=vj(K),pE=vj(Q),yE=vj(J),gE=vj(X),hE=vj(Y),SE=vj(Z),PE=vj($),kE=vj(ee),vE=vj(le),FE=vj(ae),wE=vj(se),TE=vj(oe),AE=vj(ie),BE=vj(te),OE=vj(re),CE=vj(fe),WE=vj(ce),ME=vj(me),DE=vj(ne),NE=vj(ue),HE=vj(be),xE=vj(de),LE=vj(je),RE=vj(Ee),IE=vj(_e),qE=vj(pe),GE=vj(ye),zE=vj(ge),UE=vj(he),VE=vj(Se),KE=vj(Pe),QE=vj(ke),JE=vj(ve),XE=vj(Fe),YE=vj(we),ZE=vj(Te),$E=vj(Ae),e_=vj(Be),l_=vj(Oe),a_=vj(Ce),s_=vj(We),o_=vj(Me),i_=vj(De),t_=vj(Ne),r_=vj(He),f_=vj(xe),c_=vj(Le),m_=vj(Re),n_=vj(Ie),u_=vj(qe),b_=vj(Ge),d_=vj(ze),j_=vj(Ue),E_=vj(Ve),__=vj(Ke),p_=vj(Qe),y_=vj(Je),g_=vj(Xe),h_=vj(Ye),S_=vj(Ze),P_=vj($e),k_=vj(el),v_=vj(ll),F_=vj(al),w_=vj(sl),T_=vj(ol),A_=vj(il),B_=vj(tl),O_=vj(rl),C_=vj(fl),W_=vj(cl),M_=vj(ml),D_=vj(nl),N_=vj(ul),H_=vj(bl),x_=vj(dl),L_=vj(jl),R_=vj(El),I_=vj(_l),q_=vj(pl),G_=vj(yl),z_=vj(gl),U_=vj(hl),V_=vj(Sl),K_=vj(Pl),Q_=vj(kl),J_=vj(vl),X_=vj(Fl),Y_=vj(wl),Z_=vj(Tl),$_=vj(Al),ep=vj(Bl),lp=vj(Ol),ap=vj(Cl),sp=vj(Wl),op=vj(Ml),ip=vj(Dl),tp=vj(Nl),rp=vj(Hl),fp=vj(xl),cp=vj(Ll),mp=vj(Rl),np=vj(Il),up=vj(ql),bp=vj(Gl),dp=vj(zl),jp=vj(Ul),Ep=vj(Vl),_p=vj(Kl),pp=vj(Ql),yp=vj(Jl),gp=vj(Xl),hp=vj(Yl),Sp=vj(
471Zl),Pp=vj($l),kp=vj(ea),vp=vj(la),Fp=vj(aa),wp=vj(sa),Tp=vj(oa),Ap=vj(ia),Bp=vj(ta),Op=vj(ra),Cp=vj(fa),Wp=vj(ca),Mp=vj(ma),Dp=vj(na),Np=vj(ua),Hp=vj(ba),xp=vj(da),Lp=vj(ja),Rp=vj(Ea),Ip=vj(_a),qp=vj(pa),Gp=vj(ya),zp=vj(ga),Up=vj(ha),Vp=vj(Sa),Kp=vj(Pa),Qp=vj(ka),Jp=vj(va),Xp=vj(Fa),Yp=vj(wa),Zp=vj(Ta),$p=vj(Aa),ey=vj(Ba),ly=vj(Oa),ay=vj(Ca),sy=vj(Wa),oy=vj(Ma),iy=vj(Da),ty=vj(Na),ry=vj(Ha),fy=vj(xa),cy=vj(La),my=vj(Ra),ny=vj(Ia),uy=vj(qa),by=vj(Ga),dy=vj(za),jy=vj(Ua),Ey=vj(Va),_y=vj(Ka),py=vj(Qa),yy=vj(Ja),gy=vj(Xa),hy=vj(Ya),Sy=vj(Za),Py=vj($a),ky=vj(es),vy=vj(ls),Fy=vj(as),wy=vj(ss),Ty=vj(os),Ay=vj(is),By=vj(ts),Oy=vj(rs),Cy=vj(fs),Wy=vj(cs),My=vj(ms),Dy=vj(ns),Ny=vj(us),Hy=vj(bs),xy=vj(ds),Ly=vj(js),Ry=vj(Es),Iy=vj(_s),qy=vj(ps),Gy=vj(ys),zy=vj(gs),Uy=vj(hs),Vy=vj(Ss),Ky=vj(Ps),Qy=vj(ks),Jy=vj(vs),Xy=vj(Fs),Yy=vj(ws),Zy=vj(Ts),$y=vj(As),eg=vj(Bs),lg=vj(Os),ag=vj(Cs),sg=vj(Ws),og=vj(Ms),ig=vj(Ds),tg=vj(Ns),rg=vj(Hs),fg=vj(xs),cg=vj(Ls),mg=vj(Rs),ng=vj(Is),ug=vj(qs),bg=vj(Gs),dg=vj(zs),jg=vj(Us),Eg=vj(Vs),_g=vj(Ks),pg=vj(Qs),yg=vj(Js),gg=vj(Xs),hg=vj(Ys),Sg=vj(Zs),Pg=vj($s),kg=vj(eo),vg=vj(lo),Fg=vj(ao),wg=vj(so),Tg=vj(oo),Ag=vj(io),Bg=vj(to),Og=vj(ro),Cg=vj(fo),Wg=vj(co),Mg=vj(mo),Dg=vj(no),Ng=vj(uo),Hg=vj(bo),xg=vj(jo),Lg=vj(Eo),Rg=vj(_o),Ig=vj(po),qg=vj(yo),Gg=vj(go),zg=vj(ho),Ug=vj(So),Vg=vj(Po),Kg=vj(ko),Qg=vj(vo),Jg=vj(Fo),Xg=vj(wo),Yg=vj(To),Zg=vj(Ao),$g=vj(Bo),eh=vj(Oo),lh=vj(Co),ah=vj(Wo),sh=vj(Mo),oh=vj(Do),ih=vj(No),th=vj(Ho),rh=vj(xo),fh=vj(Lo),ch=vj(Ro),mh=vj(Io),nh=vj(qo),uh=vj(Go),bh=vj(zo),dh=vj(Uo),jh=vj(Vo),Eh=vj(Ko),_h=vj(Qo),ph=vj(Jo),yh=vj(Xo),gh=vj(Yo),hh=vj(Zo),Sh=vj($o),Ph=vj(ei),kh=vj(li),vh=vj(ai),Fh=vj(si),wh=vj(oi),Th=vj(ii),Ah=vj(ti),Bh=vj(ri),Oh=vj(fi),Ch=vj(ci),Wh=vj(mi),Mh=vj(ni),Dh=vj(ui),Nh=vj(bi),Hh=vj(di),xh=vj(ji),Lh=vj(Ei),Rh=vj(_i),Ih=vj(pi),qh=vj(yi),Gh=vj(gi),zh=vj(hi),Uh=vj(Si),Vh=vj(Pi),Kh=vj(ki),Qh=vj(vi),Jh=vj(Fi),Xh=vj(wi),Yh=vj(Ti),Zh=vj(Ai),$h=vj(Bi),eS=vj(Oi),lS=vj(Ci),aS=vj(Wi),sS=vj(Mi),oS=vj(Di),iS=vj(Ni),tS=vj(Hi),rS=vj(xi),fS=vj(Li),cS=vj(Ri),mS=vj(Ii),nS=vj(qi),uS=vj(Gi),bS=vj(zi),dS=vj(Ui),jS=vj(Vi),ES=vj(Ki),_S=vj(Qi),pS=vj(Ji),yS=vj(Xi),gS=vj(Yi),hS=vj(Zi),SS=vj($i),PS=vj(et),kS=vj(lt),vS=vj(at),FS=vj(st),wS=vj(ot),TS=vj(it),AS=vj(tt),BS=vj(rt),OS=vj(ft),CS=vj(ct),WS=vj(mt),MS=vj(nt),DS=vj(ut),NS=vj(bt),HS=vj(dt),xS=vj(jt),LS=vj(Et),RS=vj(_t),IS=vj(pt),qS=vj(yt),GS=vj(gt),zS=vj(ht),US=vj(St),VS=vj(Pt),KS=vj(kt),QS=vj(vt),JS=vj(Ft),XS=vj(wt),YS=vj(Tt),ZS=vj(At),$S=vj(Bt),eP=vj(Ot),lP=vj(Ct),aP=vj(Wt),sP=vj(Mt),oP=vj(Dt),iP=vj(Nt),tP=vj(Ht),rP=vj(xt),fP=vj(Lt),cP=vj(Rt),mP=vj(It),nP=vj(qt),uP=vj(Gt),bP=vj(zt),dP=vj(Ut),jP=vj(Vt),EP=vj(Kt),_P=vj(Qt),pP=vj(Jt),yP=vj(Xt),gP=vj(Yt),hP=vj(Zt),SP=vj($t),PP=vj(er),kP=vj(lr),vP=vj(ar),FP=vj(sr),wP=vj(or),TP=vj(ir),AP=vj(tr),BP=vj(rr),OP=vj(fr),CP=vj(cr),WP=vj(mr),MP=vj(nr),DP=vj(ur),NP=vj(br),HP=vj(dr),xP=vj(jr),LP=vj(Er),RP=vj(_r),IP=vj(pr),qP=vj(yr),GP=vj(gr),zP=vj(hr),UP=vj(Sr),VP=vj(Pr),KP=vj(kr),QP=vj(vr),JP=vj(Fr),XP=vj(wr),YP=vj(Tr),ZP=vj(Ar),$P=vj(Br),ek=vj(Or),lk=vj(Cr),ak=vj(Wr),sk=vj(Mr),ok=vj(Dr),ik=vj(Nr),tk=vj(Hr),rk=vj(xr),fk=vj(Lr),ck=vj(Rr),mk=vj(Ir),nk=vj(qr),uk=vj(Gr),bk=vj(zr),dk=vj(Ur),jk=vj(Vr),Ek=vj(Kr),_k=vj(Qr),pk=vj(Jr),yk=vj(Xr),gk=vj(Yr),hk=vj(Zr),Sk=vj($r),Pk=vj(ef),kk=vj(lf),vk=vj(af),Fk=vj(sf),wk=vj(of),Tk=vj(tf),Ak=vj(rf),Bk=vj(ff),Ok=vj(cf),Ck=vj(mf),Wk=vj(nf),Mk=vj(uf),Dk=vj(bf),Nk=vj(df),Hk=vj(jf),xk=vj(Ef),Lk=vj(_f),Rk=vj(pf),Ik=vj(yf),qk=vj(gf),Gk=vj(hf),zk=vj(Sf),Uk=vj(Pf),Vk=vj(kf),Kk=vj(vf),Qk=vj(Ff),Jk=vj(wf),Xk=vj(Tf),Yk=vj(Af),Zk=vj(Bf),$k=vj(Of),ev=vj(Cf),lv=vj(Wf),av=vj(Mf),sv=vj(Df),ov=vj(Nf),iv=vj(Hf),tv=vj(xf),rv=vj(Lf),fv=vj(Rf),cv=vj(If),mv=vj(qf),nv=vj(Gf),uv=vj(zf),bv=vj(Uf),dv=vj(Vf),jv=vj(Kf),Ev=vj(Qf),_v=vj(Jf),pv=vj(Xf),yv=vj(Yf),gv=vj(Zf),hv=vj($f),Sv=vj(ec),Pv=vj(lc),kv=vj(ac),vv=vj(sc),Fv=vj(oc),wv=vj(ic),Tv=vj(tc),Av=vj(rc),Bv=vj(fc),Ov=vj(cc),Cv=vj(mc),Wv=vj(nc),Mv=vj(uc),Dv=vj(bc),Nv=vj(dc),Hv=vj(jc),xv=vj(Ec),Lv=vj(_c),Rv=vj(pc),Iv=vj(yc),qv=vj(gc),Gv=vj(hc),zv=vj(Sc),Uv=vj(Pc),Vv=vj(kc),Kv=vj(vc),Qv=vj(Fc),Jv=vj(wc),Xv=vj(Tc),Yv=vj(Ac),Zv=vj(Bc),$v=vj(Oc),eF=vj(Cc),lF=vj(Wc
471),aF=vj(Mc),sF=vj(Dc),oF=vj(Nc),iF=vj(Hc),tF=vj(xc),rF=vj(Lc),fF=vj(Rc),cF=vj(Ic),mF=vj(qc),nF=vj(Gc),uF=vj(zc),bF=vj(Uc),dF=vj(Vc),jF=vj(Kc),EF=vj(Qc),_F=vj(Jc),pF=vj(Xc),yF=vj(Yc),gF=vj(Zc),hF=vj($c),SF=vj(em),PF=vj(lm),kF=vj(am),vF=vj(sm),FF=vj(om),wF=vj(im),TF=vj(tm),AF=vj(rm),BF=vj(fm),OF=vj(cm),CF=vj(mm),WF=vj(nm),MF=vj(um),DF=vj(bm),NF=vj(dm),HF=vj(jm),xF=vj(Em),LF=vj(_m),RF=vj(pm),IF=vj(ym),qF=vj(gm),GF=vj(hm),zF=vj(Sm),UF=vj(Pm),VF=vj(km),KF=vj(vm),QF=vj(Fm),JF=vj(wm),XF=vj(Tm),YF=vj(Am),ZF=vj(Bm),$F=vj(Om),ew=vj(Cm),lw=vj(Wm),aw=vj(Mm),sw=vj(Dm),ow=vj(Nm),iw=vj(Hm),tw=vj(xm),rw=vj(Lm),fw=vj(Rm),cw=vj(Im),mw=vj(qm),nw=vj(Gm),uw=vj(zm),bw=vj(Um),dw=vj(Vm),jw=vj(Km),Ew=vj(Qm),_w=vj(Jm),pw=vj(Xm),yw=vj(Ym),gw=vj(Zm),hw=vj($m),Sw=vj(en),Pw=vj(ln),kw=vj(an),vw=vj(sn),Fw=vj(on),ww=vj(tn),Tw=vj(rn),Aw=vj(fn),Bw=vj(cn),Ow=vj(mn),Cw=vj(nn),Ww=vj(un),Mw=vj(bn),Dw=vj(dn),Nw=vj(jn),Hw=vj(En),xw=vj(_n),Lw=vj(pn),Rw=vj(yn),Iw=vj(gn),qw=vj(hn),Gw=vj(Sn),zw=vj(Pn),Uw=vj(kn),Vw=vj(vn),Kw=vj(Fn),Qw=vj(wn),Jw=vj(Tn),Xw=vj(An),Yw=vj(Bn),Zw=vj(On),$w=vj(Cn),eT=vj(Wn),lT=vj(Mn),aT=vj(Dn),sT=vj(Nn),oT=vj(Hn),iT=vj(xn),tT=vj(Ln),rT=vj(Rn),fT=vj(In),cT=vj(qn),mT=vj(Gn),nT=vj(zn),uT=vj(Un),bT=vj(Vn),dT=vj(Kn),jT=vj(Qn),ET=vj(Jn),_T=vj(Xn),pT=vj(Yn),yT=vj(Zn),gT=vj($n),hT=vj(eu),ST=vj(lu),PT=vj(au),kT=vj(su),vT=vj(ou),FT=vj(iu),wT=vj(tu),TT=vj(ru),AT=vj(fu),BT=vj(cu),OT=vj(mu),CT=vj(nu),WT=vj(uu),MT=vj(bu),DT=vj(du),NT=vj(ju),HT=vj(Eu),xT=vj(_u),LT=vj(pu),RT=vj(yu),IT=vj(gu),qT=vj(hu),GT=vj(Su),zT=vj(Pu),UT=vj(ku),VT=vj(vu),KT=vj(Fu),QT=vj(wu),JT=vj(Tu),XT=vj(Au),YT=vj(Bu),ZT=vj(Ou),$T=vj(Cu),eA=vj(Wu),lA=vj(Mu),aA=vj(Du),sA=vj(Nu),oA=vj(Hu),iA=vj(xu),tA=vj(Lu),rA=vj(Ru),fA=vj(Iu),cA=vj(qu),mA=vj(Gu),nA=vj(zu),uA=vj(Uu),bA=vj(Vu),dA=vj(Ku),jA=vj(Qu),EA=vj(Ju),_A=vj(Xu),pA=vj(Yu),yA=vj(Zu),gA=vj($u),hA=vj(eb),SA=vj(lb),PA=vj(ab),kA=vj(sb),vA=vj(ob),FA=vj(ib),wA=vj(tb),TA=vj(rb),AA=vj(fb),BA=vj(cb),OA=vj(mb),CA=vj(nb),WA=vj(ub),MA=vj(bb),DA=vj(db),NA=vj(jb),HA=vj(Eb),xA=vj(_b),LA=vj(pb),RA=vj(yb),IA=vj(gb),qA=vj(hb),GA=vj(Sb),zA=vj(Pb),UA=vj(kb),VA=vj(vb),KA=vj(Fb),QA=vj(wb),JA=vj(Tb),XA=vj(Ab),YA=vj(Bb),ZA=vj(Ob),$A=vj(Cb),eB=vj(Wb),lB=vj(Mb),aB=vj(Db),sB=vj(Nb),oB=vj(Hb),iB=vj(xb),tB=vj(Lb),rB=vj(Rb),fB=vj(Ib),cB=vj(qb),mB=vj(Gb),nB=vj(zb),uB=vj(Ub),bB=vj(Vb),dB=vj(Kb),jB=vj(Qb),EB=vj(Jb),_B=vj(Xb),pB=vj(Yb),yB=vj(Zb),gB=vj($b),hB=vj(ed),SB=vj(ld),PB=vj(ad),kB=vj(sd),vB=vj(od),FB=vj(id),wB=vj(td),TB=vj(rd),AB=vj(fd),BB=vj(cd),OB=vj(md),CB=vj(nd),WB=vj(ud),MB=vj(bd),DB=vj(dd),NB=vj(jd),HB=vj(Ed),xB=vj(_d),LB=vj(pd),RB=vj(yd),IB=vj(gd),qB=vj(hd),GB=vj(Sd),zB=vj(Pd),UB=vj(kd),VB=vj(vd),KB=vj(Fd),QB=vj(wd),JB=vj(Td),XB=vj(Ad),YB=vj(Bd),ZB=vj(Od),$B=vj(Cd),eO=vj(Wd),lO=vj(Md),aO=vj(Dd),sO=vj(Nd),oO=vj(Hd),iO=vj(xd),tO=vj(Ld),rO=vj(Rd),fO=vj(Id),cO=vj(qd),mO=vj(Gd),nO=vj(zd),uO=vj(Ud),bO=vj(Vd),dO=vj(Kd),jO=vj(Qd),EO=vj(Jd),_O=vj(Xd),pO=vj(Yd),yO=vj(Zd),gO=vj($d),hO=vj(ej),SO=vj(lj),PO=vj(aj),kO=vj(sj),vO=vj(oj),FO=vj(ij),wO=vj(tj),TO=vj(rj),AO=vj(fj),BO=vj(cj),OO=vj(mj),CO=vj(nj),WO=vj(uj),MO=vj(bj),DO=vj(dj),NO=vj(jj),HO=vj(Ej),xO=vj(_j),LO=vj(pj),RO=vj(yj),IO=vj(gj),qO=vj(hj),GO=vj(Sj),zO=vj(Pj),UO=vj(kj),VO={smileysPeopleCategory:Fj.default,grinningFace:wj.default,grinningFaceWithSmilingEyes:Tj.default,faceWithTearsOfJoy:Aj.default,smilingFaceWithOpenMouth:Bj.default,smilingFaceWithOpenMouthSmilingEyes:Oj.default,smilingFaceWithOpenMouthColdSweat:Cj.default,smilingFaceWithOpenMouthClosedEyes:Wj.default,winkingFace:Mj.default,smilingFaceWithSmilingEyes:Dj.default,faceSavoringDeliciousFood:Nj.default,smilingFaceWithSunglasses:Hj.default,smilingFaceWithHeartEyes:xj.default,faceBlowingAKiss:Lj.default,kissingFace:Rj.default,kissingFaceWithSmilingEyes:Ij.default,kissingFaceWithClosedEyes:qj.default,slightlySmilingFace:Gj.default,neutralFace:zj.default,expressionlessFace:Uj.default,faceWithoutMouth:Vj.default,smirkingFace:Kj.default,perseveringFace:Qj.default,disappointedButRelievedFace:Jj.default,faceWithOpenMouth:Xj.default,hushedFace:Yj.default,sleepyFace:Zj.default,tiredFace:$j.default,sleepingFace:eE.default,relievedFace:lE.default,faceWithStuckOutTongue:aE.default,faceWithStuckOutTongueWinkingEye:sE.default,faceWithStuckOutTongueClosedEyes:oE.default,unamusedFace:iE.default,faceWithColdSweat:tE.default,pensiveFace:rE.default,confusedFace:fE.default,astonishedFace:cE.default,confoundedFace:mE.default,disappointedFace:nE.default,worriedFace:uE.default,faceWithSteamFromNose:bE.default,cryingFace:dE.default,loudlyCryingFace:jE.default,frowningFaceWithOpenMouth:EE.default,anguishedFace:_E.default,fearfulFace:pE.default,wearyFace:yE.default,grimacingFace:gE.default,faceWithOpenMouthColdSweat:hE.default,faceScreamingInFear:SE.default,flushedFace:PE.default,dizzyFace:kE.default,poutingFace:vE.default,angryFace:FE.default,smilingFaceWithHalo:wE.default,faceWithMedicalMask:TE.default,smilingFaceWithHorns:AE.default,angryFaceWithHorns:BE.default,ogre:OE.default,goblin:CE.default,skull:WE.default,ghost:ME.default,alien:DE.default,alienMonster:NE.default,pileOfPoo:HE.default,smilingCatFaceWithOpenMouth:xE.default,grinningCatFaceWithSmilingEyes:LE.default,catFaceWithTearsOfJoy:RE.default,smilingCatFaceWithHeartEyes:IE.default,catFaceWithWrySmile:qE.default,kissingCatFaceWithClosedEyes:GE.default,wearyCatFace:zE.default,cryingCatFace:UE.default,poutingCatFace:VE.default,seeNoEvilMonkey:KE.default,hearNoEvilMonkey:QE.default,speakNoEvilMonkey:JE.default,boy:XE.default,girl:YE.default,man:ZE.default,woman:$E.default,oldMan:e_.default,oldWoman:l_.default,baby:a_.default,babyAngel:s_.default,policeOfficer:o_.default,guard:i_.default,constructionWorker:t_.default,personWearingTurban:r_.default,blondHairedPerson:f_.default,santaClaus:c_.default,princess:m_.default,brideWithVeil:n_.default,manWithChineseCap:u_.default,personFrowning:b_.default,personPouting:d_.default,personGesturingNo:j_.default,personGesturingOk:E_.default,personTippingHand:__.default,personRaisingHand:p_.default,personBowing:y_.default,personGettingMassage:g_.default,personGettingHaircut:h_.default,personWalking:S_.default,personRunning:P_.default,womanDancing:k_.default,peopleWithBunnyEarsPartying:v_.default,bustInSilhouette:F_.default,bustsInSilhouette:w_.default,horseRacing:T_.default,snowboarder:A_.default,personSurfing:B_.default,personRowingBoat:O_.default,personSwimming:C_.default,personBiking:W_.default,personMountainBiking:M_.default,manAndWomanHoldingHands:D_.default,twoMenHoldingHands:N_.default,twoWomenHoldingHands:H_.default,kiss:x_.default,coupleWithHeart:L_.default,family:R_.default,flexedBiceps:I_.default,backhandIndexPointingLeft:q_.default,backhandIndexPointingRight:G_.default,indexPointingUp:z_.default,backhandIndexPointingUp:U_.default,backhandIndexPointingDown:V_.default,victoryHand:K_.default,raisedHand:Q_.default,okHand:J_.default,thumbsUp:X_.default,thumbsDown:Y_.default,raisedFist:Z_.default,oncomingFist:$_.default,wavingHand:ep.default,clappingHands:lp.default,openHands:ap.default,raisingHands:sp.default,foldedHands:op.default,nailPolish:ip.default,ear:tp.default,nose:rp.default,footprints:fp.default,eyes:cp.default,tongue:mp.default,mouth:np.default,kissMark:up.default,heartWithArrow:bp.default,redHeart:dp.default,beatingHeart:jp.default,brokenHeart:Ep.default,twoHearts:_p.default,sparklingHeart:pp.default,growingHeart:yp.default,blueHeart:gp.default,greenHeart:hp.default,yellowHeart:Sp.default,purpleHeart:Pp.default,heartWithRibbon:kp.default,revolvingHearts:vp.default,heartDecoration:Fp.default,loveLetter:wp.default,zzz:Tp.default,angerSymbol
471:Ap.default,bomb:Bp.default,collision:Op.default,sweatDroplets:Cp.default,dashingAway:Wp.default,dizzy:Mp.default,speechBalloon:Dp.default,thoughtBalloon:Np.default,glasses:Hp.default,necktie:xp.default,tShirt:Lp.default,jeans:Rp.default,dress:Ip.default,kimono:qp.default,bikini:Gp.default,womansClothes:zp.default,purse:Up.default,handbag:Vp.default,clutchBag:Kp.default,schoolBackpack:Qp.default,mansShoe:Jp.default,runningShoe:Xp.default,highHeeledShoe:Yp.default,womansBoot:Zp.default,womansSandal:$p.default,crown:ey.default,womansHat:ly.default,topHat:ay.default,graduationCap:sy.default,lipstick:oy.default,ring:iy.default,gemStone:ty.default},KO={animalsNatureCategory:ry.default,monkeyFace:fy.default,monkey:cy.default,dogFace:my.default,dog:ny.default,poodle:uy.default,wolfFace:by.default,catFace:dy.default,cat:jy.default,tigerFace:Ey.default,tiger:_y.default,leopard:py.default,horseFace:yy.default,horse:gy.default,cowFace:hy.default,ox:Sy.default,waterBuffalo:Py.default,cow:ky.default,pigFace:vy.default,pig:Fy.default,boar:wy.default,pigNose:Ty.default,ram:Ay.default,sheep:By.default,goat:Oy.default,camel:Cy.default,twoHumpCamel:Wy.default,elephant:My.default,mouseFace:Dy.default,mouse:Ny.default,rat:Hy.default,hamsterFace:xy.default,rabbitFace:Ly.default,rabbit:Ry.default,bearFace:Iy.default,koala:qy.default,pandaFace:Gy.default,pawPrints:zy.default,chicken:Uy.default,rooster:Vy.default,hatchingChick:Ky.default,babyChick:Qy.default,frontFacingBabyChick:Jy.default,bird:Xy.default,penguin:Yy.default,frogFace:Zy.default,crocodile:$y.default,turtle:eg.default,snake:lg.default,dragonFace:ag.default,dragon:sg.default,spoutingWhale:og.default,whale:ig.default,dolphin:tg.default,fish:rg.default,tropicalFish:fg.default,blowfish:cg.default,octopus:mg.default,spiralShell:ng.default,snail:ug.default,bug:bg.default,ant:dg.default,honeybee:jg.default,ladyBeetle:Eg.default,bouquet:_g.default,cherryBlossom:pg.default,whiteFlower:yg.default,rose:gg.default,hibiscus:hg.default,sunflower:Sg.default,blossom:Pg.default,tulip:kg.default,seedling:vg.default,evergreenTree:Fg.default,deciduousTree:wg.default,palmTree:Tg.default,cactus:Ag.default,sheafOfRice:Bg.default,herb:Og.default,fourLeafClover:Cg.default,mapleLeaf:Wg.default,fallenLeaf:Mg.default,leafFlutteringInWind:Dg.default},QO={foodDrinkCategory:Ng.default,grapes:Hg.default,melon:xg.default,watermelon:Lg.default,tangerine:Rg.default,lemon:Ig.default,banana:qg.default,pineapple:Gg.default,redApple:zg.default,greenApple:Ug.default,pear:Vg.default,peach:Kg.default,cherries:Qg.default,strawberry:Jg.default,tomato:Xg.default,eggplant:Yg.default,earOfCorn:Zg.default,mushroom:$g.default,chestnut:eh.default,bread:lh.default,meatOnBone:ah.default,poultryLeg:sh.default,hamburger:oh.default,frenchFries:ih.default,pizza:th.default,cooking:rh.default,potOfFood:fh.default,bentoBox:ch.default,riceCracker:mh.default,riceBall:nh.default,cookedRice:uh.default,curryRice:bh.default,steamingBowl:dh.default,spaghetti:jh.default,roastedSweetPotato:Eh.default,oden:_h.default,sushi:ph.default,friedShrimp:yh.default,fishCakeWithSwirl:gh.default,dango:hh.default,softIceCream:Sh.default,shavedIce:Ph.default,iceCream:kh.default,doughnut:vh.default,cookie:Fh.default,birthdayCake:wh.default,shortcake:Th.default,chocolateBar:Ah.default,candy:Bh.default,lollipop:Oh.default,custard:Ch.default,honeyPot:Wh.default,babyBottle:Mh.default,hotBeverage:Dh.default,teacupWithoutHandle:Nh.default,sake:Hh.default,wineGlass:xh.default,cocktailGlass:Lh.default,tropicalDrink:Rh.default,beerMug:Ih.default,clinkingBeerMugs:qh.default,forkAndKnife:Gh.default,kitchenKnife:zh.default},JO={travelPlacesCategory:Uh.default,globeShowingEuropeAfrica:Vh.default,globeShowingAmericas:Kh.default,globeShowingAsiaAustralia:Qh.default,globeWithMeridians:Jh.default,mapOfJapan:Xh.default,volcano:Yh.default,mountFuji:Zh.default,house:$h.default,houseWithGarden:eS.default,officeBuilding:lS.default,japanesePostOffice:aS.default,postOffice:sS.default,hospital:oS.default,bank:iS.default,hotel:tS.default,loveHotel:rS.default,convenienceStore:fS.default,sc
471hool:cS.default,departmentStore:mS.default,factory:nS.default,japaneseCastle:uS.default,castle:bS.default,wedding:dS.default,tokyoTower:jS.default,statueOfLiberty:ES.default,church:_S.default,fountain:pS.default,tent:yS.default,foggy:gS.default,nightWithStars:hS.default,sunriseOverMountains:SS.default,sunrise:PS.default,cityscapeAtDusk:kS.default,sunset:vS.default,bridgeAtNight:FS.default,hotSprings:wS.default,milkyWay:TS.default,carouselHorse:AS.default,ferrisWheel:BS.default,rollerCoaster:OS.default,barberPole:CS.default,circusTent:WS.default,performingArts:MS.default,artistPalette:DS.default,slotMachine:NS.default,locomotive:HS.default,railwayCar:xS.default,highSpeedTrain:LS.default,highSpeedTrainWithBulletNose:RS.default,train:IS.default,metro:qS.default,lightRail:GS.default,station:zS.default,tram:US.default,monorail:VS.default,mountainRailway:KS.default,tramCar:QS.default,bus:JS.default,oncomingBus:XS.default,trolleybus:YS.default,minibus:ZS.default,ambulance:$S.default,fireEngine:eP.default,policeCar:lP.default,oncomingPoliceCar:aP.default,taxi:sP.default,oncomingTaxi:oP.default,automobile:iP.default,oncomingAutomobile:tP.default,sportUtilityVehicle:rP.default,deliveryTruck:fP.default,articulatedLorry:cP.default,tractor:mP.default,bicycle:nP.default,busStop:uP.default,fuelPump:bP.default,policeCarLight:dP.default,horizontalTrafficLight:jP.default,verticalTrafficLight:EP.default,construction:_P.default,anchor:pP.default,sailboat:yP.default,speedboat:gP.default,ship:hP.default,airplane:SP.default,seat:PP.default,helicopter:kP.default,suspensionRailway:vP.default,mountainCableway:FP.default,aerialTramway:wP.default,rocket:TP.default,door:AP.default,toilet:BP.default,shower:OP.default,personTakingBath:CP.default,bathtub:WP.default,hourglass:MP.default,hourglassWithFlowingSand:DP.default,watch:NP.default,alarmClock:HP.default,twelveOClock:xP.default,twelveThirty:LP.default,oneOClock:RP.default,oneThirty:IP.default,twoOClock:qP.default,twoThirty:GP.default,threeOClock:zP.default,threeThirty:UP.default,fourOClock:VP.default,fourThirty:KP.default,fiveOClock:QP.default,fiveThirty:JP.default,sixOClock:XP.default,sixThirty:YP.default,sevenOClock:ZP.default,sevenThirty:$P.default,eightOClock:ek.default,eightThirty:lk.default,nineOClock:ak.default,nineThirty:sk.default,tenOClock:ok.default,tenThirty:ik.default,elevenOClock:tk.default,elevenThirty:rk.default,newMoon:fk.default,waxingCrescentMoon:ck.default,firstQuarterMoon:mk.default,waxingGibbousMoon:nk.default,fullMoon:uk.default,waningGibbousMoon:bk.default,lastQuarterMoon:dk.default,waningCrescentMoon:jk.default,crescentMoon:Ek.default,newMoonFace:_k.default,firstQuarterMoonWithFace:pk.default,lastQuarterMoonWithFace:yk.default,sun:gk.default,fullMoonWithFace:hk.default,sunWithFace:Sk.default,whiteMediumStar:Pk.default,glowingStar:kk.default,shootingStar:vk.default,cloud:Fk.default,sunBehindCloud:wk.default,cyclone:Tk.default,rainbow:Ak.default,closedUmbrella:Bk.default,umbrellaWithRainDrops:Ok.default,highVoltage:Ck.default,snowflake:Wk.default,snowmanWithoutSnow:Mk.default,fire:Dk.default,droplet:Nk.default,waterWave:Hk.default},XO={activitiesCategory:xk.default,jackOLantern:Lk.default,christmasTree:Rk.default,fireworks:Ik.default,sparkler:qk.default,sparkles:Gk.default,balloon:zk.default,partyPopper:Uk.default,confettiBall:Vk.default,tanabataTree:Kk.default,pineDecoration:Qk.default,japaneseDolls:Jk.default,carpStreamer:Xk.default,windChime:Yk.default,moonViewingCeremony:Zk.default,ribbon:$k.default,wrappedGift:ev.default,ticket:lv.default,trophy:av.default,soccerBall:sv.default,baseball:ov.default,basketball:iv.default,americanFootball:tv.default,rugbyFootball:rv.default,tennis:fv.default,pool8Ball:cv.default,bowling:mv.default,directHit:nv.default,flagInHole:uv.default,fishingPole:bv.default,runningShirt:dv.default,skis:jv.default,videoGame:Ev.default,gameDie:_v.default,spadeSuit:pv.default,heartSuit:yv.default,diamondSuit:gv.default,clubSuit:hv.default,joker:Sv.default,mahjongRedDragon:Pv.default,flowerPlayingCards:kv.default},YO={objectsCategory:vv.default,mutedSpeaker:Fv.default,speakerLowVolume:wv.default,speakerMediumVolume:Tv.default,speakerHighVolume:Av.default,loudspeaker:Bv.default,megaphone:Ov.default,postalHorn:Cv.default,bell:Wv.default,bellWithSlash:Mv.default,musicalScore:Dv.default,musicalNote:Nv.default,musicalNotes:Hv.default,microphone:xv.default,headphone:Lv.default,radio:Rv.default,saxophone:Iv.default,guitar:qv.default,musicalKeyboard:Gv.default,trumpet:zv.default,violin:Uv.default,mobilePhone:Vv.default,mobilePhoneWithArrow:Kv.default,telephone:Qv.default,telephoneReceiver:Jv.default,pager:Xv.default,faxMachine:Yv.default,battery:Zv.default,electricPlug:$v.default,laptopComputer:eF.default,computerDisk:lF.default,floppyDisk:aF.default,opticalDisk:sF.default,dvd:oF.default,movieCamera:iF.default,clapperBoard:tF.default,television:rF.default,camera:fF.default,videoCamera:cF.default,videocassette:mF.default,leftPointingMagnifyingGlass:nF.default,rightPointingMagnifyingGlass:uF.default,microscope:bF.default,telescope:dF.default,satelliteAntenna:jF.default,lightBulb:EF.default,flashlight:_F.default,redPaperLantern:pF.default,notebookWithDecorativeCover:yF.default,closedBook:gF.default,openBook:hF.default,greenBook:SF.default,blueBook:PF.default,orangeBook:kF.default,books:vF.default,notebook:FF.default,ledger:wF.default,pageWithCurl:TF.default,scroll:AF.default,pageFacingUp:BF.default,newspaper:OF.default,bookmarkTabs:CF.default,bookmark:WF.default,moneyBag:MF.default,yenBanknote:DF.default,dollarBanknote:NF.default,euroBanknote:HF.default,poundBanknote:xF.default,moneyWithWings:LF.default,creditCard:RF.default,chartIncreasingWithYen:IF.default,currencyExchange:qF.default,heavyDollarSign:GF.default,envelope:zF.default,eMail:UF.default,incomingEnvelope:VF.default,envelopeWithArrow:KF.default,outboxTray:QF.default,inboxTray:JF.default,mailPackage:XF.default,closedMailboxWithRaisedFlag:YF.default,closedMailboxWithLoweredFlag:ZF.default,openMailboxWithRaisedFlag:$F.default,openMailboxWithLoweredFlag:ew.default,postbox:lw.default,pencil:aw.default,blackNib:sw.default,memo:ow.default,briefcase:iw.default,fileFolder:tw.default,openFileFolder:rw.default,calendar:fw.default,tearOffCalendar:cw.default,cardIndex:mw.default,chartIncreasing:nw.default,chartDecreasing:uw.default,barChart:bw.default,clipboard:dw.default,pushpin:jw.default,roundPushpin:Ew.default,paperclip:_w.default,straightRuler:pw.default,triangularRuler:yw.default,scissors:gw.default,locked:hw.default,unlocked:Sw.default,lockedWithPen:Pw.default,lockedWithKey:kw.default,key:vw.default,hammer
471:Fw.default,pistol:ww.default,wrench:Tw.default,nutAndBolt:Aw.default,link:Bw.default,syringe:Ow.default,pill:Cw.default,cigarette:Ww.default,moai:Mw.default,crystalBall:Dw.default},ZO={symbolsCategory:Nw.default,atmSign:Hw.default,litterInBinSign:xw.default,potableWater:Lw.default,wheelchairSymbol:Rw.default,mensRoom:Iw.default,womensRoom:qw.default,restroom:Gw.default,babySymbol:zw.default,waterCloset:Uw.default,passportControl:Vw.default,customs:Kw.default,baggageClaim:Qw.default,leftLuggage:Jw.default,warning:Xw.default,childrenCrossing:Yw.default,noEntry:Zw.default,prohibited:$w.default,noBicycles:eT.default,noSmoking:lT.default,noLittering:aT.default,nonPotableWater:sT.default,noPedestrians:oT.default,noMobilePhones:iT.default,noOneUnderEighteen:tT.default,upArrow:rT.default,upRightArrow:fT.default,rightArrow:cT.default,downRightArrow:mT.default,downArrow:nT.default,downLeftArrow:uT.default,leftArrow:bT.default,upLeftArrow:dT.default,upDownArrow:jT.default,leftRightArrow:ET.default,rightArrowCurvingLeft:_T.default,leftArrowCurvingRight:pT.default,rightArrowCurvingUp:yT.default,rightArrowCurvingDown:gT.default,clockwiseVerticalArrows:hT.default,anticlockwiseArrowsButton:ST.default,backArrow:PT.default,endArrow:kT.default,onArrow:vT.default,soonArrow:FT.default,topArrow:wT.default,dottedSixPointedStar:TT.default,aries:AT.default,taurus:BT.default,gemini:OT.default,cancer:CT.default,leo:WT.default,virgo:MT.default,libra:DT.default,scorpio:NT.default,sagittarius:HT.default,capricorn:xT.default,aquarius:LT.default,pisces:RT.default,ophiuchus:IT.default,shuffleTracksButton:qT.default,repeatButton:GT.default,repeatSingleButton:zT.default,playButton:UT.default,fastForwardButton:VT.default,reverseButton:KT.default,fastReverseButton:QT.default,fastUpButton:JT.default,downButton:XT.default,fastDownButton:YT.default,cinema:ZT.default,dimButton:$T.default,brightButton:eA.default,antennaBars:lA.default,vibrationMode:aA.default,mobilePhoneOff:sA.default,recyclingSymbol:oA.default,nameBadge:iA.default,japaneseSymbolForBeginner:tA.default,tridentEmblem:rA.default,heavyLargeCircle:fA.default,whiteHeavyCheckMark:cA.default,ballotBoxWithCheck:mA.default,heavyCheckMark:nA.default,heavyMultiplicationX:uA.default,crossMark:bA.default,crossMarkButton:dA.default,heavyPlusSign:jA.default,heavyMinusSign:EA.default,heavyDivisionSign:_A.default,curlyLoop:pA.default,doubleCurlyLoop:yA.default,partAlternationMark:gA.default,eightSpokedAsterisk:hA.default,eightPointedStar:SA.default,sparkle:PA.default,doubleExclamationMark:kA.default,exclamationQuestionMark:vA.default,questionMark:FA.default,whiteQuestionMark:wA.default,whiteExclamationMark:TA.default,exclamationMark:AA.default,wavyDash:BA.default,copyright:OA.default,registered:CA.default,tradeMark:WA.default,keycap:MA.default,keycap0:DA.default,keycap1:NA.default,keycap2:HA.default,keycap3:xA.default,keycap4:LA.default,keycap5:RA.default,keycap6:IA.default,keycap7:qA.default,keycap8:GA.default,keycap9:zA.default,keycap10:UA.default,hundredPoints:VA.default,inputLatinUppercase:KA.default,inputLatinLowercase:QA.default,inputNumbers:JA.default,inputSymbols:XA.default,inputLatinLetters:YA.default,aButtonBloodType:ZA.default,abButtonBloodType:$A.default,bButtonBloodType:eB.default,clButton:lB.default,coolButton:aB.default,freeButton:sB.default,information:oB.default,idButton:iB.default,circledM:tB.default,newButton:rB.default,ngButton:fB.default,oButtonBloodType:cB.default,okButton:mB.default,pButton:nB.default,sosButton:uB.default,upButton:bB.default,vsButton:dB.default,japaneseHereButton:jB.default,japaneseServiceChargeButton:EB.default,japaneseMonthlyAmountButton:_B.default,japaneseNotFreeOfChargeButton:pB.default,japaneseReservedButton:yB.default,japaneseBargainButton:gB.default,japaneseDiscountButton:hB.default,japaneseFreeOfChargeButton:SB.default,japaneseProhibitedButton:PB.default,japaneseAcceptableButton:kB.default,japaneseApplicationButton:vB.default,japanesePassingGradeButton:FB.default,japaneseVacancyButton:wB.default,japaneseCongratulationsButton:TB.default,japaneseSecretButton:AB.default,japaneseOpenForBusinessButton:BB.default,japaneseNoVacancyButton:OB.default,blackSmallSquare:CB.default,whiteSmallSquare:WB.default,whiteMediumSquare:MB.default,blackMediumSquare:DB.default,whiteMediumSmallSquare:NB.default,blackMediumSmallSquare:HB.default,blackLargeSquare:xB.default,whiteLargeSquare:LB.default,largeOrangeDiamond:RB.default,largeBlueDiamond:IB.default,smallOrangeDiamond:qB.default,smallBlueDiamond:GB.default,redTrianglePointedUp:zB.default,redTrianglePointedDown:UB.default,diamondWithADot:VB.default,radioButton:KB.default,blackSquareButton:QB.default,whiteSquareButton:JB.default,whiteCircle:XB.default,blackCircle:YB.default,redCircle:Z
471B.default,blueCircle:$B.default},$O={flagsCategory:eO.default,chequeredFlag:lO.default,triangularFlag:aO.default,crossedFlags:sO.default,unitedArabEmirates:oO.default,austria:iO.default,australia:tO.default,belgium:rO.default,brazil:fO.default,canada:cO.default,switzerland:mO.default,chile:nO.default,china:uO.default,colombia:bO.default,germany:dO.default,denmark:jO.default,spain:EO.default,finland:_O.default,france:pO.default,unitedKingdom:yO.default,hongKongSarChina:gO.default,indonesia:hO.default,ireland:SO.default,israel:PO.default,india:kO.default,italy:vO.default,japan:FO.default,southKorea:wO.default,macauSarChina:TO.default,mexico:AO.default,malaysia:BO.default,netherlands:OO.default,norway:CO.default,newZealand:WO.default,philippines:MO.default,poland:DO.default,puertoRico:NO.default,portugal:HO.default,russia:xO.default,saudiArabia:LO.default,sweden:RO.default,singapore:IO.default,turkey:qO.default,unitedStates:GO.default,vietnam:zO.default,southAfrica:UO.default};const eC=Object.assign({},VO,KO,QO,JO,XO,YO,ZO,$O),lC=l.registerComponent(eC,{tmpl:void 0,sel:"embeddedMessaging-emoji-labels",apiVersion:66,enableSyntheticElementInternals:!0});e.default=lC,Object.defineProperty(e,"__esModule",{value:!0})});
472})();LWR.define('embeddedmessaging/emojiLabels', ['embeddedMessaging/emojiLabels'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiLibrary",["exports","lwc","embeddedMessaging/emojiLabels"],function(i,s,n){function e(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}const d=e(n).default,p=[(i=>({name:"smileys-people",displayName:i.smileysPeopleCategory,icon:"utility:smiley_and_people",emojis:[{display:"😀",description:i.grinningFace},{display:"😁",description:i.grinningFaceWithSmilingEyes},{display:"😂",description:i.faceWithTearsOfJoy},{display:"😃",description:i.smilingFaceWithOpenMouth},{display:"😄",description:i.smilingFaceWithOpenMouthSmilingEyes},{display:"😅",description:i.smilingFaceWithOpenMouthColdSweat},{display:"😆",description:i.smilingFaceWithOpenMouthClosedEyes},{display:"😉",description:i.winkingFace},{display:"😊",description:i.smilingFaceWithSmilingEyes},{display:"😋",description:i.faceSavoringDeliciousFood},{display:"😎",description:i.smilingFaceWithSunglasses},{display:"😍",description:i.smilingFaceWithHeartEyes},{display:"😘",description:i.faceBlowingAKiss},{display:"😗",description:i.kissingFace},{display:"😙",description:i.kissingFaceWithSmilingEyes},{display:"😚",description:i.kissingFaceWithClosedEyes},{display:"🙂",description:i.slightlySmilingFace},{display:"😐",description:i.neutralFace},{display:"😑",description:i.expressionlessFace},{display:"😶",description:i.faceWithoutMouth},{display:"😏",description:i.smirkingFace},{display:"😣",description:i.perseveringFace},{display:"😥",description:i.disappointedButRelievedFace},{display:"😮",description:i.faceWithOpenMouth},{display:"😯",description:i.hushedFace},{display:"😪",description:i.sleepyFace},{display:"😫",description:i.tiredFace},{display:"😴",description:i.sleepingFace},{display:"😌",description:i.relievedFace},{display:"😛",description:i.faceWithStuckOutTongue},{display:"😜",description:i.faceWithStuckOutTongueWinkingEye},{display:"😝",description:i.faceWithStuckOutTongueClosedEyes},{display:"😒",description:i.unamusedFace},{display:"😓",description:i.faceWithColdSweat},{display:"😔",description:i.pensiveFace},{display:"😕",description:i.confusedFace},{display:"😲",description:i.astonishedFace},{display:"😖",description:i.confoundedFace},{display:"😞",description:i.disappointedFace},{display:"😟",description:i.worriedFace},{display:"😤",description:i.faceWithSteamFromNose},{display:"😢",description:i.cryingFace},{display:"😭",description:i.loudlyCryingFace},{display:"😦",description:i.frowningFaceWithOpenMouth},{display:"😧",description:i.anguishedFace},{display:"😨",description:i.fearfulFace},{display:"😩",description:i.wearyFace},{display:"😬",description:i.grimacingFace},{display:"😰",description:i.faceWithOpenMouthColdSweat},{display:"😱",description:i.faceScreamingInFear},{display:"😳",description:i.flushedFace},{display:"😵",description:i.dizzyFace},{display:"😡",description:i.poutingFace},{display:"😠",description:i.angryFace},{display:"😇",description:i.smilingFaceWithHalo},{display:"😷",description:i.faceWithMedicalMask},{display:"😈",description:i.smilingFaceWithHorns},{display:"👿",description:i.angryFaceWithHorns},{display:"👹",description:i.ogre},{display:"👺",description:i.goblin},{display:"💀",description:i.skull},{display:"👻",description:i.ghost},{display:"👽",description:i.alien},{display:"👾",description:i.alienMonster},{display:"💩",description:i.pileOfPoo},{display:"😺",description:i.smilingCatFaceWithOpenMouth},{display:"😸",description:i.grinningCatFaceWithSmilingEyes},{display:"😹",description:i.catFaceWithTearsOfJoy},{display:"😻",description:i.smilingCatFaceWithHeartEyes},{display:"😼",description:i.catFaceWithWrySmile},{display:"😽",description:i.kissingCatFaceWithClosedEyes},{display:"🙀",description:i.wearyCatFace}
472,{display:"😿",description:i.cryingCatFace},{display:"😾",description:i.poutingCatFace},{display:"🙈",description:i.seeNoEvilMonkey},{display:"🙉",description:i.hearNoEvilMonkey},{display:"🙊",description:i.speakNoEvilMonkey},{display:"👦",description:i.boy,options:[{display:"👦🏻",description:"boyLightSkinTone"},{display:"👦🏼",description:"boyMediumLightSkinTone"},{display:"👦🏽",description:"boyMediumSkinTone"},{display:"👦🏾",description:"boyMediumDarkSkinTone"},{display:"👦🏿",description:"boyDarkSkinTone"}]},{display:"👧",description:i.girl,options:[{display:"👧🏻",description:"girlLightSkinTone"},{display:"👧🏼",description:"girlMediumLightSkinTone"},{display:"👧🏽",description:"girlMediumSkinTone"},{display:"👧🏾",description:"girlMediumDarkSkinTone"},{display:"👧🏿",description:"girlDarkSkinTone"}]},{display:"👨",description:i.man,options:[{display:"👨🏻",description:"manLightSkinTone"},{display:"👨🏼",description:"manMediumLightSkinTone"},{display:"👨🏽",description:"manMediumSkinTone"},{display:"👨🏾",description:"manMediumDarkSkinTone"},{display:"👨🏿",description:"manDarkSkinTone"}]},{display:"👩",description:i.woman,options:[{display:"👩🏻",description:"womanLightSkinTone"},{display:"👩🏼",description:"womanMediumLightSkinTone"},{display:"👩🏽",description:"womanMediumSkinTone"},{display:"👩🏾",description:"womanMediumDarkSkinTone"},{display:"👩🏿",description:"womanDarkSkinTone"}]},{display:"👴",description:i.oldMan,options:[{display:"👴🏻",description:"oldManLightSkinTone"},{display:"👴🏼",description:"oldManMediumLightSkinTone"},{display:"👴🏽",description:"oldManMediumSkinTone"},{display:"👴🏾",description:"oldManMediumDarkSkinTone"},{display:"👴🏿",description:"oldManDarkSkinTone"}]},{display:"👵",description:i.oldWoman,options:[{display:"👵🏻",description:"oldWomanLightSkinTone"},{display:"👵🏼",description:"oldWomanMediumLightSkinTone"},{display:"👵🏽",description:"oldWomanMediumSkinTone"},{display:"👵🏾",description:"oldWomanMediumDarkSkinTone"},{display:"👵🏿",description:"oldWomanDarkSkinTone"}]},{display:"👶",description:i.baby,options:[{display:"👶🏻",description:"babyLightSkinTone"},{display:"👶🏼",description:"babyMediumLightSkinTone"},{display:"👶🏽",description:"babyMediumSkinTone"},{display:"👶🏾",description:"babyMediumDarkSkinTone"},{display:"👶🏿",description:"babyDarkSkinTone"}]},{display:"👼",description:i.babyAngel,options:[{display:"👼🏻",description:"babyAngelLightSkinTone"},{display:"👼🏼",description:"babyAngelMediumLightSkinTone"},{display:"👼🏽",description:"babyAngelMediumSkinTone"},{display:"👼🏾",description:"babyAngelMediumDarkSkinTone"},{display:"👼🏿",description:"babyAngelDarkSkinTone"}]},{display:"👮",description:i.policeOfficer,options:[{display:"👮🏻",description:"policeOfficerLightSkinTone"},{display:"👮🏼",description:"policeOfficerMediumLightSkinTone"},{display:"👮🏽",description:"policeOfficerMediumSkinTone"},{display:"👮🏾",description:"policeOfficerMediumDarkSkinTone"},{display:"👮🏿",description:"policeOfficerDarkSkinTone"}]},{display:"💂",description:i.guard,options:[{display:"💂🏻",description:"guardLightSkinTone"},{display:"💂🏼",description:"guardMediumLightSkinTone"},{display:"💂🏽",description:"guardMediumSkinTone"},{display:"💂🏾",description:"guardMediumDarkSkinTone"},{display:"💂🏿",description:"guardDarkSkinTone"}]},{display:"👷",description:i.constructionWorker,options:[{display:"👷🏻",description:"constructionWorkerLightSkinTone"},{display:"👷🏼",description:"constructionWorkerMediumLightSkinTone"},{display:"👷🏽",description:"constructionWorkerMediumSkinTone"},{display:"👷🏾",description:"constructionWorkerMediumDarkSkinTone"},{display:"👷🏿",description:"constructionWorkerDarkSkinTone"}]},{display:"👳",description:i.personWearingTurban,options:[{display:"👳🏻",description:"personWearingTurbanLightSkinTone"},{display:"👳🏼",description:"personWearingTurbanMediumLightSkinTone"},{display:"👳🏽",description:"personWearingTurbanMediumSkinTone"},{display:"👳🏾",description:"personWearingTurbanMediumDarkSkinTone"},{display:"👳🏿",description:"personWearingTurbanDarkSkinTone"}]},{display:"👱",description:i.blondHairedPerson,options:[{display:"👱🏻",description:"blondHairedPersonLightSkinTone"},{display:"👱🏼",description:"blondHairedPersonMediumLightSkinTone"},{display:"👱🏽",description:"blondHairedPersonMediumSkinTone"},{display:"👱🏾",description:"blondHairedPersonMediumDarkSkinTone"},{display:"👱🏿",description:"blondHairedPersonDarkSkinTone"}]},{display:"🎅",description:i.santaClaus,options:[{display:"🎅🏻",description:"santaClausLightSkinTone"},{display:"🎅🏼",description:"santaClausMediumLightSkinTone"},{display:"🎅🏽",description:"santaClausMediumSkinTone"},{display:"🎅🏾",description:"santaClausMediumDarkSkinTone"},{display:"🎅🏿",description:"santaClausDarkSkinTone"}]},{display:"👸",description:i.princess,options:[{display:"👸🏻",description:"princessLightSkinTone"},{display:"👸🏼",description:"princessMediumLightSkinTone"}
472,{display:"👸🏽",description:"princessMediumSkinTone"},{display:"👸🏾",description:"princessMediumDarkSkinTone"},{display:"👸🏿",description:"princessDarkSkinTone"}]},{display:"👰",description:i.brideWithVeil,options:[{display:"👰🏻",description:"brideWithVeilLightSkinTone"},{display:"👰🏼",description:"brideWithVeilMediumLightSkinTone"},{display:"👰🏽",description:"brideWithVeilMediumSkinTone"},{display:"👰🏾",description:"brideWithVeilMediumDarkSkinTone"},{display:"👰🏿",description:"brideWithVeilDarkSkinTone"}]},{display:"👲",description:i.manWithChineseCap,options:[{display:"👲🏻",description:"manWithChineseCapLightSkinTone"},{display:"👲🏼",description:"manWithChineseCapMediumLightSkinTone"},{display:"👲🏽",description:"manWithChineseCapMediumSkinTone"},{display:"👲🏾",description:"manWithChineseCapMediumDarkSkinTone"},{display:"👲🏿",description:"manWithChineseCapDarkSkinTone"}]},{display:"🙍",description:i.personFrowning,options:[{display:"🙍🏻",description:"personFrowningLightSkinTone"},{display:"🙍🏼",description:"personFrowningMediumLightSkinTone"},{display:"🙍🏽",description:"personFrowningMediumSkinTone"},{display:"🙍🏾",description:"personFrowningMediumDarkSkinTone"},{display:"🙍🏿",description:"personFrowningDarkSkinTone"}]},{display:"🙎",description:i.personPouting,options:[{display:"🙎🏻",description:"personPoutingLightSkinTone"},{display:"🙎🏼",description:"personPoutingMediumLightSkinTone"},{display:"🙎🏽",description:"personPoutingMediumSkinTone"},{display:"🙎🏾",description:"personPoutingMediumDarkSkinTone"},{display:"🙎🏿",description:"personPoutingDarkSkinTone"}]},{display:"🙅",description:i.personGesturingNo,options:[{display:"🙅🏻",description:"personGesturingNoLightSkinTone"},{display:"🙅🏼",description:"personGesturingNoMediumLightSkinTone"},{display:"🙅🏽",description:"personGesturingNoMediumSkinTone"},{display:"🙅🏾",description:"personGesturingNoMediumDarkSkinTone"},{display:"🙅🏿",description:"personGesturingNoDarkSkinTone"}]},{display:"🙆",description:i.personGesturingOk,options:[{display:"🙆🏻",description:"personGesturingOkLightSkinTone"},{display:"🙆🏼",description:"personGesturingOkMediumLightSkinTone"},{display:"🙆🏽",description:"personGesturingOkMediumSkinTone"},{display:"🙆🏾",description:"personGesturingOkMediumDarkSkinTone"},{display:"🙆🏿",description:"personGesturingOkDarkSkinTone"}]},{display:"💁",description:i.personTippingHand,options:[{display:"💁🏻",description:"personTippingHandLightSkinTone"},{display:"💁🏼",description:"personTippingHandMediumLightSkinTone"},{display:"💁🏽",description:"personTippingHandMediumSkinTone"},{display:"💁🏾",description:"personTippingHandMediumDarkSkinTone"},{display:"💁🏿",description:"personTippingHandDarkSkinTone"}]},{display:"🙋",description:i.personRaisingHand,options:[{display:"🙋🏻",description:"personRaisingHandLightSkinTone"},{display:"🙋🏼",description:"personRaisingHandMediumLightSkinTone"},{display:"🙋🏽",description:"personRaisingHandMediumSkinTone"},{display:"🙋🏾",description:"personRaisingHandMediumDarkSkinTone"},{display:"🙋🏿",description:"personRaisingHandDarkSkinTone"}]},{display:"🙇",description:i.personBowing,options:[{display:"🙇🏻",description:"personBowingLightSkinTone"},{display:"🙇🏼",description:"personBowingMediumLightSkinTone"},{display:"🙇🏽",description:"personBowingMediumSkinTone"},{display:"🙇🏾",description:"personBowingMediumDarkSkinTone"},{display:"🙇🏿",description:"personBowingDarkSkinTone"}]},{display:"💆",description:i.personGettingMassage,options:[{display:"💆🏻",description:"personGettingMassageLightSkinTone"},{display:"💆🏼",description:"personGettingMassageMediumLightSkinTone"},{display:"💆🏽",description:"personGettingMassageMediumSkinTone"},{display:"💆🏾",description:"personGettingMassageMediumDarkSkinTone"},{display:"💆🏿",description:"personGettingMassageDarkSkinTone"}]},{display:"💇",description:i.personGettingHaircut,options:[{display:"💇🏻",description:"personGettingHaircutLightSkinTone"},{display:"💇🏼",description:"personGettingHaircutMediumLightSkinTone"},{display:"💇🏽",description:"personGettingHaircutMediumSkinTone"},{display:"💇🏾",description:"personGettingHaircutMediumDarkSkinTone"},{display:"💇🏿",description:"personGettingHaircutDarkSkinTone"}]},{display:"🚶",description:i.personWalking,options:[{display:"🚶🏻",description:"personWalkingLightSkinTone"},{display:"🚶🏼",description:"personWalkingMediumLightSkinTone"},{display:"🚶🏽",description:"personWalkingMediumSkinTone"},{display:"🚶🏾",description:"personWalkingMediumDarkSkinTone"},{display:"🚶🏿",description:"personWalkingDarkSkinTone"}]},{display:"🏃",description:i.personRunning,options:[{display:"🏃🏻",description:"personRunningLightSkinTone"},{display:"🏃🏼",description:"personRunningMediumLightSkinTone"}
472,{display:"🏃🏽",description:"personRunningMediumSkinTone"},{display:"🏃🏾",description:"personRunningMediumDarkSkinTone"},{display:"🏃🏿",description:"personRunningDarkSkinTone"}]},{display:"💃",description:i.womanDancing,options:[{display:"💃🏻",description:"womanDancingLightSkinTone"},{display:"💃🏼",description:"womanDancingMediumLightSkinTone"},{display:"💃🏽",description:"womanDancingMediumSkinTone"},{display:"💃🏾",description:"womanDancingMediumDarkSkinTone"},{display:"💃🏿",description:"womanDancingDarkSkinTone"}]},{display:"👯",description:i.peopleWithBunnyEarsPartying},{display:"👤",description:i.bustInSilhouette},{display:"👥",description:i.bustsInSilhouette},{display:"🏇",description:i.horseRacing},{display:"🏂",description:i.snowboarder},{display:"🏄",description:i.personSurfing,options:[{display:"🏄🏻",description:"personSurfingLightSkinTone"},{display:"🏄🏼",description:"personSurfingMediumLightSkinTone"},{display:"🏄🏽",description:"personSurfingMediumSkinTone"},{display:"🏄🏾",description:"personSurfingMediumDarkSkinTone"},{display:"🏄🏿",description:"personSurfingDarkSkinTone"}]},{display:"🚣",description:i.personRowingBoat},{display:"🏊",description:i.personSwimming,options:[{display:"🏊🏻",description:"personSwimmingLightSkinTone"},{display:"🏊🏼",description:"personSwimmingMediumLightSkinTone"},{display:"🏊🏽",description:"personSwimmingMediumSkinTone"},{display:"🏊🏾",description:"personSwimmingMediumDarkSkinTone"},{display:"🏊🏿",description:"personSwimmingDarkSkinTone"}]},{display:"🚴",description:i.personBiking,options:[{display:"🚴🏻",description:"personBikingLightSkinTone"},{display:"🚴🏼",description:"personBikingMediumLightSkinTone"},{display:"🚴🏽",description:"personBikingMediumSkinTone"},{display:"🚴🏾",description:"personBikingMediumDarkSkinTone"},{display:"🚴🏿",description:"personBikingDarkSkinTone"}]},{display:"🚵",description:i.personMountainBiking,options:[{display:"🚵🏻",description:"personMountainBikingLightSkinTone"},{display:"🚵🏼",description:"personMountainBikingMediumLightSkinTone"},{display:"🚵🏽",description:"personMountainBikingMediumSkinTone"},{display:"🚵🏾",description:"personMountainBikingMediumDarkSkinTone"},{display:"🚵🏿",description:"personMountainBikingDarkSkinTone"}]},{display:"👫",description:i.manAndWomanHoldingHands},{display:"👬",description:i.twoMenHoldingHands},{display:"👭",description:i.twoWomenHoldingHands},{display:"💏",description:i.kiss},{display:"💑",description:i.coupleWithHeart},{display:"👪",description:i.family},{display:"💪",description:i.flexedBiceps,options:[{display:"💪🏻",description:"flexedBicepsLightSkinTone"},{display:"💪🏼",description:"flexedBicepsMediumLightSkinTone"},{display:"💪🏽",description:"flexedBicepsMediumSkinTone"},{display:"💪🏾",description:"flexedBicepsMediumDarkSkinTone"},{display:"💪🏿",description:"flexedBicepsDarkSkinTone"}]},{display:"👈",description:i.backhandIndexPointingLeft,options:[{display:"👈🏻",description:"backhandIndexPointingLeftLightSkinTone"},{display:"👈🏼",description:"backhandIndexPointingLeftMediumLightSkinTone"},{display:"👈🏽",description:"backhandIndexPointingLeftMediumSkinTone"},{display:"👈🏾",description:"backhandIndexPointingLeftMediumDarkSkinTone"},{display:"👈🏿",description:"backhandIndexPointingLeftDarkSkinTone"}]},{display:"👉",description:i.backhandIndexPointingRight,options:[{display:"👉🏻",description:"backhandIndexPointingRightLightSkinTone"},{display:"👉🏼",description:"backhandIndexPointingRightMediumLightSkinTone"},{display:"👉🏽",description:"backhandIndexPointingRightMediumSkinTone"},{display:"👉🏾",description:"backhandIndexPointingRightMediumDarkSkinTone"},{display:"👉🏿",description:"backhandIndexPointingRightDarkSkinTone"}]},{display:"☝️",description:i.indexPointingUp},{display:"👆",description:i.backhandIndexPointingUp,options:[{display:"👆🏻",description:"backhandIndexPointingUpLightSkinTone"},{display:"👆🏼",description:"backhandIndexPointingUpMediumLightSkinTone"},{display:"👆🏽",description:"backhandIndexPointingUpMediumSkinTone"},{display:"👆🏾",description:"backhandIndexPointingUpMediumDarkSkinTone"},{display:"👆🏿",description:"backhandIndexPointingUpDarkSkinTone"}]},{display:"👇",description:i.backhandIndexPointingDown,options:[{display:"👇🏻",description:"backhandIndexPointingDownLightSkinTone"},{display:"👇🏼",description:"backhandIndexPointingDownMediumLightSkinTone"},{display:"👇🏽",description:"backhandIndexPointingDownMediumSkinTone"},{display:"👇🏾",description:"backhandIndexPointingDownMediumDarkSkinTone"},{display:"👇🏿",description:"backhandIndexPointingDownDarkSkinTone"}]},{display:"✌️",description:i.victoryHand},{display:"✋",description:i.raisedHand},{display:"👌",description:i.okHand,options:[{display:"👌🏻",description:"okHandLightSkinTone"},{display:"👌🏼",description:"okHandMediumLightSkinTone"},{display:"👌🏽",description:"okHandMediumSkinTone"},{display:"👌🏾",description:"okHandMediumDarkSkinTone"},{display:"👌🏿",description:"okHandDarkSkinTone"}]},{display:"👍",description:i.thumbsUp,options:[{display:"👍🏻",description:"thumbsUpLightSkinTone"},{display:"👍🏼",description:"thumbsUpMediumLightSkinTone"}
472,{display:"👍🏽",description:"thumbsUpMediumSkinTone"},{display:"👍🏾",description:"thumbsUpMediumDarkSkinTone"},{display:"👍🏿",description:"thumbsUpDarkSkinTone"}]},{display:"👎",description:i.thumbsDown,options:[{display:"👎🏻",description:"thumbsDownLightSkinTone"},{display:"👎🏼",description:"thumbsDownMediumLightSkinTone"},{display:"👎🏽",description:"thumbsDownMediumSkinTone"},{display:"👎🏾",description:"thumbsDownMediumDarkSkinTone"},{display:"👎🏿",description:"thumbsDownDarkSkinTone"}]},{display:"✊",description:i.raisedFist},{display:"👊",description:i.oncomingFist,options:[{display:"👊🏻",description:"oncomingFistLightSkinTone"},{display:"👊🏼",description:"oncomingFistMediumLightSkinTone"},{display:"👊🏽",description:"oncomingFistMediumSkinTone"},{display:"👊🏾",description:"oncomingFistMediumDarkSkinTone"},{display:"👊🏿",description:"oncomingFistDarkSkinTone"}]},{display:"👋",description:i.wavingHand,options:[{display:"👋🏻",description:"wavingHandLightSkinTone"},{display:"👋🏼",description:"wavingHandMediumLightSkinTone"},{display:"👋🏽",description:"wavingHandMediumSkinTone"},{display:"👋🏾",description:"wavingHandMediumDarkSkinTone"},{display:"👋🏿",description:"wavingHandDarkSkinTone"}]},{display:"👏",description:i.clappingHands,options:[{display:"👏🏻",description:"clappingHandsLightSkinTone"},{display:"👏🏼",description:"clappingHandsMediumLightSkinTone"},{display:"👏🏽",description:"clappingHandsMediumSkinTone"},{display:"👏🏾",description:"clappingHandsMediumDarkSkinTone"},{display:"👏🏿",description:"clappingHandsDarkSkinTone"}]},{display:"👐",description:i.openHands,options:[{display:"👐🏻",description:"openHandsLightSkinTone"},{display:"👐🏼",description:"openHandsMediumLightSkinTone"},{display:"👐🏽",description:"openHandsMediumSkinTone"},{display:"👐🏾",description:"openHandsMediumDarkSkinTone"},{display:"👐🏿",description:"openHandsDarkSkinTone"}]},{display:"🙌",description:i.raisingHands,options:[{display:"🙌🏻",description:"raisingHandsLightSkinTone"},{display:"🙌🏼",description:"raisingHandsMediumLightSkinTone"},{display:"🙌🏽",description:"raisingHandsMediumSkinTone"},{display:"🙌🏾",description:"raisingHandsMediumDarkSkinTone"},{display:"🙌🏿",description:"raisingHandsDarkSkinTone"}]},{display:"🙏",description:i.foldedHands,options:[{display:"🙏🏻",description:"foldedHandsLightSkinTone"},{display:"🙏🏼",description:"foldedHandsMediumLightSkinTone"},{display:"🙏🏽",description:"foldedHandsMediumSkinTone"},{display:"🙏🏾",description:"foldedHandsMediumDarkSkinTone"},{display:"🙏🏿",description:"foldedHandsDarkSkinTone"}]},{display:"💅",description:i.nailPolish,options:[{display:"💅🏻",description:"nailPolishLightSkinTone"},{display:"💅🏼",description:"nailPolishMediumLightSkinTone"},{display:"💅🏽",description:"nailPolishMediumSkinTone"},{display:"💅🏾",description:"nailPolishMediumDarkSkinTone"},{display:"💅🏿",description:"nailPolishDarkSkinTone"}]},{display:"👂",description:i.ear,options:[{display:"👂🏻",description:"earLightSkinTone"},{display:"👂🏼",description:"earMediumLightSkinTone"},{display:"👂🏽",description:"earMediumSkinTone"},{display:"👂🏾",description:"earMediumDarkSkinTone"},{display:"👂🏿",description:"earDarkSkinTone"}]},{display:"👃",description:i.nose,options:[{display:"👃🏻",description:"noseLightSkinTone"},{display:"👃🏼",description:"noseMediumLightSkinTone"},{display:"👃🏽",description:"noseMediumSkinTone"},{display:"👃🏾",description:"noseMediumDarkSkinTone"},{display:"👃🏿",description:"noseDarkSkinTone"}]},{display:"👣",description:i.footprints},{display:"👀",description:i.eyes},{display:"👅",description:i.tongue},{display:"👄",description:i.mouth},{display:"💋",description:i.kissMark},{display:"💘",description:i.heartWithArrow},{display:"❤️",description:i.redHeart},{display:"💓",description:i.beatingHeart},{display:"💔",description:i.brokenHeart},{display:"💕",description:i.twoHearts},{display:"💖",description:i.sparklingHeart},{display:"💗",description:i.growingHeart},{display:"💙",description:i.blueHeart},{display:"💚",description:i.greenHeart},{display:"💛",description:i.yellowHeart},{display:"💜",description:i.purpleHeart},{display:"💝",description:i.heartWithRibbon},{display:"💞",description:i.revolvingHearts},{display:"💟",description:i.heartDecoration},{display:"💌",description:i.loveLetter},{display:"💤",description:i.zzz},{display:"💢",description:i.angerSymbol},{display:"💣",description:i.bomb},{display:"💥",description:i.collision},{display:"💦",description:i.sweatDroplets},{display:"💨",description:i.dashingAway},{display:"💫",description:i.dizzy},{display:"💬",description:i.speechBalloon},{display:"💭",description:i.thoughtBalloon},{display:"👓",description:i.glasses},{display:"👔",description:i.necktie},{display:"👕",description:i.tShirt},{display:"👖",description:i.jeans},{display:"👗",description:i.dress},{display:"👘",description:i.kimono},{display:"👙",description:i.bikini},{display:"👚",description:i.womansClothes},{display:"👛",description:i.purse},{display:"👜",description:i.handbag},{display:"👝",description:i.clutchBag},{display:"🎒",description:i.schoolBackpack},{display:"👞",description:i.mansShoe},{display:"👟",description:i.runningShoe},{display:"👠",description:i.highHeeledShoe}
472,{display:"👡",description:i.womansSandal},{display:"👢",description:i.womansBoot},{display:"👑",description:i.crown},{display:"👒",description:i.womansHat},{display:"🎩",description:i.topHat},{display:"🎓",description:i.graduationCap},{display:"💄",description:i.lipstick},{display:"💍",description:i.ring},{display:"💎",description:i.gemStone}]}))(d),(i=>({name:"animals-nature",displayName:i.animalsNatureCategory,icon:"utility:animal_and_nature",emojis:[{display:"🐵",description:i.monkeyFace},{display:"🐒",description:i.monkey},{display:"🐶",description:i.dogFace},{display:"🐕",description:i.dog},{display:"🐩",description:i.poodle},{display:"🐺",description:i.wolfFace},{display:"🐱",description:i.catFace},{display:"🐈",description:i.cat},{display:"🐯",description:i.tigerFace},{display:"🐅",description:i.tiger},{display:"🐆",description:i.leopard},{display:"🐴",description:i.horseFace},{display:"🐎",description:i.horse},{display:"🐮",description:i.cowFace},{display:"🐂",description:i.ox},{display:"🐃",description:i.waterBuffalo},{display:"🐄",description:i.cow},{display:"🐷",description:i.pigFace},{display:"🐖",description:i.pig},{display:"🐗",description:i.boar},{display:"🐽",description:i.pigNose},{display:"🐏",description:i.ram},{display:"🐑",description:i.sheep},{display:"🐐",description:i.goat},{display:"🐪",description:i.camel},{display:"🐫",description:i.twoHumpCamel},{display:"🐘",description:i.elephant},{display:"🐭",description:i.mouseFace},{display:"🐁",description:i.mouse},{display:"🐀",description:i.rat},{display:"🐹",description:i.hamsterFace},{display:"🐰",description:i.rabbitFace},{display:"🐇",description:i.rabbit},{display:"🐻",description:i.bearFace},{display:"🐨",description:i.koala},{display:"🐼",description:i.pandaFace},{display:"🐾",description:i.pawPrints},{display:"🐔",description:i.chicken},{display:"🐓",description:i.rooster},{display:"🐣",description:i.hatchingChick},{display:"🐤",description:i.babyChick},{display:"🐥",description:i.frontFacingBabyChick},{display:"🐦",description:i.bird},{display:"🐧",description:i.penguin},{display:"🐸",description:i.frogFace},{display:"🐊",description:i.crocodile},{display:"🐢",description:i.turtle},{display:"🐍",description:i.snake},{display:"🐲",description:i.dragonFace},{display:"🐉",description:i.dragon},{display:"🐳",description:i.spoutingWhale},{display:"🐋",description:i.whale},{display:"🐬",description:i.dolphin},{display:"🐟",description:i.fish},{display:"🐠",description:i.tropicalFish},{display:"🐡",description:i.blowfish},{display:"🐙",description:i.octopus},{display:"🐚",description:i.spiralShell},{display:"🐌",description:i.snail},{display:"🐛",description:i.bug},{display:"🐜",description:i.ant},{display:"🐝",description:i.honeybee},{display:"🐞",description:i.ladyBeetle},{display:"💐",description:i.bouquet},{display:"🌸",description:i.cherryBlossom},{display:"💮",description:i.whiteFlower},{display:"🌹",description:i.rose},{display:"🌺",description:i.hibiscus},{display:"🌻",description:i.sunflower},{display:"🌼",description:i.blossom},{display:"🌷",description:i.tulip},{display:"🌱",description:i.seedling},{display:"🌲",description:i.evergreenTree},{display:"🌳",description:i.deciduousTree},{display:"🌴",description:i.palmTree},{display:"🌵",description:i.cactus},{display:"🌾",description:i.sheafOfRice},{display:"🌿",description:i.herb},{display:"🍀",description:i.fourLeafClover},{display:"🍁",description:i.mapleLeaf},{display:"🍂",description:i.fallenLeaf},{display:"🍃",description:i.leafFlutteringInWind}]}))(d),(i=>({name:"food-drink",displayName:i.foodDrinkCategory,icon:"utility:food_and_drink",emojis:[{display:"🍇",description:i.grapes},{display:"🍈",description:i.melon},{display:"🍉",description:i.watermelon},{display:"🍊",description:i.tangerine},{display:"🍋",description:i.lemon},{display:"🍌",description:i.banana},{display:"🍍",description:i.pineapple},{display:"🍎",description:i.redApple},{display:"🍏",description:i.greenApple}
472,{display:"🍐",description:i.pear},{display:"🍑",description:i.peach},{display:"🍒",description:i.cherries},{display:"🍓",description:i.strawberry},{display:"🍅",description:i.tomato},{display:"🍆",description:i.eggplant},{display:"🌽",description:i.earOfCorn},{display:"🍄",description:i.mushroom},{display:"🌰",description:i.chestnut},{display:"🍞",description:i.bread},{display:"🍖",description:i.meatOnBone},{display:"🍗",description:i.poultryLeg},{display:"🍔",description:i.hamburger},{display:"🍟",description:i.frenchFries},{display:"🍕",description:i.pizza},{display:"🍳",description:i.cooking},{display:"🍲",description:i.potOfFood},{display:"🍱",description:i.bentoBox},{display:"🍘",description:i.riceCracker},{display:"🍙",description:i.riceBall},{display:"🍚",description:i.cookedRice},{display:"🍛",description:i.curryRice},{display:"🍜",description:i.steamingBowl},{display:"🍝",description:i.spaghetti},{display:"🍠",description:i.roastedSweetPotato},{display:"🍢",description:i.oden},{display:"🍣",description:i.sushi},{display:"🍤",description:i.friedShrimp},{display:"🍥",description:i.fishCakeWithSwirl},{display:"🍡",description:i.dango},{display:"🍦",description:i.softIceCream},{display:"🍧",description:i.shavedIce},{display:"🍨",description:i.iceCream},{display:"🍩",description:i.doughnut},{display:"🍪",description:i.cookie},{display:"🎂",description:i.birthdayCake},{display:"🍰",description:i.shortcake},{display:"🍫",description:i.chocolateBar},{display:"🍬",description:i.candy},{display:"🍭",description:i.lollipop},{display:"🍮",description:i.custard},{display:"🍯",description:i.honeyPot},{display:"🍼",description:i.babyBottle},{display:"☕️",description:i.hotBeverage},{display:"🍵",description:i.teacupWithoutHandle},{display:"🍶",description:i.sake},{display:"🍷",description:i.wineGlass},{display:"🍸",description:i.cocktailGlass},{display:"🍹",description:i.tropicalDrink},{display:"🍺",description:i.beerMug},{display:"🍻",description:i.clinkingBeerMugs},{display:"🍴",description:i.forkAndKnife},{display:"🔪",description:i.kitchenKnife}]}))(d),(i=>({name:"travel-places",displayName:i.travelPlacesCategory,icon:"utility:travel_and_places",emojis:[{display:"🌍",description:i.globeShowingEuropeAfrica},{display:"🌎",description:i.globeShowingAmericas},{display:"🌏",description:i.globeShowingAsiaAustralia},{display:"🌐",description:i.globeWithMeridians},{display:"🗾",description:i.mapOfJapan},{display:"🌋",description:i.volcano},{display:"🗻",description:i.mountFuji},{display:"🏠",description:i.house},{display:"🏡",description:i.houseWithGarden},{display:"🏢",description:i.officeBuilding},{display:"🏣",description:i.japanesePostOffice},{display:"🏤",description:i.postOffice},{display:"🏥",description:i.hospital},{display:"🏦",description:i.bank},{display:"🏨",description:i.hotel},{display:"🏩",description:i.loveHotel},{display:"🏪",description:i.convenienceStore},{display:"🏫",description:i.school},{display:"🏬",description:i.departmentStore},{display:"🏭",description:i.factory},{display:"🏯",description:i.japaneseCastle},{display:"🏰",description:i.castle},{display:"💒",description:i.wedding},{display:"🗼",description:i.tokyoTower},{display:"🗽",description:i.statueOfLiberty},{display:"⛪",description:i.church},{display:"⛲",description:i.fountain},{display:"⛺",description:i.tent},{display:"🌁",description:i.foggy},{display:"🌃",description:i.nightWithStars},{display:"🌄",description:i.sunriseOverMountains},{display:"🌅",description:i.sunrise},{display:"🌆",description:i.cityscapeAtDusk},{display:"🌇",description:i.sunset},{display:"🌉",description:i.bridgeAtNight},{display:"♨️",description:i.hotSprings},{display:"🌌",description:i.milkyWay},{display:"🎠",description:i.carouselHorse},{display:"🎡",description:i.ferrisWheel},{display:"🎢",description:i.rollerCoaster},{display:"💈",description:i.barberPole},{display:"🎪",description:i.circusTent},{display:"🎭",description:i.performingArts},{display:"🎨",description:i.artistPalette},{display:"🎰",description:i.slotMachine},{display:"🚂",description:i.locomotive},{display:"🚃",description:i.railwayCar},{display:"🚄",description:i.highSpeedTrain},{display:"🚅",description:i.highSpeedTrainWithBulletNose},{display:"🚆",description:i.train},{display:"🚇",description:i.metro},{display:"🚈",description:i.lightRail},{display:"🚉",description:i.station},{display:"🚊",description:i.tram},{display:"🚝",description:i.monorail},{display:"🚞",description:i.mountainRailway},{display:"🚋",description:i.tramCar},{display:"🚌",description:i.bus},{display:"🚍",description:i.oncomingBus},{display:"🚎",description:i.trolleybus},{display:"🚐",description:i.minibus},{display:"🚑",description:i.ambulance},{display:"🚒",description:i.fireEngine},{display:"🚓",description:i.policeCar},{display:"🚔",description:i.oncomingPoliceCar},{display:"🚕",description:i.taxi},{display:"🚖",description:i.oncomingTaxi},{display:"🚗",description:i.automobile},{display:"🚘",description:i.oncomingAutomobile},{display:"🚙",description:i.sportUtilityVehicle},{display:"🚚",description:i.deliveryTruck},{display:"🚛",description:i.articulatedLorry},{display:"🚜",description:i.tractor},{display:"🚲",description:i.bicycle},{display:"🚏",description:i.busStop},{display:"⛽",description:i.fuelPump},{display:"🚨",description:i.policeCarLight},{display:"🚥",description:i.horizontalTrafficLight},{display:"🚦",description:i.verticalTrafficLight},{display:"🚧",description:i.construction},{display:"⚓️",description:i.anchor},{display:"⛵",description:i.sailboat},{display:"🚤",description:i.speedboat},{display:"🚢",description:i.ship},{display:"✈️",description:i.airplane},{display:"💺",description:i.seat},{display:"🚁",description:i.helicopter},{display:"🚟",description:i.suspensionRailway},{display:"🚠",description:i.mountainCableway},{display:"🚡",description:i.aerialTramway},{display:"🚀",description:i.rocket},{display:"🚪",description:i.door},{display:"🚽",description:i.toilet},{display:"🚿",description:i.shower},{display:"🛀",description:i.personTakingBath,options:[{display:"🛀🏻",description:"personTakingBathLightSkinTone"},{display:"🛀🏼",description:"personTakingBathMediumLightSkinTone"}
472,{display:"🛀🏽",description:"personTakingBathMediumSkinTone"},{display:"🛀🏾",description:"personTakingBathMediumDarkSkinTone"},{display:"🛀🏿",description:"personTakingBathDarkSkinTone"}]},{display:"🛁",description:i.bathtub},{display:"⌛️",description:i.hourglass},{display:"⏳",description:i.hourglassWithFlowingSand},{display:"⌚️",description:i.watch},{display:"⏰",description:i.alarmClock},{display:"🕛",description:i.twelveOClock},{display:"🕧",description:i.twelveThirty},{display:"🕐",description:i.oneOClock},{display:"🕜",description:i.oneThirty},{display:"🕑",description:i.twoOClock},{display:"🕝",description:i.twoThirty},{display:"🕒",description:i.threeOClock},{display:"🕞",description:i.threeThirty},{display:"🕓",description:i.fourOClock},{display:"🕟",description:i.fourThirty},{display:"🕔",description:i.fiveOClock},{display:"🕠",description:i.fiveThirty},{display:"🕕",description:i.sixOClock},{display:"🕡",description:i.sixThirty},{display:"🕖",description:i.sevenOClock},{display:"🕢",description:i.sevenThirty},{display:"🕗",description:i.eightOClock},{display:"🕣",description:i.eightThirty},{display:"🕘",description:i.nineOClock},{display:"🕤",description:i.nineThirty},{display:"🕙",description:i.tenOClock},{display:"🕥",description:i.tenThirty},{display:"🕚",description:i.elevenOClock},{display:"🕦",description:i.elevenThirty},{display:"🌑",description:i.newMoon},{display:"🌒",description:i.waxingCrescentMoon},{display:"🌓",description:i.firstQuarterMoon},{display:"🌔",description:i.waxingGibbousMoon},{display:"🌕",description:i.fullMoon},{display:"🌖",description:i.waningGibbousMoon},{display:"🌗",description:i.lastQuarterMoon},{display:"🌘",description:i.waningCrescentMoon},{display:"🌙",description:i.crescentMoon},{display:"🌚",description:i.newMoonFace},{display:"🌛",description:i.firstQuarterMoonWithFace},{display:"🌜",description:i.lastQuarterMoonWithFace},{display:"☀️",description:i.sun},{display:"🌝",description:i.fullMoonWithFace},{display:"🌞",description:i.sunWithFace},{display:"⭐️",description:i.whiteMediumStar},{display:"🌟",description:i.glowingStar},{display:"🌠",description:i.shootingStar},{display:"☁️",description:i.cloud},{display:"⛅",description:i.sunBehindCloud},{display:"🌀",description:i.cyclone},{display:"🌈",description:i.rainbow},{display:"🌂",description:i.closedUmbrella},{display:"☔️",description:i.umbrellaWithRainDrops},{display:"⚡️",description:i.highVoltage},{display:"❄️",description:i.snowflake},{display:"⛄",description:i.snowmanWithoutSnow},{display:"🔥",description:i.fire},{display:"💧",description:i.droplet},{display:"🌊",description:i.waterWave}]}))(d),(i=>({name:"activities",displayName:i.activitiesCategory,icon:"utility:activity",emojis:[{display:"🎃",description:i.jackOLantern},{display:"🎄",description:i.christmasTree},{display:"🎆",description:i.fireworks},{display:"🎇",description:i.sparkler},{display:"✨",description:i.sparkles},{display:"🎈",description:i.balloon},{display:"🎉",description:i.partyPopper},{display:"🎊",description:i.confettiBall},{display:"🎋",description:i.tanabataTree},{display:"🎍",description:i.pineDecoration},{display:"🎎",description:i.japaneseDolls},{display:"🎏",description:i.carpStreamer},{display:"🎐",description:i.windChime},{display:"🎑",description:i.moonViewingCeremony},{display:"🎀",description:i.ribbon},{display:"🎁",description:i.wrappedGift},{display:"🎫",description:i.ticket},{display:"🏆",description:i.trophy},{display:"⚽",description:i.soccerBall},{display:"⚾️",description:i.baseball},{display:"🏀",description:i.basketball},{display:"🏈",description:i.americanFootball},{display:"🏉",description:i.rugbyFootball},{display:"🎾",description:i.tennis},{display:"🎱",description:i.pool8Ball},{display:"🎳",description:i.bowling},{display:"🎯",description:i.directHit},{display:"⛳",description:i.flagInHole},{display:"🎣",description:i.fishingPole},{display:"🎽",description:i.runningShirt},{display:"🎿",description:i.skis},{display:"🎮",description:i.videoGame},{display:"🎲",description:i.gameDie},{display:"♠️",description:i.spadeSuit},{display:"♥️",description:i.heartSuit},{display:"♦️",description:i.diamondSuit},{display:"♣️",description:i.clubSuit},{display:"🃏",description:i.joker},{display:"🀄",description:i.mahjongRedDragon},{display:"🎴",description:i.flowerPlayingCards}]}))(d),(i=>({name:"objects",displayName:i.objectsCategory,icon:"utility:light_bulb",emojis:[{display:"🔇",description:i.mutedSpeaker},{display:"🔈",description:i.speakerLowVolume},{display:"🔉",description:i.speakerMediumVolume},{display:"🔊",description:i.speakerHighVolume},{display:"📢",description:i.loudspeaker},{display:"📣",description:i.megaphone},{display:"📯",description:i.postalHorn},{display:"🔔",description:i.bell},{display:"🔕",description:i.bellWithSlash},{display:"🎼",description:i.musicalScore},{display:"🎵",description:i.musicalNote},{display:"🎶",description:i.musicalNotes},{display:"🎤",description:i.microphone},{display:"🎧",description:i.headphone},{display:"📻",description:i.radio}
472,{display:"🎷",description:i.saxophone},{display:"🎸",description:i.guitar},{display:"🎹",description:i.musicalKeyboard},{display:"🎺",description:i.trumpet},{display:"🎻",description:i.violin},{display:"📱",description:i.mobilePhone},{display:"📲",description:i.mobilePhoneWithArrow},{display:"☎",description:i.telephone},{display:"📞",description:i.telephoneReceiver},{display:"📟",description:i.pager},{display:"📠",description:i.faxMachine},{display:"🔋",description:i.battery},{display:"🔌",description:i.electricPlug},{display:"💻",description:i.laptopComputer},{display:"💽",description:i.computerDisk},{display:"💾",description:i.floppyDisk},{display:"💿",description:i.opticalDisk},{display:"📀",description:i.dvd},{display:"🎥",description:i.movieCamera},{display:"🎬",description:i.clapperBoard},{display:"📺",description:i.television},{display:"📷",description:i.camera},{display:"📹",description:i.videoCamera},{display:"📼",description:i.videocassette},{display:"🔍",description:i.leftPointingMagnifyingGlass},{display:"🔎",description:i.rightPointingMagnifyingGlass},{display:"🔬",description:i.microscope},{display:"🔭",description:i.telescope},{display:"📡",description:i.satelliteAntenna},{display:"💡",description:i.lightBulb},{display:"🔦",description:i.flashlight},{display:"🏮",description:i.redPaperLantern},{display:"📔",description:i.notebookWithDecorativeCover},{display:"📕",description:i.closedBook},{display:"📖",description:i.openBook},{display:"📗",description:i.greenBook},{display:"📘",description:i.blueBook},{display:"📙",description:i.orangeBook},{display:"📚",description:i.books},{display:"📓",description:i.notebook},{display:"📒",description:i.ledger},{display:"📃",description:i.pageWithCurl},{display:"📜",description:i.scroll},{display:"📄",description:i.pageFacingUp},{display:"📰",description:i.newspaper},{display:"📑",description:i.bookmarkTabs},{display:"🔖",description:i.bookmark},{display:"💰",description:i.moneyBag},{display:"💴",description:i.yenBanknote},{display:"💵",description:i.dollarBanknote},{display:"💶",description:i.euroBanknote},{display:"💷",description:i.poundBanknote},{display:"💸",description:i.moneyWithWings},{display:"💳",description:i.creditCard},{display:"💹",description:i.chartIncreasingWithYen},{display:"💱",description:i.currencyExchange},{display:"💲",description:i.heavyDollarSign},{display:"✉️",description:i.envelope},{display:"📧",description:i.eMail},{display:"📨",description:i.incomingEnvelope},{display:"📩",description:i.envelopeWithArrow},{display:"📤",description:i.outboxTray},{display:"📥",description:i.inboxTray},{display:"📦",description:i.mailPackage},{display:"📫",description:i.closedMailboxWithRaisedFlag},{display:"📪",description:i.closedMailboxWithLoweredFlag},{display:"📬",description:i.openMailboxWithRaisedFlag},{display:"📭",description:i.openMailboxWithLoweredFlag},{display:"📮",description:i.postbox},{display:"✏️",description:i.pencil},{display:"✒️",description:i.blackNib},{display:"📝",description:i.memo},{display:"💼",description:i.briefcase},{display:"📁",description:i.fileFolder},{display:"📂",description:i.openFileFolder},{display:"📅",description:i.calendar},{display:"📆",description:i.tearOffCalendar},{display:"📇",description:i.cardIndex},{display:"📈",description:i.chartIncreasing},{display:"📉",description:i.chartDecreasing},{display:"📊",description:i.barChart},{display:"📋",description:i.clipboard},{display:"📌",description:i.pushpin},{display:"📍",description:i.roundPushpin},{display:"📎",description:i.paperclip},{display:"📏",description:i.straightRuler},{display:"📐",description:i.triangularRuler},{display:"✂️",description:i.scissors},{display:"🔒",description:i.locked},{display:"🔓",description:i.unlocked},{display:"🔏",description:i.lockedWithPen},{display:"🔐",description:i.lockedWithKey},{display:"🔑",description:i.key},{display:"🔨",description:i.hammer},{display:"🔫",description:i.pistol},{display:"🔧",description:i.wrench}
472,{display:"🔩",description:i.nutAndBolt},{display:"🔗",description:i.link},{display:"💉",description:i.syringe},{display:"💊",description:i.pill},{display:"🚬",description:i.cigarette},{display:"🗿",description:i.moai},{display:"🔮",description:i.crystalBall}]}))(d),(i=>({name:"symbols",displayName:i.symbolsCategory,icon:"utility:symbols",emojis:[{display:"🏧",description:i.atmSign},{display:"🚮",description:i.litterInBinSign},{display:"🚰",description:i.potableWater},{display:"♿️",description:i.wheelchairSymbol},{display:"🚹",description:i.mensRoom},{display:"🚺",description:i.womensRoom},{display:"🚻",description:i.restroom},{display:"🚼",description:i.babySymbol},{display:"🚾",description:i.waterCloset},{display:"🛂",description:i.passportControl},{display:"🛃",description:i.customs},{display:"🛄",description:i.baggageClaim},{display:"🛅",description:i.leftLuggage},{display:"⚠️",description:i.warning},{display:"🚸",description:i.childrenCrossing},{display:"⛔",description:i.noEntry},{display:"🚫",description:i.prohibited},{display:"🚳",description:i.noBicycles},{display:"🚭",description:i.noSmoking},{display:"🚯",description:i.noLittering},{display:"🚱",description:i.nonPotableWater},{display:"🚷",description:i.noPedestrians},{display:"📵",description:i.noMobilePhones},{display:"🔞",description:i.noOneUnderEighteen},{display:"⬆️",description:i.upArrow},{display:"↗️",description:i.upRightArrow},{display:"➡️",description:i.rightArrow},{display:"↘️",description:i.downRightArrow},{display:"⬇️",description:i.downArrow},{display:"↙️",description:i.downLeftArrow},{display:"⬅️",description:i.leftArrow},{display:"↖️",description:i.upLeftArrow},{display:"↕️",description:i.upDownArrow},{display:"↔️",description:i.leftRightArrow},{display:"↩️",description:i.rightArrowCurvingLeft},{display:"↪️",description:i.leftArrowCurvingRight},{display:"⤴️",description:i.rightArrowCurvingUp},{display:"⤵️",description:i.rightArrowCurvingDown},{display:"🔃",description:i.clockwiseVerticalArrows},{display:"🔄",description:i.anticlockwiseArrowsButton},{display:"🔙",description:i.backArrow},{display:"🔚",description:i.endArrow},{display:"🔛",description:i.onArrow},{display:"🔜",description:i.soonArrow},{display:"🔝",description:i.topArrow},{display:"🔯",description:i.dottedSixPointedStar},{display:"♈",description:i.aries},{display:"♉",description:i.taurus},{display:"♊",description:i.gemini},{display:"♋",description:i.cancer},{display:"♌",description:i.leo},{display:"♍",description:i.virgo},{display:"♎",description:i.libra},{display:"♏",description:i.scorpio},{display:"♐",description:i.sagittarius},{display:"♑",description:i.capricorn},{display:"♒",description:i.aquarius},{display:"♓",description:i.pisces},{display:"⛎",description:i.ophiuchus},{display:"🔀",description:i.shuffleTracksButton},{display:"🔁",description:i.repeatButton},{display:"🔂",description:i.repeatSingleButton},{display:"▶️",description:i.playButton},{display:"⏩",description:i.fastForwardButton},{display:"◀️",description:i.reverseButton},{display:"⏪",description:i.fastReverseButton},{display:"🔼",description:i.upButton},{display:"⏫",description:i.fastUpButton},{display:"🔽",description:i.downButton},{display:"⏬",description:i.fastDownButton},{display:"🎦",description:i.cinema},{display:"🔅",description:i.dimButton},{display:"🔆",description:i.brightButton},{display:"📶",description:i.antennaBars},{display:"📳",description:i.vibrationMode},{display:"📴",description:i.mobilePhoneOff},{display:"♻️",description:i.recyclingSymbol},{display:"📛",description:i.nameBadge},{display:"🔰",description:i.japaneseSymbolForBeginner},{display:"🔱",description:i.tridentEmblem},{display:"⭕️",description:i.heavyLargeCircle},{display:"✅️",description:i.whiteHeavyCheckMark},{display:"☑️",description:i.ballotBoxWithCheck},{display:"✔️",description:i.heavyCheckMark},{display:"✖️",description:i.heavyMultiplicationX},{display:"❌️",description:i.crossMark},{display:"❎️",description:i.crossMarkButton},{display:"➕️",description:i.heavyPlusSign},{display:"➖️",description:i.heavyMinusSign},{display:"➗️",description:i.heavyDivisionSign},{display:"➰️",description:i.curlyLoop},{display:"➿️",description:i.doubleCurlyLoop},{display:"〽️",description:i.partAlternationMark},{display:"✳️",description:i.eightSpokedAsterisk},{display:"✴️",description:i.eightPointedStar},{display:"❇️",description:i.sparkle},{display:"‼️",description:i.doubleExclamationMark},{display:"⁉️",description:i.exclamationQuestionMark},{display:"❓️",description:i.questionMark},{display:"❔️",description:i.whiteQuestionMark},{display:"❕️",description:i.whiteExclamationMark},{display:"❗️",description:i.exclamationMark},{display:"〰️",description:i.wavyDash},{display:"©️",description:i.copyright},{display:"®️",description:i.registered},{display:"™️",description:i.tradeMark},{display:"#️⃣",description:i.keycap},{display:"0️⃣",description:i.keycap0},{display:"1️⃣",description:i.keycap1},{display:"2️⃣",description:i.keycap2},{display:"3️⃣",description:i.keycap3},{display:"4️⃣",description:i.keycap4},{display:"5️⃣",description:i.keycap5},{display:"6️⃣",description:i.keycap6},{display:"7️⃣",description:i.keycap7},{display:"8️⃣",description:i.keycap8},{display:"9️⃣",description:i.keycap9},{display:"🔟",description:i.keycap10},{display:"💯",description:i.hundredPoints},{display:"🔠",description:i.inputLatinUppercase},{display:"🔡",description:i.inputLatinLowercase},{display:"🔢",description:i.inputNumbers},{display:"🔣",description:i.inputSymbols},{display:"🔤",description:i.inputLatinLetters},{display:"🅰",description:i.aButtonBloodType},{display:"🆎",description:i.abButtonBloodType},{display:"🅱",description:i.bButtonBloodType},{display:"🆑",description:i.clButton},{display:"🆒",description:i.coolButton},{display:"🆓",description:i.freeButton},{display:"ℹ️",description:i.information},{display:"🆔",description:i.idButton},{display:"Ⓜ️",description:i.circledM},{display:"🆕",description:i.newButton},{display:"🆖",description:i.ngButton},{display:"🅾",description:i.oButtonBloodType},{display:"🆗",description:i.okButton},{display:"🅿",description:i.pButton},{display:"🆘",description:i.sosButton},{display:"🆙",description:i.upButton},{display:"🆚",description:i.vsButton}
472,{display:"🈁",description:i.japaneseHereButton},{display:"🈂",description:i.japaneseServiceChargeButton},{display:"🈷",description:i.japaneseMonthlyAmountButton},{display:"🈶",description:i.japaneseNotFreeOfChargeButton},{display:"🈯",description:i.japaneseReservedButton},{display:"🉐",description:i.japaneseBargainButton},{display:"🈹",description:i.japaneseDiscountButton},{display:"🈚",description:i.japaneseFreeOfChargeButton},{display:"🈲",description:i.japaneseProhibitedButton},{display:"🉑",description:i.japaneseAcceptableButton},{display:"🈸",description:i.japaneseApplicationButton},{display:"🈴",description:i.japanesePassingGradeButton},{display:"🈳",description:i.japaneseVacancyButton},{display:"㊗",description:i.japaneseCongratulationsButton},{display:"㊙",description:i.japaneseSecretButton},{display:"🈺",description:i.japaneseOpenForBusinessButton},{display:"🈵",description:i.japaneseNoVacancyButton},{display:"▪️",description:i.blackSmallSquare},{display:"▫️",description:i.whiteSmallSquare},{display:"◻️",description:i.whiteMediumSquare},{display:"◼️",description:i.blackMediumSquare},{display:"◽️",description:i.whiteMediumSmallSquare},{display:"◾️",description:i.blackMediumSmallSquare},{display:"⬛️",description:i.blackLargeSquare},{display:"⬜️",description:i.whiteLargeSquare},{display:"🔶",description:i.largeOrangeDiamond},{display:"🔷",description:i.largeBlueDiamond},{display:"🔸",description:i.smallOrangeDiamond},{display:"🔹",description:i.smallBlueDiamond},{display:"🔺",description:i.redTrianglePointedUp},{display:"🔻",description:i.redTrianglePointedDown},{display:"💠",description:i.diamondWithADot},{display:"🔘",description:i.radioButton},{display:"🔲",description:i.blackSquareButton},{display:"🔳",description:i.whiteSquareButton},{display:"⚪",description:i.whiteCircle},{display:"⚫",description:i.blackCircle},{display:"🔴",description:i.redCircle},{display:"🔵",description:i.blueCircle}]}))(d),(i=>({name:"flags",displayName:i.flagsCategory,icon:"utility:priority",emojis:[{display:"🏁",description:i.chequeredFlag},{display:"🚩",description:i.triangularFlag},{display:"🎌",description:i.crossedFlags},{display:"🇦🇪",description:i.unitedArabEmirates},{display:"🇦🇹",description:i.austria},{display:"🇦🇺",description:i.australia},{display:"🇧🇪",description:i.belgium},{display:"🇧🇷",description:i.brazil},{display:"🇨🇦",description:i.canada},{display:"🇨🇭",description:i.switzerland},{display:"🇨🇱",description:i.chile},{display:"🇨🇳",description:i.china},{display:"🇨🇴",description:i.colombia},{display:"🇩🇪",description:i.germany},{display:"🇩🇰",description:i.denmark},{display:"🇪🇸",description:i.spain},{display:"🇫🇮",description:i.finland},{display:"🇫🇷",description:i.france},{display:"🇬🇧",description:i.unitedKingdom},{display:"🇭🇰",description:i.hongKongSarChina},{display:"🇮🇩",description:i.indonesia},{display:"🇮🇪",description:i.ireland},{display:"🇮🇱",description:i.israel},{display:"🇮🇳",description:i.india},{display:"🇮🇹",description:i.italy},{display:"🇯🇵",description:i.japan},{display:"🇰🇷",description:i.southKorea},{display:"🇲🇴",description:i.macauSarChina},{display:"🇲🇽",description:i.mexico},{display:"🇲🇾",description:i.malaysia},{display:"🇳🇱",description:i.netherlands},{display:"🇳🇴",description:i.norway},{display:"🇳🇿",description:i.newZealand},{display:"🇵🇭",description:i.philippines},{display:"🇵🇱",description:i.poland},{display:"🇵🇷",description:i.puertoRico},{display:"🇵🇹",description:i.portugal},{display:"🇷🇺",description:i.russia},{display:"🇸🇦",description:i.saudiArabia},{display:"🇸🇪",description:i.sweden},{display:"🇸🇬",description:i.singapore},{display:"🇹🇷",description:i.turkey},{display:"🇺🇸",description:i.unitedStates},{display:"🇻🇳",description:i.vietnam},{display:"🇿🇦",description:i.southAfrica}]}))(d)],o=s.registerComponent(p,{tmpl:void 0,sel:"embeddedMessaging-emoji-library",apiVersion:66,enableSyntheticElementInternals:!0});i.default=o,Object.defineProperty(i,"__esModule",{value:!0})});
473})();LWR.define('embeddedmessaging/emojiLibrary', ['embeddedMessaging/emojiLibrary'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiPicker",["exports","lwc","embeddedmessaging/emojiCategorizedViewer","embeddedmessaging/emojiCategorySelector","embeddedMessaging/labelUtils","embeddedMessaging/emojiLibrary"],function(e,t,a,s,o,i){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=r(a),n=r(s),c=r(i);const l={"slds-popover__body":!0,"slds-p-around_none":!0},g={classMap:{"slds-popover__footer":!0,"slds-theme_shade":!0,"slds-p-around_none":!0},key:3},m={attrs:{"aria-label":"Emoji categories"},key:4};function y(e,t,a,s){const{gid:o,b:i,c:r,h:c}=e,{_m0:y,_m1:p}=s;return[c("div",{classMap:l,attrs:{"aria-describedby":o("emojiKeyboard")},key:0},[c("div",{attrs:{id:o("emojiKeyboard"),"aria-label":t.labels.InputFooterEmojiKeyboardAssistiveText},key:1},[r("embeddedmessaging-emoji-categorized-viewer",d.default,{props:{categories:t.state.emojiData,activeCategoryName:t.state.activeCategoryName},key:2,on:y||(s._m0={activecategorychanged:i(t.handleActiveCategoryChange)})})])]),c("footer",g,[c("nav",m,[r("embeddedmessaging-emoji-category-selector",n.default,{props:{categories:t.state.emojiCategoriesAndIcons,selectedCategoryName:t.state.activeCategoryName},key:5,on:p||(s._m1={categoryselected:i(t.handleCategorySelection)})})])])]}var p=t.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-fhcli587ef",y.legacyStylesheetToken="embeddedMessaging-emojiPicker_emojiPicker",t.freezeTemplate(y);const b=c.default.map(e=>({displayName:e.displayName,icon:e.icon}));class h extends t.LightningElement{constructor(...e){super(...e),this.state={emojiData:c.default,emojiCategoriesAndIcons:b,activeCategoryName:b[0].displayName},this.labels={}}connectedCallback(){this.handleLabels()}handleLabels(){this.labels.InputFooterEmojiKeyboardAssistiveText=o.getLabel("EmbeddedMessagingInputFooter","InputFooterEmojiKeyboardAssistiveText")}
473focus(){this.viewer.focus()}reset(){this.state.activeCategoryName=b[0].displayName}handleActiveCategoryChange(e){e.stopPropagation();const t=e.detail.name;this.state.activeCategoryName=t}handleCategorySelection(e){e.stopPropagation();const t=e.detail.categoryName;this.state.activeCategoryName=t}get viewer(){return this.template.querySelector("embeddedmessaging-emoji-categorized-viewer")}get categorySelector(){return this.template.querySelector("embeddedmessaging-emoji-category-selector")}focusOnFirstCategory(){this.categorySelector&&this.categorySelector.selectCategoryAndNotify(b[0].displayName)}focusOnLastCategory(){const e=b.length-1;this.categorySelector&&this.categorySelector.selectCategoryAndNotify(b[e].displayName)}}t.registerDecorators(h,{publicMethods:["focus","reset","focusOnFirstCategory","focusOnLastCategory"],track:{state:1,labels:1}});const u=t.registerComponent(h,{tmpl:p,sel:"embeddedMessaging-emoji-picker",apiVersion:66,enableSyntheticElementInternals:!0});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
474})();LWR.define('embeddedmessaging/emojiPicker', ['embeddedMessaging/emojiPicker'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/emojiContainer",["exports","lwc","lightning/buttonIcon","embeddedmessaging/emojiPicker","embeddedMessaging/labelUtils","embeddedMessaging/common","embeddedMessaging/globalEventStore"],function(e,t,i,o,s,n,l){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(i),m=r(o);var d=[function(e,t,i){var o=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: inline-flex;}.emojiKeyboard"+o+" {left: 0;bottom: 70px;margin: 0 10px 0 10px;width: fit-content;font-size: var(--baseFontSize, medium);max-height: 50%;overflow: auto;}.slds-nubbin_bottom-left"+o+":before,.slds-nubbin_bottom-left"+o+":after {margin-left: 1.25rem;}.slds-nubbin_bottom-right"+o+":before,.slds-nubbin_bottom-right"+o+":after {margin-right: 1.35rem;}.emojiButton"+o+" {height: 42px;}"}];const c={emojiButton:!0};function u(e,t,i,o){const{gid:s,b:n,c:l,ncls:r,h:d}=e,{_m0:u,_m1:b,_m2:h}=o;return[l("lightning-button-icon",a.default,{classMap:c,props:{type:"button",iconName:"utility:emoji",size:"large",variant:"bare",title:t.labels.InputFooterEmojiButtonAssistiveText,alternativeText:t.labels.InputFooterEmojiButtonAssistiveText,ariaHasPopup:t.isEmojiKeyboardOpen,id:s("emojiButton"),disabled:t.isDisabled},key:0,on:u||(o._m0={mousedown:n(t.onEmojiButtonMouseDown),click:n(t.onEmojiButtonClick)})}),d("div",{className:r(t.emojiPickerVisibility),key:1},[d("div",{className:r(t.emojiKeyboardClassName),attrs:{role:"dialog","aria-modal":"true","aria-label":t.labels.InputFooterEmojiKeyboardAssistiveText},key:2,on:b||(o._m1={focusout:n(t.onEmojiContainerBlur)})},[l("embeddedmessaging-emoji-picker",m.default,{key:3,on:h||(o._m2={keydown:n(t.onEmojiPickerKeyDown)})})])])]}var b=t.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-4mv06f81l3v",u.legacyStylesheetToken="embeddedMessaging-emojiContainer_emojiContainer",d&&u.stylesheets.push.apply(u.stylesheets,d),t.freezeTemplate(u);class h extends t.LightningElement{constructor(...e){super(...e),this.isEmojiKeyboardOpen=!1,this.cancelClosePopover=!1,this.labels={},this.isDisabled=void 0}get emojiPickerVisibility(){let e;return e=this.isEmojiKeyboardOpen?"slds-show":"slds-hide",e}get emojiKeyboardClassName(){return n.rtlUtil.isHtmlDirectionRTL()?"emojiKeyboard slds-popover slds-is-absolute slds-nubbin_bottom-right":"emojiKeyboard slds-popover slds-is-absolute slds-nubbin_bottom-left"}connectedCallback(){this.assignHandlers(),this.handleLabels(),this.applyStyling()}assignHandlers(){l.assignHandler(n.events.EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD,this.handleCloseEmojiPicker.bind(this))}handleLabels(){this.labels.InputFooterEmojiButtonAssistiveText=s.getLabel("EmbeddedMessagingInputFooter","InputFooterEmojiButtonAssistiveText"),this.labels.InputFooterEmojiKeyboardAssistiveText=s.getLabel("EmbeddedMessagingInputFooter","InputFooterEmojiKeyboardAssistiveText")}
474applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&e.sheet.insertRule("embeddedmessaging-emoji-container button.slds-button_icon { color: var(--inputFooterButton, #939393); height: 42px; bottom: 0.25rem; }",0)}handleOpenEmojiPicker(){this.isEmojiKeyboardOpen=!0,this.setFocusOnEmojiPicker()}handleCloseEmojiPicker(){this.isEmojiKeyboardOpen&&(this.isEmojiKeyboardOpen=!1,this.setFocusOnEmojiButton())}onEmojiButtonMouseDown(){this.cancelClosePopover=!0}onEmojiButtonClick(e){this.isEmojiKeyboardOpen?this.handleCloseEmojiPicker():this.handleOpenEmojiPicker(),this.cancelClosePopover=!1,n.LoggingUtil.logInteraction(e,this,"EmbeddedMessaging-EmojiContainer",{method:"onEmojiButtonClick"})}onEmojiContainerBlur(e){const t=this.querySelectEmojiPickerContainer();this.cancelClosePopover||(e.relatedTarget&&e.relatedTarget.className.includes("emojiButton")?this.setFocusOnLastElement():e.relatedTarget&&e.relatedTarget.className.includes("embeddedMessagingInputFooterTextArea")?this.setFocusOnFirstElement():t.contains(e.relatedTarget)||this.handleCloseEmojiPicker())}onEmojiPickerKeyDown(e){e.key===n.KEY_CODES.ESCAPE&&(e.preventDefault(),this.handleCloseEmojiPicker())}querySelectEmojiButton(){return this.template&&this.template.querySelector("lightning-button-icon.emojiButton")?this.template.querySelector("lightning-button-icon.emojiButton"):void 0}querySelectEmojiPickerContainer(){return this.template&&this.template.querySelector("div.emojiKeyboard")?this.template.querySelector("div.emojiKeyboard"):void 0}querySelectEmojiPicker(){return this.template&&this.template.querySelector("embeddedmessaging-emoji-picker")?this.template.querySelector("embeddedmessaging-emoji-picker"):void 0}setFocusOnEmojiButton(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiButton();e&&e.focus()})}setFocusOnEmojiPicker(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiPicker();e&&(e.reset(),e.focus())})}setFocusOnFirstElement(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiPicker();e&&e.focusOnFirstCategory()})}setFocusOnLastElement(){n.util.waitForFrame(()=>{const e=this.querySelectEmojiPicker();e&&e.focusOnLastCategory()})}}t.registerDecorators(h,{publicProps:{isDisabled:{config:0}},publicMethods:["handleCloseEmojiPicker"],track:{labels:1},fields:["isEmojiKeyboardOpen","cancelClosePopover"]});const g=t.registerComponent(h,{tmpl:b,sel:"embeddedMessaging-emoji-container",apiVersion:66,enableSyntheticElementInternals:!0});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
475})();LWR.define('embeddedmessaging/emojiContainer', ['embeddedMessaging/emojiContainer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/inputFooter",["exports","lwc","lightning/icon","embeddedmessaging/spinner","embeddedmessaging/fileAttachmentDefaultIcon","embeddedmessaging/fileAttachmentFooter","embeddedmessaging/emojiContainer","embeddedMessaging/common","embeddedMessaging/countdownTimer","embeddedMessaging/labelUtils","embeddedMessaging/globalEventStore","embeddedMessaging/constants","embeddedMessaging/participant","lightningsnapin/eventStore","embeddedmessaging/inAppService","embeddedMessaging/gaterService","embeddedMessaging/fileAttachmentFooter","embeddedMessaging/webStorageUtils"],function(e,t,s,n,a,i,o,r,l,d,h,c,u,g,m,p,E,T){function S(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=S(s),b=S(n),A=S(a),x=S(i),f=S(o),y=S(l);var _=[function(e,t,s){var n=e?"["+e+"]":"",a=e?"-"+e:"";return[t?":host {":(e?"["+e+"-host]":"")+" {","height: inherit;width: 100%;padding: 0 2px 0 2px;--slds-g-shadow-inset-focus-1: none;}textarea",n," {font-size: 0.875em;}textarea",n,"::placeholder {color: var(--secondaryText, #5C5C5C);}.embeddedMessagingInputTextAreaWrapper",n," {width: inherit;height: inherit;background-color: var(--slds-g-color-neutral-base-100, #ffffff);border: none;box-shadow: none;flex-grow: 1;position: relative;display: flex;align-items: center;}.embeddedMessagingInputFooterTextArea",n," {width: 100%;min-width: 0;flex: 1 1 0%;resize: none;padding-right: 2.5rem;color: var(--primaryText, #333333);border-color: var(--inputOutline, #747474);overflow-x: hidden;}
475",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embeddedMessagingInputFooterTextArea",n," {padding-left: 2.5rem;padding-right: 0.5rem;}.embeddedMessagingInputFooterTextArea:focus",n,' {box-shadow: none;border: 1px solid var(--slds-g-color-neutral-base-40, #5c5c5c);}.embeddedMessagingInputFooterTextArea[aria-disabled="true"]',n,' {background-color: var(--slds-g-color-neutral-base-95, #f3f3f3);border-color: var(--slds-g-color-border-base-1, #c9c9c9);cursor: not-allowed;user-select: none;caret-color: transparent;}.embeddedMessagingInputFooterTextArea[aria-disabled="true"]:active',n," {box-shadow: none;}.embeddedMessagingSendButtonWrapper",n," {max-width: 100%;position: absolute;right: 0;top: 50%;transform: translateY(-50%);}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .embeddedMessagingSendButtonWrapper",n," {left: 1.5rem;right: inherit;transform: translateY(-50%) scaleX(-1);}.embeddedMessagingSendButtonWrapper:hover",n," {outline: 0;transition-timing-function: ease-in-out;transition: all 0.2s;}.embeddedMessagingSendButton",n," {padding: 8px 0;height: 36px;}.fileAttachmentButtonWrapper",n,",.emojiButtonWrapper",n," {height: 100%;padding: 1rem 0 1rem 0.75rem;display: flex;align-items: center;flex: 0 1 auto;margin-bottom: 0;}",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .fileAttachmentButtonWrapper",n,",",s?"":'[dir="rtl"]'," ",s?":dir(rtl)":""," .emojiButtonWrapper",n," {padding: 1rem 0.75rem 1rem 0;}.fileAttachmentButtonWrapper:hover",n,",.emojiButtonWrapper:hover",n," {outline: 0;transition-timing-function: ease-in-out;transition: all 0.2s;}.attachmentsContainer",n," {position: relative;flex-grow: 1;border: none;padding-left: 1rem;background: transparent;}.attachmentPill",n," {color: var(--primaryText, #333333);max-width: 150px;}.attachmentPillIconContainer",n," {background: transparent;}.attachmentPillIconContainer",n,",.retryAttachmentButton",n," {box-sizing: border-box;display: inline-flex;align-items: center;justify-content: center;width: 1.5rem;height: 1.5rem;flex: 0 0 1.5rem;}.attachmentPillIconContainer",n," embeddedmessaging-spinner",n," {position: relative;display: inline-flex;width: 1rem;height: 1rem;}.attachmentPillControl",n," {background: transparent;pointer-events: all;cursor: pointer;}.removeAttachmentButton",n," {background: transparent;pointer-events: all;cursor: pointer;}.attachmentPillContent",n," {display: inline-flex;align-items: center;min-width: 0;}.attachmentPill_error",n," {border: 1px solid var(--errorColor, #ba0517);}.retryAttachmentButton",n," {background: transparent;pointer-events: all;cursor: pointer;}.attachmentErrorsContainer",n," {height: inherit;width: 40px;transform: scale(0.65) translateY(3rem) translateX(-1rem);}.attachmentErrorsContainer",n," {-webkit-animation: attachment-error-toast-fade-out",a," 5s linear forwards;animation: attachment-error-toast-fade-out",a," 5s linear forwards;}@keyframes attachment-error-toast-fade-out",a,"{from {opacity :1;}to {opacity :0;}}@-webkit-keyframes attachment-error-toast-fade-out{from",n," {opacity :1;}to",n," {opacity :0;}}.attachmentErrorsToast",n," {background-color: white;border: 2px solid red;}.attachmentErrorsTextContainer",n," {color: red;}.attachmentErrorsText",n," {font-weight: bold;}.attachmentErrorsIconContainer",n," {position: absolute;top: 50%;transform: translateY(-50%);}.errorMessageTextItem",n," {margin-left: 0.75rem;}.errorMessageTextItemContainer",n," {padding-left: 10px;}.attachmentsDiv",n," {z-index: 999;}.footerItemsContainer",n," {width: inherit;display: flex;}.newSessionButton",n," {height: 48px;min-height: 48px;background: var(--primaryButtonBackground, #444444);font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);border: none;}.newSessionButton:hover:not(.disabled)",n,' {background: var(--primaryButtonBackgroundHoverColor, #181818);}.newSessionButton[aria-disabled="true"]',n," {pointer-events: none;}.newSessionButton:focus",n," {outline: 2px solid var(--primaryButtonBackground, #444444);outline-offset: 2px;text-shadow: none;}.newSessionButtonText",n,' {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;color: var(--primaryButtonText, #ffffff);}.newSessionButtonText[aria-disabled="true"]',n," {opacity: 0.8;
475cursor: not-allowed;}"].join("")}];const I=t.parseFragment`<span class="slds-assistive-text${0}"${2}>Invalid attachment errors</span>`,M=t.parseFragment`<li class="slds-m-vertical_medium errorMessageTextItem${0}"${2}><div class="slds-notify__content attachmentErrorsTextContainer${0}"${2}><h3 class="slds-text-heading_small attachmentErrorsText${0}"${2}>${"t3"}</h3></div></li>`,w=t.parseFragment`<span class="slds-pill__label${0}"${"a0:title"}${2}>${"t1"}</span>`,B=t.parseFragment`<span class="slds-assistive-text${0}"${"a0:id"}${2}>${"t1"}</span>`,C=t.parseFragment`<textarea class="embeddedMessagingInputFooterTextArea slds-textarea slds-p-around_x-small${0}"${"a0:placeholder"}${"a0:aria-label"}${"a0:aria-disabled"} rows="1"${2}></textarea>`,F=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,N=t.parseFragment`<div class="form-footer slds-p-around_medium${0}"${2}><button class="newSessionButton slds-button slds-button_brand slds-button_stretch${0}"${"a1:title"}${"a1:id"}${2}><span class="newSessionButtonText${0}"${"a2:id"}${2}>${"t3"}</span></button></div>`,R={classMap:{"slds-notify_container":!0,"slds-is-relative":!0,attachmentErrorsContainer:!0},key:0},k={classMap:{"slds-p-around_none":!0,"slds-notify":!0,"slds-notify_toast":!0,"slds-theme_error":!0,attachmentErrorsToast:!0},attrs:{role:"alert","aria-live":"assertive"},key:1},U={classMap:{"slds-m-left_medium":!0,"slds-icon_container":!0,"slds-icon-utility-error":!0,"slds-m-right_small":!0,"slds-no-flex":!0,"slds-align-top":!0,attachmentErrorsIconContainer:!0},key:4},P={props:{iconName:"utility:error",alternativeText:"error",size:"small"},key:5},D={classMap:{"slds-m-left_x-large":!0,errorMessageTextItemContainer:!0},key:6},O={classMap:{"slds-pill_container":!0,attachmentsContainer:!0,"slds-m-top_medium":!0},key:9},L={"slds-listbox":!0,"slds-listbox_horizontal":!0,attachmentPillsList:!0},V={"slds-listbox-item":!0,"slds-p-around_xx-small":!0,attachmentPill:!0},$={role:"presentation"},W={"slds-icon_container":!0,attachmentPillControl:!0,retryAttachmentButton:!0},j={props:{iconName:"utility:refresh",size:"x-small"},key:14},G={attachmentPillContent:!0},z={classMap:{"slds-icon_container":!0,"slds-icon-standard-account":!0,"slds-pill__icon_container":!0,attachmentPillIconContainer:!0},key:16},K={props:{size:"xx-small",isInline:"true",spinnerColorToken:"--inputFooterButton"},key:17},H={key:18},q={"slds-icon_container":!0,"slds-pill__remove":!0,attachmentPillControl:!0,removeAttachmentButton:!0},Y={classMap:{footerItemsContainer:!0},key:26},X={classMap:{fileAttachmentButtonWrapper:!0,"slds-form-element":!0,"slds-p-right_small":!0},attrs:{role:"presentation",tabindex:"-1"},key:27},J={classMap:{emojiButtonWrapper:!0,"slds-p-left_small":!0},attrs:{role:"presentation",tabindex:"-1"},key:29},Z={classMap:{embeddedMessagingInputTextAreaWrapper:!0,"slds-p-around_small":!0},attrs:{role:"presentation",tabindex:"-1"},key:31},Q={classMap:{embeddedMessagingSendButtonWrapper:!0,"slds-m-right_large":!0},attrs:{role:"presentation",tabindex:"-1"},key:34},ee={"slds-button":!0,"slds-button_icon":!0,embeddedMessagingSendButton:!0},te={classMap:{sendButtonIcon:!0},props:{iconName:"utility:send",size:"small"},key:36};function se(e,t,s,n){const{st:a,c:i,h:o,k:r,d:l,sp:d,i:h,ncls:c,b:u,gid:g}=e,{_m0:m,_m1:p,_m2:E,_m3:T,_m4:S,_m5:y,_m6:_}=n;return[t.shouldShowInputFooter&&t.showInvalidAttachmentErrors?o("div",R,[o("div",k,[a(I,3),o("span",U,[i("lightning-icon",v.default,P)]),o("ul",D,h(t.generateInvalidAttachmentErrorMessages,function(e){return a(M,r(8,e.id),[d(3,null,l(e.text))])}))])]):null,t.shouldShowInputFooter&&t.showValidFileAttachmentSelection?o("div",O,[o("ul",{classMap:L,attrs:{role:"listbox","aria-orientation":"horizontal","aria-description":t.labels.SendFileAttachmentAssistiveText},key:10},h(t.validAttachmentsListMap,function(e){return o("li",{classMap:V,attrs:$,key:r(11,e.attachmentName)},[o("span",{className:c(e.attachmentPillClass),key:12},[e.showRetry?o("span",{classMap:W,attrs:{tabindex:"0","data-id":e.uploadId,role:"button","aria-label":e.retryAttachmentLabel,title:e.retryAttachmentLabel},key:13,on:m||(n._m0={click:u(t.handleRetryAttachment),keypress:u(t.handleRetryAttachment)})},[i("lightning-icon",v.default,j)]):null,o("span",{classMap:G,attrs:{id:g(e.attachmentName),role:"option",tabindex:"0","aria-selected":"true","aria-invalid":e.hasUploadError,"aria-label":e.attachmentName,"aria-describedby":g(e.pillAriaDescribedBy),title:e.uploadErrorLabel},key:15},[e.showRetry?null:o("span",z,[e.isUploading?i("embeddedmessaging-spinner",b.default,K):null,e.isUploading||e.attachmentIconType?null:i("embeddedmessaging-file-attachment-default-icon",A.default,H),e.isUploading?null:e.attachmentIconType?i("lightning-icon",v.default,{props:{iconName:e.attachmentIconType},key:19}):null]),a(w,21,[d(0,{attrs:{title:e.attachmentName}},null),d(1,null,l(e.attachmentName))]),e.hasUploadError?a(B,23,[d(0,{attrs:{id:g(e.errorDescriptionId)}},null),d(1,null,l(e.uploadErrorLabel))]):null]),o("span",{classMap:q,attrs:{tabindex:"0","data-id":e.uploadId,id:g("removeAttachmentButton"),role:"button","aria-label":e.removeAttachmentAssistiveText},key:24,on:p||(n._m1={click:u(t.handleRemoveAttachment),keypress:u(t.handleRemoveAttachment)})},[i("lightning-icon",v.default,{props:{iconName:"utility:close",size:"x-small",id:g("removeAttachmentButtonIcon")},key:25})])])])}))]):null,t.shouldShowInputFooter?o("div",Y,[t.showEndUserAttachments?o("div",X,[i("embeddedmessaging-file-attachment-footer",x.default,{props:{configuration:t.configuration,validAttachments:t.validAttachments,invalidAttachments:t.invali
475dAttachments,isDisabled:t.isDisabled},key:28,on:E||(n._m2={fileattachmentselected:u(t.handleFileAttachmentSelection)})})]):null,t.showEmojiPickerButton?o("div",J,[i("embeddedmessaging-emoji-container",f.default,{props:{isDisabled:t.isDisabled},key:30})]):null,o("div",Z,[t.showTextArea?a(C,33,[d(0,{on:S||(n._m4={input:u(t.handleInputChange),keydown:u(t.handleKeyChange),click:u(t.handleTextareaClick),focus:u(t.handleTextareaFocus)}),attrs:{placeholder:t.textareaPlaceholderText,"aria-label":t.textareaLabel,"aria-disabled":t.textareaAriaDisabled}},null)]):null,t.showSendButton?o("div",Q,[o("button",{classMap:ee,attrs:{title:t.labels.InputFooterSendButton,"aria-live":"off"},key:35,on:y||(n._m5={click:u(t.handleSendButtonClick),keydown:u(t.handleSendButtonKeyChange)})},[i("lightning-icon",v.default,te),a(F,38,[d(1,null,l(t.labels.InputFooterSendButtonAssistiveText))])])]):null])]):null,t.shouldShowInputFooter?null:a(N,40,[d(1,{on:_||(n._m6={click:u(t.handleNewSessionButtonClick)}),attrs:{title:t.newSessionButtonText,id:g("newSessionButton")}},null),d(2,{attrs:{id:g("newSessionButtonText")}},null),d(3,null,l(t.newSessionButtonText))])]}var ne=t.registerTemplate(se);se.stylesheets=[],se.stylesheetToken="lwc-64sju2rf0mv",se.legacyStylesheetToken="embeddedMessaging-inputFooter_inputFooter",_&&se.stylesheets.push.apply(se.stylesheets,_),t.freezeTemplate(se);const ae="EmbeddedMessaging-InputFooter",ie="uploading",oe="uploaded",re="failed",le="error";class de extends t.LightningElement{constructor(...e){super(...e),this.configuration=void 0,this.isMessageContentValid=!1,this.conversationStatus=void 0,this.conversationId=void 0,this.isMessageSendInProgress=!1,this.typingIndicatorTimer=void 0,this.isAgentTyping=void 0,this.labels={},this.validAttachments=[],this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[],this._pendingEntryId=null,this._uploadTracking=new Map,this._uploadStates={},this._inReplyToMessageId=void 0,this.conversationParticipants=void 0,this.isDisabled=void 0,this.initialRender=!0,this._announceInvalidAttachmentErrors=!1,this.sessionStatus=void 0,this.conversationData=void 0,this._textareaPlaceholderText="",this._textAreaValue=void 0,this._isTextAreaToBeShown=!0,this._newSessionButtonText=this.labels.StartNewSessionButtonText}get shouldShowInputFooter(){return!Boolean(this.configuration.snippetSettings.showStartNewSessionCTA)||!r.authUtil.isUserVerificationEnabled(this.configuration)||(!u.isEndUserOnlyParticipant(this.conversationParticipants)||(this.sessionStatus===c.SessionStatus.ACTIVE||this.sessionStatus===c.SessionStatus.WAITING))}get textareaPlaceholderText(){return this._textareaPlaceholderText?this._textareaPlaceholderText:u.isEndUserOnlyParticipant(this.conversationParticipants)?this.labels.InputFooterTextAreaPlaceholderEndUserOnlyParticipant:this.isDisabled&&this.conversationStatus===c.ConversationStatus.OPENED_CONVERSATION&&u.isBotParticipantPresent(this.conversationParticipants)?this.labels.InputFooterTextAreaPlaceHolderAwaitingResponse:this.labels.InputFooterTextAreaPlaceHolder}set textareaPlaceholderText(e){this._textareaPlaceholderText=e}get textareaLabel(){return this.textareaPlaceholderText||"Type a message"}get textareaAriaDisabled(){return this.isDisabled?"true":"false"}setInputAsReplyToChoices(e){e&&(this._inReplyToMessageId=e)}clearInputAsReplyToChoices(){this._inReplyToMessageId=void 0}connectedCallback(){this.applyStyling(),this.handleLabels(),this.configuration.embeddedServiceMessagingChannel.showEmojiSelection&&this.addEventListener("emojiselected",this.handleInsertEmoji.bind(this))}renderedCallback(){if(this.setFocusOnTextArea(),this.initialRender){if(!T.getItemInWebStorageByKey(c.STORAGE_KEYS.INPUT_FOOTER_RENDER_TIME)){const e=Date.now();T.setItemInWebStorage(c.STORAGE_KEYS.INPUT_FOOTER_RENDER_TIME,e),this.logTimeToWidgetReady(e)}this.initialRender=!1}if(this._announceInvalidAttachmentErrors&&this.invalidAttachmentErrorMessages&&this.invalidAttachmentErrorMessages.length){this._announceInvalidAttachmentErrors=!1;const e=this.invalidAttachmentErrorMessages.map(e=>e.text).join(". ");r.util.sendPostMessageToOrigin(r.util.getParentWindowUrl(),r.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:e})}}disconnectedCallback(){this.configuration.embeddedServiceMessagingChannel.showEmojiSelection&&this.removeEventListener("emojiselected",this.handleInsertEmoji.bind(this))}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet.insertRule("embeddedmessaging-input-footer lightning-icon.sendButtonIcon, embeddedmessaging-input-footer svg.slds-icon-text-default { fill: var(--inputFooterButton, #939393); }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-button:focus { box-shadow: none; border: 2px solid var(--inputFooterButton, #939393); color: var(--inputFooterButton, #939393) }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-button:hover { background-color: #F3F3F3 ; color: var(--inputFooterButton, #939393)}",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-pill { border-color: var(--inputOutline, #747474); }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-pill:focus { box-shadow: none; border: 1px solid var(--inputOutline, #747474); outline: 1px solid var(--inputOutline, #747474); outline-offset: 2px; }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-pill .slds-pill__remove:focus { box-shadow: none; outline: 1px solid var(--inputFooterButton, #939393); outline-offset: -2px; }",0),e.sheet.insertRule("embeddedmessaging-input-footer .slds-file-selector__input:focus~.slds-file-selector__body>.slds-file-selector__button { box-shadow: none; border: 1px solid var(--inputFooterButton, #939393); }",0)}handleInputChange(){this.isMessageSendInProgress||(this.validateMessageContent(),this.resizeTextArea(),""!==this.inputTextAreaValue&&0!==this.inputTextAreaValue.length&&(this.t
475ypingIndicatorTimer||(this.handleSendTypingIndicator(c.EntryTypes.TYPING_STARTED_INDICATOR),this.typingIndicatorTimer=new y.default(()=>{this.typingIndicatorTimer=void 0},5e3,Date.now()),this.typingIndicatorTimer.start())))}handleSendTypingIndicator(e){m.sendTypingIndicator(this.conversationId,e).catch(e=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e}}))})}sendMessage(){const e=r.util.uuid(),t=this._inReplyToMessageId||void 0,s=this.inputTextAreaValue;r.createConversationEntryUtil.createStaticContentTextEntry(s,e,t),this.handleSendingMessage(),this.clearInputAsReplyToChoices(),m.sendTextMessage(this.conversationId,s,e,t).catch(t=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:t,entryId:e}}))})}sendFileAttachmentMessage(e,t=!1){const s=r.util.uuid(),n=t?this.inputTextAreaValue:null,a=e;r.createConversationEntryUtil.createStaticContentAttachmentsEntry(s,a,n),t&&this.handleSendingMessage(),m.sendFileAttachment(this.conversationId,a,s,n).catch(e=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:s,attachedFile:a}}))})}handleSendingMessage(){this.clearMessageContent(),this.setFocusOnTextArea(),h.dispatchEvent(r.events.EMBEDDED_MESSAGING_END_USER_SENT_MESSAGE,{}),this.isMessageSendInProgress=!0,this.typingIndicatorTimer&&(this.typingIndicatorTimer.clear(),this.typingIndicatorTimer=void 0),this.validateMessageContent(),this.isMessageSendInProgress=!1}handleSendButtonClick(){if(p.hasMultiFileUploadSupport()&&this.validAttachments.length){if(this.isBatchedSendBlocked)return;this.sendBatchedAttachmentsMessage()}else this.isMessageContentValid&&1!==this.validAttachments.length&&this.sendMessage(),this.isMessageContentValid&&1===this.validAttachments.length?this.sendFileAttachmentMessage(this.validAttachments[0],!0):this.validAttachments.forEach(e=>{this.sendFileAttachmentMessage(e)}),this.validAttachments=[],this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[]}startEagerUploadsForValidAttachments(){if(!p.hasMultiFileUploadSupport())return;this._pendingEntryId||(this._pendingEntryId=r.util.uuid());
475const e=this._pendingEntryId;this.validAttachments.forEach(t=>{this._uploadTracking.has(t)||(t.__attachmentUploadId||(t.__attachmentUploadId=r.util.uuid()),this.uploadFile(t,e))})}uploadFile(e,t){const s={uploadStatus:ie,attachmentId:void 0,promise:void 0};this._uploadTracking.set(e,s),this.setUploadState(e,{status:ie}),s.promise=m.uploadAttachment(this.conversationId,t,e).then(t=>{const s=this._uploadTracking.get(e);s&&(s.uploadStatus=oe,s.attachmentId=t,this.setUploadState(e,{status:oe}))}).catch(t=>{const s=this._uploadTracking.get(e);if(s){const n=this.classifyUploadError(t);s.uploadStatus=n.status,this.setUploadState(e,n)}r.LoggingUtil.logError(t,ae,{method:"uploadFile",errMessage:"Eager attachment upload failed",errCode:t&&t.status})})}classifyUploadError(e){const t=e&&e.status;return{status:"number"==typeof t&&t>=400&&t<500&&408!==t&&429!==t?le:re}}setUploadState(e,t){this._uploadStates={...this._uploadStates,[e.__attachmentUploadId]:t}}_waitForUploads(){const e=[];for(const t of this._uploadTracking.values())t.promise&&e.push(t.promise);return Promise.all(e)}sendBatchedAttachmentsMessage(){const e=this.isMessageContentValid?this.inputTextAreaValue:null,t=this._pendingEntryId;this._pendingEntryId=null;const s=[...this.validAttachments];this.handleSendingMessage(),this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[],this._waitForUploads().then(()=>{const n=[],a=[];if(s.forEach(e=>{const t=this._uploadTracking.get(e);t&&t.uploadStatus===oe&&t.attachmentId&&(n.push(e),a.push(t.attachmentId))}),!a.length)return e&&!this.inputTextAreaValue.trim()&&(this.inputTextAreaValue=e),void r.LoggingUtil.logError("No attachments uploaded successfully",ae,{method:"sendBatchedAttachmentsMessage",errMessage:"Batched attachments send skipped; no uploads succeeded (failed files remain staged for retry)"});const i=new Set(s);this.validAttachments=this.validAttachments.filter(e=>!i.has(e)),i.forEach(e=>{this._uploadTracking.delete(e),this.clearUploadState(e)}),r.createConversationEntryUtil.createStaticContentAttachmentsEntry(t,n,e),m.sendAttachmentsMessage(this.conversationId,a,t,e).then(()=>{r.LoggingUtil.logCurrentState(ae,{method:"sendBatchedAttachmentsMessage",stateMessage:`Successfully sent batched Attachments message with ${a.length} attachment(s).`,convEntryId:t})}).catch(e=>{this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t,attachedFiles:n}}))})})}clearUploadState(e){if(e.__attachmentUploadId&&this._uploadStates[e.__attachmentUploadId]){const t={...this._uploadStates};delete t[e.__attachmentUploadId],this._uploadStates=t}}handleRetryAttachment(e){const t=e&&e.currentTarget&&e.currentTarget.dataset?e.currentTarget.dataset.id:void 0;if(!t)return;const s=this.validAttachments.find(e=>e.__attachmentUploadId===t),n=this._uploadStates[t];s&&n&&n.status===re&&(this._pendingEntryId||(this._pendingEntryId=r.util.uuid()),r.LoggingUtil.logInteraction(e,this,ae,{method:"handleRetryAttachment"}),this.uploadFile(s,this._pendingEntryId))}validateMessageContent(){this.isMessageContentValid=Boolean(this.inputTextAreaValue)&&0!==this.inputTextAreaValue.trim().length&&!this.isDisabled}handleTextareaClick(e){this.isDisabled?e.preventDefault():(h.dispatchEvent(r.events.EMBEDDED_MESSAGING_CLOSE_EMOJI_KEYBOARD,{}),this.setFocusOnTextArea())}handleKeyChange(e){if(this.isDisabled)e.preventDefault();
475else if(!this.isMessageSendInProgress&&void 0!==e.key&&!e.isComposing){const t=this.configuration&&this.configuration.embeddedServiceMessagingChannel&&this.configuration.embeddedServiceMessagingChannel.startNewLineOnEnter;e.key===r.KEY_CODES.ENTER&&e.altKey?t?(e.preventDefault(),this.handleSendButtonClick()):this.insertNewLineForTextArea():e.key!==r.KEY_CODES.ENTER||e.altKey?e.key!==r.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),this.getSendButton()?this.setFocusOnSendButton():g.dispatchMessagingEvent(g.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{})):(e.preventDefault(),t?this.insertNewLineForTextArea():this.handleSendButtonClick())}}handleTextareaFocus(){this.isDisabled&&g.dispatchMessagingEvent(g.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{})}handleSendButtonKeyChange(e){e.key!==r.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),g.dispatchMessagingEvent(g.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}insertNewLineForTextArea(){const e=this.getInputTextArea(),t=e.selectionStart,s=e.selectionEnd;e.value=e.value.slice(0,e.selectionStart)+"\n"+e.value.slice(e.selectionStart),e.selectionStart=t+1,e.selectionEnd=s+1,this.resizeTextArea()}clearMessageContent(){this.getInputTextArea().value="",this.resizeTextArea()}resizeTextArea(){const e=this.getInputTextArea(),t=this.getInnerWidth(e,["padding-left","padding-right"]),s=this.getStringLength(e,t);e.style.overflow="",s<=t?e.rows="1":s<=2*t?e.rows="2":s<=3*t?e.rows="3":s<=4*t?e.rows="4":(e.rows="4",e.style.overflowY="scroll",e&&e.selectionStart===this.inputTextAreaValue.length&&(e.scrollTop=e.scrollHeight))}setFocusOnTextArea(){r.util.waitForFrame(()=>{const e=this.getInputTextArea();e&&e.focus()})}setFocusOnSendButton(){r.util.waitForFrame(()=>{const e=this.getSendButton();e&&e.focus()})}getInnerWidth(e,t){let s=0,n=0,a=0;return t.forEach(t=>{s+=parseInt(window.getComputedStyle(e)[t],10)}),n=parseInt(window.getComputedStyle(e).width,10),a=n-s,a}getLastLineValue(e){const t=e.pop();return t||" "}getStringLength(e,t){const s=window.getComputedStyle(e)["font-size"]+" "+window.getComputedStyle(e)["font-family"],n=document.createElement("canvas").getContext("2d"),a=this.inputTextAreaValue.split("\n"),i=a.length;if(n.font=s,1===i)return n.measureText(this.inputTextAreaValue).width;const o=this.getLastLineValue(a);return t*(i-1)+n.measureText(o).width}getInputTextArea(){return this.template&&this.template.querySelector("textarea")?this.template.querySelector("textarea"):void 0}get inputTextAreaValue(){const e=this.getInputTextArea();return e?e.value:""}set inputTextAreaValue(e){r.util.waitForFrame(()=>{const t=this.getInputTextArea();t&&(t.value=e,t.dispatchEvent(new CustomEvent("input"))),this.validateMessageContent()})}getSendButton(){return this.template&&this.template.querySelector(".embeddedMessagingSendButtonWrapper > .embeddedMessagingSendButton")?this.template.querySelector(".embeddedMessagingSendButtonWrapper > .embeddedMessagingSendButton"):void 0}handleLabels(){this.labels.InputFooterTextAreaPlaceHolder=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceHolder"),this.labels.InputFooterTextAreaPlaceholderEndUserOnlyParticipant=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceholderEndUserOnlyParticipant"),this.labels.InputFooterTextAreaPlaceHolderAwaitingResponse=d.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceHolderAwaitingResponse"),this.labels.InputFooterSendButton=d.getLabel("EmbeddedMessagingInputFooter","InputFooterSendButton"),this.labels.InputFooterSendButtonAssistiveText=d.getLabel("EmbeddedMessagingInputFooter","InputFooterSendButtonAssistiveText"),this.labels.MaximumNumberOfFilesAllowedErrorText=d.getLabel("EmbeddedMessagingFileAttachments","MaximumNumberOfFilesAllowedErrorText"),this.labels.UnsupportedFileTypeErrorText=d.getLabel("EmbeddedMessagingFileAttachments","UnsupportedFileTypeErrorText"),this.labels.FileExceededSizeLimitErrorText=d.getLabel("EmbeddedMessagingFileAttachments","FileExceededSizeLimitErrorText"),this.labels.RemoveAttachmentButtonAssistiveText=d.getLabel("EmbeddedMessagingFileAttachments","RemoveAttachmentButtonAssistiveText"),this.labels.SendFileAttachmentAssistiveText=d.getLabel("EmbeddedMessagingFileAttachments","SendFileAttachmentAssistiveText"),this.labels.NotSent=d.getLabel("EmbeddedMessagingConversationState","NotSent"),this.labels.MessageResendButtonText=d.getLabel("EmbeddedMessagingConversationState","MessageResendButtonText"),this.labels.StartNewSessionButtonText=d.getLabel("EmbeddedMessagingInputFooter","StartNewMessagingSessionButtonText"),this.labels.NewSessionButtonLoadingText=d.getLabel("EmbeddedMessagingPrechat","PrechatSubmitButtonLoading")}get showEndUserAttachments(){switch(this.conversationStatus){case c.ConversationStatus.OPENED_CONVERSATION:return E.allowEndUserFileAttachments(this.configuration);case c.ConversationStatus.NOT_STARTED_CONVERSATION:case c.ConversationStatus.CLOSED_CONVERSATION:default:return!1}}getFileAttachmentsComponent(){return this.template&&this.template.querySelector("embeddedmessaging-file-attachment-footer")?this.template.querySelector("embeddedmessaging-file-attachment-footer"):void 0}handleFileAttachmentSelection(e){this._textAreaValue=this.inputTextAreaValue,e&&e.detail&&(e.detail.validAttachments&&(this.validAttachments=e.detail.validAttachments,r.LoggingUtil.logCurrentState(ae,{method:"handleFileAttachmentSelection",stateMessage:`${e.detail.validAttachments.length} valid files attached of type ${e.detail.validAttachments.map(({type:e})=>e)}.`}),this.startEagerUploadsForValidAttachments()),e.detail.invalidAttachments&&(this.invalidAttachments=e.detail.invalidAttachments,this._announceInvalidAttachmentErrors=!0),this.validateMessageContent(),this.setFocusOnSendButton())}handleRemoveAttachment(e){const t=e&&e.currentTarget&&e.currentTarget.dataset?e.currentTarget.dataset.id:void 0,s=t?this.validAttachments.find(e=>e.__attachmentUploadId===t):void 0,n=s?s.name:e&&e.currentTarget&&e.currentTarget.parentNode&&e.currentTarget.parentNode.childNodes[1]&&e.currentTarget.parentNode.childNodes[1].title?e.currentTarget.parentNode.childNodes[1].title:"";for(const e of this._uploadTracking.keys())e.name===n&&this._uploadTracking.delete(e);this.validAttachments.filter(e=>
475e.name===n).forEach(e=>this.clearUploadState(e)),this.validAttachments=this.validAttachments.filter(e=>e.name!==n),this.validAttachments.length||(this._pendingEntryId=null),r.LoggingUtil.logInteraction(e,this,ae,{method:"handleRemoveAttachment"}),r.LoggingUtil.logCurrentState(ae,{method:"handleRemoveAttachment",stateMessage:`Attachment of type ${n.substr(n.lastIndexOf("."))} removed.`})}get showValidFileAttachmentSelection(){return!(!E.allowEndUserFileAttachments(this.configuration)||!this.validAttachments.length)}get showInvalidAttachmentErrors(){return!(!E.allowEndUserFileAttachments(this.configuration)||!this.invalidAttachments.length)}get generateInvalidAttachmentErrorMessages(){const e=this.configuration.attachments.maxFileSize||E.MAX_FILE_UPLOAD_SIZE;let t="",s="";if(this.validAttachments.length+this.invalidAttachments.length>E.MAX_NUMBER_ATTACHMENTS_ALLOWED){const e={};return e.id=this.labels.MaximumNumberOfFilesAllowedErrorText,e.text=this.labels.MaximumNumberOfFilesAllowedErrorText,this.invalidAttachmentErrorMessages=[...this.invalidAttachmentErrorMessages,e],setTimeout(()=>{this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[]},5e3),this.invalidAttachmentErrorMessages}if(this.invalidAttachments.length){for(const n of this.invalidAttachments){const a=n.name.split(".").pop().toLowerCase();this.allowedFileTypes.split(",").map(e=>e.trim().replace(/^\./,"").toLowerCase()).includes(a)||(t?t+=`, ${n.name}`:t=n.name);const i=n.size,o=E.getFileSizeInBinaryFromDecimal(i);o&&o>e&&!t.includes(n.name)&&(s?s+=`, ${n.name}`:s=n.name)}if(t){const e={"{0}":t};this.labels.UnsupportedFileTypeErrorText=r.util.replacePlaceholdersInString(d.getLabel("EmbeddedMessagingFileAttachments","UnsupportedFileTypeErrorText"),e);const s={};s.id=this.labels.UnsupportedFileTypeErrorText,s.text=this.labels.UnsupportedFileTypeErrorText,this.invalidAttachmentErrorMessages=[...this.invalidAttachmentErrorMessages,s]}if(s){const t={"{0}":s,"{1}":E.getSizeinMegaByte(e)};this.labels.FileExceededSizeLimitErrorText=r.util.replacePlaceholdersInString(d.getLabel("EmbeddedMessagingFileAttachments","FileExceededSizeLimitErrorText"),t);const n={};n.id=this.labels.FileExceededSizeLimitErrorText,n.text=this.labels.FileExceededSizeLimitErrorText,this.invalidAttachmentErrorMessages=[...this.invalidAttachmentErrorMessages,n]}return setTimeout(()=>{this.invalidAttachments=[],this.invalidAttachmentErrorMessages=[],t="",s=""},5e3),this.invalidAttachmentErrorMessages}return[]}get allowedFileTypes(){return E.allowedFileTypes(this.configuration)}get validAttachmentsListMap(){const e=[];for(const t of this.validAttachments){const s={},n={"{0}":t.name};s.attachment=t,s.attachmentName=t.name,s.attachmentIconType=E.getFileAttachmentIconType(t.type),s.removeAttachmentAssistiveText=r.util.replacePlaceholdersInString(d.getLabel("EmbeddedMessagingFileAttachments","RemoveAttachmentButtonAssistiveText"),n);const a=t.__attachmentUploadId,i=a&&this._uploadStates[a]||void 0,o=Boolean(i)&&i.status===re,l=Boolean(i)&&i.status===le;s.uploadId=a,s.hasUploadError=o||l,s.isUploading=Boolean(i)&&i.status===ie,s.showRetry=o,s.uploadErrorLabel=s.hasUploadError?this.labels.NotSent:void 0,s.retryAttachmentLabel=this.labels.MessageResendButtonText,s.attachmentPillClass=s.hasUploadError?"slds-pill attachmentPill attachmentPill_error":"slds-pill attachmentPill",s.errorDescriptionId=a?`attachmentUploadError-${a}`:void 0,s.pillAriaDescribedBy=s.hasUploadError?s.errorDescriptionId:void 0,e.push(s)}return e}get showTextArea(){return this._isTextAreaToBeShown||!this.showEndUserAttachments}set showTextArea(e){this._isTextAreaToBeShown=e}get isBatchedSendBlocked(){if(!p.hasMultiFileUploadSupport()||!this.validAttachments.length)return!1;const e=this.validAttachments.map(e=>this._uploadStates[e.__attachmentUploadId]),t=e.some(e=>e&&e.status===ie),s=e.some(e=>e&&e.status===oe);return t||!s}get showSendButton(){return(this.isMessageContentValid||this.validAttachments.length)&&this.conversationStatus===c.ConversationStatus.OPENED_CONVERSATION&&!this.isDisabled&&!this.isBatchedSendBlocked}get showEmojiPickerButton(){switch(this.conversationStatus){case c.ConversationStatus.OPENED_CONVERSATION:return this.configuration.embeddedServiceMessagingChannel.showEmojiSelection&&this.showTextArea;case c.ConversationStatus.NOT_STARTED_CONVERSATION:case c.ConversationStatus.CLOSED_CONVERSATION:default:return!1}}handleInsertEmoji(e){let t,s,n,a,i;this.isDisabled||e&&e.detail&&e.detail.emoji&&(e.stopPropagation(),i=e.detail.emoji,t=this.getInputTextArea(),t&&(s=this.inputTextAreaValue,n=t.selectionStart,a=t.selectionEnd,i.length&&"string"==typeof s&&"number"==typeof n&&"number"==typeof a?(this.inputTextAreaValue=s.substring(0,n)+i+s.substring(a,s.length),t.selectionStart=n+i.length,t.selectionEnd=a+i.length,r.util.waitForFrame(()=>{t&&(t.focus(),t.blur())})):r.warning("Unable to insert emoji "+i+" into chat."))),this.handleCloseEmojiKeyboard()}handleCloseEmojiKeyboard(){const e=this.querySelectEmojiPicker();e&&e.handleCloseEmojiPicker()}querySelectEmojiPicker(){return this.template&&this.template.querySelector("embeddedmessaging-emoji-container")?this.template.querySelector("embeddedmessaging-emoji-container"):void 0}logTimeToWidgetReady(e){const t=T.getItemInWebStorageByKey(c.STORAGE_KEYS.PRECHAT_SUBMIT_TIME)||T.getItemInWebStorageByKey(c.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME),s=this.configuration&&this.configuration.traceHeaders&&this.configuration.traceHeaders["x-b3-traceId"],n=this.configuration&&this.configuration.traceHeaders&&this.configuration.traceHeaders["x-b3-spanId"];try{if(isNaN(t))r.LoggingUtil.logError("Time To Widget Ready",ae,{method:"logTimeToWidgetReady",errMessage:`[Time To Widget Ready] Unable to calculate Time To Widget Ready - Expected a valid numerical Input Footer initiator time, instead received: ${t}`});else if(isNaN(e))r.LoggingUtil.logError("Time To Widget Ready",ae,{method:"logTimeToWidgetReady",errMessage:`[Time To Widget Ready] Unable to calculate Time To Widget Ready - Expected a valid numerical Input Footer render time, instead received: ${e}`});else{const a=r.util.getEpochTimesDiffInSeconds(t,e);r.LoggingUtil.logCurrentState(ae,{method:"logTimeToWidgetReady",stateMessage:`[Time To Widget Ready][x-b3-traceId:${s};x-b3-spandId:${n}] Time To Widget Ready is ${a} seconds`})}}catch(s){r.LoggingUtil.logError(s,ae,{method:"logTimeToWidgetReady",errMessage:`[Time To Widget Ready] Something went wrong while calculating Time To Widget Ready with Input Footer initiator time: ${t} and Input Footer render time: ${e}`})}}get newSessionButtonText(){return this.sessionStatus===c.SessionStatus.ENDED?this.labels.StartNewSessionButtonText:this.conversationData.isExistingConversation?(u.isEndUserOnlyParticipant(this.conversationParticipants),this.labels.StartNewSessionButtonText):this._newSessionButtonText}set newSessionButtonText(e){this._newSessionButtonText=e}querySelectNewSessionButton(){return this.template&&this.template.querySelector("button.newSessionButton")?this.template.querySelector("button.newSessionButton"):void 0}enableNewSessionButton(e){const t=this.querySelectNewSessionButton();t&&(e?(t.removeAttribute("disabled"),t.removeAttribute("aria-disabled"),t.classList.remove("disabled")):(t.setAttribute("disabled","true"),t.setAttribute("aria-disabled","true"),t.classList.add("disabled")))}handleNewSessionButtonClick(e){if(!e)return;if(!this.querySelectNewSessionButton())return;r.LoggingUtil.logInteraction(e,this,ae,{method:"handleNewSessionButtonClick"}),this.enableNewSessionButton(!1),this.newSessionButtonText=this.labels.NewSessionButtonLoadingText;const t=r.util.uuid();r.createConversationEntryUtil.createStaticContentTextEntry(c.HIDDEN_MESSAGE_CONTENT,t),m.sendTextMessage(this.conversationId,c.HIDDEN_MESSAGE_CONTENT,t).then(()=>{r.LoggingUtil.logCurrentState(ae,{method:"handleNewSessionButtonClick",stateMessage:"Successfully sent a message to start a new messaging session.",convEntryId:t}),this.enableNewSessionButton(!0),this.newSessionButtonText=this.labels.StartNewSessionButtonText}).catch(e=>{r.LoggingUtil.logError(e,ae,{method:"handleNewSessionButtonClick",errMessage:"Failed to send a message to start a new messaging session. Reverting the button status to initial.",errCode:e.status,convEntryId:t}),this.dispatchEvent(new CustomEvent(r.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t}})),this.enableNewSessionButton(!0),this.newSessionButtonText=this.labels.StartNewSessionButtonText})}}t.registerDecorators(de,{publicProps:{configuration:{config:0},conversationStatus:{config:0},conversationId:{config:0},isAgentTyping:{config:0},conversationParticipants:{config:0},isDisabled:{config:0},sessionStatus:{config:0},conversationData:{config:0},textareaPlaceholderText:{config:3}},publicMethods:["setInputAsReplyToChoices","clearInputAsReplyToChoices","handleInputChange","sendMessage","handleSendButtonClick","setFocusOnTextArea"],track:{labels:1,_uploadStates:1},fields:["isMessageContentValid","isMessageSendInProgress","typingIndicatorTimer","validAttachments","invali
475dAttachments","invalidAttachmentErrorMessages","_pendingEntryId","_uploadTracking","_inReplyToMessageId","initialRender","_announceInvalidAttachmentErrors","_textareaPlaceholderText","_textAreaValue","_isTextAreaToBeShown","_newSessionButtonText"]});const he=t.registerComponent(de,{tmpl:ne,sel:"embeddedMessaging-input-footer",apiVersion:66,enableSyntheticElementInternals:!0});e.default=he,Object.defineProperty(e,"__esModule",{value:!0})});
476})();LWR.define('embeddedmessaging/inputFooter', ['embeddedMessaging/inputFooter'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/chatWebViewOverlay",["exports","lwc","embeddedmessaging/confirmationDialog","embeddedMessaging/labelUtils","embeddedMessaging/common","lightningsnapin/eventStore"],function(e,i,t,o,a,n){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(t);var r=[function(e,i,t){var o=e?"["+e+"]":"";return(i?":host {":(e?"["+e+"-host]":"")+" {")+"font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);}.web-view-overlay"+o+",.web-view-overlay-frame"+o+",.web-view-overlay-confirmation-dialog"+o+" {display: flex;flex-direction: column;flex: 1 1 auto;text-align: center;align-content: stretch;justify-content: center;height: calc(100vh - var(--header-height, 50px) - var(--notification-height, 0px));width: 100%;background: var(--slds-g-color-neutral-base-100, #FFFFFF);}iframe.web-view-overlay-frame-confirmation-dialog"+o+",iframe.web-view-overlay-frame"+o+" {border: 0;}iframe.web-view-overlay-frame-confirmation-dialog"+o+" {visibility: hidden;}.confirmation-dialog-content"+o+" {display: flex;flex-direction: column;flex: 1 1 auto;justify-content: center;text-align: center;padding: 0 24px;}h3.confirmation-dialog-title"+o+" {margin: 0 0 4px;font-size: 1.125em;font-weight: 700;line-height: 27px;}span.confirmation-dialog-body"+o+" {margin: 4px 0 0;font-size: 0.75em;font-weight: 400;line-height: 21px;}.confirmation-dialog-footer"+o+" {flex: 0 1 auto;padding: 0 24px 16px;box-sizing: border-box;}.confirmation-dialog-button"+o+" {border-radius: 22px;}.confirmation-dialog-button"+o+" > button"+o+" {height: 48px;min-height: 48px;margin: 0 0 8px;border: none;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}"}];const d={classMap:{"web-view-overlay":!0},key:0};function c(e,i,t,o){const{ncls:a,h:n,b:l,c:r}=e,{_m0:c}=o;return[n("div",d,[n("iframe",{className:a(i.generateWebviewOverlayFrameClass),attrs:{name:"messaging_postChatURL",title:i.iframeTitle,src:i.url},key:1}),i.displayConfirmationDialog?r("embeddedmessaging-confirmation-dialog",s.default,{props:{dialogTitleText:i.labels.DialogTitleText,dialogBodyText:i.labels.DialogBodyText,confirmButtonLabel:i.labels.ConfirmButtonLabel,cancelButtonLabel:i.labels.CancelButtonLabel},key:2,on:c||(o._m0={confirmbuttonclick:l(i.onConfirmButtonClick),cancelbuttonclick:l(i.onCancelButtonClick)})}):null])]}var g=i.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-6vgef9us112",c.legacyStylesheetToken="embeddedMessaging-chatWebViewOverlay_chatWebViewOverlay",r&&c.stylesheets.push.apply(c.stylesheets,r),i.freezeTemplate(c);const m="EmbeddedMessaging-ChatWebViewOverlay",h="toggleoverlay";class b extends i.LightningElement{constructor(...e){super(...e),this.url=void 0,this.title=void 0,this.iframeTitle=void 0,this.labels={},this.displayConfirmationDialog=void 0}get generateWebviewOverlayFrameClass(){let e="web-view-overlay-frame";return this.displayConfirmationDialog&&(e+="-confirmation-dialog"),e}connectedCallback(){this.handleLabels(),this.iframeTitle=this.title||this.labels.OverlayTitle}disconnectedCallback(){window.removeEventListener("securitypolicyviolation",this.handleWebViewWindowSecurityPolicyViolation)}renderedCallback(){n.dispatchMessagingEvent(n.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!this.displayConfirmationDialog}),this.addEventListeners()}addEventListeners(){window.addEventListener("securitypolicyviolation",this.handleWebViewWindowSecurityPolicyViolation)}handleWebViewWindowSecurityPolicyViolation(e){e&&a.LoggingUtil.logError("Web View URL blocked by CSP errors",m,{method:"addEventListeners",errMessage:`Refused to frame ${e.blockedURI} because it violates the following Content Security Policy directive: ${e.violatedDirective} - Original Policy: ${e.originalPolicy}`})}handleLabels(){this.labels.OverlayTitle=o.getLabel("EmbeddedMessagingPostchat","PostchatFrameTitle"),this.labels.DialogTitleText=o.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogTitleText"),this.labels.DialogBodyText=o.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogBodyText"),this.labels.ConfirmButtonLabel=o.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogConfirmButton"),this.labels.CancelButtonLabel=o.getLabel("EmbeddedMessagingPostchat","PostchatConfirmationDialogCancelButton")}hideWebViewOverlay(){this.dispatchEvent(new CustomEvent(h,{detail:{displayOverlay:!1}}))}onConfirmButtonClick(e){this.hideWebViewOverlay(),a.LoggingUtil.logInteraction(e,this,m,{method:"onConfirmButtonClick"})}onCancelButtonClick(e){this.dispatchEvent(new CustomEvent(h,{detail:{hideConfirmtaionDialog:!0}})),a.LoggingUtil.logInteraction(e,this,m,{method:"onCancelButtonClick"})}querySelectWebViewIframe(){return this.template&&this.template.querySelector("iframe")?this.template.querySelector("iframe"):void 0}}i.registerDecorators(b,{publicProps:{url:{config:0},title:{config:0},displayConfirmationDialog:{config:0}},track:{labels:1},fields:["iframeTitle"]});const f=i.registerComponent(b,{tmpl:g,sel:"embeddedMessaging-chat-web-view-overlay",apiVersion:66,enableSyntheticElementInternals:!0});
476e.default=f,Object.defineProperty(e,"__esModule",{value:!0})});
477})();LWR.define('embeddedmessaging/chatWebViewOverlay', ['embeddedMessaging/chatWebViewOverlay'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryMessage",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/labelUtils"],function(t,e,s,i,a,n){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=o(s);function l(t){try{a.validateString(t)}catch(e){a.error(`text message ${t} is not valid. ${e}`)}}function h(t){try{a.validateObject(t),a.validateString(t.name)}catch(e){a.error(`text message ${JSON.stringify(t)} is not valid. ${e}`)}}function c(t){try{for(const e of t)a.validateString(e.optionIdentifier),a.validateString(i.getOptionTitle(e))}catch(e){a.error(`choices message ${JSON.stringify(t)} is not valid. ${e}`)}}function d(t){try{a.validateObject(t),a.validateString(t.optionIdentifier)}catch(e){a.error(`selections message ${JSON.stringify(t)} is not valid. ${e}`)}}function m(t){try{a.validateObject(t),a.validateString(i.getTitle(t))}catch(e){a.error(`form title ${t} is not valid. ${e}`)}}function y(t){try{a.validateArray(t),0===t.length&&a.error("form must contain at least one section");for(const e of t){const t=e.sectionType,s=e.input;a.validateString(t),a.validateObject(s),a.validateString(i.getTitle(s.label)),a.validateString(s.inputType)}}catch(e){a.error(`form selections ${t} is not valid. ${e}`)}}const u=new WeakMap;class g extends r.default{constructor(t,e,s,i,n,o,r,l,h,c=null,d=!1){super(t,e,s,i,n,o,r,l,h,d),this._messageReason=void 0,this._isLastInGroup=void 0,this._hasSendFailed=!1,this._isServerSentEntry=!1,this._isSent=!1,this._isRead=!1,this._readByParticipantIds=new Set,this._readAcknowledgementTimestamp=void 0,this._inReplyToMessageId=void 0,this._isSelectedOrRepliedTo=!1,this._formState=void 0,c&&a.isString(c)&&(this._messageReason=c),super.validate()}get publicConversationEntry(){return{entryType:this.entryType,entryPayload:JSON.stringify({entryType:this.entryType,id:this.messageId,abstractMessage:this.content,messageReason:this.messageReason}),transcriptedTimestamp:this.transcriptedTimestamp,senderDisplayName:this.actorName,sender:this.sender,identifier:this.messageId}}get messageReason(){return this._messageReason}set messageReason(t){this._messageReason=t}get isLastInGroup(){return this._isLastInGroup}set isLastInGroup(t){this._isLastInGroup=t}get hasSendFailed(){return this._hasSendFailed}set hasSendFailed(t){this._hasSendFailed=t}get isServerSentEntry(){return this._isServerSentEntry}set isServerSentEntry(t){this._isServerSentEntry=t}get isSent(){return this._isSent}set isSent(t){this._isSent=t}get isRead(){return this._isRead}set isRead(t){this._isRead=t}get readByParticipantIds(){return this._readByParticipantIds}set readByParticipantIds(t){this._readByParticipantIds=t}get readAcknowledgementTimestamp(){return this._readAcknowledgementTimestamp}set readAcknowledgementTimestamp(t){this._readAcknowledgementTimestamp=t}get inReplyToMessageId(){return this._inReplyToMessageId}set inReplyToMessageId(t){this._inReplyToMessageId=t}get isSelectedOrRepliedTo(){return this._isSelectedOrRepliedTo}set isSelectedOrRepliedTo(t){this._isSelectedOrRepliedTo=t}get youtubeEmbedLinks(){if(!u.has(this)){let t="";this.contentPayload&&this.contentPayload.text?t=this.contentPayload.text:this.linkItem&&this.linkItem.url&&(t=this.linkItem.url),u.set(this,this.extractYoutubeVideoIds(t))}return u.get(this)}get hasYoutubeEmbedLinks(){return!!this.youtubeEmbedLinks.length}extractYoutubeVideoIds(t){const e=[];let s;for(;null!==(s=a.YOUTUBE_VIDEO_IDS_REGEX.exec(t));)e.push(`https://www.youtube.com/embed/${s.groups.videoId}`);return e}get contentPayload(){switch(this.messageType){case i.MessageTypes.STATIC_CONTENT_MESSAGE:return this.content&&this.content.staticContent?this.content.staticContent:null;case i.MessageTypes.CHOICES_MESSAGE:return this.content&&this.content.choices?this.content.choices:null;case i.MessageTypes.CHOICES_RESPONSE_MESSAGE:return this.content&&this.content.choicesResponse?this.content.choicesResponse:null;case i.MessageTypes.FORM_MESSAGE:return this.content&&this.content.form?this.content.form:null;case i.MessageTypes.FORM_RESPONSE_MESSAGE:return this.content&&this.content.formResponse?this.content.formResponse:null;default:return a.error(`Unable to retrieve content payload for unrecognized message type: ${this.messageType}`),null}}get formatType(){return this.contentPayload&&this.contentPayload.formatType?this.contentPayload.formatType:null}get displayType(){return this.contentPayload&&this.contentPayload.displayType?this.contentPayload.displayType:null}get isMessageOutbound(){return this.isConversationMessage&&this.actorType===i.ParticipantRoles.ENDUSER}get isStaticContentMessage(){return this.isChatMessage&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&(this.formatType===i.FormatTypes.TEXT||this.formatType===i.FormatTypes.RICH_LINK||this.formatType===i.FormatTypes.ATTACHMENTS)}get isStaticText(){return this.isStaticContentMessage&&this.formatType===i.FormatTypes.TEXT}get staticTextContent(){return this.isStaticText&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get parsedStaticTextContent(){return this.isStaticText&&this.contentPayload&&this.contentPayload.text?a.util.parseStaticText(this.contentPayload.text):[]}get parsedStaticTextContentToHtml(){return this.isStaticText&&this.contentPayload&&this.contentPayload.text?a.util.parseMarkdownToHtml(this.contentPayload.text):""}get staticTextCitations(){return this.isStaticText&&this.contentPayload&&this.contentPayload.citationContent&&this.contentPayload.citationContent.citations?this.contentPayload.citationContent.citations:[]}get hasMessageCitations(){return Boolean(this.staticTextCitations.length)}get isAttachments(){return this.isStaticContentMessage&&this.formatType===i.FormatTypes.ATTACHMENTS}get attachments(){return this.isAttachments&&this.contentPayload&&this.contentPayload.attachments&&this.contentPayload.attachments.length?this.contentPayload.attachments:[]}get attachmentPayload(){return this.isAttachments&&this.contentPayload&&this.contentPayload.attachments&&this.contentPayload.attachments.length?this.contentPayload.attachments[0]:null}get attachmentDownloadURL(){return this.attachmentPayload&&this.attachmentPayload.url?this.attachmentPayload.url:null}get attachmentName(){return this.attachmentPayload&&this.attachmentPayload.name?this.attachmentPayload.name:""}get staticTextInAttachmentsEntry(){return this.isAttachments&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get attachmentsAccessibilityText(){return this.staticTextInAttachmentsEntry?this.staticTextInAttachmentsEntry+" "+this.attachmentName:this.attachmentName}get isRichLink(){return this.isChatMessage&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&this.content&&this.content.staticContent&&this.content.staticContent.formatType&&this.content.staticContent.formatType===i.FormatTypes.RICH_LINK}get linkItem(){return this.isRichLink&&this.content.staticContent.linkItem?this.content.staticContent.linkItem:null}get linkImageItem(){return this.isRichLink&&this.content.staticContent.image?this.content.staticContent.image:null}get linkTitle(){return this.linkItem&&this.linkItem.titleItem&&this.linkItem.titleItem.title&&this.linkItem.titleItem.title.length?this.linkItem.titleItem.title:null}get linkUrl(){return this.linkItem&&this.linkItem.url&&this.linkItem.url.length?this.linkItem.url:null}get linkImageUrl(){return this.linkImageItem&&this.linkImageItem.assetUrl&&this.linkImageItem.assetUrl.length?this.linkImageItem.assetUrl:null}get isChoices(){return this.isChatMessage&&this.messageType===i.MessageTypes.CHOICES_MESSAGE&&(this.formatType===i.FormatTypes.BUTTONS||this.formatType===i.FormatTypes.QUICK_REPL
477IES||this.formatType===i.FormatTypes.CAROUSELS)}get isChoicesButtons(){return this.isChoices&&this.formatType===i.FormatTypes.QUICK_REPLIES}get isChoicesMenu(){return this.isChoices&&this.formatType===i.FormatTypes.BUTTONS}get choices(){return(this.isChoicesButtons||this.isChoicesMenu)&&this.contentPayload&&this.contentPayload.optionItems?this.contentPayload.optionItems:null}get choicesText(){return(this.isChoicesButtons||this.isChoicesMenu)&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:this.isChoicesCarousel&&this.contentPayload&&this.contentPayload.title?this.contentPayload.title:null}get isChoicesCarousel(){return this.isChoices&&this.formatType===i.FormatTypes.CAROUSELS}get choicesCarouselOptions(){return this.isChoicesCarousel&&this.contentPayload&&this.contentPayload.items?this.contentPayload.items:null}get choicesCarouselImages(){return this.isChoicesCarousel&&this.contentPayload&&this.contentPayload.images?this.contentPayload.images:null}get choiceMessageAccessibilityText(){let t="";if(this.choicesText&&(t+=this.choicesText+" "),this.isChoicesMenu||this.isChoicesButtons)try{t+=this.choices.map(t=>i.getTitle(t.titleItem)).join(" ")}catch{return t}else if(this.isChoicesCarousel){try{t+=i.getTitle(this.choicesCarouselOptions[0].titleItem)}catch{return t}this.choicesCarouselOptions[0].titleItem.subTitle&&(t+=" "+i.getSubTitle(this.choicesCarouselOptions[0].titleItem));try{t+=" "+i.getTitle(this.choicesCarouselOptions[0].interactionItems[0].titleItem)}catch{return t}}return t}get isChoicesResponse(){return this.isChatMessage&&this.messageType===i.MessageTypes.CHOICES_RESPONSE_MESSAGE&&this.formatType===i.FormatTypes.SELECTIONS}get choicesResponseSelection(){return this.isChoicesResponse&&this.contentPayload&&this.contentPayload.selectedOptions&&this.contentPayload.selectedOptions.length?this.contentPayload.selectedOptions[0]:null}get choiceResponseAccessibilityText(){try{return i.getTitle(this.choicesResponseSelection.titleItem)}catch{return""}}get isAutomatedResponse(){return!(this.messageType!==i.MessageTypes.STATIC_CONTENT_MESSAGE||this.messageReason!==i.MessageReason.AUTOMATED_RESPONSE&&this.messageReason!==i.MessageReason.CONSENT||this.formatType!==i.FormatTypes.TEXT&&this.formatType!==i.FormatTypes.WEB_VIEW)}get isAutomatedResponseStaticText(){return this.isAutomatedResponse&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&this.formatType===i.FormatTypes.TEXT}get automatedResponseText(){return this.isAutomatedResponseStaticText&&this.contentPayload&&this.contentPayload.text?this.contentPayload.text:null}get isAutomatedResponseWebView(){return this.isAutomatedResponse&&this.messageType===i.MessageTypes.STATIC_CONTENT_MESSAGE&&this.formatType===i.FormatTypes.WEB_VIEW}get isWebViewAutoOverlay(){return this.isAutomatedResponseWebView&&this.displayType===i.DisplayTypes.AUTO_OVERLAY}get isWebViewChatMessage(){return this.isAutomatedResponseWebView&&this.displayType!==i.DisplayTypes.AUTO_OVERLAY}get isMessageLinkURL(){return this.isWebViewChatMessage||this.isRichLink}get webViewTitle(){return(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&this.contentPayload.title?this.contentPayload.title:null}get webViewURL(){return(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&this.contentPayload.url?this.contentPayload.finalizedURL||this.contentPayload.url:null}set webViewURL(t){(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&(this.content.staticContent.finalizedURL=t)}get webViewParameters(){return(this.isWebViewAutoOverlay||this.isWebViewChatMessage)&&this.contentPayload&&this.contentPayload.parameters?this.contentPayload.parameters:null}get isForm(){return this.messageType===i.MessageTypes.FORM_MESSAGE&&this.formatType===i.FormatTypes.INPUTS}get isFormResponseResult(){return this.messageType===i.MessageTypes.FORM_RESPONSE_MESSAGE&&this.formatType===i.FormatTypes.RESULT&&this.contentPayload.result}get isFormRecordsResult(){return this.formResponseResult.resultType===i.FormResultType.FORM_RECORDS_RESULT}get isFormErrorResult(){return this.formResponseResult.resultType===i.FormResultType.FORM_ERROR_RESULT}get isFormPendingResult(){return this.formResponseResult.resultType===i.FormResultType.FORM_PENDING_RESULT}get form(){return this.isForm?this.contentPayload:null}get formResponseResult(){return this.isFormResponseResult?this.contentPayload.result:null}set formResponseResult(t){"object"==typeof this.contentPayload&&(this.contentPayload.result=t)}get formTitle(){switch(this.formState){case i.FormMessageState.INITIAL:return this.contentPayload.formTitle&&this.contentPayload.formTitle.title?this.contentPayload.formTitle.title:"";case i.FormMessageState.ERROR:return n.getLabel("EmbeddedMessagingSecureForm","FormButtonErrorResponseStateTitle");case i.FormMessageState.SUCCESS:return n.getLabel("EmbeddedMessagingSecureForm","FormButtonSuccessResponseStateTitle");case i.FormMessageState.PENDING:return n.getLabel("EmbeddedMessagingSecureForm","FormButtonPendingStateTitle");default:return""}}get formSections(){return this.isForm&&this.form.sections?this.form.sections:null}get formState(){if(this.isForm)return i.FormMessageState.INITIAL;if(this.isFormResponseResult){if(this.isFormRecordsResult)return i.FormMessageState.SUCCESS;
477if(this.isFormErrorResult)return i.FormMessageState.ERROR;if(this.isFormPendingResult)return i.FormMessageState.PENDING}}set formState(t){Object.values(i.FormMessageState).includes(t)?this._formState=t:a.error(`Attempting to set invalid form state: ${t}`)}get isUnsupportedMessage(){return!(this.isStaticContentMessage||this.isChoices||this.isChoicesResponse||this.isForm||this.isFormResponseResult||this.isAutomatedResponse||this.isSystemEvent)}validate(){try{switch(!0){case this.isStaticText:l(this.staticTextContent);break;case this.isAttachments:h(this.attachmentPayload);break;case this.isRichLink:break;case this.isChoicesMenu:case this.isChoicesButtons:c(this.choices);break;case this.isChoicesCarousel:break;case this.isChoicesResponse:d(this.choicesResponseSelection);break;case this.isAutomatedResponseStaticText:!function(t){try{a.validateString(t)}catch(e){a.error(`automated response text message ${t} is not valid. ${e}`)}}(this.automatedResponseText);break;case this.isWebViewAutoOverlay:case this.isWebViewChatMessage:!function(t){try{a.validateObject(t),a.validateString(i.getTitle(t))}catch(e){a.error(`automated response web view title ${t} is not valid. ${e}`)}}(this.webViewTitle),function(t){try{a.validateString(t)}catch(e){a.error(`automated response web view url ${t} is not valid. ${e}`)}}(this.webViewURL),this.webViewParameters&&function(t){try{a.validateArray(t);for(const e of t)a.validateString(e.name),a.validateObject(e.value)}catch(e){a.error(`automated response web view parameters ${t} are not valid. ${e}`)}}(this.webViewParameters);break;case this.isForm:m(this.formTitle),y(this.formSections);break;case this.isFormResponseResult:!function(t){try{a.validateObject(t),a.validateString(t.resultType),Object.values(i.FormResultType).includes(t.resultType)||a.error(`form result type ${t.resultType} is not valid.`),i.FormResultType.FORM_RECORDS_RESULT===t.resultType?a.validateArray(t.records):i.FormResultType.FORM_ERROR_RESULT===t.resultType&&a.validateArray(t.errors)}catch(e){a.error(`form response result ${t} is not valid. ${e}`)}}(this.formResponseResult);break;default:a.warning(`Unable to validate unrecognized message format type: ${this.formatType}`)}}catch(t){a.error(`Error validating conversation entry properties: ${t}`)}}static populateConversationEntryObject(t){const e=JSON.parse(t.conversationEntry.entryPayload);return r.default.populateConversationEntryObject({conversationId:t.conversationId,messageId:t.conversationEntry.identifier,content:e.abstractMessage,messageType:e.abstractMessage.messageType,entryType:e.entryType,sender:t.conversationEntry.sender,actorName:t.conversationEntry.senderDisplayName?t.conversationEntry.senderDisplayName:t.conversationEntry.sender.role,actorType:t.conversationEntry.sender.role,transcriptedTimestamp:t.conversationEntry.transcriptedTimestamp,messageReason:e.messageReason,wasRevised:e.wasRevised})}static createConversationEntry(t){return new g(t.conversationId,t.messageId,t.content,t.messageType,t.entryType,t.sender,t.actorName,t.actorType,t.transcriptedTimestamp,t.messageReason,t.wasRevised)}}e.registerDecorators(g,{fields:["_messageReason","_isLastInGroup","_hasSendFailed","_isServerSentEntry","_isSent","_isRead","_readByParticipantIds","_readAcknowledgementTimestamp","_inReplyToMessageId","_isSelectedOrRepliedTo","_formState"]});const p=e.registerComponent(g,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-message",apiVersion:66,enableSyntheticElementInternals:!0});t.default=p,t.validateAttachmentsMessage=h,t.validateChoicesMessage=c,t.validateFormSections=y,t.validateFormTitle=m,t.validateSelectionsMessage=d,t.validateTextMessage=l,Object.defineProperty(t,"__esModule",{value:!0})});
478})();LWR.define('embeddedmessaging/conversationEntryMessage', ['embeddedMessaging/conversationEntryMessage'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryParticipantChanged",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common","embeddedMessaging/participant"],function(t,e,n,r,a,i){function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=s(n);class c extends o.default{constructor(t,e,n,r,a,i,s,o,c,p=null){super(t,e,n,r,a,i,s,o,c),super.validate()}get isParticipantChangedSystemEvent(){return this.isSystemEvent&&this.entryType===r.EntryTypes.PARTICIPANT_CHANGED}get isParticipantForParticipantChangedSystemEventAnAgent(){const t=this.participantOb
478ject;return!!t&&!!i.isAgentParticipant(t)}get isParticipantForParticipantChangedSystemEventAChatbot(){const t=this.participantObject;return!!t&&!!i.isBotParticipant(t)}get participantEntries(){return this.isParticipantChangedSystemEvent&&Array.isArray(this.content.entries)&&this.content.entries.length?this.content.entries:[]}get participantObject(){let t;try{t=this.participantEntries&&this.participantEntries[0].participant?this.participantEntries[0].participant:void 0}catch(t){a.error(`Error getting participant object from a conversation entry: ${t}`)}return t}validate(){try{n.validateMessageType(this.messageType)}catch(t){a.error(`Error validating conversation entry properties: ${t}`)}}static populateConversationEntryObject(t){const e=JSON.parse(t.conversationEntry.entryPayload);return o.default.populateConversationEntryObject({conversationId:t.conversationId,messageId:t.conversationEntry.identifier,content:e,messageType:e.entries[0].operation,entryType:e.entryType,sender:t.conversationEntry.sender,actorName:e.entries[0].displayName||e.entries[0].participant.role,actorType:t.conversationEntry.sender.role,transcriptedTimestamp:t.conversationEntry.transcriptedTimestamp})}static createConversationEntry(t){return new c(t.conversationId,t.messageId,t.content,t.messageType,t.entryType,t.sender,t.actorName,t.actorType,t.transcriptedTimestamp)}}const p=e.registerComponent(c,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-participant-changed",apiVersion:66,enableSyntheticElementInternals:!0});t.default=p,Object.defineProperty(t,"__esModule",{value:!0})});
479})();LWR.define('embeddedmessaging/conversationEntryParticipantChanged', ['embeddedMessaging/conversationEntryParticipantChanged'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryRoutingResult",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common"],function(e,t,n,i,s){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(n);class o extends a.default{constructor(e,t,n,i,s,r,a,o,u,l=null){super(e,t,n,i,s,r,a,o,u),super.validate()}get isRoutingResultSystemEvent(){return this.isSystemEvent&&this.entryType===i.EntryTypes.ROUTING_RESULT}get isRoutingSuccessful(){return this.isRoutingResultSystemEvent&&this.content.failureType===i.RoutingFailureTypes.NO_ERROR}get isInitialRouting(){return this.isRoutingResultSystemEvent&&this.messageType===i.RoutingTypes.INITIAL}get isInitialRoutingFailure(){return this.isInitialRouting&&(this.content.failureType===i.RoutingFailureTypes.SUBMISSION_ERROR||this.content.failureType===i.RoutingFailureTypes.ROUTING_ERROR||this.content.failureType===i.RoutingFailureTypes.UNKNOWN_ERROR)}get isTransferRouting(){return this.isRoutingResultSystemEvent&&this.messageType===i.RoutingTypes.TRANSFER}get isTransferRoutingInitiated(){return this.isTransferRouting&&this.content.failureType===i.RoutingFailureTypes.NO_ERROR}get shouldShowRoutingResultSystemEventText(){return this.isInitialRoutingFailure||this.isTransferRoutingInitiated}get shouldShowEstimatedWaitTime(){let e;return!!(this.isRoutingSuccessful&&this.content&&this.content.estimatedWaitTime)&&(e=this.content.estimatedWaitTime.estimatedWaitTimeInSeconds,!(!s.isNumber(e)||e<=0)||(s.warning(`estimated wait time (in seconds): ${e}`),!1))}get estimatedWaitTimeInMinutes(){return this.shouldShowEstimatedWaitTime?Math.ceil(this.content.estimatedWaitTime.estimatedWaitTimeInSeconds/60):1}get hasRoutingFailureReason(){return s.isString(this.content.failureReason)}get shouldShowRoutingFailureReason(){return this.isInitialRoutingFailure&&this.hasRoutingFailureReason}get routingFailureReason(){return s.isString(this.content.failureReason)?this.content.failureReason:""}validate(){try{n.validateMessageType(this.messageType),s.validateString(this.content.failureType),s.validateObject(this.content.estimatedWaitTime)}catch(e){s.error(`Error validating conversation entry properties: ${e}`)}}static populateConversationEntryObject(e){const t=JSON.parse(e.conversationEntry.entryPayload);return a.default.populateConversationEntryObject({conversationId:e.conversationId,messageId:e.conversationEntry.identifier,content:t,messageType:t.routingType,entryType:t.entryType,sender:e.conversationEntry.sender,actorName:e.conversationEntry.senderDisplayName?e.conversationEntry.senderDisplayName:e.conversationEntry.sender.role,actorType:e.conversationEntry.sender.role,transcriptedTimestamp:e.conversationEntry.transcriptedTimestamp})}static createConversationEntry(e){return new o(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp)}}const u=t.registerComponent(o,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-routing-result",apiVersion:66,enableSyntheticElementInternals:!0});
479e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
480})();LWR.define('embeddedmessaging/conversationEntryRoutingResult', ['embeddedMessaging/conversationEntryRoutingResult'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntrySessionStatusChanged",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/constants","embeddedMessaging/common"],function(e,s,t,n,i){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t);class o extends a.default{constructor(e,s,t,n,i,r,a,o,d,y=null){super(e,s,t,n,i,r,a,o,d),super.validate()}get isSessionStatusChangedSystemEvent(){return this.isSystemEvent&&this.entryType===n.EntryTypes.SESSION_STATUS_CHANGED}get isSessionEnded(){return this.isSessionStatusChangedSystemEvent&&this.messageType===n.SessionStatus.ENDED}get isSessionActive(){return this.isSessionStatusChangedSystemEvent&&this.messageType===n.SessionStatus.ACTIVE}get isSessionWaiting(){return this.isSessionStatusChangedSystemEvent&&this.messageType===n.SessionStatus.WAITING}get isSessionInactive(){return this.isSessionStatusChangedSystemEvent&&this.messageType===n.SessionStatus.INACTIVE}get sessionEndTime(){return this.content.sessionEndTime}get sessionEndedByRole(){return this.content.sessionEndedByRole}get sessionId(){return this.content.sessionId}validate(){try{t.validateMessageType(this.messageType)}catch(e){i.error(`Error validating conversation entry properties: ${e}`)}}static populateConversationEntryObject(e){const s=JSON.parse(e.conversationEntry.entryPayload);return a.default.populateConversationEntryObject({conversationId:e.conversationId,messageId:e.conversationEntry.identifier,content:s,messageType:s.sessionStatus,entryType:s.entryType,sender:e.conversationEntry.sender,actorName:e.conversationEntry.senderDisplayName?e.conversationEntry.senderDisplayName:e.conversationEntry.sender.role,actorType:e.conversationEntry.sender.role,transcriptedTimestamp:e.conversationEntry.transcriptedTimestamp})}static createConversationEntry(e){return new o(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp)}}const d=s.registerComponent(o,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-session-status-changed",apiVersion:66,enableSyntheticElementInternals:!0});e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
481})();LWR.define('embeddedmessaging/conversationEntrySessionStatusChanged', ['embeddedMessaging/conversationEntrySessionStatusChanged'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryStreamingToken",["exports","lwc","embeddedMessaging/conversationEntry","embeddedMessaging/common","embeddedMessaging/constants"],function(e,t,n,s,r){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(n);class i extends a.default{constructor(e,t,n,s,r,o,a,i,c,d=null){super(e,t,n,s,r,o,a,i,c),this._childTokens=[],this.messageFullTextGenerator=this._messageFullTextGenerator(),super.validate()}validate(){try{n.validateMessageType(this.messageType)}catch(e){s.error(`Error validating conversation entry properties: ${e}`)}}static populateConversationEntryObject(e){const t=JSON.parse(e.conversationEntry.entryPayload);return a.default.populateConversationEntryObject({conversationId:e.conversationId,messageId:e.conversationEntry.identifier,content:t.streamingToken,messageType:"UNDEFINED",entryType:t.entryType,sender:e.conversationEntry.sender,actorName:e.conversationEntry.senderDisplayName?e.conversationEntry.senderDisplayName:e.conversationEntry.sender.role,actorType:e.conversationEntry.sender.role,transcriptedTimestamp:e.conversationEntry.transcriptedTimestamp,messageReason:t.messageReason})}static createConversationEntry(e){return new i(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp)}get contentPayload(){return this.content.token}get tokenType(){return this.content.tokenType}get formatType(){return this.contentPayload&&this.contentPayload.formatType?this.contentPayload.formatType:null}get targetMessageIdentifier(){return this.content&&this.content.targetMessageIdentifier}get sequenceNumber(){return this.content&&this.content.sequenceNumber}get turnId(){return this.content&&this.content.turnId}get batchNumber(){return this.content&&this.content.batchNumber}_messageFullTextGenerator(){let e=0;const t=this;let n=t.contentPayload?t.contentPayload.text:"";if(this.tokenType===r.StreamingTokenType.STREAMING_TOKEN_VALIDATION)return null;return function(){return(e!==t._childTokens.length||this.wasInvalidated)&&(n=this.wasInvalidated?"":t._childTokens.slice(e).reduce((e,t)=>
481e+t.token.text,n),e=t._childTokens.length),n}}get messageFullText(){return this.tokenType===r.StreamingTokenType.MESSAGE_STREAMING_TOKEN&&"function"==typeof this.messageFullTextGenerator?this.messageFullTextGenerator():""}addToken(e){this._childTokens.push(e),this._childTokens.sort((e,t)=>e.sequenceNumber-t.sequenceNumber)}}t.registerDecorators(i,{fields:["_childTokens","messageFullTextGenerator"]});const c=t.registerComponent(i,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-streaming-token",apiVersion:66,enableSyntheticElementInternals:!0});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
482})();LWR.define('embeddedmessaging/conversationEntryStreamingToken', ['embeddedMessaging/conversationEntryStreamingToken'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryMessageUpdated",["exports","lwc","embeddedMessaging/conversationEntry"],function(e,s,n){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(n);class r extends a.default{constructor(e,s,n,t,a,r,o,i,d,c=null,p=!1){super(e,s,n,t,a,r,o,i,d,p),this._messageReason=void 0,this._messageReason=c,super.validate()}get messageReason(){return this._messageReason}set messageReason(e){this._messageReason=e}static populateConversationEntryObject(e){const s=JSON.parse(e.conversationEntry.entryPayload);return a.default.populateConversationEntryObject({conversationId:e.conversationId,messageId:e.conversationEntry.identifier,content:s.updatedMessage,messageType:s.updatedMessage.messageType,entryType:s.entryType,sender:e.conversationEntry.sender,actorName:e.conversationEntry.senderDisplayName?e.conversationEntry.senderDisplayName:e.conversationEntry.sender.role,actorType:e.conversationEntry.sender.role,transcriptedTimestamp:e.conversationEntry.transcriptedTimestamp,messageReason:s.messageReason,wasRevised:s.wasRevised})}static createConversationEntry(e){return new r(e.conversationId,e.messageId,e.content,e.messageType,e.entryType,e.sender,e.actorName,e.actorType,e.transcriptedTimestamp,e.messageReason,e.wasRevised)}}s.registerDecorators(r,{fields:["_messageReason"]});const o=s.registerComponent(r,{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-message-updated",apiVersion:66,enableSyntheticElementInternals:!0});e.default=o,Object.defineProperty(e,"__esModule",{value:!0})});
483})();LWR.define('embeddedmessaging/conversationEntryMessageUpdated', ['embeddedMessaging/conversationEntryMessageUpdated'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationEntryFactory",["exports","lwc","embeddedMessaging/conversationEntryMessage","embeddedMessaging/conversationEntryParticipantChanged","embeddedMessaging/conversationEntryRoutingResult","embeddedMessaging/conversationEntrySessionStatusChanged","embeddedMessaging/conversationEntryStreamingToken","embeddedMessaging/conversationEntryMessageUpdated","embeddedMessaging/conversationEntry","embeddedMessaging/common","embeddedMessaging/constants"],function(e,t,n,r,o,a,s,i,y,d,p){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=c(n),E=c(r),g=c(o),l=c(a),u=c(s),f=c(i);function m(e){if(e&&e.data&&"string"==typeof e.data){const t=JSON.parse(e.data);if(t&&"object"==typeof t)return t;throw new Error("Error parsing data in server sent event.")}throw new Error("Invalid data in server sent event.")}function S(e){if(e&&e.conversationEntry&&"object"==typeof e.conversationEntry)return e.conversationEntry;throw new Error("Error validating conversation entry in event.")}function T(e){if(e&&e.entryPayload&&"string"==typeof e.entryPayload){const t=JSON.parse(e.entryPayload);if(t&&"object"==typeof t)return t;throw new Error("Error parsing entry payload in conversation entry.")}throw new Error("Invalid entry payload in conversation entry.")}function h(e){let t,n;if(!e||!e.conversationEntry||"object"!=typeof e.conversationEntry)throw new Error("Invalid conversation entry from event payload.");if(t=T(e.conversationEntry),!t||!t.entryType||"string"!=typeof t.entryType)throw new Error("Error getting entry type from conversation entry from event payload.");return n=t.entryType,n}const C={[p.EntryTypes.CONVERSATION_MESSAGE.toUpperCase()]:v.default,[p.EntryTypes.CONVERSATION_MESSAGE_UPDATED.toUpperCase()]:f.default,[p.EntryTypes.PARTICIPANT_CHANGED.toUpperCase()]:E.default,[p.EntryTypes.ROUTING_RESULT.toUpperCase()]:g.default,[p.EntryTypes.SESSION_STATUS_CHANGED.toUpperCase()]:l.default,[p.EntryTypes.STREAMING_TOKEN.toUpperCase()]:u.default};const b=t.registerComponent(class{constructor(e){this._handlers={};const t=this.getEntryType(e).toUpperCase();let n={};
483if(this.isEntryTypeSupported(t))try{if(this._handlers=C[t],"function"!=typeof this._handlers.populateConversationEntryObject||"function"!=typeof this._handlers.createConversationEntry)throw new Error("Factory handler methods are not valid functions.");return n=this._handlers.populateConversationEntryObject(e),y.validateConversationEntryProperties(n,!0),this._handlers.createConversationEntry({conversationId:n.conversationId,messageId:n.messageId,content:n.content,messageType:n.messageType,entryType:n.entryType,sender:n.sender,actorName:n.actorName,actorType:n.actorType,transcriptedTimestamp:n.transcriptedTimestamp,messageReason:n.messageReason,wasRevised:n.wasRevised})}catch(e){d.error(`Error creating conversation entry of type ${t}: ${e}`)}else d.error(`Entry type ${t} is not supported by conversation entry factory.`)}getSupportedEntryTypes(){return Object.keys(C)||[]}getEntryType(e){return h(e)?h(e):""}isEntryTypeSupported(e){let t=!1;return e&&d.isString(e)?this.getSupportedEntryTypes().includes(e)&&(t=!0):d.warning(`Expected valid entryType, but received: ${e}`),t}static parseServerSentEventData(e){return m(e)}static parseServerSentConversationEntry(e){return S(e)}static parseServerSentConversationEntryPayload(e){return T(e)}},{tmpl:void 0,sel:"embeddedMessaging-conversation-entry-factory",apiVersion:66,enableSyntheticElementInternals:!0});e.createConversationEntryFactory=function(e){return new b(e)},e.default=b,e.getConversationEntryType=h,e.getConversationIdentifier=function(e){const t=e&&e.conversationId?e.conversationId:void 0;if(d.isString(t))return t;throw new Error("Error getting conversationId from event payload.")},e.getParticipantChangedDisplayName=function(e){if(Array.isArray(e.entries)&&void 0!==e.entries[0]){const t=e.entries[0];return t.displayName?t.displayName:t.participant.role}},e.getSenderDisplayName=function(e){return e&&e.conversationEntry&&e.conversationEntry.senderDisplayName||""},e.getSenderRole=function(e){return e&&e.conversationEntry&&e.conversationEntry.sender&&e.conversationEntry.sender.role||""},e.parseServerSentConversationEntry=S,e.parseServerSentConversationEntryPayload=T,e.parseServerSentEventData=m,Object.defineProperty(e,"__esModule",{value:!0})});
484})();LWR.define('embeddedmessaging/conversationEntryFactory', ['embeddedMessaging/conversationEntryFactory'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/progressIndicatorFactory",["exports","lwc"],function(e,r){const s=r.registerComponent(class{static parseServerSentProgressIndicator(e){return function(e){if(e&&e.progressIndicator&&"object"==typeof e.progressIndicator)return e.progressIndicator;throw new Error("Error validating progress indicator in event.")}(e)}static parseServerSentProgressMessage(e){return function(e){if(e&&e.progressMessage&&"object"==typeof e.progressMessage)return e.progressMessage;throw new Error("Error validating progress message in event.")}(e)}},{tmpl:void 0,sel:"embeddedMessaging-progress-indicator-factory",apiVersion:66,enableSyntheticElementInternals:!0});e.default=s,Object.defineProperty(e,"__esModule",{value:!0})});
485})();LWR.define('embeddedmessaging/progressIndicatorFactory', ['embeddedMessaging/progressIndicatorFactory'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/conversationState",["exports","lwc","embeddedmessaging/conversationLog","embeddedmessaging/inputFooter","embeddedmessaging/chatWebViewOverlay","embeddedmessaging/prechatState","embeddedmessaging/secureForm","embeddedMessaging/common","embeddedMessaging/globalEventStore","lightningsnapin/eventStore","embeddedMessaging/inAppService","embeddedMessaging/gaterService","embeddedMessaging/conversationEntryMessage","embeddedMessaging/constants","embeddedMessaging/countdownTimer","embeddedMessaging/participant","embeddedMessaging/conversationEntryFactory","embeddedMessaging/labelUtils","embeddedMessaging/webStorageUtils","embeddedMessaging/progressIndicatorFactory"],function(e,t,n,r,i,s,o,a,c,h,d,l,u,p,g,f,E,v,m,y){function S(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T=S(n),I=S(r),b=S(i),_=S(s),w=S(o),M=S(u),C=S(g),A=S(f),R=S(E),O=S(y);var N=[function(e,t,n){var r=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"width: 100%;position: relative;background: var(--slds-g-color-neutral-base-100, #ffffff);overflow: hidden;justify-content: space-between;flex: 1 1 auto;display: flex;flex-direction: column;}
485.conversationState.webviewOverlay"+r+" {display: none;}.conversationState.sessionPrechatForm"+r+" {display: none;}.conversationState.secureForm"+r+" {display: none;}embeddedmessaging-secure-form"+r+" {display: flex;flex-direction: column;justify-content: space-between;height: calc(100vh - var(--header-height, 50px));width: 100%;position: absolute;background: var(--slds-g-color-neutral-base-100, #FFFFFF);overflow: auto;}"}];function P(e,t,n,r){const{ncls:i,b:s,c:o,dc:a,fr:c}=e,{_m0:h,_m1:d,_m2:l,_m3:u,_m4:p}=r;return[o("embeddedmessaging-conversation-log",T.default,{className:i(t.generateConversationStateClass),props:{configuration:t.configuration,publicConfiguration:t.publicConfiguration,textMessageConstructor:t.textMessageConstructor,conversationEntries:t.conversationEntries,conversationStatus:t.conversationStatus,conversationId:t.conversationId,startTime:t.conversationStartTime,endTime:t.conversationEndTime,currentTypingParticipants:t.currentTypingParticipants,hasLoadedAllConversationEntries:t.hasLoadedAllConversationEntries,progressIndicatorMessage:t.progressIndicatorMessage,isAnotherParticipantTyping:t.isAnotherParticipantTyping,isJwtExpired:t.isJwtExpired,isMinimized:t.isMinimized,showGetConversationEntriesSpinner:t.showGetConversationEntriesSpinner,conversationParticipants:t.conversationParticipants,queuePosition:t.queuePosition,isQueuePositionEnabled:t.isQueuePositionEnabled,sessionStatus:t.sessionStatus},key:0,on:h||(r._m0={inappserviceerror:s(t.handleInAppServiceErrorCustomEvent),messageareatopofscroll:s(t.handleScrollToTop),keydown:s(t.handleConversationLogKeyDown)})}),o("embeddedmessaging-input-footer",I.default,{className:i(t.generateConversationStateClass),props:{configuration:t.configuration,conversationStatus:t.conversationStatus,conversationId:t.conversationId,conversationParticipants:t.conversationParticipants,isDisabled:t.isUserInputDisabled,textareaPlaceholderText:t.inputFooterTextAreaPlaceholderText,sessionStatus:t.sessionStatus,conversationData:t.conversationData},key:1,on:d||(r._m1={inappserviceerror:s(t.handleInAppServiceErrorCustomEvent)})}),t.displayWebViewOverlay?o("embeddedmessaging-chat-web-view-overlay",b.default,{props:{title:t.webViewMetadata.title,url:t.webViewMetadata.url,displayConfirmationDialog:t.displayConfirmationDialogInOverlay},key:2,on:l||(r._m2={toggleoverlay:s(t.handleToggleOverlay)})}):null,t.displaySessionPrechatForm?t.prechatConstructor?c(3,[a(t.prechatConstructor,{props:{configuration:t.publicConfiguration},key:4,on:u||(r._m3={prechatsubmit:s(t.handleSessionPrechatSubmit)})})],0):c(3,[o("embeddedmessaging-prechat-state",_.default,{props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus},key:5,on:p||(r._m4={prechatsubmit:s(t.handleSessionPrechatSubmit)})})],0):null,t.displaySecureForm?o("embeddedmessaging-secure-form",w.default,{props:{formTitle:t.secureFormTitle,formInputData:t.secureFormData},key:6}):null]}var D=t.registerTemplate(P);P.stylesheets=[],P.stylesheetToken="lwc-67djd267s8u",P.legacyStylesheetToken="embeddedMessaging-conversationState_conversationState",N&&P.stylesheets.push.apply(P.stylesheets,N),t.freezeTemplate(P);var U=void 0;class L{constructor(e,t,n,r,i,s,o){this.lowerBoundTimestamp=void 0,this.upperBoundTimestamp=void 0,this.entryList=[],this.firstEntryId=void 0,this.lastEntryId=void 0,this.isOutbound=void 0,this.isDelivered=void 0,this.isRead=void 0,this._isDirty=void 0,this.isFailureGroup=void 0,this.isOutbound=e,this.isDelivered=t,this.isRead=n,this.isFailureGroup=r,this.lowerBoundTimestamp=i,this.upperBoundTimestamp=s,this.entryList=o,this.refreshEntryList()}get isDirty(){return this._isDirty}markProcessed(){this._isDirty=!1}add(e){this.entryList.push(e),this.refreshEntryList()}refreshEntryList(){this.entryList.sort((e,t)=>e.transcriptedTimestamp-t.transcriptedTimestamp),this.firstEntryId=this.entryList[0].messageId,this.lastEntryId=this.entryList[this.entryList.length-1].messageId,this._isDirty=!0}updateAcknowledgement(e){this.isDelivered=e.isDelivered,this.isRead=e.isRead,this.isFailureGroup=e.hasSendFailed,this._isDirty=!0}includesTime(e){const t=new Date(e);return t.getTime()>this.lowerBoundTimestamp.getTime()&&t.getTime()<=this.upperBoundTimestamp.getTime()}isEarlierThan(e){return new Date(e).getTime()>this.upperBoundTimestamp.getTime()}isAcknowledged(){return this.isDelivered||this.isRead}hasDifferentDirectionalityFrom(e){return!(!e||!a.isBoolean(e.isMessageOutbound))&&this.isOutbound!==e.isMessageOutbound}
485shouldBeSubsumedUnder(e){const t=this.lastEntryInEntryGroup();return!(this.isFailureGroup||e.isFailureGroup||this.hasDifferentDirectionalityFrom(t))&&(e.includesTime(t.transcriptedTimestamp)&&(this.isRead&&e.isRead||!this.isRead&&!e.isRead&&this.isDelivered&&e.isDelivered||!this.isAcknowledged()&&!e.isRead&&!e.isDelivered))}lastEntryInEntryGroup(){return this.entryList&&this.entryList.length?this.entryList[this.entryList.length-1]:void 0}}t.registerComponent(L,{tmpl:U,sel:"embeddedMessaging-conversation-state",apiVersion:66,enableSyntheticElementInternals:!0});const F=(e,t)=>new L(t.isOutbound,t.isDelivered,t.isRead,t.isFailureGroup,e.lowerBoundTimestamp,e.upperBoundTimestamp,e.entryList.concat(t.entryList)),x=e=>{const t=new Date(e.transcriptedTimestamp),n=new Date(t.getTime()+18e4);return new L(e.isMessageOutbound,e.isDelivered,e.isRead,e.hasSendFailed,t,n,new Array(e))};class B{constructor(e){this._entryArray=[],this._entryHashMap={},this._entryIndexHashMap={},this._inboundEntryGroups=[],this._outboundEntryGroups=[],this._outboundEntryGroupIndexMap={},this.lastReadEntryGroupIndex=-1,e&&Array.isArray(e)&&(this._entryArray=e,this._entryArray.length&&this.sortArrayAndUpdateHashMaps())}get entryArray(){return this._entryArray}getEntry(e){return this._entryHashMap[e]}getOldestEntry(){return Array.isArray(this._entryArray)?this._entryArray[0]:void 0}getEntryIndex(e){return this._entryIndexHashMap[e]}isDuplicateEntry(e){return void 0!==this.getEntry(e.messageId)}sortArrayAndUpdateHashMaps(){this._entryArray.sort((e,t)=>e.transcriptedTimestamp-t.transcriptedTimestamp),this._entryArray.forEach((e,t)=>{this._entryHashMap[e.messageId]=e,this._entryIndexHashMap[e.messageId]=t})}addEntry(e){this.isDuplicateEntry(e)||(e.entryIndex?this._entryArray.splice(e.entryIndex,0,e):this._entryArray.push(e),this.sortArrayAndUpdateHashMaps(),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_ADDED,{entry:e}),e.isChatMessage&&e.isMessageOutbound?this.addEntryToGroup(e,this._outboundEntryGroups):!e.isChatMessage&&!e.isStreamingToken||e.isMessageOutbound||this.addEntryToGroup(e,this._inboundEntryGroups),this.shouldEntryIncludeTimeStamp(e))}removeEntry(e){const t=this.getEntryIndex(e.messageId);t&&(Object.values(this._entryArray).find(t=>t.messageId===e.messageId)&&this._entryArray.splice(t,1),Object.keys(this._entryHashMap).includes(e.messageId)&&delete this._entryHashMap[e.messageId],Object.keys(this._entryIndexHashMap).includes(e.messageId)&&delete this._entryIndexHashMap[e.messageId])}setEntry(e,t){const n=this.getEntryIndex(e);this._entryArray[n]=t,this._entryHashMap[t.messageId]=t,this._entryIndexHashMap[t.messageId]=n}updateEntry(e,t){const n=this.getEntry(e);if(n){const r=Object.assign(Object.create(Object.getPrototypeOf(n)),n);Object.keys(t).forEach(e=>{r[e]=t[e]}),this.setEntry(e,r),this.sortArrayAndUpdateHashMaps(),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CONVERSATION_ENTRY_UPDATED,{entry:r})}}updateAcknowledgementForEntryGroup(e){const t=this.getEntry(e),n=this._outboundEntryGroupIndexMap[t.messageId],r=this._outboundEntryGroups[n];if(r&&!r.isRead){if(r.updateAcknowledgement(t),t.isRead)for(let e=n-1;e>this.lastReadEntryGroupIndex;e-=1){const n=this._outboundEntryGroups[e],r=!!n&&n.isAcknowledged(),i=n&&n.lastEntryId?this.getEntry(n.lastEntryId):void 0;if(r||i&&!i.isDelivered&&!i.isRead)break;n&&!n.isFailureGroup&&n.updateAcknowledgement(t)}for(let e=n;e>0;e-=1){const t=this._outboundEntryGroups[e],n=this._outboundEntryGroups[e-1],r=this.getEntryIndex(t.firstEntryId)-1,i=this._entryArray[r];if(t&&n&&!t.isFailureGroup&&!t.hasDifferentDirectionalityFrom(i)&&t.shouldBeSubsumedUnder(n)){const r=F(n,t);this.updateEntry(n.lastEntryId,{isLastInGroup:!1,isDelivered:r.isDelivered,isRead:r.isRead}),delete this._outboundEntryGroups[e],delete this._outboundEntryGroups[e-1],this._outboundEntryGroups[e-1]=r}}this.updateEntryGroups(this._outboundEntryGroups,!0,this.lastReadEntryGroupIndex+1),this.lastReadEntryGroupIndex=r.isRead?n:this.lastReadEntryGroupIndex}}addEntryToGroup(e,t){let n,r;if(0===t.length)n=x(e);else{let i,s,o,a;for(let c=t.length-1;c>=0;c-=1){if(r=this._entryIndexHashMap[e.messageId],i=t[c],s=i?i.lastEntryInEntryGroup():void 0,o=this._entryArray[r-1],a=s&&s.actorName!==e.actorName,i&&(i.isEarlierThan(e.transcriptedTimestamp)||o&&i.hasDifferentDirectionalityFrom(o)||i.isAcknowledged()||e.isMessageOutbound&&!e.isSent||e.hasSendFailed||o&&o.hasSendFailed||a)){n=x(e);break}if(i&&i.includesTime(e.transcriptedTimestamp)){i.add(e);break}}}void 0!==n&&t.push(n),this.updateEntryGroups(t,e.isMessageOutbound,0)}updateEntryGroups(e,t,n){const r=t?this.updateOutboundEntryGroup:this.updateInboundEntryGroup;if(e.length){e.sort((e,t)=>
485e.lowerTimeBound-t.lowerTimeBound);for(let t=e.length-1;t>=n;t-=1)e[t]&&e[t].isDirty&&(r.call(this,e[t],t),e[t].markProcessed())}}updateInboundEntryGroup(e){this.updateLastEntryWithinGroup(e)}updateOutboundEntryGroup(e,t){e.entryList.forEach(e=>{this._outboundEntryGroupIndexMap[e.messageId]=t}),this.updateLastEntryWithinGroup(e)}updateLastEntryWithinGroup(e){const t=e.entryList;if(this.updateEntry(e.lastEntryId,{isLastInGroup:!0,isDelivered:e.isDelivered,isRead:e.isRead,hasSendFailed:e.isFailureGroup}),1!==t.length){this.getEntry(e.lastEntryId).isChoicesCarousel&&t[t.length-2]&&!this.getEntry(t[t.length-2].messageId).isChoicesCarousel&&this.updateEntry(t[t.length-2].messageId,{isFauxLastInGroup:!0});for(let n=t.length-2;n>=0;n-=1){const r=this.getEntry(t[n].messageId);if(!r)return;!r.isLastInGroup&&r.isRead||this.updateEntry(t[n].messageId,{isLastInGroup:!1,isDelivered:e.isDelivered,isRead:e.isRead}),r.isFauxLastInGroup&&n!==t.length-2&&this.updateEntry(t[n].messageId,{isFauxLastInGroup:!1})}}}shouldEntryIncludeTimeStamp(e){const t=this.getEntryIndex(e.messageId);0!==t&&a.util.isSameDay(e.transcriptedTimestamp,this._entryArray[t-1].transcriptedTimestamp)||this.updateEntry(e.messageId,{shouldShowTimeStamp:!0})}}t.registerComponent(B,{tmpl:U,sel:"embeddedMessaging-conversation-state",apiVersion:66,enableSyntheticElementInternals:!0}),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=21)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n,r,i=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(e){n=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var c,h=[],d=!1,l=-1;function u(){d&&c&&(d=!1,c.length?h=c.concat(h):l=-1,h.length&&p())}function p(){if(!d){var e=a(u);d=!0;for(var t=h.length;t;){for(c=h,h=[];++l<t;)c&&c[l].run();l=-1,t=h.length}c=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function g(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new g(e,t)),1!==h.length||d||a(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){(function(e){
486/*!
487        * The buffer module from node.js, for the browser.
488        *
489        * @author   Feross Aboukhadijeh <http://feross.org>
490        * @license  MIT
491        */
492var r=n(23),i=n(24),s=n(10);function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}
vendor: 5,160 bytes, line 492
492function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}return h(this,e,t,n)}function h(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=u(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|g(t,n);e=a(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?a(e,0):u(e,t);if("Buffer"===t.type&&s(t.data))return u(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t){if(d(t),e=a(e,t<0?0:0|p(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function u(e,t){var n=t.length<0?0:0|p(t.length);e=a(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function f(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function E(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,i){var s,o=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,n/=2}function h(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var d=-1;for(s=n;s<a;s++)if(h(e,s)===h(t,-1===d?0:s-d)){if(-1===d&&(d=s),s-d+1===c)return d*o}else-1!==d&&(s-=s-d),d=-1}else for(n+c>a&&(n=a-c),s=n;s>=0;s--){for(var l=!0,u=0;u<c;u++)if(h(e,s+u)!==h(t,u)){l=!1;break}if(l)return s}return-1}function y(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[n+o]=a}return o}function S(e,t,n,r){return H(V(t,e.length-n),e,n,r)}function T(e,t,n,r){return H(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function I(e,t,n,r){return T(e,t,n,r)}function b(e,t,n,r){return H(j(t),e,n,r)}function _(e,t,n,r){return H(function(e,t){for(var n,r,i,s=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i=n%256,s.push(i),s.push(r);return s}(t,e.length-n),e,n,r)}function w(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var s,o,a,c,h=e[i],d=null,l=h>239?4:h>223?3:h>191?2:1;if(i+l<=n)switch(l){case 1:h<128&&(d=h);break;
vendor: 6,454 bytes, line 492
492case 2:128==(192&(s=e[i+1]))&&(c=(31&h)<<6|63&s)>127&&(d=c);break;case 3:s=e[i+1],o=e[i+2],128==(192&s)&&128==(192&o)&&(c=(15&h)<<12|(63&s)<<6|63&o)>2047&&(c<55296||c>57343)&&(d=c);break;case 4:s=e[i+1],o=e[i+2],a=e[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(c=(15&h)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(d=c)}null===d?(d=65533,l=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|1023&d),r.push(d),i+=l}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=C));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return h(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return d(t),t<=0?a(e,t):void 0!==n?"string"==typeof r?a(e,t).fill(n,r):a(e,t).fill(n):a(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return l(null,e)},c.allocUnsafeSlow=function(e){return l(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!s(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)E(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)E(this,t,t+3),E(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?M(this,0,e):f.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var s=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),a=Math.min(s,o),h=this.slice(r,i),d=e.slice(t,n),l=0;l<a;++l)if(h[l]!==d[l]){s=h[l],o=d[l];break}return s<o?-1:o<s?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":return T(this,e,t,n);case"latin1":case"binary":return I(this,e,t,n);case"base64":return b(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function O(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=t;s<n;++s)i+=G(e[s]);return i}function N(e,t,n){for(var r=e.slice(t,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,s){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function U(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-n,2);i<s;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-n,4);i<s;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function F(e,t,n,r,i,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}
vendor: 4,741 bytes, line 492
492function x(e,t,n,r,s){return s||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,s){return s||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var s=0;s<i;++s)n[s]=this[s+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,s=0;for(this[t]=255&e;++s<n&&(i*=256);)this[t+s]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var s=0,o=1,a=0;for(this[t]=255&e;++s<n&&(o*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/o|0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o|0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),
vendor: 18,635 bytes, line 492
492c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return x(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return x(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,s=r-n;if(this===e&&n<t&&t<r)for(i=s-1;i>=0;--i)e[i+t]=this[i+n];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+s),t);return s},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var s;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s<n;++s)this[s]=e;else{var o=c.isBuffer(e)?e:V(new c(e,r).toString()),a=o.length;for(s=0;s<n-t;++s)this[s+t]=o[s%a]}return this};var k=/[^+\/0-9A-Za-z-_]/g;function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){var n;t=t||1/0;for(var r=e.length,i=null,s=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function j(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(t,n(0))},function(e,t,n){var r=n(6),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var s=Object.create(n(5));s.inherits=n(2);var o=n(15),a=n(18);s.inherits(l,o);for(var c=i(a.prototype),h=0;h<c.length;h++){var d=c[h];l.prototype[d]||(l.prototype[d]=a.prototype[d])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",u)}function u(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),l.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(t,n(3).Buffer)},function(e,t,n){(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var s,o,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,i)});default:for(s=new Array(a-1),o=0;o<s.length;)s[o++]=arguments[o];return t.nextTick(function(){e.apply(null,s)})}}}:e.exports=t}).call(t,n(1))},function(e,t,n){var r=n(3),i=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(s(r,t),t.Buffer=o),s(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){var r=n(25),i=n(27);function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=y(e));return e instanceof s?e.format():s.prototype.format.call(e)},t.Url=s;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(h),l=["%","/","?",";","#"].concat(d),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=n(28);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof s)return e;var r=new s;return r.parse(e,t,n),r}s.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),a=-1!==s&&s<e.indexOf("#")?"?":"#",h=e.split(a);h[0]=h[0].replace(/\\/g,"/");var y=e=h.join(a);if(y=y.trim(),!n&&1===e.split("#").length){var S=c.exec(y);if(S)return this.path=y,this.href=y,this.pathname=S[1],S[2]?(this.search=S[2],this.query=t?m.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var T=o.exec(y);if(T){var I=(T=T[0]).toLowerCase();this.protocol=I,y=y.substr(T.length)}if(n||T||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var b="//"===y.substr(0,2);!b||T&&E[T]||(y=y.substr(2),this.slashes=!0)}if(!E[T]&&(b||T&&!v[T])){for(var _,w,M=-1,C=0;C<u.length;C++){-1!==(A=y.indexOf(u[C]))&&(-1===M||A<M)&&(M=A)}-1!==(w=-1===M?y.lastIndexOf("@"):y.lastIndexOf("@",M))&&(_=y.slice(0,w),y=y.slice(w+1),this.auth=decodeURIComponent(_)),M=-1;for(C=0;C<l.length;C++){var A;-1!==(A=y.indexOf(l[C]))&&(-1===M||A<M)&&(M=A)}-1===M&&(M=y.length),this.host=y.slice(0,M),y=y.slice(M),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var O=this.hostname.split(/\./),N=(C=0,O.length);C<N;C++){var P=O[C];if(P&&!P.match(p)){for(var D="",U=0,L=P.length;U<L;U++)P.charCodeAt(U)>127?D+="x":D+=P[U];if(!D.match(p)){var F=O.slice(0,C),x=O.slice(C+1),B=P.match(g);B&&(F.push(B[1]),x.unshift(B[2])),x.length&&(y="/"+x.join(".")+y),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=r.toASCII(this.hostname));var k=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+k,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[I])for(C=0,N=d.length;C<N;C++){var V=d[C];if(-1!==y.indexOf(V)){var j=encodeURIComponent(V);j===V&&(j=escape(V)),y=y.split(V).join(j)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var $=y.indexOf("?");if(-1!==$?(this.search=y.substr($),this.query=y.substr($+1),t&&(this.query=m.parse(this.query)),y=y.slice(0,$)):t&&(this.search="",this.query={}),y&&(this.pathname=y),v[I]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){k=this.pathname||"";var W=this.search||"";this.path=k+W}return this.href=this.format(),this},s.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",s=!1,o="";this.host?s=e+this.host:this.hostname&&(s=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=m.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||v[t])&&!1!==s?(s="//"+(s||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):s||(s=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+s+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+r},s.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},s.prototype.resolveObject=function(e){if(i.isString(e)){var t=new s;t.parse(e,!1,!0),e=t}for(var n=new s,r=Object.keys(this),o=0;o<r.length;o++){var a=r[o];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),h=0;h<c.length;h++){var d=c[h];"protocol"!==d&&(n[d]=e[d])}return v[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!v[e.protocol]){for(var l=Object.keys(e),u=0;u<l.length;u++){var p=l[u];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||E[e.protocol])n.pathname=e.pathname;else{for(var g=(e.pathname||"").split("/");g.length&&!(e.host=g.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==g[0]&&g.unshift(""),g.length<2&&g.unshift(""),n.pathname=g.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",m=n.search||"";n.path=f+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),S=e.host||e.pathname&&"/"===e.pathname.charAt(0),T=S||y||n.host&&e.pathname,I=T,b=n.pathname&&n.pathname.split("/")||[],_=(g=e.pathname&&e.pathname.split("/")||[],n.protocol&&!v[n.protocol]);if(_&&(n.hostname="",n.port=null,n.host&&(""===b[0]?b[0]=n.host:b.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===g[0]?g[0]=e.host:g.unshift(e.host)),e.host=null),T=T&&(""===g[0]||""===b[0])),S)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,b=g;else if(g.length)b||(b=[]),b.pop(),b=b.concat(g),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(_)n.hostname=n.host=b.shift(),(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!b.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=b.slice(-1)[0],M=(n.host||e.host||b.length>1)&&("."===w||".."===w)||""===w,C=0,A=b.length;A>=0;A--)"."===(w=b[A])?b.splice(A,1):".."===w?(b.splice(A,1),C++):C&&(b.splice(A,1),C--);if(!T&&!I)for(;C--;C)b.unshift("..");!T||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),M&&"/"!==b.join("/").substr(-1)&&b.push("");var R,O=""===b[0]||b[0]&&"/"===b[0].charAt(0);_&&(n.hostname=n.host=O?"":b.length?b.shift():"",(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift()));return(T=T||n.host&&b.length)&&!O&&b.unshift(""),b.length?n.pathname=b.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},s.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r,i="object"==typeof Reflect?Reflect:null,s=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,s),r(n)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}v(e,t,s,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&v(e,"error",t,n)}(e,i,{once:!0})})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var c=10;function h(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var i,s,o,a;if(h(n),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),o=s[t]),void 0===o)o=s[t]=n,++e._eventsCount;else if("function"==typeof o?o=s[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=d(e))>0&&o.length>i&&!o.warned){o.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=o.length,a=c,console&&console.warn&&console.warn(a)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):E(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function E(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function v(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(s){r.once&&e.removeEventListener(t,i),n(s)})}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return d(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)s(c,this,t);else{var h=c.length,d=E(c,h);for(n=0;n<h;++n)s(d[n],this,t)}return!0},a.prototype.addListener=function(e,t){return l(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return l(this,e,t,!0)},a.prototype.once=function(e,t){return h(t),this.on(e,p(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return h(t),this.prependListener(e,p(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,i,s,o;if(h(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit
492("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===t||n[s].listener===t){o=n[s].listener,i=s;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,s=Object.keys(n);for(r=0;r<s.length;++r)"removeListener"!==(i=s[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return g(this,e,!0)},a.prototype.rawListeners=function(e){return g(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},a.prototype.listenerCount=f,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(e){var r=n(32),i=n(13),s=n(41),o=n(42),a=n(8),c=t;c.request=function(e,t){e="string"==typeof e?a.parse(e):s(e);var n=-1===window.location.protocol.search(/^https?:$/)?"http:":"",i=e.protocol||n,o=e.hostname||e.host,c=e.port,h=e.path||"/";o&&-1!==o.indexOf(":")&&(o="["+o+"]"),e.url=(o?i+"//"+o:"")+(c?":"+c:"")+h,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new r(e);return t&&d.on("response",t),d},c.get=function(e,t){var n=c.request(e,t);return n.end(),n},c.ClientRequest=r,c.IncomingMessage=i.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=o,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(t,n(0))},function(e,t,n){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var n;function r(){if(void 0!==n)return n;if(e.XMLHttpRequest){n=new e.XMLHttpRequest;try{n.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var s=void 0!==e.ArrayBuffer,o=s&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||s&&i("arraybuffer"),t.msstream=!t.fetch&&o&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&s&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&a(r().overrideMimeType),t.vbArray=a(e.VBArray),n=null}).call(t,n(0))},function(e,t,n){(function(e,r,i){var s=n(12),o=n(2),a=n(14),c=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},h=t.IncomingMessage=function(t,n,o,c){var h=this;if(a.Readable.call(h),h._mode=o,h.headers={},h.rawHeaders=[],h.trailers={},h.rawTrailers=[],h.on("end",function(){e.nextTick(function(){h.emit("close")})}),"fetch"===o){if(h._fetchResponse=n,h.url=n.url,h.statusCode=n.status,h.statusMessage=n.statusText,n.headers.forEach(function(e,t){h.headers[t.toLowerCase()]=e,h.rawHeaders.push(t,e)}),s.writableStream){var d=new WritableStream({write:function(e){return new Promise(function(t,n){h._destroyed?n():h.push(new r(e))?t():h._resumeFetch=t})},close:function(){i.clearTimeout(c),h._destroyed||h.push(null)},abort:function(e){h._destroyed||h.emit("error",e)}});try{return void n.body.pipeTo(d).catch(function(e){i.clearTimeout(c),h._destroyed||h.emit("error",e)})}catch(e){}}var l=n.body.getReader();
vendor: 4,428 bytes, line 492
492!function e(){l.read().then(function(t){if(!h._destroyed){if(t.done)return i.clearTimeout(c),void h.push(null);h.push(new r(t.value)),e()}}).catch(function(e){i.clearTimeout(c),h._destroyed||h.emit("error",e)})}()}else{if(h._xhr=t,h._pos=0,h.url=t.responseURL,h.statusCode=t.status,h.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===h.headers[n]&&(h.headers[n]=[]),h.headers[n].push(t[2])):void 0!==h.headers[n]?h.headers[n]+=", "+t[2]:h.headers[n]=t[2],h.rawHeaders.push(t[1],t[2])}}),h._charset="x-user-defined",!s.overrideMimeType){var u=h.rawHeaders["mime-type"];if(u){var p=u.match(/;\s*charset=([^;])(;|$)/);p&&(h._charset=p[1].toLowerCase())}h._charset||(h._charset="utf-8")}}};o(h,a.Readable),h.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},h.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==c.DONE)break;try{n=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var s=n.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new r(s.length),a=0;a<s.length;a++)o[a]=255&s.charCodeAt(a);e.push(o)}else e.push(s,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==c.DONE||!t.response)break;n=t.response,e.push(new r(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==c.LOADING||!n)break;e.push(new r(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==c.LOADING)break;var h=new i.MSStreamReader;h.onprogress=function(){h.result.byteLength>e._pos&&(e.push(new r(new Uint8Array(h.result.slice(e._pos)))),e._pos=h.result.byteLength)},h.onload=function(){e.push(null)},h.readAsArrayBuffer(n)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(t,n(1),n(3).Buffer,n(0))},function(e,t,n){(t=e.exports=n(15)).Stream=t,t.Readable=t,t.Writable=n(18),t.Duplex=n(4),t.Transform=n(20),t.PassThrough=n(39)},function(e,t,n){(function(t,r){var i=n(6);e.exports=y;var s,o=n(10);y.ReadableState=m,n(9).EventEmitter;var a=function(e,t){return e.listeners(t).length},c=n(16),h=n(7).Buffer,d=t.Uint8Array||function(){};var l=Object.create(n(5));l.inherits=n(2);var u=n(33),p=void 0;p=u&&u.debuglog?u.debuglog("stream"):function(){};var g,f=n(34),E=n(17);l.inherits(y,c);var v=["error","close","destroy","pause","resume"];function m(e,t){e=e||{};var r=t instanceof(s=s||n(4));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=n(19).StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function y(e){if(s=s||n(4),!(this instanceof y))return new y(e);this._readableState=new m(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function S(e,t,n,r,i){var s,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,_(e)}(e,o)):(i||(s=function(e,t){var n;r=t,h.isBuffer(r)||r instanceof d||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(o,t)),s?e.emit("error",s):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===h.prototype||(t=function(e){return h.from(e)}(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):T(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?T(e,o,t,!1):M(e,o)):T(e,o,t,!1))
vendor: 4,253 bytes, line 492
492):r||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function T(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&_(e)),M(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=E.destroy,y.prototype._undestroy=E.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=h.from(e,t),t=""),n=!0),S(this,e,t,!1,n)},y.prototype.unshift=function(e){return S(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return g||(g=n(19).StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var I=8388608;function b(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(w,e):w(e))}function w(e){p("emit readable"),e.emit("readable"),O(e)}function M(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function A(e){p("readable nexttick read 0"),e.read(0)}function R(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),O(e),t.flowing&&!t.reading&&e.read(0)}function O(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var s=n.data,o=e>s.length?s.length:e;if(o===s.length?i+=s:i+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=h.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(n,n.length-e,0,o),0===(e-=o)){o===s.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function U(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):_(this),null;if(0===(e=b(e,t))&&t.ended)return 0===t.length&&P(this),null;var r,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=b(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&P(this)),null!==r&&this.emit
vendor: 1,628 bytes, line 492
492("data",r),r},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var n=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,p("pipe count=%d opts=%j",s.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?d:y;function h(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",v),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",E),e.removeListener("unpipe",h),n.removeListener("end",d),n.removeListener("end",y),n.removeListener("data",f),u=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function d(){p("onend"),e.end()}s.endEmitted?i.nextTick(c):n.once("end",c),e.on("unpipe",h);var l=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,O(e))}}(n);e.on("drain",l);var u=!1;var g=!1;function f(t){p("ondata"),g=!1,!1!==e.write(t)||g||((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==U(s.pipes,e))&&!u&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,g=!0),n.pause())}function E(t){p("onerror",t),y(),e.removeListener("error",E),0===a(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",m),y()}function m(){p("onfinish"),e.removeListener("close",v),y()}function y(){p("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prepe
vendor: 10,728 bytes, line 492
492ndListener(t,n);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",E),e.once("close",v),e.once("finish",m),e.emit("pipe",n),s.flowing||(p("pipe resume"),n.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,n);return this}var o=U(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},y.prototype.on=function(e,t){var n=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&_(this):i.nextTick(A,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(R,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(p("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(p("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var s=0;s<v.length;s++)e.on(v[s],this.emit.bind(this,v[s]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=N}).call(t,n(0),n(1))},function(e,t,n){e.exports=n(9).EventEmitter},function(e,t,n){var r=n(6);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){(function(t,r,i){var s=n(6);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=m;var a,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:s.nextTick;m.WritableState=v;var h=Object.create(n(5));h.inherits=n(2);var d={deprecate:n(38)},l=n(16),u=n(7).Buffer,p=i.Uint8Array||function(){};var g,f=n(17);function E(){}function v(e,t){a=a||n(4),e=e||{};var r=t instanceof a;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,h=e.writableHighWaterMark,d=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(h||0===h)?h:d,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(s.nextTick(i,r),s.nextTick(_,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),_(e,t))}(e,n,r,t,i);else{var o=I(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||T(e,n),r?c(S,e,n,o,i):S(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function m(e){if(a=a||n(4),!(g.call(m,this)||this instanceof a))return new m(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function y(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),_(e,t)}function T(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var a=0,c=!0;n;)i[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;i.allBuffers=c,y(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var h=n.chunk,d=n.encoding,l=n.callback;if(y(e,t,!1,t.objectMode?1:h.length,h,d,l),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function I(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),_(e,t)})}function _(e,t){var n=I(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s.nextTick(b,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}h.inherits(m,l),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:d.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(g=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!g.call(this,e)||this===m&&(e&&e._writableState instanceof v)}})):g=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,u.isBuffer(r)||r instanceof p);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=E),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),s.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),s.nextTick(r,o),i=!1),i}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,s){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n));return t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var h=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},h?h.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,a,r,i,s);return c}(this,i,a,e,t,n)),o},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||T(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?s.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=f.destroy,m.prototype._undestroy=f.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n(1),n(36).setImmediate,n(0))},function(e,t,n){var r=n(7).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
492case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=h,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=d,this.end=l,t=3;break;default:return this.write=u,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function h(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if(i=o(t[r]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if(i=o(t[r]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){e.exports=o;var r=n(4),i=Object.create(n(5));function s(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);r.call(this,e),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){var e=this;"function"==typeof this._flush?this._flush(function(t,n){c(e,t,n)}):c(this,null,null)}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n(2),i.inherits(o,r),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},function(e,t,n){var r=n(22);"object"==typeof window?(window.EventSourcePolyfill=r,window.EventSource||(window.EventSource=r),e.exports=window.EventSource):e.exports=r},function(e,t,n){(function(t,r){var i=n(8).parse,s=n(9),o=n(31),a=n(11),c=n(43),h=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","servername","checkServerIdentity"],d=[239,187,191],l=262144,u=/^(cookie|authorization)$/i;function p(e,n,s){var c=p.CONNECTING,E=n&&n.headers,v=!1;Object.defineProperty(this,"readyState",{get:function(){return c}}),Object.defineProperty(this,"url",{get:function(){return e}});var m,y=this;function S(t){c!==p.CLOSED&&(c=p.CONNECTING,C("error",new g("error",{message:t})),w&&(e=w,w=null,v=!1),setTimeout(function(){c!==p.CONNECTING||y.connectionInProgress||(y.connectionInProgress=!0,M())},y.reconnectInterval))}y.reconnectInterval=1e3,y.connectionInProgress=!1;var T="";E&&E["Last-Event-ID"]&&(T=E["Last-Event-ID"],delete E["Last-Event-ID"]);var I=!1,b="",_="",w=null;function M(){s&&s instanceof Function&&s();var f=i(e),b="https:"===f.protocol;if(f.headers={"Cache-Control":"no-cache",Accept:"text/event-stream"},T&&(f.headers["Last-Event-ID"]=T),E){var _=v?function(e){var t={};for(var n in e)u.test(n)||(t[n]=e[n]);return t}(E):E;for(var R in _){var O=_[R];O&&(f.headers[R]=O)}}if(f.rejectUnauthorized=!(n&&!n.rejectUnauthorized),n&&void 0!==n.createConnection&&(f.createConnection=n.createConnection),n&&n.proxy){var N=i(n.proxy);b="https:"===N.protocol,f.protocol=b?"https:":"http:",f.path=e,f.headers.Host=f.host,f.hostname=N.hostname,f.host=N.host,f.port=N.port}if(n&&n.https)for(var P in n.https)if(-1!==h.indexOf(P)){var D=n.https[P];void 0!==D&&(f[P]=D)}n&&void 0!==n.withCredentials&&(f.withCredentials=n.withCredentials),m=(b?o:a).request(f,function(n){if(y.connectionInProgress=!1,500===n.statusCode||502===n.statusCode||503===n.statusCode||504===n.statusCode)return C("error",new g("error",{status:n.statusCode,message:n.statusMessage})),void S();if(301===n.statusCode||302===n.statusCode||307===n.statusCode){var i=n.headers.location;if(!i)return void C("error",new g("error",{status:n.statusCode,message:n.statusMessage}));var s=new URL(e).origin,o=new URL(i).origin;return v=s!==o,307===n.statusCode&&(w=e),e=i,void t.nextTick(M)}if(200!==n.statusCode)return C("error",new g("error",{status:n.statusCode,message:n.statusMessage})),y.close();var a,h;c=p.OPEN,n.on("close",function(){n.removeAllListeners("close"),n.removeAllListeners("end"),S()}),n.on("end",function(){n.removeAllListeners("close"),n.removeAllListeners("end"),S()}),C("open",new g("open"));var u=0,f=-1,E=0,m=0;n.on("data",function(e){a?(e.length>a.length-m&&((E=2*a.length+e.length)>l&&(E=a.length+e.length+l),h=r.alloc(E),a.copy(h,0,0,m),a=h),e.copy(a,m),m+=e.length):(function(e){return d.every(function(t,n){return e[n]===t})}(a=e)&&(a=a.slice(d.length)),m=a.length);for(var t=0,n=m;t<n;){I&&(10===a[t]&&++t,I=!1);for(var i,s=-1,o=f,c=u;s<0&&c<n;++c)58===(i=a[c])?o<0&&(o=c-t):13===i?(I=!0,s=c-t):10===i&&(s=c-t);if(s<0){u=n-t,f=o;break}u=0,f=-1,A(a,t,o,s),t+=s+1}t===n?(a=void 0,m=0):t>0&&(a=a.slice(t,m),m=a.length)})}),m.on("error",function(e){y.connectionInProgress=!1,S(e.message)}),m.setNoDelay&&m.setNoDelay(!0),m.end()}function C(){y.listeners(arguments[0]).length>0&&y.emit.apply(y,arguments)}function A(t,n,r,i){if(0===i){if(b.length>0){var s=_||"message";C(s,new f(s,{data:b.slice(0,-1),lastEventId:T,origin:new URL(e).origin})),b=""}_=void 0}else if(r>
4920){var o=r<0,a=0,c=t.slice(n,n+(o?i:r)).toString();n+=a=o?i:32!==t[n+r+1]?r+1:r+2;var h=i-a,d=t.slice(n,n+h).toString();if("data"===c)b+=d+"\n";else if("event"===c)_=d;else if("id"===c)T=d;else if("retry"===c){var l=parseInt(d,10);Number.isNaN(l)||(y.reconnectInterval=l)}}}M(),this._close=function(){c!==p.CLOSED&&(c=p.CLOSED,m.abort&&m.abort(),m.xhr&&m.xhr.abort&&m.xhr.abort())}}function g(e,t){if(Object.defineProperty(this,"type",{writable:!1,value:e,enumerable:!0}),t)for(var n in t)t.hasOwnProperty(n)&&Object.defineProperty(this,n,{writable:!1,value:t[n],enumerable:!0})}function f(e,t){for(var n in Object.defineProperty(this,"type",{writable:!1,value:e,enumerable:!0}),t)t.hasOwnProperty(n)&&Object.defineProperty(this,n,{writable:!1,value:t[n],enumerable:!0})}e.exports=p,c.inherits(p,s.EventEmitter),p.prototype.constructor=p,["open","error","message"].forEach(function(e){Object.defineProperty(p.prototype,"on"+e,{get:function(){var t=this.listeners(e)[0];return t?t._listener?t._listener:t:void 0},set:function(t){this.removeAllListeners(e),this.addEventListener(e,t)}})}),Object.defineProperty(p,"CONNECTING",{enumerable:!0,value:0}),Object.defineProperty(p,"OPEN",{enumerable:!0,value:1}),Object.defineProperty(p,"CLOSED",{enumerable:!0,value:2}),p.prototype.CONNECTING=0,p.prototype.OPEN=1,p.prototype.CLOSED=2,p.prototype.close=function(){this._close()},p.prototype.addEventListener=function(e,t){"function"==typeof t&&(t._listener=t,this.on(e,t))},p.prototype.dispatchEvent=function(e){if(!e.type)throw new Error("UNSPECIFIED_EVENT_TYPE_ERR");this.emit(e.type,e.detail)},p.prototype.removeEventListener=function(e,t){"function"==typeof t&&(t._listener=void 0,this.removeListener(e,t))}}).call(t,n(1),n(3).Buffer)},function(e,t,n){t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),o=r[0],a=r[1],h=new s(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),d=0,l=a>0?o-4:o;for(n=0;n<l;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],h[d++]=t>>16&255,h[d++]=t>>8&255,h[d++]=255&t;2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,h[d++]=255&t);1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,h[d++]=t>>8&255,h[d++]=255&t);return h},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=16383,a=0,c=n-i;a<c;a+=o)s.push(d(e,a,a+o>c?c:a+o));1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return s.join("")};for(var r=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function h(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function d(e,t,n){for(var r,i=[],s=t;s<n;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(h(r));return i.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){
493/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
494t.read=function(e,t,n,r,i){var s,o,a=8*i-r-1,c=(1<<a)-1,h=c>>1,d=-7,l=n?i-1:0,u=n?-1:1,p=e[t+l];for(l+=u,s=p&(1<<-d)-1,p>>=-d,d+=a;d>0;s=256*s+e[t+l],l+=u,d-=8);for(o=s&(1<<-d)-1,s>>=-d,d+=r;d>0;o=256*o+e[t+l],l+=u,d-=8);if(0===s)s=1-h;else{if(s===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),s-=h}return(p?-1:1)*o*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var o,a,c,h=8*s-i-1,d=(1<<h)-1,l=d>>1,u=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:s-1,g=r?1:-1,f=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=d):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+l>=1?u/c:u*Math.pow(2,1-l))*c>=2&&(o++,c/=2),o+l>=d?(a=0,o=d):o+l>=1?(a=(t*c-1)*Math.pow(2,i),o+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&a,p+=g,a/=256,i-=8);for(o=o<<i|a,h+=i;h>0;e[n+p]=255&o,p+=g,o/=256,h-=8);e[n+p-g]|=128*f}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var s="object"==typeof r&&r;s.global===s||s.window===s||s.self;var o,a=2147483647,c=36,h=/^xn--/,d=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
494= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,g=String.fromCharCode;function f(e){throw new RangeError(u[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function v(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(l,".")).split("."),t).join(".")}function m(e){for(var t,n,r=[],i=0,s=e.length;i<s;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<s?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function y(e){return E(e,function(e){var t="";return e>65535&&(t+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=g(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=c)e=p(e/35);return p(r+36*e/(e+38))}function b(e){var t,n,r,i,s,o,h,d,l,u,g=[],E=e.length,v=0,m=128,T=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f("not-basic"),g.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<E;){for(s=v,o=1,h=c;i>=E&&f("invalid-input"),((d=S(e.charCodeAt(i++)))>=c||d>p((a-v)/o))&&f("overflow"),v+=d*o,!(d<(l=h<=T?1:h>=T+26?26:h-T));h+=c)o>p(a/(u=c-l))&&f("overflow"),o*=u;T=I(v-s,t=g.length+1,0==s),p(v/t)>a-m&&f("overflow"),m+=p(v/t),v%=t,g.splice(v++,0,m)}return y(g)}function _(e){var t,n,r,i,s,o,h,d,l,u,E,v,y,S,b,_=[];for(v=(e=m(e)).length,t=128,n=0,s=72,o=0;o<v;++o)(E=e[o])<128&&_.push(g(E));for(r=i=_.length,i&&_.push("-");r<v;){for(h=a,o=0;o<v;++o)(E=e[o])>=t&&E<h&&(h=E);for(h-t>p((a-n)/(y=r+1))&&f("overflow"),n+=(h-t)*y,t=h,o=0;o<v;++o)if((E=e[o])<t&&++n>a&&f("overflow"),E==t){for(d=n,l=c;!(d<(u=l<=s?1:l>=s+26?26:l-s));l+=c)b=d-u,S=c-u,_.push(g(T(u+b%S,0))),d=p(b/S);_.push(g(T(d,0))),s=I(n,y,r==i),n=0,++r}++n,++t}return _.join("")}o={version:"1.4.1",ucs2:{decode:m,encode:y},decode:b,encode:_,toASCII:function(e){return v(e,function(e){return d.test(e)?"xn--"+_(e):e})},toUnicode:function(e){return v(e,function(e){return h.test(e)?b(e.slice(4).toLowerCase()):e})}},void 0===(i=function(){return o}.call(t,n,t,e))||(e.exports=i)}()}).call(t,n(26)(e),n(0))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){t.decode=t.parse=n(29),t.encode=t.stringify=n(30)},function(e,t,n){function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,s){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var c=1e3;s&&"number"==typeof s.maxKeys&&(c=s.maxKeys);var h=e.length;c>0&&h>c&&(h=c);for(var d=0;d<h;++d){var l,u,p,g,f=e[d].replace(a,"%20"),E=f.indexOf(n);E>=0?(l=f.substr(0,E),u=f.substr(E+1)):(l=f,u=""),p=decodeURIComponent(l),g=decodeURIComponent(u),r(o,p)?i(o[p])?o[p].push(g):o[p]=[o[p],g]:o[p]=g}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?s(o(e),function(o){var a=encodeURIComponent(r(o))+n;return i(e[o])?s(e[o],function(e){return a+encodeURIComponent(r(e))}).join(t):a+encodeURIComponent(r(e[o]))}).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=Object.keys||function(e){var t=[];
494for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){var r=n(11),i=n(8),s=e.exports;for(var o in r)r.hasOwnProperty(o)&&(s[o]=r[o]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}s.request=function(e,t){return e=a(e),r.request.call(this,e,t)},s.get=function(e,t){return e=a(e),r.get.call(this,e,t)}},function(e,t,n){(function(t,r,i){var s=n(12),o=n(2),a=n(13),c=n(14),h=n(40),d=a.IncomingMessage,l=a.readyStates;var u=e.exports=function(e){var n,r=this;c.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!s.abortController)i=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!s.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=function(e,t){return s.fetch&&t?"fetch":s.mozchunkedarraybuffer?"moz-chunked-arraybuffer":s.msstream?"ms-stream":s.arraybuffer&&e?"arraybuffer":s.vbArray&&e?"text:vbarray":"text"}(n,i),r._fetchTimer=null,r.on("finish",function(){r._onFinish()})};o(u,c.Writable),u.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===p.indexOf(n)&&(this._headers[n]={name:e,value:t})},u.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},u.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},u.prototype._onFinish=function(){var e=this;if(!e._destroyed){var n=e._opts,o=e._headers,a=null;"GET"!==n.method&&"HEAD"!==n.method&&(a=s.arraybuffer?h(t.concat(e._body)):s.blobConstructor?new r.Blob(e._body.map(function(e){return h(e)}),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var c=[];if(Object.keys(o).forEach(function(e){var t=o[e].name,n=o[e].value;Array.isArray(n)?n.forEach(function(e){c.push([t,e])}):c.push([t,n])}),"fetch"===e._mode){var d=null;if(s.abortController){var u=new AbortController;d=u.signal,e._fetchAbortController=u,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:c,body:a||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:d}).then(function(t){e._fetchResponse=t,e._connect()},function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var p=e._xhr=new r.XMLHttpRequest;try{p.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}"responseType"in p&&(p.responseType=e._mode.split(":")[0]),"withCredentials"in p&&(p.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in p&&p.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(p.timeout=n.requestTimeout,p.ontimeout=function(){e.emit("requestTimeout")}),c.forEach(function(e){p.setRequestHeader(e[0],e[1])}),e._response=null,p.onreadystatechange=function(){switch(p.readyState){case l.LOADING:case l.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(p.onprogress=function(){e._onXHRProgress()}),p.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{p.send(a)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}}}},u.prototype._onXHRProgress=function(){var e=this;(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},u.prototype._connect=function(){var e=this;e._destroyed||(e._response=new d(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},u.prototype._write=function(e,t,n){this._body.push(e),n()},u.prototype.abort=u.prototype.destroy=function(){var e=this;e._destroyed=!0,r.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},u.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(this,e,t,n)},u.prototype.flushHeaders=function(){},u.prototype.setTimeout=function(){}
vendor: 9,899 bytes, line 494
494,u.prototype.setNoDelay=function(){},u.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(t,n(3).Buffer,n(0),n(1))},function(e,t){},function(e,t,n){var r=n(7).Buffer,i=n(35);function s(e,t,n){e.copy(t,n)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t=r.allocUnsafe(e>>>0),n=this.head,i=0;n;)s(n.data,t,i),i+=n.data.length,n=n.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new s(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(37),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(0))},function(e,t,n){(function(e,t){!function(e){if(!e.setImmediate){var n,r,i,s,o,a=1,c={},h=!1,d=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,n=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),n=function(t){e.postMessage(s+t,"*")}),l.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return c[a]=i,n(a),a++},l.clearImmediate=u}function u(e){delete c[e]}function p(e){if(h)setTimeout(p,0,e);else{var t=c[e];if(t){h=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),h=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(0),n(1))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(t,n(0))},function(e,t,n){e.exports=s;var r=n(20),i=Object.create(n(5));function s(e){if(!(this instanceof s))return new s(e);r.call(this,e)}i.inherits=n(2),i.inherits(s,r),s.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){var r=n(3).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,s=r.length,o=String(e).replace(i,function(e){if("%%"===e)return"%";if(n>=s)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),c=r[n];n<s;c=r[++n])f(c)||!S(c)?o+=" "+c:o+=" "+a(c);return o},t.deprecate=function(n,r){if(void 0!==e&&!0===e.noDeprecation)return n;if(void 0===e)return function(){return t.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var s,o={};function a(e,n){var r={seen:[],stylize:h};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),g(n)?r.showHidden=n:n&&t._extend(r,n),m(r.showHidden)&&(r.showHidden=!1),m(r.depth)&&(r.depth=2),m(r.colors)&&(r.colors=!1),m(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),d(r,e,r.depth)}function c(e,t){var n=a.styles[t];return n?"�["+a.colors[n][0]+"m"+e+"�["+a.colors[n][1]+"m":e}function h(e,t){return e}function d(e,n,r){if(e.customInspect&&n&&b(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=d(e,i,r)),i}var s=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(E(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(f(t))return e.stylize("null","null")}(e,n);if(s)return s;var o=Object.keys(n),a=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),I(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return l(n);if(0===o.length){if(b(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(T(n))return e.stylize(Date.prototype.toString.call(n),"date");if(I(n))return l(n)}var h,S="",_=!1,w=["{","}"];(p(n)&&(_=!0,w=["[","]"]),b(n))&&(S=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(S=" "+RegExp.prototype.toString.call(n)),T(n)&&(S=" "+Date.prototype.toUTCString.call(n)),I(n)&&(S=" "+l(n)),0!==o.length||_&&0!=n.length?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),h=_?function(e,t,n,r,i){for(var s=[],o=0,a=t.length;o<a;++o)C(t,String(o))?s.push(u(e,t,n,r,String(o),!0)):s.push("");
vendor: 4,102 bytes, line 494
494return i.forEach(function(i){i.match(/^\d+$/)||s.push(u(e,t,n,r,i,!0))}),s}(e,n,r,a,o):o.map(function(t){return u(e,n,r,a,t,_)}),e.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(h,S,w)):w[0]+S+w[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function u(e,t,n,r,i,s){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),C(r,i)||(o="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=f(n)?d(e,c.value,null):d(e,c.value,n-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),m(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function p(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function f(e){return null===e}function E(e){return"number"==typeof e}function v(e){return"string"==typeof e}function m(e){return void 0===e}function y(e){return S(e)&&"[object RegExp]"===_(e)}function S(e){return"object"==typeof e&&null!==e}function T(e){return S(e)&&"[object Date]"===_(e)}function I(e){return S(e)&&("[object Error]"===_(e)||e instanceof Error)}function b(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function w(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(m(s)&&(s=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(s)){var r=e.pid;o[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else o[n]=function(){};return o[n]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=g,t.isNull=f,t.isNullOrUndefined=function(e){return null==e},t.isNumber=E,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=y,t.isObject=S,t.isDate=T,t.isError=I,t.isFunction=b,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(44);var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":"),[e.getDate(),M[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(2),t._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(A&&e[A]){var t;if("function"!=typeof(t=e[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),A&&Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,
494configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=A,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};t.apply(this,n).then(function(t){e.nextTick(o,null,t)},function(t){e.nextTick(R,t,o)})}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(t,n(1))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}]);const k="ADD",G="DELETE",V="EmbeddedMessaging-ConversationState";class j extends t.LightningElement{constructor(...e){super(...e),this.configuration=void 0,this.publicConfiguration=void 0,this.prechatConstructor=void 0,this.textMessageConstructor=void 0,this.conversationEntries=[],this.streamingConversationEntries={},this.conversationEntriesUtil=void 0,this.conversationParticipants=[],this.conversationData=void 0,this.conversationStatus=void 0,this.isMinimized=void 0,this.conversationId=void 0,this.currentTypingParticipants={},this.progressIndicatorMessage=void 0,this.sessionStatus=void 0,this.isAnotherParticipantTyping=!1,this._queuePosition=0,this.isJwtExpired=!1,this.isTransferring=!1,this.showGetConversationEntriesSpinner=!1,this.hasLoadedAllConversationEntries=!1,this.sseStatus=p.SseStatus.NOT_STARTED_SSE,this.sseBlockedTS=void 0,this.failedMessages={},this.webViewMetadata={},this.webViewMessageToUpdate=[],this.displayWebViewOverlay=!1,this.displayConfirmationDialogInOverlay=!1,this.displaySessionPrechatForm=!1,this.displaySecureForm=!1,this.visiblePrechatFields={},this.headerMenuOptions=[],this.isReconnectInProgress=!1,this.hasSSEReconnectAttemptsExhausted=!1,this.conversationEntriesStartIndexForTTFM=0,this.firstEndUserMessageTimeWhenEndUserOnlyParticipant=void 0,this.pingTimer=void 0,this.endUserMessageMetadata={endUserMessageTime:void 0,endUserMessageId:void 0},this.firstStreamingTokenEntry=void 0,this.numStreamingValidationFailures=0,this.shouldDispatchFirstBotMessageEvent=!1,this.inputFooterTextAreaPlaceholderText="",this._lastInAppServiceErrorTime=void 0,this.enableUserInputForConversationWithBot=!0,this.handleEscapeKey=e=>{"Escape"!==e.key&&27!==e.keyCode||h.dispatchMessagingEvent(h.MESSAGING_EVENT.MINIMIZE_BUTTON_CLICK,{})},this.handleMessageEvents=e=>{a.util.handleWindowEvents(e,{[a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT]:this.setFocusOnLastFocusableElement.bind(this),[a.events.APP_RECEIVE_AUTORESPONSE_PARAMETER_EVENT_NAME]:this.handleReceiveParametersFromAutoResponseAPI.bind(this),[a.events.APP_RECEIVE_HIDDEN_PRECHAT_FIELDS_EVENT_NAME]:this.handleReceiveHiddenPrechatFields.bind(this)})},this.renderConversationMessage=(e,t)=>{try{if(!e)return;this.conversationId===e.conversationId&&(this.conversationEntriesUtil.getEntry(e.messageId)?this.updateExistingConversationEntry(e,t||{}):this.addConversationEntry(Object.assign(e,t||{})),this.toggleUserInputOnNewMessage(e),this.setNextOutboundMessageAsChoicesResponse(e),this.handleConversationEntryMetadata(e))}catch(e){a.error(`Error thrown while handling historical conversation message in conversation ${this.conversationId}: ${e}`)}},this.renderParticipantChanged=e=>{try{if(!e)return;if(this.conversationId===e.conversationId){const t=e.participantEntries;if(!t.length||f.isSupervisorParticipant(t[0].participant)||f.isRouterParticipant(t[0].participant))return;if(e.messageType===p.ParticipantChangedOperations.REMOVE&&t.length>1)for(const n of t){if(f.isSupervisorParticipant(n.participant)||f.isRouterParticipant(n.participant))continue;const t={...e.content,entries:[n]},r=`${e.messageId}-${n.participant.subject}`,i=Object.assign(Object.create(Object.getPrototypeOf(e)),e,{content:t,actorName:n.displayName||n.participant.role,messageId:r});this.addConversationEntry(Object.assign(i,{shouldShowAvatar:this.shouldDisplayAvatar(i)}))}else this.addConversationEntry(Object.assign(e,{shouldShowAvatar:this.shouldDisplayAvatar(e)}))}}catch(e){a.error(`Error thrown while handling historical participant change in conversation ${this.conversationId}: ${e}`)}},this.renderRoutingResult=e=>{try{if(!e)return;if(this.conversationId===e.conversationId)if(e.messageType===p.RoutingTypes.INITIAL)switch(e.content.failureType){case p.RoutingFailureTypes.NO_ERROR:case p.RoutingFailureTypes.SUBMISSION_ERROR:case p.RoutingFailureTypes.ROUTING_ERROR:case p.RoutingFailureTypes.UNKNOWN_ERROR:this.addConversationEntry(e);break;default:a.warning(`Unrecognized initial routing failure type: ${e.content.failureType}`)}else if(e.messageType===p.RoutingTypes.TRANSFER)switch(e.content.failureType){case p.RoutingFailureTypes.NO_ERROR:this.addConversationEntry(e);break;case p.RoutingFailureTypes.SUBMISSION_ERROR:case p.RoutingFailureTypes.ROUTING_ERROR:case p.RoutingFailureTypes.UNKNOWN_ERROR:case p.RoutingFailureTypes.CANCELLED:break;default:a.warning(`Unrecognized transfer routing failure type: ${e.content.failureType}`)}
494else a.warning(`Unrecognized routing type: ${e.messageType}`)}catch(e){a.error(`Error thrown while handling historical routing result in conversation ${this.conversationId}: ${e}`)}},this.handleReceiveParametersFromAutoResponseAPI=e=>{let t;try{a.validateParametersFromAutoResponseAPI(e),t=e,this.webViewMetadata.shouldRenderInline&&(this.webViewMetadata.pageParameters=t||{},this.webViewMetadata.url=a.constructAutoResponseURL(this.webViewMetadata.templateURL,this.webViewMetadata.coreParameters,this.webViewMetadata.pageParameters))}catch(e){a.error(`Error validating Auto-Response API parameters received from host domain: ${e}`)}finally{if(this.webViewMetadata.shouldRenderInline)m.getItemInWebStorageByKey(p.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED)||(m.setItemInWebStorage(p.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED,!0),m.setItemInWebStorage(p.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED,!0,!1),this.onShowWebViewOverlay());else{const e=this.webViewMessageToUpdate.shift();if(e){const n=e.conversationEntry,r=e.attributes;n.webViewURL=a.constructAutoResponseURL(n.webViewURL,n.webViewParameters,t),this.renderConversationMessage(n,r)}}}}}get queuePosition(){return this._queuePosition}set queuePosition(e){this._queuePosition=e;try{m.setItemInWebStorage(p.STORAGE_KEYS.QUEUE_POSITION,e)}catch(e){a.LoggingUtil.logError(e,V,{method:"queuePosition",errMessage:"Failed to set queue position."})}}getSseStatus(){return this.sseStatus}get lastInAppServiceErrorTime(){return this._lastInAppServiceErrorTime}get generateConversationStateClass(){let e="conversationState";return this.displayWebViewOverlay?e+=" webviewOverlay":this.displaySessionPrechatForm?e+=" sessionPrechatForm":this.displaySecureForm&&(e+=" secureForm"),e}get secureFormTitle(){return this.secureForm&&this.secureForm.formTitle?this.secureForm.formTitle:""}get secureFormData(){return this.secureForm&&this.secureForm.formSections?this.secureForm.formSections:{}}getConversationStateConversationEntries(){return this.conversationEntries}get isUserInputDisabled(){switch(this.conversationStatus){case p.ConversationStatus.OPENED_CONVERSATION:return!this.enableUserInputForConversationWithBot;case p.ConversationStatus.NOT_STARTED_CONVERSATION:case p.ConversationStatus.CLOSED_CONVERSATION:default:return!0}}closeConversation(){return this.queuePosition=-1,this.sseStatus===p.SseStatus.LONG_POLLING&&this.showClosedConversationState(Date.now(),{conversationId:this.conversationId}),d.closeConversation(this.conversationId).then(()=>{a.LoggingUtil.logCurrentState(V,{method:"closeConversation",stateMessage:"Closed the conversation successfully."})}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"closeConversation",errMessage:"Close Conversation ia-message request failed.",errCode:e.status}),this.handleInAppServiceError(e)})}connectedCallback(){var e;this.conversationEntriesUtil=(e=this.conversationEntries,new B(e)),this.conversationId=this.configuration&&this.configuration.conversationId;try{const e=m.getItemInWebStorageByKey(p.STORAGE_KEYS.QUEUE_POSITION),t=Number(e);this.queuePosition=Number.isFinite(t)?t:0}catch(e){this.queuePosition=0}this.handleSubscribeToEventSource().then(this.conversationData.isExistingConversation?this.handleExistingConversation.bind(this):this.handleNewConversation.bind(this)).catch(this.handleInAppServiceError.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_SSE_ERROR_EVENT,this.handleInAppServiceError.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_CREATE_CONVERSATION_ENTRY,this.handleCreateConversationEntry.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE,e=>{e.isMessageAreaEndOfScroll&&(this.conversationStatus===p.ConversationStatus.CLOSED_CONVERSATION?this.updateTitleNotification(e):this.isTransferring||this.isReconnectInProgress||c.dispatchChatHeaderEvent(c.HEADER_EVENTS.CLEAR_NOTIFICATION,{}))}),c.assignHandler(a.events.EMBEDDED_MESSAGING_RESEND_FAILED_MESSAGE,this.handleMessageResend.bind(this)),h.assignMessagingEventHandler(h.MESSAGING_EVENT.BACK_BUTTON_CLICK,this.handleChatHeaderBackButtonClick.bind(this)),h.assignMessagingEventHandler(h.MESSAGING_EVENT.MENU_ITEM_SELECTED,this.handleMenuItemSelection.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_FORM_MESSAGE_CLICK_EVENT,this.handleFormMessageButtonClick.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_CLOSE_CONFIRMATION,this.handleDialogCloseConfirmation.bind(this)),c.assignFormEventHandler(c.FORM_EVENTS.SECURE_FORM_SUBMIT,this.handleSecureFormSubmit.bind(this)),window.addEventListener("message",this.handleMessageEvents),document.addEventListener("visibilitychange",this.updateTitleNotification.bind(this)),window.addEventListener("keydown",this.handleEscapeKey.bind(this)),this.failedMessages=this.getFailedMessagesIfExists(),c.assignHandler("onTryAgainButtonClick",this.handleTryAgainBannerButtonClick.bind(this)),c.assignHandler("onNewConversationButtonClick",this.handleNewConversationBannerButtonClick.bind(this)),c.assignHandler("inappserviceerror",this.handleInAppServiceError.bind(this))}renderedCallback(){const e=this.querySelectConversationLog(),t=this.querySelectInputFooter();c.assignHandler(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,this.setFocusOnLastFocusableElement.bind(this)),e&&e.addEventListener("click",()=>{c.dispatchChatHeaderEvent(c.HEADER_EVENTS.CLICK_OUTSIDE_HEADER,{})}),t&&t.addEventListener("click",()=>{c.dispatchChatHeaderEvent(c.HEADER_EVENTS.CLICK_OUTSIDE_HEADER,{})})}errorCallback(e,t){a.error(`Something went wrong in conversation ${this.conversationId}: ${e&&e.message?e.message:e} ${t}`)}disconnectedCallback(){document.removeEventListener("visibilitychange",this.updateTitleNotification.bind(this)),window.removeEventListener("message",this.handleMessageEvents),window.removeEventListener("keydown",this.handleEscapeKey),c.clearHandlersForEvent(a.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT),c.clearHandlersForFormEvent(c.FORM_EVENTS.SECURE_FORM_SUBMIT)}handleNewConversation(){this.addConversationParticipants(this.conversationData.participants),this.conversationStartTime=new Date,this.shouldDispatchFirstBotMessageEvent=!0,a.LoggingUtil.logCurrentState(V,{method:"handleNewConversation",stateMessage:`Created a new conversation with routing attributes ${JSON.stringify(Object.keys(this.configuration.routingAttributes))}`})}setFocusOnLastFocusableElement(){if(this.conversationStatus===p.ConversationStatus.OPENED_CONVERSATION){const e=this.querySelectInputFooter();this.displaySecureForm?c.dispatchFormEvent(c.FORM_EVENTS.FOCUS_ON_LAST_FOCUSABLE_ELEMENT,{}):e&&e.setFocusOnTextArea()}else{const e=this.querySelectConversationLog();e&&e.focus()}}handleExistingConversation(){return new Promise(e=>{this.addConversationParticipants(this.conversationData.participants),this.toggleUserInputOnParticipantChanged(),this.conversationStartTime=this.conversationData.startTimestamp;const t=f.getAgentOrBotParticipants(this.conversationParticipants);1===t.length?h.dispatchMessagingEvent(h.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:t[0].displayName||t[0].role}):t.length>1&&h.dispatchMessagingEvent(h.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:v.getLabel("EmbeddedMessagingChatHeader","ConferenceHeaderText")}),this.handleGetConversationRoutingStatus().then(()=>{this.isTransferring&&this.onTransferRoutingInitiated()}),this.handleGetConversationEntries().then(e)}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleExistingConversation",errMessage:"Something went wrong while showing an existing open conversation."}),this.handleInAppServiceError(e)})}
494parseGetConversationEntriesResponse(e){try{e.reverse().forEach(e=>{const t=E.createConversationEntryFactory(e);switch(e.conversationEntry.entryType){case p.EntryTypes.CONVERSATION_MESSAGE:t.isWebViewChatMessage?(this.webViewMessageToUpdate.push({conversationEntry:t}),a.requestParametersFromAutoResponseAPI()):(this.renderConversationMessage(t,{shouldShowAvatar:this.shouldDisplayAvatar(t)}),t.wasRevised&&this.insertStreamingTokenValidationSystemMesssage(t));break;case p.EntryTypes.PARTICIPANT_CHANGED:this.processParticipantMetadata(t),this.renderParticipantChanged(t);break;case p.EntryTypes.ROUTING_RESULT:this.renderRoutingResult(t);break;case p.EntryTypes.SESSION_STATUS_CHANGED:this.addConversationEntry(t);break;default:throw Error(`Unrecognized conversation entry type: ${e.conversationEntry.entryType}.`)}})}catch(e){throw new Error(`Error occurred while processing conversation history: ${e&&e.message?e.message:e}`)}}reconnectToEventSource(e){return d.closeEventSource().then(()=>d.subscribeToEventSource(this.getSupportedServerEvents(),e)).catch(e=>{a.LoggingUtil.logCurrentState(V,{method:"reconnectToEventSource",stateMessage:"Failed to reconnect to event source.",errCode:e.status}),this.handleInAppServiceError(e)})}handleConnectionInterrupted(){this.isReconnectInProgress=!0,this.onReconnectInProgress()}handleConnectionEnded(){this.isReconnectInProgress&&(this.isReconnectInProgress=!1,this.onReconnectEnded())}handlePingTimeoutError(e){if(this.conversationStatus===p.ConversationStatus.OPENED_CONVERSATION&&!this.isReconnectInProgress&&!this.hasSSEReconnectAttemptsExhausted){const t=Date.now();if(this.sseBlockedTS||(this.sseBlockedTS=t),a.LoggingUtil.logError("PingTimeoutFailure",V,{method:"handlePingTimeoutError",errMessage:`Did not receive ${this.sseStatus===p.SseStatus.NOT_STARTED_SSE?"first":""} ping from server within expected time period of ${e} ms, timer started at: ${this.pingTimer._lastReceivedTimestamp}. Tab state is: ${document.visibilityState}. SseStatus before missed ping was: ${this.sseStatus}. Timestamp of first missed ping: ${this.sseBlockedTS}`}),this.sseStatus===p.SseStatus.NOT_STARTED_SSE){if(this.sseStatus=p.SseStatus.BLOCKED_INITIAL_SSE,l.hasLongPollingSupport())return d.closeEventSource(),this.sseStatus=p.SseStatus.LONG_POLLING,m.setItemInWebStorage(p.STORAGE_KEYS.SSE_STATUS,p.SseStatus.LONG_POLLING,!1),d.startLongPolling(this.getSupportedServerEvents())?.catch(()=>{}),void(this._sseSubscribeResolve&&(this._sseSubscribeResolve(),this._sseSubscribeResolve=null));h.dispatchMessagingEvent(h.MESSAGING_EVENT.SSE_INITIAL_PING_TIMEOUT,{}),this.setPingTimer(p.PING_TIMEOUT_MS)}else h.dispatchMessagingEvent(h.MESSAGING_EVENT.SSE_PING_TIMEOUT,{}),this.pingTimer.reset(t),this.sseStatus=p.SseStatus.BLOCKED_SSE;this.configuration.noSsePatch||this.reconnectToEventSource()}}prepareConnectionHandlers(){c.assignHandler(a.events.EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT,this.handleConnectionInterrupted.bind(this)),c.assignHandler(a.events.EMBEDDED_MESSAGING_SSE_CONNECTION_ENDED_EVENT,this.handleConnectionEnded.bind(this))}handleSubscribeToEventSource(){return this.prepareConnectionHandlers(),m.getItemInWebStorageByKey(p.STORAGE_KEYS.SSE_STATUS,!1)===p.SseStatus.LONG_POLLING?(a.LoggingUtil.logCurrentState(V,{method:"handleSubscribeToEventSource",stateMessage:"Previous LP fallback detected for this tab session — starting LP directly without attempting SSE."}),this.sseStatus=p.SseStatus.LONG_POLLING,d.startLongPolling(this.getSupportedServerEvents())?.catch(()=>{}),Promise.resolve()):(this.setPingTimer(p.FIRST_PING_TIMEOUT_MS),new Promise((e,t)=>{this._sseSubscribeResolve=e,d.subscribeToEventSource(this.getSupportedServerEvents()).then(e,t)}))}setPingTimer(e){this.pingTimer&&this.pingTimer.clear(),this.pingTimer=new C.default(this.handlePingTimeoutError.bind(this,e),e,Date.now()),this.pingTimer.start()}async handleEventsOutOfRangeServerSentEvent(){const e=[];try{let t=Date.now(),n=null,r=!0;for(;r;){const i=await d.getConversationEntries(this.conversationId,p.EVENTS_OUT_OF_RANGE__GET_CONVERSATION_ENTRIES_LIMIT,t,n);if(e.push(...i),i.length<p.EVENTS_OUT_OF_RANGE__GET_CONVERSATION_ENTRIES_LIMIT)r=!1;else if(i.length===p.EVENTS_OUT_OF_RANGE__GET_CONVERSATION_ENTRIES_LIMIT){const e=i[i.length-1];e&&void 0!==this.conversationEntriesUtil.getEntry(e.identifier)?r=!1:t=e.transcriptedTimestamp}else r=!1}return this.parseGetConversationEntriesResponse(e),a.LoggingUtil.logCurrentState(V,{method:"handleEventsOutOfRangeServerSentEvent",stateMessage:"Backfilled conversation entries for the current conversation after Events Out of Range event was received from the server."}),e}catch(e){throw a.LoggingUtil.logError(e,V,{method:"handleEventsOutOfRangeServerSentEvent",errMessage:"Failed to retrieve to backfill the current conversation.",errCode:e.status}),this.handleInAppServiceError(e),e}}handleGetConversationEntries(){return d.getConversationEntries(this.conversationId,p.GET_CONVERSATION_ENTRIES_LIMIT,Date.now()).then(e=>{this.parseGetConversationEntriesResponse(e),this.restoreWebStorageFailedMessageEntries(),a.LoggingUtil.logCurrentState(V,{method:"handleGetConversationEntries",stateMessage:"Fetched conversation entries for the current conversation."})}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleGetConversationEntries",errMessage:"Failed to retrieve conversation entries for the current conversation.",errCode:e.status}),this.handleInAppServiceError(e)})}handleScrollToTop(){const e=this.conversationEntriesUtil.getOldestEntry();this.showGetConversationEntriesSpinner=!0,d.getConversationEntries(this.conversationId,p.GET_CONVERSATION_ENTRIES_LIMIT,e.transcriptedTimestamp).then(e=>{e.length<p.GET_CONVERSATION_ENTRIES_LIMIT&&(this.hasLoadedAllConversationEntries=!0),this.parseGetConversationEntriesResponse(e)}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleScrollToTop",errMessage:"Failed to retrieve older conversation entries for the current conversation when user scrolled to the top of the conversation log.",errCode:e.status}),this.handleInAppServiceError(e)}).finally(()=>{this.showGetConversationEntriesSpinner=!1})}handleGetConversationRoutingStatus(){return d.getConversationRoutingStatus(this.conversationId).then(e=>{this.isTransferring=e.routingStatus===p.RoutingStatus.TRANSFER,a.LoggingUtil.logCurrentState(V,{method:"handleGetConversationRoutingStatus",stateMessage:"Fetched conversation routing status for the current conversation."})}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleGetConversationRoutingStatus",errMessage:"Failed to make request to get routing status of the current conversation.",errCode:e.status}),this.handleInAppServiceError(e)})}handleInAppServiceErrorCustomEvent(e){this.handleInAppServiceError(e)}handleInAppServiceError(e){let t;
494if(this._lastInAppServiceErrorTime=Date.now(),e)if(t=e.detail||void 0,t){if(t.error&&409!==t.error.status)if(401===t.error.status)this.handleJwtExpiry(!0);else if(t.error===p.SSE_TOO_MANY_RETRIES)this.handleSSETooManyRetries();else if(t.error===p.SSE_REQUEST_RATE_LIMITED_ERROR)this.handleSSERateLimitedError();else if(t.entryId&&this.conversationEntriesUtil.getEntry(t.entryId)?.isChatMessage&&this.conversationEntriesUtil.getEntry(t.entryId)?.isMessageOutbound){a.LoggingUtil.logError(t.error,V,{method:"handleInAppServiceError",errMessage:"Message send failed",errCode:t.error.status,convEntryId:t.entryId}),this.conversationEntriesUtil.updateEntry(t.entryId,{hasSendFailed:!0,...t.attachedFile&&{attachedFile:t.attachedFile},...t.attachedFiles&&{attachedFiles:t.attachedFiles},resendInProgress:!1,errorStatus:t.error.status}),this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(t.entryId),this.updateWebStorageFailedMessageEntries(t.entryId,k);const e=v.getLabel("EmbeddedMessagingConversationState","NotSent");a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:e}),this.querySelectConversationLog().scrollToBottom(),t.error.status===p.HTTP_ERROR_CODE_MISSING_SESSION&&this.isSessionPrechatEnabled()&&(this.sessionPrechatHasVisibleFields()||this.hasTermsAndConditions()?this.showSessionPrechatForm():this.sessionPrechatHasHiddenFields()&&a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.APP_REQUEST_HIDDEN_PRECHAT_FIELDS_EVENT_NAME),this.updateEntriesStartIndexForTimeToFirstMessage(t.entryId))}else{const e=`${t.error.statusText?t.error.statusText:t.error?t.error:"Error thrown was undefined."}`;a.error(e),a.LoggingUtil.logError("Undefined error",V,{method:"handleInAppServiceError",errMessage:e,errCode:t.error.status})}}else e.status&&409!==e.status&&401===e.status?this.handleJwtExpiry(!0):a.error.error&&a.error.error===p.SSE_TOO_MANY_RETRIES?this.handleSSETooManyRetries():a.error.error&&a.error.error===p.SSE_REQUEST_RATE_LIMITED_ERROR&&this.handleSSERateLimitedError()}handleJwtExpiry(e){this.isJwtExpired=!0,this.conversationEndTime=new Date,m.clearWebStorage(),this.queuePosition=-1,this.dispatchConversationStatusChangeEvent(p.ConversationStatus.CLOSED_CONVERSATION),c.dispatchChatHeaderEvent(c.HEADER_EVENTS.JWT_EXPIRED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.JWT_EXPIRED,{}),a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_TOKEN_EXPIRED,{}),e&&a.LoggingUtil.logError("Jwt Expired",V,{method:"handleJwtExpiry",errMessage:"JWT expired."}),a.LoggingUtil.logCurrentState(V,{method:"handleJwtExpiry",stateMessage:"Updated client to conversation-ended state."})}handleSSETooManyRetries(){if(a.LoggingUtil.logCurrentState(V,{method:"handleSSETooManyRetries",stateMessage:`sseRetryEnhancement setting is set to ${Boolean(this.configuration.snippetSettings.sseRetryEnhancement)}`}),this.configuration.snippetSettings.sseRetryEnhancement){const e=v.getLabel("EmbeddedMessagingIframesAndContents","SSEConnectionTryAgainNotification");this.hasSSEReconnectAttemptsExhausted=!0,this.inputFooterTextAreaPlaceholderText=v.getLabel("EmbeddedMessagingInputFooter","InputFooterTextAreaPlaceHolder"),this.enableUserInputForConversationWithBot=!1,c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:e,type:a.NOTIFICATION_TYPES.ERROR,isDismissible:!1,showTryAgainButton:!0,showNewConversationButton:!1}),a.LoggingUtil.logCurrentState(V,{method:"handleSSETooManyRetries",stateMessage:"Disabled Input Footer and displayed banner notification with 'Try Again' button."})}else a.LoggingUtil.logError("SSETooManyRetries",V,{method:"handleSSETooManyRetries",errMessage:"SSE max retry attempts are exhausted. Clearing the web storage and updating the client to conversation-ended state."}),this.handleJwtExpiry()}handleSSERateLimitedError(){a.LoggingUtil.logCurrentState(V,{method:"handleSSERateLimitedError",stateMessage:"Getting a new Continuity Access JWT."}),d.getContinuityJwt().then(e=>{const t=a.authUtil.getAuthMode(this.configuration)===p.AUTH_MODE.EXP_SITE_AUTH?e.data:e;d.setLastEventId(t.lastEventId),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_UPDATE_JWT,{bubbles:!0,detail:{jwt:t.accessToken}}),a.LoggingUtil.logCurrentState(V,{method:"handleSSERateLimitedError",stateMessage:"Successfully fetched a new Continuity Access JWT."}),a.LoggingUtil.logCurrentState(V,{method:"handleSSERateLimitedError",stateMessage:`sseRetryEnhancement setting is set to ${Boolean(this.configuration.snippetSettings.sseRetryEnhancement)}`}),this.configuration.snippetSettings.sseRetryEnhancement?this.handleSSETooManyRetries():d.subscribeToEventSource(this.getSupportedServerEvents(),0).then(()=>{a.LoggingUtil.logCurrentState(V,{method:"handleSSERateLimitedError",stateMessage:"Successfully reconnected to SSE with the Continuity Access JWT."})}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleSSERateLimitedError",errMessage:"Failed to reconnect to SSE with the new Continuity Access JWT. Clearing the web storage and updating the client to conversation-ended state."}),this.handleJwtExpiry()})}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleSSERateLimitedError",errMessage:"Something went wrong in getting a new Continuity Access JWT. Clearing the web storage and updating the client to conversation-ended state.",errCode:e.status}),this.handleJwtExpiry()})}handleTryAgainBannerButtonClick(){c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,{}),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SSE_CONNECTION_INTERRUPTED_EVENT,{});const e=Date.now();this.handleGetConversationEntries().then(()=>{this.sseStatus!==p.SseStatus.LONG_POLLING?d.subscribeToEventSource(this.getSupportedServerEvents(),0).then(()=>{this.applyTryAgainSuccessState()}).catch(()=>{this.showTryAgainOrNewConversationBanner(e,"SSE")}):d.startLongPolling(this.getSupportedServerEvents(),{maxAttempts:0}).then(()=>{this.applyTryAgainSuccessState()}).catch(()=>{this.showTryAgainOrNewConversationBanner(e,"long polling")})}).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleTryAgainBannerButtonClick",errMessage:"Failed to fetch conversation entries on 'Try Again' banner button click.",errCode:e.status}),this.showTryAgainOrNewConversationBanner(null,"conversation entries fetch")})}applyTryAgainSuccessState(){c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,{}),this.hasSSEReconnectAttemptsExhausted=!1,this.enableUserInputForConversationWithBot=!0,this.inputFooterTextAreaPlaceholderText="";const e=this.sseStatus===p.SseStatus.LONG_POLLING?"long polling":"SSE";a.LoggingUtil.logCurrentState(V,{method:"handleTryAgainBannerButtonClick",stateMessage:`Successfully reconnected via ${e}. Enabled Input Footer and cleared banner notification with 'Try Again' button.`})}showTryAgainOrNewConversationBanner(e,t){const n=v.getLabel("EmbeddedMessagingIframesAndContents","StartNewConversationNotification"),r=v.getLabel("EmbeddedMessagingIframesAndContents","SSEConnectionTryAgainNotification"),i=()=>{c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,{}),a.authUtil.isUserVerificationEnabled(this.configuration)?(c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:r,type:a.NOTIFICATION_TYPES.ERROR,isDismissible:!1,showTryAgainButton:!0,showNewConversationButton:!1}),a.LoggingUtil.logCurrentState(V,{method:"handleTryAgainBannerButtonClick",stateMessage:`Failed to reconnect via ${t}. Displayed 'Try Again' banner.`})):(c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:n,type:a.NOTIFICATION_TYPES.ERROR,isDismissible:!1,showTryAgainButton:!1,showNewConversationButton:!0}),a.LoggingUtil.logCurrentState(V,{method:"handleTryAgainBannerButtonClick",stateMessage:`Failed to reconnect via ${t}. Displayed 'Start New Conversation' banner.`}))};if(null===e)return void i();const s=Date.now()-e,o=Math.max(0,2e3-s);setTimeout(i,o)}handleNewConversationBannerButtonClick(){a.authUtil.isUserVerificationEnabled(this.configuration)||(this.hasSSEReconnectAttemptsExhausted=!1,a.LoggingUtil.logCurrentState(V,{method:"handleNewConversationBannerButtonClick",stateMessage:"Clicked on 'Start New Conversation' button. Sending an event to the parent window to reset and relau
494nch the client."}),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.APP_RESET_AND_RELAUNCH_EVENT_NAME))}dispatchConversationStatusChangeEvent(e){const t=e===p.ConversationStatus.OPENED_CONVERSATION?a.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_OPENED_EVENT:a.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_CLOSED_EVENT;e===p.ConversationStatus.CLOSED_CONVERSATION&&(this.sseStatus=p.SseStatus.CLOSED_SSE),c.dispatchEvent(t,{bubbles:!0})}dispatchSessionStatusChangeEvent(e){switch(e){case p.SessionStatus.ACTIVE:c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ACTIVE_EVENT,{bubbles:!0});break;case p.SessionStatus.ENDED:c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ENDED_EVENT,{bubbles:!0});break;case p.SessionStatus.WAITING:c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_WAITING_EVENT,{bubbles:!0});break;case p.SessionStatus.INACTIVE:c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_INACTIVE_EVENT,{bubbles:!0});break;default:a.warning(`Unrecognized session status: ${e}`)}}getSupportedServerEvents(){const e={[p.EventTypes.CONVERSATION_MESSAGE]:this.handleConversationMessageServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_MESSAGE_UPDATED]:this.handleConversationMessageUpdatedServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_PARTICIPANT_CHANGED]:this.handleParticipantChangedServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_ROUTING_RESULT]:this.handleRoutingResultServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_CLOSE_CONVERSATION]:this.handleCloseConversationServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_PING]:this.handlePingServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_SESSION_STATUS_CHANGED]:this.handleSessionStatusChangedServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_SESSION_CONTEXT]:this.handleSessionContextServerSentEvent.bind(this),[p.EventTypes.CONVERSATION_QUEUE_POSITION]:this.handleQueuePositionServerSentEvent.bind(this)};return this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts&&(e[p.EventTypes.CONVERSATION_DELIVERY_ACKNOWLEDGEMENT]=this.handleConversationDeliveryAcknowledgementServerSentEvent.bind(this)),e[p.EventTypes.CONVERSATION_READ_ACKNOWLEDGEMENT]=this.handleConversationReadAcknowledgementServerSentEvent.bind(this),this.configuration.embeddedServiceMessagingChannel.showTypingIndicators&&(e[p.EventTypes.CONVERSATION_TYPING_STARTED_INDICATOR]=this.handleTypingStartedIndicatorServerSentEvent.bind(this),e[p.EventTypes.CONVERSATION_TYPING_STOPPED_INDICATOR]=this.handleTypingStoppedIndicatorServerSentEvent.bind(this),e[p.EventTypes.CONVERSATION_PROGRESS_INDICATOR]=this.handleProgressIndicatorServerSentEvent.bind(this)),this.configuration.snippetSettings.disableStreamingResponses||(e[p.EventTypes.CONVERSATION_STREAMING_TOKEN]=this.handleStreamingTokenServerSentEvent.bind(this)),e[p.EventTypes.EVENTS_OUT_OF_RANGE]=this.handleEventsOutOfRangeServerSentEvent.bind(this),e}querySelectConversationLog(){return this.template&&this.template.querySelector("embeddedmessaging-conversation-log")?this.template.querySelector("embeddedmessaging-conversation-log"):void 0}querySelectInputFooter(){return this.template&&this.template.querySelector("embeddedmessaging-input-footer")?this.template.querySelector("embeddedmessaging-input-footer"):void 0}handleTypingStartedIndicatorServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),this.conversationId===E.getConversationIdentifier(t)){const e=E.getSenderDisplayName(t)||E.getSenderRole(t),n=this.currentTypingParticipants[e]&&this.currentTypingParticipants[e].countdownTimer;t.conversationEntry.sender.role!==p.ParticipantRoles.ENDUSER&&(n?n.reset(Date.now()):this.startNewTimer(e,t.conversationEntry.sender.role),this.progressIndicatorMessage=this.getDefaultTypingText(),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:this.progressIndicatorMessage}),this.isAnotherParticipantTyping=!0)}}catch(e){a.error(`Error thrown while handling typing started indicator server sent event in ${this.conversationId}: ${e}`)}}startNewTimer(e,t){this.currentTypingParticipants[e]={countdownTimer:new C.default(()=>{delete this.currentTypingParticipants[e],Object.keys(this.currentTypingParticipants).length||(this.isAnotherParticipantTyping=!1)},12e4,Date.now()),role:t},this.currentTypingParticipants[e].countdownTimer.start()}getDefaultTypingText(){if(this.currentTypingParticipants){const e=Object.keys(this.currentTypingParticipants);if(e.length>1)return v.getLabel("EmbeddedMessagingConversationState","MultiAgentTypingIndicator");const t={"{0}":e[0]};return this.currentTypingParticipants[e[0]].role===p.ParticipantRoles.CHATBOT?a.util.replacePlaceholdersInString(v.getLabel("EmbeddedMessagingConversationState","ChatbotTypingIndicator"),t):a.util.replacePlaceholdersInString(v.getLabel("EmbeddedMessagingConversationState","AgentTypingIndicator"),t)}}handleTypingStoppedIndicatorServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),this.conversationId===E.getConversationIdentifier(t)){const e=E.getSenderDisplayName(t)||E.getSenderRole(t);this.removeParticipantTypingIndicator(e)}}catch(e){a.error(`Error thrown while handling typing stopped indicator server sent event in conversation ${this.conversationId}: ${e}`)}}handleProgressIndicatorServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),this.conversationId===E.getConversationIdentifier(t)){const e=R.default.parseServerSentConversationEntry(t),n=R.default.parseServerSentConversationEntryPayload(e),r=O.default.parseServerSentProgressIndicator(n),i=O.default.parseServerSentProgressMessage(r);if(i.formatType===p.FormatTypes.TEXT&&a.isString(i.text)&&(this.progressIndicatorMessage=i.text),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:this.progressIndicatorMessage}),t.conversationEntry.sender.role!==p.ParticipantRoles.ENDUSER){const e=E.getSenderDisplayName(t)||E.getSenderRole(t),n=this.currentTypingParticipants[e]&&this.currentTypingParticipants[e].countdownTimer;n?n.reset(Date.now()):(this.startNewTimer(e,t.conversationEntry.sender.role),this.isAnotherParticipantTyping=!0)}}}catch(e){a.error(`Error thrown while handling progress indicator server sent event in conversation ${this.conversationId}: ${e}`)}}handleParticipantLeftTypingIndicator(e){if(this.isAnotherParticipantTyping){const t=E.getParticipantChangedDisplayName(e);this.removeParticipantTypingIndicator(t)}}removeParticipantTypingIndicator(e){const t=this.currentTypingParticipants[e]&&this.currentTypingParticipants[e].countdownTimer;t&&(t.clear(),delete this.currentTypingParticipants[e],Object.keys(this.currentTypingParticipants).length?this.progressIndicatorMessage=this.getDefaultTypingText():this.isAnotherParticipantTyping=!1)}handleConversationDeliveryAcknowledgementServerSentEvent(e){try{this.handleAcknowledgementServerSentEvent(e)}catch(e){a.error(`Error thrown while handling conversation delivery acknowledgement server sent event in conversation ${this.conversationId}: ${e}`)}}handleConversationReadAcknowledgementServerSentEvent(e){try{this.handleAcknowledgementServerSentEvent(e)}catch(e){a.error(`Error thrown while handling conversation read acknowledgement server sent event in conversation ${this.conversationId}: ${e}.`)}}handleAcknowledgementServerSentEvent(e){const t=R.default.parseServerSentEventData(e),n=R.default.parseServerSentConversationEntry(t),r=
494R.default.parseServerSentConversationEntryPayload(n);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),this.conversationId===E.getConversationIdentifier(t)){const e=this.conversationEntriesUtil.getEntry(r.acknowledgedConversationEntryIdentifier);e&&(e.isMessageOutbound&&(this.configuration.embeddedServiceMessagingChannel.showDeliveryReceipts&&r.entryType===p.EntryTypes.DELIVERY_ACKNOWLEDGEMENT?a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGE_DELIVERED,t):this.configuration.embeddedServiceMessagingChannel.showReadReceipts&&r.entryType===p.EntryTypes.READ_ACKNOWLEDGEMENT&&a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGE_READ,t)),(r.entryType===p.EntryTypes.DELIVERY_ACKNOWLEDGEMENT||this.configuration.embeddedServiceMessagingChannel.showReadReceipts)&&(e.isMessageOutbound&&r.entryType===p.EntryTypes.READ_ACKNOWLEDGEMENT&&r.recipient&&f.isAgentParticipant(r.recipient)&&e.readByParticipantIds.add(r.recipient.subject),this.updateAcknowledgementTimestampsAndBadge(r,e)),r.entryType!==p.EntryTypes.READ_ACKNOWLEDGEMENT||e.isMessageOutbound||a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION))}}updateAcknowledgementTimestampsAndBadge(e,t){this.conversationEntriesUtil.updateEntry(t.messageId,{...e.entryType===p.EntryTypes.DELIVERY_ACKNOWLEDGEMENT&&{isDelivered:!0,deliveryAcknowledgementTimestamp:e.acknowledgementTimestamp},...e.entryType===p.EntryTypes.READ_ACKNOWLEDGEMENT&&{isRead:!0,readAcknowledgementTimestamp:e.acknowledgementTimestamp}}),t.isChatMessage&&t.isMessageOutbound&&(this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(t.messageId),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_ACKNOWLEDGEMENT_UPDATE,{}))}replaceConversationEntry(e,t){this.removeConversationEntry(t),this.processConversationMessageForCurrentConversation(e,!0)}
494removeConversationEntry(e){const t=this.conversationEntriesUtil.getEntryIndex(e.messageId);this.conversationEntries.splice(t,1),this.conversationEntriesUtil.removeEntry(e),e.isStreamingToken&&delete this.streamingConversationEntries[e.targetMessageIdentifier]}handleConversationMessageUpdatedServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e),n=E.createConversationEntryFactory(t);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),!n)return;if(p.EntryTypes.CONVERSATION_MESSAGE_UPDATED===n.entryType){const e=this.conversationEntriesUtil.getEntry(n.content.inReplyToMessageId);if(e){const t={isLastInGroup:!0,isSent:!0,content:n.content};this.updateExistingConversationEntry(e,t)}else a.LoggingUtil.logCurrentState(V,{method:"handleConversationMessageUpdatedServerSentEvent",stateMessage:"Original conversationEntry not found for the updated message entry, in the list of conversation entries",convEntryId:n.messageId})}}catch(e){a.LoggingUtil.logCurrentState(V,{method:"handleConversationMessageUpdatedServerSentEvent",stateMessage:`Error thrown while handling conversation message updated server sent event in conversation ${this.conversationId}: ${e}`}),a.error(`Error thrown while handling conversation message updated server sent event in conversation ${this.conversationId}: ${e}`)}}handleConversationMessageServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e),n=E.createConversationEntryFactory(t);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),!n)return;if(e.entryIndex&&(n.entryIndex=e.entryIndex),f.isEndUserOnlyParticipant(this.conversationParticipants)&&(n.isMessageOutbound&&!this.firstEndUserMessageTimeWhenEndUserOnlyParticipant&&(this.firstEndUserMessageTimeWhenEndUserOnlyParticipant=n.transcriptedTimestamp),this.updateEntriesStartIndexForTimeToFirstMessage(n.messageId)),n.isMessageOutbound&&(this.sessionStatus===p.SessionStatus.INACTIVE||this.sessionStatus===p.SessionStatus.ENDED)&&this.conversationId===E.getConversationIdentifier(t)&&this.queuePosition<0&&(this.queuePosition=0),n.actorType!==p.ParticipantRoles.ENDUSER&&(this.handleTypingStoppedIndicatorServerSentEvent(e),this.conversationStatus===p.ConversationStatus.OPENED_CONVERSATION&&"visible"===document.visibilityState&&d.sendDeliveryAcknowledgement(n.conversationId,n.messageId).catch(e=>{a.LoggingUtil.logError(e,V,{method:"handleConversationMessageServerSentEvent",errMessage:"Failed to send Delivery acknowledgement for the received Conversation Message.",errCode:e.status,convEntryId:n.messageId}),this.handleInAppServiceError(e)}),this.updateTitleNotification({newMessages:!0,senderDisplayName:E.getSenderDisplayName(t)})),this.conversationId===E.getConversationIdentifier(t)){let e;e=n.wasRevised?Object.values(this.streamingConversationEntries).find(e=>e.lastStreamingBatchTargetMessageIdentifier===n.messageId):this.streamingConversationEntries[n.messageId]?this.conversationEntries.find(e=>e.targetMessageIdentifier===n.messageId):void 0,e?(n.isAgentforceParticipant=!0,this.logTimeToFirstToken(this.firstStreamingTokenEntry),a.LoggingUtil.logCurrentState(V,{method:"handleConversationMessageServerSentEvent",stateMessage:`Received ${e._childTokens.length+1} Streaming Tokens from Agentforce Agent corresponding to the final response message: ${n.messageId}.`,convEntryId:n.messageId}),this.numStreamingValidationFailures=0,this.replaceConversationEntry(n,e),a.LoggingUtil.logCurrentState(V,{method:"handleConversationMessageServerSentEvent",stateMessage:"Message Stream Token replaced with the Conversation Message.",convEntryId:n.messageId}),this.firstStreamingTokenEntry=void 0):(this.renderAutoResponseInWebViewOverlay(n),this.processConversationMessageForCurrentConversation(n)),a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGE_SENT,t),this.shouldDispatchFirstBotMessageEvent&&f.isBotParticipant(n.sender)&&(a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_FIRST_BOT_MESSAGE_SENT,t),this.shouldDispatchFirstBotMessageEvent=!1)}}catch(e){a.error(`Error thrown while handling conversation message server sent event in conversation ${this.conversationId}: ${e}`)}}handleStreamingTokenServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e),n=E.createConversationEntryFactory(t);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),!n)return;if(n.actorType!==p.ParticipantRoles.ENDUSER&&(this.handleTypingStoppedIndicatorServerSentEvent(e),this.updateTitleNotification({newMessages:!0,senderDisplayName:E.getSenderDisplayName(t)})),this.conversationId===E.getConversationIdentifier(t)){let e=this.streamingConversationEntries[n.targetMessageIdentifier];if(n.tokenType===p.StreamingTokenType.STREAMING_TOKEN_VALIDATION){if(e){if(e.contentPayload&&e.contentPayload.text&&(e.originalContent=e.contentPayload.text),e._childTokens&&e._childTokens.length>0)for(let t=0;t<e._childTokens.length;t++)e.originalContent+=e._childTokens[t].token.text;this.conversationEntriesUtil.updateEntry(e.messageId,{wasInvalidated:!0,originalContent:e.originalContent}),e.contentPayload.text="",e._childTokens.splice(0,e._childTokens.length),a.LoggingUtil.logCurrentState(V,{method:"handleStreamingTokenServerSentEvent",stateMessage:`Streaming Token Validation received. Clearing the text and child tokens of the streaming entry with targetMessageIdentifier: ${e.targetMessageIdentifier} and sequence: ${e.sequenceNumber} from the list of conversation entries.`,convEntryId:e.messageId})}else a.LoggingUtil.logCurrentState(V,{method:"handleStreamingTokenServerSentEvent",stateMessage:"Streaming Token Validation received. No streaming entry found from the list of conversation entries to clear the text and child tokens.",convEntryId:n.messageId});this.firstStreamingTokenEntry=void 0,this.numStreamingValidationFailures+=1,1===this.numStreamingValidationFailures&&this.insertStreamingTokenValidationSystemMesssage(e)}else if(n.tokenType===p.StreamingTokenType.MESSAGE_STREAMING_TOKEN){const t=Object.values(this.streamingConversationEntries).length&&Object.values(this.streamingConversationEntries).find(e=>e.turnId===n.turnId);e&&e.sequenceNumber<n.sequenceNumber?e.addToken(n.content):t?(e=t,this.conversationEntriesUtil.updateEntry(e.messageId,{wasInvalidated:!1}),e.lastStreamingBatchTargetMessageIdentifier=n.targetMessageIdentifier,this.numStreamingValidationFailures>0?this.waitForAnimationDuration().then(()=>{e.addToken(n.content)}):e.addToken(n.content),a.LoggingUtil.logCurrentState(V,{method:"handleStreamingTokenServerSentEvent",stateMessage:`Added the new Streaming Token with targetMessageIdentifier: ${n.targetMessageIdentifier} and sequence: ${n.sequenceNumber} as a child token of the existing Streaming Entry in the list of conversation entries with targetMessageIdentifier: ${e.targetMessageIdentifier}, matching turnId ${e.turnId}, sequence ${e.sequenceNumber}`,convEntryId:n.messageId})):e?(n._childTokens=e._childTokens,n.addToken(e.content),this.replaceConversationEntry(n,e),a.LoggingUtil.logCurrentState(V,{method:"handleStreamingTokenServerSentEvent",stateMessage:`Out-of order Message Stream Token Entries for Conversation Message ${e.targetMessageIdentifier}, token-id ${e.messageId} with sequence ${e.sequenceNumber} replaced with token-id ${n.id} with sequence ${n.sequenceNumber}`,convEntryId:n.messageId})):(this.processConversationMessageForCurrentConversation(n),this.streamingConversationEntries[n.targetMessageIdentifier]=n,a.LoggingUtil.logCurrentState(V,{method:"handleStreamingTokenServerSentEvent",stateMessage:`Me
494ssage Stream Token created with the targetMessageIdentifier: ${n.targetMessageIdentifier}.`,convEntryId:n.messageId}),this.firstStreamingTokenEntry=n,this.firstStreamingTokenEntry.isAgentforceParticipant=!0)}}}catch(e){a.error(`Error thrown while handling message stream token server sent event in conversation ${this.conversationId}: ${e}`)}}waitForAnimationDuration(e=1250){return new Promise(t=>{const n=performance.now(),r=i=>{i-n>=e?t():window.requestAnimationFrame(r)};window.requestAnimationFrame(r)})}insertStreamingTokenValidationSystemMesssage(e){if(!e||e.actorType===p.ParticipantRoles.ENDUSER)return;const t=v.getLabel("EmbeddedMessagingConversationState","StreamingTokenValidationSystemMessage"),n=e?this.conversationEntriesUtil.getEntryIndex(e.messageId):void 0,r=a.util.uuid(),i=`{"channelPlatformKey":"${this.configuration.embeddedServiceMessagingChannel.channelAddressIdentifier}","channelType":"embedded_messaging","channelAddressIdentifier":"${this.configuration.embeddedServiceMessagingChannel.channelAddressIdentifier}","conversationId":"${this.conversationId}","conversationEntry":{"senderDisplayName":"Automated Process","identifier":"${r}","entryType":"Message","entryPayload":"{\\"entryType\\":\\"Message\\",\\"id\\":\\"${r}\\",\\"abstractMessage\\":{\\"messageType\\":\\"StaticContentMessage\\",\\"inReplyToMessageId\\":null,\\"customHandlingType\\":null,\\"id\\":\\"${r}\\",\\"references\\":null,\\"staticContent\\":{\\"formatType\\":\\"Text\\",\\"text\\":\\"${t}\\"}},\\"messageReason\\":\\"Consent\\"}","sender":{"role":"System","appType":"conversation","subject":"${a.util.uuid()}","clientIdentifier":""},"contextParamMap":{},"visibilityStrategy":"Default","transcriptedTimestamp":${e.transcriptedTimestamp-1},"relatedRecords":[],"clientTimestamp":${Date.now()},"clientDuration":0}}`,s=d.getLastEventId(),o=this.configuration.scrt2URL;this.handleConversationMessageServerSentEvent(Object.assign({},{data:i,lastEventId:s,origin:o,type:"CONVERSATION_MESSAGE",entryIndex:n}))}processConversationMessageForCurrentConversation(e,t=!1){const n={isSent:!0,hasSendFailed:!1,isServerSentEntry:!0,attachedFile:void 0,resendInProgress:!1,shouldShowAvatar:this.shouldDisplayAvatar(e)};e.conversationId===this.conversationId&&(this.updateWebStorageFailedMessageEntries(e.messageId,G),e.isWebViewChatMessage?(this.webViewMessageToUpdate.push({conversationEntry:e,attributes:n}),a.requestParametersFromAutoResponseAPI()):this.renderConversationMessage(e,n),e.isChatMessage&&e.isMessageOutbound?(this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(e.messageId),this.endUserMessageMetadata.endUserMessageTime=e.transcriptedTimestamp,this.endUserMessageMetadata.endUserMessageId=e.messageId):e.isChatMessage&&!e.isMessageOutbound&&(this.logTimeToFirstMessage(e),this.logTimeToBotOptions(e),this.logMessageResponseExperience(e),this.firstEndUserMessageTimeWhenEndUserOnlyParticipant=void 0),t||c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES,{}))}logTimeToFirstMessage(e){if(e&&(f.isBotParticipant(e.sender)||f.isSystemParticipant(e.sender)))try{const t=this.conversationEntriesUtil.entryArray.slice(this.conversationEntriesStartIndexForTTFM).map(e=>({entryId:e.messageId,entryType:e.entryType})).filter(t=>t.entryType===e.entryType);if(t.length&&e.messageId===t[0].entryId){const t=this.getFirstWelcomeMessageInitiatorTime(),n=e.transcriptedTimestamp,r=a.LoggingUtil.getTraceId()||this.configuration&&this.configuration.traceHeaders&&this.configuration.traceHeaders["x-b3-traceId"],i=a.LoggingUtil.getSpanId()||this.configuration&&this.configuration.traceHeaders&&this.configuration.traceHeaders["x-b3-spanId"];if(a.isNumber(t))if(a.isNumber(n)){const s=a.util.getEpochTimesDiffInSeconds(t,n);a.LoggingUtil.logCurrentState(V,{method:"logTimeToFirstMessage",stateMessage:`[Time To First Message][x-b3-traceId:${r};x-b3-spandId:${i}] Time To First Message from ${e.actorType} is ${s} seconds`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Time To First Message",V,{method:"logTimeToFirstMessage",errMessage:`[Time To First Message] Unable to calculate Time To First Message from ${e.actorType} - Expected a valid numerical first welcome message time, instead received: ${e.transcriptedTimestamp}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Time To First Message",V,{method:"logTimeToFirstMessage",errMessage:`[Time To First Message] Unable to calculate Time To First Message from ${e.actorType} - Expected a valid numerical first welcome message initiator time, instead received: ${t}`,convEntryId:e.messageId})}}catch(t){a.LoggingUtil.logError(t,V,{method:"logTimeToFirstMessage",errMessage:`[Time To First Message] Something went wrong while calculating Time To First Message from ${e.actorType}`,convEntryId:e.messageId})}}logTimeToBotOptions(e){if(e&&e.isChoices&&f.isBotParticipant(e.sender))try{const t=this.conversationEntriesUtil.entryArray.slice(this.conversationEntriesStartIndexForTTFM).map(e=>({entryId:e.messageId,entryType:e.entryType,messageType:e.messageType})).filter(t=>t.messageType===e.messageType);if(t.length&&e.messageId===t[0].entryId){const t=this.conversationEntriesUtil.getEntryIndex(e.messageId),n=t?t-1:-1,r=n<0||f.isBotParticipant(this.conversationEntries[n])?this.getFirstWelcomeMessageInitiatorTime():this.conversationEntries[n].transcriptedTimestamp,i=e.transcriptedTimestamp;if(a.isNumber(r))if(a.isNumber(i)){const t=a.util.getEpochTimesDiffInSeconds(r,i);a.LoggingUtil.logCurrentState(V,{method:"logTimeToBotOptions",stateMessage:`[Time To Bot Options][x-b3-traceId:${a.LoggingUtil.getTraceId()};x-b3-spandId:${a.LoggingUtil.getSpanId()}] Time To Bot Options from ${e.actorType} is ${t} seconds.`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Time To Bot Options",V,{method:"logTimeToBotOptions",errMessage:`[Time To Bot Options] 
494Unable to calculate Time To Bot Options from ${e.actorType} - Expected a valid numerical first choices message time, instead received: ${e.transcriptedTimestamp}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Time To Bot Options",V,{method:"logTimeToBotOptions",errMessage:`[Time To Bot Options] Unable to calculate Time To Bot Options from ${e.actorType} - Expected a valid numerical first choices message initiator time, instead received: ${r}`,convEntryId:e.messageId})}}catch(t){a.LoggingUtil.logError(t,V,{method:"logTimeToBotOptions",errMessage:`[Time To Bot Options] Something went wrong while calculating Time To Bot Options from ${e.actorType}`,convEntryId:e.messageId})}}getFirstWelcomeMessageInitiatorTime(){return this.isPrechatEnabled()?this.isSessionPrechatEnabled()?this.sessionPrechatHasVisibleFields()||this.hasTermsAndConditions()?m.getItemInWebStorageByKey(p.STORAGE_KEYS.PRECHAT_SUBMIT_TIME):0===this.conversationEntriesStartIndexForTTFM?m.getItemInWebStorageByKey(p.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME):this.lastInAppServiceErrorTime:this.prechatHasVisibleFields()||this.hasTermsAndConditions()?0===this.conversationEntriesStartIndexForTTFM?m.getItemInWebStorageByKey(p.STORAGE_KEYS.PRECHAT_SUBMIT_TIME):this.firstEndUserMessageTimeWhenEndUserOnlyParticipant:0===this.conversationEntriesStartIndexForTTFM?m.getItemInWebStorageByKey(p.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME):this.firstEndUserMessageTimeWhenEndUserOnlyParticipant:0===this.conversationEntriesStartIndexForTTFM?m.getItemInWebStorageByKey(p.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME):this.firstEndUserMessageTimeWhenEndUserOnlyParticipant}updateEntriesStartIndexForTimeToFirstMessage(e){const t=this.conversationEntriesUtil.getEntryIndex(e);t&&(this.conversationEntriesStartIndexForTTFM=t+1)}isEndUserReplyToABot(e){return e.isMessageOutbound&&f.isBotParticipantPresent(this.conversationParticipants)&&e.content.inReplyToMessageId}logMessageResponseExperience(e){if(e&&(f.isBotParticipant(e.sender)||f.isAgentParticipant(e.sender))&&this.endUserMessageMetadata.endUserMessageId&&this.endUserMessageMetadata.endUserMessageTime){const t=e.isAgentforceParticipant,n=f.isBotParticipant(e.sender)&&t?"Agentforce Agent":e.actorType;try{const t=this.endUserMessageMetadata.endUserMessageTime,r=e.transcriptedTimestamp;if(a.isNumber(t))if(a.isNumber(r)){const i=a.util.getEpochTimesDiffInSeconds(t,r);a.LoggingUtil.logCurrentState(V,{method:"logMessageResponseExperience",stateMessage:`[Message Response Experience][x-b3-traceId:${a.LoggingUtil.getTraceId()};x-b3-spandId:${a.LoggingUtil.getSpanId()}] Message Response Experience from ${n} to end-user messageId: ${this.endUserMessageMetadata.endUserMessageId}${this.numStreamingValidationFailures>0?` with ${this.numStreamingValidationFailures} Streaming Token Validation events`:""} is ${i} seconds`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Message Response Experience",V,{method:"logMessageResponseExperience",errMessage:`[Message Response Experience] Unable to calculate Message Response Experience from ${n} to end-user messageId: ${this.endUserMessageMetadata.endUserMessageId} - Expected a valid numerical ${e.actorType} message reply time, instead received: ${r}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Message Response Experience",V,{method:"logMessageResponseExperience",errMessage:`[Message Response Experience] Unable to calculate Message Response Experience from ${n} to end-user messageId: ${this.endUserMessageMetadata.endUserMessageId} - Expected a valid numerical end-user messsage time, instead received: ${t}`,convEntryId:e.messageId})}catch(t){a.LoggingUtil.logError(t,V,{method:"logMessageResponseExperience",errMessage:`[Message Response Experience] Something went wrong while calculating Message Response Experience from ${n} to end-user messageId: ${this.endUserMessageMetadata.endUserMessageId}`,convEntryId:e.messageId})}}}logTimeToFirstToken(e){if(e&&f.isBotParticipant(e.sender)&&this.endUserMessageMetadata.endUserMessageId&&this.endUserMessageMetadata.endUserMessageTime){const t=e.isAgentforceParticipant,n=f.isBotParticipant(e.sender)&&t?"Agentforce Agent":e.actorType;try{const t=this.endUserMessageMetadata.endUserMessageTime,r=e.transcriptedTimestamp;
494if(a.isNumber(t))if(a.isNumber(r)){const i=a.util.getEpochTimesDiffInSeconds(t,r);a.LoggingUtil.logCurrentState(V,{method:"logTimeToFirstToken",stateMessage:`[Time To First Token][x-b3-traceId:${a.LoggingUtil.getTraceId()};x-b3-spandId:${a.LoggingUtil.getSpanId()}] Time To First Token for targetMessageIdentifier: ${e.targetMessageIdentifier} from ${n} to messageId: ${this.endUserMessageMetadata.endUserMessageId} is ${i} seconds`,convEntryId:e.messageId})}else a.LoggingUtil.logError("Time To First Token",V,{method:"logTimeToFirstToken",errMessage:`[Time To First Token] Unable to calculate Time To First Token for targetMessageIdentifier: ${e.targetMessageIdentifier} from ${n} to messageId: ${this.endUserMessageMetadata.endUserMessageId} - Expected a valid numerical first Streaming Token time, instead received: ${r}`,convEntryId:e.messageId});else a.LoggingUtil.logError("Time To First Token",V,{method:"logTimeToFirstToken",errMessage:`[Time To First Token] Unable to calculate Time To First Token for targetMessageIdentifier: ${e.targetMessageIdentifier} from ${n} to messageId: ${this.endUserMessageMetadata.endUserMessageId} - Expected a valid numerical end-user messsage time, instead received: ${t}`,convEntryId:e.messageId})}catch(t){a.LoggingUtil.logError(t,V,{method:"logTimeToFirstToken",errMessage:`[Time To First Token] Something went wrong while calculating Time To First Token for targetMessageIdentifier: ${e.targetMessageIdentifier} from ${n} to messageId: ${this.endUserMessageMetadata.endUserMessageId}`,convEntryId:e.messageId})}}}handleParticipantChangedServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e),n=E.createConversationEntryFactory(t);e&&e.lastEventId&&d.setLastEventId(e.lastEventId);const r={isServerSentEntry:!0};if(!n)return;if(this.renderParticipantChanged(Object.assign(n,r)),this.conversationId===E.getConversationIdentifier(t)){const e=n.participantEntries;if(!e.length)throw new Error("Invalid `entries` in ParticipantChanged event.");if(f.isSupervisorParticipant(e[0].participant))return;this.changeParticipants(e),n.messageType===p.ParticipantChangedOperations.ADD?(this.queuePosition=-1,this.onParticipantJoined(n),this.isTransferring&&(this.isTransferring=!1,this.onTransferRoutingSuccessful())):n.messageType===p.ParticipantChangedOperations.REMOVE&&(this.onParticipantLeft(),this.handleParticipantLeftTypingIndicator(n.content)),a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_CONVERSATION_PARTICIPANT_CHANGED,t),this.toggleUserInputOnParticipantChanged()}}catch(e){a.error(`Error thrown while handling conversation participant changed server sent event in conversation ${this.conversationId}: ${e}`)}}processParticipantMetadata(e){try{const t=f.isBotParticipantPresent(this.conversationParticipants)?f.getBotParticipants(this.conversationParticipants)[0].getSubject():null;e.content.entries.some(e=>e.participant.subject===t)&&h.dispatchMessagingEvent(h.MESSAGING_EVENT.PARTICIPANT_JOINED,{options:this.handleBotParticipantMetadata(e),silentMode:!0,conversationParticipants:this.conversationParticipants})}catch(e){a.error(`Error thrown while processing historical participant metadata in conversation ${this.conversationId}: ${e}`)}}handleRoutingResultServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e);e&&e.lastEventId&&d.setLastEventId(e.lastEventId);const n=E.createConversationEntryFactory(t),r={isServerSentEntry:!0};if(!n)return;if(this.conversationId===E.getConversationIdentifier(t)){if(this.renderRoutingResult(Object.assign(n,r)),n.messageType===p.RoutingTypes.INITIAL)switch(n.content.failureType){case p.RoutingFailureTypes.NO_ERROR:case p.RoutingFailureTypes.SUBMISSION_ERROR:case p.RoutingFailureTypes.ROUTING_ERROR:case p.RoutingFailureTypes.UNKNOWN_ERROR:break;default:a.warning(`Unrecognized initial routing failure type: ${n.content.failureType}`)}else if(n.messageType===p.RoutingTypes.TRANSFER)switch(n.content.failureType){case p.RoutingFailureTypes.NO_ERROR:this.isTransferring=!0,this.onTransferRoutingInitiated(),this.queuePosition=0;break;case p.RoutingFailureTypes.SUBMISSION_ERROR:case p.RoutingFailureTypes.ROUTING_ERROR:case p.RoutingFailureTypes.UNKNOWN_ERROR:case p.RoutingFailureTypes.CANCELLED:this.isTransferring=!1,this.onTransferRoutingFailure();break;default:a.warning(`Unrecognized transfer routing failure type: ${n.content.failureType}`)}
494else a.warning(`Unrecognized routing type: ${n.messageType}`);a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_CONVERSATION_ROUTED,t)}}catch(e){a.error(`Error thrown while handling conversation routing result server sent event in conversation ${this.conversationId}: ${e}`)}}handleCloseConversationServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e);e&&e.lastEventId&&d.setLastEventId(e.lastEventId),this.conversationId===E.getConversationIdentifier(t)&&(this.queuePosition=-1,d.clearSessionContext(),this.showClosedConversationState(t.conversationEntry&&t.conversationEntry.transcriptedTimestamp?t.conversationEntry.transcriptedTimestamp:Date.now(),t))}catch(e){a.error(`Error thrown while handling conversation closed server sent event in conversation ${this.conversationId}: ${e}`)}}handlePingServerSentEvent(){this.sseStatus===p.SseStatus.BLOCKED_SSE?(a.LoggingUtil.logCurrentState(V,{method:"handlePingServerSentEvent",stateMessage:`Ping received from server (SSE traffic restored). SSE had been blocked since ${this.sseBlockedTS}`}),h.dispatchMessagingEvent(h.MESSAGING_EVENT.RECONNECT_ENDED,{})):this.sseStatus!==p.SseStatus.NOT_STARTED_SSE&&this.sseStatus!==p.SseStatus.BLOCKED_INITIAL_SSE||(a.LoggingUtil.logCurrentState(V,{method:"handlePingServerSentEvent",stateMessage:`First ping received from server (SSE traffic starting) at time ${(new Date).toISOString()}.`}),this.sseStatus===p.SseStatus.BLOCKED_INITIAL_SSE&&h.dispatchMessagingEvent(h.MESSAGING_EVENT.RECONNECT_ENDED,{})),this.sseStatus=p.SseStatus.OPENED_SSE,this.sseBlockedTS=void 0,this.setPingTimer(p.PING_TIMEOUT_MS)}handleSessionStatusChangedServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e),n=E.createConversationEntryFactory(t);if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),!n)return;if(this.conversationId===E.getConversationIdentifier(t)){if(n.isSessionEnded){this.queuePosition=-1,this.addConversationEntry(n),this.dispatchSessionStatusChangeEvent(p.SessionStatus.ENDED),a.LoggingUtil.logCurrentState(V,{method:"handleSessionStatusChangedServerSentEvent",stateMessage:`Received session event ended for sessionId: ${n.sessionId} ended by: ${n.sessionEndedByRole}.`});this.querySelectConversationLog().scrollToBottom()}else n.isSessionActive?(this.queuePosition=0,this.dispatchSessionStatusChangeEvent(p.SessionStatus.ACTIVE),a.LoggingUtil.logCurrentState(V,{method:"handleSessionStatusChangedServerSentEvent",stateMessage:`Received session active event for sessionId: ${n.sessionId}.`})):n.isSessionWaiting?(this.dispatchSessionStatusChangeEvent(p.SessionStatus.WAITING),this.queuePosition=0,a.LoggingUtil.logCurrentState(V,{method:"handleSessionStatusChangedServerSentEvent",stateMessage:`Received session waiting event for sessionId: ${n.sessionId}.`})):n.isSessionInactive&&(this.dispatchSessionStatusChangeEvent(p.SessionStatus.INACTIVE),this.queuePosition=-1,a.LoggingUtil.logCurrentState(V,{method:"handleSessionStatusChangedServerSentEvent",stateMessage:`Received session inactive event for sessionId: ${n.sessionId}.`}));a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_SESSION_STATUS_UPDATE,t)}}catch(e){a.error(`Error thrown while handling session status changed server sent event in conversation ${this.conversationId}: ${e}`)}}handleSessionContextServerSentEvent(e){try{const t=R.default.parseServerSentEventData(e);let n;if(e&&e.lastEventId&&d.setLastEventId(e.lastEventId),t&&t.conversationEntry&&t.conversationEntry.entryPayload){const e=JSON.parse(t.conversationEntry.entryPayload);n=e&&e.sessionContext&&e.sessionContext.contextVariables}a.LoggingUtil.logCurrentState(V,{method:"handleSessionContextServerSentEvent",stateMessage:`Received session context acknowledgement for conversation: ${this.conversationId}. Context variables: ${JSON.stringify(n)}.`})}catch(e){a.error(`Error thrown while handling session context server sent event in conversation ${this.conversationId}: ${e}`)}}showClosedConversationState(e,t){if("number"!=typeof e)throw new Error(`Expected a timestamp of type number, instead received: ${e}.`);this.isAnotherParticipantTyping=!1,this.displaySecureForm=!1,this.secureForm={},m.clearWebStorage(),this.conversationEndTime=new Date(e),this.dispatchConversationStatusChangeEvent(p.ConversationStatus.CLOSED_CONVERSATION),a.util.dis
494patchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_CONVERSATION_CLOSED,t),d.closeEventSource(),d.stopLongPolling(),c.dispatchEvent(a.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,{})}updateTitleNotification(e){if(e.newMessages&&"hidden"===document.visibilityState){const t={"{0}":e.senderDisplayName},n=[a.util.replacePlaceholdersInString(v.getLabel("EmbeddedMessagingConversationState","TitleNotificationSenderDisplayName"),t)];a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION,JSON.stringify(n))}else e.isMessageAreaEndOfScroll&&a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_TITLE_NOTIFICATION)}handleMessageResend(e){const t=e.conversationEntry;switch(this.updateWebStorageFailedMessageEntries(e.conversationEntry.messageId,G),this.conversationEntriesUtil.updateEntry(t.messageId,{resendInProgress:!0}),t.formatType){case p.FormatTypes.ATTACHMENTS:l.hasMultiFileUploadSupport()&&t.attachedFiles&&t.attachedFiles.length?this.resendBatchedAttachmentsMessage(t,e):t.attachedFile&&(a.createConversationEntryUtil.createStaticContentAttachmentsEntry(t.messageId,t.attachedFile,t.staticTextInAttachmentsEntry),d.sendFileAttachment(this.conversationId,t.attachedFile,t.messageId,t.staticTextInAttachmentsEntry,null,e.isNewMessagingSession,e.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(V,{method:"handleMessageResend",stateMessage:`Successfully resent message of type ${p.FormatTypes.ATTACHMENTS}.`,convEntryId:t.messageId})}).catch(n=>{this.handleInAppServiceError({detail:{error:n,entryId:t.messageId,attachedFile:t.attachedFile}}),e.resendButtonElement&&a.util.waitForFrame(()=>{e.resendButtonElement.focus()})}));break;case p.FormatTypes.SELECTIONS:a.createConversationEntryUtil.createChoicesResponseSelectionsEntry(t.choicesResponseSelection,t.messageId,t.content.inReplyToMessageId),d.sendChoicesResponseMessage(this.conversationId,t.choicesResponseSelection.optionIdentifier,t.messageId,t.content.inReplyToMessageId,e.isNewMessagingSession,e.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(V,{method:"handleMessageResend",stateMessage:`Successfully resent message of type ${p.FormatTypes.SELECTIONS}.`,convEntryId:t.messageId})}).catch(n=>{this.handleInAppServiceError({detail:{error:n,entryId:t.messageId}}),e.resendButtonElement&&a.util.waitForFrame(()=>{e.resendButtonElement.focus()})});break;case p.FormatTypes.TEXT:a.createConversationEntryUtil.createStaticContentTextEntry(t.staticTextContent,t.messageId,t.inReplyToMessageId),d.sendTextMessage(this.conversationId,t.staticTextContent,t.messageId,t.inReplyToMessageId,e.isNewMessagingSession,e.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(V,{method:"handleMessageResend",stateMessage:`Successfully resent message of type ${p.FormatTypes.TEXT}.`,convEntryId:t.messageId})}).catch(n=>{this.handleInAppServiceError({detail:{error:n,entryId:t.messageId}}),e.resendButtonElement&&a.util.waitForFrame(()=>{e.resendButtonElement.focus()})});break;default:throw new Error(`Unrecognized message format type: ${t.formatType}`)}this.setFocusOnLastFocusableElement()}resendBatchedAttachmentsMessage(e,t){const n=e.attachedFiles,r=e.staticTextInAttachmentsEntry,i=e.messageId;this.conversationEntriesUtil.updateEntry(i,{hasSendFailed:!1,resendInProgress:!0,attachedFiles:n});const s=e=>{this.handleInAppServiceError({detail:{error:e,entryId:i,attachedFiles:n}}),t.resendButtonElement&&a.util.waitForFrame(()=>{t.resendButtonElement.focus()})};Promise.all(n.map(e=>d.uploadAttachment(this.conversationId,i,e).then(t=>({file:e,attachmentId:t})).catch(e=>(a.LoggingUtil.logError(e,V,{method:"resendBatchedAttachmentsMessage",errMessage:"Re-upload of attachment on retry failed",errCode:e&&e.status}),null)))).then(e=>{const n=e.filter(Boolean);if(!n.length)return void s(new Error("All attachment re-uploads failed on retry"));const o=n.map(e=>e.attachmentId);d.sendAttachmentsMessage(this.conversationId,o,i,r,t.isNewMessagingSession,t.prechatFields).then(()=>{a.LoggingUtil.logCurrentState(V,{method:"resendBatchedAttachmentsMessage",stateMessage:`Successfully resent message of type ${p.FormatTypes.ATTACHMENTS}.`,convEntryId:i})}).catch(e=>s(e))})}handleMenuItemSelection(e){let t,n;e&&e.selectedOption&&(n=e.selectedOption,this.conversationId&&n.optionIdentifier&&(t=a.util.uuid(),d.sendChoicesResponseMessage(this.conversationId,n.optionIdentifier,t).catch(e=>{this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{err:e,entryId:t},bubbles:!0,composed:!0}))}),a.createConversationEntryUtil.createChoicesResponseSelectionsEntry(p.createTitleOptionItem(n),t)))}handleFormMessageButtonClick(e){const t={};e&&e.formTitle&&e.formSections&&e.formMessageButtonId&&(t.formTitle=e.formTitle,t.formSections=e.formSections,t.formMessageButtonId=e.formMessageButtonId,this.secureForm=t,this.displaySecureForm=!0,a.LoggingUtil.logCurrentState(V,{method:"handleFormMessageButtonClick",stateMessage:"Secure form displayed."}))}handleSecureFormSubmit(e){if(e&&e.inputValues){const t=a.util.uuid();a.createConversationEntryUtil.createFormResponsePendingMessageEntry(t,this.secureForm.formMessageButtonId),d.sendFormResponseMessage(this.conversationId,e.inputValues,t,this.secureForm.formMessageButtonId).catch(e=>{const n=this.conversationEntriesUtil.getEntry(t),r={errorType:"ApiResultErrorCode",errorMessage:e.statusText,errorCode:e.status};this.dispatchEvent(new CustomEvent(a.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{err:e,entryId:t},bubbles:!0,composed:!0})),n?this.conversationEntriesUtil.updateEntry(t,{formResponseResult:{resultType:p.FormResultType.FORM_ERROR_RESULT,errors:[r]}}):a.createConversationEntryUtil.createFormResponseErrorMessageEntry([r],t,this.secureForm.formMessageButtonId)}),this.displaySecureForm=!1;const n=this.conversationEntriesUtil.getEntry(this.secureForm.formMessageButtonId);n&&n.isForm&&(n.formState=p.FormMessageState.INACTIVE,n.isSelectedOrRepliedTo=!0,this.conversationEntriesUtil.updateEntry(this.secureForm.formMessageButtonId,{isSelectedOrRepliedTo:!0})),this.secureForm={}}}handleFormResponseResult(e){let t;e.records&&e.records.length>0&&e.records[0].resultMessage?t=e.records[0].resultMessage+" Reference record ID: "+e.records[0].recordReferenceId:e.errors&&e.errors.length>0&&e.errors[0].errorMessage&&(t=e.errors[0].errorMessage),a.LoggingUtil.logCurrentState(V,{method:"handleFormResponseResult",stateMessage:t})}handleDialogCloseConfirmation(){this.displaySecureForm&&(this.displaySecureForm=!1,h.dispatchMessagingEvent(h.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!1}),h.dispatchMessagingEvent(h.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:v.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText")}),a.LoggingUtil.logCurrentState(V,{method:"handleDialogCloseConfirmation",stateMessage:"Confirmation dialog closed."}))}getFailedMessagesIfExists(){return this.configuration.failedMessages?a.util.unwrapProxy(this.configuration.failedMessages):m.getItemInWebStorageByKey(p.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES,!1)?JSON.parse(m.getItemInWebStorageByKey(p.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES,!1)):{}}updateWebStorageFailedMessageEntries(e,t){let n=!1;if(e&&"string"==typeof e&&t&&"string"==typeof t){switch(t.toUpperCase()){case k:this.failedMessages[e]=this.conversationEntriesUtil.getEntry(e),n=!0;break;case G:this.failedMessages&&this.failedMessages.hasOwnProperty(e)&&(delete this.failedMessages[e],n=!0);break;default:a.error(`Error processing Embedded Messaging Failed Messages: Expected operations ${k} or ${G} but received ${t.toUpperCase()}.`)}n&&(m.setItemInWebStorage(p.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES,this.failedMessages,!1),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_UPDATE_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME,JSON.parse(JSON.stringify(this.failedMessages))),n=!1)}}restoreWebStorageFailedMessageEntries(){Object.keys(this.failedMessages).forEac
494h(e=>{const t=this.failedMessages[e],n=M.default.createConversationEntry({conversationId:t._conversationId,messageId:t._messageId,content:t.abstractMessage?t.abstractMessage:t._content,messageType:t._messageType,entryType:t._entryType,sender:t._sender,actorName:t.senderDisplayName?t.senderDisplayName:t._sender.role,actorType:t._sender.role,transcriptedTimestamp:t._transcriptedTimestamp});if(this.addConversationEntry(n),this.conversationEntriesUtil.updateEntry(n._messageId,{hasSendFailed:!0}),this.conversationEntriesUtil.updateAcknowledgementForEntryGroup(n._messageId),n.formatType===p.FormatTypes.SELECTIONS){const e=n.content.inReplyToMessageId,t=this.conversationEntriesUtil.getEntry(e);t&&(t.isSelectedOrRepliedTo=!0)}})}toggleUserInputOnNewMessage(e){e.sender.role!==p.ParticipantRoles.ENDUSER&&e.sender.role!==p.ParticipantRoles.CHATBOT||a.getEnableUserInputForConversationWithBotFromConfig()||!f.isBotParticipantPresent(this.conversationParticipants)||(this.enableUserInputForConversationWithBot=e.actorType===p.ParticipantRoles.CHATBOT)}toggleUserInputOnParticipantChanged(){a.getEnableUserInputForConversationWithBotFromConfig()||(this.enableUserInputForConversationWithBot=!f.isBotParticipantPresent(this.conversationParticipants))}setNextOutboundMessageAsChoicesResponse(e){e.isChoices?this.querySelectInputFooter().setInputAsReplyToChoices(e.messageId):this.querySelectInputFooter().clearInputAsReplyToChoices()}handleConversationEntryMetadata(e){let t,n;if(e.content.inReplyToMessageId){const t=e.content.inReplyToMessageId;n=this.conversationEntriesUtil.getEntry(t),e.inReplyToMessageId=t,n&&(e.isStaticContentMessage||e.isChoicesResponse||e.isFormResponseResult)&&(n.isSelectedOrRepliedTo=!0,this.conversationEntriesUtil.updateEntry(t,{isSelectedOrRepliedTo:!0}),e.isFormResponseResult&&this.handleFormResponseResult(e.formResponseResult))}if(e.isChoicesResponse&&e.choicesResponseSelection&&e.choicesResponseSelection.optionIdentifier){if(n)n.isChoicesCarousel?t=n.choicesCarouselOptions.find(t=>t.interactionItems[0].optionIdentifier===e.choicesResponseSelection.optionIdentifier):n.isChoices&&(t=n.choices.find(t=>t.optionIdentifier===e.choicesResponseSelection.optionIdentifier));else{if(!(this.headerMenuOptions.length>0))return;t=this.headerMenuOptions.find(t=>t.optionIdentifier===e.choicesResponseSelection.optionIdentifier)}t&&Object.assign(e.choicesResponseSelection,p.createTitleOptionItem(t))}}renderAutoResponseInWebViewOverlay(e){this.webViewMetadata={},e.isWebViewAutoOverlay&&(this.webViewMetadata.title=p.getTitle(e.webViewTitle),this.webViewMetadata.templateURL=e.webViewURL,this.webViewMetadata.coreParameters=e.webViewParameters,this.webViewMetadata.pageParameters={},this.webViewMetadata.shouldRenderInline=e.isWebViewAutoOverlay,a.requestParametersFromAutoResponseAPI())}handleCreateConversationEntry(e){if(e&&e.detail){const t=M.default.createConversationEntry({conversationId:this.conversationId});Object.keys(e.detail).forEach(n=>{t[n]=e.detail[n]});const n=this.conversationParticipants.find(e=>e.getRole()===p.ParticipantRoles.ENDUSER);t.actorName=n?n.getDisplayName():"",this.addConversationEntry(t)}}addConversationEntry(e){this.conversationEntriesUtil.addEntry(e)}updateExistingConversationEntry(e,t){this.conversationEntriesUtil.updateEntry(e.messageId,Object.assign({},{transcriptedTimestamp:e.transcriptedTimestamp,...e.content&&{content:e.content}},t))}changeParticipants(e){for(const t of e){if(!t.operation||!t.participant)throw new Error("Invalid `operation` or `participant` in ParticipantChanged event.");if(!f.isSupervisorParticipant(t.participant)){const e=new A.default(t.participant.role,t.participant.subject,t.participant.appType,t.displayName||t.participant.role);if(t.operation===p.ParticipantChangedOperations.ADD)e.showAvatar=!f.isAgentParticipant(e)&&!f.isSystemParticipant(e)||0===f.getAgentParticipantCount(this.conversationParticipants),this.addConversationParticipant(e);else{if(t.operation!==p.ParticipantChangedOperations.REMOVE)throw new Error("Unsupported `operation` type in ParticipantChanged event.");this.removeConversationParticipant(e)}}}}addConversationParticipants(e){if(!Array.isArray(e))throw new Error(`Expected participants to be an array, instead received: ${e}.`);const t=f.getAgentParticipantCount(e);
494e.forEach(e=>{if(!f.isSupervisorParticipant(e)){const n=new A.default(e.role,e.subject,e.appType,e.displayName||e.role);n.showAvatar=!f.isAgentParticipant(e)&&!f.isSystemParticipant(e)||1===t,this.addConversationParticipant(n)}})}addConversationParticipant(e){this.conversationParticipants=[...this.conversationParticipants,e]}removeConversationParticipant(e){this.conversationParticipants=this.conversationParticipants.filter(t=>t.subject!==e.subject)}announceMessageToScreenReader(e,t){c.dispatchEvent(a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_UPDATE,{text:e,options:Object.assign(t,{forceAnnouncement:!0})})}onJWTExpired(){const e=v.getLabel("EmbeddedMessagingChatHeader","JWTExpiredAnnouncement");c.dispatchChatHeaderEvent(c.HEADER_EVENTS.JWT_EXPIRED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.JWT_EXPIRED,{}),this.announceMessageToScreenReader(e,{forceAnnouncement:!0,announceInIntervalsEnabled:!0,minTimeBetweenAnnouncements:6e4,context:"onJwtExpired"})}onParticipantJoined(e){const t=v.getLabel("EmbeddedMessagingChatHeader","AgentJoinAnnouncement");h.dispatchMessagingEvent(h.MESSAGING_EVENT.PARTICIPANT_JOINED,{label:e.actorName,options:this.handleBotParticipantMetadata(e),silentMode:!1,conversationParticipants:this.conversationParticipants}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.PARTICIPANT_JOINED,{}),this.announceMessageToScreenReader(t,{context:"onParticipantJoined"})}onParticipantLeft(){const e=v.getLabel("EmbeddedMessagingChatHeader","AgentLeaveAnnouncement");h.dispatchMessagingEvent(h.MESSAGING_EVENT.PARTICIPANT_LEFT,{conversationParticipants:this.conversationParticipants}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.PARTICIPANT_LEFT,{}),this.announceMessageToScreenReader(e,{context:"onParticipantLeft"})}onReconnectInProgress(){const e=v.getLabel("EmbeddedMessagingChatHeader","ReconnectInProgressAssistiveText");h.dispatchMessagingEvent(h.MESSAGING_EVENT.RECONNECT_IN_PROGRESS,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS,{}),this.announceMessageToScreenReader(e,{announceInIntervalsEnabled:!0,minTimeBetweenAnnouncements:3e4,context:"onReconnectInProgress"})}onReconnectEnded(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.RECONNECT_ENDED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.RECONNECT_ENDED,{})}onTransferRoutingInitiated(){const e=v.getLabel("EmbeddedMessagingChatHeader","TransferRequestSuccessHeaderAnnouncement");a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:e}),h.dispatchMessagingEvent(h.MESSAGING_EVENT.TRANSFER_INITIATED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.TRANSFER_INITIATED,{}),this.announceMessageToScreenReader(e,{announceInIntervalsEnabled:!0,minTimeBetweenAnnouncements:6e4,context:"onTransferRoutingInitiated"})}onTransferRoutingFailure(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.TRANSFER_COMPLETED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.TRANSFER_COMPLETED,{})}onTransferRoutingSuccessful(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.TRANSFER_COMPLETED,{}),c.dispatchChatMinimizedEvent(c.MINIMIZED_EVENTS.TRANSFER_COMPLETED,{})}onShowWebViewOverlay(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:this.webViewMetadata.title||v.getLabel("EmbeddedMessagingPostchat","PostchatHeaderText")}),this.displayWebViewOverlay=!0,a.LoggingUtil.logCurrentState(V,{method:"onShowWebViewOverlay",stateMessage:"Web view auto-overlay 
494shown."})}onHideWebViewOverlay(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.UPDATE_HEADER_TEXT,{text:v.getLabel("EmbeddedMessagingChatHeader","DefaultHeaderText")}),this.displayWebViewOverlay=!1,this.displayConfirmationDialogInOverlay=!1,m.removeItemInWebStorage(p.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED),this.webViewMetadata={},a.LoggingUtil.logCurrentState(V,{method:"onHideWebViewOverlay",stateMessage:"Web view auto-overlay hidden."})}handleToggleOverlay(e){e&&e.detail&&(a.isBoolean(e.detail.displayOverlay)||a.isBoolean(e.detail.hideConfirmtaionDialog))&&(e.detail.displayOverlay?this.onShowWebViewOverlay():e.detail.hideConfirmtaionDialog?this.displayConfirmationDialogInOverlay=!1:this.onHideWebViewOverlay())}isPrechatEnabled(){return Boolean(this.configuration.forms.length)}prechatHasVisibleFields(){return this.configuration.forms[0].formFields.length>0}isSessionPrechatEnabled(){return(this.configuration.forms||[]).some(e=>e.formType===p.FormTypes.PRE_CHAT&&e.displayContext===p.FormDisplayContext.SESSION)}sessionPrechatHasVisibleFields(){return this.isSessionPrechatEnabled()&&this.configuration.forms[0].formFields.length>0}sessionPrechatHasHiddenFields(){return this.isSessionPrechatEnabled()&&this.configuration.forms[0].hiddenFormFields.length>0}hasTermsAndConditions(){const e=this.configuration.termsAndConditions||{};return Boolean(e.isTermsAndConditionsEnabled)}showSessionPrechatForm(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!0}),this.displaySessionPrechatForm=!0,a.LoggingUtil.logCurrentState(V,{method:"showSessionPrechatForm",stateMessage:"Session prechat state shown."})}hideSessionPrechatForm(){h.dispatchMessagingEvent(h.MESSAGING_EVENT.TOGGLE_BACK_BUTTON,{showBackButton:!1}),this.displaySessionPrechatForm=!1,a.LoggingUtil.logCurrentState(V,{method:"hideSessionPrechatForm",stateMessage:"Session prechat state hidden."})}handleSessionPrechatSubmit(e){this.visiblePrechatFields=e&&e.detail&&e.detail.value,this.hideSessionPrechatForm(),a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.APP_REQUEST_HIDDEN_PRECHAT_FIELDS_EVENT_NAME)}handleReceiveHiddenPrechatFields(e){const t=Object.assign(this.visiblePrechatFields,e);a.LoggingUtil.logCurrentState(V,{method:"handleReceiveHiddenPrechatFields",stateMessage:`Session prechat state submitted with routing attributes ${JSON.stringify(Object.keys(t))}.`}),a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_PRECHAT_SUBMITTED_EVENT_NAME,{[p.PRECHAT_DISPLAY_EVENT_DETAIL_NAME]:p.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.SESSION,[p.PRECHAT_SUBMIT_FIELDS]:t}),this.handleMissingSessionMessageResend(t)}handleMissingSessionMessageResend(e){Object.values(this.failedMessages).forEach(t=>{t&&t.errorStatus===p.HTTP_ERROR_CODE_MISSING_SESSION&&this.handleMessageResend({conversationEntry:t,isNewMessagingSession:!0,prechatFields:e})})}handleChatHeaderBackButtonClick(){this.displayWebViewOverlay?this.displayConfirmationDialogInOverlay=!0:this.displaySessionPrechatForm?this.hideSessionPrechatForm():this.displaySecureForm&&c.dispatchFormEvent(c.FORM_EVENTS.SHOW_CLOSE_CONFIRMATION_DIALOG,{})}handleBotParticipantMetadata(e){const t=[];return e.content&&e.content.entries&&Array.from(e.content.entries).forEach(e=>{const n=e.participant?e.participant.role:null,r=e.operation,i=e.menuMetadata?e.menuMetadata.menuOptions:null;n===p.ParticipantRoles.CHATBOT&&r===p.ParticipantChangedOperations.ADD&&i&&0!==i.length&&t.push(...i)}),this.headerMenuOptions=t,t}handleConversationLogKeyDown(e){const t=this.querySelectConversationLog();t&&e&&e.key&&(e.key===a.KEY_CODES.UP?(e.preventDefault(),t.scrollUp()):e.key===a.KEY_CODES.DOWN&&(e.preventDefault(),t.scrollDown()))}shouldDisplayAvatar(e){if(e.sender){if(e.sender.role!==p.ParticipantRoles.AGENT&&e.sender.role!==p.ParticipantRoles.SYSTEM)return!0;if(e.isParticipantChangedSystemEvent&&!e.isParticipantForParticipantChangedSystemEventAnAgent)return!0;if(e.isParticipantChangedSystemEvent&&e.participantObject&&e.participantEntries&&Array.isArray(e.participantEntries)&&e.participantEntries.length>
4940&&e.participantEntries[0]){const t=e.participantObject;if(t&&f.isAgentParticipant(t)){const e=this.conversationParticipants.find(e=>e&&e.getSubject()===t.subject);if(e&&void 0!==e.showAvatar)return e.showAvatar;return 0===(Array.isArray(this.conversationParticipants)?f.getAgentParticipantCount(this.conversationParticipants):0)}}else if(e.sender.subject){const t=this.conversationParticipants.find(t=>t.getSubject()===e.sender.subject);return t?.showAvatar??!1}}return!1}handleQueuePositionServerSentEvent(e){e&&e.lastEventId&&d.setLastEventId(e.lastEventId);try{const t=R.default.parseServerSentEventData(e),n=R.default.parseServerSentConversationEntry(t),r=R.default.parseServerSentConversationEntryPayload(n);this.queuePosition>=0&&(this.queuePosition=r.position),a.util.dispatchEventToHost(p.HOST_EVENT.ON_EMBEDDED_MESSAGING_QUEUE_POSITION_UPDATE,t)}catch(e){a.error(`Error thrown while handling queue position update server sent event in conversation ${this.conversationId}: ${e}`)}}}t.registerDecorators(j,{publicProps:{configuration:{config:0},publicConfiguration:{config:0},prechatConstructor:{config:0},textMessageConstructor:{config:0},conversationEntriesUtil:{config:0},conversationData:{config:0},conversationStatus:{config:0},isMinimized:{config:0},sessionStatus:{config:0},queuePosition:{config:3},lastInAppServiceErrorTime:{config:1}},publicMethods:["getSseStatus","getConversationStateConversationEntries","closeConversation","reconnectToEventSource","handleConnectionInterrupted","setPingTimer","handleGetConversationEntries","handleTryAgainBannerButtonClick","dispatchConversationStatusChangeEvent","querySelectConversationLog","handleConversationMessageUpdatedServerSentEvent","handleConversationMessageServerSentEvent","handleStreamingTokenServerSentEvent","handlePingServerSentEvent","updateExistingConversationEntry"],track:{conversationEntries:1,conversationParticipants:1,currentTypingParticipants:1,progressIndicatorMessage:1,failedMessages:1},fields:["streamingConversationEntries","conversationId","isAnotherParticipantTyping","_queuePosition","isJwtExpired","isTransferring","showGetConversationEntriesSpinner","hasLoadedAllConversationEntries","sseStatus","sseBlockedTS","webViewMetadata","webViewMessageToUpdate","displayWebViewOverlay","displayConfirmationDialogInOverlay","displaySessionPrechatForm","displaySecureForm","visiblePrechatFields","headerMenuOptions","isReconnectInProgress","hasSSEReconnectAttemptsExhausted","conversationEntriesStartIndexForTTFM","firstEndUserMessageTimeWhenEndUserOnlyParticipant","pingTimer","endUserMessageMetadata","firstStreamingTokenEntry","numStreamingValidationFailures","shouldDispatchFirstBotMessageEvent","inputFooterTextAreaPlaceholderText","_lastInAppServiceErrorTime","enableUserInputForConversationWithBot","handleEscapeKey","handleMessageEvents","renderConversationMessage","renderParticipantChanged","renderRoutingResult","handleReceiveParametersFromAutoResponseAPI"]});const H=t.registerComponent(j,{tmpl:D,sel:"embeddedMessaging-conversation-state",apiVersion:66,enableSyntheticElementInternals:!0});e.default=H,Object.defineProperty(e,"__esModule",{value:!0})});
495})();LWR.define('embeddedmessaging/conversationState', ['embeddedMessaging/conversationState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/unavailableState",["exports","lwc","lightning/formattedRichText","lightningsnapin/eventStore","embeddedMessaging/globalEventStore","embeddedMessaging/common"],function(e,t,a,n,l,s){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(a);var r=[function(e,t,a){var n=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"--lwc-colorTextLabel: var(--primaryText, #333333);}.unavailable-state"+n+" {display: flex;flex-direction: column;flex: 1 1 auto;text-align: center;align-content: stretch;justify-content: center;overflow: hidden;height: calc(100vh - var(--header-height, 50px));background: var(--slds-g-color-neutral-base-100, #FFFFFF);color: var(--primaryText, #333333);}.unavailable-state-content"+n+" {display: flex;flex-direction: column;flex: 1 1 auto;justify-content: center;text-align: center;}.unavailable-state-content:focus"+n+" {outline:none;}.unavailable-state-text"+n+" {white-space: pre-line;max-height: calc(100vh - 150px);overflow-y: auto;overflow-x: hidden;}.unavailable-state-footer-wrapper"+n+" {display: flex;flex-direction: column;flex: 0 1 auto;}.unavailable-state-button"+n+" {height: 48px;min-height: 48px;
495background: var(--primaryButtonBackground, #444444);color: var(--primaryButtonText, #ffffff);font-family: var(--font, Arial, sans-serif);font-size: var(--baseFontSize, medium);border: none;}.unavailable-state-button:focus"+n+" {background: var(--primaryButtonBackgroundHoverColor, #181818);}.unavailable-state-button-text"+n+" {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}"}];const u=t.parseFragment`<div class="unavailable-state-footer-wrapper slds-p-around_medium${0}"${2}><button class="unavailable-state-button slds-button slds-button_brand slds-button_stretch${0}"${"a1:title"}${"a1:id"}${2}><span class="unavailable-state-button-text${0}"${"a2:id"}${2}>${"t3"}</span></button></div>`,c={classMap:{"unavailable-state":!0},key:0},d={classMap:{"unavailable-state-content":!0,"slds-p-around_medium":!0},attrs:{tabindex:"-1"},key:1},b={"unavailable-state-text":!0};function h(e,t,a,n){const{b:l,c:s,h:o,gid:r,d:h,sp:g,st:v}=e,{_m0:p,_m1:m}=n;return[o("div",c,[o("div",d,[s("lightning-formatted-rich-text",i.default,{classMap:b,props:{value:t.formattedText},key:2,on:p||(n._m0={click:l(t.handleTextClick)})})]),v(u,4,[g(1,{on:m||(n._m1={click:l(t.onCloseButtonClick),keydown:l(t.onCloseButtonKeyDown)}),attrs:{title:t.buttonText,id:r("unAvailableStateButton")}},null),g(2,{attrs:{id:r("unAvailableStateButtonText")}},null),g(3,null,h(t.buttonText))])])]}var g=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-42qetrghjmj",h.legacyStylesheetToken="embeddedMessaging-unavailableState_unavailableState",r&&h.stylesheets.push.apply(h.stylesheets,r),t.freezeTemplate(h);const v="EmbeddedMessaging-UnavailableState";class p extends t.LightningElement{constructor(...e){super(...e),this.text="",this.labels={},this.buttonText="",this._initialRender=!0}get formattedText(){return s.util.parseMarkdownLinks(this.text)}renderedCallback(){this._initialRender&&(this._initialRender=!1,this.setFocusOnDialogContent(),s.LoggingUtil.logCurrentState(v,{method:"renderedCallback",stateMessage:"Unavailable state has been rendered"}))}connectedCallback(){this.applyStyling(),this.assignHandlers()}disconnectedCallback(){l.clearHandlersForEvent(s.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT)}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&(e.sheet.insertRule("a { text-decoration: underline; color: var(--secondaryColor, #005290);}",0),e.sheet.insertRule("a:focus { color: var(--secondaryColor, #005290); outline-color:var(--secondaryColor, #005290); }",0))}assignHandlers(){l.assignHandler(s.events.EMBEDDED_MESSAGING_FOCUS_ON_LAST_FOCUSABLE_ELEMENT_EVENT,this.setFocusOnCloseButton.bind(this))}onCloseButtonClick(e){n.dispatchMessagingEvent(n.MESSAGING_EVENT.CLOSE_CONTAINER,{bubbles:!0}),s.LoggingUtil.logInteraction(e,this,v,{method:"onCloseButtonClick",feature:"unavailable-state-button"})}onCloseButtonKeyDown(e){e.key!==s.KEY_CODES.TAB||e.shiftKey||(e.preventDefault(),n.dispatchMessagingEvent(n.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}))}setFocusOnCloseButton(){const e=this.querySelectCloseButton();this.setFocusOnElement(e)}setFocusOnDialogContent(){const e=this.queryDialogContent();this.setFocusOnElement(e)}setFocusOnElement(e){s.util.waitForFrame(()=>{e&&e.focus()})}queryDialogContent(){return this.template&&this.template.querySelector(".unavailable-state-content")?this.template.querySelector(".unavailable-state-content"):void 0}querySelectCloseButton(){return this.template&&this.template.querySelector("button.unavailable-state-button")?this.template.querySelector("button.unavailable-state-button"):void 0}handleTextClick(e){return s.util.handleLinkClick(v,e)}}t.registerDecorators(p,{publicProps:{text:{config:0},buttonText:{config:0}},track:{labels:1},fields:["_initialRender"]});const m=t.registerComponent(p,{tmpl:g,sel:"embeddedMessaging-unavailable-state",apiVersion:66,enableSyntheticElementInternals:!0});e.default=m,Object.defineProperty(e,"__esModule",{value:!0})});
496})();LWR.define('embeddedmessaging/unavailableState', ['embeddedMessaging/unavailableState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/minimizedState",["exports","lwc","lightning/icon","embeddedmessaging/progressIndicator","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/icons","embeddedMessaging/constants","embeddedMessaging/labelUtils","embeddedMessaging/brandingUtils"],function(e,i,t,s,n,a,o,d,l,r){function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=m(t),E=m(s);var c=[function(e,i,t){var s=e?"["+e+"]":"";return[".minimizedNotification",s," {display: flex;flex-direction: row;flex-wrap: nowrap;justify-content: space-between;align-items: center;position: fixed;pointer-events: all;text-decoration: none;overflow: visible;cursor: pointer;bottom: 77px;right: 3px;max-width: 302px;width: auto;min-height: 53px;height: auto;background-color: var(--chatButton, #2e2e2e);border-radius: 8px;box-shadow: none;outline: 0;}",t?"":'[dir="rtl"]'," ",t?":dir(rtl)":""," .minimizedNotification",s," {right: auto;left: 3px;box-shadow: none;}.minimizedButton",s,"::-moz-focus-inner,.minimizedNotification",s,"::-moz-focus-inner,.dismissButton",s,"::-moz-focus-inner {border: 0;outline: 0;outline-style: none;-moz-outline-style: none;}.dismissButton.hide",s,",.minimizedNotification.hide",s," {display: none;}.minimizedTextWrapper",s," {display: flex;flex: 1 1 auto;max-width: 245px;padding: 10px 0 10px 10px;overflow: hidden;}",t?"":'[dir="rtl"]'," ",t?":dir(rtl)":""," .minimizedTextWrapper",s," {padding: 10px 10px 10px 0;}.minimizedTextWrapper",s," > .minimizedText",s,' {color: var(--invitationText, #ffffff);font-family: var(--font, "Segoe UI", Arial, sans-serif);font-size: 13px;font-style: normal;font-weight: 400;line-height: 20px;overflow: hidden;white-space: normal;text-overflow: ellipsis;text-align: left;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}.dismissButton',s," {display: flex;flex-shrink: 0;align-items: center;justify-content: center;width: 36px;height: 36px;padding: 10px;background-color: transparent;border: none;cursor: pointer;margin: 4px;border-radius: 4px;}.dismissButton:focus",s," {outline: 2px solid var(--invitationDismissalButton, #AEAEAE);outline-offset: -4px;}.dismissButton:hover",s," {background-color: var(--chatButtonHoverColor, #181818);}.minimizedButtonWrapper",s," {display: block;position: fixed;background: transparent;overflow: visible;font-family: sans-serif;top: 0;left: 0;}.minimizedButtonWrapper",s," .minimizedButton",s," {background-color: var(--chatButton, #2e2e2e);color: var(--slds-g-color-neutral-base-100, #ffffff);border: none;cursor: pointer;text-align: center;overflow: hidden;pointer-events: all;cursor: pointer;border-radius: 50%;box-shadow: none;position: fixed;bottom: 3px;right: 3px;width: 56px;height: 56px;}",t?"":'[dir="rtl"]'," ",t?":dir(rtl)":""," .minimizedButtonWrapper",s," .minimizedButton",s," {right: 0;left: 3px;}.minimizedButtonWrapper",s," .minimizedButton:hover",s," {background-color: var(--chatButtonHoverColor, #181818);}.minimizedButton:focus",s," {outline: 2px solid var(--chatButton, #2E2E2E);outline-offset: 2px;}.minimizedButton",s,' div[class="minimizedButtonIconContainer"]',s," {display: flex;justify-content: center;align-items: center;width: 100%;height: 100%;border-radius: 50%;}",t?"":'[dir="rtl"]'," ",t?":dir(rtl)":""," .minimizedButton",s,' div[class="minimizedButtonIconContainer"]',s," {transform: scaleX(-1);}.minimizedButton",s,' div[class="minimizedButtonIconContainer"]',s," > svg.minimizedButtonIconChat",s," {width: 100%;height: 100%;max-height: 30px;max-width: 30px;fill: var(--slds-g-color-neutral-base-100, #ffffff);transform: scale(1) translate(0px, 1.5px);overflow: visible;}.minimizedButton",s," .progressIndicatorWrapper",s," {width: 30px;height: 30px;position: relative;top: 3px;left: 1px;display: flex;justify-content: center;align-items: center;margin-left: 3px;}.minimizedButton",s,' div[class="minimizedButtonIconContainer"]',s," > img",s," {width: 100%;height: 100%;border-radius: 50%;object-fit: contain;}.minimizedButton",s,' div[class="minimizedButtonIconContainer"]',s," > span.unseenMessageCountText",s," {position: absolute;font-weight: bold;}",t?"":'[dir="rtl"]'," ",t?":dir(rtl)":""," .minimizedButton",s,' div[class="minimizedButtonIconContainer"]',s," > span.unseenMessageCountText",s," {transform: scaleX(-1);}"].join("")}];const g=i.parseFragment`<div class="minimizedTextWrapper${0}"${"a0:id"}${2}><span role="status" class="minimizedText${0}"${"a1:title"}${"a1:id"}${2}>${"t2"}</span><span class="slds-assistive-text${0}"${2}>${"t4"}</span></div>`,M=i.parseFragment`<span class="slds-assistive-text${0}"${"a0:id"}${2}>${"t1"}</span>`,h=i.parseFragment`<img${"a0:src"} alt aria-hidden="true"${3}>`,I=i.parseFragment`<svg aria-hidden="true" viewBox="0 0 100 100" class="slds-button__icon minimizedButtonIconChat${0}"${2}><path${"a1:fill"} fill-rule="evenodd" clip-rule="evenodd"${"a1:d"}${3}/></svg>`,N=i.parseFragment`<span${"c0"}${"a0:id"}${"s0"}${2}>${"t1"}<span class="slds-assistive-text${0}"${2}>${"t3"}</span></span>`,p={classMap:{minimizedButtonWrapper:!0},key:7},T={"slds-button":!0,minimizedButton:!0},f={minimizedButtonIconContainer:!0},z={classMap:{progressIndicatorWrapper:!0},key:14};
496function x(e,i,t,s){const{ncls:n,gid:a,b:o,d:d,sp:l,st:r,c:m,h:c,fr:x}=e,{_m0:v,_m1:S,_m2:b,_m3:C}=s;return[c("div",{className:n(i.generateMinimizedNotificationClass),attrs:{id:a("minimizedNotificationArea")},key:0},[r(g,2,[l(0,{on:S||(s._m1={click:o(i.handleMaximization)}),attrs:{id:a("minimizedNotificationTextWrapper")}},null),l(1,{attrs:{title:i.minimizedText,id:a("minimizedNotificationText")}},null),l(2,null,d(i.minimizedText)),l(4,null,d(i.labels.MinimizedNotificationAssistiveText))]),c("button",{className:n(i.generateDismissButtonClass),attrs:{"aria-describedby":a("dismissButton-help"),id:a("minimizedNotificationDismissButton")},key:3,on:b||(s._m2={click:o(i.onDismissButtonClick),keydown:o(i.onDismissButtonKeyPress)})},[m("lightning-icon",u.default,{props:{iconName:"utility:close",size:"x-small",id:a("closeButtonIcon")},key:4}),r(M,6,[l(0,{attrs:{id:a("dismissButton-help")}},null),l(1,null,d(i.labels.MinimizedNotificationDismissButtonAssistiveText))])])]),c("div",p,[c("button",{classMap:T,attrs:{title:i.labels.MinimizedButtonAssistiveText,"aria-label":i.labels.MinimizedButtonAssistiveText,id:a("minimizedButton")},key:8,on:C||(s._m3={click:o(i.handleMaximization)})},[c("div",{classMap:f,attrs:{id:a("minimizedButtonIconContainer")},key:9},[i.shouldRenderCustomMinimizedButtonIcon?x(10,[r(h,12,[l(0,{attrs:{src:i.customMinimizedButtonIconUrl}},null)])],0):x(10,[i.shouldShowProgressIndicator?x(13,[c("div",z,[m("embeddedmessaging-progress-indicator",E.default,{props:{fillColor:i.generateMinimizedChatIconSvgFillColor},key:15})])],0):x(13,[r(I,17,[l(1,{attrs:{fill:i.generateMinimizedChatIconSvgFillColor,d:i.getMinimizedChatIcon}},null)])],0)],0),i.shouldDisplayUnseenMessageCount?r(N,19,[l(0,{className:n(i.getUnseenMessageCountTextClassName),style:i.generateUnseenMessageCountTextStyle,attrs:{id:a("minimizedButtonUnseenMessageCountText")}},null),l(1,null,d(i.getUnseenMessageCountText)),l(3,null,d(i.getUnseenMessageCountText))]):null])])])]}var v=i.registerTemplate(x);x.stylesheets=[],x.stylesheetToken="lwc-2tu55qmbbaf",x.legacyStylesheetToken="embeddedMessaging-minimizedState_minimizedState",c&&x.stylesheets.push.apply(x.stylesheets,c),i.freezeTemplate(x);const S="EmbeddedMessaging-MinimizedState";class b extends i.LightningElement{constructor(...e){super(...e),this.isDismissed=!1,this.configuration=void 0,this.labels={},this.conversationStatus=void 0,this.unseenMessageCount=0,this._latestEvent=void 0,this.isMinimized=void 0,this.customMinimizedButtonIconUrl=r.getBrandingValue(r.BRANDING_TOKENS.FAB_IMAGE.name)}get isMinimizedNotificationDismissed(){return this.isDismissed}get latestEvent(){return this._latestEvent}set latestEvent(e){this.updateLatestEvent(e)}updateLatestEvent(e){this._latestEvent!==e&&(this._latestEvent=e,e&&this.isMinimized&&this.shouldDisplayMinimizedNotification&&this.announceLatestEvent())}announceLatestEvent(){const e=this.minimizedText;e&&a.util.sendPostMessageToOrigin(a.util.getParentWindowUrl(),a.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_EVENT,{text:e})}get shouldDisplayMinimizedNotification(){return this.conversationStatus===d.ConversationStatus.OPENED_CONVERSATION&&!this.isMinimizedNotificationDismissed&&void 0!==this.latestEvent}get getMinimizedChatIcon(){return this.latestEvent===n.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES?o.defaultIcons.MINIMIZED_NEW_MESSAGES_ICON:o.defaultIcons.MINIMIZED_CHAT_ICON}get shouldShowProgressIndicator(){return this.latestEvent===n.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS}get shouldRenderCustomMinimizedButtonIcon(){return this.customMinimizedButtonIconUrl&&this.customMinimizedButtonIconUrl.length>0&&this.getMinimizedChatIcon===o.defaultIcons.MINIMIZED_CHAT_ICON}get minimizedText(){if(this.isConversationClosed())return this._latestEvent===n.MINIMIZED_EVENTS.JWT_EXPIRED?this.labels.JwtExpiredText:this.labels.ConversationEndedMinimizedText;switch(this._latestEvent){case n.MINIMIZED_EVENTS.PARTICIPANT_JOINED:return this.labels.ParticipantJoinedText;case n.MINIMIZED_EVENTS.PARTICIPANT_LEFT:return this.labels.ParticipantLeftText;case n.MINIMIZED_EVENTS.TRANSFER_INITIATED:return this.labels.TransferInitiatedText;case n.MINIMIZED_EVENTS.TRANSFER_TERMINATED:return this.labels.TransferFailedText;case n.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES:return 1===this.unseenMessageCount?this.labels.NewMessageText:this.labels.MultipleNewMessagesText;case n.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS:return this.labels.MinimizedReconnectInProgress;default:return""}}get shouldDisplayUnseenMessageCount(){return this.latestEvent===n.MINI
496MIZED_EVENTS.NEW_UNSEEN_MESSAGES}get getUnseenMessageCountText(){return this.unseenMessageCount>9?"9+":this.unseenMessageCount}get getUnseenMessageCountTextClassName(){return this.unseenMessageCount>9?"unseenMessageCountText nine-plus":"unseenMessageCountText"}get generateMinimizedNotificationClass(){return"minimizedNotification"+(this.shouldDisplayMinimizedNotification?"":" hide")}get generateDismissButtonClass(){return"dismissButton"+(this.shouldDisplayMinimizedNotification?"":" hide")}get isMinimizedButtonFocusable(){return this.isMinimized?0:-1}get generateMinimizedChatIconSvgFillColor(){return this.configuration.hasConversationButtonColorContrastMetA11yThreshold?"var(--slds-g-color-neutral-base-100, #ffffff)":"#1A1B1E"}get generateUnseenMessageCountTextColor(){return this.configuration.hasConversationButtonColorContrastMetA11yThreshold?"#1A1B1E":"#FFFFFF"}get generateUnseenMessageCountTextStyle(){return`color: ${this.generateUnseenMessageCountTextColor}`}connectedCallback(){this.assignHandlers(),this.handleLabels()}renderedCallback(){this.shouldDisplayMinimizedNotification&&(this.applyStyling(),n.dispatchEvent(a.events.EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT,{}))}assignHandlers(){n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.PARTICIPANT_JOINED,()=>{this.isMinimized&&this.updateLatestEvent(n.MINIMIZED_EVENTS.PARTICIPANT_JOINED)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.PARTICIPANT_LEFT,()=>{this.isMinimized&&this.updateLatestEvent(n.MINIMIZED_EVENTS.PARTICIPANT_LEFT)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.TRANSFER_INITIATED,()=>{this.updateLatestEvent(n.MINIMIZED_EVENTS.TRANSFER_INITIATED)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.TRANSFER_COMPLETED,()=>{this.latestEvent===n.MINIMIZED_EVENTS.TRANSFER_INITIATED&&this.updateLatestEvent(void 0)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES,()=>{this.isMinimized&&(this.unseenMessageCount++,this.updateLatestEvent(n.MINIMIZED_EVENTS.NEW_UNSEEN_MESSAGES))}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.CLEAR_NOTIFICATIONS,()=>{this.unseenMessageCount=0,this.latestEvent!==n.MINIMIZED_EVENTS.TRANSFER_INITIATED&&this.latestEvent!==n.MINIMIZED_EVENTS.JWT_EXPIRED&&this.latestEvent!==n.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS&&this.updateLatestEvent(void 0)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.JWT_EXPIRED,()=>{this.updateLatestEvent(n.MINIMIZED_EVENTS.JWT_EXPIRED)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS,()=>{this.updateLatestEvent(n.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS)}),n.assignChatMinimizedHandler(n.MINIMIZED_EVENTS.RECONNECT_ENDED,()=>{this.latestEvent===n.MINIMIZED_EVENTS.RECONNECT_IN_PROGRESS&&this.updateLatestEvent(void 0)})}applyStyling(){const e=document.createElement("style");this.template.host.appendChild(e),e.sheet&&e.sheet.insertRule("embeddedmessaging-minimized-state .dismissButton svg { fill: var(--invitationDismissalButton, #AEAEAE); }",0)}handleLabels(){this.labels.MinimizedButtonAssistiveText=l.getLabel("EmbeddedMessagingMinimizedState","MinimizedButtonAssistiveText"),this.labels.MinimizedNotificationDismissButtonAssistiveText=l.getLabel("EmbeddedMessagingMinimizedState","MinimizedNotificationDismissButtonAssistiveText"),this.labels.NotificationDismissButtonText=l.getLabel("EmbeddedMessagingMinimizedState","NotificationDismissButtonText"),this.labels.ConversationEndedMinimizedText=l.getLabel("EmbeddedMessagingMinimizedState","ConversationEndedMinimizedText"),this.labels.ParticipantJoinedText=l.getLabel("EmbeddedMessagingMinimizedState","ParticipantJoinedText"),this.labels.ParticipantLeftText=l.getLabel("EmbeddedMessagingMinimizedState","ParticipantLeftText"),this.labels.NewMessageText=l.getLabel("EmbeddedMessagingMinimizedState","NewMessageText"),this.labels.MultipleNewMessagesText=l.getLabel("EmbeddedMessagingMinimizedState","MultipleNewMessagesText"),this.labels.JwtExpiredText=l.getLabel("EmbeddedMessagingMinimizedState","JwtExpiredText"),this.labels.TransferInitiatedText=l.getLabel("EmbeddedMessagingMinimizedState","TransferInitiatedText"),this.labels.TransferFailedText=l.getLabel("EmbeddedMessagingMinimizedState","TransferFailedText"),this.labels.MinimizedNotificationAssistiveText=l.getLabel("EmbeddedMessagingMinimizedState","MinimizedNotificationAssistiveText"),this.labels.MinimizedStateAssistiveText=l.getLabel("EmbeddedMessagingMinimizedState","MinimizedStateAssistiveText"),this.labels.MinimizedReconnectInProgress=l.getLabel("EmbeddedMessagingMinimizedState","MinimizedReconnectInProgress")}handleMaximization(e){n.dispatchEvent(a.events.EMBEDDED_MESSAGING_MAXIMIZE_EVENT,{bubbles:!0}),a.LoggingUtil.logInteraction(e,this,S,{method:"handleMaximization"})}isConversationClosed(){return this.conversationStatus&&this.conversationStatus===d.ConversationStatus.CLOSED_CONVERSATION}onDismissButtonKeyPress(e){e.key!==a.KEY_CODES.ENTER&&e.key!==a.KEY_CODES.SPACE||(e.preventDefault(),this.onDismissButtonClick())}onDismissButtonClick(e){this.isDismissed=!0,n.dispatchEvent(a.events.EMBEDDED_MESSAGING_MINIMIZED_NOTIFICATION_DISMISS,{bubbles:!0}),this.setFocusOnMinimizedButton(),a.LoggingUtil.logInteraction(e,this,S,{method:"onDismissButtonClick"})}setFocusOnMinimizedButton(){a.util.waitForFrame(()=>{const e=this.querySelectMinimizedButton();e&&e.focus()})}querySelectMinimizedButton(){return this.template.querySelector("button.minimizedButton")}}i.registerDecorators(b,{publicProps:{configuration:{config:0},isMinimizedNotificationDismissed:{config:1}
496,conversationStatus:{config:0},latestEvent:{config:3},isMinimized:{config:0},shouldDisplayMinimizedNotification:{config:1}},publicMethods:["setFocusOnMinimizedButton"],track:{labels:1,unseenMessageCount:1},fields:["isDismissed","_latestEvent","customMinimizedButtonIconUrl"]});const C=i.registerComponent(b,{tmpl:v,sel:"embeddedMessaging-minimized-state",apiVersion:66,enableSyntheticElementInternals:!0});e.default=C,Object.defineProperty(e,"__esModule",{value:!0})});
497})();LWR.define('embeddedmessaging/minimizedState', ['embeddedMessaging/minimizedState'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/ariaLiveAnnouncer",["exports","lwc"],function(e,t){var n=[function(e,t,n){return".accessibleText"+(e?"["+e+"]":"")+" {position: absolute;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);}"}];const s=t.parseFragment`<div role="alert" aria-live="polite" class="accessibleText${0}" aria-atomic="true"${2}><pre${3}>${"t2"}</pre></div>`,i=t.parseFragment`<div role="alert" aria-live="polite" class="accessibleText${0}" aria-atomic="true"${2}><pre${3}>${"t2"}</pre></div>`;function o(e,t,n,o){const{d:r,sp:a,st:c}=e;return[c(s,1,[a(2,null,r(t.firstPoliteMessage))]),c(i,3,[a(2,null,r(t.secondPoliteMessage))])]}var r=t.registerTemplate(o);o.stylesheets=[],o.stylesheetToken="lwc-2vma9s18e7s",o.legacyStylesheetToken="embeddedMessaging-ariaLiveAnnouncer_ariaLiveAnnouncer",n&&o.stylesheets.push.apply(o.stylesheets,n),t.freezeTemplate(o);class a extends t.LightningElement{constructor(...e){super(...e),this.lastAnnouncementTimeKeeper=new Map,this.isFirstPoliteRegionActive=!1,this.firstPoliteMessage="",this.secondPoliteMessage=""}announceMessage(e,t){if("string"!=typeof e)return;const n=Object.assign({announceInIntervalsEnabled:!1,minTimeBetweenAnnouncements:6e4,forceAnnouncement:!1},t);if(n.announceInIntervalsEnabled){const t=Date.now();(t-this.getLastAnnouncementTimeForContext(n.context)>=n.minTimeBetweenAnnouncements||n.forceAnnouncement)&&(this.setMessageForAnnouncement(e),this.setLastAnnouncementTimeForContext(n.context,t))}else this.setMessageForAnnouncement(e);setTimeout(this.removeMessageFromAnnouncer.bind(this),9600,e)}purgeContextValues(){this.lastAnnouncementTimeKeeper.clear()}setLastAnnouncementTimeForContext(e,t){this.lastAnnouncementTimeKeeper.set(e,t)}getLastAnnouncementTimeForContext(e){let t=0;return this.lastAnnouncementTimeKeeper.has(e)&&(t=this.lastAnnouncementTimeKeeper.get(e)),t}setMessageForAnnouncement(e){this.isFirstPoliteRegionActive?this.secondPoliteMessage=this.formatMessageForAnnouncement(this.secondPoliteMessage,e):this.firstPoliteMessage=this.formatMessageForAnnouncement(this.firstPoliteMessage,e),this.isFirstPoliteRegionActive=!this.isFirstPoliteRegionActive}formatMessageForAnnouncement(e,t){return e===t?t+" ":t}removeMessageFromAnnouncer(e){this.firstPoliteMessage!==e?this.secondPoliteMessage===e&&(this.secondPoliteMessage=""):this.firstPoliteMessage=""}}t.registerDecorators(a,{publicMethods:["announceMessage","purgeContextValues"],track:{firstPoliteMessage:1,secondPoliteMessage:1},fields:["lastAnnouncementTimeKeeper","isFirstPoliteRegionActive"]});const c=t.registerComponent(a,{tmpl:r,sel:"embeddedMessaging-aria-live-announcer",apiVersion:66,enableSyntheticElementInternals:!0});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
498})();LWR.define('embeddedmessaging/ariaLiveAnnouncer', ['embeddedMessaging/ariaLiveAnnouncer'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("o11y_schema/sf_pdp",["exports"],function(e){e.pdpEventSchema={namespace:"sf.pdp",name:"PdpEvent",pbjsSchema:{nested:{sf:{nested:{pdp:{nested:{PdpEvent:{oneofs:{_eventVolume:{oneof:["eventVolume"]}},fields:{eventName:{type:"string",id:1},componentId:{type:"string",id:2},productFeatureId:{type:"string",id:3},eventVolume:{type:"int32",id:4},contextName:{type:"string",id:5},contextValue:{type:"string",id:6},channel:{type:"string",id:7},subType:{type:"string",id:8}}}}}}}}}}
498,Object.defineProperty(e,"__esModule",{value:!0})});
499})();(function() { LWR.define("embeddedMessaging/logging",["exports","o11y/client","o11y_schema/sf_pdp","embeddedMessaging/common"],function(e,t,n,o){class d{}d.logPDPEvent=(e,d)=>{try{t.getInstrumentation(e).log(n.pdpEventSchema,{eventName:d.eventName,productFeatureId:d.productFeatureId,...d.componentId&&{componentId:d.componentId},...void 0!==d.eventVolume&&null!==d.eventVolume&&{eventVolume:d.eventVolume},...d.contextName&&{contextName:d.contextName},...d.contextValue&&{contextValue:d.contextValue}})}catch(t){o.error(`Something went wrong in executing O11y log API for PDP event from ${e}: ${t}`)}};const c="aJCEE00000083eQ4AQ";e.EMBEDDED_MESSAGING_PRODUCT_FEATURE_ID=c,e.PDPLoggingUtil=d,e.logEmbeddedMessagingPdpEvent=(e,t,n={})=>{d.logPDPEvent(e,{eventName:t,productFeatureId:c,...n})},Object.defineProperty(e,"__esModule",{value:!0})});
500})();LWR.define('embeddedmessaging/logging', ['embeddedMessaging/logging'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("embeddedMessaging/container",["exports","@salesforce/loader","lwc","embeddedmessaging/chatHeader","embeddedmessaging/prechatState","embeddedmessaging/chatNotification","embeddedmessaging/conversationState","embeddedmessaging/unavailableState","embeddedmessaging/minimizedState","embeddedmessaging/ariaLiveAnnouncer","embeddedMessaging/globalEventStore","embeddedMessaging/common","embeddedMessaging/constants","embeddedMessaging/brandingUtils","embeddedMessaging/logging","embeddedMessaging/inAppService","embeddedMessaging/labelUtils","embeddedMessaging/countdownTimer","embeddedMessaging/webStorageUtils","embeddedMessaging/fileAttachmentFooter","lightningsnapin/eventStore"],function(e,t,n,i,s,o,a,r,d,l,h,E,g,c,u,S,_,T,m,I,M){function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var A=v(i),C=v(s),N=v(o),D=v(a),p=v(r),f=v(d),b=v(l),O=v(T);var P=[function(e,t,n){var i=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+'font-family: var(--font, Arial, sans-serif), "Twemoji Mozilla", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Android Emoji", "Noto Color Emoji", "EmojiOne Color";font-size: var(--baseFontSize, medium);display: flex;flex-direction: column;height: 100vh;width: 100vw;outline: none;position: relative;}.containerArea.minimized'+i+" {display: none;}.notificationArea.maximized"+i+" {display: none;}"}];const R={key:10};function U(e,t,n,i){const{ncls:s,dc:o,fr:a,c:r,b:d}=e,{_m0:l,_m1:h}=i;return[t.shouldRenderApp?t.headerConstructor?a(0,[o(t.headerConstructor,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus,isMessageAreaEndOfScroll:t.isMessageAreaEndOfScroll},key:1})],0):a(0,[r("embeddedmessaging-chat-header",A.default,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus,isMessageAreaEndOfScroll:t.isMessageAreaEndOfScroll,sessionStatus:t.sessionStatus},key:2})],0):null,t.shouldRenderApp&&t.shouldShowPrechatState?t.prechatConstructor?a(3,[o(t.prechatConstructor,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration},key:4,on:l||(i._m0={prechatsubmit:d(t.handlePrechatSubmit)})})],0):a(3,[r("embeddedmessaging-prechat-state",C.default,{className:s(t.generateMaximizedClass),props:{configuration:t.publicConfiguration,conversationStatus:t.conversationStatus},key:5,on:h||(i._m1={prechatsubmit:d(t.handlePrechatSubmit)})})],0):null,t.shouldRenderApp?r("embeddedmessaging-chat-notification",N.default,{className:s(t.generateMaximizedClass),key:6}):null,t.shouldRenderApp&&t.shouldShowConversationState?r("embeddedmessaging-conversation-state",D.default,{className:s(t.generateMaximizedClass),props:{configuration:t.configuration,publicConfiguration:t.publicConfiguration,prechatConstructor:t.prechatConstructor,textMessageConstructor:t.textMessageConstructor,conversationStatus:t.conversationStatus,conversationData:t.conversationData,isMinimized:t.isMinimized,sessionStatus:t.sessionStatus},key:7}):null,t.shouldRenderApp&&t.shouldShowUnavailableState?r("embeddedmessaging-unavailable-state",p.default,{className:s(t.generateMaximizedClass),props:{text:t.unavailableStateMessageText,buttonText:t.unavailableStateCloseButtonText},key:8}):null,t.shouldRenderApp&&t.shouldShowMinimizedState?r("embeddedmessaging-minimized-state",f.default,{className:s(t.generateMinimizedClass),props:{configuration:t.configuration,conversationStatus:t.conversationStatus,isMinimized:t.isMinimized},key:9}):null,t.shouldRenderApp?r("embeddedmessaging-aria-live-announcer",b.default,R):null]}var w=n.registerTemplate(U);U.stylesheets=[],U.stylesheetToken="lwc-64un2jbuqj8",U.legacyStylesheetToken="embeddedMessaging-container_
500container",P&&U.stylesheets.push.apply(U.stylesheets,P),n.freezeTemplate(U);const G=["name","branding","forms","customLabels","choiceListConfig","orgId","language","standardLabels","termsAndConditions","embeddedServiceMessagingChannel","htmlDirection","transcript"],y="EmbeddedMessaging-Container";class L extends n.LightningElement{constructor(...e){super(...e),this.configuration={},this.publicConfiguration={},this.hostDomain=void 0,this.customPrechatComponent=void 0,this.prechatConstructor=null,this.customHeaderComponent=void 0,this.headerConstructor=null,this.customTextMessageComponent=void 0,this.textMessageConstructor=null,this.conversationData=void 0,this._conversationStatus=g.ConversationStatus.NOT_STARTED_CONVERSATION,this._sessionStatus=g.SessionStatus.NOT_STARTED,this.isMinimized=!1,this.labels={},this.brandingTokens=[],this.isInitialized=!1,this.isMessageAreaEndOfScroll=void 0,this.restoreScrollPositionTimer=void 0,this.conversationErrorData={},this._initialRender=!0,this._subsequentRender=!1,this.setIdentityTokenResolve=void 0,this.pendingRequestQueue=[],this.handleMessageEvents=e=>{E.util.handleWindowEvents(e,{[E.events.APP_MINIMIZE_EVENT_NAME]:this.handleMinimization.bind(this),[E.events.APP_MAXIMIZE_EVENT_NAME]:this.handleMaximization.bind(this),[E.events.EMBEDDED_MESSAGING_SET_CONFIG_EVENT_NAME]:this.beginInitialization.bind(this),[E.events.EMBEDDED_MESSAGING_MAXIMIZE_RESIZING_COMPLETED_EVENT]:this.afterMaximization.bind(this),[E.events.EMBEDDED_MESSAGING_MINIMIZE_RESIZING_COMPLETED_EVENT]:this.afterMinimization.bind(this),[E.events.EMBEDDED_MESSAGING_SET_JWT_EVENT_NAME]:this.handleInitJwt.bind(this),[E.events.EMBEDDED_MESSAGING_SET_CONVERSATION_DATA_EVENT_NAME]:this.handleInitConversationData.bind(this),[E.authEvent.EMBEDDED_MESSAGING_CLEAR_USER_SESSION_EVENT_NAME]:this.handleClearUserSession.bind(this),[E.authEvent.EMBEDDED_MESSAGING_SET_IDENTITY_TOKEN_EVENT_NAME]:this.handleSetIdentityToken.bind(this),[E.events.EMBEDDED_MESSAGING_PUSH_PARENT_FRAME_LOGS]:this.processPendingLogs.bind(this),[E.events.EMBEDDED_MESSAGING_PUSH_VISIBLE_PRECHAT_FIELDS]:this.handleReceiveVisiblePrechatFieldsFromHost.bind(this),[E.events.EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_SUCCESS]:this.handleRequestTranscriptSuccess.bind(this),[E.events.EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT_ERROR]:this.handleRequestTranscriptError.bind(this),[E.events.EMBEDDED_MESSAGING_APP_AFTER_REFRESH]:this.handleCleanUpPostChatPopup.bind(this),[E.events.EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_REQUEST_EVENT_NAME]:this.handlePublicSendTextMessage.bind(this),[E.events.EMBEDDED_MESSAGING_CONVO_ERROR_DATA_RECEIVED_EVENT_NAME]:this.handleConversationErrorDataReceived.bind(this)})},this.handleBeforeUnload=()=>{this.handleCleanUpPostChatPopup()}}get conversationStatus(){return this._conversationStatus}set conversationStatus(e){this._conversationStatus=e}get sessionStatus(){return this._sessionStatus}set sessionStatus(e){this._sessionStatus=e}get shouldInitializeInMinimizedState(){if(this.configuration.isExistingSessionOnPageLoad){const e=m.getItemInWebStorageByKey(g.STORAGE_KEYS.IS_MINIMIZED,!1);return void 0===e?this.configuration.snippetSettings.shouldMinimizeWindowOnNewTab:e}return!1}get shouldRenderApp(){return this.isInitialized}get shouldShowPrechatState(){return(this.hasVisiblePrechatFields()||this.hasTermsAndConditions())&&this._conversationStatus===g.ConversationStatus.NOT_STARTED_CONVERSATION&&!this.shouldShowUnavailableState}get shouldShowConversationState(){return(this._conversationStatus===g.ConversationStatus.OPENED_CONVERSATION||this._conversationStatus===g.ConversationStatus.CLOSED_CONVERSATION)&&!this.shouldShowUnavailableState}get shouldShowUnavailableState(){return this.hasFallbackMessageEnabled()||this.conversationErrorData&&Object.keys(this.conversationErrorData).length>0}get shouldShowMinimizedState(){return E.getDisplayMode()!==g.DISPLAY_MODE.INLINE}connectedCallback(){this.assignHandlers(),window.addEventListener("message",this.handleMessageEvents),window.addEventListener("beforeunload",this.handleBeforeUnload),m.isLocalStorageAvailable()&&window.addEventListener("storage",this.handleStorageEvents.bind(this)),Promise.all([this.loadPrechatConstructor(),this.loadHeaderConstructor(),this.loadTextMessageConstructor()]).then(()=>{E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_APP_READY_EVENT_NAME)})}loadPrechatConstructor(){return this.loadComponentConstructor(this.customPrechatComponent,"prechatConstructor")}loadHeaderConstructor(){return this.loadComponentConstructor(this.customHeaderComponent,"headerConstructor")}loadTextMessageConstructor(){return this.loadComponentConstructor(this.customTextMessageComponent,"textMessageConstructor")}loadComponentConstructor(e,n){return new Promise(i=>{e&&null===this[n]?t.load(e).then(e=>{e&&e.default&&(this[n]=e.default),i()}):i()})}disconnectedCallback(){window.removeEventListener("message",this.handleMessageEvents),window.removeEventListener("beforeunload",this.handleBeforeUnload),m.isLocalStorageAvailable()&&window.removeEventListener("storage",this.handleStorageEvents.bind(this))}renderedCallback(){this._initialRender&&(this._initialRender=!1),E.util.waitForFrame(()=>{E.util.waitForFrame(()=>{this.updateHeaderHeight(),this.updateAnnouncementHeight()})}),this.setIframeDocumentLanguage()}
500assignHandlers(){M.assignMessagingEventHandler(M.MESSAGING_EVENT.MINIMIZE_BUTTON_CLICK,this.handleMinimization.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_MAXIMIZE_EVENT,this.handleMaximization.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_MINIMIZED_NOTIFICATION_DISMISS,this.handleMinimization.bind(this)),M.assignMessagingEventHandler(M.MESSAGING_EVENT.CLOSE_CONVERSATION,this.handleCloseConversation.bind(this)),M.assignMessagingEventHandler(M.MESSAGING_EVENT.CLOSE_CONTAINER,this.handleCloseContainer.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_OPENED_EVENT,this.handleConversationStatusChangeForOpenedConversation.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_CONVERSATION_STATUS_CHANGE_FOR_CLOSED_EVENT,this.handleConversationStatusChangeForClosedConversation.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SCREENREADER_ANNOUNCEMENT_UPDATE,this.handleAnnouncement.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SCROLL_STATE_UPDATE,e=>{this.isMessageAreaEndOfScroll=e.isMessageAreaEndOfScroll}),h.assignHandler(E.events.EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT,e=>{E.util.sendPostMessageToFilePreviewFrame(this.configuration.siteUrl,E.events.EMBEDDED_MESSAGING_SHOW_FULL_SIZE_FILE_PREVIEW_EVENT,e)}),h.assignHandler(E.authEvent.EMBEDDED_MESSAGING_AUTHENTICATED_JWT_EXPIRED_EVENT_NAME,this.handleAuthenticatedJWTExpiry.bind(this)),h.assignHandler(E.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME,this.handleIdentityTokenExpiry.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SHOW_MINIMIZED_NOTIFICATION_EVENT,this.showMinimizedStateNotification.bind(this)),M.assignMessagingEventHandler(M.MESSAGING_EVENT.REQUEST_TRANSCRIPT,this.handleRequestTranscript.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_PRECHAT_STATE_INITIAL_RENDER,this.handlePrechatInitialRender.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_END_SESSION,this.publicEndSession.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ACTIVE_EVENT,this.handleSessionStatusChangeForSessionActive.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_ENDED_EVENT,this.handleSessionStatusChangeForSessionEnded.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_WAITING_EVENT,this.handleSessionStatusChangeForSessionWaiting.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_SESSION_STATUS_CHANGE_FOR_SESSION_INACTIVE_EVENT,this.handleSessionStatusChangeForSessionInactive.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_CONVO_ERROR_DATA_RECEIVED_EVENT_NAME,this.handleConversationErrorDataReceived.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_ON_ORG_MIGRATED_EVENT,this.handleOrgMigrated.bind(this)),h.assignHandler(E.events.EMBEDDED_MESSAGING_UPDATE_JWT,e=>{const t=e&&e.detail?e.detail:void 0;if(t&&t.jwt){const e=t.jwt;this.setAndStoreJWT(e,!0)}}),h.assignHandler(E.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,()=>{E.util.waitForFrame(()=>{this.updateNotificationHeight()})}),h.assignHandler(E.events.EMBEDDED_MESSAGING_CLEAR_NOTIFICATION,()=>{E.util.waitForFrame(()=>{this.updateNotificationHeight()})}),M.assignMessagingEventHandler(M.MESSAGING_EVENT.ANNOUNCEMENT_CHANGED,()=>{E.util.waitForFrame(()=>{this.updateAnnouncementHeight()})})}handleStorageEvents(e){if(e&&e.key===m.storageKey&&null!==e.newValue){const t=m.getItemInPayloadByKey(e.newValue,g.STORAGE_KEYS.JWT),n=m.getItemInPayloadByKey(e.oldValue,g.STORAGE_KEYS.JWT);n&&t&&n!==t&&E.authUtil.isUserVerificationEnabled(this.configuration)&&this.handleUpdateAuthenticatedJWTStorageEvent(t)}}handleUpdateAuthenticatedJWTStorageEvent(e){return new Promise(t=>{this.handleGetContinuityJWT(e).then(e=>{if(!e)throw new Error("Failed to retrieve continuityJWT by using the renewed JWT.");S.setJwt(e),this.reconnectToEventSource().then(()=>{E.LoggingUtil.logCurrentState(y,{method:"handleUpdateAuthenticatedJWTStorageEvent",stateMessage:"Reconnected to the event source after fetching a Continuity Access JWT."}),t()})})})}handleInitConversationData(e){e&&(E.log("Setting conversation data with id "+e.conversationId),this.conversationData=e,this.configuration.conversationId!==e.conversationId&&(E.LoggingUtil.setConversationId(e.conversationId),E.LoggingUtil.logCurrentState(y,{method:"handleInitConversationData",stateMessage:`ConversationId change detected. Old conversation-id: ${this.configuration.conversationId} \n                    & New conversation-id: ${e.conversationId}`}),this.configuration.conversationId=e.conversationId),this.conversationData.esDeveloperName&&S.setDeveloperNameAssociatedWithCurrentConversation(this.conversationData.esDeveloperName),this.handleConversationStatusChangeForOpenedConversation())}getBrandingData(e){e&&e.branding&&(this.brandingTokens=e.branding,c.createCustomCSSProperties(this.brandingTokens,this.configuration.siteUrl))}handleLabels(){this.labels.GenericErrorMessage=_.getLabel("EmbeddedMessagingClientErrorMessages","GenericErrorMessage"),this.labels.ErrorAcknowledgementButtonText=_.getLabel("EmbeddedMessagingMinimizedState","NotificationDismissButtonText"),this.labels.CloseButtonText=_.getLabel("EmbeddedMessagingIframesAndContents","CloseNotification")}beginInitialization(e){try{if(!e)throw new Error(`Expected configuration service data to be a truthy object, instead received: ${e}.`);this.configuration=e,this.publicConfiguration=this.getPublicConfiguration(e),E.setDevMode(this.configuration.devMode),_.setLabelsData(this.configuration.standardLabels||[],this.configuration.customLabels||[]),S.setScrtServiceData(this.configuration.scrt2URL,"iamessage","v1",this.configuration.embeddedServiceMessagingChannel.authMode),S.setOrgId(this.configuration.orgId),S.setDeveloperName(this.configuration.name),S.setChannelAddressIdentifier(this.configuration.embeddedServiceMessagingChannel.channelAddressIdentifier),S.setCapabilitiesVersion(this.configuration.capabilitiesVersion),this.configuration.personalizedInvitationContextData&&S.setSessionContext(this.configuration.personalizedInvitationContextData),E.LoggingUtil.initializeLoggingUtil(this.configuration),m.initializeWebStorage(this.configuration.orgId),S.setIdentityToken(this.configuration.identityToken),E.setLanguage(this.configuration.language),E.setDisplayMode(this.configuration.displayMode),this.configuration.snippetSettings&&"boolean"==typeof this.configuration.snippetSettings.enableUserInputForConversationWithBot&&E.setEnableUserInputForConversationWithBotFromConfig(this.configuration.snippetSettings.enableUserInputForConversationWithBot),this.configuration.errorData&&this.handleConversationErrorDataReceived(this.configuration.errorData),!this.hasVisiblePrechatFields()&&this.customPrechatComponent&&(E.error("Custom prechat component specified but prechat is not enabled."),E.LoggingUtil.logError("Disabled custom prechat",y,{method:"beginInitialization",errMessage:"Custom prechat component specified but prechat is not enabled."}),this.prechatConstructor=null),this.configuration.snippetSettings&&this.configuration.snippetSettings.imageCompressionOptions&&I.setImageCompressionOptions(this.configuration.snippetSettings.imageCompressionOptions),this.handleLabels(),this.getBrandingData(this.configuration),E.util.sendPostMessageToFilePreviewFrame(this.configuration.siteUrl,E.events.EMBEDDED_MESSAGING_INITIALIZE_FILE_PREVIEW_FRAME,{filePreviewFrameCloseButtonTitle:_.getLabel("EmbeddedMessagingIframesAndContents","FilePreviewIframeCloseButtonTitle")}),this.template&&this.template.host&&"string"==typeof this.configuration.htmlDirection&&(E.rtlUtil.setHtmlDirection(this.configuration.htmlDirection),this.template.host.setAttribute("dir",this.configuration.htmlDirection.toLowerCase())),this.handleInitJwt(this.configuration.jwtData),this.handleInitConversationData(this.configuration.conversationData),this.shouldInitializeInMinimizedState?this.handleMinimization():this.handleMaximization(),this.finishInitialization()}catch(e){throw E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_INIT_ERROR_EVENT_NAME),new Error(`Something went wrong initalizing Embedded Messaging: ${e}`)}}handlePublicSendTextMessage(e){this.publicSendTextMessage(e).then(()=>{E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE_EVENT_NAME,{success:!0})}).catch(e=>{E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_PUBLIC_SEND_TEXT_MESSAGE_API_RESPONSE_EVENT_NAME,{success:!1,error:e})})}publicSendTextMessage(e){if(E.LoggingUtil.logCurrentState(y,{method:"publicSendTextMessage",stateMessage:"publicSendTextMessage invoked."}),"string"==typeof e&&e.length&&this.conversationStatus===g.ConversationStatus.OPENED_CONVERSATION){const t=E.util.uuid();return E.createConversationEntryUtil.createStaticContentTextEntry(e,t),S.sendTextMessage(this.configuration.conversationId,e,t).catch(e=>{h.dispatchEvent(E.events.EMBEDDED_MESSAGING_IN_APP_SERVICE_ERROR,{detail:{error:e,entryId:t}})})}const t="Failed to send text message: type of message: "+typeof e+", message length: "+("string"==typeof e?e.length:void 0)+", conversation status: "+this.conversationStatus;return E.LoggingUtil.logError("publicSendTextMessage error",y,{method:"publicSendTextMessage",errMessage:t}),Promise.reject(new Error(t))}publicEndSession(){let e;return this.conversationStatus!==g.ConversationStatus.OPENED_CONVERSATION?(e="Cannot call End Session when the conversation is not open.",E.LoggingUtil.logError("publicEndSession error",y,{method:"publicEndSession",errMessage:e}),Promise.reject(e)):E.authUtil.isUserVerificationEnabled(this.configuration)?S.endSession(this.configuration.conversationId):(e="End Session can only be called in User Verified conversations.",E.LoggingUtil.logError("publicEndSession error",y,{method:"publicEndSession",errMessage:e}),Promise.reject(e))}finishInitialization(){this.isInitialized=!0,E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_LOADED_EVENT_NAME)}processPendingLogs(e){let t,n;if(e&&e.pendingLogs){const i=e.pendingLogs;t=i.currentStateLogs?i.currentStateLogs:[],n=i.errorLogs?i.errorLogs:[],t.forEach(e
500=>{E.LoggingUtil.logCurrentState(y,{configDev:e.configDev,method:e.method,stateMessage:e.stateMessage,convId:e.convId,convType:e.convType,hostUrl:e.hostUrl})}),n.forEach(e=>{E.LoggingUtil.logError("HOST_ERROR_LOGS",y,{configDev:e.configDev,method:e.method,errMessage:e.errMessage,...e.errCode&&{errCode:e.errCode},convId:e.convId,convType:e.convType,hostUrl:e.hostUrl})})}}handleInitJwt(e){e&&(E.log("Setting initial jwt: "+e),this.setAndStoreJWT(e.accessToken),e.lastEventId&&S.setLastEventId(e.lastEventId))}setAndStoreJWT(e,t){t&&E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_SET_JWT_EVENT_NAME,e),m.setItemInWebStorage(g.STORAGE_KEYS.JWT,e),S.setJwt(e);try{E.LoggingUtil.setClientSessionId(E.util.getClientSessionIdJwtClaim(e))}catch(e){E.LoggingUtil.logError(e,y,{method:"setAndStoreJWT",errMessage:"Something went wrong while setting the clientSessionId claim on LoggingUtil."})}}handleGetContinuityJWT(e){return e?(S.setJwt(e),new Promise(e=>{S.getContinuityJwt().then(t=>{S.setLastEventId(t.lastEventId),e(t.accessToken),E.LoggingUtil.logCurrentState(y,{method:"reconnectToEventSource",stateMessage:"Successfully fetched a Continuity Access JWT."})}).catch(e=>{E.error(`Failed to get continuity JWT: ${e&&e.message?e.message:e}.`),E.LoggingUtil.logError(e,y,{method:"handleGetContinuityJWT",errMessage:"Failed to fetch a Continuity Access JWT.",errCode:e.status}),this.handleCloseContainer()})})):Promise.reject(void 0)}getJWTIfExists(){return this.configuration.jwtData&&this.configuration.jwtData.accessToken?this.configuration.jwtData.accessToken:m.getItemInWebStorageByKey(g.STORAGE_KEYS.JWT)}handleGetAuthenticatedJWT(){const e=E.authUtil.getAuthMode(this.configuration);let t;if(e===g.AUTH_MODE.EXP_SITE_AUTH&&this.configuration.expSiteUrl)t=S.getExpSiteAuthenticatedJwt(this.configuration.expSiteUrl);else if(e===g.AUTH_MODE.AUTH)t=S.getAuthenticatedJwt();else{if(e!==g.AUTH_MODE.EXCHANGE_JWT_AUTH)throw new Error(`Invalid auth mode for authenticated jwt flow: ${e}.`);t=S.getExchangeAuthenticatedJwt()}return new Promise(n=>{t.then(t=>{const i=e===g.AUTH_MODE.EXP_SITE_AUTH?t.data:t;S.setLastEventId(i.lastEventId),n(i.accessToken)}).catch(e=>{E.error(`Error retrieving authenticated token: ${e&&e.message?e.message:e}.`),E.LoggingUtil.logError(e,y,{method:"handleGetAuthenticatedJWT",errMessage:"Failed to fetch an Authenticated JWT.",errCode:e.status}),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),h.MINIMIZED_EVENTS.JWT_FETCH_FAILURE,{})})})}handleCleanUpPostChatPopup(){m.getItemInWebStorageByKey(g.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED,!1)&&m.removeItemInWebStorage(g.STORAGE_KEYS.IS_POSTCHAT_DISPLAYED)}handleReceiveVisiblePrechatFieldsFromHost(e){Array.isArray(e)&&this.hasVisiblePrechatFields()&&(this.publicConfiguration.forms[0].formFields=e,E.LoggingUtil.logCurrentState(y,{method:"handleReceiveVisiblePrechatFieldsFromHost",stateMessage:"Received visible prechat fields from host."}))}handleMinimization(e){const t=this.querySelectMinimizedState(),n={hasMinimizedNotification:!!t&&t.shouldDisplayMinimizedNotification,...e&&e.detail&&{detail:e.detail}};if(!this.isMinimized){const e=this.querySelectConversationState(),t=e?e.querySelectConversationLog():void 0;t&&t.handleScrollPositionOnMaximizeAndMinimize(!0)}this.isMinimized=!0,m.setItemInWebStorage(g.STORAGE_KEYS.IS_MINIMIZED,!0,!1),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_MINIMIZE_EVENT_NAME,n)}afterMinimization(){const e=this.querySelectMinimizedState();e&&e.setFocusOnMinimizedButton()}showMinimizedStateNotification(e){e&&E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_SHOW_MINIMIZED_STATE_NOTIFICATION)}handleMaximization(){this.isMinimized=!1,m.setItemInWebStorage(g.STORAGE_KEYS.IS_MINIMIZED,!1,!1),h.dispatchChatMinimizedEvent(h.MINIMIZED_EVENTS.CLEAR_NOTIFICATIONS,{});const e=E.authUtil.getAuthMode(this.configuration)===g.AUTH_MODE.EXP_SITE_AUTH&&this.configuration.expSiteUrl;u.logEmbeddedMessagingPdpEvent(y,"ecv1Fab.clicked",{contextName:"isExperienceSite",contextValue:String(Boolean(e))}),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_MAXIMIZE_EVENT_NAME,{width:c.getBrandingValue(c.BRANDING_TOKENS.WIDTH.name),height:c.getBrandingValue(c.BRANDING_TOKENS.HEIGHT.name)})}afterMaximization(){h.dispatchEvent(E.events.EMBEDDED_MESSAGING_STORE_RESTORE_MESSAGE_AREA_SCROLL_POSITION,{}),this.restoreScrollPositionTimer||(this.restoreScrollPositionTimer=new O.default(()=>{const e=this.querySelectConversationState(),t=e?e.querySelectConversationLog():void 0;t&&t.handleScrollPositionOnMaximizeAndMinimize(!1),this.restoreScrollPositionTimer=void 0},60,Date.now()),this.restoreScrollPositionTimer.start()),this._subsequentRender?M.dispatchMessagingEvent(M.MESSAGING_EVENT.TAB_FOCUS_ON_FIRST_FOCUSABLE_ELEMENT,{}):this._subsequentRender=!0}handleConversationStatusChangeForOpenedConversation(){if(this._conversationStatus=g.ConversationStatus.OPENED_CONVERSATION,E.util.dis
500patchEventToHost(g.HOST_EVENT.ON_EMBEDDED_MESSAGEING_CONVERSATION_OPENED_EVENT_NAME,{conversationId:this.configuration.conversationId}),this.conversationData){const e=E.authUtil.getAuthMode(this.configuration)===g.AUTH_MODE.EXP_SITE_AUTH&&this.configuration.expSiteUrl;this.conversationData.isExistingConversation?u.logEmbeddedMessagingPdpEvent(y,"ecv1Conversation.joined",{contextName:"isExperienceSite",contextValue:String(Boolean(e))}):u.logEmbeddedMessagingPdpEvent(y,"ecv1Conversation.created",{contextName:"isExperienceSite",contextValue:String(Boolean(e))})}}handleConversationStatusChangeForClosedConversation(){this._conversationStatus=g.ConversationStatus.CLOSED_CONVERSATION}handleSessionStatusChangeForSessionActive(){this._sessionStatus=g.SessionStatus.ACTIVE}handleSessionStatusChangeForSessionEnded(){this._sessionStatus=g.SessionStatus.ENDED}handleSessionStatusChangeForSessionWaiting(){this._sessionStatus=g.SessionStatus.WAITING}handleSessionStatusChangeForSessionInactive(){this._sessionStatus=g.SessionStatus.INACTIVE}handleCloseConversation(){const e=this.querySelectConversationState(),t=this.configuration.devMode,n=E.authUtil.getAuthMode(this.configuration);return new Promise((i,s)=>{if(n!==g.AUTH_MODE.UNAUTH&&!t)return E.error(`Close conversation operation not permitted for authMode:${n}. Aborting.`),void s();this.conversationStatus===g.ConversationStatus.OPENED_CONVERSATION?e?e.closeConversation().then(()=>{this.cleanUpFailedMessages(),i()}):(E.log("conversationState not found when attempting to close the conversation."),i()):i()})}handleCloseContainer(){E.authUtil.getAuthMode(this.configuration)!==g.AUTH_MODE.UNAUTH||this.conversationStatus!==g.ConversationStatus.OPENED_CONVERSATION||this.conversationErrorData?(E.util.dispatchEventToHost(g.HOST_EVENT.ON_EMBEDDED_MESSAGING_WINDOW_CLOSED),E.LoggingUtil.logCurrentState(y,{method:"handleCloseContainer",stateMessage:"Closed the container."}),m.clearWebStorage(),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_RESET_INITIAL_STATE_EVENT_NAME)):E.error("Close container operation not permitted while an unverified conversation is active. Aborting.")}handlePrechatSubmit(e){let t={};e&&e.detail&&(t=e.detail.value),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.APP_PRECHAT_SUBMIT,t)}handleAnnouncement(e){const t=this.template&&this.template.querySelector("embeddedmessaging-aria-live-announcer")?this.template.querySelector("embeddedmessaging-aria-live-announcer"):void 0;t&&e&&e.text&&e.options&&t.announceMessage(e.text,e.options)}async handleClearUserSession(e={}){try{E.authUtil.isUserVerificationEnabled(this.configuration)?Boolean(e.shouldRevokeJwt)&&this.getJWTIfExists()?(e.shouldEndSession&&await this.publicEndSession(),S.revokeJwt().then(this.handleCloseContainer).catch(e=>{this.handleRevokeJWTError(e)})):this.handleCloseContainer():E.authUtil.getAuthMode(this.configuration)===g.AUTH_MODE.UNAUTH&&this.handleCloseConversation().then(this.handleCloseContainer).catch(e=>{E.error(`Something went wrong with close conversation: ${e&&e.message?e.message:e}. Closing the container.`),this.handleCloseContainer()})}catch(e){E.error(`Something went wrong in clearing the session: ${JSON.stringify({errorMessage:e.message,errorStatus:e.status})}`),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_CLEAR_USER_SESSION_ERROR,{errorMessage:JSON.stringify({errorMessage:e.message,errorStatus:e.status})})}}handleRevokeJWTError(e){e&&e.status&&e.status>=500&&e.status<=599?(E.error(`Something went wrong while revoking JWT: ${e&&e.message?e.message:e}. Re-trying revoke JWT.`),S.revokeJwt().then(this.handleCloseContainer).catch(e=>{E.error(`Something went wrong with re-trying revoke JWT: ${e&&e.message?e.message:e}. Proceeding to close the container.`),E.LoggingUtil.logError(e,y,{method:"handleRevokeJWTError",errMessage:"Something went wrong with re-trying revoke JWT, proceeding to close the container.",errCode:e.status}),this.handleCloseContainer()})):(E.error(`Something went wrong while revoking JWT: ${e&&e.message?e.message:e}. Proceeding to close the container.`),this.handleCloseContainer())}handleAuthenticatedJWTExpiry(e){e&&e.pendingRequest&&this.renewAuthenticatedJWT([e.pendingRequest])}renewAuthenticatedJWT(e){return new Promise(t=>{this.handleGetAuthenticatedJWT().then(n=>{this.setAndStoreJWT(n,!0),this.reconnectToEventSource().then(()=>{E.LoggingUtil.logCurrentState(y,{method:"renewAuthenticatedJWT",stateMessage:"Reconnected to the event source after a successfull Authenticated JWT renewal."}
500),e&&(e.forEach(e=>{this.handlePendingRequest(e)}),t())})})})}handlePendingRequest(e){e&&(e?.requestHeaders?.Authorization&&(e.requestHeaders.Authorization=`Bearer ${S.getJwt()}`),S.sendFetchRequest(e.apiPath,e.method,e.mode,e.requestHeaders,e.requestBody).then(t=>{e.resolve&&"function"==typeof e.resolve&&e.resolve(t)}).catch(t=>S.handleSendFetchRequestError(t,e.apiPath,e.method,e.mode,e.requestHeaders,e.requestBody)))}handleIdentityTokenExpiry(e){if(!e||!e.pendingRequest)return;if(this.pendingRequestQueue.push(e.pendingRequest),this.setIdentityTokenResolve)return;E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.authEvent.EMBEDDED_MESSAGING_IDENTITY_TOKEN_EXPIRED_EVENT_NAME),this.hasEmbeddedMessagingIdentityTokenExpiredEventFired=!0;const t=new Promise(e=>{this.setIdentityTokenResolve=e}),n=new Promise((e,t)=>{new O.default(()=>{t()},g.SET_IDENTITY_TOKEN_TIMEOUT_IN_MS,Date.now()).start()});Promise.race([t,n]).then(()=>{if(E.log("Valid identity token found. Fetch authenticated JWT."),1===this.pendingRequestQueue.length&&this.pendingRequestQueue[0].apiPath.includes(g.ACCESS_TOKEN_PATH)){const e=this.pendingRequestQueue[0];e.requestBody.customerIdentityToken=S.getIdentityToken(),this.handlePendingRequest(e),this.pendingRequestQueue.length=0,this.hasEmbeddedMessagingIdentityTokenExpiredEventFired=!1}else this.renewAuthenticatedJWT(this.pendingRequestQueue).then(()=>{this.pendingRequestQueue.length=0,this.hasEmbeddedMessagingIdentityTokenExpiredEventFired=!1})}).catch(e=>{E.error("Failed to fetch authenticated JWT due to setIdentityToken timeout or other error. Clearing the messaging session on all tabs."),E.LoggingUtil.logError(e,y,{method:"handleIdentityTokenExpiry",errMessage:"Failed to fetch authenticated JWT due to setIdentityToken timeout or other error. Clearing the messaging session on all tabs."}),this.handleClearUserSession({shouldRevokeJwt:!1,shouldEndSession:!1})})}handleSetIdentityToken(e){e?(S.setIdentityToken(e),this.setIdentityTokenResolve&&"function"==typeof this.setIdentityTokenResolve&&(this.setIdentityTokenResolve(),this.setIdentityTokenResolve=void 0)):E.warning("Received identity token is null/undefined.")}reconnectToEventSource(){const e=this.querySelectConversationState();return new Promise(t=>{e?e.reconnectToEventSource().then(()=>{t()}):(E.log("conversationState not found. Re-connect/subscribe to EventSource when conversationState is loaded."),t())})}handleRequestTranscript(){h.dispatchEvent(E.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:_.getLabel("EmbeddedMessagingIframesAndContents","DownloadInProgressNotification"),type:E.NOTIFICATION_TYPES.INFO,isDismissible:!1}),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_REQUEST_TRANSCRIPT)}handleRequestTranscriptSuccess(){h.dispatchEvent(E.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:_.getLabel("EmbeddedMessagingIframesAndContents","DownloadSuccessNotification"),type:E.NOTIFICATION_TYPES.SUCCESS,isDismissible:!0})}handleRequestTranscriptError(){h.dispatchEvent(E.events.EMBEDDED_MESSAGING_SHOW_NOTIFICATION,{text:_.getLabel("EmbeddedMessagingIframesAndContents","DownloadErrorNotification"),type:E.NOTIFICATION_TYPES.ERROR,isDismissible:!0})}handleConversationErrorDataReceived(e){this.conversationErrorData=e}get generateMaximizedClass(){return"containerArea"+(this.isMinimized?" minimized":"")}get generateMinimizedClass(){return"notificationArea"+(this.isMinimized?"":" maximized")}hasVisiblePrechatFields(){return(this.configuration.forms||[]).some(e=>(e.formFields=e.formFields||[],e.formType===g.FormTypes.PRE_CHAT&&e.formFields.length>0))}hasTermsAndConditions(){const e=this.configuration.termsAndConditions||{};return Boolean(e.isTermsAndConditionsEnabled)}hasFallbackMessageEnabled(){const e=this.configuration.fallbackMessage||{};return Boolean(e.isFallbackMessageEnabled)}get unavailableStateMessageText(){let e=this.labels.GenericErrorMessage;return this.hasFallbackMessageEnabled()&&(e=this.configuration.fallbackMessage&&this.configuration.fallbackMessage.fallbackMessageContent?this.configuration.fallbackMessage.fallbackMessageContent:e),e}get unavailableStateCloseButtonText(){return this.conversationErrorData?this.labels.ErrorAcknowledgementButtonText:this.labels.CloseButtonText}cleanUpFailedMessages(){m.removeItemInWebStorage(g.STORAGE_KEYS.FAILED_OUTBOUND_MESSAGE_ENTRIES),E.util.sendPostMessageToOrigin(E.util.getParentWindowUrl(),E.events.EMBEDDED_MESSAGING_CLEAN_UP_WEBSTORAGE_FAILEDMESSAGES_EVENT_NAME)}getPublicConfiguration(e){const t={};return G.forEach(n=>{t[n]=e[n]}),t.util={sendTextMessage:this.publicSendTextMessage.bind(this),endSession:this.publicEndSession.bind(this)},t}handlePrechatInitialRender(){let e,t;if(this.conversationStatus===g.ConversationStatus.NOT_STARTED_CONVERSATION)e=this.querySelectPrechatState(),t=m.getItemInWebStorageByKey(g.STORAGE_KEYS.CONVERSATION_BUTTON_CLICK_TIME);else if(this.conversationStatus===g.ConversationStatus.OPENED_CONVERSATION){const n=this.querySelectConversationState();n&&(e=n.shadowRoot&&n.shadowRoot.querySelector("embeddedmessaging-prechat-state")?n.shadowRoot.querySelector("embeddedmessaging-prechat-state"):void 0,t=n.lastInAppServiceErrorTime)}
500if(e){e.logPrechatAvailabilityTime(t),E.util.dispatchEventToHost(g.HOST_EVENT.ON_EMBEDDED_MESSAGING_PRECHAT_LOADED,{[g.PRECHAT_DISPLAY_EVENT_DETAIL_NAME]:this.conversationStatus===g.ConversationStatus.OPENED_CONVERSATION?g.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.SESSION:g.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.CONVERSATION});const n=this.conversationStatus===g.ConversationStatus.OPENED_CONVERSATION?g.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.SESSION:g.PRECHAT_DISPLAY_EVENT_DETAIL_VALUE.CONVERSATION;u.logEmbeddedMessagingPdpEvent(y,"ecv1Prechat.displayed",{contextName:"prechatDisplay",contextValue:n})}else E.LoggingUtil.logError("Pre-Chat Availability Time",y,{method:"handlePrechatInitialRender",errMessage:"Unable to retrieve Pre-Chat state component."})}handleOrgMigrated(e){const t=E.authUtil.getAuthMode(this.configuration);let n;switch(e&&e.pendingRequest||this.pendingRequestQueue.push(e.pendingRequest),t){case g.AUTH_MODE.AUTH:n=S.getAuthenticatedJwt();break;case g.AUTH_MODE.EXP_SITE_AUTH:n=S.getExpSiteAuthenticatedJwt();break;case g.AUTH_MODE.UNAUTH:n=S.getContinuityJwt();break;default:return E.error(`Cannot fetch new token due to unsupported auth mode: ${t}. Proceeding to reset the client.`),void this.handleCloseContainer()}n.then(e=>{const n=t===g.AUTH_MODE.EXP_SITE_AUTH?e.data:e;S.setLastEventId(n.lastEventId),S.setJwt(n.accessToken),this.reconnectToEventSource().then(()=>{this.pendingRequestQueue.forEach(e=>{this.handlePendingRequest(e)})})}).catch(e=>{E.error(`Something went wrong handling the org migrated state: ${e&&e.message?e.message:e}. Proceeding to reset the client.`),E.LoggingUtil.logError(e,y,{method:"handleOrgMigrated",errMessage:"Something went wrong handling the org migrated state, proceeding to reset the client.",errCode:e.status}),this.handleCloseContainer()})}querySelectPrechatState(){return this.template&&this.template.querySelector("embeddedmessaging-prechat-state")?this.template.querySelector("embeddedmessaging-prechat-state"):void 0}querySelectConversationState(){return this.template&&this.template.querySelector("embeddedmessaging-conversation-state")?this.template.querySelector("embeddedmessaging-conversation-state"):void 0}querySelectMinimizedState(){return this.template&&this.template.querySelector("embeddedmessaging-minimized-state")?this.template.querySelector("embeddedmessaging-minimized-state"):void 0}updateHeaderHeight(){let e=50;if(this.headerConstructor){const t=this.template.querySelector(".containerArea");t&&(e=t.offsetHeight||50)}this.template.host.style.setProperty("--header-height",`${e}px`)}updateNotificationHeight(){let e=0;const t=this.template.querySelector("embeddedmessaging-chat-notification");if(t){const n=t.shadowRoot?.querySelector(".slds-notify_container");n&&(e=n.offsetHeight||0)}this.template.host.style.setProperty("--notification-height",`${e}px`)}updateAnnouncementHeight(){let e=0;const t=this.template.querySelector("embeddedmessaging-chat-header");if(t){const n=t.shadowRoot?.querySelector("embeddedmessaging-chat-header-announcement");n&&(e=n.offsetHeight||0)}0===e?this.template.host.style.removeProperty("--announcement-height"):this.template.host.style.setProperty("--announcement-height",`${e}px`)}setIframeDocumentLanguage(){document&&document.documentElement&&(document.documentElement.lang=this.configuration.language)}}n.registerDecorators(L,{publicProps:{hostDomain:{config:0},customPrechatComponent:{config:0},customHeaderComponent:{config:0},customTextMessageComponent:{config:0},conversationStatus:{config:3},sessionStatus:{config:3},shouldRenderApp:{config:1}},publicMethods:["beginInitialization","getJWTIfExists","handleMinimization","handleMaximization","getPublicConfiguration"],track:{configuration:1,publicConfiguration:1,prechatConstructor:1,headerConstructor:1,textMessageConstructor:1,conversationData:1},fields:["_conversationStatus","_sessionStatus","isMinimized","labels","brandingTokens","isInitialized","isMessageAreaEndOfScroll","restoreScrollPositionTimer","conversationErrorData","_initialRender","_subsequentRender","setIdentityTokenResolve","pendingRequestQueue","handleMessageEvents","handleBeforeUnload"]});const H=n.registerComponent(L,{tmpl:w,sel:"embeddedMessaging-container",apiVersion:66,enableSyntheticElementInternals:!0});
500e.default=H,Object.defineProperty(e,"__esModule",{value:!0})});
501})();LWR.define('embeddedmessaging/container', ['embeddedMessaging/container'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("force/luvioEngine",["exports"],function(e){var t;!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(t||(t={}));const{create:r,entries:s,freeze:n,keys:i,values:a,assign:o}=Object,{hasOwnProperty:h}=Object.prototype,{isArray:l}=Array,{push:c,indexOf:d,slice:u}=Array.prototype,{parse:p,stringify:v}=JSON,f=new WeakSet;let S=!1;function g(e){if(!S&&"object"==typeof e&&null!==e&&!f.has(e)){if(f.add(e),l(e))for(let t=0,r=e.length;t<r;t+=1)g(e[t]);else{const t=i(e);for(let r=0,s=t.length;r<s;r+=1)g(e[t[r]])}n(e)}}function m(e){return e.state===t.Error}function y(e){return e.state===t.Fulfilled}function b(e){return e.state===t.Stale}function k(e){return e.state===t.Unfulfilled}function M(e){return e.state===t.Pending}function I(e,r){g(e);return{error:e,state:t.Error,data:void 0,refresh:r}}function w(e){return void 0!==e&&void 0!==e.then}function R(e,t=[]){for(const r of t)switch(e.type){case"cache-miss-out-of-ttl":r.onCacheMissOutOfTtl&&r.onCacheMissOutOfTtl(e);break;case"data-out-of-ttl-duration-update":r.onDataOutOfTtlDurationUpdate&&r.onDataOutOfTtlDurationUpdate(e);break;case"store-reset":r.onStoreReset&&r.onStoreReset(e);break;case"store-publish":r.onStorePublish&&r.onStorePublish(e);break;case"store-snapshot-emit":case"store-snapshot-rebuild":case"store-snapshot-refresh":case"store-snapshot-subscribe":case"store-snapshot-unsubscribe":r.onStoreSnapshotEvent&&r.onStoreSnapshotEvent(e)}}function T(e,t=[]){for(const r of t)switch(e.type){case"custom":r.onCustomAdapterEvent&&r.onCustomAdapterEvent(e);break;case"environment":r.onEnvironmentEvent&&r.onEnvironmentEvent(e);break;default:r.onAdapterEvent&&r.onAdapterEvent(e)}}function P(e,t,r,s){return function(...n){T(r,t);try{const i=e(...n);return w(i)?i.then(e=>(T(s(e,!1,!0,r),t),e)).catch(e=>{throw T(s(e,!0,!0,r),t),e}):(T(s(i,!1,!1,r),t),i)}catch(e){throw T(s(e,!0,!1,r),t),e}}}const E=Promise.resolve();function O(e){setTimeout(()=>{throw e},0)}function C(){let e=Date.now()-5001;return(t,r)=>{const s=Date.now();if(e+5e3<s)return e=s,n=t,E.then(n).catch(O),r();var n;r()}}var K,N,L,x;function D(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return v(e);let t,r;if(l(e)){for(r="[",t=0;t<e.length;t++)t&&(r+=","),r+=D(e[t])||"null";return r+"]"}if(null===e)return"null";const s=i(e).sort();for(r="",t=0;t<s.length;t++){const n=s[t],i=D(e[n]);i&&(r&&(r+=","),r+=v(n)+":"+i)}return"{"+r+"}"}function A(e){return e.__type===N.Error}!function(e){e[e.RESOURCE_NOT_FOUND=404]="RESOURCE_NOT_FOUND"}(K||(K={})),function(e){e.Error="error"}(N||(N={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(L||(L={})),e.StoreResolveResultState=void 0,(x=e.StoreResolveResultState||(e.StoreResolveResultState={}))[x.Found=0]="Found",x[x.Error=1]="Error",x[x.Null=2]="Null",x[x.NotPresent=3]="NotPresent",x[x.Stale=4]="Stale";const $=new WeakMap;function q(e){if("string"==typeof e)return e;const t=$.get(e);if(void 0===t){const t=D(e);return $.set(e,t),t}return t}const _="Undefined value used in StoreKeyMap operation";class j{constructor(){this.keyMap=new Map,this.valueMap=new Map}clear(){this.valueMap.clear(),this.keyMap.clear()}delete(e){const t=q(e);if(void 0!==t)return this.keyMap.delete(t),this.valueMap.delete(t);throw new Error(`${_}: delete`)}entries(){const e=this.valueMap.entries(),t=[];for(const[r,s]of Array.from(e)){const e=this.keyMap.get(r);void 0!==e&&t.push([e,s])}return t.values()}forEachKey(e,t){return this.keyMap.forEach(e,t)}forEachValue(e,t){return this.valueMap.forEach(e,t)}get(e){const t=q(e);if(void 0!==t)return this.valueMap.get(t);throw new Error(`${_}: get`)}has(e){const t=q(e);if(void 0!==t)return this.valueMap.has(t);throw new Error(`${_}: has`)}keys(){return this.keyMap.values()}keysAsArray(){return Array.from(this.keys())}keysAsStrings(){return this.keyMap.keys()}
501merge(e){e.keyMap.forEach((e,t)=>{this.keyMap.set(t,e)}),e.valueMap.forEach((e,t)=>{this.valueMap.set(t,e)})}set(e,t){const r=q(e);if(void 0!==r)return this.keyMap.set(r,e),this.valueMap.set(r,t);throw new Error(`${_}: set`)}size(){return this.valueMap.size}values(){return this.valueMap.values()}}const F="Undefined value used in StoreKeySet operation";class U{constructor(){this.set=new Set,this.valueMap=new Map}add(e){const t=q(e);if(void 0===t)throw new Error(`${F}: add`);return this.set.add(t),this.valueMap.set(t,e),this}clear(){this.set.clear(),this.valueMap.clear()}delete(e){const t=q(e);if(void 0!==t)return this.set.delete(t),this.valueMap.delete(t);throw new Error(`${F}: delete`)}entries(){return this.valueMap.entries()}forEach(e,t){return this.valueMap.forEach(e,t)}has(e){const t=q(e);if(void 0!==t)return this.set.has(t);throw new Error(`${F}: has`)}keys(){return this.valueMap.values()}keysAsArray(){return Array.from(this.keys())}keysAsStrings(){return this.set.keys()}merge(e){e.set.forEach(e=>{this.set.add(e)}),e.valueMap.forEach((e,t)=>{this.valueMap.set(t,e)})}size(){return this.set.size}values(){return this.valueMap.values()}}function Q(e,t){return new Promise(r=>{let s=0;const{pendingTrimKeys:n,retainedIds:i,metadata:a}=e,o=Date.now();n.forEach(e=>{const r=a[e];void 0!==i[e]||void 0===r||void 0!==r&&r.expirationTimestamp>=o||(t(e),s++)}),r({deallocatedCount:s})})}function z(e,t){const{length:r}=t,{seenRecords:s}=e;for(let n=0;n<r;n+=1){const r=t[n];if(s.has(r)||r===e.recordId)return!0}return!1}function B(e,t){return!1===M(e)&&!1===z(e,t)}function V(e,t,r){return!0===M(e)&&!1===z(e,r)&&!1===z(e,t)}function W(e,t){const r=[];for(let s=0,n=t.length;s<n;s++){const n=t[s];0===n.indexOf(e)&&c.call(r,n)}return r}function G(e,t){return`${e}::${t}`}class H{constructor(e={}){this.records=r(null),this.metadata=r(null),this.visitedIds=r(null),this.refreshedIds=r(null),this.redirectKeys=r(null),this.retainedIds=r(null),this.ttlOverrides=r(null),this.snapshotSubscriptions=[],this.trimTask=null,this.pendingTrimKeys=new Set,this.defaultTTLOverride=void 0,this.watchSubscriptions=[],this.eventObservers=[],this.insertedIds=r(null),this.reverseRedirectKeys=r(null),this.currentSnapshotId=0,this.scheduler=e.scheduler||C(),e.initialData&&this.deserialize(e.initialData,e.resetInitialDataTtls),this.trimPolicy=e.customTrimPolicy||Q}readEntry(e){return this.records[this.getCanonicalRecordId(e)]}getNumEntries(){return i(this.records).length}readMetadata(e){return this.metadata[this.getCanonicalRecordId(e)]}readMetadataWhere(e){const t=i(this.metadata),r=[],s=h.call(e,"namespace"),n=h.call(e,"representationName"),a=h.call(e,"ttlOverride");for(let i=0,o=t.length;i<o;i++){const o=t[i],h=this.metadata[o];if((!s||h.namespace===e.namespace)&&(!n||h.representationName===e.representationName)){if(a){if(this.ttlOverrides[G(h.namespace,h.representationName)]!==e.ttlOverride)continue}r.push({metadata:h,key:o})}}return r}put(e,t){const{records:r,insertedIds:s,pendingTrimKeys:n,retainedIds:i}=this,a=this.getCanonicalRecordId(e);!1===h.call(r,a)&&(s[a]=!0),r[a]=t,void 0===i[a]&&n.add(a)}publish(e,t){const r=this.getCanonicalRecordId(e);this.put(r,t),this.markVisited(r)}getCanonicalRecordId(e){let t=e;const{redirectKeys:r}=this;for(;r[t];)t=r[t];return t}getRedirectLineage(e){const{redirectKeys:t}=this,r=[];if(void 0===t[e])return[];let s=e;for(;void 0!==t[s];)c.call(r,s),s=t[s];return r}redirect(e,t){const{redirectKeys:r,reverseRedirectKeys:s}=this;if(e===t)throw new Error("cannot redirect a key to itself");if(void 0!==s[t]&&s[t]!==e)throw new Error("cannot have multiple redirects keys point to the same canonical key");if(void 0!==r[t])throw new Error("the canonical key must be terminal and cannot already be part of a redirect chain");r[e]=t,s[t]=e,delete this.records[e],this.visitedIds[e]=!0}broadcast(e,t){const{snapshotSubscriptions:s,watchSubscriptions:n,visitedIds:a,refreshedIds:o,insertedIds:h}=this,l=i(a),d=i(o);if(0===l.length&&0===d.length)return Promise.resolve();const u=[];for(let r=0,n=s.length;r<n;r++){const n=s[r],{snapshot:i}=n;m(i)||B(i,l)||V(i,l,d)||u.push(new Promise(r=>{e(i,e=>
501{R({type:"store-snapshot-rebuild",timestamp:Date.now(),snapshot:e,subscriptionId:n.id},this.eventObservers),this.emitOrRefreshRebuiltSnapshot(e,n,t).then(()=>r())})}))}for(let e=0,t=n.length;e<t;e++){const{prefix:t,callback:r}=n[e],s=W(t,l);if(s.length>0){const e=[];for(let t=0,r=s.length;t<r;t++){const r=s[t],n=h[r]||!1;c.call(e,{id:r,inserted:n})}r(e)}}return this.visitedIds=r(null),this.refreshedIds=r(null),this.insertedIds=r(null),Promise.all(u).then(()=>{})}broadcastNonCachedSnapshot(e,t){const{snapshotSubscriptions:r}=this;for(let s=0,n=r.length;s<n;s++){const n=r[s],{snapshot:i,callback:a}=n;M(i)&&i.recordId===e&&(n.snapshot=t,a(t))}}lookup(e,t,r,s){return t(e,r,s)}subscribe(e,t){const r={id:this.currentSnapshotId++,snapshot:e,callback:t};return R({type:"store-snapshot-subscribe",subscriptionId:r.id,snapshot:e,timestamp:Date.now()},this.eventObservers),this.snapshotSubscriptions=[...this.snapshotSubscriptions,r],m(e)||this.retainSnapshotIds(e),()=>{const{snapshotSubscriptions:e}=this,t=d.call(e,r);if(t>-1){this.snapshotSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)];const{snapshot:s,id:n}=r;R({type:"store-snapshot-unsubscribe",subscriptionId:n,snapshot:s,timestamp:Date.now()},this.eventObservers),m(s)||this.releaseSnapshotIds(s)}}}updateAvailable(e){const{snapshotSubscriptions:t}=this;this.expirePossibleStaleRecords(e);const r=[];for(let s=0,n=t.length;s<n;s++){const n=t[s],{snapshot:i,id:a}=n;m(i)||z(i,e)&&r.push(this.refreshSnapshot(i,a,"update-available"))}return Promise.all(r).then(e=>{}).catch(e=>Promise.resolve(void 0))}retain(e){const t=e.length;for(let r=0;r<t;r++){const t=e[r];this.increaseRetentionCount(t)}return()=>{this.release(e)}}watch(e,t){const r={prefix:e,callback:t};return this.watchSubscriptions=[...this.watchSubscriptions,r],()=>{const{watchSubscriptions:e}=this,t=d.call(e,r);this.watchSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)]}}evict(e){const t=this.getCanonicalRecordId(e);delete this.records[t],this.markVisited(t)}cleanup(){this.scheduleTrim()}dealloc(e){const t=this.getCanonicalRecordId(e);delete this.records[t]}keyExistsInStore(e){return void 0!==this.records[e]}publishMetadata(e,t){this.putMetadata(e,t,!0);const r=this.getCanonicalRecordId(e);this.markRefreshed(r)}putMetadata(e,t,r){const{namespace:s,representationName:n,ingestionTimestamp:i}=t,a=function(e,t,r){const s=t[e];return void 0===s?r:s}(G(s,n),this.ttlOverrides,this.defaultTTLOverride),o=this.getCanonicalRecordId(e);if(void 0!==a&&!0===r){const e=i+a,r={...t,expirationTimestamp:e};this.metadata[o]=r}else this.metadata[o]=t}expirePossibleStaleRecords(e){const t=Date.now()-1;for(let r=0,s=e.length;r<s;r++){const s=e[r],n=this.readMetadata(s);void 0!==n&&n.expirationTimestamp>t&&this.publishMetadata(s,{...n,expirationTimestamp:t})}}setTTLOverride(e,t,r){this.ttlOverrides[G(e,t)]=r}getTTLOverride(e,t){return this.ttlOverrides[G(e,t)]}getTTLOverrides(){return this.ttlOverrides}setDefaultTTLOverride(e){this.defaultTTLOverride=e}getDefaultTTLOverride(){return this.defaultTTLOverride}reset(){this.records=r(null),this.snapshotSubscriptions=[],this.watchSubscriptions=[],this.visitedIds=r(null),this.refreshedIds=r(null),this.insertedIds=r(null),this.redirectKeys=r(null),this.reverseRedirectKeys=r(null),this.retainedIds=r(null),this.ttlOverrides=r(null),this.trimTask=null,this.metadata=r(null),this.defaultTTLOverride=void 0,R({type:"store-reset",timestamp:Date.now()},this.eventObservers)}addStoreEventObserver(e){return this.eventObservers.push(e),()=>{const{eventObservers:t}=this,r=this.eventObservers.indexOf(e);r>-1&&(this.eventObservers=[...u.call(t,0,r),...u.call(t,r+1)])}}scheduleTrim(){null===this.trimTask&&(this.trimTask=()=>{const{metadata:e,pendingTrimKeys:t,retainedIds:r,records:s,dealloc:n}=this;return this.trimPolicy({metadata:e,pendingTrimKeys:t,retainedIds:r,storeRecords:s},n.bind(this)).then(e=>{this.pendingTrimKeys.clear();const{trimKeysSkipped:t}=e;return void 0!==t&&(this.pendingTrimKeys=t),e})},this.scheduler(this.trimTask,()=>{this.trimTask=null}))}buildIngestionStagingStore(){const e=new H,t=this,r=e.readEntry.bind(e),s=e.readMetadata.bind(e),n=e.evict.bind(e);return e.readEntry=e=>{const s=r(e);return void 0===s?t.readEntry(e):s},e.readMetadata=e=>{const r=s(e);return r||t.readMetadata(e)},e.evict=e=>{n(e),t.evict(e)},e.ttlOverrides=t.ttlOverrides,e.defaultTTLOverride=t.defaultTTLOverride,e.redirectKeys=t.redirectKeys,e.reverseRedirectKeys=t.reverseRedirectKeys,e}updateSubscriptionSnapshot(e,t){const{snapshot:r}=e;r!==t&&(e.snapshot=t,m(t)||this.retainSnapshotIds(t),m(r)||this.releaseSnapshotIds(r))}refreshSnapshot(e,t,r){const{refresh:s}=e;
501return void 0!==s?(R({type:"store-snapshot-refresh",subscriptionId:t,reason:r,snapshot:e,timestamp:Date.now()},this.eventObservers),s.resolve(s.config)):Promise.resolve(void 0)}instrumentIngestedNewData(e,t){const r=t.recordId,s=this.metadata[r];s?R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers):t.seenRecords.keysAsArray().forEach(r=>{const s=this.metadata[r];s&&R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers)})}emitOrRefreshRebuiltSnapshot(e,t,r){const{snapshot:s,callback:n,id:i}=t;if(M(e))return M(s)?this.updateSubscriptionSnapshot(t,e):m(s)||s.seenRecords.merge(e.seenRecords),Promise.resolve();if(this.updateSubscriptionSnapshot(t,e),r(e))e!==s&&(R({type:"store-snapshot-emit",snapshot:e,timestamp:Date.now(),subscriptionId:i},this.eventObservers),n(e)),this.instrumentIngestedNewDataOnFulfilledSnapshots(s,e);else if(k(e))return this.refreshSnapshot(e,i,"rebuild-unfulfilled").then();return Promise.resolve()}instrumentIngestedNewDataOnFulfilledSnapshots(e,t){y(e)&&y(t)&&this.instrumentIngestedNewData(e,t)}retainSnapshotIds(e){const t=e.recordId,{seenRecords:r}=e,s=void 0===r?[t]:[t,...Array.from(r.keysAsStrings())];this.retain(s)}releaseSnapshotIds(e){const t=e.recordId,{seenRecords:r}=e,s=void 0===r?[t]:[t,...Array.from(r.keysAsStrings())];this.release(s)}increaseRetentionCount(e){const t=this.retainedIds[e];this.retainedIds[e]=void 0===t?1:t+1,this.pendingTrimKeys.delete(e)}decreaseRetentionCount(e){const t=this.retainedIds[e];return 1===t?(this.pendingTrimKeys.add(e),delete this.retainedIds[e]):(void 0===t||(this.retainedIds[e]=t-1),!1)}release(e){const t=e.length;let r=!1;for(let s=0;s<t;s++){const t=e[s];!0===this.decreaseRetentionCount(t)&&(r=!0)}!0===r&&this.scheduleTrim()}markVisited(e){const{visitedIds:t,reverseRedirectKeys:r}=this;t[e]=!0;let s=r[e];for(;void 0!==s;)t[s]=!0,s=r[s]}markRefreshed(e){const{refreshedIds:t,reverseRedirectKeys:r}=this;t[e]=!0;let s=r[e];for(;void 0!==s;)t[s]=!0,s=r[s]}serialize(){return{luvioStoreData:{data:this.records,metadata:this.metadata,version:"1"}}}deserialize(e,t){const r=e.luvioStoreData;"1"===r.version&&(this.records=r.data,this.metadata=this.calculateAndSetNewTTLs(r.metadata,t))}calculateAndSetNewTTLs(e,t){if(!0===t){const t=Date.now();i(e).forEach(r=>{const s=e[r],n=s.expirationTimestamp-s.ingestionTimestamp;s.ingestionTimestamp=t,s.expirationTimestamp=t+n})}return e}}function J(e,t){const{seenRecords:r}=e;return t.some(t=>r.has(t)||t===e.recordId)}function X(e,t){return!1===M(e)&&!1===J(e,t)}function Y(e,t,r){return!0===M(e)&&!1===J(e,r)&&!1===J(e,t)}function Z(e,t){const r=i(e);return t.filter(t=>r.every(r=>e[r]===t[r]))}class ee{constructor(e={}){this.recordsMap=new j,this.metadataMap=new j,this.visitedIdsSet=new U,this.refreshedIdsSet=new U,this.redirectKeysMap=new j,this.retainedIdsMap=new j,this.ttlOverridesMap=new j,this.snapshotSubscriptions=[],this.trimTask=null,this.pendingTrims=new U,this.defaultTTLOverride=void 0,this.watchSubscriptions=[],this.eventObservers=[],this.insertedIdsSet=new U,this.reverseRedirectKeysMap=new j,this.scheduler=e.scheduler||C(),this.fallbackStringKeyInMemoryStore=new H(e)}readEntry(e){return"string"==typeof e?this.fallbackStringKeyInMemoryStore.readEntry(e):this.recordsMap.get(e)}getNumEntries(){const e=this.recordsMap.size();return 0===e?this.fallbackStringKeyInMemoryStore.getNumEntries():e}readMetadata(e){return"string"==typeof e?this.fallbackStringKeyInMemoryStore.readMetadata(e):this.metadataMap.get(e)}readMetadataWhere(e){const t=this.metadataMap.keysAsArray();if(0===t.length)return this.fallbackStringKeyInMemoryStore.readMetadataWhere(e);const r=[],s=h.call(e,"namespace"),n=h.call(e,"representationName"),i=h.call(e,"ttlOverride");for(let a=0,o=t.length;a<o;a++){const o=t[a],h=this.metadataMap.get(o);if(h){if(s&&h.namespace!==e.namespace)continue;if(n&&h.representationName!==e.representationName)continue;if(i){if(this.ttlOverridesMap.get(this.buildStructuredKey(h.namespace,h.representationName,{}))!==e.ttlOverride)continue}r.push({metadata:h,key:o})}}return r}put(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.put(e,t);const{recordsMap:r,insertedIdsSet:s,pendingTrims:n,retainedIdsMap:i}=this,a=this.getCanonicalRecordId(e);!1===r.get(a)&&s.add(a),r.set(a,t),void 0===i.get(a)&&n.add(a)}publish(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.publish(e,t);const r=this.getCanonicalRecordId(e);this.put(r,t),this.markVisited(r),this.emitStorePublishEvent(e)}getCanonicalRecordId(e){if("string"==typeof e)return this.fallbackStringKeyInMemoryStore.getCanonicalRecordId(e);const{redirectKeysMap:t}=this;let r=e;for(;t.get(r);)r=t.get(r);return r}getRedirectLineage(e){if("string"==typeof e)return this.fallbackStringKeyInMemoryStore.getRedirectLineage(e);const{redirectKeysMap:t}=this,r=[];let s=t.get(e);for(;void 0!==s;)c.call(r,s),s=t.get(s);return r}redirect(e,t){if("string"==typeof e&&"string"==typeof t)return void this.fallbackStringKeyInMemoryStore.redirect(e,t);if("string"==typeof e||"string"==typeof t)throw new Error("cannot have key and canonicalKey of different types");const{redirectKeysMap:r,reverseRedirectKeysMap:s}=this;if(e===t)throw new Error("cannot redirect a key to itself");if(s.has(t))throw new Error("cannot have multiple redirects keys point to the same canonical key");if(r.has(t))throw new Error("the canonical key must be terminal and cannot already be part of a redirect chain");r.set(e,t),s.set(t,e),this.recordsMap.delete(e),this.visitedIdsSet.add(e)}
501broadcast(e,t){const{snapshotSubscriptions:r,watchSubscriptions:s,visitedIdsSet:n,refreshedIdsSet:i,insertedIdsSet:a}=this,o=n.keysAsArray(),h=i.keysAsArray();if(0===o.length&&0===h.length)return this.isUsingStringKeys()?this.fallbackStringKeyInMemoryStore.broadcast(e,t):Promise.resolve();for(let s=0,n=r.length;s<n;s++){const n=r[s],{snapshot:i}=n;m(i)||X(i,o)||Y(i,o,h)||e(i,e=>{this.emitOrRefreshRebuiltSnapshot(e,n,t)})}for(let e=0,t=s.length;e<t;e++){const{partialKey:t,callback:r}=s[e],n=Z(t,o);if(n.length>0){const e=[];for(let t=0,r=n.length;t<r;t++){const r=n[t],s=a.has(r);c.call(e,{id:r,inserted:s})}r(e)}}return this.visitedIdsSet=new U,this.refreshedIdsSet=new U,this.insertedIdsSet=new U,Promise.resolve()}broadcastNonCachedSnapshot(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.broadcastNonCachedSnapshot(e,t);const{snapshotSubscriptions:r}=this;for(let s=0,n=r.length;s<n;s++){const n=r[s],{snapshot:i,callback:a}=n;M(i)&&i.recordId===e&&(n.snapshot=t,a(t))}}lookup(e,t,r,s){return t(e,r,s)}subscribe(e,t){if(this.delegateToFallbackStringKeyStore(e))return this.fallbackStringKeyInMemoryStore.subscribe(e,t);const r={snapshot:e,callback:t};return this.snapshotSubscriptions=[...this.snapshotSubscriptions,r],m(e)||this.retainSnapshotIds(e),()=>{const{snapshotSubscriptions:e}=this,t=d.call(e,r);if(t>-1){this.snapshotSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)];const{snapshot:s}=r;m(s)||this.releaseSnapshotIds(s)}}}updateAvailable(e){if(e.length>0&&"string"==typeof e[0])return this.fallbackStringKeyInMemoryStore.updateAvailable(e);const{snapshotSubscriptions:t}=this;this.expirePossibleStaleRecords(e);const r=[];for(let s=0,n=t.length;s<n;s++){const n=t[s],{snapshot:i}=n;m(i)||J(i,e)&&r.push(this.refreshSnapshot(i))}return Promise.all(r).then(e=>{}).catch(e=>Promise.resolve(void 0))}retain(e){if(e.length>0&&"string"==typeof e[0])return this.fallbackStringKeyInMemoryStore.retain(e);for(let t=0,r=e.length;t<r;t++){const r=e[t];this.increaseRetentionCount(r)}return()=>{this.release(e)}}watch(e,t){if("string"==typeof e)return this.fallbackStringKeyInMemoryStore.watch(e,t);const r={partialKey:e,callback:t};return this.watchSubscriptions=[...this.watchSubscriptions,r],()=>{const{watchSubscriptions:e}=this,t=d.call(e,r);this.watchSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)]}}evict(e){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.evict(e);const t=this.getCanonicalRecordId(e);this.recordsMap.delete(t),this.markVisited(t)}cleanup(){this.fallbackStringKeyInMemoryStore.pendingTrimKeys.size>0&&this.fallbackStringKeyInMemoryStore.cleanup()}dealloc(e){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.dealloc(e);const t=this.getCanonicalRecordId(e);this.recordsMap.delete(t)}keyExistsInStore(e){return"string"==typeof e?this.fallbackStringKeyInMemoryStore.keyExistsInStore(e):void 0!==this.recordsMap.get(e)}publishMetadata(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.publishMetadata(e,t);this.putMetadata(e,t,!0);const r=this.getCanonicalRecordId(e);this.markRefreshed(r)}putMetadata(e,t,r){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.putMetadata(e,t,r);const{namespace:s,representationName:n,ingestionTimestamp:i}=t,a=function(e,t,r){const s=t.get(e);return void 0===s?r:s}(this.buildStructuredKey(s,n,{}),this.ttlOverridesMap,this.defaultTTLOverride),o=this.getCanonicalRecordId(e);if(void 0!==a&&r){const e=i+a,r={...t,expirationTimestamp:e};this.metadataMap.set(o,r)}else this.metadataMap.set(o,t)}expirePossibleStaleRecords(e){if(e.length>0&&"string"==typeof e[0])return this.fallbackStringKeyInMemoryStore.expirePossibleStaleRecords(e);const t=Date.now();for(let r=0,s=e.length;r<s;r++){const s=e[r],n=this.readMetadata(s);void 0!==n&&this.publishMetadata(s,{...n,expirationTimestamp:t})}}setTTLOverride(e,t,r){this.fallbackStringKeyInMemoryStore.setTTLOverride(e,t,r),this.ttlOverridesMap.set(this.buildStructuredKey(e,t,{}),r)}getTTLOverride(e,t){return this.ttlOverridesMap.get(this.buildStructuredKey(e,t,{}))}getTTLOverrides(){return this.ttlOverridesMap}setDefaultTTLOverride(e){this.fallbackStringKeyInMemoryStore.setDefaultTTLOverride(e),this.defaultTTLOverride=e}getDefaultTTLOverride(){return this.defaultTTLOverride}reset(){this.recordsMap=new j,this.snapshotSubscriptions=[],this.watchSubscriptions=[],this.visitedIdsSet=new U,this.refreshedIdsSet=new U,this.insertedIdsSet=new U,this.redirectKeysMap=new j,this.reverseRedirectKeysMap=new j,this.retainedIdsMap=new j,this.ttlOverridesMap=new j,this.trimTask=null,this.metadataMap=new j,this.defaultTTLOverride=void 0,this.fallbackStringKeyInMemoryStore.reset()}addStoreEventObserver(e){const t=this.fallbackStringKeyInMemoryStore.addStoreEventObserver(e);return this.eventObservers.push(e),()=>{const{eventObservers:r}=this,s=this.eventObservers.indexOf(e);s>-1&&(this.eventObservers=[...u.call(r,0,s),...u.call(r,s+1)]),t()}}scheduleTrim(){this.fallbackStringKeyInMemoryStore.pendingTrimKeys.size>0?this.fallbackStringKeyInMemoryStore.scheduleTrim():null===this.trimTask&&(this.trimTask=()=>{const{metadataMap:e,retainedIdsMap:t,pendingTrims:r}=this;let s=0;const n=Date.now();return r.forEach(r=>{const i=e.get(r);void 0!==t.get(r)||void 0===i||void 0!==i&&i.expirationTimestamp>=n||(this.dealloc(r),s++)}),r.clear(),Promise.resolve({deallocatedCount:s})},this.scheduler(this.trimTask,()=>{this.trimTask=null}))}updateSubscriptionSnapshot(e,t){const{snapshot:r}=e;r!==t&&(e.snapshot=t,m(t)||this.retainSnapshotIds(t),m(r)||this.releaseSnapshotIds(r))}refreshSnapshot(e){const{refresh:t}=e;
501return void 0!==t?t.resolve(t.config):Promise.resolve(void 0)}instrumentIngestedNewData(e,t){const r=t.recordId,s=this.metadataMap.get(r);s?R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers):t.seenRecords.keysAsArray().forEach(r=>{const s=this.metadataMap.get(r);s&&R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers)})}emitOrRefreshRebuiltSnapshot(e,t,r){const{snapshot:s,callback:n}=t;if(M(e))M(s)&&this.updateSubscriptionSnapshot(t,e);else if(this.updateSubscriptionSnapshot(t,e),r(e))e!==s&&n(e),this.instrumentIngestedNewDataOnFulfilledSnapshots(s,e);else if(k(e)){const{refresh:t}=e;void 0!==t&&t.resolve(t.config)}}instrumentIngestedNewDataOnFulfilledSnapshots(e,t){y(e)&&y(t)&&this.instrumentIngestedNewData(e,t)}retainSnapshotIds(e){const{recordId:t,seenRecords:r}=e,s=void 0===r?[t]:[t,...r.keysAsArray()];this.retain(s)}releaseSnapshotIds(e){const{recordId:t,seenRecords:r}=e,s=void 0===r?[t]:[t,...r.keysAsArray()];this.release(s)}increaseRetentionCount(e){const t=this.retainedIdsMap.get(e);this.retainedIdsMap.set(e,void 0===t?1:t+1),this.pendingTrims.delete(e)}decreaseRetentionCount(e){const t=this.retainedIdsMap.get(e);return 1===t?(this.pendingTrims.add(e),this.retainedIdsMap.delete(e),!0):(void 0===t||this.retainedIdsMap.set(e,t-1),!1)}release(e){const t=e.length;let r=!1;for(let s=0;s<t;s++){const t=e[s];!0===this.decreaseRetentionCount(t)&&(r=!0)}!0===r&&this.scheduleTrim()}markVisited(e){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.markVisited(e);const{visitedIdsSet:t,reverseRedirectKeysMap:r}=this;let s=e;do{t.add(s),s=r.get(s)}while(void 0!==s)}markRefreshed(e){const{refreshedIdsSet:t,reverseRedirectKeysMap:r}=this;let s=e;do{t.add(s),s=r.get(s)}while(void 0!==s)}isUsingStringKeys(){return 0!==i(this.fallbackStringKeyInMemoryStore.visitedIds).length||0!==i(this.fallbackStringKeyInMemoryStore.refreshedIds).length}delegateToFallbackStringKeyStore(e){return!m(e)&&"string"==typeof e.recordId}emitStorePublishEvent(e){R({type:"store-publish",timestamp:Date.now(),store:this,key:e,keySchema:this.buildKeySchema(e)},this.eventObservers)}buildStructuredKey(e,t,r){return{...r,namespace:e,representationName:t}}buildIngestionStagingStore(){const e=new ee;return e.ttlOverridesMap=this.ttlOverridesMap,e.defaultTTLOverride=this.defaultTTLOverride,e.redirectKeysMap=this.redirectKeysMap,e.reverseRedirectKeysMap=this.reverseRedirectKeysMap,e.fallbackStringKeyInMemoryStore=this.fallbackStringKeyInMemoryStore.buildIngestionStagingStore(),e}buildKeySchema(e){const{namespace:t,representationName:r,...s}=e;return["namespace","representationName",...i(s).sort()]}serialize(){return this.fallbackStringKeyInMemoryStore.serialize()}}function te(e){switch(e){case"background":return"background";case"high":return"high";default:return"normal"}}var re;function se(e){const{priority:t,requestCorrelator:r,eventObservers:s,sourceContext:n}=e;return{networkPriority:te(t),requestCorrelator:r,eventObservers:s,sourceContext:n}}function ne(e,t){const r=(r,s)=>e(r,s,t);return r.ttlStrategy=t,r}function ie(e){const{buildNetworkSnapshot:t,buildSnapshotContext:r,coercedAdapterRequestContext:s}=e;return t(r,s).then(t=>"Pending"===t.state?e.resolvePendingSnapshot(t):t)}function ae(t=0){return(r,s,n)=>{if(void 0!==s){const{expirationTimestamp:i}=s;if(r>i)return r<=i+t&&!0!==n?e.StoreResolveResultState.Stale:e.StoreResolveResultState.NotPresent}return!0===n?e.StoreResolveResultState.Error:e.StoreResolveResultState.Found}}function oe(e,t){return w(e)?e.then(t):t(e)}e.HttpStatusCode=void 0,(re=e.HttpStatusCode||(e.HttpStatusCode={}))[re.Ok=200]="Ok",re[re.Created=201]="Created",re[re.NoContent=204]="NoContent",re[re.NotModified=304]="NotModified",re[re.BadRequest=400]="BadRequest",re[re.Unauthorized=401]="Unauthorized",re[re.Forbidden=403]="Forbidden",re[re.NotFound=404]="NotFound",re[re.ServerError=500]="ServerError",re[re.GatewayTimeout=504]="GatewayTimeout";const he=function(e){const{buildCachedSnapshot:t,buildSnapshotContext:r,storeLookup:s,luvio:n}=e;
501return oe(t(r,ne(s,ae()),n),t=>{if(void 0!==t){if(y(t)||m(t))return t;if(M(t))return e.resolvePendingSnapshot(t)}return ie(e)})},le=function(e){return ie(e)},ce=function(t){const{buildCachedSnapshot:r,buildSnapshotContext:s,storeLookup:n,luvio:i}=t;return oe(r(s,ne(n,ae()),i),t=>{if(void 0!==t&&(y(t)||m(t)))return t;const r=void 0!==t?t.refresh:void 0;return I({body:void 0,headers:{},ok:!1,status:e.HttpStatusCode.GatewayTimeout,statusText:"Data requested with only-if-cached policy and not found in the cache.",errorType:"fetchResponse"},r)})};function de(e){return"object"==typeof e&&null!==e&&(h.call(e,"__ref")||h.call(e,"isMissing"))}function ue(e){return null!==e&&e.type===pe.Node}var pe,ve;!function(e){e.Link="Link",e.Node="Node",e.Error="Error",e.Locked="Locked"}(pe||(pe={}));class fe{constructor(e,t){this.type=pe.Error,this.store=e,this.data=t}retrieve(){return this.data}}class Se{constructor(e,t){this.type=pe.Link,this.store=e,this.data=t}isPending(){return!0===this.data.pending}isMissing(){return!0===this.data.isMissing}follow(){const{__ref:e}=this.data;if(void 0===e)return null;const t=(r=this.store,s=e,r.readEntry(s));var r,s;return null==t?null:A(t)?new fe(this.store,t):new ge(this.store,t,e)}linkData(){return this.data.data}writeLinkData(e){this.data.data=e}}class ge{constructor(e,t,r){this.type=pe.Node,this.store=e,this.data=t,this.storeKey=r}object(e){const t=this.data[e];if(de(t))throw new Error(`Cannot walk to path ${String(e)}. "${String(e)}" is a link: "${t}"`);if("object"!=typeof t||null===t)throw new Error(`Cannot walk to path ${String(e)}. "${String(e)}" is a scalar: "${t}"`);return new ge(this.store,t,this.storeKey)}link(e){const t=this.data[e];if(!de(t))throw new Error(`Cannot walk to link ${String(e)}. "${String(e)}" is not a link: "${t}"`);return new Se(this.store,t)}scalar(e){const t=this.data[e];if("object"==typeof t&&null!==t)throw new Error(`Cannot return value at path ${String(e)}. ${String(e)} is not a scalar.`);return t}keys(){return i(this.data)}isScalar(e){if(void 0===this.data)return!0;const t=this.data[e];return"object"!=typeof t||null===t}isMissing(e){const t=this.data[e];return!(!t||"object"!=typeof t.__state||null===t.__state)&&!!t.__state.isMissing}isPending(e){const t=this.data[e];return!(!t||"object"!=typeof t.__state||null===t.__state)&&!!t.__state.pending}write(e,t){this.data[e]=t;const r=this.store.getCanonicalRecordId(this.storeKey);this.store.markVisited(r)}isUndefined(e){return void 0===this.data[e]}retrieve(){return this.data}}function me(e){return!0===e.reader}function ye(e,t){const{args:r,name:s}=e;return r&&0!==r.length?function(e,t){if(!t)return e;var r=[];for(var s in t)if(h.call(t,s)){var n=t[s];null===n&&void 0===n||r.push(s+":"+v(n))}return 0===r.length?e:e+"(".concat(r.join(","),")")}(s,function(e,t){const r={};return e.forEach(e=>{"Variable"===e.kind?r[e.name]=t[e.variableName]:r[e.name]=e.value}),r}(r,t)):s}function be(e){return null!=e}function ke(e){return"object"==typeof e&&null!==e}function Me(e){if(void 0===e)return{state:ve.NotPresent};if(null===e)return{state:ve.Null};const{__ref:t,pending:r,isMissing:s}=e;return!0===r?{state:ve.Pending}:!0===s?{state:ve.Missing}:void 0===t?{state:ve.RefNotPresent}:{state:ve.RefPresent,key:t}}!function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(ve||(ve={}));const Ie=(t,r,s)=>!0===s?e.StoreResolveResultState.Error:e.StoreResolveResultState.Found;const we="ROOT";var Re;!function(e){e[e.Missing=0]="Missing",e[e.Success=1]="Success",e[e.Error=2]="Error"}(Re||(Re={}));const Te={state:Re.Missing};const Pe=new WeakMap;class Ee{constructor(r,s,n,i,a){this.store=r,this.hasPendingData=!1,this.getLinkState=Me,this.StoreLinkStateValues=ve,this.StoreResolveResultState=e.StoreResolveResultState,this.variables=s,this.seenIds=new U,this.missingPaths=new U,this.missingLinks=new U,this.isMissingData=!1,this.hasStaleData=!1,this.refresh=n;let o,h=!0;void 0===i||i.state!==t.Fulfilled&&i.state!==t.Stale||(o=i.data,h=!1),this.snapshotChanged=h,this.currentPath={fullPath:"",key:we,parent:null,baseSnapshotValue:o},this.baseSnapshot=i,this.timestamp=Date.now(),this.ttlStrategy=void 0===a?Ie:a}resolveMetadata(e,t){const r=Me(e.__metadata);if(r.state!==ve.RefPresent)return void this.markMissing();const s=this.resolveKey(r.key);if(s.version===t)return s.value;this.markMissing()}readFragmentUnion(e,t){const{value:r}=e,{discriminator:s}=t,n=r[s];return this.readFragment(e,t.unionSelections[n])}read(e){const{node:t}=e,{recordId:r}=e,s=this.storeLookup(r),n=this.readFragment(s,t);switch(n.state){case Re.Missing:return!1===this.isMissingData&&(this.isMissingData=!0,this.snapshotChanged=!0),this.createSnapshot(void 0,e);case Re.Error:return this.createErrorSnapshot(n.value);default:return this.createSnapshot(n.value,e)}}getSnapshotState(){return!0===this.isMissingData?t.Unfulfilled:!0===this.hasPendingData?t.Pending:!0===this.hasStaleData?t.Stale:t.Fulfilled}createErrorSnapshot(e){return{data:void 0,error:e,state:t.Error,refresh:this.refresh}}createSnapshot(e,t){return!1===this.snapshotChanged&&t.recordId===this.baseSnapshot.recordId?this.baseSnapshot:(g(e),{recordId:t.recordId,select:t,variables:this.variables,seenRecords:this.seenIds,data:e,state:this.getSnapshotState(),missingPaths:this.missingPaths,missingLinks:this.missingLinks,refresh:this.refresh})}opaqueCopy(e){return p(v(e))}deepCopy(t,r,s,n){const i=t[s];if(this.enterPath(s),l(i)){const e=[];this.selectAll(i,e,n),r[s]=e}else if("object"==typeof i&&null!==i)if(void 0!==i.__ref){const t=i.__ref;if(l(t)){const e=[];this.selectAll(t,e,n),r[s]=e}else{if(!0===h.call(n,t))throw new Error("Invalid eager selection on records with circular references.");const i=this.resolveKey(t);switch(i.state){case e.StoreResolveResultState.NotPresent:r[s]=void 0;break;case e.StoreResolveResultState.Found:{const e={};this.selectAll(i.value,e,{...n,[t]:!0}
501),r[s]=e;break}}}}else{const e={};this.selectAll(i,e,n),r[s]=e}else this.checkIfChanged(i),r[s]=i;this.exitPath()}selectAllArray(e,t,r){const{length:s}=e;for(let n=0;n<s;n+=1)this.deepCopy(e,t,n,r)}selectAllObject(e,t,r){const s=i(e),{length:n}=s;for(let i=0;i<n;i+=1){const n=s[i];this.deepCopy(e,t,n,r)}}selectAll(e,t,r={}){!0===l(e)?this.selectAllArray(e,t,r):this.selectAllObject(e,t,r)}markPending(){this.hasPendingData=!0}markStale(){this.hasStaleData=!0}markMissing(){this.isMissingData=!0;const e=this.getFullPathString(this.currentPath.fullPath);this.missingPaths.add(e),this.checkIfChanged(void 0)}markMissingLink(e){this.missingLinks.add(e),this.markMissing()}unMarkMissing(){const e=this.getFullPathString(this.currentPath.fullPath);this.missingPaths.delete(e),0===this.missingPaths.size()&&(this.isMissingData=!1)}assignNonScalar(e,t,r){e[t]=r}enterPath(e){const t=this.currentPath,{key:r,fullPath:s,baseSnapshotValue:n}=t;let i;null!=n&&(i=n[e]),this.currentPath={parent:t,key:e,fullPath:r===we?e:s+"."+e,baseSnapshotValue:i}}exitPath(){this.currentPath=this.currentPath.parent}readSingleLink(e,t,r,s,n){const{required:i,nullable:a,fragment:o}=t,h=void 0===n?e:n,l=Me(r[e]);switch(l.state){case ve.RefNotPresent:case ve.NotPresent:case ve.Missing:if(me(o)&&!0===o.synthetic)return this.assignNonScalar(s,h,o.read(this));if(l.state===ve.Missing&&!1===i)return;return void this.markMissing();case ve.Null:if(!0===a)return void this.readScalar(e,r,s);throw new Error(`Invalid Link State. Link on "${this.currentPath.fullPath}" is null but selection is not nullable: \n${v(t,null,2)}`);case ve.Pending:return void this.markPending();default:this.readStoreLinkWithRef(l,o,s,h,!0)}}markRedirectsSeen(e){const{redirects:t}=e,{length:r}=t;if(0!==r)for(let e=0;e<r;e+=1)this.markSeenId(t[e])}resolveKey(t,r={}){const s=this.storeLookup(t),{required:n}=r;switch(s.state){case e.StoreResolveResultState.Stale:this.markStale();break;case e.StoreResolveResultState.NotPresent:!1!==n&&this.markMissingLink(t)}return this.markRedirectsSeen(s),this.markSeenId(s.resolvedKey),s}readStoreLinkWithRef(e,t,r,s,n){const i=this.readFragment(this.resolveKey(e.key,{required:n}),t);switch(i.state){case Re.Error:return void this.markMissing();case Re.Success:this.assignNonScalar(r,s,i.value)}}readObject(e,t,r,s){const n=r[e];if(!0===t.nullable&&null===n)return void this.readScalar(e,r,s);if(!0===t.opaque)return void this.readOpaque(s,e,n,t.required);if(void 0===n)return!1===t.required?void this.checkIfChanged(n):this.markMissing();if("object"==typeof n.__state){if(!0===t.supportsMissingMarker&&!0===n.__state.isMissing)return void this.checkIfChanged(n);if(!0===n.__state.pending)return void this.markPending()}const i=l(n)?[]:{};void 0===t.selections?this.selectAll(n,i):this.traverseSelections(t,n,i),this.assignNonScalar(s,e,i)}checkIfArrayLengthChanged(e){if(!0===this.snapshotChanged)return;const{baseSnapshotValue:t}=this.currentPath;be(t)&&(this.snapshotChanged=t.length!==e.length)}checkIfObjectKeysLengthChanged(e){if(!0===this.snapshotChanged)return;const{baseSnapshotValue:t}=this.currentPath;be(t)&&(this.snapshotChanged=e.length!==i(t).length)}checkIfChanged(e,t){!0!==this.snapshotChanged&&(!0===(null==t?void 0:t.useDeepEquals)?this.snapshotChanged=v(this.currentPath.baseSnapshotValue)!==v(e):this.snapshotChanged=this.currentPath.baseSnapshotValue!==e)}readPluralLink(e,t,r,s){if(void 0===t.fragment)return;const n=r[e];if(void 0===n){if(!1===t.required)return;return this.markMissing()}const i=s[e]=[];for(let e=0,r=n.length;e<r;e+=1)this.enterPath(e),this.readSingleLink(e,t,n,i),this.exitPath();this.checkIfArrayLengthChanged(i)}readObjectMap(e,t,r,s){const n=r[e];if(void 0===n){if(!1===t.required)return;return this.markMissing()}const a=s[e]={},o=i(n);this.checkIfObjectKeysLengthChanged(o);for(let e=0,r=o.length;e<r;e+=1){const r=o[e];this.enterPath(r),this.readObject(r,t,n,a),this.exitPath()}}readLinkMap(e,t,r,s){const n=r[e],a=i(n),o={};this.checkIfObjectKeysLengthChanged(a);for(let e=0,r=a.length;e<r;e+=1){const r=a[e];this.enterPath(r),this.readSingleLink(r,t,n,o),this.exitPath()}this.assignNonScalar(s,e,o)}readSuccessResolveState(e,t){if(me(t)&&!0===t.synthetic)return{state:Re.Missing};
501if(!0===t.union)return this.readFragmentUnion(e,t);const{version:r}=e;if(void 0!==r&&void 0!==t.version&&r!==t.version)return{state:Re.Missing};if(me(t)){const r=t.read(e.value,this);return{state:Re.Success,value:r}}if(t.opaque){this.checkIfChanged(e.value,{useDeepEquals:!0}),ke(e.value)&&!Pe.has(e.value)&&Pe.set(e.value,this.opaqueCopy(e.value));const t=ke(e.value)?Pe.get(e.value):e.value;return{state:Re.Success,value:t}}const s={};return this.traverseSelections(t,e.value,s),{state:Re.Success,value:s}}readFragment(t,r){if(me(r)&&!0===r.synthetic){const e=r.read(this);return"Error"===e.state?{state:Re.Error,value:e.value}:{state:Re.Success,value:e}}switch(t.state){case e.StoreResolveResultState.NotPresent:return Te;case e.StoreResolveResultState.Error:return{state:Re.Error,value:t.value};case e.StoreResolveResultState.Stale:return this.markStale(),this.readSuccessResolveState(t,r);case e.StoreResolveResultState.Found:return this.readSuccessResolveState(t,r)}}readPluralObject(e,t,r,s){if(void 0===t.selections)return;const n=r[e];if(void 0===n){if(!1===t.required)return;return this.markMissing()}const i=s[e]=[];for(let e=0,r=n.length;e<r;e+=1){this.enterPath(e);const r=n[e];if(void 0===r)return this.markMissing(),void this.exitPath();const s={};this.traverseSelections(t,r,s),c.call(i,s),this.exitPath()}this.checkIfArrayLengthChanged(i)}readOpaque(e,t,r,s){this.checkIfChanged(r),void 0===r&&!1===s||(e[t]=r)}readScalarMap(e,t,r,s){const n=t[e];if(void 0===n)return!1!==s?void this.markMissing():void this.checkIfChanged(void 0);const a=r[e]={},o=i(n);this.checkIfObjectKeysLengthChanged(o);for(let e=0,t=o.length;e<t;e+=1){const t=o[e];this.enterPath(t),this.readScalar(t,n,a),this.exitPath()}}readScalarPlural(e,t,r,s){const n=t[e];if(void 0===n){if(!1===s)return;return this.markMissing()}const i=r[e]=[];if(!0!==this.snapshotChanged)if(this.checkIfArrayLengthChanged(n),!0!==this.snapshotChanged)for(let e=0,t=n.length;e<t;e+=1){this.enterPath(e);const t=n[e];if(c.call(i,t),this.checkIfChanged(t),this.exitPath(),!0===this.snapshotChanged){c.apply(i,u.call(n,e+1));break}}else c.apply(i,n);else c.apply(i,n)}readScalar(e,t,r,s){if(!h.call(t,e))return!1!==s?void this.markMissing():void this.checkIfChanged(void 0);this.assignScalar(e,r,t[e])}assignScalar(e,t,r){t[e]=r,this.checkIfChanged(r)}storeLookup(t){return function(t,r,s,n){const i=s.getRedirectLineage(t),a=s.getCanonicalRecordId(t),o=s.readEntry(a);if(void 0===o)return{state:e.StoreResolveResultState.NotPresent,redirects:i,resolvedKey:a};let h;const l=s.readMetadata(a);void 0!==l&&(h=l.version);const c=n(r,l,null!==o&&A(o));switch(c!==e.StoreResolveResultState.NotPresent&&c!==e.StoreResolveResultState.Stale||l&&l.ingestionTimestamp&&R({type:"data-out-of-ttl-duration-update",lastExpiredDuration:r-l.ingestionTimestamp,recordId:a,storeResolveResultState:c===e.StoreResolveResultState.NotPresent?"not-present":"stale"},s.eventObservers),c){case e.StoreResolveResultState.NotPresent:return{state:c,redirects:i,resolvedKey:a};case e.StoreResolveResultState.Error:return{state:c,value:o.error,version:h,redirects:i,resolvedKey:a};case e.StoreResolveResultState.Stale:return{state:c,value:o,version:h,redirects:i,resolvedKey:a};default:return{state:c,value:o,redirects:i,resolvedKey:a,version:h}}}(t,this.timestamp,this.store,this.ttlStrategy)}selectUnion(e,t,r,s){const{discriminator:n}=e,i=r[n],a=e.unionSelections[i],o={selections:a.selections,private:a.private,name:e.name,kind:e.kind};this.traverseSelection(o,t,s)}selectObjectUnion(e,t,r){const{name:s}=e,n=t[s];void 0!==n?!0!==e.nullable||null!==n?this.selectUnion(e,t,n,r):this.readScalar(s,t,r):this.markMissing()}traverseSelection(e,t,r){const{variables:s}=this,n=ye(e,s);var i;!0!==(i=e).union||"Object"!==i.kind?"Link"===e.kind?!0===e.plural?this.readPluralLink(n,e,t,r):!0===e.map?this.readLinkMap(n,e,t,r):this.readSingleLink(n,e,t,r):"Scalar"===e.kind?!0===e.map?this.readScalarMap(n,t,r,!1!==e.required):!0===e.plural?this.readScalarPlural(n,t,r,!1!==e.required):this.readScalar(n,t,r,e.required):"Object"===e.kind&&(!0===e.map?this.readObjectMap(n,e,t,r):!0===e.plural?this.readPluralObject(n,e,t,r):this.readObject(n,e,t,r)):this.selectObjectUnion(e,t,r)}traverseSelections(e,t,r){const{selections:s}=e;if(void 0===s)return void this.selectAll(t,r);const{length:n}=s;for(let e=0;e<n;e+=1){const n=s[e];this.enterPath(n.name),this.traverseSelection(n,t,r),this.exitPath()}}isRebuilding(){return void 0!==this.baseSnapshot}getIsDataMissing(){return this.isMissingData}getTimeStamp(){return this.timestamp}markSeenId(e){this.seenIds.add(e)}getFullPathString(e){return"number"==typeof e?e.toString():e}}function Oe(e,r){if(void 0===e)return Oe(r,r);const{type:s}=e;switch(s){case"cache-and-network":return function(e=0){return function(t){const{buildCachedSnapshot:r,buildNetworkSnapsh
501ot:s,buildSnapshotContext:n,storeLookup:i,coercedAdapterRequestContext:a,luvio:o}=t;return oe(r(n,ne(i,ae(1e3*e)),o),e=>{if(void 0!==e){if(y(e)||m(e)||b(e))return s(n,a),e;if(M(e))return t.resolvePendingSnapshot(e)}return ie(t)})}}(e.staleDurationSeconds);case"cache-then-network":return he;case"no-cache":return le;case"only-if-cached":return ce;case"stale-while-revalidate":return a=e.staleDurationSeconds,function(e){const{buildCachedSnapshot:r,buildNetworkSnapshot:s,buildSnapshotContext:n,storeLookup:i,coercedAdapterRequestContext:o,luvio:h}=e;return oe(r(n,ne(i,ae(1e3*a)),h),r=>{if(void 0!==r){if(y(r)||m(r))return r;if(M(r))return e.resolvePendingSnapshot(r);if(r.state===t.Stale)return s(n,o),r}return ie(e)})};case"valid-at":{const t=Oe(e.basePolicy,r);return n=t,i=e.timestamp,function(e){return n({...e,storeLookup:(t,r,s)=>e.storeLookup(t,r,(e,t,r)=>s(i,t,r))})}}default:return Oe(r,r)}var n,i,a}const Ce=Symbol("Wildcard");function Ke(e,t,r,s){return Object.entries(t).map(([n,i])=>n.startsWith("$")?function(e,t,r,s,n){const i=Ne[t];if(void 0===i)return!1;return i(e,r,s,n)}(e,n,t,r,s):"object"==typeof r?!l(r)&&Ke(e,i,s(e,r[n]),s):void 0).every(e=>!0===e)}const Ne={$eq:Le,$ne:function(e,t,r,s){return!Le(e,{$eq:t.$ne},r)},$gt:function(e,t,r,s){return r>t.$gt},$gte:function(e,t,r,s){return r>=t.$gte},$lt:function(e,t,r,s){return r<t.$lt},$lte:function(e,t,r,s){return r<=t.$lte},$and:function(e,t,r,s){for(let n=0;n<t.$and.length;n++){if(!1===Ke(e,t.$and[n],r,s))return!1}return!0},$not:function(e,t,r,s){return!Ke(e,t.$not,r,s)},$nor:function(e,t,r,s){return!xe(e,{$or:t.$nor},r,s)},$or:xe,$in:De,$nin:function(e,t,r,s){return!De(e,{$in:t.$nin},r)},$exists:function(e,t,r,s){const n=null!=r;return t.$exists?n:!n},$regex:function(e,t,r,s){return t.$regex.test(r)}};function Le(e,t,r,s){return("object"!=typeof r||null===r)&&t.$eq===r}function xe(e,t,r,s){for(let n=0;n<t.$or.length;n++){if(!0===Ke(e,t.$or[n],r,s))return!0}return!1}function De(e,t,r,s){for(let e=0;e<t.$in.length;e++){if(Le(0,{$eq:t.$in[e]},r))return!0}return!1}var Ae,$e;!function(e){e[e.UrlParameter=0]="UrlParameter",e[e.QueryParameter=1]="QueryParameter",e[e.Body=2]="Body",e[e.Header=3]="Header"}(Ae||(Ae={})),function(e){e[e.String=0]="String",e[e.Boolean=1]="Boolean",e[e.Number=2]="Number",e[e.Integer=3]="Integer",e[e.Unsupported=4]="Unsupported"}($e||($e={}));const qe="urlParams",_e="queryParams",je="body",Fe="headers";function Ue(e,t){switch(t){case $e.String:return"string"==typeof e;case $e.Boolean:return"boolean"==typeof e;case $e.Number:return"number"==typeof e;case $e.Integer:return"number"==typeof e&&Math.floor(e)===e;default:return!1}}e.Environment=class{constructor(e,t){this.networkCount=0,this.storeQueryEvaluator=void 0,this.defaultCachePolicy={type:"cache-then-network"},this.store=e,this.networkAdapter=t,this.adapterContextMap=r(null),this.typeQueryEvaluatorMap=r(null),this.createSnapshot=this.createSnapshot.bind(this),this.rebuildSnapshot=this.rebuildSnapshot.bind(this)}setDefaultCachePolicy(e){this.defaultCachePolicy=e}dispatchResourceRequest(e,t,r){const s=Date.now(),n=`${s}${this.networkCount++}`;return T({type:"network-request-start",timestamp:s,request:e,uuid:n},r),new Promise((i,a)=>{this.networkAdapter(e,t).then(e=>{const t=Date.now();return T({type:"network-request-end",timestamp:t,duration:t-s,response:e,uuid:n},r),e.ok?i(e):a({...e,errorType:"fetchResponse"})},e=>{const t=Date.now();return T({type:"network-request-error",uuid:n,timestamp:t,duration:t-s,error:e},r),a(function(e){return null!==e&&"object"==typeof e&&"status"in e}(e)?{...e,errorType:"fetchResponse"}:function(e){if("object"==typeof e&&e instanceof Error)return e.errorType="networkAdapterError",e;const t=new Error(`NetworkAdapter rejected with non-Error object: ${void 0===e?"undefined":v(e)}`);return t.errorType="networkAdapterError",t}(e))})})}isErrorCacheable(t){const{error:r}=t;return"fetchResponse"===r.errorType&&r.status===e.HttpStatusCode.NotFound}resolvePendingSnapshot(e){return new Promise(t=>{let r;r=this.storeSubscribe(e,e=>{void 0!==r&&r(),t(e)})})}storeIngest(e,t,r,s,n){null!==t&&t(r,{fullPath:e,parent:null,propertyName:null},s,void 0===n?this.store:n,Date.now())}storeIngestError(e,t,r,s){const{error:i}=t;if(this.isErrorCacheable(t)){const t=void 0===s?this.store:s,a={__type:N.Error,status:K.RESOURCE_NOT_FOUND,error:i};if(n(a),t.publish(e,a),void 0!==r){const{ttl:s,namespace:n,representationName:i,version:a}=r,o=Date.now(),h={ingestionTimestamp:o,expirationTimestamp:o+s,representationName:i,namespace:n,version:a};t.publishMetadata(e,h)}return}this.store.broadcastNonCachedSnapshot(e,t)}storePublish(e,t){this.store.publish(e,t)}storePut(e,t){this.store.put(e,t)}storeRedirect(e,t){this.store.redirect(e,t)}storeGetCanonicalKey(e){return this.store.getCanonicalRecordId(e)}storeBroadcast(e,t){return this.store.broadcast(e,t)}storeSubscribe(e,t){return this.store.subscribe(e,t)}storeWatch(e,t){return this.store.watch(e,t)}storeLookup(e,t,r,s){return this.store.lookup(e,t,r,s)}
501storeCleanup(){this.store.cleanup()}storeEvict(e){this.store.evict(e)}storeDealloc(e){this.store.dealloc(e)}storeReset(){this.store.reset()}storeRetain(e){return this.store.retain(e)}storeKeyExists(e){return this.store.keyExistsInStore(e)}snapshotAvailable(e){return y(e)||m(e)||b(e)}createSnapshot(e,t,r){return new Ee(this.store,e.variables,t,void 0,r).read(e)}rebuildSnapshot(e,t){t(new Ee(this.store,e.variables,e.refresh,e).read(e.select))}getNode(e,t){const r=void 0===t?this.store:t,s=r.readEntry(e);return void 0===s?null:this.wrapNormalizedGraphNode(s,e,r)}wrapNormalizedGraphNode(e,t,r){if(null===e)return null;const s=void 0===r?this.store:r;return A(e)?new fe(s,e):new ge(s,e,t)}withContext(e,t){const{contextId:s,onContextLoaded:n}=t;void 0===this.adapterContextMap[s]&&(this.adapterContextMap[s]=r(null));const i=this.adapterContextMap[s],a={set(e,t){i[e]=t},get:e=>i[e]};if(void 0===n)return(t,r)=>e(t,a,r);let o=!0;const h=n(a);return(t,r)=>o?h.then(()=>(o=!1,e(t,a,r))):e(t,a,r)}publishStoreMetadata(e,t){this.store.publishMetadata(e,t)}putStoreMetadata(e,t,r){this.store.putMetadata(e,t,r)}storeSetTTLOverride(e,t,r){return this.store.setTTLOverride(e,t,r),this.recomputeTTLOverrideExpirations(e,t),Promise.resolve()}storeGetTTLOverride(e,t){return Promise.resolve(this.store.getTTLOverride(e,t))}storeGetTTLOverrides(){return this.store.getTTLOverrides()}recomputeTTLOverrideExpirations(e,t){const r=this.store.readMetadataWhere({namespace:e,representationName:t});for(let e=0,t=r.length;e<t;e++){const t=r[e];this.publishStoreMetadata(t.key,t.metadata)}}storeSetDefaultTTLOverride(e){return this.store.setDefaultTTLOverride(e),this.recomputeDefaultTTLOverrideExpirations(),Promise.resolve()}storeGetDefaultTTLOverride(){return this.store.getDefaultTTLOverride()}recomputeDefaultTTLOverrideExpirations(){const e=this.store.readMetadataWhere({ttlOverride:void 0});for(let t=0,r=e.length;t<r;t++){const r=e[t];this.publishStoreMetadata(r.key,r.metadata)}}storeBuildIngestionStagingStore(){return this.store.buildIngestionStagingStore()}applyCachePolicy(e,t,r,s,n){const{defaultCachePolicy:i}=this,{cachePolicy:a,eventObservers:o}=t;let h=Oe(a,i);let l=s,c=n;if(void 0!==o){h=function(e,t,r){return P(e,r,{type:"adapter-lookup-start",cachePolicy:t,timestamp:Date.now()},(e,t,r,s)=>{const n=Date.now();return{type:"adapter-lookup-end",hasError:t,timestamp:n,duration:n-s.timestamp}})}(h,void 0===a?i.type:a.type,o),l=function(e,t){return P(e,t,{type:"cache-lookup-start",timestamp:Date.now()},(e,t,r,s)=>{const n=Date.now();return{type:"cache-lookup-end",hasError:t,wasResultAsync:r,snapshotState:void 0!==e&&(i=t,!1===i)?e.state:void 0,timestamp:n,duration:n-s.timestamp};var i})}(s,o),c=function(e,t){return P(e,t,{type:"network-lookup-start",timestamp:Date.now()},(e,t,r,s)=>{const n=Date.now();return{type:"network-lookup-end",hasError:t,timestamp:n,duration:n-s.timestamp}})}(n,o)}return h({buildCachedSnapshot:l,buildNetworkSnapshot:c,buildSnapshotContext:r,resolvePendingSnapshot:e=>this.resolvePendingSnapshot(e),storeLookup:(e,t,r)=>this.storeLookup(e,this.createSnapshot,t,r),coercedAdapterRequestContext:se(t),luvio:e})}handleSuccessResponse(e,t){return e()}handleErrorResponse(e){return e()}getNotifyChangeStoreEntries(e){const t=[];for(let r=0,s=e.length;r<s;r++){const s=e[r],n=this.getNode(s);ue(n)&&t.push({key:s,record:n.retrieve()})}return Promise.resolve(t)}notifyStoreUpdateAvailable(e){return this.store.updateAvailable(e)}registerStoreQueryEvaluator(e){this.storeQueryEvaluator=e}getStoreQueryEvaluator(){return this.storeQueryEvaluator}registerTypeQueryEvaluator(e,t,r){this.typeQueryEvaluatorMap[e]||(this.typeQueryEvaluatorMap[e]=Object.create(null)),this.typeQueryEvaluatorMap[e][t]=r}getTypeQueryEvaluator(e,t){const r=this.typeQueryEvaluatorMap[e];if(r&&r[t])return r[t]}buildStructuredKey(e,t,r){return this.store.buildStructuredKey(e,t,r)}expirePossibleStaleRecords(e,t,r){return this.store.expirePossibleStaleRecords(e),void 0!==r&&void 0!==t?this.refreshPossibleStaleRecords(t,r):Promise.resolve()}refreshPossibleStaleRecords(e,t){return Promise.resolve(t(e,{cachePolicy:{type:"no-cache"}})).then(()=>{})}},e.GraphNode=ge,e.InMemoryStore=ee,e.InMemoryStoreQueryEvaluator=class{constructor(e){this.store=e,this.storeToIndexMap=new WeakMap,this.storeToIndexMap.set(e,{nodeType:"indexBySchema",value:{}})}queryByKey(e,t){const r=this.getKeyIndex(this.store,t);if(void 0===r)return Promise.resolve([]);let s=[r];for(let r=0;r<t.length;r++){const n=[],i=e[t[r]],o=i===Ce;for(let e=0,t=s.length;e<t;e++){const t=s[e];if("key"===t.nodeType)throw new Error("");let r=[];o?r=a(t.value):h.call(t.value,String(i))&&(r=[t.value[String(i)]]),n.push(...r)}s=n}const n=s.filter(e=>"key"===e.nodeType);return Promise.resolve(n.map(e=>e.value))}queryWhere(e,t,r,s){const n=null!=s?s:(e,t)=>this.resolveData(e,t);return this.queryByKey(e,t).then(e=>e.filter(e=>{const t=this.store.readEntry(JSON.stringify(e));return Ke(this.store,r,n(this.store,t),n)}))}resolveData(e,t){return"object"==typeof t&&null!==t&&"__link"in t&&"string"==typeof t.__link?e.readEntry(t.__link):t}registerKey(e,t,r){const s=this.getOrRegisterKeyIndex(e,r);if(void 0===s)return;const n=r.length;let i=s;for(let e=0;e<n-1;e++){const s=t[r[e]];i=this.getOrRegisterSubKeyIndex(i,s)}i.value[String(t[r[n-1]])]={nodeType:"key",value:t}}getIndexBySchema(e){return this.storeToIndexMap.get(e)}getOrRegisterKeyIndex(e,t){const r=this.getIndexBySchema(e);if(void 0===r)return;const s=this.getKeySchemaIdentifier(t);let n=r.value[s];return void 0===n&&(n={nodeType:"index",value:{}},r.value[s]=n),n}getKeyIndex(e,t){let r=this.storeToIndexMap.get(e);if(void 0===r)return;const s=this.getKeySchemaIdentifier(t);return r.value[s]}getOrRegisterSubKeyIndex(e,t){let r=e.value[String(t)];if(void 0===r)r={nodeType:"index",value:{}},e.value[String(t)]=r;else if("index"!==r.nodeType)throw new Error("Failed to find subindex value");return r}getKeySchemaIdentifier(e){return e.join(":")}},e.Luvio=class{constructor(e,t={}){this.environment=e,this.options=t}storePublish(e,t){this.environment.storePublish(e,t)}storeRedirect(e,t){this.environment.storeRedirect(e,t)}storeRetain(e){return this.environment.storeRetain(e)}storeGetCanonicalKey(e){return this.environment.storeGetCanonicalKey(e)}storeBroadcast(){return this.environment.storeBroadcast(this.environment.rebuildSnapshot,this.environment.snapshotAvailable)}storeIngest(e,t,r){this.environment.storeIngest(e,t,r,this)}storeIngestError(e,t,r){return this.environment.storeIngestError(e,t,r)}storeSubscribe(e,t){return this.environment.storeSubscribe(e,t)}storeWatch(e,t){return this.environment.storeWatch(e,t)}storeLookup(e,t){return this.environment.storeLookup(e,this.environment.createSnapshot,t)}storeEvict(e){this.environment.storeEvict(e)}storeCleanup(){this.environment.storeCleanup()}storeExpirePossibleStaleRecords(e,t,r){return this.environment.expirePossibleStaleRecords(e,t,r)}createSnapshot(e,t){return this.environment.createSnapshot(e,t)}errorSnapshot(e,t){return I(e,t)}
501dispatchResourceRequest(e,t){let r=e,s={},n=[];if(void 0!==t){void 0!==t.resourceRequestContext&&(s=t.resourceRequestContext),void 0!==t.eventObservers&&(n=t.eventObservers);const{overrides:i}=t;if(void 0!==i){const{headers:t,priority:s}=i;void 0!==t&&(r={...e,headers:{...e.headers,...t}}),void 0!==s&&(r.priority=s)}}const{queryParams:a,urlParams:o}=r;for(const e of i(a)){void 0===a[e]&&delete a[e]}for(const e of i(o)){void 0===o[e]&&delete o[e]}return this.environment.dispatchResourceRequest(r,s,n)}refreshSnapshot(e){const{refresh:t}=e;if(void 0!==t){const{config:e,resolve:r}=t;return r(e)}throw new Error("Snapshot is not refreshable")}getNode(e){return this.environment.getNode(e)}wrapNormalizedGraphNode(e,t){return this.environment.wrapNormalizedGraphNode(e,t)}instrument(e){const{instrument:t}=this.options;t&&t(e())}snapshotAvailable(e){return this.environment.snapshotAvailable(e)}withContext(e,t){return this.environment.withContext(e,t)}resolvePendingSnapshot(e){return this.environment.resolvePendingSnapshot(e)}publishStoreMetadata(e,t){const{ttl:r,namespace:s,representationName:n,version:i}=t;let{ingestionTimestamp:a}=t;void 0===a&&(a=Date.now());const o={ingestionTimestamp:a,expirationTimestamp:a+r,representationName:n,namespace:s,version:i};return this.environment.publishStoreMetadata(e,o)}storeSetTTLOverride(e,t,r){return this.environment.storeSetTTLOverride(e,t,r)}storeGetTTLOverride(e,t){return this.environment.storeGetTTLOverride(e,t)}storeSetDefaultTTLOverride(e){return this.environment.storeSetDefaultTTLOverride(e)}applyCachePolicy(e,t,r,s){return this.environment.applyCachePolicy(this,e,t,r,s)}handleSuccessResponse(e,t){return this.environment.handleSuccessResponse(e,(()=>{let e;return function(){return void 0===e&&(e=t()),e}})())}handleErrorResponse(e){return this.environment.handleErrorResponse(e)}getNotifyChangeStoreEntries(e){return this.environment.getNotifyChangeStoreEntries(e)}notifyStoreUpdateAvailable(e){return this.environment.notifyStoreUpdateAvailable(e)}registerStoreQueryEvaluator(e){return this.environment.registerStoreQueryEvaluator(e)}getStoreQueryEvaluator(){return this.environment.getStoreQueryEvaluator()}registerTypeQueryEvaluator(e,t,r){return this.environment.registerTypeQueryEvaluator(e,t,r)}getTypeQueryEvaluator(e,t){return this.environment.getTypeQueryEvaluator(e,t)}buildStructuredKey(e,t,r){return this.environment.buildStructuredKey(e,t,r)}},e.Reader=Ee,e.StoreKeyMap=j,e.StoreKeySet=U,e.StringKeyInMemoryStore=H,e.Wildcard=Ce,e.adapterToNetworkPriority=te,e.buildNetworkSnapshotCachePolicy=function(e,t,r,s,n){const{luvio:i,config:a}=e,{networkPriority:o,requestCorrelator:h,eventObservers:l,sourceContext:c}=t,d={resourceRequestContext:{requestCorrelator:h,sourceContext:c,luvioRequestMethod:s},eventObservers:l};return"normal"!==o&&(d.overrides={priority:o}),n?r(i,a,d,e.cacheSnapshot):r(i,a,d)},e.coerceAdapterRequestContext=se,e.coerceConfig=function(e,t){const r={};return t.forEach(({name:t,coerceFn:s})=>{const n=void 0===s?e[t]:s(e[t]);void 0!==n&&(r[t]=n)}),r},e.createCustomAdapterEventEmitter=(e,t=[])=>r=>{T({type:"custom",namespace:e,timestamp:Date.now(),data:r},t)},e.createResourceParams=function(e){return t=>function(e,t){const r=(t,{name:r})=>(t[r]=e[r],t),s=t.filter(e=>e.resourceType===Ae.UrlParameter).reduce(r,{}),n=t.filter(e=>e.resourceType===Ae.QueryParameter).reduce(r,{}),a=t.filter(e=>e.resourceType===Ae.Header).reduce(r,{}),o=t.filter(e=>e.resourceType===Ae.Body),h=o.reduce((t,{name:r,required:s})=>{const n=e[r];return(s||void 0!==n)&&(t[r]=n),t},{}),l={};i(s).length>0&&(l[qe]=s);i(n).length>0&&(l[_e]=n);o.length>0&&(l[je]=h);i(a).length>0&&(l[Fe]=a);return l}(t,e)},e.deepFreeze=g,e.emitAdapterEvent=T,e.ingestShape=function(e,t,r,s,n,i,a,o,h,l,c,d){const u=s.readEntry(a);let p=o(e,u,{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:i},r,s,n);if(void 0!==u&&!1!==d(u,p)||r.storePublish(a,p),void 0!==i){const e={ttl:i,namespace:h,version:l,representationName:c,ingestionTimestamp:n};r.publishStoreMetadata(a,e)}},e.isFileReference=function(e){return"object"==typeof e&&null!==e&&"isFileReference"in e&&!0===e.isFileReference},e.isFormData=function(e){return"object"==typeof e&&null!==e&&"namedEntries"in e&&l(e.namedEntries)},e.resolveLink=function(e,t,r){const{StoreLinkStateValues:s}=e,n=e.getLinkState(t);switch(n.state){case s.RefNotPresent:case s.NotPresent:case s.Missing:return e.markMissingLink(t.__ref),void e.markMissing();case s.Pending:return void e.markPending();case s.Null:return}const{key:i}=n;return e.read({recordId:i,node:{kind:"Fragment",private:[],opaque:!0,version:r},variables:{}})}
501,e.serializeStructuredKey=q,e.setBypassDeepFreeze=function(e){S=e},e.typeCheckConfig=function(e,t,r){r.forEach(({name:r,typeCheckShape:s,isArrayShape:n})=>{switch(s){case $e.Unsupported:return;case $e.String:case $e.Boolean:case $e.Number:case $e.Integer:if(n)!function(e,t,r,s){const n=e[r];if(l(n)){const e=[];for(let t=0,r=n.length;t<r;t++){const r=n[t];Ue(r,s)&&e.push(r)}t[r]=e}}(e,t,r,s);else{const n=e[r];Ue(n,s)&&(t[r]=n)}return;default:return}})},Object.defineProperty(e,"__esModule",{value:!0})});
502})();(function() { LWR.define("force/ldsBindings",["exports","lwc"],function(e,t){const r="refresh-adapter-event",n="adapter-unfulfilled-error",s="LWC component's @wire target property or method threw an error during value provisioning. Original error:",i=new WeakMap;var o;function a(e){return e.state===o.Error}function u(e){return function(n){return function(e,n,s){const i=n.get(t.unwrap(e));if(void 0===i)return;const[o,u]=i;if(s.instrument(()=>({[r]:!0,adapterName:o})),void 0===u)return Promise.resolve(void 0);return s.refreshSnapshot(u).then(e=>{if(a(e))throw e.error})}(n,i,e)}}!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(o||(o={}));const{isArray:c}=Array,{stringify:d}=JSON;function l(e,t){if(e instanceof Error)throw e.message=`${t}\n[${e.message}]`,e;throw new Error(`${t}\n[${d(e)}]`)}class h{constructor(e){this.obj=e,this.copy={},this.currentPath={key:"",value:e,parent:null,data:this.copy}}sanitize(){const e=this;return d(this.obj,function(t,r){if(""===t)return r;const n=this;return n!==e.currentPath.value&&e.exit(n),"object"==typeof r&&null!==r?(e.enter(t,r),r):(e.currentPath.data[t]=r,r)}),this.copy}enter(e,t){const{currentPath:r}=this,n=r.data[e]=c(t)?[]:{};this.currentPath={key:e,value:t,parent:r,data:n}}exit(e){for(;this.currentPath.value!==e;)this.currentPath=this.currentPath.parent||this.currentPath}}function f(e){return new h(e).sanitize()}class p{constructor(e,t,r,n,s){this.connected=!1,this.adapter=e,this.name=t,this.luvio=r,this.callback=n,this.sourceContext=s,this.emit()}connect(){this.connected=!0,this.callAdapter(this.generateAdapterRequestContext())}disconnect(){this.unsubscribe(),this.connected=!1}update(e,t){this.unsubscribe(),this.config=f(e),this.callAdapter(this.generateAdapterRequestContext(t))}generateAdapterRequestContext(e){return this.sourceContext?{sourceContext:{...this.sourceContext}}:{}}callAdapter(e){if(!this.connected||void 0===this.config)return;const t=this.adapter(this.config,e);this.processAdapterResponse(t)}processAdapterResponse(e){if(null===e)return;const t=this.config,r=e=>{null!==e&&(!function(e){return e.state===o.Unfulfilled}(e)?this.config===t&&((function(e){return e.state===o.Fulfilled}(e)||a(e)||function(e){return e.state===o.Stale}(e))&&this.emit(e),this.subscribe(e)):this.luvio.instrument(()=>({[n]:!0,adapterName:this.adapter.name,missingPaths:e.missingPaths,missingLinks:e.missingLinks})))};void 0===e.then?r(e):e.then(r,e=>l(e,"Luvio wire adapter Promise<Snapshot> rejected. Original error:"))}emit(e){const t=function(e){return void 0===e?{data:void 0,error:void 0}:a(e)?{data:void 0,error:e.error}:{data:e.data,error:void 0}}(e);i.set(t,[this.name,e]);try{this.callback(t)}catch(e){e instanceof Error&&l(e,s)}}subscribe(e){this.unsubscribe(),this.connected&&(this.unsubscriber=this.luvio.storeSubscribe(e,this.emit.bind(this)))}unsubscribe(){void 0!==this.unsubscriber&&(this.unsubscriber(),this.unsubscriber=void 0)}}function v(e,t){if(e===t)return!0;if(null==e||null==t)return e===t;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!v(e[r],t[r]))return!1;return!0}const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const s of r){if(!n.includes(s))return!1;if(!v(e[s],t[s]))return!1}return!0}class y extends p{constructor(e,t,r,n,s,i){super(e,t,r,n,s),this.paginationConfigParamNames=i}connect(){this.connectTimestamp=Date.now(),super.connect()}disconnect(){this.connectTimestamp=void 0,super.disconnect()}update(e,t){if(this.connectTimestamp){const r=this.config;Object.keys(e).some(t=>{var n;return!(null===(n=this.paginationConfigParamNames)||void 0===n?void 0:n.includes(t))&&!v(e[t],null==r?void 0:r[t])})&&(this.connectTimestamp=Date.now());const n=this.generateAdapterRequestContext(t);super.unsubscribe(),this.config=f(e),super.callAdapter(n)}else super.update(e,t)}generateAdapterRequestContext(e){return{...super.generateAdapterRequestContext(e),cachePolicy:{type:"valid-at",timestamp:this.connectTimestamp}}}subscribe(e){var t;if(super.subscribe(e),this.connected&&(null===(t=e.refresh)||void 0===t?void 0:t.resolve)){const t=e.refresh.resolve;e.refresh.resolve=e=>(this.connectTimestamp=Date.now(),t(e))}}}function b(e){const t={data:void 0,errors:void 0};return void 0===e||(t.data=function(e){if("data"in e&&void 0!==e.data){const t="data"in e.data&&void 0!==e.data.data,r="results"in e.data&&void 0!==e.data.results;if(t)return e.data.data;if(r)return e.data}}(e),"error"in e&&void 0!==e.error&&(Array.isArray(e.error)?t.errors=e.error:t.errors=[e.error])),t}class m extends p{constructor(e,t,r,n,s,i){super(e,t,r,s,i),this.astResolver=n}update(e,t){this.unsubscribe(),e.batchQuery?this.config={batchQuery:e.batchQuery.map(e=>A(e))}:this.config=A(e),this.callAdapter(super.generateAdapterRequestContext(t))}emit(e){const t=b(e);i.set(t,[this.name,e]);try{this.callback(t)}catch(e){e instanceof Error&&l(e,s)}}callAdapter(e){if(!this.connected||void 0===this.config)return;const t=this.config;if("batchQuery"in t){const r={batchQuery:t.batchQuery.map(e=>this.resolveQueryAst(e))};if(r.batchQuery.some(e=>void 0===e))return;const n=this.adapter(r,e);this.processAdapterResponse(n)}else if("query"in t){const r=this.resolveQueryAst(t);if(void 0!==r){const t=this.adapter(r,e);this.processAdapterResponse(t)}}}resolveQueryAst(e){if(null===e.query)return;const t=this.astResolver(e.query);if(void 0===t&&void 0!==e.query)return;return{...e,query:t}}}function A(e){return{...f(e),query:e.query}}let g={refreshCalled:e=>{},instrumentAdapter:(e,t)=>e};e.refresh=void 0;const{create:I,defineProperty:T,defineProperties:C}=Object;var R;function N(e){return e.state===R.Error}function P(e){return e.state===R.Pending}function x(e){return null!==e&&void 0!==e.then}function k(e){return N(e)?{data:void 0,error:e.error}:{data:e.data,error:void 0}}function q(e){if(N(e))return"adapterError"===e.error.errorType?{data:void 0,errors:e.error.error}:{data:void 0,errors:[e.error]};const t={},r=e;return"data"in r.data&&void 0!==r.data.data&&(t.data=r.data.data),void 0!==r.data.errors&&(t.errors=r.data.errors),t}function O(e){return N(e)?{data:void 0,error:e.error}:{data:e.data,error:void 0}}!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(R||(R={})),e.ADAPTER_UNFULFILLED_ERROR=n,e.REFRESH_ADAPTER_EVENT=r,e.bindWireRefresh=function(t){const r=u(t);e.refresh=(e,t)=>(g.refreshCalled(t),r(e))},e.createGraphQLImperativeAdapter=function(e,t,r,n){const{name:s}=r,i=(r,s,i)=>{let o=null,a=!1;if("batchQuery"in r){if(a=!0,o={batchQuery:r.batchQuery.map(e=>({...e,query:n(e.query)}))},o.batchQuery.some(e=>void 0===e.query))return void i({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]})}else if("query"in r){const e=n(r.query);if(void 0===e)return void i({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]});o={...r,query:e}}const u=t(o,s);null!==u?x(u)?u.then(e=>{i(null!==e?a?O(e):q(e):{data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]})}).finally(()=>{e.storeCleanup()}):i(a?O(u):q(u)):i({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]})};T(i,"name",{value:`${s}_invoke`});const o=(r,s,i)=>{let o,a=i,u=null,c=!1;if("batchQuery"in r){if(c=!0,u={batchQuery:r.batchQuery.map(e=>({...e,query:n(e.query)}))},u.batchQuery.some(e=>void 0===e.query))return i({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]}),()=>{}}else if("query"in r){const e=n(r.query);if(void 0===e)return i({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]}),()=>{};u={...r,query:e}}const d=t(u,s);if(null===d)return a({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]}),()=>{};const l=t=>{o=e.storeSubscribe(t,e=>{null===a||P(e)||a(c?O(e):q(e))})};return x(d)?d.then(e=>{if(null!==a){if(null===e)return void a({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]});P(e)||a(c?O(e):q(e)),l(e)}}):(P(d)||a(c?O(d):q(d)),l(d)),()=>{null!==a&&void 0!==o&&o(),a=null,o=void 0}};return T(o,"name",{value:`${s}_subscribe`}),{invoke:i,subscribe:o}},e.createGraphQLWireAdapterConstructor=function(e,t,r,n){const{apiFamily:s,name:i}=r;return function(e,t,r,n){const s=function(s,i){const o=new m(e,t,r,n,s,i);this.connect=()=>o.connect(),this.disconnect=()=>o.disconnect(),this.update=(e,t)=>
502o.update(e,t)};return Object.defineProperty(s,"name",{value:t}),s}(t,`${s}.${i}`,e,n)},e.createImperativeAdapter=function(e,t,r){const{name:n}=r,s=(r,n,s)=>{const i=t(r,n);null!==i?x(i)?i.then(e=>{s(null!==e?k(e):{data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}})}).finally(()=>{e.storeCleanup()}):s(k(i)):s({data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}})};T(s,"name",{value:`${n}_invoke`});const i=(r,n,s)=>{let i,o=s;const a=t(r,n);if(null===a)return o({data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}}),()=>{};const u=t=>{i=e.storeSubscribe(t,e=>{null===o||P(e)||o(k(e))})};return x(a)?a.then(e=>{if(null!==o){if(null===e)return void o({data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}});P(e)||o(k(e)),u(e)}}):(P(a)||o(k(a)),u(a)),()=>{null!==o&&void 0!==i&&i(),o=null,i=void 0}};return T(i,"name",{value:`${n}_subscribe`}),{invoke:s,subscribe:i}},e.createInfiniteScrollingWireAdapterConstructor=function(e,t,r,n){const{apiFamily:s,name:i}=r;return function(e,t,r,n){const s=function(s,i){const o=new y(e,t,r,s,i,n);this.connect=()=>o.connect(),this.disconnect=()=>o.disconnect(),this.update=(e,t)=>o.update(e,t)};return Object.defineProperty(s,"name",{value:t}),s}(t,`${s}.${i}`,e,n)},e.createInstrumentedAdapter=function(e,t){return g.instrumentAdapter(e,t)},e.createLDSAdapter=function(e,t,r){return r(e)},e.createWireAdapterConstructor=function(e,t,r){const{apiFamily:n,name:s}=r;return function(e,t,r){const n=function(n,s){const i=new p(e,t,r,n,s);this.connect=()=>i.connect(),this.disconnect=()=>i.disconnect(),this.update=(e,t)=>i.update(e,t)};return Object.defineProperty(n,"name",{value:t}),n}(t,`${n}.${s}`,e)},e.instrument=function(e){g=Object.assign(g,e)},Object.defineProperty(e,"__esModule",{value:!0})});
503})();(function() { LWR.define("force/ldsAdaptersApex",["exports","force/luvioEngine","force/ldsBindings","force/ldsEngineWebruntime"],function(e,r,t,n){const{hasOwnProperty:o}=Object.prototype;const{isArray:a}=Array;const{keys:s,create:i}=Object,{stringify:u}=JSON,{isArray:c}=Array;const l={overrides:{headers:{"Cache-Control":"no-cache"}}};function d(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return u(e);let r,t;if(c(e)){for(t="[",r=0;r<e.length;r++)r&&(t+=","),t+=d(e[r])||"null";return t+"]"}if(null===e)return"null";const n=s(e).sort();for(t="",r=0;r<n.length;r++){const o=n[r],a=d(e[o]);a&&(t&&(t+=","),t+=u(o)+":"+a)}return"{"+t+"}"}const{create:p,keys:f,values:m}=Object,{isArray:h}=Array,{stringify:v}=JSON;const y="APEX_V_1",x={ttl:3e5,namespace:"Apex",representationName:"",version:y};const C=(e,t,n,o,a)=>{const s=t.fullPath,i=e,u=o.readEntry(s);var c,l;return r.deepFreeze(i),void 0!==u&&!1!=(c=u,v(i)===v(c))||n.storePublish(s,i),n.publishStoreMetadata(s,{...x,ingestionTimestamp:a}),l=s,{__ref:r.serializeStructuredKey(l)}};function P(e){if("object"==typeof(r=e)&&null!==r&&!1===c(r)){return-1===m(e).indexOf(void 0)?e:null}var r;return e}const g=":";function b(e){return null==e||"object"==typeof e&&0===f(e).length}function A(e,r,t,n){return[e.replace("__",g),r,t,b(n)?"":d(n)].join(g)}function S(e,r,t,n){return{apexMethod:t,apexClass:r,methodParams:e,xSFDCAllowContinuation:n+""}}function w(e,r){return""!==e?`${e}__${r}`:r}function F(e){const{headers:r}=e,t=function(e){if(void 0===e)return;const r=f(e);for(let t=0,n=r.length;t<n;t+=1){const n=r[t];if("cache-control"===n.toLowerCase())return e[n]}}(r);return null!=(n=t)&&"string"==typeof n&&n.indexOf("no-cache")<0&&n.indexOf("no-store")<0;var n}function _(e){return[e.urlParams.apexClass.replace("__",g),e.urlParams.apexMethod,e.headers.xSFDCAllowContinuation,b(e.queryParams.methodParams)?"":d(e.queryParams.methodParams)].join(g)}function O(e,r){const{luvio:t,config:n}=e,{apexClass:o,apexMethod:a,xSFDCAllowContinuation:s,methodParams:i}=n;return r({recordId:A(o,a,s,i),node:{kind:"Fragment",opaque:!0,private:[],version:y},variables:{}},{config:n,resolve:()=>D(t,n,l)})}function q(e,t,n,o){const a=_(n),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:y},variables:{}};if(F(o)){const r=function(e,r,t,n){const{body:o}=t,a=_(r),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:y},variables:{}};return e.storeIngest(a,C,o),e.storeLookup(s,n)}(e,n,o,{config:t,resolve:()=>D(e,t,l)});return e.storeBroadcast().then(()=>r)}return Promise.resolve({recordId:a,variables:{},seenRecords:new r.StoreKeySet,select:s,state:"Fulfilled",data:o.body})}function D(e,t,n){const o=function(e){const r=p(null);return b(e.methodParams)||(r.methodParams=e.methodParams),{queryParams:r,urlParam
503s:{apexMethod:e.apexMethod,apexClass:e.apexClass},headers:{xSFDCAllowContinuation:e.xSFDCAllowContinuation}}}(t),a=function(e){const r={},t=e.headers.xSFDCAllowContinuation;return void 0!==t&&(r["X-SFDC-Allow-Continuation"]=t),{baseUri:"/lwr/apex/v67.0",basePath:"/"+e.urlParams.apexClass+"/"+e.urlParams.apexMethod,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:r,priority:"normal"}}(o);return e.dispatchResourceRequest(a,n).then(n=>e.handleSuccessResponse(()=>q(e,t,o,n),()=>new r.StoreKeyMap),r=>e.handleErrorResponse(()=>function(e,r,t,n){return Promise.resolve(e.errorSnapshot(n,{config:r,resolve:()=>D(e,r,l)}))}(e,t,0,r)))}function I(e,r){const{luvio:t,config:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:s,sourceContext:i}=r,u={resourceRequestContext:{requestCorrelator:a,sourceContext:i},eventObservers:s};return"normal"!==o&&(u.overrides={priority:o}),D(t,n,u)}const j=(e,r)=>{const{namespace:t,classname:n,method:o,isContinuation:a}=r;return M(e,t,n,o,a)};function M(e,r,t,n,o){return(a,s)=>{const i=P(a);if(null===i)return null;const u=S(i,w(r,t),n,o);return e.applyCachePolicy(s||{},{config:u,luvio:e},O,I)}}function k(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return v(e);let r,t;if(h(e)){for(t="[",r=0;r<e.length;r++)r&&(t+=","),t+=k(e[r])||"null";return t+"]"}if(null===e)return"null";const n=f(e).sort();for(t="",r=0;r<n.length;r++){const o=n[r],a=k(e[o]);a&&(t&&(t+=","),t+=v(o)+":"+a)}return"{"+t+"}"}function N(e){return[e.urlParams.apexClass.replace("__",g),e.urlParams.apexMethod,e.headers.xSFDCAllowContinuation,b(e.body)?"":k(e.body)].join(g)}function R(e,r){const{config:t}=e,{apexClass:n,apexMethod:o,xSFDCAllowContinuation:a,methodParams:s}=t;return r({recordId:A(n,o,a,s),node:{kind:"Fragment",opaque:!0,private:[],version:y},variables:{}})}function $(e,t,n,o){const a=N(n),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:y},variables:{}};if(F(o)){const r=function(e,r,t,n){const{body:o}=t,a=N(r),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:y},variables:{}};return e.storeIngest(a,C,o),e.storeLookup(s,n)}(e,n,o);return e.storeBroadcast().then(()=>r)}return Promise.resolve({recordId:a,variables:{},seenRecords:new r.StoreKeySet,select:s,state:"Fulfilled",data:o.body})}function E(e,t,n){const o=function(e){return{urlParams:{apexMethod:e.apexMethod,apexClass:e.apexClass},body:e.methodParams,headers:{xSFDCAllowContinuation:e.xSFDCAllowContinuation}}}(t),a=function(e){const r={},t=e.headers.xSFDCAllowContinuation;return void 0!==t&&(r["X-SFDC-Allow-Continuation"]=t),{baseUri:"/lwr/apex/v67.0",basePath:"/"+e.urlParams.apexClass+"/"+e.urlParams.apexMethod,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:r,priority:"normal"}}(o);return e.dispatchResourceRequest(a,n).then(t=>e.handleSuccessResponse(()=>$(e,0,o,t),()=>new r.StoreKeyMap),r=>e.handleErrorResponse(()=>function(e,r,t,n){return Promise.resolve(e.errorSnapshot(n))}(e,0,0,r)))}function J(e,r){const{luvio:t,config:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:s,sourceContext:i}=r,u={resourceRequestContext:{requestCorrelator:a,sourceContext:i},eventObservers:s};return"normal"!==o&&(u.overrides={priority:o}),E(t,n,u)}function L(e){if("Error"===e.state)throw e.error;return e.data}const K=(e,r,t)=>{const{namespace:n,classname:o,method:a,isContinuation:s}=r;return function(e){return(r,t)=>{const n=e(r,t);return Promise.resolve(n).then(L)}}(t(e,n,o,a,s))},V=(e,r)=>K(e,r,T),B=(e,r)=>K(e,r,M);function T(e,r,t,n,o){return(a,s)=>{const i=S(a,w(r,t),n,o);return e.applyCachePolicy(s||{},{config:i,luvio:e},R,J)}}const W=new Map;function X(e,r,t,n){return(o,a)=>{const s=function(e){return W.get(e)}(r),i=e(o,a);return null===i||void 0===s||a&&a.excludeFromPredictions||s.saveRequest({adapterName:"getApex",config:{name:n,invokerParams:t,config:o}}),i}}let z;n.withDefaultLuvio(e=>{z=e,t.bindWireRefresh(z)});e.GetApexWireAdapterFactory=j,e.getApexInvoker=function(e,r,n,o,a){const s=`getApex_${e}_${r}_${n}_${o}`,i={apiFamily:"Apex",name:s},u=a?B:V,c=t.createLDSAdapter(z,s,t=>u(t,{namespace:e,classname:r,method:n,isContinuation:o}));return c.adapter=t.createWireAdapterConstructor(z,t.createInstrumentedAdapter(X(t.createLDSAdapter(z,s,t=>j(t,{namespace:e,classname:r,method:n,isContinuation:o})),z,{namespace:e,classname:r,method:n,isContinuation:o},s),i),i),c},e.getApexInvoker_imperative=function(e,r,n,o){const a=`getApex_${e}_${r}_${n}_${o}`,s={apiFamily:"Apex",name:a},i=t.createInstrumentedAdapter(t.createLDSAdapter(z,a,t=>j(t,{namespace:e,classname:r,method:n,isContinuation:o})),s);return t.createImperativeAdapter(z,i,s)},e.getSObjectValue=function(e,r){if(!1==("object"==typeof(t=e)&&null!==t&&!1===a(t)))return;var t;const n=function(e){const r=e.indexOf(".");if(r<1)throw new TypeError("Value does not include an object API name.");return[e.substring(0,r),e.substring(r+1)]}(function(e){if("string"==typeof e)return e;if(e&&"string"==typeof e.objectApiName&&"string"==typeof e.fieldApiName)return e.objectApiName+"."+e.fieldApiName;throw new TypeError("Value is not a string or FieldId.")}(r))[1].split(".");let s=e;for(let e=0,r=n.length;e<r;e++){const r=n[e];if(!o.call(s,r))return;s=s[r]}return s},e.refreshApex=function(e){return t.refresh(e,"refreshApex")},e.registerPrefetcher=function(e,r){W.set(e,r)}
503,Object.defineProperty(e,"__esModule",{value:!0})});
504})();(function() { LWR.define("@salesforce/apex/embeddedservice.EmbeddedMessagingController.getBootstrapData",["exports","lwc","force/ldsAdaptersApex"],function(e,l,r){const t=r.getApexInvoker("embeddedservice","EmbeddedMessagingController","getBootstrapData","false"),o=l.registerComponent(t,{tmpl:void 0,sel:"@salesforce-326ul4e6ldjgqupe1rhqsb2rq2cgr2mps9imv67dhidqhha379fv5zjd24v4t7t9vlf7w9iflln7oiwglch5oryczpe21uyggbyox",apiVersion:66,enableSyntheticElementInternals:!0});e.default=o,Object.defineProperty(e,"__esModule",{value:!0})});
505})();LWR.define('@salesforce/gate/com.salesforce.esw.embeddedMessaging.hasCommunityAccessTokenEndPointSupport', [], () => {const gateObj = {
506    isOpen: (fallbackObj) => true,
507    hasError: () => false,
508};
509return Object.freeze(gateObj);});(function() { LWR.define("experience_messaging/common",["exports"],function(e){const t={Hidden:Boolean(!0),Visible:Boolean(!1),Default:void 0},n=(new Map).set("zh-Hans-CN","zh-CN").set("zh-Hans-SG","zh-SG").set("zh-Hant-HK","zh-HK").set("zh-Hant-TW","zh-TW").set("sr-Latn","sh");e.BrandingDefaults={buttonColor:"#2E2E2E",buttonTextColor:"#FFFFFF",buttonLabel:"Ask Me Anything"},e.ButtonVisibility=t,e.ClientVersion={WebV0:"WebV0",WebV1:"WebV1",WebV2:"WebV2"},e.HTML_LANG_TO_SFDC_LANG=n,e.Selector={EMBEDDED_CHAT:"embeddedServiceHelpButton",CHANNEL_MENU:"embedded-service",EMBEDDED_MSG:"embedded-messaging",BOOTSTRAP_SCRIPT:"embeddedMessagingBootstrapScript",BOOTSTRAP_CSS_NAME:"embeddedMessagingBootstrapStyles"},e.events={EMBEDDED_MESSAGING_SNIPPET_DATA_LOADED:"snippet_data_loaded"},Object.defineProperty(e,"__esModule",{value:!0})});
510})();LWR.define('@salesforce/user/Id', ['@app/user'], function(m) { return (m && typeof m === 'object' && 'default' in m ? m.default : m)['id'] });LWR.define('@salesforce/user/isGuest', ['@app/user'], function(m) { return (m && typeof m === 'object' && 'default' in m ? m.default : m)['isGuest'] });(function() { LWR.define("experience_messaging/eventStore",["exports"],function(e){const n=new class{constructor(){this.eventHandlerMap={}}_assignHandler(e,n){if(!e)throw new Error(`Expected an eventName parameter with a string value. Instead received ${e}.`);if(!n)throw new Error(`Expected an eventHandler parameter with a function value. Instead received ${n}.`);if("function"!=typeof n)throw new Error("The event handler function parameter passed to assignHandler was not of type 'function'.");this.eventHandlerMap[e]||(this.eventHandlerMap[e]=[]),this.eventHandlerMap[e].push(n)}_dispatchEvent(e,n){if(!e)throw new Error(`Expected an eventName parameter with a string value. Instead received ${e}.`);if(!n)throw new Error(`Expected an eventData parameter to be an object. Instead received ${n}.`);try{Object.prototype.hasOwnProperty.call(this.eventHandlerMap,e)&&this.eventHandlerMap[e].forEach(e=>{e(n)})}catch(n){throw new Error("Error thrown while invoking handler for "+e+": "+n)}}_getEventHandlerMap(){return this.eventHandlerMap}_clearHandlersForEvent(e){if(!e)throw new Error("The event name parameter passed to assignHandler is "+e+".");delete this.eventHandlerMap[e]}_clearEventHandlerMap(){this.eventHandlerMap={}}};e.assignHandler=(e,r)=>{n._assignHandler(e,r)},e.clearEventHandlerMap=()=>{n._clearEventHandlerMap()},e.clearHandlersForEvent=e=>{n._clearHandlersForEvent(e)},e.dispatchEvent=(e,r)=>n._dispatchEvent(e,r),e.getEventHandlerMap=()=>n._getEventHandlerMap(),Object.defineProperty(e,"__esModule",{value:!0})});
511})();LWR.define('@salesforce/gate/com.salesforce.mobile.publisher.container.navigation.agent', [], () => {const gateObj = {
512    isOpen: (fallbackObj) => false,
513    hasError: () => false,
514};
515return Object.freeze(gateObj);});(function() { LWR.define("community_runtime/utils",["exports","@salesforce/gate/com.salesforce.mobile.publisher.container.navigation.agent"],function(e,n){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=t(n);const r="CommunityHybridContainer",i="playgroundcommunity";function l(e){return null==e}const c=e=>"function"==typeof e?.openAgentforce;function s(){const e=globalThis.__nimbus?.plugins?.agentforceService;if(c(e))return e;try{const e=globalThis.parent?.__nimbus?.plugins?.agentforceService;if(c(e))return e}catch(e){console.warn("Mobile Publisher: Access to parent window denied or restricted.",e)}return null}
515e.debounce=function(e,n){return function t(){t.pending||(t.pending=!0,setTimeout(()=>{e(),t.pending=!1},n))}},e.fetchJson=async function(e,n){const t="application/json; charset=UTF-8";try{let o=null;if(o=l(n)?await fetch(e,{method:"GET"}):await fetch(e,{body:JSON.stringify(n),cache:"no-cache",credentials:"same-origin",headers:{Accept:t,"Content-Type":t},method:"POST"}),o){if(o.ok)return await o.json();throw new Error("Bad request")}return null}catch(e){return null}},e.getAppVersion=function(){return null!==$A?$A.storageService.version:"44.0"},e.hasModifierKey=function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey},e.isAgentForceNimbusPluginAvailable=function(){try{return!!s()}catch(e){return console.error("Mobile Publisher: Unexpected error while checking AgentForce availability",e),!1}},e.isAgentNavigationEnabled=function(){return o.default.isOpen({fallback:!1})},e.isMobilePublisherApp=function(){const e=navigator?.userAgent||"";return Boolean(e&&(e.includes(r)||e.includes(i)))},e.isUndefinedOrNull=l,e.launchAgentforceForMobilePublisher=function(e){const n={organizationId:e.orgId,developerName:e.mobileDeploymentName,scrtUrl:e.scrt2URL,hostUrl:e.hostExperienceSiteURL,siteUrl:e.siteDeploymentURL,serviceConfigUrl:e.serviceConfigUrl};try{console.log("Mobile Publisher: Opening native AgentForce panel.");const e=s();if(!e)return void console.warn("Mobile Publisher: AgentForce service not available (nimbus plugin not found)");e.openAgentforce(n,(e,n)=>{n?console.error("Mobile Publisher: Failed to open AgentForce panel"):console.log("Mobile Publisher: Successfully opened AgentForce panel")})}catch(e){throw console.error("Mobile Publisher: Failed to open native AgentForce panel",e),e}},e.squash=function(e){e.preventDefault(),e.stopPropagation()},e.throttle=function(e,n){let t=!1;return function(...o){t||(t=!0,setTimeout(()=>t=!1,n),e.apply(this,o))}},Object.defineProperty(e,"__esModule",{value:!0})});
516})();(function() { LWR.define("experience_messaging/scrtService",["exports"],function(e){const o="GET",n="embeddedservice",t=e=>fetch(e,{method:o,mode:"cors"}).then(e=>{if(!e.ok)throw e;return e.json()}).catch(e=>{console.error(e)}),r=(e,o,t,r)=>`${e}/${n}/v1/embedded-service-config?orgId=${o}&esConfigName=${t}&language=${r}`;e.IN_APP_CONFIG_API_PREFIX=n,e.IN_APP_CONFIG_API_VERSION="v1",e.buildConfigurationDataURL=r,e.fetchConfigurationData=(e,o,n,c)=>{const i=r(e,o,n,c);return t(i)},e.sendGetRequest=t,Object.defineProperty(e,"__esModule",{value:!0})});
517})();(function() { LWR.define("experience_messaging/mobilePublisherFab",["exports","lwc","community_runtime/utils","experience_messaging/scrtService","experience_messaging/common","@salesforce/i18n/lang","@salesforce/label/EmbeddedMessagingMobilePublisher.MobileFab"],function(e,t,n,a,i,o,r){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(o),c=s(r);var d=[function(e,t,n){var a=e?"["+e+"]":"",i=e?"-"+e:"";return".mp-fab-wrapper"+a+" {display: block;position: fixed;background: transparent;box-shadow: none;overflow: visible;font-family: sans-serif;top: 0;left: 0;z-index: 999;pointer-events: none;}.mp-fab-container"+a+" {position: fixed;bottom: var(--mp-fab-bottom, 24px);right: var(--mp-fab-right, 24px);z-index: 1000;display: inline-flex;height: 56px;align-items: center;justify-content: center;border-radius: 20px;padding: 1rem 1.5rem;transition: all 300ms ease-in-out;background-color: var(--button-color, #2e2e2e);cursor: pointer;box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n 0 2px 4px rgba(0, 0, 0, 0.1);opacity: 0;transform: translateY(50px);pointer-events: auto;}.mp-fab-content"+a+" {display: flex;align-items: center;}.mp-fab-text-container"+a+" {display: flex;align-items: center;justify-content: center;border-radius: 12px;padding: 0.5rem 0;}.mp-fab-text"+a+" {font-family: 'Avant Garde', sans-serif;display: flex;align-items: center;justify-content: center;font-size: 16px;font-weight: bold;letter-spacing: 0.02px;white-space: nowrap;user-select: none;color: var(--button-text-color, #ffffff);}.mp-fab-button"+a+" {display: flex;cursor: pointer;align-items: center;justify-content: center;border-radius: 50%;padding: 0.625rem 0 0.625rem 0.75rem;transition: all 300ms ease-in-out;color: black;border: none;background: none;}
517.mp-fab-icon"+a+" {width: 20px;height: 20px;}.mp-fab-icon"+a+" path"+a+" {fill: var(--button-text-color, #ffffff);}.fade-in-bottom"+a+" {-webkit-animation: fade-in-bottom"+i+" 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation: fade-in-bottom"+i+" 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;}@-webkit-keyframes fade-in-bottom {0%"+a+" {-webkit-transform: translateY(50px);transform: translateY(50px);opacity: 0;}100%"+a+" {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1;}}@keyframes fade-in-bottom"+i+" {0% {-webkit-transform: translateY(50px);transform: translateY(50px);opacity: 0;}100% {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1;}}"}];const b=t.parseFragment`<section class="mp-fab-wrapper${0}"${2}><div${"c1"} role="button" tabindex="0"${"a1:aria-label"}${2}><div class="mp-fab-content${0}"${2}><div class="mp-fab-text-container${0}"${2}><div class="mp-fab-text${0}"${2}>${"t5"}</div></div><div class="mp-fab-button${0}"${2}><svg class="mp-fab-icon${0}" aria-hidden="true" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"${2}><path fill="currentColor" d="M10 1.25C14.8325 1.25 18.75 5.16751 18.75 10C18.75 11.3951 18.4213 12.7154 17.8389 13.8877L18.7217 17.5137C18.8042 17.8528 18.7038 18.2103 18.457 18.457C18.2103 18.7038 17.8528 18.8042 17.5137 18.7217L13.8877 17.8389C12.7154 18.4213 11.3951 18.75 10 18.75C5.16751 18.75 1.25 14.8325 1.25 10C1.25 5.16751 5.16751 1.25 10 1.25ZM10 3.25C6.27208 3.25 3.25 6.27208 3.25 10C3.25 13.7279 6.27208 16.75 10 16.75C11.1896 16.75 12.3049 16.4434 13.2734 15.9053L13.3574 15.8633C13.5573 15.7757 13.7814 15.7556 13.9951 15.8076L16.3896 16.3896L15.8076 13.9951C15.7482 13.7508 15.7832 13.4932 15.9053 13.2734C16.4434 12.3049 16.75 11.1896 16.75 10C16.75 6.27208 13.7279 3.25 10 3.25Z"${3}/></svg></div></div></div></section>`;function p(e,t,n,a){const{b:i,ncls:o,d:r,sp:s,st:l}=e,{_m0:c}=a;return[l(b,1,[s(1,{on:c||(a._m0={click:i(t.handleFabClick),keydown:i(t.handleFabKeydown)}),className:o(t.fabContainerClass),attrs:{"aria-label":t.fabButtonLabel}},null),s(5,null,r(t.fabButtonLabel))])]}var f=t.registerTemplate(p);p.stylesheets=[],p.stylesheetToken="lwc-1g3t63n6ngr",p.legacyStylesheetToken="experience_messaging-mobilePublisherFab_mobilePublisherFab",d&&p.stylesheets.push.apply(p.stylesheets,d),t.freezeTemplate(p);class u extends t.LightningElement{constructor(...e){super(...e),this.launchContext=void 0,this.isBrandingApplied=!1}get fabButtonLabel(){return c.default}get fabContainerClass(){return"mp-fab-container"+(this.isBrandingApplied?" fade-in-bottom":"")}connectedCallback(){this.validateAndFetchBranding()}async validateAndFetchBranding(){await this.isMobileDeploymentActive()?this.fetchBrandingFromWebDeployment():console.warn("[Mobile Publisher FAB] Mobile deployment is not active. FAB will not be displayed.")}async isMobileDeploymentActive(){if(!(this.launchContext&&this.launchContext.scrt2URL&&this.launchContext.orgId&&this.launchContext.mobileDeploymentName))return!0;try{const e=await a.fetchConfigurationData(this.launchContext.scrt2URL,this.launchContext.orgId,this.launchContext.mobileDeploymentName,l.default);return!!e?.embeddedServiceConfig}catch(e){return console.error("[Mobile Publisher FAB] Failed to validate mobile deployment status:",e),!0}}fetchBrandingFromWebDeployment(){if(!(this.launchContext&&this.launchContext.scrt2URL&&this.launchContext.orgId&&this.launchContext.deploymentName))return console.error("[Mobile Publisher FAB] Missing required launch context params. Using default branding."),void this.applyBranding(i.BrandingDefaults.buttonColor,i.BrandingDefaults.buttonTextColor);a.fetchConfigurationData(this.launchContext.scrt2URL,this.launchContext.orgId,this.launchContext.deploymentName,l.default).then(e=>{if(e&&e.embeddedServiceConfig&&e.embeddedServiceConfig.branding){const t=e.embeddedServiceConfig.branding,n=this.getBrandingTokenValue(t,"chatButton")||i.BrandingDefaults.buttonColor,a=this.getBrandingTokenValue(t,"invitationText")||i.BrandingDefaults.buttonTextColor;this.applyBranding(n,a)}else this.applyBranding(i.BrandingDefaults.buttonColor,i.BrandingDefaults.buttonTextColor)}).catch(e=>{console.error("[Mobile Publisher FAB] Error fetching branding config, using defaults:",e),this.applyBranding(i.BrandingDefaults.buttonColor,i.BrandingDefaults.buttonTextColor)})}getBrandingTokenValue(e,t){if(!Array.isArray(e))return;const n=e.find(e=>e?.n===t);return n?.v}applyBranding(e,t){const n=this.template.host;n&&(n.style.setProperty("--button-color",e),n.style.setProperty("--button-text-color",t)),this.isBrandingApplied=!0}handleFabClick(){this.launchContext&&n.launchAgentforceForMobilePublisher(this.lau
517nchContext)}handleFabKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.handleFabClick())}}t.registerDecorators(u,{publicProps:{launchContext:{config:0}},fields:["isBrandingApplied"]});const m=t.registerComponent(u,{tmpl:f,sel:"experience_messaging-mobile-publisher-fab",apiVersion:66,enableSyntheticElementInternals:!0});e.default=m,Object.defineProperty(e,"__esModule",{value:!0})});
518})();(function() { LWR.define("experience_messaging/embeddedMessaging",["exports","lwc","@salesforce/apex/embeddedservice.EmbeddedMessagingController.getBootstrapData","@salesforce/gate/com.salesforce.esw.embeddedMessaging.hasCommunityAccessTokenEndPointSupport","experience_messaging/common","@salesforce/i18n/lang","@salesforce/user/Id","@salesforce/user/isGuest","experience_messaging/eventStore","@salesforce/community/basePath","community_runtime/utils","experience_messaging/mobilePublisherFab","experience_messaging/scrtService"],function(e,t,i,o,n,s,d,a,r,l,c,h,g){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=p(i),b=p(o),u=p(s),_=p(d),f=p(a),E=p(l),w=p(h);const C="AURA",v="LWR",S="inline",y="default";class D extends t.LightningElement{get mobileDeploymentName(){return this._mobileDeploymentName}set mobileDeploymentName(e){this._mobileDeploymentName=e}get hideChatButtonOnLoad(){return this._hideChatButtonOnLoad}set hideChatButtonOnLoad(e){this._hideChatButtonOnLoad=e}get orgId(){return this._orgId}set orgId(e){this._orgId=e}get baseCoreUrl(){return this._baseCoreUrl}set baseCoreUrl(e){this._baseCoreUrl=e}getBootstrapData({data:e}){e&&(this._orgId=e.organizationId,this._baseCoreUrl=e.baseCoreUrl,r.dispatchEvent(n.events.EMBEDDED_MESSAGING_SNIPPET_DATA_LOADED,{}))}constructor(){super(),this.clientVersion=void 0,this.deploymentName=void 0,this._mobileDeploymentName=void 0,this.scrtUrl=void 0,this.siteEndpoint=void 0,this.displayMode=y,this.disableAutoLaunch=void 0,this._hideChatButtonOnLoad=void 0,this._orgId=void 0,this._baseCoreUrl=void 0,this.isExpSiteAuthMode=void 0,this.userId=_.default,this.isExpSiteGuestUser=Boolean(f.default),r.assignHandler(n.events.EMBEDDED_MESSAGING_SNIPPET_DATA_LOADED,this.onSnippetDataLoaded.bind(this))}disconnectedCallback(){try{this.cleanUpComponent()}catch(e){console.log("[Embedded Messaging] Something went wrong on component destroy.")}}errorCallback(e,t){try{console.warn(`[Embedded Messaging] Error encountered in component lifecycle: ${e}`),console.warn(`[Embedded Messaging] Stacktrace: ${t}`),this.cleanUpComponent()}catch(e){console.log("[Embedded Messaging] Something went wrong on component error handling.")}}cleanUpComponent(){r.clearEventHandlerMap(),this.cleanUpWindowEventHandlers(),this.cleanUpDOMElements()}cleanUpDOMElements(){let e;this._mobileFab&&this._mobileFab.parentNode&&(this._mobileFab.parentNode.removeChild(this._mobileFab),this._mobileFab=null),Object.values(n.Selector).forEach(t=>{e=document.querySelectorAll("."+t,"#"+t),e.length>0&&e.forEach(e=>{e&&e.parentNode.removeChild(e)})}),window.embeddedservice_bootstrap&&"function"==typeof window.embeddedservice_bootstrap.removeMarkup&&window.embeddedservice_bootstrap.removeMarkup(!0),window.embeddedservice_bootstrap=void 0,window.agentforce_messaging=void 0}cleanUpWindowEventHandlers(){window.embeddedservice_bootstrap&&"function"==typeof window.embeddedservice_bootstrap.removeEventHandlers&&window.embeddedservice_bootstrap.removeEventHandlers()}shouldLaunchMobilePublisherAgentforce(){return c.isAgentForceNimbusPluginAvailable()&&this.clientVersion===n.ClientVersion.WebV2&&c.isMobilePublisherApp()&&!!this.mobileDeploymentName}onSnippetDataLoaded(){this.shouldLaunchMobilePublisherAgentforce()?this.createMobilePublisherFab():this.appendBootstrapScript()}createMobilePublisherFab(){if(this._mobileFab)return void console.log("[Embedded Messaging] Duplicate MP FAB component detected");console.log("[Mobile Publisher] Creating Mobile Publisher FAB.");const e=E.default.endsWith("/s")?E.default.substring(0,E.default.length-2):E.default,i={orgId:this._orgId,deploymentName:this.deploymentName,mobileDeploymentName:this.mobileDeploymentName,scrt2URL:this.scrtUrl,serviceConfigUrl:g.buildConfigurationDataURL(this.scrtUrl,this._orgId,this.deploymentName,this.get
518SFDCLanguage()),hostExperienceSiteURL:window.location.origin+(e||""),siteDeploymentURL:this.siteEndpoint};this._mobileFab=t.createElement("experience_messaging-mobile-publisher-fab",{is:w.default}),this._mobileFab.launchContext=i,document.body.appendChild(this._mobileFab)}appendBootstrapScript(){const e="/assets/js/bootstrap.min.js";window.embeddedservice_bootstrap?console.warn("[Embedded Messaging] Duplicate component detected"):this.appendScript(this.siteEndpoint+e,n.Selector.BOOTSTRAP_SCRIPT,this.onLoadCallback.bind(this),()=>{this.appendScript(this.siteEndpoint+e,n.Selector.BOOTSTRAP_SCRIPT,this.onLoadCallback.bind(this),this.onBootstrapError.bind(this,e))})}appendScript(e,t,i,o){const n=document.createElement("script");n.type="text/javascript",n.className=t,n.src=e,n.onload=i||function(){},n.onerror=o||function(){},document.body.appendChild(n)}getCurrentExpSiteContext(){return void 0!==window.LWR?v:window.$A&&"function"==typeof window.$A.get&&window.$A.get("$Site")?C:void 0}getTopContainerElement(){return document.body.querySelector("experience_messaging-embedded-messaging")}isCredentialUserVerificationEnabled(){return b.default.isOpen({fallback:!1})}onLoadCallback(){try{window.embeddedservice_bootstrap.settings.language=this.getSFDCLanguage();let e=E.default.endsWith("/s")?E.default.substring(0,E.default.length-2):E.default;e.endsWith(this.getSFDCLanguage())&&(e=e.substring(0,e.length-this.getSFDCLanguage().length-1));let t={scrt2URL:this.scrtUrl};if(window.embeddedservice_bootstrap.settings.hideChatButtonOnLoad=n.ButtonVisibility[this.hideChatButtonOnLoad],this.clientVersion!==n.ClientVersion.WebV2&&(window.embeddedservice_bootstrap.settings.omitSandbox=!0),window.embeddedservice_bootstrap.settings.expSiteAuthMode=Boolean(this.isCredentialUserVerificationEnabled()&&this.isExpSiteAuthMode),t={...t,expSiteContext:this.getCurrentExpSiteContext(),expSiteUrl:window.location.origin+(e||""),userId:this.userId,isExpSiteGuestUser:this.isExpSiteGuestUser},this.displayMode===S){window.embeddedservice_bootstrap.settings.displayMode=S,window.embeddedservice_bootstrap.settings.targetElement=this.template.getRootNode(),window.embeddedservice_bootstrap.settings.disableLaunchChatOnInit=this.disableAutoLaunch;const e=this.getTopContainerElement();e&&(e.style.height="100%",e.style.width="100%")}window.embeddedservice_bootstrap.init(this.orgId,this.deploymentName,this.siteEndpoint,t)}catch(e){console.error(`[Embedded Messaging] Error loading Embedded Messaging: ${e}`)}}onBootstrapError(e){console.error(`[Embedded Messaging] ${e} failed to load.`)}getSFDCLanguage(){return n.HTML_LANG_TO_SFDC_LANG.has(u.default)?n.HTML_LANG_TO_SFDC_LANG.get(u.default):u.default}}t.registerDecorators(D,{publicProps:{clientVersion:{config:0},deploymentName:{config:0},mobileDeploymentName:{config:3},scrtUrl:{config:0},siteEndpoint:{config:0},displayMode:{config:0},disableAutoLaunch:{config:0},hideChatButtonOnLoad:{config:3},orgId:{config:3},baseCoreUrl:{config:3},isExpSiteAuthMode:{config:0}},wire:{getBootstrapData:{adapter:m.default,method:1,config:function(e){return{}}}},fields:["_mobileDeploymentName","_hideChatButtonOnLoad","_orgId","_baseCoreUrl","userId","isExpSiteGuestUser"]});const L=t.registerComponent(D,{tmpl:void 0,sel:"experience_messaging-embedded-messaging",apiVersion:66,enableSyntheticElementInternals:!0});e.default=L,Object.defineProperty(e,"__esModule",{value:!0})});
519})();(function() { LWR.define("lightning/sldsUtilsGrid",["exports"],function(d){var s=[function(d,s,e){var a=d?"["+d+"]":"",r=d?"["+d+"-host]":"";return[s?":host([data-render-mode='shadow']) .slds-grid"+a+",:host([data-render-mode='shadow'].slds-grid) {":r+"[data-render-mode='shadow'] .slds-grid"+a+","+r+".slds-grid[data-render-mode='shadow'] {","display: flex;}",s?":host([data-render-mode='shadow']) .slds-grid_frame"+a+",:host([data-render-mode='shadow'].slds-grid_frame) {":r+"[data-render-mode='shadow'] .slds-grid_frame"+a+","+r+".slds-grid_frame[data-render-mode='shadow'] {","min-width: 100vw;min-height: 100vh;overflow: hidden;}",s?":host([data-render-mode='shadow']) .slds-grid_vertical"+a+",:host([data-render-mode='shadow'].slds-grid_vertical) {":r+"[data-render-mode='shadow'] .slds-grid_vertical"+a+","+r+".slds-grid_vertical[data-render-mode='shadow'] {","flex-direction: column;}",s?":host([data-render-mode='shadow']) .slds-grid_vertical-reverse"+a+",:host([data-render-mode='shadow'].slds-grid_vertical-reverse) {":r+"[data-render-mode='shadow'] .slds-grid_vertical-reverse"+a+","+r+".slds-grid_vertical-reverse[data-render-mode='shadow'] {","flex-direction: column-reverse;}",s?":host([data-render-mode='shadow']) .slds-grid_reverse"+a+",:host([data-render-mode='shadow'].slds-grid_reverse) {":r+"[data-render-mode='shadow'] .slds-grid_reverse"+a+","+r+".slds-grid_reverse[data-render-mode='shadow'] {","flex-direction: row-reverse;}",s?":host([data-render-mode='shadow']) .slds-wrap"+a+",:host([data-render-mode='shadow'].slds-wrap) {":r+"[data-render-mode='shadow'] .slds-wrap"+a+","+r+".slds-wrap[data-render-mode='shadow'] {","flex-wrap: wrap;align-items: flex-start;}",s?":host([data-render-mode='shadow']) .slds-nowrap"+a+",:host([data-render-mode='shadow'].slds-nowrap) {":r+"[data-render-mode='shadow'] .slds-nowrap"+a+","+r+".slds-nowrap[data-render-mode='shadow'] {","flex: 1 1 auto;flex-wrap: nowrap;align-items: stretch;}@media (min-width: 30em) {",s?":host([data-render-mode='shadow']) .slds-nowrap_small"+a+", :host([data-render-mode='shadow'].slds-nowrap_small) {":r+"[data-render-mode='shadow'] .slds-nowrap_small"+a+","+r+".slds-nowrap_small[data-render-mode='shadow'] {","flex: 1 1 auto;flex-wrap: nowrap;align-items: stretch;}}@media (min-width: 48em) {",s?":host([data-render-mode='shadow']) .slds-nowrap_medium"+a+", :host([data-render-mode='shadow'].slds-nowrap_medium) {":r+"[data-render-mode='shadow'] .slds-nowrap_medium"+a+","+r+".slds-nowrap_medium[data-render-mode='shadow'] {","flex: 1 1 auto;flex-wrap: nowrap;align-items: stretch;}}@media (min-width: 64em) {",s?":host([data-render-mode='shadow']) .slds-nowrap_large"+a+", :host([data-render-mode='shadow'].slds-nowrap_large) {":r+"[data-render-mode='shadow'] .slds-nowrap_large"+a+","+r+".slds-nowrap_large[data-render-mode='shadow'] {","flex: 1 1 auto;flex-wrap: nowrap;align-items: stretch;}}",s?":host([data-render-mode='shadow']) .slds-gutters"+a+",:host([data-render-mode='shadow'].slds-gutters) {":r+"[data-render-mode='shadow'] .slds-gutters"+a+","+r+".slds-gutters[data-render-mode='shadow'] {","margin-inline-end: (var(--slds-g-spacing-3, 0.75rem) * -1);margin-inline-start: (var(--slds-g-spacing-3, 0.75rem) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters"+a+" .slds-col"+a+",:host([data-render-mode='shadow'].slds-gutters) .slds-col":r+"[data-render-mode='shadow'] .slds-gutters"+a+" .slds-col"+a+","+r+".slds-gutters[data-render-mode='shadow'] .slds-col",a," {padding-inline-end: var(--slds-g-sizing-4);padding-inline-start: var(--slds-g-sizing-4);}",s?":host([data-render-mode='shadow']) .slds-col"+a+",:host([data-render-mode='shadow'].slds-col),:host([data-render-mode='shadow']) [class*='slds-col_padded']"+a+",:host([data-render-mode='shadow'][class*='slds-col_padded']) {":r+"[data-render-mode='shadow'] .slds-col"+a+","+r+".slds-col[data-render-mode='shadow'],"+r+"[data-render-mode='shadow'] [class*='slds-col_padded']"+a+","+r+"[class*='slds-col_padded'][data-render-mode='shadow'] {","flex: 1 1 auto;}",s?":host([data-render-mode='shadow']) .slds-has-flexi-truncate"+a+",:host([data-render-mode='shadow'].slds-has-flexi-truncate) {":r+"[data-render-mode='shadow'] .slds-has-flexi-truncate"+a+","+r+".slds-has-flexi-truncate[data-render-mode='shadow'] {","flex: 1 1 0%;min-width: 0;}",s?":host([data-render-mode='shadow']) .slds-no-flex"+a+",:host([data-render-mode='shadow'].slds-no-flex) {":r+"[data-render-mode='shadow'] .slds-no-flex"+a+","+r+".slds-no-flex[data-render-mode='shadow'] {","flex: none;}",s?":host([data-render-mode='shadow']) .slds-no-space"+a+",:host([data-render-mode='shadow'].slds-no-space) {":r+"[data-render-mode='shadow'] .slds-no-space"+a+","+r+".slds-no-space[data-render-mode='shadow'] {","min-width: 0;}",s?":host([data-render-mode='shadow']) .slds-grow"+a+",:host([data-render-mode='shadow'].slds-grow) {":r+"[data-render-mode='shadow'] .slds-grow"+a+","+r+".slds-grow[data-render-mode='shadow'] {","flex-grow: 1;}",s?":host([data-render-mode='shadow']) .slds-grow-none"+a+",:host([data-render-mode='shadow'].slds-grow-none) {":r+"[data-render-mode='shadow'] .slds-grow-none"+a+","+r+".slds-grow-none[data-render-mode='shadow'] {","flex-grow: 0;}",s?":host([data-render-mode='shadow']) .slds-shrink"+a+",:host([data-render-mode='shadow'].slds-shrink) {":r+"[data-render-mode='shadow'] .slds-shrink"+a+","+r+".slds-shrink[data-render-mode='shadow'] {","flex-shrink: 1;}",s?":host([data-render-mode='shadow']) .slds-shrink-none"+a+",:host([data-render-mode='shadow'].slds-shrink-none) {":r+"[data-render-mode='shadow'] .slds-shrink-none"+a+","+r+".slds-shrink-none[data-render-mode='shadow'] {","flex-shrink: 0;}",s?":host([data-render-mode='shadow']) .slds-grid_align-center"+a+" .slds-col"+a+",:host([data-render-mode='shadow']) .slds-grid_align-space"+a+" .slds-col"+a+",:host([data-render-mode='shadow']) .slds-grid_align-spread"+a+" .slds-col"+a+",:host([data-render-mode='shadow']) .slds-grid_align-end"+a+" .slds-col"+a+",:host([data-render-mode='shadow'].slds-grid_align-center) .slds-col"+a+",:host([data-render-mode='shadow'].slds-grid_align-space) .slds-col"+a+",:host([data-render-mode='shadow'].slds-grid_align-spread) .slds-col"+a+",:host([data-render-mode='shadow'].slds-grid_align-end) .slds-col":r+"[data-render-mode='shadow'] .slds-grid_align-center"+a+" .slds-col"+a+","+r+"[data-render-mode='shadow'] .slds-grid_align-space"+a+" .slds-col"+a+","+r+"[data-render-mode='shadow'] .slds-grid_align-spread"+a+" .slds-col"+a+","+r+"[data-render-mode='shadow'] .slds-grid_align-end"+a+" .slds-col"+a+","+r+".slds-grid_align-center[data-render-mode='shadow'] .slds-col"+a+","+r+".slds-grid_align-space[data-render-mode='shadow'] .slds-col"+a+","+r+".slds-grid_align-spread[data-render-mode='shadow'] .slds-col"+a+","+r+".slds-grid_align-end[data-render-mode='shadow'] .slds-col",a," {flex-grow: 0;}",s?":host([data-render-mode='shadow']) .slds-grid_align-center"+a+",:host([data-render-mode='shadow'].slds-grid_align-center) {":r+"[data-render-mode='shadow'] .slds-grid_align-center"+a+","+r+".slds-grid_align-center[data-render-mode='shadow'] {","justify-content: center;}",s?":host([data-render-mode='shadow']) .slds-grid_align-space"+a+",:host([data-render-mode='shadow'].slds-grid_align-space) {":r+"[data-render-mode='shadow'] .slds-grid_align-space"+a+","+r+".slds-grid_align-space[data-render-mode='shadow'] {","justify-content: space-around;}",s?":host([data-render-mode='shadow']) .slds-grid_align-spread"+a+",:host([data-render-mode='shadow'].slds-grid_align-spread) {":r+"[data-render-mode='shadow'] .slds-grid_align-spread"+a+","+r+".slds-grid_align-spread[data-render-mode='shadow'] {","justify-content: space-between;}",s?":host([data-render-mode='shadow']) .slds-grid_align-end"+a+",:host([data-render-mode='shadow'].slds-grid_align-end) {":r+"[data-render-mode='shadow'] .slds-grid_align-end"+a+","+r+".slds-grid_align-end[data-render-mode='shadow'] {","justify-content: flex-end;}",s?":host([data-render-mode='shadow']) .slds-grid_vertical-align-start"+a+",:host([data-render-mode='shadow'].slds-grid_vertical-align-start) {":r+"[data-render-mode='shadow'] .slds-grid_vertical-align-start"+a+","+r+".slds-grid_vertical-align-start[data-render-mode='shadow'] {","align-items: flex-start;align-content: flex-start;}",s?":host([data-render-mode='shadow']) .slds-grid_vertical-align-center"+a+",:host([data-render-mode='shadow'].slds-grid_vertical-align-center) {":r+"[data-render-mode='shadow'] .slds-grid_vertical-align-center"+a+","+r+".slds-grid_vertical-align-center[data-render-mode='shadow'] {","align-items: center;align-content: center;}",s?":host([data-render-mode='shadow']) .slds-grid_vertical-align-en
519d"+a+",:host([data-render-mode='shadow'].slds-grid_vertical-align-end) {":r+"[data-render-mode='shadow'] .slds-grid_vertical-align-end"+a+","+r+".slds-grid_vertical-align-end[data-render-mode='shadow'] {","align-items: flex-end;align-content: flex-end;}",s?":host([data-render-mode='shadow']) .slds-grid_vertical-stretch"+a+",:host([data-render-mode='shadow'].slds-grid_vertical-stretch) {":r+"[data-render-mode='shadow'] .slds-grid_vertical-stretch"+a+","+r+".slds-grid_vertical-stretch[data-render-mode='shadow'] {","align-items: stretch;align-content: stretch;}",s?":host([data-render-mode='shadow']) .slds-grid_pull-padded"+a+",:host([data-render-mode='shadow'].slds-grid_pull-padded) {":r+"[data-render-mode='shadow'] .slds-grid_pull-padded"+a+","+r+".slds-grid_pull-padded[data-render-mode='shadow'] {","margin-inline-end: (var(--slds-g-spacing-3, 0.75rem) * -1);margin-inline-start: (var(--slds-g-spacing-3, 0.75rem) * -1);}",s?":host([data-render-mode='shadow']) .slds-grid_pull-padded-medium"+a+",:host([data-render-mode='shadow'].slds-grid_pull-padded-medium) {":r+"[data-render-mode='shadow'] .slds-grid_pull-padded-medium"+a+","+r+".slds-grid_pull-padded-medium[data-render-mode='shadow'] {","margin-inline-end: (var(--slds-g-spacing-4, 1rem) * -1);margin-inline-start: (var(--slds-g-spacing-4, 1rem) * -1);}",s?":host([data-render-mode='shadow']) .slds-grid_pull-padded-large"+a+",:host([data-render-mode='shadow'].slds-grid_pull-padded-large) {":r+"[data-render-mode='shadow'] .slds-grid_pull-padded-large"+a+","+r+".slds-grid_pull-padded-large[data-render-mode='shadow'] {","margin-inline-end: (var(--slds-g-spacing-5, 1.5rem) * -1);margin-inline-start: (var(--slds-g-spacing-5, 1.5rem) * -1);}",s?":host([data-render-mode='shadow']) .slds-align-top"+a+",:host([data-render-mode='shadow'].slds-align-top) {":r+"[data-render-mode='shadow'] .slds-align-top"+a+","+r+".slds-align-top[data-render-mode='shadow'] {","vertical-align: top;align-self: flex-start;}",s?":host([data-render-mode='shadow']) .slds-align-middle"+a+",:host([data-render-mode='shadow'].slds-align-middle) {":r+"[data-render-mode='shadow'] .slds-align-middle"+a+","+r+".slds-align-middle[data-render-mode='shadow'] {","vertical-align: middle;align-self: center;}",s?":host([data-render-mode='shadow']) .slds-align-bottom"+a+",:host([data-render-mode='shadow'].slds-align-bottom) {":r+"[data-render-mode='shadow'] .slds-align-bottom"+a+","+r+".slds-align-bottom[data-render-mode='shadow'] {","vertical-align: bottom;align-self: flex-end;}",s?":host([data-render-mode='shadow']) .slds-col_bump-top"+a+",:host([data-render-mode='shadow'].slds-col_bump-top) {":r+"[data-render-mode='shadow'] .slds-col_bump-top"+a+","+r+".slds-col_bump-top[data-render-mode='shadow'] {","margin-block-start: auto;}",s?":host([data-render-mode='shadow']) .slds-col_bump-right"+a+",:host([data-render-mode='shadow'].slds-col_bump-right) {":r+"[data-render-mode='shadow'] .slds-col_bump-right"+a+","+r+".slds-col_bump-right[data-render-mode='shadow'] {","margin-inline-end: auto;}",s?":host([data-render-mode='shadow']) .slds-col_bump-bottom"+a+",:host([data-render-mode='shadow'].slds-col_bump-bottom) {":r+"[data-render-mode='shadow'] .slds-col_bump-bottom"+a+","+r+".slds-col_bump-bottom[data-render-mode='shadow'] {","margin-block-end: auto;}",s?":host([data-render-mode='shadow']) .slds-col_bump-left"+a+",:host([data-render-mode='shadow'].slds-col_bump-left) {":r+"[data-render-mode='shadow'] .slds-col_bump-left"+a+","+r+".slds-col_bump-left[data-render-mode='shadow'] {","margin-inline-start: auto;}",s?":host([data-render-mode='shadow']) .slds-gutters_xxx-small":r+"[data-render-mode='shadow'] .slds-gutters_xxx-small",a," {margin-inline-end: calc(var(--slds-g-sizing-1) * -1);margin-inline-start: calc(var(--slds-g-sizing-1) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_xxx-small":r+"[data-render-mode='shadow'] .slds-gutters_xxx-small",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-1);padding-inline-start: var(--slds-g-sizing-1);}",s?":host([data-render-mode='shadow']) .slds-gutters_xx-small":r+"[data-render-mode='shadow'] .slds-gutters_xx-small",a," {margin-inline-end: calc(var(--slds-g-sizing-2) * -1);margin-inline-start: calc(var(--slds-g-sizing-2) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_xx-small":r+"[data-render-mode='shadow'] .slds-gutters_xx-small",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-2);padding-inline-start: var(--slds-g-sizing-2);}",s?":host([data-render-mode='shadow']) .slds-gutters_x-small":r+"[data-render-mode='shadow'] .slds-gutters_x-small",a," {margin-inline-end: calc(var(--slds-g-sizing-3) * -1);margin-inline-start: calc(var(--slds-g-sizing-3) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_x-small":r+"[data-render-mode='shadow'] .slds-gutters_x-small",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-3);padding-inline-start: var(--slds-g-sizing-3);}",s?":host([data-render-mode='shadow']) .slds-gutters_small":r+"[data-render-mode='shadow'] .slds-gutters_small",a," {margin-inline-end: calc(var(--slds-g-sizing-4) * -1);margin-inline-start: calc(var(--slds-g-sizing-4) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_small":r+"[data-render-mode='shadow'] .slds-gutters_small",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-4);padding-inline-start: var(--slds-g-sizing-4);}",s?":host([data-render-mode='shadow']) .slds-gutters_medium":r+"[data-render-mode='shadow'] .slds-gutters_medium",a," {margin-inline-end: calc(var(--slds-g-sizing-5) * -1);margin-inline-start: calc(var(--slds-g-sizing-5) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_medium":r+"[data-render-mode='shadow'] .slds-gutters_medium",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-5);padding-inline-start: var(--slds-g-sizing-5);}",s?":host([data-render-mode='shadow']) .slds-gutters_large":r+"[data-render-mode='shadow'] .slds-gutters_large",a," {margin-inline-end: calc(var(--slds-g-sizing-7) * -1);margin-inline-start: calc(var(--slds-g-sizing-7) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_large":r+"[data-render-mode='shadow'] .slds-gutters_large",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-7);padding-inline-start: var(--slds-g-sizing-7);}
519",s?":host([data-render-mode='shadow']) .slds-gutters_x-large":r+"[data-render-mode='shadow'] .slds-gutters_x-large",a," {margin-inline-end: calc(var(--slds-g-sizing-9) * -1);margin-inline-start: calc(var(--slds-g-sizing-9) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_x-large":r+"[data-render-mode='shadow'] .slds-gutters_x-large",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-9);padding-inline-start: var(--slds-g-sizing-9);}",s?":host([data-render-mode='shadow']) .slds-gutters_xx-large":r+"[data-render-mode='shadow'] .slds-gutters_xx-large",a," {margin-inline-end: calc(var(--slds-g-sizing-10) * -1);margin-inline-start: calc(var(--slds-g-sizing-10) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_xx-large":r+"[data-render-mode='shadow'] .slds-gutters_xx-large",a," .slds-col",a," {padding-inline-end: var(--slds-g-sizing-10);padding-inline-start: var(--slds-g-sizing-10);}",s?":host([data-render-mode='shadow']).slds-gutters_direct {":r+"[data-render-mode='shadow'].slds-gutters_direct {","margin-inline-end: calc(var(--slds-g-sizing-4) * -1);margin-inline-start: calc(var(--slds-g-sizing-4) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct":r+"[data-render-mode='shadow'] .slds-gutters_direct",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-4);padding-inline-start: var(--slds-g-sizing-4);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-xxx-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-xxx-small",a," {margin-inline-end: calc(var(--slds-g-sizing-1) * -1);margin-inline-start: calc(var(--slds-g-sizing-1) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-xxx-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-xxx-small",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-1);padding-inline-start: var(--slds-g-sizing-1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-xx-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-xx-small",a," {margin-inline-end: calc(var(--slds-g-sizing-2) * -1);margin-inline-start: calc(var(--slds-g-sizing-2) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-xx-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-xx-small",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-2);padding-inline-start: var(--slds-g-sizing-2);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-x-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-x-small",a," {margin-inline-end: calc(var(--slds-g-sizing-3) * -1);margin-inline-start: calc(var(--slds-g-sizing-3) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-x-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-x-small",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-3);padding-inline-start: var(--slds-g-sizing-3);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-small",a," {margin-inline-end: calc(var(--slds-g-sizing-4) * -1);margin-inline-start: calc(var(--slds-g-sizing-4) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-small":r+"[data-render-mode='shadow'] .slds-gutters_direct-small",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-4);padding-inline-start: var(--slds-g-sizing-4);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-medium":r+"[data-render-mode='shadow'] .slds-gutters_direct-medium",a," {margin-inline-end: calc(var(--slds-g-sizing-5) * -1);margin-inline-start: calc(var(--slds-g-sizing-5) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-medium":r+"[data-render-mode='shadow'] .slds-gutters_direct-medium",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-5);padding-inline-start: var(--slds-g-sizing-5);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-large":r+"[data-render-mode='shadow'] .slds-gutters_direct-large",a," {margin-inline-end: calc(var(--slds-g-sizing-7) * -1);margin-inline-start: calc(var(--slds-g-sizing-7) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-large":r+"[data-render-mode='shadow'] .slds-gutters_direct-large",a," > .slds-col",a," {padding-inline-end: 1.5rem;padding-inline-start: 1.5rem;}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-x-large":r+"[data-render-mode='shadow'] .slds-gutters_direct-x-large",a," {margin-inline-end: calc(var(--slds-g-sizing-9) * -1);margin-inline-start: calc(var(--slds-g-sizing-9) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-x-large":r+"[data-render-mode='shadow'] .slds-gutters_direct-x-large",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-9);padding-inline-start: var(--slds-g-sizing-9);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-xx-large":r+"[data-render-mode='shadow'] .slds-gutters_direct-xx-large",a," {margin-inline-end: calc(var(--slds-g-sizing-10) * -1);margin-inline-start: calc(var(--slds-g-sizing-10) * -1);}",s?":host([data-render-mode='shadow']) .slds-gutters_direct-xx-large":r+"[data-render-mode='shadow'] .slds-gutters_direct-xx-large",a," > .slds-col",a," {padding-inline-end: var(--slds-g-sizing-10);padding-inline-start: var(--slds-g-sizing-10);}"].join("")}];d.default=s,Object.defineProperty(d,"__esModule",{value:!0})});
520})();(function() { LWR.define("interop/layout",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils"],function(t,l,s,e,i){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=a(s);var r=[[function(t,l,s){return"@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {.slds-slot"+(t?"["+t+"]":"")+" {display: flex;}}"}],function(){return""}];const o={classMap:{"slds-slot":!0},key:0},d=[];function u(t,l,s,e){const{s:i}=t;return[i("",o,d,s)]}var c=l.registerTemplate(u);u.slots=[""],u.stylesheets=[],u.stylesheetToken="lwc-4p3ig5mhdla",u.legacyStylesheetToken="interop-layout_layout",r&&u.stylesheets.push.apply(u.stylesheets,r),l.freezeTemplate(u);const g={center:"slds-grid_align-center",space:"slds-grid_align-space",spread:"slds-grid_align-spread",end:"slds-grid_align-end"},p={start:"slds-grid_vertical-align-start",center:"slds-grid_vertical-align-center",end:"slds-grid_vertical-align-en
520d",stretch:"slds-grid_vertical-stretch"},h={small:"slds-grid_pull-padded",medium:"slds-grid_pull-padded-medium",large:"slds-grid_pull-padded-large"},_=Object.keys(p),y=Object.keys(h),v=Object.keys(g);function m(t,l,s){return t=t?t.toLowerCase():" ",e.normalizeString(t,{fallbackValue:" ",validValues:l||[]})}class f extends n.default{constructor(...t){super(...t),this._horizontalAlign=void 0,this._verticalAlign=void 0,this._pullToBoundary=void 0,this._multipleRows=void 0,this._layoutClass=[]}get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(t){this._horizontalAlign=m(t,v),this.updateClassList()}get verticalAlign(){return this._verticalAlign}set verticalAlign(t){this._verticalAlign=m(t,_),this.updateClassList()}get pullToBoundary(){return this._pullToBoundary}set pullToBoundary(t){this._pullToBoundary=m(t,y),this.updateClassList()}get multipleRows(){return this._multipleRows||!1}set multipleRows(t){this._multipleRows=e.normalizeBoolean(t),this.updateClassList()}connectedCallback(){super.connectedCallback(),this.updateClassList()}updateClassList(){this.classList.remove(...this._layoutClass);const t=function(t,l,s,e){const a=i.classSet("slds-grid");return" "!==t&&g[t]&&a.add(g[t])," "!==l&&p[l]&&a.add(p[l])," "!==s&&h[s]&&a.add(h[s]),e&&a.add("slds-wrap"),a}(this.horizontalAlign,this.verticalAlign,this.pullToBoundary,this.multipleRows);this._layoutClass=Object.keys(t),this.classList.add(...this._layoutClass)}}f.validationOptOut=["class"],l.registerDecorators(f,{publicProps:{horizontalAlign:{config:3},verticalAlign:{config:3},pullToBoundary:{config:3},multipleRows:{config:3}},track:{_horizontalAlign:1,_verticalAlign:1,_pullToBoundary:1,_multipleRows:1},fields:["_layoutClass"]});const A=l.registerComponent(f,{tmpl:c,sel:"interop-layout",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=A,Object.defineProperty(t,"__esModule",{value:!0})});
521})();LWR.define('lightning/layout', ['interop/layout'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/sldsUtilsBox",["exports"],function(d){var s=[function(d,s,a){var e=d?"["+d+"]":"",o=d?"["+d+"-host]":"";return(s?":host([data-render-mode='shadow']) .slds-box"+e+",:host([data-render-mode='shadow']) ":o+"[data-render-mode='shadow'] .slds-box"+e+","+o+"[data-render-mode='shadow'] ")+e+"::slotted(.slds-box) {padding: var(--slds-g-spacing-4, 1rem);border-radius: var(--slds-g-spacing-1, 0.25rem);border: var(--slds-g-sizing-border-1, 1px) solid\n var(--slds-g-color-border-base-1, #e5e5e5);}"+(s?":host([data-render-mode='shadow']) .slds-box_xx-small"+e+",:host([data-render-mode='shadow']) ":o+"[data-render-mode='shadow'] .slds-box_xx-small"+e+","+o+"[data-render-mode='shadow'] ")+e+"::slotted(.slds-box_xx-small) {padding: var(--slds-g-spacing-1, 0.25rem);}"+(s?":host([data-render-mode='shadow']) .slds-box_x-small"+e+",:host([data-render-mode='shadow']) ":o+"[data-render-mode='shadow'] .slds-box_x-small"+e+","+o+"[data-render-mode='shadow'] ")+e+"::slotted(.slds-box_x-small) {padding: var(--slds-g-spacing-2, 0.5rem);}"+(s?":host([data-render-mode='shadow']) .slds-box_small"+e+",:host([data-render-mode='shadow']) ":o+"[data-render-mode='shadow'] .slds-box_small"+e+","+o+"[data-render-mode='shadow'] ")+e+"::slotted(.slds-box_small) {padding: var(--slds-g-spacing-3, 0.75rem);}"}];d.default=s,Object.defineProperty(d,"__esModule",{value:!0})});
522})();(function() { LWR.define("lightning/sldsUtilsSizing",["exports"],function(d){var s=[function(d,s,e){var a=d?"["+d+"]":"",o=d?"["+d+"-host]":"";return[s?":host([data-render-mode='shadow']) .slds-size_xxx-small"+a+",:host([data-render-mode='shadow'].slds-size_xxx-small) {":o+"[data-render-mode='shadow'] .slds-size_xxx-small"+a+","+o+".slds-size_xxx-small[data-render-mode='shadow'] {","width: 3rem;}",s?":host([data-render-mode='shadow']) .slds-size_xx-small"+a+",:host([data-render-mode='shadow'].slds-size_xx-small) {":o+"[data-render-mode='shadow'] .slds-size_xx-small"+a+","+o+".slds-size_xx-small[data-render-mode='shadow'] {","width: 6rem;}",s?":host([data-render-mode='shadow']) .slds-size_x-small"+a+",:host([data-render-mode='shadow'].slds-size_x-small) {":
522o+"[data-render-mode='shadow'] .slds-size_x-small"+a+","+o+".slds-size_x-small[data-render-mode='shadow'] {","width: 12rem;}",s?":host([data-render-mode='shadow']) .slds-size_small"+a+",:host([data-render-mode='shadow'].slds-size_small) {":o+"[data-render-mode='shadow'] .slds-size_small"+a+","+o+".slds-size_small[data-render-mode='shadow'] {","width: 15rem;}",s?":host([data-render-mode='shadow']) .slds-size_medium"+a+",:host([data-render-mode='shadow'].slds-size_medium) {":o+"[data-render-mode='shadow'] .slds-size_medium"+a+","+o+".slds-size_medium[data-render-mode='shadow'] {","width: 20rem;}",s?":host([data-render-mode='shadow']) .slds-size_large"+a+",:host([data-render-mode='shadow'].slds-size_large) {":o+"[data-render-mode='shadow'] .slds-size_large"+a+","+o+".slds-size_large[data-render-mode='shadow'] {","width: 25rem;}",s?":host([data-render-mode='shadow']) .slds-size_x-large"+a+",:host([data-render-mode='shadow'].slds-size_x-large) {":o+"[data-render-mode='shadow'] .slds-size_x-large"+a+","+o+".slds-size_x-large[data-render-mode='shadow'] {","width: 40rem;}",s?":host([data-render-mode='shadow']) .slds-size_xx-large"+a+",:host([data-render-mode='shadow'].slds-size_xx-large) {":o+"[data-render-mode='shadow'] .slds-size_xx-large"+a+","+o+".slds-size_xx-large[data-render-mode='shadow'] {","width: 60rem;}",s?":host([data-render-mode='shadow']) .slds-size_full"+a+",:host([data-render-mode='shadow'].slds-size_full) {":o+"[data-render-mode='shadow'] .slds-size_full"+a+","+o+".slds-size_full[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-1"+a+",:host([data-render-mode='shadow'].slds-size_1-of-1) {":o+"[data-render-mode='shadow'] .slds-size_1-of-1"+a+","+o+".slds-size_1-of-1[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-2"+a+",:host([data-render-mode='shadow'].slds-size_1-of-2) {":o+"[data-render-mode='shadow'] .slds-size_1-of-2"+a+","+o+".slds-size_1-of-2[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-2"+a+",:host([data-render-mode='shadow'].slds-size_2-of-2) {":o+"[data-render-mode='shadow'] .slds-size_2-of-2"+a+","+o+".slds-size_2-of-2[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-3"+a+",:host([data-render-mode='shadow'].slds-size_1-of-3) {":o+"[data-render-mode='shadow'] .slds-size_1-of-3"+a+","+o+".slds-size_1-of-3[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-3"+a+",:host([data-render-mode='shadow'].slds-size_2-of-3) {":o+"[data-render-mode='shadow'] .slds-size_2-of-3"+a+","+o+".slds-size_2-of-3[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-3"+a+",:host([data-render-mode='shadow'].slds-size_3-of-3) {":o+"[data-render-mode='shadow'] .slds-size_3-of-3"+a+","+o+".slds-size_3-of-3[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-4"+a+",:host([data-render-mode='shadow'].slds-size_1-of-4) {":o+"[data-render-mode='shadow'] .slds-size_1-of-4"+a+","+o+".slds-size_1-of-4[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-4"+a+",:host([data-render-mode='shadow'].slds-size_2-of-4) {":o+"[data-render-mode='shadow'] .slds-size_2-of-4"+a+","+o+".slds-size_2-of-4[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-4"+a+",:host([data-render-mode='shadow'].slds-size_3-of-4) {":o+"[data-render-mode='shadow'] .slds-size_3-of-4"+a+","+o+".slds-size_3-of-4[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-size_4-of-4"+a+",:host([data-render-mode='shadow'].slds-size_4-of-4) {":o+"[data-render-mode='shadow'] .slds-size_4-of-4"+a+","+o+".slds-size_4-of-4[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-5"+a+",:host([data-render-mode='shadow'].slds-size_1-of-5) {":o+"[data-render-mode='shadow'] .slds-size_1-of-5"+a+","+o+".slds-size_1-of-5[data-render-mode='shadow'] {","width: 20%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-5"+a+",:host([data-render-mode='shadow'].slds-size_2-of-5) {":o+"[data-render-mode='shadow'] .slds-size_2-of-5"+a+","+o+".slds-size_2-of-5[data-render-mode='shadow'] {","width: 40%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-5"+a+",:host([data-render-mode='shadow'].slds-size_3-of-5) {":o+"[data-render-mode='shadow'] .slds-size_3-of-5"+a+","+o+".slds-size_3-of-5[data-render-mode='shadow'] {","width: 60%;}",s?":host([data-render-mode='shadow']) .slds-size_4-of-5"+a+",:host([data-render-mode='shadow'].slds-size_4-of-5) {":o+"[data-render-mode='shadow'] .slds-size_4-of-5"+a+","+o+".slds-size_4-of-5[data-render-mode='shadow'] {","width: 80%;}",s?":host([data-render-mode='shadow']) .slds-size_5-of-5"+a+",:host([data-render-mode='shadow'].slds-size_5-of-5) {":o+"[data-render-mode='shadow'] .slds-size_5-of-5"+a+","+o+".slds-size_5-of-5[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-6"+a+",:host([data-render-mode='shadow'].slds-size_1-of-6) {":o+"[data-render-mode='shadow'] .slds-size_1-of-6"+a+","+o+".slds-size_1-of-6[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-6"+a+",:host([data-render-mode='shadow'].slds-size_2-of-6) {":o+"[data-render-mode='shadow'] .slds-size_2-of-6"+a+","+o+".slds-size_2-of-6[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-6"+a+",:host([data-render-mode='shadow'].slds-size_3-of-6) {":o+"[data-render-mode='shadow'] .slds-size_3-of-6"+a+","+o+".slds-size_3-of-6[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-size_4-of-6"+a+",:host([data-render-mode='shadow'].slds-size_4-of-6) {":o+"[data-render-mode='shadow'] .slds-size_4-of-6"+a+","+o+".slds-size_4-of-6[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_5-of-6"+a+",:host([data-render-mode='shadow'].slds-size_5-of-6) {":o+"[data-render-mode='shadow'] .slds-size_5-of-6"+a+","+o+".slds-size_5-of-6[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_6-of-6"+a+",:host([data-render-mode='shadow'].slds-size_6-of-6) {":o+"[data-render-mode='shadow'] .slds-size_6-of-6"+a+","+o+".slds-size_6-of-6[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-7"+a+",:host([data-render-mode='shadow'].slds-size_1-of-7) {":o+"[data-render-mode='shadow'] .slds-size_1-of-7"+a+","+o+".slds-size_1-of-7[data-render-mode='shadow'] {","width: 14.2857142857%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-7"+a+",:host([data-render-mode='shadow'].slds-size_2-of-7) {":o+"[data-render-mode='shadow'] .slds-size_2-of-7"+a+","+o+".slds-size_2-of-7[data-render-mode='shadow'] {","width: 28.5714285714%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-7"+a+",:host([data-render-mode='shadow'].slds-size_3-of-7) {":o+"[data-render-mode='shadow'] .slds-size_3-of-7"+a+","+o+".slds-size_3-of-7[data-render-mode='shadow'] {","width: 42.8571428571%;}",s?":host([data-render-mode='shadow']) .slds-size_4-of-7"+a+",:host([data-render-mode='shadow'].slds-size_4-of-7) {":o+"[data-render-mode='shadow'] .slds-size_4-of-7"+a+","+o+".slds-size_4-of-7[data-render-mode='shadow'] {","width: 57.1428571429%;}",s?":host([data-render-mode='shadow']) .slds-size_5-of-7"+a+",:host([data-render-mode='shadow'].slds-size_5-of-7) {":o+"[data-render-mode='shadow'] .slds-size_5-of-7"+a+","+o+".slds-size_5-of-7[data-render-mode='shadow'] {","width: 71.428571428
5226%;}",s?":host([data-render-mode='shadow']) .slds-size_6-of-7"+a+",:host([data-render-mode='shadow'].slds-size_6-of-7) {":o+"[data-render-mode='shadow'] .slds-size_6-of-7"+a+","+o+".slds-size_6-of-7[data-render-mode='shadow'] {","width: 85.7142857143%;}",s?":host([data-render-mode='shadow']) .slds-size_7-of-7"+a+",:host([data-render-mode='shadow'].slds-size_7-of-7) {":o+"[data-render-mode='shadow'] .slds-size_7-of-7"+a+","+o+".slds-size_7-of-7[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-8"+a+",:host([data-render-mode='shadow'].slds-size_1-of-8) {":o+"[data-render-mode='shadow'] .slds-size_1-of-8"+a+","+o+".slds-size_1-of-8[data-render-mode='shadow'] {","width: 12.5%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-8"+a+",:host([data-render-mode='shadow'].slds-size_2-of-8) {":o+"[data-render-mode='shadow'] .slds-size_2-of-8"+a+","+o+".slds-size_2-of-8[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-8"+a+",:host([data-render-mode='shadow'].slds-size_3-of-8) {":o+"[data-render-mode='shadow'] .slds-size_3-of-8"+a+","+o+".slds-size_3-of-8[data-render-mode='shadow'] {","width: 37.5%;}",s?":host([data-render-mode='shadow']) .slds-size_4-of-8"+a+",:host([data-render-mode='shadow'].slds-size_4-of-8) {":o+"[data-render-mode='shadow'] .slds-size_4-of-8"+a+","+o+".slds-size_4-of-8[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-size_5-of-8"+a+",:host([data-render-mode='shadow'].slds-size_5-of-8) {":o+"[data-render-mode='shadow'] .slds-size_5-of-8"+a+","+o+".slds-size_5-of-8[data-render-mode='shadow'] {","width: 62.5%;}",s?":host([data-render-mode='shadow']) .slds-size_6-of-8"+a+",:host([data-render-mode='shadow'].slds-size_6-of-8) {":o+"[data-render-mode='shadow'] .slds-size_6-of-8"+a+","+o+".slds-size_6-of-8[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-size_7-of-8"+a+",:host([data-render-mode='shadow'].slds-size_7-of-8) {":o+"[data-render-mode='shadow'] .slds-size_7-of-8"+a+","+o+".slds-size_7-of-8[data-render-mode='shadow'] {","width: 87.5%;}",s?":host([data-render-mode='shadow']) .slds-size_8-of-8"+a+",:host([data-render-mode='shadow'].slds-size_8-of-8) {":o+"[data-render-mode='shadow'] .slds-size_8-of-8"+a+","+o+".slds-size_8-of-8[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-size_1-of-12"+a+",:host([data-render-mode='shadow'].slds-size_1-of-12) {":o+"[data-render-mode='shadow'] .slds-size_1-of-12"+a+","+o+".slds-size_1-of-12[data-render-mode='shadow'] {","width: 8.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_2-of-12"+a+",:host([data-render-mode='shadow'].slds-size_2-of-12) {":o+"[data-render-mode='shadow'] .slds-size_2-of-12"+a+","+o+".slds-size_2-of-12[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_3-of-12"+a+",:host([data-render-mode='shadow'].slds-size_3-of-12) {":o+"[data-render-mode='shadow'] .slds-size_3-of-12"+a+","+o+".slds-size_3-of-12[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-size_4-of-12"+a+",:host([data-render-mode='shadow'].slds-size_4-of-12) {":o+"[data-render-mode='shadow'] .slds-size_4-of-12"+a+","+o+".slds-size_4-of-12[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_5-of-12"+a+",:host([data-render-mode='shadow'].slds-size_5-of-12) {":o+"[data-render-mode='shadow'] .slds-size_5-of-12"+a+","+o+".slds-size_5-of-12[data-render-mode='shadow'] {","width: 41.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_6-of-12"+a+",:host([data-render-mode='shadow'].slds-size_6-of-12) {":o+"[data-render-mode='shadow'] .slds-size_6-of-12"+a+","+o+".slds-size_6-of-12[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-size_7-of-12"+a+",:host([data-render-mode='shadow'].slds-size_7-of-12) {":o+"[data-render-mode='shadow'] .slds-size_7-of-12"+a+","+o+".slds-size_7-of-12[data-render-mode='shadow'] {","width: 58.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_8-of-12"+a+",:host([data-render-mode='shadow'].slds-size_8-of-12) {":o+"[data-render-mode='shadow'] .slds-size_8-of-12"+a+","+o+".slds-size_8-of-12[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_9-of-12"+a+",:host([data-render-mode='shadow'].slds-size_9-of-12) {":o+"[data-render-mode='shadow'] .slds-size_9-of-12"+a+","+o+".slds-size_9-of-12[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-size_10-of-12"+a+",:host([data-render-mode='shadow'].slds-size_10-of-12) {":o+"[data-render-mode='shadow'] .slds-size_10-of-12"+a+","+o+".slds-size_10-of-12[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-size_11-of-12"+a+",:host([data-render-mode='shadow'].slds-size_11-of-12) {":o+"[data-render-mode='shadow'] .slds-size_11-of-12"+a+","+o+".slds-size_11-of-12[data-render-mode='shadow'] {","width: 91.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-size_12-of-12"+a+",:host([data-render-mode='shadow'].slds-size_12-of-12) {":o+"[data-render-mode='shadow'] .slds-size_12-of-12"+a+","+o+".slds-size_12-of-12[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-order_1"+a+",:host([data-render-mode='shadow'].slds-order_1) {":o+"[data-render-mode='shadow'] .slds-order_1"+a+","+o+".slds-order_1[data-render-mode='shadow'] {","order: 1;}",s?":host([data-render-mode='shadow']) .slds-order_2"+a+",:host([data-render-mode='shadow'].slds-order_2) {":o+"[data-render-mode='shadow'] .slds-order_2"+a+","+o+".slds-order_2[data-render-mode='shadow'] {","order: 2;}",s?":host([data-render-mode='shadow']) .slds-order_3"+a+",:host([data-render-mode='shadow'].slds-order_3) {":o+"[data-render-mode='shadow'] .slds-order_3"+a+","+o+".slds-order_3[data-render-mode='shadow'] {","order: 3;}",s?":host([data-render-mode='shadow']) .slds-order_4"+a+",:host([data-render-mode='shadow'].slds-order_4) {":o+"[data-render-mode='shadow'] .slds-order_4"+a+","+o+".slds-order_4[data-render-mode='shadow'] {","order: 4;}",s?":host([data-render-mode='shadow']) .slds-order_5"+a+",:host([data-render-mode='shadow'].slds-order_5) {":o+"[data-render-mode='shadow'] .slds-order_5"+a+","+o+".slds-order_5[data-render-mode='shadow'] {","order: 5;}",s?":host([data-render-mode='shadow']) .slds-order_6"+a+",:host([data-render-mode='shadow'].slds-order_6) {":o+"[data-render-mode='shadow'] .slds-order_6"+a+","+o+".slds-order_6[data-render-mode='shadow'] {","order: 6;}",s?":host([data-render-mode='shadow']) .slds-order_7"+a+",:host([data-render-mode='shadow'].slds-order_7) {":o+"[data-render-mode='shadow'] .slds-order_7"+a+","+o+".slds-order_7[data-render-mode='shadow'] {","order: 7;}",s?":host([data-render-mode='shadow']) .slds-order_8"+a+",:host([data-render-mode='shadow'].slds-order_8) {":o+"[data-render-mode='shadow'] .slds-order_8"+a+","+o+".slds-order_8[data-render-mode='shadow'] {","order: 8;}",s?":host([data-render-mode='shadow']) .slds-order_9"+a+",:host([data-render-mode='shadow'].slds-order_9) {":o+"[data-render-mode='shadow'] .slds-order_9"+a+","+o+".slds-order_9[data-render-mode='shadow'] {","order: 9;}",s?":host([data-render-mode='shadow']) .slds-order_10"+a+",:host([data-render-mode='shadow'].slds-order_10) {":o+"[data-render-mode='shadow'] .slds-order_10"+a+","+o+".slds-order_10[data-render-mode='shadow'] {","order: 10;}
522",s?":host([data-render-mode='shadow']) .slds-order_11"+a+",:host([data-render-mode='shadow'].slds-order_11) {":o+"[data-render-mode='shadow'] .slds-order_11"+a+","+o+".slds-order_11[data-render-mode='shadow'] {","order: 11;}",s?":host([data-render-mode='shadow']) .slds-order_12"+a+",:host([data-render-mode='shadow'].slds-order_12) {":o+"[data-render-mode='shadow'] .slds-order_12"+a+","+o+".slds-order_12[data-render-mode='shadow'] {","order: 12;}@media (min-width: 30em) {",s?":host([data-render-mode='shadow']) [class*='slds-small-size_']"+a+", :host([data-render-mode='shadow'][class*='slds-small-size_']) {":o+"[data-render-mode='shadow'] [class*='slds-small-size_']"+a+","+o+"[class*='slds-small-size_'][data-render-mode='shadow'] {","flex: none;}",s?":host([data-render-mode='shadow']) .slds-small-size_xxx-small"+a+", :host([data-render-mode='shadow'].slds-small-size_xxx-small) {":o+"[data-render-mode='shadow'] .slds-small-size_xxx-small"+a+","+o+".slds-small-size_xxx-small[data-render-mode='shadow'] {","width: 3rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_xx-small"+a+", :host([data-render-mode='shadow'].slds-small-size_xx-small) {":o+"[data-render-mode='shadow'] .slds-small-size_xx-small"+a+","+o+".slds-small-size_xx-small[data-render-mode='shadow'] {","width: 6rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_x-small"+a+", :host([data-render-mode='shadow'].slds-small-size_x-small) {":o+"[data-render-mode='shadow'] .slds-small-size_x-small"+a+","+o+".slds-small-size_x-small[data-render-mode='shadow'] {","width: 12rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_small"+a+", :host([data-render-mode='shadow'].slds-small-size_small) {":
522o+"[data-render-mode='shadow'] .slds-small-size_small"+a+","+o+".slds-small-size_small[data-render-mode='shadow'] {","width: 15rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_medium"+a+", :host([data-render-mode='shadow'].slds-small-size_medium) {":o+"[data-render-mode='shadow'] .slds-small-size_medium"+a+","+o+".slds-small-size_medium[data-render-mode='shadow'] {","width: 20rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_large"+a+", :host([data-render-mode='shadow'].slds-small-size_large) {":o+"[data-render-mode='shadow'] .slds-small-size_large"+a+","+o+".slds-small-size_large[data-render-mode='shadow'] {","width: 25rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_x-large"+a+", :host([data-render-mode='shadow'].slds-small-size_x-large) {":o+"[data-render-mode='shadow'] .slds-small-size_x-large"+a+","+o+".slds-small-size_x-large[data-render-mode='shadow'] {","width: 40rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_xx-large"+a+", :host([data-render-mode='shadow'].slds-small-size_xx-large) {":o+"[data-render-mode='shadow'] .slds-small-size_xx-large"+a+","+o+".slds-small-size_xx-large[data-render-mode='shadow'] {","width: 60rem;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-1"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-1) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-1"+a+","+o+".slds-small-size_1-of-1[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-2"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-2) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-2"+a+","+o+".slds-small-size_1-of-2[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-2"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-2) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-2"+a+","+o+".slds-small-size_2-of-2[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-3"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-3) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-3"+a+","+o+".slds-small-size_1-of-3[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-3"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-3) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-3"+a+","+o+".slds-small-size_2-of-3[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-3"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-3) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-3"+a+","+o+".slds-small-size_3-of-3[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-4"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-4) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-4"+a+","+o+".slds-small-size_1-of-4[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-4"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-4) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-4"+a+","+o+".slds-small-size_2-of-4[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-4"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-4) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-4"+a+","+o+".slds-small-size_3-of-4[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-small-size_4-of-4"+a+", :host([data-render-mode='shadow'].slds-small-size_4-of-4) {":o+"[data-render-mode='shadow'] .slds-small-size_4-of-4"+a+","+o+".slds-small-size_4-of-4[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-5"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-5) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-5"+a+","+o+".slds-small-size_1-of-5[data-render-mode='shadow'] {","width: 20%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-5"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-5) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-5"+a+","+o+".slds-small-size_2-of-5[data-render-mode='shadow'] {","width: 40%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-5"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-5) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-5"+a+","+o+".slds-small-size_3-of-5[data-render-mode='shadow'] {","width: 60%;}",s?":host([data-render-mode='shadow']) .slds-small-size_4-of-5"+a+", :host([data-render-mode='shadow'].slds-small-size_4-of-5) {":o+"[data-render-mode='shadow'] .slds-small-size_4-of-5"+a+","+o+".slds-small-size_4-of-5[data-render-mode='shadow'] {","width: 80%;}",s?":host([data-render-mode='shadow']) .slds-small-size_5-of-5"+a+", :host([data-render-mode='shadow'].slds-small-size_5-of-5) {":o+"[data-render-mode='shadow'] .slds-small-size_5-of-5"+a+","+o+".slds-small-size_5-of-5[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-6"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-6) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-6"+a+","+o+".slds-small-size_1-of-6[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-6"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-6) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-6"+a+","+o+".slds-small-size_2-of-6[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-6"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-6) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-6"+a+","+o+".slds-small-size_3-of-6[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-small-size_4-of-6"+a+", :host([data-render-mode='shadow'].slds-small-size_4-of-6) {":o+"[data-render-mode='shadow'] .slds-small-size_4-of-6"+a+","+o+".slds-small-size_4-of-6[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_5-of-6"+a+", :host([data-render-mode='shadow'].slds-small-size_5-of-6) {":o+"[data-render-mode='shadow'] .slds-small-size_5-of-6"+a+","+o+".slds-small-size_5-of-6[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_6-of-6"+a+", :host([data-render-mode='shadow'].slds-small-size_6-of-6) {":o+"[data-render-mode='shadow'] .slds-small-size_6-of-6"+a+","+o+".slds-small-size_6-of-6[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-7"+a+","+o+".slds-small-size_1-of-7[data-render-mode='shadow'] {","width: 14.2857142857%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-7"+a+","+o+".slds-small-size_2-of-7[data-render-mode='shadow'] {","width: 28.5714285714%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-7"+a+","+o+".slds-small-size_3-of-7[data-render-mode='shadow'] {","width: 42.8571428571%;}",s?":host([data-render-mode='shadow']) .slds-small-size_4-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_4-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_4-of-7"+a+","+o+".slds-small-size_4-of-7[data-render-mode='shadow'] {","width: 57.1428571429%;}",s?":host([data-render-mode='shadow']) .slds-small-size_5-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_5-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_5-of-7"+a+","+o+".slds-small-size_5-of-7[data-render-mode='shadow'] {","width: 71.428571428
5226%;}",s?":host([data-render-mode='shadow']) .slds-small-size_6-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_6-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_6-of-7"+a+","+o+".slds-small-size_6-of-7[data-render-mode='shadow'] {","width: 85.7142857143%;}",s?":host([data-render-mode='shadow']) .slds-small-size_7-of-7"+a+", :host([data-render-mode='shadow'].slds-small-size_7-of-7) {":o+"[data-render-mode='shadow'] .slds-small-size_7-of-7"+a+","+o+".slds-small-size_7-of-7[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-8"+a+","+o+".slds-small-size_1-of-8[data-render-mode='shadow'] {","width: 12.5%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-8"+a+","+o+".slds-small-size_2-of-8[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-8"+a+","+o+".slds-small-size_3-of-8[data-render-mode='shadow'] {","width: 37.5%;}",s?":host([data-render-mode='shadow']) .slds-small-size_4-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_4-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_4-of-8"+a+","+o+".slds-small-size_4-of-8[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-small-size_5-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_5-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_5-of-8"+a+","+o+".slds-small-size_5-of-8[data-render-mode='shadow'] {","width: 62.5%;}",s?":host([data-render-mode='shadow']) .slds-small-size_6-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_6-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_6-of-8"+a+","+o+".slds-small-size_6-of-8[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-small-size_7-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_7-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_7-of-8"+a+","+o+".slds-small-size_7-of-8[data-render-mode='shadow'] {","width: 87.5%;}",s?":host([data-render-mode='shadow']) .slds-small-size_8-of-8"+a+", :host([data-render-mode='shadow'].slds-small-size_8-of-8) {":o+"[data-render-mode='shadow'] .slds-small-size_8-of-8"+a+","+o+".slds-small-size_8-of-8[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-small-size_1-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_1-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_1-of-12"+a+","+o+".slds-small-size_1-of-12[data-render-mode='shadow'] {","width: 8.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_2-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_2-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_2-of-12"+a+","+o+".slds-small-size_2-of-12[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_3-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_3-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_3-of-12"+a+","+o+".slds-small-size_3-of-12[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-small-size_4-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_4-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_4-of-12"+a+","+o+".slds-small-size_4-of-12[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_5-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_5-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_5-of-12"+a+","+o+".slds-small-size_5-of-12[data-render-mode='shadow'] {","width: 41.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_6-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_6-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_6-of-12"+a+","+o+".slds-small-size_6-of-12[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-small-size_7-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_7-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_7-of-12"+a+","+o+".slds-small-size_7-of-12[data-render-mode='shadow'] {","width: 58.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_8-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_8-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_8-of-12"+a+","+o+".slds-small-size_8-of-12[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_9-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_9-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_9-of-12"+a+","+o+".slds-small-size_9-of-12[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-small-size_10-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_10-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_10-of-12"+a+","+o+".slds-small-size_10-of-12[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-small-size_11-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_11-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_11-of-12"+a+","+o+".slds-small-size_11-of-12[data-render-mode='shadow'] {","width: 91.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-small-size_12-of-12"+a+", :host([data-render-mode='shadow'].slds-small-size_12-of-12) {":o+"[data-render-mode='shadow'] .slds-small-size_12-of-12"+a+","+o+".slds-small-size_12-of-12[data-render-mode='shadow'] {","width: 100%;}
522",s?":host([data-render-mode='shadow']) .slds-small-order_1"+a+", :host([data-render-mode='shadow'].slds-small-order_1) {":o+"[data-render-mode='shadow'] .slds-small-order_1"+a+","+o+".slds-small-order_1[data-render-mode='shadow'] {","order: 1;}",s?":host([data-render-mode='shadow']) .slds-small-order_2"+a+", :host([data-render-mode='shadow'].slds-small-order_2) {":o+"[data-render-mode='shadow'] .slds-small-order_2"+a+","+o+".slds-small-order_2[data-render-mode='shadow'] {","order: 2;}",s?":host([data-render-mode='shadow']) .slds-small-order_3"+a+", :host([data-render-mode='shadow'].slds-small-order_3) {":o+"[data-render-mode='shadow'] .slds-small-order_3"+a+","+o+".slds-small-order_3[data-render-mode='shadow'] {","order: 3;}",s?":host([data-render-mode='shadow']) .slds-small-order_4"+a+", :host([data-render-mode='shadow'].slds-small-order_4) {":o+"[data-render-mode='shadow'] .slds-small-order_4"+a+","+o+".slds-small-order_4[data-render-mode='shadow'] {","order: 4;}",s?":host([data-render-mode='shadow']) .slds-small-order_5"+a+", :host([data-render-mode='shadow'].slds-small-order_5) {":o+"[data-render-mode='shadow'] .slds-small-order_5"+a+","+o+".slds-small-order_5[data-render-mode='shadow'] {","order: 5;}",s?":host([data-render-mode='shadow']) .slds-small-order_6"+a+", :host([data-render-mode='shadow'].slds-small-order_6) {":o+"[data-render-mode='shadow'] .slds-small-order_6"+a+","+o+".slds-small-order_6[data-render-mode='shadow'] {","order: 6;}",s?":host([data-render-mode='shadow']) .slds-small-order_7"+a+", :host([data-render-mode='shadow'].slds-small-order_7) {":o+"[data-render-mode='shadow'] .slds-small-order_7"+a+","+o+".slds-small-order_7[data-render-mode='shadow'] {","order: 7;}",s?":host([data-render-mode='shadow']) .slds-small-order_8"+a+", :host([data-render-mode='shadow'].slds-small-order_8) {":o+"[data-render-mode='shadow'] .slds-small-order_8"+a+","+o+".slds-small-order_8[data-render-mode='shadow'] {","order: 8;}",s?":host([data-render-mode='shadow']) .slds-small-order_9"+a+", :host([data-render-mode='shadow'].slds-small-order_9) {":o+"[data-render-mode='shadow'] .slds-small-order_9"+a+","+o+".slds-small-order_9[data-render-mode='shadow'] {","order: 9;}
522",s?":host([data-render-mode='shadow']) .slds-small-order_10"+a+", :host([data-render-mode='shadow'].slds-small-order_10) {":o+"[data-render-mode='shadow'] .slds-small-order_10"+a+","+o+".slds-small-order_10[data-render-mode='shadow'] {","order: 10;}",s?":host([data-render-mode='shadow']) .slds-small-order_11"+a+", :host([data-render-mode='shadow'].slds-small-order_11) {":o+"[data-render-mode='shadow'] .slds-small-order_11"+a+","+o+".slds-small-order_11[data-render-mode='shadow'] {","order: 11;}",s?":host([data-render-mode='shadow']) .slds-small-order_12"+a+", :host([data-render-mode='shadow'].slds-small-order_12) {":o+"[data-render-mode='shadow'] .slds-small-order_12"+a+","+o+".slds-small-order_12[data-render-mode='shadow'] {","order: 12;}}@media (min-width: 48em) {",s?":host([data-render-mode='shadow']) [class*='slds-medium-size_']"+a+", :host([data-render-mode='shadow'][class*='slds-medium-size_']) {":o+"[data-render-mode='shadow'] [class*='slds-medium-size_']"+a+","+o+"[class*='slds-medium-size_'][data-render-mode='shadow'] {","flex: none;}",s?":host([data-render-mode='shadow']) .slds-medium-size_xxx-small"+a+", :host([data-render-mode='shadow'].slds-medium-size_xxx-small) {":o+"[data-render-mode='shadow'] .slds-medium-size_xxx-small"+a+","+o+".slds-medium-size_xxx-small[data-render-mode='shadow'] {","width: 3rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_xx-small"+a+", :host([data-render-mode='shadow'].slds-medium-size_xx-small) {":o+"[data-render-mode='shadow'] .slds-medium-size_xx-small"+a+","+o+".slds-medium-size_xx-small[data-render-mode='shadow'] {","width: 6rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_x-small"+a+", :host([data-render-mode='shadow'].slds-medium-size_x-small) {":o+"[data-render-mode='shadow'] .slds-medium-size_x-small"+a+","+o+".slds-medium-size_x-small[data-render-mode='shadow'] {","width: 12rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_small"+a+", :host([data-render-mode='shadow'].slds-medium-size_small) {":
522o+"[data-render-mode='shadow'] .slds-medium-size_small"+a+","+o+".slds-medium-size_small[data-render-mode='shadow'] {","width: 15rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_medium"+a+", :host([data-render-mode='shadow'].slds-medium-size_medium) {":o+"[data-render-mode='shadow'] .slds-medium-size_medium"+a+","+o+".slds-medium-size_medium[data-render-mode='shadow'] {","width: 20rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_large"+a+", :host([data-render-mode='shadow'].slds-medium-size_large) {":o+"[data-render-mode='shadow'] .slds-medium-size_large"+a+","+o+".slds-medium-size_large[data-render-mode='shadow'] {","width: 25rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_x-large"+a+", :host([data-render-mode='shadow'].slds-medium-size_x-large) {":o+"[data-render-mode='shadow'] .slds-medium-size_x-large"+a+","+o+".slds-medium-size_x-large[data-render-mode='shadow'] {","width: 40rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_xx-large"+a+", :host([data-render-mode='shadow'].slds-medium-size_xx-large) {":o+"[data-render-mode='shadow'] .slds-medium-size_xx-large"+a+","+o+".slds-medium-size_xx-large[data-render-mode='shadow'] {","width: 60rem;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-1"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-1) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-1"+a+","+o+".slds-medium-size_1-of-1[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-2"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-2) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-2"+a+","+o+".slds-medium-size_1-of-2[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-2"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-2) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-2"+a+","+o+".slds-medium-size_2-of-2[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-3"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-3) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-3"+a+","+o+".slds-medium-size_1-of-3[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-3"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-3) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-3"+a+","+o+".slds-medium-size_2-of-3[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-3"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-3) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-3"+a+","+o+".slds-medium-size_3-of-3[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-4"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-4) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-4"+a+","+o+".slds-medium-size_1-of-4[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-4"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-4) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-4"+a+","+o+".slds-medium-size_2-of-4[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-4"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-4) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-4"+a+","+o+".slds-medium-size_3-of-4[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_4-of-4"+a+", :host([data-render-mode='shadow'].slds-medium-size_4-of-4) {":o+"[data-render-mode='shadow'] .slds-medium-size_4-of-4"+a+","+o+".slds-medium-size_4-of-4[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-5"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-5) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-5"+a+","+o+".slds-medium-size_1-of-5[data-render-mode='shadow'] {","width: 20%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-5"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-5) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-5"+a+","+o+".slds-medium-size_2-of-5[data-render-mode='shadow'] {","width: 40%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-5"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-5) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-5"+a+","+o+".slds-medium-size_3-of-5[data-render-mode='shadow'] {","width: 60%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_4-of-5"+a+", :host([data-render-mode='shadow'].slds-medium-size_4-of-5) {":o+"[data-render-mode='shadow'] .slds-medium-size_4-of-5"+a+","+o+".slds-medium-size_4-of-5[data-render-mode='shadow'] {","width: 80%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_5-of-5"+a+", :host([data-render-mode='shadow'].slds-medium-size_5-of-5) {":o+"[data-render-mode='shadow'] .slds-medium-size_5-of-5"+a+","+o+".slds-medium-size_5-of-5[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-6"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-6) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-6"+a+","+o+".slds-medium-size_1-of-6[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-6"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-6) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-6"+a+","+o+".slds-medium-size_2-of-6[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-6"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-6) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-6"+a+","+o+".slds-medium-size_3-of-6[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_4-of-6"+a+", :host([data-render-mode='shadow'].slds-medium-size_4-of-6) {":o+"[data-render-mode='shadow'] .slds-medium-size_4-of-6"+a+","+o+".slds-medium-size_4-of-6[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_5-of-6"+a+", :host([data-render-mode='shadow'].slds-medium-size_5-of-6) {":o+"[data-render-mode='shadow'] .slds-medium-size_5-of-6"+a+","+o+".slds-medium-size_5-of-6[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_6-of-6"+a+", :host([data-render-mode='shadow'].slds-medium-size_6-of-6) {":o+"[data-render-mode='shadow'] .slds-medium-size_6-of-6"+a+","+o+".slds-medium-size_6-of-6[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-7"+a+","+o+".slds-medium-size_1-of-7[data-render-mode='shadow'] {","width: 14.2857142857%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-7"+a+","+o+".slds-medium-size_2-of-7[data-render-mode='shadow'] {","width: 28.5714285714%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-7"+a+","+o+".slds-medium-size_3-of-7[data-render-mode='shadow'] {","width: 42.8571428571%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_4-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_4-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_4-of-7"+a+","+o+".slds-medium-size_4-of-7[data-render-mode='shadow'] {","width: 57.1428571429%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_5-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_5-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_5-of-7"+a+","+o+".slds-medium-size_5-of-7[data-render-mode='shadow'] {","width: 71.428571428
5226%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_6-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_6-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_6-of-7"+a+","+o+".slds-medium-size_6-of-7[data-render-mode='shadow'] {","width: 85.7142857143%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_7-of-7"+a+", :host([data-render-mode='shadow'].slds-medium-size_7-of-7) {":o+"[data-render-mode='shadow'] .slds-medium-size_7-of-7"+a+","+o+".slds-medium-size_7-of-7[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-8"+a+","+o+".slds-medium-size_1-of-8[data-render-mode='shadow'] {","width: 12.5%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-8"+a+","+o+".slds-medium-size_2-of-8[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-8"+a+","+o+".slds-medium-size_3-of-8[data-render-mode='shadow'] {","width: 37.5%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_4-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_4-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_4-of-8"+a+","+o+".slds-medium-size_4-of-8[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_5-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_5-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_5-of-8"+a+","+o+".slds-medium-size_5-of-8[data-render-mode='shadow'] {","width: 62.5%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_6-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_6-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_6-of-8"+a+","+o+".slds-medium-size_6-of-8[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_7-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_7-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_7-of-8"+a+","+o+".slds-medium-size_7-of-8[data-render-mode='shadow'] {","width: 87.5%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_8-of-8"+a+", :host([data-render-mode='shadow'].slds-medium-size_8-of-8) {":o+"[data-render-mode='shadow'] .slds-medium-size_8-of-8"+a+","+o+".slds-medium-size_8-of-8[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_1-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_1-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_1-of-12"+a+","+o+".slds-medium-size_1-of-12[data-render-mode='shadow'] {","width: 8.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_2-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_2-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_2-of-12"+a+","+o+".slds-medium-size_2-of-12[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_3-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_3-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_3-of-12"+a+","+o+".slds-medium-size_3-of-12[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_4-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_4-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_4-of-12"+a+","+o+".slds-medium-size_4-of-12[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_5-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_5-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_5-of-12"+a+","+o+".slds-medium-size_5-of-12[data-render-mode='shadow'] {","width: 41.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_6-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_6-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_6-of-12"+a+","+o+".slds-medium-size_6-of-12[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_7-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_7-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_7-of-12"+a+","+o+".slds-medium-size_7-of-12[data-render-mode='shadow'] {","width: 58.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_8-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_8-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_8-of-12"+a+","+o+".slds-medium-size_8-of-12[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_9-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_9-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_9-of-12"+a+","+o+".slds-medium-size_9-of-12[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_10-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_10-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_10-of-12"+a+","+o+".slds-medium-size_10-of-12[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_11-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_11-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_11-of-12"+a+","+o+".slds-medium-size_11-of-12[data-render-mode='shadow'] {","width: 91.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-medium-size_12-of-12"+a+", :host([data-render-mode='shadow'].slds-medium-size_12-of-12) {":o+"[data-render-mode='shadow'] .slds-medium-size_12-of-12"+a+","+o+".slds-medium-size_12-of-12[data-render-mode='shadow'] {","width: 100%;}
522",s?":host([data-render-mode='shadow']) .slds-medium-order_1"+a+", :host([data-render-mode='shadow'].slds-medium-order_1) {":o+"[data-render-mode='shadow'] .slds-medium-order_1"+a+","+o+".slds-medium-order_1[data-render-mode='shadow'] {","order: 1;}",s?":host([data-render-mode='shadow']) .slds-medium-order_2"+a+", :host([data-render-mode='shadow'].slds-medium-order_2) {":o+"[data-render-mode='shadow'] .slds-medium-order_2"+a+","+o+".slds-medium-order_2[data-render-mode='shadow'] {","order: 2;}",s?":host([data-render-mode='shadow']) .slds-medium-order_3"+a+", :host([data-render-mode='shadow'].slds-medium-order_3) {":o+"[data-render-mode='shadow'] .slds-medium-order_3"+a+","+o+".slds-medium-order_3[data-render-mode='shadow'] {","order: 3;}",s?":host([data-render-mode='shadow']) .slds-medium-order_4"+a+", :host([data-render-mode='shadow'].slds-medium-order_4) {":o+"[data-render-mode='shadow'] .slds-medium-order_4"+a+","+o+".slds-medium-order_4[data-render-mode='shadow'] {","order: 4;}",s?":host([data-render-mode='shadow']) .slds-medium-order_5"+a+", :host([data-render-mode='shadow'].slds-medium-order_5) {":o+"[data-render-mode='shadow'] .slds-medium-order_5"+a+","+o+".slds-medium-order_5[data-render-mode='shadow'] {","order: 5;}",s?":host([data-render-mode='shadow']) .slds-medium-order_6"+a+", :host([data-render-mode='shadow'].slds-medium-order_6) {":o+"[data-render-mode='shadow'] .slds-medium-order_6"+a+","+o+".slds-medium-order_6[data-render-mode='shadow'] {","order: 6;}",s?":host([data-render-mode='shadow']) .slds-medium-order_7"+a+", :host([data-render-mode='shadow'].slds-medium-order_7) {":o+"[data-render-mode='shadow'] .slds-medium-order_7"+a+","+o+".slds-medium-order_7[data-render-mode='shadow'] {","order: 7;}",s?":host([data-render-mode='shadow']) .slds-medium-order_8"+a+", :host([data-render-mode='shadow'].slds-medium-order_8) {":o+"[data-render-mode='shadow'] .slds-medium-order_8"+a+","+o+".slds-medium-order_8[data-render-mode='shadow'] {","order: 8;}",s?":host([data-render-mode='shadow']) .slds-medium-order_9"+a+", :host([data-render-mode='shadow'].slds-medium-order_9) {":o+"[data-render-mode='shadow'] .slds-medium-order_9"+a+","+o+".slds-medium-order_9[data-render-mode='shadow'] {","order: 9;}",s?":host([data-render-mode='shadow']) .slds-medium-order_10"+a+", :host([data-render-mode='shadow'].slds-medium-order_10) {":o+"[data-render-mode='shadow'] .slds-medium-order_10"+a+","+o+".slds-medium-order_10[data-render-mode='shadow'] {","order: 10;}",s?":host([data-render-mode='shadow']) .slds-medium-order_11"+a+", :host([data-render-mode='shadow'].slds-medium-order_11) {":o+"[data-render-mode='shadow'] .slds-medium-order_11"+a+","+o+".slds-medium-order_11[data-render-mode='shadow'] {","order: 11;}",s?":host([data-render-mode='shadow']) .slds-medium-order_12"+a+", :host([data-render-mode='shadow'].slds-medium-order_12) {":o+"[data-render-mode='shadow'] .slds-medium-order_12"+a+","+o+".slds-medium-order_12[data-render-mode='shadow'] {","order: 12;}}@media (min-width: 64em) {",s?":host([data-render-mode='shadow']) [class*='slds-large-size_']"+a+", :host([data-render-mode='shadow'][class*='slds-large-size_']) {":o+"[data-render-mode='shadow'] [class*='slds-large-size_']"+a+","+o+"[class*='slds-large-size_'][data-render-mode='shadow'] {","flex: none;}",s?":host([data-render-mode='shadow']) .slds-large-size_xxx-small"+a+", :host([data-render-mode='shadow'].slds-large-size_xxx-small) {":o+"[data-render-mode='shadow'] .slds-large-size_xxx-small"+a+","+o+".slds-large-size_xxx-small[data-render-mode='shadow'] {","width: 3rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_xx-small"+a+", :host([data-render-mode='shadow'].slds-large-size_xx-small) {":o+"[data-render-mode='shadow'] .slds-large-size_xx-small"+a+","+o+".slds-large-size_xx-small[data-render-mode='shadow'] {","width: 6rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_x-small"+a+", :host([data-render-mode='shadow'].slds-large-size_x-small) {":o+"[data-render-mode='shadow'] .slds-large-size_x-small"+a+","+o+".slds-large-size_x-small[data-render-mode='shadow'] {","width: 12rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_small"+a+", :host([data-render-mode='shadow'].slds-large-size_small) {":
522o+"[data-render-mode='shadow'] .slds-large-size_small"+a+","+o+".slds-large-size_small[data-render-mode='shadow'] {","width: 15rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_medium"+a+", :host([data-render-mode='shadow'].slds-large-size_medium) {":o+"[data-render-mode='shadow'] .slds-large-size_medium"+a+","+o+".slds-large-size_medium[data-render-mode='shadow'] {","width: 20rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_large"+a+", :host([data-render-mode='shadow'].slds-large-size_large) {":o+"[data-render-mode='shadow'] .slds-large-size_large"+a+","+o+".slds-large-size_large[data-render-mode='shadow'] {","width: 25rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_x-large"+a+", :host([data-render-mode='shadow'].slds-large-size_x-large) {":o+"[data-render-mode='shadow'] .slds-large-size_x-large"+a+","+o+".slds-large-size_x-large[data-render-mode='shadow'] {","width: 40rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_xx-large"+a+", :host([data-render-mode='shadow'].slds-large-size_xx-large) {":o+"[data-render-mode='shadow'] .slds-large-size_xx-large"+a+","+o+".slds-large-size_xx-large[data-render-mode='shadow'] {","width: 60rem;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-1"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-1) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-1"+a+","+o+".slds-large-size_1-of-1[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-2"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-2) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-2"+a+","+o+".slds-large-size_1-of-2[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-2"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-2) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-2"+a+","+o+".slds-large-size_2-of-2[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-3"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-3) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-3"+a+","+o+".slds-large-size_1-of-3[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-3"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-3) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-3"+a+","+o+".slds-large-size_2-of-3[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-3"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-3) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-3"+a+","+o+".slds-large-size_3-of-3[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-4"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-4) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-4"+a+","+o+".slds-large-size_1-of-4[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-4"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-4) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-4"+a+","+o+".slds-large-size_2-of-4[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-4"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-4) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-4"+a+","+o+".slds-large-size_3-of-4[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-large-size_4-of-4"+a+", :host([data-render-mode='shadow'].slds-large-size_4-of-4) {":o+"[data-render-mode='shadow'] .slds-large-size_4-of-4"+a+","+o+".slds-large-size_4-of-4[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-5"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-5) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-5"+a+","+o+".slds-large-size_1-of-5[data-render-mode='shadow'] {","width: 20%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-5"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-5) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-5"+a+","+o+".slds-large-size_2-of-5[data-render-mode='shadow'] {","width: 40%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-5"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-5) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-5"+a+","+o+".slds-large-size_3-of-5[data-render-mode='shadow'] {","width: 60%;}",s?":host([data-render-mode='shadow']) .slds-large-size_4-of-5"+a+", :host([data-render-mode='shadow'].slds-large-size_4-of-5) {":o+"[data-render-mode='shadow'] .slds-large-size_4-of-5"+a+","+o+".slds-large-size_4-of-5[data-render-mode='shadow'] {","width: 80%;}",s?":host([data-render-mode='shadow']) .slds-large-size_5-of-5"+a+", :host([data-render-mode='shadow'].slds-large-size_5-of-5) {":o+"[data-render-mode='shadow'] .slds-large-size_5-of-5"+a+","+o+".slds-large-size_5-of-5[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-6"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-6) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-6"+a+","+o+".slds-large-size_1-of-6[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-6"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-6) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-6"+a+","+o+".slds-large-size_2-of-6[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-6"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-6) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-6"+a+","+o+".slds-large-size_3-of-6[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-large-size_4-of-6"+a+", :host([data-render-mode='shadow'].slds-large-size_4-of-6) {":o+"[data-render-mode='shadow'] .slds-large-size_4-of-6"+a+","+o+".slds-large-size_4-of-6[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_5-of-6"+a+", :host([data-render-mode='shadow'].slds-large-size_5-of-6) {":o+"[data-render-mode='shadow'] .slds-large-size_5-of-6"+a+","+o+".slds-large-size_5-of-6[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_6-of-6"+a+", :host([data-render-mode='shadow'].slds-large-size_6-of-6) {":o+"[data-render-mode='shadow'] .slds-large-size_6-of-6"+a+","+o+".slds-large-size_6-of-6[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-7"+a+","+o+".slds-large-size_1-of-7[data-render-mode='shadow'] {","width: 14.2857142857%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-7"+a+","+o+".slds-large-size_2-of-7[data-render-mode='shadow'] {","width: 28.5714285714%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-7"+a+","+o+".slds-large-size_3-of-7[data-render-mode='shadow'] {","width: 42.8571428571%;}",s?":host([data-render-mode='shadow']) .slds-large-size_4-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_4-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_4-of-7"+a+","+o+".slds-large-size_4-of-7[data-render-mode='shadow'] {","width: 57.1428571429%;}",s?":host([data-render-mode='shadow']) .slds-large-size_5-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_5-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_5-of-7"+a+","+o+".slds-large-size_5-of-7[data-render-mode='shadow'] {","width: 71.428571428
5226%;}",s?":host([data-render-mode='shadow']) .slds-large-size_6-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_6-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_6-of-7"+a+","+o+".slds-large-size_6-of-7[data-render-mode='shadow'] {","width: 85.7142857143%;}",s?":host([data-render-mode='shadow']) .slds-large-size_7-of-7"+a+", :host([data-render-mode='shadow'].slds-large-size_7-of-7) {":o+"[data-render-mode='shadow'] .slds-large-size_7-of-7"+a+","+o+".slds-large-size_7-of-7[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-8"+a+","+o+".slds-large-size_1-of-8[data-render-mode='shadow'] {","width: 12.5%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-8"+a+","+o+".slds-large-size_2-of-8[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-8"+a+","+o+".slds-large-size_3-of-8[data-render-mode='shadow'] {","width: 37.5%;}",s?":host([data-render-mode='shadow']) .slds-large-size_4-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_4-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_4-of-8"+a+","+o+".slds-large-size_4-of-8[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-large-size_5-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_5-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_5-of-8"+a+","+o+".slds-large-size_5-of-8[data-render-mode='shadow'] {","width: 62.5%;}",s?":host([data-render-mode='shadow']) .slds-large-size_6-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_6-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_6-of-8"+a+","+o+".slds-large-size_6-of-8[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-large-size_7-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_7-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_7-of-8"+a+","+o+".slds-large-size_7-of-8[data-render-mode='shadow'] {","width: 87.5%;}",s?":host([data-render-mode='shadow']) .slds-large-size_8-of-8"+a+", :host([data-render-mode='shadow'].slds-large-size_8-of-8) {":o+"[data-render-mode='shadow'] .slds-large-size_8-of-8"+a+","+o+".slds-large-size_8-of-8[data-render-mode='shadow'] {","width: 100%;}",s?":host([data-render-mode='shadow']) .slds-large-size_1-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_1-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_1-of-12"+a+","+o+".slds-large-size_1-of-12[data-render-mode='shadow'] {","width: 8.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_2-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_2-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_2-of-12"+a+","+o+".slds-large-size_2-of-12[data-render-mode='shadow'] {","width: 16.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_3-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_3-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_3-of-12"+a+","+o+".slds-large-size_3-of-12[data-render-mode='shadow'] {","width: 25%;}",s?":host([data-render-mode='shadow']) .slds-large-size_4-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_4-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_4-of-12"+a+","+o+".slds-large-size_4-of-12[data-render-mode='shadow'] {","width: 33.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_5-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_5-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_5-of-12"+a+","+o+".slds-large-size_5-of-12[data-render-mode='shadow'] {","width: 41.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_6-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_6-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_6-of-12"+a+","+o+".slds-large-size_6-of-12[data-render-mode='shadow'] {","width: 50%;}",s?":host([data-render-mode='shadow']) .slds-large-size_7-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_7-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_7-of-12"+a+","+o+".slds-large-size_7-of-12[data-render-mode='shadow'] {","width: 58.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_8-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_8-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_8-of-12"+a+","+o+".slds-large-size_8-of-12[data-render-mode='shadow'] {","width: 66.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_9-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_9-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_9-of-12"+a+","+o+".slds-large-size_9-of-12[data-render-mode='shadow'] {","width: 75%;}",s?":host([data-render-mode='shadow']) .slds-large-size_10-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_10-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_10-of-12"+a+","+o+".slds-large-size_10-of-12[data-render-mode='shadow'] {","width: 83.3333333333%;}",s?":host([data-render-mode='shadow']) .slds-large-size_11-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_11-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_11-of-12"+a+","+o+".slds-large-size_11-of-12[data-render-mode='shadow'] {","width: 91.6666666667%;}",s?":host([data-render-mode='shadow']) .slds-large-size_12-of-12"+a+", :host([data-render-mode='shadow'].slds-large-size_12-of-12) {":o+"[data-render-mode='shadow'] .slds-large-size_12-of-12"+a+","+o+".slds-large-size_12-of-12[data-render-mode='shadow'] {","width: 100%;}
522",s?":host([data-render-mode='shadow']) .slds-large-order_1"+a+", :host([data-render-mode='shadow'].slds-large-order_1) {":o+"[data-render-mode='shadow'] .slds-large-order_1"+a+","+o+".slds-large-order_1[data-render-mode='shadow'] {","order: 1;}",s?":host([data-render-mode='shadow']) .slds-large-order_2"+a+", :host([data-render-mode='shadow'].slds-large-order_2) {":o+"[data-render-mode='shadow'] .slds-large-order_2"+a+","+o+".slds-large-order_2[data-render-mode='shadow'] {","order: 2;}",s?":host([data-render-mode='shadow']) .slds-large-order_3"+a+", :host([data-render-mode='shadow'].slds-large-order_3) {":o+"[data-render-mode='shadow'] .slds-large-order_3"+a+","+o+".slds-large-order_3[data-render-mode='shadow'] {","order: 3;}",s?":host([data-render-mode='shadow']) .slds-large-order_4"+a+", :host([data-render-mode='shadow'].slds-large-order_4) {":o+"[data-render-mode='shadow'] .slds-large-order_4"+a+","+o+".slds-large-order_4[data-render-mode='shadow'] {","order: 4;}",s?":host([data-render-mode='shadow']) .slds-large-order_5"+a+", :host([data-render-mode='shadow'].slds-large-order_5) {":o+"[data-render-mode='shadow'] .slds-large-order_5"+a+","+o+".slds-large-order_5[data-render-mode='shadow'] {","order: 5;}",s?":host([data-render-mode='shadow']) .slds-large-order_6"+a+", :host([data-render-mode='shadow'].slds-large-order_6) {":o+"[data-render-mode='shadow'] .slds-large-order_6"+a+","+o+".slds-large-order_6[data-render-mode='shadow'] {","order: 6;}",s?":host([data-render-mode='shadow']) .slds-large-order_7"+a+", :host([data-render-mode='shadow'].slds-large-order_7) {":o+"[data-render-mode='shadow'] .slds-large-order_7"+a+","+o+".slds-large-order_7[data-render-mode='shadow'] {","order: 7;}",s?":host([data-render-mode='shadow']) .slds-large-order_8"+a+", :host([data-render-mode='shadow'].slds-large-order_8) {":o+"[data-render-mode='shadow'] .slds-large-order_8"+a+","+o+".slds-large-order_8[data-render-mode='shadow'] {","order: 8;}",s?":host([data-render-mode='shadow']) .slds-large-order_9"+a+", :host([data-render-mode='shadow'].slds-large-order_9) {":o+"[data-render-mode='shadow'] .slds-large-order_9"+a+","+o+".slds-large-order_9[data-render-mode='shadow'] {","order: 9;}",s?":host([data-render-mode='shadow']) .slds-large-order_10"+a+", :host([data-render-mode='shadow'].slds-large-order_10) {":o+"[data-render-mode='shadow'] .slds-large-order_10"+a+","+o+".slds-large-order_10[data-render-mode='shadow'] {","order: 10;}",s?":host([data-render-mode='shadow']) .slds-large-order_11"+a+", :host([data-render-mode='shadow'].slds-large-order_11) {":o+"[data-render-mode='shadow'] .slds-large-order_11"+a+","+o+".slds-large-order_11[data-render-mode='shadow'] {","order: 11;}",s?":host([data-render-mode='shadow']) .slds-large-order_12"+a+", :host([data-render-mode='shadow'].slds-large-order_12) {":o+"[data-render-mode='shadow'] .slds-large-order_12"+a+","+o+".slds-large-order_12[data-render-mode='shadow'] {","order: 12;}}"].join("")}];d.default=s,Object.defineProperty(d,"__esModule",{value:!0})});
523})();(function() { LWR.define("interop/layoutItem",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils"],function(e,i,t,l,s){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t);var o=[function(){return""}];const r={key:0},u=[];function d(e,i,t,l){const{s:s}=e;return[s("",r,u,t)]}var m=i.registerTemplate(d);d.slots=[""],d.stylesheets=[],d.stylesheetToken="lwc-3083se99ps9",d.legacyStylesheetToken="interop-layoutItem_layoutItem",o&&d.stylesheets.push.apply(d.stylesheets,o),i.freezeTemplate(d);const c={default:null,small:null,medium:null,large:null},h=["horizontal-small","horizontal-medium","horizontal-large","around-small","around-medium","around-large"],g={"slds-p-right_small":"horizontal-small","slds-p-left_small":"horizontal-small","slds-p-right_medium":"horizontal-medium","slds-p-left_medium":"horizontal-medium","slds-p-right_large":"horizontal-large","slds-p-left_large":"horizontal-large","slds-p-around_small":"around-small","slds-p-around_medium":"around-medium","slds-p-around_large":"around-large"}
523,f=["auto","shrink","no-shrink","grow","no-grow","no-flex"],p={"slds-col":"auto","slds-grow":"grow","slds-shrink":"shrink","slds-grow-none":"no-grow","slds-shrink-none":"no-shrink","slds-no-flex":"no-flex"},z={default:"slds-size_",small:"slds-small-size_",medium:"slds-medium-size_",large:"slds-large-size_"},v=["left","top","right","bottom"],_="You cannot have `flexibility` value to be set to `auto` and `no-flex` together for <lightning-layout-item> component",S="Invalid `size` attribute for <lightning-layout-item> component. The `size` attribute should be an integer between 1 and 12",b="Invalid `smallDeviceSize` attribute for <lightning-layout-item> component. The `smallDeviceSize` attribute should be an integer between 1 and 12",y="Invalid `mediumDeviceSize` attribute for <lightning-layout-item> component. The `mediumDeviceSize` attribute should be an integer between 1 and 12",D="Invalid `largeDeviceSize` attribute for <lightning-layout-item> component. The `largeDeviceSize` attribute should be an integer between 1 and 12",w="You cannot have device specific size attributes for <lightning-layout-item> component without specifying the `size` attribute";function C(e){if(function(e){return e.some(e=>"auto"===e)&&e.some(e=>"no-flex"===e)}(e=function(e){return Array.isArray(e)?e:"string"==typeof e?(e=e.split(",")).map(e=>e.trim()):[e]}(e)))throw new Error(_);return e.filter(e=>f.some(i=>e===i))}function k(e){if(null!=e){const i=parseFloat(e);return isNaN(i)?null:Math.round(i)}return e}function x(e,i,t,l){const n=function(e,i){return i=i||s.classSet(),e=e||" ",Object.keys(g).forEach(t=>{g[t].toLowerCase()===e&&i.add(t)}),i}(t);return function(e,i){i=i||s.classSet(),e=e||[],Object.keys(p).forEach(t=>{e.some(e=>e===p[t])&&i.add(t)})}(i,n),function(e,i){i=i||s.classSet(),e=e||c,Object.keys(z).forEach(t=>{const l=e[t];null!=l&&0!==l&&i.add(`${z[t]}${l}-of-12`)})}(e,n),function(e,i){i=i||s.classSet(),""!==(e=e||"")&&i.add(`slds-col_bump-${e}`)}(l,n),n}class L extends a.default{constructor(...e){super(...e),this._flexibility=void 0,this._alignmentBump=void 0,this._padding=void 0,this._size=void 0,this._smallDeviceSize=void 0,this._mediumDeviceSize=void 0,this._largeDeviceSize=void 0,this._layoutClass=[]}get flexibility(){return this._flexibility}set flexibility(e){this._flexibility=C(e),this.updateClassList()}get alignmentBump(){return this._alignmentBump}set alignmentBump(e){this._alignmentBump=function(e){return e=e?e.toLowerCase():" ",l.normalizeString(e,{fallbackValue:"",validValues:v})}(e),this.updateClassList()}get padding(){return this._padding}set padding(e){this._padding=function(e){return e=e?e.toLowerCase():" ",l.normalizeString(e,{fallbackValue:" ",validValues:h})}(e),this.updateClassList()}get size(){return this._size}set size(e){this._size=k(e),this.validateSize(),this.updateClassList()}get smallDeviceSize(){return this._smallDeviceSize}set smallDeviceSize(e){this._smallDeviceSize=k(e),this.validateSize(),this.updateClassList()}get mediumDeviceSize(){return this._mediumDeviceSize}set mediumDeviceSize(e){this._mediumDeviceSize=k(e),this.validateSize()}get largeDeviceSize(){return this._largeDeviceSize}set largeDeviceSize(e){this._largeDeviceSize=k(e),this.validateSize(),this.updateClassList()}connectedCallback(){super.connectedCallback(),this.updateClassList()}updateClassList(){this.classList.remove(...this._layoutClass);const e=x({default:this.size,small:this.smallDeviceSize,medium:this.mediumDeviceSize,large:this.largeDeviceSize},this.flexibility,this.padding,this.alignmentBump);this._layoutClass=Object.keys(e),this.classList.add(...this._layoutClass)}validateSize(){!function(e,i,t,l){if(null!=e&&!(1<=e&&e<=12))throw new Error(S);if(null!=i&&!(1<=i&&i<=12))throw new Error(b);if(null!=t&&!(1<=t&&t<=12))throw new Error(y);if(l&&!(1<=l&&l<=12))throw new Error(D);if(null==e&&(null!=i||null!=t||null!=l))throw new Error(w)}(this.size,this.smallDeviceSize,this.mediumDeviceSize,this.largeDeviceSize)}}L.validationOptOut=["class"],i.registerDecorators(L,{publicProps:{flexibility:{config:3},alignmentBump:{config:3},padding:{config:3},size:{config:3},smallDeviceSize:{config:3},mediumDeviceSize:{config:3},largeDeviceSize:{config:3}},track:{_flexibility:1,_alignmentBump:1,_padding:1,_size:1,_smallDeviceSize:1,_mediumDeviceSize:1,_largeDeviceSize:1},fields:["_layoutClass"]});const E=i.registerComponent(L,{tmpl:m,sel:"interop-layout-item",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
523e.default=E,Object.defineProperty(e,"__esModule",{value:!0})});
524})();LWR.define('lightning/layoutItem', ['interop/layoutItem'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("@salesforce/apex/B2BContentController.getRochesterLogo",["exports","lwc","force/ldsAdaptersApex"],function(e,s,n){const o=n.getApexInvoker("","@udd/01p4w000005fJfF","getRochesterLogo","false"),t=s.registerComponent(o,{tmpl:void 0,sel:"@salesforce-da3ex6sr407cdf30c3jysa9ew2tszwoh7eqx3bkmnbk7paonldcilbs9dv7jricmn",apiVersion:66,enableSyntheticElementInternals:!0});e.default=t,Object.defineProperty(e,"__esModule",{value:!0})});
525})();(function() { LWR.define("@salesforce/resourceUrl/B2BRochester",["exports","@app/basePath","@app/versionKey"],function(e,t,a){function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=f(t),r=f(a),u=`${o.default}/webruntime/org-asset/${r.default}/resource/0814w000001Dw1Y`;e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
526})();(function() { LWR.define("c/b2bUtil",["exports","@salesforce/label/c.B2BLoggingIdentifier"],function(e,t){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const r=i(t).default;function n(){let e=!1,t=a((window===globalThis||window===document?location:window.location).href);return t.hasOwnProperty("loggingToken")&&t.loggingToken===r&&(e=!0),e}function a(e){var t,i=[];if(e)for(var r=e.slice(e.indexOf("?")+1).split("&"),n=0;n<r.length;n++)t=r[n].split("="),i.push(t[0]),i[t[0]]=t[1];return i}e.applicationLogging=e=>{if(n()){JSON.parse(e).forEach(function(e,t){"DEBUG"===e.loggingLevel?console.log(e.entryPoint+e.className+":"+e.methodName+": "+e.message):"ERROR"===e.loggingLevel&&console.error(e.entryPoint+e.className+":"+e.methodName+": "+e.message)})}},e.consoleLogging=e=>{n()&&console.log(e)},e.convertCartItemsResultsToGTItems=e=>{let t=[];for(let i=0;i<e.length;i++){let r=e[i],n={item_id:r.productId,item_name:r.name,item_brand:"",item_category:"",index:i,price:parseFloat(r.salesPrice),quantity:parseInt(r.quantity)};t.push(n)}return t},e.convertCartItemsToGTItems=e=>{let t=[];if(e)for(let i=0;i<e.length;i++){let r=e[i],n={item_id:r.cartItem.productId,product_id:r.cartItem.productId,item_name:r.cartItem.name,item_brand:"",item_category:"",index:i,price:parseFloat(r.cartItem.salesPrice),quantity:parseInt(r.cartItem.quantity)};t.push(n)}return t},e.convertOrderItemsToGTItems=e=>{let t=[];for(let i=0;i<e.length;i++){let r=e[i],n={item_id:r.Product2Id,item_name:r.Name,item_brand:"",item_category:"",index:i,price:r.UnitPrice,quantity:r.Quantity};t.push(n)}return t},e.convertPLPResultsToGTItems=e=>{let t=[];for(let i=0;i<e.length;i++){let r=e[i],n=r.fields.TechnologyCategory__c.value,a=n.split(";");n=a.join(",");let o=r.fields.Manufacturer__c.value,c=o.split(";");o=c.join(",");let m={item_id:r.id,item_name:r.fields.Name.value,item_brand:o,item_category:n,index:i,price:parseFloat(r.prices.unitPrice),quantity:1};t.push(m)}return t},e.convertProductsToGTItems=e=>{let t=[];for(let i=0;i<e.length;i++){let r=e[i],n=r.fields.TechnologyCategory__c,a=n.split(";");n=a.join(",");let o=r.fields.Manufacturer__c,c=o.split(";");o=c.join(",");let m={item_id:r.id,item_name:r.fields.Name,item_brand:o,item_category:n,index:i,price:0,quantity:1};t.push(m)}return t},e.convertWebCartItemstoGTItems=e=>{let t=[];for(let i=0;i<e.length;i++){let r=e[i],n={item_id:r.Product2Id,item_name:r.Name,item_brand:"",item_category:"",index:i,price:r.SalesPrice,quantity:r.Quantity};t.push(n)}return t},e.formatLabel=function(e,t){if("string"!=typeof e)throw new Error("'stringToFormat' must be a String");return e.replace(/{(\d+)}/g,(e,i)=>void 0===t[i]?"":`${t[i]}`)},e.getConstants=()=>({NO_ACCESS_MSG:"You don't have sufficient access to configure Products, Please contact System Admin."}),e.getUrlVars=a,e.googleTagManager=(e,t)=>{window.dataLayer=window.dataLayer||[];let i={};"view_item_list"==t?i={event:"view_item_list",ecommerce:{items:e.items}}:"select_item"==t?i={event:"select_item",ecommerce:{items:e.items}}:"view_item"==t?i={event:"view_item",ecommerce:{currency:"USD",value:e.value,items:e.items}}:"add_to_cart"==t?i={event:"add_to_cart",ecommerce:{currency:"USD",value:e.value,items:e.items}}:"remove_from_cart"==t?i={event:"remove_from_cart",ecommerce:{currency:"USD",value:e.value,items:e.items}}:"view_cart"==t?i={event:"view_cart",ecommerce:{items:e.items}}:"begin_checkout"==t?i={event:"begin_checkout",ecommerce:{currency:"USD",value:e.value,items:e.items}}:"add_payment_details"==t?i={event:"add_payment_details",ecommerce:{currency:"USD",payment_type:e.paymentType,value:e.value,items:e.items}}:"add_shipping_info"==t?i={event:"add_shipping_info",ecommerce:{currency:"USD",shipping_tier:e.shippingTier,value:e.value,items:e.items}}:"view_item_list_order"==t&&(i={event:"purchase",ecommerce:{currency:"USD",transaction_id:e.transactionId,value:e.value,shipping:e.shippingAmount,tax:e.taxAmount,items:e.items}}),window.dataLayer.push(i)},e.isInSitePreview=()=>{let e=document.URL;return e.indexOf("sitepreview")>0||e.indexOf("livepreview")>0||e.indexOf("live-preview")>0||e.indexOf("live.")>0||e.indexOf(".builder.")>0},e.personalizationManager=(e,t)=>{window.commerceFormData=window.commerceFormData||{},window.commerceFormData[t]=e},e.removeURLParameter=function(e,t){var i=e.split("?");if(i.length>=2){for(var r=encodeURIComponent(t)+"=",n=i[1].split(/[&;]/g),a=n.length;a-- >0;)-1!==n[a].lastIndexOf(r,0)&&n.splice(a,1);return i[0]+(n.length>0?"?"+n.join("&"):"")}return e},e.replaceUrlParam=function(e,t,i){null==i&&(i="");var r=new RegExp("\\b("+t+"=).*?(&|#|$)");return e.search(r)>=0?e.replace(r,"$1"+i+"$2"):(e=e.replace(/[?#]$/,""))+(e.indexOf("?")>0?"&":"?")+t+"="+i}
526,Object.defineProperty(e,"__esModule",{value:!0})});
527})();(function() { LWR.define("c/b2bFooter",["exports","lwc","lightning/layoutItem","lightning/layout","@salesforce/apex/B2BContentController.getRochesterLogo","@salesforce/resourceUrl/B2BRochester","@salesforce/label/c.B2BProducts","@salesforce/label/c.B2BAnalogandMixedSignal","@salesforce/label/c.B2BDiscrete","@salesforce/label/c.B2BLogic","@salesforce/label/c.B2BProcessorandPeripheral","@salesforce/label/c.B2BMemory","@salesforce/label/c.B2BOptoelctronics","@salesforce/label/c.B2BMarkets","@salesforce/label/c.B2BAerospaceandDefence","@salesforce/label/c.B2BAutomotive","@salesforce/label/c.B2BIndustrial","@salesforce/label/c.B2BMedical","@salesforce/label/c.B2BTransportation","@salesforce/label/c.B2BSolutions","@salesforce/label/c.B2BAuthorizedDistribution","@salesforce/label/c.B2BLicensedManufacturing","@salesforce/label/c.B2BManufacturingServices","@salesforce/label/c.B2BQuality","@salesforce/label/c.B2BAntiCounterfeiting","@salesforce/label/c.B2BResources","@salesforce/label/c.B2BVideos","@salesforce/label/c.B2BLiterature","@salesforce/label/c.B2BAboutUs","@salesforce/label/c.B2BCareers","@salesforce/label/c.B2BDistributors","@salesforce/label/c.B2BAssociations","@salesforce/label/c.B2BLeadership","@salesforce/label/c.B2BOurLocations","@salesforce/label/c.B2BManufacturers","@salesforce/label/c.B2BRightReserved","@salesforce/label/c.B2BPrivacyPolicy","@salesforce/label/c.B2BCookiePolicy","@salesforce/label/c.B2BTermsandConditions","@salesforce/label/c.B2BGDPRPolicy","@salesforce/label/c.B2BSlaveryandHumanTraffickingStatement","@salesforce/label/c.B2BAnalogandMixedSignalHref","@salesforce/label/c.B2BDiscreteHref","@salesforce/label/c.B2BLogicHref","@salesforce/label/c.B2BProcessorandPeripheralHref","@salesforce/label/c.B2BMemoryHref","@salesforce/label/c.B2BOptoelctronicsHref","@salesforce/label/c.B2BAerospaceandDefenceHref","@salesforce/label/c.B2BAutomotiveHref","@salesforce/label/c.B2BIndustrialHref","@salesforce/label/c.B2BMedicalHref","@salesforce/label/c.B2BTransportationHref","@salesforce/label/c.B2BMarketsHref","@salesforce/label/c.B2BProductsHref","@salesforce/label/c.B2BSolutionsHref","@salesforce/label/c.B2BAuthorizedDistributionHref","@salesforce/label/c.B2BLicensedManufacturingHref","@salesforce/label/c.B2BManufacturingServicesHref","@salesforce/label/c.B2BQualityHref","@salesforce/label/c.B2BAntiCounterfeitingHref","@salesforce/label/c.B2BResourcesHref","@salesforce/label/c.B2BVideosHref","@salesforce/label/c.B2BLiteratureHref","@salesforce/label/c.B2BAboutUsHref","@salesforce/label/c.B2BCareersHref","@salesforce/label/c.B2BDistributorsHref","@salesforce/label/c.B2BAssociations
527Href","@salesforce/label/c.B2BLeadershipHref","@salesforce/label/c.B2BOurLocationsHref","@salesforce/label/c.B2BManufacturersHref","@salesforce/label/c.B2BPrivacyPolicyHref","@salesforce/label/c.B2BCookiePolicyHref","@salesforce/label/c.B2BTermsandConditionsHref","@salesforce/label/c.B2BGDPRPolicyHref","@salesforce/label/c.B2BTwitterHref","@salesforce/label/c.B2BLinkedInHref","@salesforce/label/c.B2BFacebookHref","@salesforce/label/c.B2BYoutubeHref","@salesforce/label/c.SiteSufix","@salesforce/label/c.B2BSlaveryandHumanTraffickingStatementHref","@salesforce/label/c.B2BDesignAndAuthorizedReplication","@salesforce/label/c.B2BDesignAndAuthorizedApplicationHref","c/b2bUtil"],function(e,l,a,r,t,s,o,i,n,c,B,f,u,d,b,$,h,g,p,H,m,v,y,A,L,D,S,P,k,M,z,C,R,F,T,U,w,x,I,O,_,Y,G,Q,V,j,E,K,N,q,J,W,X,Z,ee,le,ae,re,te,se,oe,ie,ne,ce,Be,fe,ue,de,be,$e,he,ge,pe,He,me,ve,ye,Ae,Le,De,Se,Pe,ke){function Me(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var ze=Me(a),Ce=Me(r),Re=Me(t),Fe=Me(s),Te=Me(o),Ue=Me(i),we=Me(n),xe=Me(c),Ie=Me(B),Oe=Me(f),_e=Me(u),Ye=Me(d),Ge=Me(b),Qe=Me($),Ve=Me(h),je=Me(g),Ee=Me(p),Ke=Me(H),Ne=Me(m),qe=Me(v),Je=Me(y),We=Me(A),Xe=Me(L),Ze=Me(D),el=Me(S),ll=Me(P),al=Me(k),rl=Me(M),tl=Me(z),sl=Me(C),ol=Me(R),il=Me(F),nl=Me(T),cl=Me(U),Bl=Me(w),fl=Me(x),ul=Me(I),dl=Me(O),bl=Me(_),$l=Me(Y),hl=Me(G),gl=Me(Q),pl=Me(V),Hl=Me(j),ml=Me(E),vl=Me(K),yl=Me(N),Al=Me(q),Ll=Me(J),Dl=Me(W),Sl=Me(X),Pl=Me(Z),kl=Me(ee),Ml=Me(le),zl=Me(ae),Cl=Me(re),Rl=Me(te),Fl=Me(se),Tl=Me(oe),Ul=Me(ie),wl=Me(ne),xl=Me(ce),Il=Me(Be),Ol=Me(fe),_l=Me(ue),Yl=Me(de),Gl=Me(be),Ql=Me($e),Vl=Me(he),jl=Me(ge),El=Me(pe),Kl=Me(He),Nl=Me(me),ql=Me(ve),Jl=Me(ye),Wl=Me(Ae),Xl=Me(Le),Zl=Me(De),ea=Me(Se),la=Me(Pe);var aa=[function(e,l,a){var r=e?"["+e+"]":"";return".container"+r+"{background: black;padding: 45px;}.nav-column"+r+" > ul"+r+"> li"+r+"> a"+r+", .nav-column"+r+" > .column-caption"+r+"> a"+r+" {color: white !important;line-height: 2.5;}.column-caption"+r+"{font-size: 22px;font-weight: bold;}.manufacturer"+r+"{color: white !important;font-size: 22px;font-weight: bold;}.paragraph"+r+"{color: white;font-size: 10px;font-weight:100;float: right;}.anchor"+r+"{color: white !important;}.rochester"+r+"{height: 70px;}.privacy"+r+"{float: right;}.rightReserved"+r+"{color: white;text-align: right;width: 100%;font-size: smaller;}.anchorDiv"+r+"{color: white;font-size: small;font-weight: 600;}.footerLogo"+r+"{height: 18px;width: 20px;}.footerLogoYoutube"+r+"{height: 14px;}"}];const ra=l.parseFragment`<div class="nav-column${0}"${2}><h3 class="column-caption${0}"${2}><a${"a2:href"}${3}><b${3}>${"t4"}</b></a></h3><ul${3}><li${3}><a${"a7:href"}${3}>${"t8"}</a></li><li${3}><a${"a10:href"}${3}>${"t11"}</a></li><li${3}><a${"a13:href"}${3}>${"t14"}</a></li><li${3}><a${"a16:href"}${3}>${"t17"}</a></li><li${3}><a${"a19:href"}${3}>${"t20"}</a></li><li${3}><a${"a22:href"}${3}>${"t23"}</a></li></ul></div>`,ta=l.parseFragment`<div class="nav-column nav-column1${0}"${2}><h3 class="column-caption${0}"${2}><a${"a2:href"}${3}><b${3}>${"t4"}</b></a></h3><ul${3}><li${3}><a${"a7:href"}${3}>${"t8"}</a></li><li${3}><a${"a10:href"}${3}>${"t11"}</a></li><li${3}><a${"a13:href"}${3}>${"t14"}</a></li><li${3}><a${"a16:href"}${3}>${"t17"}</a></li><li${3}><a${"a19:href"}${3}>${"t20"}</a></li></ul></div>`,sa=l.parseFragment`<div class="nav-column nav-column1${0}"${2}><h3 class="column-caption${0}"${2}><a${"a2:href"}${3}><b${3}>${"t4"}</b></a></h3><ul${3}><li${3}><a${"a7:href"}${3}>${"t8"}</a></li><li${3}><a${"a10:href"}${3}>${"t11"}</a></li><li${3}><a${"a13:href"}${3}>${"t14"}</a></li><li${3}><a${"a16:href"}${3}>${"t17"}</a></li></ul></div>`,oa=l.parseFragment`<div class="nav-column nav-column1${0}"${2}><h3 class="column-caption${0}"${2}><a${"a2:href"}${3}><b${3}>${"t4"}</b></a></h3><ul${3}><li${3}><a${"a7:href"}${3}>${"t8"}</a></li></ul><br${3}><h3 class="column-caption${0}"${2}><a${"a11:href"}${3}><b${3}>${"t13"}</b></a></h3><ul${3}></ul></div>`,ia=l.parseFragment`<div class="nav-column nav-column1${0}"${2}><h3 class="column-caption${0}"${2}><a${"a2:href"}${3}><b${3}>${"t4"}</b></a></h3><ul${3}><li${3}><a${"a7:href"}${3}>${"t8"}</a></li><li${3}><a${"a10:href"}${3}>${"t11"}</a></li><li${3}><a${"a13:href"}${3}>${"t14"}</a></li><li${3}><a${"a16:href"}${3}>${"t17"}</a></li><li${3}><a${"a19:href"}${3}>${"t20"}</a></li></ul></div>`,na=l.parseFragment`<br${3}>`,ca=l.parseFragment`<br${3}>`,Ba=l.parseFragment`<br${3}>`,fa=l.parseFragment`<h2${3}><a class="manufacturer${0}"${"a1:href"}${2}>${"t2"}</a></h2>`,ua=l.parseFragment`<br${3}>`,da=l.parseFragment`<hr${3}>`,ba=l.parseFragment`<br${3}>`,$a=l.parseFragment`<span${3}><a${"a1:href"}${3}><img class="rochester${0}"${"a2:src"}${2}></a></span>`,ha=l.parseFragment`<span class="privacy${0}"${2}><div class="rightReserved${0}"${2}>${"t2"}<br${3}></div><span class="anchorDiv${0}"${2}><a class="anchor${0}"${"a5:href"}${2}>${"t6"}</a>  | <a class="anchor${0}"${"a8:href"}${2}>${"t9"}</a>  | <a class="anchor${0}"${"a11:href"}${2}>${"t12"}</a>  | <a class="anchor${0}"${"a14:href"}${2}>${"t15"}</a>  | <a class="anchor${0}"${"a17:href"}${2}>${"t18"}</a></span></span>`,ga=l.parseFragment`<span class="slds-m-right_large slds-hide${0}"${2}><a${"a1:href"}${3}><img class="footerLogo${0}"${"a2:src"}${2}></a></span>`,pa=l.parseFragment`<span class="slds-m-right_large${0}"${2}><a${"a1:href"}${3}><img class="footerLogo${0}"${"a2:src"}${2}></a></span>`,Ha=l.parseFragment`<span class="slds-m-right_large${0}"${2}><a${"a1:href"}${3}><img class="footerLogo${0}"${"a2:src"}${2}></a></span>`,ma=l.parseFragment`<span class="slds-m-right_large${0}"${2}><a${"a1:href"}${3}><img class="footerLogoYoutube${0}"${"a2:src"}${2}></a></span>`,va={classMap:{container:!0},key:0},ya={props:{size:"12",largeDeviceSize:"3",mediumDeviceSize:"3",smallDeviceSize:"6"},key:2},Aa={props:{size:"12",largeDeviceSize:"2",smallDeviceSize:"6",mediumDeviceSize:"3"},key:5},La={props:{size:"12",largeDeviceSize:"3",smallDeviceSize:"6",mediumDeviceSize:"3"},key:8},Da={props:{size:"12",largeDeviceSize:"2",smallDeviceSize:"6",mediumDeviceSize:"2"},key:11},Sa={props:{size:"12",largeDeviceSize:"2",smallDeviceSize:"9",mediumDeviceSize:"2"},key:14},Pa={props:{size:"12"},key:19},ka={props:{size:"12"},key:32},Ma={props:{size:"12"},key:37};function za(e,l,a,r){const{d:t,sp:s,st:o,c:i,h:n}=e;return[n("div",va,[i("lightning-layout",Ce.default,{props:{multipleRows:!0,horizontalAlign:l.horizontalAlign},key:1},[i("lightning-layout-item",ze.default,ya,[o(ra,4,[s(2,{attrs:{href:l.labels.B2BProductsHref}},null),s(4,null,t(l.labels.B2BProducts)),s(7,{attrs:{href:l.labels.B2BAnalogandMixedSignalHref}},null),s(8,null,t(l.labels.B2BAnalogandMixedSignal)),s(10,{attrs:{href:l.labels.B2BDiscreteHref}},null),s(11,null,t(l.labels.B2BDiscrete)),s(13,{attrs:{href:l.labels.B2BLogicHref}},null),s(14,null,t(l.labels.B2BLogic)),s(16,{attrs:{href:l.labels.B2BMemoryHref}},null),s(17,null,t(l.labels.B2BMemory)),s(19,{attrs:{href:l.labels.B2BOptoelctronicsHref}},null),s(20,null,t(l.labels.B2BOptoelctronics)),s(22,{attrs:{href:l.labels.B2BProcessorandPeripheralHref}},null),s(23,null,t(l.labels.B2BProcessorandPeripheral))])]),i("lightning-layout-item",ze.default,Aa,[o(ta,7,[s(2,{attrs:{href:l.labels.B2BMarketsHref}},null),s(4,null,t(l.labels.B2BMarkets)),s(7,{attrs:{href:l.labels.B2BAerospaceandDefenceHref}},null),s(8,null,t(l.labels.B2BAerospaceandDefence)),s(10,{attrs:{href:l.labels.B2BAutomotiveHref}},null),s(11,null,t(l.labels.B2BAutomotive)),s(13,{attrs:{href:l.labels.B2BIndustrialHref}},null),s(14,null,t(l.labels.B2BIndustrial)),s(16,{attrs:{href:l.labels.B2BMedicalHref}},null),s(17,null,t(l.labels.B2BMedical)),s(19,{attrs:{href:l.labels.B2BTransportationHref}},null),s(20,null,t(l.labels.B2BTransportation))])]),i("lightning-layout-item",ze.default,La,[o(sa,10,[s(2,{attrs:{href:l.labels.B2BSolutionsHref}},null),s(4,null,t(l.labels.B2BSolutions)),s(7,{attrs:{href:l.labels.B2BAuthorizedDistributionHref}},null),s(8,null,t(l.labels.B2BAuthorizedDistribution)),s(10,{attrs:{href:l.labels.B2BLicensedManufacturingHref}},null),s(11,null,t(l.labels.B2BLicensedManufacturing)),s(13,{attrs:{href:l.labels.B2BDesignAndAuthorizedApplicationHref}},null),s(14,null,t(l.labels.B2BDesignAndAuthorizedReplication)),s(16,{attrs:{href:l.labels.B2BManufacturingServicesHref}},null),s(17,null,t(l.labels.B2BManufacturingServices))])]),i("lightning-layout-item",ze.default,Da,[o(oa,13,[s(2,{attrs:{href:l.labels.B2BQualityHref}},null),s(4,null,t(l.labels.B2BQuality)),s(7,{attrs:{href:l.labels.B2BAntiCounterfeitingHref}},null),s(8,null,t(l.labels.B2BAntiCounterfeiting)),s(11,{attrs:{href:l.labels.B2BResourcesHref}},null),s(13,null,t(l.labels.B2BResources))])]),i("lightning-layout-item",ze.default,Sa,[o(ia,16,[s(2,{attrs:{href:l.labels.B2BAboutUsHref}},null),s(4,null,t(l.labels.B2BAboutUs)),s(7,{attrs:{href:l.labels.B2BCareersHref}},null),s(8,null,t(l.labels.B2BCareers)),s(10,{attrs:{href:l.labels.B2BDistributorsHref}},null),s(11,null,t(l.labels.B2BDistributors)),s(13,{attrs:{href:l.labels.B2BAssociations
527Href}},null),s(14,null,t(l.labels.B2BAssociations)),s(16,{attrs:{href:l.labels.B2BLeadershipHref}},null),s(17,null,t(l.labels.B2BLeadership)),s(19,{attrs:{href:l.labels.B2BOurLocationsHref}},null),s(20,null,t(l.labels.B2BOurLocations))])]),o(na,18),i("lightning-layout-item",ze.default,Pa,[o(ca,21),o(Ba,23),o(fa,25,[s(1,{attrs:{href:l.labels.B2BManufacturersHref}},null),s(2,null,t(l.labels.B2BManufacturers))]),o(ua,27),o(da,29),o(ba,31)]),i("lightning-layout-item",ze.default,ka,[o($a,34,[s(1,{attrs:{href:l.labels.SiteSufix}},null),s(2,{attrs:{src:l.rochesterLogoUrl}},null)]),o(ha,36,[s(2,null,t(l.rightReservedMsg)+" "),s(5,{attrs:{href:l.labels.B2BPrivacyPolicyHref}},null),s(6,null,t(l.labels.B2BPrivacyPolicy)+" "),s(8,{attrs:{href:l.labels.B2BCookiePolicyHref}},null),s(9,null,t(l.labels.B2BCookiePolicy)),s(11,{attrs:{href:l.labels.B2BTermsandConditionsHref}},null),s(12,null,t(l.labels.B2BTermsandConditions)),s(14,{attrs:{href:l.labels.B2BGDPRPolicyHref}},null),s(15,null,t(l.labels.B2BGDPRPolicy)),s(17,{attrs:{href:l.labels.B2BSlaveryandHumanTraffickingStatementHref}},null),s(18,null,t(l.labels.B2BSlaveryandHumanTraffickingStatement))])]),i("lightning-layout-item",ze.default,Ma,[o(ga,39,[s(1,{attrs:{href:l.labels.B2BTwitterHref}},null),s(2,{attrs:{src:l.twitterLogoUrl}},null)]),o(pa,41,[s(1,{attrs:{href:l.labels.B2BLinkedInHref}},null),s(2,{attrs:{src:l.linkedinLogoUrl}},null)]),o(Ha,43,[s(1,{attrs:{href:l.labels.B2BFacebookHref}},null),s(2,{attrs:{src:l.facebookLogoUrl}},null)]),o(ma,45,[s(1,{attrs:{href:l.labels.B2BYoutubeHref}},null),s(2,{attrs:{src:l.youtubeLogoUrl}},null)])])])])]}var Ca=l.registerTemplate(za);za.stylesheets=[],za.stylesheetToken="lwc-1rsjcjfmem8",za.legacyStylesheetToken="c-b2bFooter_b2bFooter",aa&&za.stylesheets.push.apply(za.stylesheets,aa),l.freezeTemplate(za);const Ra={B2BProducts:Te.default,B2BAnalogandMixedSignal:Ue.default,B2BDiscrete:we.default,B2BLogic:xe.default,B2BProcessorandPeripheral:Ie.default,B2BMemory:Oe.default,B2BOptoelctronics:_e.default,B2BMarkets:Ye.default,B2BAerospaceandDefence:Ge.default,B2BAutomotive:Qe.default,B2BIndustrial:Ve.default,B2BMedical:je.default,B2BTransportation:Ee.default,B2BSolutions:Ke.default,B2BAuthorizedDistribution:Ne.default,B2BLicensedManufacturing:qe.default,B2BManufacturingServices:Je.default,B2BQuality:We.default,B2BAntiCounterfeiting:Xe.default,B2BResources:Ze.default,B2BVideos:el.default,B2BLiterature:ll.default,B2BAboutUs:al.default,B2BCareers:rl.default,B2BDistributors:tl.default,B2BAssociations:sl.default,B2BLeadership:ol.default,B2BOurLocations:il.default,B2BManufacturers:nl.default,B2BRightReserved:cl.default,B2BPrivacyPolicy:Bl.default,B2BCookiePolicy:fl.default,B2BTermsandConditions:ul.default,B2BGDPRPolicy:dl.default,B2BSlaveryandHumanTraffickingStatement:bl.default,B2BAnalogandMixedSignalHref:$l.default,B2BDiscreteHref:hl.default,B2BLogicHref:gl.default,B2BProcessorandPeripheralHref:pl.default,B2BMemoryHref:Hl.default,B2BOptoelctronicsHref:ml.default,B2BAerospaceandDefenceHref:vl.default,B2BAutomotiveHref:yl.default,B2BIndustrialHref:Al.default,B2BMedicalHref:Ll.default,B2BTransportationHref:Dl.default,B2BMarketsHref:Sl.default,B2BProductsHref:Pl.default,B2BSolutionsHref:kl.default,B2BAuthorizedDistributionHref:Ml.default,B2BLicensedManufacturingHref:zl.default,B2BManufacturingServicesHref:Cl.default,B2BQualityHref:Rl.default,B2BAntiCounterfeitingHref:Fl.default,B2BResourcesHref:Tl.default,B2BVideosHref:Ul.default,B2BLiteratureHref:wl.default,B2BAboutUsHref:xl.default,B2BCareersHref:Il.default,B2BDistributorsHref:Ol.default,B2BAssociations
527Href:_l.default,B2BLeadershipHref:Yl.default,B2BOurLocationsHref:Gl.default,B2BManufacturersHref:Ql.default,B2BPrivacyPolicyHref:Vl.default,B2BCookiePolicyHref:jl.default,B2BTermsandConditionsHref:El.default,B2BGDPRPolicyHref:Kl.default,B2BSlaveryandHumanTraffickingStatementHref:Zl.default,B2BTwitterHref:Nl.default,B2BLinkedInHref:ql.default,B2BFacebookHref:Jl.default,B2BYoutubeHref:Wl.default,SiteSufix:Xl.default,B2BDesignAndAuthorizedApplicationHref:la.default,B2BDesignAndAuthorizedReplication:ea.default};class Fa extends l.LightningElement{constructor(...e){super(...e),this.labels=Ra,this._logoContentId=void 0,this._contentId=void 0,this.rochesterLogoUrl=void 0,this.twitterLogoUrl=Fe.default+"/images/twitter.png",this.linkedinLogoUrl=Fe.default+"/images/linkedIn.png",this.facebookLogoUrl=Fe.default+"/images/facebook.png",this.youtubeLogoUrl=Fe.default+"/images/youtube.png"}set logoContentId(e){e&&this.getContent(e,"rochesterLogo")}get rightReservedMsg(){let e=this.labels.B2BRightReserved;return e&&e.includes("[YEAR]")&&(e=e.replace("[YEAR]",(new Date).getFullYear())),e}get logoContentId(){return this._logoContentId}getContent(e,l){Re.default({contentKey:e},{sourceContext:{tagName:"c:b2bFooter"}}).then(e=>{ke.consoleLogging(e),"rochesterLogo"===l&&(this.rochesterLogoUrl=e.urls)}).catch(e=>{ke.consoleLogging(e)}).finally(()=>{})}}l.registerDecorators(Fa,{publicProps:{logoContentId:{config:3}},fields:["labels","_logoContentId","_contentId","rochesterLogoUrl","twitterLogoUrl","linkedinLogoUrl","facebookLogoUrl","youtubeLogoUrl"]});const Ta=l.registerComponent(Fa,{tmpl:Ca,sel:"c-b2b-footer",apiVersion:59});e.default=Ta,Object.defineProperty(e,"__esModule",{value:!0})});
528})();(function() { LWR.define("dxp_layout/columns",["exports","lwc"],function(n,e){function t(n,e,t){var i=n?"."+n:"";return(e?":host {":(n?"."+n+"-host":"")+" {")+"display: block;}.columns-content"+i+" .columns"+i+" {display: flex;}@media only screen and (min-width: 64.0625em) {.columns-content"+i+" {--dxp-c-region-wrapper-vertical-align: var(--dxp-c-column-vertical-align-default, var(--dxp-c-l-column-vertical-align));padding: 0\n var(--dxp-c-section-content-spacing-inline-end)\n 0\n var(--dxp-c-section-content-spacing-inline-start);min-height: var(--dxp-c-columns-min-height-desktop, var(--dxp-c-l-column-min-height));}.columns-content"+i+" .columns"+i+" {min-height: var(--dxp-c-columns-column-min-height-desktop, var(--dxp-c-l-column-min-height));flex-direction: var(--columns-layout-direction-desktop, row);}}@media only screen and (min-width: 48em) and (max-width: 64em) {.columns-content"+i+" {--dxp-c-region-wrapper-vertical-align: var(--dxp-c-column-vertical-align-default, var(--dxp-c-m-column-vertical-align));padding: 0\n var(--dxp-c-section-content-spacing-inline-end-mobile)\n 0\n var(--dxp-c-section-content-spacing-inline-start-mobile);min-height: var(--dxp-c-columns-min-height-tablet, var(--dxp-c-m-column-min-height));}.columns-content"+i+" .columns"+i+" {min-height: var(--dxp-c-columns-column-min-height-tablet, var(--dxp-c-m-column-min-height));flex-direction: var(--columns-layout-direction-tablet, column);}}@media only screen and (max-width: 47.9375em) {.columns-content"+i+" {--dxp-c-region-wrapper-vertical-align: var(--dxp-c-column-vertical-align-default, var(--dxp-c-s-column-vertical-align));padding: 0\n var(--dxp-c-section-content-spacing-inline-end-mobile)\n 0\n var(--dxp-c-section-content-spacing-inline-start-mobile);min-height: var(--dxp-c-columns-min-height-mobile, var(--dxp-c-s-column-min-height));}.columns-content"+i+" .columns"+i+" {min-height: var(--dxp-c-columns-column-min-height-mobile, var(--dxp-c-s-column-min-height));flex-direction: var(--columns-layout-direction-mobile, column);}}"}t.$scoped$=!0;var i=[t];const o={classMap:{"columns-content":!0},key:0},c={classMap:{columns:!0},key:1},l={attrs:{name:"columns"},key:2},s=[];function a(n,e,t,i){const{s:a,h:m}=n;return[m("div",o,[m("div",c,[a("columns",l,s,t)])])]}var m=e.registerTemplate(a);a.slots=["columns"],a.renderMode="light",a.stylesheets=[],a.stylesheetToken="lwc-bh41l7ugn9",a.legacyStylesheetToken="dxp_layout-columns_columns",i&&a.stylesheets.push.apply(a.stylesheets,i),e.freezeTemplate(a);
528const r=/--dxp-c-.-column-vertical-align/;class u extends e.LightningElement{constructor(...n){super(...n),this.sectionConfig='{"columns":[{"columnKey":"col1","columnName":"Column 1","columnWidth":"6","seedComponents":[]},{"columnKey":"col2","columnName":"Column 2","columnWidth":"6","seedComponents":[]}]}',this.columnGutterWidth=void 0,this.columnMinHeight=void 0,this.layoutDirectionDesktop=void 0,this.layoutDirectionTablet=void 0,this.layoutDirectionMobile=void 0,this.columnVerticalAlign=void 0}connectedCallback(){this.setCssVariables()}setCssVariables(){const n=this.getAttribute("style"),e=[];n&&e.push(n);const t=this.getAttribute("data-layout-direction");if(t&&t.split(" ").forEach(n=>{const[t,i]=n.split("-direction-");e.push(`--columns-layout-direction-${t}: ${i};`)}),!r.test(n)){const n=this.columnVerticalAlign?this.columnVerticalAlign:"flex-start";e.push(`--dxp-c-column-vertical-align-default: ${n};`)}this.setAttribute("style",e.join(" "))}}u.renderMode="light",e.registerDecorators(u,{publicProps:{sectionConfig:{config:0},columnGutterWidth:{config:0},columnMinHeight:{config:0},layoutDirectionDesktop:{config:0},layoutDirectionTablet:{config:0},layoutDirectionMobile:{config:0},columnVerticalAlign:{config:0}}});const d=e.registerComponent(u,{tmpl:m,sel:"dxp_layout-columns",apiVersion:66,enableSyntheticElementInternals:!0});n.default=d,Object.defineProperty(n,"__esModule",{value:!0})});
529})();LWR.define('@salesforce/gate/w21873101.r262.agenticPatternsAndComponents.aiAppDev', [], () => {const gateObj = {
530    isOpen: (fallbackObj) => true,
531    hasError: () => false,
532};
533return Object.freeze(gateObj);});(function() { LWR.define("dxp_util/common",["exports","@salesforce/gate/w21873101.r262.agenticPatternsAndComponents.aiAppDev"],function(M,N){function D(M){return M&&"object"==typeof M&&"default"in M?M:{default:M}}var I=D(N);function j(M,N){return function(){try{return M.apply(this,arguments)}catch(M){return N?.apply(this,[M].concat(arguments))}}}function e(M){if(Object(M)!==M)return M;if(M instanceof Set)return new Set(M);if(M instanceof Date)return new Date(M);if("function"==typeof M)return M.bind({});if(Array.isArray(M)){const N=[],D=M.length;for(let I=0;I<D;I++)N.push(e(M[I]));return N}const N=Object.create({});let D=Object.keys(M);M instanceof Error&&(D=Object.getOwnPropertyNames(M));const I=D.length;for(let j=0;j<I;j++){const I=D[j];N[I]=e(M[I])}return N}function g(M){return M&&"object"==typeof M&&!Array.isArray(M)}const u=(...M)=>N=>M.filter(M=>"function"==typeof M).reduce((M,N)=>N(M),N),t=(...M)=>N=>M.filter(M=>"function"==typeof M).reduceRight((M,N)=>N(M),N),i=M=>N=>N.filter(M),y=M=>N=>N.every(M),n=M=>N=>Object.keys(N).forEach(M);const z=M=>function N(...D){return D.length>=M.length?M.apply(this,D):(...M)=>N.apply(this,D.concat(M))};function r(M){return"function"==typeof M}const A=M=>r(M)?M():M,T=z((M,N,D)=>A(M)?A(N):A(D)),c=z((M,N)=>T(M,N,null)),E=M=>N=>N(M);function O(M){return M!==Object(M)}const o=z((M,N)=>{if(Q(N))return M;const D=N.split(".");let I=M??{},j=0;for(j=0;j<D.length-1;j++){if(Q(I[D[j]]))return null;I=I[D[j]]}return I[D[j]]}),L=z((M,N,D)=>{if(Q(N))return;const I=N.split(".");let j=M,e=0;for(e=0;e<I.length-1;e++)j[I[e]]=j[I[e]]||{},j=j[I[e]];j[I[e]]=D}),a=z((M,N,D,I)=>{const j=o(M,D);L(N,I,j)});const x=M=>!Q(M);function Q(M){if(Array.isArray(M))return 0===M.length;switch(typeof M){case"string":return""===M;case"boolean":case"number":case"function":return!1;case"object":return 0===Object.keys(M??{}).length;default:return null==M}}function s(M,N=""){return Object.prototype.hasOwnProperty.call(M??{},N)}const C="__sfdc_default__";function l(M){return x(M?.value?.fields)}function f(M){return I.default.isOpen({fallback:!1})?M?.displayValue??M?.value??M:M?.displayValue||M?.value||M}function k(M,N){return Y(M)?N??"":N}function Y(M){return"object"==typeof M&&!Array.isArray(M)&&s(M,"value")&&s(M,"displayValue")}function S(M){return""!==M&&!isNaN(Number(M))&&/^-?[0-9a-fA-Fx.]*$/.exec(M)}const p=["%","cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh"];function U(M,N=p){const D=/^([^a-z%]*)(.*)/.exec(M);let I=D[1],j=D[2];
533return S(I)&&N.includes(j)||(I="",j=""),{value:I,unit:j}}const w={toString(){return Object.keys(this).map(M=>{const[N,D]=M.split(":"),I=U(this[M]);let j;return j=x(I.unit)?this[M]:x(this[M])?`${this[M]}${D??""}`:"initial",`${N}: ${j};`}).join(" ")}};const d="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQwNiIgaGVpZ2h0PSI0NDEiIHZpZXdCb3g9IjAgMCAxNDA2IDQ0MSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgb3BhY2l0eT0iMC4yODMxNTgiIHk9IjAuMzMwMDc4IiB3aWR0aD0iMTQwNiIgaGVpZ2h0PSI0NDAiIGZpbGw9IiNGM0YzRjMiLz4KPHBhdGggZD0iTTY3OCAyNTJDNjcxLjkyIDI1MiA2NjcgMjQ3LjA4IDY2NyAyNDFWMTk5QzY2NyAxOTIuOTIgNjcxLjkyIDE4OCA2NzggMTg4SDcyOEM3MzQuMDggMTg4IDczOSAxOTIuOTIgNzM5IDE5OVYyNDFDNzM5IDI0Ny4wOCA3MzQuMDggMjUyIDcyOCAyNTJINjc4VjI1MlpNNjczIDIzMS43Nkw2ODEuODggMjI0LjhDNjgyLjU2IDIyNC4yOCA2ODMuMjggMjI0IDY4NC4wNCAyMjRDNjg0LjggMjI0IDY4NS41NiAyMjQuMjggNjg2LjIgMjI0LjhMNjk2LjY0IDIzMy4yNEw3MTQuMDggMjE4LjhDNzE0Ljc2IDIxOC4yNCA3MTUuNDggMjE4IDcxNi4yNCAyMThDNzE3IDIxOCA3MTcuNzYgMjE4LjI4IDcxOC40IDIxOC44TDczMyAyMzAuNDhWMTk5QzczMyAxOTYuMjQgNzMwLjc2IDE5NCA3MjggMTk0SDY3OEM2NzUuMjQgMTk0IDY3MyAxOTYuMjQgNjczIDE5OVYyMzEuNzZWMjMxLjc2Wk02OTUgMjIwQzY4OS40OCAyMjAgNjg1IDIxNS41MiA2ODUgMjEwQzY4NSAyMDQuNDggNjg5LjQ4IDIwMCA2OTUgMjAwQzcwMC41MiAyMDAgNzA1IDIwNC40OCA3MDUgMjEwQzcwNSAyMTUuNTIgNzAwLjUyIDIyMCA2OTUgMjIwWk02OTUgMjE0QzY5Ny4yIDIxNCA2OTkgMjEyLjIgNjk5IDIxMEM2OTkgMjA3LjggNjk3LjIgMjA2IDY5NSAyMDZDNjkyLjggMjA2IDY5MSAyMDcuOCA2OTEgMjEwQzY5MSAyMTIuMiA2OTIuOCAyMTQgNjk1IDIxNFpNNjc4IDI0Nkg3MjhDNzMwLjc2IDI0NiA3MzMgMjQzLjc2IDczMyAyNDFWMjM5LjY0QzczMyAyMzguNjggNzMyLjYgMjM3Ljg0IDczMS44NCAyMzcuMjRMNzE2LjI0IDIyNC43Nkw2OTguOCAyMzkuMjRDNjk4LjE2IDIzOS43NiA2OTcuNCAyNDAgNjk2LjY0IDI0MEM2OTUuODggMjQwIDY5NS4xNiAyMzkuOCA2OTQuNDggMjM5LjI0TDY4NC4wNCAyMzAuNzZMNjc0LjE2IDIzOC41MkM2NzMuNCAyMzkuMTIgNjczIDIzOS45NiA2NzMgMjQwLjkyVjI0MUM2NzMgMjQzLjc2IDY3NS4yNCAyNDYgNjc4IDI0NlYyNDZaIiBmaWxsPSIjQUJBQ0FEIi8+Cjwvc3ZnPg==";function m(M){return M&&""!==M}function h(M){return m(M)?`url("${M}")`:""}function b(M){return m(M)?M:d}const v=M=>{if(!M)return null;if(M.matches&&M.matches("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]"))return M;const N=M.shadowRoot;if(N)return v(N);if(M.assignedElements)for(const N of M.assignedElements()){const M=v(N);if(M)return M}else for(const N of M.children){const M=v(N);if(M)return M}return null},P=z((M,N)=>N?.toString().split(M)??[]);function Z(M){return"string"==typeof M}function R(M){return Z(M)&&x(M)}const V=["l","m","s"],F={top:"flex-start",left:"flex-start",bottom:"flex-end",right:"flex-end",center:"center"};M.AlignmentMap=F,M.DEBOUNCE_TIMEOUT=150,M.EMPTY_RECT={top:0,right:0,bottom:0,left:0},M.KeyCodes={tab:9,backspace:8,enter:13,escape:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46,shift:16},M.LOGO_PLACEHOLDER_DATA_URI="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjUwIiB2aWV3Qm94PSIwIDAgMTUwIDUwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSIyNSIgY3k9IjI1IiByPSIyNSIgZmlsbD0iIzc3NzU3QSIvPgo8cGF0aCBkPSJNNjUuNTI4NyAzOS41VjEyLjAzMkg3MC40MDA3VjM1LjM4NEg4MS44MjQ3VjM5LjVINjUuNTI4N1pNOTQuMDk5NSA0MC4wMDRDOTIuMzkxNSA0MC4wMDQgOTAuNzk1NSAzOS41ODQgODkuMzExNSAzOC43NDRDODcuODI3NSAzNy44NzYgODYuNjIzNSAzNi42NDQgODUuNjk5NSAzNS4wNDhDODQuNzc1NSAzMy40MjQgODQuMzEzNSAzMS40NzggODQuMzEzNSAyOS4yMUM4NC4zMTM1IDI2LjkxNCA4NC43NzU1IDI0Ljk2OCA4NS42OTk1IDIzLjM3MkM4Ni42MjM1IDIxLjc0OCA4Ny44Mjc1IDIwLjUxNiA4OS4zMTE1IDE5LjY3NkM5MC43OTU1IDE4LjgwOCA5Mi4zOTE1IDE4LjM3NCA5NC4wOTk1IDE4LjM3NEM5NS44MzU1IDE4LjM3NCA5Ny40NDU1IDE4LjgwOCA5OC45Mjk1IDE5LjY3NkMxMDAuNDE0IDIwLjUxNiAxMDEuNjE4IDIxLjc0OCAxMDIuNTQyIDIzLjM3MkMxMDMuNDY2IDI0Ljk2OCAxMDMuOTI4IDI2LjkxNCAxMDMuOTI4IDI5LjIxQzEwMy45MjggMzEuNDc4IDEwMy40NjYgMzMuNDI0IDEwMi41NDIgMzUuMDQ4QzEwMS42MTggMzYuNjQ0IDEwMC40MTQgMzcuODc2IDk4LjkyOTUgMzguNzQ0Qzk3LjQ0NTUgMzkuNTg0IDk1LjgzNTUgNDAuMDA0IDk0LjA5OTUgNDAuMDA0Wk05NC4wOTk1IDM2LjA1NkM5NS42MTE1IDM2LjA1NiA5Ni44MDE1IDM1LjQyNiA5Ny42Njk1IDM0LjE2NkM5OC41Mzc1IDMyLjkwNiA5OC45NzE1IDMxLjI1NCA5OC45NzE1IDI5LjIxQzk4Ljk3MTUgMjcuMTM4IDk4LjUzNzUgMjUuNDcyIDk3LjY2OTUgMjQuMjEyQzk2LjgwMTUgMjIuOTUyIDk1LjYxMTUgMjIuMzIyIDk0LjA5OTUgMjIuMzIyQzkyLjU4NzUgMjIuMzIyIDkxLjM5NzUgMjIuOTUyIDkwLjUyOTUgMjQuMjEyQzg5LjY4OTUgMjUuNDcyIDg5LjI2OTUgMjcuMTM4IDg5LjI2OTUgMjkuMjFDODkuMjY5NSAzMS4yNTQgODkuNjg5NSAzMi45MDYgOTAuNTI5NSAzNC4xNjZDOTEuMzk3NSAzNS40MjYgOTIuNTg3NSAzNi4wNTYgOTQuMDk5NSAzNi4wNTZaTTExNS44OSA0OC42MTRDMTE0LjI2NiA0OC42MTQgMTEyLjc5NiA0OC40MTggMTExLjQ4IDQ4LjAyNkMxMTAuMTkyIDQ3LjYzNCAxMDkuMTcgNDcuMDMyIDEwOC40MTQgNDYuMjJDMTA3LjY4NiA0NS40MzYgMTA3LjMyMiA0NC40NDIgMTA3LjMyMiA0
533My4yMzhDMTA3LjMyMiA0MS41MyAxMDguMzAyIDQwLjA2IDExMC4yNjIgMzguODI4VjM4LjY2QzEwOS43MyAzOC4zMjQgMTA5LjI4MiAzNy44NzYgMTA4LjkxOCAzNy4zMTZDMTA4LjU4MiAzNi43NTYgMTA4LjQxNCAzNi4wNTYgMTA4LjQxNCAzNS4yMTZDMTA4LjQxNCAzNC40MDQgMTA4LjYzOCAzMy42NzYgMTA5LjA4NiAzMy4wMzJDMTA5LjU2MiAzMi4zNiAxMTAuMDk0IDMxLjgxNCAxMTAuNjgyIDMxLjM5NFYzMS4yMjZDMTA5Ljk4MiAzMC42OTQgMTA5LjM1MiAyOS45NTIgMTA4Ljc5MiAyOUMxMDguMjYgMjguMDQ4IDEwNy45OTQgMjYuOTcgMTA3Ljk5NCAyNS43NjZDMTA3Ljk5NCAyNC4xNyAxMDguMzcyIDIyLjgyNiAxMDkuMTI4IDIxLjczNEMxMDkuODg0IDIwLjY0MiAxMTAuODc4IDE5LjgxNiAxMTIuMTEgMTkuMjU2QzExMy4zNyAxOC42NjggMTE0LjcxNCAxOC4zNzQgMTE2LjE0MiAxOC4zNzRDMTE2LjcwMiAxOC4zNzQgMTE3LjIzNCAxOC40MyAxMTcuNzM4IDE4LjU0MkMxMTguMjcgMTguNjI2IDExOC43NDYgMTguNzM4IDExOS4xNjYgMTguODc4SDEyNi41NThWMjIuNDQ4SDEyMi43NzhDMTIzLjExNCAyMi44NCAxMjMuMzk0IDIzLjM0NCAxMjMuNjE4IDIzLjk2QzEyMy44NDIgMjQuNTQ4IDEyMy45NTQgMjUuMjA2IDEyMy45NTQgMjUuOTM0QzEyMy45NTQgMjcuNDQ2IDEyMy42MDQgMjguNzM0IDEyMi45MDQgMjkuNzk4QzEyMi4yMDQgMzAuODM0IDEyMS4yNjYgMzEuNjE4IDEyMC4wOSAzMi4xNUMxMTguOTE0IDMyLjY4MiAxMTcuNTk4IDMyLjk0OCAxMTYuMTQyIDMyLjk0OEMxMTUuNjk0IDMyLjk0OCAxMTUuMjMyIDMyLjkwNiAxMTQuNzU2IDMyLjgyMkMxMTQuMjggMzIuNzM4IDExMy44MDQgMzIuNTk4IDExMy4zMjggMzIuNDAyQzExMy4wMiAzMi42ODIgMTEyLjc2OCAzMi45NjIgMTEyLjU3MiAzMy4yNDJDMTEyLjQwNCAzMy41MjIgMTEyLjMyIDMzLjkgMTEyLjMyIDM0LjM3NkMxMTIuMzIgMzQuOTY0IDExMi41NTggMzUuNDI2IDExMy4wMzQgMzUuNzYyQzExMy41MzggMzYuMDk4IDExNC40MiAzNi4yNjYgMTE1LjY4IDM2LjI2NkgxMTkuMzM0QzEyMS44MjYgMzYuMjY2IDEyMy43MDIgMzYuNjcyIDEyNC45NjIgMzcuNDg0QzEyNi4yNSAzOC4yNjggMTI2Ljg5NCAzOS41NTYgMTI2Ljg5NCA0MS4zNDhDMTI2Ljg5NCA0Mi42OTIgMTI2LjQ0NiA0My45MSAxMjUuNTUgNDUuMDAyQzEyNC42NTQgNDYuMTIyIDEyMy4zOCA0Ny4wMDQgMTIxLjcyOCA0Ny42NDhDMTIwLjA3NiA0OC4yOTIgMTE4LjEzIDQ4LjYxNCAxMTUuODkgNDguNjE0Wk0xMTYuMTQyIDI5LjkyNEMxMTcuMTIyIDI5LjkyNCAxMTcuOTYyIDI5LjU2IDExOC42NjIgMjguODMyQzExOS4zNjIgMjguMTA0IDExOS43MTIgMjcuMDgyIDExOS43MTIgMjUuNzY2QzExOS43MTIgMjQuNDc4IDExOS4zNjIgMjMuNDg0IDExOC42NjIgMjIuNzg0QzExNy45OSAyMi4wNTYgMTE3LjE1IDIxLjY5MiAxMTYuMTQyIDIxLjY5MkMxMTUuMTM0IDIxLjY5MiAxMTQuMjggMjIuMDQyIDExMy41OCAyMi43NDJDMTEyLjg4IDIzLjQ0MiAxMTIuNTMgMjQuNDUgMTEyLjUzIDI1Ljc2NkMxMTIuNTMgMjcuMDgyIDExMi44OCAyOC4xMDQgMTEzLjU4IDI4LjgzMkMxMTQuMjggMjkuNTYgMTE1LjEzNCAyOS45MjQgMTE2LjE0MiAyOS45MjRaTTExNi42NDYgNDUuNDY0QzExOC4yOTggNDUuNDY0IDExOS42NDIgNDUuMTI4IDEyMC42NzggNDQuNDU2QzEyMS43MTQgNDMuNzg0IDEyMi4y
533MzIgNDMuMDE0IDEyMi4yMzIgNDIuMTQ2QzEyMi4yMzIgNDEuMzM0IDEyMS45MSA0MC43ODggMTIxLjI2NiA0MC41MDhDMTIwLjY1IDQwLjIyOCAxMTkuNzU0IDQwLjA4OCAxMTguNTc4IDQwLjA4OEgxMTUuNzY0QzExNC42NDQgNDAuMDg4IDExMy43MDYgMzkuOTkgMTEyLjk1IDM5Ljc5NEMxMTEuODg2IDQwLjYwNiAxMTEuMzU0IDQxLjUxNiAxMTEuMzU0IDQyLjUyNEMxMTEuMzU0IDQzLjQ0OCAxMTEuODMgNDQuMTYyIDExMi43ODIgNDQuNjY2QzExMy43MzQgNDUuMTk4IDExNS4wMjIgNDUuNDY0IDExNi42NDYgNDUuNDY0Wk0xMzguMzE0IDQwLjAwNEMxMzYuNjA2IDQwLjAwNCAxMzUuMDEgMzkuNTg0IDEzMy41MjYgMzguNzQ0QzEzMi4wNDIgMzcuODc2IDEzMC44MzggMzYuNjQ0IDEyOS45MTQgMzUuMDQ4QzEyOC45OSAzMy40MjQgMTI4LjUyOCAzMS40NzggMTI4LjUyOCAyOS4yMUMxMjguNTI4IDI2LjkxNCAxMjguOTkgMjQuOTY4IDEyOS45MTQgMjMuMzcyQzEzMC44MzggMjEuNzQ4IDEzMi4wNDIgMjAuNTE2IDEzMy41MjYgMTkuNjc2QzEzNS4wMSAxOC44MDggMTM2LjYwNiAxOC4zNzQgMTM4LjMxNCAxOC4zNzRDMTQwLjA1IDE4LjM3NCAxNDEuNjYgMTguODA4IDE0My4xNDQgMTkuNjc2QzE0NC42MjggMjAuNTE2IDE0NS44MzIgMjEuNzQ4IDE0Ni43NTYgMjMuMzcyQzE0Ny42OCAyNC45NjggMTQ4LjE0MiAyNi45MTQgMTQ4LjE0MiAyOS4yMUMxNDguMTQyIDMxLjQ3OCAxNDcuNjggMzMuNDI0IDE0Ni43NTYgMzUuMDQ4QzE0NS44MzIgMzYuNjQ0IDE0NC42MjggMzcuODc2IDE0My4xNDQgMzguNzQ0QzE0MS42NiAzOS41ODQgMTQwLjA1IDQwLjAwNCAxMzguMzE0IDQwLjAwNFpNMTM4LjMxNCAzNi4wNTZDMTM5LjgyNiAzNi4wNTYgMTQxLjAxNiAzNS40MjYgMTQxLjg4NCAzNC4xNjZDMTQyLjc1MiAzMi45MDYgMTQzLjE4NiAzMS4yNTQgMTQzLjE4NiAyOS4yMUMxNDMuMTg2IDI3LjEzOCAxNDIuNzUyIDI1LjQ3MiAxNDEuODg0IDI0LjIxMkMxNDEuMDE2IDIyLjk1MiAxMzkuODI2IDIyLjMyMiAxMzguMzE0IDIyLjMyMkMxMzYuODAyIDIyLjMyMiAxMzUuNjEyIDIyLjk1MiAxMzQuNzQ0IDI0LjIxMkMxMzMuOTA0IDI1LjQ3MiAxMzMuNDg0IDI3LjEzOCAxMzMuNDg0IDI5LjIxQzEzMy40ODQgMzEuMjU0IDEzMy45MDQgMzIuOTA2IDEzNC43NDQgMzQuMTY2QzEzNS42MTIgMzUuNDI2IDEzNi44MDIgMzYuMDU2IDEzOC4zMTQgMzYuMDU2WiIgZmlsbD0iIzcwNkU2QiIvPgo8L3N2Zz4K",M.PLACEHOLDER_DATA_URI=d,M.SFDC_DEFAULT=C,M.VIDEO_PLACEHOLDER_DATA_URI="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMxMiIgaGVpZ2h0PSI0NDAiIHZpZXdCb3g9IjAgMCAxMzEyIDQ0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgb3BhY2l0eT0iMC4yODMxNTgiIHdpZHRoPSIxMzEyIiBoZWlnaHQ9IjQ0MCIgZmlsbD0iI0YzRjNGMyIvPgo8cGF0aCBkPSJNNjM5LjA4IDE5MkM2NDAuNzYgMTkyIDY0Mi42OCAxOTIuNTYgNjQ0LjY4IDE5My42OEw2NzguNzYgMjEyLjg0QzY4Mi4yOCAyMTQuOCA2ODQgMjE3LjQgNjg0IDIyMEM2ODQgMjIyLjYgNjgyLjMyIDIyNS4xNiA2NzguNzYgMjI3LjE2TDY0NC42OCAyNDYuMzJDNjQyLjY4IDI0Ny40NCA2NDAuNzYgMjQ4IDYzOS4wOCAyNDhDNjM0Ljg4IDI0OCA2MzIgMjQ0LjY0IDYzMiAyMzguOTJWMjAxLjA4QzYzMiAxOTUuMzYgNjM0Ljg4IDE5MiA2MzkuMDggMTkyVjE5MloiIGZpbGw9IiNBQkFDQUQiLz4KPC9zdmc+",M.and=(...M)=>N=>M?.filter(r).every(E(N)),M.apply=function(...M){const[N,D,...I]=M;return N?.[D]?.apply(N,I)},M.compose=t,M.convertClassAttributeToSelector=function(M){return T(!M||"string"!=typeof M,null,()=>`.${M.split(" ").join(".")}`)},M.curry=z,M.debounce=function(M,N,D){const I=D||{};let j,e=I.leading;return function(){const D=Array.prototype.slice.apply(arguments);e&&(M.apply(this,D),e=!1),clearTimeout(j),j=setTimeout(function(){M.apply(this,D),e=I.leading},N)}},M.deepCopy=e,M.deepMerge=function M(N,...D){if(!D.length)return g(N)?e(N):N;const I=g(N)?e(N):N,j=D.shift();if(g(I)&&g(j))for(const N in j)g(j[N])?(I[N]&&g(I[N])||(I[N]={}),I[N]=M(I[N],j[N])):Array.isArray(j[N])&&Array.isArray(I[N])?I[N]=[...I[N],...j[N]]:I[N]=j[N];return M(I,...D)},M.empty=Q,M.every=y,M.everyKey=M=>N=>t(y(M),Object.keys)(N),M.fieldToValue=f,M.filter=i,M.find=M=>N=>N.find(M),M.findFirstFocusable=v,M.forEach=M=>N=>N.forEach(M),M.forEachKey=n,M.formatString=function(M,...N){return N.reduce((M,N,D)=>M?.replaceAll(`{${D}}`,N),M)},M.get=o,M.getify=function M(N,D,I={}){return Q(N)||O(N)||r(N)?N:(D=function(M){return{patchRecord:!0,getter:(M,N)=>()=>o(M,N),...M}}(D),Array.isArray(N)?N.map(N=>M(N,D)):Object.entries(N).reduce((I,j)=>{const[e,g]=j,u=typeof g;if(O(g))Object.defineProperty(I,e,{get:()=>D.getter(N,e)(),enumerable:!0});else if(Array.isArray(g))I[e]=g.map(N=>M(N,D));else if(r(g))I[e]=g;else if("object"===u){const j={};if(D.patchRecord&&Object.defineProperties(j,{[C]:{get:()=>k(g,D.getter(N,e)()),enumerable:!0},_rawValue:{get:()=>D.getter(j,"value")(),enumerable:!0},_displayValue:{get:()=>D.getter(j,"displayValue")(),enumerable:!0}}),M(g,D,j),l(j)){const M=j.value.fields;Object.entries(M).forEach(M=>{const[N,D]=M;s(j,N)||Object.defineProperty(j,N,{get:()=>l(D)?D:f(D),enumerable:!0})})}I[e]=j}return I},I))},M.hasOwnProperty=s,M.hasUri=m,M.ifElse=T,M.ifVal=c,M.isField=Y,M.isFunction=r,M.isNonEmptyString=R,M.isNumber=S,M.isPrimitive=O,M.isString=Z,M.map=M=>N=>N.map(M),M.mapObject=function(M,N,D,I){return n(j=>{I?a(M,N,D[j],j):a(M,N,j,D[j])})(D??{}),N},M.mapping=a,M.mergeUniqueRecords=function(M,N,D){const I=Array.isArray(M)?M:[],j=(Array.isArray(N)?N:[]).filter(M=>{const N=I.findIndex(N=>N[D]===M[D]);return N>=0&&(I[N]=M),N<0});return I.concat(j)},M.nextFrame=function(){return new Promise(M=>{requestAnimationFrame(M)})},M.notEmpty=x,M.or=(...M)=>N=>M?.filter(r).some(E(N)),M.parseUnit=U,M.pipe=u,M.prependFormFactor=function(M,N,D){const I={};
533return V.forEach(j=>{M.forEach(M=>{const e=`${N}-${j}-${M.customTitle||M.name}`,g=`${N}-${j}-${M.name}`;I[`${e}:${M.unit}`]=M.name.match(/alignment/gi)&&Object.keys(D).includes(g)?F[D[g]]:D[g]})}),I},M.propertySet=function(M){return Object.assign(Object.create(w),"object"==typeof(N=M)?N:{});var N},M.querySelectorAll=M=>N=>Array.from(N?.querySelectorAll(M)),M.range=function(M,N,D){const I=Number.parseInt(M,10);return I<N?N:I>D?D:I},M.safeCssUrl=function(M){return u(b,h)(M)},M.safeFieldValue=k,M.safeImageSrc=b,M.safeParseJson=function(M,N){return"string"!=typeof M?M??{}:j(JSON.parse,N)(M)??{}},M.set=L,M.split=P,M.splitStringToObj=function(M,N,D){const I={};return D&&M&&N?(D.split(M).filter(M=>{const D=M.match(new RegExp(N,"g"))||[];return M&&1===D.length&&D[0]===N}).forEach(M=>{const[D,j]=M.split(N);I[D.trim()]=j.trim()}),I):{}},M.splitUrl=function(M){return t(i(M=>M?.length>0),P("/"))(M)},M.stringify=function(M){return JSON.stringify(M,(M,N)=>N||void 0)},M.timeout=function(M=0){return new Promise(N=>{setTimeout(N,M)})},M.toCapitalized=function(M=""){return M=M?.toString(),R(M)?`${M.charAt(0).toUpperCase()}${M.slice(1)}`:""},M.toCssUrl=h,M.toIndexes=M=>[...Array(M).keys()],M.tryCatch=j,M.typeOf=function(M){return Array.isArray(M)?"array":typeof M},Object.defineProperty(M,"__esModule",{value:!0})});
534})();(function() { LWR.define("dxp_data_provider/wireAdapter",["exports","lwc"],function(t,e){const a={data:{}};class c{constructor(){this.contextValue=null,this._dataCallback=void 0}update(t,e){e&&(this.contextValue=e.value??a,this._dataCallback(this.contextValue))}connect(){}disconnect(){}}c.contextSchema={value:"required"};const n=a;function r(){return class extends c{constructor(t){super(),this.contextValue=e.readonly(n),this._dataCallback=t,this._dataCallback(this.contextValue)}}}t.buildWireAdapter=function(){const t=r();return{wireAdapter:t,createDataContext:e.createContextProvider(t)}},t.defaultValue=n,t.defineDataAdapter=r,Object.defineProperty(t,"__esModule",{value:!0})});
535})();(function() { LWR.define("experience/serializeError",["exports","lwc"],function(e,r){const o=[EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError,globalThis.DOMException,globalThis.AssertionError,globalThis.SystemError].filter(
535Boolean).map(e=>[e.name,e]),t=new Map(o),n=r.registerComponent(t,{tmpl:void 0,sel:"experience-serialize-error",apiVersion:66,enableSyntheticElementInternals:!0});class s extends Error{constructor(e){super(s._prepareSuperMessage(e)),this.name="NonError"}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch{return String(e)}}}r.registerDecorators(s,{fields:["name"]});const a=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0},{property:"cause",enumerable:!1}],i=Symbol(".toJSON was called"),u=e=>n.get(e)??Error,c=({from:e,seen:r,to:o,forceEnumerable:t,maxDepth:n,depth:s,useToJSON:l,serialize:p})=>{if(!o)if(Array.isArray(e))o=[];else if(!p&&f(e)){o=new(u(e.name))}else o={};if(r.push(e),s>=n)return o;if(l&&"function"==typeof e.toJSON&&!0!==e[i])return(e=>{e[i]=!0;const r=e.toJSON();return delete e[i],r})(e);const m=e=>c({from:e,seen:[...r],forceEnumerable:t,maxDepth:n,depth:s,useToJSON:l,serialize:p});for(const[t,n]of Object.entries(e))"function"==typeof Buffer&&Buffer.isBuffer(n)?o[t]="[object Buffer]":null===n||"object"!=typeof n||"function"!=typeof n.pipe?"function"!=typeof n&&(n&&"object"==typeof n?r.includes(e[t])?o[t]="[Circular]":(s++,o[t]=m(e[t])):o[t]=n):o[t]="[object Stream]";for(const{property:r,enumerable:n}of a)void 0!==e[r]&&null!==e[r]&&Object.defineProperty(o,r,{value:f(e[r])?m(e[r]):e[r],enumerable:!!t||n,configurable:!0,writable:!0});return o};function f(e){return Boolean(e)&&"object"==typeof e&&"name"in e&&"message"in e&&"stack"in e}e.deserializeError=function(e,r={}){const{maxDepth:o=Number.POSITIVE_INFINITY}=r;if(e instanceof Error)return e;if(function(e){return Boolean(e)&&"object"==typeof e&&"message"in e&&!Array.isArray(e)}(e)){const r=u(e.name);return c({from:e,seen:[],to:new r,maxDepth:o,depth:0,serialize:!1})}return new s(e)},e.registerErrorConstructor=function(e,r){n.set(e,r)},e.serializeError=function(e,r={}){const{maxDepth:o=Number.POSITIVE_INFINITY,useToJSON:t=!0}=r;return"object"==typeof e&&null!==e?c({from:e,seen:[],forceEnumerable:!0,maxDepth:o,depth:0,useToJSON:t,serialize:!0}):"function"==typeof e?`[Function: ${e.name??"anonymous"}]`:e},Object.defineProperty(e,"__esModule",{value:!0})});
536})();LWR.define('@luvio/runtime', ['force/luvioRuntimeWebruntime'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("force/luvioRegistry",["exports"],function(i){const t=[],e=[];function n(i){t.push(i),e.forEach(t=>i(t))}i.findRegistrations=function(i){return e.filter(t=>t.id===i)},i.forEachRegistration=n,i.register=function(i){e.push(i),t.forEach(t=>t(i))},i.withRegistration=function(i,t){n(e=>{e.id===i&&t(e)})},Object.defineProperty(i,"__esModule",{value:!0})});
537})();LWR.define('@luvio/registry', ['force/luvioRegistry'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("experience/utilsInternal",["exports"],function(e){const t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=Function.prototype.toString,o=r.call(Object);function i(e){return"function"==typeof e}function c(e){return"object"==typeof e&&null!==e}function s(e){return i(e)||c(e)}function u(e){return t.call(e)}function a(e){if(!c(e)||"[object Object]"!==u(e))return!1;const t=Object.getPrototypeOf(Object(e));if(null===t)return!0;const s=n.call(t,"constructor")&&t.constructor;return i(s)&&s instanceof s&&r.call(s)===o}function l(e){return null==e}function f(e,t){return e.localeCompare(t)}function y(e,t,n,r,o="#REF:$"){if(!c(e))return e;const i=e;return n.has(i)?e:(n.set(i,o),Array.isArray(i)?i.map((e,i)=>{const c=`${o}[${String(i)}]`;return y(e,t,n,r,c)}):a(e)?Object.keys(e).sort(t).reduce((i,c)=>{const s=`${o}.${c}`;return i[c]=y(e[c],t,n,r,s),i},{}):e)}function p(e,t=[],n="#REF:$"){if(c(e)&&!Object.isFrozen(e)){const r=e;if("undefined"==typeof window&&!a(r)&&!Array.isArray(r)){const e=`unsupported type '${u(r)}' found at '${n}'`;t.push(new Error(e))}Object.freeze(r);for(const e of Object.keys(r))p(r[e],t,`${n}.${e}`)}const r=Object.create(null);return Object.defineProperty(r,"value",{enumerable:!0,value:e}),Object.defineProperty(r,"errors",{enumerable:!0,value:t}),r}const d=new WeakSet,b=Symbol.for("@@lockerLiveValue");function h(e,t){try{const n=Reflect.get(e,t);Reflect.defineProperty(e,t,{enumerable:!0,get:()=>"object"==typeof n&&null!==n?g(n):n})}catch{}}function g(e){if("object"!=typeof e||null===e||d.has(e))return e;
537if(d.add(e),!Reflect.isExtensible(e)||Reflect.has(e,b)){const t=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));for(const[n,r]of Object.entries(e))Reflect.set(t,n,"object"==typeof r&&null!==r?g(r):r);return Object.freeze(t)}for(const t of Object.keys(e))h(e,t);return Object.freeze(e)}function m(e,t,n){const r=n=>String.prototype.split.call(t,n).filter(Boolean).reduce((e,t)=>null!=e?e[t]:e,e),o=r(/[,[\]]+?/)||r(/[,[\].]+?/);return void 0===o||o===e?n:o}function j(){const e=[],t=[],n=new WeakMap,r="#REF:$";function o(e,o){const i=String(e),s=n.get(this),u=s?s+(Array.isArray(this)?`[${i}]`:"."+i):Array.isArray(this)?`[${i}]`:i;if(!c(o)||o!==Object(o))return void 0===o?(t.push(u),"#REF:undefined"):o;const a=o;if(n.has(a)){const e=n.get(a);return e?`${r}${"["===e[0]?"":"."}${e}`:r}return n.set(a,u),a}return o.errors=()=>e,o.pathsUndefined=()=>t,o}function v(){const e=new Map,t="#REF:$";function n(t,n){const r=e.get(t);let o=t.substring(6);0===o.indexOf(".")&&(o=o.substring(1));const i=o?m(n,o):n;for(const e of r)e.value[e.key]=i;e.delete(t)}return function(r,o){if("string"==typeof o&&0===o.indexOf(t))return e.has(o)||e.set(o,[]),e.get(o).push({value:this,key:r}),o;if(!c(o)||o!==Object(o))return"string"==typeof o&&"#REF:undefined"===o?void 0:o;if(""===r){const t=this[""];for(const r of e.keys())n(r,t)}return o}}function O(e,t,n,r,o="#REF:$"){if(e===t)return!0;if(null==e||null==t||"object"!=typeof e||"object"!=typeof t)return e!=e&&t!=t;if(n.has(e))return n.get(e)===t;if(n.set(e,t),Array.isArray(e)){const i=e.length;if(!Array.isArray(t)||i!==t.length)return!1;for(let c=i;0!==c--;){const i=`${o}[${String(c)}]`;if(!O(e.at(c),t.at(c),n,r,i))return!1}return!0}if(a(e)){const i=Reflect.ownKeys(e),c=i.length;if(!a(t)||c!==Reflect.ownKeys(t).length)return!1;for(let s=c;0!==s--;){const c=i.at(s),u=`${o}.${String(c)}`;if(!Reflect.has(t,c)||!O(Reflect.get(e,c),Reflect.get(t,c),n,r,u))return!1}return!0}return!1}const w=function(){let e=0;return()=>i(crypto?.randomUUID)?crypto.randomUUID():i(crypto?.getRandomValues)?[1e7,1e3,4e3,8e3,1e11].join("-").replace(/[018]/g,e=>(Number(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>Number(e)/4).toString(16)):String(++e)}();const A=new WeakMap,R=new WeakMap,$=new WeakMap;function S(e){return!!A.has(e)&&(clearTimeout(A.get(e)),R.has(e)&&clearTimeout(R.get(e)),A.delete(e),R.delete(e),$.delete(e),!0)}const k=Symbol(),P=["connect","disconnect","update"];function E(e,t){const n=Reflect.get(e,t),r={...e};Reflect.deleteProperty(r,t);return["function"==typeof n||void 0===n?n:()=>Boolean(n),r]}function F(e,t,n){let r=0;const o=[],i=[...e];for(;;){let e=0,c=!0;for(let o=r;o<i.length;o++){const s=t*e+i[o];i[o]=Math.floor(s/n),e=s%n,c&&(i[o]?c=!1:r=o)}if(o.unshift(e),c)return o}}const D="0123456789abcdefghijklmnopqrstuvwxyz",M=[...D].reduce((e,t,n)=>(e[t]=n,e),{});e.CONDITION=k,e.base36Decode=function(e){if(!e)return e;const t=F([...e].map(e=>{const t=M[e];if(void 0===t)throw new TypeError(`Invalid base 36 digit: ${e}`);return t}),36,256);return(new TextDecoder).decode(new Uint8Array(t))},e.base36Encode=function(e){return e?F((new TextEncoder).encode(e),256,36).map(e=>D[e]).join(""):e},e.baseConvert=F,e.circularRefReplacer=j,e.circularRefReviver=v,e.clearDebounceTimeout=S,e.createConditionalAdapter=function(e,t,n){const r=arguments.length;let o,c;if(r>2){if(void 0!==t&&!Array.isArray(t))throw new TypeError(`[utils] traps need to be an array; '${typeof t}' given`);if(void 0!==n&&!i(n))throw new TypeError(`[utils] callback needs to be a function; '${typeof n}' given`);o=t,c=n}else if(r>1){const e=Array.isArray(t),n=i(t);if(void 0!==t&&!e&&!n)throw new TypeError(`[utils] second parameter either needs to define traps via an array, or a callback function; '${typeof t}' given`);o=e?t:void 0,c=n?t:void 0}const s=Symbol(),u=Symbol();class a extends e{[u](e){const t=this[s].last??this[s].default;return t?.(e,this)??!0}constructor(...e){super(...e),this[s]={default:c,last:c};const t=this,n=new Set(Array.isArray(o)&&o.length>0?o.filter(e=>!P.includes(e)):[]);for(const e of n){const n=Reflect.get(this,e);
537i(n)&&Reflect.defineProperty(this,e,{enumerable:!0,writable:!1,configurable:!1,value:function(...r){if(t[u](e))return n?.apply(this,r)}})}}update(e,t){let n,r;if(Reflect.has(e,k)){const[o,i]=E(e,k);n=i,r=t,this[s].last=o}else if(t&&Reflect.has(t,"value")){const[o,i]=E(t.value,k);r={...t,value:i},n=e,this[s].last=o}else this[s].last=void 0,n=e,r=t;!Array.isArray(o)||Array.isArray(o)&&(0===o.length||o.includes("update"))?this[u]("update")&&super.update(n,r):super.update(n,r)}}return a.contextSchema={value:"required"},a},e.dateAdd=function(e,t){if(e instanceof Date){const n=new Date(e);return"number"==typeof t?.years&&n.setFullYear(n.getFullYear()+t.years),"number"==typeof t?.months&&n.setMonth(n.getMonth()+t.months),"number"==typeof t?.days&&n.setDate(n.getDate()+t.days),n}},e.dateSubtract=function(e,t){if(e instanceof Date){const n=new Date(e);return"number"==typeof t?.years&&n.setFullYear(n.getFullYear()-t.years),"number"==typeof t?.months&&n.setMonth(n.getMonth()-t.months),"number"==typeof t?.days&&n.setDate(n.getDate()-t.days),n}},e.debounce=function(e,t=0){let n,r,o=[];function i(){const{promise:t,resolve:c,reject:s}=n;if($.has(t)){const e=setTimeout(i.bind(this),$.get(t));return R.set(t,e),void $.delete(t)}const u=o;r=void 0,o=[];try{const r=e.apply(this,u[u.length-1]);Promise.resolve(r).then(c,s).finally(()=>{n=void 0,A.delete(t),R.delete(t),$.delete(t)})}catch(e){s(e)}}return function(...e){n?S(n.promise):n=function(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}(),o.push(e),r=setTimeout(i.bind(this),t);const{promise:c}=n;return A.set(c,r),c}},e.deepClone=function(e){const t=(e,t)=>{const n=Object.create(null);return Object.defineProperty(n,"value",{enumerable:!0,value:e}),Object.defineProperty(n,"errors",{enumerable:!0,value:t}),n};if(!s(e))return t("symbol"==typeof e?Symbol.prototype.valueOf.call(e):e,[]);const n=j(),r=JSON.parse(JSON.stringify(e,n),v()),o=n.pathsUndefined();for(const e of o){e.split(".").reduce((e,t)=>{if(a(e))return!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=void 0),e[t]},r)}return t(r,n.errors())},e.deepEqual=function(e,t){const n=[],r=O(e,t,new WeakMap,n),o=Object.create(null);return Object.defineProperty(o,"value",{enumerable:!0,value:r}),Object.defineProperty(o,"errors",{enumerable:!0,value:n}),o},e.deepFreeze=function(e){return p(e)},e.deepSort=function(e,t){const n=new WeakMap,r=[],o=y(e,i(t)?t:f,n,r),c=Object.create(null);return Object.defineProperty(c,"value",{enumerable:!0,value:o}),Object.defineProperty(c,"errors",{enumerable:!0,value:r}),c},e.empty=function(e){if(Array.isArray(e))return 0===e.length;switch(typeof e){case"string":return""===e.toString();case"boolean":case"number":case"function":return!1;case"object":return 0===Object.keys(e??{}).length;default:return null==e}},e.extendDebouncedTimeout=function(e,t=0){return!!A.has(e)&&($.set(e,t),!0)},e.get=m,e.getObjectTag=u,e.isBlank=function(e){return l(e)||"string"!=typeof e||0===e.trim().length},e.isFunction=i,e.isInteger=e=>Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.isNil=l,e.isObject=s,e.isObjectLike=c,e.isPlainObject=a,e.isPromiseLike=function(e){return c(e)&&"function"==typeof e.then},e.readonly=g,e.uuidValidate=function(e){return"string"==typeof e&&/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test(e)},e.uuidv4=w,Object.defineProperty(e,"__esModule",{value:!0})});
538})();(function() { LWR.define("experience/utils",["exports","experience/utilsInternal"],function(e,t){Object.defineProperty(e,"clearDebounceTimeout",{enumerable:!0,get:function(){return t.clearDebounceTimeout}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return t.debounce}}),Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return t.empty}}),Object.defineProperty(e,"extendDebouncedTimeout",{enumerable:!0,get:function(){return t.extendDebouncedTimeout}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return t.get}}),Object.defineProperty(e,"getObjectTag",{enumerable:!0,get:function(){return t.getObjectTag}}),Object.defineProperty(e,"isBlank",{enumerable:!0,get:function(){return t.isBlank}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return t.isFunction}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return t.isInteger}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return t.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t.isObject}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return t.isObjectLike}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return t.isPlainObject}}),Object.defineProperty(e,"isPromiseLike",{enumerable:!0,get:function(){return t.isPromiseLike}}),Object.defineProperty(e,"readonly",{enumerable:!0,get:function(){return t.readonly}}
538),Object.defineProperty(e,"__esModule",{value:!0})});
539})();(function() { LWR.define("experience/coercion",["exports"],function(e){function r(e){return function(e){return"number"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Number]"===Object.prototype.toString.call(e)}(e)&&e!==+e}e.coerceBooleanProperty=function(e){return null!=e&&"false"!==`${e}`.toLowerCase()},e.coerceNumberProperty=function(e,r=0){return function(e){return!isNaN(parseFloat(String(e)))&&!isNaN(Number(e))}(e)?Number(e):r},e.coerceStringProperty=function(e,n){const t=null==e||r(e)?"":e.toString();return t.length>0?t:n},Object.defineProperty(e,"__esModule",{value:!0})});
540})();(function() { LWR.define("experience/uri",["exports"],function(e){function n(e){return encodeURIComponent(e).replace(/[!'()~]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())}function t(e){const t="object"==typeof e&&null!=e?e:{};return"URLSearchParams"in globalThis?new URLSearchParams(t).toString():Object.keys(t).map(e=>`${n(e)}=${n(t[e])}`).join("&")}e.composeQueryString=t,e.composeUri=function(e,n){const o="string"==typeof e?e:"",r=t(n);if(r){const e=-1!==o.indexOf("?")?"&":"?";return`${o}${e}${r}`}return o},Object.defineProperty(e,"__esModule",{value:!0})});
541})();(function() { LWR.define("experience/data",["exports","experience/utils","lwc","experience/coercion","experience/serializeError","transport","experience/uri"],function(e,t,r,n,s,o,c){class i{constructor(e,t){this.response=e,this.data=t}}function a(e,t){const r=new i(e,t);return Object.freeze(r),r}const u="Aborted";class l extends Error{constructor(e){super(n.coerceStringProperty(e,u)),this.name="AbortError"}}r.registerDecorators(l,{fields:["name"]}),s.registerErrorConstructor("AbortError",l);const f=Symbol("abort"),p=Symbol("abortSignal"),h=new WeakMap;class d extends Promise{static from(e){return e instanceof d?e:e instanceof Promise||"function"==typeof e.catch?new d((t,r)=>e.then(t).catch(r)):new d((t,r)=>e.then(t,r))}static connect(e,t){const r=h.get(e),n=h.get(t),{controller:s}=r,{controller:o}=n,{signal:c}=s,{signal:i}=o;if(c===i)return;n.parent=r;const a=(e,t)=>{!e.reason&&(e.reason=t.reason)};if(i.aborted&&!c.aborted)a(r,n),s.abort();else if(c.aborted&&!i.aborted)a(n,r),o.abort();else{const e=()=>{i.removeEventListener("abort",e),i.aborted||(a(n,r),o.abort())},t=()=>{i.removeEventListener("abort",t),c.aborted||(a(r,n),s.abort())};c.addEventListener("abort",e),i.addEventListener("abort",t)}}constructor(e){const t=new AbortController,{signal:r}=t;let n=!1;const s=e=>{h.get(this).reason=e||u,t.abort()};super((t,o)=>{const c=()=>{r.removeEventListener("abort",c);const e=h.get(this);let t=!!e.isHandled,s=e.parent;for(;s;)t=t||!!s.isHandled,s=s.parent;if(e.isHandled=!0,!n&&!t){n=!0;const t=e.reason;o(new l(t instanceof Error?t.message:t))}};r.addEventListener("abort",c),e(e=>{!n&&!r.aborted&&t(e),n=!0},e=>{!n&&!r.aborted&&o(e),n=!0},s,r)}),this[f]=void 0,this[p]=void 0,h.set(this,{controller:t}),this[f]=s.bind(null),this[p]=r}_wrapHandler(e){return t.isFunction(e)?t=>{let r=e(t);if(r instanceof d)d.connect(this,r);else if(r instanceof Promise){const e=r=d.from(r);d.connect(this,e)}if(this[p].aborted){const e=h.get(this).reason;throw new l(e instanceof Error?e.message:e)}return r}:e}then(e,t){const r=d.from(super.then(this._wrapHandler(e),this._wrapHandler(t)));return d.connect(this,r),r}catch(e){const t=d.from(super.catch(this._wrapHandler(e)));return d.connect(this,t),t}finally(e){const t=d.from(super.finally(this._wrapHandler(e)));return d.connect(this,t),t}}const b=["opaque","opaqueredirect"];async function g(e){const[t,r]=e instanceof i?[e.response,e.data]:[e,e];if(t instanceof Response&&!t.ok&&!b.includes(t.type))throw await r;return r}function m(e){let r,n,s,c;const i=new d((e,t,o,i)=>{r=e,n=t,s=o,c=i});let a=!1;c.addEventListener("abort",()=>a=!0);return e((e,s)=>{const u=e instanceof Request,l=s&&"object"==typeof s?{...s,signal:c}:{signal:c},f=u?{...e.clone(),...l}:l,p=u?e.url:e;return a||function(e,r,n){let s={...r};delete s.interceptRequest,delete s.interceptResponse;let c=g;if(r&&t.isFunction(r.interceptResponse)){const{interceptResponse:n}=r;c=r=>{const o=n(r,e,s);return t.isPromiseLike(o)?Promise.resolve(o).then(g):g(o)}}const i=({url:t,requestInit:r}={})=>(r&&"object"==typeof r&&(s={...r,signal:n},delete s.interceptRequest,delete s.interceptResponse),o.fetch(t||e,s).then(c));if(r&&t.isFunction(r.interceptRequest)){const{interceptRequest:n}=r,o=n(e,s);return t.isPromiseLike(o)?Promise.resolve(o).then(i):i(o)}return i()}(p,f,c).then(e=>!a&&r(e)).catch(e=>!a&&n(e)),i},s,c),i}const y=(e,t)=>({url:e,requestInit:{method:"GET",credentials:"same-origin",headers:{"Content-Type":"application/json;charset=UTF-8"},...t&&"object"==typeof t?t:{}}});function R(e){return(t,r,n)=>{if(t instanceof Response){const{headers:s,status:o}=t,c=s.get("content-type");if("string"==typeof c&&c.includes("application/json")){const c=s.has("content-length")&&"chunked"!==s.get("transfer-encoding")?Number(s.get("content-length")):-1;
541if(204===o||0===c)return null;return a(t,e(t,r,n))}}return t}}const j=R(e=>e.ok?e.json():e);function E(e){const r=e&&"object"==typeof e?{...e}:{};return t.isFunction(r.interceptRequest)||(r.interceptRequest=y),t.isFunction(r.interceptResponse)||(r.interceptResponse=j),r}function w(e,t="string"){return null===e||("array"===t?void 0===e||Array.isArray(e):["undefined",t].includes(typeof e))}function x(e){return null!==e&&"object"==typeof e&&Reflect.has(e,"message")&&Reflect.has(e,"type")&&w(e?.message)&&w(e?.type)&&w(e?.arguments,"object")}function A(e){return e?Reflect.ownKeys(e).reduce((t,r)=>("string"==typeof r&&Reflect.set(t,r,Reflect.get(e,r)),t),{}):{}}function P({message:e,type:t,arguments:r}){return{message:e??"",type:t??"",arguments:A(r)}}function v(e){return Array.isArray(e)?e.reduce((e,t)=>(x(t)&&e.push(P(t)),e),[]):x(e)?[P(e)]:[]}function T(e){return e.find(e=>e.message.length>0)?.message??""}function F(e){if(function(e){return null!==e&&"object"==typeof e&&Reflect.has(e,"url")&&Reflect.has(e,"status")&&Reflect.has(e,"statusText")&&Reflect.has(e,"errors")&&w(e?.url,"string")&&w(e?.status,"number")&&w(e?.statusText,"string")&&w(e?.errors,"array")}(e)){const{url:t,status:r,statusText:n,errors:s}=e;return{url:t??null,status:"number"==typeof r?r:null,statusText:n??null,errors:v(s)}}return{url:null,status:null,statusText:null,errors:v(e)}}class O extends Error{constructor(e){super(),this.name="FetchError",this.url=null,this.status=null,this.statusText=null,this.errors=[];let{url:t,status:r,statusText:n,errors:s}=F(e);this.url=t,this.status=r,this.statusText=n,this.errors=s,this.message=n??T(s),Object.defineProperty(this,"url",{enumerable:!0,get:()=>t,set(e){t="string"==typeof e?e:null}}),Object.defineProperty(this,"status",{enumerable:!0,get:()=>r,set(e){r="number"==typeof e?e:null}}),Object.defineProperty(this,"statusText",{enumerable:!0,get:()=>n,set(e){n="string"==typeof e?e:null}}),Object.defineProperty(this,"errors",{enumerable:!0,get:()=>s,set(e){s=v(e),this.message=T(s)}})}}function q(e){function t(e){return"string"==typeof e||null==e}return null!==e&&"object"==typeof e&&Reflect.has(e,"message")&&Reflect.has(e,"errorCode")&&t(e?.message)&&t(e?.errorCode)}function L(e){if(e&&"object"==typeof e&&(Reflect.has(e,"url")||Reflect.has(e,"body"))){const{url:t="",body:r}=e,n="string"==typeof r?function(e){try{const t=JSON.parse(e);if("object"==typeof t&&null!==t)return t}catch{}return{}}(r):r instanceof URLSearchParams?Object.fromEntries(r.entries()):r instanceof FormData?function(e){const t={};for(const[r,n]of e)"string"==typeof n&&(t[r]=n);return t}(r.entries()):{};try{const{searchParams:e}=new URL(t);return{...n,...Object.fromEntries(e.entries())}}catch{return n}}return{}}function S({message:e,errorCode:t},r){return{type:t??"",message:e??"",arguments:L(r)}}function C(e,t){return Array.isArray(e)?e.reduce((e,r)=>(q(r)&&e.push(S(r,t)),e),[]):q(e)?[S(e,t)]:[]}async function H(e,t={}){const r=t?.url??e.url,{status:n,statusText:s}=e;let o=[];try{o=await e.json()}catch{}throw new O({url:r,status:n,statusText:s,errors:C(o,{...t,url:r})})}r.registerDecorators(O,{fields:["name","url","status","statusText","errors"]}),s.registerErrorConstructor("FetchError",O);const _=R((e,t,r)=>e.ok?e.json():H(e,{...r,url:t}));Object.defineProperty(e,"composeQueryString",{enumerable:!0,get:function(){return c.composeQueryString}}),Object.defineProperty(e,"composeUri",{enumerable:!0,get:function(){return c.composeUri}}),e.ABORT=f,e.ABORT_SIGNAL=p,e.AbortError=l,e.AbortablePromise=d,e.FetchError=O,e.FetchResponse=i,e.connectApiResponseInterceptor=_,e.createFetchResponse=a,e.createResponseInterceptor=R,e.defaultRequestInterceptor=y,e.defaultResponseInterceptor=j,e.fetchAbortable=m,e.fetchService=function(e,t){return m((r,n,s)=>{if("function"==typeof e){e((e,t)=>r(e,E(t)),n,s)}else r(e,E(t))})},e.throwConnectApiFetchError=H,e.transformConnectApiErrorResponse=C,Object.defineProperty(e,"__esModule",{value:!0})});
542})();(function() { LWR.define("experience/store",["exports","experience/utils","experience/utilsInternal","@luvio/runtime","@luvio/registry","experience/serializeError","lwc","experience/data"],function(t,e,
542i,s,r,n,o,c){const a=new Map,h=new Map,u=new Map,l={},d=new WeakMap,b=new Map,f=new WeakMap,y=new Map,p="experience::ɵɵStore",g="experience::ɵɵMeta",_="ɵɵErrors",m=new s.InMemoryStore;m.set(p,{}),m.set(g,{});let S=m;function k(){return S.get(p)}function v(){return S.get(g)}function w(t){return Reflect.get(k(),t)}function O(t,e){const i=k();Reflect.set(i,t,e),S.set(p,i)}function P(t){return Reflect.get(v(),t)}function E(t,e){const i=v();Reflect.set(i,t,e),S.set(g,i)}function A(t,e,...i){const s=JSON.stringify([t,e,...i]),r=v();return Reflect.has(r,_)&&!0===r[_][s]}function j(t,e,...i){const s=JSON.stringify([t,e,...i]),r=v();!Reflect.has(r,_)&&(r[_]={}),r[_][s]=!0}function $(t,e,...i){const s=JSON.stringify([t,e,...i]),r=v();delete r[_]?.[s]}const C={id:"commandModule",runtimeDependencies:{store:!0},setCommandRuntime:({store:t})=>S=function(t){if(t!==S){const e=t.keys(),i=e.contains(p),s=e.contains(g);if(i&&s){const e=t=>{!y.has(t)&&y.set(t,[])},i=t.get(p);Object.keys(i).forEach(e);const s=t.get(g),r=Reflect.get(s,_)??{};for(const[t,i]of Object.entries(r))if(i){const i=JSON.parse(t),s=i.at(0);e(s),y.get(s)?.push(i.slice(1))}for(const t of a.values()){const{name:e,options:i}=t;if(y.has(e)&&Array.isArray(i.onRehydration)){const s=y.get(e);for(const e of i.onRehydration)e?.(t.localState,{errorPaths:s})}y.delete(e)}}!i&&t.set(p,{}),!s&&t.set(g,{})}return t}(t)};r.register(C);const R=Object.prototype.hasOwnProperty,K=["data","error","loaded","loading"];function L(t,e){d.set(t,e);const i=t.load();return d.delete(t),i}function M(t){const e=n.serializeError(t);return"string"==typeof e?e:JSON.stringify(e)}function x(t){const e=t=>("NonError"===t.name&&(t.message=t.message.replace(/^"|"$/g,"")),t);try{return e(n.deserializeError(JSON.parse(t)))}catch(i){return e(n.deserializeError(t))}}function F(t,e){const s=i.deepSort(e??{}).value,r=i.deepSort(t??{}).value;return`${JSON.stringify(s,i.circularRefReplacer())}:${JSON.stringify(r,i.circularRefReplacer())}`}function N(t){return e.isPlainObject(t)&&Object.keys(t).every(t=>K.includes(t))&&("string"==typeof t.error||void 0===t.error)&&"boolean"==typeof t.loaded&&"boolean"==typeof t.loading}function z(t){if(e.isPlainObject(t)){const e=Object.keys(t);return e.length>0&&e.some(e=>N(t[e]))}return!1}function J(t,e){if(z(t))return t;const i=t instanceof Error?{data:void 0,error:M(t)}:{data:t,error:void 0};return e="string"==typeof e?e:"{}",{[e]:{...i,loaded:!0,loading:!1}}}function V(t,s,r,n){const o=`${t.name}.${r}`,c=t.get(r),a=(...t)=>t.reduce((t,i)=>{const s=z(i);
542return Object.keys(i).forEach(r=>{const n=t[r],o=i[r];s&&e.isPlainObject(n)&&e.isPlainObject(o)?t[r]=a(n,o):t[r]=o}),t},{});return R.call(l,o)&&l[o]>0||z(c)?(s instanceof Error?j(t.name,r,n):$(t.name,r,n),h=J(s,n),e.isPlainObject(c)?a(i.deepClone(c).value,h):h):s;var h}function T(t,e,i){const s=`${t.name}.${i}`,r=t.get(i);return z(r)?Object.keys(r).reduce((s,n)=>{e instanceof Error?j(t.name,i,n):$(t.name,i,n);const o=J(e,n);return s[n]={...r[n],...o[n]},s},{}):R.call(l,s)&&l[s]>0?Object.keys(l).reduce((r,n)=>{if(-1!==n.indexOf(`${s}.`)){const s=n.substring(n.lastIndexOf(".")+1);e instanceof Error?j(t.name,i,s):$(t.name,i,s);const o=J(e,s);r[s]=o[s]}return r},{}):e}function D(t,i,s=!1){const r=Array.isArray(i),n=i?.at?.(1);function o(i,s){const r=`${t.name}.${i}`;return R.call(l,r)&&l[r]>0||z(s)?e.isPlainObject(s)?function(t,i){i="string"==typeof i?i:"{}";const s=e.isPlainObject(t)?t[i]:void 0,r=e.isPlainObject(s);return r&&"string"==typeof s.error?x(s.error):r?s.data:void 0}(s,n):void 0:s}class c{get name(){return t.name}get size(){return r&&e.isPlainObject(t.container)?Object.entries(t.container).reduce((s,[r,n])=>{const o=`${t.name}.${r}`;return R.call(l,o)&&l[o]>0||z(n)?e.isPlainObject(n)&&R.call(n,i[1])&&s++:s++,s},0):t.size}has(s){const n=t.has(s);if(r){const r=t.get(s),n=`${t.name}.${s}`;if(R.call(l,n)&&l[n]>0||z(r))return e.isPlainObject(r)&&R.call(r,i[1])}return n}get(e){const i=t.get(e);return r?o(e,i):i}set(e,i){const s=r?V(t,i,e,n):T(t,i,e);t.set(e,s)}delete(e){if(r&&z(t.get(e))){const s=t.get(e),r=R.call(s,i[1]);if(r){const r={...s};delete r[i[1]],0===Object.keys(r).length?t.delete(e):t.set(e,r),$(t.name,e,n)}return r}return t.delete(e)}clear(){t.clear()}update(e,i){return t.update(e,s=>{const c=r?o(e,s):s,a=i(c);return r?V(t,a,e,n):T(t,a,e)})}dispatch(e,i){return t.dispatch(e,i)}}return s?new class extends c{subscribe(e,i){return t.subscribe(e,i)}subscribeAction(i,s){return e.isFunction(s),t.subscribeAction(i,s)}}:new c}function I(t){return new class{get config(){return t.config}get(){return t.get()}load(){return L(t,!0)}subscribe(i){return e.isFunction(i),t.subscribe(i)}subscribeAction(i,s){return e.isFunction(s),t.subscribeAction(i,s)}subscribeLoad(i){return e.isFunction(i),t.subscribeLoad(i)}}}function q(t,e,i){return!i[t]&&(i[t]=[]),i[t].push(e),{unsubscribe(){const s=i[t],r=s?.indexOf(e);r>-1&&s.splice(r,1)}}}function W(t,i,s,r,n,o,c){const a=t[r];if(e.isFunction(a))try{const t={type:n,payload:o};"error"===r?a(t,s,c):a(t,s)}catch(t){}}function B(t,e,i,s,r,n,o){if(t[r]){const e=t[r];for(const t of e)"error"===s?W(t,0,i,s,r,n,o):W(t,0,i,s,r,n)}}function G(t,e,i=t=>t){return Object.entries(t).reduce((t,[s,r])=>{var n;return t[s]=(n=r,(t,s,r)=>{r?n(i(t),e(),r):n(i(t),e())}),t},{})}function H(t,i,...s){const r=new t(...arguments.length>2?s:[]);return f.set(r,!0),r.update(e.isPlainObject(i)?i:{}),r}function Q(t,e,...s){return(r,n)=>{let o,c=!1,a=!1;const h=H(t,e,...s);h.connect();const u=()=>{a=!0,o?.unsubscribe(),h.disconnect()},l=(t,e)=>{function s(s=!0){s&&u(),i.deepEqual(t,h.lastCallbackEntry).value||(h.lastCallbackEntry=t,r(i.readonly({...t,error:e})))}a||(!0===n?.once?s():!0===n?.loaded?t.loaded&&s():!0===n?.stable?t.loaded&&!t.loading&&s():(!0===n?.untilLoaded&&t.loaded&&u(),!0===n?.untilStable&&t.loaded&&!t.loading&&u(),s(!1)))};return o=h.subscribe((t,e,i)=>{c=!0,l(h._read(),i)}),c||l(h._read()),{unsubscribe:u}}}function U(t,e,i,s){const r=`${t.name}:${e}`;E(r,(s?[s]:Object.keys(i)).reduce((t,e)=>(t[e]=performance.now()+performance.timeOrigin,t),P(r)??{})),t.set(e,i)}class X extends Error{constructor(t){super("string"==typeof t?t:t instanceof Error?t.message:void 0),this.name="StoreActionError",this.error=t}}o.registerDecorators(X,{fields:["name"]}),n.registerErrorConstructor("StoreActionError",X);const Y=Object.freeze({});function Z(t){const{loader:i}=t||{},s=e.isPlainObject(i);return{handler:!s&&e.isFunction(i)?i:s&&e.isFunction(i.handler)?i.handler:void 0,abortable:s&&!0===i.abortable}}function tt(t,e,i,s){const r=i?{key:s,subscriber:t,unsubscribable:i}:{key:s,subscriber:t};return e.push(r),{unsubscribe:()=>{r.unsubscribable?.unsubscribe();const t=e,i=t.indexOf(r);i>-1&&t.splice(i,1)}}}function et(t){for(const e of t)delete e.unsubscribable}function it(t,e,i){const s=`${t.name}.${e}`;return i?`${s}.${i}`:s}function st(t,i,s,r=1){const n=it(t,i);[n,`${n}.${s}`].forEach(t=>{const i=l[t],s=(e.isInteger(i)?i:0)+r;s>0?l[t]=s:delete l[t]})}function rt(t){return N(t)?t:function(t=!1){return{data:void 0,error:void 0,loaded:!1,loading:t}}()}t.Store=class{constructor(t,i=Object.freeze({})){if(this.actions={},this.actionSubscribers={},this.subscribers={},this.localState=D(this),this.name=t,this.options=i,a.has(t))return a.get(t);if(a.set(t,this),Reflect.has(i,"state")?this._updateContainer(e.isFunction(i.state)?i.state():i.state):e.isPlainObject(w(this.name))||O(this.name,{}),e.isPlainObject(i.actions))for(const[s,r]of Object.entries(i.actions))if(e.isPlainObject(r)&&"string"==typeof r.namespace&&e.isFunction(r.handler)){const{namespace:t,handler:e}=r,i=`${t}/${s}`;if(h.has(i))throw new TypeError(`[store] handler already registered for action type in namespace '${t}': ${s}`);h.set(i,this),this._registerAction(s,e)}
542else{if(!e.isFunction(r))throw new TypeError(`[store] invalid action configuration for store '${t}': ${s}`);this._registerAction(s,r)}if(Array.isArray(i.plugins)){const t=D(this,void 0,!0);for(const e of i.plugins)e(t)}if(y.has(t)&&Array.isArray(i.onRehydration)){const e=D(this),s=y.get(t);for(const t of i.onRehydration)t?.(e,{errorPaths:s})}y.delete(t)}get size(){return Object.keys(this.container).length}get container(){return w(this.name)}_updateContainer(t){const s=i.readonly(t);O(this.name,e.isPlainObject(s)?s:{})}_has(t){return Reflect.has(this.container,t)}_get(t){const e=this.container,i=Reflect.has(e,t)?e[t]:void 0;return A(this.name,t)?x(i):i}_delete(t){return!!this._has(t)&&(this._notify(t,()=>{$(this.name,t);const{[t]:e,...i}=this.container;this._updateContainer(i)}),!0)}_update(t,e){this._notify(t,()=>this._set(t,e))}_set(t,e){const i=e instanceof Error,s=i?M(e):e;i?j(this.name,t):$(this.name,t),this._updateContainer({...this.container,[t]:s})}_notify(t,i){const s=this._get(t);this._notifyMutationSubscribers("before",t,s instanceof Error?void 0:s),e.isFunction(i)&&i();const r=this._get(t);r instanceof Error?this._notifyMutationSubscribers("error",t,void 0,r):this._notifyMutationSubscribers("after",t,r)}_registerAction(t,e){this.actions[t]=t=>e.call(null,this.localState,t)}_notifyActionSubscribers(t,e,i,s){B(this.actionSubscribers,0,this.localState,t,e,i,s)}_notifyMutationSubscribers(t,e,i,s){B(this.subscribers,0,this.localState,t,e,i,s)}_dispatchAction(t,s,r){const n=i.readonly(r);return new Promise((i,r)=>{this._notifyActionSubscribers("before",t,n);const o=e=>{this._notifyActionSubscribers("after",t,e),i(e)},c=e=>{const i=e instanceof Error?e:new X(e);this._notifyActionSubscribers("error",t,n,i),r(i)};try{const t=s(n);e.isPromiseLike(t)?t.then(o,c):o(t)}catch(t){c(t)}})}has(t){return this._has(t)}get(t){return this._get(t)}set(t,e){this._update(t,e)}delete(t){return this._delete(t)}clear(){for(const t of Object.keys(this.container))this._delete(t)}update(t,i){if(e.isFunction(i)){const e=t;this._update(e,i(this._get(e)))}}dispatch(t,i){const s=this.actions[t];if(e.isFunction(s))return this._dispatchAction(t,s,i);if(t.includes("/")&&h.has(t)){const e=t.substring(t.indexOf("/")+1);return h.get(t).dispatch(e,i)}const r=`unknown action type: ${t}`;return Promise.reject(new TypeError(r))}subscribe(t,e){const i=t,s="function"==typeof(r=e)?{after:r,error:r}:r;var r;const n=this.subscribers,o=q(i,s,n),c="undefined"!=typeof window&&!0===this.options?.discard,a={unsubscribe:()=>{o.unsubscribe(),!c||Reflect.has(n,i)&&0!==n[i].length||(delete n[i],this._delete(i))}};if(this._has(i)){const t=this._get(i);t instanceof Error?W(s,0,this.localState,"error",i,void 0,t):W(s,0,this.localState,"after",i,t)}return a}subscribeAction(t,e){const i="function"==typeof e?{after:e,error:e}:e;if(t.includes("/")&&h.has(t)){const i=t.substring(t.indexOf("/")+1);return h.get(t).subscribeAction(i,e)}return q(t,i,this.actionSubscribers)}},t.StoreActionError=X,t.StoreAdapter=class{get config(){return this._config||Y}constructor(t,s,r,n){if(this.uuid=i.uuidv4(),this.connectors=[],this.rawMutationSubscribers=[],this.rawActionSubscribers=[],this.rawLoadSubscribers=[],this.loadSubscribers={},this.activeSubscriptions=[],this.localState=void 0,this.isConnected=!1,this.isSubscribed=!1,this._config=void 0,this._context=void 0,this.entryKey=void 0,this.lastCallbackEntry=void 0,this.dataCallback=t,this.store=s,this.key=r,this.options=n,n&&Array.isArray(n.connectors))for(const t of n.connectors)e.isPlainObject(t)?this.connectors.push(t):e.isFunction(t)&&this.connectors.push({connect:t})}get loadingPromises(){return u.get(this.store.name)}_notifyConnectors(t){for(const i of this.connectors)e.isFunction(i[t])&&i[t](I(this),{type:this.key,payload:this.config},this.localState)}_notifyLoadSubscribers(t,e){const{data:i}=this._read();B(this.loadSubscribers,0,this.localState,t,this.key,i,e)}_obtainLoadingPromiseKey(){return`${this.key}:${this.entryKey}`}_obtainRawEntryContainer(){return this.store.get(this.key)}_obtainEntryContainer(){const t=this._obtainRawEntryContainer();return e.isPlainObject(t)?{...t}:{}}_obtainEntry(t){const i=e.isPlainObject(t)?t:this._obtainEntryContainer();return i?.[this.entryKey]}_read(t){return rt(t||this._obtainEntry())}_writeContainer(t){this.store.set(this.key,t)}_write(t,e=this.entryKey){const i=this._obtainEntryContainer();i[e]=t,this._updateMeta("w",e),this._writeContainer(i)}_updateMeta(t,e=this.entryKey){const i=`${this.store.name}:${this.key}`,s=P(i)??{};"d"===t?Reflect.deleteProperty(s,e):Reflect.set(s,e,performance.now()+performance.timeOrigin),E(i,s)}_callback(t){if(this.isConnected&&this.dataCallback&&!i.deepEqual(t,this.lastCallbackEntry).value){this.lastCallbackEntry=t;const{error:e}=t,s={...t};s.error="string"==typeof e?x(e):void 0,i.readonly(s),this.dataCallback.call(null,s)}}_removeLoadingPromise(t){const i=this.loadingPromises,s=i?.get(t);i?.delete(t),e.clearDebounceTimeout(s),e.clearDebounceTimeout(b.get(t))}_unsubscribe(){if(this.isSubscribed){this.isSubscribed=!1,st(this.store,this.key,this.entryKey,-1);if("undefined"!=typeof window&&!0===(this.options?.discard||this.store.options.discard)&&e.isPlainObject(this._obtainRawEntryContainer())){const t=it(this.store,this.key,this.entryKey);if(!Reflect.has(l,t)){const t=this._obtainEntryContainer();if(delete t[this.entryKey],0===Object.keys(t).length){E(`${this.store.name}:${this.key}`,{}),this.store.delete(this.key)}else this._updateMeta("d"),this._writeContainer(t)}}this._notifyConnectors("disconnect")}for(const t of this.activeSubscriptions)t.unsubscribe();this.activeSubscriptions.splice(0,this.activeSubscriptions.length),et(this.rawMutationSubscribers),et(this.rawActionSubscribers),et(this.rawLoadSubscribers);for(const t of Object.keys(this.loadSubscribers))delete this.loadSubscribers[t];delete this.lastCallbackEntry}_subscribe(){if(!this.isConnected||!this._config)return;this._unsubscribe();const t=F(this._config,this._context);if(this.entryKey!==t){this.entryKey=t,this.localState=D(this.store,[this.key,this.entryKey,this.uuid]);const e=this._obtainRawEntryContainer();if(void 0!==e&&!z(e)){const t=J(e,this.entryKey);Object.keys(t).forEach(t=>this._updateMeta("w",t)),this._writeContainer(t)}}st(this.store,this.key,this.entryKey),u.has(this.store.name)||u.set(this.store.name,new Map),this._notifyConnectors("connect");for(const t of this.rawLoadSubscribers){const e=q(this.key,t.subscriber,this.loadSubscribers);this.activeSubscriptions.push(e),t.unsubscribable=e}this.isSubscribed=!0;if(this.activeSubscriptions.push(this.store.subscribe(this.key,(()=>{let t;const i=({payload:i})=>{if(this.entryKey&&(e.isPlainObject(t)&&Reflect.has(t,this.entryKey)||e.isPlainObject(i)&&Reflect.has(i,this.entryKey))){const t=this._obtainEntry(i);this._isValid(t)&&this._callback(this._read(t))}};return{before:({payload:e})=>{t=e},after:i,error:i}})())),Z(this.options).handler)if("undefined"!=typeof window||f.get(this))this._getAsync(this._read());else{const t=this._read();t.loaded||t.loading?this._callback(t):(this._notifyLoadSubscribers("before"),this._write({...t,loading:!0}))}else this._callback(this._read());for(const t of this.rawMutationSubscribers){const e=this.store.subscribe(this.key,t.subscriber);this.activeSubscriptions.push(e),t.unsubscribable=e}for(const t of this.rawActionSubscribers){const e=this.store.subscribeAction(t.key,t.subscriber);this.activeSubscriptions.push(e),t.unsubscribable=e}}_getAsync(t){const s=this._obtainLoadingPromiseKey(),r=this.loadingPromises?.get(s),n=e.isPromiseLike(r);return n?r:t.loaded||t.loading?t.loading&&!n?L(this,!1):this._isValid(t)?Promise.resolve(i.readonly(t)):L(this,!1):L(this,!1)}_isValid(t){if(this.options&&e.isFunction(this.options.validator))try{if(!this.options.validator({type:this.key,payload:i.readonly(t)},I(this),this.localState))return!1}catch{}const s=`${this.store.name}:${this.key}`,r=P(s)?.[this.entryKey];if("number"==typeof r){const t="number"==typeof this.options?.cache?.ttl&&!Number.isNaN(this.options.cache.ttl)&&this.options.cache.ttl>=-1?this.options?.cache?.ttl:300;if(-1===t)return!0;return 1e3*t>=performance.now()-(r-performance.timeOrigin)}return!0}_load(t,s){this._notifyLoadSubscribers("before");const{name:r}=this.store;try{const n=!1!==d.get(this),o=(n?e.debounce(t):t)({type:this.key,payload:this._config},this.localState);if(e.isPromiseLike(o)){n&&b.set(s,o);const t=c.AbortablePromise.from(o).then(e=>{const n=this._obtainLoadingPromiseKey(),o=this.loadingPromises?.get(n);if(n!==s){b.delete(s),this._removeLoadingPromise(s);const t=s.substring(s.indexOf(":")+1);$(r,this.key,t),this._write({data:e,error:void 0,loaded:!0,loading:!1},t)}else o&&o===t&&(b.delete(n),this._removeLoadingPromise(n),$(r,this.key,this.entryKey),this._write({data:e,error:void 0,loaded:!0,loading:!1}),this._notifyLoadSubscribers("after"));return i.readonly(this._read())},e=>{const n=this._obtainLoadingPromiseKey(),o=this.loadingPromises?.get(n);if(n!==s){b.delete(s),this._removeLoadingPromise(s);const t=s.substring(s.indexOf(":")+1);if(e instanceof c.AbortError){$(r,this.key,t);const e=this._obtainEntryContainer();this._write({...rt(e?.[t]),loading:!1},t)}else j(r,this.key,t),this._write({data:void 0,error:M(e),loaded:!0,loading:!1},t)}else o&&o===t&&(b.delete(n),this._removeLoadingPromise(n),e instanceof c.AbortError?($(r,this.key,this.entryKey),this._write({...this._read(),loading:!1}),this._notifyLoadSubscribers("after")):(j(r,this.key,this.entryKey),this._write({data:void 0,error:M(e),loaded:!0,loading:!1}),this._notifyLoadSubscribers("error",e)));return i.readonly(this._read())});return this.loadingPromises?.set(s,t),this._write({...this._read(),loading:!0}),t}$(r,this.key,this.entryKey),this._write({data:o,error:void 0,loaded:!0,loading:!1}),this._notifyLoadSubscribers("after")}catch(t){if(t instanceof c.AbortError)$(r,this.key,this.entryKey),this._write({...this._read(),loading:!1}),this._notifyLoadSubscribers("after");else{j(r,this.key,this.entryKey);const e=M(t);this._write({data:void 0,error:e,loaded:!0,loading:!1}),this._notifyLoadSubscribers("error",t)}}return b.delete(s),Promise.resolve(i.readonly(this._read()))}update(t,e){this._config=i.readonly(t),this._context=i.readonly(e??{}),this._subscribe()}connect(){this.isConnected||(f.has(this)&&f.set(this,!0),this.isConnected=!0,this._subscribe())}disconnect(){this.isConnected&&(f.has(this)&&f.set(this,!1),this.isConnected=!1,this._unsubscribe())}get(){return this._getAsync(this._read()).then(t=>{if("string"==typeof t.error)throw x(t.error);return t})}load(){const t=Z(this.options);if(!this.isSubscribed||!t.handler)return Promise.resolve(i.readonly(this._read()));const s=this._obtainLoadingPromiseKey(),r=this.loadingPromises?.get(s);if(e.isPromiseLike(r)&&(e.extendDebouncedTimeout(r)||e.extendDebouncedTimeout(b.get(s))))return r;const{handler:n}=t;return this._load(n,s)}subscribe(t){const i=t=>{const e="function"==typeof t.before?t.before:void 0,i="function"==typeof t.after?t.after:void 0,s="function"==typeof t.error?t.error:void 0;return e&&(t.before=(t,i)=>{!A(this.store.name,this.key,this.entryKey)&&e(t,i)}),i&&(t.after=(t,e)=>{const r=A(this.store.name,this.key,this.entryKey);if(r&&s){const i=x(this._read().error);s(t,e,i)}else r||i(t,e)}),t},s=()=>this.localState,r=t=>{const{payload:e}=t;return{type:t.type,payload:e?.[this.entryKey]?.data}},n=e.isFunction(t)?G(i({after:t,error:t}),s,r):G(i(t),s,r),o=this.isSubscribed?this.store.subscribe(this.key,n):void 0;return o&&this.activeSubscriptions.push(o),tt(n,this.rawMutationSubscribers,o)}subscribeAction(t,e){const i=()=>this.localState,s=G("function"==typeof e?{after:e,error:e}:e,i),r=this.isSubscribed?this.store.subscribeAction(t,s):void 0;return r&&this.activeSubscriptions.push(r),tt(s,this.rawActionSubscribers,r,t)}subscribeLoad(t){const i=()=>this.localState,s=e.isFunction(t)?G({after:t,error:t},i):G(t,i),r=this.isSubscribed?q(this.key,s,this.loadSubscribers):void 0;return r&&this.activeSubscriptions.push(r),tt(s,this.rawLoadSubscribers,r)}},t.deleteStoreAdapterValue=function(t,e,...i){const s=H(t,e,...i),r=s.store,n=s.key,o=D(r,[n,F(e),s.uuid]);E(`${r.name}:${n}`,{}),o.delete(n)},t.deserializeError=x,t.distributeStoreAdapterValue=function(t,e,...i){const s=H(t,{},...i),r=s.store,n=s.key,o=Reflect.get(r.container,n),c=`${r.name}.${n}`;R.call(l,c)&&l[c]>0||z(o)?U(r,n,T(r,e,n)):r.set(n,e)},t.getCurrentStoreAdapterValue=function(t,e,...i){let s;return Q(t,e,...i)(t=>{s=t},{once:!0}),s},t.getStoreAdapterValue=function(t,e,...i){const s=H(t,e,...i);return s.connect(),s.get().then(t=>t.data).finally(()=>{s.disconnect()})},t.hasSubscribers=function(t,i,s,r){const n=`${t.name}.${i}`;if(e.isPlainObject(s)||e.isPlainObject(r)){const t=`${n}.${F(s,r)}`;return Reflect.has(l,t)&&Number(l[t])>0}return Reflect.has(l,n)&&Number(l[n])>0||Reflect.has(t.subscribers,i)&&t.subscribers?.[i]?.length>0}
542,t.serializeError=M,t.setStoreAdapterValue=function(t,e,i,...s){const r=H(t,i,...s),n=r.store,o=r.key,c=F(i);U(n,o,V(n,J(e,c),o,c),c)},t.wire=Q,Object.defineProperty(t,"__esModule",{value:!0})});
543})();(function() { LWR.define("experience/dataProvider",["exports","lwc","experience/dataLayerObject","experience/store","experience/utils"],function(t,e,s,a,o){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=n(s);const r=[];function i(t,e,s,a){const{k:o,c:n,i:i,s:d,f:l}=t;return l([e.hasDataLayerObjects?i(e.dataLayerObjects,function(t){return n("experience-data-layer-object",c.default,{props:{scriptDataAttributes:t.attributes,customObject:t.customObject},key:o(0,t.id)})}):r,d("",{key:1,slotData:e.dataProxyContext},r,s)])}var d=e.registerTemplate(i);i.slots=[""],i.renderMode="light",i.stylesheets=[],i.stylesheetToken="lwc-1cva0bnnf5d",i.legacyStylesheetToken="experience-dataProvider_dataProvider",e.freezeTemplate(i);const l="sfdc__dataprovider_action";class f extends CustomEvent{constructor(t,e,s){const a={onSuccess:o.isFunction(s)?s:o.isPlainObject(s)&&o.isFunction(s.onSuccess)?s.onSuccess:void 0,onError:o.isFunction(s)?s:o.isPlainObject(s)&&o.isFunction(s.onError)?s.onError:void 0};super(l,{bubbles:!0,cancelable:!0,composed:!0,detail:{type:t,payload:e,options:a}})}}const h=new WeakMap;function u(t){return function t(e){if(o.isFunction(e)&&e.constructor===j.constructor)return!0;const s=null!=e?Object.getPrototypeOf(e):null;return null!=s&&t(s)}(t)}function p(t){return function(t){const e=[];return function t(s,a){a&&e.push(s);const o=null!=s?Object.getPrototypeOf(s):null;u(o)&&t(o,!0)}(t,u(t)),e.reverse()}(t).reduce((t,e)=>{if(h.has(e)){const s=h.get(e);return{...t,...s}}return t},{})}const y=Symbol("handleDataProviderActionEventField"),b=Symbol("handleDataProviderActionEvent"),v=Symbol(),g=Symbol(),D=Symbol(),P=Symbol(),m=Symbol(),S=new a.Store("@@SfdcDataProvider",{discard:!0,actions:{sync:(t,e)=>e}});class E extends e.LightningElement{wireConnectedState({connected:t}){this[D]=t,t?(this.addEventListener(l,this[y]),this.sfdcId&&(this[P]=S.subscribe(this.sfdcId,({payload:t})=>{"object"==typeof t&&null!==t&&(this._sfdcData={...this._sfdcData??{},...t})}),this[m]=S.subscribeAction("sync",({payload:t})=>{t?.sfdcId===this.sfdcId&&t?.callback?.call(this,{type:t.type,payload:t.payload})}))):(this.removeEventListener(l,this[y]),this[P]?.unsubscribe(),this[m]?.unsubscribe(),this[P]=void 0,this[m]=void 0)}get sfdcData(){return this._sfdcData}set sfdcData(t){this._sfdcData=t}get dataProxyContext(){return{[v]:this.getData(),[g]:this}}hasData(t){return!0}updateComponents(){}getData(){return this.sfdcData}get sfdcIsConnected(){return this[D]}get hasDataLayerObjects(){return!!this.dataLayerObjects&&this.dataLayerObjects.length>0}constructor(){super(),this[D]=!1,this[P]=void 0,this[m]=void 0,this[y]=this[b].bind(this),this.sfdcId=void 0,this.sfdcFields=[],this.sfdcIsPreviewMode=!1,this.sfdcType=void 0,this.sfdcExpressionKey=void 0,this.sfdcIsViewLevelDataProvider=!1,this.generatedTemplate=void 0,this._sfdcData=void 0,this.dataLayerObjects=void 0,this._sfdcData={}}sfdcSynchronizeData(t,e){const s="object"==typeof t&&null!==t?t:{[t]:e},a=()=>{this._sfdcData={...this._sfdcData??{},...s}};this.sfdcId?(S.set(this.sfdcId,{...S.has(this.sfdcId)?S.get(this.sfdcId):{},...s}),!this[D]&&a()):a()}sfdcMergeData(t,e=!1){"object"==typeof t&&null!==t?(!function(t,e){for(const[s,a]of Object.entries(e))t[s]=o.readonly(a)}(this._sfdcData,t),e&&this.sfdcSynchronizeData(t)):this._sfdcData=t}sfdcSynchronize(t,e,s){S.dispatch("sync",{type:t,sfdcId:this.sfdcId,..."function"==typeof s?{payload:e,callback:s}:{payload:void 0,callback:e}})}[b](t){if(t.defaultPrevented)return;const{detail:e,target:s}=t,{type:a,payload:o,options:n}=e,c=p(Object.getPrototypeOf(this).constructor);if(Reflect.has(c,a)){t.preventDefault(),t.stopPropagation();const e="function"==typeof n.onSuccess,r="function"==typeof n.onError;try{const t=c[a].call(this,o,this,s);t instanceof Promise?t.then(t=>(e&&n.onSuccess?.call(void 0,t,!0),t),t=>{r&&n.onError?.call(void 0,t,!1)}):e&&n.onSuccess?.call(void 0,t,!0)}catch(t){r&&n.onError?.call(void 0,t,!1)}}}}E.renderMode="light",E.preloadData=void 0,e.registerDecorators(E,{publicProps:{sfdcId:{config:0},sfdcFields:{config:0},sfdcIsPreviewMode:{config:0},sfdcType:{config:0},sfdcExpressionKey:{config:0},sfdcIsViewLevelDataProvider:{config:0},generatedTemplate:{config:0},sfdcData:{config:3},sfdcIsConnected:{config:1}},publicMethods:["hasData","updateComponents","getData"],track:{_sfdcData:1},wire:{wireConnectedState:{adapter:class{constructor(t){this.dataCallback=t}update(){}connect(){this.dataCallback({connected:!0})}disconnect(){this.dataCallback({connected:!1})}},method:1,config:function(t){return{}}}},fields:["dataLayerObjects"]});const j=e.registerComponent(E,{tmpl:d,sel:"experience-data-provider",apiVersion:66,enableSyntheticElementInternals:!0});t.DataProviderActionEvent=f,t.SFDC_DATA_ATTRIBUTE=v,t.SFDC_PROVIDER_ATTRIBUTE=g,t.default=j,t.registerAction=function(t,e,s){if(!u(t))throw new TypeError("[dataProvider] parameter 'ctor' needs to be a DataProvider constructor");if("string"!=typeof e)throw new TypeError("[dataProvider] parameter 'type' needs to be a string");if(!o.isFunction(s))throw new TypeError("[dataProvider] parameter 'handler' needs to be a function");h.has(t)||h.set(t,{});const a=h.get(t);if(Reflect.has(a,e))throw new TypeError(`[dataProvider] a handler has already been registered for action type '${e}'`);a[e]=s}
543,Object.defineProperty(t,"__esModule",{value:!0})});
544})();(function() { LWR.define("dxp_data_provider/repeaterItemContextual",["exports","lwc","experience/dataProvider","dxp_util/common","dxp_data_provider/wireAdapter"],function(e,t,n,o,a){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n);const s=new WeakMap,c={};function d(){return o.empty(c)&&Object.assign(c,a.buildWireAdapter()),c}function l(e){let t=s.get(e);return void 0===t&&(t={consumers:[],value:null},s.set(e,t)),t}const u=d().wireAdapter,p=Symbol("SetContext"),m=Symbol("Data");class f extends i.default{constructor(){super(),this[m]={},function(e){const{createDataContext:t}=d();t(e,{consumerConnectedCallback(t){const n=l(e);n.consumers.push(t),t.provide({value:n.value})},consumerDisconnectedCallback(t){const n=l(e),o=n.consumers.indexOf(t);if(!(o>=0))throw new TypeError(`Invalid context operation in ${e}.`);n.consumers.splice(o,1)}})}(this)}disconnectedCallback(){this[p]({data:this[m]})}updateContext(e){this[m]=e,this[p]({data:this[m]})}[p](e){!function(e,n){const o=l(e);o.value=t.readonly(n??a.defaultValue),o.consumers.forEach(e=>e.provide({value:t.readonly(n)}))}(this,e)}}f.renderMode="light";const v=t.registerComponent(f,{tmpl:void 0,sel:"dxp_data_provider-repeater-item-contextual",apiVersion:66,enableSyntheticElementInternals:!0});e.default=v,e.getItem=u,Object.defineProperty(e,"__esModule",{value:!0})});
545})();(function() { LWR.define("dxp_util/siteInfo",["exports","@salesforce/community/basePath","dxp_util/common","@salesforce/i18n/lang","@salesforce/community/Id","@salesforce/site/Id"],function(t,e,n,r,u,i){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var f=a(e),o=a(r),s=a(u),c=a(i);const l="/sfsites/c",d=`${f.default}${l}`,m=n.curry((t,e,n)=>e?n:`${f.default}${t??""}${$(n)}`),h=m(l),g=m(""),I={CurrentLanguage:o.default.replace("-","_"),CommunityId:s.default,CurrentLocale:o.default,SiteId:c.default};function P(t,e=!1){return g(e,t)}function p(t){return t?.startsWith(f.default)||t?.startsWith("/cdn-cgi")}function S(t){return/^(https?|data:image\/[a-z]+)/i.test(t)}function $(t){return t&&!/^\/.*/.test(t)?`/${t}`:t}t.CMS_PATH_PREFIX=l,t.SiteInfo=I,t.buildSiteCmsPath=function(t,e=!1){return h(e,t)},t.buildSitePath=P,t.constructUrlPath=m,t.getImageUrl=function(t){return p(t)?t:P(t,S(t))},t.getPathPrefix=function(){return d},t.isSitePath=p,t.isValidImageUrl=S,t.parseLogoInfo=function(t){if(!t)return"";const e=t.match(/^url\((.*?)\)$/);return e?e[1]:t},t.prefixWithLeadingSlash=$,Object.defineProperty(t,"__esModule",{value:!0})});
546})();(function() { LWR.define("dxp_util/normalizer",["exports"],function(e){function l(e,l={}){const{fallbackValue:t="",validValues:n,caseSensitive:i=!1}=l;let a="string"==typeof e&&e.trim()||"";return i||(a=a.toLowerCase()),n&&-1===n.indexOf(a)&&(a=t),a}const t={SHOW_INLINE_MESSAGE:"inline",REDIRECT_TO_EXISTING_PAGE:"redirect"};const n=Object.freeze({"50%":{left:1,right:1},"16.67%":{left:1,right:5},"33.33%":{left:1,right:2},"66.67%":{left:2,right:1}}),i=Object.keys(n),a=i[0];e.ACTION_TYPE=t,e.COLUMN_PORTION_MAP=n,e.COLUMN_PORTION_OPTIONS=i,e.DEFAULT_COLUMN_PORTION=a,e.normalizeAction=function(e){return l(e,{caseSensitive:!0,fallbackValue:t.SHOW_INLINE_MESSAGE,validValues:[t.SHOW_INLINE_MESSAGE,t.REDIRECT_TO_EXISTING_PAGE]})},e.normalizeAlignment=function(e){return l(e,{fallbackValue:"left",validValues:["left","center","right"]})},e.normalizeBoolean=function(e){return"string"==typeof e||!!e},e.normalizeDirection=function(e){return l(e,{fallbackValue:"left",validValues:["left","right"]})},e.normalizePortion=function(e){return l(e,{fallbackValue:a,validValues:i})},e.normalizeSize=function(e){return l(e,{fallbackValue:"small",validValues:["small","medium","large"]})},e.normalizeString=l,Object.defineProperty(e,"__esModule",{value:!0})});
547})();(function() { LWR.define("dxp_util/contentInfo",["exports","dxp_util/siteInfo","dxp_util/normalizer"],function(t,e,n){const r=/^\/cms\//,i=/^\/img\//,l=/^\/assets\//;function s(t){return r.test(t)}function o(t){return i.test(t)}function c(t){return l.test(t)}function u(t){return s(t)||o(t)}
547const a="/cms/delivery/media";function f(t){const{url:n,isExternal:r}=t;return e.buildSiteCmsPath(n,r)}function d(t){return{url:t.contentNodes?.source?.url??"",isExternal:!!t.contentNodes?.source?.isExternal,altText:t.contentNodes?.altText?.value??""}}function S(t=[]){return t.filter(t=>t.contentKey&&t.contentNodes).reduce((t,e)=>(t.set(e.contentKey,d(e)),t),new Map)}t.convertItemsToContentKeyMap=S,t.extractImageInfo=function(t,e){const n=S(t?.items??[]),[r]=e,i=n.get(r);return i?{url:f(i),altText:i.altText}:{}},t.extractImageInfoV2=function(t){const n=t?.contentBody??{},r=n["sfdc_cms:media"]??{};return{url:e.buildSiteCmsPath(r.url??"","url"===r.source?.type),altText:n.altText??""}},t.getCMSContentUrl=f,t.getContentKey=function(t){if(!t||!t.includes(a))return null;const e=t.indexOf(a)+19+1;return t.substring(e)||null},t.getImageSrcSetUrls=function(t){return{mobileUrl:n.normalizeString(t?.SrcSet?.[0]?.srcSet?.[0]||t?.Url,{fallbackValue:"initial",caseSensitive:!0}),tabletUrl:n.normalizeString(t?.SrcSet?.[1]?.srcSet?.[0]||t?.Url,{fallbackValue:"initial",caseSensitive:!0}),desktopUrl:n.normalizeString(t?.SrcSet?.[2]?.srcSet?.[0]||t?.Url,{fallbackValue:"initial",caseSensitive:!0})}},t.isCmsAsset=c,t.isCmsResource=s,t.isResource=u,t.isStaticImageResource=o,t.resolveUrl=function(t){return c(t)?e.buildSitePath(t):u(t)?e.buildSiteCmsPath(t):t},t.toUrlInfo=d,Object.defineProperty(t,"__esModule",{value:!0})});
548})();(function() { LWR.define("dxp_util/idGenerator",["exports","dxp_util/common"],function(e,t){const n=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],r=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];function o(e=0){if("string"==typeof e&&(e=parseInt(e,10)),e<0)throw new Error("Negative numbers are not supported.");if(0===e)return"zero";if(e<20)return n[e];const t=e.toString();if(2===t.length)return`${r[t[0]]}${n[t[1]]?"-"+n[t[1]]:""}`;if(3===t.length){if("0"===t[1]&&"0"===t[2])return`${n[t[0]]}-hundred`;const e=o(+(t[1]+t[2]));return`${n[t[0]]}-hundred-${e}`}if(4===t.length){const e=+(t[1]+t[2]+t[3]);return 0===e?n[t[0]]+"-thousand":`${n[t[0]]}-thousand-${o(e)}`}throw new Error(`${e} are not supported.`)}const i=e=>t=>o(t+e);function u(e,n,r,o){return t.compose((e=>t=>`${e}${t}`)(r),(e=>n=>e?t.toCapitalized(n):n)(n),i(e))(o)}const s=t.curry(u);e.fnGenerateId=s,e.generateId=u,e.generateIds=function(e,n,r={baseIndex:0,capitalCase:!1}){return t.compose(t.map(s(r.baseIndex,r.capitalCase,e)),t.toIndexes)(n)},e.generateUniqueNumber=function(){return Math.floor((new Date).valueOf()*Math.random())},Object.defineProperty(e,"__esModule",{value:!0})});
549})();(function() { LWR.define("dxp_data_provider/dataProviderUtils",["exports","dxp_util/contentInfo","@app/isDesignMode","dxp_util/idGenerator"],function(e,t,n,r){function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=_(n);Object.defineProperty(e,"resolve",{enumerable:!0,get:function(){return t.resolveUrl}}),e.DATA_BIND_REGEX=/\{!Item\.(.+?)\}/g,e.DATA_PROVIDER_DATA_ACCESS="_data",e.DATA_PROVIDER_FIELD_METADATA_PREFIX="_",e.DATA_PROVIDER_GET_FIELD_DATA_EVENT_NAME="dxp_data_provider__getfielddata",e.MASTER_RECORD_TYPE_ID="012000000000000AAA",e.SFDC_TYPES={RECORD:"sfdc_record__",CMS:"sfdc_cms__"},e.buildFieldPath=function(e,t){return e?`${e}.${t}`:t},e.generateMockCollection=function(e){return d.default?r.generateIds("",e).map(e=>({key:e,data:{}})):[]},e.getFieldAndMetadata=e=>{const t=e.split(".");if(t.length>0&&t[t.length-1].startsWith("_")){const e=t[t.length-1],n=t.slice(0,t.length-1);return 1===t.length?[null,e]:[n,e]}return[e,null]},e.normalizeContentKey=function(e){return e?.includes("-")?e.split("-").slice(-1)[0]:e},Object.defineProperty(e,"__esModule",{value:!0})});
550})();(function() { LWR.define("dxp_util/eventBuilder",["exports","dxp_util/common"],function(e,n){const t=Object.freeze({PRIVATE_DESIGN_TIME:"privatedesigntime",PRIVATE_REFRESH:"privaterefresh",OPEN_SECTION:"opensection",CLOSE_SECTION:"closesection",VIEWPORT_CHANGE:"viewportchange",CHANGE:"change",COLUMN_ACTION:"columnaction",PILL_REMOVE:"pillremove",PILL_ADD:"pilladd",SEARCH:"search",NEXT_PAGE:"nextpage",PREVIOUS_PAGE:"previouspage",REPEATER_SORT:"repeatersort",RECORD_LIST_SORT:"recordlistsort",LIST_VIEW_CHANGE:"listviewchange"}),E=Object.freeze({APPEND:"append",REPLACE:"replace"}),i=n.curry((e,n,t)=>
550new CustomEvent(n,{...e,detail:t})),r=i({composed:!0,bubbles:!0}),u=i({});e.DXP_EVENT_NAME=t,e.PAGINATION_ACTION=E,e.buildChangeEvent=function(e){return r(t.CHANGE,e)},e.buildCloseSectionEvent=function(e){return r(t.CLOSE_SECTION,e)},e.buildColumnActionEvent=function(e){return u(t.COLUMN_ACTION,e)},e.buildNextPageEvent=function(e){return r(t.NEXT_PAGE,e)},e.buildOpenSectionEvent=function(e){return r(t.OPEN_SECTION,e)},e.buildPillAddEvent=function(e){return u(t.PILL_ADD,e)},e.buildPillRemoveEvent=function(e){return u(t.PILL_REMOVE,e)},e.buildPreviousPageEvent=function(e){return r(t.PREVIOUS_PAGE,e)},e.buildPrivateDesignTimeEvent=function(e){return r(t.PRIVATE_DESIGN_TIME,e)},e.buildPrivateRefreshEvent=function(e){return r(t.PRIVATE_REFRESH,e)},e.buildRecordListSortEvent=function(e){return r(t.RECORD_LIST_SORT,e)},e.buildRepeaterSortEvent=function(e){return r(t.REPEATER_SORT,e)},e.buildSearchEvent=function(e){return r(t.SEARCH,e)},e.buildViewportChangeEvent=function(e){return u(t.VIEWPORT_CHANGE,{viewport:e})},e.cancelEvent=function(e){e?.preventDefault(),e?.stopPropagation()},Object.defineProperty(e,"__esModule",{value:!0})});
551})();(function() { LWR.define("dxp_data_provider/repeaterItem",["exports","lwc","dxp_data_provider/repeaterItemContextual","dxp_util/common","dxp_data_provider/dataProviderUtils","dxp_util/eventBuilder"],function(t,e,s,a,i,n){function d(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=d(s);function h(t,e,s){const a={};s?.forEach?.call(s,e=>{const[s,n]=i.getFieldAndMetadata(e);a[e]=s?t.getField(s,n):t.getData(n)}),"function"==typeof e.setDataExpressions?e.setDataExpressions(a):console.warn("Element does not have setDataExpressions!")}function o(t,e,s){return(e?":host {":(t?"."+t+"-host":"")+" {")+"display: block;height: 100%;}"}o.$scoped$=!0;var l=[o];class c extends r.default{get sfdcData(){return this._sfdcData}set sfdcData(t){a.ifVal(t?.data,()=>{var e,s;this.item=t,this._sfdcData=t.data,this.updateComponents(),this.updateContext({item:this._sfdcData,formatter:this.item.formatter}),this.elementsAskingForDataViaEvents=(e=this,s=this.elementsAskingForDataViaEvents,s?.forEach(([t,s])=>h(e,t,s)),[])})}get sfdcIndex(){return this._sfdcIndex}set sfdcIndex(t){this._sfdcIndex=t,this.synchronizeRender()}get generatedTemplate(){return this.generated}set generatedTemplate(t){this.generated=t,this.synchronizeRender()}getData(){return this.sfdcData}updateComponents(){this.generatedTemplate&&(this.attributes=this.evaluateAttributes(this.generatedTemplate.attributes))}constructor(){super(),this.item=void 0,this.attributes={},this.generated=void 0,this.html=void 0,this._sfdcIndex=0,this.designUpdate=!1,this.elementsAskingForDataViaEvents=[],this.handleFieldDataEvent=t=>{n.cancelEvent(t),a.ifElse(this.item?.data,()=>{h(this,t.target,t.detail)},()=>{this.elementsAskingForDataViaEvents.push([t.target,t.detail])})},this.addEventListener(i.DATA_PROVIDER_GET_FIELD_DATA_EVENT_NAME,this.handleFieldDataEvent)}synchronizeRender(){var t;a.empty(this.sfdcIndex)||a.empty(this.generated)||(t=this.generated,a.notEmpty(t?.html_design)&&0===this.sfdcIndex?a.ifVal(!this.designUpdate,()=>{this.html=this.generated.html_design,this.attributes=this.evaluateAttributes(this.generated.attributes_design),this.designUpdate=!0}):(this.html=this.generated.html,this.attributes=this.evaluateAttributes(this.generated.attributes)))}evaluateAttributes(t){return"function"==typeof t?t(this):{}}getField(t,e){return t.split(".").reduce((t,e)=>t?.[e],this.getData(e))}render(){return this.html}}c.renderMode="light",c.stylesheets=[l],e.registerDecorators(c,{publicProps:{sfdcData:{config:3},sfdcIndex:{config:3},generatedTemplate:{config:3}},track:{item:1,attributes:1},fields:["generated","html","_sfdcIndex","designUpdate","elementsAskingForDataViaEvents","handleFieldDataEvent"]});const u=e.registerComponent(c,{tmpl:void 0,sel:"dxp_data_provider-repeater-item",apiVersion:66,enableSyntheticElementInternals:!0});t.default=u,Object.defineProperty(t,"__esModule",{value:!0})});
552})();(function() { LWR.define("dxp_content_layout/blockFlexible",["exports","lwc","dxp_util/normalizer","dxp_util/common"],function(e,t,l,r){function i(e,t,l){var r=e?"."+e:"";return(t?":host {":(e?"."+e+"-host":"")+" {")+"height: 100%;}.dxp-block-flexible-layout"+r+" {justify-content: var(--dxp-c-block-flexible-alignment, center);}.dxp-block-flexible-container"+r+" {position: relative;width: var(--dxp-c-block-flexible-container-width, 100%);min-height: var(--dxp-c-block-flexible-container-min-height, 0);border-width: var(--dxp-c-block-flexible-border-width, 0);border-radius: var(--dxp-c-block-flexible-border-radius, 0);border-color: var(\n --dxp-c-block-flexible-border-color,\n var(--dxp-g-neutral)\n );border-style: var(--dxp-c-block-flexible-border-style, solid);background-color: var(\n --dxp-c-block-flexible-background-color,\n var(--dxp-g-root)\n );}@media only screen and (max-width: 64em) {.dxp-block-flexible-container"+r+" {width: var(--dxp-c-m-width, var(--dxp-c-block-flexible-container-width, 100%));min-height: var(--dxp-c-m-height, var(--dxp-c-block-flexible-container-min-height, 0));border-width: var(--dxp-c-m-border-width, var(--dxp-c-block-flexible-border-width, 0));border-radius: var(--dxp-c-m-border-radius, var(--dxp-c-block-flexible-border-radius, 0));}.dxp-block-flexible-layout"+r+" {justify-content: var(--dxp-c-m-content-alignment, var(--dxp-c-block-flexible-alignment, center));}}@media only screen and (max-width: 47.9375em) {.dxp-block-flexible-container"+r+" {width: var(--dxp-c-s-width, 100%);min-height: var(--dxp-c-s-height, var(--dxp-c-block-flexible-container-min-height, 0));border-width: var(--dxp-c-s-border-width, var(--dxp-c-block-flexible-border-width, 0));border-radius: var(--dxp-c-s-border-radius, var(--dxp-c-block-flexible-border-radius, 0));}.dxp-block-flexible-layout"+r+" {justify-content: var(--dxp-c-s-content-alignment, var(--dxp-c-block-flexible-alignment, center));}}"}i.$scoped$=!0;var o=[i];const d={classMap:{"slds-grid":!0,"dxp-block-flexible-layout":!0},key:0},n={classMap:{"dxp-block-flexible-container":!0},key:1},c={key:2},b=[];function a(e,t,l,r){const{s:i,h:o}=e;return[o("div",d,[o("div",n,[i("",c,b,l)])])]}var s=t.registerTemplate(a);a.slots=[""],a.renderMode="light",a.stylesheets=[],a.stylesheetToken="lwc-3vlckknekcm",a.legacyStylesheetToken="dxp_content_layout-blockFlexible_blockFlexible",o&&a.stylesheets.push.apply(a.stylesheets,o),t.freezeTemplate(a);const x={top:"flex-start",left:"flex-start",bottom:"flex-end",right:"flex-end",center:"center"};class h extends t.LightningElement{constructor(...e){super(...e),this.width=void 0,this.height=void 0,this.borderWidth=0,this.borderColor=void 0,this.borderRadius=0,this.borderStyle="solid",this.backgroundColor=void 0,this._alignment="center"}get alignment(){return this._alignment}set alignment(e){this._alignment=l.normalizeString(e,{fallbackValue:"center",validValues:Object.keys(x)})}updateStyleProperties(){const e=r.propertySet({"--dxp-c-block-flexible-border-width:px":this.borderWidth||0,"--dxp-c-block-flexible-border-color":this.borderColor,"--dxp-c-block-flexible-border-radius:px":this.borderRadius||0,"--dxp-c-block-flexible-border-style":this.borderStyle,"--dxp-c-block-flexible-background-color":this.backgroundColor,"--dxp-c-block-flexible-container-min-height:px":this.height,"--dxp-c-block-flexible-container-width:%":this.width,"--dxp-c-block-flexible-alignment":x[this.alignment]}).toString();this.setAttribute("style",e)}renderedCallback(){this.updateStyleProperties()}connectedCallback(){"undefined"==typeof window&&this.updateStyleProperties()}}h.renderMode="light",t.registerDecorators(h,{publicProps:{alignment:{config:3},width:{config:0},height:{config:0},borderWidth:{config:0},borderColor:{config:0},borderRadius:{config:0},borderStyle:{config:0},backgroundColor:{config:0}},fields:["_alignment"]});const p=t.registerComponent(h,{tmpl:s,sel:"dxp_content_layout-block-flexible",apiVersion:66,enableSyntheticElementInternals:!0});
552e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
553})();(function() { LWR.define("dxp_styling/sldsPaddingClassGenerator",["exports"],function(e){e.default=function(e,s){let a,l=s||"around";switch(e){case"none":case"xxx-small":case"xx-small":case"x-small":case"small":case"medium":case"large":case"x-large":case"xx-large":a=`slds-p-${l}_${e}`}return a},Object.defineProperty(e,"__esModule",{value:!0})});
554})();(function() { LWR.define("experience/dataProviderCollection",["exports","lwc","experience/dataProvider","experience/utils"],function(t,e,o,r){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s=n(o);const a={data:{}};class c{constructor(t){this.contextValue=a,this._dataCallback=void 0,this.contextValue=e.readonly(a),this._dataCallback=t,this._dataCallback(this.contextValue)}update(t,e){e&&(this.contextValue=e?.value??a,this._dataCallback(this.contextValue))}connect(){}disconnect(){}}c.contextSchema={value:"required"};const i=a;function l(){const t=c;return{wireAdapter:t,createDataContext:e.createContextProvider(t)}}const d=new WeakMap,u={};function h(){return r.empty(u)&&Object.assign(u,l()),u}function p(t){let e=d.get(t);return void 0===e&&(e={consumers:[],value:null},d.set(t,e)),e}const C="collectionsort",f=h().wireAdapter,O=Object.freeze({CONNECTED:"connected",DISCONNECTED:"disconnected",UPDATE:"update"}),x=Symbol("SetContext"),v=Symbol("Data");class y extends s.default{get sortBy(){return this._sortBy}set sortBy(t){this._sortBy=t}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder=t}updateContext(t){this[v]=t,this[x]({data:this[v],state:O.UPDATE})}constructor(){super(),this[v]={},this._sortBy="",this._sortOrder="",function(t){const{createDataContext:e}=h();e(t,{consumerConnectedCallback(e){const o=p(t);o.consumers.push(e),e.provide({value:o.value})},consumerDisconnectedCallback(e){const o=p(t),r=o.consumers.indexOf(e);if(!(r>=0))throw new TypeError(`Invalid context operation in ${t}.`);o.consumers.splice(r,1)}})}(this)}connectedCallback(){this[x]({data:this[v],state:O.CONNECTED})}disconnectedCallback(){this[x]({data:this[v],state:O.DISCONNECTED})}[x](t){!function(t,o=i){const r=p(t);r.value=e.readonly(o),r.consumers.forEach(t=>t.provide({value:e.readonly(o)}))}(this,t)}}y.renderMode="light",e.registerDecorators(y,{publicProps:{sortBy:{config:3},sortOrder:{config:3}},publicMethods:["updateContext"],fields:["_sortBy","_sortOrder"]});const _=e.registerComponent(y,{tmpl:void 0,sel:"experience-data-provider-collection",apiVersion:66,enableSyntheticElementInternals:!0});o.registerAction(y,C,function({sortBy:t,sortOrder:e},o){o._sortBy=t,o._sortOrder=e}),t.COLLECTION_SORT=C,t.PROVIDER_STATE=O,t.default=_,t.getItemCollection=f,Object.defineProperty(t,"__esModule",{value:!0})});
555})();(function() { LWR.define("dxp_content_layout/grid",["exports","lwc","dxp_content_layout/blockFlexible","dxp_styling/sldsPaddingClassGenerator","lightning/utils","dxp_util/normalizer","dxp_util/eventBuilder","experience/dataProviderCollection","dxp_util/common","dxp_data_provider/dataProviderUtils","@salesforce/label/DxpGrid.ListItem"],function(e,t,i,r,o,a,n,s,d,l,c){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(i),g=h(r),m=h(c);var u=[function(e,t,i){var r=e?"["+e+"]":"";return"dxp_content_layout-grid"+r+" .slds-grid_vertical-stretch"+r+" dxp_data_provider-repeater-item"+r+' > :first-child[data-is-region-wrapper="true"]'+r+" {height: 100%;}dxp_content_layout-grid"+r+" .slds-grid_vertical-stretch"+r+" dxp_data_provider-repeater-item"+r+' > :first-child[data-is-region-wrapper="true"]'+r+' [data-region-label="sfdcRepeaterItem"]'+r+" {height: 100%;}dxp_content_layout-grid"+r+" .slds-grid_vertical-stretch"+r+" dxp_data_provider-repeater-item"+r+' > :first-child[data-is-region-wrapper="true"]'+r+' [data-region-label="sfdcRepeaterItem"]'+r+' > [data-is-component-wrapper="true"]:only-of-type'+r+" {height: 100%;}dxp_content_layout-grid"+r+" .slds-grid_vertical-stretch"+r+" dxp_data_provider-repeater-item"+r+' > :first-child[data-is-region-wrapper="true"]'+r+' [data-region-label="sfdcRepeaterItem"]'+r+' > [data-is-component-wrapper="true"]:only-of-type'+r+" > .interactions-element"+r+" {height: 100%;}dxp_content_layout-grid"+r+" .slds-grid_vertical-stretch"+r+" dxp_data_provider-repeater-item"+r+' > :first-child[data-is-region-wrapper="true"]'+r+' [data-region-label="sfdcRepeaterItem"]'+r+' > [data-is-component-wrapper="true"]:only-of-type'+r+" > .interactions-element"+r+" > .actualNode"+r+" {height: 100%;}"}];const f={attrs:{name:"emptyState"},key:1},_=[],b={attrs:{name:"errorState"},key:3},v={name:"sfdcRepeaterItem"},y={attrs:{"data-paginator-container":""},key:8},x={attrs:{name:"pagination"},key:9};function w(e,t,i,r){const{s:o,fr:a,ncls:n,k:s,h:d,i:l,c:c}=e;return[t.hasEmptyState?a(0,[o("emptyState",f,_,i)],0):null,t.hasErrorState?a(2,[o("errorState",b,_,i)],0):null,c("dxp_content_layout-block-flexible",p.default,{props:{width:t.width,alignment:t.horizontalAlignment,borderWidth:t.borderWidth,borderColor:t.borderColor,borderRadius:t.borderRadius,backgroundColor:t.backgroundColor},key:4}
555,[d("div",{className:n(t.computedGridClass),key:5},l(t.collection,function(e,r){return d("div",{className:n(t.computedItemClass),attrs:{tabindex:"-1",role:"group","aria-label":e.ariaLabel},key:s(6,e.key)},[o("sfdcRepeaterItem",{attrs:v,key:7,slotData:e},_,i)])})),t.showPagination?d("div",y,[o("pagination",x,_,i)]):null])]}var S=t.registerTemplate(w);w.slots=["emptyState","errorState","pagination","sfdcRepeaterItem"],w.renderMode="light",w.stylesheets=[],w.stylesheetToken="lwc-m4kn1p6ib3",w.legacyStylesheetToken="dxp_content_layout-grid_grid",u&&w.stylesheets.push.apply(w.stylesheets,u),t.freezeTemplate(w);const A=1,I=6;class P extends t.LightningElement{constructor(...e){super(...e),this.generatedTemplate=void 0,this.width=void 0,this.horizontalAlignment=void 0,this.numberOfColumns=void 0,this.itemSpacing=void 0,this.showPagination=void 0,this.borderColor=void 0,this.borderRadius=void 0,this.backgroundColor=void 0,this.borderWidth=void 0,this.autoScrollToMostRecent=void 0,this.isFixedRowHeight=void 0,this.showEmptyState=!1,this.showErrorState=!1,this.newItemIndex=null,this._isAutoScrollNeeded=void 0,this._numberOfNewItemsLoaded=0,this._error=void 0,this.items=void 0,this.nextPageHandler=this.handleNextPage.bind(this),this.prevPageHandler=this.handlePreviousPage.bind(this),this.paginationAction=void 0}get hasItems(){return Array.isArray(this.items)&&this.items?.length>0}get collection(){return d.ifElse(this.hasItems,this.items,l.generateMockCollection(this.numberOfColumns))}get hasEmptyState(){return this.showEmptyState&&!this._error&&!this.hasItems}get hasErrorState(){return this.showErrorState&&Boolean(this._error)}get computedGridClass(){return o.classSet("slds-grid slds-wrap").add({"slds-grid_vertical-stretch":this.isFixedRowHeight}).toString()}get computedItemClass(){const e=a.normalizeString(this.itemSpacing,{fallbackValue:"none",validValues:["x-large","large","medium","small","xx-small","none"]}),t=d.range(this.numberOfColumns,A,I);return o.classSet("dxp-grid-item slds-col slds-size_1-of-1").add({[`slds-medium-size_1-of-${this.numberOfColumns}`]:t}).add(`${g.default(e,"around")}`).toString()}get isAppendingAction(){return this.paginationAction===n.PAGINATION_ACTION.APPEND}wireData({data:e}){if(e?.items){const t=d.ifElse(Array.isArray(e.items),e.items,[]),i=this.items?.length||0;t.length>0&&(this.newItemIndex=this.isAppendingAction?i:0),this.items=(this.isAppendingAction?d.mergeUniqueRecords(this.items,t,"id"):t).map((e,t)=>({...e,ariaLabel:d.formatString(m.default,t+1)}));const r=this.items?.length;this._isAutoScrollNeeded=i!==r&&this.isAppendingAction,this._numberOfNewItemsLoaded=r-i}this._error=e?.error}connectedCallback(){this.addEventListener(n.DXP_EVENT_NAME.NEXT_PAGE,this.nextPageHandler),this.addEventListener(n.DXP_EVENT_NAME.PREVIOUS_PAGE,this.prevPageHandler)}handleNextPage(e){this.paginationAction=e.detail.paginationAction}handlePreviousPage(e){this.paginationAction=e.detail.paginationAction}onShowMorePagination(){if(null!==this.newItemIndex){if(this.isAppendingAction&&this._numberOfNewItemsLoaded){const e=this.querySelectorAll(d.convertClassAttributeToSelector(this.computedItemClass))[this.newItemIndex];e?.focus()}if(this.autoScrollToMostRecent&&this._isAutoScrollNeeded){const e=this.querySelectorAll("dxp_data_provider-repeater-item")[this.newItemIndex];e?.scrollIntoView({behavior:"smooth"})}this.newItemIndex=null}}renderedCallback(){this.onShowMorePagination()}}P.renderMode="light",t.registerDecorators(P,{publicProps:{generatedTemplate:{config:0},width:{config:0},horizontalAlignment:{config:0},numberOfColumns:{config:0},itemSpacing:{config:0},showPagination:{config:0},borderColor:{config:0},borderRadius:{config:0},backgroundColor:{config:0},borderWidth:{config:0},autoScrollToMostRecent:{config:0},isFixedRowHeight:{config:0},showEmptyState:{config:0},showErrorState:{config:0}},track:{items:1},wire:{wireData:{adapter:s.getItemCollection,method:1,config:function(e){return{}}}},fields:["newItemIndex","_isAutoScrollNeeded","_numberOfNewItemsLoaded","_error","nextPageHandler","prevPageHandler","paginationAction"]});const C=t.registerComponent(P,{tmpl:S,sel:"dxp_content_layout-grid",apiVersion:66,enableSyntheticElementInternals:!0});
555e.default=C,Object.defineProperty(e,"__esModule",{value:!0})});
556})();(function() { LWR.define("dxp_layout/column",["exports","lwc"],function(t,n){var e=[function(t,n,e){var o=t?"["+t+"]":"";return"dxp_content_layout-grid"+o+" .slds-grid_vertical-stretch"+o+" dxp_layout-columns"+o+" {height: 100%;display: block;}dxp_content_layout-grid"+o+" .slds-grid_vertical-stretch"+o+" dxp_layout-columns"+o+" .columns-content"+o+",dxp_content_layout-grid"+o+" .slds-grid_vertical-stretch"+o+" dxp_layout-columns"+o+" .columns-content"+o+" .columns"+o+"{height: 100%;}"}];function o(t,n,e){var o=t?"."+t:"",l=t?"."+t+"-host":"";return(n?":host {":l+" {")+"display: flex;}.column-content"+o+" {display: flex;flex-direction: column;flex: 1;min-width: 0;}@media only screen and (min-width: 64.0625em) {.column-content"+o+" {padding: 0\n var(--dxp-c-column-content-spacing-inline-end)\n 0\n var(--dxp-c-column-content-spacing-inline-start);justify-content: var(--dxp-c-column-vertical-align-default, var(--dxp-c-l-column-vertical-align));}"+(n?":host[data-layout-direction~='desktop-direction-row'] {":l+"[data-layout-direction~='desktop-direction-row'] {")+"--columnsSpacerWidth: var(\n --dxp-c-column-spacer-size,\n var(--dxp-c-l-column-gutter-width, var(--dxp-s-column-spacer-size))\n );flex: 1;}"+(n?":host[data-layout-direction~='desktop-direction-column'] {":l+"[data-layout-direction~='desktop-direction-column'] {")+"--columnsSpacerHeight: var(\n --dxp-c-column-spacer-size,\n var(--dxp-c-l-column-gutter-width, var(--dxp-s-column-spacer-size))\n );flex: 0;}}@media only screen and (min-width: 48em) and (max-width: 64em) {.column-content"+o+" {padding: 0\n var(--dxp-c-column-content-spacing-inline-end-mobile)\n 0\n var(--dxp-c-column-content-spacing-inline-start-mobile);justify-content: var(--dxp-c-column-vertical-align-default, var(--dxp-c-m-column-vertical-align));}"+(n?":host[data-layout-direction~='tablet-direction-row'] {":l+"[data-layout-direction~='tablet-direction-row'] {")+"--columnsSpacerWidth: var(\n --dxp-c-column-spacer-size-tablet,\n var(--dxp-c-m-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 1;}"+(n?":host[data-layout-direction~='tablet-direction-column'] {":l+"[data-layout-direction~='tablet-direction-column'] {")+"--columnsSpacerHeight: var(\n --dxp-c-column-spacer-size-tablet,\n var(--dxp-c-m-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 0;}}@media only screen and (max-width: 47.9375em) {.column-content"+o+" {padding: 0\n var(--dxp-c-column-content-spacing-inline-end-mobile)\n 0\n var(--dxp-c-column-content-spacing-inline-start-mobile);justify-content: var(--dxp-c-column-vertical-align-default, var(--dxp-c-s-column-vertical-align));}"+(n?":host[data-layout-direction~='mobile-direction-row'] {":l+"[data-layout-direction~='mobile-direction-row'] {")+"--columnsSpacerWidth: var(\n --dxp-c-column-spacer-size-mobile,\n var(--dxp-c-s-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 1;}"+(n?":host[data-layout-direction~='mobile-direction-column'] {":l+"[data-layout-direction~='mobile-direction-column'] {")+"--columnsSpacerHeight: var(\n --dxp-c-column-spacer-size-mobile,\n var(--dxp-c-s-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 0;}}"}o.$scoped$=!0;var l=[o];const c={classMap:{"column-content":!0},key:0},i={attrs:{name:"column"},key:1},s=[];function a(t,n,e,o){const{s:l,h:a}=t;return[a("div",c,[l("column",i,s,e)])]}var r=n.registerTemplate(a);a.slots=["column"],a.renderMode="light",a.stylesheets=[],a.stylesheetToken="lwc-5hiuomulcap",a.legacyStylesheetToken="dxp_layout-column_column",e&&a.stylesheets.push.apply(a.stylesheets,e),l&&a.stylesheets.push.apply(a.stylesheets,l),n.freezeTemplate(a);const d="--columnsSpacerWidth",u="--columnsSpacerHeight",m="horizontal",p="vertical";function h(t){if("undefined"==typeof window||!t||!t.children||!t.children.length)return null;const n=getComputedStyle(t.children[0].parentElement,null),e=!!n.getPropertyValue(d),o=!!n.getPropertyValue(u);let l=null;return e?l=m:o&&(l=p),l}class g extends n.LightningElement{constructor(...t){super(...t),this._columnWidth=12,this._columnCount=1}get columnWidth(){return this._columnWidth}set columnWidth(t){const n=isNaN(parseFloat(String(t)))||isNaN(Number(t))?12:Number(t);n!==this._columnWidth&&(this._columnWidth=n,this.updateHostCssClasse
556s())}get columnCount(){return this._columnCount}set columnCount(t){this._columnCount=t,this.updateHostCssClasses()}connectedCallback(){this.updateHostCssClasses()}renderedCallback(){this.updateHostStyle()}updateHostCssClasses(){const t=["col-size_12-of-12",this.colWidthClass],{classList:n}=this;for(;n.length>0;)n.remove(n.item(0));for(const n of t)this.classList.add(n)}updateHostStyle(){const t=function(t,n){const e=parseInt(t,10),o=parseInt(n,10);let l;return l=e>0&&o>1?"0":0===e&&o>0?"min-content":"",l}(this.columnWidth,this.columnCount),n=[];h(this)===m?(n.push(`flex-grow: ${this.columnWidth}`),t&&n.push(`min-width: ${t}`)):function(t){return h(t)===p}(this)&&t&&n.push(`min-height: ${t}`),n.length>0&&this.setAttribute("style",n.join("; "))}get colWidthClass(){return this.columnWidth?`col-large-size_${this.columnWidth}-of-12`:"col"}}g.renderMode="light",n.registerDecorators(g,{publicProps:{columnWidth:{config:3},columnCount:{config:3}},fields:["_columnWidth","_columnCount"]});const x=n.registerComponent(g,{tmpl:r,sel:"dxp_layout-column",apiVersion:66,enableSyntheticElementInternals:!0});t.default=x,Object.defineProperty(t,"__esModule",{value:!0})});
557})();(function() { LWR.define("@salesforce/apex/B2BContentController.getHeaderNotificationContent",["exports","lwc","force/ldsAdaptersApex"],function(e,t,d){const o=d.getApexInvoker("","@udd/01p4w000005fJfF","getHeaderNotificationContent","false"),c=t.registerComponent(o,{tmpl:void 0,sel:"@salesforce-2u0dznfomf9tjbdjc7waom3jasbc7248my50tygc7fpv9d0grodkv9cj7zpdv0cisl131zsepk0dy6rcvwj8",apiVersion:66,enableSyntheticElementInternals:!0});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
558})();(function() { LWR.define("c/b2bHeaderNotification",["exports","lwc","lightning/formattedRichText","@salesforce/apex/B2BContentController.getHeaderNotificationContent","c/b2bUtil"],function(t,i,n,e,o){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=c(n),l=c(e);var r=[function(t,i,n){return".headerNotificationCSS"+(t?"["+t+"]":"")+"{text-align: center;}"}];const s={headerNotificationCSS:!0};function g(t,i,n,e){const{c:o,h:c}=t;return[c("div",{classMap:s,style:i.styleCSS,key:0},[o("lightning-formatted-rich-text",a.default,{props:{value:i.notification},key:1})])]}var h=i.registerTemplate(g);g.stylesheets=[],g.stylesheetToken="lwc-7fda4c2akvo",g.legacyStylesheetToken="c-b2bHeaderNotification_b2bHeaderNotification",r&&g.stylesheets.push.apply(g.stylesheets,r),i.freezeTemplate(g);class d extends i.LightningElement{constructor(...t){super(...t),this.backgroundColor=void 0,this.textColor=void 0,this.notification=void 0,this.linkMarginPercentage=void 0,this.containerPaddingPercent=void 0,this.linkColor=void 0,this.containerHeight=void 0,this.linkURL=void 0,this.linkText=void 0,this.styleCSS="",this.linkStyleCSS=""}connectedCallback(){let t="";this.backgroundColor&&(t+="background-color:"+this.backgroundColor+";"),this.textColor&&(t+="color:"+this.textColor+";"),this.containerPaddingPercent&&(t+="padding:"+this.containerPaddingPercent+"%;"),this.containerHeight&&0!==this.containerHeight&&(t+="height:"+this.containerHeight+"px;"),o.consoleLogging(t),this.styleCSS=t;let i="";this.linkColor&&(i+="color:"+this.linkColor+";"),this.linkMarginPercentage&&(i+="margin-left:"+this.linkMarginPercentage+"%;"),o.consoleLogging(i),this.linkStyleCSS=i}set notificationContentId(t){this._notificationContentId=t,o.consoleLogging(this._notificationContentId),this._notificationContentId&&this.getContent(this._notificationContentId)}get notificationContentId(){return this._notificationContentId}getContent(t){l.default({contentKey:this._notificationContentId},{sourceContext:{tagName:"c:b2bHeaderNotification"}}).then(t=>{o.consoleLogging(t),t&&(this.notification=t.Content_Body+"<span><a href="+t.linkURL+" style='"+this.linkStyleCSS+"'>"+t.linkText+"</a></span>")}).catch(t=>{o.consoleLogging(t)}).finally(()=>{})}}i.registerDecorators(d,{publicProps:{backgroundColor:{config:0},textColor:{config:0},linkMarginPercentage:{config:0},containerPaddingPercent:{config:0},linkColor:{config:0},containerHeight:{config:0},notificationContentId:{config:3}},fields:["notification","linkURL","linkText","styleCSS","linkStyleCSS"]});const f=i.registerComponent(d,{tmpl:h,sel:"c-b2b-header-notification",apiVersion:59});
558t.default=f,Object.defineProperty(t,"__esModule",{value:!0})});
559})();(function() { LWR.define("force/uiApiEnabledCheck",["exports"],function(e){const t=new Set(["AIFeatureExtractor","AIPredictionScore","AISentimentResult","AIUsecaseDefinition","AIUsecaseFieldMapping","AIUsecaseModel","AcademicSession","AcademicTerm","AcademicTermEnrollment","AcademicYear","Account","AccountAccountRelation","AccountBrand","AccountContactRelation","AccountForecast","AccountForecastAdjustment","AccountForecastPeriodMetric","AccountParticipant","AccountPartner","AccountProductForecast","AccountProductPeriodForecast","AccountRelationship","AccountTeamMember","Accreditation","AcctMgrPeriodicTargetDstr","AcctMgrTarget","AcctMgrTargetDstr","ActionCadence","ActionCadenceStep","ActionCadenceStepTracker","ActionCadenceTracker","ActionPlan","ActionPlanBaseTemplateAsgn","ActionPlanItem","ActionPlanItemDependency","ActionPlanTemplate","ActionPlanTemplateAssignment","ActionPlanTemplateItem","ActionPlanTemplateItemValue","ActionPlanTemplateVersion","ActionPlanTmplItmAssessmentInd","ActionPlnTmplItmDependency","ActionVisibility","ActionableList","ActionableListColumn","ActionableListMember","ActionableListMemberStatus","ActivationTarget","ActiveScratchOrg","ActivityMetric","ActivityMetricRollup","ActivityTiming","AdBuyServerAccount","AdCreativeSizeType","AdOpportunity","AdOrderItem","AdOrderItemCreativeSizeType","AdOrderItemPrintIssue","AdOrderItemUnitsSplit","AdOrderLineAdTarget","AdPageLayoutType","AdProductDefaultTargetCategory","AdProductTargetCategory","AdQuote","AdQuoteLine","AdQuoteLineAdTarget","AdQuoteLineCreativeSizeType","AdQuoteLinePrintIssue","AdQuoteLineUnitsSplit","AdServer","AdServerAccount","AdServerUser","AdSpaceCreativeSizeType","AdSpaceGroupMember","AdSpaceSpecification","AdSpecMediaPrintIssue","AdTargetCategory","AdTargetCategorySegment","AdUsage","AdUsageSummary","AddOnDefinition","Address","AdvAccountForecastFact","AdvAcctForecastSetPartner","AdvAcctForecastSetUse","AiDataset","AiImageDetectedObject","AiImageTrainingObject","AiVisionModel","AiVisionModelMetric","AiVisionModelObjectMetric","AiVisitRecommendRequest","AiVisitRecommendation","AiVisitSummary","AiVisitTaskRcmd","AiVisitTaskRcmdRequest","AirTravelEmssnFctr","AirTravelEnrgyUse","AllergyIntolerance","AlternativePaymentMethod","AnnualEmssnInventory","AnnualEmssnRdctnTarget","AntiCorruptionInitSum","ApiAnomalyEventStore","AppAnalyticsDeliveryConfig","AppAnalyticsQueryRequest","AppExtension","AppMenuItem","AppUsageAssignment","ApplicationCase","ApplicationDecision","ApplicationFormTemplate","ApplicationRecommendation","ApplicationRecommender","ApplicationReview","ApplicationTimeline","AppointmentInvitation","AppointmentInvitee","AppointmentReason","AppointmentTopicTimeSlot","ApptBundleAggrDurDnscale","ApptBundleAggrPolicy","ApptBundleConfig","ApptBundlePolicy","ApptBundlePolicySvcTerr","ApptBundlePropagatePolicy","ApptBundleRestrictPolicy","ApptBundleSortPolicy","ApptReasonEngmtChannelType","AsmtIndDefExtDataTranslation","AsmtQstnRespRecommendation","Assessment","AssessmentEnvelope","AssessmentEnvelopeItem","AssessmentIndDefinedValue","AssessmentIndDefinedValueDataTranslation","AssessmentIndValue","AssessmentIndicatorDefinition","AssessmentQuestion","AssessmentQuestionAssignment","AssessmentQuestionResponse","AssessmentQuestionSet","AssessmentQuestionVersion","AssessmentSignature","AssessmentTask","AssessmentTaskContentDocument","AssessmentTaskDefinition","AssessmentTaskDefinitionDataTranslation","AssessmentTaskIndDefinition","AssessmentTaskOrder","Asset","AssetAccountParticipant","AssetAction","AssetActionSource","AssetAttribute","AssetContactParticipant","AssetDowntimePeriod","AssetMilestone","AssetRelationship","AssetStatePeriod","AssetWarranty","AssignedResource","AssistantText","AssociatedLocation","Assortment","AssortmentProduct","AsyncOperationLog","AttachedContentNote","Attachment","AttributeCategory","AttributeCategoryDataTranslation","AttributeDefinition","AttributeDefinitionDataTranslation","AttributePicklist","AttributePicklistValue","AttributePicklistValueDataTranslation","AuthApplicationAsset","AuthApplicationPlace","AuthFormRequestRecord","AuthLocationAccessSchedule","AuthProvider","AuthorNote","AuthorizationForm","AuthorizationFormConsent","AuthorizationFormDataUse","AuthorizationFormText","AuthorizedInsuranceLine","AutomatedAction","AutomatedActionCondition","AutomatedActionParameter","Award","BCEntityPermission","BCEntityPermissionSet","BCFieldPermission","BCParticipant","BCParticipantAccess","BCPermissionSet","BCRecordAccess","BCRecordAccessApproval","BCRelatedParticipant","Backgroun
559dOperation","Banker","BatchJob","BatchJobDefinition","BatchJobPart","BatchJobPartFailedRecord","Benefit","BenefitAssignment","BenefitAssignmentAdjustment","BenefitDisbursement","BenefitDisbursementAdj","BenefitParameterValue","BenefitSchedule","BenefitSession","BenefitType","BillingBatchFilterCriteria","BillingBatchScheduler","BillingPeriodItem","BillingPolicy","BillingSchedule","BillingScheduleCreationStatus","BillingScheduleGroup","BillingTreatment","BillingTreatmentItem","BldgEnrgyIntensity","BldgEnrgyIntensityVal","BldgSizeCategory","BlockchainAppMember","BlockchainApplication","BlockchainEntity","BlockchainField","BlockchainMember","BoardCertification","BotDefinition","BranchUnit","BranchUnitBusinessMember","BranchUnitCustomer","BranchUnitRelatedRecord","BroadcastCommAudience","BroadcastCommunication","BroadcastTopic","Budget","BudgetAllocation","BudgetCategory","BudgetCategoryValue","BudgetPeriod","BundledCareFeeAgreement","BusRegAuthTypeDependency","BusRegAuthorizationType","BusinessAlert","BusinessAlertStatus","BusinessBrand","BusinessHours","BusinessLicense","BusinessLicenseApplication","BusinessMilestone","BusinessProfile","BusinessType","BuyerAccount","BuyerGroup","BuyerGroupPricebook","CalcProcStepRelationship","CalculationMatrix","CalculationMatrixColumn","CalculationMatrixRow","CalculationMatrixVersion","CalculationProcedure","CalculationProcedureStep","CalculationProcedureVariable","CalculationProcedureVersion","Campaign","CampaignInfluence","CampaignInsight","CampaignMember","CampaignMemberStatus","CapitationCareFeeAgreement","CardPaymentMethod","CareBarrier","CareBarrierDeterminant","CareBarrierType","CareBenefitVerifyRequest","CareDeterminant","CareDeterminantType","CareDiagnosis","CareEpisode","CareEpisodeDetail","CareFeeScheduleItem","CareInterventionType","CareLimitType","CareMetricTarget","CareObservation","CareObservationComponent","CarePerformer","CarePgmEnrolleeWkOrdStep","CarePgmEnrolleeWorkOrder","CarePgmProvHealthcareProvider","CarePlan","CarePlanActivity","CarePlanActivityDetail","CarePlanDetail","CarePlanTemplate","CarePlanTemplateBenefit","CarePlanTemplateGoal","CarePlanTemplateProblem","CarePractnFacilityAppt","CarePreauth","CarePreauthItem","CareProgram","CareProgramCampaign","CareProgramEligibilityRule","CareProgramEnrollee","CareProgramEnrolleeProduct","CareProgramEnrollmentCard","CareProgramGoal","CareProgramProduct","CareProgramProvider","CareProgramTeamMember","CareProviderAdverseAction","CareProviderFacilitySpecialty","CareProviderSearchableField","CareRegisteredDevice","CareRequest","CareRequestDrug","CareRequestExtension","CareRequestItem","CareRequestReviewer","CareSpecialty","CareSpecialtyTaxonomy","CareTaxonomy","CartDeliveryGroup","CartItem","CartItemPriceAdjustment","CartTax","Case","CaseArticle","CaseComment","CaseContactRole","CaseMilestone","CaseParticipant","CaseProgram","CaseRelatedIssue","CategorizedCareFeeAgreement","ChangeRequest","ChangeRequestRelatedIssue","ChangeRequestRelatedItem","ChannelObjectLinkingRule","ChannelProgram","ChannelProgramLevel","ChannelProgramMember","Claim","ClaimCase","ClaimCovPaymentAdjustment","ClaimCovReserveAdjustment","ClaimCoverage","ClaimCoveragePaymentDetail","ClaimCoverageReserveDetail","ClaimItem","ClaimParticipant","ClaimPaymentSummary","ClaimPayoutPlan","ClaimRecovery","ClaimTeamMember","ClauseCatgConfiguration","ClinicalAlert","ClinicalDetectedIssue","ClinicalDetectedIssueDetail","ClinicalEncounter","ClinicalEncounterDiagnosis","ClinicalEncounterFacility","ClinicalEncounterIdentifier","ClinicalEncounterProvider","ClinicalEncounterReason","ClinicalEncounterSvcRequest","ClinicalServiceRequest","ClinicalServiceRequestDetail","CloudServiceProvider","CodeSet","CodeSetBundle","CodeSetRelationship","CollaborationRoom","CommSubscription","CommSubscriptionChannelType","CommSubscriptionConsent","CommSubscriptionTiming","CommerceEntitlementPolicy","CommissionSchedule","CommissionScheduleAssignment","CommsRegionDiscount","CommsVolumeDiscount","ComplaintCase","ComplaintParticipant","ConsentMetric","ConsentUsageMetric","ConstituentRole","ConsumptionRate","ConsumptionSchedule","Contact","ContactContactRelation","ContactEncounter","ContactEncounterParticipant","ContactPointAddress","ContactPointConsent","ContactPointEmail","ContactPointPhone","ContactPointTypeConsent","ContactProfile","ContactRequest","ContentDocument","ContentDocumentLink","ContentDocumentListViewM
559apping","ContentFolderItem","ContentFolderLink","ContentNote","ContentVersion","ContentWorkspace","Contract","ContractContactRole","ContractDocVerContentDoc","ContractDocVersionSection","ContractDocumentVersion","ContractGroupPlan","ContractGroupPlanGroupClass","ContractLineItem","ContractLineOutcome","ContractLineOutcomeData","ContractPaymentAgreement","ContractType","ContractTypeConfig","ConversationBroadcast","ConversationBroadcastEntry","Coupon","CourseOffering","CourseOfferingParticipant","CourseOfferingPtcpResult","CourseOfferingSchedule","CourseOfferingScheduleTmpl","CoverageBenefit","CoverageBenefitItem","CoverageBenefitItemLimit","CoverageLimit","CoverageType","CrbnCreditAlloc","CrbnCreditAllocItem","CrbnCreditDistribution","CrbnCreditProject","CrbnEmssnScopeAlloc","CrbnEmssnScopeAllocVal","CredentialStuffingEventStore","CreditMemo","CreditMemoAddressGroup","CreditMemoInvApplication","CreditMemoLine","Crisis","CryptoProdCatgWalletGroup","CryptoProdtCatgWalletRole","CryptoProduct","CryptoTransEnvelopeChgLog","CryptoTransaction","CryptoTransactionEnvelope","CryptoWallet","CryptoWalletGroup","CryptoWalletGroupItem","CspTrustedSite","CustomObjectParticipant","CustomPermission","Customer","CustomerProperty","DandBCompany","DataAction","DataActionTarget","DataConnectorS3","DataLakeObjectInstance","DataSpace","DataStream","DataUseLegalBasis","DataUsePurpose","DelegatedAccount","DeleteEvent","DeliveryTask","DiagnosticSummary","DiagnosticSummaryDetail","DigitalSignature","DigitalWallet","Disclosure","DisclosureDefinition","DisclosureDefinitionVersion","DisclosureType","DisclsReportingPeriod","DistributorAuthorization","DivrsEquityInclSum","DocTemplateSectionCondition","DocumentChecklistItem","DocumentClause","DocumentClauseSet","DocumentEnvelope","DocumentGenerationProcess","DocumentGenerationSetting","DocumentRecipient","DocumentTemplate","DocumentTemplateContentDoc","DocumentTemplateSection","DocumentTemplateToken","DrugDisplayTerm","DsarPolicyLog","DuplicateRecordItem","DuplicateRecordSet","ECart","EconomicPerformanceSum","Edgemart","EditionDefinition","EducationalInfoRequest","ElectricityEmssnFctrSet","ElectronicMediaGroup","EmailContent","EmailMessage","EmailMessageRelation","EmailTemplate","EmissionsActivity","EmissionsForecastFact","EmpBenefitSummary","EmpUserProvisionProcessErr","EmpUserProvisioningProcess","Employee","EmployeeAsset","EmployeeContact","EmployeeCrisisAssessment","EmployeeDemographicSum","EmployeeDevelopmentSum","EmployeeJob","EmployeeJobPosition","EmployeeOrganization","EmssnRdctnCommitment","EmssnReductionTarget","EnablementProgram","EnblPgmTaskMeasureProgress","EnblProgramSection","EnblProgramTaskDefinition","EnblProgramTaskMeasure","EnblProgramTaskProgress","EngagementAttendee","EngagementChannelType","EngagementChannelWorkType","EngagementInteraction","EngagementProgram","EngagementProgramVersion","EngagementTopic","EnhancedEmailTemplate","EnhancedLetterhead","EnrollmentEligibilityCriteria","Entitlement","EntitlementContact","EntityArchivingE
559xception","EntityArchivingJob","EntityArchivingSetup","EntityDefinition","EntityMilestone","EnvironmentHubMember","EnvironmentalRisk","Examination","Expense","ExpenseReport","ExpenseReportEntry","ExplainabilityMsgTemplate","ExpressionSet","ExpressionSetVersion","ExpressionSetView","ExtDataShare","ExtDataShareTarget","ExternalAccountHierarchy","FTestVirtualBpoLookup","FeeScheduleDefinition","FeedItem","FieldPermissions","FieldServiceMobileExtension","FieldServiceMobileSettings","FieldServiceOrgSettings","FinanceBalanceSnapshot","FinanceBook","FinancePeriod","FinanceTransaction","FinanceTransactionErrorLog","FinancialDeal","FinancialDealAsset","FinancialDealBid","FinancialDealInteraction","FinancialDealParticipant","FinancialDealParty","FinancialDealProduct","FinclDealInteractionSummary","FlowInterview","FlowOrchestrationInstance","FlowOrchestrationLog","FlowOrchestrationStageInstance","FlowOrchestrationStepInstance","FlowOrchestrationWorkItem","ForecastingFact","ForecastingOwnerAdjustment","ForecastingQuota","ForecastingType","FrgtHaulingEmssnFctr","FrgtHaulingEnrgyUse","FtestConcrete","FtestConcrete6","FtestConcrete7","FtestConcrete8","FtestVirtualMain","FtestZosUiPrototypeChild1","FtestZosUiPrototypeChild2","FtestZosUiPrototypeParent","FulfillmentOrder","FulfillmentOrderLineItem","FundingAward","FundingAwardAmendment","FundingAwardRequirement","FundingDisbursement","FundingOpportunity","GeneratedDocument","GeneratedDocumentSection","GeneratedWaste","GenericVisitTask","GenericVisitTaskContext","GeoCountry","GeoState","GnrcVstKeyPerformanceInd","GnrcVstTaskContextRelation","GoalAssignment","GoalAssignmentDetail","GoalDefinition","GoalLink","GovtFinancialAsstSum","GroundTravelEmssnFctr","GroundTravelEnrgyUse","Group","GroupCensus","GroupCensusMember","GroupCensusMemberPlan","GroupClass","GroupClassContribution","GroupMember","GuestBuyerProfile","HealthCareDiagnosis","HealthCareProcedure","HealthCondition","HealthConditionDetail","HealthScore","HealthScoreActionLog","HealthcareFacility","HealthcareFacilityNetwork","HealthcarePayerNetwork","HealthcarePractitionerFacility","HealthcareProvider","HealthcareProviderNpi","HealthcareProviderSpecialty","HealthcareProviderTaxonomy","Holiday","HotelStayEmssnFctr","HotelStayEnrgyUse","IPAddressRange","Identifier","IdentityDocument","IdentityResolution","Image","InStoreLocation","Incident","IncidentRelatedItem","IncludedLicenseDefinition","Individual","IndividualApplication","IndividualApplicationItem","IndividualCrisisAssessment","InflationRate","InfoAuthRequestForm","InfoAuthorizationRequest","InsPolicyTransactionDetail","InsightsExternalData","InsightsExternalDataPart","InspectionAssessmentInd","InspectionType","InsuranceClaimAsset","InsuranceContract","InsurancePolicy","InsurancePolicyAsset","InsurancePolicyCoverage","InsurancePolicyMemberAsset","InsurancePolicyOwner","InsurancePolicyParticipant","InsurancePolicySurcharge","InsurancePolicyTransaction","InsuranceProfile","IntegrationProviderDef","Interaction","InteractionAttendee","InteractionParticipant","InteractionRelatedAccount","InteractionSumDiscussedAccount","InteractionSummary","InteractionSummaryParticipant","InterestTag","InternalOrganizationUnit","InventoryItemReservation","InventoryReservation","Invoice","InvoiceAddressGroup","InvoiceBatchRun","InvoiceBatchRunCriteria","InvoiceBatchRunRecovery","InvoiceLine","JobFamily","JobProfile","JournalReason","JournalSubType","JournalType","KnowledgeArticleVersion","Lead","LeadLineItem","LeadPreferredSeller","LearnerProgram","LearnerProgramRequirement","LearnerProgramRqmtProgress","Learning","LearningAchievement","LearningCourse","LearningFoundationItem","LearningItem","LearningItemAssignment","LearningItemProgress","LearningOutcomeItem","LearningProgram","LearningProgramPlan","LearningProgramPlanRqmt","LegalEntity","LicensingError","LicensingRequest","LicensingRequestOrderItem","LicensingSnapshotRequest","LinkedArticle","ListEmail","LiveAgentSession","LiveChatButton","LiveChatDeployment","LiveChatSensitiveDataRule","LiveChatTranscript","LiveChatVisitor","LoanApplicant","LoanApplicantAddress","LoanApplicantAsset","LoanApplicantDeclaration","LoanApplicantEmployment","LoanApplicantIncome","LoanApplicantLiability","LoanApplicationAsset","LoanApplicationFinancial","LoanApplicationLiability","LoanApplicationProperty","LoanApplicationTitleHolder","LocWaitlistMsgTemplate","Location","
559LocationGroup","LocationGroupAssignment","LocationTrustMeasure","LocationWaitlist","LocationWaitlistedParty","LoyaltyLedger","LoyaltyMemberCurrency","LoyaltyMemberTier","LoyaltyMembershipLifecycle","LoyaltyPartnerProduct","LoyaltyPgmEngmtAttrProm","LoyaltyPgmEngmtAttribute","LoyaltyPgmGroupMbrRlnsp","LoyaltyPgmMbrAttributeVal","LoyaltyPgmPartnerCurrency","LoyaltyPgmPartnerPromotion","LoyaltyPgmPtnrLdgrSummary","LoyaltyPgmPtnrPrepaidPack","LoyaltyProgram","LoyaltyProgramBadge","LoyaltyProgramCurrency","LoyaltyProgramMbrPromotion","LoyaltyProgramMember","LoyaltyProgramMemberBadge","LoyaltyProgramMemberCase","LoyaltyProgramMemberMerge","LoyaltyProgramPartner","LoyaltyProgramPartnerLedger","LoyaltyProgramProcess","LoyaltyProgramWidget","LoyaltyTier","LoyaltyTierBenefit","LoyaltyTierGroup","Macro","MaintenanceAsset","MaintenancePlan","MaintenanceWorkRule","ManagedContent","ManagedContentVariant","ManufacturingProgram","MarketSegment","MarketSegmentActivation","MarketSegmentDefinition","MarketingAction","MarketingAppExtAction","MarketingForm","MarketingLink","MarketingLinkContent","MarketingResource","MedReconRecommendation","MedReconStmtRecommendation","MedTherapyStmtReviewIssue","MediaChannel","MediaContentTitle","MediaPrintIssue","MediaTitleAvailability","MediaTitleReleaseDate","MediaTitleRevenue","Medication","MedicationDispense","MedicationReconciliation","MedicationRequest","MedicationStatement","MedicationStatementDetail","MedicationTherapyReview","MedicationTherapyStmtReview","MedicinalIngredient","MemberBenefit","MemberPlan","MerchantAccount","MessagingChannel","MessagingDeliveryError","MessagingEndUser","MessagingSession","Metric","MfgProgramCpntFrcstFact","MfgProgramForecastFact","MfgProgramVariantFrcstFact","MilestoneType","MktAiPredictiveInsight","MktCalculatedInsight","MktDataTransform","MktMLModel","MobileSettingsAssignment","MsgChannelLanguageKeyword","MultipartyInfoAuthRequest","NamespaceRegistry","Network","NetworkReferencedObject","Note","ObjectPermissions","ObjectRelatedUrl","ObjectStateActionDefinition","ObjectStateDefinition","ObjectStateTransition","ObjectStateTransitionAction","ObjectStateValue","ObjectTerritory2Association","OcrDocumentScanResult","OmniAssessmentTask","OmniDataPack","OmniDataTransform","OmniDataTransformItem","OmniESignatureTemplate","OmniInteractionConfig","OmniProcess","OmniProcessAsmtQuestionVer","OmniProcessCompilation","OmniProcessElement","OmniProcessTransientData","OmniScriptSavedSession","OmniUiCard","OperatingHours","OperatingHoursHoliday","Opportunity","OpportunityContactRole","OpportunityHistory","OpportunityLineItem","OpportunityLineItemSchedule","OpportunityLineItemSplit","OpportunityParticipant","OpportunityPartner","OpportunityPreferredSeller","OpportunitySplit","OpportunityTeamMember","Order","OrderAction","OrderAdjustmentGroup","OrderAdjustmentGroupSummary","OrderChangeLog","OrderDeliveryGroup","OrderDeliveryGroupSummary","OrderDeliveryMethod","OrderItem","OrderItemAdjustmentLineItem","OrderItemAdjustmentLineSummary","OrderItemConsumptionRate","OrderItemConsumptionSchedule","OrderItemRelationship","OrderItemSummary","OrderItemSummaryChange","OrderItemTaxLineItem","OrderItemTaxLineItemSummary","OrderPaymentSummary","OrderSummary","OrderSummaryRoutingSchedule","OrgIncidentSummary","OrgMetric","OrgMetricScanResult","OrgMetricScanSummary","Organization","OtherComponentTask","OtherEmssnFctrSet","OtherEmssnFctrSetItem","ParticipantRole","Partner","PartnerFundAllocation","PartnerFundClaim","PartnerFundRequest","PartnerMarketingBudget","PartyCertifiedCapacity","PartyConsent","PartyIdentityVerification","PartyIdentityVerificationStep","PartyIncome","PartyProfile","PartyProfileAddress","PartyProfileRisk","PartyRelationshipGroup","PartyRoleRelation","PartyScreeningStep","PartyScreeningSummary","PatientHealthReaction","PatientImmunization","PatientImmunizationProtocol","PatientMedicalProcedure","PatientMedicalProcedureDetail","PatientMedicationDosage","Payment","PaymentAuthAdjustment","PaymentAuthorization","PaymentBatchRun","PaymentBatchRunCriteria","PaymentGateway","PaymentGatewayLog","PaymentGatewayProvider","PaymentIntent","PaymentLineInvoice","PaymentRequest","PaymentRequestLine","PaymentSchedule","PaymentScheduleItem","PaymentSchedulePolicy","PaymentScheduleTreatment","PaymentScheduleTreatmentDtl","PaymentTerm","PaymentTermItem","PcmtEmssnFctrSet","PcmtEmssnFctrSetItem","PercentileBsdCareFeeAgreement","Period","PermissionSet","PermissionSetGroup","PermissionSetLicense","PersonAccount","PersonDisability","PersonEducation","PersonEmployment","PersonExamination","PersonLanguage","PersonLifeEvent","PersonList","PersonName","PgmRebateTypBnftMapping","PickTicket","PickTicketAssignment","PickTicketProduct","PlanBenefit","PlanBenefitItem","PlatformLicenseDefinition","Polygon","PreliminaryApplicationRef","PreventiveCareAgreement","PriceAdjustmentGroupShape","PriceAdjustmentItemShape","PriceAdjustmentSchedule","PriceAdjustmentTier","PriceList","PriceRule","PriceRuleAction","PriceRuleActionItem","PriceRuleCondition","PriceRuleConditionFilter","PriceRuleExecutionStage","Pricebook2","PricebookEntry","PricingHeader","PricingLineItem","PricingProduct","PrivacyHold","PrivacyHoldReason","PrivacyJobSession","PrivacyPolicy","PrivacyRequest","Problem","ProblemDefinition","ProblemGoalDefinition","ProblemIncident","ProblemRelatedItem","ProcessDefinition","ProcessException","ProcessInstance","Producer","ProducerCommission","ProducerPolicyAssignment","Product2","Product2DataTranslation","ProductAttribute","ProductAttributeDefinition","ProductAttributeSet","ProductAttributeSetItem","ProductAttributeSetProduct","ProductAvailabilityProjection","ProductCatalog","ProductCatalogDataTranslation","ProductCategory","ProductCategoryAttribute","ProductCategoryDataTranslation","ProductCategoryMedia","ProductCategoryProduct","ProductCategoryServiceProcess","ProductClassificationAttrDataTranslation","ProductClassificationDataTranslation","ProductComponentGroup","ProductComponentGroupDataTranslation","ProductConsumed","ProductConsumedState","ProductConsumptionSchedule","ProductCoverage","ProductCoverageLimit","ProductEmissionsF
559actor","ProductFaultCode","ProductFulfillmentLocation","ProductItem","ProductItemTransaction","ProductLaborCode","ProductLicenseMap","ProductMedia","ProductOverridePathItem","ProductQuantityRule","ProductRelComponentOverride","ProductRelatedComponent","ProductRelatedMaterial","ProductRelationshipType","ProductRequest","ProductRequestLineItem","ProductRequired","ProductSellingModel","ProductSellingModelOption","ProductServiceCampaign","ProductServiceCampaignItem","ProductSpecificationType","ProductTransfer","ProductTransferState","ProductWarrantyTerm","Profile","ProfileSkill","ProfileSkillEndorsement","ProfileSkillUser","Program","ProgramEnrollment","ProgramProduct","ProgramRebateTypPayoutSrc","ProgramRebateType","ProgramRebateTypeBenefit","ProgramRebateTypeFilter","ProgramRebateTypePayout","ProgramRebateTypeProduct","ProgramRebateTypeReference","ProgramTermApplnTimeline","Promotion","PromotionChannel","PromotionDataTranslation","PromotionLoyaltyPtnrProdt","PromotionMarketSegment","PromotionProduct","PromotionProductCategory","PromotionQualifier","PromotionSegment","PromotionSegmentBuyerGroup","PromotionSegmentSalesStore","PromotionTarget","PromotionTier","ProrationPolicy","ProviderNetworkContract","ProviderNetworkTier","ProviderSearchSyncLog","ProvisioningRun","ProvisioningRunEvent","ProvisioningTargetGroup","ProvisioningTargetItem","ProvisioningTargetRole","PrspAgntExtlCoRsrch","PrspAgntExtlPersRsrch","PublicApplicationParticipant","PublicComplaint","PublicProgram","PurchaseQuantityRule","PurchaserPlan","PurchaserPlanAssn","PymtSchdDistributionMethod","QuickText","Quote","QuoteDocument","QuoteItemTaxItem","QuoteLineItem","QuoteLineItemAttribute","QuoteLinePriceAdjustment","QuoteLineRelationship","RebateClaim","RebateMemberAggregateItem","RebateMemberProductAggregate","RebatePayment","RebatePayoutAdjustment","RebateProgram","RebateProgramMember","RebateProgramMemberPayout","RebateProgramPayoutPeriod","ReceivedDocument","ReceivedDocumentType","Recommendation","RecordAction","RecordAlert","RecordType","RecordsetFilterCriteria","RecordsetFilterCriteriaRule","RecordsetFltrCritMonitor","RecurrenceSchedule","ReferencedDashboard","Referral","RefrigerantEmssnFctr","RefundLinePayment","RegAuthorizationTypeProduct","RegionStatusDiscount","RegulatoryAuthority","RegulatoryAuthorizationType","RegulatoryCode","RegulatoryCodeAssessmentInd","RegulatoryCodeUse","RegulatoryCodeViolation","RegulatoryTrxnFee","RegulatoryTrxnFeeItem","ReinsAgreementLineItem","ReinsPolicyBordereauFact","ReinsProtocolProdtComponent","ReinsuranceAgreement","ReinsuranceProtocol","ReinsuranceProtocolAgreement","RentalCarEmssnFctr","RentalCarEnrgyUse","ReplyText","Report","ReportAnomalyEventStore","ReportedConsumption","ResidentialLoanApplication","ResourceAbsence","ResourcePreference","RetailLocationGroup","RetailStore","RetailStoreGroupAssignment","RetailStoreKpi","RetailStoreKpiDataTranslation","RetailVisitKpi","ReturnOrder","ReturnOrderItemAdjustment","ReturnOrderItemTax","ReturnOrderLineItem","RevRecogTreatmentItemGroup","RevenueAsyncOperation","RevenueDistributionMethod","RevenueElement","RevenueElementDistribution","RevenueRecogTreatmentItem","RevenueRecognitionPolicy","RevenueRecognitionTreatment","RevenueTransactionErrorLog","RightsQuote","RightsQuoteLineItem","RightsQuoteLineMediaTitle","SalesAgreement","SalesAgreementProduct","SalesAgreementProductSchedule","SalesChannel","SalesContractLine","SalesTransactionItemShape","SalesTransactionShape","SalesTrxnItemRelationShape","SalesforceContract","SalesforceInvoice","SalesforceQuote","SchedulingConstraint","Scope3CrbnFtprnt","Scope3EmssnSrc","Scope3PcmtItem","Scope3PcmtSummary","Scorecard","ScorecardAssociation","ScorecardMetric","ScratchOrgInfo","SearchPromotionRule","SecuritiesHolding","Seller","SerializedProduct","SerializedProductTransaction","ServiceAppointment","ServiceAppointmentCapacityUsage","ServiceAppointmentGroup","ServiceAppointmentStatus","ServiceContract","ServiceCrew","ServiceCrewMember","ServiceReport","ServiceReportLayout","ServiceResource","ServiceResourceCapacity","ServiceResourceDataTranslation","ServiceResourcePreference","ServiceResourceSkill","ServiceTerritory","ServiceTerritoryDataTranslation","ServiceTerritoryLocation","ServiceTerritoryMember","ServiceTerritoryRelationship","ServiceTerritoryWorkType","SessionHijackingEventStore","SettingUsageDefinition","SettingUsageMap","SetupAssistantStep","SharedSavingPaymentAgreement","SharingRecordCollection","SharingRecordCollectionItem","Shift","ShiftEngagementChannel","ShiftPattern","ShiftPatternEntry","ShiftSegment","ShiftSegmentType","ShiftTemplate","ShiftWorkTopic","Shipment","ShipmentItem","SignatureTask","SignatureTaskLineItem","Skill","SkillLevelDefinition","SkillRequirement","Snippet","SnippetAssignment","S
559ocialContributionSum","SocialPersona","SocialPost","StandardApexClass","StandardCareFeeAgreement","StandardPermissionSet","StaticResource","StnryAssetAnnualFact","StnryAssetCrbnFtprnt","StnryAssetCrbnFtprntItm","StnryAssetEnrgyUse","StnryAssetEnvrSrc","StnryAssetWaterActvty","StnryAssetWaterFtprnt","StnryAssetWtrFtprntItm","StoreActionPlanTemplate","StoreAssortment","StoreIntegratedService","StoreProduct","StreamingChannel","SuccessTeam","Supplier","SupplierProduct","Survey","SurveyEmailBranding","SurveyInvitation","SurveyQuestion","SurveyQuestionChoice","SurveyQuestionResponse","SurveyResponse","SurveySubject","SurveyVersion","SustainabilityCntrLine","SustainabilityCredit","SustainabilityPurchase","SustainabilityScorecard","SvcCatalogCategory","SvcCatalogCategoryItem","SvcCatalogItemDef","SvcCatalogReqExtdAttrVal","SvcCatalogReqRelatedItem","SvcCatalogRequest","Swarm","SwarmMember","TagCategory","TagCategoryAssignment","TaxDisclosureSummary","TaxEngine","TaxEngineInteractionLog","TaxEngineProvider","TaxGeoConfig","TaxPolicy","TaxRate","TaxTreatment","Tenant","TenantParameterMap","TenantSecurityNotificationRule","Territory2","ThreatDetectionFeedback","TimeSheet","TimeSheetEntry","TimeSlot","Topic","TopicAssignment","TrackedCommunication","TrackedCommunicationDetail","TrainingCourseParticipant","TransactionJournal","Translation","TravelMode","TrialEnvironmentSignup","TrnCourse","UnitOfMeasure","UnitOfMeasureConversion","UsageEntitlement","UsageEntitlementPeriod","UsageEntitlementUsage","UsageFactor","UsageImpactFactor","UsageImpactGroup","UsageImpactGroupFactor","UsageImpactGroupPgmMeasure","UsageImpactGroupVersion","User","UserAccessPolicy","UserAppMenuItem","UserDefinedLabel","UserDefinedLabelAssignment","UserEsignVendorIdentifier","UserFinancialAuthority","UserLicenseDefinition","UserLocationAssignment","UserRole","UserTerritory2AssocLog","UserUiPreference","Vehicle","VehicleAssetCrbnFtprnt","VehicleAssetEmssnSrc","VehicleAssetEnrgyUse","VehicleDefinition","VehicleUserAssignment","VideoCall","ViolationEnforcementAction","ViolationType","ViolationTypeAssessmentInd","ViolationTypeUse","Visit","VisitedParty","Visitor","VoiceCall","VolumeDiscount","VolunteerProject","Voucher","VoucherDefinition","WarrantyTerm","WarrantyTermCoverage","WasteFootprint","WasteFootprintItem","WaveAutoInstallRequest","WebCart","WebStore","WebStoreBuyerGroup","WebStoreCatalog","WebStoreInventorySource","WebStorePricebook","WebStoreSearchProdSettings","WorkCapacityLimit","WorkCapacityUsage","WorkCoaching","WorkContract","WorkOrder","WorkOrderLineItem","WorkPlan","WorkPlanSelectionRule","WorkPlanTemplate","WorkPlanTemplateEntry","WorkProcedure","WorkProcedureStep","WorkRewardFund","WorkRewardFundType","WorkStep","WorkStepTemplate","WorkType","WorkTypeCareSpecialty","WorkTypeCodeSetBundle","WorkTypeExtension","WorkTypeGroup","WorkTypeGroupDataTranslation","WorkTypeGroupMember","WorkTypeGroupRole","WorkerCompCoverageClass","WorkforceCapacity","WorkforceCapacityPlan","WstDispoEmssnFctrSet","WstDispoEmssnFctrSetItm"]),o=new Set(["AIAgentParticipantPref","AIAgentUserMemory","AIConsentMgmtStatusEvent","AIKnowledgeCreationEvent","AIProductOptimizedField","AITenantProvisionedFeature","AITranslationAttempt","AITranslationRequest","ASEOrgSyncHealthStats","ASEOrgSyncHealthTxns","AbnExperimentCohortAttrVal","AbnExperimentCohortDmo","AbnExperimentDmo","AbnExperimentLogDmo","AbnExperimentationCohortSummaryDmo","AbnExperimentationDailySummaryDmo","AbnExperimentationSummaryDmo","AcadRgstrApplnEvent","AcadRgstrEligCritRunEvent","AcademicCredentialDmo","AcademicSessionAttendanceDmo","AcademicSessionDmo","AcademicTermDmo","AcademicTermEnrollmentDmo","AcademicTermGpaCalcEvent","AcademicTermRegstrnTimelineDmo","AcademicYearDmo","AccountContactDmo","AccountDmo","AccountLastPullDate","AccountLocationDmo","AccountPlanDmo","AccountPlanObjectiveDmo","AccountPlanParticipantDmo","AccountPlanProductDmo","AccountPlanPtcpStakeholderDmo","AccountPlanRelatedObjectAnalysisDmo","AccountPlanRelationshipDmo","AccountPlanStakeholderActionDmo","AccountPlanStakeholderDmo","AccountPlanStakeholderProductDmo","AccountProspectSignal","AccountRelationshipDmo","AccountRoleDmo","AccountingPeriodDmo","AcctPlanObjKpiCalcEvnt","ActionPlanDmo","ActionPlanItemDmo","ActionPlanTemplateAssignmentDmo","ActionPlanTemplateDmo","ActionPlanTemplateItemDmo","ActionPlanTemplateVersionDmo","ActionableListDmo","ActionableListMemberDmo","ActionableOrchResponseEvent","ActionableOrchSourceEvent","ActivationFlowVersionMap","ActivityDmo","ActivityParticipantDmo","ActivityPlanDmo","ActivityPlanSalesTerritoryDmo","ActivityTimingDmo","ActivityTopicDmo","ActnblListKeyPrfmIndAsgnt","Actor","ActorLock","A
559ctorMessage","ActorReactiveAskRespEvent","ActorSubscription","AdConversionTagDmo","AdDmo","AdExchangeDmo","AdKeywordDmo","AdSalesMgmtEventView","AdSiteDmo","AdStrategyDmo","AddressDmo","AdverseEventActionDmo","AdverseEventCauseDmo","AdverseEventContributingFactorDmo","AdverseEventDmo","AdverseEventIdentifierDmo","AdverseEventOutcomeDmo","AdverseEventPartyDmo","AdverseEventResultingEffectDmo","AdverseEventSupportInfoDmo","AffiliationDmo","AgentServicePresenceDmo","AgentWorkDmo","AgentWorkSkillDmo","AgentforceSdrConfig","AiAgentActionDmo","AiAgentGenerativeAiUsageDmo","AiAgentInteractionDmo","AiAgentInteractionMessageDmo","AiAgentInteractionStepDmo","AiAgentMessageAttachmentDmo","AiAgentMomentDmo","AiAgentMomentInteractionDmo","AiAgentSessionAttachmentDmo","AiAgentSessionDmo","AiAgentSessionLogDmo","AiAgentSessionParticipantDmo","AiAgentSessionTag","AiAgentTagAssocLogDmo","AiAgentTagAssociationDmo","AiAgentTagDefinitionAssociationDmo","AiAgentTagDefinitionDmo","AiAgentTagDmo","AiAgentTopicDmo","AiDataResourcesProvisionEvent","AiEvalCopilotTestCaseRslt","AiEvalPrmptRagTestCsRslt","AiEvalPromptTestCaseRslt","AiEvalTestCaseCritRslt","AiEvalTestCaseResult","AiEvaluation","AiFieldUpdateCursor","AiGatewayReqModelDiagDmo","AiGatewayReqObjRecCtnDmo","AiGatewayReqObjRecDmo","AiJobRun","AiJobRunItem","AiMetadataSyncStatus","AiParticipantInsightDmo","AiPromptTemplateGenEvent","AiRetrieverQualityMetricDmo","AirTravelEmissionsF
559actorDmo","AirTravelEnergyUseDmo","AllergyIntoleranceDmo","AlternatePaymentDmo","AnalyticsChangeEventLog","AnalyticsDatakitDeployEvent","AnalyticsDownloadEventLog","AnalyticsEasySetupEvent","AnalyticsGenerativeMetadata","AnalyticsGenerativeMetadataDmo","AnalyticsInteractEventLog","AnalyticsMdtPkgDeployEvent","AnalyticsMdtPkgExportEvent","AnalyticsPerfEventLog","AnalyticsTaskStatusEvent","AnnualEmissionsInventoryDmo","AnnualEmssnInventoryDmo","AnnualEmssnInventoryExtensionDmo","AnnualEmssnRdctnTargetDmo","AntiCorruptionInitiativeSummaryDmo","ApexCalloutEventLog","ApexExecutionEventLog","ApexExtlCalloutEventLog","ApexRestApiEventLog","ApexSoapApiEventLog","ApexTriggerEventLog","ApexUnexpectedExcpEventLog","ApiTotalUsageEventLog","AppExchangeAnomalyEvent","ApplicantDmo","ApplicationDecisionDmo","ApplicationDmo","ApplicationItemDmo","ApplicationParticipantDmo","ApplicationRecommendationDmo","ApplicationRecommenderDmo","ApplicationRelatedCodeDmo","ApplicationReviewDmo","ApplicationReviewParticipantDmo","ApplicationTaskDmo","ApplicationTimelineDmo","ApplnFormAppealStsChgEvnt","ApplnFormUsageTracking","AppraisalAdjustmentDmo","AppraisalDmo","AppraisalItemAddOnDmo","AppraisalItemDmo","AppraisalItemProviderValDmo","AppvlWorkItemNtfcnEvent","ArticleGenAIFeedback","AssessmentActionItemDmo","AssessmentDefinitionDmo","AssessmentDmo","AssessmentEnvelopeDmo","AssessmentEnvelopeItemDmo","AssessmentIndicatorDefinedValueDmo","AssessmentIndicatorDefinitionDmo","AssessmentIndicatorValueDmo","AssessmentQuestionAssignmentDmo","AssessmentQuestionDmo","AssessmentQuestionResponseDmo","AssessmentQuestionSetDmo","AssessmentQuestionVersionDmo","AssessmentSignatureDmo","AssessmentTaskContentDocumentDmo","AssessmentTaskDefinitionDmo","AssessmentTaskDmo","AssessmentTaskIndicatorDefinitionDmo","AssessmentTaskOrderDmo","AssetActionSourceDmo","AssetDmo","AssetMilestoneDmo","AssetOperationDmo","AssetOperationOperatorBehaviorDmo","AssetParticipantDmo","AssetPerformanceSummaryDmo","AssetSalesActionDmo","AssetServiceActionDmo","AssetServiceLevelOb
559jectiveConsequenceDmo","AssetServiceLevelObjectiveDmo","AssetStatePeriodDmo","AssetTelematicsEventDmo","AssetTelematicsEventFaultCdMappingDmo","AssetThresholdUpdateEvent","AssetTitleDmo","AssetWarrantyTermDmo","AssortmentAssignmentDmo","AssortmentDmo","AssortmentProductDmo","AsyncReportRunEventLog","AttachmentEventLog","AttribModelJobStatusEvent","AttribModelOutput","AttribModelOutputKeyField","AttribModelRelatedType","AttribModelRelatedTypeParm","AttributeDefinitionDmo","AttributeValueDmo","AuraRequestEventLog","AuthDomainStatusEvent","AuthLocationPermitScheduleDmo","AuthorizationApplicationAssetDmo","AuthorizationApplicationDmo","AuthorizationApplicationPlaceDmo","AuthorizationFormConsentDmo","AuthorizationFormDataUseDmo","AuthorizationFormDmo","AuthorizationFormTextDmo","AutomationStepProgress","B2CEUsage","BankTransferTenderDmo","BankerDmo","BatchJobCalcExecEvent","BatchJobProcessExecEvent","BenefitActionDmo","BenefitApplicationDmo","BenefitAssignmentAdjustmentDmo","BenefitAssignmentDmo","BenefitDisbursementAdjustmentDmo","BenefitDisbursementDmo","BenefitDmo","BenefitItemCodeDmo","BenefitPrvdSearchableFldDmo","BenefitScheduleAssignmentDmo","BenefitScheduleDmo","BenefitSessionDmo","BenefitSpecialtyDmo","BenefitTypeDmo","BillingPolicyDmo","BillingScheduleDmo","BillingScheduleGroupDmo","BillingScheduleGroupRelationshipDmo","BillingTreatmentDmo","BillingTreatmentItemDmo","BillingTrxnJournalEvent","BkupRstrRecoverJobStsEvnt","BlockedRedirectEventLog","BnftAsgntBnftItemCodeDmo","BotDefToFlowVersionMap","BotDmo","BotVersionDmo","BranchUnitDmo","BranchUnitRelatedRecordDmo","BrandDmo","BudgetAllocationDmo","BudgetCategoryDmo","BudgetCategoryValueDmo","BudgetDmo","BudgetKpiCalcEvnt","BudgetPeriodDmo","BuildingEnergyIntensityDmo","BulkApi2EventLog","BulkApi2JobResultsEvent","BulkApi2JobStatusEvent","BulkApiEventLog","BulkApiRequestEventLog","BulkEmailMessageDmo","BulkMessage","BulkMessageDmo","BundleProductDmo","BusOperProcCmplPlcyClVerDmo","BusRegAuthTypeDependencyDmo","BusinessInsightDmo","BusinessInsightIndicatorDmo","BusinessLicenseCodeSetDmo","BusinessMilestoneDmo","BusinessOperationsProcessDmo","BusinessPeriodDmo","BusinessProfileDmo","BusinessRegulatoryAuthTypeDmo","BusinessTypeDmo","BuyerIntentDmo","CacheRefreshQueue","CalendarEventDmo","CampaignDmo","CampaignMemberDmo","CapabilityUserPreference","CapturePaymentDmo","CarbonEmissionScopeAllocationDmo","CardAccountDmo","CareBarrier2Dmo","CareBarrierDeterminantDmo","CareBarrierTypeDmo","CareBnftVrfyRqstStsChgEvent","CareDeterminantDmo","CareGapDmo","CareLimitTypeDmo","CareMetricTargetDmo","CareObservationDmo","CareObservationIdentifierDmo","CareObservationItemDmo","CarePgmProvHealthcareProviderDmo","CarePlanActivityDetailDmo","CarePlanActivityDmo","CarePlanDetailDmo","CarePlanDmo","CarePlanIdentifierDmo","CarePlanTemplateBenefitDmo","CarePlanTemplateDmo","CarePlanTemplateGoalDmo","CarePreauthorizationDmo","CarePreauthorizationItemDmo","CareProgramAssistanceDmo","CareProgramCampaignDmo","CareProgramDetailDmo","CareProgramDmo","CareProgramEligibilityRuleDmo","CareProgramEnrolleeDmo","CareProgramEnrolleeProductDmo","CareProgramEnrolleeStatusPeriodDmo","CareProgramEnrollmentCardDmo","CareProgramGoalDmo","CareProgramIdentifierDmo","CareProgramProductDmo","CareProgramProviderProductDmo","CareProgramSiteContractDmo","CareProgramSiteDmo","CareProgramStatusPeriodDmo","CareProgramTeamMemberDmo","CareProgramTeamMemberRolePeriodDmo","CareRequestDiagnosisDmo","CareRequestDiagnosisIdentifierDmo","CareRequestDmo","CareRequestDrugDmo","CareRequestIdentifierDmo","CareRequestItemDmo","CareRequestReviewerDmo","CareServiceVisitDmo","CareServiceVisitPlanDmo","CareSpecialtyDmo","CartToOrderCompletedEvent","CaseDmo","CaseEpisodeDmo","CaseFileProcessDependency","CaseFileProcessExecution","CaseMilestoneDmo","CaseMilestoneTypeDmo","CaseParticipantDmo","CaseProceedingComplaintDmo","CaseProceedingDmo","CaseProceedingInfractionDmo","CaseProceedingParticipantDmo","CaseProceedingResultDmo","CaseProgramDmo","CaseRelatedIssueDmo","CaseTeamMemberProgramDmo","CaseUpdateDmo","CashTenderDmo","CategoryAccessDmo","CategoryDmo","CcAggrControllerRequestDmo","CcAggrDetailProductRcmdRcmdrDmo","CcAggrIncludeControllerRqstDmo","CcAggrInventoryByLocationDmo","CcAggrInventoryByLocationGrpDmo","CcAggrOcapiRequestDmo","CcAggrPaymentSalesSummaryDmo","CcAggrProductCoBuyDmo","CcAggrProductRcmdRcmdrDmo","CcAggrProductRecommendationDmo","CcAggrProductSalesSummaryDmo","CcAggrPromotionActivationDmo","CcAggrPromotionCoUseDmo","CcAggrPromotionSalesSummaryDmo","CcAggrRegistrationDmo","CcAggrSalesSummaryDmo","CcAggrScapiRequestDmo","CcAggrSearchConversionDmo","CcAggrSearchDmo","CcAggrSearchQueryDmo","CcAggrSourceCodeActivationDmo","CcAggrSourceCodeSalesDmo","CcAggrVisitCheckoutDmo","CcAggrVisitDmo","CcAggrVisitIpAddressDmo","CcAggrVisitReferrerDmo","CcAggrVisitRobotDmo","CcAggrVisitUserAgentDmo","CcDimBusinessChannelDmo","CcDimCampaignDmo","CcDimCouponDmo","CcDimCurrencyDmo","CcDimCustomerDmo","CcDimDateDmo","CcDimGeographyDmo","CcDimLocaleDmo","CcDimLocationDmo","CcDimLocationGroupDmo","CcDimPaymentMethodDmo","CcDimProductDmo","CcDimPromotionDmo","CcDimSiteDmo","CcDimSourceCodeGroupDmo","CcDimTimeDmo","CcDimTimeZoneDmo","CcDimUserAgentDmo","CcFactCustomerListSnapshotDmo","CcFactCustomerRegistrationDmo","CcFactInvRecSnapshotDmo","CcFactInvRecSnapshotHourlyDmo","CcFactOrderLineItemDmo","CcFactOrderPaymentDmo","CcFactPromotionActivationDmo","CcFactPromotionOrderLineItemDmo","CcFactRealtimeMetricDmo","CcFactSourceCodeActivationDmo","CdcStagingLog","CdnTaskConfiguration","CdsChangeEvent","ChangeRequestConfigurationItemDmo","ChangeRequestDmo","ChangeRequestRelatedIssueDmo","ChangeRequestRelatedItemDmo","ChangeSetOperationEventLog","ChannelEngagementDmo","CheckTenderDmo","CheckoutRe
559setConfig","ClaimCaseDmo","ClaimCoverageDmo","ClaimDiagnosisDmo","ClaimDmo","ClaimItemDmo","ClaimItemParticipantDmo","ClaimParticipantDmo","ClaimPaymentDetailDmo","ClaimPaymentDmo","ClaimSupportingInformationDmo","CleanEnergyProjectDmo","ClinicalAlertDmo","ClinicalEncounterDiagnosisDmo","ClinicalEncounterDmo","ClinicalEncounterFacilityDmo","ClinicalEncounterIdentifierDmo","ClinicalEncounterProviderDmo","ClinicalEncounterReasonDmo","ClinicalEncounterServiceRequestDmo","ClinicalMeasureDmo","ClinicalServiceRequestDetailDmo","ClinicalServiceRequestDmo","ClinicalServiceRequestIdentifierDmo","CmplAsyncJobStatusChangedEvent","CmplBackgroundProcEvent","CmsnProcUsageTracking","CnfgItemAttributeDmo","CnfgItemAttributeValueDmo","CnfgItemChangeEvent","CnfgItemRelationshipDmo","CnfgItemTypeDefinitionDmo","CnfgMgmtDiscoveryOrgDetail","CnfgMgmtDiscoveryTrgtScan","CnfgMgmtDscvryTrgtFldMap","CnfgMgmtDscvryTrgtScanDoc","CodeSetBundleDmo","CodeSetDmo","CollabMsgLinkedRecord","CollabRoomRelatedObject","CollabRoomSvcRoutgSpec","CollectionCallRepAvlEvent","CollectionPlanDmo","CollectionPlanItemDmo","CollectionPlanReasonDmo","CommerceJobStatus","CommerceSearchIndexError","CommerceSearchPricebookInfo","CommerceSearchResultsRule","CommitStatusChangeEvent","CommodityUsageDmo","CommunicationSubscriptionChannelTypeDmo","CommunicationSubscriptionConsentDmo","CommunicationSubscriptionDmo","CommunicationSubscriptionTimingDmo","CompPlcyCommsRecipientDmo","CompPlcyCommsResponseDmo","CompiledProduct","ComplaintCaseDmo","ComplaintDmo","ComplaintParticipantDmo","CompleteProgressCalcEvent","ComplexTable4","ComplexTable5","ComplianceAsyncJob","ComplianceAsyncJobPart","ComplianceAuditDmo","ComplianceAuditPolicyClauseDmo","ComplianceAuditRegulationClauseDmo","ComplianceAuditRiskDmo","ComplianceControlDmo","ComplianceControlVersionDmo","ComplianceEvidRqstArtifactDmo","ComplianceEvidenceArtifactDmo","ComplianceEvidenceRequestDmo","CompliancePlcyCmplClVerDmo","CompliancePolicyClauseDmo","CompliancePolicyClauseVersionDmo","CompliancePolicyCommsDmo","CompliancePolicyDmo","CompliancePolicyVersionDmo","ConcurApexLimitEventLog","ConfigurableSolutionDeploymentStatus","ConfigurableSolutionInstallStatusEvent","ConfigurationItemDmo","ConsentActionDmo","ConsentStatusDmo","ConsentUnsubscribeAllEvent","ConsentUnsubscribeEvent","ConstituentRoleDmo","ConsumedLocationProductDmo","ContCalloutSummaryEventLog","ContactAlternateKey","ContactEncounterDmo","ContactEncounterParticipantDmo","ContactPointAddressDmo","ContactPointAppDmo","ContactPointConsentDmo","ContactPointDigitalIdDmo","ContactPointDmo","ContactPointEmailDmo","ContactPointOTTServiceDmo","ContactPointPhoneDmo","ContactPointSocialDmo","ContactProfileDmo","ContentDistributionEventLog","ContentDocLinkEventLog","ContentDocumentDmo","ContentDocumentLinkEvent","ContentDocumentRelationshipDmo","ContentDocumentVersionDmo","ContentGenAiOutput","ContentTaxonomyDmo","ContentTaxonomyModel","ContentTaxonomyModelDmo","ContentTaxonomyRelatedTermDmo","ContentTaxonomyTermDmo","ContentTaxonomyTermRelObjectDmo","ContentTaxonomyTermRelTypeDmo","ContentTaxonomyTermRelationshipDmo","ContentTransferEventLog","ContextPersistenceEvent","ContractCreationEvent","ContractDmo","ContractDocVerContentDocDmo","ContractDocumentVersionDmo","ContractLineDmo","ConvBillingOutcomePtcpAgentDmo","ConvChannelEngagementSummaryDmo","ConvChannelEngmtSummarySubjectDmo","ConvChnlEngmtSummaryPtcpDmo","ConvEngmtProcState","ConvIntelligenceVoiceCall","ConvReasonReportDefinitionDmo","ConvReasonReportSegmentDefDmo","ConversationBillingOutcomeDmo","ConversationDmo","ConversationEntryDmo","ConversationEntryTranscriptExcerptDmo","ConversationInsightEvent","ConversationReasonCategoryDmo","ConversationReasonDmo","ConversationTranscriptSendRequest","ConversionEngagementSummaryDmo","CostBookDmo","CostBookEntryDmo","CouponDefinitionDmo","CouponDmo","CourseOfferingAttendanceDmo","CourseOfferingDmo","CourseOfferingParticipantDmo","CourseOfferingParticipationDmo","CourseOfferingPtcpResultDmo","CourseOfferingRubricDmo","CourseOfferingScheduleDmo","CourseOfferingScheduleTmplDmo","CourseOfrPtcpActivityGradeDmo","CoverageBenefitDmo","CoverageBenefitItemDmo","CoverageBenefitItemLimitDmo","CoverageBenefitVerificationRequestDmo","CoworkerConversation","CoworkerConversationEntry","CpdpHandlerStatus","CrbnCreditAllocDmo","CrbnCreditAllocItemDmo","CrbnCreditDistributionDmo","CrbnCreditProjectDmo","CrbnEmssnScopeAllocDmo","CrbnEmssnScopeAllocValDmo","CreditMemoDmo","CreditMemoLineDmo","CreditMemoLineTaxDmo","CreditTenderDmo","CrossOrgDocProcUsageMetrics","CspViolationEventLog","CuratedExpJobEvent","CuratedExpPlanEvent","CurrencyDatedConversionRateDmo","CurrencyStaticConversionRateDmo","CustodyChainEntryDmo","CustodyItemDmo","CustodyItemRegulatoryCodeViolationDmo","CustodyItemRelationDmo","CustomerIntelligenceJourneyStageDmo","CustomerProcGroupDefDmo","CustomerProcessDefinitionDmo","CustomerProcessFeedbackDmo","DTRecordsetReplica","DataActionJobStatusEvent","DataAnlytConfigDeleteEvent","DataAnlytConfigExportEvent","DataAnlytConfigSync","DataCleanRoomObjSchmEvent","DataCleanRoomStatusEvent","DataCloudCurrencyConfig","DataCloudFiscalCalendar","DataCustomCodeStatEvent","DataEncryptionKey","DataGuidance","DataGuidanceStep","DataGuidanceStepGroup","DataHarmonizedUserFdbk","DataKitComponentSyncEvent","DataKitDeployEvent","DataKnwlgGrphConstStsEvnt","DataKnwlgGrphSr
559cExtrctStsEvnt","DataMceUmaMigStrmStatus","DataMceUmaMigStrmStsEvnt","DataMceUmaMigrationStatus","DataMltOrgMdatChgsetEvent","DataMskPlcyJobRunStsEvnt","DataMultiOrgServiceEvent","DataPipelineNode","DataPipelineNodeRelation","DataPipelineSpec","DataShellTntUpgradeEvent","DataTntDeprovisionStsEvent","DataUseLegalBasisDmo","DataUsePurposeConsentActionDmo","DataUsePurposeDmo","DatabaseSaveEventLog","DcsnOptimizationOptionSummaryDmo","DcsnOptimizationSummaryDmo","DcsnTblSourceObjectRecord","DcvrDataModelJobEvent","DcvrFeatureProgress","DcvrPreEnblStepProgress","DcvrRecipeProgress","DcvrRecipeStepProgress","DecisionTableDataset","DecisionTableRecordset","DecisionTblSrcChangedEvent","DedupEngmtAnlssTextInsightAssocDmo","DedupEngmtAnlssTextInsightDmo","DeliveryEngagementSummaryDmo","DeliveryVerificationEngmtSummaryDmo","DepositAccountDmo","DeviceApplicationEngagementDmo","DeviceApplicationTemplateDmo","DeviceDmo","DeviceTypeConfigurationDmo","DevopsRequestInfoEvent","DgtAssetMgmtPrvdLghtCpntInstance","DiagnosticSummaryDmo","DiagnosticSummaryIdentifierDmo","DigitalContentChannelDmo","DigitalContentDmo","DigitalContentElectronicMediaDmo","DigitalContentPublishChannelDmo","DigitalContentRelationshipDmo","DigitalContentSpaceChannelDmo","DigitalContentSpaceDmo","DigitalSignatureDmo","DigitalWalletDmo","DisclosureDmo","DisclosureReportingPeriodDmo","DiscoveryFrwrkSampleTemplate","DiscoveryFrwrkTemplateMember","DiseaseCriteriaConditionDmo","DiseaseCriteriaDmo","DiseaseDefinitionDmo","DiseaseInvestigationCaseDmo","DiseaseInvestigationDmo","DiseaseOutbreakDmo","DistMktgMessageEvent","DiversityEquityInclusionSummaryDmo","DocAtchDownloadEventLog","DocGenBtchStsChgEvent","DocGenProcStsChgEvent","DocProcessingUsageMetrics","DocumentChecklistItemDmo","DocumentClauseDmo","DocumentClauseSetDmo","DocumentExtReviewerConsent","DocumentExtractionCpltEvent","DocumentExtractionRqstRec","DonorGiftSummaryDmo","DriverPerformanceSummaryDmo","ECIHydrationStatus","EconomicPerformanceSummaryDmo","EducationApplicationDmo","EducationalInfoRequestDmo","ElectrLifecyclEmssnFctrSetDmo","ElectricityEmissionsFactorSetDmo","ElectronicMediaDmo","EmailBounceEvent","EmailContentDmo","EmailEngagementDmo","EmailEngagementFrequencyDmo","EmailEngagementQualityScoreDmo","EmailEngagementScoreDmo","EmailMessageDmo","EmailMessageMigration","EmailPublicationDmo","EmailSendTimeOptimizationDmo","EmailServerEventLog","EmailTemplateDmo","EmailTemplateFragmentDmo","EmailTemplateRelatedFragmentDmo","EmailTemplateSnapshotDmo","EmissionsActivityDmo","EmissionsAllocationDmo","EmissionsForecastFactDmo","EmployeeDemographicSummaryDmo","EmployeeDevelopmentSummaryDmo","EmployeeDmo","EmploymentBenefitSummaryDmo","EmploymentDmo","EmploymentOfferDmo","EmploymentOfferVettingEvaluationDmo","EmssnRdctnCommitmentDmo","EmssnReductionTargetDmo","EnblMlstnProgQryTmotEvent","EncryptionKeyErrorEvent","EnergyAttrCertCreditDmo","EnergyAttrCertPurchaseDmo","EnergyAttrCreditDstrDmo","EngagementActionDmo","EngagementAnalysisCommandExecutionDmo","EngagementAnalysisGroupingExecutionDmo","EngagementAnalysisTargetedInsightDmo","EngagementAnalysisTextAssocDmo","EngagementAnalysisTextAssociationDmo","EngagementAnalysisTextDirectFeedbackDmo","EngagementAnalysisTextDmo","EngagementAnalysisTextInsightDmo","EngagementAnalysisTextParticipantDmo","EngagementAnalysisTextSessionDmo","EngagementAnalysisTgtInsightActionDmo","EngagementChannelActionDmo","EngagementChannelDmo","EngagementChannelParticipantDmo","EngagementChannelTypeConsentDmo","EngagementChannelTypeDmo","EngagementChannelUsageDmo","EngagementParticipantAppRoleDmo","EngagementSignalDistinct","EngagementSignalFilter","EngagementSignalFltrGrp","EngagementSignalFltrVal","EngagementSignalJoinDim","EngagementTopicDmo","EngmtInsightKnwlgArticleVersionDmo","EnqueueProgressCalcEvent","EnrollmentEligibilityCriteriaDmo","EnterpriseUserActivityDmo","EnterpriseUserActivityPtcpDmo","EntpUserDmo","EntpUserEmailDmo","EntpUserIdentificationDmo","EnvironmentalRiskDmo","ErrorEngagementDmo","EswMigrationCronJob","EswMigrationCronJobDetail","EvaluationJobResultEvent","ExaminationDmo","ExpSetBusinessVertical","ExperimentJobStatusEvent","ExtKAImportError","ExtKAImportResult","ExtKnowledgeIngestionRun","ExtKnowledgeIngestionStatus","ExtKnowledgeIngestionTask","ExtKnowledgeOrgStatus","ExtKnowledgePartnerOrg","ExtKnowledgeXDSConnector","ExtMsgResourceStatusEvent","ExternalAssessmentDefinitionDmo","ExternalDataChgEvent","ExternalDocRefMapping","ExternalEncryptionRootKey","ExternalTrigger","ExternalTriggerData","ExternalTriggerSubscriber","ExtlClntAppAppleAttestKey","ExtlRecShrCnctAccnt","ExtlRecShrEvent","ExtlRecShrProcessEvent","ExtlRecShrRecordMap","ExtlRecShrResultEvent","FavoriteConfiguration","FeatureConfigBlockedReason","FeatureConfigProgress","FeatureGroupSetupProgress","FeatureSetupProgress","FeatureUsageDmo","FeatureUsageEvent","FinancialAccountAddressDmo","FinancialAccountBalanceDmo","FinancialAccountDmo","FinancialAccountFeeDmo","FinancialAccountInterestRateDmo","FinancialAccountLimitDmo","FinancialAccountMilestoneDmo","FinancialAccountPartyDmo","FinancialAccountPrfmSnapshotDmo","FinancialAccountTransactionDmo","FinancialApplicationDmo","FinancialApplicationItemDmo","FinancialApplicationItemProposalDmo","FinancialCustodianAdvisorDmo","FinancialCustodianDmo","FinancialCustomerDmo","FinancialGoalDmo","FinancialGoalFundingDmo","FinancialGoalPartyDmo","FinancialHoldingDmo","FinancialHoldingSummaryDmo","FinancialPlanDmo","Financial
559SecurityDmo","FinclAcctAssetUndMgmtSnpshtDmo","FinclAcctCustodianAdvisorDmo","FinclAssetPortfolioTargetAllocationDmo","FinclHoldingClosedPositionDmo","FirstBillPaymentSetupEvent","FiscalCalendarDmo","FldSvcObjChgDmo","FldSvcObjChgDtlDmo","FleetAssetDmo","FleetDmo","FleetParticipantDmo","FlowAppvlProcCmplEvent","FlowAutoSaveStsChngEvent","FlowAutosaveInterviewStatus","FlowDebugRefreshEvent","FlowDefDataActionMapping","FlowDmo","FlowElementDmo","FlowElementRunDmo","FlowNavMetricEventLog","FlowOccurrenceEvent","FlowRecElementWinningPath","FlowRunDmo","FlowRunEvent","FlowVersionDmo","FlowVersionMilestone","FlowVersionOccurrenceDmo","ForecastItemManagerVersionAmountDmo","ForecastItemOwnerVersionAmountDmo","ForecastingFactDmo","ForecastingItemDmo","ForecastingItemHistoricalTrendDmo","ForecastingPredictionDmo","ForecastingQuotaDmo","ForecastingTypeDmo","FormularyDmo","FormularyItemDmo","FreightHaulingEmissionFactorDmo","FreightHaulingEnergyUseDmo","FtestHighScaleData","FtestSchemaInterface","FulfillmentOrderDmo","FulfillmentOrderPriceAdjDmo","FulfillmentOrderPriceAdjTaxDmo","FulfillmentOrderProductDmo","FulfillmentOrderProductPriceAdjDmo","FulfillmentOrderProductTaxDmo","FulfillmentOrderTaxDmo","FulfillmentPlanDmo","FulfillmentSourceChangeEvent","FulfillmentStepDependencyDmo","FulfillmentStepDmo","FulfillmentStepSourceDmo","FulfmtStepDepResolveEvent","FundingAwardAmendmentDmo","FundingAwardDisbursementDmo","FundingAwardDmo","FundingAwardRequirementDmo","FundingOpportunityDmo","GameDefinitionDmo","GameParticipantDmo","GameParticipantRewardDmo","GameRewardDmo","GenAiContentQualityCategoryDmo","GenAiContentQualityDmo","GenAiFeedbackAdditionalInfoDmo","GenAiFeedbackDmo","GenAiGatewayReqObjRecCtnDmo","GenAiGatewayReqObjRecDmo","GenAiGatewayRequestAddlInfoDmo","GenAiGatewayRequestDmo","GenAiGatewayRequestTagDmo","GenAiGatewayResponseDmo","GenAiGtwyReqModelDiagnosticDmo","GenAiResponseAppGenerationDmo","GenAiResponseGenerationDmo","GenOpPlanCacheEntry","GenOpPlanContextAttr","GenOpPlanError","GenOpPlanSourceContent","GenOpPlanSourceRef","GeneratedActionInsightDmo","GeneratedOperationPlanDmo","GeneratedOperationPlanExecutionDmo","GeneratedOperationPlanStepDmo","GeneratedOperationPlanStepExecutionDmo","GeneratedWasteDmo","GenericHammerResult","GeoDemographicDistributionDmo","GiftBatchDmo","GiftCmtChangeAttrLogDmo","GiftCommitmentDmo","GiftCommitmentScheduleDmo","GiftDefaultDesignationDmo","GiftDesignationDmo","GiftEntryDmo","GiftRefundDmo","GiftSoftCreditDmo","GiftTransactionDesignationDmo","GiftTransactionDmo","GoalAssignmentDetailDmo","GoalAssignmentDmo","GoalDefinitionDmo","GoalDefinitionProductDmo","GoodsProductDmo","GovFinancialAssistanceSummaryDmo","GroundTravelEmissionFactorDmo","GroundTravelEnergyUseDmo","GroundingInsightScore","GroupMembershipEventLog","GuestUserAnomalyEvent","HarmonizedContentAssociationDmo","HarmonizedContentDmo","HcpFacilityNetworkDmo","HcpNetworkContractDmo","HcpTreatedConditionDmo","HealthCondDefinitionRelationshipDmo","HealthConditionDefinitionDmo","HealthScoreCategoryDmo","HealthScoreDmo","HealthScoreRangeClassificationDmo","HealthcareDiagnosisDmo","HealthcareFacilityDmo","HealthcareFacilityIdentifierDmo","HealthcareFacilityServiceDmo","HealthcarePayerNetworkDmo","HealthcarePerformerDmo","HealthcarePractitionerFacilityDmo","HealthcareProcedureDmo","HealthcareProviderDmo","HealthcareProviderFacilitySpecialtyDmo","HealthcareProviderNPIDmo","HealthcareProviderNetworkTierDmo","HealthcareProviderSearchableFldDmo","HealthcareProviderServiceDmo","HealthcareProviderSpecialtyDmo","HealthcareProviderTaxonomyDmo","HealthcareServiceDetailDmo","HealthcareServiceDmo","HealthcareTaxonomyDmo","HlthcrPractitionerFacilityIdentifierDmo","HotelStayEmissionFactorDmo","HotelStayEnergyUseDmo","HouseholdDmo","IdentityMatchDmo","ImageDmo","ImpactStrategyAssignmentDmo","ImpactStrategyDmo","InPersonEngagementDmo","InPersonMeetingDmo","InStoreLocationDmo","IncidentConfigurationItemDmo","IncidentDmo","IncidentRelatedItemDmo","IndicatorAssignmentDmo","IndicatorDefinitionDmo","IndicatorPerformancePeriodDmo","IndicatorResultDmo","Indiv
559idualDmo","InflationRateDmo","InsPlcyEndrStatusEvent","InsPlcyIssuanceStatusEvent","InsPolicyRnwlQuoteStatusEvent","InsPolicyRnwlStatusEvent","InspectionAssessmentIndicatorDmo","InspectionTypeDmo","InsufficientAccessEventLog","InsuranceAsyncBulkRecordDetail","InsuranceCoverageTypeDmo","InsurancePolicyAssetDmo","InsurancePolicyCoverageDmo","InsurancePolicyCoverageParticipantDmo","InsurancePolicyDmo","InsurancePolicyMemberAssetDmo","InsurancePolicyParticipantDmo","InsurancePolicyTransactionDmo","InsuranceRatingInput","InsuranceRatingOutput","InsuranceRatingRequestEvent","InsuranceRatingRequestItem","IntegProvDefStsChgEvent","IntegratedPlanDefUserRole","InteractionAnalysis","InterestTagDefinitionDmo","InteropTopicSubcrEvent","InterviewItemWaitCondition","InventoryProductDisbursementDmo","InventoryRequestDmo","InventoryRequestItemDmo","InventorySerializedProductDmo","InventoryTransferDmo","InvestmentAccountDmo","InvocableActionEventLog","InvoiceAddressGroupDmo","InvoiceBatchRunDmo","InvoiceDmo","InvoiceLineDmo","InvoiceLineTaxDmo","InvoiceProcPymtExclEvent","IssueRelationshipDmo","JobApplnSearchableFieldDmo","JobPositionAssignmentDmo","JobPositionDmo","JobPositionPayGradeDmo","JobPositionQualificationDmo","JobPositionRecruitmentRequisitionDmo","JobPositionShiftDmo","JobPostingSearchableFieldDmo","KnowledgeArticleCategoryDmo","KnowledgeArticleDmo","KnowledgeArticleEngagementDmo","KnowledgeArticleEventLog","KnowledgeArticleFeedbackDmo","KnowledgeArticleQuestion","KnowledgeArticleQuestionSet","KnowledgeArticleSummary","KnowledgeArticleVersionDmo","KnowledgeBlockReference","LeadDmo","LeadEngagementDmo","LeadLineItemDmo","LeadPreferredSellerDmo","LearnerCampusSpacesActivityDmo","LearnerLearningSystemActivityDmo","LearnerPathwayDmo","LearnerPathwayItemDmo","LearnerProfileDmo","LearnerProgramDmo","LearnerProgramRequirementDmo","LearnerProgramRqmtProgressDmo","LearningAchievementDmo","LearningCourseDmo","LearningDmo","LearningFoundationItemDmo","LearningOutcomeItemDmo","LearningPathwayTemplateDmo","LearningPathwayTemplateItemDmo","LearningPathwayTmplPgmPlanDmo","LearningProgramDmo","LearningProgramPlanDmo","LearningProgramPlanRqmtDmo","LegalEntyAccountingPeriodDmo","LegalEntyDmo","LifeScienceDrugDistributionDataDmo","LifeScienceDrugPrescriptionDataDmo","LifeScienceErrorLog","LifeScienceMarketableProductDmo","LightningErrorEventLog","LightningLoggerEventLog","LightningPageViewEventLog","LightningPrfmEventLog","LimitBucket","LimitConfiguration","LimitPending","LimitUsage","LinkedKnowledgeArticleDmo","LoanAccountDmo","LocaleDmo","LocationDmo","LocationGroupAssignmentDmo","LocationGroupDmo","LocationGroupProdExclChgDmo","LocationGroupProdInvChgDmo","LocationProductInventoryChangeDmo","LocationProductInventoryDmo","LocationShippingCarrierMethodDmo","LoginAnomalyEvent","LoginAsEventLog","LoginEventLog","LogoutEventLog","LoyaltyAggregatedPtExpirationLedgerDmo","LoyaltyBenefitDmo","LoyaltyBenefitTypeDmo","LoyaltyJournalSubtypeDmo","LoyaltyJournalTypeDmo","LoyaltyLedgerDmo","LoyaltyLedgerTraceabilityDmo","LoyaltyMemberCurrencyDmo","LoyaltyMemberTierDmo","LoyaltyMembershipLifecycleDmo","LoyaltyPartnerProductDmo","LoyaltyPgmMemberLinkedPartnerDmo","LoyaltyProgramBadgeDmo","LoyaltyProgramCurrencyDmo","LoyaltyProgramCurrencySubtypeDmo","LoyaltyProgramCurrencyTierDmo","LoyaltyProgramDmo","LoyaltyProgramEngagementAttributeDmo","LoyaltyProgramEngmtAttributePromotionDmo","LoyaltyProgramGroupMemberRelationshipDmo","LoyaltyProgramMemberAttributeValueDmo","LoyaltyProgramMemberBadgeDmo","LoyaltyProgramMemberCaseDmo","LoyaltyProgramMemberDmo","LoyaltyProgramMemberMergeDmo","LoyaltyProgramMemberPromotionDmo","LoyaltyProgramPartnerCurrencyDmo","LoyaltyProgramPartnerDmo","LoyaltyProgramPartnerLedgerDmo","LoyaltyProgramPartnerLedgerSummaryDmo","LoyaltyProgramPartnerPrepaidPackDmo","LoyaltyProgramPartnerPromotionDmo","LoyaltyTierBenefitDmo","LoyaltyTierDmo","LoyaltyTierEligibilitySrcDmo","LoyaltyTierGroupDmo","LoyaltyTierModelDmo","LoyaltyTierMshpFeeOptionDmo","LoyaltyTierPromotionDmo","LoyaltyTransactionJournalDmo","MLJobOrchStatusChgEvent","MLModelDataAlert","MailLetterDmo","MailLetterEngagementDmo","ManagedContentDeploymentPipeline","ManagedContentDeploymentPipelineStep","ManagedContentJobBody","ManagedContentOffCoreLocation","ManagedContentSpaceFolderShare","ManagedContentSpacePrvdInstance","ManagedEventDmo","ManagedEventSessionDmo","ManagedEventTypeDmo","MarketAudienceDmo","MarketJourneyActivityDmo","MarketSegmentDmo","MarketingChannelDmo","MarketingChannelEngagedAudienceDmo","MarketingChannelTargetedSegmentDmo","MarketingEmailListDmo","MarketingJourneyActivityDmo","MarketingJourneyActivityRunDmo","MarketingJourneyDmo","MarketingStreamingAppConfig","MasterProductDmo","MaterialityTopicDmo","MaterialityTopicDocClauseSetDmo","MaterialityTopicReferenceDmo","McpRegistrationHealth","McpServerChangedEvent","MealCardActivityDmo","MediaBuyDmo","MediaBuyPackageDmo","MediaEngagementDmo","MedicalInsightAccountDmo","MedicalInsightDmo","MedicalInsightEvent","MedicalInsightGoalDefinitionDmo","MedicalInsightProductDmo","MedicalInsightUserReactionDmo","MedicationDmo","MedicationIdentifierDmo","MediumTable2","MediumTable3","MemberBenefitDmo","MemberPlanDmo","MentoringProfileDmo","MerchantAccountEvent","MessageEngagementDmo","MessageTemplateDmo","MessagingChannelUpdateEvent","MessagingSessionDmo","MetadataApiOpEventLog","MetadataSearchRecordDmo","MetricsDeletionJobStatus","MgdEventSessSubjectAssignmentDmo","MigratedEmail","MktExpertChannelRateTableDmo","MktJourneyDcsnChildFlow","MktJourneyDcsnDataExtMap","MktJourneyDcsnOption","MktMLModelPartitionRun","MktMLModelSetupRun","MktMLSetupRunChgEvent","MngContentFormActionEvent","MobileDeviceAppRegistration","MultiOrgConnectionEvent","NamedCredentialEventLog","NetworkDmo","NetworkReferencedObjectDmo","NetworkUsageDmo","OSAsyncChgCompletedEvent","ObjectDataImportResult","ObjectMilestoneDmo","ObjectUserTerritory2View","OccupationDmo","OccupationGroupDmo","OfferDmo","OfferGroupAssignedOfferDmo","OfferGroupDmo","OfferMarketSegmentDmo","OfferMarketingEmailListDmo","OfferProductCategoryDmo","OfferProductDmo","OfferProductOrderEngagementDmo","OfferSalesOrderProductEngagementDmo","OfferTreatmentDmo","OmniTrackingEvent","OperatingHoursDmo","OperatingHoursTimeSlotDmo","OperatorPerformanceSummaryDmo","OpportunityContactDmo","OpportunityDmo","OpportunityHistoricalTrendDmo","OpportunityHistoryDmo","OpportunityInfluenceDmo","OpportunityPreferredSellerDmo","OpportunityProductDmo","OpportunitySplitDmo","OpportunitySplitTypeDmo","OpportunityStageDmo","OrderDeliveryMethodDmo","OrderItemAssetizationState","OrderItemSummaryChngEvent","OrderUseRsrcChosenPolicy","OrgDayZeroStatus","OrgSharingEvent","OrganizationIncidentSummaryDmo","OtherEmissionFactorSetItemDmo","OtherEmissionsF
559actorSetDmo","OthrLifecyclEmssnFctrSetDmo","OthrLifecyclEmssnFctrSetItemDmo","OutboundProspect","OutboundProspectSignal","OutcomeActivityDmo","OutcomeIntentDmo","OutreachSourceCodeDmo","OutreachSummaryDmo","OvenSdbExperimentRequest","PackageInstallEventLog","PackagePropUpdateJob","PackagePropUpdateRequest","PackageSubscriberOrgInfo","PartyAccreditationDmo","PartyAwardDmo","PartyBoardCertificationDmo","PartyBoardCertificationIdentifierDmo","PartyBusinessLicenseDmo","PartyConsentDmo","PartyDmo","PartyExpenseDmo","PartyFinancialAssetDmo","PartyFinancialLiabilityDmo","PartyIdentificationDmo","PartyIncomeDmo","PartyInterestTagDmo","PartyPhilanthropicAssessmentDmo","PartyPhilanthropicIndicatorDmo","PartyPhilanthropicMilestoneDmo","PartyPhilanthropicOccurrenceDmo","PartyProfileAddressDmo","PartyProfileDmo","PartyPromotionUsageDmo","PartyPublicationDmo","PartyRelatedPartyDmo","PartyRelationshipTypeDmo","PartyRoleDmo","PartyRoleTypeDmo","PatientDmo","PatientHealthConditionDetailDmo","PatientHealthConditionDmo","PatientHealthReactionDmo","PatientImmunizationDmo","PatientImmunizationIdentifierDmo","PatientMedRecileStmtRecommendationDmo","PatientMedReconRecommendationDmo","PatientMedicalProcedureDetailDmo","PatientMedicalProcedureDmo","PatientMedicalProcedureIdentifierDmo","PatientMedicationAdministrationDmo","PatientMedicationAdministrationDtlDmo","PatientMedicationDispenseDmo","PatientMedicationDosageDmo","PatientMedicationReconciliationDmo","PatientMedicationRequestDmo","PatientMedicationStatementDetailDmo","PatientMedicationStatementDmo","PatientMedicationStatementIdentifierDmo","PatientRegisteredDeviceDmo","PatientRegisteredDeviceIdentifierDmo","PayGradeDmo","PayGradeStepDmo","PayGradeStepLocationDmo","PaymentCardDmo","PaymentInstrumentDmo","PaymentIntentEvent","PaymentLinkEvent","PaymentMetadata","PaymentMethodDmo","PaymentPageChangeEvent","PaymentRequestDmo","PaymentRequestLineDmo","PaymentTermDmo","PaymentTermItemDmo","PermissionUpdateEventLog","PersnlBatchDcsnJobStatusEvent","PersnlBatchDcsnKeyField","PersnlBatchDcsnPersnlPoint","PersnlDecisionAttrValue","PersnlRcmAnlytJobStsEvnt","PersnlRcmdItemLogDmo","PersnlRcmdLogDmo","PersonAcademicCredentialDmo","PersonCompetencyDmo","PersonDisabilityDmo","PersonEducationDmo","PersonEmploymentDmo","PersonExaminationDmo","PersonInteractionAnalysis","PersonLanguageDmo","PersonLifeEventDmo","PersonLocationAvailabilityDmo","PersonNameDmo","PersonPublicProfileDmo","PersonPublicProfilePrefSetDmo","PersonSkillDmo","PersonalizationAttribute","PersonalizationDecisionDmo","PersonalizationLogDmo","PersonalizationPointDmo","PersonalizationSchemaDmo","PersonalizerDmo","PlanBenefitDmo","PlanBenefitItemDmo","PlanningDailyReadMeasureDmo","PlanningDimensionNodeDmo","PlanningDimensionNodeHierarchyDmo","PlanningDimensionNodeRelationDmo","PlanningMonthlyReadMeasureDmo","PlatformEventUsage","PlatformMetabolismSyncStatus","PolicyRuleLifeCycleEvent","PositionBenefitDmo","PositionDmo","PositionPayGradeDmo","PositionQualificationDmo","PrepaidCardDmo","PresentationClickStreamEntryDmo","PresentationDmo","PresentationForumDmo","PresentationLinkedPageDmo","PresentationPageDmo","PresentationPageProductDmo","PresentationPartyAccessDmo","PriceAdjustmentGroupDmo","PriceBookDmo","PriceBookEntryDmo","PriceBookPriceGuidance","PriceSheetData","PricingDecisionHashMap","PricingDependencyGraph","PricingLookupSyncStatus","PricingWaterfallLog","PrivacyBatchReservation","PrivacyConsentLogDmo","ProblemConfigurationItemDmo","ProblemDmo","ProblemRelatedItemDmo","ProcessExceptionDmo","ProcurementEmissionFactorSetDmo","ProcurementEmissionFactorSetItemDmo","ProdSvcCmpnDefPtnrInvDmo","ProdSvcCmpnGrpDefPtnrDmo","ProdtSvcCampaignGrpDefDmo","ProdtSvcCmpnCseProdtDmo","ProdtSvcCmpnPrefPtnrDmo","ProdtSvcCmpnProdtBtchDmo","ProdtSvcCmpnRelCseDmo","ProdtSvcCmpnWorkTypeDmo","ProducerDmo","ProducerPolicyAssignmentDmo","ProductAttributeDmo","ProductBrowseEngagementDmo","ProductCatalogCategoryDmo","ProductCatalogDmo","ProductCategoryDmo","ProductCategoryProductDmo","ProductDmo","ProductEmissionsFactorDmo","ProductGuidanceDmo","ProductImageDmo","ProductOrderEngagementDmo","ProductPackagingUnitDmo","ProductRelatedComponentDmo","ProductRelatedProductDmo","ProductServiceCampaignDmo","ProductServiceCampaignItemDmo","ProductSvcCampaignDefDmo","ProductionBatchDmo","ProgramBenefitDmo","ProgramCohortDmo","ProgramCohortMemberDmo","ProgramDmo","ProgramEnrollmentDmo","ProgramEnrollmentEligibilityCriteriaDmo","ProgramTermApplicationTimelineDmo","PromKpiCalcEvnt","PromotionAccountDmo","PromotionActionableListDmo","PromotionChannelDmo","PromotionDmo","PromotionEngagementDmo","PromotionItemEngagementDmo","PromotionLimitDmo","PromotionLoyaltyPartnerProductDmo","PromotionMarketSegmentDmo","PromotionOfferDmo","PromotionOfferProductDmo","PromotionPartyTransactionDmo","PromotionProductCategoryDmo","PromotionProductDmo","PromotionRewardDefAudienceDmo","PromotionRewardDefinitionDmo","PromotionRewardDefinitionProductDmo","PromotionStageDmo","PromotionStageEvent","PromotionStageTemplateDmo","PromotionTemplateDmo","ProspectDmo","ProspectingAccountActivity","ProspectingAccountQueue","ProspectingAgentConfig","ProspectingAgentErrorEvent","ProspectingRunHistory","ProviderActivityGoalDmo","ProviderActivityGoalMeasureDmo","ProviderActivityMeasureTypeDmo","ProviderOfferingDmo","ProviderVisitChangedEvent","ProviderVisitDmo","ProviderVisitDtlProductMessageDmo","ProviderVisitMarketingItemDmo","ProviderVisitProductDetailingDmo","ProviderVisitProductDiscussionDmo","ProviderVisitRequestedSampleDmo","PrvdManagedEventVldEvent","PurchaserPlanAssociationDmo","PurchaserPlanDmo","PushUpgradeCustomization","QueuedExecutionEventLog","QuotUseRsrcChosenPolicy","QuoteDmo","QuoteDocumentCreationEvent","QuoteProductDmo","QuoteSaveEvent","RbtClmHdrPromTctcKpiCalcEvnt","RealEstatePropertyDmo","RealTimeClassificationModel","RebateClaimDmo","RebateMemberProductAggregateDmo","RebatePaymentDmo","RebatePayoutSnapshot","RebatePgmRbtTypeBnftMappingDmo","RebatePrgmMbrPayoutAdjustmentDmo","RebateProgramDmo","RebateProgramMemberDmo","RebateProgramMemberPayoutDmo","RebateProgramPayoutPeriodDmo","RebateProgramRbtTypBenefitDmo","RebateProgramRbtTypFilterDmo","RebateProgramRbtTypPayoutDmo","RebateProgramRbtTypPayoutSrcDmo","RebateProgramRbtTypeProductDmo","RebateProgramRebateTypeDmo","RecActorFeedGenEvent","ReceivedDocumentDmo","RecommenderStatusChgEvent","RecordActionSelectableItemExtractDmo","RecordAggregationLog","RecordAggregationResultDmo","RecordAlertDmo","RecruitmentContentSectionDmo","RecruitmentPostingContentSectionDmo","RecruitmentPostingDmo","RecruitmentRequisitionDmo","RecruitmentRequisitionLocationDmo","RecruitmentRequisitionParticipantDmo","RecurrenceScheduleDmo","ReferenceDataLoadLogDmo","ReferralDmo","RefrigerantEmissionFactorDmo","RegClCmplControlVerDmo","RegClCmplPlcyClVerDmo","RegulationClauseDmo","RegulationClauseVersionDmo","RegulationDmo","RegulatoryAuthTypeProductDmo","RegulatoryAuthorityDmo","RegulatoryAuthorizationTypeDmo","RegulatoryCodeAssessmentIndDmo","RegulatoryCodeDmo","RegulatoryCodeRelationDmo","RegulatoryCodeViolationDmo","RegulatoryTransactionFeeDmo","RegulatoryTransactionFeeItemDmo","RelaAnlssNodeDmo","RelaAnlssNodeRelaDmo","RelaAnlssNodeRelaEvidDmo","RelaAnlssSourceDmo","RelationshipAnalysisDmo","RelationshipGraphView","ReminderRecord","RemoteMetadataReplayEvent","RentalCarEmissionsF
559actorDmo","RentalCarEnergyUseDmo","ReportEventLog","ReportExportEventLog","ReportedConsumptionDmo","RequiredProductDmo","RequiredSkillDmo","ResearchStudyCandidateDmo","ResearchStudyCandidateIdentifierDmo","ResearchStudyCandidateStatusPeriodDmo","ResearchStudyDmo","ResearchStudyIdentifierDmo","ResearchStudyProtocolDefinitionDmo","ResearchStudyRelationshipDmo","ResourceWorkShiftDmo","RestApiEventLog","RetailStoreDmo","RetailStoreGroupAssignmentDmo","RetailStoreGroupDmo","RetailStoreProductDmo","RetailVisitKPIDmo","ReturnOrderDmo","ReturnOrderProdPriceAdjDmo","ReturnOrderProductDmo","ReturnOrderProductTaxDmo","RevenueTransactionErrorLogDmo","RgltyCodeRegClauseVerDmo","RgltyCodeViolRegClVerDmo","RiskCmplCtlVersionDmo","RiskDmo","RiskEvalSurveyInvtDmo","RiskEvaluationDmo","Rule","RuleAction","RuleActionParameter","RuleCondition","RuleDeploymentRequestEvent","RuleExpression","RuleExpressionTerm","RuleFilterCriteria","RuleLibraryContextTag","RuleLibraryVersionSnapshot","RuleReferenceVariable","RuleValue","RuleVersion","RuleVersionSnapshot","Ruleset","RulesetVersion","RulesetVersionSnapshot","RuntimeCatalogIndexSetting","RuntimeCatalogSnapshot","RuntimeCatalogSnapshotIndex","SMSPublicationDmo","SMSTemplateDmo","SalesAgentAsyncHandoff","SalesAgreementDmo","SalesAgreementProdScheduleDmo","SalesAgreementProductDmo","SalesChannelDmo","SalesModelDmo","SalesOrderChangeLogDmo","SalesOrderDeliveryGroupDmo","SalesOrderDmo","SalesOrderPaymentSummaryDmo","SalesOrderPriceAdjustmentDmo","SalesOrderProductDmo","SalesOrderProductEngagementDmo","SalesOrderProductPriceAdjustmentDmo","SalesOrderProductPriceAdjustmentTaxDmo","SalesOrderProductTaxDmo","SalesStoreDmo","SalesTerritoryAccountProdtMsgScoreDmo","SalesTerritoryAccountRcmdActionDmo","SalesTerritoryAccountScoreDmo","SalesTerritoryBusinessPlanDmo","SalesTerritoryDmo","SalesTransactionFulfillmentRequestDmo","SalesTrxnDecompositionEvent","SalesTrxnDeleteEvent","SalesTrxnItemPrcSht","SalesTrxnItemPrcShtShape","SalesforceLoginAsEventLog","SalesforcePayment","SandboxStatusEventLog","SavedApplicationReferenceDmo","SavedPaymentMethodEvent","ScheduledReminder","SchedulingPolicyDmo","Scope3CarbonFootprintDmo","Scope3EmissionsSourceDmo","Scope3ProcurementItemDmo","Scope3ProcurementSummaryDmo","SdbOvenPlanOverrideRequest","SdmChangeCompletedEvent","SearchBBRule","SearchBBRuleCondition","SearchCategoryPinningPin","SearchCategoryPinningRule","SearchClickEventLog","SearchEventLog","SearchIndexFieldConfig","SearchIndexJobStatusEvent","SearchIndexObjectConfig","SearchRecencyIndexingJob","SearchRecentQuery","SearchableReferenceDocumentDmo","SecuritySignalSrcWbhkEvent","SelfLearningCoverageInsight","SelfLearningCoverageRun","SelfLearningCoverageTask","SelfSvcFeatureUsage","SemanticModelChangeEvent","SequenceAssignedEvent","SequenceReconciliationState","ServiceAppointmentAssignedResourceDmo","ServiceAppointmentDmo","ServiceAppointmentEvent","ServiceAppointmentShift","ServiceCampaignDmo","ServiceCampaignMemberDmo","ServiceCampaignMemberItemDmo","ServicePresenceStatusDmo","ServiceProcProdtCatgProdtExtractDmo","ServiceProcessDefinitionDmo","ServiceRequestDmo","ServiceSchdRqstRsrcAssignmentDmo","ServiceSchdRqstRuleViolationDmo","ServiceScheduleRequestDmo","ServiceScheduleRqstAppointmentDmo","ServiceTerritoryDmo","ServiceTerritoryResourceDmo","SetupRecordShare","SfdcApiTotalUsageEventLogDmo","SfdcFldSvcMobileUxActvtyEventLogDmo","SfdcFldSvcMobileUxErrorEventLogDmo","SfdcFldSvcMobileUxLogEventLogDmo","SfdcLghtPageViewEventLogDmo","SfdcLoginEventLogDmo","SfdcReportEventLogDmo","SfdcUiAgentIntrctnEventLogDmo","ShipmentDmo","ShipmentProductDmo","ShippingCarrierDmo","ShippingCarrierMethodDmo","ShoppingCartDmo","ShoppingCartEngagementDmo","ShoppingCartEventTypeDmo","ShoppingCartProductEngagementDmo","ShoppingWishlistEngagementDmo","ShoppingWishlistItemEngagementDmo","SimpleTable1","SiqOrgMigrationStatus","SiteEventLog","SkillDmo","SlackAppDebugEvent","SlackChannelRefreshEvent","SlackChannelRelatedRecord","SoapApiEventLog","SocialContributionSummaryDmo","SocialMessageDmo","SocialMessageEngagementDmo","SocialPageDmo","SoftwareApplicationDmo","SolutionDeploymentStatus","SolutionDplymtStepStatus","SpecimenDmo","SprintDmo","SrvcMgmntRiskQstResponse","StagedEmail","StagedEmailMatchEvent","StagedRegulationClauseDmo","StagedRegulationDmo","StateProvinceDmo","StationaryAssetCarbonFootprintDmo","StationaryAssetEnergyUseDmo","StationaryAssetEnvSourceDmo","StationaryAssetWaterActivityDmo","StatsInvali
559dationEvent","StnryAssetWaterFootprintDmo","SubjectAssignmentDmo","SubjectCategoryDmo","SubjectDmo","Subscriber","SuccessTeamDmo","SuggestedAssessmentDefinitionDmo","SuggestedAssessmentReasonDmo","SurveyDmo","SurveyInvitationDmo","SurveyPageDmo","SurveyQuestionChoiceDmo","SurveyQuestionDmo","SurveyQuestionResponseDmo","SurveyQuestionScoreDmo","SurveyQuestionSectionDmo","SurveyResponseDmo","SurveyResponseStsChgEvent","SurveySubjectDmo","SurveyVersionDmo","SustainabilityScorecardDmo","SvcMgmtProacAgntUpdtEvnt","SvcSchdRequestTerrSummaryDmo","TaskDmo","TaxDisclosureSummaryDmo","TaxDmo","TaxPolicyDmo","TaxTreatmentDmo","TeamDmo","TeamMemberDmo","TelematicsProviderDmo","TelemetryLogDmo","TelemetryMetricsDmo","TelemetryTraceSpanDmo","TenantBillingUsageEvent","TenantConsumptionInsightsDmo","TenantPvsnLicConsumption","TenantPvsnProdtLicMap","TenantPvsnProduct","TerritoryModelDmo","TimePeriodDmo","TraceSpanEvent","TradeInTenderDmo","TransactionSecurityEventLog","UiAgentInteractionEventLog","UiTelemetryNavTmEventLog","UiTelemetryRsrcTmEventLog","UmaHighScaleData","UnifiedAnalyticsMonEvent","UniqueQueryEventLog","UnitOfMeasureDmo","UnitOfMeasureUnit","UnitofMeasureConversionDmo","UniversalAnomalyEvent","UriEventLog","UserDevopsPreference","UserDmo","UserGroupDmo","UserGroupRelationshipDmo","UserRoleDmo","UserSalesTerritoryDmo","VehicleAssetCarbonFootprintDmo","VehicleAssetEmissionsSourceDmo","VehicleAssetEnergyUseDmo","VehicleDefinitionDmo","VehicleDmo","VehiclePerformanceSummaryDmo","VehicleTelematicsEventDmo","VehicleTelematicsEventFaultCdMapDmo","VehicleTripDmo","VehicleTripDriverBehaviorDmo","VettingEvaluationDmo","VideoCallDmo","VideoCallInsight","VideoCallInsightAction","VideoCallInsightReason","ViolationEnforcementActionDmo","ViolationTypeAssessmentIndDmo","ViolationTypeDmo","ViolationTypeRelationDmo","VisitDmo","VisitorDmo","VisualforceRequestEventLog","VoiceCallDmo","VoiceCallEngagementDmo","VoiceCallInsight","VoiceCallInsightAction","VoiceCallInsightReason","VoiceCallRecCmplEvent","VoiceCallTranscript","VolunteerInitiativeDmo","VoucherDefinitionDmo","VoucherDmo","VoucherStatusChangedEvent","WarrantyTermDmo","WasteFootprintDmo","WebCartActivity","WebEventEngagementSummaryDmo","WebPageEngagementSummaryDmo","WebPushMessageSubscription","WebSearchEngagementDmo","WebStoreCMS","WebStoreDmo","WebStoreLegalBody","WebStoreMetaConfiguration","WebStoreProductCatalogDmo","WebStoreUserCreatedEvent","WebpageDmo","WebsiteDmo","WebsiteEngagementDmo","WebsiteEventDmo","WebsiteItemEngagementDmo","WebsitePublicationDmo","WebsiteSourceDmo","WebsiteWebStoreDmo","WorkItemEvent","WorkOrderDmo","WorkOrderItemDmo","WorkResourceAbsenceDmo","WorkResourceDmo","WorkResourceSkillDmo","WorkTypeDmo","WorkTypeGroupRoleDmo","WorkerCompensationCoverageClassDmo","WorkflowSLAAction","YourAccountDataEvent"]);e.UIAPI_DENIED_ENTITY_API_NAMES=o,e.UIAPI_SUPPORTED_ENTITY_API_NAMES=t,e.isSupportedEntity=function(e){return t.has(e)||!o.has(e)},Object.defineProperty(e,"__esModule",{value:!0})});
560})();(function() { LWR.define("force/ldsAdaptersUiapi",["exports","force/ldsBindings","force/ldsEngineWebruntime","force/luvioEngine","force/uiApiEnabledCheck"],function(e,t,r,n,o){var a,i,s,c,l,u,d,p,f,m,g;!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(a||(a={})),Promise.resolve(),function(e){e[e.RESOURCE_NOT_FOUND=404]="RESOURCE_NOT_FOUND"}(i||(i={})),function(e){e.Error="error"}(s||(s={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(c||(c={})),function(e){e[e.Found=0]="Found",e[e.Error=1]="Error",e[e.Null=2]="Null",e[e.NotPresent=3]="NotPresent",e[e.Stale=4]="Stale"}(l||(l={})),function(e){e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.NoContent=204]="NoContent",e[e.NotModified=304]="NotModified",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.ServerError=500]="ServerError",e[e.GatewayTimeout=504]="GatewayTimeout"}(u||(u={})),function(e){e.Link="Link",e.Node="Node",e.Error="Error",e.Locked="Locked"}(d||(d={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(p||(p={})),function(e){e[e.Missing=0]="Missing",e[e.Success=1]="Success",e[e.Error=2]="Error"}(f||(f={})),f.Missing,function(e){e[e.UrlParameter=0]="UrlParameter",e[e.QueryParameter=1]="QueryParameter",e[e.Body=2]="Body",e[e.Header=3]="Header"}(m||(m={})),function(e){e[e.String=0]="String",e[e.Boolean=1]="Boolean",e[e.Number=2]="Number",e[e.Integer=3]="Integer",e[e.Unsupported=4]="Unsupported"}(g||(g={}));const{keys:y,create:h}=Object,{assign:v,create:b,freeze:P,isFrozen:k,keys:A}=Object;function R(e){return"string"==typeof e}function S(e,t=!1){if(R(e)){const r=e.trim();if(r.length>0&&(!t||r.indexOf(".")>-1))return r}else if(function(e){if("object"!=typeof e||null===e)return!1;const t=e;return R(t.objectApiName)&&R(t.fieldApiName)}(e))return e.objectApiName+"."+e.fieldApiName}let I=class{constructor(){this.getAdapter=()=>this.adapter,this.setAdapter=e=>{this.adapter=e},this.adapter=void 0}},N=new I,T=new I,C=new I,L=new I,_=new I,F=new I,w=new I;const j=new I,E=new I,q=new I,O=new I,x=new I,B=new I,U=new I,D=new I,M=new I,V=new I,z=new I,K=new I,W=new I,$=new I;j.getAdapter,j.setAdapter,E.getAdapter,E.setAdapter,q.getAdapter,q.setAdapter,O.getAdapter,O.setAdapter,x.getAdapter,x.setAdapter,B.getAdapter,B.setAdapter,U.getAdapter,U.setAdapter,D.getAdapter,D.setAdapter,M.getAdapter,M.setAdapter,V.getAdapter,V.setAdapter,z.getAdapter,z.setAdapter,
560K.getAdapter,K.setAdapter,W.getAdapter,W.setAdapter,$.getAdapter,$.setAdapter;N.getAdapter,N.setAdapter,T.getAdapter,T.setAdapter,C.getAdapter,C.setAdapter,L.getAdapter,L.setAdapter,_.getAdapter,_.setAdapter,F.getAdapter,F.setAdapter,w.getAdapter,w.setAdapter;let Q=new I,G=new I;function J(e){const t=typeof e;return Array.isArray(e)?e.every(e=>"string"==typeof e):null===e||"string"===t||"number"===t||"boolean"===t}function H(e,t,r){const n=X(),o=e.fields;let a;r&&(a=r.fields);const i=A(o);for(let e=0,r=i.length;e<r;e++){const r=i[e],s=o[r].value;if(J(s))if(a&&t){const e=a[r];e&&t(e)&&(n.fields[r]=s)}else n.fields[r]=s}return n}function X(){return{apiName:void 0,fields:{}}}function Z(e){return"object"==typeof e&&null!==e&&("value"in e&&"displayValue"in e)}function Y(e,t){const r=S(t);if(void 0===r)return;const n=function(e){const t=e.indexOf(".");if(t<1)throw new TypeError("Value does not include an object API name.");return[e.substring(0,t),e.substring(t+1)]}(r)[1],o=n.split(".");let a=e;for(;a&&a.fields;){const e=o.shift(),t=a.fields[e];if(void 0===t)return;if(!(o.length>0))return t;a=t.value}return a}function ee(e,t,r,n){let o=0,a=Date.now();const i=n&&n.allowFunction?n.allowFunction:()=>{},s=n&&n.dropFunction?n.dropFunction:()=>{};return(...n)=>{const c=Date.now();return c-a<=t?o<e?(o+=1,i(),r(...n)):void s():(a=c,o=1,i(),r(...n))}}Q.getAdapter,Q.setAdapter,G.getAdapter,G.setAdapter,h(null),h(null),P({name:"",children:{}});class te{constructor(){this.getAdapter=()=>this.adapter,this.setAdapter=e=>{this.adapter=e},this.adapter=void 0}}let re,ne,oe,ae=new te,ie=new te,se=new te,ce=new te,le=new te,ue=new te,de=new te,pe=5,fe=5,me=5,ge=!1,ye=!1,he=!1;const ve={setGetObjectInfoAdapter:function(e){re=e},getGetObjectInfoAdapter:function(){return re},setGetObjectInfosAdapter:function(e){ne=e},getGetObjectInfosAdapter:function(){return ne}};function be(e,t){return t??e}const Pe=new te,ke=new te,Ae=new te,Re=new te,Se=new te,Ie=new te,Ne=new te,Te=new te,Ce=new te,Le=new te,_e=new te,Fe=new te,we=new te,je=new te,Ee={getKeywordSearchResultsAdapterFactory:Pe.getAdapter,setGetKeywordSearchResultsAdapterFactory:Pe.setAdapter,getListRecordsByNameAdapterFactory:ke.getAdapter,setGetListRecordsByNameAdapterFactory:ke.setAdapter,getListUiAdapterFactory:Ae.getAdapter,setGetListUiAdapterFactory:Ae.setAdapter,getLookupRecordsAdapterFactory:Re.getAdapter,setGetLookupRecordsAdapterFactory:Re.setAdapter,getQuickActionDefaultsAdapterFactory:Se.getAdapter,setGetQuickActionDefaultsAdapterFactory:Se.setAdapter,getRecordCreateDefaultsAdapterFactory:Ie.getAdapter,setGetRecordCreateDefaultsAdapterFactory:Ie.setAdapter,getRecordTemplateCloneAdapterFactory:Ne.getAdapter,setGetRecordTemplateCloneAdapterFactory:Ne.setAdapter,getRecordTemplateCreateAdapterFactory:Te.getAdapter,setGetRecordTemplateCreateAdapterFactory:Te.setAdapter,getRecordUiAdapterFactory:Ce.getAdapter,setGetRecordUiAdapterFactory:Ce.setAdapter,getRecordAdapterFactory:Le.getAdapter,setGetRecordAdapterFactory:Le.setAdapter,getRecordsAdapterFactory:_e.getAdapter,setGetRecordsAdapterFactory:_e.setAdapter,getRelatedListRecordsAdapterFactory:Fe.getAdapter,setGetRelatedListRecordsAdapterFactory:Fe.setAdapter,getRelatedListRecordsBatchAdapterFactory:we.getAdapter,setGetRelatedListRecordsBatchAdapterFactory:we.setAdapter,getSearchResultsAdapterFactory:je.getAdapter,setGetSearchResultsAdapterFactory:je.setAdapter},qe={setTrackedFieldDepthOnCacheMiss:function(e){pe=e},getTrackedFieldDepthOnCacheMiss:function(){return pe},setTrackedFieldDepthOnCacheMergeConflict:function(e){fe=e},getTrackedFieldDepthOnCacheMergeConflict:function(){return fe},setTrackedFieldDepthOnNotifyChange:function(e){me=e},getTrackedFieldDepthOnNotifyChange:function(){return me},setTrackedFieldLeafNodeIdAndNameOnly:function(e){ge=e},getTrackedFieldLeafNodeIdAndNameOnly:function(){return ge},setRelatedListsPredictionsEnabled:function(e){ye=e},areRelatedListsPredictionsEnabled:function(){return!0===ye},setRelatedListsPlusPredictionsEnabled:function(e){he=e},areRelatedListsPlusPredictionsEnabled:function(){return!0===he},setRecordRepresentationIngestionOverride:function(e){oe=e},getRecordRepresentationIngestionOverride:function(){return oe},getDraftAwareCreateRecordAdapter:ae.getAdapter,setDraftAwareCreateRecordAdapter:ae.setAdapter,getDraftAwareUpdateRecordAdapter:ie.getAdapter,setDraftAwareUpdateRecordAdapter:ie.setAdapter,getDraftAwareDeleteRecordAdapter:se.getAdapter,setDraftAwareDeleteRecordAdapter:se.setAdapter,getDraftAwarePerformQuickActionAdapter:ce.getAdapter,setDraftAwarePerformQuickActionAdapter:ce.setAdapter,getDraftAwarePerformUpdateRecordQuickActionAdapter:le.getAdapter,setDraftAwarePerformUpdateRecordQuickActionAdapter:le.setAdapter,getDraftAwareCreateContentDocumentAndVersionAdapter:ue.getAdapter,setDraftAwareCreateContentDocumentAndVersionAdapter:ue.setAdapter,getDraftAwareCreateContentVersionAdapter:de.getAdapter,setDraftAwareCreateContentVersionAdapter:de.setAdapter,...ve,...Ee};
560let Oe=new te,xe=new te;const Be={getDraftAwareGraphQLAdapter:Oe.getAdapter,setDraftAwareGraphQLAdapter:Oe.setAdapter,getEnvironmentAwareGraphQLBatchAdapter:xe.getAdapter,setEnvironmentAwareGraphQLBatchAdapter:xe.setAdapter},Ue=new Set;let De={recordConflictsResolved:e=>{},nullDisplayValueConflict:e=>{},getRecordNotifyChangeAllowed:()=>{},getRecordNotifyChangeDropped:()=>{},notifyRecordUpdateAvailableAllowed:()=>{},notifyRecordUpdateAvailableDropped:()=>{},recordApiNameChanged:(e,t)=>{},recordTypeIdIsNull:e=>{},weakEtagZero:(e,t,r)=>{},getRecordNotifyChangeNetworkResult:(e,t)=>{}};function Me(e){De=Object.assign(De,e)}const Ve=new Map;function ze(e,t,r){return(n,o)=>{const a=function(e){return Ve.get(e)}(t),i=e(n,o);return null===i||void 0===a||o&&o.excludeFromPredictions||a.saveRequest({adapterName:r,config:n}),i}}function Ke(e,t,r){return qe.areRelatedListsPredictionsEnabled()?ze(e,t,r):(t,r)=>e(t,r)}function We(e,t,r){return qe.areRelatedListsPlusPredictionsEnabled()?ze(e,t,r):(t,r)=>e(t,r)}const{hasOwnProperty:$e}=Object.prototype,{keys:Qe,create:Ge}=Object,{stringify:Je}=JSON,{isArray:He}=Array,{push:Xe}=Array.prototype;function Ze(e){return"object"==typeof e&&null!==e&&!1===He(e)}function Ye(e,t){return t.parameters.required.every(t=>t in e)}const et={overrides:{headers:{"Cache-Control":"no-cache"}}};function tt(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return Je(e);let t,r;if(He(e)){for(r="[",t=0;t<e.length;t++)t&&(r+=","),r+=tt(e[t])||"null";return r+"]"}if(null===e)return"null";const n=Qe(e).sort();for(r="",t=0;t<n.length;t++){const o=n[t],a=tt(e[o]);a&&(r&&(r+=","),r+=Je(o)+":"+a)}return"{"+r+"}"}function rt(e){switch(e){case 200:return"OK";case 201:return"Created";case 304:return"Not Modified";case 404:return"Not Found";case 400:return"Bad Request";case 500:return"Server Error";default:return`Unexpected HTTP Status Code: ${e}`}}function nt(e){return"Unfulfilled"===e.state}function ot(e,t,r,n,o=!1,a){return{name:e,required:t,resourceType:r,typeCheckShape:n,isArrayShape:o,coerceFn:a}}function at(e,t){return{displayName:e,parameters:{required:t.filter(e=>e.required).map(e=>e.name),optional:t.filter(e=>!e.required).map(e=>e.name)}}}const it="UiApi",{assign:st,create:ct,freeze:lt,isFrozen:ut,keys:dt}=Object,{hasOwnProperty:pt}=Object.prototype,{split:ft,endsWith:mt}=String.prototype,{isArray:gt}=Array,{concat:yt,filter:ht,includes:vt,push:bt,reduce:Pt}=Array.prototype,{parse:kt,stringify:At}=JSON;function Rt(e){return"string"==typeof e}function St(e){return 0!==e.length&&e.every(e=>Rt(e)&&e.trim().length>0)}function It(e){const t={};for(let r=0,n=e.length;r<n;r+=1)t[e[r]]=!0;return dt(t)}function Nt(e){if("string"==typeof e){const t=e.trim();if(t.length>0)return t}else if("object"==typeof(t=e)&&null!==t&&Rt(t.objectApiName))return e.objectApiName.trim();var t}function Tt(e){if("object"!=typeof e||null===e)return!1;const t=e;return Rt(t.objectApiName)&&Rt(t.fieldApiName)}function Ct(e){return Tt(e)?e:function(e){const t=e.split(".");return{objectApiName:t[0],fieldApiName:t[1]}}(e)}function Lt(e,t=!1){if(Rt(e)){const r=e.trim();if(r.length>0&&(!t||r.indexOf(".")>-1))return r}else if(Tt(e))return e.objectApiName+"."+e.fieldApiName}function _t(e,t={onlyQualifiedFieldNames:!1}){const r=gt(e)?e:[e],n=[];for(let e=0,o=r.length;e<o;e+=1){const o=Lt(r[e],t.onlyQualifiedFieldNames);if(void 0===o){if(t.onlyQualifiedFieldNames)continue;return}bt.call(n,o)}if(0!==n.length)return It(n).sort()}const{keys:Ft,create:wt,assign:jt}=Object,{isArray:Et}=Array,{stringify:qt}=JSON;function Ot(e,t,r){const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(!1===r(e[o],t[o]))return!1;return!0}function xt(e,t,r){const n=Ft(e).sort(),o=Ft(t).sort();if(n.length!==o.length)return!1;for(let a=0;a<n.length;a++){const i=n[a];if(i!==o[a])return!1;if(!1===r(e[i],t[i]))return!1}return!0}function Bt(e){return{__ref:n.serializeStructuredKey(e)}}function Ut(e,t){e.__metadata=Bt(t)}function Dt(e,t){if(e.objectApiName!==t.objectApiName)return!1;if(e.type!==t.type)return!1;if(e.id!==t.id)return!1;return e.listViewApiName===t.listViewApiName}const Mt="64e2cac6d374ad92f491a9f8a952c6c3",Vt="ListColumnRepresentation";function zt(e,t,r,n,o,a){return e}function Kt(e,t){return qt(t)===qt(e)}const Wt=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,zt,"UiApi",Mt,Vt,Kt),Bt(i)};function $t(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Vt,mergeable:!1})}const Qt=function(e,t){return Xt(e,{listViewApiName:t.listReference.listViewApiName?t.listReference.listViewApiName.toLowerCase():t.listReference.listViewApiName,objectApiName:t.listReference.objectApiName.toLowerCase(),type:t.listReference.type})},Gt=9e5,Jt="5adf17d38be03c0f71b1c52485b377a6",Ht="ListInfoRepresentation";function Xt(e,t){return it+"::"+Ht+":"+(null===t.listViewApiName?"":t.listViewApiName)+":"+t.objectApiName+":"+t.type}function Zt(e,t,r,n,o,a){const i=e.displayColumns,s=r.fullPath+"__displayColumns";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Wt(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const Yt=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"623aa9ce3a11031e35faf5671a41746e",private:[],selections:[{name:"fieldApiName",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"operandLabels",kind:"Scalar",plural:!0},{name:"operator",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"f98dc7dec10408a9648ef8e5b37002a3",private:[],selections:[{name:"message",kind:"Scalar"},{name:"state",kind:"Scalar"}]},{selections:o,opaque:a}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]},{selections:i,opaque:s}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"f1519bef57e70ab7c5ef160dc5ff0c47",private:[],selections:[{name:"label",kind:"Scalar"},{name:"shareApiName",kind:"Scalar"}]};return{kind:"Fragment",version:"561657f32721ec1dac1601575b029640",private:[],selections:[{name:"shareType",kind:"Scalar"},{name:"shares",kind:"Object",plural:!0,selections:e}]}}(),{selections:c,opaque:l}={kind:"Fragment",version:"32def9b631252c12b91a8209c1f49f5a",private:[],selections:[{name:"fieldApiName",kind:"Scalar"},{name:"isAscending",kind:"Scalar"},{name:"label",kind:"Scalar"}]},{selections:u,opaque:d}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"2634258f216db34315c06d759a35676d",private:[],selections:[{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"3b85c5a08d50ce328481b9f8ab56127b",private:[],selections:[{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",version:"2fe9814e7124b47f59da585483c1b3f9",private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"entity",kind:"Object",nullable:!0,selections:e},{name:"label",kind:"Scalar"},{name:"relatedEntity",kind:"Object",nullable:!0,selections:r}]}}(),{selections:p,opaque:f}={kind:"Fragment",version:"6506134f4d72fdfa349fe60ef1af2413",private:[],selections:[{name:"columnWidths",kind:"Scalar",map:!0},{name:"columnWrap",kind:"Scalar",map:!0}]};return{kind:"Fragment",version:Jt,private:["eTag"],selections:[{name:"cloneable",kind:"Scalar"},{name:"createable",kind:"Scalar"},{name:"deletable",kind:"Scalar"},{name:"displayColumns",kind:"Link",plural:!0,fragment:{kind:"Fragment",version:Mt,private:[],opaque:!0}},{name:"filterLogicString",kind:"Scalar"},{name:"filteredByInfo",kind:"Object",plural:!0,selections:e},{name:"hasMassActions",kind:"Scalar",required:!1},{name:"inlineEditDetails",kind:"Object",selections:r},{name:"label",kind:"Scalar"},{name:"listReference",kind:"Object",selections:o},{name:"listShares",kind:"Object",plural:!0,selections:i},{name:"objectApiNames",kind:"Scalar",plural:!0},{name:"orderedByInfo",kind:"Object",plural:!0,selections:c},{name:"scope",kind:"Object",nullable:!0,selections:u},{name:"searchable",kind:"Scalar"},{name:"updateable",kind:"Scalar"},{name:"userPreferences",kind:"Object",selections:p},{name:"visibility",kind:"Scalar"},{name:"visibilityEditable",kind:"Scalar"}]}};function er(e,t){return e.eTag===t.eTag}const tr=function(e,t,r,o,a){const i=Qt(r,e),s=Gt;return n.ingestShape(e,t,r,o,a,s,i,Zt,"UiApi",Jt,Ht,er),Bt(i)};function rr(e,t,r,n){const o=Qt(t,r);e.set(o,{namespace:it,representationName:Ht,mergeable:!1});const a=r.displayColumns.length;for(let t=0;t<a;t++)$t(e,0,r.displayColumns[t],()=>"")}function nr(e){if(Rt(e)){if(18===e.length)return e;if(15===e.length){let t=e;for(let r=0;r<15;
560r+=5){let n=0;for(let t=0;t<5;t++){const o=e[r+t];o>="A"&&o<="Z"&&(n+=1<<t)}t+="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456"[n]}return t}}else if(null==e)return}function or(e){const t=gt(e)?e:[e];if(0!==t.length&&St(t))return It(t).sort().map(e=>{return(t=e).charAt(0).toUpperCase()+t.slice(1).toLowerCase();var t})}function ar(e){const t=gt(e)?e:[e];if(0!==t.length&&St(t))return It(t).sort()}function ir(e,t){if(e.available!==t.available)return!1;if(e.defaultRecordTypeMapping!==t.defaultRecordTypeMapping)return!1;if(e.master!==t.master)return!1;if(e.name!==t.name)return!1;return e.recordTypeId===t.recordTypeId}const sr="2738fe8faf98ecd076d7c4df86fd5bf0",cr="FieldValueRepresentation";function lr(e,t,r,n,o,a){const i=e.value,s=r.fullPath+"__value";return Array.isArray(i)||null===i||"object"!=typeof i||(e.value=co(i,{fullPath:s,propertyName:"value",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)),e}const ur=function(){return{kind:"Fragment",version:sr,private:[],selections:[{name:"displayValue",kind:"Scalar"},{kind:"Object",name:"value",nullable:!0}]}};function dr(e,t){if(e.displayValue!==t.displayValue)return!1;const r=e.value,n=t.value;return!!(()=>{if(null===r||null===n)return r===n;if(Array.isArray(r)&&Array.isArray(n)){if(!1===Ot(r,n,(e,t)=>{if(e!==t)return!1}))return!1}else if(r!==n&&(null==r||null==n||null==r.__ref||null==n.__ref||r.__ref!==n.__ref))return!1;return!0})()}const pr=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,lr,"UiApi",sr,cr,dr),Bt(i)};function fr(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:cr,mergeable:!1}),Array.isArray(r.value)||null===r.value||"object"!=typeof r.value||mr(e,t,r.value)}const mr=(e,t,r,n)=>{const o=Lr(t,r);e.set(o,{namespace:it,representationName:Tr,mergeable:!0});const a=r.childRelationships,i=dt(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];kr(e,t,a[n],()=>o+"__childRelationships__"+n)}const c=r.fields,l=dt(c),u=l.length;for(let r=0;r<u;r++){const n=l[r];fr(e,t,c[n],()=>o+"__fields__"+n)}return e},gr="79cb5ac9f44542f683d00245fdfe500d",yr="RecordCollectionRepresentation";function hr(e,t,r,n,o,a){const i=e.records,s=r.fullPath+"__records";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=co(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const vr=function(){return{kind:"Fragment",version:gr,private:[],selections:[{name:"count",kind:"Scalar"},{name:"currentPageToken",kind:"Scalar"},{name:"currentPageUrl",kind:"Scalar"},{name:"nextPageToken",kind:"Scalar"},{name:"nextPageUrl",kind:"Scalar"},{name:"previousPageToken",kind:"Scalar"},{name:"previousPageUrl",kind:"Scalar"},{name:"records",kind:"Link",plural:!0,fragment:_r()}]}};function br(e,t){if(e.count!==t.count)return!1;if(e.currentPageUrl!==t.currentPageUrl)return!1;if(e.currentPageToken!==t.currentPageToken)return!1;if(e.nextPageToken!==t.nextPageToken)return!1;if(e.nextPageUrl!==t.nextPageUrl)return!1;if(e.previousPageToken!==t.previousPageToken)return!1;if(e.previousPageUrl!==t.previousPageUrl)return!1;return!1!==Ot(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Pr=function(e,t,r,o,a){const i=t.fullPath;return n.ingestShape(e,t,r,o,a,12e4,i,hr,"UiApi",gr,yr,br),Bt(i)};function kr(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:yr,mergeable:!1});const a=r.records.length;for(let n=0;n<a;n++)mr(e,t,r.records[n])}const Ar="Name",Rr=`${it}::RecordViewEntityRepresentation:${Ar}:`,Sr=function(e,t){const{apiName:r,id:n}=t;return r===Ar?Rr+n:Lr(e,t)},Ir=3e4,Nr="98c5b18512e48ca8d28727549507e4ba",Tr="RecordRepresentation";function Cr(e,t){return it+"::"+Tr+":"+t.recordId}function Lr(e,t){return Cr(0,{recordId:t.id})}const _r=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"d1e589a127fb1060c89070cdb6f500b2",private:[],selections:[{name:"available",kind:"Scalar"},{name:"defaultRecordTypeMapping",kind:"Scalar"},{name:"master",kind:"Scalar"},{name:"name",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"}]};return{kind:"Fragment",version:Nr,private:["eTag","weakEtag"],selections:[{name:"apiName",kind:"Scalar"},{name:"childRelationships",kind:"Link",map:!0,fragment:vr()},{name:"fields",kind:"Link",map:!0,fragment:ur()},{name:"id",kind:"Scalar"},{name:"lastModifiedById",kind:"Scalar"},{name:"lastModifiedDate",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"recordTypeInfo",kind:"Object",nullable:!0,selections:e},{name:"systemModstamp",kind:"Scalar"}]}},Fr=function(e){const t=void 0===e.childRelationships?{name:"childRelationships",kind:"Link",map:!0,fragment:vr()}:e.childRelationships,r=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:ur()}:e.fields,{selections:n,opaque:o}={kind:"Fragment",version:"d1e589a127fb1060c89070cdb6f500b2",private:[],selections:[{name:"available",kind:"Scalar"},{name:"defaultRecordTypeMapping",kind:"Scalar"},{name:"master",kind:"Scalar"},{name:"name",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"}]};return{kind:"Fragment",version:Nr,private:["eTag","weakEtag"],selections:[{name:"apiName",kind:"Scalar"},t,r,{name:"id",kind:"Scalar"},{name:"lastModifiedById",kind:"Scalar"},{name:"lastModifiedDate",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"recordTypeInfo",kind:"Object",nullable:!0,selections:n},{name:"systemModstamp",kind:"Scalar"}]}};function wr(e,t,r,n){const o=Sr(t,r);e.set(o,{namespace:it,representationName:Tr,mergeable:!1});const a=r.childRelationships,i=Ft(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];kr(e,t,a[n],()=>o+"__childRelationships__"+n)}const c=r.fields,l=Ft(c),u=l.length;for(let r=0;r<u;r++){const n=l[r];fr(e,t,c[n],()=>o+"__fields__"+n)}}const jr=e=>function(t){const r=t.map(e=>Cr(0,e));return e.notifyStoreUpdateAvailable(r)},Er="012000000000000AAA",qr={kind:"Scalar",name:"value"},Or={kind:"Scalar",name:"value",plural:!0},xr={kind:"Scalar",name:"displayValue"},Br="fields";function Ur(e,t=[]){const r={name:"<root>",optional:!1,scalar:!1,children:{}};return Kr(r,e,!1),Kr(r,t,!0),r}function Dr(e,t){const r=[],{children:n}=t,o=dt(n);for(let e=0,t=o.length;e<t;e+=1){const t=n[o[e]];let a;a=!0===t.scalar?qr:{kind:"Link",name:"value",nullable:!0,fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:Gr(t),version:Nr}};const i={kind:"Link",name:t.name,required:!0!==t.optional&&void 0,fragment:{kind:"Fragment",version:sr,private:[],selections:[xr,a]}};bt.call(r,i)}return{kind:"Object",name:e,selections:r}}function Mr(e){const t=[],r=dt(e);for(let n=0,o=r.length;n<o;n++){const o=r[n],{value:a}=e[o];let i=qr;Qr(a)?i={kind:"Link",name:"value",nullable:!0,fragment:{kind:"Fragment",private:[],selections:Hr(
560a),version:Nr}}:Array.isArray(a)&&(i=Or);const s={kind:"Link",name:o,required:void 0,fragment:{kind:"Fragment",version:sr,private:[],selections:[xr,i]}};bt.call(t,s)}return{kind:"Object",name:Br,selections:t}}function Vr(e){const t=[],r=dt(e.fields);for(let n=0,o=r.length;n<o;n++){const o=r[n],{value:a}=e.fields[o];if(Qr(a)){const e=Vr(a);for(let t=0,r=e.length;t<r;t++)e[t]=`${o}.${e[t]}`;bt.apply(t,e)}else bt.call(t,o)}return t}function zr(e){const{apiName:t}=e,r=Vr(e);for(let e=0,n=r.length;e<n;e++)r[e]=`${t}.${r[e]}`;return r}function Kr(e,t,r){for(let n=0,o=t.length;n<o;n++){const o=t[n].split(".");let a=e;for(let e=1,t=o.length;e<t&&e<=6;e++){const n=o[e];let i=a.children[n];if(void 0===i){const o=e===t-1;(e<=5||!0===o)&&(a.scalar=!1,i={name:n,scalar:o,optional:r,children:{}},a.children[n]=i)}a=i}}}const Wr={kind:"Object",name:"childRelationships"},$r={kind:"Object",opaque:!0,name:"drafts",required:!1};function Qr(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function Gr(e){return[...Fr({childRelationships:Wr,fields:Dr("fields",e)}).selections,$r]}function Jr(e,t=[]){return Gr(Ur(e,t))}function Hr(e){return[...Fr({childRelationships:Wr,fields:Mr(e.fields)}).selections,$r]}const Xr={representationName:"",namespace:it,ttl:Ir,version:"RECORD_REPRESENTATION_ERROR_VERSION_1"};function Zr(e){return!!e&&"Node"===e.type}function Yr(e){tn(e,"Id")}function en(e){tn(e,"Name")}function tn(e,t){void 0===e.children[t]&&(e.children[t]={name:t,children:{}})}function rn(e,t,r,n,o={},a=0){if(!Zr(t))return;if(pt.call(o,e))return;let i={...o,[e]:!0};const s=t.object("fields"),c=s.keys();let l=r;
560for(let e=0,t=c.length;e<t;e+=1){const t=c[e],r=s.link(t);let o=l.children[t];if(void 0===o){if(o={name:t,children:{}},r.isMissing()){l.children[t]=o;continue}const e=r.follow();if(!Zr(e))continue;const{maxDepth:s,onlyFetchLeafNodeIdAndName:c}=n;if(!1!==e.isScalar("value")||Array.isArray(e.data?.value)){if(a===s){if(!0===c){Yr(l),en(l);continue}if(null===e.scalar("value")&&!Array.isArray(e.data?.value))continue}const t=r.linkData();if(void 0!==t){const{fields:e}=t;if(vt.call(e,"ExternalId"))continue;for(let t=0,r=e.length;t<r;t+=1){const r=e[t];o.children[r]={name:r,children:{}}}}}else{if(a+1>s){!0===c&&(Yr(l),en(l));continue}const r=e.link("value"),u=r.follow();if(nn(u))continue;rn(r.data.__ref,u,o,n,i,a+1),0===dt(o.children).length&&(Yr(o),en(o)),l.children[t]=o}l.children[t]=o}}}function nn(e){return!(!Zr(e)||!e.isScalar("apiName"))&&mt.call(e.scalar("apiName"),"__x")}function on(e){return 0===dt(e.children).length?[]:an(e)}function an(e){const t=dt(e.children);return 0===t.length?""===e.name?[]:[e.name]:Pt.call(t,(t,r)=>yt.call(t,an(e.children[r]).map(t=>`${e.name}.${t}`)),[])}const sn=lt({name:"",children:{}}),cn=(e=[],t=!1,r)=>{if(0===e.length)return sn;const n={name:r||ln(e[0]),children:{},optional:t};return Kr(n,e.filter(e=>void 0===r||!t||e.startsWith(`${r}.`)),t),n},ln=e=>{const t=Lt(e);return void 0===t?"":function(e){const t=e.indexOf(".");if(t<1)throw new TypeError("Value does not include an object API name.");return[e.substring(0,t),e.substring(t+1)]}(t)[0]};function un(e,t){const r=e.children,n=t.children,o=dt(n);for(let e=0,t=o.length;e<t;e++){const t=o[e];void 0===r[t]?r[t]=n[t]:un(r[t],n[t])}}function dn(e,t,r,n){const o=void 0===n?[]:[...n];if(!Zr(t))return o;const a=t.scalar("apiName"),i={name:a,children:{}};rn(e,t,i,r);const s={name:a,children:{}};return Kr(s,o),un(i,s),on(i).sort()}function pn(e){return null===e.recordTypeId?Er:e.recordTypeId}function fn(e,t){if(!Zr(e))return;const r=e.scalar("apiName");for(let n=0,o=t.length;n<o;n++){const o=t[n].split(".");o[0]===r&&yn(e,o.slice(1))}}function mn(e,t){if(!Zr(e))return;const r=e.object("fields"),n=t.shift();if(r.isUndefined(n))return;const o=r.link(n),a=o.follow();if(Zr(a)&&(a.isScalar("value")||!Array.isArray(a.data?.value))&&t.length>0&&!ut(o.data)){const e=o.linkData(),r=void 0===e?[]:e.fields;o.writeLinkData({fields:It([...r,t.join(".")])})}}function gn(e,t){if(!Zr(e))return;const r=e.scalar("apiName");for(let n=0,o=t.length;n<o;n++){const o=t[n].split(".");o[0]===r&&mn(e,o.slice(1))}}function yn(e,t){if(!Zr(e))return;const r=e.object("fields"),n=t.shift();if(!0===r.isUndefined(n))return void hn(r,n);const o=r.link(n);if(o.isPending())hn(r,n);else if(t.length>0&&!1===o.isMissing()){const e=o.follow();if(!Zr(e))return;!1!==e.isScalar("value")||Array.isArray(e.data?.value)||yn(e.link("value").follow(),t)}}function hn(e,t){e.write(t,{__ref:void 0,isMissing:!0})}function vn(e,t){if(e.name!==t.name)return!1;const r=e.children,n=t.children,o=dt(r),a=dt(n),i=a.length;if(i>o.length)return!1;let s=!0;for(let e=0;e<i;e++){const t=a[e],o=r[t];if(void 0===o)return!1;s=s&&vn(o,n[t])}return s}function bn(e,t,r,n,o){const{body:a}=t,i=Hr(a),s=Cr(0,{recordId:r});e.storeIngest(s,n,a),so(e,o);return e.storeLookup({recordId:s,node:{kind:"Fragment",private:[],selections:i,version:Nr},variables:{}})}function Pn(e,t,r){const n={...e.fields},o={...e,fields:n},a=dt(t.fields);for(let t=0,o=a.length;t<o;t+=1){const o=a[t];if(void 0===e.fields[o]){if(Zr(r)){const e=r.object("fields").link(o),t=e.follow();if(Zr(t)&&!1===t.isScalar("value")&&!Array.isArray(t.data?.value)){if(nn(t.link("value").follow()))continue}const n=e.linkData();if(void 0!==n){const{fields:e}=n;if(vt.call(e,"ExternalId"))continue}}n[o]={__ref:void 0,pending:!0}}}return o}function kn(e,t,r,n){const a=Cr(0,{recordId:t.id}),i=e.wrapNormalizedGraphNode(t,a),s=e.wrapNormalizedGraphNode(r,a),c={name:t.apiName,children:{}},l={name:r.apiName,children:{}},u={maxDepth:qe.getTrackedFieldDepthOnCacheMergeConflict(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()};return rn(a,i,c,u),rn(a,s,l,u),t.weakEtag>r.weakEtag?function(e,t,r,n,a,i){return!1===vn(r,n)?!1===o.isSupportedEntity(e.apiName)?Rn(e,t):(a.conflicts[e.id]={recordId:e.id,trackedFields:n},Pn(e,t,i)):e}
560(t,r,c,l,n,s):function(e,t,r,n,a,i,s){if(!1===vn(a,n)){if(!1===o.isSupportedEntity(t.apiName))return Rn(r,t);const a=Pn(r,t,s);return i?i.conflicts[t.id]={recordId:t.id,trackedFields:n}:$n(e,{recordId:t.id,optionalFields:on(n)}),a}return r}(e,t,r,c,l,n)}function An(e,t){return null===e?t:e}function Rn(e,t){const r=An(e.lastModifiedDate,t.lastModifiedDate),n=An(e.lastModifiedById,t.lastModifiedById),o=An(e.systemModstamp,t.systemModstamp);return{...e,fields:{...t.fields,...e.fields},lastModifiedDate:r,lastModifiedById:n,systemModstamp:o}}function Sn(e){return`UiApi::RecordRepresentationDependency:${e.recordId}`}function In(e,t,r,n){if(void 0===e)return t;!function(e,t,r){const n=t.value;if(null!==e.displayValue&&null===t.displayValue&&null!==n){t.displayValue=e.displayValue;const o="object"==typeof n;De.nullDisplayValueConflict({entityName:r.parent.data.apiName,fieldName:r.propertyName,fieldType:o?"spanning-record":"scalar",areValuesEqual:o?void 0:n===e.value})}}(e,t,n);const{value:o}=t;if(null===o||void 0===o.__ref){const r=n.parent;if(void 0===r.existing)return t;if(r.existing.weakEtag>r.data.weakEtag)return e}return t}function Nn(e,t,r){return(n,o,a,i,s)=>{const c=o.fullPath;let l=i.readEntry(c),u=function(e,t,r,n,o,a,i,s,c){const l=e.value,u=r.fullPath+"__value";if(null!==l&&"object"==typeof l&&!Array.isArray(l)){const d=_n(i,s,c);e.value=d(l,{fullPath:u,propertyName:"value",parent:{data:e,key:r.fullPath,existing:t}},n,o,a)}return e}(n,i.readEntry(c),{fullPath:c,parent:o.parent,propertyName:o.propertyName},a,i,s,e,t,r);return l=i.readEntry(c),u=In(l,u,0,o),void 0!==l&&!1!==dr(l,u)||a.storePublish(c,u),Bt(c)}}function Tn(e,t){const r=e.children[t];return void 0===r?sn:r}function Cn(e,t,r){return(n,o,a,i,s)=>{const c=o.propertyName,l=Tn(e,c),u=Tn(t,c),d=Nn(l,u,r)(n,o,a,i,s);return null===n.value&&function(e,t,r){let n=[];const o=[];e&&bt.call(o,e),t&&bt.call(o,t);for(let e=0;e<o.length;e++){const t=o[e],r=dt(t.children);for(let e=0;e<r.length;e++){const o=r[e],a=t.children[o];a&&(n=[...n,...an(a)])}}n=It(n),n.length>0&&(r.data={fields:n})}(l,u,d),d}}function Ln(e,t,r){return n={childRelationships:Pr,fields:Cn(e,t,r)},function(e,t,r,o,a,i){const s=e.childRelationships,c=r.fullPath+"__childRelationships",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=n.childRelationships(p,{fullPath:f,propertyName:u,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)}const d=e.fields,p=r.fullPath+"__fields",f=Object.keys(d),m=f.length;for(let s=0;s<m;s++){const c=f[s],l=d[c],u=p+"__"+c;d[c]=n.fields(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)}return e};var n}const _n=(e,t,r)=>{const n=Ln(e,t,r);return(e,t,o,a,i)=>{e.eTag="";const s=Sr(o,e);let c=a.readEntry(s);const l={fullPath:s,parent:t.parent,propertyName:t.propertyName};let u=n(e,c,l,o,a,i);return c=a.readEntry(s),u=function(e,t,r,n,o){if(void 0===e||"error"===e.__type)return t;if(t.recordTypeId!==e.recordTypeId){null!==t.recordTypeId&&void 0!==t.recordTypeId&&null!==e.recordTypeId&&void 0!==e.recordTypeId||De.recordTypeIdIsNull(t.apiName);const n=Sn({recordId:e.id}),o=r.getNode(n);if(Zr(o)){const e=o.retrieve();if(null!==e){const t=dt(e);for(let e=0,n=t.length;e<n;e++)r.storeEvict(t[e])}}}e.apiName!==t.apiName&&De.recordApiNameChanged(t.apiName,e.apiName);const a=0===t.weakEtag,i=0===e.weakEtag;return(a||i)&&De.weakEtagZero(a,i,t.apiName),a||i||t.weakEtag===e.weakEtag?Rn(t,e):kn(r,t,e,o)}(c,u,o,0,r),void 0!==c&&!1!==function(e,t){if(e.weakEtag!==t.weakEtag)return!1;if(e.apiName!==t.apiName)return!1;if(e.eTag!==t.eTag)return!1;if(e.id!==t.id)return!1;if(!1===xt(e.childRelationships,t.childRelationships,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(!1===xt(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(e.lastModifiedById!==t.lastModifiedById)return!1;if(e.lastModifiedDate!==t.lastModifiedDate)return!1;if(e.recordTypeId!==t.recordTypeId)return!1;const r=e.recordTypeInfo,n=t.recordTypeInfo;return!!(r===n||null!=r&&null!=n&&ir(r,n))&&e.systemModstamp===t.systemModstamp}(c,u)&&void 0===c.drafts||o.storePublish(s,u),o.publishStoreMetadata(s,{ttl:Ir,representationName:Tr,namespace:it,version:Nr,ingestionTimestamp:i}),Bt(s)}};function Fn(e){const{fields:t,optionalFields:r,trackedFields:n,serverRequestCount:o=1}=e,a={conflicts:{},serverRequestCount:o},i=_n(t,r,a);return(e,t,r,o,s)=>{const c=i(e,t,r,o,s);so(r,a);return fn(r.getNode(c.__ref),on(n)),c}}function wn(e,t){const{queryParams:r,headers:n,basePath:o,baseUri:a,urlParam
560s:i}=t,{basePath:s,baseUri:c,headers:l,urlParams:u}=e,d=`${a}${o}`,p=`${c}${s}`;if(void 0!==r.layoutTypes)return!1;if(p!==d){const e=En(i),t=En(u),r=function(e){return pt.call(e,"recordIds")&&1===e.recordIds.length}(u)&&function(e){return pt.call(e,"recordId")}(i)&&e[0]===t[0];if(!r||function(e,t){return e.includes("/record-ui")&&t.includes("/records")||e.includes("/records")&&t.includes("/record-ui")}(p,d))return!1}const f=dt(n),m=f.length;if(m!==dt(l).length)return!1;for(let e=0,t=m;e<t;e++){let t=f[e];if(n[t]!==l[t])return!1}return function(e,t){if(t.length>e.length)return!1;const r={};for(let t=0,n=e.length;t<n;t+=1)r[e[t]]=!0;for(let e=0,n=t.length;e<n;e+=1)if(void 0===r[t[e]])return!1;return!0}(jn(e.queryParams.fields,e.queryParams.optionalFields),jn(r.fields,r.optionalFields))}function jn(e,t){return[...gt(e)?e:[],...gt(t)?t:[]]}function En(e){return pt.call(e,"recordId")?[e.recordId]:pt.call(e,"recordIds")?e.recordIds:[]}const qn=function(e){return{...Bn(e),fulfill:wn}};function On(e,t){return Cr(0,{recordId:t.urlParams.recordId})}function xn(e,t,r,n){mr(e,t,n)}function Bn(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/"+e.urlParams.recordId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const Un=[ot("recordId",!0,0,0,!1,nr),ot("childRelationships",!1,1,0,!0),ot("fields",!1,1,0,!0,_t),ot("forms",!1,1,0,!0),ot("layoutTypes",!1,1,0,!0,or),ot("modes",!1,1,0,!0,ar),ot("optionalFields",!1,1,0,!0,_t),ot("pageSize",!1,1,3),ot("updateMru",!1,1,1)],Dn=n.createResourceParams(Un);function Mn(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Un),t}(n.coerceConfig(e,Un));return Ye(r,t)?void 0===r.layoutTypes&&void 0===r.fields&&void 0===r.optionalFields?null:r:null}function Vn(e,t,r,n){return{recordId:Cr(0,{recordId:t}),node:{kind:"Fragment",private:["eTag","weakEtag"],selections:Jr(r,n),version:Nr},variables:{}}}function zn(e,t){return{config:t,resolve:()=>$n(e,t)}}function Kn(e,t,r,n,o,a){const{body:i}=o,s=void 0===t.fields?[]:t.fields,c=void 0===t.optionalFields?[]:t.optionalFields,l=cn(s,!1);return e.storeIngest(r,Fn({fields:l,optionalFields:cn(c,!0),trackedFields:cn(n,!0),serverRequestCount:a}),i),e.storeLookup(Vn(0,t.recordId,s,c),zn(e,t))}function Wn(e,t,r,n){const o=e.errorSnapshot(n,zn(e,t));return e.storeIngestError(r,o,Xr),o}function $n(e,t,r=0,o){const{request:a,key:i,allTrackedFields:s,resourceParams:c}=function(e,t){const{recordId:r,fields:n}=t,o=On(0,Dn(t)),a=dn(o,e.getNode(o),{maxDepth:qe.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()},t.optionalFields),i=void 0===n?a:function(e,t){const{length:r}=e,{length:n}=t;if(0===r||e===t)return[];if(0===n)return e;const o={};for(let e=0;e<n;e+=1)o[t[e]]=!0;const a=[];for(let t=0;t<r;t+=1){const r=e[t];void 0===o[r]&&a.push(r)}return a}(a,n),s=Dn({recordId:r,fields:n,optionalFields:i.length>0?i:void 0});return{request:qn(s),key:o,allTrackedFields:a,resourceParams:s}}(e,t);return e.dispatchResourceRequest(a,o).then(o=>(function(e){return gt(e.results)&&1===e.results.length}(o.body)&&(o.body=o.body.results[0].result),e.handleSuccessResponse(()=>function(e,t,r,n,o,a){const i=Kn(e,t,r,n,o,a);return e.storeBroadcast().then(()=>i)}(e,t,i,s,o,r+1),()=>{const t=new n.StoreKeyMap;return xn(t,e,0,o.body),t})),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=Wn(e,t,r,n);return e.storeBroadcast().then(()=>o)}(e,t,i,r)))}function Qn(e,t){const{config:r,luvio:n}=e,o=void 0===r.fields?[]:r.fields,a=void 0===r.optionalFields?[]:r.optionalFields;return t(Vn(0,r.recordId,o,a),zn(n,r))}function Gn(e,t){const{config:r,luvio:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=t,c={resourceRequestContext:{requestCorrelator:a,sourceContext:s},eventObservers:i};return"normal"!==o&&(c.overrides={priority:o}),$n(n,r,0,c)}function Jn(e,t,r){return e.applyCachePolicy(r||{},{config:t,luvio:e},Qn,Gn)}const Hn="98cce53b8d13b1883d001bbdaab24383",Xn=Ge(null);function Zn(e,t){return it+"::BatchRepresentation:(childRelationships:"+t.queryParams.childRelationships+",fields:"+t.queryParams.fields+",layoutTypes:"+t.queryParams.layoutTypes+",modes:"+t.queryParams.modes+",optionalFields:"+t.queryParams.optionalFields+",pageSize:"+t.queryParams.pageSize+",updateMru:"+t.queryParams.updateMru+",recordIds:"+t.urlParam
560s.recordIds+")"}function Yn(e,t,r,n){const o=n.results,a=function(e){let t=[];for(let r=0,n=e.urlParams.recordIds.length;r<n;r+=1){const n=e.urlParams.recordIds[r];t.push({urlParams:{recordId:n},queryParams:{fields:e.queryParams.fields,optionalFields:e.queryParams.optionalFields}})}return t}(r);for(let r=0,n=a.length;r<n;r++){const n=a[r],i=o[r],{statusCode:s,result:c}=i;if(200===s)xn(e,t,0,c);else if(404===s){const t=On(0,n);e.set(t,{namespace:it,representationName:Tr,mergeable:!1})}}}function eo(e,t,r,n){const o=Zn(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}function to(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/batch/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}function ro(e){const{records:t}=e,r=[],n=[],o=[];for(let e=0,a=t.length;e<a;e+=1){const{recordIds:a,fields:i=[],optionalFields:s=[]}=t[e];Xe.call(r,...a),i.length>0&&Xe.call(n,...i),s.length>0&&Xe.call(o,...s)}return{urlParams:{recordIds:r},queryParams:{fields:n.length>0?n:void 0,optionalFields:o.length>0?o:void 0}}}function no(e){const t=[],{records:r}=e;for(let e=0,n=r.length;e<n;e+=1){const n=r[e],{recordIds:o,fields:a,optionalFields:i}=n;for(let e=0,r=o.length;e<r;e+=1){const r=o[e],n={};He(a)&&(n.fields=a),He(i)&&(n.optionalFields=i),t.push({urlParams:{recordId:r},queryParams:n})}}return t}function oo(e,t){return function(e,t,r){const o="result",a="statusCode",i="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:s=>{const c=e.storeLookup({recordId:Zn(0,r),node:{kind:"Fragment",private:[],version:Hn},variables:{}});if("Error"===c.state&&"fetchResponse"===c.error.errorType&&404===c.error.status)return{state:c.state,value:c.error};const l={};s.enterPath(i);const u=s.getTimeStamp(),d=[];for(let e=0,r=t.length;e<r;e+=1){s.enterPath(e),s.enterPath(o);const r=t[e],n=On(0,r),i=s.getIsDataMissing(),c=s.read(Vn(0,r.urlParams.recordId,r.queryParams.fields||[],r.queryParams.optionalFields||[]));s.exitPath();const l={};switch(s.markSeenId(n),c.state){case"Stale":s.markStale();case"Fulfilled":s.enterPath(a),s.assignScalar(a,l,200),s.exitPath(),s.enterPath(o),s.assignNonScalar(l,o,c.data),s.exitPath();break;case"Error":s.enterPath(a),s.assignScalar(a,l,c.error.status),s.exitPath(),s.enterPath(o),s.assignNonScalar(l,o,c.error.body),s.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===s.isRebuilding()){s.markMissingLink(n);break}const e=Xn[n];if(void 0===e||e.expiration<u)s.markMissingLink(n);else{!1===i&&s.unMarkMissing();const{response:t,status:r}=e;s.enterPath(a),s.assignScalar(a,l,r),s.exitPath(),s.enterPath(o),s.assignNonScalar(l,o,t),s.exitPath()}}break;case"Pending":s.markPending()}Xe.call(d,l),s.exitPath()}return s.assignNonScalar(l,i,d),n.deepFreeze(l),s.exitPath(),l}}}(e,no(t),ro(t))}function ao(e,t,r,o,a=0){const i=o.body.results,s=no(t),c=Zn(0,r),{childSnapshotData:l,seenRecords:u}=function(e,t,r,o=0){const a=[];let i=new n.StoreKeySet,s="Fulfilled";const c=Date.now();for(let n=0,l=t.length;n<l;n+=1){const l=t[n],u=On(0,l),d=r[n],{statusCode:p,result:f}=d;if(200===p){const t={status:p,body:f,ok:!0,statusText:"OK",headers:{}},r=dn(u,e.getNode(u),{maxDepth:qe.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()},l.queryParams.optionalFields),n=Kn(e,{recordId:l.urlParams.recordId,fields:l.queryParams.fields,optionalFields:l.queryParams.optionalFields},u,r,t,o+1);"Stale"===n.state&&(s="Stale"),i.merge(n.seenRecords),i.add(n.recordId);const c={statusCode:p,result:n.data};a.push(c)}else{const t={status:p,body:f,ok:!1,statusText:rt(p),headers:{},errorType:"fetchResponse"};Wn(e,{recordId:l.urlParams.recordId,fields:l.queryParams.fields,optionalFields:l.queryParams.optionalFields},u,t),i.add(u);const r={statusCode:p,result:f};a.push(r)}404!==p&&200!==p?Xn[u]={expiration:c+Ir,response:f,status:p}:delete Xn[u]}const l={results:a};return n.deepFreeze(l),{childSnapshotData:l,seenRecords:i,snapshotState:s}}(e,s,i,a),d={recordId:c,data:l,state:"Fulfilled",seenRecords:u,select:{recordId:c,node:oo(e,t),variables:{}},refresh:{config:t,resolve:()=>io(e,t,a,et)},variables:{}};return e.storeBroadcast().then(()=>d)}function io(e,t,r=0,o){const a=ro(t),i=to(a);
560return e.dispatchResourceRequest(i,o).then(o=>e.handleSuccessResponse(()=>ao(e,t,a,o,r+1),()=>{const t=new n.StoreKeyMap;return Yn(t,e,a,o.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=eo(e,r,n,{config:t,resolve:()=>io(e,t,0,et)});return e.storeBroadcast().then(()=>o)}(e,t,a,r)))}function so(e,t){const r=dt(t.conflicts);if(0!==r.length)if(1===r.length){const n=r[0];$n(e,{recordId:n,optionalFields:on(t.conflicts[n].trackedFields)},t.serverRequestCount)}else{io(e,{records:Pt.call(r,(e,r)=>{const{trackedFields:n}=t.conflicts[r];return bt.call(e,{recordIds:[r],optionalFields:on(n)}),e},[])},t.serverRequestCount)}else De.recordConflictsResolved(t.serverRequestCount)}Ge(null);const co=(e,t,r,n,o)=>{const a={conflicts:{},serverRequestCount:0};e.eTag="";const i=_n(sn,sn,a)(e,t,r,n,o);return so(r,a),i},lo="0.111.0",uo={ttl:Number.MAX_SAFE_INTEGER,namespace:"",representationName:"",version:lo};function po(e,t){if(void 0===t){const t=vo(e,0);if(void 0===t)return;return[t,0]}const r=go(e,t);if(!(r<0))return[t,r]}function fo(e,t){return void 0===e?t:{...e,...t}}function mo(e,t){const r=e.__END__;return void 0===r||t<r?vo(e,t):null}function go(e,t){if(null==t)return 0;const r=e[t];return void 0===r?-1:r}function yo(e,t,r){const n=e.__END__,o=t+r;return void 0===n?o:Math.min(o,n)}function ho(e,t,r){const n=t-r;if(n<0)return null;const o=e.__END__;return void 0!==o&&n>=o?void 0:vo(e,n)}function vo(e,t){const r=Object.keys(e);for(let n=0,o=r.length;n<o;n++){const o=r[n];if(e[o]===t&&"__END__"!==o)return o}}function bo(e,t){const r=Object.keys(e);let n,o=-1;for(let a=0,i=r.length;a<i;a++){const i=r[a],s=e[i];if("__END__"!==i&&void 0!==s){if(s===t)return[i,s];s<t&&s>o&&(n=i,o=s)}}return[n,o]}const Po=function(e,t){return Ro(e,{objectApiName:t.listReference.objectApiName.toLowerCase(),searchTerm:t.searchTerm,sortBy:t.sortBy,where:t.where,listViewApiName:t.listReference.listViewApiName?t.listReference.listViewApiName.toLowerCase():t.listReference.listViewApiName})},ko="e5c90c4081cd557f8ffec53028ede1e8",Ao="ListRecordCollectionRepresentation";function Ro(e,t){return it+"::"+Ao+":"+t.objectApiName+":"+(null===t.searchTerm?"":t.searchTerm)+":"+(null===t.sortBy?"":"["+t.sortBy.join(",")+"]")+":"+(null===t.where?"":t.where)+":"+(null===t.listViewApiName?"":t.listViewApiName)}function So(e,t){return Ro(0,t)+"__pagination"}const Io=function(e){const{selections:t,opaque:r}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",reader:!0,synthetic:!1,version:ko,read:(r,n)=>{const o={};if(void 0===e)return o;const a=n.resolveMetadata(r,lo),i=No(a,e),{startOffset:s,endOffset:c,metadataProperties:l}=i;if(void 0!==a&&void 0!==s&&void 0!==c){const e="records";n.enterPath(e);const t=r[e],a=[],i=[];for(let e=s;e<c;e++)n.enterPath(e),n.readSingleLink(e,{name:"records",kind:"Link",fragment:_r()},t,i,e-s),!1===n.getIsDataMissing()&&(a[e-s]=i[e-s]),n.exitPath();n.exitPath(),n.assignNonScalar(o,e,a)}return n.enterPath("currentPageToken"),n.readScalar("currentPageToken",l,o),n.exitPath(),n.enterPath("nextPageToken"),n.readScalar("nextPageToken",l,o),n.exitPath(),n.enterPath("previousPageToken"),n.readScalar("previousPageToken",l,o),n.exitPath(),n.enterPath("pageSize"),n.readScalar("pageSize",l,o),n.exitPath(),n.enterPath("count"),n.readScalar("count",l,o),n.exitPath(),n.enterPath("fields"),n.readScalarPlural("fields",r,o,!0),n.exitPath(),n.enterPath("listInfoETag"),n.readScalar("listInfoETag",r,o),n.exitPath(),n.enterPath("listReference"),n.readObject("listReference",{name:"listReference",kind:"Object",selections:t},r,o),n.exitPath(),n.enterPath("optionalFields"),n.readScalarPlural("optionalFields",r,o,!0),n.exitPath(),n.enterPath("searchTerm"),n.readScalar("searchTerm",r,o),n.exitPath(),n.enterPath("sortBy"),null===r.sortBy?n.readScalar("sortBy",r,o):n.readScalarPlural("sortBy",r,o,!0),n.exitPath(),n.enterPath("where"),n.readScalar("where",r,o),n.exitPath(),o}}};function No(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=po(e,o);if(void 0===i)return n;const[s,c]=i,l=yo(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const u=mo(e,l);void 0!==u&&(r.nextPageToken=u);const d=ho(e,c,a);return void 0!==d&&(r.previousPageToken=d),r.pageSize=a,r.count=l-c,n}const To=function(e,t){const r=void 0===e.records?{name:"records",kind:"Link",fragment:_r()}:e.records,{selections:n,opaque:o}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",reader:!0,synthetic:!1,version:ko,read:(e,o)=>{const a={};if(void 0===t)return a;const i=o.resolveMetadata(e,lo),s=No(i,t),{startOffset:c,endOffset:l,metadataProperties:u}=s;if(void 0!==i&&void 0!==c&&void 0!==l){const t="records";o.enterPath(t);const n=e[t],i=[],s=[];for(let e=c;e<l;e++)o.enterPath(e),o.readSingleLink(e,r,n,s,e-c),!1===o.getIsDataMissing()&&(i[e-c]=s[e-c]),o.exitPath();o.exitPath(),o.assignNonScalar(a,t,i)}
560return o.enterPath("currentPageToken"),o.readScalar("currentPageToken",u,a),o.exitPath(),o.enterPath("nextPageToken"),o.readScalar("nextPageToken",u,a),o.exitPath(),o.enterPath("previousPageToken"),o.readScalar("previousPageToken",u,a),o.exitPath(),o.enterPath("pageSize"),o.readScalar("pageSize",u,a),o.exitPath(),o.enterPath("count"),o.readScalar("count",u,a),o.exitPath(),o.enterPath("fields"),o.readScalarPlural("fields",e,a,!0),o.exitPath(),o.enterPath("listInfoETag"),o.readScalar("listInfoETag",e,a),o.exitPath(),o.enterPath("listReference"),o.readObject("listReference",{name:"listReference",kind:"Object",selections:n},e,a),o.exitPath(),o.enterPath("optionalFields"),o.readScalarPlural("optionalFields",e,a,!0),o.exitPath(),o.enterPath("searchTerm"),o.readScalar("searchTerm",e,a),o.exitPath(),o.enterPath("sortBy"),null===e.sortBy?o.readScalar("sortBy",e,a):o.readScalarPlural("sortBy",e,a,!0),o.exitPath(),o.enterPath("where"),o.readScalar("where",e,a),o.exitPath(),a}}};const Co=function(e,t,r,n,o){const a=Po(r,e),i=n.readEntry(a);let s=function(e,t,r,n,o,a){const i=e.records,s=r.fullPath+"__records";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=co(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:3e4},r,n,o);const c=a+"__pagination",l=n.readEntry(c),{count:u,currentPageToken:d,nextPageToken:p,pageSize:f,previousPageToken:m,records:g}=e,y=void 0===l?0:go(l,d),h={[d]:y},v=y+g.length;if(null===p)h.__END__=v;else if(h[p]=v,void 0!==l){const e=l.__END__;void 0!==e&&v>=e&&(h.__END__=void 0)}null!==m&&(h[m]=Math.max(y-f,0));const b=fo(l,h);void 0!==l&&!1!==xt(l,b,(e,t)=>e===t)||(r.storePublish(c,b),r.publishStoreMetadata(c,uo)),Ut(s,c),void 0!==i&&void 0!==i.records&&(s.records=[...i.records.slice(0,y),...s.records,...i.records.slice(v)]),void 0!==i&&!1!==function(e,t){if(e.count!==t.count)return!1;if(e.pageSize!==t.pageSize)return!1;if(e.currentPageToken!==t.currentPageToken)return!1;if(e.currentPageUrl!==t.currentPageUrl)return!1;if(!1===Ot(e.fields,t.fields,(e,t)=>{if(e!==t)return!1}))return!1;if(e.listInfoETag!==t.listInfoETag)return!1;if(!Dt(e.listReference,t.listReference))return!1;if(e.nextPageToken!==t.nextPageToken)return!1;if(e.nextPageUrl!==t.nextPageUrl)return!1;if(!1===Ot(e.optionalFields,t.optionalFields,(e,t)=>{if(e!==t)return!1}))return!1;if(e.previousPageToken!==t.previousPageToken)return!1;if(e.previousPageUrl!==t.previousPageUrl)return!1;if(!1===Ot(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(e.searchTerm!==t.searchTerm)return!1;const r=e.sortBy,n=t.sortBy;return!!(()=>{if(null===r||null===n)return r===n;if(Array.isArray(r)&&Array.isArray(n)){if(!1===Ot(r,n,(e,t)=>{if(e!==t)return!1}))return!1}else if(r!==n)return!1;return!0})()&&e.where===t.where}(i,s)||r.storePublish(a,s);
560{const e={ttl:3e4,namespace:"UiApi",version:ko,representationName:Ao,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Bt(a)};function Lo(e,t,r,n){const o=Po(t,r);e.set(o,{namespace:it,representationName:Ao,mergeable:!0}),e.set(o+"__pagination",{namespace:it,representationName:Ao,mergeable:!0});const a=r.records.length;for(let n=0;n<a;n++)mr(e,t,r.records[n])}const _o=e=>function(t){const r=t.map(e=>Ro(0,e));return e.notifyStoreUpdateAvailable(r)},Fo="cf8d2eb042188974da26ffe6618cfd07",wo="ListUiRepresentation";function jo(e,t){return it+"::"+wo+":"+(null===t.listViewApiName?"":t.listViewApiName)+":"+t.objectApiName+":"+t.type+":"+(null===t.sortBy?"":"["+t.sortBy.join(",")+"]")}function Eo(e,t){return jo(0,{listViewApiName:t.info.listReference.listViewApiName,objectApiName:t.info.listReference.objectApiName,type:t.info.listReference.type,sortBy:t.records.sortBy})}function qo(e,t,r,n,o,a){const i=e.info,s=r.fullPath+"__info";e.info=tr(i,{fullPath:s,propertyName:"info",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a);const c=e.records,l=r.fullPath+"__records";return e.records=Co(c,{fullPath:l,propertyName:"records",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a),e}const Oo=function(e,t){const r=void 0===e.info?{name:"info",kind:"Link",fragment:Yt()}:e.info,n=void 0===e.records?{name:"records",kind:"Link",fragment:Io(t)}:e.records;return{kind:"Fragment",version:Fo,private:["eTag"],selections:[r,n]}};function xo(e,t){if(e.eTag!==t.eTag)return!1;const r=e.info,n=t.info;if(r.__ref!==n.__ref)return!1;const o=e.records,a=t.records;return o.__ref===a.__ref}const Bo=function(e,t,r,o,a){const i=Eo(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,qo,"UiApi",Fo,wo,xo),Bt(i)};function Uo(e,t,r,n){const o=Eo(0,r);e.set(o,{namespace:it,representationName:wo,mergeable:!1}),rr(e,t,r.info),Lo(e,t,r.records)}const Do=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0,!1,Nt),ot("fields",!1,1,0,!0,_t),ot("optionalFields",!1,1,0,!0,_t),ot("pageSize",!1,1,3),ot("pageToken",!1,1,0),ot("sortBy",!1,1,0,!0,_t)],Mo=at("getListUiByApiName",Do),Vo=n.createResourceParams(Do);function zo(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Do),t}(n.coerceConfig(e,Do));return Ye(r,t)?r:null}const Ko=[ot("listViewId",!0,0,0),ot("fields",!1,1,0,!0,_t),ot("optionalFields",!1,1,0,!0,_t),ot("pageSize",!1,1,3),ot("pageToken",!1,1,0),ot("sortBy",!1,1,0,!0,_t)],Wo=at("getListUiByListViewId",Ko),$o=n.createResourceParams(Ko);function Qo(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Ko),t}(n.coerceConfig(e,Ko));return Ye(r,t)?r:null}const Go="0b29241fd9ed04bb61fde26b3f558ac4",Jo="ListInfoSummaryRepresentation";function Ho(e,t){const r={id:t.id};return it+"::"+Jo+":"+(null===(n=r).id?"":n.id);var n}function Xo(e,t,r,n,o,a){return e}const Zo=function(){return{kind:"Fragment",version:Go,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"url",kind:"Scalar"}]}};function Yo(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;if(e.url!==t.url)return!1;return e.id===t.id}const ea=function(e,t,r,o,a){const i=Ho(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,Xo,"UiApi",Go,Jo,Yo),Bt(i)};function ta(e,t,r,n){const o=Ho(0,r);e.set(o,{namespace:it,representationName:Jo,mergeable:!1})}const ra="d0cadb0927f908b5b64694e1cff0b2d7",na="ListInfoSummaryCollectionRepresentation";function oa(e,t){return it+"::"+na+":"+t.objectApiName+":"+(null===t.queryString?"":t.queryString)+":"+t.recentListsOnly}function aa(e,t){return oa(0,{objectApiName:t.objectApiName,queryString:t.queryString,recentListsOnly:t.recentListsOnly})}const ia=function(e){return{kind:"Fragment",reader:!0,synthetic:!1,version:ra,read:(t,r)=>{const n={};if(void 0===e)return n;const o=r.resolveMetadata(t,lo),a=function(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=po(e,o);if(void 0===i)return n;const[s,c]=i,l=yo(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const u=mo(e,l);void 0!==u&&(r.nextPageToken=u);const d=ho(e,c,a);void 0!==d&&(r.previousPageToken=d);return r.pageSize=a,r.count=l-c,n}(o,e),{startOffset:i,endOffset:s,metadataProperties:c}=a;if(void 0!==o&&void 0!==i&&void 0!==s){const e="lists";r.enterPath(e);const o=t[e],a=[],c=[];for(let e=i;e<s;e++)r.enterPath(e),r.readSingleLink(e,{name:"lists",kind:"Link",fragment:Zo()},o,c,e-i),!1===r.getIsDataMissing()&&(a[e-i]=c[e-i]),r.exitPath();r.exitPath(),r.assignNonScalar(n,e,a)}
560return r.enterPath("currentPageToken"),r.readScalar("currentPageToken",c,n),r.exitPath(),r.enterPath("nextPageToken"),r.readScalar("nextPageToken",c,n),r.exitPath(),r.enterPath("previousPageToken"),r.readScalar("previousPageToken",c,n),r.exitPath(),r.enterPath("pageSize"),r.readScalar("pageSize",c,n),r.exitPath(),r.enterPath("count"),r.readScalar("count",c,n),r.exitPath(),r.enterPath("objectApiName"),r.readScalar("objectApiName",t,n),r.exitPath(),r.enterPath("queryString"),r.readScalar("queryString",t,n),r.exitPath(),r.enterPath("recentListsOnly"),r.readScalar("recentListsOnly",t,n),r.exitPath(),n}}};const sa=function(e,t,r,n,o){const a=aa(0,e),i=n.readEntry(a),s=void 0!==t.ttl?t.ttl:2592e6;let c=function(e,t,r,n,o,a){const i=e.lists,s=r.fullPath+"__lists";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=ea(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,lists:y}=e,h=void 0===u?0:go(u,p),v={[p]:h},b=h+y.length;if(null===f)v.__END__=b;else if(v[f]=b,void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}null!==g&&(v[g]=Math.max(h-m,0));const P=fo(u,v);var k,A;if(void 0!==u&&!1!==xt(u,P,(e,t)=>e===t)||(r.storePublish(l,P),r.publishStoreMetadata(l,uo)),Ut(c,l),void 0!==i&&void 0!==i.lists&&(c.lists=[...i.lists.slice(0,h),...c.lists,...i.lists.slice(b)]),void 0!==i&&!1!=(A=c,(k=i).recentListsOnly===A.recentListsOnly&&k.count===A.count&&k.pageSize===A.pageSize&&k.currentPageToken===A.currentPageToken&&k.currentPageUrl===A.currentPageUrl&&k.eTag===A.eTag&&k.objectApiName===A.objectApiName&&!1!==Ot(k.lists,A.lists,(e,t)=>{if(e.__ref!==t.__ref)return!1})&&k.nextPageToken===A.nextPageToken&&k.nextPageUrl===A.nextPageUrl&&k.previousPageToken===A.previousPageToken&&k.previousPageUrl===A.previousPageUrl&&k.queryString===A.queryString)||r.storePublish(a,c),void 0!==s){const e={ttl:s,namespace:"UiApi",version:ra,representationName:na,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Bt(a)};const ca=e=>function(t){const r=t.map(e=>oa(0,e));return e.notifyStoreUpdateAvailable(r)},la=it+"::"+Ao,ua=it+"::"+na;let da=new Map,pa=new Map;function fa(e,t,r){const n=da.get(e)||new Map;n.size||da.set(e,n);const o=n.get(t)||new Set;o.size||n.set(t,o),o.add(r)}function ma(e,t,r){const n=pa.get(e)||new Map;n.size||pa.set(e,n);const o=n.get(t)||new Set;o.size||n.set(t,o),o.add(r)}function ga(e){const t=e.split(":");return{objectApiName:t[3],listViewApiName:t[7]}}function ya(e){const t=e.split(":");return{objectApiName:t[3],recentLists:t[5]}}function ha(e){return`listReferenceById::${e}`}function va(e,t){return`listReferenceByApiName::${e.toLowerCase()}:${t.toLowerCase()}`}function ba(e,t,r){r&&t.set(ha(r),e),t.set(va(e.objectApiName,e.listViewApiName||""),e)}function Pa(e,t){return e.listViewId?t.get(ha(e.listViewId)):t.get(va(e.objectApiName||"",e.listViewApiName||""))}const ka=Yt().selections;Yt().private;const Aa=[...ka,{kind:"Scalar",name:"eTag"}];function Ra(e,t,r){let n={...t};n.objectApiName=n.objectApiName.toLowerCase(),n.listViewApiName=n.listViewApiName?n.listViewApiName.toLowerCase():n.listViewApiName;return r({recordId:Xt(0,{...n}),node:{kind:"Fragment",selections:Aa,private:[],version:Jt},variables:{}})}function Sa(e){const{objectApiName:t,listViewApiName:r}=e;return`defaults::${t.toLowerCase()}:${r?r.toLowerCase():r}`}function Ia(e,t,r,n){if(void 0!==e.sortBy&&e.sortBy.length>0||null===t.sortBy)return;const o=Sa(r),a=n.get(o)||{};n.set(o,{...a,sortBy:t.sortBy})}function Na(e,t){const r=Pa(e,t);if(void 0===r)return{};const n=Sa(r);return t.get(n)||{}}const Ta=["CreatedDate","Id","LastModifiedById","LastModifiedDate","SystemModstamp"];function Ca(e,t){const r=e.split(".");for(let e=1;e<r.length;++e){const n=r.slice(0,e).join(".");for(let e=0;e<Ta.length;++e)t[`${n}.${Ta[e]}`]=!0}}function La(e,t){return!!(e&&e.fields&&e.fields[t[0]]&&void 0!==e.fields[t[0]].value)&&(!(t.length>1)||La(e.fields[t[0]].value,t.slice(1)))}function _a(e,{fields:t=[],optionalFields:r=[],sortBy:n},o){const{displayColumns:a,listReference:{objectApiName:i}}=o;let s={},c={},l={};for(let e=0,t=a.length;e<t;++e){const t=`${i}.${a[e].fieldApiName}`;s[t]=!0,Ca(t,l)}for(let e=0,r=t.length;e<r;++e){const r=t[e].startsWith(`${i}.`)?t[e]:`${i}.${t[e]}`;s[r]||(s[r]=!0,Ca(r,l))}for(let e=0,t=r.length;e<t;++e){const t=r[e].startsWith(`${i}.`)?r[e]:`${i}.${r[e]}`;s[t]||(c[t]=!0,Ca(t,l))}const u=Ro(0,{listViewId:o.eTag,sortBy:n||null,searchTerm:null,where:null,objectApiName:o.listReference.objectApiName,listViewApiName:o.listReference.listViewApiName})+"__fieldstatus",d=e.getNode(u),p=Zr(d)?d.retrieve():{missingFields:{...l}};return{getRecordSelectionFieldSets(){const e={...c},t=dt(l);for(let r=0;r<t.length;++r){const n=t[r];s[n]||p.missingFields[n]||(e[n]=!0)}return[dt(s).sort(),dt(e).sort()]},processRecords(t){const{missingFields:r}
560=p,n=dt(r);for(let e=0;e<n.length;++e){const o=n[e],a=o.split(".").slice(1);for(let e=0;e<t.length;++e)if(La(t[e],a)){delete r[o];break}}return e.storePublish(u,p),this}}}function Fa(e){return t=>{const r=(n=t.objectApiName,o=t.listViewApiName,[...(da.get(n.toLowerCase())||new Map).get(o.toLowerCase())||[]]);var n,o;return e.notifyStoreUpdateAvailable(r)}}function wa(e){return t=>{const r=function(e,t){const r=pa.get(e)||new Map;return[...r.get(t?"true":"false")||[],...void 0===t&&r.get("true")||[]]}(t.objectApiName,t.recentLists);return e.notifyStoreUpdateAvailable(r)}}let ja;function Ea(e,t){const r=Pa({objectApiName:t.urlParams.objectApiName.toLowerCase(),listViewApiName:t.urlParams.listViewApiName.toLowerCase()},ja);if(void 0!==r){const e=Na({...t.urlParams,...t.body},ja);return Ro(0,{objectApiName:r.objectApiName.toLowerCase(),listViewApiName:r.listViewApiName?r.listViewApiName.toLowerCase():r.listViewApiName,searchTerm:t.body.searchTerm||null,where:t.body.where||null,sortBy:void 0!==t.body.sortBy&&t.body.sortBy.length<=0?e.sortBy||t.body.sortBy||[]:t.body.sortBy||e.sortBy||[]})}return Ro(0,{objectApiName:t.urlParams.objectApiName.toLowerCase(),listViewApiName:t.urlParams.listViewApiName.toLowerCase(),searchTerm:t.body.searchTerm||null,where:t.body.where||null,sortBy:t.body.sortBy||[]})}function qa(e,t){const{fields:r=[],optionalFields:n=[]}=t.body;return To({records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:Jr(r,n),version:Nr}}},xa(t))}function Oa(e,t,r,n){const{body:o}=r,a=Ea(0,t);e.storeIngest(a,Co,o);const i=t.body.optionalFields;if(i&&i.length>0){!function(e,t,r){const n=t.records;for(let t=0;t<n.length;t++){const o=n[t].__ref;if(void 0!==o){fn(e.getNode(o),r)}}}(e,o,i)}return e.storeLookup({recordId:a,node:qa(0,t),variables:{}},n)}function xa(e){const{body:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}function Ba(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-records/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}function Ua(e){if(e.data&&e.data[e.name]&&void 0!==e.data.previousPageToken){const{offsetFromToken:t,tokenForAtMost:r,paginationMetadata:n}=e.pagination,o=t(n,e.data.currentPageToken);if(o<0)return{pageSize:e.pageSize,pageToken:e.pageToken};const a=o+e.data[e.name].length,[i,s]=r(n,a);return{pageSize:o-s+e.pageSize,pageToken:i}}return{pageSize:e.pageSize,pageToken:e.pageToken}}function Da(e){return"Fulfilled"===e.state}function Ma(e){return"Unfulfilled"===e.state}function Va(e){return"Stale"===e.state}function za(e){return"Error"===e.state}const Ka="3529c5f7d0eb2206c90a52c6d9f721d4",Wa="ListViewSummaryRepresentation";function $a(e,t){const r={id:t.id};return it+"::"+Wa+":"+(null===(n=r).id?"":n.id);var n}function Qa(e,t,r,n,o,a){return e}const Ga=function(){return{kind:"Fragment",version:Ka,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"listUiUrl",kind:"Scalar"}]}};function Ja(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;if(e.listUiUrl!==t.listUiUrl)return!1;return e.id===t.id}const Ha=function(e,t,r,o,a){const i=$a(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,Qa,"UiApi",Ka,Wa,Ja),Bt(i)};function Xa(e,t,r,n){const o=$a(0,r);e.set(o,{namespace:it,representationName:Wa,mergeable:!1})}const Za="f4c79fe066da3558499d5ee88c72abcd",Ya="ListViewSummaryCollectionRepresentation";function ei(e,t){return it+"::"+Ya+":"+t.objectApiName+":"+(null===t.queryString?"":t.queryString)+":"+t.recentListsOnly}function ti(e,t){return ei(0,{objectApiName:t.objectApiName,queryString:t.queryString,recentListsOnly:t.recentListsOnly})}const ri=function(e){return{kind:"Fragment",reader:!0,synthetic:!1,version:Za,read:(t,r)=>{const n={};if(void 0===e)return n;const o=r.resolveMetadata(t,lo),a=function(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=po(e,o);if(void 0===i)return n;const[s,c]=i,l=yo(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const u=mo(e,l);void 0!==u&&(r.nextPageToken=u);const d=ho(e,c,a);void 0!==d&&(r.previousPageToken=d);return r.pageSize=a,r.count=l-c,n}(o,e),{startOffset:i,endOffset:s,metadataProperties:c}=a;if(void 0!==o&&void 0!==i&&void 0!==s){const e="lists";r.enterPath(e);const o=t[e],a=[],c=[];for(let e=i;e<s;e++)r.enterPath(e),r.readSingleLink(e,{name:"lists",kind:"Link",fragment:Ga()},o,c,e-i),!1===r.getIsDataMissing()&&(a[e-i]=c[e-i]),r.exitPath();r.exitPath(),r.assignNonScalar(n,e,a)}
560return r.enterPath("currentPageToken"),r.readScalar("currentPageToken",c,n),r.exitPath(),r.enterPath("nextPageToken"),r.readScalar("nextPageToken",c,n),r.exitPath(),r.enterPath("previousPageToken"),r.readScalar("previousPageToken",c,n),r.exitPath(),r.enterPath("pageSize"),r.readScalar("pageSize",c,n),r.exitPath(),r.enterPath("count"),r.readScalar("count",c,n),r.exitPath(),r.enterPath("objectApiName"),r.readScalar("objectApiName",t,n),r.exitPath(),r.enterPath("queryString"),r.readScalar("queryString",t,n),r.exitPath(),r.enterPath("recentListsOnly"),r.readScalar("recentListsOnly",t,n),r.exitPath(),n}}};const ni=function(e,t,r,n,o){const a=ti(0,e),i=n.readEntry(a),s=void 0!==t.ttl?t.ttl:2592e6;let c=function(e,t,r,n,o,a){const i=e.lists,s=r.fullPath+"__lists";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Ha(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,lists:y}=e,h=void 0===u?0:go(u,p),v={[p]:h},b=h+y.length;if(null===f)v.__END__=b;else if(v[f]=b,void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}null!==g&&(v[g]=Math.max(h-m,0));const P=fo(u,v);var k,A;if(void 0!==u&&!1!==xt(u,P,(e,t)=>e===t)||(r.storePublish(l,P),r.publishStoreMetadata(l,uo)),Ut(c,l),void 0!==i&&void 0!==i.lists&&(c.lists=[...i.lists.slice(0,h),...c.lists,...i.lists.slice(b)]),void 0!==i&&!1!=(A=c,(k=i).recentListsOnly===A.recentListsOnly&&k.count===A.count&&k.pageSize===A.pageSize&&k.currentPageToken===A.currentPageToken&&k.currentPageUrl===A.currentPageUrl&&k.eTag===A.eTag&&k.objectApiName===A.objectApiName&&!1!==Ot(k.lists,A.lists,(e,t)=>{if(e.__ref!==t.__ref)return!1})&&k.nextPageToken===A.nextPageToken&&k.nextPageUrl===A.nextPageUrl&&k.previousPageToken===A.previousPageToken&&k.previousPageUrl===A.previousPageUrl&&k.queryString===A.queryString)||r.storePublish(a,c),void 0!==s){const e={ttl:s,namespace:"UiApi",version:Za,representationName:Ya,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Bt(a)};const oi=e=>function(t){const r=t.map(e=>ei(0,e));return e.notifyStoreUpdateAvailable(r)};function ai(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?20:t.pageSize}}function ii(e,t){const r=ai(t);return ri(r)}function si(e,t){return ei(0,{objectApiName:t.urlParams.objectApiName,queryString:t.queryParams.q||null,recentListsOnly:t.queryParams.recentListsOnly||!1})}function ci(e,t,r,n){!function(e,t,r){const n=ti(0,r);e.set(n,{namespace:it,representationName:Ya,mergeable:!0}),e.set(n+"__pagination",{namespace:it,representationName:Ya,mergeable:!0});const o=r.lists.length;for(let t=0;t<o;t++)Xa(e,0,r.lists[t])}(e,0,n)}function li(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-ui/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const ui=[ot("objectApiName",!0,0,0,!1,Nt),ot("pageSize",!1,1,3),ot("pageToken",!1,1,0),ot("q",!1,1,0),ot("recentListsOnly",!1,1,1)],di=at("getListViewSummaryCollection",ui),pi=n.createResourceParams(ui);function fi(e,t){return si(0,pi(t))}function mi(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ui),t}(n.coerceConfig(e,ui));return Ye(r,t)?r:null}function gi(e,t){return ii(0,pi(t))}function yi(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=si(0,t);e.storeIngest(i,ni,a);const s=e.storeLookup({recordId:i,node:ii(0,t),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>bi(e,t,et)});return e.storeBroadcast().then(()=>a)}function hi(e,t,r,n){const o=function(e,t,r,n){const o=si(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>bi(e,t,et)});return e.storeBroadcast().then(()=>o)}function vi(e,t,r,n){if(void 0===n)return li(r);const[o,a]=function(e,t,r){const n=function(e){const{data:t}=e;if(void 0===t||!t.lists)return 0;const r=t.lists;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(r);if(n>0){const r=function(e,t){const r=si(0,t),n={recordId:r,node:{kind:"Fragment",version:Za,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:lo,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,t);if(void 0!==r){const{token:e,pageSize:o}=ai(t),a=go(r,e);if(a<0)return[void 0,-1];const i=a+n,[s,c]=bo(r,i);if(void 0!==s)return[s,o-(c-a)]}}return[void 0,-1]}(e,r,n);return li(void 0===o?r:pi({...t,pageSize:a,pageToken:o}))}function bi(e,t,r,o){const a=pi(t),i=vi(e,t,a,o);
560return e.dispatchResourceRequest(i,r).then(r=>e.handleSuccessResponse(()=>yi(e,t,a,r),()=>{const e=new n.StoreKeyMap;return ci(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>hi(e,t,a,r)))}function Pi(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,bi,void 0,!0)}function ki(e,t){const{luvio:r,config:n}=e,o=t({recordId:fi(0,n),node:gi(0,n),variables:{}},{config:n,resolve:()=>bi(r,n,et)});return nt(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}const Ai=[ot("objectApiName",!0,0,0,!1,Nt),ot("fields",!1,1,0,!0,_t),ot("optionalFields",!1,1,0,!0,_t),ot("pageSize",!1,1,3),ot("pageToken",!1,1,0),ot("sortBy",!1,1,0,!0,_t)],Ri=at("getMruListUi",Ai),Si=n.createResourceParams(Ai);function Ii(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Ai),t}(n.coerceConfig(e,Ai));return Ye(r,t)?r:null}function Ni(e,t=400,r="data is not fetchable"){return n=>Promise.resolve(e.errorSnapshot({status:t,statusText:r,ok:!1,body:void 0,headers:{},errorType:"fetchResponse"}))}function Ti(e){return void 0!==e.then}const Ci={...Ri,parameters:{...Ri.parameters,optional:[...Ri.parameters.optional,"listViewApiName","listViewId"]}};function Li(e,t){const r=function(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}(Si(e)),n={records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:Jr(...t.getRecordSelectionFieldSets()),version:Nr}}},o=To(n,r);return Oo({records:{name:"records",kind:"Link",fragment:o}},r)}function _i(e,t){return{config:t,resolve:()=>wi(e,t)}}function Fi(e,t,r,n,o){const a=o||_a(e,r,n),i=Si(r);var s;return t({recordId:(s=i,jo(0,{listViewApiName:null,objectApiName:s.urlParams.objectApiName,type:"mru",sortBy:s.queryParams.sortBy||null})),node:Li(r,a),variables:{}},_i(e,r))}function wi(e,t,r){const o=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/mru-list-ui/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(Si(t));return e.dispatchResourceRequest(o,r).then(r=>{const{body:o}=r,a=o.records.sortBy;return a&&"string"==typeof a&&(o.records.sortBy=a.split(",")),e.handleSuccessResponse(()=>function(e,t,r){const{body:n}=r,o=n.info,a=jo(0,{...o.listReference,sortBy:n.records.sortBy}),i=_a(e,t,o);i.processRecords(n.records.records);const s=Li(t,i);e.storeIngest(a,Bo,n);const c=e.storeLookup({recordId:a,node:s,variables:{}},_i(e,t));return e.storeBroadcast().then(()=>c)}
560(e,t,r),()=>{const t=new n.StoreKeyMap;return Uo(t,e,o),t})},r=>e.handleErrorResponse(()=>function(e,t,r){return Promise.resolve(e.errorSnapshot(r,_i(e,t)))}(e,t,r)))}function ji(e,t,r,o,a){const i=function(e,t,r,n){const{fields:o,optionalFields:a,pageSize:i,pageToken:s,sortBy:c}=t,l={fields:o,optionalFields:a,pageSize:i,pageToken:s,sortBy:c},u=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/mru-list-records/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{objectApiName:t.objectApiName},queryParams:l});if(n){const o={recordId:So(0,{listViewId:r.eTag,searchTerm:null,where:null,sortBy:void 0===t.sortBy?null:t.sortBy,objectApiName:r.listReference.objectApiName.toLowerCase(),listViewApiName:r.listReference.listViewApiName?r.listReference.listViewApiName.toLowerCase():r.listReference.listViewApiName}),node:{kind:"Fragment",private:[],opaque:!0,version:lo},variables:{}},a=e.storeLookup(o),i="Fulfilled"===a.state?a.data:{},{pageSize:s,pageToken:c}=Ua({data:n.data?n.data.records:null,name:"records",pageSize:t.pageSize||50,pageToken:t.pageToken,pagination:{offsetFromToken:go,tokenForAtMost:bo,paginationMetadata:i}});50===s&&void 0===u.queryParams.pageSize||(u.queryParams.pageSize=s),void 0===c&&void 0===u.queryParams.pageToken||(u.queryParams.pageToken=c)}return u}(e,t,r,a);return e.dispatchResourceRequest(i,o).then(a=>{const{body:i}=a;if(i.listInfoETag!==r.eTag)return wi(e,t,o);const{sortBy:s}=i;return s&&"string"==typeof s&&(i.sortBy=s.split(",")),e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,{listInfoETag:a}=o,i=_a(e,t,r).processRecords(o.records);e.storeIngest(Ro(0,{listViewId:a,searchTerm:null,where:null,sortBy:o.sortBy,objectApiName:r.listReference.objectApiName.toLowerCase(),listViewApiName:r.listReference.listViewApiName?r.listReference.listViewApiName.toLowerCase():r.listReference.listViewApiName}),Co,o);const s=Fi(e,e.storeLookup.bind(e),t,r,i);return e.storeBroadcast().then(()=>s)}(e,t,r,a),()=>{const t=new n.StoreKeyMap;return Lo(t,e,i),t})},n=>e.handleErrorResponse(()=>function(e,t,r,n){const o=e.errorSnapshot(n,_i(e,t));return e.storeIngestError(jo(0,{...r.listReference,sortBy:void 0===t.sortBy?null:t.sortBy}),o),e.storeBroadcast().then(()=>o)}(e,t,r,n)))}function Ei(e,t,r){const{config:n}=e;return Ra(0,{id:null,listViewApiName:null,objectApiName:n.objectApiName.toLowerCase(),type:"mru"},t)}function qi(e,t){const{config:r,listInfo:n,luvio:o}=e;if(void 0!==n)return e.listUi=Fi(o,t,r,n),e.listUi}function Oi(e,t){const{config:r,listInfo:n,listUi:o,luvio:a}=e,{networkPriority:i,requestCorrelator:s,eventObservers:c,sourceContext:l}=t,u={resourceRequestContext:{requestCorrelator:s,sourceContext:l},eventObservers:c};return"normal"!==i&&(u.overrides={priority:i}),n&&o&&o.data&&!Da(o)&&!Va(o)?ji(a,r,n,u,o):wi(a,r,u)}const xi=`${it}__getListUi`,Bi={...Mo,parameters:{...Mo.parameters,optional:[...Mo.parameters.optional,"listViewId"]}},Ui={...Wo,parameters:{...Wo.parameters,optional:[...Wo.parameters.optional,"listViewApiName","objectApiName"]}};function Di(e,t){if(void 0!==e.sortBy)return e.sortBy;const r=Na(e,t);return void 0!==r.sortBy?r.sortBy:null}function Mi(e,t,r){const n={...Na(e,t),...e};let o;if(Zi(n)){o=function(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}($o(n))}else if(Hi(n)){o=function(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}(Vo(n))}const a={records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:Jr(...r.getRecordSelectionFieldSets()),version:Nr}}},i=To(a,o);return Oo({records:{name:"records",kind:"Link",fragment:i}},o)}function Vi(e,t,r,n,o,a){return t({recordId:jo(0,{...o.listReference,sortBy:Di(n,r)}),node:Mi(n,r,a||_a(e,n,o)),variables:{}},zi(e,r,n))}function zi(e,t,r){return{config:r,resolve:()=>Wi(e,t,r,void 0)}}function Ki(e,t,r,n){const{body:o}=n,a=o.info,{listReference:i}=a,s=jo(0,{...i,sortBy:o.records.sortBy}),c=_a(e,r,a);c.processRecords(o.records.records),function(e,t){ba(e,t,e.id)}(i,t),Ia(r,o.records,i,t);const l=Mi(r,t,c);e.storeIngest(s,Bo,o);const u=e.storeLookup({recordId:s,node:l,variables:{}},zi(e,t,r));return e.storeBroadcast().then(()=>u)}function Wi(e,t,r,o){const a=function(e){const{fields:t,optionalFields:r,pageSize:n,pageToken:o,sortBy:a}=e,i={fields:t,optionalFields:r,pageSize:n,pageToken:o,sortBy:a};let s;if(Hi(e))s=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-ui/"+e.urlParam
560s.objectApiName+"/"+e.urlParams.listViewApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{listViewApiName:e.listViewApiName,objectApiName:e.objectApiName},queryParams:i});else{if(!Zi(e))throw new Error("unrecognized config");s=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-ui/"+e.urlParams.listViewId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{listViewId:e.listViewId},queryParams:i})}return s}(r);return e.dispatchResourceRequest(a,o).then(o=>{const{body:a}=o,i=a.records.sortBy;return i&&"string"==typeof i&&(a.records.sortBy=i.split(",")),e.handleSuccessResponse(()=>Ki(e,t,r,o),()=>{const t=new n.StoreKeyMap;return Uo(t,e,a),t})},n=>e.handleErrorResponse(()=>function(e,t,r,n){return Promise.resolve(e.errorSnapshot(n,zi(e,t,r)))}(e,t,r,n)))}function $i(e,t,r,o,a,i){const{request:s,releaseKeys:c}=function(e,t,r,n,o){const{fields:a,optionalFields:i,pageSize:s,pageToken:c,sortBy:l}=r,u={fields:a,optionalFields:i,pageSize:s,pageToken:c,sortBy:l},d={fields:a,optionalFields:i,pageSize:s,pageToken:c,sortBy:l};let p;if(Hi(r))p=Ba({urlParams:{listViewApiName:r.listViewApiName,objectApiName:r.objectApiName},body:d});else{if(!Zi(r))throw new Error("how did MRU config get here?");p=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-records/"+e.urlParams.listViewId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{listViewId:r.listViewId},queryParams:u})}let f=()=>{};if(o){if("Error"!==o.state){const{recordId:t,seenRecords:r}=o,n=void 0===r?[t]:[t,...r.keysAsArray()],a=[];n.forEach(e=>a.push(e)),f=e.storeRetain(a)}const a={recordId:So(0,{listViewId:n.eTag,searchTerm:null,where:null,sortBy:Di(r,t),objectApiName:n.listReference.objectApiName.toLowerCase(),listViewApiName:n.listReference.listViewApiName?n.listReference.listViewApiName.toLowerCase():n.listReference.listViewApiName}),node:{kind:"Fragment",private:[],opaque:!0,version:lo},variables:{}},i=e.storeLookup(a),s="Fulfilled"===i.state?i.data:{},{pageSize:c,pageToken:l}=Ua({data:o.data?o.data.records:null,name:"records",pageSize:r.pageSize||50,pageToken:r.pageToken,pagination:{offsetFromToken:go,tokenForAtMost:bo,paginationMetadata:s}});50===c&&void 0===p.queryParams.pageSize||(p.queryParams.pageSize=c),(l||void 0!==p.queryParams.pageToken)&&(p.queryParams.pageToken=l)}return{request:p,releaseKeys:f}}(e,t,r,o,i);return e.dispatchResourceRequest(s).then(i=>{const{body:s}=i;if(s.listInfoETag!==o.eTag)return Wi(e,t,r,a);const{sortBy:l}=s;return l&&"string"==typeof l&&(s.sortBy=l.split(",")),e.handleSuccessResponse(()=>function(e,t,r,n,o,a){const{body:i}=o,{listInfoETag:s}=i,c=_a(e,r,n).processRecords(i.records);e.storeIngest(Ro(0,{listViewId:s,searchTerm:null,where:null,sortBy:i.sortBy,objectApiName:n.listReference.objectApiName.toLowerCase(),listViewApiName:n.listReference.listViewApiName?n.listReference.listViewApiName.toLowerCase():n.listReference.listViewApiName}),Co,i);const l=Vi(e,e.storeLookup.bind(e),t,r,n,c);return a(),e.storeBroadcast().then(()=>l)}(e,t,r,o,i,c),()=>{const t=new n.StoreKeyMap;return Lo(t,e,s),t})},n=>e.handleErrorResponse(()=>function(e,t,r,n,o,a){const i=e.errorSnapshot(o);return e.storeIngestError(jo(0,{...n.listReference,sortBy:Di(r,t)}),i),a(),e.storeBroadcast().then(()=>i)}(e,t,r,o,n,c)))}function Qi(e,t,r){const{adapterContext:n,config:o}=e,a=Pa(o,n);if(void 0!==a)return Ra(0,a,t)}function Gi(e,t){const{adapterContext:r,config:n,listInfo:o,luvio:a}=e;if(void 0!==o)return e.listUi=Vi(a,t,r,n,o),e.listUi}function Ji(e,t){const{adapterContext:r,config:n,listInfo:o,listUi:a,luvio:i}=e,{networkPriority:s,requestCorrelator:c,eventObservers:l,sourceContext:u}=t,d={resourceRequestContext:{requestCorrelator:c,sourceContext:u},eventObservers:l};return"normal"!==s&&(d.overrides={priority:s}),o&&a&&a.data&&!Da(a)&&!Va(a)?$i(i,r,n,o,d,a):Wi(i,r,n,d)}function Hi(e){return void 0!==e.listViewApiName}function Xi(e){return Ze(e)&&e.objectApiName&&e.listViewApiName}function Zi(e){return!!e.listViewId}function Yi(e){return Ze(e)&&e.listViewId}const es=Symbol.for("MRU"),ts=e=>{const t=(t,r,n)=>{const o=function(e){return Xi(e)?zo(e,Bi):Yi(e)?Qo(e,Ui):null}(t);if(null===o)return null;const a=n||{},i=e.applyCachePolicy(a,{adapterContext:r,config:o,luvio:e},Qi,Ni(e)),s=t=>{const n=Da(t)||Va(t)?t.data:void 0;return e.applyCachePolicy(a,{adapterContext:r,config:o,listInfo:n,luvio:e},Gi,Ji)};return Ti(i)?i.then(s):s(i)};let r=null,n=null;return e.withContext(function(o,a,i){if(function(e){return Ze(e)&&e.listViewApiName===es}(o)){null===n&&(n=(e=>function(t,r){const n=Ii(t,Ci);if(null===n)return null;const o=r||{},a=e.applyCachePolicy(o,{config:n,luvio:e},Ei,Ni(e)),i=t=>{const r=Da(t)||Va(t)?t.data:void 0;return e.applyCachePolicy(o,{config:n,listInfo:r,luvio:e},qi,Oi)};return Ti(a)?a.then(i):i(a)})(e));const t={...o};return delete t.listViewApiName,n(t,i)}return function(e){return Ze(e)&&e.objectApiName&&!e.listViewId&&!e.listViewApiName}(o)?(null===r&&(r=(e=>function(t,r){const n=mi(t,di);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ki,Pi)})(e)),r(o,i)):Xi(o)||Yi(o)?t(o,a,i):null},{contextId:xi})},rs=9e5,ns="2302a71ca718abb60353eb88dedb1c12",os="ObjectInfoRepresentation";function as(e,t){return it+"::"+os+":"+t.apiName}function is(e,t){return as(0,{apiName:t.apiName})}function ss(e,t,r,n,o,a){return e}const cs=function(){return{kind:"Fragment",version:ns,private:["eTag"],selections:[{name:"apiName",kind:"Scalar"},{name:"associateEntityType",kind:"Scalar"},{name:"associateParentEntity",kind:"Scalar"},{name:"childRelationships",kind:"Object",opaque:!0},{name:"compactLayoutable",kind:"Scalar"},{name:"createable",kind:"Scalar"},{name:"custom",kind:"Scalar"},{name:"defaultRecordTypeId",kind:"Scalar"},{name:"deletable",kind:"Scalar"},{name:"dependentFields",kind:"Object",opaque:!0},{name:"feedEnabled",kind:"Scalar"},{name:"fields",kind:"Object",opaque:!0},{name:"keyPrefix",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"labelPlural",kind:"Scalar"},{name:"layoutable",kind:"Scalar"},{name:"mruEnabled",kind:"Scalar"},{name:"nameFields",kind:"Object",opaque:!0},{name:"queryable",kind:"Scalar"},{name:"recordTypeInfos",kind:"Object",opaque:!0},{name:"searchLayoutable",kind:"Scalar"},{name:"searchable",kind:"Scalar"},{name:"themeInfo",kind:"Object",opaque:!0},{name:"updateable",kind:"Scalar"}]}};function ls(e,t){return e.eTag===t.eTag}const us=function(e,t,r,o,a){const i=is(0,e),s=rs;return n.ingestShape(e,t,r,o,a,s,i,ss,"UiApi",ns,os,ls),Bt(i)};function ds(e,t,r,n){const o=is(0,r);e.set(o,{namespace:it,representationName:os,mergeable:!1})}function ps(e,t){return cs()}
560function fs(e,t){return as(0,{apiName:t.urlParams.objectApiName})}function ms(e,t,r,n){ds(e,0,n)}function gs(e,t,r,o){const{body:a}=r,i=fs(0,t);e.storeIngest(i,us,a);const s=e.storeLookup({recordId:i,node:ps(),variables:{}},o);return n.deepFreeze(s.data),s}function ys(e,t,r,n){const o=fs(0,t),a=e.errorSnapshot(r,n),i={ttl:rs,namespace:it,version:ns,representationName:os};return e.storeIngestError(o,a,i),a}const hs="getObjectInfo",vs=[ot("objectApiName",!0,0,0,!1,Nt)],bs=at(hs,vs),Ps=n.createResourceParams(vs);function ks(e,t){return fs(0,Ps(t))}function As(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,vs),t}(n.coerceConfig(e,vs));return Ye(r,t)?r:null}function Rs(e,t){return Ps(t),ps()}function Ss(e,t,r){const o=Ps(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/object-info/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=gs(e,r,n,{config:t,resolve:()=>Ss(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return ms(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=ys(e,r,n,{config:t,resolve:()=>Ss(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Is(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Ss,void 0,!1)}function Ns(e,t){const{luvio:r,config:n}=e;return t({recordId:ks(0,n),node:Rs(0,n),variables:{}},{config:n,resolve:()=>Ss(r,n,et)})}const Ts=e=>function(t,r){const n=As(t,bs);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Ns,Is)};var Cs;!function(e){e.EmptySpace="EmptySpace",e.ReportChart="ReportChart",e.VisualforcePage="VisualforcePage",e.Canvas="Canvas",e.Field="Field",e.CustomLink="CustomLink"}(Cs||(Cs={}));const Ls=9e5,_s="fb515e25a89ca1ec154dc865e72b913a",Fs="RecordLayoutRepresentation";function ws(e,t){return it+"::"+Fs+":"+(null===t.recordTypeId?"":t.recordTypeId)+":"+(null===t.objectApiName?"":t.objectApiName)+":"+t.layoutType+":"+t.mode}function js(e,t){return ws(0,{recordTypeId:t.recordTypeId,objectApiName:t.objectApiName,layoutType:t.layoutType,mode:t.mode})}function Es(e,t,r,n,o,a){return e}const qs=function(){return{kind:"Fragment",version:_s,private:["eTag"],selections:[{name:"id",kind:"Scalar"},{name:"layoutType",kind:"Scalar"},{name:"mode",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"saveOptions",kind:"Object",opaque:!0},{name:"sections",kind:"Object",opaque:!0}]}};function Os(e,t){return e.eTag===t.eTag}const xs=function(e,t,r,o,a){const i=js(0,e),s=Ls;return n.ingestShape(e,t,r,o,a,s,i,Es,"UiApi",_s,Fs,Os),Bt(i)};function Bs(e,t,r,n){const o=js(0,r);e.set(o,{namespace:it,representationName:Fs,mergeable:!1})}function Us(e){const t=gt(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=nr(t[e]);if(void 0===n)return;bt.call(r,n)}if(0!==r.length)return It(r).sort()}const Ds="12123f1aca1b5a48303b1d099f9f5629",Ms="RecordLayoutUserStateRepresentation";function Vs(e,t){return it+"::"+Ms+":"+t.recordTypeId+":"+t.apiName+":"+t.layoutType+":"+t.mode}function zs(e,t){return Vs(0,{recordTypeId:t.recordTypeId,apiName:t.apiName,layoutType:t.layoutType,mode:t.mode})}function Ks(e,t,r,n,o,a){return e}const Ws=function(){return{kind:"Fragment",version:Ds,private:["apiName","recordTypeId","layoutType","mode"],selections:[{name:"id",kind:"Scalar"},{name:"sectionUserStates",kind:"Object",opaque:!0}]}};function $s(e,t){return qt(t)===qt(e)}const Qs=function(e,t,r,o,a){const i=zs(0,e);return n.ingestShape(e,t,r,o,a,9e5,i,Ks,"UiApi",Ds,Ms,$s),Bt(i)};function Gs(e,t,r,n){const o=zs(0,r);e.set(o,{namespace:it,representationName:Ms,mergeable:!1})}const Js=9e5,Hs="49cdd4bc235a6094c3559cc7735b3b6d";function Xs(e,t,r,n,o,a){const i=e.layoutUserStates,s=r.fullPath+"__layoutUserStates",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=Qs(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const u=e.layouts,d=r.fullPath+"__layouts",p=Object.keys(u),f=p.length;for(let i=0;i<f;i++){const s=p[i],c=u[s],l=d+"__"+s,f=Object.keys(c),m=f.length;for(let i=0;i<m;i++){const s=f[i],u=c[s],d=l+"__"+s,p=Object.keys(u),m=p.length;for(let i=0;i<m;i++){const s=p[i],c=u[s],l=d+"__"+s,f=Object.keys(c),m=f.length;for(let i=0;i<m;i++){const s=f[i],u=c[s],d=l+"__"+s;c[s]=xs(u,{fullPath:d,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}}}}const m=e.objectInfos,g=r.fullPath+"__objectInfos",y=Object.keys(m),h=y.length;for(let i=0;i<h;i++){const s=y[i],c=m[s],l=g+"__"+s;m[s]=us(c,{fullPath:l,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const v=e.records,b=r.fullPath+"__records",P=Object.keys(v),k=P.length;for(let i=0;i<k;i++){const s=P[i],c=v[s],l=b+"__"+s;v[s]=co(c,{fullPath:l,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function Zs(e,t){if(e.eTag!==t.eTag)return!1;if(!1===xt(e.layoutUserStates,t.layoutUserStates,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(!1===xt(e.layouts,t.layouts,(e,t)=>{if(!1===xt(e,t,(e,t)=>{if(!1===xt(e,t,(e,t)=>{if(!1===xt(e,t,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1}))return!1}))return!1}))return!1;if(!1===xt(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return!1!==xt(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Ys=function(e,t,r,o,a){const i=t.fullPath,s=Js;return n.ingestShape(e,t,r,o,a,s,i,Xs,"UiApi",Hs,"RecordUiRepresentation",Zs),Bt(i)};const ec=[ot("recordIds",!0,0,0,!0,Us),ot("childRelationships",!1,1,0,!0),ot("formFactor",!1,1,0),ot("layoutTypes",!1,1,0,!0,or),ot("modes",!1,1,0,!0,ar),ot("optionalFields",!1,1,0,!0,_t),ot("pageSize",!1,1,3),ot("updateMru",!1,1,1)];function tc(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ec),t}(n.coerceConfig(e,ec));return Ye(r,t)?r:null}const rc=qs(),nc=cs(),oc=Ws();function ac(e,t,r,n){const o=[];for(let e=0,n=t.length;e<n;e+=1){const n=[],a={kind:"Object",name:t[e],selections:n};for(let e=0;e<r.length;e+=1){const t={kind:"Link",name:r[e],fragment:rc};bt.call(n,t)}bt.call(o,a)}const a=[],i=[];for(let t=0,r=e.length;t<r;t+=1){const{recordId:r,recordData:s}=e[t];bt.call(a,{kind:"Object",name:s.apiName,required:!1,map:!0,selections:o});const c=n[r],l=zr(s);bt.call(i,{kind:"Link",name:r,fragment:{kind:"Fragment",selections:Jr(l,c),private:["eTag","weakEtag"]}})}return{kind:"Fragment",private:["eTag"],version:Hs,selections:[{kind:"Link",name:"layoutUserStates",map:!0,fragment:oc},{kind:"Object",name:"layouts",selections:a},{kind:"Link",name:"objectInfos",map:!0,fragment:nc},{name:"records",kind:"Object",selections:i}]}}const ic="Name";function sc(e,t){const r=e.fields[t];return void 0!==r&&(!0===r.reference&&null!==r.relationshipName)}function cc(e,t){return e.fields[t].relationshipName}function lc(e,t){const r=e.fields[t].referenceToInfos;
560if(1!==r.length)return ic;const n=r[0].nameFields;if(n.length<1)return ic;for(let e=0,t=r.length;e<t;e++){const t=r[e].nameFields;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(r===ic)return r}}return n[0]}function uc(e,t){const r=[],n=[];for(let o=0,a=e.sections.length;o<a;o++){const a=e.sections[o];for(let e=0,o=a.layoutRows.length;e<o;e++){const o=a.layoutRows[e];for(let e=0,a=o.layoutItems.length;e<a;e++){const a=o.layoutItems[e];for(let e=0,o=a.layoutComponents.length;e<o;e++){const o=a.layoutComponents[e],{apiName:i}=o;if(i&&"Field"===o.componentType){if(sc(t,i)){const e=cc(t,i);r.push(`${t.apiName}.${e}.Id`);const o=lc(t,i);n.push(`${t.apiName}.${e}.${o}`)}r.push(`${t.apiName}.${o.apiName}`)}}}}}return{fields:r,optionalFields:n}}function dc(e,t){const r={},{apiName:n,fields:o}=e,{fields:a}=t,i=dt(a);for(let e=0,s=i.length;e<s;e+=1){const s=i[e],c=a[s],{relationshipName:l}=c;if(null===l)continue;const u=o[l];if(void 0===u||null!==u.value)continue;r[`${n}.${l}.Id`]=!0;r[`${n}.${l}.${lc(t,s)}`]=!0}return dt(r)}function pc(e){const{records:t,objectInfos:r}=e,n={},o=dt(t);for(let e=0,a=o.length;e<a;e+=1){const a=o[e],i=t[a],{apiName:s}=i,c=r[s];n[a]=dc(i,c)}return n}const fc={displayName:"getRecordUi",parameters:{required:["recordIds","layoutTypes","modes"],optional:["optionalFields"],unsupported:["formFactor","childRelationships","pageSize","updateMru"]}},mc={ttl:Js,representationName:"",namespace:it,version:"RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION_1"},gc="RECORD_UI_CACHED_SELECTOR_VERSION_1";function yc(e){return`${e}__selector`}function hc(e,t){const{layouts:r}=e,n=dt(r);for(let e=0,o=n.length;e<o;e+=1){const o=n[e],a=r[o],i=dt(a);for(let e=0,r=i.length;e<r;e+=1){const r=i[e],n=a[r],s=dt(n);for(let e=0,a=s.length;e<a;e+=1){const a=n[s[e]],i=dt(a);for(let e=0,n=i.length;e<n;e+=1){t(o,r,a[i[e]])}}}}}function vc(e,t){const r=[];for(let n=0,o=t.length;n<o;n+=1){const o=t[n],a=e.records[o];bt.call(r,{recordId:o,recordData:a,recordTypeId:pn(a)})}return r}function bc(e,t,r,n){const o=e.sort().join(","),a=n.sort().join(","),i=t.sort().join(","),s=r.sort().join(",");return`${it}::RecordUiRepresentation:${o}:${i}:${s}:${a}`}function Pc(e,t){return{config:t,resolve:()=>Ac(e,t)}}function kc(e,t,r,n,o){const{recordIds:a,layoutTypes:i,modes:s,optionalFields:c}=t;hc(o,(e,t,r)=>{if(null===r.id)return;const n=o.layoutUserStates[r.id];void 0!==n&&(n.apiName=e,n.recordTypeId=t,n.mode=r.mode,n.layoutType=r.layoutType)});const l=pc(o),u={recordId:n,node:ac(vc(o,a),i,s,l),variables:{}};e.storePublish(r,u),e.storeIngest(n,Ys,o);const d=[],p=[];for(let t=0,r=a.length;t<r;t+=1){const r=a[t],n=Cr(0,{recordId:r}),o=e.getNode(n);Zr(o)&&(d.push(o),p.push(r))}!function(e,t){for(let r=0,n=t.length;r<n;r++){const n=t[r].data.id;void 0!==e[n]&&gn(t[r],e[n])}}(l,d),function(e,t,r){for(let n=0,o=r.length;n<o;n++){const o=r[n].data.id;(e.length>0||void 0!==t[o])&&fn(r[n],[...e,...t[o]])}}(c,l,d),function(e,t,r){for(let n=0,o=t.length;n<o;n+=1){const o=Sn({recordId:t[n]}),a=ct(null);for(let e=0,t=r.length;e<t;e++)a[r[e]]=!0;const i=e.getNode(o);if(Zr(i)){const e=i.retrieve();st(a,e)}e.storePublish(o,a)}}(e,p,[n,r]);const f=e.storeLookup(u,Pc(e,t));return e.storeBroadcast().then(()=>f)}function Ac(e,t,r){const{key:o,resourceRequest:a,selectorKey:i}=function(e,t){const{recordIds:r,layoutTypes:n,modes:o,optionalFields:a}=t,i=bc(r,n,o,a),s=yc(i),c=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/record-ui/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{recordIds:r},queryParams:{layoutTypes:n,modes:o,optionalFields:It(a).sort()}});return{key:i,selectorKey:s,resourceRequest:c}}(0,t);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>kc(e,t,i,o,r.body),()=>{const a=new n.StoreKeyMap;return function(e,t,r,o,a){const{recordIds:i,layoutTypes:s,modes:c}=r,l=kt(At(a));hc(l,(e,t,r)=>{if(null===r.id)return;const n=l.layoutUserStates[r.id];void 0!==n&&(n.apiName=e,n.recordTypeId=t,n.mode=r.mode,n.layoutType=r.layoutType)});const u=pc(l),d={recordId:o,node:ac(vc(l,i),s,c,u),variables:{}};t.storeIngest(o,Ys,l);const p=t.storeLookup(d,Pc(t,r));if("Error"===p.state)return new n.StoreKeyMap;const f=[...p.seenRecords.keysAsArray(),p.recordId];for(let t=0,r=f.length;t<r;t++){const r=f[t],n=r.split("::")[0],o=r.split("::")[1].split(":")[0];e.set(r,{namespace:n,representationName:o,mergeable:o===Tr})}}(a,e,t,o,r.body),a}),r=>e.handleErrorResponse(()=>function(e,t,r,n,o){const a=e.errorSnapshot(o,Pc(e,t));return e.storeIngestError(n,a,mc),e.storeBroadcast().then(()=>
560{if("fetchResponse"===o.errorType){const{status:a}=o;if(404===a){const o={recordId:n,node:{kind:"Fragment",private:[],opaque:!0,version:gc},variables:{}};return e.storePublish(r,o),e.storeLookup(o,Pc(e,t))}}return a})}(e,t,i,o,r)))}function Rc(e,t){const{config:r}=e,{recordIds:n,layoutTypes:o,modes:a,optionalFields:i}=r;return t({recordId:yc(bc(n,o,a,i)),node:{kind:"Fragment",private:[],opaque:!0,version:gc},variables:{}})}function Sc(e,t){const{config:r,luvio:n,selector:o}=e;if(void 0!==o)return t(o,Pc(n,r))}function Ic(e,t){const{networkPriority:r,requestCorrelator:n,eventObservers:o,sourceContext:a}=t,i={resourceRequestContext:{requestCorrelator:n,sourceContext:a},eventObservers:o};return"normal"!==r&&(i.overrides={priority:r}),Ac(e.luvio,e.config,i)}const Nc=e=>function(t,r){const n=function(e){const t=tc(e,fc);if(null===t)return null;const{layoutTypes:r,modes:n}=t;return void 0===r||void 0===n?null:{...t,layoutTypes:r,modes:n,optionalFields:void 0===t.optionalFields?[]:t.optionalFields}}(t);if(null===n)return null;const o=r||{},a=e.applyCachePolicy(o,{config:n,luvio:e},Rc,Ni(e)),i=t=>{const r=Da(t)||Va(t)?t.data:void 0;return e.applyCachePolicy(o,{config:n,luvio:e,selector:r},Sc,Ic)};return Ti(a)?a.then(i):i(a)};var Tc;!function(e){e.View="View",e.Edit="Edit",e.Create="Create"}(Tc||(Tc={}));const Cc=Tc.View,Lc=qs();function _c(e,t){return{config:t,resolve:()=>function(e,t){const{recordId:r,layoutTypes:n,modes:o,optionalFields:a}=t,i=void 0===o?[Cc]:o,s=void 0===a?[]:a;return Ac(e,{recordIds:[r],layoutTypes:n,modes:i,optionalFields:s}).then(n=>{const o=_c(e,t);if(za(n)){var a=Cr(0,{recordId:r});return e.storeIngestError(a,n),e.storeBroadcast().then(()=>e.errorSnapshot(n.error,o))}Ma(n);const{data:i}=n;if(void 0===i)throw new Error(`RecordUi adapter resolved with a ${n.state} snapshot with undefined data`);const{layoutMap:c,objectInfo:l}=wc(r,i),{fields:u,optionalFields:d}=qc(c,l),p=It(s.concat(d));return function(e,t,r){const n=void 0===t.fields?[]:t.fields,o=void 0===t.optionalFields?[]:t.optionalFields,a=Vn(0,t.recordId,n,o);return e.storeLookup(a,r||zn(e,t))}(e,{recordId:r,fields:u,optionalFields:p},o)})}(e,t)}}function Fc(e,t){return`${is(0,t)}__implicit__fields__selector`}function wc(e,t){const{objectInfos:r,layouts:n,records:o}=t,a=o[e],{apiName:i}=a,s=r[i],c=pn(a);let l={};return pt.call(n,i)&&(l=n[i][c]||{}),{layoutMap:l,objectInfo:s}}function jc(e,t,r,n,o,a,i){if(za(o))return e.errorSnapshot(o.error,t);Ma(o);const{data:s}=o;if(void 0===s)throw new Error(`RecordUi adapter resolved with a ${o.state} snapshot with undefined data`);const{layoutMap:c,objectInfo:l}=wc(r,s);return l.layoutable?function(e,t,r,n,o,a){let{fields:i,optionalFields:s}=qc(n,o);a&&a.length>0&&(s=It(s.concat(a)));const c=function(e,t){const r=t||[];return e.forEach(e=>{e in r||r.push(e)}),r}(i,s);return Oc(e,t,r,[],c)}(e,t,r,c,l,i):function(e,t,r,n,o,a,i){const s=dt(i||{}).map(e=>`${o.apiName}.${e}`),c=Fc(0,o);return t.set(c,s),Oc(e,r,n,s,a)}(e,a,t,r,l,i,function(e,t){const{records:r}=t,n=r[e],{fields:o}=n;return o}(r,s))}const Ec=[{name:"apiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"}];function qc(e,t){let r=[],n=[];const o=dt(e);for(let a=0,i=o.length;a<i;a+=1){const i=e[o[a]],s=dt(i);for(let e=0,o=s.length;e<o;e+=1){const o=s[e],{fields:a,optionalFields:c}=uc(i[o],t);r=r.concat(a),n=n.concat(c)}}return{fields:It(r).sort(),optionalFields:It(n).sort()}}function Oc(e,t,r,n,o){const a=Jn(e,{recordId:r,fields:n,optionalFields:void 0===o?[]:It(o).sort()});return Ti(a)?a.then(e=>(e.refresh=t,e)):a.refresh=t,a}function xc(e,t){const{config:r,luvio:n,adapterContext:o}=e,{recordId:a}=r,i=void 0===r.optionalFields?[]:It(r.optionalFields).sort(),s=_c(n,r),{networkPriority:c,requestCorrelator:l,eventObservers:u,sourceContext:d}=t,p={resourceRequestContext:{requestCorrelator:l,sourceContext:d},eventObservers:u};if("normal"!==c&&(p.overrides={priority:c}),void 0!==e.fields){const r={recordId:a,fields:e.fields,optionalFields:i};return $n(n,r,0,t).then(e=>(e.refresh=s,e))}const f=void 0!==r.modes?r.modes:[Cc],m={recordIds:[a],layoutTypes:r.layoutTypes,modes:f,optionalFields:i};return Ac(n,m,p).then(e=>jc(n,s,a,0,e,o,i))}function Bc(e,t){const{config:r,luvio:n}=e,{recordId:o}=r;return t({recordId:Cr(0,{recordId:o}),node:{kind:"Fragment",private:[],selections:Ec,version:Nr},variables:{}})}const Uc=(e,t,r,n)=>(o,a)=>{const{luvio:i}=o;return a({recordId:ws(0,{objectApiName:e,recordTypeId:t,layoutType:r,mode:n}),node:Lc,variables:{}})};function Dc(e,t,r,n){return e.applyCachePolicy({},{config:t,luvio:e,adapterContext:r},n,()=>new Promise(e=>{e({state:"Error",data:void 0,error:{body:void 0,headers:{},ok:!1,status:504,statusText:"Gateway Timeout",errorType:"fetchResponse"}})}
560))}function Mc(e,t,r,n){return e.applyCachePolicy(n||{},{config:t,luvio:e,adapterContext:r},()=>{},xc)}function Vc(e,t,r,n){return Kc(Dc(e,t,r,Bc),o=>{if("Unfulfilled"===o.state||"Error"===o.state||void 0===o.data)return Mc(e,t,r,n);const a=Dc(e,t,r,(e=>(t,r)=>{const{luvio:n}=t;if(void 0!==e.data)return Ns({config:{objectApiName:e.data.apiName},luvio:n},r)})(o));return Kc(a,a=>{const{layoutTypes:i}=t;if("Unfulfilled"===a.state||"Error"===a.state||void 0===a.data)return Mc(e,t,r,n);const{data:s}=o,c=pn(s),l=void 0===t.modes?[Cc]:t.modes;if(!a.data.layoutable){const i=Fc(0,a.data),s=r.get(i);return s?e.applyCachePolicy(n||{},{config:t,luvio:e,adapterContext:r},function(e,t,r,n,o){return(a,i)=>zc(e,t,r,n,o,!1,a,i)}(e,t,o,a,s),xc):Mc(e,t,r,n)}return function(e,t,r,n,o,a,i){let s=[];for(let c=0;c<o.length;c++){const l=o[c];for(let o=0;o<a.length;o++){const c=a[o];s.push(Promise.resolve(Dc(e,t,i,Uc(r,n,l,c))).then(e=>({layoutType:l,mode:c,snapshot:e})))}}return Promise.all(s).then(e=>{let t={isStale:!1};for(let r=0;r<e.length;r++){const n=e[r];if(void 0===n.snapshot.data){t.isStale=!1,t.layoutMap=void 0;break}void 0===t.layoutMap&&(t.layoutMap={});const{layoutType:o,mode:a,snapshot:i}=n;void 0===t.layoutMap[o]&&(t.layoutMap=st({},t.layoutMap,{[o]:{}})),void 0!==i.data&&(t.layoutMap[o][a]=i.data),t.isStale=t.isStale||Va(i)}return t})}(e,t,a.data.apiName,c,i,l,r).then(i=>e.applyCachePolicy(n||{},{config:t,luvio:e,adapterContext:r},function(e,t,r,n,o){return(a,i)=>{const{layoutMap:s,isStale:c}=e;if(void 0===s||void 0===o.data)return;const{fields:l,optionalFields:u}=qc(s,o.data);let d={...r,optionalFields:r.optionalFields?It(r.optionalFields.concat(u)).sort():u};return zc(t,d,n,o,l,c,a,i)}}(i,e,t,o,a),xc))})})}function zc(e,t,r,n,o,a,i,s){if(void 0===n.data)return;const c=void 0===t.optionalFields?[]:It(t.optionalFields).sort(),{recordId:l}=t,u=s(Vn(0,l,o,c),_c(e,t));return Da(u)?(Va(n)||Va(r)||a)&&(u.state="Stale"):Ma(u)&&(i.fields=o,i.config.optionalFields=c),u}function Kc(e,t){return Ti(e)?e.then(t):t(e)}const Wc=`${it}__getRecord`,$c={displayName:"getRecord",parameters:{required:["recordId"],optional:["fields","layoutTypes","modes","optionalFields"],unsupported:["childRelationships","pageSize","updateMru"]}};function Qc(e,t){const r={urlParams:{recordId:e.id},queryParams:{optionalFields:t}};return qn(r)}const Gc=e=>function(t){const r=t.map(e=>Cr(0,function(e){const t={},r=nr(e.recordId);return void 0!==r&&(t.recordId=r),t}(e)));e.getNotifyChangeStoreEntries(r).then(t=>{const r=[];for(let o=0,a=t.length;o<a;o++){const{key:a,record:i}=t[o],s=e.wrapNormalizedGraphNode(i,a),c=dn(a,s,{maxDepth:qe.getTrackedFieldDepthOnNotifyChange(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()}),l=Qc(i,c),u=i.weakEtag,d=cn([],!1),p=cn(c,!0),f=e.dispatchResourceRequest(l).then(t=>e.handleSuccessResponse(()=>{const{body:r}=t;e.storeIngest(a,Fn({fields:d,optionalFields:p,trackedFields:p,serverRequestCount:1}),r);const n=e.storeBroadcast();return De.getRecordNotifyChangeNetworkResult(u!==r.weakEtag),n},()=>{const r=new n.StoreKeyMap;return wr(r,e,t.body),r}),t=>e.handleErrorResponse(()=>{const r=e.errorSnapshot(t);e.storeIngestError(a,r,Xr);const n=e.storeBroadcast();return De.getRecordNotifyChangeNetworkResult(null,!0),n.then(()=>r)}));r.push(f)}return Promise.all(r)})},Jc=e=>e.withContext(function(t,r,n){const o=Mn(t,$c);return null===o?null:function(e){return"layoutTypes"in e}(o)?Vc(e,o,r,n):function(e){return"fields"in e||"optionalFields"in e}(o)?Jn(e,o,n):null},{contextId:Wc}),Hc=e=>function(t){const r=(e=>function(t){const r=t.map(e=>Xt(0,e));return e.notifyStoreUpdateAvailable(r)})(e);return t.forEach(e=>{e.listViewApiName=e.listViewApiName?e.listViewApiName.toLowerCase():e.listViewApiName,e.objectApiName=e.objectApiName?e.objectApiName.toLowerCase():e.objectApiName,e.type||(e.type="__recent"===e.listViewApiName?"mru":"listView")}),r(t)},Xc="4aa37812ee37c752a099b29026217c85",Zc="ObjectInfoDirectoryEntryRepresentation";function Yc(e,t){const r={objectInfoUrl:t.objectInfoUrl};return it+"::"+Zc+":"+r.objectInfoUrl}function el(e,t,r,n,o,a){return e}function tl(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;if(e.labelPlural!==t.labelPlural)return!1;if(e.objectInfoUrl!==t.objectInfoUrl)return!1;if(e.keyPrefix!==t.keyPrefix)return!1;
560return!1!==Ot(e.nameFields,t.nameFields,(e,t)=>{if(e!==t)return!1})}const rl=function(e,t,r,o,a){const i=Yc(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,el,"UiApi",Xc,Zc,tl),Bt(i)};function nl(e,t,r,n){const o=Yc(0,r);e.set(o,{namespace:it,representationName:Zc,mergeable:!1})}const ol="37fd8c0154ee743c9defbf03e9b4b067",al="ObjectInfoDirectoryRepresentation";function il(e,t,r,n,o,a){const i=e.objects,s=r.fullPath+"__objects",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=rl(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function sl(e,t){return!1!==xt(e.objects,t.objects,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const cl=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,il,"UiApi",ol,al,sl),Bt(i)};const ll="7e00c51105cbf56a79ab8fcddf462c1e",ul="QuickActionExecutionRepresentation";function dl(e,t){return it+"::"+ul+":"+t.id}function pl(e,t){return dl(0,{id:t.id})}function fl(e,t,r,n,o,a){return e}const ml=function(){return{kind:"Fragment",version:ll,private:["eTag"],selections:[{name:"contextId",kind:"Scalar"},{name:"feedItemId",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"isCreated",kind:"Scalar"},{name:"isSuccess",kind:"Scalar"},{name:"successMessage",kind:"Scalar"}]}};function gl(e,t){if(e.isCreated!==t.isCreated)return!1;if(e.isSuccess!==t.isSuccess)return!1;if(e.eTag!==t.eTag)return!1;if(e.id!==t.id)return!1;if(e.successMessage!==t.successMessage)return!1;if(e.contextId!==t.contextId)return!1;return e.feedItemId===t.feedItemId}const yl=function(e,t,r,o,a){const i=pl(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,fl,"UiApi",ll,ul,gl),Bt(i)};function hl(e,t,r,n){const o=pl(0,r);e.set(o,{namespace:it,representationName:ul,mergeable:!1})}const vl=9e5,bl="993b0a7bce6056c4f57ed300ec153d9c",Pl="QuickActionDefaultsRepresentation";function kl(e,t){return it+"::"+Pl+":"+t.actionApiName}function Al(e,t){return kl(0,{actionApiName:t.actionApiName})}const Rl=e=>function(t){const r=t.map(e=>kl(0,e));return e.notifyStoreUpdateAvailable(r)};function Sl(e){const t=gt(e)?e:[e];return 0===t.length?t:ar(t)}var Il;function Nl(e){if(e===Il.Large||e===Il.Medium||e===Il.Small)return e}!function(e){e.Large="Large",e.Medium="Medium",e.Small="Small"}(Il||(Il={}));const Tl="3f49d751896cf66e6e29788d8880e2cc",Cl="PlatformActionRepresentation";function Ll(e,t){const r={externalId:t.externalId,relatedSourceObject:t.relatedSourceObject,relatedListRecordId:t.relatedListRecordId};return it+"::"+Cl+":"+(n=r).externalId+":"+(null===n.relatedSourceObject?"":n.relatedSourceObject)+":"+(null===n.relatedListRecordId?"":n.relatedListRecordId);var n}function _l(e,t,r,n,o,a){return e}function Fl(e,t){if(e.actionListContext!==t.actionListContext)return!1;if(e.apiName!==t.apiName)return!1;if(e.externalId!==t.externalId)return!1;if(e.id!==t.id)return!1;if(e.isMassAction!==t.isMassAction)return!1;if(e.label!==t.label)return!1;if(e.sourceObject!==t.sourceObject)return!1;if(e.type!==t.type)return!1;if(e.actionTarget!==t.actionTarget)return!1;if(e.actionTargetType!==t.actionTargetType)return!1;if(e.iconUrl!==t.iconUrl)return!1;if(e.lwcComponent!==t.lwcComponent)return!1;if(e.primaryColor!==t.primaryColor)return!1;if(e.relatedListRecordId!==t.relatedListRecordId)return!1;if(e.relatedSourceObject!==t.relatedSourceObject)return!1;if(e.section!==t.section)return!1;if(e.subtype!==t.subtype)return!1;if(e.targetObject!==t.targetObject)return!1;return e.targetUrl===t.targetUrl}const wl=function(e,t,r,o,a){const i=Ll(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,_l,"UiApi",Tl,Cl,Fl),Bt(i)};function jl(e,t,r,n){const o=Ll(0,r);e.set(o,{namespace:it,representationName:Cl,mergeable:!1})}const El="378d506f563a4bd724b322d440df33d1",ql="EntityActionRepresentation";function Ol(e,t){const r={url:t.url};return it+"::"+ql+":"+r.url}function xl(e,t,r,n,o,a){const i=e.actions,s=r.fullPath+"__actions";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=wl(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function Bl(e,t){if(e.url!==t.url)return!1;if(!1===Ot(e.actions,t.actions,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return!1!==Ot(e.links,t.links,(e,t)=>{if(e!==t)return!1})}const Ul=function(e,t,r,o,a){const i=Ol(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,xl,"UiApi",El,ql,Bl),Bt(i)};function Dl(e,t,r,n){const o=Ol(0,r);e.set(o,{namespace:it,representationName:ql,mergeable:!1});const a=r.actions.length;for(let t=0;t<a;t++)jl(e,0,r.actions[t])}const Ml=3e5,Vl="e485d96c1402a9ca2f56e56485af0216",zl="ActionRepresentation";function Kl(e,t,r,n,o,a){const i=e.actions,s=r.fullPath+"__actions",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=Ul(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const Wl=function(){return{kind:"Fragment",version:Vl,private:["eTag","url"],selections:[{name:"actions",kind:"Link",map:!0,fragment:{kind:"Fragment",version:El,private:["links","url"],selections:[{name:"actions",kind:"Link",plural:!0,fragment:{kind:"Fragment",version:Tl,private:["id"],selections:[{name:"actionListContext",kind:"Scalar"},{name:"actionTarget",kind:"Scalar"},{name:"actionTargetType",kind:"Scalar"},{name:"apiName",kind:"Scalar"},{name:"externalId",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"},{name:"isMassAction",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"lwcComponent",kind:"Scalar"},{name:"primaryColor",kind:"Scalar"},{name:"relatedListRecordId",kind:"Scalar"},{name:"relatedSourceObject",kind:"Scalar"},{name:"section",kind:"Scalar"},{name:"sourceObject",kind:"Scalar"},{name:"subtype",kind:"Scalar"},{name:"targetObject",kind:"Scalar"},{name:"targetUrl",kind:"Scalar"},{name:"type",kind:"Scalar"}]}}]}}]}};function $l(e,t){if(e.eTag!==t.eTag)return!1;if(e.url!==t.url)return!1;return!1!==xt(e.actions,t.actions,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Ql=function(e,t,r,o,a){const i=t.fullPath,s=Ml;return n.ingestShape(e,t,r,o,a,s,i,Kl,"UiApi",Vl,zl,$l),Bt(i)};function Gl(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:zl,mergeable:!1});const a=r.actions,i=Ft(a),s=i.length;for(let t=0;t<s;t++){Dl(e,0,a[i[t]])}}function Jl(e,t){return Wl()}function Hl(e,t){return it+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",apiNames:"+t.queryParams.apiNames+",formFactor:"+t.queryParams.formFactor+",retrievalMode:"+t.queryParams.retrievalMode+",sections:"+t.queryParams.sections+")"}const Xl="getGlobalActions",Zl=[ot("actionTypes",!1,1,0,!0),ot("apiNames",!1,1,0,!0,Sl),ot("formFactor",!1,1,0,!1,Nl),ot("retrievalMode",!1,1,0),ot("sections",!1,1,0,!0,ar)],Yl=at(Xl,Zl),eu=n.createResourceParams(Zl);function tu(e,t){return Hl(0,eu(t))}function ru(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Zl),t}(n.coerceConfig(e,Zl));return Ye(r,t)?r:null}function nu(e,t){return eu(t),Jl()}function ou(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Hl(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:Jl(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>iu(e,t,et)});return e.storeBroadcast().then(()=>a)}function au(e,t,r,n){const o=function(e,t,r,n){const o=Hl(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}
560(e,r,n,{config:t,resolve:()=>iu(e,t,et)});return e.storeBroadcast().then(()=>o)}function iu(e,t,r){const o=eu(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/global",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>ou(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gl(e,0,n,()=>Hl(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>au(e,t,o,r)))}function su(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,iu,void 0,!1)}function cu(e,t){const{luvio:r,config:n}=e;return t({recordId:tu(0,n),node:nu(0,n),variables:{}},{config:n,resolve:()=>iu(r,n,et)})}const lu=e=>function(t,r){const n=ru(t,Yl);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},cu,su)},uu=9e5,du="35f3eec8ce7f6001c6d5d17821b75bb9",pu="QuickActionLayoutRepresentation";function fu(e,t){return it+"::"+pu+":"+t.actionApiName}function mu(e,t){return fu(0,{actionApiName:t.actionApiName})}function gu(e,t,r,n,o,a){return e}function yu(e,t){return e.eTag===t.eTag}const hu=function(e,t,r,o,a){const i=mu(0,e),s=uu;return n.ingestShape(e,t,r,o,a,s,i,gu,"UiApi",du,pu,yu),Bt(i)};function vu(e,t){return{kind:"Fragment",version:du,private:["eTag"],selections:[{name:"actionApiName",kind:"Scalar"},{name:"layout",kind:"Object",opaque:!0}]}}function bu(e,t){return fu(0,{actionApiName:t.urlParams.actionApiName})}function Pu(e,t,r,n){!function(e,t,r){const n=mu(0,r);e.set(n,{namespace:it,representationName:pu,mergeable:!1})}(e,0,n)}const ku="getQuickActionLayout",Au=[ot("actionApiName",!0,0,0),ot("objectApiName",!1,1,0),ot("recordTypeId",!1,1,0)],Ru=at(ku,Au),Su=n.createResourceParams(Au);function Iu(e,t){return bu(0,Su(t))}function Nu(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Au),t}(e);return Ye(r,t)?r:null}function Tu(e,t){return Su(t),vu()}function Cu(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=bu(0,t);e.storeIngest(i,hu,a);const s=e.storeLookup({recordId:i,node:vu(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>_u(e,t,et)});return e.storeBroadcast().then(()=>a)}function Lu(e,t,r,n){const o=function(e,t,r,n){const o=bu(0,t),a=e.errorSnapshot(r,n),i={ttl:uu,namespace:it,version:du,representationName:pu};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>_u(e,t,et)});return e.storeBroadcast().then(()=>o)}function _u(e,t,r){const o=Su(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/layout/"+e.urlParams.actionApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Cu(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Pu(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>Lu(e,t,o,r)))}function Fu(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,_u,void 0,!1)}function wu(e,t){const{luvio:r,config:n}=e;return t({recordId:Iu(0,n),node:Tu(0,n),variables:{}},{config:n,resolve:()=>_u(r,n,et)})}const ju=e=>function(t,r){const n=Nu(t,Ru);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},wu,Fu)};function Eu(e){const t=gt(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=Nt(t[e]);if(void 0===n)return;bt.call(r,n)}if(0!==r.length)return It(r)}function qu(e,t){return Wl()}function Ou(e,t){return it+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",objectApiNames:"+t.urlParams.objectApiNames+")"}const xu="getLookupActions",Bu=[ot("objectApiNames",!0,0,0,!0,function(e){const t=Eu(e);return void 0===t?void 0:t.sort()}),ot("actionTypes",!1,1,0,!0,ar),ot("formFactor",!1,1,0,!1,Nl),ot("sections",!1,1,0,!0,ar)],Uu=at(xu,Bu),Du=n.createResourceParams(Bu);function Mu(e,t){return Ou(0,Du(t))}function Vu(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Bu),t}(n.coerceConfig(e,Bu));return Ye(r,t)?r:null}function zu(e,t){return Du(t),qu()}function Ku(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Ou(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:qu(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>$u(e,t,et)});return e.storeBroadcast().then(()=>a)}function Wu(e,t,r,n){const o=function(e,t,r,n){const o=Ou(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}
560(e,r,n,{config:t,resolve:()=>$u(e,t,et)});return e.storeBroadcast().then(()=>o)}function $u(e,t,r){const o=Du(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/lookup/"+e.urlParams.objectApiNames,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Ku(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gl(e,0,n,()=>Ou(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Wu(e,t,o,r)))}function Qu(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,$u,void 0,!1)}function Gu(e,t){const{luvio:r,config:n}=e;return t({recordId:Mu(0,n),node:zu(0,n),variables:{}},{config:n,resolve:()=>$u(r,n,et)})}const Ju=e=>function(t,r){const n=Vu(t,Uu);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Gu,Qu)};function Hu(e,t){return Wl()}function Xu(e,t){return it+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",objectApiName:"+t.urlParams.objectApiName+")"}const Zu="getObjectCreateActions",Yu=[ot("objectApiName",!0,0,0,!1,Nt),ot("actionTypes",!1,1,0,!0),ot("formFactor",!1,1,0,!1,Nl),ot("sections",!1,1,0,!0,ar)],ed=at(Zu,Yu),td=n.createResourceParams(Yu);function rd(e,t){return Xu(0,td(t))}function nd(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Yu),t}(n.coerceConfig(e,Yu));return Ye(r,t)?r:null}function od(e,t){return td(t),Hu()}function ad(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Xu(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:Hu(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>sd(e,t,et)});return e.storeBroadcast().then(()=>a)}function id(e,t,r,n){const o=function(e,t,r,n){const o=Xu(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>sd(e,t,et)});return e.storeBroadcast().then(()=>o)}function sd(e,t,r){const o=td(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/object/"+e.urlParams.objectApiName+"/record-create",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>ad(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gl(e,0,n,()=>Xu(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>id(e,t,o,r)))}function cd(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,sd,void 0,!1)}function ld(e,t){const{luvio:r,config:n}=e;return t({recordId:rd(0,n),node:od(0,n),variables:{}},{config:n,resolve:()=>sd(r,n,et)})}const ud=e=>function(t,r){const n=nd(t,ed);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ld,cd)},dd="fecd80e9e24a1c1e75fd5395cd34ff2e",pd="ActionOverrideRepresentation";function fd(e,t,r,n,o,a){return e}function md(e,t){return qt(t)===qt(e)}const gd=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,fd,"UiApi",dd,pd,md),Bt(i)};function yd(e,t){return{kind:"Fragment",version:dd,private:[],opaque:!0}}function hd(e,t){return it+"::ActionOverrideRepresentation:(defaultTemplateOnly:"+t.queryParams.defaultTemplateOnly+",type:"+t.queryParams.type+",objectApiName:"+t.urlParams.objectApiName+")"}function vd(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:pd,mergeable:!1})}(e,0,0,()=>hd(0,r))}const bd="getActionOverrides",Pd=[ot("objectApiName",!0,0,0,!1,Nt),ot("defaultTemplateOnly",!1,1,1),ot("type",!1,1,0)],kd=at(bd,Pd),Ad=n.createResourceParams(Pd);function Rd(e,t){return hd(0,Ad(t))}function Sd(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Pd),t}(n.coerceConfig(e,Pd));return Ye(r,t)?r:null}function Id(e,t){return Ad(t),yd()}function Nd(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=hd(0,t);e.storeIngest(i,gd,a);const s=e.storeLookup({recordId:i,node:yd(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Cd(e,t,et)});return e.storeBroadcast().then(()=>a)}function Td(e,t,r,n){const o=function(e,t,r,n){const o=hd(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}
560(e,r,n,{config:t,resolve:()=>Cd(e,t,et)});return e.storeBroadcast().then(()=>o)}function Cd(e,t,r){const o=Ad(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/overrides/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Nd(e,t,o,r),()=>{const e=new n.StoreKeyMap;return vd(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Td(e,t,o,r)))}function Ld(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Cd,void 0,!1)}function _d(e,t){const{luvio:r,config:n}=e;return t({recordId:Rd(0,n),node:Id(0,n),variables:{}},{config:n,resolve:()=>Cd(r,n,et)})}const Fd=e=>function(t,r){const n=Sd(t,kd);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},_d,Ld)},wd=3e5,jd="c57b66c259b23683db7b763e132e8633",Ed="FlexipageFormulaActivationRepresentation";function qd(e,t,r,n,o,a){return e}function Od(e,t){return qt(t)===qt(e)}const xd=function(e,t,r,o,a){const i=t.fullPath,s=wd;return n.ingestShape(e,t,r,o,a,s,i,qd,"UiApi",jd,Ed,Od),Bt(i)};function Bd(e,t){return{kind:"Fragment",version:jd,private:["eTag"],selections:[{name:"activations",kind:"Object",opaque:!0}]}}function Ud(e,t){return it+"::FlexipageFormulaActivationRepresentation:(application:"+t.queryParams.application+",objectApiNames:"+t.queryParams.objectApiNames+",actionFeature:"+t.urlParams.actionFeature+")"}function Dd(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Ed,mergeable:!1})}(e,0,0,()=>Ud(0,r))}const Md="getFlexipageFormulaOverrides",Vd=[ot("actionFeature",!0,0,0,!1,Nt),ot("application",!1,1,0,!1,Nt),ot("objectApiNames",!1,1,0,!0,ar)],zd=at(Md,Vd),Kd=n.createResourceParams(Vd);function Wd(e,t){return Ud(0,Kd(t))}function $d(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Vd),t}(n.coerceConfig(e,Vd));return Ye(r,t)?r:null}function Qd(e,t){return Kd(t),Bd()}function Gd(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Ud(0,t);e.storeIngest(i,xd,a);const s=e.storeLookup({recordId:i,node:Bd(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Hd(e,t,et)});return e.storeBroadcast().then(()=>a)}function Jd(e,t,r,n){const o=function(e,t,r,n){const o=Ud(0,t),a=e.errorSnapshot(r,n),i={ttl:wd,namespace:it,version:jd,representationName:Ed};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Hd(e,t,et)});return e.storeBroadcast().then(()=>o)}function Hd(e,t,r){const o=Kd(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/formula-activation/"+e.urlParams.actionFeature,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Gd(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Dd(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Jd(e,t,o,r)))}function Xd(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Hd,void 0,!1)}function Zd(e,t){const{luvio:r,config:n}=e;return t({recordId:Wd(0,n),node:Qd(0,n),variables:{}},{config:n,resolve:()=>Hd(r,n,et)})}const Yd=e=>function(t,r){const n=$d(t,zd);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Zd,Xd)};const ep=9e5,tp="463cd270460d626d438908f8348e6dc8",rp="QuickActionInfoRepresentation";function np(e,t){return it+"::"+rp+":"+t.actionApiName}function op(e,t){return np(0,{actionApiName:t.actionApiName})}function ap(e,t,r,n,o,a){return e}function ip(e,t){if(e.actionApiName!==t.actionApiName)return!1;if(e.eTag!==t.eTag)return!1;if(e.label!==t.label)return!1;if(e.type!==t.type)return!1;if(e.accessLevelRequired!==t.accessLevelRequired)return!1;const r=Ot(e.colors,t.colors,(e,t)=>{if(!function(e,t){return e.color===t.color&&(e.colorContext===t.colorContext&&(e.eTag===t.eTag&&e.theme===t.theme))}(e,t))return!1});if(!1===r)return!1;if(e.copilotActionDescription!==t.copilotActionDescription)return!1;const n=Ot(e.copilotInputs,t.copilotInputs,(e,t)=>{if(!function(e,t){return e.eTag===t.eTag&&(e.inputName===t.inputName&&e.inputValue===t.inputValue)}(e,t))return!1});if(!1===n)return!1;if(e.copilotIntent!==t.copilotIntent)return!1;if(e.copilotPlanTemplateId!==t.copilotPlanTemplateId)return!1;if(e.copilotUserUtterance!==t.copilotUserUtterance)return!1;if(e.flowDevName!==t.flowDevName)return!1;if(e.flowRecordIdVar!==t.flowRecordIdVar)return!1;if(e.iconName!==t.iconName)return!1;const o=Ot(e.icons,t.icons,(e,t)=>{if(!function(e,t){return e.height===t.height&&(e.width===t.width&&(e.contentType===t.contentType&&(e.eTag===t.eTag&&(e.theme===t.theme&&e.url===t.url))))}(e,t))return!1});if(!1===o)return!1;if(e.lightningComponentBundleName!==t.lightningComponentBundleName)return!1;if(e.lightningComponentQualifiedName!==t.lightningComponentQualifiedName)return!1;if(e.lightningWebComponentBundleName!==t.lightningWebComponentBundleName)return!1;if(e.lightningWebComponentQualifiedName!==t.lightningWebComponentQualifiedName)return!1;const a=Ot(e.parameters,t.parameters,(e,t)=>{if(!function(e,t){return e.eTag===t.eTag&&(e.parameterName===t.parameterName&&e.parameterValue===t.parameterValue)}(e,t))return!1});if(!1===a)return!1;if(e.targetParentField!==t.targetParentField)return!1;if(e.targetRecordTypeId!==t.targetRecordTypeId)return!1;return e.targetSobjectType===t.targetSobjectType}const sp=function(e,t,r,o,a){const i=op(0,e),s=ep;return n.ingestShape(e,t,r,o,a,s,i,ap,"UiApi",tp,rp,ip),Bt(i)};function cp(e,t){return function(){const{selections:e,opaque:t}={kind:"Fragment",version:"7a5e66e0b88fe9d2233bb3158931bfa6",private:["eTag"],selections:[{name:"color",kind:"Scalar"},{name:"colorContext",kind:"Scalar"},{name:"theme",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"5e970aa7dacfdd8e0c6d5daca575ec58",private:["eTag"],selections:[{name:"inputName",kind:"Scalar"},{name:"inputValue",kind:"Scalar"}]},{selections:o,opaque:a}={kind:"Fragment",version:"53b489083ef57944d2a9d4a2aaf72ec3",private:["eTag"],selections:[{name:"contentType",kind:"Scalar"},{name:"height",kind:"Scalar"},{name:"theme",kind:"Scalar"},{name:"url",kind:"Scalar"},{name:"width",kind:"Scalar"}]},{selections:i,opaque:s}={kind:"Fragment",version:"bab371abd4de5aea22d80f5c9843eb8a",private:["eTag"],selections:[{name:"parameterName",kind:"Scalar"},{name:"parameterValue",kind:"Scalar"}]};return{kind:"Fragment",version:tp,private:["eTag"],selections:[{name:"accessLevelRequired",kind:"Scalar"},{name:"actionApiName",kind:"Scalar"},{name:"colors",kind:"Object",plural:!0,selections:e},{name:"copilotActionDescription",kind:"Scalar"},{name:"copilotInputs",kind:"Object",plural:!0,selections:r},{name:"copilotIntent",kind:"Scalar"},{name:"copilotPlanTemplateId",kind:"Scalar"},{name:"copilotUserUtterance",kind:"Scalar"},{name:"flowDevName",kind:"Scalar"},{name:"flowRecordIdVar",kind:"Scalar"},{name:"iconName",kind:"Scalar"},{name:"icons",kind:"Object",plural:!0,selections:o},{name:"label",kind:"Scalar"},{name:"lightningComponentBundleName",kind:"Scalar"},{name:"lightningComponentQualifiedName",kind:"Scalar"},{name:"lightningWebComponentBundleName",kind:"Scalar"},{name:"lightningWebComponentQualifiedName",kind:"Scalar"},{name:"parameters",kind:"Object",plural:!0,selections:i},{name:"targetParentField",kind:"Scalar"},{name:"targetRecordTypeId",kind:"Scalar"},{name:"targetSobjectType",kind:"Scalar"},{name:"type",kind:"Scalar"}]}}()}
560function lp(e,t){return np(0,{actionApiName:t.urlParams.actionApiName})}function up(e,t,r,n){!function(e,t,r){const n=op(0,r);e.set(n,{namespace:it,representationName:rp,mergeable:!1})}(e,0,n)}const dp="getQuickActionInfo",pp=[ot("actionApiName",!0,0,0,!1,Nt),ot("parentRecordId",!1,1,0,!1,nr)],fp=at(dp,pp),mp=n.createResourceParams(pp);function gp(e,t){return lp(0,mp(t))}function yp(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,pp),t}(n.coerceConfig(e,pp));return Ye(r,t)?r:null}function hp(e,t){return mp(t),cp()}function vp(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=lp(0,t);e.storeIngest(i,sp,a);const s=e.storeLookup({recordId:i,node:cp(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Pp(e,t,et)});return e.storeBroadcast().then(()=>a)}function bp(e,t,r,n){const o=function(e,t,r,n){const o=lp(0,t),a=e.errorSnapshot(r,n),i={ttl:ep,namespace:it,version:tp,representationName:rp};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Pp(e,t,et)});return e.storeBroadcast().then(()=>o)}function Pp(e,t,r){const o=mp(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/quick-action-info/"+e.urlParams.actionApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>vp(e,t,o,r),()=>{const e=new n.StoreKeyMap;return up(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>bp(e,t,o,r)))}function kp(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Pp,void 0,!1)}function Ap(e,t){const{luvio:r,config:n}=e;return t({recordId:gp(0,n),node:hp(0,n),variables:{}},{config:n,resolve:()=>Pp(r,n,et)})}const Rp=e=>function(t,r){const n=yp(t,fp);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Ap,kp)},Sp={ttl:vl,namespace:it,representationName:Pl,version:bl};const Ip=e=>function(t,r,n,o,a){const i=Al(0,t),s=o.readEntry(i);let c=function(e){return function(t,r,n,o,a,i){const s=t.fields,c=n.fullPath+"__fields",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.fields(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}return t}}(e)(t,o.readEntry(i),{fullPath:i,parent:r.parent,propertyName:r.propertyName},n,o,a);var l,u;return u=c,c=void 0===(l=s)?u:{...u,fields:{...l.fields,...u.fields}},void 0!==s&&!1!==function(e,t){return e.actionApiName===t.actionApiName&&(e.eTag===t.eTag&&(e.objectApiName===t.objectApiName&&!1!==xt(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1})))}(s,c)||n.storePublish(i,c),n.publishStoreMetadata(i,{...Sp,ingestionTimestamp:a}),Bt(i)};function Np(e){return function(e){const t=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:ur()}:e.fields;return{kind:"Fragment",version:bl,private:["eTag"],selections:[{name:"actionApiName",kind:"Scalar"},t,{name:"objectApiName",kind:"Scalar"}]}}({fields:Dr("fields",e)})}function Tp(e){const{trackedFields:t}=e,r={conflicts:{},serverRequestCount:1},n=function(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=Ip({fields:Cn(t,r,o)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return fn(r.getNode(s.__ref),on(n)),s}}({...e,recordConflictMap:r});return(e,o,a,i,s)=>{const c=n(e,o,a,i,s);so(a,r);return fn(a.getNode(c.__ref),on(t)),c}}function Cp(e,t){return kl(0,{actionApiName:t.urlParams.actionApiName})}function Lp(e,t,r,n){!function(e,t,r){const n=Al(0,r);e.set(n,{namespace:it,representationName:Pl,mergeable:!1});const o=r.fields,a=Ft(o),i=a.length;for(let r=0;r<i;r++){const i=a[r];fr(e,t,o[i],()=>n+"__fields__"+i)}}(e,t,n)}function _p(e,t){const r=qp(t);return Np(Ur([],r.queryParams.optionalFields||[]))}function Fp(e,t,r){const o=qp(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/record-defaults/"+e.urlParams.actionApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o),i=Op(e,t),s={maxDepth:qe.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()},c=cn(dn(i,e.getNode(i),s,t.optionalFields)),l=sn;
560return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>{const n=Tp({fields:l,optionalFields:c,trackedFields:c});e.storeIngest(i,n,r.body);const o=function(e,t){const r={recordId:Op(e,t),node:_p(0,t),variables:{}};return e.storeLookup(r,{config:t,resolve:()=>Fp(e,t,et)})}(e,t);return e.storeBroadcast().then(()=>o)},()=>{const t=new n.StoreKeyMap;return Lp(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=function(e,t,r,n){const o=Cp(0,t),a=e.errorSnapshot(r,n),i={ttl:vl,namespace:it,version:bl,representationName:Pl};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Fp(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}const wp="getQuickActionDefaults",jp=[ot("actionApiName",!0,0,0,!1,Nt),ot("optionalFields",!1,1,0,!0,_t),ot("parentRecordId",!1,1,0)],Ep=at(wp,jp),qp=n.createResourceParams(jp);function Op(e,t){return Cp(0,qp(t))}function xp(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,jp),t}(n.coerceConfig(e,jp));return Ye(r,t)?r:null}function Bp(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Fp,void 0,!1)}function Up(e,t){const{luvio:r,config:n}=e;return t({recordId:Op(0,n),node:_p(0,n),variables:{}},{config:n,resolve:()=>Fp(r,n,et)})}const Dp=e=>function(t,r){const n=xp(t,Ep);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Up,Bp)};function Mp(e,t){return Wl()}function Vp(e,t){return it+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",apiNames:"+t.queryParams.apiNames+",formFactor:"+t.queryParams.formFactor+",retrievalMode:"+t.queryParams.retrievalMode+",sections:"+t.queryParams.sections+",recordIds:"+t.urlParams.recordIds+")"}const zp="getRecordActions",Kp=[ot("recordIds",!0,0,0,!0,Us),ot("actionTypes",!1,1,0,!0),ot("apiNames",!1,1,0,!0,Sl),ot("formFactor",!1,1,0,!1,Nl),ot("retrievalMode",!1,1,0),ot("sections",!1,1,0,!0,ar)],Wp=at(zp,Kp),$p=n.createResourceParams(Kp);function Qp(e,t){return Vp(0,$p(t))}function Gp(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Kp),t}(n.coerceConfig(e,Kp));return Ye(r,t)?void 0===r.sections&&void 0===r.apiNames?null:r:null}function Jp(e,t){return $p(t),Mp()}function Hp(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Vp(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:Mp(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Zp(e,t,et)});return e.storeBroadcast().then(()=>a)}function Xp(e,t,r,n){const o=function(e,t,r,n){const o=Vp(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Zp(e,t,et)});return e.storeBroadcast().then(()=>o)}function Zp(e,t,r){const o=$p(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Hp(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gl(e,0,n,()=>Vp(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Xp(e,t,o,r)))}function Yp(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Zp,void 0,!1)}function ef(e,t){const{luvio:r,config:n}=e;return t({recordId:Qp(0,n),node:Jp(0,n),variables:{}},{config:n,resolve:()=>Zp(r,n,et)})}const tf=e=>function(t,r){const n=Gp(t,Wp);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ef,Yp)};function rf(e,t){return Wl()}function nf(e,t){return it+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",recordIds:"+t.urlParams.recordIds+")"}const of="getRecordEditActions",af=[ot("recordIds",!0,0,0,!0,Us),ot("actionTypes",!1,1,0,!0),ot("formFactor",!1,1,0,!1,Nl),ot("sections",!1,1,0,!0,ar)],sf=at(of,af),cf=n.createResourceParams(af);function lf(e,t){return nf(0,cf(t))}function uf(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,af),t}
560(n.coerceConfig(e,af));return Ye(r,t)?r:null}function df(e,t){return cf(t),rf()}function pf(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=nf(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:rf(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>mf(e,t,et)});return e.storeBroadcast().then(()=>a)}function ff(e,t,r,n){const o=function(e,t,r,n){const o=nf(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>mf(e,t,et)});return e.storeBroadcast().then(()=>o)}function mf(e,t,r){const o=cf(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/record-edit",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>pf(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gl(e,0,n,()=>nf(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>ff(e,t,o,r)))}function gf(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,mf,void 0,!1)}function yf(e,t){const{luvio:r,config:n}=e;return t({recordId:lf(0,n),node:df(0,n),variables:{}},{config:n,resolve:()=>mf(r,n,et)})}const hf=e=>function(t,r){const n=uf(t,sf);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},yf,gf)};function vf(e,t="ActionRelatedListSingleBatchInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');if(void 0!==e.actionTypes){const r=e.actionTypes,n=t+".actionTypes";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.apiNames){const r=e.apiNames,n=t+".apiNames";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.formFactor){const r=e.formFactor;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".formFactor")+'")')}const r=e.relatedListId;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".relatedListId")+'")');if(void 0!==e.retrievalMode){const r=e.retrievalMode;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".retrievalMode")+'")')}if(void 0!==e.sections){const r=e.sections,n=t+".sections";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}})();return void 0===r?null:r}function bf(e,t){return Wl()}function Pf(e,t){return it+"::ActionRepresentation:(recordIds:"+t.urlParams.recordIds+",relatedListId:"+t.urlParams.relatedListId+","+(void 0===t.body.actionTypes?"actionTypes":"actionTypes:"+t.body.actionTypes)+"::"+(void 0===t.body.apiNames?"apiNames":"apiNames:"+t.body.apiNames)+"::"+(void 0===t.body.formFactor?"formFactor":"formFactor:"+t.body.formFactor)+"::"+(void 0===t.body.retrievalMode?"retrievalMode":"retrievalMode:"+t.body.retrievalMode)+"::"+(void 0===t.body.sections?"sections":"sections:"+t.body.sections)+")"}function kf(e,t,r,n){Gl(e,0,n,()=>Pf(0,r))}function Af(e,t,r,o){const{body:a}=r,i=Pf(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:bf(),variables:{}},o);return n.deepFreeze(s.data),s}function Rf(e,t,r,n){const o=Pf(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}const Sf=Ge(null);function If(e){return function(e){const t=[];for(let r=0,n=e.body.relatedListsActionParameters.length;r<n;
560r+=1){let n={urlParams:{recordIds:e.urlParams.recordIds,relatedListId:e.body.relatedListsActionParameters[r].relatedListId},body:{}},o=e.body.relatedListsActionParameters[r];"apiNames"in o&&(n.body.apiNames=Sl(o.apiNames)),"retrievalMode"in o&&(n.body.retrievalMode=o.retrievalMode),"formFactor"in o&&(n.body.formFactor=Nl(o.formFactor)),"actionTypes"in o&&(n.body.actionTypes=o.actionTypes),"sections"in o&&(n.body.sections=ar(o.sections)),t.push(n)}return t}(e)}function Nf(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(Tf(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=Pf(0,t[e]),a=bf(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=Sf[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,If(t),t)}function Tf(e,t){return it+"::ActionRelatedListsCollectionBatchRepresentation:(recordIds:"+t.urlParams.recordIds+",["+t.body.relatedListsActionParameters.map(e=>(void 0===e.actionTypes?"relatedListsActionParameters.actionTypes":"relatedListsActionParameters.actionTypes:"+e.actionTypes)+"::"+(void 0===e.apiNames?"relatedListsActionParameters.apiNames":"relatedListsActionParameters.apiNames:"+e.apiNames)+"::"+(void 0===e.formFactor?"relatedListsActionParameters.formFactor":"relatedListsActionParameters.formFactor:"+e.formFactor)+"::relatedListsActionParameters.relatedListId:"+e.relatedListId+"::"+(void 0===e.retrievalMode?"relatedListsActionParameters.retrievalMode":"relatedListsActionParameters.retrievalMode:"+e.retrievalMode)+"::"+(void 0===e.sections?"relatedListsActionParameters.sections":"relatedListsActionParameters.sections:"+e.sections)).join(",")+"])"}function Cf(e,t,r,o){const a=r.body.results,i=If(t),s=Tf(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=Pf(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=Af(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{Rf(e,l,{status:p,body:f,ok:!1,statusText:rt(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),Xe.call(o,t)}404!==p&&200!==p?Sf[u]={expiration:s+Ml,response:f,status:p}:delete Sf[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:Nf(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const Lf="getRelatedListsActions",_f=[ot("recordIds",!0,0,0,!0,Us),ot("relatedListsActionParameters",!0,2,4,!0)],Ff=at(Lf,_f),wf=n.createResourceParams(_f);function jf(e,t){return Tf(0,wf(t))}function Ef(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,_f);const r=e.relatedListsActionParameters;if(He(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===vf(n)&&e.push(n)}t.relatedListsActionParameters=e}return t}(n.coerceConfig(e,_f));return Ye(r,t)?r:null}function qf(e,t){return Nf(e,wf(t))}function Of(e,t,r,n){const o=function(e,t,r,n){const o=Tf(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}
560(e,r,n,{config:t,resolve:()=>xf(e,t,et)});return e.storeBroadcast().then(()=>o)}function xf(e,t,r){const o=wf(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/related-list/batch",method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Cf(e,r,n,{config:t,resolve:()=>xf(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=If(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)kf(e,0,r,s);else if(404===i){const t=Pf(0,r);e.set(t,{namespace:it,representationName:zl,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Of(e,t,o,r)))}function Bf(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,xf,"get",!1)}function Uf(e,t){const{luvio:r,config:n}=e;return t({recordId:jf(0,n),node:qf(r,n),variables:{}},{config:n,resolve:()=>xf(r,n,et)})}const Df=e=>function(t,r){const n=Ef(t,Ff);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Uf,Bf)},Mf="getRelatedListActions",Vf=[ot("recordIds",!0,0,0,!0,Us),ot("relatedListId",!0,0,0),ot("actionTypes",!1,2,0,!0),ot("apiNames",!1,2,0,!0,Sl),ot("formFactor",!1,2,0,!1,Nl),ot("retrievalMode",!1,2,0),ot("sections",!1,2,0,!0,ar)],zf=at(Mf,Vf),Kf=n.createResourceParams(Vf);function Wf(e,t){return Pf(0,Kf(t))}function $f(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Vf),t}(n.coerceConfig(e,Vf));return Ye(r,t)?r:null}function Qf(e,t){return Kf(t),bf()}function Gf(e,t,r){const o=Kf(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/related-list/"+e.urlParams.relatedListId,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Af(e,r,n,{config:t,resolve:()=>Gf(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return kf(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=Rf(e,r,n,{config:t,resolve:()=>Gf(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Jf(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Gf,"get",!1)}function Hf(e,t){const{luvio:r,config:n}=e;return t({recordId:Wf(0,n),node:Qf(0,n),variables:{}},{config:n,resolve:()=>Gf(r,n,et)})}const Xf=e=>function(t,r){const n=$f(t,zf);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Hf,Jf)};function Zf(e,t){return Wl()}function Yf(e,t){return it+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",recordIds:"+t.urlParams.recordIds+",relatedListRecordIds:"+t.urlParams.relatedListRecordIds+")"}const em="getRelatedListRecordActions",tm=[ot("recordIds",!0,0,0,!0,Us),ot("relatedListRecordIds",!0,0,0,!0,Us),ot("actionTypes",!1,1,0,!0,ar),ot("formFactor",!1,1,0,!1,Nl),ot("sections",!1,1,0,!0,ar)],rm=at(em,tm),nm=n.createResourceParams(tm);function om(e,t){return Yf(0,nm(t))}function am(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,tm),t}(n.coerceConfig(e,tm));return Ye(r,t)?r:null}function im(e,t){return nm(t),Zf()}function sm(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Yf(0,t);e.storeIngest(i,Ql,a);const s=e.storeLookup({recordId:i,node:Zf(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>lm(e,t,et)});return e.storeBroadcast().then(()=>a)}function cm(e,t,r,n){const o=function(e,t,r,n){const o=Yf(0,t),a=e.errorSnapshot(r,n),i={ttl:Ml,namespace:it,version:Vl,representationName:zl};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>lm(e,t,et)});return e.storeBroadcast().then(()=>o)}function lm(e,t,r){const o=nm(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/record/"+e.urlParam
560s.recordIds+"/related-list-record/"+e.urlParams.relatedListRecordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>sm(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gl(e,0,n,()=>Yf(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>cm(e,t,o,r)))}function um(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,lm,void 0,!1)}function dm(e,t){const{luvio:r,config:n}=e;return t({recordId:om(0,n),node:im(0,n),variables:{}},{config:n,resolve:()=>lm(r,n,et)})}const pm=e=>function(t,r){const n=am(t,rm);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},dm,um)},fm="a316b3bba367f54adc67d7552ed7d36d",mm="PageReferenceRepresentation";function gm(e,t,r,n,o,a){return e}function ym(e,t){return qt(t)===qt(e)}const hm="09884ca5bf90ea4662092a4e48817081",vm="NavItemRepresentation";function bm(e,t){const r={developerName:t.developerName};return it+"::"+vm+":"+r.developerName}function Pm(e,t,r,o,a,i){const s=e.pageReference,c=r.fullPath+"__pageReference";return Array.isArray(s)||null===s||"object"!=typeof s||(e.pageReference=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,gm,"UiApi",fm,mm,ym),Bt(i)}(s,{fullPath:c,propertyName:"pageReference",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)),e}const km=function(){return{kind:"Fragment",version:hm,private:[],selections:[{name:"availableInClassic",kind:"Scalar"},{name:"availableInLightning",kind:"Scalar"},{name:"color",kind:"Scalar"},{name:"content",kind:"Scalar"},{name:"custom",kind:"Scalar"},{name:"developerName",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"itemType",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"objectLabel",kind:"Scalar"},{name:"objectLabelPlural",kind:"Scalar"},{name:"pageReference",kind:"Link",nullable:!0,fragment:{kind:"Fragment",version:fm,private:[],opaque:!0}},{name:"standardType",kind:"Scalar"}]}};function Am(e,t){if(e.availableInClassic!==t.availableInClassic)return!1;if(e.availableInLightning!==t.availableInLightning)return!1;if(e.custom!==t.custom)return!1;if(e.color!==t.color)return!1;if(e.developerName!==t.developerName)return!1;if(e.iconUrl!==t.iconUrl)return!1;if(e.itemType!==t.itemType)return!1;if(e.label!==t.label)return!1;if(e.objectApiName!==t.objectApiName)return!1;if(e.content!==t.content)return!1;if(e.id!==t.id)return!1;if(e.objectLabel!==t.objectLabel)return!1;if(e.objectLabelPlural!==t.objectLabelPlural)return!1;const r=e.pageReference,n=t.pageReference;if(r!==n&&(null==r||null==n||null==r.__ref||null==n.__ref||r.__ref!==n.__ref))return!1;return e.standardType===t.standardType}const Rm=function(e,t,r,o,a){const i=bm(0,e);return n.ingestShape(e,t,r,o,a,12e4,i,Pm,"UiApi",hm,vm,Am),Bt(i)};function Sm(e,t,r,n){const o=bm(0,r);e.set(o,{namespace:it,representationName:vm,mergeable:!1}),Array.isArray(r.pageReference)||null===r.pageReference||"object"!=typeof r.pageReference||function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:mm,mergeable:!1})}(e,0,r.pageReference,()=>o+"__pageReference")}const Im=3e5,Nm="0cd492fdd6c713c206ef53dc02175f71",Tm="AppRepresentation";function Cm(e,t){return it+"::"+Tm+":"+(null===t.appId?"":t.appId)}function Lm(e,t){return Cm(0,{appId:t.appId})}function _m(e,t,r,n,o,a){const i=e.navItems,s=r.fullPath+"__navItems";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Rm(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const c=e.userNavItems,l=r.fullPath+"__userNavItems";for(let i=0;i<c.length;i++){const s=c[i];let u=l+"__"+i;c[i]=Rm(s,{fullPath:u,propertyName:i,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const Fm=function(){return{kind:"Fragment",version:Nm,private:["eTag"],selections:[{name:"appId",kind:"Scalar"},{name:"description",kind:"Scalar"},{name:"developerName",kind:"Scalar"},{name:"formFactors",kind:"Scalar",plural:!0},{name:"headerColor",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"},{name:"isNavAutoTempTabsDisabled",kind:"Scalar"},{name:"isNavPersonalizationDisabled",kind:"Scalar"},{name:"isNavTabPersistenceDisabled",kind:"Scalar"},{name:"isOmniPinnedViewEnabled",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"logoUrl",kind:"Scalar"},{name:"mobileStartUrl",kind:"Scalar"},{name:"navItems",kind:"Link",plural:!0,fragment:km()},{name:"selected",kind:"Scalar"},{name:"startUrl",kind:"Scalar"},{name:"type",kind:"Scalar"},{name:"userNavItems",kind:"Link",plural:!0,fragment:km()}]}};function wm(e,t){if(e.isNavAutoTempTabsDisabled!==t.isNavAutoTempTabsDisabled)return!1;if(e.isNavPersonalizationDisabled!==t.isNavPersonalizationDisabled)return!1;if(e.isNavTabPersistenceDisabled!==t.isNavTabPersistenceDisabled)return!1;if(e.isOmniPinnedViewEnabled!==t.isOmniPinnedViewEnabled)return!1;if(e.selected!==t.selected)return!1;if(e.developerName!==t.developerName)return!1;if(e.eTag!==t.eTag)return!1;if(e.label!==t.label)return!1;if(e.logoUrl!==t.logoUrl)return!1;if(e.startUrl!==t.startUrl)return!1;if(e.type!==t.type)return!1;if(e.appId!==t.appId)return!1;if(e.description!==t.description)return!1;if(!1===Ot(e.formFactors,t.formFactors,(e,t)=>{if(e!==t)return!1}))return!1;if(e.headerColor!==t.headerColor)return!1;if(e.iconUrl!==t.iconUrl)return!1;if(e.mobileStartUrl!==t.mobileStartUrl)return!1;
560if(!1===Ot(e.navItems,t.navItems,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return!1!==Ot(e.userNavItems,t.userNavItems,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const jm=function(e,t,r,o,a){const i=Lm(0,e),s=Im;return n.ingestShape(e,t,r,o,a,s,i,_m,"UiApi",Nm,Tm,wm),Bt(i)};function Em(e,t,r,n){const o=Lm(0,r);e.set(o,{namespace:it,representationName:Tm,mergeable:!1});const a=r.navItems.length;for(let t=0;t<a;t++)Sm(e,0,r.navItems[t]);const i=r.userNavItems.length;for(let t=0;t<i;t++)Sm(e,0,r.userNavItems[t])}const qm=3e5,Om="a254babf0b6414315db7808a157fd9fc",xm="AppsRepresentation";function Bm(e,t,r,n,o,a){const i=e.apps,s=r.fullPath+"__apps";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=jm(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function Um(e,t){if(e.eTag!==t.eTag)return!1;return!1!==Ot(e.apps,t.apps,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Dm=function(e,t,r,o,a){const i=t.fullPath,s=qm;return n.ingestShape(e,t,r,o,a,s,i,Bm,"UiApi",Om,xm,Um),Bt(i)};function Mm(e,t){return{kind:"Fragment",version:Om,private:["eTag"],selections:[{name:"apps",kind:"Link",plural:!0,fragment:Fm()}]}}function Vm(e,t){return it+"::AppsRepresentation:(formFactor:"+t.queryParams.formFactor+",userCustomizations:"+t.queryParams.userCustomizations+")"}function zm(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:xm,mergeable:!1});const a=r.apps.length;for(let t=0;t<a;t++)Em(e,0,r.apps[t])}(e,0,n,()=>Vm(0,r))}const Km="getAllApps",Wm=[ot("formFactor",!1,1,0,!1,Nl),ot("userCustomizations",!1,1,1)],$m=at(Km,Wm),Qm=n.createResourceParams(Wm);function Gm(e,t){return Vm(0,Qm(t))}function Jm(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Wm),t}(n.coerceConfig(e,Wm));return Ye(r,t)?r:null}function Hm(e,t){return Qm(t),Mm()}function Xm(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Vm(0,t);e.storeIngest(i,Dm,a);const s=e.storeLookup({recordId:i,node:Mm(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Ym(e,t,et)});return e.storeBroadcast().then(()=>a)}function Zm(e,t,r,n){const o=function(e,t,r,n){const o=Vm(0,t),a=e.errorSnapshot(r,n),i={ttl:qm,namespace:it,version:Om,representationName:xm};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Ym(e,t,et)});return e.storeBroadcast().then(()=>o)}function Ym(e,t,r){const o=Qm(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/apps",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Xm(e,t,o,r),()=>{const e=new n.StoreKeyMap;return zm(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Zm(e,t,o,r)))}function eg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Ym,void 0,!1)}function tg(e,t){const{luvio:r,config:n}=e;return t({recordId:Gm(0,n),node:Hm(0,n),variables:{}},{config:n,resolve:()=>Ym(r,n,et)})}const rg=e=>function(t,r){const n=Jm(t,$m);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},tg,eg)};function ng(e,t){return Fm()}function og(e,t){return Cm(0,{appId:t.urlParams.appId})}const ag="getAppDetails",ig=[ot("appId",!0,0,0),ot("formFactor",!1,1,0,!1,Nl),ot("userCustomizations",!1,1,1)],sg=at(ag,ig),cg=n.createResourceParams(ig);function lg(e,t){return og(0,cg(t))}function ug(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ig),t}(n.coerceConfig(e,ig));return Ye(r,t)?r:null}function dg(e,t){return cg(t),ng()}function pg(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=og(0,t);e.storeIngest(i,jm,a);const s=e.storeLookup({recordId:i,node:ng(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>mg(e,t,et)});return e.storeBroadcast().then(()=>a)}function fg(e,t,r,n){const o=function(e,t,r,n){const o=og(0,t),a=e.errorSnapshot(r,n),i={ttl:Im,namespace:it,version:Nm,representationName:Tm};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>mg(e,t,et)});return e.storeBroadcast().then(()=>o)}function mg(e,t,r){const o=cg(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/apps/"+e.urlParam
560s.appId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>pg(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Em(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>fg(e,t,o,r)))}function gg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,mg,void 0,!1)}function yg(e,t){const{luvio:r,config:n}=e;return t({recordId:lg(0,n),node:dg(0,n),variables:{}},{config:n,resolve:()=>mg(r,n,et)})}const hg=e=>function(t,r){const n=ug(t,sg);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},yg,gg)},vg=9e5,bg="be27ee99dc0dc43a1f66b8fe98dc532c",Pg="DuplicatesConfigurationRepresentation";function kg(e,t,r,n,o,a){return e}function Ag(e,t){return e.eTag===t.eTag}const Rg=function(e,t,r,o,a){const i=t.fullPath,s=vg;return n.ingestShape(e,t,r,o,a,s,i,kg,"UiApi",bg,Pg,Ag),Bt(i)};function Sg(e,t){return function(){const{selections:e,opaque:t}=function(){const{selections:e,opaque:t}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"f43ef90ffde4d488414d6868e3aaefcb",private:["eTag"],selections:[{name:"field",kind:"Scalar"},{name:"operation",kind:"Scalar"},{name:"sortOrder",kind:"Scalar"},{name:"value",kind:"Scalar"}]};return{kind:"Fragment",version:"320d7f254687278f2763d4b490dab3fb",private:["eTag"],selections:[{name:"booleanFilter",kind:"Scalar"},{name:"filterItems",kind:"Object",plural:!0,selections:e},{name:"ruleCritera",kind:"Scalar"}]}}(),{selections:r,opaque:n}={kind:"Fragment",version:"b47b44e260e5ce777beaf3da9088997c",private:["eTag"],selections:[{name:"matchEngine",kind:"Scalar"},{name:"matchFields",kind:"Scalar",plural:!0},{name:"name",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"}]};return{kind:"Fragment",version:"bb83d7210bb1d7861b6188bc5f552617",private:["eTag"],selections:[{name:"actionOnInsert",kind:"Scalar"},{name:"actionOnUpdate",kind:"Scalar"},{name:"active",kind:"Scalar"},{name:"duplicateRuleFilters",kind:"Object",plural:!0,selections:e},{name:"matchRules",kind:"Object",plural:!0,selections:r},{name:"name",kind:"Scalar"},{name:"operationsOnInsert",kind:"Scalar",plural:!0},{name:"operationsOnUpdate",kind:"Scalar",plural:!0}]}}();return{kind:"Fragment",version:bg,private:["eTag"],selections:[{name:"apiName",kind:"Scalar"},{name:"dedupeEnabled",kind:"Scalar"},{name:"dedupeFields",kind:"Scalar",plural:!0},{name:"duplicateRules",kind:"Object",plural:!0,selections:e},{name:"predupeEnabled",kind:"Scalar"}]}}()}function Ig(e,t){return it+"::DuplicatesConfigurationRepresentation:(recordTypeId:"+t.queryParams.recordTypeId+",objectApiName:"+t.urlParams.objectApiName+")"}function Ng(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Pg,mergeable:!1})}(e,0,0,()=>Ig(0,r))}const Tg="getDuplicateConfiguration",Cg=[ot("objectApiName",!0,0,0),ot("recordTypeId",!1,1,0)],Lg=at(Tg,Cg),_g=n.createResourceParams(Cg);function Fg(e,t){return Ig(0,_g(t))}function wg(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Cg),t}(e);return Ye(r,t)?r:null}function jg(e,t){return _g(t),Sg()}function Eg(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Ig(0,t);e.storeIngest(i,Rg,a);const s=e.storeLookup({recordId:i,node:Sg(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Og(e,t,et)});return e.storeBroadcast().then(()=>a)}function qg(e,t,r,n){const o=function(e,t,r,n){const o=Ig(0,t),a=e.errorSnapshot(r,n),i={ttl:vg,namespace:it,version:bg,representationName:Pg};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Og(e,t,et)});return e.storeBroadcast().then(()=>o)}function Og(e,t,r){const o=_g(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/duplicates/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Eg(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Ng(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>qg(e,t,o,r)))}
560function xg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Og,void 0,!1)}function Bg(e,t){const{luvio:r,config:n}=e;return t({recordId:Fg(0,n),node:jg(0,n),variables:{}},{config:n,resolve:()=>Og(r,n,et)})}const Ug=e=>function(t,r){const n=wg(t,Lg);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Bg,xg)};var Dg;function Mg(e){if(e===Dg.Full||e===Dg.Compact)return e}function Vg(e){if(e===Tc.Create||e===Tc.Edit||e===Tc.View)return e}function zg(e,t,r,n){const o=function(e,t){return it+"::RecordLayoutRepresentation:(formFactor:"+t.queryParams.formFactor+",layoutType:"+t.queryParams.layoutType+",mode:"+t.queryParams.mode+",recordTypeId:"+t.queryParams.recordTypeId+",objectApiName:"+t.urlParams.objectApiName+")"}(0,t),a=e.errorSnapshot(r,n),i={ttl:Ls,namespace:it,version:_s,representationName:Fs};return e.storeIngestError(o,a,i),a}!function(e){e.Full="Full",e.Compact="Compact"}(Dg||(Dg={}));const Kg={displayName:"getLayout",parameters:{required:["objectApiName","layoutType","mode"],optional:["recordTypeId"]}};function Wg(e,t){const r=function(e,t){if(!Ze(e))return null;const r=n.coerceConfig(e,Qg),o=function(e){const t={};return n.typeCheckConfig(e,t,Qg),t}(r);if(!Ye(o,t))return null;return o}(e,Kg);if(null===r)return null;let o=r.recordTypeId;if(void 0===o){if(null!==e.recordTypeId&&void 0!==e.recordTypeId)return null;o=Er}return{...r,recordTypeId:o,layoutType:r.layoutType,mode:r.mode}}function $g(e,t){const{luvio:r,config:n}=e;return t({recordId:ws(0,n),node:qs(),variables:{}},{config:n,resolve:()=>Jg(r,n,et)})}const Qg=[ot("objectApiName",!0,0,0,!1,Nt),ot("formFactor",!1,1,0),ot("layoutType",!1,1,0,!1,Mg),ot("mode",!1,1,0,!1,Vg),ot("recordTypeId",!1,1,0,!1,nr)],Gg=n.createResourceParams(Qg);function Jg(e,t,r){const o=Gg(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/layout/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,a=ws(0,t);e.storeIngest(a,xs,o);const i=e.storeLookup({recordId:a,node:qs(),variables:{}},{config:t,resolve:()=>Jg(e,t,et)});return e.storeBroadcast().then(()=>i)}(e,t,0,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Bs(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=zg(e,r,n,{config:t,resolve:()=>Jg(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Hg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Jg,void 0,!1)}const Xg=e=>function(t,r){const n=Wg(t);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},$g,Hg)};function Zg(e,t){const{objectApiName:r,recordTypeId:n,layoutType:o,mode:a}=t,i={recordId:Vs(0,{apiName:r,recordTypeId:n,layoutType:o,mode:a}),node:Ws(),variables:{}};return e.storeLookup(i,{config:t,resolve:()=>Yg(e,t)})}function Yg(e,t,r){const{resourceParams:o,request:a,key:i}=function(e,t){const{recordTypeId:r,layoutType:n,mode:o,objectApiName:a}=t,i=Vs(0,{apiName:a,recordTypeId:r,layoutType:n,mode:o}),s={urlParams:{objectApiName:t.objectApiName},queryParams:{layoutType:t.layoutType,mode:t.mode,recordTypeId:t.recordTypeId}},c=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/layout/"+e.urlParams.objectApiName+"/user-state",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(s);return{resourceParams:s,request:c,key:i}}(0,t);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,{recordTypeId:a,layoutType:i,mode:s}=t;o.apiName=t.objectApiName,o.recordTypeId=a,o.layoutType=i,o.mode=s,e.storeIngest(r,Qs,o);const c=Zg(e,t);return e.storeBroadcast().then(()=>c)}(e,t,i,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Gs(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=e.errorSnapshot(n,{config:t,resolve:()=>Yg(e,t)});return e.storeIngestError(r,o),e.storeBroadcast().then(()=>o)}(e,t,i,r)))}function ey(e,t){const r=function(e,t){if(!Ze(e))return null;const r=n.coerceConfig(e,ny),o=function(e){const t={};return n.typeCheckConfig(e,t,ny),t}(r);if(!Ye(o,t))return null;return o}(e,t);if(null===r)return null;const o=r.recordTypeId,a=e;let i=r.layoutType;if(void 0===i){if(void 0!==a.layoutType)return null;i=Dg.Full}let s=r.mode;if(void 0===s){if(void 0!==a.mode)return null;s=Tc.View}return{...r,recordTypeId:o,layoutType:i,mode:s}}const ty={displayName:"getLayoutUserState",parameters:{required:["objectApiName","recordTypeId"],optional:["formFactor","layoutType","mode"]}};function ry(e,t){const{config:r,luvio:n}=e,{objectApiName:o,recordTypeId:a,layoutType:i,mode:s}=r;return t({recordId:Vs(0,{apiName:o,recordTypeId:a,layoutType:i,mode:s}),node:Ws(),variables:{}},{config:r,resolve:()=>Yg(n,r)})}const ny=[ot("objectApiName",!0,0,0,!1,Nt),ot("formFactor",!1,1,0),ot("layoutType",!1,1,0,!1,Mg),ot("mode",!1,1,0,!1,Vg),ot("recordTypeId",!1,1,0,!1,nr)];
560function oy(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Yg,void 0,!1)}const ay=e=>function(t,r){const n=ey(t,ty);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ry,oy)};function iy(e,t){return Xt(0,{objectApiName:t.urlParams.objectApiName.toLowerCase(),listViewApiName:t.urlParams.listViewApiName.toLowerCase(),type:"__recent"===t.urlParams.listViewApiName.toLowerCase()?"mru":"listView"})}function sy(e,t){return Yt()}function cy(e,t,r,n){rr(e,t,n)}function ly(e,t,r,o){const{body:a}=r,i=iy(0,t);e.storeIngest(i,tr,a);const s=e.storeLookup({recordId:i,node:sy(),variables:{}},o);return n.deepFreeze(s.data),s}function uy(e,t,r,n){const o=iy(0,t),a=e.errorSnapshot(r,n),i={ttl:Gt,namespace:it,version:Jt,representationName:Ht};return e.storeIngestError(o,a,i),a}const dy=Ge(null);function py(e){return function(e){const t=[],{queryParams:r}=e,{names:n=[]}=r;for(const e of n){const[r,n]=e.split(".");t.push({urlParams:{objectApiName:r,listViewApiName:n}})}return t}(e)}function fy(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(my(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=iy(0,t[e]),a=sy(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=dy[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,py(t),t)}function my(e,t){return it+"::ListInfoBatchRepresentation:(ids:"+t.queryParams.ids+",names:"+t.queryParams.names+")"}function gy(e,t,r,o){const a=r.body.results,i=py(t),s=my(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=iy(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=ly(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{uy(e,l,{status:p,body:f,ok:!1,statusText:rt(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),Xe.call(o,t)}404!==p&&200!==p?dy[u]={expiration:s+Gt,response:f,status:p}:delete dy[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:fy(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const yy="getListInfosByName",hy=[ot("ids",!1,1,0,!0),ot("names",!1,1,0,!0)],vy=at(yy,hy),by=n.createResourceParams(hy);function Py(e,t){return my(0,by(t))}function ky(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,hy),t}(e);return Ye(r,t)?r:null}function Ay(e,t){return fy(e,by(t))}function Ry(e,t,r,n){const o=function(e,t,r,n){const o=my(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>Sy(e,t,et)});return e.storeBroadcast().then(()=>o)}function Sy(e,t,r){const o=by(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-info/batch",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);
560return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=gy(e,r,n,{config:t,resolve:()=>Sy(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=py(r);for(let r=0,n=a.length;r<n;r++){const n=a[r],i=o[r],{statusCode:s,result:c}=i;if(200===s)cy(e,t,0,c);else if(404===s){const t=iy(0,n);e.set(t,{namespace:it,representationName:Ht,mergeable:!1})}}}(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>Ry(e,t,o,r)))}function Iy(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Sy,void 0,!1)}function Ny(e,t){const{luvio:r,config:n}=e;return t({recordId:Py(0,n),node:Ay(r,n),variables:{}},{config:n,resolve:()=>Sy(r,n,et)})}const Ty=e=>function(t,r){const n=ky(t,vy);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Ny,Iy)};function Cy(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?20:t.pageSize}}function Ly(e,t){const r=Cy(t);return ia(r)}function _y(e,t){return oa(0,{objectApiName:t.urlParams.objectApiName,queryString:t.queryParams.q||null,recentListsOnly:t.queryParams.recentListsOnly||!1})}function Fy(e,t,r,n){!function(e,t,r){const n=aa(0,r);e.set(n,{namespace:it,representationName:na,mergeable:!0}),e.set(n+"__pagination",{namespace:it,representationName:na,mergeable:!0});const o=r.lists.length;for(let t=0;t<o;t++)ta(e,0,r.lists[t])}(e,0,n)}function wy(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const jy="getListInfosByObjectName",Ey=[ot("objectApiName",!0,0,0),ot("pageSize",!1,1,3),ot("pageToken",!1,1,0),ot("q",!1,1,0),ot("recentListsOnly",!1,1,1)],qy=at(jy,Ey),Oy=n.createResourceParams(Ey);function xy(e,t){return _y(0,Oy(t))}function By(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Ey),t}(e);return Ye(r,t)?r:null}function Uy(e,t){return Ly(0,Oy(t))}function Dy(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=_y(0,t);e.storeIngest(i,sa,a);const s=e.storeLookup({recordId:i,node:Ly(0,t),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>zy(e,t,et)});return e.storeBroadcast().then(()=>a)}function My(e,t,r,n){const o=function(e,t,r,n){const o=_y(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>zy(e,t,et)});return e.storeBroadcast().then(()=>o)}function Vy(e,t,r,n){if(void 0===n)return wy(r);const[o,a]=function(e,t,r){const n=function(e){const{data:t}=e;if(void 0===t||!t.lists)return 0;const r=t.lists;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(r);if(n>0){const r=function(e,t){const r=_y(0,t),n={recordId:r,node:{kind:"Fragment",version:ra,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:lo,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,t);if(void 0!==r){const{token:e,pageSize:o}=Cy(t),a=go(r,e);if(a<0)return[void 0,-1];const i=a+n,[s,c]=bo(r,i);if(void 0!==s)return[s,o-(c-a)]}}return[void 0,-1]}(e,r,n);return wy(void 0===o?r:Oy({...t,pageSize:a,pageToken:o}))}function zy(e,t,r,o){const a=Oy(t),i=Vy(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>e.handleSuccessResponse(()=>Dy(e,t,a,r),()=>{const e=new n.StoreKeyMap;return Fy(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>My(e,t,a,r)))}function Ky(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,zy,void 0,!0)}function Wy(e,t){const{luvio:r,config:n}=e,o=t({recordId:xy(0,n),node:Uy(0,n),variables:{}},{config:n,resolve:()=>zy(r,n,et)});return nt(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}const $y=e=>function(t,r){const n=By(t,qy);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Wy,Ky)};function Qy(e,t="ListFilterByInfoInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.fieldApiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".fieldApiName")+'")');const n=e.operandLabels,o=t+".operandLabels";if(!Et(n))return new TypeError('Expected "array" but received "'+typeof n+'" (at "'+o+'")');for(let e=0;e<n.length;e++){const t=n[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(o+"["+e+"]")+'")')}const a=e.operator;return"string"!=typeof a?new TypeError('Expected "string" but received "'+typeof a+'" (at "'+(t+".operator")+'")'):void 0})();return void 0===r?null:r}function Gy(e,t="ListScopeInputRepresentation"){const r=(()=>
560{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.apiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".apiName")+'")');if(void 0!==e.entityId){const r=e.entityId,n=t+".entityId";let o=null;const a=(()=>{if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+n+'")')})();null!=a&&(o=a.message);let i=null;const s=(()=>{if(null!==r)return new TypeError('Expected "null" but received "'+typeof r+'" (at "'+n+'")')})();if(null!=s&&(i=s.message),o&&i){let e="Object doesn't match union (at \""+n+'")';return e+="\n"+o.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+i.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}if(void 0!==e.relatedEntityId){const r=e.relatedEntityId,n=t+".relatedEntityId";let o=null;const a=(()=>{if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+n+'")')})();null!=a&&(o=a.message);let i=null;const s=(()=>{if(null!==r)return new TypeError('Expected "null" but received "'+typeof r+'" (at "'+n+'")')})();if(null!=s&&(i=s.message),o&&i){let e="Object doesn't match union (at \""+n+'")';return e+="\n"+o.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+i.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}const Jy="createListInfo",Hy=[ot("objectApiName",!0,0,0,!1,Nt),ot("displayColumns",!1,2,0,!0),ot("filterLogicString",!1,2,0),ot("filteredByInfo",!1,2,4,!0),ot("includeDefaultAttributes",!1,2,1),ot("label",!1,2,0),ot("listShares",!1,2,0,!0),ot("listViewApiName",!1,2,0),ot("scope",!1,2,4),ot("visibility",!1,2,0)],Xy=at(Jy,Hy),Zy=n.createResourceParams(Hy);function Yy(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Hy);const r=e.filteredByInfo;if(He(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===Qy(n)&&e.push(n)}t.filteredByInfo=e}const o=e.scope;return null===Gy(o)&&(t.scope=o),t}(n.coerceConfig(e,Hy));return Ye(r,t)?r:null}function eh(e,t,r){const o=Zy(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=Qt(e,o);e.storeIngest(a,tr,o);const i=e.storeLookup({recordId:a,node:Yt(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){rr(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const th=e=>function(t){const r=Yy(t,Xy);if(null===r)throw new Error('Invalid config for "createListInfo"');return eh(e,r)};function rh(e,t){return Xt(0,{objectApiName:t.urlParams.objectApiName,listViewApiName:t.urlParams.listViewApiName,type:"listView"})}const nh="deleteListInfo",oh=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0)],ah=at(nh,oh),ih=n.createResourceParams(oh);function sh(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,oh),t}(e);return Ye(r,t)?r:null}function ch(e,t,r){const o=ih(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"delete",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(()=>e.handleSuccessResponse(()=>(function(e,t){const r=rh(0,t);e.storeEvict(r)}(e,o),e.storeBroadcast()),()=>{const e=new n.StoreKeyMap;return function(e,t,r){const n=rh(0,r);e.set(n,{namespace:it,representationName:Ht,mergeable:!1})}(e,0,o),e}),e=>{throw n.deepFreeze(e),e})}const lh=e=>function(t){const r=sh(t,ah);if(null===r)throw new Error(`Invalid config for "${nh}"`);return ch(e,r)},uh="getListInfoByName",dh=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0)],ph=at(uh,dh),fh=n.createResourceParams(dh);function mh(e,t){return iy(0,fh(t))}function gh(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,dh),t}(e);return Ye(r,t)?r:null}function yh(e,t){return fh(t),sy()}function hh(e,t,r){const o=fh(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-info/"+e.urlParam
560s.objectApiName+"/"+e.urlParams.listViewApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=ly(e,r,n,{config:t,resolve:()=>hh(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const t=new n.StoreKeyMap;return cy(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=uy(e,r,n,{config:t,resolve:()=>hh(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function vh(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,hh,void 0,!1)}function bh(e,t){const{luvio:r,config:n}=e;return t({recordId:mh(0,n),node:yh(0,n),variables:{}},{config:n,resolve:()=>hh(r,n,et)})}const Ph=e=>function(t,r){const n=gh(t,ph);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},bh,vh)};const kh="updateListInfoByName",Ah=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0,!1,Nt),ot("displayColumns",!1,2,0,!0),ot("filterLogicString",!1,2,0),ot("filteredByInfo",!1,2,4,!0),ot("label",!1,2,0),ot("listShares",!1,2,0,!0),ot("scope",!1,2,4),ot("visibility",!1,2,0)],Rh=at(kh,Ah),Sh=n.createResourceParams(Ah);function Ih(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Ah);const r=e.filteredByInfo;if(He(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===Qy(n)&&e.push(n)}t.filteredByInfo=e}const o=e.scope;return null===Gy(o)&&(t.scope=o),t}(n.coerceConfig(e,Ah));return Ye(r,t)?r:null}function Nh(e,t,r){const o=Sh(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=Qt(e,o);e.storeIngest(a,tr,o);const i=e.storeLookup({recordId:a,node:Yt(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){rr(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const Th=e=>function(t){const r=Ih(t,Rh);if(null===r)throw new Error('Invalid config for "updateListInfoByName"');return Nh(e,r)};function Ch(e,t){if(e.displayable!==t.displayable)return!1;if(e.filterable!==t.filterable)return!1;if(e.quickFilterable!==t.quickFilterable)return!1;if(e.sortable!==t.sortable)return!1;if(e.alias!==t.alias)return!1;if(e.defaultFilterOperator!==t.defaultFilterOperator)return!1;if(e.fieldApiName!==t.fieldApiName)return!1;if(e.label!==t.label)return!1;if(e.dataType!==t.dataType)return!1;const r=Ot(e.picklistValues,t.picklistValues,(e,t)=>{if(!function(e,t){return e.apiName===t.apiName&&e.label===t.label}(e,t))return!1});if(!1===r)return!1;if(e.quickFilterOperator!==t.quickFilterOperator)return!1;const n=e.quickFilterOverrides,o=t.quickFilterOverrides;if(!(n===o||null!=n&&null!=o&&function(e,t){return e.dataType===t.dataType&&!1!==Ot(e.picklistValues,t.picklistValues,(e,t)=>{if(!1===xt(e,t,(e,t)=>{if(e!==t)return!1}))return!1})}(n,o)))return!1;return!1!==Ot(e.supportedFilterOperators,t.supportedFilterOperators,(e,t)=>{if(e!==t)return!1})}const Lh=9e5,_h="a88bc29a18dfa64f33730b5bbe6aeb24",Fh="ListObjectInfoRepresentation";function wh(e,t){return it+"::"+Fh+":"+t.objectApiName}function jh(e,t){return wh(0,{objectApiName:t.objectApiName})}function Eh(e,t,r,n,o,a){return e}function qh(e,t){if(e.createable!==t.createable)return!1;if(e.publicCreateable!==t.publicCreateable)return!1;if(e.publicOrSharedCreateable!==t.publicOrSharedCreateable)return!1;if(e.sharedCreateable!==t.sharedCreateable)return!1;if(e.objectApiName!==t.objectApiName)return!1;const r=Ot(e.availableScopes,t.availableScopes,(e,t)=>{if(!function(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;const r=Ot(e.availableEntities,t.availableEntities,(e,t)=>{if(!function(e,t){return e.id===t.id&&e.label===t.label}(e,t))return!1});return!1!==r}(e,t))return!1});if(!1===r)return!1;if(!1===Ot(e.columns,t.columns,(e,t)=>{if(!Ch(e,t))return!1}))return!1;return e.relatedEntityApiName===t.relatedEntityApiName}const Oh=function(e,t,r,o,a){const i=jh(0,e),s=Lh;return n.ingestShape(e,t,r,o,a,s,i,Eh,"UiApi",_h,Fh,qh),Bt(i)};function xh(e,t){return function(){const{selections:e,opaque:t}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"d77026c4d63ef00cdd7e3d600687a40d",private:[],selections:[{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"}]};return{kind:"Fragment",version:"355933ff2970aa91a2848a94565e956a",private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"availableEntities",kind:"Object",plural:!0,selections:e},{name:"label",kind:"Scalar"}]}}(),{selections:r,opaque:n}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"c5c08ea834378670c9d6f235ff71c9f0",private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"label",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"98f8e97eae828e3f165bd05c518ae8df",private:[],selections:[{name:"dataType",kind:"Scalar"},{name:"picklistValues",kind:"Scalar",map:!0}]};return{kind:"Fragment",version:"394e8d71b515892fe366021cc2872dae",private:[],selections:[{name:"alias",kind:"Scalar"},{name:"dataType",kind:"Scalar"},{name:"defaultFilterOperator",kind:"Scalar"},{name:"displayable",kind:"Scalar"},{name:"fieldApiName",kind:"Scalar"},{name:"filterable",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"picklistValues",kind:"Object",plural:!0,selections:e},{name:"quickFilterOperator",kind:"Scalar"},{name:"quickFilterOverrides",kind:"Object",nullable:!0,selections:r},{name:"quickFilterable",kind:"Scalar"},{name:"sortable",kind:"Scalar"},{name:"supportedFilterOperators",kind:"Scalar",plural:!0}]}}();return{kind:"Fragment",version:_h,private:[],selections:[{name:"availableScopes",kind:"Object",plural:!0,selections:e},{name:"columns",kind:"Object",plural:!0,selections:r},{name:"createable",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"publicCreateable",kind:"Scalar"},{name:"publicOrSharedCreateable",kind:"Scalar"},{name:"relatedEntityApiName",kind:"Scalar"},{name:"sharedCreateable",kind:"Scalar"}]}}()}
560function Bh(e,t){return wh(0,{objectApiName:t.urlParams.objectApiName})}function Uh(e,t,r,n){!function(e,t,r){const n=jh(0,r);e.set(n,{namespace:it,representationName:Fh,mergeable:!1})}(e,0,n)}const Dh="getListObjectInfo",Mh=[ot("objectApiName",!0,0,0,!1,Nt)],Vh=at(Dh,Mh),zh=n.createResourceParams(Mh);function Kh(e,t){return Bh(0,zh(t))}function Wh(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Mh),t}(n.coerceConfig(e,Mh));return Ye(r,t)?r:null}function $h(e,t){return zh(t),xh()}function Qh(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Bh(0,t);e.storeIngest(i,Oh,a);const s=e.storeLookup({recordId:i,node:xh(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Jh(e,t,et)});return e.storeBroadcast().then(()=>a)}function Gh(e,t,r,n){const o=function(e,t,r,n){const o=Bh(0,t),a=e.errorSnapshot(r,n),i={ttl:Lh,namespace:it,version:_h,representationName:Fh};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Jh(e,t,et)});return e.storeBroadcast().then(()=>o)}function Jh(e,t,r){const o=zh(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-object-info/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Qh(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Uh(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>Gh(e,t,o,r)))}function Hh(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Jh,void 0,!1)}function Xh(e,t){const{luvio:r,config:n}=e;return t({recordId:Kh(0,n),node:$h(0,n),variables:{}},{config:n,resolve:()=>Jh(r,n,et)})}const Zh=e=>function(t,r){const n=Wh(t,Vh);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Xh,Hh)},Yh=9e5,ev="458d4a6a30201e422e8daec5fcb03845",tv="ListPreferencesRepresentation";function rv(e,t){return it+"::"+tv+":"+t.objectApiName+":"+(null===t.listViewApiName?"":t.listViewApiName)}function nv(e,t){return rv(0,{objectApiName:t.listReference.objectApiName,listViewApiName:t.listReference.listViewApiName})}function ov(e,t,r,n,o,a){return e}const av=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"32def9b631252c12b91a8209c1f49f5a",private:[],selections:[{name:"fieldApiName",kind:"Scalar"},{name:"isAscending",kind:"Scalar"},{name:"label",kind:"Scalar"}]};return{kind:"Fragment",version:ev,private:[],selections:[{name:"columnWidths",kind:"Scalar",map:!0},{name:"columnWrap",kind:"Scalar",map:!0},{name:"listReference",kind:"Object",selections:e},{name:"orderedBy",kind:"Object",plural:!0,selections:r}]}};function iv(e,t){if(!1===xt(e.columnWidths,t.columnWidths,(e,t)=>{if(e!==t)return!1}))return!1;if(!1===xt(e.columnWrap,t.columnWrap,(e,t)=>{if(e!==t)return!1}))return!1;if(!Dt(e.listReference,t.listReference))return!1;const r=Ot(e.orderedBy,t.orderedBy,(e,t)=>{if(!function(e,t){return e.isAscending===t.isAscending&&(e.fieldApiName===t.fieldApiName&&e.label===t.label)}(e,t))return!1});return!1!==r}const sv=function(e,t,r,o,a){const i=nv(0,e),s=Yh;return n.ingestShape(e,t,r,o,a,s,i,ov,"UiApi",ev,tv,iv),Bt(i)};function cv(e,t,r,n){const o=nv(0,r);e.set(o,{namespace:it,representationName:tv,mergeable:!1})}function lv(e,t){return av()}function uv(e,t){return rv(0,{objectApiName:t.urlParams.objectApiName,listViewApiName:t.urlParams.listViewApiName})}const dv="getListPreferences",pv=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0,!1,Nt)],fv=at(dv,pv),mv=n.createResourceParams(pv);function gv(e,t){return uv(0,mv(t))}function yv(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,pv),t}(n.coerceConfig(e,pv));return Ye(r,t)?r:null}function hv(e,t){return mv(t),lv()}function vv(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=uv(0,t);e.storeIngest(i,sv,a);const s=e.storeLookup({recordId:i,node:lv(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Pv(e,t,et)});return e.storeBroadcast().then(()=>a)}function bv(e,t,r,n){const o=function(e,t,r,n){const o=uv(0,t),a=e.errorSnapshot(r,n),i={ttl:Yh,namespace:it,version:ev,representationName:tv};return e.storeIngestError(o,a,i),a}
560(e,r,n,{config:t,resolve:()=>Pv(e,t,et)});return e.storeBroadcast().then(()=>o)}function Pv(e,t,r){const o=mv(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-preferences/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>vv(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){cv(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>bv(e,t,o,r)))}function kv(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Pv,void 0,!1)}function Av(e,t){const{luvio:r,config:n}=e;return t({recordId:gv(0,n),node:hv(0,n),variables:{}},{config:n,resolve:()=>Pv(r,n,et)})}const Rv=e=>function(t,r){const n=yv(t,fv);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Av,kv)};function Sv(e,t="ListOrderedByInfoInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.fieldApiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".fieldApiName")+'")');const n=e.isAscending;return"boolean"!=typeof n?new TypeError('Expected "boolean" but received "'+typeof n+'" (at "'+(t+".isAscending")+'")'):void 0})();return void 0===r?null:r}const Iv="updateListPreferences",Nv=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0,!1,Nt),ot("columnWidths",!1,2,4),ot("columnWrap",!1,2,4),ot("orderedBy",!1,2,4,!0)],Tv=at(Iv,Nv),Cv=n.createResourceParams(Nv);function Lv(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Nv);const r=e.columnWidths;if(Ze(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"number"==typeof a&&Math.floor(a)===a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWidths=e)}const o=e.columnWrap;if(Ze(o)){const e={},r=Object.keys(o);for(let t=0,n=r.length;t<n;t++){const n=r[t],a=o[n];"boolean"==typeof a&&void 0!==e&&(e[n]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWrap=e)}const a=e.orderedBy;if(He(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];null===Sv(r)&&e.push(r)}t.orderedBy=e}return t}(n.coerceConfig(e,Nv));return Ye(r,t)?r:null}function _v(e,t,r){const o=Cv(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/list-preferences/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=nv(0,o);e.storeIngest(a,sv,o);const i=e.storeLookup({recordId:a,node:av(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){cv(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const Fv=e=>function(t){const r=Lv(t,Tv);if(null===r)throw new Error('Invalid config for "updateListPreferences"');return _v(e,r)},wv=12e4,jv="756779d0d7e137dd72c743544afbad82",Ev="NavItemsRepresentation";function qv(e,t,r,n,o,a){const i=e.navItems,s=r.fullPath+"__navItems";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Rm(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function Ov(e,t){if(e.currentPageUrl!==t.currentPageUrl)return!1;if(e.eTag!==t.eTag)return!1;if(!1===Ot(e.navItems,t.navItems,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return e.nextPageUrl===t.nextPageUrl}const xv=function(e,t,r,o,a){const i=t.fullPath,s=wv;return n.ingestShape(e,t,r,o,a,s,i,qv,"UiApi",jv,Ev,Ov),Bt(i)};function Bv(e,t){return{kind:"Fragment",version:jv,private:["eTag","currentPageUrl"],selections:[{name:"navItems",kind:"Link",plural:!0,fragment:km()},{name:"nextPageUrl",kind:"Scalar"}]}}function Uv(e,t){return it+"::NavItemsRepresentation:(formFactor:"+t.queryParams.formFactor+",navItemNames:"+t.queryParams.navItemNames+",page:"+t.queryParams.page+",pageSize:"+t.queryParams.pageSize+")"}function Dv(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Ev,mergeable:!1});const a=r.navItems.length;for(let t=0;t<a;t++)Sm(e,0,r.navItems[t])}(e,0,n,()=>Uv(0,r))}const Mv="getNavItems",Vv=[ot("formFactor",!1,1,0,!1,Nl),ot("navItemNames",!1,1,0,!0),ot("page",!1,1,3),ot("pageSize",!1,1,3)],zv=at(Mv,Vv),Kv=n.createResourceParams(Vv);function Wv(e,t){return Uv(0,Kv(t))}function $v(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Vv),t}(n.coerceConfig(e,Vv));return Ye(r,t)?r:null}function Qv(e,t){return Kv(t),Bv()}function Gv(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Uv(0,t);e.storeIngest(i,xv,a);const s=e.storeLookup({recordId:i,node:Bv(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Hv(e,t,et)});return e.storeBroadcast().then(()=>a)}function Jv(e,t,r,n){const o=function(e,t,r,n){const o=Uv(0,t),a=e.errorSnapshot(r,n),i={ttl:wv,namespace:it,version:jv,representationName:Ev};return e.storeIngestError(o,a,i),a}
560(e,r,n,{config:t,resolve:()=>Hv(e,t,et)});return e.storeBroadcast().then(()=>o)}function Hv(e,t,r){const o=Kv(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/nav-items",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Gv(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Dv(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Jv(e,t,o,r)))}function Xv(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Hv,void 0,!1)}function Zv(e,t){const{luvio:r,config:n}=e;return t({recordId:Wv(0,n),node:Qv(0,n),variables:{}},{config:n,resolve:()=>Hv(r,n,et)})}const Yv=e=>function(t,r){const n=$v(t,zv);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Zv,Xv)};function eb(e,t){return{kind:"Fragment",version:ol,private:[],selections:[{name:"objects",kind:"Link",map:!0,fragment:{kind:"Fragment",version:Xc,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"keyPrefix",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"labelPlural",kind:"Scalar"},{name:"nameFields",kind:"Scalar",plural:!0},{name:"objectInfoUrl",kind:"Scalar"}]}}]}}function tb(e,t){return it+"::ObjectInfoDirectoryRepresentation:()"}function rb(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:al,mergeable:!1});const a=r.objects,i=Ft(a),s=i.length;for(let t=0;t<s;t++)nl(e,0,a[i[t]])}(e,0,n,()=>tb())}const nb=[],ob=at("getObjectInfoDirectory",nb),ab=n.createResourceParams(nb);function ib(e,t){return ab(t),tb()}function sb(e,t){return ab(t),eb()}function cb(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=tb();e.storeIngest(i,cl,a);const s=e.storeLookup({recordId:i,node:eb(),variables:{}},o);return n.deepFreeze(s.data),s}(e,0,o,{config:t,resolve:()=>ub(e,t,et)});return e.storeBroadcast().then(()=>a)}function lb(e,t,r,n){const o=function(e,t,r,n){const o=tb(),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,0,n,{config:t,resolve:()=>ub(e,t,et)});return e.storeBroadcast().then(()=>o)}function ub(e,t,r){ab(t);const o={baseUri:"/services/data/v67.0",basePath:"/ui-api/object-info",method:"get",body:null,urlParams:{},queryParams:{},headers:{},priority:"normal"};return e.dispatchResourceRequest(o,r).then(r=>e.handleSuccessResponse(()=>cb(e,t,0,r),()=>{const e=new n.StoreKeyMap;return rb(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>lb(e,t,0,r)))}function db(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,ub,void 0,!1)}function pb(e,t){const{luvio:r,config:n}=e;return t({recordId:ib(0,n),node:sb(0,n),variables:{}},{config:n,resolve:()=>ub(r,n,et)})}const fb=Ge(null);function mb(e){let t=[];for(let r=0,n=e.urlParams.objectApiNames.length;r<n;r+=1){const n=e.urlParams.objectApiNames[r];t.push({urlParams:{objectApiName:n}})}return t}function gb(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(yb(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=fs(0,t[e]),a=ps(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=fb[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,mb(t),t)}function yb(e,t){return it+"::SimplifiedBatchRepresentation:(objectApiNames:"+t.urlParam
560s.objectApiNames+")"}function hb(e,t,r,o){const a=r.body.results,i=mb(t),s=yb(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=fs(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=gs(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{ys(e,l,{status:p,body:f,ok:!1,statusText:rt(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),Xe.call(o,t)}404!==p&&200!==p?fb[u]={expiration:s+rs,response:f,status:p}:delete fb[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:gb(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const vb="getObjectInfos",bb=[ot("objectApiNames",!0,0,0,!0,Eu)],Pb=at(vb,bb),kb=n.createResourceParams(bb);function Ab(e,t){return yb(0,kb(t))}function Rb(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,bb),t}(n.coerceConfig(e,bb));return Ye(r,t)?r:null}function Sb(e,t){return gb(e,kb(t))}function Ib(e,t,r,n){const o=function(e,t,r,n){const o=yb(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>Nb(e,t,et)});return e.storeBroadcast().then(()=>o)}function Nb(e,t,r){const o=kb(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/object-info/batch/"+e.urlParams.objectApiNames,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=hb(e,r,n,{config:t,resolve:()=>Nb(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=mb(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)ms(e,0,0,s);else if(404===i){const t=fs(0,r);e.set(t,{namespace:it,representationName:os,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Ib(e,t,o,r)))}function Tb(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Nb,void 0,!1)}function Cb(e,t){const{luvio:r,config:n}=e;return t({recordId:Ab(0,n),node:Sb(r,n),variables:{}},{config:n,resolve:()=>Nb(r,n,et)})}const Lb=e=>function(t,r){const n=Rb(t,Pb);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Cb,Tb)};var _b;!function(e){e.WorkStepStatus="WorkStepStatus",e.LeadStatus="LeadStatus",e.CaseStatus="CaseStatus",e.OpportunityStage="OpportunityStage"}(_b||(_b={}));const Fb=function(){const e=function(){const{selections:e}=wb();return{kind:"Fragment",version:"8d2032474fb4fabdf5cf4042be9042d9",private:[],selections:[...e,{name:"sortOrder",kind:"Scalar"},{name:"statusCode",kind:"Scalar"}]}}(),t=function(){const{selections:e}=wb();return{kind:"Fragment",version:"53893a219bc0888951863f2c44317cac",private:[],selections:[...e,{name:"converted",kind:"Scalar"}]}}(),r=function(){const{selections:e}=wb();return{kind:"Fragment",version:"4818ec07c499784571c1012ead048c88",private:[],selections:[...e,{name:"closed",kind:"Scalar"}]}}(),n=function(){const{selections:e}=wb();return{kind:"Fragment",version:"950a3a962acbd2b128f937d4c055a9d6",private:[],selections:[...e,{name:"closed",kind:"Scalar"},{name:"defaultProbability",kind:"Scalar"},{name:"forecastCategoryName",kind:"Scalar"},{name:"won",kind:"Scalar"}]}}();return{kind:"Fragment",union:!0,discriminator:"picklistAtrributesValueType",unionSelections:{[_b.WorkStepStatus]:e,[_b.LeadStatus]:t,[_b.CaseStatus]:r,[_b.OpportunityStage]:n}}},wb=function(){return{kind:"Fragment",version:"bd523b2343366edfc25a2dbee2c4e986",private:[],selections:[{name:"picklistAtrributesValueType",kind:"Scalar"}]}},jb=function(e,t){return Ob(e,{id:t.url.substring(t.url.indexOf("/ui-api"))})},Eb="0a361a49370acb4c6a31721a2057649a",qb="PicklistValuesRepresentation";function Ob(e,t){return it+"::"+qb+":"+t.id}function xb(e,t,r,n,o,a){return e}const Bb=function(){const{selections:e,opaque:t}=function(){const e=Fb();return{kind:"Fragment",version:"9e2a16a80378487f557124c771201cf9",private:[],selections:[{kind:"Object",name:"attributes",discriminator:e.discriminator,union:!0,nullable:!0,unionSelections:e.unionSelections},{name:"label",kind:"Scalar"},{name:"validFor",kind:"Scalar",plural:!0},{name:"value",kind:"Scalar"}]}}();return{kind:"Fragment",version:Eb,private:["eTag"],selections:[{name:"controllerValues",kind:"Scalar",map:!0},{name:"defaultValue",kind:"Object",nullable:!0,selections:e},{name:"url",kind:"Scalar"},{name:"values",kind:"Object",plural:!0,selections:e}]}};function Ub(e,t){return e.eTag===t.eTag}const Db=function(e,t,r,o,a){const i=jb(r,e);return n.ingestShape(e,t,r,o,a,9e5,i,xb,"UiApi",Eb,qb,Ub),Bt(i)};function Mb(e,t,r,n){const o=jb(t,r);e.set(o,{namespace:it,representationName:qb,mergeable:!1})}const Vb=9e5,zb="ec03b0f6da287c949d1ccaa904ddbfd3",Kb="PicklistValuesCollectionRepresentation";function Wb(e,t,r,n,o,a){const i=e.picklistFieldValues,s=r.fullPath+"__picklistFieldValues",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=Db(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function $b(e,t){if(e.eTag!==t.eTag)return!1;return!1!==xt(e.picklistFieldValues,t.picklistFieldValues,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Qb=function(e,t,r,o,a){const i=t.fullPath,s=Vb;return n.ingestShape(e,t,r,o,a,s,i,Wb,"UiApi",zb,Kb,$b),Bt(i)};function Gb(e,t){return{kind:"Fragment",version:zb,private:["eTag"],selections:[{name:"picklistFieldValues",kind:"Link",map:!0,fragment:Bb()}]}}function Jb(e,t){return it+"::PicklistValuesCollectionRepresentation:(objectApiName:"+t.urlParam
560s.objectApiName+",recordTypeId:"+t.urlParams.recordTypeId+")"}function Hb(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Kb,mergeable:!1});const a=r.picklistFieldValues,i=Ft(a),s=i.length;for(let r=0;r<s;r++)Mb(e,t,a[i[r]])}(e,t,n,()=>Jb(0,r))}const Xb="getPicklistValuesByRecordType",Zb=[ot("objectApiName",!0,0,0,!1,Nt),ot("recordTypeId",!0,0,0,!1,nr)],Yb=at(Xb,Zb),eP=n.createResourceParams(Zb);function tP(e,t){return Jb(0,eP(t))}function rP(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Zb),t}(n.coerceConfig(e,Zb));return Ye(r,t)?r:null}function nP(e,t){return eP(t),Gb()}function oP(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Jb(0,t);e.storeIngest(i,Qb,a);const s=e.storeLookup({recordId:i,node:Gb(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>iP(e,t,et)});return e.storeBroadcast().then(()=>a)}function aP(e,t,r,n){const o=function(e,t,r,n){const o=Jb(0,t),a=e.errorSnapshot(r,n),i={ttl:Vb,namespace:it,version:zb,representationName:Kb};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>iP(e,t,et)});return e.storeBroadcast().then(()=>o)}function iP(e,t,r){const o=eP(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/object-info/"+e.urlParams.objectApiName+"/picklist-values/"+e.urlParams.recordTypeId,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>oP(e,t,o,r),()=>{const t=new n.StoreKeyMap;return Hb(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>aP(e,t,o,r)))}function sP(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,iP,void 0,!1)}function cP(e,t){const{luvio:r,config:n}=e;return t({recordId:tP(0,n),node:nP(0,n),variables:{}},{config:n,resolve:()=>iP(r,n,et)})}const lP=e=>function(t,r){const n=rP(t,Yb);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},cP,sP)};function uP(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/object-info/"+e.urlParams.objectApiName+"/picklist-values/"+e.urlParams.recordTypeId+"/"+e.urlParams.fieldApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const dP=Bb().selections;function pP(e,t){return{config:t,resolve:()=>mP(e,t)}}function fP(e,t,r,n){const{body:o}=n;e.storeIngest(r,Db,o);const a=function(e,t){const r=Ct(t.fieldApiName),n=uP({urlParams:{objectApiName:r.objectApiName,fieldApiName:r.fieldApiName,recordTypeId:t.recordTypeId}}),o=Ob(0,{id:n.basePath});return e.storeLookup({recordId:o,node:{kind:"Fragment",private:["eTag"],selections:dP,ver
560sion:Eb},variables:{}},pP(e,t))}(e,t);return e.storeBroadcast().then(()=>a)}function mP(e,t,r){const{resourceParams:o,request:a,key:i}=function(e,t){const{recordTypeId:r,fieldApiName:n}=t,o=Ct(n),a={urlParams:{objectApiName:o.objectApiName,fieldApiName:o.fieldApiName,recordTypeId:r}},i=uP(a);return{resourceParams:a,request:i,key:Ob(0,{id:i.basePath})}}(0,t);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>fP(e,t,i,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){Mb(e,t,n)}(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=e.errorSnapshot(n,pP(e,t));return e.storeIngestError(r,o),e.storeBroadcast().then(()=>o)}(e,t,i,r)))}function gP(e,t){const{config:r,luvio:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=t,c={resourceRequestContext:{requestCorrelator:a,sourceContext:s},eventObservers:i};return"normal"!==o&&(c.overrides={priority:o}),mP(n,r,c)}function yP(e,t){const{config:r,luvio:n}=e,o=Ct(r.fieldApiName),{basePath:a}=uP({urlParams:{objectApiName:o.objectApiName,fieldApiName:o.fieldApiName,recordTypeId:r.recordTypeId}});return t({recordId:Ob(0,{id:a}
560),node:{kind:"Fragment",private:["eTag"],selections:dP,version:Eb},variables:{}},pP(n,r))}const hP={displayName:"getPicklistValues",parameters:{required:["recordTypeId","fieldApiName"],optional:[]}};function vP(e,t){return function(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,bP),t}(n.coerceConfig(e,bP));if(!Ye(r,t))return null;return r}(e,hP)}const bP=[ot("fieldApiName",!0,0,0,!1,Lt),ot("objectApiName",!0,0,0),ot("recordTypeId",!0,0,0,!1,nr)];const PP=e=>function(t,r){const n=vP(t);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},yP,gP)};function kP(e,t){return qs()}function AP(e,t){return ws(0,{layoutType:"PathAssistant",objectApiName:t.urlParams.objectApiName,layoutOverride:t.queryParams.layoutOverride,recordTypeId:t.queryParams.recordTypeId||"",mode:t.queryParams.mode||"",formFactor:t.queryParams.formFactor||""})}const RP="getPathLayout",SP=[ot("objectApiName",!0,0,0,!1,Nt),ot("formFactor",!1,1,0),ot("layoutOverride",!0,1,0),ot("mode",!1,1,0,!1,Vg),ot("recordTypeId",!1,1,0,!1,nr)],IP=at(RP,SP),NP=n.createResourceParams(SP);function TP(e,t){return AP(0,NP(t))}function CP(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,SP),t}(n.coerceConfig(e,SP));return Ye(r,t)?r:null}function LP(e,t){return NP(t),kP()}function _P(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=AP(0,t);e.storeIngest(i,xs,a);const s=e.storeLookup({recordId:i,node:kP(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>wP(e,t,et)});return e.storeBroadcast().then(()=>a)}function FP(e,t,r,n){const o=function(e,t,r,n){const o=AP(0,t),a=e.errorSnapshot(r,n),i={ttl:Ls,namespace:it,version:_s,representationName:Fs};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>wP(e,t,et)});return e.storeBroadcast().then(()=>o)}function wP(e,t,r){const o=NP(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/path/layout/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>_P(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){Bs(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>FP(e,t,o,r)))}function jP(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,wP,void 0,!1)}function EP(e,t){const{luvio:r,config:n}=e;return t({recordId:TP(0,n),node:LP(0,n),variables:{}},{config:n,resolve:()=>wP(r,n,et)})}const qP=e=>function(t,r){const n=CP(t,IP);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},EP,jP)},OP="583c38564fa15ce0fb3dd2807be1bdc6",xP="DuplicatesRepresentation";function BP(e,t,r,n,o,a){return e}function UP(e,t){return qt(t)===qt(e)}const DP=function(e,t,r,o,a){const i=t.fullPath;return n.ingestShape(e,t,r,o,a,3e4,i,BP,"UiApi",OP,xP,UP),Bt(i)};function MP(e,t){return{kind:"Fragment",version:OP,private:[],opaque:!0}}function VP(e,t){return it+"::DuplicatesRepresentation:("+(void 0===t.body.allowSaveOnDuplicate?"allowSaveOnDuplicate":"allowSaveOnDuplicate:"+t.body.allowSaveOnDuplicate)+"::"+(void 0===t.body.apiName?"apiName":"apiName:"+t.body.apiName)+"::"+tt(t.body.fields)+")"}function zP(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:xP,mergeable:!1})}(e,0,0,()=>VP(0,r))}const KP="getDuplicates",WP=[ot("allowSaveOnDuplicate",!1,2,1),ot("apiName",!1,2,0),ot("fields",!0,2,4)],$P=at(KP,WP),QP=n.createResourceParams(WP);function GP(e,t){return VP(0,QP(t))}function JP(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,WP);const r=e.fields;if(Ze(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];if("string"==typeof a&&void 0!==e&&(e[o]=a),"number"==typeof a&&void 0!==e&&(e[o]=a),null===a&&void 0!==e&&(e[o]=a),"boolean"==typeof a&&void 0!==e&&(e[o]=a),He(a)){const t=[];for(let e=0,r=a.length;e<r;e++){const r=a[e];"string"==typeof r&&t.push(r)}void 0!==e&&(e[o]=t)}}void 0!==e&&Object.keys(e).length>=0&&(t.fields=e)}return t}(e);return Ye(r,t)?r:null}function HP(e,t){return QP(t),MP()}function XP(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=VP(0,t);e.storeIngest(i,DP,a);const s=e.storeLookup({recordId:i,node:MP(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>YP(e,t,et)});return e.storeBroadcast().then(()=>a)}function ZP(e,t,r,n){const o=function(e,t,r,n){const o=VP(0,t),a=e.errorSnapshot(r,n),i={ttl:3e4,namespace:it,version:OP,representationName:xP};return e.storeIngestError(o,a,i),a}
560(e,r,n,{config:t,resolve:()=>YP(e,t,et)});return e.storeBroadcast().then(()=>o)}function YP(e,t,r){const o=QP(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/predupe",method:"post",body:e.body,urlParams:{},queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>XP(e,t,o,r),()=>{const e=new n.StoreKeyMap;return zP(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>ZP(e,t,o,r)))}function ek(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,YP,"get",!1)}function tk(e,t){const{luvio:r,config:n}=e;return t({recordId:GP(0,n),node:HP(0,n),variables:{}},{config:n,resolve:()=>YP(r,n,et)})}const rk=e=>function(t,r){const n=JP(t,$P);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},tk,ek)};const nk="34ffbf4219dfebb707bff609c2d5bf89";function ok(e,t){return hk(e,t)}function ak(e,t,r,n,o,a){return e}const ik=function(){const{selections:e}=bk(),{selections:t,opaque:r}={kind:"Fragment",version:"e84b9ffdeff97c411bd111f2a55cf6b6",private:[],selections:[{name:"companyBluemasterId",kind:"Scalar"},{name:"responseId",kind:"Scalar"}]};return{kind:"Fragment",version:nk,private:["eTag"],selections:[...e,{name:"backgroundColor",kind:"Scalar"},{name:"height",kind:"Scalar"},{name:"photoMetadata",kind:"Object",selections:t},{name:"photoUrl",kind:"Scalar"},{name:"provider",kind:"Scalar"},{name:"width",kind:"Scalar"}]}};function sk(e,t){if(!1===Pk(e,t))return!1;if(e.eTag!==t.eTag)return!1;if(e.photoUrl!==t.photoUrl)return!1;if(e.backgroundColor!==t.backgroundColor)return!1;if(e.height!==t.height)return!1;if(!function(e,t){return e.companyBluemasterId===t.companyBluemasterId&&e.responseId===t.responseId}(e.photoMetadata,t.photoMetadata))return!1;if(e.provider!==t.provider)return!1;return e.width===t.width}const ck=function(e,t,r,o,a){const i=ok(r,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,ak,"UiApi",nk,"PhotoRecordAvatarRepresentation",sk),Bt(i)};const lk="cbdcf69a6568d41ccf155b2b95ec70e7";function uk(e,t){return hk(e,t)}function dk(e,t,r,n,o,a){return e}const pk=function(){const{selections:e}=bk();return{kind:"Fragment",version:lk,private:["eTag"],selections:[...e,{name:"backgroundColor",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"}]}};function fk(e,t){if(!1===Pk(e,t))return!1;if(e.eTag!==t.eTag)return!1;if(e.backgroundColor!==t.backgroundColor)return!1;return e.iconUrl===t.iconUrl}const mk=function(e,t,r,o,a){const i=uk(r,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,dk,"UiApi",lk,"ThemeRecordAvatarRepresentation",fk),Bt(i)};var gk;!function(e){e.Photo="Photo",e.Theme="Theme"}(gk||(gk={}));const yk="AbstractRecordAvatarRepresentation";function hk(e,t){const r={recordId:t.recordId};return it+"::"+yk+":"+r.recordId}const vk=function(){const e=ik(),t=pk();return{kind:"Fragment",union:!0,discriminator:"type",unionSelections:{[gk.Photo]:e,[gk.Theme]:t}}},bk=function(){return{kind:"Fragment",version:"bc05f8d1c708b6c41c9bf2fe6001aff0",private:[],selections:[{name:"recordId",kind:"Scalar"},{name:"type",kind:"Scalar"}]}};function Pk(e,t){if(e.recordId!==t.recordId)return!1;return e.type===t.type}function kk(e,t,r,n){const o=r.type;if("Photo"===o)return function(e,t,r){const n=ok(t,r);e.set(n,{namespace:it,representationName:yk,mergeable:!1})}(e,t,r);if("Theme"===o)return function(e,t,r){const n=uk(t,r);e.set(n,{namespace:it,representationName:yk,mergeable:!1})}(e,t,r);throw new Error(`Invalid discriminatorValue "${o}". Expected one of "Photo","Theme"`)}const Ak="f531b44760afecfce89990fe5a5c5c29",Rk="RecordAvatarBatchRepresentation";function Sk(e,t,r,n,o,a){const i=e.result,s=r.fullPath+"__result";return e.result=function(e,t,r,n,o){const a=e.type;if("Photo"===a)return ck(e,t,r,n,o);if("Theme"===a)return mk(e,t,r,n,o);throw new Error(`Invalid discriminatorValue "${a}". Expected one of "Photo","Theme"`)}(i,{fullPath:s,propertyName:"result",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a),e}function Ik(e,t){if(!1===Vk(e,t))return!1;const r=e.result,n=t.result;return r.__ref===n.__ref}function Nk(e,t){if(e.errorCode!==t.errorCode)return!1;return e.message===t.message}
560const Tk="e7fac2bfb5cdacc5e0f15c350f9ab8fe",Ck="ErrorBadRequestRecordAvatarBatchRepresentation";function Lk(e,t,r,n,o,a){return e}function _k(e,t){if(!1===Vk(e,t))return!1;return!1!==Ot(e.result,t.result,(e,t)=>{if(!Nk(e,t))return!1})}const Fk="cbd48fd50d0db463fdff7b1834c22bed",wk="ErrorRecordAvatarBatchRepresentation";function jk(e,t,r,n,o,a){return e}function Ek(e,t){if(!1===Vk(e,t))return!1;return!1!==Ot(e.result,t.result,(e,t)=>{if(!Nk(e,t))return!1})}const qk=200,Ok=400,xk=404,Bk=3e5,Uk="8956293536e94d5ec63b274b61033d2c",Dk=function(){const e=function(){const{selections:e}=Mk();return{kind:"Fragment",version:Ak,private:[],selections:[...e,{kind:"Link",name:"result",fragment:vk()}]}}(),t=function(){const{selections:e}=Mk(),{selections:t,opaque:r}={kind:"Fragment",version:"17c20b01167dba9a81452e60bb28b2f2",private:[],selections:[{name:"errorCode",kind:"Scalar"},{name:"message",kind:"Scalar"}]};return{kind:"Fragment",version:Tk,private:[],selections:[...e,{name:"result",kind:"Object",plural:!0,selections:t}]}}(),r=function(){const{selections:e}=Mk(),{selections:t,opaque:r}={kind:"Fragment",version:"17c20b01167dba9a81452e60bb28b2f2",private:[],selections:[{name:"errorCode",kind:"Scalar"},{name:"message",kind:"Scalar"}]};return{kind:"Fragment",version:Fk,private:[],selections:[...e,{name:"result",kind:"Object",plural:!0,selections:t}]}}();return{kind:"Fragment",union:!0,discriminator:"statusCode",unionSelections:{[qk]:e,[Ok]:t,[xk]:r}}},Mk=function(){return{kind:"Fragment",version:Uk,private:[],selections:[{name:"statusCode",kind:"Scalar"}]}};function Vk(e,t){return e.statusCode===t.statusCode}const zk=function(e,t,r,o,a){const i=e.statusCode;if(200===i)return function(e,t,r,o,a){const i=t.fullPath,s=Bk;return n.ingestShape(e,t,r,o,a,s,i,Sk,"UiApi",Ak,Rk,Ik),Bt(i)}(e,t,r,o,a);if(400===i)return function(e,t,r,o,a){const i=t.fullPath,s=Bk;return n.ingestShape(e,t,r,o,a,s,i,Lk,"UiApi",Tk,Ck,_k),Bt(i)}(e,t,r,o,a);if(404===i)return function(e,t,r,o,a){const i=t.fullPath,s=Bk;return n.ingestShape(e,t,r,o,a,s,i,jk,"UiApi",Fk,wk,Ek),Bt(i)}(e,t,r,o,a);throw new Error(`Invalid discriminatorValue "${i}". Expected one of "200","400","404"`)};function Kk(e,t,r,n){const o=r.statusCode;if(200===o)return function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Rk,mergeable:!1})}(e,0,0,n);if(400===o)return function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Ck,mergeable:!1})}(e,0,0,n);if(404===o)return function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:wk,mergeable:!1})}(e,0,0,n);throw new Error(`Invalid discriminatorValue "${o}". Expected one of "200","400","404"`)}const Wk="RecordAvatarBulkMapRepresentation";const $k=function(e,t,r,n,o){const a=t.fullPath,i=n.readEntry(a);let s=function(e,t,r,n,o,a){const i=Object.keys(e),s=i.length;for(let c=0;c<s;c++){const s=i[c],l=e[s],u=r.fullPath+"__"+s;e[s]=zk(l,{fullPath:u,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,propertyName:t.propertyName,parent:t.parent},r,n,o);var c,l;return l=s,s=void 0===(c=i)?l:{...c,...l},void 0!==i&&!1!==function(e,t){return!1!==xt(e,t,(e,t)=>{if(e.__ref!==t.__ref)return!1})}(i,s)||r.storePublish(a,s),Bt(a)};function Qk(e,t){return it+"::RecordAvatarBulkMapRepresentation:(formFactor:"+t.queryParams.formFactor+",recordIds:"+t.urlParams.recordIds+")"}function Gk(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:Wk,mergeable:!1});const a=r,i=Ft(a),s=i.length;for(let t=0;t<s;t++){const r=i[t];Kk(e,0,a[r],()=>o+"__"+r)}}(e,0,n,()=>Qk(0,r))}const Jk=`${it}RecordAvatarsBulk`;function Hk(e){return{kind:"Fragment",private:[],version:Uk,selections:e.map(e=>({kind:"Link",name:e,fragment:Dk()}))}}function Xk(e){return{recordId:Jk,node:Hk(e),variables:{}}}const Zk=new Set;function Yk(e,t,r){const{uncachedRecordIds:o,recordIds:a}=t,{recordIdsInFlight:i,recordIdsNotInFlight:s}=function(e,t){const r=[],n=[];return e.forEach(e=>{t.has(e)?n.push(e):r.push(e)}),{recordIdsInFlight:n,recordIdsNotInFlight:r}}(o||a,Zk);let c;if(s.length>
5600){s.forEach(e=>Zk.add(e));const o=iA({...t,recordIds:s}),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/record-avatars/batch/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);c=e.dispatchResourceRequest(a,r).then(r=>{let a;return s.forEach(e=>Zk.delete(e)),a=function(e){return void 0===e.body.hasErrors}(r)?r.body:r.body.results.reduce((e,t,r)=>(e[s[r]]=t,e),{}),r.body=a,e.handleSuccessResponse(()=>function(e,t,r,n){const o=eA(e,r,n,{config:t,resolve:()=>Yk(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Gk(e,0,o,a),e})},r=>(s.forEach(e=>Zk.delete(e)),e.handleErrorResponse(()=>function(e,t,r,n){const o=function(e,t,r,n){const o=Qk(0,t),a=e.errorSnapshot(r,n),i={ttl:36e5,namespace:it,version:"c44c049fa6ad7cf7e932c0aab9107d86",representationName:Wk};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Yk(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r))))}return i.length>0&&function(e,t){const r=Pt.call(t,(e,t)=>(e[t]={statusCode:200,result:{backgroundColor:null,eTag:"",height:null,photoMetadata:{companyBluemasterId:null,responseId:null},photoUrl:"",provider:null,recordId:"",type:"Photo",width:null}},e),{});e.storeIngest(Jk,$k,r)}(e,i),c||Promise.resolve(function(e,t){const{recordIds:r}=t;return e.storeLookup(Xk(r),{config:t,resolve:()=>Yk(e,t,et)})}(e,t))}function eA(e,t,r,n){const{body:o}=r;e.storeIngest(Jk,$k,o);let a=[];n&&(a=n.config.recordIds);const i=e.storeLookup(Xk(a),n);return"Pending"===i.state?(e.resolvePendingSnapshot(i).then(()=>{eA(e,t,r,n)}),Promise.resolve(i)):Promise.resolve(i)}function tA(e,t){const{luvio:r,config:n}=e,{recordIds:o}=n,a=t(Xk(o),{config:n,resolve:()=>Yk(r,n,et)});return void 0!==a.data&&Ma(a)&&(e.uncachedRecordIds=a.missingPaths.keysAsArray().sort()),a}function rA(e,t){const{luvio:r,config:n,uncachedRecordIds:o}=e;void 0!==o&&(n.uncachedRecordIds=o);const{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),Yk(r,n,l)}const nA="getRecordAvatars",oA=[ot("recordIds",!0,0,0,!0,Us),ot("formFactor",!1,1,0,!1,Nl)],aA=at(nA,oA),iA=n.createResourceParams(oA);function sA(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,oA),t}(n.coerceConfig(e,oA));return Ye(r,t)?r:null}const cA=e=>function(t,r){const n=sA(t,aA);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},tA,rA)};function lA(e){const t=He(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=nr(t[e]);if(void 0===n)return;Xe.call(r,n)}if(0!==r.length)return It(r)}function uA(e){const t=function(e){const t={records:[]},{records:r=[]}=e;for(let e=0,n=r.length;e<n;e+=1){const n={},o=r[e];if(Ze(o)){const e=lA(o.recordIds);void 0!==e&&(n.recordIds=e);const r=_t(o.optionalFields);void 0!==r&&(n.optionalFields=r);const a=_t(o.fields);void 0!==a&&(n.fields=a),Xe.call(t.records,n)}}return t}(e),r={},n=t.records;if(He(n)){const e=[];for(let t=0,r=n.length;t<r;t+=1){const r={},o=n[t];if(Ze(o)){const{recordIds:t,fields:n,optionalFields:a}=o;if(He(t)){const e=[];for(let r=0,n=t.length;r<n;r++){const n=t[r];"string"==typeof n&&Xe.call(e,n)}r.recordIds=e}if(!r.recordIds||0===r.recordIds.length)continue;if(He(n)){const e=[];for(let t=0,r=n.length;t<r;t++){const r=n[t];"string"==typeof r&&Xe.call(e,r)}r.fields=e}if(He(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];"string"==typeof r&&Xe.call(e,r)}r.optionalFields=e}if(void 0===r.fields&&void 0===r.optionalFields)continue;Xe.call(e,r)}}e.length>0&&st(r,{records:e})}return r}const dA={displayName:"getRecords",parameters:{required:["records"],optional:[]}};function pA(e,t){return Zn(0,ro(t))}function fA(e,t,r){const o=ro(t),a=to(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>ao(e,t,o,r),()=>{const t=new n.StoreKeyMap;return Yn(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>
560function(e,t,r,n){const o=eo(e,r,n,{config:t,resolve:()=>fA(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function mA(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,fA,void 0,!1)}function gA(e,t){const{luvio:r,config:n}=e;return t({recordId:pA(0,n),node:oo(r,n),variables:{}},{config:n,resolve:()=>fA(r,n,et)})}const yA=e=>function(t,r){const n=function(e,t){if(!Ze(e))return null;const r=uA(e);return Ye(r,t)?r:null}(t,dA);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},gA,mA)};function hA(e,t){if(e.parentObjectApiName!==t.parentObjectApiName)return!1;if(e.relatedListId!==t.relatedListId)return!1;if(e.type!==t.type)return!1;if(e.id!==t.id)return!1;if(e.inContextOfRecordId!==t.inContextOfRecordId)return!1;if(e.listViewApiName!==t.listViewApiName)return!1;if(e.objectApiName!==t.objectApiName)return!1;return e.recordTypeId===t.recordTypeId}const vA="836b875b519813e7499efc62f0f1d04b",bA="RelatedListRecordCountRepresentation";function PA(e,t){return it+"::"+bA+":"+(null===t.parentRecordId?"":t.parentRecordId)+":"+t.relatedListId}function kA(e,t){return PA(0,{parentRecordId:t.listReference.inContextOfRecordId,relatedListId:t.listReference.relatedListId})}function AA(e,t,r,n,o,a){return e}function RA(e,t){if(e.hasMore!==t.hasMore)return!1;if(e.eTag!==t.eTag)return!1;if(e.count!==t.count)return!1;return!!hA(e.listReference,t.listReference)}const SA=function(e,t,r,o,a){const i=kA(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,AA,"UiApi",vA,bA,RA),Bt(i)};function IA(e,t){return function(){const{selections:e,opaque:t}={kind:"Fragment",version:"4d4bdab5d0aa61e365e766409c9b3a31",private:[],selections:[{name:"id",kind:"Scalar"},{name:"inContextOfRecordId",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"parentObjectApiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"relatedListId",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",version:vA,private:["eTag"],selections:[{name:"count",kind:"Scalar"},{name:"hasMore",kind:"Scalar"},{name:"listReference",kind:"Object",selections:e}]}}()}function NA(e,t){return PA(0,{parentRecordId:t.urlParams.parentRecordId,relatedListId:t.urlParams.relatedListId})}function TA(e,t,r,n){!function(e,t,r){const n=kA(0,r);e.set(n,{namespace:it,representationName:bA,mergeable:!1})}(e,0,n)}function CA(e,t,r,o){const{body:a}=r,i=NA(0,t);e.storeIngest(i,SA,a);const s=e.storeLookup({recordId:i,node:IA(),variables:{}},o);return n.deepFreeze(s.data),s}function LA(e,t,r,n){const o=NA(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}const _A=Ge(null);function FA(e){let t=[];for(let r=0,n=e.urlParams.relatedListNames.length;r<n;r+=1){const n=e.urlParams.relatedListNames[r];t.push({urlParams:{parentRecordId:e.urlParams.parentRecordId,relatedListId:n},queryParams:{maxCount:e.queryParams.maxCount}})}return t}function wA(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(jA(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=NA(0,t[e]),a=IA(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=_A[r];if(void 0===e)i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,FA(t),t)}function jA(e,t){return it+"::BatchRelatedListCountRepresentation:(maxCount:"+t.queryParams.maxCount+",parentRecordId:"+t.urlParam
560s.parentRecordId+",relatedListNames:"+t.urlParams.relatedListNames+")"}function EA(e,t,r,o){const a=r.body.results,i=FA(t),s=jA(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";for(let s=0,c=t.length;s<c;s+=1){const c=t[s],l=NA(0,c),u=r[s],{statusCode:d,result:p}=u;if(200===d){const t=CA(e,c,{status:200,body:p,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{LA(e,c,{status:d,body:p,ok:!1,statusText:rt(u.statusCode),headers:{},errorType:"fetchResponse"}),a.add(l);const t={statusCode:d,result:p};n.deepFreeze(t),Xe.call(o,t)}404!==d&&200!==d?_A[l]={response:p,status:d}:delete _A[l]}const s={results:o};return n.deepFreeze(s),{childSnapshotData:s,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:wA(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const qA="getRelatedListsCount",OA=[ot("parentRecordId",!0,0,0,!1,nr),ot("relatedListNames",!0,0,0,!0,_t),ot("maxCount",!1,1,3)],xA=at(qA,OA),BA=n.createResourceParams(OA);function UA(e,t){return jA(0,BA(t))}function DA(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,OA),t}(n.coerceConfig(e,OA));return Ye(r,t)?r:null}function MA(e,t){return wA(e,BA(t))}function VA(e,t,r,n){const o=function(e,t,r,n){const o=jA(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>zA(e,t,et)});return e.storeBroadcast().then(()=>o)}function zA(e,t,r){const o=BA(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-count/batch/"+e.urlParams.parentRecordId+"/"+e.urlParams.relatedListNames,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=EA(e,r,n,{config:t,resolve:()=>zA(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=FA(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)TA(e,0,0,s);else if(404===i){const t=NA(0,r);e.set(t,{namespace:it,representationName:bA,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>VA(e,t,o,r)))}function KA(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,zA,void 0,!1)}function WA(e,t){const{luvio:r,config:n}=e;return t({recordId:UA(0,n),node:MA(r,n),variables:{}},{config:n,resolve:()=>zA(r,n,et)})}const $A=e=>function(t,r){const n=DA(t,xA);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},WA,KA)},QA="getRelatedListCount",GA=[ot("parentRecordId",!0,0,0,!1,nr),ot("relatedListId",!0,0,0),ot("maxCount",!1,1,3)],JA=at(QA,GA),HA=n.createResourceParams(GA);function XA(e,t){return NA(0,HA(t))}function ZA(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,GA),t}(n.coerceConfig(e,GA));return Ye(r,t)?r:null}function YA(e,t){return HA(t),IA()}function eR(e,t,r){const o=HA(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-count/"+e.urlParams.parentRecordId+"/"+e.urlParams.relatedListId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=CA(e,r,n,{config:t,resolve:()=>eR(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return TA(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=LA(e,r,n,{config:t,resolve:()=>eR(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function tR(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,eR,void 0,!1)}function rR(e,t){const{luvio:r,config:n}=e;return t({recordId:XA(0,n),node:YA(0,n),variables:{}},{config:n,resolve:()=>eR(r,n,et)})}const nR=e=>function(t,r){const n=ZA(t,JA);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},rR,tR)},oR=9e5,aR="c977d65d153a2b4e888ddd45fb083248",iR="RelatedListInfoRepresentation";function sR(e,t){return it+"::"+iR+":"+t.relatedListId+":"+t.parentObjectApiName+":"+t.restrictColumnsToLayout+":"+(null===t.recordTypeId?"":t.recordTypeId)+":["+t.optionalFields.join(",")+"]:["+t.fields.join(",")+"]"}function cR(e,t){return sR(0,{relatedListId:t.listReference.relatedListId,parentObjectApiName:t.listReference.parentObjectApiName,restrictColumnsToLayout:t.restrictColumnsToLayout,recordTypeId:t.listReference.recordTypeId,optionalFields:t.optionalFields,fields:t.fields})}function lR(e,t,r,n,o,a){return e}const uR=function(){return{kind:"Fragment",version:aR,private:["eTag"],selections:[{name:"cloneable",kind:"Scalar"},{name:"createable",kind:"Scalar"},{name:"deletable",kind:"Scalar"},{name:"displayColumns",kind:"Object",opaque:!0},{name:"fieldApiName",kind:"Scalar"},{name:"fields",kind:"Object",opaque:!0},{name:"filterLogicString",kind:"Scalar"},{name:"filterable",kind:"Scalar"},{name:"filteredByInfo",kind:"Object",opaque:!0},{name:"label",kind:"Scalar"},{name:"listReference",kind:"Object",opaque:!0},{name:"objectApiNames",kind:"Object",opaque:!0},{name:"optionalFields",kind:"Object",opaque:!0},{name:"orderedByInfo",kind:"Object",opaque:!0},{name:"restrictColumnsToLayout",kind:"Scalar"},{name:"updateable",kind:"Scalar"},{name:"userPreferences",kind:"Object",opaque:!0},{name:"visibility",kind:"Scalar"},{name:"visibilityEditable",kind:"Scalar"}]}};function dR(e,t){return e.eTag===t.eTag}const pR=function(e,t,r,o,a){const i=cR(0,e),s=oR;return n.ingestShape(e,t,r,o,a,s,i,lR,"UiApi",aR,iR,dR),Bt(i)};function fR(e,t,r,n){const o=cR(0,r);e.set(o,{namespace:it,representationName:iR,mergeable:!1})}function mR(e,t){return uR()}
560function gR(e,t){return sR(0,{relatedListId:t.urlParams.relatedListId,parentObjectApiName:t.urlParams.parentObjectApiName,restrictColumnsToLayout:!1!==t.queryParams.restrictColumnsToLayout,recordTypeId:t.queryParams.recordTypeId||null,optionalFields:t.queryParams.optionalFields||[],fields:t.queryParams.fields||[]})}function yR(e,t,r,n){fR(e,0,n)}function hR(e,t,r,o){const{body:a}=r,i=gR(0,t);e.storeIngest(i,pR,a);const s=e.storeLookup({recordId:i,node:mR(),variables:{}},o);return n.deepFreeze(s.data),s}function vR(e,t,r,n){const o=gR(0,t),a=e.errorSnapshot(r,n),i={ttl:oR,namespace:it,version:aR,representationName:iR};return e.storeIngestError(o,a,i),a}function bR(e){const t=[];for(let r=0,n=e.urlParams.relatedListNames.length;r<n;r+=1){const n=e.urlParams.relatedListNames[r];t.push({urlParams:{parentObjectApiName:e.urlParams.parentObjectApiName,relatedListId:n},queryParams:{recordTypeId:e.queryParams.recordTypeId,fields:[],optionalFields:[],restrictColumnsToLayout:!0}})}return t}const PR=Ge(null);function kR(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(AR(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=gR(0,t[e]),a=mR(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=PR[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,bR(t),t)}function AR(e,t){return it+"::RelatedListInfoBatchRepresentation:(recordTypeId:"+t.queryParams.recordTypeId+",parentObjectApiName:"+t.urlParams.parentObjectApiName+",relatedListNames:"+t.urlParams.relatedListNames+")"}function RR(e,t,r,o){const a=r.body.results,i=bR(t),s=AR(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=gR(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=hR(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{vR(e,l,{status:p,body:f,ok:!1,statusText:rt(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),Xe.call(o,t)}404!==p&&200!==p?PR[u]={expiration:s+oR,response:f,status:p}:delete PR[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:kR(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const SR="getRelatedListInfoBatch",IR=[ot("parentObjectApiName",!0,0,0,!1,Nt),ot("relatedListNames",!0,0,0,!0),ot("recordTypeId",!1,1,0)],NR=at(SR,IR),TR=n.createResourceParams(IR);function CR(e,t){return AR(0,TR(t))}function LR(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,IR),t}(n.coerceConfig(e,IR));return Ye(r,t)?r:null}function _R(e,t){return kR(e,TR(t))}function FR(e,t,r,n){const o=function(e,t,r,n){const o=AR(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>wR(e,t,et)});return e.storeBroadcast().then(()=>o)}function wR(e,t,r){const o=TR(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-info/batch/"+e.urlParam
560s.parentObjectApiName+"/"+e.urlParams.relatedListNames,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=RR(e,r,n,{config:t,resolve:()=>wR(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=bR(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)yR(e,0,0,s);else if(404===i){const t=gR(0,r);e.set(t,{namespace:it,representationName:iR,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>FR(e,t,o,r)))}function jR(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,wR,void 0,!1)}function ER(e,t){const{luvio:r,config:n}=e;return t({recordId:CR(0,n),node:_R(r,n),variables:{}},{config:n,resolve:()=>wR(r,n,et)})}const qR=e=>function(t,r){const n=LR(t,NR);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ER,jR)},OR="2a1722afba0e1ee52d6b7b0a25ccd9f4",xR="RelatedListSummaryInfoCollectionRepresentation";function BR(e,t){return it+"::"+xR+":"+t.parentObjectApiName+":"+(null===t.recordTypeId?"":t.recordTypeId)}function UR(e,t){return BR(0,{parentObjectApiName:t.parentObjectApiName,recordTypeId:t.parentRecordTypeId})}function DR(e,t,r,n,o,a){return e}function MR(e,t){return e.eTag===t.eTag}const VR=function(e,t,r,o,a){const i=UR(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,DR,"UiApi",OR,xR,MR),Bt(i)};function zR(e,t){return{kind:"Fragment",version:OR,private:["eTag"],selections:[{name:"parentObjectApiName",kind:"Scalar"},{name:"parentRecordTypeId",kind:"Scalar"},{name:"relatedLists",kind:"Object",opaque:!0}]}}function KR(e,t){return BR(0,{parentObjectApiName:t.urlParams.parentObjectApiName,recordTypeId:t.queryParams.recordTypeId||null})}function WR(e,t,r,n){!function(e,t,r){const n=UR(0,r);e.set(n,{namespace:it,representationName:xR,mergeable:!1})}(e,0,n)}const $R="getRelatedListsInfo",QR=[ot("parentObjectApiName",!0,0,0,!1,Nt),ot("recordTypeId",!1,1,0)],GR=at($R,QR),JR=n.createResourceParams(QR);function HR(e,t){return KR(0,JR(t))}function XR(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,QR),t}(n.coerceConfig(e,QR));return Ye(r,t)?r:null}function ZR(e,t){return JR(t),zR()}function YR(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=KR(0,t);e.storeIngest(i,VR,a);const s=e.storeLookup({recordId:i,node:zR(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>tS(e,t,et)});return e.storeBroadcast().then(()=>a)}function eS(e,t,r,n){const o=function(e,t,r,n){const o=KR(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>tS(e,t,et)});return e.storeBroadcast().then(()=>o)}function tS(e,t,r){const o=JR(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-info/"+e.urlParams.parentObjectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>YR(e,t,o,r),()=>{const e=new n.StoreKeyMap;return WR(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>eS(e,t,o,r)))}function rS(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,tS,void 0,!1)}function nS(e,t){const{luvio:r,config:n}=e;return t({recordId:HR(0,n),node:ZR(0,n),variables:{}},{config:n,resolve:()=>tS(r,n,et)})}const oS=e=>function(t,r){const n=XR(t,GR);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},nS,rS)},aS="getRelatedListInfo",iS=[ot("parentObjectApiName",!0,0,0,!1,Nt),ot("relatedListId",!0,0,0),ot("fields",!1,1,0,!0),ot("optionalFields",!1,1,0,!0),ot("recordTypeId",!1,1,0),ot("restrictColumnsToLayout",!1,1,1)],sS=at(aS,iS),cS=n.createResourceParams(iS);function lS(e,t){return gR(0,cS(t))}function uS(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,iS),t}(n.coerceConfig(e,iS));return Ye(r,t)?r:null}function dS(e,t){return cS(t),mR()}function pS(e,t,r){const o=cS(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-info/"+e.urlParam
560s.parentObjectApiName+"/"+e.urlParams.relatedListId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=hR(e,r,n,{config:t,resolve:()=>pS(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return yR(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=vR(e,r,n,{config:t,resolve:()=>pS(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function fS(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,pS,void 0,!1)}function mS(e,t){const{luvio:r,config:n}=e;return t({recordId:lS(0,n),node:dS(0,n),variables:{}},{config:n,resolve:()=>pS(r,n,et)})}const gS=e=>function(t,r){const n=uS(t,sS);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},mS,fS)};function yS(e){const t={};n.typeCheckConfig(e,t,hS);const r=e.orderedByInfo;if(He(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===Sv(n)&&e.push(n)}t.orderedByInfo=e}const o=e.userPreferences,a=function(e,t="ListUserPreferenceInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.columnWidths,n=t+".columnWidths";if("object"!=typeof r||Et(r)||null===r)return new TypeError('Expected "object" but received "'+typeof r+'" (at "'+n+'")');const o=Ft(r);for(let e=0;e<o.length;e++){const t=o[e],a=r[t],i=n+'["'+t+'"]';if("number"!=typeof a||"number"==typeof a&&Math.floor(a)!==a)return new TypeError('Expected "integer" but received "'+typeof a+'" (at "'+i+'")')}const a=e.columnWrap,i=t+".columnWrap";if("object"!=typeof a||Et(a)||null===a)return new TypeError('Expected "object" but received "'+typeof a+'" (at "'+i+'")');const s=Ft(a);for(let e=0;e<s.length;e++){const t=s[e],r=a[t];if("boolean"!=typeof r)return new TypeError('Expected "boolean" but received "'+typeof r+'" (at "'+i+'["'+t+'"]")')}})();return void 0===r?null:r}(o);if(null!==a)throw a;return t.userPreferences=o,t}const hS=[ot("parentObjectApiName",!0,0,0,!1,Nt),ot("relatedListId",!0,0,0),ot("recordTypeId",!1,1,0),ot("orderedByInfo",!0,2,4,!0),ot("userPreferences",!0,2,4)],vS=at("updateRelatedListInfo",hS),bS=n.createResourceParams(hS);function PS(e,t,r){const o=bS(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-info/"+e.urlParams.parentObjectApiName+"/"+e.urlParams.relatedListId,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=cR(0,o);e.storeIngest(a,pR,o);const i=e.storeLookup({recordId:a,node:uR(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){fR(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const kS=e=>function(t){const r=function(e,t){if(!Ze(e))return null;const r=yS(n.coerceConfig(e,hS));return Ye(r,t)?r:null}(t,vS);if(null===r)throw new Error('Invalid config for "updateRelatedListInfo"');return PS(e,r)},AS=9e5,RS="094cdf8e3e1f07fca02c4e51e14c528e",SS="RelatedListUserPreferencesRepresentation";function IS(e,t){return it+"::"+SS+":"+t.preferencesId}function NS(e,t){return IS(0,{preferencesId:t.preferencesId})}function TS(e,t,r,n,o,a){return e}const CS=function(){return{kind:"Fragment",version:RS,private:[],opaque:!0}};function LS(e,t){return qt(t)===qt(e)}const _S=function(e,t,r,o,a){const i=NS(0,e),s=AS;return n.ingestShape(e,t,r,o,a,s,i,TS,"UiApi",RS,SS,LS),Bt(i)};function FS(e,t,r,n){const o=NS(0,r);e.set(o,{namespace:it,representationName:SS,mergeable:!1})}function wS(e,t){return CS()}function jS(e,t){return IS(0,{preferencesId:t.urlParams.preferencesId})}function ES(e,t,r,n){FS(e,0,n)}function qS(e,t,r,o){const{body:a}=r,i=jS(0,t);e.storeIngest(i,_S,a);const s=e.storeLookup({recordId:i,node:wS(),variables:{}},o);return n.deepFreeze(s.data),s}function OS(e,t,r,n){const o=jS(0,t),a=e.errorSnapshot(r,n),i={ttl:AS,namespace:it,version:RS,representationName:SS};return e.storeIngestError(o,a,i),a}const xS=Ge(null);function BS(e){let t=[];
560for(let r=0,n=e.urlParams.preferencesIds.length;r<n;r+=1){const n=e.urlParams.preferencesIds[r];t.push({urlParams:{preferencesId:n}})}return t}function US(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(DS(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=jS(0,t[e]),a=wS(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=xS[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,BS(t),t)}function DS(e,t){return it+"::RelatedListPreferencesBatchRepresentation:(preferencesIds:"+t.urlParams.preferencesIds+")"}function MS(e,t,r,o){const a=r.body.results,i=BS(t),s=DS(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=jS(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=qS(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{OS(e,l,{status:p,body:f,ok:!1,statusText:rt(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),Xe.call(o,t)}404!==p&&200!==p?xS[u]={expiration:s+AS,response:f,status:p}:delete xS[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:US(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const VS="getRelatedListPreferencesBatch",zS=[ot("preferencesIds",!0,0,0,!0)],KS=at(VS,zS),WS=n.createResourceParams(zS);function $S(e,t){return DS(0,WS(t))}function QS(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,zS),t}(e);return Ye(r,t)?r:null}function GS(e,t){return US(e,WS(t))}function JS(e,t,r,n){const o=function(e,t,r,n){const o=DS(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>HS(e,t,et)});return e.storeBroadcast().then(()=>o)}function HS(e,t,r){const o=WS(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-preferences/batch/"+e.urlParams.preferencesIds,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=MS(e,r,n,{config:t,resolve:()=>HS(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=BS(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)ES(e,0,0,s);else if(404===i){const t=jS(0,r);e.set(t,{namespace:it,representationName:SS,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>JS(e,t,o,r)))}function XS(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,HS,void 0,!1)}function ZS(e,t){const{luvio:r,config:n}=e;return t({recordId:$S(0,n),node:GS(r,n),variables:{}},{config:n,resolve:()=>HS(r,n,et)})}const YS=e=>function(t,r){const n=QS(t,KS);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ZS,XS)},eI="getRelatedListPreferences",tI=[ot("preferencesId",!0,0,0)],rI=at(eI,tI),nI=n.createResourceParams(tI);function oI(e,t){return jS(0,nI(t))}function aI(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,tI),t}(e);return Ye(r,t)?r:null}function iI(e,t){return nI(t),wS()}function sI(e,t,r){const o=nI(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-preferences/"+e.urlParam
560s.preferencesId,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=qS(e,r,n,{config:t,resolve:()=>sI(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return ES(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=OS(e,r,n,{config:t,resolve:()=>sI(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function cI(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,sI,void 0,!1)}function lI(e,t){const{luvio:r,config:n}=e;return t({recordId:oI(0,n),node:iI(0,n),variables:{}},{config:n,resolve:()=>sI(r,n,et)})}const uI=e=>function(t,r){const n=aI(t,rI);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},lI,cI)};const dI=[ot("preferencesId",!0,0,0),ot("columnWidths",!1,2,4),ot("columnWrap",!1,2,4),ot("orderedBy",!1,2,4,!0)],pI=at("updateRelatedListPreferences",dI),fI=n.createResourceParams(dI);function mI(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,dI);const r=e.columnWidths;if(Ze(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"number"==typeof a&&Math.floor(a)===a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWidths=e)}const o=e.columnWrap;if(Ze(o)){const e={},r=Object.keys(o);for(let t=0,n=r.length;t<n;t++){const n=r[t],a=o[n];"boolean"==typeof a&&void 0!==e&&(e[n]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWrap=e)}const a=e.orderedBy;if(He(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];null===Sv(r)&&e.push(r)}t.orderedBy=e}return t}(e);return Ye(r,t)?r:null}function gI(e,t,r){const o=fI(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-preferences/"+e.urlParams.preferencesId,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=NS(0,o);e.storeIngest(a,_S,o);const i=e.storeLookup({recordId:a,node:CS(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){FS(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const yI=e=>function(t){const r=mI(t,pI);if(null===r)throw new Error('Invalid config for "updateRelatedListPreferences"');return gI(e,r)};function hI(e,t="RelatedListRecordsSingleBatchInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');if(void 0!==e.fields){const r=e.fields,n=t+".fields";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.optionalFields){const r=e.optionalFields,n=t+".optionalFields";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.pageSize){const r=e.pageSize,n=t+".pageSize";if("number"!=typeof r||"number"==typeof r&&Math.floor(r)!==r)return new TypeError('Expected "integer" but received "'+typeof r+'" (at "'+n+'")')}const r=e.relatedListId;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".relatedListId")+'")');if(void 0!==e.sortBy){const r=e.sortBy,n=t+".sortBy";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.where){const r=e.where;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".where")+'")')}})();return void 0===r?null:r}const vI="0.111.0",bI={ttl:Number.MAX_SAFE_INTEGER,namespace:"",representationName:"",version:vI};function PI(e,t){const{clientTokens:r}=e,n=Object.keys(r);for(let e=0,o=n.length;e<o;e++){const o=n[e];if(r[o]===t)return o}}function kI(e,t){if(void 0===t)return 0;const r=e.clientTokens[t];return void 0===r?-1:r}function AI(e){return function(e){let t,r,n,o,a="",i=0;const s=e.length%3;for(;i<e.length;){if((r=e.charCodeAt(i++))>255||(n=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255)throw new TypeError("Failed base64ToAscii encoding: The string to be encoded contains characters outside of the Latin1 range. "+e);t=r<<16|n<<8|o,a+=RI.charAt(t>>18&63)+RI.charAt(t>>12&63)+RI.charAt(t>>6&63)+RI.charAt(63&t)}return s?a.slice(0,s-3)+"===".substring(s):a}("client:"+e)}const RI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
560+/=";function SI(e,t,r,n){e.clientTokens[r]=t,void 0!==n&&(e.serverTokens[t]=n)}function II(e,t){if(void 0===e)return t;return{clientTokens:{...e.clientTokens,...t.clientTokens},serverTokens:function(e,t){const r=[],n=Math.max(e.length,t.length);for(let o=0;o<n;o++){const n=t[o]||e[o];r.push(n)}return r}(e.serverTokens,t.serverTokens),__END__:t.hasOwnProperty("__END__")?t.__END__:e.__END__}}const NI=3e4,TI="ecedd058ac9cfc9b51de0f2c00276ce8",CI="RelatedListRecordCollectionRepresentation";function LI(e,t){return it+"::"+CI+":["+t.sortBy.join(",")+"]:"+(null===t.parentRecordId?"":t.parentRecordId)+":"+t.relatedListId+":"+(null===t.where?"":t.where)}function _I(e,t){return LI(0,{sortBy:t.sortBy,parentRecordId:t.listReference.inContextOfRecordId,relatedListId:t.listReference.relatedListId,where:t.where})}function FI(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=function(e,t){if(void 0===t){const t=PI(e,0);if(void 0===t)return;return[t,0]}const r=kI(e,t);if(!(r<0))return[t,r]}(e,o);if(void 0===i)return n;const[s,c]=i,l=function(e,t,r){const n=e.__END__,o=t+r;return void 0===n?o:Math.min(o,n)}(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const{clientToken:u,serverToken:d}=function(e,t){const r=e.__END__;if(void 0===r||t<r){const r=PI(e,t);return void 0===r?{clientToken:void 0,serverToken:void 0}:{clientToken:r,serverToken:e.serverTokens[t]||void 0}}return{clientToken:null,serverToken:null}}(e,l);void 0!==u&&(r.nextPageToken=u,n.nextServerToken=d);const p=function(e,t,r){const n=t-r;if(n<0)return null;const o=e.__END__;return void 0!==o&&n>=o?void 0:PI(e,n)}(e,c,a);return void 0!==p&&(r.previousPageToken=p),r.pageSize=a,r.count=l-c,n}const wI=function(e,t,r,n,o){const a=_I(0,e),i=n.readEntry(a),s=NI;let c=function(e,t,r,n,o,a){const i=e.records,s=r.fullPath+"__records";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=co(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,records:y}=e,h=void 0===u?0:function(e,t){return e.serverTokens.indexOf(t)}(u,p),v={clientTokens:{},serverTokens:[]};SI(v,h,AI(h),p);const b=h+y.length;if(null===f)v.__END__=b;else{if(SI(v,b,AI(b),f),void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}}if(null!==g){const e=Math.max(h-m,0);SI(v,e,AI(e),g)}for(let e=h+1;e<b;e++){SI(v,e,AI(e))}const P=II(u,v);void 0!==u&&!1!==function(e,t){const{clientTokens:r,serverTokens:n,__END__:o}=e,{clientTokens:a,serverTokens:i,__END__:s}=t,c=Object.keys(r),l=Object.keys(a),u=c.length;if(u!==l.length)return!1;for(let e=0;e<u;e++){const t=c[e];if(r[t]!==a[t])return!1}const d=n.length;if(d!==i.length)return!1;for(let e=0;e<d;e++)if(n[e]!==i[e])return!1;return o===s}(u,P)||(r.storePublish(l,P),r.publishStoreMetadata(l,bI)),Ut(c,l),void 0!==i&&void 0!==i.records&&(c.records=[...i.records.slice(0,h),...c.records,...i.records.slice(b)]),void 0!==i&&!1!==function(e,t){if(e.count!==t.count)return!1;if(e.pageSize!==t.pageSize)return!1;if(e.currentPageToken!==t.currentPageToken)return!1;const r=e.columnLabels,n=t.columnLabels;if(void 0!==r||void 0!==n){if(void 0===r||void 0===n)return!1;if(qt(n)!==qt(r))return!1}return e.currentPageUrl===t.currentPageUrl&&(!1!==Ot(e.fields,t.fields,(e,t)=>{if(e!==t)return!1})&&(e.listInfoETag===t.listInfoETag&&(!!hA(e.listReference,t.listReference)&&(e.nextPageToken===t.nextPageToken&&(e.nextPageUrl===t.nextPageUrl&&(!1!==Ot(e.optionalFields,t.optionalFields,(e,t)=>{if(e!==t)return!1})&&(e.previousPageToken===t.previousPageToken&&(e.previousPageUrl===t.previousPageUrl&&(!1!==Ot(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1})&&(!1!==Ot(e.sortBy,t.sortBy,(e,t)=>{if(e!==t)return!1})&&e.where===t.where))))))))))}(i,c)||r.storePublish(a,c);{const e={ttl:s,namespace:"UiApi",version:TI,representationName:CI,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Bt(a)};function jI(e,t){const{fields:r=[],optionalFields:n=[]}=t.body;return function(e,t){const r=void 0===e.records?{name:"records",kind:"Link",fragment:_r()}:e.records,{selections:n,opaque:o}={kind:"Fragment",version:"4d4bdab5d0aa61e365e766409c9b3a31",private:[],selections:[{name:"id",kind:"Scalar"},{name:"inContextOfRecordId",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"parentObjectApiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"relatedListId",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",reader:!0,synthetic:!1,version:TI,read:(e,o)=>{const a={};if(void 0===t)return a;const i=o.resolveMetadata(e,vI),s=FI(i,t),{startOffset:c,endOffset:l,metadataProperties:u}=s;if(void 0!==i&&void 0!==c&&void 0!==l){const t="records";o.enterPath(t);const n=e[t],i=[],s=[];for(let e=c;e<l;e++)o.enterPath(e),o.readSingleLink(e,r,n,s,e-c),!1===o.getIsDataMissing()&&(i[e-c]=s[e-c]),o.exitPath();o.exitPath(),o.assignNonScalar(a,t,i)}
560return o.enterPath("currentPageToken"),o.readScalar("currentPageToken",u,a),o.exitPath(),o.enterPath("nextPageToken"),o.readScalar("nextPageToken",u,a),o.exitPath(),o.enterPath("previousPageToken"),o.readScalar("previousPageToken",u,a),o.exitPath(),o.enterPath("pageSize"),o.readScalar("pageSize",u,a),o.exitPath(),o.enterPath("count"),o.readScalar("count",u,a),o.exitPath(),o.enterPath("columnLabels"),o.readObject("columnLabels",{name:"columnLabels",kind:"Object",required:!1},e,a),o.exitPath(),o.enterPath("fields"),o.readScalarPlural("fields",e,a,!0),o.exitPath(),o.enterPath("listInfoETag"),o.readScalar("listInfoETag",e,a),o.exitPath(),o.enterPath("listReference"),o.readObject("listReference",{name:"listReference",kind:"Object",selections:n},e,a),o.exitPath(),o.enterPath("optionalFields"),o.readScalarPlural("optionalFields",e,a,!0),o.exitPath(),o.enterPath("sortBy"),o.readScalarPlural("sortBy",e,a,!0),o.exitPath(),o.enterPath("where"),o.readScalar("where",e,a),o.exitPath(),a}}}({records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:Jr(r,n),version:Nr}}},qI(t))}function EI(e,t,r,n){const{body:o}=r,a=OI(e,t);e.storeIngest(a,wI,o);const i=t.body.optionalFields;if(i&&i.length>0){!function(e,t,r){const n=t.records;for(let t=0;t<n.length;t++){const o=n[t].__ref;if(void 0!==o){fn(e.getNode(o),r)}}}(e,o,i)}return e.storeLookup({recordId:a,node:jI(0,t),variables:{}},n)}function qI(e){const{body:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}function OI(e,t){return LI(0,{includeColumnLabels:t.body.includeColumnLabels||null,relatedListId:t.urlParams.relatedListId,sortBy:t.body.sortBy||[],parentRecordId:t.urlParams.parentRecordId,where:t.body.where||null})}function xI(e,t,r,n){!function(e,t,r){const n=_I(0,r);e.set(n,{namespace:it,representationName:CI,mergeable:!0}),e.set(n+"__pagination",{namespace:it,representationName:CI,mergeable:!0});const o=r.records.length;for(let n=0;n<o;n++)mr(e,t,r.records[n])}(e,t,n)}function BI(e,t,r,n){const o=OI(0,t),a=e.errorSnapshot(r,n),i={ttl:NI,namespace:it,version:TI,representationName:CI};return e.storeIngestError(o,a,i),a}function UI(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-records/"+e.urlParams.parentRecordId+"/"+e.urlParams.relatedListId,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const DI=Ge(null);function MI(e){return function(e){const t=[];for(let r=0,n=e.body.relatedListParameters.length;r<n;r+=1){let n={urlParams:{parentRecordId:e.urlParams.parentRecordId,relatedListId:e.body.relatedListParameters[r].relatedListId},body:{}},o=e.body.relatedListParameters[r];"fields"in o&&(n.body.fields=o.fields),"optionalFields"in o&&(n.body.optionalFields=o.optionalFields),"pageSize"in o&&(n.body.pageSize=o.pageSize),"sortBy"in o&&(n.body.sortBy=o.sortBy),"where"in o&&(n.body.where=o.where),t.push(n)}return t}(e)}function VI(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(zI(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=t[e],a=OI(0,r),s=jI(0,r),c=i.getIsDataMissing(),u=i.read({recordId:a,node:s,variables:{}});i.exitPath();const d={};switch(i.markSeenId(a),u.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,d,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(d,n,u.data),i.exitPath();break;case"Error":const e=u.error;i.enterPath(o),i.assignScalar(o,d,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(d,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===u.data){if(!1===i.isRebuilding()){i.markMissingLink(a);break}const e=DI[a];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(a);else{!1===c&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,d,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(d,n,t),i.exitPath()}}break;case"Pending":i.markPending()}Xe.call(l,d),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,MI(t),t)}function zI(e,t){return it+"::RelatedListRecordCollectionBatchRepresentation:(parentRecordId:"+t.urlParam
560s.parentRecordId+",["+t.body.relatedListParameters.map(e=>(void 0===e.fields?"relatedListParameters.fields":"relatedListParameters.fields:"+e.fields)+"::"+(void 0===e.optionalFields?"relatedListParameters.optionalFields":"relatedListParameters.optionalFields:"+e.optionalFields)+"::"+(void 0===e.pageSize?"relatedListParameters.pageSize":"relatedListParameters.pageSize:"+e.pageSize)+"::relatedListParameters.relatedListId:"+e.relatedListId+"::"+(void 0===e.sortBy?"relatedListParameters.sortBy":"relatedListParameters.sortBy:"+e.sortBy)+"::"+(void 0===e.where?"relatedListParameters.where":"relatedListParameters.where:"+e.where)).join(",")+"])"}function KI(e,t,r,o){const a=r.body.results,i=MI(t),s=zI(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=OI(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=EI(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),Xe.call(o,r)}else{BI(e,l,{status:p,body:f,ok:!1,statusText:rt(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),Xe.call(o,t)}404!==p&&200!==p?DI[u]={expiration:s+NI,response:f,status:p}:delete DI[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:VI(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const WI="getRelatedListRecordsBatch",$I=[ot("parentRecordId",!0,0,0,!1,nr),ot("relatedListParameters",!0,2,4,!0)],QI=at(WI,$I),GI=n.createResourceParams($I);function JI(e,t){return zI(0,GI(t))}function HI(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,$I);const r=e.relatedListParameters;if(He(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===hI(n)&&e.push(n)}t.relatedListParameters=e}return t}(n.coerceConfig(e,$I));return Ye(r,t)?r:null}function XI(e,t){return VI(e,GI(t))}function ZI(e,t,r,n){const o=function(e,t,r,n){const o=zI(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>YI(e,t,et)});return e.storeBroadcast().then(()=>o)}function YI(e,t,r){const o=GI(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/related-list-records/batch/"+e.urlParams.parentRecordId,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=KI(e,r,n,{config:t,resolve:()=>YI(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=MI(r);for(let r=0,n=a.length;r<n;r++){const n=a[r],i=o[r],{statusCode:s,result:c}=i;if(200===s)xI(e,t,0,c);else if(404===s){const t=OI(0,n);e.set(t,{namespace:it,representationName:CI,mergeable:!1})}}}(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>ZI(e,t,o,r)))}function eN(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,YI,"get",!1)}function tN(e,t){const{luvio:r,config:n}=e;return t({recordId:JI(0,n),node:XI(r,n),variables:{}},{config:n,resolve:()=>YI(r,n,et)})}const rN=e=>function(t,r){const n=HI(t,QI);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},tN,eN)},nN="getRelatedListRecords",oN=[ot("parentRecordId",!0,0,0,!1,nr),ot("relatedListId",!0,0,0),ot("fields",!1,2,0,!0),ot("includeColumnLabels",!1,2,1),ot("optionalFields",!1,2,0,!0),ot("pageSize",!1,2,3),ot("pageToken",!1,2,0),ot("sortBy",!1,2,0,!0),ot("where",!1,2,0)],aN=at(nN,oN),iN=n.createResourceParams(oN);function sN(e,t){return OI(0,iN(t))}function cN(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,oN),t}(n.coerceConfig(e,oN));return Ye(r,t)?r:null}function lN(e,t){return jI(0,iN(t))}function uN(e,t,r,n){const o=function(e,t){const r=OI(0,t),n={recordId:r,node:{kind:"Fragment",version:TI,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:vI,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,r);if(void 0===o)return UI(r);const{token:a,pageSize:i}=qI(r),s=kI(o,a),c=function(e,t){if(void 0===t)return e;const r=function(e){const{data:t}=e;
560if(void 0===t||!t.records)return 0;const r=t.records;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(t);if(r<=0)return e;return Math.max(e+r,e)}(s,n),[l,u]=function(e,t){const{serverTokens:r}=e;for(let e=t;e>=0;e--){const t=r[e];if(void 0!==t)return[t,e]}return[void 0,-1]}(o,c);return UI(iN({...t,pageSize:i-(u-s),pageToken:l}))}function dN(e,t,r,o){const a=iN(t),i=uN(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=EI(e,r,n,{config:t,resolve:()=>dN(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,a,r),()=>{const t=new n.StoreKeyMap;return xI(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=BI(e,r,n,{config:t,resolve:()=>dN(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,a,r)))}function pN(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,dN,"get",!0)}function fN(e,t){const{luvio:r,config:n}=e,o=t({recordId:sN(0,n),node:lN(0,n),variables:{}},{config:n,resolve:()=>dN(r,n,et)});return nt(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}const mN=e=>function(t,r){const n=cN(t,aN);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},fN,pN)};var gN,yN;!function(e){e.Text="Text",e.Select="Select"}(gN||(gN={})),function(e){e.Field="Field",e.DataCategory="DataCategory"}(yN||(yN={}));const hN="46ebae6041d5914e45bd2ccc6cb89271",vN="SearchFilterMetadataCollectionRepresentation";function bN(e,t){return it+"::"+vN+":"+t.objectApiName+":"+(null===t.channel?"":t.channel)+":"+(null===t.configurationName?"":t.configurationName)}function PN(e,t){return bN(0,{objectApiName:t.objectApiName,channel:t.channel,configurationName:t.configurationName})}function kN(e,t,r,n,o,a){return e}function AN(e,t){return qt(t)===qt(e)}const RN=function(e,t,r,o,a){const i=PN(0,e);return n.ingestShape(e,t,r,o,a,3e4,i,kN,"UiApi",hN,vN,AN),Bt(i)};function SN(e,t){return{kind:"Fragment",version:hN,private:[],opaque:!0}}function IN(e,t){return bN(0,{objectApiName:t.urlParams.objectApiName,channel:t.queryParams.channel||null,configurationName:t.queryParams.configurationName||null})}function NN(e,t,r,n){!function(e,t,r){const n=PN(0,r);e.set(n,{namespace:it,representationName:vN,mergeable:!1})}(e,0,n)}const TN="getSearchFilterMetadata",CN=[ot("objectApiName",!0,0,0),ot("channel",!1,1,0),ot("configurationName",!1,1,0)],LN=at(TN,CN),_N=n.createResourceParams(CN);function FN(e,t){return IN(0,_N(t))}function wN(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,CN),t}(e);return Ye(r,t)?r:null}function jN(e,t){return _N(t),SN()}function EN(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=IN(0,t);e.storeIngest(i,RN,a);const s=e.storeLookup({recordId:i,node:SN(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>ON(e,t,et)});return e.storeBroadcast().then(()=>a)}function qN(e,t,r,n){const o=function(e,t,r,n){const o=IN(0,t),a=e.errorSnapshot(r,n),i={ttl:3e4,namespace:it,version:hN,representationName:vN};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>ON(e,t,et)});return e.storeBroadcast().then(()=>o)}function ON(e,t,r){const o=_N(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/search-info/"+e.urlParams.objectApiName+"/filters",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>EN(e,t,o,r),()=>{const e=new n.StoreKeyMap;return NN(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>qN(e,t,o,r)))}function xN(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,ON,void 0,!1)}function BN(e,t){const{luvio:r,config:n}=e;return t({recordId:FN(0,n),node:jN(0,n),variables:{}},{config:n,resolve:()=>ON(r,n,et)})}const UN=e=>function(t,r){const n=wN(t,LN);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},BN,xN)},DN="8d851a8d9abf0a061a8ad81d4cbb83bc",MN="SearchFilterOptionCollectionRepresentation";function VN(e,t){return it+"::"+MN+":"+(null===t.query?"":t.query)+":"+t.objectApiName+":"+t.filterApiName}function zN(e,t){return VN(0,{query:t.query,objectApiName:t.objectApiName,filterApiName:t.filterApiName})}function KN(e,t,r,n,o,a){return e}function WN(e,t){return qt(t)===qt(e)}const $N=function(e,t,r,o,a){const i=zN(0,e);return n.ingestShape(e,t,r,o,a,3e4,i,KN,"UiApi",DN,MN,WN),Bt(i)};function QN(e,t){return{kind:"Fragment",version:DN,private:[],opaque:!0}}function GN(e,t){return VN(0,{query:t.queryParams.q||null,objectApiName:t.urlParam
560s.objectApiName,filterApiName:t.urlParams.filterApiName})}function JN(e,t,r,n){!function(e,t,r){const n=zN(0,r);e.set(n,{namespace:it,representationName:MN,mergeable:!1})}(e,0,n)}const HN="getSearchFilterOptions",XN=[ot("filterApiName",!0,0,0),ot("objectApiName",!0,0,0),ot("q",!1,1,0)],ZN=at(HN,XN),YN=n.createResourceParams(XN);function eT(e,t){return GN(0,YN(t))}function tT(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,XN),t}(e);return Ye(r,t)?r:null}function rT(e,t){return YN(t),QN()}function nT(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=GN(0,t);e.storeIngest(i,$N,a);const s=e.storeLookup({recordId:i,node:QN(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>aT(e,t,et)});return e.storeBroadcast().then(()=>a)}function oT(e,t,r,n){const o=function(e,t,r,n){const o=GN(0,t),a=e.errorSnapshot(r,n),i={ttl:3e4,namespace:it,version:DN,representationName:MN};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>aT(e,t,et)});return e.storeBroadcast().then(()=>o)}function aT(e,t,r){const o=YN(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/search-info/"+e.urlParams.objectApiName+"/filters/"+e.urlParams.filterApiName+"/options",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>nT(e,t,o,r),()=>{const e=new n.StoreKeyMap;return JN(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>oT(e,t,o,r)))}function iT(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,aT,void 0,!1)}function sT(e,t){const{luvio:r,config:n}=e;return t({recordId:eT(0,n),node:rT(0,n),variables:{}},{config:n,resolve:()=>aT(r,n,et)})}const cT=e=>function(t,r){const n=tT(t,ZN);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},sT,iT)},lT="ab99b79a5e8a78e051ec92b39d76a6bd",uT="LookupMetadataRepresentation";function dT(e,t){return it+"::"+uT+":"+t.objectApiName+":"+t.fieldApiName}function pT(e,t){return dT(0,{objectApiName:t.objectApiName,fieldApiName:t.fieldApiName})}function fT(e,t,r,n,o,a){return e}function mT(e,t){return qt(t)===qt(e)}const gT=function(e,t,r,o,a){const i=pT(0,e);return n.ingestShape(e,t,r,o,a,3e4,i,fT,"UiApi",lT,uT,mT),Bt(i)};function yT(e,t){return{kind:"Fragment",version:lT,private:[],opaque:!0}}function hT(e,t){return dT(0,{objectApiName:t.urlParams.objectApiName,fieldApiName:t.urlParams.fieldApiName})}function vT(e,t,r,n){!function(e,t,r){const n=pT(0,r);e.set(n,{namespace:it,representationName:uT,mergeable:!1})}(e,0,n)}const bT="getLookupMetadata",PT=[ot("fieldApiName",!0,0,0),ot("objectApiName",!0,0,0)],kT=at(bT,PT),AT=n.createResourceParams(PT);function RT(e,t){return hT(0,AT(t))}function ST(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,PT),t}(e);return Ye(r,t)?r:null}function IT(e,t){return AT(t),yT()}function NT(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=hT(0,t);e.storeIngest(i,gT,a);const s=e.storeLookup({recordId:i,node:yT(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>CT(e,t,et)});return e.storeBroadcast().then(()=>a)}function TT(e,t,r,n){const o=function(e,t,r,n){const o=hT(0,t),a=e.errorSnapshot(r,n),i={ttl:3e4,namespace:it,version:lT,representationName:uT};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>CT(e,t,et)});return e.storeBroadcast().then(()=>o)}function CT(e,t,r){const o=AT(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/search-info/"+e.urlParams.objectApiName+"/lookup/"+e.urlParams.fieldApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>NT(e,t,o,r),()=>{const e=new n.StoreKeyMap;return vT(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>TT(e,t,o,r)))}function LT(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,CT,void 0,!1)}function _T(e,t){const{luvio:r,config:n}=e;return t({recordId:RT(0,n),node:IT(0,n),variables:{}},{config:n,resolve:()=>CT(r,n,et)})}const FT=e=>function(t,r){const n=ST(t,kT);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},_T,LT)};function wT(e,t="SearchDataCategoryInputRepresentation"){const r=(()=>
560{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.groupName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".groupName")+'")');const n=e.operator;if("string"!=typeof n)return new TypeError('Expected "string" but received "'+typeof n+'" (at "'+(t+".operator")+'")');const o=e.values,a=t+".values";if(!Et(o))return new TypeError('Expected "array" but received "'+typeof o+'" (at "'+a+'")');for(let e=0;e<o.length;e++){const t=o[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(a+"["+e+"]")+'")')}})();return void 0===r?null:r}function jT(e,t="SearchFilterInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.fieldPath;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".fieldPath")+'")');if(void 0!==e.objectApiName){const r=e.objectApiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".objectApiName")+'")')}const n=e.operator;if("string"!=typeof n)return new TypeError('Expected "string" but received "'+typeof n+'" (at "'+(t+".operator")+'")');const o=e.values,a=t+".values";if(!Et(o))return new TypeError('Expected "array" but received "'+typeof o+'" (at "'+a+'")');for(let e=0;e<o.length;e++){const t=o[e],r=a+"["+e+"]";let n=null;const i=(()=>{if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+r+'")')})();null!=i&&(n=i.message);let s=null;const c=(()=>{if("number"!=typeof t)return new TypeError('Expected "number" but received "'+typeof t+'" (at "'+r+'")')})();null!=c&&(s=c.message);let l=null;const u=(()=>{if("boolean"!=typeof t)return new TypeError('Expected "boolean" but received "'+typeof t+'" (at "'+r+'")')})();if(null!=u&&(l=u.message),n&&s&&l){let e="Object doesn't match union (at \""+r+'")';return e+="\n"+n.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+s.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+l.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}function ET(e,t="SearchObjectOptionsRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.dataCategories,n=t+".dataCategories";if(!Et(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=n+"["+e+"]",o=wT(r[e],t);if(null!==o){let e="Object doesn't match SearchDataCategoryInputRepresentation (at \""+t+'")\n';return e+=o.message.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}const o=e.filters,a=t+".filters";if(!Et(o))return new TypeError('Expected "array" but received "'+typeof o+'" (at "'+a+'")');for(let e=0;e<o.length;e++){const t=a+"["+e+"]",r=jT(o[e],t);if(null!==r){let e="Object doesn't match SearchFilterInputRepresentation (at \""+t+'")\n';return e+=r.message.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}const qT="94ab97aedd252f899c90d52d898e547f",OT="SearchResultsSummaryRepresentation";function xT(e,t){return it+"::"+OT+":"+t.query+":"+(null===t.configurationName?"":t.configurationName)}function BT(e,t){return xT(0,{query:t.query,configurationName:t.configurationName})}function UT(e,t,r,n,o,a){return e}function DT(e,t){return qt(t)===qt(e)}const MT=function(e,t,r,o,a){const i=BT(0,e);return n.ingestShape(e,t,r,o,a,200,i,UT,"UiApi",qT,OT,DT),Bt(i)};function VT(e,t){return{kind:"Fragment",version:qT,private:[],opaque:!0}}function zT(e,t){return xT(0,{query:t.queryParams.q,configurationName:t.body.configurationName||null})}function KT(e,t,r,n){!function(e,t,r){const n=BT(0,r);e.set(n,{namespace:it,representationName:OT,mergeable:!1})}(e,0,n)}const WT="getSearchResults",$T=[ot("q",!0,1,0),ot("answerTypes",!1,2,0,!0),ot("configurationName",!1,2,0),ot("objectApiNames",!1,2,0,!0),ot("searchObjectOptions",!1,2,4)],QT=at(WT,$T),GT=n.createResourceParams($T);function JT(e,t){return zT(0,GT(t))}function HT(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,$T);const r=e.searchObjectOptions;if(Ze(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];null===ET(a)&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.searchObjectOptions=e)}return t}(e);return Ye(r,t)?r:null}function XT(e,t){return GT(t),VT()}function ZT(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=zT(0,t);e.storeIngest(i,MT,a);const s=e.storeLookup({recordId:i,node:VT(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>eC(e,t,et)});return e.storeBroadcast().then(()=>a)}function YT(e,t,r,n){const o=function(e,t,r,n){const o=zT(0,t),a=e.errorSnapshot(r,n),i={ttl:200,namespace:it,version:qT,representationName:OT};return e.storeIngestError(o,a,i),a}
560(e,r,n,{config:t,resolve:()=>eC(e,t,et)});return e.storeBroadcast().then(()=>o)}function eC(e,t,r){const o=GT(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/search/results",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>ZT(e,t,o,r),()=>{const e=new n.StoreKeyMap;return KT(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>YT(e,t,o,r)))}function tC(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,eC,"get",!1)}function rC(e,t){const{luvio:r,config:n}=e;return t({recordId:JT(0,n),node:XT(0,n),variables:{}},{config:n,resolve:()=>eC(r,n,et)})}const nC=e=>function(t,r){const n=HT(t,QT);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},rC,tC)},oC="3102453bf10ea449d9665914d5f5febf",aC="KeywordSearchResultsSummaryRepresentation";function iC(e,t){return it+"::"+aC+":"+t.query+":"+t.objectApiName+":"+(null===t.configurationName?"":t.configurationName)}function sC(e,t){return iC(0,{query:t.query,objectApiName:t.objectApiName,configurationName:t.configurationName})}function cC(e,t,r,n,o,a){return e}function lC(e,t){return qt(t)===qt(e)}const uC=function(e,t,r,o,a){const i=sC(0,e);return n.ingestShape(e,t,r,o,a,200,i,cC,"UiApi",oC,aC,lC),Bt(i)};function dC(e,t){return{kind:"Fragment",version:oC,private:[],opaque:!0}}function pC(e,t){return iC(0,{query:t.queryParams.q,objectApiName:t.queryParams.objectApiName,configurationName:t.body.configurationName||null})}function fC(e,t,r,n){!function(e,t,r){const n=sC(0,r);e.set(n,{namespace:it,representationName:aC,mergeable:!1})}(e,0,n)}const mC="getKeywordSearchResults",gC=[ot("objectApiName",!0,1,0),ot("q",!0,1,0),ot("configurationName",!1,2,0),ot("dataCategories",!1,2,4,!0),ot("filters",!1,2,4,!0),ot("pageSize",!1,2,3),ot("pageToken",!1,2,0),ot("sortBy",!1,2,0)],yC=at(mC,gC),hC=n.createResourceParams(gC);function vC(e,t){return pC(0,hC(t))}function bC(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,gC);const r=e.dataCategories;if(He(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===wT(n)&&e.push(n)}t.dataCategories=e}const o=e.filters;if(He(o)){const e=[];for(let t=0,r=o.length;t<r;t++){const r=o[t];null===jT(r)&&e.push(r)}t.filters=e}return t}(e);return Ye(r,t)?r:null}function PC(e,t){return hC(t),dC()}function kC(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=pC(0,t);e.storeIngest(i,uC,a);const s=e.storeLookup({recordId:i,node:dC(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>RC(e,t,et)});return e.storeBroadcast().then(()=>a)}function AC(e,t,r,n){const o=function(e,t,r,n){const o=pC(0,t),a=e.errorSnapshot(r,n),i={ttl:200,namespace:it,version:oC,representationName:aC};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>RC(e,t,et)});return e.storeBroadcast().then(()=>o)}function RC(e,t,r){const o=hC(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/search/results/keyword",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>kC(e,t,o,r),()=>{const e=new n.StoreKeyMap;return fC(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>AC(e,t,o,r)))}function SC(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,RC,"get",!1)}function IC(e,t){const{luvio:r,config:n}=e;return t({recordId:vC(0,n),node:PC(0,n),variables:{}},{config:n,resolve:()=>RC(r,n,et)})}const NC=e=>function(t,r){const n=bC(t,yC);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},IC,SC)},TC="UiApi",CC="RecordRepresentation",LC="RecordViewEntityRepresentation",_C=`${TC}::${CC}:`,FC=`${TC}::${LC}:Name:`,wC="__fields__";function jC(e,t){const r={status:200,body:e,ok:!0,statusText:"OK",headers:{}},n={conflicts:{},serverRequestCount:0},o=_n(sn,sn,n);return bn(t,r,e.id,o,n)}function EC(e){return void 0===e.fields&&void 0!==e.id}function qC(e,t){const{result:r,snapshotState:o,seenRecords:a}=function(e,t){const r=[];let o=new n.StoreKeySet,a="Fulfilled";const i=t.results;for(let t=0,n=i.length;t<n;t+=1){const n=i[t],{statusCode:s,result:c}=n;
560if(200===s||201===s)if(EC(c)){const t=Cr(0,{recordId:c.id});e.storeEvict(t),Xe.call(r,{...n})}else{const t=jC(c,e);"Error"!==t.state&&(o.merge(t.seenRecords),o.add(t.recordId),"Stale"===t.state&&(a="Stale"));const i={...n,result:t.data};Xe.call(r,i)}else{const e={statusCode:s,result:c};Xe.call(r,e)}}const s={hasErrors:t.hasErrors,results:r};return n.deepFreeze(s),{result:s,seenRecords:o,snapshotState:a}}(e,t.body);return{state:o,seenRecords:a,data:r}}Ge(null);const OC=[ot("allOrNone",!0,2,1,!1),ot("operations",!0,2,4,!0),ot("useDefaultRule",!1,1,1,!1)],xC=at("executeBatchRecordOperations",OC),BC=["CREATE","UPDATE","DELETE"],UC=n.createResourceParams(OC);function DC(e,t){if(!Ze(e))return null;const r=function(e){const t={},r=e.operations;if(void 0!==r&&He(r)){const e=[];let n=!1;for(let t=0,o=r.length;t<o;t++){const o=r[t];Ze(o)&&(void 0!==o&&void 0!==o.type&&"string"==typeof o.type&&BC.includes(o.type.toUpperCase())&&$e.call(o,"records")?e.push(o):n=!0)}!n&&e.length>0&&(t.operations=e)}const n=e.allOrNone;void 0!==n&&"boolean"==typeof n&&(t.allOrNone=n);const o=e.useDefaultRule;return void 0!==o&&"boolean"==typeof o&&(t.useDefaultRule=o),t}(n.coerceConfig(e,OC));return Ye(r,t)?r:null}function MC(e,t,r){const o=UC(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/batch",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=qC(e,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results;for(let r=0,n=o.length;r<n;r+=1){const{statusCode:n,result:a}=o[r];if(200===n||201===n)if(EC(a)){const t=Cr(0,{recordId:a.id});e.set(t,{namespace:it,representationName:Tr,mergeable:!1})}else mr(e,t,a)}}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const VC=e=>function(t){const r=DC(t,xC);if(null===r)throw new Error('Invalid config for "executeBatchRecordOperations"');return MC(e,r)};function zC(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/perform-quick-action/"+e.urlParams.actionApiName,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const KC=[ot("actionApiName",!0,0,0),ot("allowSaveOnDuplicate",!1,2,1),ot("apiName",!0,2,0),ot("contextId",!1,2,0,!1,nr),ot("fields",!0,2,4)],WC=n.createResourceParams(KC);function $C(e,t,r){const o=WC(t),a=zC(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=pl(0,o);e.storeIngest(a,yl,o);const i=e.storeLookup({recordId:a,node:ml(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){hl(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}function QC(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/actions/perform-quick-action/"+e.urlParams.actionApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const GC=[ot("actionApiName",!0,0,0),ot("allowSaveOnDuplicate",!1,2,1),ot("apiName",!0,2,0),ot("contextId",!1,2,0,!1,nr),ot("fields",!0,2,4)],JC=n.createResourceParams(GC);function HC(e,t,r){const o=JC(t),a=QC(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=pl(0,o);e.storeIngest(a,yl,o);const i=e.storeLookup({recordId:a,node:ml(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){hl(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const XC=e=>function(t){const r=t,n=qe.getDraftAwarePerformUpdateRecordQuickActionAdapter();return void 0!==n?n(r,e=>zC(JC(e))):$C(e,r)},ZC=e=>function(t){const r=t,n=qe.getDraftAwarePerformQuickActionAdapter();return void 0!==n?n(r,e=>QC(JC(e))):HC(e,r)};function YC(e,t,r,n){var o,a,i,s,c;return o=n,a=r.objectApiName,i=r.recordTypeId,s=r.layoutType,c=r.mode,o.apiName=a,o.recordTypeId=i,o.layoutType=s,o.mode=c,e.storeIngest(t,Qs,n),e.storeBroadcast().then(()=>Zg(e,r))}function eL(e){return kt(At(e))}function tL(e,t){const r=ey(e,ty);if(null===r)throw new Error(`@wire(updateLayoutUserState) invali
560d configuration ${At(e)}`);return function(e,t="RecordLayoutUserStateInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.sectionUserStates,n=t+".sectionUserStates";if("object"!=typeof r||Et(r)||null===r)return new TypeError('Expected "object" but received "'+typeof r+'" (at "'+n+'")');const o=Ft(r);for(let e=0;e<o.length;e++){const t=o[e],a=r[t],i=n+'["'+t+'"]';if("object"!=typeof a||Et(a)||null===a)return new TypeError('Expected "object" but received "'+typeof a+'" (at "'+i+'")')}})()}(t,"layoutUserStateInput"),{...r,layoutUserStateInput:t}}const rL=e=>(t,r,o,a,i)=>{const s=tL({objectApiName:t,recordTypeId:r,layoutType:o,mode:a},i),{objectApiName:c,layoutType:l,mode:u,recordTypeId:d,layoutUserStateInput:p}=s,f=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/layout/"+e.urlParams.objectApiName+"/user-state",method:"patch",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{objectApiName:c},body:p,queryParams:{layoutType:l,mode:u,recordTypeId:d}}),m=Vs(0,{apiName:c,recordTypeId:d,layoutType:l,mode:u}),g=Zg(e,s);if(Da(g)){const t=function(e,t){let r,n;const{sectionUserStates:o}=t,{sectionUserStates:a}=e,i=dt(o);for(let t=0,s=i.length;t<s;t+=1){const s=i[t];if(void 0===a[s])return null;void 0===r&&(r=eL(e),n=r.sectionUserStates);const c=o[s];n[s].collapsed=c.collapsed}return r}(g.data,p);null!==t&&YC(e,m,s,t)}return function(e,t,r,o){return e.dispatchResourceRequest(o).then(o=>{const{body:a}=o;return e.handleSuccessResponse(()=>YC(e,r,t,a),()=>{const e=new n.StoreKeyMap;return Gs(e,0,a),e})},e=>{throw n.deepFreeze(e),e})}(e,s,m,f)};function nL(e,t,r,o){const a=sL(t),i=function(e,t,r,n){if(void 0===n)return Ba(r);const[o,a]=function(e,t,r){const n=function(e){const{data:t}=e;if(void 0===t||!t.records)return 0;const r=t.records;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(r);if(n>0){const r=function(e,t){const r=Ea(0,t),n={recordId:r,node:{kind:"Fragment",version:ko,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:lo,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,t);if(void 0!==r){const{token:e,pageSize:o}=xa(t),a=go(r,e);if(a<0)return[void 0,-1];const i=a+n,[s,c]=bo(r,i);if(void 0!==s)return[s,o-(c-a)]}}return[void 0,-1]}(e,r,n);if(void 0===o)return Ba(r);return Ba(sL({...t,pageSize:a,pageToken:o}))}(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>{const{body:o}=r,i=o.sortBy;i&&"string"==typeof i&&(r.body.sortBy=i.split(","));return"__Recent"!==(o.listReference&&o.listReference.listViewApiName?o.listReference.listViewApiName:null)||i||(r.body.sortBy=[]),e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,a=o.listReference;if(void 0!==a){const e={...a};e.id=o.listInfoETag,ba(e,fL,o.listReference.id),Ia(t,o,a,fL)}return function(e,t,r,n){const o=Oa(e,r,n,{config:t,resolve:()=>nL(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,r,n)}(e,t,a,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){Lo(e,t,n)}(t,e,0,r.body),t})},r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=function(e,t,r,n){const o=Ea(0,t),a=e.errorSnapshot(r,n),i={ttl:3e4,namespace:it,version:ko,representationName:Ao};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>nL(e,t,et)});return e.storeBroadcast().then(()=>o)}(e,t,a,r)))}const oL="getListRecordsByName",aL=[ot("listViewApiName",!0,0,0),ot("objectApiName",!0,0,0),ot("fields",!1,2,0,!0),ot("optionalFields",!1,2,0,!0),ot("pageSize",!1,2,3),ot("pageToken",!1,2,0),ot("searchTerm",!1,2,0),ot("sortBy",!1,2,0,!0),ot("where",!1,2,0)],iL=at(oL,aL),sL=n.createResourceParams(aL);function cL(e,t){return Ea(0,sL(t))}function lL(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,aL),t}(e);return Ye(r,t)?r:null}function uL(e,t){return qa(0,sL(t))}function dL(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,nL,"get",!0)}function pL(e,t){const{luvio:r,config:n}=e,o=t({recordId:cL(0,n),node:uL(0,n),variables:{}},{config:n,resolve:()=>nL(r,n,et)});
560return nt(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}let fL;const mL=`${it}__${oL}`,gL=e=>e.withContext(function(t,r,n){const o=lL(t,iL);return null===o?null:(function(e){ja=e}(r),function(e){fL=e}(r),e.applyCachePolicy(n||{},{adapterContext:r,config:o,luvio:e},pL,dL))},{contextId:mL});function yL(e,t){return it+"::LookupValuesRepresentation:(dependentFieldBindings:"+t.queryParams.dependentFieldBindings+",page:"+t.queryParams.page+",pageSize:"+t.queryParams.pageSize+",q:"+t.queryParams.q+",searchType:"+t.queryParams.searchType+",sourceRecordId:"+t.queryParams.sourceRecordId+",targetApiName:"+t.queryParams.targetApiName+",fieldApiName:"+t.urlParams.fieldApiName+",objectApiName:"+t.urlParams.objectApiName+","+(void 0===t.body.sourceRecord?.allowSaveOnDuplicate?"sourceRecord.allowSaveOnDuplicate":"sourceRecord.allowSaveOnDuplicate:"+t.body.sourceRecord?.allowSaveOnDuplicate)+"::"+(void 0===t.body.sourceRecord?.apiName?"sourceRecord.apiName":"sourceRecord.apiName:"+t.body.sourceRecord?.apiName)+"::"+tt(t.body.sourceRecord?.fields)+"::"+(void 0===t.body.orderBy?void 0:"["+t.body.orderBy.map(e=>"orderBy.fieldApiName:"+e.fieldApiName+"::orderBy.isAscending:"+e.isAscending).join(",")+"]")+")"}function hL(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:"LookupValuesRepresentation",mergeable:!1});const a=r.lookupResults,i=Ft(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];kr(e,t,a[n],()=>o+"__lookupResults__"+n)}}(e,t,n,()=>yL(0,r))}const vL=[ot("fieldApiName",!0,0,0,!1,Lt),ot("objectApiName",!0,0,0),ot("dependentFieldBindings",!1,1,0,!0),ot("page",!1,1,3),ot("pageSize",!1,1,3),ot("q",!1,1,0),ot("searchType",!1,1,0),ot("sourceRecordId",!1,1,0),ot("targetApiName",!1,1,0),ot("sourceRecord",!1,2,4),ot("orderBy",!1,2,4,!0)];function bL(e){const t={};n.typeCheckConfig(e,t,vL);const r=e.sourceRecord,o=function(e,t="RecordInputRepresentation"){const r=(()=>{if("object"!=typeof e||Et(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');if(void 0!==e.allowSaveOnDuplicate){const r=e.allowSaveOnDuplicate;if("boolean"!=typeof r)return new TypeError('Expected "boolean" but received "'+typeof r+'" (at "'+t+'.allowSaveOnDuplicate")')}if(void 0!==e.apiName){const r=e.apiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+t+'.apiName")')}const r=e.fields,n=t+".fields";if("object"!=typeof r||Et(r)||null===r)return new TypeError('Expected "object" but received "'+typeof r+'" (at "'+n+'")');const o=Ft(r);for(let e=0;e<o.length;e++){const t=o[e],a=r[t],i=n+'["'+t+'"]';let s=null;const c=(()=>{if("string"!=typeof a)return new TypeError('Expected "string" but received "'+typeof a+'" (at "'+i+'")')})();null!=c&&(s=c.message);let l=null;const u=(()=>{if("number"!=typeof a)return new TypeError('Expected "number" but received "'+typeof a+'" (at "'+i+'")')})();null!=u&&(l=u.message);let d=null;const p=(()=>
560{if(null!==a)return new TypeError('Expected "null" but received "'+typeof a+'" (at "'+i+'")')})();null!=p&&(d=p.message);let f=null;const m=(()=>{if("boolean"!=typeof a)return new TypeError('Expected "boolean" but received "'+typeof a+'" (at "'+i+'")')})();null!=m&&(f=m.message);let g=null;const y=(()=>{if(!Et(a))return new TypeError('Expected "array" but received "'+typeof a+'" (at "'+i+'")');for(let e=0;e<a.length;e++){const t=a[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+i+"["+e+']")')}})();if(null!=y&&(g=y.message),s&&l&&d&&f&&g){let e="Object doesn't match union (at \""+i+'")';return e+="\n"+s.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+l.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+d.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+f.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+g.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}(r);null===o&&(t.sourceRecord=r);const a=e.orderBy;if(He(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];null===Sv(r)&&e.push(r)}t.orderBy=e}return t}const PL={displayName:"getLookupRecords",parameters:{required:["fieldApiName"],optional:["requestParams"]}};function kL(e){const t=function(e,t){if(!Ze(e))return null;const r=bL(n.coerceConfig(e,vL));return Ye(r,t)?r:null}(e,PL);if(null===t)return t;const r=function(e){if(!Ze(e))return{};const t={},r=e.requestParams||{},n=r.dependentFieldBindings;void 0!==n&&(t.dependentFieldBindings=n);const o=r.page;void 0!==o&&(t.page=o);const a=r.pageSize;void 0!==a&&(t.pageSize=a);const i=r.q;void 0!==i&&(t.q=i);const s=r.searchType;void 0!==s&&(t.searchType=s);const c=r.sourceRecordId;void 0!==c&&(t.sourceRecordId=c);const l=r.targetApiName;void 0!==l&&(t.targetApiName=l);const u=r.sourceRecord;void 0!==u&&(t.sourceRecord=u);const d=r.orderBy;return void 0!==d&&(t.orderBy=d),t}(e),{objectApiName:o,fieldApiName:a}=Ct(t.fieldApiName);return{...t,objectApiName:o,fieldApiName:a,...r}}function AL(e){const{fields:t}=e;delete e.eTag,delete e.weakEtag,Object.keys(t).forEach(e=>{const{value:r}=t[e];Qr(r)&&AL(r)})}function RL(e,t,r){const{objectApiName:o,fieldApiName:a}=t,i={urlParams:{objectApiName:o,fieldApiName:a},queryParams:{page:t.page,pageSize:t.pageSize,q:t.q,searchType:t.searchType,dependentFieldBindings:t.dependentFieldBindings,sourceRecordId:t.sourceRecordId,targetApiName:t.targetApiName},body:{sourceRecord:t.sourceRecord,orderBy:t.orderBy}},s=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/lookups/"+e.urlParams.objectApiName+"/"+e.urlParams.fieldApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(i);return e.dispatchResourceRequest(s,r).then(t=>e.handleSuccessResponse(()=>{const e=yL(0,i),{body:r}=t;return Object.keys(r.lookupResults).map(e=>r.lookupResults[e].records).reduce((e,t)=>e.concat(t),[]).forEach(e=>AL(e)),n.deepFreeze(r),Promise.resolve({state:"Fulfilled",recordId:e,variables:{},seenRecords:new n.StoreKeySet,select:{recordId:e,node:{kind:"Fragment"},variables:{}},data:r})},()=>{const r=new n.StoreKeyMap;return hL(r,e,i,t.body),r}),t=>e.handleErrorResponse(()=>Promise.resolve(e.errorSnapshot(t))))}function SL(e,t){}function IL(e,t){const{networkPriority:r,requestCorrelator:n,eventObservers:o}=t,a={resourceRequestContext:{requestCorrelator:n},eventObservers:o};return"normal"!==r&&(a.overrides={priority:r}),RL(e.luvio,e.config,a)}const NL=e=>(t,r)=>{const n=kL(t);if(null===n)return null;const o={config:n,resolve:()=>RL(e,n)},a=e.applyCachePolicy(r||{},{config:n,luvio:e},SL,IL);return Ti(a)?a.then(e=>(e.refresh=o,e)):(a.refresh=o,a)};const TL=[ot("recordId",!0,0,0),ot("actionType",!0,2,0),ot("blueMasterId",!1,2,0),ot("externalId",!1,2,0),ot("photoUrl",!1,2,0),ot("profileName",!1,2,0)],CL=at("updateRecordAvatar",TL);function LL(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,TL),t}(e);return Ye(r,t)?r:null}const _L=e=>t=>{const r=LL(t,CL);if(null===r)throw new Error("updateRecordAvatar invalid configuration");const o=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/record-avatars/"+e.urlParam
560s.recordId+"/association",method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}({urlParams:{recordId:r.recordId},body:{externalId:r.externalId,blueMasterId:r.blueMasterId,profileName:r.profileName,photoUrl:r.photoUrl,actionType:r.actionType}});return e.dispatchResourceRequest(o).then(t=>{const{body:r}=t,o=hk(0,r);return e.handleSuccessResponse(()=>{let t;if("Theme"===r.type)t=pk,e.storeIngest(o,mk,r);else{if("Photo"!==r.type)throw new Error("Unsupported avatar type");t=ik,e.storeIngest(o,ck,r)}const n=e.storeLookup({recordId:o,node:t(),variables:{}});return e.storeBroadcast().then(()=>n)},()=>{const t=new n.StoreKeyMap;return kk(t,e,r),t})},e=>{throw n.deepFreeze(e),e})},FL="809ada3563b00c364360826037620d7e",wL="RecordCreateDefaultRecordRepresentation";function jL(e,t,r,n,o,a){const i=e.childRelationships,s=r.fullPath+"__childRelationships",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=Pr(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const u=e.fields,d=r.fullPath+"__fields",p=Object.keys(u),f=p.length;for(let i=0;i<f;i++){const s=p[i],c=u[s],l=d+"__"+s;u[s]=pr(c,{fullPath:l,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function EL(e,t){if(e.weakEtag!==t.weakEtag)return!1;if(e.apiName!==t.apiName)return!1;if(e.eTag!==t.eTag)return!1;if(!1===xt(e.childRelationships,t.childRelationships,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(!1===xt(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(e.id!==t.id)return!1;if(e.lastModifiedById!==t.lastModifiedById)return!1;if(e.lastModifiedDate!==t.lastModifiedDate)return!1;if(e.recordTypeId!==t.recordTypeId)return!1;const r=e.recordTypeInfo,n=t.recordTypeInfo;if(!(r===n||null!=r&&null!=n&&ir(r,n)))return!1;return e.systemModstamp===t.systemModstamp}const qL="894a62b8f5de5535f2483fb2c3abca8e",OL="RecordDefaultsRepresentation";function xL(e,t,r,o,a,i){const s=e.layout,c=r.fullPath+"__layout";Array.isArray(s)||null===s||"object"!=typeof s||(e.layout=xs(s,{fullPath:c,propertyName:"layout",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i));const l=e.objectInfos,u=r.fullPath+"__objectInfos",d=Object.keys(l),p=d.length;for(let n=0;n<p;n++){const s=d[n],c=l[s],p=u+"__"+s;l[s]=us(c,{fullPath:p,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)}const f=e.record,m=r.fullPath+"__record";return e.record=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,jL,"UiApi",FL,wL,EL),Bt(i)}(f,{fullPath:m,propertyName:"record",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i),e}function BL(e,t){const r=e.layout,n=t.layout;if(r!==n&&(null==r||null==n||null==r.__ref||null==n.__ref||r.__ref!==n.__ref))return!1;if(!1===xt(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const o=e.record,a=t.record;return o.__ref===a.__ref}const UL=function(e,t,r,o,a){const i=t.fullPath;return n.ingestShape(e,t,r,o,a,9e5,i,xL,"UiApi",qL,OL,BL),Bt(i)};function DL(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:OL,mergeable:!1}),Array.isArray(r.layout)||null===r.layout||"object"!=typeof r.layout||Bs(e,0,r.layout);const a=r.objectInfos,i=Ft(a),s=i.length;for(let t=0;t<s;t++){ds(e,0,a[i[t]])}!function(e,t,r,n){const o=n();e.set(o,{namespace:it,representationName:wL,mergeable:!1});const a=r.childRelationships,i=Ft(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];kr(e,t,a[n],()=>o+"__childRelationships__"+n)}const c=r.fields,l=Ft(c),u=l.length;for(let r=0;r<u;r++){const n=l[r];fr(e,t,c[n],()=>o+"__fields__"+n)}}(e,t,r.record,()=>o+"__record")}function ML(e,t){return it+"::RecordDefaultsRepresentation:(formFactor:"+t.queryParams.formFactor+",optionalFields:"+t.queryParams.optionalFields+",recordTypeId:"+t.queryParams.recordTypeId+",objectApiName:"+t.urlParams.objectApiName+")"}const VL="getRecordCreateDefaults",zL=[ot("objectApiName",!0,0,0,!1,Nt),ot("formFactor",!1,1,0,!1,Nl),ot("optionalFields",!1,1,0,!0,_t),ot("recordTypeId",!1,1,0,!1,nr)],KL=at(VL,zL),WL=n.createResourceParams(zL);function $L(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,zL),t}(n.coerceConfig(e,zL));return Ye(r,t)?r:null}const QL=`${it}__${VL}`,GL=qs(),JL=cs();function HL(e){const t=Hr(e.record);return[{kind:"Link",name:"layout",nullable:!0,fragment:GL},{kind:"Link",name:"objectInfos",map:!0,fragment:JL},{kind:"Link",name:"record",fragment:{kind:"Fragment",private:[],selections:t,version:FL}}]}function XL(e,t,r){return{config:r,resolve:()=>ZL(e,t,r)}}function ZL(e,t,r,o){const a=WL(r),i=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/record-defaults/create/"+e.urlParam
560s.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(a),s=ML(0,a),c=YL(e,r);return e.dispatchResourceRequest(i,o).then(o=>e.handleSuccessResponse(()=>{const{body:n}=o,a={recordId:s,node:{kind:"Fragment",private:[],version:qL,selections:HL(n)},variables:{}};t.set(c,a),e.storeIngest(s,UL,n);const i=e.storeLookup(a,XL(e,t,r));return e.storeBroadcast().then(()=>i)},()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){DL(e,t,n,()=>ML(0,r))}(t,e,a,o.body),t}),n=>e.handleErrorResponse(()=>{const o=e.errorSnapshot(n,XL(e,t,r));return e.storeIngestError(s,o),e.storeBroadcast().then(()=>o)}))}function YL(e,t){return`${ML(0,WL(t))}__selector`}function e_(e,t){const{luvio:r,config:n,cachedSelector:o,adapterContext:a}=e;return void 0===o?void 0:t(o,XL(r,a,n))}function t_(e,t){const{config:r,adapterContext:n,luvio:o}=e,{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),ZL(o,n,r,l)}const r_=e=>e.withContext(function(t,r,n){const o=function(e){const t=$L(e,KL);if(null===t)return null;let r=t.formFactor;if(void 0===r){if(void 0!==e.formFactor)return null;r=Il.Large}const n=void 0===t.recordTypeId?Er:t.recordTypeId,o=void 0===t.optionalFields?[]:t.optionalFields;return{...t,formFactor:r,recordTypeId:n,optionalFields:o}}(t);if(null===o)return null;const a=YL(0,o),i=r.get(a);return e.applyCachePolicy(n||{},{luvio:e,config:o,adapterContext:r,cachedSelector:i},e_,t_)},{contextId:QL}),n_="6a63c9ca6dda2e125d94e004f83240d8",o_="RecordTemplateCloneRepresentation";function a_(e,t){return it+"::"+o_+":"+t.cloneSourceId+":"+(null===t.recordTypeId?"":t.recordTypeId)}function i_(e,t){return a_(0,{cloneSourceId:t.cloneSourceId,recordTypeId:t.recordTypeId})}function s_(e,t){if(e.apiName!==t.apiName)return!1;if(e.cloneSourceId!==t.cloneSourceId)return!1;if(!1===xt(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return e.recordTypeId===t.recordTypeId}function c_(e){return function(t,r,o,a,i){const s=i_(0,t);return n.ingestShape(t,r,o,a,i,1e3,s,function(e){return function(t,r,n,o,a,i){const s=t.fields,c=n.fullPath+"__fields",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.fields(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}return t}}(e),"UiApi",n_,o_,s_),Bt(s)}}const l_="b352a734f919895e97682703b486b649",u_="RecordDefaultsTemplateCloneRepresentation";function d_(e,t){return it+"::"+u_+":"+t.cloneSourceId+":"+(null===t.recordTypeId?"":t.recordTypeId)}function p_(e,t){return d_(0,{cloneSourceId:t.record.cloneSourceId,recordTypeId:t.record.recordTypeId})}function f_(e,t){if(!1===xt(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const r=e.record,n=t.record;return r.__ref===n.__ref}function m_(e,t,r,n){const o=p_(0,r);e.set(o,{namespace:it,representationName:u_,mergeable:!1});const a=r.objectInfos,i=Ft(a),s=i.length;for(let t=0;t<s;t++){ds(e,0,a[i[t]])}!function(e,t,r){const n=i_(0,r);e.set(n,{namespace:it,representationName:o_,mergeable:!1});const o=r.fields,a=Ft(o),i=a.length;for(let r=0;r<i;r++){const i=a[r];fr(e,t,o[i],()=>n+"__fields__"+i)}}(e,t,r.record)}function g_(e){return function(t,r,o,a,i){const s=p_(0,t);return n.ingestShape(t,r,o,a,i,1e3,s,function(e){return function(t,r,n,o,a,i){const s=t.objectInfos,c=n.fullPath+"__objectInfos",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.objectInfos(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}const d=t.record,p=n.fullPath+"__record";return t.record=e.record(d,{fullPath:p,propertyName:"record",parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i),t}}(e),"UiApi",l_,u_,f_),Bt(s)}}function y_(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=c_({fields:Cn(t,r,o)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return fn(r.getNode(s.__ref),on(n)),s}}function h_(e){return function(e){const t=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:ur()}:e.fields;return{kind:"Fragment",version:n_,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"cloneSourceId",kind:"Scalar"},t,{name:"recordTypeId",kind:"Scalar"}]}}({fields:Dr("fields",e)})}function v_(e){return function(e){const t=void 0===e.objectInfos?{name:"objectInfos",kind:"Link",map:!0,fragment:cs()}:e.objectInfos,r=void 0===e.record?{name:"record",kind:"Link",fragment:{kind:"Fragment",version:n_,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"cloneSourceId",kind:"Scalar"},{name:"fields",kind:"Link",map:!0,fragment:ur()},{name:"recordTypeId",kind:"Scalar"}]}}:e.record;return{kind:"Fragment",version:l_,private:[],selections:[t,r]}}({record:{kind:"Link",name:"record",fragment:h_(e)}})}function b_(e){const{trackedFields:t}=e,r={conflicts:{},serverRequestCount:1},n=function(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=g_({objectInfos:us,record:y_(e)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return fn(r.getNode(s.__ref),on(n)),s}}({...e,recordConflictMap:r});return(e,o,a,i,s)=>{const c=n(e,o,a,i,s);so(a,r);return fn(a.getNode(c.__ref),on(t)),c}}const P_=(e,t)=>
560{let{optionalFields:r}=t.queryParams;const n=e.getNode(a_(0,{cloneSourceId:t.urlParams.recordId,recordTypeId:t.queryParams.recordTypeId||null}));if(n?.data){const e=n.data.apiName;void 0!==r&&(r=r.filter(t=>t.startsWith(`${e}.`)))}return r=void 0===r?[".CloneSourceId"]:[...r,".CloneSourceId"],function(e,t){return v_(Ur([],t.queryParams.optionalFields||[]))}(0,{...t,queryParams:{...t.queryParams,optionalFields:r}})};function k_(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/record-defaults/template/clone/"+e.urlParams.recordId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const A_="getRecordTemplateClone",R_=[ot("recordId",!0,0,0,!1,nr),ot("optionalFields",!1,1,0,!0,_t),ot("recordTypeId",!1,1,0)],S_=at(A_,R_),I_=n.createResourceParams(R_);function N_(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,R_),t}(n.coerceConfig(e,R_));return Ye(r,t)?r:null}const T_=`${it}__${A_}`,C_="defaultRecordTypeId",L_={ttl:1e3,representationName:"",namespace:it,version:"RECORD_TEMPLATE_CLONE_ERROR_VERSION_1"};function __(e,t){const{recordTypeId:r}=e;if(null!=r)return r;const n=t.get(C_);return null!=n?n:void 0}const F_=(e,t,r,o)=>{const a=I_(r),i=__(r,t),{recordId:s}=r,c=k_(a),l=a_(0,{cloneSourceId:s,recordTypeId:void 0===i?null:i}),u=void 0===i?c:k_({...a,queryParams:{...c.queryParams,optionalFields:dn(l,e.getNode(l),{maxDepth:qe.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()},r.optionalFields)}});return e.dispatchResourceRequest(u,o).then(o=>e.handleSuccessResponse(()=>{const{body:n}=o,i=p_(0,n),s=n.record.recordTypeId,c=n.record.apiName;!function(e,t){e.set(C_,t.defaultRecordTypeId)}(t,n.objectInfos[c]);const l=cn(a.queryParams.optionalFields,!0,c);e.storeIngest(i,b_({fields:sn,optionalFields:l,trackedFields:l,serverRequestCount:1}),n);const u=w_(e,t,{...r,recordTypeId:s});return e.storeBroadcast().then(()=>u)},()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){m_(e,t,n)}(t,e,0,o.body),t}),n=>e.handleErrorResponse(()=>{const o=d_(0,{cloneSourceId:r.recordId,recordTypeId:r.recordTypeId||null}),a=e.errorSnapshot(n,{config:r,resolve:()=>F_(e,t,r,et)});return e.storeIngestError(o,a,L_),Promise.resolve(a)}))},w_=(e,t,r)=>{const n=I_(r),o={recordId:d_(0,{cloneSourceId:r.recordId,recordTypeId:r.recordTypeId||null}),node:P_(e,n),variables:{}};return e.storeLookup(o,{config:r,resolve:()=>F_(e,t,r,et)})};function j_(e,t){const{config:r,adapterContext:n,luvio:o}=e,{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),F_(o,n,r,l)}function E_(e,t){const{adapterContext:r,config:n,luvio:o,recordTypeId:a}=e,i={...n,recordTypeId:a},s=I_(i);return t({recordId:d_(0,{cloneSourceId:i.recordId,recordTypeId:i.recordTypeId||null}),node:P_(o,s),variables:{}},{config:n,resolve:()=>F_(o,r,i,et)})}const q_=e=>e.withContext(function(t,r,n){const o=N_(t,S_);if(null===o)return null;const a=__(o,r);return e.applyCachePolicy(n||{},{luvio:e,config:o,recordTypeId:a,adapterContext:r},E_,j_)},{contextId:T_}),O_="665de0fdde39efd6f1098e374117ef58",x_="RecordTemplateCreateRepresentation";function B_(e,t){return it+"::"+x_+":"+t.apiName+":"+(null===t.recordTypeId?"":t.recordTypeId)}function U_(e,t){return B_(0,{apiName:t.apiName,recordTypeId:t.recordTypeId})}function D_(e,t){if(e.apiName!==t.apiName)return!1;if(!1===xt(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return e.recordTypeId===t.recordTypeId}function M_(e){return function(t,r,o,a,i){const s=U_(0,t);return n.ingestShape(t,r,o,a,i,3e4,s,function(e){return function(t,r,n,o,a,i){const s=t.fields,c=n.fullPath+"__fields",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.fields(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}return t}}(e),"UiApi",O_,x_,D_),Bt(s)}}const V_=9e5,z_="30493e7ac0677e35242026bb959c079e",K_="RecordDefaultsTemplateCreateRepresentation";function W_(e,t){return it+"::"+K_+":"+t.objectApiName+":"+(null===t.recordTypeId?"":t.recordTypeId)}function $_(e,t){return W_(0,{objectApiName:t.record.apiName,recordTypeId:t.record.recordTypeId})}function Q_(e,t){if(!1===xt(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const r=e.record,n=t.record;return r.__ref===n.__ref}function G_(e,t,r,n){const o=$_(0,r);e.set(o,{namespace:it,representationName:K_,mergeable:!1});const a=r.objectInfos,i=Ft(a),s=i.length;for(let t=0;t<s;t++){ds(e,0,a[i[t]])}!function(e,t,r){const n=U_(0,r);e.set(n,{namespace:it,representationName:x_,mergeable:!1});const o=r.fields,a=Ft(o),i=a.length;for(let r=0;r<i;r++){const i=a[r];fr(e,t,o[i],()=>n+"__fields__"+i)}}(e,t,r.record)}function J_(e){return function(t,r,o,a,i){const s=$_(0,t),c=V_;return n.ingestShape(t,r,o,a,i,c,s,function(e){return function(t,r,n,o,a,i){const s=t.objectInfos,c=n.fullPath+"__objectInfos",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.objectInfos(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}const d=t.record,p=n.fullPath+"__record";return t.record=e.record(d,{fullPath:p,propertyName:"record",parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i),t}}(e),"UiApi",z_,K_,Q_),Bt(s)}}function H_(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=M_({fields:Cn(t,r,o)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return fn(r.getNode(s.__ref),on(n)),s}}function X_(e){return function(e){const t=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:ur()}:e.fields;return{kind:"Fragment",version:O_,private:[],selections:[{name:"apiName",kind:"Scalar"},t,{name:"recordTypeId",kind:"Scalar"}]}}({fields:Dr("fields",e)})}function Z_(e){return function(e){const t=void 0===e.objectInfos?{name:"objectInfos",kind:"Link",map:!0,fragment:cs()}:e.objectInfos,r=void 0===e.record?{name:"record",kind:"Link",fragment:{kind:"Fragment",version:O_,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"fields",kind:"Link",map:!0,fragment:ur()},{name:"recordTypeId",kind:"Scalar"}]}}:e.record;return{kind:"Fragment",version:z_,private:[],selections:[t,r]}}({record:{kind:"Link",name:"record",fragment:X_(e)}})}function Y_(e){const{trackedFields:t}=e,r={conflicts:{},serverRequestCount:1},n=function(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=J_({objectInfos:us,record:H_(e)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return fn(r.getNode(s.__ref),on(n)),s}}({...e,recordConflictMap:r});return(e,o,a,i,s)=>{const c=n(e,o,a,i,s);so(a,r);return fn(a.getNode(c.__ref),on(t)),c}}
560function eF(e,t){return W_(0,{objectApiName:t.urlParams.objectApiName,recordTypeId:t.queryParams.recordTypeId||null})}function tF(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/record-defaults/template/create/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}function rF(e,t){const r=iF(t);return Z_(Ur([],r.queryParams.optionalFields||[]))}const nF="getRecordTemplateCreate",oF=[ot("objectApiName",!0,0,0,!1,Nt),ot("optionalFields",!1,1,0,!0,_t),ot("recordTypeId",!1,1,0)],aF=at(nF,oF),iF=n.createResourceParams(oF);function sF(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,oF),t}(n.coerceConfig(e,oF));return Ye(r,t)?r:null}const cF=`${it}__${nF}`;function lF(e,t,r){return{config:r,resolve:()=>mF(e,t,r,et)}}function uF(e){return`DEFAULTS::recordTypeId:${e}`}function dF(e,t){const r=iF(t),{recordTypeId:n}=r.queryParams;if(null!=n)return n;const o=e.get(uF(r.urlParams.objectApiName));return null!=o?o:void 0}function pF(e,t,r,n,o,a){const{urlParams:{objectApiName:i},queryParams:{optionalFields:s}}=a,{body:c}=o,l=$_(0,c),u=c.record.recordTypeId,d=c.objectInfos[i].defaultRecordTypeId;t.set(uF(i),d);const p=B_(0,{apiName:i,recordTypeId:u}),f=dn(p,e.getNode(p),{maxDepth:qe.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()},s),m=cn(f,!0),g=Y_({fields:sn,optionalFields:m,trackedFields:m,serverRequestCount:1});e.storeIngest(l,g,c);const y=function(e,t,r){const n=iF(r),o={recordId:eF(0,n),node:rF(0,r),variables:{}};return e.storeLookup(o,lF(e,t,r))}(e,t,{...r,recordTypeId:u});return e.storeBroadcast().then(()=>y)}function fF(e,t,r,n,o){const a=function(e,t,r,n){const o=eF(0,t),a=e.errorSnapshot(r,n),i={ttl:V_,namespace:it,version:z_,representationName:K_};return e.storeIngestError(o,a,i),a}(e,n,o,lF(e,t,r));return e.storeBroadcast().then(()=>a)}function mF(e,t,r,o){const a=iF(r),i=function(e,t,r){const n=iF(r),o=dF(t,r),{objectApiName:a}=r,i=tF(n);if(void 0===o)return i;const s=B_(0,{apiName:a,recordTypeId:o});return tF({...n,queryParams:{...i.queryParams,optionalFields:dn(s,e.getNode(s),{maxDepth:qe.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:qe.getTrackedFieldLeafNodeIdAndNameOnly()},r.optionalFields)}})}(e,t,r);return e.dispatchResourceRequest(i,o).then(o=>e.handleSuccessResponse(()=>pF(e,t,r,0,o,a),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){G_(e,t,n)}(t,e,0,o.body),t}),n=>e.handleErrorResponse(()=>fF(e,t,r,a,n)))}const gF=(e,t)=>{const{config:r,adapterContext:n,luvio:o}=e,{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),mF(o,n,r,l)},yF=(e,t)=>{const{adapterContext:r,config:n,luvio:o,recordTypeId:a}=e,i={...n,recordTypeId:a};return t({recordId:eF(0,iF(i)),node:rF(0,n),variables:{}},lF(o,r,n))},hF=e=>e.withContext(function(t,r,n){const o=sF(t,aF);if(null===o)return null;const a=dF(r,o);return e.applyCachePolicy(n||{},{luvio:e,config:o,recordTypeId:a,adapterContext:r},yF,gF)},{contextId:cF});function vF(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}const bF=[ot("handleOwnerChange",!1,1,1),ot("includeFieldsInBody",!1,1,1),ot("triggerOtherEmail",!1,1,1),ot("triggerUserEmail",!1,1,1),ot("useDefaultRule",!1,1,1),ot("allowSaveOnDuplicate",!1,2,1),ot("apiName",!1,2,0),ot("fields",!0,2,4)],PF=n.createResourceParams(bF);function kF(e,t){const r=PF(t),o=vF(r),a={conflicts:{},serverRequestCount:1},i=_n(sn,sn,a);return e.dispatchResourceRequest(o).then(t=>e.handleSuccessResponse(()=>function(e,t,r,o){const{body:a,status:i}=t;if(i===n.HttpStatusCode.NoContent){const t={state:"Fulfilled",data:{}};return e.storeBroadcast().then(()=>t)}const s=Hr(a),c=Cr(0,{recordId:a.id});e.storeIngest(c,r,a),so(e,o);const l=e.storeLookup({recordId:c,node:{kind:"Fragment",private:[],selections:s,version:Nr},variables:{}});return e.storeBroadcast().then(()=>l)}(e,t,i,a),()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){mr(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}function AF(e){return vF(PF(e))}const RF=e=>function(t){const r=t,n=qe.getDraftAwareCreateRecordAdapter();return void 0!==n?n(r,AF):kF(e,r)};
560function SF(e,t){return Cr(0,{recordId:t.urlParams.recordId})}function IF(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/"+e.urlParams.recordId,method:"delete",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const NF="deleteRecord",TF=[ot("recordId",!0,0,0,!1,nr)],CF=at(NF,TF),LF=n.createResourceParams(TF);function _F(e,t){if(!Ze(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,TF),t}(n.coerceConfig(e,TF));return Ye(r,t)?r:null}function FF(e,t,r){const o=LF(t),a=IF(o);return e.dispatchResourceRequest(a,r).then(()=>e.handleSuccessResponse(()=>(function(e,t){const r=SF(0,t);e.storeEvict(r)}(e,o),e.storeBroadcast()),()=>{const e=new n.StoreKeyMap;return function(e,t,r){const n=SF(0,r);e.set(n,{namespace:it,representationName:Tr,mergeable:!1})}(e,0,o),e}),e=>{throw n.deepFreeze(e),e})}const wF=e=>{const t=(e=>function(t){const r=_F(t,CF);if(null===r)throw new Error(`Invalid config for "${NF}"`);return FF(e,r)})(e);return e=>{const r={recordId:e},n=qe.getDraftAwareDeleteRecordAdapter();return void 0!==n?n(r,e=>IF(LF(e))):t(r)}};function jF(e){const t={},r=e.headers.ifUnmodifiedSince;return void 0!==r&&(t["If-Unmodified-Since"]=r),{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/"+e.urlParams.recordId,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:t,priority:"normal"}}const EF=[ot("recordId",!0,0,0,!1,nr),ot("handleOwnerChange",!1,1,1),ot("triggerOtherEmail",!1,1,1),ot("triggerUserEmail",!1,1,1),ot("useDefaultRule",!1,1,1),ot("allowSaveOnDuplicate",!1,2,1),ot("apiName",!1,2,0),ot("fields",!0,2,4),ot("ifUnmodifiedSince",!1,3,0)],qF=at("updateRecord",EF),OF=n.createResourceParams(EF);function xF(e,t){if(!Ze(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,EF);const r=e.fields;if(Ze(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];if("string"==typeof a&&void 0!==e&&(e[o]=a),"number"==typeof a&&void 0!==e&&(e[o]=a),null===a&&void 0!==e&&(e[o]=a),"boolean"==typeof a&&void 0!==e&&(e[o]=a),He(a)){const t=[];for(let e=0,r=a.length;e<r;e++){const r=a[e];"string"==typeof r&&t.push(r)}void 0!==e&&(e[o]=t)}}void 0!==e&&Object.keys(e).length>=0&&(t.fields=e)}return t}(n.coerceConfig(e,EF));return Ye(r,t)?r:null}const BF=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/;function UF(e){const t={};if(Ze(e)&&"string"==typeof e.ifUnmodifiedSince&&(t.ifUnmodifiedSince=e.ifUnmodifiedSince,t.ifUnmodifiedSince.match(BF))){const e=new Date(t.ifUnmodifiedSince).toUTCString();"Invalid Date"!==e&&(t.ifUnmodifiedSince=e)}return t}function DF(e,t,r){const{recordId:o}=t,a=UF(r),i=OF({...t,...a}),s=jF(i),c={conflicts:{},serverRequestCount:0},l=_n(sn,sn,c);return e.dispatchResourceRequest(s).then(t=>e.handleSuccessResponse(()=>{if(t.status===n.HttpStatusCode.NoContent){const t={state:"Fulfilled",data:{}};return e.storeEvict(Cr(0,{recordId:o})),e.storeBroadcast().then(()=>t)}const r=bn(e,t,o,l,c);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){mr(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const MF=e=>(t,r)=>{let n=null;if(Ze(t)&&Ze(t.fields)&&(n=xF({recordId:t.fields.Id,...t},qF)),null===n)throw new Error("Invalid recordInput");const o=qe.getDraftAwareUpdateRecordAdapter();return void 0!==o?o(n,e=>{const t=UF(r);return jF(OF({...e,...t}))}):DF(e,n,r)},VF="5f97eb4f2c3f805ef9d98ba7f0530b3e",zF="ContentDocumentCompositeRepresentation";function KF(e,t){return it+"::"+zF+":"+t.contentDocumentId}function WF(e,t){return KF(0,{contentDocumentId:t.contentDocument.id})}function $F(e,t,r,n,o,a){const i=e.contentDocument,s=r.fullPath+"__contentDocument";e.contentDocument=co(i,{fullPath:s,propertyName:"contentDocument",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a);const c=e.contentDocumentLinks,l=r.fullPath+"__contentDocumentLinks";for(let i=0;i<c.length;i++){const s=c[i];let u=l+"__"+i;c[i]=co(s,{fullPath:u,propertyName:i,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const u=e.contentVersion,d=r.fullPath+"__contentVersion";return e.contentVersion=co(u,{fullPath:d,propertyName:"contentVersion",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a),e}function QF(e,t){const r=e.contentDocument,n=t.contentDocument;if(r.__ref!==n.__ref)return!1;if(!1===Ot(e.contentDocumentLinks,t.contentDocumentLinks,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const o=e.contentVersion,a=t.contentVersion;return o.__ref===a.__ref}const GF=function(e,t,r,o,a){const i=WF(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,$F,"UiApi",VF,zF,QF),Bt(i)};function JF(e,t,r,n){!function(e,t,r){const n=WF(0,r);e.set(n,{namespace:it,representationName:zF,mergeable:!1}),mr(e,t,r.contentDocument);const o=r.contentDocumentLinks.length;for(let n=0;n<o;n++)mr(e,t,r.contentDocumentLinks[n]);mr(e,t,r.contentVersion)}
560(e,t,n)}const HF=function(e){return{kind:"Fragment",private:[],version:VF,selections:[{name:"contentDocument",kind:"Link",fragment:{kind:"Fragment",private:[],version:Nr,selections:Hr(e.contentDocument)}},{name:"contentDocumentLinks",kind:"Link",plural:!0,fragment:{kind:"Fragment",private:[],version:Nr,selections:Hr(e.contentDocumentLinks[0]||{fields:{}})}},{name:"contentVersion",kind:"Link",fragment:{kind:"Fragment",private:[],version:Nr,selections:Hr(e.contentVersion)}}]}};function XF(e,t,r){const o=function(e){const{fileData:t,title:r,description:n,contentDocumentId:o}=e,a={namedEntries:[{name:"fileData",value:t}]};return void 0!==r&&a.namedEntries.push({name:"title",value:r}),void 0!==n&&a.namedEntries.push({name:"description",value:n}),{urlParams:{contentDocumentId:o},body:a}}(t),a=function(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/content-documents/"+e.urlParams.contentDocumentId+"/content-versions",method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:n}=r,o=WF(0,n),a=HF(n);return e.storeIngest(o,GF,n),e.storeLookup({recordId:o,node:a,variables:{}})}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return JF(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}function ZF(e){const{fileData:t,title:r,description:n}=e,o={namedEntries:[{name:"fileData",value:t}]};return void 0!==r&&o.namedEntries.push({name:"title",value:r}),void 0!==n&&o.namedEntries.push({name:"description",value:n}),{body:o}}function YF(e){return{baseUri:"/services/data/v67.0",basePath:"/ui-api/records/content-documents/content-versions",method:"post",body:e.body,urlParams:{},queryParams:{},headers:{},priority:"normal"}}function ew(e,t,r){const o=ZF(t),a=YF(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:n}=r,o=WF(0,n),a=HF(n);return e.storeIngest(o,GF,n),e.storeLookup({recordId:o,node:a,variables:{}})}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return JF(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const tw=[ot("description",!1,2,0),ot("title",!1,2,0)];const rw={displayName:"createContentDocumentAndVersion",parameters:{required:["fileData"],optional:["description","title"]}};function nw(e){const t=function(e){const t={};return n.typeCheckConfig(e,t,tw),t}(e),r=e.fileData;return void 0!==r&&r instanceof Object&&(t.fileData=r),t}const ow=e=>function(t,r){let o=function(e,t){if(!Ze(e))return null;const r=nw(e);return Ye(r,t)?r:null}(t,rw);if(null===o)throw new Error('Invalid config for "createContentDocumentAndVersion"');const a=qe.getDraftAwareCreateContentDocumentAndVersionAdapter();return void 0!==a?a(o,e=>YF(ZF(e)),r):ew(e,o,function(e){let t;if(void 0!==e){const r=n.coerceAdapterRequestContext(e),{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=r;t={resourceRequestContext:{requestCorrelator:a,sourceContext:s,luvioRequestMethod:void 0},eventObservers:i},"normal"!==o&&(t.overrides={priority:o})}return t}(r))};const aw=[ot("contentDocumentId",!0,0,0),ot("description",!1,2,0),ot("title",!1,2,0)];const iw={displayName:"createContentVersion",parameters:{required:["contentDocumentId","fileData"],optional:["description","title"]}};function sw(e){const t=function(e){const t={};return n.typeCheckConfig(e,t,aw),t}(e),r=e.fileData;return void 0!==r&&r instanceof Object&&(t.fileData=r),t}const cw=e=>function(t,r){const o=function(e,t){if(!Ze(e))return null;const r=sw(e);return Ye(r,t)?r:null}(t,iw);if(null===o)throw new Error('Invalid config for "createContentVersion"');const a=qe.getDraftAwareCreateContentVersionAdapter();return void 0!==a?a(o,XF,r):XF(e,o,function(e){let t;if(void 0!==e){const r=n.coerceAdapterRequestContext(e),{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=r;t={resourceRequestContext:{requestCorrelator:a,sourceContext:s,luvioRequestMethod:void 0},eventObservers:i},"normal"!==o&&(t.overrides={priority:o})}return t}(r))};const lw=["namespace","representationName","id"];const uw={...qe,...Be,...ve};!function(e){const{id:t}=e;Ue.has(t)||(r.register(e),Ue.add(t))}({id:"@salesforce/lds-adapters-uiapi",configuration:{...qe,...Be,...ve},instrument:Me}),e.createContentDocumentAndVersion=void 0,e.createContentVersion=void 0,e.createListInfo=void 0,e.createRecord=void 0,e.deleteListInfo=void 0,e.deleteRecord=void 0,e.executeBatchRecordOperations=void 0,e.getActionOverrides=void 0,e.getAllApps=void 0,e.getAppDetails=void 0,e.getDuplicateConfiguration=void 0,e.getDuplicates=void 0,e.getFlexipageFormulaOverrides=void 0,e.getGlobalActions=void 0,e.getKeywordSearchResults=void 0,e.getLayout=void 0,e.getLayoutUserState=void 0,e.getListInfoByName=void 0,e.getListInfosByName=void 0,e.getListInfosByObjectName=void 0,e.getListObjectInfo=void 0,e.getListPreferences=void 0,e.getListRecordsByName=void 0,e.getListUi=void 0,e.getLookupActions=void 0,e.getLookupMetadata=void 0,e.getLookupRecords=void 0,e.getNavItems=void 0,e.getObjectCreateActions=void 0,e.getObjectInfo=void 0,e.getObjectInfos=void 0,e.getPathLayout=void 0,e.getPicklistValues=void 0,e.getPicklistValuesByRecordType=void 0,e.getQuickActionDefaults=void 0,e.getQuickActionInfo=void 0,e.getQuickActionLayout=void 0,e.getRecord=void 0,e.getRecordActions=void 0,e.getRecordAvatars=void 0,e.getRecordCreateDefaults=void 0,e.getRecordEditActions=void 0,e.getRecordTemplateClone=void 0,e.getRecordTemplateCreate=void 0,e.getRecordUi=void 0,e.getRecords=void 0,e.getRelatedListActions=void 0,e.getRelatedListCount=void 0,e.getRelatedListInfo=void 0,e.getRelatedListInfoBatch=void 0,e.getRelatedListPreferences=void 0,e.getRelatedListPreferencesBatch=void 0,e.getRelatedListRecordActions=void 0,e.getRelatedListRecords=void 0,e.getRelatedListRecordsBatch=void 0,e.getRelatedListsActions=void 0,e.getRelatedListsCount=void 0,e.getRelatedListsInfo=void 0,e.getSearchFilterMetadata=void 0,e.getSearchFilterOptions=void 0,e.getSearchResults=void 0,e.performQuickAction=void 0,e.performUpdateRecordQuickAction=void 0,e.updateListInfoByName=void 0,e.updateListPreferences=void 0,e.updateRecord=void 0,e.updateRecordAvatar=void 0,e.getActionOverrides_imperative=void 0,e.getAllApps_imperative=void 0,e.getAppDetails_imperative=void 0,e.getDuplicateConfiguration_imperative=void 0,e.getDuplicates_imperative=void 0,e.getFlexipageFormulaOverrides_imperative=void 0,e.getGlobalActions_imperative=void 0,e.getKeywordSearchResults_imperative=void 0,e.getLayout_imperative=void 0,e.getLayoutUserState_imperative=void 0,e.getListInfoByName_imperative=void 0,e.getListInfosByName_imperative=void 0,e.getListInfosByObjectName_imperative=void 0,e.getListObjectInfo_imperative=void 0,e.getListPreferences_imperative=void 0,e.getListRecordsByName_imperative=void 0,e.getListUi_imperative=void 0,e.getLookupActions_imperative=void 0,e.getLookupMetadata_imperative=void 0,e.getLookupRecords_imperative=void 0,e.getNavItems_imperative=void 0,e.getObjectCreateActions_imperative=void 0,e.getObjectInfo_imperative=void 0,e.getObjectInfos_imperative=void 0,e.getPathLayout_imperative=void 0,e.getPicklistValues_imperative=void 0,e.getPicklistValuesByRecordType_imperative=void 0,e.getQuickActionDefaults_imperative=void 0,e.getQuickActionInfo_imperative=void 0,e.getQuickActionLayout_imperative=void 0,e.getRecord_imperative=void 0,e.getRecordActions_imperative=void 0,e.getRecordAvatars_imperative=void 0,e.getRecordCreateDefaults_imperative=void 0,e.getRecordEditActions_imperative=void 0,e.getRecordTemplateClone_imperative=void 0,e.getRecordTemplateCreate_imperative=void 0,e.getRecordUi_imperative=void 0,e.getRecords_imperative=void 0,e.getRelatedListActions_imperative=void 0,e.getRelatedListCount_imperative=void 0,e.getRelatedListInfo_imperative=void 0,e.getRelatedListInfoBatch_imperative=void 0,e.getRelatedListPreferences_imperative=void 0,e.getRelatedListPreferencesBatch_imperative=void 0,e.getRelatedListRecordActions_imperative=void 0,e.getRelatedListRecords_imperative=void 0,e.getRelatedListRecordsBatch_imperative=void 0,e.getRelatedListsActions_imperative=void 0,e.getRelatedListsCount_imperative=void 0,e.getRelatedListsInfo_imperative=void 0,e.getSearchFilterMetadata_imperative=void 0,e.getSearchFilterOptions_imperative=void 0,e.getSearchResults_imperative=void 0;
560const dw={apiFamily:it,name:bd},pw={apiFamily:it,name:Km,ttl:3e5},fw={apiFamily:it,name:ag,ttl:3e5},mw={apiFamily:it,name:Tg,ttl:9e5},gw={apiFamily:it,name:KP,ttl:3e4},yw={apiFamily:it,name:Md,ttl:3e5},hw={apiFamily:it,name:Xl,ttl:3e5},vw={apiFamily:it,name:mC,ttl:200},bw={apiFamily:it,name:"getLayout",ttl:9e5},Pw={apiFamily:it,name:"getLayoutUserState",ttl:9e5},kw={apiFamily:it,name:uh,ttl:9e5},Aw={apiFamily:it,name:yy},Rw={apiFamily:it,name:jy},Sw={apiFamily:it,name:Dh,ttl:9e5},Iw={apiFamily:it,name:dv,ttl:9e5},Nw={apiFamily:it,name:"getListRecordsByName",ttl:3e4},Tw={apiFamily:it,name:"getListUi",ttl:9e5},Cw={apiFamily:it,name:xu,ttl:3e5},Lw={apiFamily:it,name:bT,ttl:3e4},_w={apiFamily:it,name:"getLookupRecords"},Fw={apiFamily:it,name:Mv,ttl:12e4},ww={apiFamily:it,name:Zu,ttl:3e5},jw={apiFamily:it,name:hs,ttl:9e5},Ew={apiFamily:it,name:vb},qw={apiFamily:it,name:RP,ttl:9e5},Ow={apiFamily:it,name:"getPicklistValues",ttl:9e5},xw={apiFamily:it,name:Xb,ttl:9e5},Bw={apiFamily:it,name:wp,ttl:9e5},Uw={apiFamily:it,name:dp,ttl:9e5},Dw={apiFamily:it,name:ku,ttl:9e5},Mw={apiFamily:it,name:"getRecord",ttl:3e4},Vw={apiFamily:it,name:zp,ttl:3e5},zw={apiFamily:it,name:nA,ttl:36e5},Kw={apiFamily:it,name:"getRecordCreateDefaults",ttl:9e5},Ww={apiFamily:it,name:of,ttl:3e5},$w={apiFamily:it,name:"getRecordTemplateClone",ttl:1e3},Qw={apiFamily:it,name:"getRecordTemplateCreate",ttl:9e5},Gw={apiFamily:it,name:"getRecordUi",ttl:9e5},Jw={apiFamily:it,name:"getRecords"},Hw={apiFamily:it,name:Mf,ttl:3e5},Xw={apiFamily:it,name:QA},Zw={apiFamily:it,name:aS,ttl:9e5},Yw={apiFamily:it,name:SR},ej={apiFamily:it,name:eI,ttl:9e5},tj={apiFamily:it,name:VS},rj={apiFamily:it,name:em,ttl:3e5},nj={apiFamily:it,name:nN,ttl:3e4},oj={apiFamily:it,name:WI},aj={apiFamily:it,name:Lf},ij={apiFamily:it,name:qA},sj={apiFamily:it,name:$R},cj={apiFamily:it,name:TN,ttl:3e4},lj={apiFamily:it,name:HN,ttl:3e4},uj={apiFamily:it,name:WT,ttl:200};r.withDefaultLuvio(r=>{({createContentDocumentAndVersion:e.createContentDocumentAndVersion,createContentVersion:e.createContentVersion,createListInfo:e.createListInfo,createRecord:e.createRecord,deleteListInfo:e.deleteListInfo,deleteRecord:e.deleteRecord,executeBatchRecordOperations:e.executeBatchRecordOperations,getActionOverrides:e.getActionOverrides,getAllApps:e.getAllApps,getAppDetails:e.getAppDetails,getDuplicateConfiguration:e.getDuplicateConfiguration,getDuplicates:e.getDuplicates,getFlexipageFormulaOverrides:e.getFlexipageFormulaOverrides,getGlobalActions:e.getGlobalActions,getKeywordSearchResults:e.getKeywordSearchResults,getLayout:e.getLayout,getLayoutUserState:e.getLayoutUserState,getListInfoByName:e.getListInfoByName,getListInfosByName:e.getListInfosByName,getListInfosByObjectName:e.getListInfosByObjectName,getListObjectInfo:e.getListObjectInfo,getListPreferences:e.getListPreferences,getListRecordsByName:e.getListRecordsByName,getListUi:e.getListUi,getLookupActions:e.getLookupActions,getLookupMetadata:e.getLookupMetadata,getLookupRecords:e.getLookupRecords,getNavItems:e.getNavItems,getObjectCreateActions:e.getObjectCreateActions,getObjectInfo:e.getObjectInfo,getObjectInfos:e.getObjectInfos,getPathLayout:e.getPathLayout,getPicklistValues:e.getPicklistValues,getPicklistValuesByRecordType:e.getPicklistValuesByRecordType,getQuickActionDefaults:e.getQuickActionDefaults,getQuickActionInfo:e.getQuickActionInfo,getQuickActionLayout:e.getQuickActionLayout,getRecord:e.getRecord,getRecordActions:e.getRecordActions,getRecordAvatars:e.getRecordAvatars,getRecordCreateDefaults:e.getRecordCreateDefaults,getRecordEditActions:e.getRecordEditActions,getRecordTemplateClone:e.getRecordTemplateClone,getRecordTemplateCreate:e.getRecordTemplateCreate,getRecordUi:e.getRecordUi,getRecords:e.getRecords,getRelatedListActions:e.getRelatedListActions,getRelatedListCount:e.getRelatedListCount,getRelatedListInfo:e.getRelatedListInfo,getRelatedListInfoBatch:e.getRelatedListInfoBatch,getRelatedListPreferences:e.getRelatedListPreferences,getRelatedListPreferencesBatch:e.getRelatedListPreferencesBatch,getRelatedListRecordActions:e.getRelatedListRecordActions,getRelatedListRecords:e.getRelatedListRecords,getRelatedListRecordsBatch:e.getRelatedListRecordsBatch,getRelatedListsActions:e.getRelatedListsActions,getRelatedListsCount:e.getRelatedListsCount,getRelatedListsInfo:e.getRelatedListsInfo,getSearchFilterMetadata:e.getSearchFilterMetadata,get
560SearchFilterOptions:e.getSearchFilterOptions,getSearchResults:e.getSearchResults,performQuickAction:e.performQuickAction,performUpdateRecordQuickAction:e.performUpdateRecordQuickAction,updateListInfoByName:e.updateListInfoByName,updateListPreferences:e.updateListPreferences,updateRecord:e.updateRecord,updateRecordAvatar:e.updateRecordAvatar,getActionOverrides_imperative:e.getActionOverrides_imperative,getAllApps_imperative:e.getAllApps_imperative,getAppDetails_imperative:e.getAppDetails_imperative,getDuplicateConfiguration_imperative:e.getDuplicateConfiguration_imperative,getDuplicates_imperative:e.getDuplicates_imperative,getFlexipageFormulaOverrides_imperative:e.getFlexipageFormulaOverrides_imperative,getGlobalActions_imperative:e.getGlobalActions_imperative,getKeywordSearchResults_imperative:e.getKeywordSearchResults_imperative,getLayout_imperative:e.getLayout_imperative,getLayoutUserState_imperative:e.getLayoutUserState_imperative,getListInfoByName_imperative:e.getListInfoByName_imperative,getListInfosByName_imperative:e.getListInfosByName_imperative,getListInfosByObjectName_imperative:e.getListInfosByObjectName_imperative,getListObjectInfo_imperative:e.getListObjectInfo_imperative,getListPreferences_imperative:e.getListPreferences_imperative,getListRecordsByName_imperative:e.getListRecordsByName_imperative,getListUi_imperative:e.getListUi_imperative,getLookupActions_imperative:e.getLookupActions_imperative,getLookupMetadata_imperative:e.getLookupMetadata_imperative,getLookupRecords_imperative:e.getLookupRecords_imperative,getNavItems_imperative:e.getNavItems_imperative,getObjectCreateActions_imperative:e.getObjectCreateActions_imperative,getObjectInfo_imperative:e.getObjectInfo_imperative,getObjectInfos_imperative:e.getObjectInfos_imperative,getPathLayout_imperative:e.getPathLayout_imperative,getPicklistValues_imperative:e.getPicklistValues_imperative,getPicklistValuesByRecordType_imperative:e.getPicklistValuesByRecordType_imperative,getQuickActionDefaults_imperative:e.getQuickActionDefaults_imperative,getQuickActionInfo_imperative:e.getQuickActionInfo_imperative,getQuickActionLayout_imperative:e.getQuickActionLayout_imperative,getRecord_imperative:e.getRecord_imperative,getRecordActions_imperative:e.getRecordActions_imperative,getRecordAvatars_imperative:e.getRecordAvatars_imperative,getRecordCreateDefaults_imperative:e.getRecordCreateDefaults_imperative,getRecordEditActions_imperative:e.getRecordEditActions_imperative,getRecordTemplateClone_imperative:e.getRecordTemplateClone_imperative,getRecordTemplateCreate_imperative:e.getRecordTemplateCreate_imperative,getRecordUi_imperative:e.getRecordUi_imperative,getRecords_imperative:e.getRecords_imperative,getRelatedListActions_imperative:e.getRelatedListActions_imperative,getRelatedListCount_imperative:e.getRelatedListCount_imperative,getRelatedListInfo_imperative:e.getRelatedListInfo_imperative,getRelatedListInfoBatch_imperative:e.getRelatedListInfoBatch_imperative,getRelatedListPreferences_imperative:e.getRelatedListPreferences_imperative,getRelatedListPreferencesBatch_imperative:e.getRelatedListPreferencesBatch_imperative,getRelatedListRecordActions_imperative:e.getRelatedListRecordActions_imperative,getRelatedListRecords_imperative:e.getRelatedListRecords_imperative,getRelatedListRecordsBatch_imperative:e.getRelatedListRecordsBatch_imperative,getRelatedListsActions_imperative:e.getRelatedListsActions_imperative,getRelatedListsCount_imperative:e.getRelatedListsCount_imperative,getRelatedListsInfo_imperative:e.getRelatedListsInfo_imperative,getSearchFilterMetadata_imperative:e.getSearchFilterMetadata_imperative,getSearchFilterOptions_imperative:e.getSearchFilterOptions_imperative,getSearchResults_imperative:e.getSearchResults_imperative}=function(e){const r=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getActionOverrides",Fd),dw),n=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getAllApps",rg),pw),o=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getAppDetails",hg),fw),a=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getDuplicateConfiguration",Ug),mw),i=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getDuplicates",rk),gw),s=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getFlexipageFormulaOverrides",Yd),yw),c=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getGlobalActions",lu),hw),l=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getKeywordSearchResults",Ee.getKeywordSearchResultsAdapterFactory()??NC),vw),u=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLayout",Xg),bw),d=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLayoutUserState",ay),Pw),p=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getListInfoByName",Ph),e,"getListInfoByName"),kw),f=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getListInfosByName",Ty),Aw),m=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getListInfosByObjectName",$y),e,"getListInfosByObjectName"),Rw),g=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getListObjectInfo",Zh),e,"getListObjectInfo"),Sw),y=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getListPreferences",Rv),Iw),h=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getListRecordsByName",Ee.getListRecordsByNameAdapterFactory()??gL),e,"getListRecordsByName"),Nw),v=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getListUi",Ee.getListUiAdapterFactory()??ts),Tw),b=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLookupActions",Ju),Cw),P=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLookupMetadata",FT),Lw),k=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLookupRecords",Ee.getLookupRecordsAdapterFactory()??NL),_w),A=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getNavItems",Yv),Fw),R=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getObjectCreateActions",ud),ww),S=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getObjectInfo",Ts),e,"getObjectInfo"),jw),I=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getObjectInfos",Lb),e,"getObjectInfos"),Ew),N=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getPathLayout",qP),qw),T=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getPicklistValues",PP),Ow),C=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getPicklistValuesByRecordType",lP),xw),L=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getQuickActionDefaults",Ee.getQuickActionDefaultsAdapterFactory()??Dp),Bw),_=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getQuickActionInfo",Rp),Uw),F=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getQuickActionLayout",ju),Dw),w=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getRecord",Ee.getRecordAdapterFactory()??Jc),e,"getRecord"),Mw),j=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getRecordActions",tf),e,"getRecordActions"),Vw),E=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getRecordAvatars",cA),e,"getRecordAvatars"),zw),q=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordCreateDefaults",Ee.getRecordCreateDefaultsAdapterFactory()??r_),Kw),O=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordEditActions",hf),Ww),x=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordTemplateClone",Ee.getRecordTemplateCloneAdapterFactory()??q_),$w),B=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordTemplateCreate",Ee.getRecordTemplateCreateAdapterFactory()??hF),Qw),U=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordUi",Ee.getRecordUiAdapterFactory()??Nc),Gw),D=t.createInstrumentedAdapter(ze(t.createLDSAdapter(e,"getRecords",Ee.getRecordsAdapterFactory()??yA),e,"getRecords"),Jw),M=t.createInstrumentedAdapter(We(t.createLDSAdapter(e,"getRelatedListActions",Xf),e,"getRelatedListActions"),Hw),V=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListCount",nR),Xw),z=t.createInstrumentedAdapter(Ke(t.createLDSAdapter(e,"getRelatedListInfo",gS),e,"getRelatedListInfo"),Zw),K=t.createInstrumentedAdapter(Ke(t.createLDSAdapter(e,"getRelatedListInfoBatch",qR),e,"getRelatedListInfoBatch"),Yw),W=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListPreferences",uI),ej),$=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListPreferencesBatch",YS),tj),Q=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListRecordActions",pm),rj),G=t.createInstrumentedAdapter(Ke(t.createLDSAdapter(e,"getRelatedListRecords",Ee.getRelatedListRecordsAdapterFactory()??mN),e,"getRelatedListRecords"),nj),J=t.createInstrumentedAdapter(Ke(t.createLDSAdapter(e,"getRelatedListRecordsBatch",Ee.getRelatedListRecordsBatchAdapterFactory()??rN),e,"getRelatedListRecordsBatch"),oj),H=t.createInstrumentedAdapter(Ke(t.createLDSAdapter(e,"getRelatedListsActions",Df),e,"getRelatedListsActions"),aj),X=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListsCount",$A),ij),Z=t.createInstrumentedAdapter(We(t.createLDSAdapter(e,"getRelatedListsInfo",oS),e,"getRelatedListsInfo"),sj),Y=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getSearchFilterMetadata",UN),cj),ee=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getSearchFilterOptions",cT),lj),te=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getSearchResults",Ee.getSearchResultsAdapterFactory()??nC),uj);function re(t){const r=t(e);return(...e)=>r(...e).then(e=>e.data)}return{createContentDocumentAndVersion:re(ow),createContentVersion:re(cw),createListInfo:t.createLDSAdapter(e,Jy,th),createRecord:re(RF),deleteListInfo:t.createLDSAdapter(e,nh,lh),deleteRecord:t.createLDSAdapter(e,"deleteRecord",wF),executeBatchRecordOperations:re(VC),getActionOverrides:t.createWireAdapterConstructor(e,r,dw),getAllApps:t.createWireAdapterConstructor(e,n,pw),getAppDetails:t.createWireAdapterConstructor(e,o,fw),getDuplicateConfiguration:t.createWireAdapterConstructor(e,a,mw),getDuplicates:t.createWireAdapterConstructor(e,i,gw),getFlexipageFormulaOverrides:t.createWireAdapterConstructor(e,s,yw),getGlobalActions:t.createWireAdapterConstructor(e,c,hw),getKeywordSearchResults:t.createWireAdapterConstructor(e,l,vw),getLayout:t.createWireAdapterConstructor(e,u,bw),getLayoutUserState:t.createWireAdapterConstructor(e,d,Pw),getListInfoByName:t.createWireAdapterConstructor(e,p,kw),getListInfosByName:t.createWireAdapterConstructor(e,f,Aw),getListInfosByObjectName:t.createWireAdapterConstructor(e,m,Rw),getListObjectInfo:t.createWireAdapterConstructor(e,g,Sw),getListPreferences:t.createWireAdapterConstructor(e,
560y,Iw),getListRecordsByName:t.createInfiniteScrollingWireAdapterConstructor(e,h,Nw,["pageSize","pageToken"]),getListUi:t.createInfiniteScrollingWireAdapterConstructor(e,v,Tw,["pageSize","pageToken"]),getLookupActions:t.createWireAdapterConstructor(e,b,Cw),getLookupMetadata:t.createWireAdapterConstructor(e,P,Lw),getLookupRecords:t.createWireAdapterConstructor(e,k,_w),getNavItems:t.createWireAdapterConstructor(e,A,Fw),getObjectCreateActions:t.createWireAdapterConstructor(e,R,ww),getPathLayout:t.createWireAdapterConstructor(e,N,qw),getPicklistValues:t.createWireAdapterConstructor(e,T,Ow),getPicklistValuesByRecordType:t.createWireAdapterConstructor(e,C,xw),getQuickActionDefaults:t.createWireAdapterConstructor(e,L,Bw),getQuickActionInfo:t.createWireAdapterConstructor(e,_,Uw),getQuickActionLayout:t.createWireAdapterConstructor(e,F,Dw),getRecord:t.createWireAdapterConstructor(e,w,Mw),getRecordActions:t.createWireAdapterConstructor(e,j,Vw),getRecordAvatars:t.createWireAdapterConstructor(e,E,zw),getRecordCreateDefaults:t.createWireAdapterConstructor(e,q,Kw),getRecordEditActions:t.createWireAdapterConstructor(e,O,Ww),getRecordTemplateClone:t.createWireAdapterConstructor(e,x,$w),getRecordTemplateCreate:t.createWireAdapterConstructor(e,B,Qw),getRecordUi:t.createWireAdapterConstructor(e,U,Gw),getRecords:t.createWireAdapterConstructor(e,D,Jw),getRelatedListActions:t.createWireAdapterConstructor(e,M,Hw),getRelatedListCount:t.createWireAdapterConstructor(e,V,Xw),getRelatedListInfo:t.createWireAdapterConstructor(e,z,Zw),getRelatedListInfoBatch:t.createWireAdapterConstructor(e,K,Yw),getRelatedListPreferences:t.createWireAdapterConstructor(e,W,ej),getRelatedListPreferencesBatch:t.createWireAdapterConstructor(e,$,tj),getRelatedListRecordActions:t.createWireAdapterConstructor(e,Q,rj),getRelatedListRecords:t.createInfiniteScrollingWireAdapterConstructor(e,G,nj,["pageSize","pageToken"]),getRelatedListRecordsBatch:t.createWireAdapterConstructor(e,J,oj),getRelatedListsActions:t.createWireAdapterConstructor(e,H,aj),getRelatedListsCount:t.createWireAdapterConstructor(e,X,ij),getRelatedListsInfo:t.createWireAdapterConstructor(e,Z,sj),getSearchFilterMetadata:t.createWireAdapterConstructor(e,Y,cj),getSearchFilterOptions:t.createWireAdapterConstructor(e,ee,lj),getSearchResults:t.createWireAdapterConstructor(e,te,uj),performQuickAction:re(ZC),performUpdateRecordQuickAction:re(XC),updateListInfoByName:t.createLDSAdapter(e,kh,Th),updateListPreferences:t.createLDSAdapter(e,Iv,Fv),updateRecord:re(MF),updateRecordAvatar:re(_L),getObjectInfo:be(t.createWireAdapterConstructor(e,S,jw),ve.getGetObjectInfoAdapter()),getObjectInfos:be(t.createWireAdapterConstructor(e,I,Ew),ve.getGetObjectInfosAdapter()),getActionOverrides_imperative:t.createImperativeAdapter(e,r,dw),getAllApps_imperative:t.createImperativeAdapter(e,n,pw),getAppDetails_imperative:t.createImperativeAdapter(e,o,fw),getDuplicateConfiguration_imperative:t.createImperativeAdapter(e,a,mw),getDuplicates_imperative:t.createImperativeAdapter(e,i,gw),getFlexipageFormulaOverrides_imperative:t.createImperativeAdapter(e,s,yw),getGlobalActions_imperative:t.createImperativeAdapter(e,c,hw),getKeywordSearchResults_imperative:t.createImperativeAdapter(e,l,vw),getLayout_imperative:t.createImperativeAdapter(e,u,bw),getLayoutUserState_imperative:t.createImperativeAdapter(e,d,Pw),getListInfoByName_imperative:t.createImperativeAdapter(e,p,kw),getListInfosByName_imperative:t.createImperativeAdapter(e,f,Aw),getListInfosByObjectName_imperative:t.createImperativeAdapter(e,m,Rw),getListObjectInfo_imperative:t.createImperativeAdapter(e,g,Sw),getListPreferences_imperative:t.createImperativeAdapter(e,y,Iw),getListRecordsByName_imperative:t.createImperativeAdapter(e,h,Nw),getListUi_imperative:t.createImperativeAdapter(e,v,Tw),getLookupActions_imperative:t.createImperativeAdapter(e,b,Cw),getLookupMetadata_imperative:t.createImperativeAdapter(e,P,Lw),getLookupRecords_imperative:t.createImperativeAdapter(e,k,_w),getNavItems_imperative:t.createImperativeAdapter(e,A,Fw),getObjectCreateActions_imperative:t.createImperativeAdapter(e,R,ww),getObjectInfo_imperative:t.createImperativeAdapter(e,S,jw),getObjectInfos_imperative:t.createImperativeAdapter(e,I,Ew),getPathLayout_imperative:t.createImperativeAdapter(e,N,qw),getPicklistValues_imperative:t.createImperativeAdapter(e,T,Ow),getPicklistValuesByRecordType_imperative:t.createImperativeAdapter(e,C,xw),getQuickActionDefaults_imperative:t.createImperativeAdapter(e,L,Bw),getQuickActionInfo_imperative:t.createImperativeAdapter(e,_,Uw),getQuickActionLayout_imperative:t.createImperativeAdapter(e,F,Dw),getRecord_imperative:t.createImperativeAdapter(e,w,Mw),getRecordActions_imperative:t.createImperativeAdapter(e,j,Vw),getRecordAvatars_imperative:t.createImperativeAdapter(e,E,zw),getRecordCreateDefaults_imperative:t.createImperativeAdapter(e,q,Kw),getRecordEditActions_imperative:t.createImperativeAdapter(e,O,Ww),getRecordTemplateClone_imperative:t.createImperativeAdapter(e,x,$w),getRecordTemplateCreate_imperative:t.createImperativeAdapter(e,B,Qw),getRecordUi_imperative:t.createImperativeAdapter(e,U,Gw),getRecords_imperative:t.createImperativeAdapter(e,D,Jw),getRelatedListActions_imperative:t.createImperativeAdapter(e,M,Hw),getRelatedListCount_imperative:t.createImperativeAdapter(e,V,Xw),getRelatedListInfo_imperative:t.createImperativeAdapter(e,z,Zw),getRelatedListInfoBatch_imperative:t.createImperativeAdapter(e,K,Yw),getRelatedListPreferences_imperative:t.createImperativeAdapter(e,W,ej),getRelatedListPreferencesBatch_imperative:t.createImperativeAdapter(e,$,tj),getRelatedListRecordActions_imperative:t.createImperativeAdapter(e,Q,rj),getRelatedListRecords_imperative:t.createImperativeAdapter(e,G,nj),getRelatedListRecordsBatch_imperative:t.createImperativeAdapter(e,J,oj),getRelatedListsActions_imperative:t.createImperativeAdapter(e,H,aj),getRelatedListsCount_imperative:t.createImperativeAdapter(e,X,ij),getRelatedListsInfo_imperative:t.createImperativeAdapter(e,Z,sj),getSearchFilterMetadata_imperative:t.createImperativeAdapter(e,Y,cj),getSearchFilterOptions_imperative:t.createImperativeAdapter(e,ee,lj),getSearchResults_imperative:t.createImperativeAdapter(e,te,uj)}}(r))});let dj;let pj;let fj;e.getRecordNotifyChange=void 0,e.notifyRecordUpdateAvailable=void 0,e.notifyListViewSummaryUpdateAvailable=void 0,e.notifyListInfoSummaryUpdateAvailable=void 0,e.notifyListInfoUpdateAvailable=void 0,e.notifyQuickActionDefaultsUpdateAvailable=void 0,e.notifyListRecordCollectionUpdateAvailable=void 0,e.notifyAllListRecordUpdateAvailable=void 0,e.notifyAllListInfoSummaryUpdateAvailable=void 0,r.withDefaultLuvio(r=>{t.bindWireRefresh(r),dj=t.createLDSAdapter(r,"updateLayoutUserState",rL),pj=t.createLDSAdapter(r,"baseUpdateRelatedListInfo",kS),fj=t.createLDSAdapter(r,"baseUpdateRelatedListPreferences",yI),e.getRecordNotifyChange=ee(60,6e4,t.createLDSAdapter(r,"getRecordNotifyChange",Gc),{allowFunction:De.getRecordNotifyChangeAllowed,dropFunction:De.getRecordNotifyChangeDropped}),e.notifyRecordUpdateAvailable=ee(60,6e4,t.createLDSAdapter(r,"notifyRecordUpdateAvailable",jr),{allowFunction:De.notifyRecordUpdateAvailableAllowed,dropFunction:De.notifyRecordUpdateAvailableDropped}),e.notifyListViewSummaryUpdateAvailable=ee(60,6e4,t.createLDSAdapter(r,"notifyListViewSummaryUpdateAvailable",oi)),e.notifyListInfoSummaryUpdateAvailable=ee(60,6e4,t.createLDSAdapter(r,"notifyListInfoSummaryUpdateAvailable",ca)),e.notifyListInfoUpdateAvailable=ee(60,6e4,t.createLDSAdapter(r,"notifyListInfoUpdateAvailable",Hc)),e.notifyListRecordCollectionUpdateAvailable=ee(60,6e4,t.createLDSAdapter(r,"notifyListRecordCollectionUpdateAvailable",_o)),e.notifyQuickActionDefaultsUpdateAvailable=ee(60,6e4,t.createLDSAdapter(r,"notifyQuickActionDefaultsUpdateAvailable",Rl)),function(e){e.storeWatch(la,e=>{for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id.endsWith("__pagination"))continue;const{objectApiName:n,listViewApiName:o}=ga(r.id);fa(n,o,r.id)}})}(r),function(e){e.storeWatch(ua,e=>{for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id.endsWith("__pagination"))continue;const{objectApiName:n,recentLists:o}=ya(r.id);ma(n,o,r.id)}})}(r),e.notifyAllListRecordUpdateAvailable=ee(60,6e4,Fa(r)),e.notifyAllListInfoSummaryUpdateAvailable=ee(60,6e4,wa(r))}),Object.defineProperty(e,"isSupportedEntity",{enumerable:!0,get:function(){return o.isSupportedEntity}}),e.API_NAMESPACE=TC,e.FieldValueRepresentationVersion=sr,e.InMemoryRecordRepresentationQueryEvaluator=class{constructor(e){this.baseQueryEvaluator=e}queryByKey(e){return this.baseQueryEvaluator.queryByKey(this.buildKeyQuery(e),lw)}queryWhere(e,t){const r={namespace:it,representationName:Tr,id:n.Wildcard},o=t?this.buildKeyQuery(t):r;return this.baseQueryEvaluator.queryWhere(o,lw,e)}buildKeyQuery(e){return{id:n.Wildcard,...e,namespace:it,representationName:Tr}}},e.MRU=es,e.ObjectInfoDirectoryEntryRepresentationType=al,e.ObjectInfoRepresentationType=os,e.RECORD_FIELDS_KEY_JUNCTION=wC,e.RECORD_ID_PREFIX=_C,e.RECORD_REPRESENTATION_NAME=CC,e.RECORD_VIEW_ENTITY_ID_PREFIX=FC,e.RECORD_VIEW_ENTITY_REPRESENTATION_NAME=LC,e.RecordRepresentationRepresentationType=Tr,e.RecordRepresentationTTL=Ir,e.RecordRepresentationType=Tr,e.RecordRepresentationVersion=Nr,e.UiApiNamespace=it,e.buildRecordRepKeyFromId=function(e){return`${TC}::${CC}:${e}`},e.coerceFieldIdArray=_t,e.coerceLayoutModeArray=function(e){const t=gt(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=Vg(t[e]);if(void 0===n)return;bt.call(r,n)}if(0!==r.length)return It(r).sort()},e.coerceLayoutTypeArray=function(e){const t=gt(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=Mg(t[e]);if(void 0===n)return;bt.call(r,n)}if(0!==r.length)return It(r).sort()},e.coerceObjectId=Nt,e.coerceObjectIdArray=Eu,e.configuration=qe,e.createIngestRecordWithFields=(e,t)=>(r,n,o,a,i)=>{r.eTag="";const s={conflicts:{},serverRequestCount:0},c=_n(e,t,s)(r,n,o,a,i);return so(o,s),c},e.createLDSAdapterWithPrediction=ze,e.createRecordInputFilteredByEditedFields=function(e,t){const r=X();t.id&&(r.fields.Id=t.id);const n=e.fields,o=t.fields,a=A(n);for(let e=0,t=a.length;e<t;e++){const t=a[e];let i;o&&(i=o[t]),(!i||o&&n[t]!==i.value)&&(r.fields[t]=n[t])}return r},e.createRelatedListAdapterWithPrediction=Ke,e.createRelatedListPlusAdapterWithPrediction=We,e.extractRecordIdFromStoreKey=function(e){if(void 0===e||-1===e.indexOf(_C)&&-1===e.indexOf(FC))return;const t=e.split(":");return t[t.length-1].split("_")[0]},e.generateRecordInputForCreate=function(e,t){const r=H(e,e=>!0===e.createable,t);return r.apiName=e.apiName,delete r.fields.Id,r},e.generateRecordInputForUpdate=function(e,t){const r=H(e,e=>!0===e.updateable,t);return e.id,r.fields.Id=e.id,r},e.getFieldDisplayValue=function(e,t){const r=Y(e,t);if(void 0!==r)return Z(r)?r.displayValue:r},e.getFieldValue=function(e,t){const r=Y(e,t);if(void 0!==r)return Z(r)?r.value:r},e.getListInfoByNameAdapterFactory=Ph,e.getListInfosByObjectNameAdapterFactory=$y,e.getListObjectInfoAdapterFactory=Zh,e.getListRecordsByNameAdapterFactory=gL,e.getObjectInfoAdapterFactory=Ts,e.getObjectInfoDirectoryAdapterFactory=e=>function(t,r){const n=function(e,t){if(!Ze(e))return null;const r={};return Ye(r,t)?r:null}(t,ob);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},pb,db)},e.getObjectInfosAdapterFactory=Lb,e.getRecordActionsAdapterFactory=tf,e.getRecordAdapterFactory=Jc,e.getRecordAvatarsAdapterFactory=cA,e.getRecordId18=nr,e.getRecordId18Array=Us,e.getRecordIngestionOverride=function(){const{getRecordRepresentationIngestionOverride:e}=uw;return e()},e.getRecordInput=X,e.getRecordsAdapterFactory=yA,e.getRelatedListActionsAdapterFactory=Xf,e.getRelatedListInfoAdapterFactory=gS,e.getRelatedListInfoBatchAdapterFactory=qR,e.getRelatedListRecordsAdapterFactory=mN,e.getRelatedListRecordsBatchAdapterFactory=rN,e.getRelatedListsActionsAdapterFactory=Df,e.getRelatedListsInfoAdapterFactory=oS,e.getResponseCac
560heKeysContentDocumentCompositeRepresentation=JF,e.getTypeCacheKeysRecord=mr,e.ingestContentDocumentCompositeRepresentation=GF,e.ingestObjectInfo=us,e.ingestQuickActionExecutionRepresentation=yl,e.ingestRecord=co,e.instrument=Me,e.isStoreKeyRecordViewEntity=function(e){return e.indexOf(FC)>-1&&-1===e.indexOf(wC)},e.keyBuilderContentDocumentCompositeRepresentation=KF,e.keyBuilderFromTypeContentDocumentCompositeRepresentation=WF,e.keyBuilderFromTypeRecordRepresentation=Sr,e.keyBuilderObjectInfo=as,e.keyBuilderQuickActionExecutionRepresentation=dl,e.keyBuilderRecord=Cr,e.refresh=function(e){return t.refresh(e,"refreshUiApi")},e.registerPrefetcher=function(e,t){Ve.set(e,t)},e.updateLayoutUserState=(e,t,r,n,o)=>dj(e,t,r,n,o).then(()=>{}),e.updateRelatedListInfo=e=>{const t=pj(e);if(null!==t)return"then"in t?t.then(e=>e.data):"Error"===t.state?Promise.reject(t.error):Promise.resolve(t.data)},e.updateRelatedListPreferences=e=>{const t=fj(e);if(null!==t)return"then"in t?t.then(e=>e.data):"Error"===t.state?Promise.reject(t.error):Promise.resolve(t.data)},Object.defineProperty(e,"__esModule",{value:!0})});
561})();(function() { LWR.define("interop/uiRecordApi",["exports","force/ldsAdaptersUiapi"],function(e,t){Object.defineProperty(e,"createContentDocumentAndVersion",{enumerable:!0,get:function(){return t.createContentDocumentAndVersion}}),Object.defineProperty(e,"createRecord",{enumerable:!0,get:function(){return t.createRecord}}),Object.defineProperty(e,"createRecordInputFilteredByEditedFields",{enumerable:!0,get:function(){return t.createRecordInputFilteredByEditedFields}}),Object.defineProperty(e,"deleteRecord",{enumerable:!0,get:function(){return t.deleteRecord}}),Object.defineProperty(e,"generateRecordInputForCreate",{enumerable:!0,get:function(){return t.generateRecordInputForCreate}}),Object.defineProperty(e,"generateRecordInputForUpdate",{enumerable:!0,get:function(){return t.generateRecordInputForUpdate}}),Object.defineProperty(e,"getFieldDisplayValue",{enumerable:!0,get:function(){return t.getFieldDisplayValue}}),Object.defineProperty(e,"getFieldValue",{enumerable:!0,get:function(){return t.getFieldValue}}),Object.defineProperty(e,"getRecord",{enumerable:!0,get:function(){return t.getRecord}}),Object.defineProperty(e,"getRecordCreateDefaults",{enumerable:!0,get:function(){return t.getRecordCreateDefaults}}),Object.defineProperty(e,"getRecordInput",{enumerable:!0,get:function(){return t.getRecordInput}}),Object.defineProperty(e,"getRecordNotifyChange",{enumerable:!0,get:function(){return t.getRecordNotifyChange}}),Object.defineProperty(e,"getRecordUi",{enumerable:!0,get:function(){return t.getRecordUi}}),Object.defineProperty(e,"getRecords",{enumerable:!0,get:function(){return t.getRecords}}),Object.defineProperty(e,"notifyRecordUpdateAvailable",{enumerable:!0,get:function(){return t.notifyRecordUpdateAvailable}}),Object.defineProperty(e,"refresh",{enumerable:!0,get:function(){return t.refresh}}),Object.defineProperty(e,"unstable_createContentDocumentAndVersion",{enumerable:!0,get:function(){return t.createContentDocumentAndVersion}}),Object.defineProperty(e,"updateRecord",{enumerable:!0,get:function(){return t.updateRecord}}),Object.defineProperty(e,"__esModule",{value:!0})});
562})();LWR.define('lightning/uiRecordApi', ['interop/uiRecordApi'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/schema/User.FirstName', [], function() { return {"objectApiName":"User","fieldApiName":"FirstName"}; });LWR.define('@salesforce/schema/User.LastName', [], function() { return {"objectApiName":"User","fieldApiName":"LastName"}; });(function() { LWR.define("@salesforce/apex/B2BHeaderController.fetchCountry",["exports","lwc","force/ldsAdaptersApex"],function(e,t,o){const s=o.getApexInvoker("","@udd/01p4w000005fJfg","fetchCountry","false"),n=t.registerComponent(s,{tmpl:void 0,sel:"@salesforce-y2os3w4ccvp7rwa8wutlaif5wg32qrqjd31iw3qc1ygesgo9et8gn6zy1",apiVersion:66,enableSyntheticElementInternals:!0});e.default=n,Object.defineProperty(e,"__esModule",{value:!0})});
563})();(function() { LWR.define("@salesforce/apex/B2BHeaderController.fetchUserInfo",["exports","lwc","force/ldsAdaptersApex"],function(e,d,t){const n=t.getApexInvoker("","@udd/01p4w000005fJfg","fetchUserInfo","false"),p=d.registerComponent(n,{tmpl:void 0,sel:"@salesforce-6qb47voevvlfbadkvdn6feqztyqdvid8pp1mucaj9px0p6eudzdwa9m4ghb",apiVersion:66,enableSyntheticElementInternals:!0});
563e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
564})();(function() { LWR.define("commerce/config",["exports"],function(e){e.checkoutCartStatus="Checkout",e.currentCartName="current",e.currentRelease={currentRelease:"262",apiVersion:"v67.0"},e.defaultSortOrder="CreatedDateDesc",Object.defineProperty(e,"__esModule",{value:!0})});
565})();(function() { LWR.define("commerce/effectiveAccountApiInternal",["exports","@salesforce/webstore/Id","experience/store","commerce/config","experience/data","@salesforce/label/EffectiveAccountAPILocalizedError.effectiveAccountIdRequiredError"],function(e,t,c,o,n,s){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),i=r(s);const d=o.currentRelease.apiVersion;const u=o.currentRelease.apiVersion;const f="LOADEFFECTIVEACCOUNTS";function l(e){return function(e,t={}){const c=`/services/data/${d}/commerce/webstores/${e}/external-managed-accounts`,o={};t.includeMyAccount&&(o.includeMyAccount=t.includeMyAccount.toString());const s=n.composeUri(c,o);return n.fetchService(s).then(e=>e.externalManagedAccounts.map(e=>{const t={};return t.id=e.accountId,t.isCurrentUserDefaultAccount=e.isMyAccount,t.name=e.accountName,e.address?t.address={city:e.address.city,country:e.address.country,state:e.address.state,street:e.address.street,zip:e.address.zip}:t.address=e.address,t}))}(a.default,e.payload)}function A(e){return function(e={}){if(!e||"string"!=typeof e.effectiveAccountId||0===e.effectiveAccountId.trim().length)throw new TypeError(i.default);const t=`/services/data/${u}/commerce/webstores/${a.default}/effective-accounts/${e.effectiveAccountId}`,c={};e.fields?.length&&(c.fields=e.fields.join(","));const o=n.composeUri(t,c);return n.fetchService(o).catch(e=>{throw new Error(e.statusText)})}(e.payload)}const E=new c.Store("@@EffectiveAccount",{state:{effectiveAccount:{}},actions:{[f]:()=>{}}});function g(e){e.subscribeAction(f,()=>e.load())}!function(){const e=globalThis.sessionStorage?.getItem("EFFECTIVE_ACCOUNT_ID"),t=globalThis.sessionStorage?.getItem("EFFECTIVE_ACCOUNT_NAME");(e||t)&&E.set("effectiveAccount",{id:e??void 0,name:t??void 0})}();class m extends c.StoreAdapter{constructor(e){super(e,E,"managedAccounts",{loader:l,connectors:[g]})}}class p extends c.StoreAdapter{constructor(e){super(e,E,"details",{loader:A})}}const I={get accountId(){return"undefined"!=typeof window?globalThis.sessionStorage?.getItem("EFFECTIVE_ACCOUNT_ID"):E.get("effectiveAccount")?.id??null},get accountName(){return"undefined"!=typeof window?globalThis.sessionStorage?.getItem("EFFECTIVE_ACCOUNT_NAME"):E.get("effectiveAccount")?.name??null},update(e,t=null){const c={id:"string"==typeof e&&e.trim().length>0?e:void 0,name:"string"==typeof t&&t.trim().length>0?t:void 0};c.id?globalThis.sessionStorage?.setItem("EFFECTIVE_ACCOUNT_ID",c.id):globalThis.sessionStorage?.removeItem("EFFECTIVE_ACCOUNT_ID"),c.name?globalThis.sessionStorage?.setItem("EFFECTIVE_ACCOUNT_NAME",c.name):globalThis.sessionStorage?.removeItem("EFFECTIVE_ACCOUNT_NAME"),E.set("effectiveAccount",c)},subscribe:e=>E.subscribe("effectiveAccount",({type:t,payload:c},o,n)=>{e({type:t,payload:{accountId:c?.id,accountName:c?.name}},o,n)})};e.EffectiveAccountAdapter=p,e.ManagedAccountsAdapter=m,e.effectiveAccount=I,e.loadEffectiveAccounts=function(e){return E.dispatch(f,e)},Object.defineProperty(e,"__esModule",{value:!0})});
566})();(function() { LWR.define("commerce/effectiveAccountApi",["exports","commerce/effectiveAccountApiInternal"],function(e,t){Object.defineProperty(e,"EffectiveAccountAdapter",{enumerable:!0,get:function(){return t.EffectiveAccountAdapter}}),Object.defineProperty(e,"ManagedAccountsAdapter",{enumerable:!0,get:function(){return t.ManagedAccountsAdapter}}),Object.defineProperty(e,"effectiveAccount",{enumerable:!0,get:function(){return t.effectiveAccount}}),Object.defineProperty(e,"loadEffectiveAccounts",{enumerable:!0,get:function(){return t.loadEffectiveAccounts}}),Object.defineProperty(e,"__esModule",{value:!0})});
567})();(function() { LWR.define("commerce_unified_checkout/asyncFetch",["exports","experience/data"],function(t,e){async function s(t){const e=t.headers?.get("content-type");if("string"==typeof e&&e.includes("application/json")){const e=await t.text();if(e.trim().length)return JSON.parse(e)}return null}const r=(t,e,s)=>t;function n(t){return 200<=t&&t<300}class o{constructor(t,e){this.response=t,this.body=e}get httpStatus(){return this.response.status}get data(){return this.body}get error(){const{status:t,statusText:s,url:r}=this.response;return new e.FetchError({url:r,status:t,statusText:s,errors:e.transformConnectApiErrorResponse(this.body,{url:r})})}dataWithStatusOrThrow(t=n){if(!t(this.httpStatus))throw this.error;return{httpStatus:this.httpStatus,data:this.data}}}t.BodyWithStatus=o,t.FetchResponseAndData=class{constructor(t,e){this.response=t,this.data=e}typedData(){return this.data}},t.fetchServiceWithStatus=function(t,n){return e.fetchService(t,{...n,interceptResponse:r}).catch(t=>{if(t instanceof Response)return t;throw t}).then(t=>t instanceof Response?s(t).then(e=>new o(t,e)):t)},t.loadRetryDelayMs=function(t){if(t>14)throw new Error("async maximum wait exceeded");return t<=4?0:t>4&&t<=8?100*(t-4):750*Math.pow(2,t-8)},t.noopResponseInterceptor=r,t.responseJsonParser=s,Object.defineProperty(t,"__esMo
567dule",{value:!0})});
568})();(function() { LWR.define("commerce/utils",["exports"],function(t){function n(t){return t.substring(0,15)}const r={CLEAR_CART:"ClearCart",IMPORT_CART:"ImportCart",EXPORT_CART:"ExportCart"},e={IN_PROGRESS:"InProgress",INITIATED:"Initiated",COMPLETED:"Completed",FAILED:"Failed",CANCELLED:"Cancelled"};function a(t){return t===e.IN_PROGRESS||t===e.INITIATED}function i(t){return t===e.COMPLETED}function o(t){return t===e.FAILED}function s(t){return i(t)||o(t)||function(t){return t===e.CANCELLED}(t)}function u(t){return t===r.CLEAR_CART}function p(t){return t===r.IMPORT_CART}function O(t){return t===r.EXPORT_CART}function c(t){if(!t)return!1;const n=u(t.lastOperationType)||p(t.lastOperationType)||O(t.lastOperationType);return a(t.lastOperationStatus)&&n}function l(t){return!!t&&(u(t.lastOperationType)&&i(t.lastOperationStatus))}const f=["lastOperationStatus","lastOperationType","lastOperationFinishedAt","lastOperationJobId"];t.CART_OPERATION_STATUS=e,t.CART_OPERATION_TYPE=r,t.extractServerErrorMessage=function(t){const n=t,r=n?.status;if("number"!=typeof r||r<400||r>=500)return;const e=Array.isArray(n.errors)?n.errors.find(t=>t?.message?.trim())?.message:void 0;return e?.trim()||void 0},t.hasActiveAsyncOperation=c,t.hasActiveAsyncOperationFromWires=function(t,n){return Boolean(t?.isAsyncOperationInProgress)||c(n)},t.hasActivePollableOperation=function(t){return!!t&&(a(t.lastOperationStatus)&&u(t.lastOperationType))},t.hasCartOperationFieldsChanged=function(t,n){return t&&n?f.some(r=>t[r]!==n[r]):t!==n},t.hasCompletedOperation=l,t.hasFailedAsyncOperation=function(t){return!!t&&(u(t.lastOperationType)&&o(t.lastOperationStatus))},t.hasFinishedAsyncOperation=function(t){return!!t&&(u(t.lastOperationType)&&s(t.lastOperationStatus))},t.isCartCleared=function(t){return!!t&&l(t)},t.isCartOwner=function(t,r){return!(!t||!r)&&n(t)===n(r)},t.isClearCartOperation=u,t.isExportCartOperation=O,t.isImportCartOperation=p,t.isOperationActive=function(t){return!!t&&a(t.lastOperationStatus)},t.isOperationCompleted=function(t){return!!t&&i(t.lastOperationStatus)},t.isOperationFailed=function(t){return!!t&&o(t.lastOperationStatus)},t.normalizeId=n,t.shouldShowAsyncOperationBanner=function(t){if(!t)return!1;if(!(u(t.lastOperationType)||p(t.lastOperationType)))return!1;const n=a(t.lastOperationStatus),r=i(t.lastOperationStatus),e=o(t.lastOperationStatus);if(n)return!0;if(r||e){const{lastOperationFinishedAt:n}=t;if(!n)return!0;const r=new Date(n).getTime(),e=Date.now()-r,a=p(t.lastOperationType)?1728e5:3e4;return e>=0&&e<a}return!1},Object.defineProperty(t,"__esModule",{value:!0})});
569})();(function() { LWR.define("commerce/contextApiInternal",["exports","experience/store","experience/data","@salesforce/webstore/Id","commerce/config","@salesforce/community/basePath","@salesforce/community/Id","@app/isPreviewMode","@salesforce/i18n/locale","commerce/effectiveAccountApi","experience/uri"],function(e,t,n,r,o,s,a,i,u,c,l){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=p(r),g=p(s),f=p(a),m=p(i),b=p(u);const h=`/services/data/${o.currentRelease.apiVersion}/commerce/webstores/${d.default}/application-context`;async function E(){return n.fetchService(h,{asGuest:!0,interceptResponse:e=>e})}function C(e){return{get canUseGuestDataForAuthUsers(){return!!e?.usesSingleEntitlementPolicy&&!!e?.guestBrowsingEnabled},get usesUniversalPricebooks(){return!!e?.usesUniversalPricebooks&&!!e?.guestBrowsingEnabled},get propertiesEx(){return{highScaleCartEnabled:!!e?.propertiesEx?.highScaleCartEnabled,shopperCopilotUIEnabled:!!e?.propertiesEx?.shopperCopilotUIEnabled,paymentsLegacyFormsEnabled:!!e?.propertiesEx?.paymentsLegacyFormsEnabled}},get urlPathPrefix(){return g.default},get catalogSnapshotVersionId(){return e?.catalogSnapshotVersionId||""},get clientSidePaymentConfiguration(){return e?.clientSidePaymentConfiguration},get currencyIsoCode(){return function(e){if(e?.sessionDrivenCurrency)return null;if(1===e?.supportedCurrencies?.length)return e?.supportedCurrencies[0];if("function"==typeof globalThis.COMMERCE_CURRENCY_MAP){const t=globalThis.COMMERCE_CURRENCY_MAP?.(b.default);if(t&&e?.supportedCurrencies.includes(t))return t}return e?.defaultCurrency}(e)}}}function S(){return{lastName:globalThis.sessionStorage?.getItem("GUEST_USER_LAST_NAME")??null,email:globalThis.sessionStorage?.getItem("GUEST_USER_EMAIL")??null,phoneNumber:globalThis.sessionStorage?.getItem("GUEST_USER_PHONE_NUMBER")??null}}function A(e){const{lastName:t,email:n,phoneNumber:r}=e,o={lastName:"string"==typeof t&&t.trim().length>0?t:null,email:"string"==typeof n&&n.trim().length>0?n:null,phoneNumber:"string"==typeof r&&r.trim().length>0?r:null};o.lastName?globalThis.sessionStorage?.setItem("GUEST_USER_LAST_NAME",o.lastName):globalThis.sessionStorage?.removeItem("GUEST_USER_LAST_NAME"),o.email?globalThis.sessionStorage?.setItem("GUEST_USER_EMAIL",o.email):globalThis.sessionStorage?.removeItem("GUEST_USER_EMAIL"),o.phoneNumber?globalThis.sessionStorage?.setItem("GUEST_USER_PHONE_NUMBER",o.phoneNumber):globalThis.sessionStorage?.removeItem("GUEST_USER_PHONE_NUMBER")}const y="updated",x="updateEffectiveAccount",I="updateGuestUserContext";function v(){N.dispatch(y)}function U(e){e.subscribeLoad(v)}const N=new t.Store("@@Context",{onRehydration:[function(e){const t=e.get("session"),n=t?.["{}:{}"];
569n?.error||e.set("session",{...t,"{}:{}":{...n,data:{...n?.data,guestUserDetails:S()}}})}],actions:{[y]:{namespace:"context",handler:()=>{}},[x]:v,[I]:v}});let R,_;function T(){return _||E().then(e=>e.json()).catch(e=>n.throwConnectApiFetchError(e))}class w extends t.StoreAdapter{constructor(e){super(e,N,"appData",{loader:T,connectors:[U]})}}function M(){return t.getStoreAdapterValue(w)}function P(){return M().then(e=>function(e){return{get checkoutSettings(){return e?.checkoutSettings??{}},get guestBrowsingEnabled(){return Boolean(e?.guestBrowsingEnabled)},get guestCartEnabled(){return Boolean(e?.guestCartEnabled)},get guestCheckoutEnabled(){return Boolean(e?.guestCheckoutEnabled)},get splitShipmentEnabled(){return Boolean(e?.splitShipmentEnabled)},get cartCalculateEnabled(){return Boolean(e?.cartCalculateEnabled)},get placeOrderV2Enabled(){return Boolean(e?.placeOrderV2Enabled)},get isGuestCartCheckoutEnabled(){return Boolean(e?.guestCartCheckoutEnabled)},get logoutUrl(){return`${g.default}/webruntime/logout`},get networkId(){return f.default},get communityId(){return f.default},get webstoreId(){return d.default},get shippingCountries(){return e?.shippingCountries||[]},get taxType(){return e?.taxType||""},get country(){return e?.country||""},get markets(){return e?.markets||[]},get inventoryConfiguration(){return e?.inventoryConfiguration},get defaultCurrency(){return e?.defaultCurrency},get orderStatuses(){return e?.orderStatuses||[]},get quoteStatuses(){return e?.quoteStatuses||[]},get managedCheckoutVersion(){return e?.managedCheckoutVersion},get subscriptionConfig(){return e?.subscriptionConfig??{subscriptionPlusEnabled:!1,rlmSubscriptionEnabled:!1}},get giftingConfig(){return e?.giftingConfig??{isGiftingEnabled:!1,isGiftMessageEnabled:!1,isGiftWrapEnabled:!1}},get shopperCopilotUIEnabled(){return Boolean(e?.propertiesEx?.shopperCopilotUIEnabled)},get shopperConsentConfig(){return{enabled:Boolean(e?.shopperConsentEnabled)}},get skipPhoneNumberValidationEnabled(){return Boolean(e?.skipPhoneNumberValidationEnabled)},get productConfig(){return e?.productConfig??{configuratorFlowApiName:void 0}},get hideShippingAddress(){return Boolean(e?.hideShippingAddress)},get commerceMultiCartEnabled(){return Boolean(e?.commerceMultiCartEnabled)}}}(e))}function B(){return M().then(e=>C(e))}class G extends t.StoreAdapter{constructor(e){super(e,N,"app",{loader:P})}}class k extends t.StoreAdapter{constructor(e){super(e,N,"internal",{loader:B})}}function D(){return t.getStoreAdapterValue(G)}function V(e){_=e}function L(){return M().finally(()=>D())}async function O(e,t){try{const n=await E(),r=function(e){const t=e?.headers?.get("X-Salesforce-Cache-Control"),n=t?.match(/max-age=(\d+)/)?.[1],r=n?parseInt(n,10):NaN;return(Number.isNaN(r)?3e5:1e3*r)+Date.now()}(n),o=await n.json();return V(o),e.appContext={...e.appContext,[t]:{...o,expiry:r}},L()}catch(r){if(V(void 0),delete e.appContext?.[t],r instanceof Response)return n.throwConnectApiFetchError(r);throw r}}const $=o.currentRelease.apiVersion;let j;function F(e){e.subscribeAction(x,{before:({payload:e},t)=>{t.update("session",t=>({...t,effectiveAccountId:e?.id,effectiveAccountName:e?.name}))}})}function q(e){e.subscribeAction(I,{before:({payload:e},t)=>{t.update("session",t=>(t?.isLoggedIn||A(e),{...t,guestUserDetails:S()}))}})}function H(){let e,t;return async function(){const e=`/services/data/${$}/commerce/webstores/${d.default}/session-context`,t=c.effectiveAccount.accountId,r=t?l.composeUri(e,{effectiveAccountId:t}):e;return n.fetchService(r,{interceptResponse:n.connectApiResponseInterceptor})}().then(n=>(({accountId:e,accountName:t}=c.effectiveAccount),n.guestUser||A({}),function(e){return{get effectiveAccountId(){return e.accountId&&"000000000000000"!==e.accountId?e.accountId:void 0},get effectiveAccountName(){return e.accountName||void 0},get isLoggedIn(){return e&&!1===e.guestUser||!1},get userId(){return e?.userId},get userType(){return e?.userType},get userName(){return e?.profile?.firstName},get profile(){return e?.profile},get guestUserDetails(){return e?.guestUserDetails},get buyerGroups(){return e?.buyerGroups},get isPreview(){return m.default},get isAnonymousPreview(){return m.default}}}({...n,...e?{accountId:e}:{},...t?{accountName:t}:{},...n.guestUser?{guestUserDetails:S()}:{}}))).finally(()=>{j&&j.unsubscribe(),j=c.effectiveAccount.subscribe(({payload:n})=>{const r=n?.accountId;r&&r!==e&&(e=r,t=n?.accountName,N.dispatch(x,{id:e,name:t}))})})}class Y extends t.StoreAdapter{constructor(e){super(e,N,"session",{loader:H,connectors:[U,F,q]})}}const W=`/services/data/${o.currentRelease.apiVersion}/commerce/webstores/${d.default}/ai/configuration`;function X(){return async function(){return n.fetchService(W,{interceptResponse:e=>e})}().then(e=>e.json()).then(e=>function(e){return{get activityTrackingEnabled(){return!!e&&!0===e.activityTrackingEnabled},get catalogExists(){return!!e&&!0===e.catalogExists},get isDeployed(){return!!e&&!0===e.isDeployed},get host(){return e?e.host:void 0},get siteId(){return e?e.siteId:void 0},get tenant(){return e?e.tenant:void 0},get deploymentEnabled(){return!!e&&!0===e.deploymentEnabled}}}(e)).catch(e=>n.throwConnectApiFetchError(e))}class z extends t.StoreAdapter{constructor(e){super(e,N,"einstein",{loader:X})}}function J(){return t.getStoreAdapterValue(z)}const K=o.currentRelease.apiVersion;async function Q(){return async function(){const e=`/services/data/${K}/commerce/webstores/${d.default}/shopperAgent/context`,t=c.effectiveAccount.accountId,r=t?l.composeUri(e,{effectiveAccountId:t}):e;return n.fetchService(r,{interceptResponse:n.connectApiResponseInterceptor})}()}class Z extends t.StoreAdapter{constructor(e){super(e,N,"shopperAgent",{loader:Q})}}e.AppContextAdapter=G,e.EinsteinContextAdapter=z,e.InternalContextAdapter=k,e.SessionContextAdapter=Y,e.ShopperAgentContextAdapter=Z,e.contextStore=N,e.getAppContext=D,e.getAppContextData=M,e.getCachedAppContextData=function({crossRequestCache:e,locale:t}){const n="object"==typeof e&&null!==e?e:{},r=n.appContext?.[t]||{},{expiry:o,...s}=r,a=!s||!Object.keys(s).length;return a||V(s),!R&&function(e,t){return e||t<Date.now()||t-3e4<Date.now()}(a,o)&&(R=O(n,t).finally(()=>{R=void 0})),R&&a?R:R&&o<Date.now()?(V(void 0),delete n.appContext?.[t],R):L()},e.getCachedEinsteinContextData=function(e){return J()},e.getEinsteinContext=J,e.getInternalContext=function(){return t.getStoreAdapterValue(k)},e.getSessionContext=function(){return t.getStoreAdapterValue(Y)},e.updateGuestUserDetails=function(e){N.dispatch(I,e)}
569,Object.defineProperty(e,"__esModule",{value:!0})});
570})();LWR.define('@salesforce/gate/com.salesforce.commerce.cart.enableShareCart', [], () => {const gateObj = {
571    isOpen: (fallbackObj) => false,
572    hasError: () => false,
573};
574return Object.freeze(gateObj);});(function() { LWR.define("commerce/contextApi",["exports","commerce/contextApiInternal"],function(e,t){Object.defineProperty(e,"AppContextAdapter",{enumerable:!0,get:function(){return t.AppContextAdapter}}),Object.defineProperty(e,"SessionContextAdapter",{enumerable:!0,get:function(){return t.SessionContextAdapter}}),Object.defineProperty(e,"getAppContext",{enumerable:!0,get:function(){return t.getAppContext}}),Object.defineProperty(e,"getSessionContext",{enumerable:!0,get:function(){return t.getSessionContext}}),Object.defineProperty(e,"updateGuestUserDetails",{enumerable:!0,get:function(){return t.updateGuestUserDetails}}),Object.defineProperty(e,"__esModule",{value:!0})});
575})();(function() { LWR.define("commerce_unified_checkout/internationalization",["exports","@salesforce/i18n/locale"],function(t,e){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=n(e);const i=/^(?:\+?1[-. ]?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;function o(t){return!!t&&["CN","HU","JP","KR","MO","MY","SG","TW","VN"].includes(t)}t.buildFullName=function(t,e,n,r){return t||(o(r)?`${n??""} ${e??""}`:`${e??""} ${n??""}`).trim()},t.getCustomLocale=function(t){return`${r.default.split("-")[0]}-${t}`},t.getFormattedPhoneNumber=function(t){return t?.startsWith("+1")&&i.test(t)?t.replace(i,"($1) $2-$3"):t},t.isLastNameFirstCountry=o,t.northAmericanPhoneRegex=i,t.regionLabelCountryCodes=["JP","CN","TW","TH","VN","MY","KR"],t.splitFirstAndLast=function(t,e){let n="",r="";const i=o(e),l=t?.split(" ");return l&&2===l.length&&(i?(n=l?.[1],r=l?.[0]):(n=l?.[0],r=l?.[1])),{firstName:n,lastName:r}},t.splitName=function(t,e){let n="",r="";const i=o(e),l=t?.split(" ");return l&&l.length>0&&(i?(n=l?.[l.length-1],r=l?.[0]):(n=l?.[0],r=l?.[l.length-1])),{firstName:n,lastName:r}},Object.defineProperty(t,"__esModule",{value:!0})});
576})();(function() { LWR.define("commerce/checkoutCartApiInternal",["exports","experience/store","@salesforce/webstore/Id","experience/data","experience/uri","experience/utils","commerce/config","commerce/contextApiInternal","commerce/effectiveAccountApi","commerce_unified_checkout/asyncFetch","@salesforce/gate/com.salesforce.commerce.cart.enableShareCart","commerce/contextApi","experience/utilsInternal","commerce_unified_checkout/internationalization","commerce/utils"],function(t,e,r,n,o,c,a,s,i,u,d,p,l,y,f){function h(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var I=h(r),m=h(d);const A=a.currentRelease.apiVersion;function C(t,e,r,n,c,a,s){a&&void 0===n.effectiveAccountId&&(n.effectiveAccountId=a),s&&"DELETE"!==e&&void 0===n.currencyIsoCode&&(n.currencyIsoCode=s);const i=o.composeUri(t,n),u={"Content-Type":"application/json;  charset=utf-8"};c?.propertiesEx?.highScaleCartEnabled&&(u["X-Highscale"]="true");return{resource:i,requestInit:{method:e,...r?{body:JSON.stringify(r)}:{},headers:u}}}async function b(t,{method:e,body:r},n){const o=await s.getInternalContext(),u=i.effectiveAccount?.accountId,d=c.isPlainObject(o)&&o.currencyIsoCode,p=encodeURIComponent(n.cartId??a.currentCartName),l=p?"/"+p:"",y=`/services/data/${A}/commerce/webstores/${I.default}/carts${l}${t}`,{cartId:f,...h}=n;return C(y,e,r,h,o,u,d)}async function T(t,{method:e,body:r}){const{resource:o,requestInit:a}=await async function(t,{method:e,body:r}){const n=await s.getInternalContext(),o=i.effectiveAccount?.accountId,a=c.isPlainObject(n)&&n.currencyIsoCode;return C(`/services/data/${A}/commerce/webstores/${I.default}/carts${t}`,e,r,{},n,o,a)}(t,{method:e,body:r});return n.fetchService(o,{...a,interceptResponse:n.connectApiResponseInterceptor})}async function O(t){const{resource:e,requestInit:r}=await async function(t){const e=await s.getInternalContext(),r=i.effectiveAccount?.accountId,n=c.isPlainObject(e)&&e.currencyIsoCode,o=`/services/data/${A}/commerce/webstores/${I.default}/carts`,a={};return t&&(void 0!==t.sort&&(a.sort=t.sort),void 0!==t.pageNumber&&(a.pageNumber=t.pageNumber),void 0!==t.pageSize&&(a.pageSize=t.pageSize),void 0!==t.pageToken&&
576(a.page=t.pageToken),m.default.isOpen({fallback:!1})&&(void 0!==t.collaborationFilter&&(a.collaborationFilter=t.collaborationFilter),void 0!==t.includeCollaborators&&(a.includeCollaborators=t.includeCollaborators)),void 0!==t.includeCartPreview&&(a.includeCartPreview=t.includeCartPreview)),C(o,"GET",void 0,a,e,r,n)}(t);return n.fetchService(e,{...r,interceptResponse:n.connectApiResponseInterceptor})}async function _(){const{resource:t,requestInit:e}=await async function(){const t=await s.getInternalContext(),e=i.effectiveAccount?.accountId,r=c.isPlainObject(t)&&t.currencyIsoCode;return C(`/services/data/${A}/commerce/webstores/${I.default}/carts/export-jobs`,"GET",void 0,{},t,e,r)}();return n.fetchService(t,{...e,interceptResponse:n.connectApiResponseInterceptor})}async function E(){const{resource:t,requestInit:e}=await async function(){const t=await s.getInternalContext(),e=i.effectiveAccount?.accountId,r=c.isPlainObject(t)&&t.currencyIsoCode;return C(`/services/data/${A}/commerce/webstores/${I.default}/carts/export-jobs`,"DELETE",void 0,{},t,e,r)}();return n.fetchService(t,{...e,interceptResponse:n.connectApiResponseInterceptor})}async function S(){const{resource:t,requestInit:e}=await async function(){const t=await s.getInternalContext(),e=i.effectiveAccount?.accountId,r=c.isPlainObject(t)&&t.currencyIsoCode;return C(`/services/data/${A}/commerce/webstores/${I.default}/carts/export/fields`,"GET",void 0,{},t,e,r)}();return n.fetchService(t,{...e,interceptResponse:n.connectApiResponseInterceptor})}async function v(t,{method:e,body:r},o={}){const{resource:c,requestInit:a}=await b(t,{method:e,body:r},o);return n.fetchService(c,{...a,interceptResponse:n.connectApiResponseInterceptor})}async function g(t,{method:e,body:r},n={}){const{resource:o,requestInit:c}=await b(t,{method:e,body:r},n);return u.fetchServiceWithStatus(o,c)}function R({cartId:t,jobId:e,type:r}){const n={};e&&(n.jobId=e),r&&(n.type=r);const o=t??"current";return v("/actions/abort",{method:"POST",body:Object.keys(n).length>0?n:void 0},{cartId:o})}function P(t){return v("/cart-items",{method:"GET"},t)}function N({jobId:t}){return async function(t,e){const r=await s.getInternalContext(),o=i.effectiveAccount?.accountId,a=c.isPlainObject(r)&&r.currencyIsoCode,u=`/services/data/${A}/commerce/webstores/${I.default}/carts/export-jobs/${encodeURIComponent(t)}`,{resource:d,requestInit:p}=C(u,"PATCH",e,{},r,o,a);return n.fetchService(d,{...p,interceptResponse:n.connectApiResponseInterceptor})}(t,{status:"Cancelled"})}function w({jobId:t}){return async function(t){const e=await s.getInternalContext(),r=i.effectiveAccount?.accountId,o=c.isPlainObject(e)&&e.currencyIsoCode,a=`/services/data/${A}/commerce/webstores/${I.default}/carts/export-jobs/${encodeURIComponent(t)}`,{resource:u,requestInit:d}=C(a,"DELETE",void 0,{},e,r,o);return n.fetchService(u,{...d,interceptResponse:n.connectApiResponseInterceptor})}(t).then(t=>({..."number"==typeof t?.deletedCount?{deletedCount:t.deletedCount}:{}}))}const D=[{name:"Sku",label:"SKU",isMandatory:!0},{name:"Quantity",label:"Quantity",isMandatory:!0}];function k({cartId:t,exportName:e,fieldNames:r}){return async function(t,e){const r=await s.getInternalContext(),o=i.effectiveAccount?.accountId,a=c.isPlainObject(r)&&r.currencyIsoCode,u=`/services/data/${A}/commerce/webstores/${I.default}/carts/${encodeURIComponent(t)}/export-jobs`,{resource:d,requestInit:p}=C(u,"POST",e,{},r,o,a);return n.fetchService(d,{...p,interceptResponse:n.connectApiResponseInterceptor})}(t,{exportConfiguration:{exportSource:{fileName:e,exportFields:{fields:{cartItem:r}}}}})}function U(){return p.getSessionContext().then(t=>!t.isLoggedIn).catch(t=>(console.warn("[checkoutCartApi/isGuestUser] getSessionContext failed",t),!0))}function x(t){return new Promise(e=>setTimeout(e,t))}function L(t,e){return function({contextId:t,skipConstraintRuleValidation:e}){const r={};return!0===e&&(r.skipConstraintRuleValidation=!0),v("/cart-items/actions/apply-configuration",{method:"POST",body:{contextId:t}},r)}(e)}const G=a.currentRelease.apiVersion;function $(t,{method:e,body:r},n){const c=n.checkoutId??"active",a=c?"/"+encodeURIComponent(c):"",s=`/services/data/${G}/commerce/webstores/${I.default}/checkouts${a}${t}`,u=i.effectiveAccount?.accountId,{checkoutId:d,disableEffectiveAccount:p,...l}=n;!p&&u&&(l.effectiveAccountId=u);return{resource:o.composeUri(s,l),requestInit:{method:e,...r?{body:JSON.stringify(r)}:{}}}}function j(t,{method:e,body:r},o={}){const{resource:c,requestInit:a}=$(t,{method:e,body:r},o);return n.fetchService(c,{...a,interceptResponse:n.connectApiResponseInterceptor})}function F(t,{method:e,body:r},n){const{resource:o,requestInit:c}=$(t,{method:e,body:r},n);return u.fetchServiceWithStatus(o,c)}function q(t){return F("",{method:"PUT",body:t},{checkoutId:""})}function M(t,e){return F("/orders/actions",{method:"POST",body:t},e)}const H="INTERNAL_ERROR",Y="SSR_NO_POLLING",V="ACTION_CART_STATUS_UPDATE",K="ACTION_CART_STATUS_PROCESSING",z="ACTION_CART_RELOAD",W="ACTION_CHECKOUT_RELOAD",J="notify",B="ACTION_MUTATE",Q="ACTION_POLL_CCA_READY",X="ACTION_WAIT_CCA_READY",Z="ACTION_RETRY_CCA_READY",tt="ACTION_CART_PRESERVE",et="ACTION_CART_CLONE",rt="ACTION_CLEAR_CART_CONTENT",nt="ACTION_CART_MAKE_PRIMARY",ot="cart:cancelOperation",ct="ACTION_CART_CREATE",at="ACTION_CART_EDIT",st="ACTION_CART_LOAD_ASYNC",it="ACTION_CARTS_LOAD",ut="ACTION_CART_ITEMS_LOAD_ASYNC",dt="ACTION_CART_DELETE",pt="ACTION_CART_ITEM_ADD",lt="ACTION_CART_ITEMS_ADD",yt="ACTION_CART_ITEM_UPDATE",ft="ACTION_CART_ITEM_DELETE",ht="ACTION_CART_COUPON_APPLY",It="ACTION_CHECKOUT_COUPON_APPLY",mt="ACTION_CART_COUPON_DELETE",At="ACTION_CHECKOUT_COUPON_DELETE",Ct="ACTION_CART_COLLABORATOR_ADD",bt="ACTION_CART_COLLABORATOR_DELETE",Tt="ACTION_CART_COLLABORATOR_UPDATE",Ot="ACTION_CART_INVENTORY_RESERVE",_t="ACTION_CART_PRODUCTS_LOAD_ASYNC",Et="ACTION_DELIVERY_GROUPS_LOAD_ASYNC",St="ACTION_DELIVERY_GROUP_LOAD_ASYNC",vt="ACTION_DELIVERY_GROUP_ADD",gt="ACTION_DELIVERY_GROUP_UPDATE",Rt="ACTION_DELIVERY_GROUP_DELETE",Pt="ACTION_DELIVERY_GROUP_ARRANGE_ITEMS",Nt="ACTION_CHECKOUT_NOTIFY",wt="ACTION_CHECKOUT_START_ASYNC",Dt="ACTION_CHECKOUT_LOAD_ASYNC",kt="ACTION_CHECKOUT_UPDATE",Ut="ACTION_CHECKOUT_PREPARE_ORDER",xt="ACTION_CHECKOUT_SUBMIT_ORDER",Lt="ACTION_CHECKOUT_PLACE_ORDER",Gt="orderPlaced",$t="ACTION_ADDRESS_CREATE",jt="ACTION_ADDRESS_UPDATE",Ft="CPA disabled",qt="ACTION_CHILD_CART_ITEMS_LOAD",Mt="ACTION_CART_ITEM_ADD_CONFIGURATION",Ht="ACTION_CART_ITEM_UPDATE_CONFIGURATION";let Yt;function Vt(){return Yt}function Kt(t){t.delete("checkoutIdActive")}
576function zt(t){return t.get("checkoutIdActive")}function Wt(t){if(t.httpStatus&&200<=t.httpStatus&&t.httpStatus<300)return t.data;if(422===t.httpStatus){const e=function(t){if(!t||"object"!=typeof t)return null;const e=t.errors,r=e?.[0];return r?.detail?r:null}(t.body);if(e){const t=new Error(e.detail);throw t.errors=[e],t}}throw t.error}function Jt(t){return!!t&&(200<=t&&t<300||422===t)}function Bt(t){return!!t&&(200===t||422===t)}function Qt(t){return Bt(t.checkoutStatus)}function Xt(t={}){const{startOptions:e,deferNotify:r,omitAddressName:n,...o}=t,c={};for(const[t,e]of Object.entries(o))void 0!==e&&(c[t]=e);return c}function Zt(t,e){return t.addressId?{id:t.addressId}:{city:t.city,country:t.country,...!e&&{name:t.name},firstName:t.firstName,lastName:t.lastName,companyName:t.companyName,postalCode:t.postalCode,region:t.region,street:t.street,shipToPhoneNumber:t.phoneNumber||t.shipToPhoneNumber}}function te(t){if(t=function(t){const e=l.deepClone(t).value;return e.deliveryGroups?.items.reverse(),e.deliveryGroups?.items.length&&!e.deliveryGroups.items.find(t=>t.isDefault)&&(e.deliveryGroups.items[0].isDefault=!0),e.deliveryGroups?.items.forEach(t=>{t.deliveryAddress?.shipToPhoneNumber&&(t.deliveryAddress.phoneNumber=t.deliveryAddress.shipToPhoneNumber,delete t.deliveryAddress.shipToPhoneNumber)}),e.deliveryGroups&&(e.deliveryGroups.items=e.deliveryGroups.items.filter(t=>{const e=t.totalCartItemQuantity;if(null!=e){const t=Number(e);return Number.isFinite(t)&&t>0}return Number(t.totalCartItemCount)>0||void 0===t.totalCartItemCount})),e}(t),"/commerce/integrations/inventory"===t?.errors?.[0]?.type)throw new Error("INSUFFICIENT_INVENTORY");if(!t.checkoutId)throw new Error("NULL_CHECKOUTID");return t}async function ee(t,e){const r={...e};e.deliveryAddressInput&&!e.deliveryAddressInput.shouldUseDefaultAddress&&(r.deliveryAddressInput=Zt(e.deliveryAddressInput));let n=await q(r);if((c=n.httpStatus)&&(410===c||422===c)){const t=n.data.checkoutId;await(o={...t&&{checkoutId:t}},j("",{method:"DELETE"},o)),n=await q(r)}var o,c;return te({checkoutStatus:n.httpStatus,...n.dataWithStatusOrThrow(Jt).data})}const re={includeCartData:!0};function ne(t,e){return e.reduce((e,r)=>(void 0!==t[r]&&(e[r]=t[r]),e),{})}function oe(t){return 409!==t?.status}function ce(t){const e=t.cartSummary?.asyncOperationStatus;return"Processing"!==e}function ae(t,e){return 1===t.pageNumber&&25===t.pageSize&&t.includePromotions&&t.includeCoupons&&"CreatedDateDesc"===t.sort&&"*"===t.productFields}function se(t){return[pt,lt].includes(t)}function ie(t,e){const r={};if(e.type===pt){const n=e.response;ae(t.payload,e.payload)&&n?.cartData&&ce(n.cartData)&&(r.response=n.cartData)}return r}function ue(t){return{includePromotions:!0,includeCoupons:!0,includeCollaborators:!0,sort:a.defaultSortOrder,cartId:a.currentCartName,productFields:"*",pageNumber:1,pageSize:25,...t}}function de(t){return ne(t,["isProcessing","isAsyncOperationInProgress","isReadyForCheckout","isGuestCartEnabled","isGuestCheckoutEnabled","preserveGuestCartNumberOfProductsWithError"])}function pe(t){return{sort:a.defaultSortOrder,cartId:t?.cartId||a.currentCartName,cartItemId:t?.cartItemId,productFields:t?.productFields||"",pageSize:200}}function le(t){return!!t&&(200<=t&&t<300||422===t)}function ye(t){return 200===t.httpStatus||422===t.httpStatus}function fe(t){if(!t.deliveryAddress?.shipToPhoneNumber)return t;const{shipToPhoneNumber:e,...r}=t.deliveryAddress;return{...t,deliveryAddress:{phoneNumber:e,...r}}}function he(t){if(!t.deliveryAddress)return t;const e=t.deliveryAddress;if(e.id||e.addressId)return{...t,deliveryAddress:{id:e.id??e.addressId}};const r=y.buildFullName(e.name,e.firstName,e.lastName,e.country);return{...t,deliveryAddress:{city:e.city,country:e.country,name:r,firstName:e.firstName,lastName:e.lastName,companyName:e.companyName,postalCode:e.postalCode,region:e.region,street:e.street,shipToPhoneNumber:e.shipToPhoneNumber??e.phoneNumber}}}function Ie(t){return{pageSize:25,pageNumber:1,...t}}function me(t){return{limit:20,cartItemLimit:0,...t}}function Ae(t){const{nextPageToken:e,...r}=t;return{...e&&{page:e},...r}}function Ce(t){const{canDeleteEmptyDeliveryGroups:e,...r}=t.options??{};return{...t,options:{deleteEmptyDeliveryGroups:e??!1,...r}}}const be="guestCartId";function Te(t,e,r){if("undefined"==typeof window)return Promise.resolve();let n;return t.payload?.type===ut&&(n=t.payload.response?.cartSummary?.cartId),async function(t){await U()&&t&&globalThis.localStorage?.setItem(be,t)}(n)}async function Oe(t){const e=await U(),r=globalThis.localStorage?.getItem(be),n=globalThis.sessionStorage?.getItem("PAYMENT_LINK_ID");if(!e&&r&&!n){globalThis.localStorage?.removeItem(be);try{const e=await async function(t,e){return t.dispatch(B,{type:tt,payload:{cartId:e}})}(t,r);
576return e.numberOfProductsWithError&&t.dispatch(V,{preserveGuestCartNumberOfProductsWithError:e.numberOfProductsWithError}),e}catch(t){console.warn("[cartPreserveGuestOnceOnLogin] failed",t)}}}let _e=null;function Ee(t){return"undefined"==typeof window?Promise.resolve(void 0):(_e||(_e=Oe(t)),_e)}async function Se(t,e){await function(t,e){if("undefined"!=typeof window&&t.payload?.type&&[Nt,Dt,wt].includes(t.payload.type)){const r=t.payload.response?.checkoutId;!function(t,e){e&&t.set("checkoutIdActive",e)}(e,r)}}({type:J,payload:e},t),await Te({type:J,payload:e}),await t.dispatch(J,e)}let ve=[];let ge=null,Re=0;async function Pe(t,e){for(;Re||ge;)try{await ge}catch(t){}}const Ne=`/services/data/${a.currentRelease.apiVersion}/commerce/webstores/${I.default}/`;function we(t,e=!0){const r=`${Ne}${t}`,o=i.effectiveAccount?.accountId;return o&&e?n.composeUri(r,{effectiveAccountId:o}):r}async function De(t){const e=function(t){const e={};for(const[r,n]of Object.entries(t))void 0!==n&&(e[r]=String(n));return e}(t),r=i.effectiveAccount.accountId||"current",o=n.composeUri(we(`accounts/${r}/addresses`,!1),e);return await n.fetchService(o,{method:"GET",interceptResponse:n.connectApiResponseInterceptor})}const ke=()=>{},Ue=new e.Store("@@CartBase",{actions:{[V]:function(t,e){return t.update("cartStatusShared",t=>{const r={...t,...e};return void 0!==e.isProcessing&&(r.isProcessingShadow=e.isProcessing),r.isProcessing=Boolean(r.isProcessingCount||r.isProcessingShadow),r}),t.get("cartStatusShared")},[K]:function(t,e){return t.update("cartStatusShared",t=>{const r={...t};return r.isProcessingCount=r.isProcessingCount??0,e?r.isProcessingCount++:r.isProcessingCount=Math.max(0,r.isProcessingCount-1),r.isProcessing=Boolean(r.isProcessingCount||r.isProcessingShadow),r}),t.get("cartStatusShared")},[J]:function(t,e){return Promise.resolve(e)},[B]:async function(t,e){if(!e)throw new Error(H);try{if(e.silent||await t.dispatch(K,!0),r=e.type,"undefined"!=typeof window&&r!==tt&&await Ee(t),"undefined"!=typeof window&&e.wait){const r=ve.find(t=>e.wait(t.type));if(r){const n=await r.promise;if(e.notify){const r=e.notify(e,n);if(r.response)return await Se(t,{...e,...r}),r.response}}}const n=t.dispatch(e.type,e.payload),o=n.then(t=>({response:t})).catch(t=>({error:t})).then(t=>({...e,...t})),c=o.then(e=>Se(t,e));ve.push({type:e.type,promise:o});try{return await n}finally{ve=ve.filter(t=>t.promise!==o),await c}}finally{e.silent||await t.dispatch(K,!1)}var r},[Q]:async function(t,e){if(!e)throw new Error(H);if("undefined"==typeof window){const r=await t.dispatch(B,e);if(e.asyncResponse||e.ready(r))return r;const n=new Error(Y);throw await t.dispatch(J,{...e,error:n}),n}try{await t.dispatch(K,!0);try{for(Re++;ge;)try{await ge}catch(t){}}finally{Re--}const r=t.dispatch(B,e);Re++;const n=ge=r.then(async r=>{if(e.ready(r))return r;for(let r=1;;r++){await x(u.loadRetryDelayMs(r));const n=await t.dispatch(B,e);if(e.ready(n))return n}}).catch(t=>e.asyncResponse?(console.warn("[pollCcaReadyAction] polling failed",t),Promise.resolve({})):Promise.reject(t)).finally(()=>{Re--,ge=null});return await(e.asyncResponse?r:n)}finally{await t.dispatch(K,!1)}},[X]:Pe,[Z]:async function(t,e){if(!e)throw new Error(H);try{e.silent||await t.dispatch(K,!0);for(let r=1;;r++){await Pe();try{return await t.dispatch(B,e)}catch(t){if(r>=3||e.noRetry?.(t))throw t;await x(4e3)}}}finally{e.silent||await t.dispatch(K,!1)}},[z]:ke,[tt]:function(t,e){return function(t){return v("/actions/preserve",{method:"POST"},t)}(e)},[et]:function(t,e){return function({cartId:t}){return v("/actions/clone",{method:"POST",body:{cartId:t}},{cartId:t,targetType:"PayNowReadOnly"})}(e)},[nt]:function(t,e){return function({cartId:t}){return v("/actions/make-primary",{method:"POST"},{cartId:t})}(e)},[ot]:function(t,e){return R({cartId:e?.cartId,jobId:e?.jobId,type:e?.type})},[ct]:function(t,e){return async function(t){const e={};return t&&(e.name=t.name,void 0!==t.description&&null!==t.description&&(e.description=t.description),void 0!==t.isSecondary&&null!==t.isSecondary&&(e.isSecondary=t.isSecondary),void 0!==t.type&&null!==t.type&&(e.type=t.type)),T("",{method:"POST",body:e})}(e)},[at]:function(t,e){return async function(t){const{cartId:e,name:r,description:n,shouldConvertToSecondary:o}=t,c={};return void 0!==r&&(c.name=r),null!=n&&(c.description=n),void 0!==o&&(c.shouldConvertToSecondary=o),v("",{method:"PATCH",body:c},{cartId:e??"current"})}(e)},[st]:async function(t,e){return{cartSummary:await v("/compact-summary",{method:"GET"},{cartId:""})}},[it]:function(t,e){return O(e).then(t=>{const e=Array.isArray(t?.carts)?t.carts:[];return{...t,carts:e}})},[ut]:function(t,e){return P(e)},[rt]:function(t,e){return function({cartId:t}){return v("/actions/clear",{method:"POST"},{cartId:t})}(e)},[dt]:function(t,e){return async function(t){return v("",{method:"DELETE"},t?.cartId?{cartId:t.cartId}:{})}(e)},[pt]:function(t,e){return function(t){const{options:e,...r}=t;return v("/cart-items",{method:"POST",body:{...r,type:"Product"}},e)}(e)},[lt]:function(t,e){return function(t){return v("/cart-items/batch",{method:"POST",body:{inputs:t.map(t=>({richInput:{...t,type:"Product"}}))}})}(e)},[yt]:function(t,e){return async function({options:t,itemId:e,quantity:r}){return v(`/cart-items/${e}`,{method:"PATCH",body:{quantity:r}},t)}(e)},[ft]:function(t,e){return async function({itemId:t,cartId:e}){return v(`/cart-items/${t}`,{method:"DELETE"},e?{cartId:e}:{})}(e)},[ht]:function(t,e){return async function({couponCode:t,cartId:e}){return v("/cart-coupons",{method:"POST",body:{couponCode:t}},e?{cartId:e}:{})}(e)},[mt]:function(t,e){return async function({couponId:t,cartId:e}){return v(`/cart-coupons/${t}`,{method:"DELETE"},e?{cartId:e}:{})}(e)},[Ct]:function(t,e){return async function({collaborators:t,cartId:e}){return v("/collaborators",{method:"POST",body:{collaborators:t}},e?{cartId:e}:{})}(e)},[bt]:function(t,e){return async function({collaboratorId:t,cartId:e}){return v(`/collaborators/${encodeURIComponent(t)}`,{method:"DELETE"},e?{cartId:e}:{})}(e)},[Tt]:function(t,e){return async function({collaborators:t,cartId:e}){return v("/collaborators",{method:"PATCH",body:{collaborators:t}},e?{cartId:e}:{})}(e)},[Ot]:async function(t,e){return async function(t,e){return v("/inventory-reservations",{method:"PUT",body:{durationInSeconds:t}},e?.cartId?{cartId:e.cartId}:{})}(await p.getAppContext().then(t=>t.inventoryConfiguration?.inventoryDefaultSource?.reservationInSeconds).catch(t=>{}).then(t=>t??14400),e)},[_t]:function(t,e){return function(t){return v("/products",{method:"GET"},t)}(e)},[Et]:function(t,e){const{apiOptions:r,...n}=e;return function(t,e){return g("/delivery-groups",{method:"GET"},{...t,...e})}(n,r).then(t=>t.dataWithStatusOrThrow(le).data).then(t=>({...t,items:t.items?.map(fe)}))},[St]:function(t,e){return function(t){const{deliveryGroupId:e,...r}=t;return g(`/delivery-groups/${e}`,{method:"GET"},r)}(e).then(t=>t.dataWithStatusOrThrow(le)).then(t=>({...t,data:fe(t.data)}))},[vt]:function(t,e){const{apiOptions:r,...n}=e;return function(t,e){return v("/delivery-groups",{method:"POST",body:t},e)}
576(he(n),r).then(t=>fe(t))},[gt]:function(t,e){const r=Vt();return function(t,e={}){return v(`/delivery-groups/${t.id}`,{method:"PATCH",body:t},e)}(he(e),r?{cartId:r}:{}).then(t=>fe(t))},[Rt]:function(t,e){const{deliveryGroupId:r,apiOptions:n}=e;return function(t,e){return v(`/delivery-groups/${t}`,{method:"DELETE"},e)}(r,n)},[Pt]:function(t,e){const{apiOptions:r,...n}=e;return function(t,e){return g("/delivery-groups/actions/arrange-items",{method:"POST",body:{arrangements:t.arrangements}},{...t.options,...e})}(n,r).then(t=>({asyncOperationStatus:202===t.httpStatus?"Processing":"Completed",...t.dataWithStatusOrThrow(le).data})).then(t=>({...t,items:t.items?.map(fe)}))},[W]:function(t,e){return Kt(t),Promise.resolve()},[Nt]:ke,[wt]:ee,[Dt]:async function(t,e){const r={...e};return r.checkoutId||(r.checkoutId=await zt(t)),!r.checkoutId&&r.startOptions?ee(0,r.startOptions):(n=Xt(r),F("",{method:"GET"},n)).then(t=>te({checkoutStatus:t.httpStatus,...t.dataWithStatusOrThrow(Jt).data}));var n},[kt]:async function(t,e){const r=await zt(t),n=r&&!e.options?.checkoutId?{...e.options,checkoutId:r}:e.options;return function(t,e){return F("",{method:"PATCH",body:t},e)}({...e.body,...e.body.deliveryAddress&&{deliveryAddress:Zt(e.body.deliveryAddress,n?.omitAddressName)}},Xt(n)).then(t=>te({checkoutStatus:t.httpStatus,...t.dataWithStatusOrThrow(Jt).data}))},[It]:function(t,e){return function({couponCode:t}){return j("/coupons",{method:"POST",body:{couponCode:t}})}(e)},[At]:function(t,e){return function({couponId:t}){return j(`/coupons/${t}`,{method:"DELETE"})}(e)},[Ut]:async function(t,e){const r=await zt(t);return M({actions:[{action:"prepare"}]},Xt(r&&!e.options?.checkoutId?{...e.options,checkoutId:r}:e.options)).then(t=>Wt(t))},[xt]:async function(t,e){const r=await zt(t),{options:n,...o}=e,c=r&&!n?.checkoutId?{...n,checkoutId:r}:n;return M({actions:[{...Object.keys(o).length&&{parameters:o},action:"submit"}]},Xt(c)).then(e=>{const r=Wt(e);return Kt(t),t.dispatch(Gt),r})},[Lt]:async function(t,e){const r=await zt(t),n=r&&!e.options?.checkoutId?{...e.options,checkoutId:r}:e.options;return(o=Xt(n),F("/orders",{method:"POST"},o)).then(e=>{const r=Wt(e);return Kt(t),t.dispatch(Gt),r});var o},[Gt]:{namespace:"checkout",handler:ke},[qt]:function(t,e){const{cartItemId:r,...n}=e;return r?function(t,e){return v(`/cart-items/${t}/children`,{method:"GET"},e)}(r,n):Promise.resolve({childCartItems:void 0,count:void 0,currentPageToken:void 0,currentPageUrl:void 0,hasErrors:void 0,nextPageToken:void 0,nextPageUrl:void 0,previousPageToken:void 0,previousPageUrl:void 0,totalItemCount:void 0})},[Mt]:L,[Ht]:L}}),xe=new e.Store("@@CheckoutAddress",{actions:{[$t]:async function(t,e){return async function(t){const e=we(`accounts/${i.effectiveAccount.accountId||"current"}/addresses`,!1);return n.fetchService(e,{method:"POST",body:JSON.stringify(t),interceptResponse:n.connectApiResponseInterceptor})}(e)},[jt]:async function(t,e){if(!e.addressId)throw new Error("addressId is required");const{addressId:r,fields:o,...c}=e;return async function(t,e){const r=we(`accounts/${i.effectiveAccount.accountId||"current"}/addresses/${t}`,!1);return n.fetchService(r,{method:"PATCH",body:JSON.stringify(e),interceptResponse:n.connectApiResponseInterceptor})}(e.addressId,c)}}});async function Le(t){return de(await Ue.dispatch(V,t))}function Ge(t){return Le(ne(t,["isProcessing","isAsyncOperationInProgress","isReadyForCheckout","preserveGuestCartNumberOfProductsWithError"]))}async function $e(){return de(await Ue.dispatch(K,!0))}async function je(){return de(await Ue.dispatch(K,!1))}async function Fe(){const[t,e]=await Promise.allSettled([p.getAppContext(),U()]),r=e?.value,n=t?.value?.guestCartEnabled,o=t?.value?.guestCheckoutEnabled;return Le({isGuestCartEnabled:!r||!!n,isGuestCheckoutEnabled:!r||!!o})}const qe=new class{constructor(){this._isProcessing=!1}updateProcessing(t){return t&&!this._isProcessing?(this._isProcessing=!0,$e()):!t&&this._isProcessing?(this._isProcessing=!1,je()):Promise.resolve()}};function Me(t){t.subscribeAction(J,function(t){return(e,r,n)=>{const o=t.config,c=r.get("cartContentsAdapter");if(c)if(e.payload?.type&&[pt,yt].includes(e.payload.type)){const n=e.payload.response;if(ae(o,e.payload.payload)&&!(c instanceof Error)&&n?.cartData&&ce(n.cartData))return void r.set("cartContentsAdapter",n.cartData);t.load()}else if(e.payload?.type&&[Dt,kt].includes(e.payload.type)&&!e.payload.error){qe.updateProcessing(!0);const n=e.payload.response;
576if(n&&Qt(n)){if(!(c instanceof Error)&&n.cartSummary&&n.cartSummary.asyncOperationStatus){const t={...c,cartSummary:n.cartSummary};r.set("cartContentsAdapter",t)}t.load()}}}}(t)),t.subscribeAction(z,()=>t.load()),[ht,mt,ft,lt,tt,Pt,It,At,Lt,Mt,Ht].forEach(e=>t.subscribeAction(e,{before:()=>qe.updateProcessing(!0),after:()=>t.load(),error:()=>qe.updateProcessing(!1)})),t.subscribeAction(dt,{before:()=>qe.updateProcessing(!0),after:(t,e)=>{const r={...e.get("cartContentsAdapter"),cartItems:[],cartSummary:void 0,cartPromotions:void 0,cartCoupons:void 0};e.set("cartContentsAdapter",r),qe.updateProcessing(!1)},error:()=>qe.updateProcessing(!1)})}function He(t,e){return Je(t?.payload).finally(()=>{qe.updateProcessing(!1)})}class Ye extends e.StoreAdapter{constructor(t){super(t,Ue,"cartContentsAdapter",{loader:He,connectors:[Me],discard:!0})}update(t,e){super.update(ue(t),e)}}class Ve{constructor(t,e,r,n){this._fetchFn=void 0,this._onData=void 0,this._shouldContinue=void 0,this._config=void 0,this._retryCount=0,this._stopped=!1,this._isExecuting=!1,this._timerId=null,this._fetchFn=t,this._onData=e,this._shouldContinue=r,this._config=n}start(){null!==this._timerId||this._isExecuting||(this._stopped=!1,this._retryCount=0,this._scheduleNext())}stop(){this._stopped=!0,null!==this._timerId&&(clearTimeout(this._timerId),this._timerId=null)}_scheduleNext(){const{delays:t}=this._config,e=t[Math.min(this._retryCount,t.length-1)];this._timerId=setTimeout(()=>{this._timerId=null,this._stopped||this._execute()},e)}async _execute(){this._isExecuting=!0;try{const t=await this._fetchFn();if(this._stopped)return;this._onData(t);const e=this._shouldContinue(t);this._retryCount++;const r=this._retryCount<this._config.maxAttempts;e&&r?this._scheduleNext():this.stop()}catch(t){this.stop()}finally{this._isExecuting=!1}}}const Ke={delays:[2e3,4e3,6e3,8e3,1e4,12e3,15e3],maxAttempts:12},ze=new Map;async function We(){return Ue.dispatch(B,{type:st,payload:{},silent:!0})}async function Je(t={}){return Ue.dispatch(Q,{type:ut,payload:ue(t),wait:se,notify:ie,ready:ce})}function Be(t){t.subscribeAction(J,function(t){return(e,r,n)=>{const o=r.get("cartAdapter");if(o&&e.payload?.type&&[pt,yt].includes(e.payload.type)){const n=e.payload.response;if(!(o instanceof Error)&&n?.cartData?.cartSummary){const t=function(t){const e={};if(t?.cartId){const{cartId:r,currencyIsoCode:n,totalProductCount:o,uniqueProductCount:c}=t;e.cartSummary={cartId:r,currencyIsoCode:n,totalProductCount:o,uniqueProductCount:c}}return e}(n.cartData.cartSummary);return void r.set("cartAdapter",t)}t.load()}}}(t));const e=()=>{t.load()},r={after:e,error:e},n={error:e};t.subscribeAction(z,e),t.subscribeAction(pt,n),t.subscribeAction(yt,n),[dt,lt,ft,Mt,Ht].forEach(e=>t.subscribeAction(e,r)),[tt,Pt,Lt].forEach(e=>t.subscribeAction(e,{after:()=>t.load()})),Ee(Ue)}function Qe(t,e){return We()}class Xe extends e.StoreAdapter{constructor(t){super(t,Ue,"cartAdapter",{loader:Qe,connectors:[Be],discard:!0})}}function Ze(t){const e=function(t){return(e,r,n)=>{if(t.config,!r.get("cartStatusAdapter")||!e.payload)return;const o=de(e.payload);r.set("cartStatusAdapter",o)}}(t);[V,K].forEach(r=>t.subscribeAction(r,{after:e}))}class tr extends e.StoreAdapter{constructor(t){super(t,Ue,"cartStatusAdapter",{loader:Fe,connectors:[Ze],discard:!0})}}function er(){const t=e.getCurrentStoreAdapterValue(Xe);return t.data?.cartSummary?.cartId||"active"}async function rr(t={},e){return Ue.dispatch(B,{type:Et,payload:{...me(t),apiOptions:e}})}async function nr(t){return Ue.dispatch(Q,{type:St,payload:Ae(t),ready:ye}).then(t=>t.data)}function or(t){t.subscribeAction(z,()=>t.load()),[dt,pt,ft,yt,lt,tt,Pt].forEach(e=>t.subscribeAction(e,{after:()=>t.load()}))}function cr(t,e){return async function(t={}){return Ue.dispatch(B,{type:_t,payload:Ie(t)})}(t?.payload)}class ar extends e.StoreAdapter{constructor(t){super(t,Ue,"cartProductsAdapter",{loader:cr,connectors:[or],discard:!0})}}function sr(t){let e;return"undefined"==typeof window?(e=!1,t={}):(e=!0,t?t.startOptions&&(t.startOptions.cartId||(t={...t,startOptions:{...t.startOptions,cartId:er()}}
576)):t={startOptions:{cartId:er(),deliveryAddressInput:{shouldUseDefaultAddress:!0}}}),Ue.dispatch(Q,{type:Dt,payload:t,ready:Qt,asyncResponse:e}).catch(t=>{if("undefined"==typeof window){if(t.message===Y)throw t;throw e=t,404===e?.status?new Error("SSR_FAST_CHECKOUT"):new Error("SSR_CHECKOUT_RETRY")}var e;throw t})}function ir(t){t.subscribeAction(J,function(t){return(e,r,n)=>{const o=r.get("checkoutAdapter");if(o)if(e.payload?.type&&[Nt,Dt,wt].includes(e.payload.type)){const n=e.payload.payload;if(!n?.deferNotify){const n=e.payload.response,o=e.payload.error,c=n??o;c&&r.set("checkoutAdapter",c),[Nt,wt].includes(e.payload.type)&&n&&!Qt(n)&&t.load()}}else if(e.payload?.type===kt&&!e.payload.error){const n=e.payload.payload,c=e.payload.response;n?.options?.deferNotify||o instanceof Error||(c&&r.set("checkoutAdapter",c),c&&!Qt(c)&&t.load())}}}(t)),t.subscribeAction(W,()=>t.load()),[dt,tt,pt,lt,ft,yt,ht,mt,It,At].forEach(e=>t.subscribeAction(e,{after:()=>t.load()}))}function ur(t,e){const r=!!e.get("checkoutAdapterInitialized"),n=!e.get("checkoutAdapter");r&&n?(e.delete("checkoutAdapterInitialized"),Kt(e)):n||e.set("checkoutAdapterInitialized",!0);const o=t?.payload?.cartId;return sr({startOptions:{cartId:("string"==typeof o?o:void 0)||Vt(),deliveryAddressInput:{shouldUseDefaultAddress:!0}}})}class dr extends e.StoreAdapter{constructor(t){super(t,Ue,"checkoutAdapter",{loader:ur,connectors:[ir],discard:!0})}}function pr(t){const r=t?{cartId:t}:{},n=e.getCurrentStoreAdapterValue(dr,r);if(n.error)throw n.error;if(!n.data)throw new Error("SESSION_NOT_LOADED");return n.data}function lr(t){t.subscribeAction(z,()=>t.load()),[dt,tt,vt,Pt].forEach(e=>t.subscribeAction(e,{after:()=>t.load()}))}function yr(t,e){if(!t?.payload?.deliveryGroupId)throw new Error("deliveryGroupId required");return nr(t.payload)}class fr extends e.StoreAdapter{constructor(t){super(t,Ue,"checkoutDeliveryGroupCartItemsAdapter",{loader:yr,connectors:[lr],discard:!0})}}function hr(t){t.subscribeAction(z,()=>t.load()),[dt,tt,vt].forEach(e=>t.subscribeAction(e,{after:()=>t.load()}))}function Ir(t,e){return rr(t?.payload)}class mr extends e.StoreAdapter{constructor(t){super(t,Ue,"deliveryGroupsAdapter",{loader:Ir,connectors:[hr],discard:!0})}}function Ar(t,e=[]){if(t?.error&&(t=t?.error),t?.errors?.[0]){const r=t;return r.url?.includes("/carts")?r.errors.map(t=>({code:t.type,...("CART_VALIDATION_ERROR"===t.type||"CART_OPERATION_IN_PROGRESS"===t.type||e.includes(t.type))&&{message:t.message}})):r.errors.map(t=>({code:t.type,message:t.message}))}return t?.code?[t]:t?.message?[{code:t.message}]:[{code:String(t)}]}async function Cr(t,e){return j("/payments",{method:"POST",body:{...t,...t.paymentsData&&{paymentsData:JSON.stringify(t.paymentsData)}}},e)}function br(t){if(!t.billingAddress)return t;const e=t.billingAddress;return{...t,billingAddress:{city:e.city,country:e.country,name:y.buildFullName(e.name,e.firstName,e.lastName,e.country),firstName:e.firstName,lastName:e.lastName,postalCode:e.postalCode,region:e.region,street:e.street,shipToPhoneNumber:e.shipToPhoneNumber??e.phoneNumber}}}const Tr=t=>(e,r,n)=>Cr(br({paymentToken:r,requestType:t,billingAddress:n}),Xt({checkoutId:e})),Or=Tr("Auth"),_r=(t,e,r,n,o)=>{const c={checkoutId:t,registrationAccountId:o};return Cr(br({paymentToken:e,requestType:"PostAuth",billingAddress:r,paymentsData:n}),Xt(c))},Er=Tr("SimplePurchaseOrder");function Sr(t){[$t,jt].forEach(e=>t.subscribeAction(e,()=>t.load()))}async function vr(t){const r=await U(),n={...t?.payload},{excludeUnsupportedCountries:o,shouldShowDefaultAddrFirst:c,pageSize:a,...s}=n,i=o??!0,u=c??!0;if(r||0===a)throw new Error(Ft);try{return await De({...s,pageSize:a,excludeUnsupportedCountries:i,shouldShowDefaultAddrFirst:u})}catch(t){throw new e.StoreActionError(t)}}class gr extends e.StoreAdapter{constructor(t){super(t,xe,"addressAdapter",{loader:vr,connectors:[Sr],discard:!0})}}"undefined"!=typeof window&&Ue.subscribeAction("context/updated",{after:()=>Fe()}),t.ACTION_CANCEL_CART_OPERATION=ot,t.CartAdapter=Xe,t.CartContentsAdapter=Ye,t.CartProductsAdapter=ar,t.CartStatusAdapter=tr,t.CheckoutAdapter=dr,t.CheckoutAddressAdapter=gr,t.CheckoutDeliveryGroupCartItemsAdapter=fr,t.DEFAULT_CART_ITEMS_PAGE_SIZE=25,t.DeliveryGroupsAdapter=mr,t.ERROR_CPA_DISABLED=Ft,t.PollingManager=Ve,t.SSR_NO_POLLING=Y,t.authorizePayment=Or,t.cancelCartAsyncOperation=async function(t,e){return Ue.dispatch(B,{type:ot,payload:{cartId:t,jobId:e?.jobId,type:e?.type},silent:e?.silent??!1})},t.cancelCartExportJob=function(t){return N({jobId:t})},t.cartCancelApi=R,t.cartClear=function(t,e){return Ue.dispatch(B,{type:rt,payload:t,silent:e?.silent??!0})},t.cartClone=async function(t){return globalThis.localStorage?.removeItem(be),Ue.dispatch(B,{type:et,payload:{cartId:t}}).catch(t=>(console.warn("[cloneCart] failed",t),{}))},t.cartCollaboratorAdd=function(t,e,r){return Ue.dispatch(Z,{type:Ct,payload:e&&"current"!==e?{collaborators:t,cartId:e}:{collaborators:t},noRetry:oe,silent:r?.silent??!0})},t.cartCollaboratorDelete=function(t,e,r){return Ue.dispatch(Z,{type:bt,payload:e&&"current"!==e?{collaboratorId:t,cartId:e}:{collaboratorId:t},noRetry:oe,silent:r?.silent??!0})},t.cartCollaboratorHistoryLoadApi=async function({cartId:t}={}){const e=await v("/cart-history",{method:"GET"},t?{cartId:t}:{});return{entries:(Array.isArray(e?.cartActionsHistory)?e.cartActionsHistory:[]).filter(t=>"object"==typeof t&&null!==t&&"string"==typeof t.id&&t.id.length>0)}},t.cartCollaboratorUpdate=function(t,e,r){return Ue.dispatch(Z,{type:Tt,payload:e&&"current"!==e?{collaborators:t,cartId:e}:{collaborators:t},noRetry:oe,silent:r?.silent??!0})},t.cartCouponApply=function(t,e){return Ue.dispatch(Z,{type:ht,payload:e&&"current"!==e?{couponCode:t,cartId:e}:{couponCode:t},noRetry:oe})},t.cartCouponDelete=function(t,e){return Ue.dispatch(Z,{type:mt,payload:e&&"current"!==e?{couponId:t,cartId:e}:{couponId:t},noRetry:oe})},t.cartCreate=async function(t,e){return Ue.dispatch(B,{type:ct,payload:t,silent:e?.silent})},t.cartDelete=function(t,e){return Ue.dispatch(Z,{type:dt,payload:t??{},noRetry:oe,silent:e?.silent??!0})},t.cartEdit=async function(t,e){return Ue.dispatch(B,{type:at,payload:t,silent:e?.silent??!0})},t.cartInventoryReserve=function(t){return Ue.dispatch(Z,{type:Ot,payload:t??{},noRetry:oe})},t.cartItemAdd=function(t,e,r){const n=r&&"current"!==r?{...re,cartId:r}:re;if(l.isPlainObject(e)){const{options:r,...o}=e;return Ue.dispatch(Z,{type:pt,payload:{...o,productId:t,options:{...n,...r??{}}},noRetry:oe})}return Ue.dispatch(Z,{type:pt,payload:{productId:t,quantity:e,options:n},noRetry:oe})},t.cartItemApplyConfiguration=function(t){const{action:e,...r}=t;return Ue.dispatch(Z,{type:"update"===e?Ht:Mt,payload:r,noRetry:oe})},t.cartItemDelete=function(t,e){return Ue.dispatch(Z,{type:ft,payload:e&&"current"!==e?{itemId:t,cartId:e}:{itemId:t},noRetry:oe})},t.cartItemUpdate=function(t,e,r){const n=r&&"current"!==r?{...re,cartId:r}:re;return Ue.dispatch(Z,{type:yt,payload:{itemId:t,quantity:e,options:n},noRetry:oe})}
576,t.cartItemsAdd=function(t){return Array.isArray(t)?Ue.dispatch(Z,{type:lt,payload:t,noRetry:oe}):Ue.dispatch(Z,{type:lt,payload:Object.entries(l.isPlainObject(t)?t:{}).reduce((t,[e,r])=>(t.push({productId:e,quantity:r,productSellingModelId:void 0,subscriptionTerm:void 0}),t),[]),noRetry:oe})},t.cartItemsLoadSync=Je,t.cartLoadAsync=We,t.cartMakePrimary=async function(t,e){return Ue.dispatch(B,{type:nt,payload:{cartId:t},silent:e?.silent??!0})},t.cartReload=function(){return Ue.dispatch(z)},t.cartStatusProcessingBegin=$e,t.cartStatusProcessingEnd=je,t.cartStatusUpdate=Ge,t.checkoutCouponApply=function(t){return Ue.dispatch(Z,{type:It,payload:{couponCode:t},noRetry:oe})},t.checkoutCouponDelete=function(t){return Ue.dispatch(Z,{type:At,payload:{couponId:t},noRetry:oe})},t.checkoutLoadAsyncPoll=sr,t.checkoutNotify=function(t){const e={type:Nt,payload:{}};return t instanceof Error?e.error=t:e.response=t,Ue.dispatch(J,e)},t.checkoutPlaceOrder=async function(t={}){return Ue.dispatch(Z,{type:Lt,payload:t,noRetry:oe})},t.checkoutPrepareOrder=async function(t={}){return Ue.dispatch(Z,{type:Ut,payload:t,noRetry:oe})},t.checkoutReload=function(){return Ue.delete("checkoutAdapter"),Ue.dispatch(W)},t.checkoutStartAsync=function(t){return t.cartId||(t={...t,cartId:er()}),Ue.dispatch(Z,{type:wt,payload:t,noRetry:oe})},t.checkoutStatusIsReady=Bt,t.checkoutSubmitOrder=async function(t={}){return Ue.dispatch(Z,{type:xt,payload:t,noRetry:oe})},t.checkoutUpdate=function(t){return Ue.dispatch(Z,{type:kt,payload:t,noRetry:oe})},t.checkoutWaitForReady=async function(t){for(;;){await Ue.dispatch(X);const e=pr(t);if(Qt(e))return e;await x(10)}},t.childCartItemsLoadAsync=async function(t={}){return Ue.dispatch(B,{type:qt,payload:pe(t),silent:!0})},t.createCartExportJob=function(t){return k(t)},t.createContactPointAddress=function(t){return xe.dispatch($t,t)},t.deleteAllCartExportJobs=function(){return E().then(t=>({..."number"==typeof t?.deletedCount?{deletedCount:t.deletedCount}:{}}))},t.deleteCartExportJob=function(t){return w({jobId:t})},t.deliveryGroupAdd=function(t,e){return Ue.dispatch(Z,{type:vt,payload:{...t,apiOptions:e},noRetry:oe})},t.deliveryGroupDelete=function(t,e){return Ue.dispatch(Z,{type:Rt,payload:{deliveryGroupId:t,apiOptions:e},noRetry:oe})},t.deliveryGroupLoadSync=nr,t.deliveryGroupUpdate=function(t){return Ue.dispatch(Z,{type:gt,payload:t,noRetry:oe})},t.deliveryGroupsArrangeItems=function(t,e){return Ue.dispatch(Z,{type:Pt,payload:{...Ce(t),apiOptions:e},noRetry:oe})},t.deliveryGroupsLoadAsync=rr,t.getCartContents=function(t={}){return e.getStoreAdapterValue(Ye,t)},t.getCartExportFields=function(){return S().then(t=>{const e=t?.exportFields?.cartItem,r=t?.maxSelectableFields;if(!Array.isArray(e)||0===e.length)return{cartItem:D};const n={cartItem:e.filter(t=>t.nameOrId).map(t=>({name:t.nameOrId,label:t.label??"",isMandatory:!!t.isMandatory}))};return void 0!==r&&r>0&&(n.maxSelectableFields=r),n}).catch(()=>({cartItem:D}))},t.getCartExportJobs=function(){return _().then(t=>
576({jobs:Array.isArray(t?.jobs)?t.jobs:[]}))},t.getCartStatus=function(){return e.getStoreAdapterValue(tr,{})},t.getCarts=async function(t){return Ue.dispatch(B,{type:it,payload:t??{},silent:!0})},t.isPollingActiveForCart=function(t){return ze.has(t)},t.onAddConfigurationToCart=function(t,e){return Ue.subscribeAction(Mt,{...t?{before:t}:{},...e?{after:e}:{}})},t.onAddItemToCart=function(t,e){return Ue.subscribeAction(pt,{...t?{before:t}:{},...e?{after:e}:{}})},t.onAddItemsToCart=function(t,e){return Ue.subscribeAction(lt,{...t?{before:t}:{},...e?{after:e}:{}})},t.onCartDelete=function(t,e){return Ue.subscribeAction(dt,{...t?{before:t}:{},...e?{after:e}:{}})},t.onCartItemDelete=function(t,e){return Ue.subscribeAction(ft,{...t?{before:t}:{},...e?{after:e}:{}})},t.onCartItemUpdate=function(t,e){return Ue.subscribeAction(yt,{...t?{before:t}:{},...e?{after:e}:{}})},t.onUpdateConfigurationOnCart=function(t,e){return Ue.subscribeAction(Ht,{...t?{before:t}:{},...e?{after:e}:{}})},t.paymentClientRequest=function(t){return Cr({requestType:"ClientRequest",paymentsData:t},Xt({checkoutId:zt(Ue)}))},t.postAuthorizePayment=_r,t.setCartIdForCheckout=function(t){Yt=t},t.simplePurchaseOrderPayment=Er,t.startAutonomousCartPolling=function(t,r,n,o,c){if(ze.has(t))return;o?.();let a=n;const s=new Ve(()=>P(r),n=>{const o=n?.cartSummary,s=f.hasFinishedAsyncOperation(o);(f.hasCartOperationFieldsChanged(a,o)||s)&&(!function(t,r){r?.cartSummary&&(e.setStoreAdapterValue(Ye,r,ue(t)),e.setStoreAdapterValue(Ye,r,ue({cartId:t.cartId})))}(r,n),a=o),s&&(ze.get(t)?.stop(),ze.delete(t),c?.())},t=>f.hasActivePollableOperation(t?.cartSummary),Ke);ze.set(t,s),s.start()},t.stopPollingAndUpdateStatus=function(t){const e=ze.has(t),r=ze.get(t);r&&(r.stop(),ze.delete(t)),e&&Ge({isAsyncOperationInProgress:!1})},t.toCheckoutOrderReferenceNumber=function(t){return t.actions?.[0].orderReferenceNumber},t.toCommerceError=function(t,e=[]){return Ar(t,e)[0]},t.toCommerceErrors=Ar,t.updateContactPointAddress=function(t){return xe.dispatch(jt,t)},Object.defineProperty(t,"__esModule",{value:!0})});
577})();(function() { LWR.define("commerce/cartApiInternal",["exports","commerce/checkoutCartApiInternal","experience/store","commerce_unified_checkout/asyncFetch"],function(e,r,t,n){class o extends t.StoreAdapter{disconnect(){super.disconnect(),this.options?.destroy?.()}}function a(e){const{sortOrder:r,productFieldNames:t,...n}=e,o={...n};return e?.sortOrder&&(o.sort=e.sortOrder),Array.isArray(e?.productFieldNames)&&e?.productFieldNames?.length&&(o.productFields=e.productFieldNames.join(",")),o}function c(e,t,n,o){let a,c;return{connectors:[function(u,s,d){c=d,a||(a=new r.CartContentsAdapter(r=>{const t=c.get(e),a=n(r),u=a.data??a.error;!r.loading&&u?c.set(e,u):!t||u&&!o||c.delete(e)}),a.connect()),a.update(t(u.config))}],destroy:function(){a&&a.disconnect()},deleteOnReload:o}}const u=new t.Store("@@LegacyCart",{discard:!0});function s(e,r=!1){return{code:e?.errors?.[0]?.type??e?.name??"UNKNOWN_ERROR",...r?{message:e?.errors?.[0]?.message??e?.message}:{}}}function d(e){const n=s(e,!(e.message!==r.SSR_NO_POLLING));return t.deserializeError(t.serializeError(n))}function i(e,r=!1){return new t.StoreActionError(s(e,r))}function p(e){if(e.error){return{error:d(e.error)}}return e.data?.cartCoupons?{data:e.data.cartCoupons}:{}}class m extends o{constructor(e){super(e,u,"cartCouponsAdapter",c("cartCouponsAdapter",a,p,!0))}}function l(e){if(e.error){return{error:d(e.error)}}if(e.data){const{cartPromotions:r,cartCoupons:t,...n}=e.data;return{data:n}}return{}}class f extends o{constructor(e){super(e,u,"cartItemsAdapter",c("cartItemsAdapter",a,l,!0))}}function C(e){if(e.error){return{error:i(e.error)}}return e.data?.cartPromotions?{data:e.data.cartPromotions}:{}}class y extends o{constructor(e){super(e,u,"cartPromotionsAdapter",c("cartPromotionsAdapter",a,C,!0))}}function A(e){if(e.error){return{error:d(e.error)}}return e.data?.cartSummary?{data:e.data.cartSummary}:{}}class g extends o{constructor(e){super(e,u,"cartSummaryAdapter",c("cartSummaryAdapter",a,A,!1))}}const I=r.cartStatusUpdate;Object.defineProperty(e,"CartAdapter",{enumerable:!0,get:function(){return r.CartAdapter}}),Object.defineProperty(e,"CartProductsAdapter",{enumerable:!0,get:function(){return r.CartProductsAdapter}}),Object.defineProperty(e,"CartStatusAdapter",{enumerable:!0,get:function(){return r.CartStatusAdapter}}),Object.defineProperty(e,"CheckoutDeliveryGroupCartItemsAdapter",{enumerable:!0,get:function(){return r.CheckoutDeliveryGroupCartItemsAdapter}}),Object.defineProperty(e,"DeliveryGroupsAdapter",{enumerable:!0,get:function(){return r.DeliveryGroupsAdapter}}),Object.defineProperty(e,"onAddItemToCart",{enumerable:!0,get:function(){return r.onAddItemToCart}}),Object.defineProperty(e,"onAddItemsToCart",{enumerable:!0,get:function(){return r.onAddItemsToCart}}),e.CartCouponsAdapter=m,e.CartItemsAdapter=f,e.CartPromotionsAdapter=y,e.CartSummaryAdapter=g,e.DEFAULT_CART_ITEMS_PAGE_SIZE=25,e.Depen
577dentAdapter=o,e.addItemToCart=function(e,t){return r.cartItemAdd(e,t).catch(e=>Promise.reject(i(e)))},e.addItemsToCart=function(e){return r.cartItemsAdd(e).catch(e=>Promise.reject(i(e)))},e.addNewDeliveryGroup=function(e){return r.deliveryGroupAdd(e)},e.applyCouponToCart=function(e){return r.cartCouponApply(e).catch(e=>Promise.reject(i(e,!0)))},e.cloneCart=async function(e){return r.cartClone(e).catch(e=>Promise.reject(i(e)))},e.deleteCouponFromCart=function(e){return r.cartCouponDelete(e).catch(e=>Promise.reject(i(e)))},e.deleteCurrentCart=function(){return r.cartDelete().catch(e=>Promise.reject(i(e)))},e.deleteDeliveryGroup=function(e){return r.deliveryGroupDelete(e)},e.deleteItemFromCart=function(e){return r.cartItemDelete(e).catch(e=>Promise.reject(i(e)))},e.getCouponsImperative=function(e={}){return t.getStoreAdapterValue(m,e)},e.getDeliveryGroup=async function(e){if(!e?.deliveryGroupId)throw new Error("options required");return r.deliveryGroupLoadSync(e)},e.getDeliveryGroups=function(e){return r.deliveryGroupsLoadAsync(e)},e.getItemsImperative=function(e={}){return t.getStoreAdapterValue(f,e)},e.getOrCreateCartSummary=function(){return r.cartCreate().catch(e=>Promise.reject(i(e)))},e.getPromotionsImperative=function(e={}){return t.getStoreAdapterValue(y,e)},e.getStatusImperative=function(){return t.getStoreAdapterValue(r.CartStatusAdapter)},e.getSummaryImperative=function(e={}){return t.getStoreAdapterValue(g,e)},e.refreshCartSummary=function(){return r.cartReload()},e.reserveInventory=function(){return r.cartInventoryReserve().catch(e=>Promise.reject(i(e)))},e.saveDeliveryGroupChanges=function(e,t={}){return r.deliveryGroupsArrangeItems({arrangements:e,options:t}).then(e=>new n.FetchResponseAndData({status:"Processing"===e.asyncOperationStatus?202:200,ok:!0},e))},e.showMoreCartItems=function(e){return r.cartItemsLoadSync(e).catch(e=>Promise.reject(i(e)))},e.updateCartStatus=I,e.updateCartStatusProcessing=function(e){return r.cartStatusUpdate({isProcessing:e})},e.updateDeliveryGroup=function(e){return r.deliveryGroupUpdate(e)},e.updateItemInCart=function(e,t){return r.cartItemUpdate(e,t).catch(e=>Promise.reject(i(e)))},Object.defineProperty(e,"__esModule",{value:!0})});
578})();(function() { LWR.define("commerce_unified_promotions/discountPriceDisplayEvaluator",["exports"],function(e){e.displayDiscountPrice=function(e,i){const o="string"==typeof i&&!isNaN(parseFloat(i))&&Number(i)<0;return e&&o},Object.defineProperty(e,"__esModule",{value:!0})});
579})();(function() { LWR.define("commerce_cart/originalPriceDisplayEvaluator",["exports"],function(e){e.default=function(e,r,u,n){const l=r&&e,t=null!=n&&Number(n)>=0,o=null!=u&&Number(u)>=0,c=t&&o&&Number(n)>Number(u);return l&&c}
579,Object.defineProperty(e,"__esModule",{value:!0})});
580})();(function() { LWR.define("experience/resourceResolver",["exports","@salesforce/community/basePath","experience/uri","@app/imageOpt"],function(e,t,s,i){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),u=n(i);const c="/cdn-cgi/image/",a="format=auto,onerror=redirect",o=[".avif"],f=/^\/cms\//,d=/^\/img\//,l=/^\/?assets\//,$="/sfsites/c",m=/^data:/,g=()=>"Cloudflare"===u.default;function h(e,t){if(s=e,o.some(e=>s.split("?")[0].toLowerCase().endsWith(e)))return e;var s;const i=t?.width||t?.height?[`fit=scale-down,${a}`]:[a];if(e.includes(c)){const t=e.indexOf("/",15);e=e.substring(t)}if(e=e.startsWith("/")?e.substring(1):e,t&&!e.toLowerCase().includes(".svg")){const e=Object.entries(t).map(([e,t])=>`${e}=${t}`);i.push(...e)}return`${c}${i}/${e}`}function p(e,t,i){t=t||!1;const n=Object.entries(i||{}).reduce((e,[t,s])=>(s=Math.max(s,100),e[t]=`${s}`,e),Object.create(null));if(e&&t&&e.includes("/cms")&&e.includes("/media")){const t=/\/cms\/[a-zA-Z]+\/media\/.+/g,s=e.search(t);-1!==s&&(e=e.substring(s))}let u=e;if(f.test(e)){if(u=`${r.default}${$}${e}`,!g())return s.composeUri(u,n)}else d.test(e)?u=`${r.default}${$}${e}`:l.test(e)&&(u=e.startsWith("/")?`${r.default}${e}`:`${r.default}/${e}`);return u}e.isCmsResource=function(e){return e&&e.includes("/cms")&&e.includes("/media")&&(e=e.substring(e.indexOf("/cms"))),f.test(e)},e.resolve=function(e,t,s){if(!e||m.test(e)||e.startsWith(`${r.default}${$}`)||e.startsWith(`${r.default}/assets/`))return e;const i=p(e,t,s);return g()?h(i,s):i},e.resolveVideoUrl=function(e,t){if(t=t||!1,e&&t&&e.includes("/cms")&&e.includes("/media")){const t=e.indexOf(r.default);e=(e=e.substring(t+r.default.length)).substring(e.indexOf("/cms"))}let s=e;return f.test(e)?s=`${r.default}${$}${e}`:l.test(e)&&(s=e.startsWith("/")?`${r.default}${e}`:`${r.default}/${e}`),s},e.resolveWithoutImageOpt=function(e,t,s){return!e||m.test(e)?e:p(e,t,s)},Object.defineProperty(e,"__esModule",{value:!0})});
581})();(function() { LWR.define("experience/picture",["exports","lwc","lwr/environment","experience/resourceResolver"],function(e,t,r,i){function n(e,t,r){var i=e?"."+e:"";return(t?":host {":(e?"."+e+"-host":"")+" {")+"display: contents;all: inherit;}picture"+i+" {all: inherit;}img"+i+" {max-height: inherit;width: inherit;object-fit: inherit;}"}n.$scoped$=!0;var s=[n];const a=t.parseFragment`<source${"a0:media"}${"a0:srcset"}${"a0:sizes"}${3}>`,o=t.parseFragment`<img${"a0:src"}${"a0:alt"}${"a0:loading"}${"a0:draggable"}${3}>`,l={key:1};function c(e,t,r,i){const{k:n,sp:s,st:c,i:u,f:m,h:g,fr:d}=e;return[t.showImage?d(0,[g("picture",l,m([u(t.normalizedImages,function(e){return c(a,n(3,e.media),[s(0,{attrs:{media:e.media,srcset:e.srcSet,sizes:e.sizes}},null)])}),c(o,5,[s(0,{attrs:{src:t.normalizedUrl,alt:t.alternativeText,loading:t.normalizedLoading,draggable:t.draggable}},null)])]))],0):null]}var u=t.registerTemplate(c);function m(e){return e&&Object.values(e).every(e=>e&&0!==e)}c.renderMode="light",c.stylesheets=[],c.stylesheetToken="lwc-6d0jmdgc6e8",c.legacyStylesheetToken="experience-picture_picture",s&&c.stylesheets.push.apply(c.stylesheets,s),t.freezeTemplate(c);const g={mobile:"(max-width: 47.9375em)",tablet:"(max-width: 64em)",desktop:"(min-width: 64.0625em)"};function d(e){return Boolean("string"==typeof e&&e.length>0)}const p=e=>{if(d(e))try{const t=!e.startsWith("mailto");return Boolean(new URL(e,"https://www.placeholder.com"))&&t}catch(e){return!1}return!1},h=e=>/^[\d.]+[wx]/.test(e);function f(e){return e.split(",").map(e=>e.trim().split(" "))}const b=e=>!(!d(e)||!(e=>{const t=e.split(" ");return!["null","undefined","NaN"].some(r=>e===r||t.some(e=>e===r))})(e))&&f(e).map(e=>{if(e.length>2||0===e.length)return!1;const t=e[0];if(h(t))return!1;if(p(t)){const t=e[1];if(t&&h(t))return!0;if(!t)return!0}return!1}).every(Boolean);class y extends t.LightningElement{constructor(...e){super(...e),this.alternativeText=void 0,this.loading=void 0,this.url=void 0,this.images=void 0,this.disableDrag=!1}get draggable(){return!this.disableDrag}get showImage(){return p(this.url)||this.normalizedImages.some(e=>b(e.srcSet)&&f(e.srcSet).some(([e,t])=>/\d+w/.test(t)))}get normalizedImages(){return this.mapImageData(this.images||[])}get normalizedUrl(){return i.resolve(this.url||"",!0)}get normalizedLoading(){return this.loading??"eager"}mapImageData(e){return e.reduce((e,t)=>
581(b(t.srcSet)?e.push({...t,media:"formFactor"in t?g[t.formFactor]:t.media}):((e,t,r=100)=>{t&&console.warn(`Bad srcset '${e.substring(0,r)}'. Skipping image.`)})(t.srcSet,!r.isServer&&!1),e),[])}}y.renderMode="light",t.registerDecorators(y,{publicProps:{alternativeText:{config:0},loading:{config:0},url:{config:0},images:{config:0},disableDrag:{config:0}}});const w=t.registerComponent(y,{tmpl:u,sel:"experience-picture",apiVersion:66,enableSyntheticElementInternals:!0});e.MEDIA_QUERIES=g,e.createImageDataMap=function(e,t,r=[1,2]){return e&&t&&m(t)?Object.entries(t).reduce((t,[n,s])=>{const a=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,n)?e[n]:e;return a?(t.push({formFactor:n,srcSet:r.map(e=>`${i.resolve(a,!0,{width:s*e})} ${e}x`).join(", ")}),t):t},[]):[]},e.default=w,e.getImageSizesFromCss=function(e,t){const r="undefined"!=typeof window&&e?getComputedStyle(e):null,i=t??"--dxp-c-image-width",n=Number(r?.getPropertyValue(`${i}-mobile`)),s=Number(r?.getPropertyValue(`${i}-tablet`)),a=Number(r?.getPropertyValue(`${i}-desktop`));return{mobile:n&&!Number.isNaN(n)?n:0,tablet:s&&!Number.isNaN(s)?s:0,desktop:a&&!Number.isNaN(a)?a:0}},e.imageSizesDefined=m,Object.defineProperty(e,"__esModule",{value:!0})});
582})();(function() { LWR.define("commerce_product_details/galleryUtils",["exports","experience/picture"],function(e,i){e.calculateImageSizes=function(e,t){if(!i.imageSizesDefined(t)){const c=i.getImageSizesFromCss(e,"--com-c-image-width");Object.assign(t,c)}},e.getImageSizes=function(e){return i.getImageSizesFromCss(e,"--com-c-image-width")},Object.defineProperty(e,"__esModule",{value:!0})});
583})();(function() { LWR.define("commerce/cartApi",["exports","commerce/cartApiInternal","commerce_unified_promotions/discountPriceDisplayEvaluator","commerce_cart/originalPriceDisplayEvaluator","commerce_product_details/galleryUtils"],function(e,r,t,n,u){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(n);Object.defineProperty(e,"CartAdapter",{enumerable:!0,get:function(){return r.CartAdapter}}),Object.defineProperty(e,"CartCouponsAdapter",{enumerable:!0,get:function(){return r.CartCouponsAdapter}}),Object.defineProperty(e,"CartItemsAdapter",{enumerable:!0,get:function(){return r.CartItemsAdapter}}),Object.defineProperty(e,"CartProductsAdapter",{enumerable:!0,get:function(){return r.CartProductsAdapter}}),Object.defineProperty(e,"CartPromotionsAdapter",{enumerable:!0,get:function(){return r.CartPromotionsAdapter}}),Object.defineProperty(e,"CartStatusAdapter",{enumerable:!0,get:function(){return r.CartStatusAdapter}}),Object.defineProperty(e,"CartSummaryAdapter",{enumerable:!0,get:function(){return r.CartSummaryAdapter}}),Object.defineProperty(e,"CheckoutDeliveryGroupCartItemsAdapter",{enumerable:!0,get:function(){return r.CheckoutDeliveryGroupCartItemsAdapter}}),Object.defineProperty(e,"DEFAULT_CART_ITEMS_PAGE_SIZE",{enumerable:!0,get:function(){return r.DEFAULT_CART_ITEMS_PAGE_SIZE}}),Object.defineProperty(e,"DeliveryGroupsAdapter",{enumerable:!0,get:function(){return r.DeliveryGroupsAdapter}}),Object.defineProperty(e,"addItemToCart",{enumerable:!0,get:function(){return r.addItemToCart}}),Object.defineProperty(e,"addItemsToCart",{enumerable:!0,get:function(){return r.addItemsToCart}}),Object.defineProperty(e,"addNewDeliveryGroup",{enumerable:!0,get:function(){return r.addNewDeliveryGroup}}),Object.defineProperty(e,"applyCouponToCart",{enumerable:!0,get:function(){return r.applyCouponToCart}}),Object.defineProperty(e,"cloneCart",{enumerable:!0,get:function(){return r.cloneCart}}),Object.defineProperty(e,"deleteCouponFromCart",{enumerable:!0,get:function(){return r.deleteCouponFromCart}}),Object.defineProperty(e,"deleteCurrentCart",{enumerable:!0,get:function(){return r.deleteCurrentCart}}),Object.defineProperty(e,"deleteDeliveryGroup",{enumerable:!0,get:function(){return r.deleteDeliveryGroup}}),Object.defineProperty(e,"deleteItemFromCart",{enumerable:!0,get:function(){return r.deleteItemFromCart}}),Object.defineProperty(e,"getDeliveryGroups",{enumerable:!0,get:function(){return r.getDeliveryGroups}}),Object.defineProperty(e,"refreshCartSummary",{enumerable:!0,get:function(){return r.refreshCartSummary}}),Object.defineProperty(e,"reserveInventory",{enumerable:!0,get:function(){return r.reserveInventory}}),Object.defineProperty(e,"saveDeliveryGroupChanges",{enumerable:!0,get:function(){return r.s
583aveDeliveryGroupChanges}}),Object.defineProperty(e,"updateCartStatusProcessing",{enumerable:!0,get:function(){return r.updateCartStatusProcessing}}),Object.defineProperty(e,"updateItemInCart",{enumerable:!0,get:function(){return r.updateItemInCart}}),Object.defineProperty(e,"displayDiscountPrice",{enumerable:!0,get:function(){return t.displayDiscountPrice}}),Object.defineProperty(e,"canDisplayOriginalPrice",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"calculateImageSizes",{enumerable:!0,get:function(){return u.calculateImageSizes}}),Object.defineProperty(e,"__esModule",{value:!0})});
584})();(function() { LWR.define("lightning/sldsUtilsHyphenation",["exports"],function(e){var d=[function(e,d,o){return(d?":host([data-render-mode='shadow']) .slds-hyphenate":(e?"["+e+"-host]":"")+"[data-render-mode='shadow'] .slds-hyphenate")+(e?"["+e+"]":"")+" {overflow-wrap: break-word;word-wrap: break-word;hyphens: auto;}"}];e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
585})();(function() { LWR.define("lightning/overlayManager",["exports"],function(a){const e="lightning-modal",l="lightning-overlay",t="lightning-alert",n="lightning-confirm",r="lightning-prompt",o="lightning-primitive-overlay",s="lightning-toast-container",i="lwc",u=Object.freeze({[o]:{pos:"absolute"},[e]:{pos:"absolute"},[l]:{pos:"absolute"},[t]:{pos:"absolute"},[n]:{pos:"absolute"},[r]:{pos:"absolute"},[s]:{pos:"fixed",maxNum:1,statName:"lwcToastContainerCount"}}),c="aura",v={"ui:modal":{pos:"absolute"}},y={stack:[],callback:null,mixedOverlayPresent:!1,auraHighestZindex:9001,auraOverlayActive:!1,auraModalCount:0,auraAllOverlayCount:0,lwcModalCount:0,lwcToastContainerCount:0,lwcOverlayCount:0,lwcAllOverlayCount:0};function O(){y.callback&&y.lwcAllOverlayCount>0&&y.callback(y)}function d(){if(0===y.stack.length)f(),A();else{!function(a){a&&(a.hasAura?(y.auraModalCount=a.auraModals,y.auraOverlayCount=a.auraOverlays,y.auraAllOverlayCount=a.auraAllOverlays,y.auraOverlayActive=a.auraOverlayActive,a.auraHighestZIndex&&(y.auraHighestZindex=a.auraHighestZIndex)):f(),a.hasLwc?(y.lwcModalCount=a.lwcModals,y.lwcToastContainerCount=a.lwcToastContainers,y.lwcOverlayCount=a.lwcOverlays,y.lwcAllOverlayCount=a.lwcAllOverlays):A(),y.mixedOverlayPresent=a.hasLwc&&a.hasAura)}(function(){const a={hasLwc:!1,lwcOverlays:0,lwcAllOverlays:0,lwcModals:0,lwcToastContainers:0,hasAura:!1,auraModals:0,auraOverlays:0,auraAllOverlays:0,auraOverlayActive:!1,auraHighestZIndex:null},l=y.stack.length;return y.stack.forEach(({overlayEngine:t,overlayType:n,overlayDetails:r},o)=>{const y=t===c;if(t===i){a.hasLwc||(a.hasLwc=!0);const l=!!u[n];if(n&&l){const l=n===s;n===e?a.lwcModals++:l?a.lwcToastContainers++:a.lwcOverlays++,a.lwcAllOverlays++}}if(y){if(a.hasAura||(a.hasAura=!0),n&&(v[n]?a.auraModals++:a.auraOverlays++,a.auraAllOverlays++),r&&r.zIndex){const{zIndex:e}=r,{auraHighestZIndex:l}=a;!isNaN(e)&&(!l||e>l)&&(a.auraHighestZIndex=e)}l===o+1&&(a.auraOverlayActive=!0)}}),a}())}}function A(){y.lwcModalCount=0,y.lwcToastContainerCount=0,y.lwcOverlayCount=0,y.lwcAllOverlayCount=0}function f(){y.auraModalCount=0,y.auraOverlayCount=0,y.auraAllOverlayCount=0,y.auraHighestZindex=9001,y.auraOverlayActive=!1,y.auraOverlayPresent=!1}a.AURA_OVERLAY_ENGINE=c,a.AURA_OVERLAY_TYPES=v,a.AURA_STARTING_ZINDEX=9001,a.AURA_ZINDEX_INCREMENT=2,a.LWC_OVERLAY_ENGINE=i,a.LWC_OVERLAY_STARTING_ZINDEX=9e3,a.LWC_OVERLAY_TYPES=u,a.LWC_TOAST_CONTAINER_STARTING_ZINDEX=1e4,a.LWC_ZINDEX_INCREMENT=2,a.LWC_ZINDEX_OFFSET=1,a.TYPE_TOAST_CONTAINER=s,a.addOverlayToSharedState=function(a){const{overlayEngine:e,overlayType:l,overlayDetails:t}=a;if(!a||!e||!l||!(e===i||e===c))return;const n=function(a){const e={},l={id:"string",zIndex:"number",index:"number"};return a&&"object"==typeof a?(Object.entries(a).forEach(([a,t])=>{l[a]&&typeof t===l[a]&&(e[a]=t)}),e):e}(t);y.stack.push({overlayEngine:e,overlayType:l,overlayDetails:n}),d(),O()},a.getStatCount=function(a){return y&&y[a]?y[a]:null},a.isLwcModalActive=function(){let a=!1;if(y.stack?.length>0){const l=y.stack[y.stack.length-1];a=l?.overlayEngine===i&&l?.overlayType===e}return a},a.normalizeOverlayDetails=function(a,e,l){const t={};if(!a||!e||(a!==i||a!==c)&&"string"!=typeof e)return null;if(t.overlayEngine=a,t.overlayType=e,l){const{zIndex:a,id:e,index:n}=l,r={};if(void 0!==a||null!==a){const e=parseInt(a,10);!Number.isNaN(e)&&(r.zIndex=e)}e&&"string"==typeof e&&(r.id=e),(void 0!==n||null!==n&&"number"==typeof n)&&(r.index=n),t.overlayDetails=r}return t},a.removeOverlayFromSharedState=function(a){const e=y.stack.length,{overlayEngine:l,overlayDetails:t}=a;let n=null,r=null;if(0!==e&&!(!a||!l)&&(l===i||l===c)){if(t&&t.id&&(n=t.id),n)for(let a=e-1;a>-1;a--)if(y.stack[a]){const{overlayDetails:{id:e}}=y.stack[a];if(e&&e===n){r=a;break}}null!==r&&(y.stack.splice(r,1),d(),O())}},a.subscribeOverlay=function(a,e){y.callback=e,a&&O()},Object.defineProperty(a,"__esModule",{value:!0})});
586})();(function() { LWR.define("lightning/overlayUtils",["exports"],function(e){const t=Symbol("parent"),r=Symbol("instanceName"),s=Symbol("secure event"),o=Symbol("properties"),n=Symbol("requiredProperties");function i(e){const t={};if("string"==typeof e){const r=/([\w-]*)\s*:\s*([^;]*)/g;let s;for(;s=r.exec(e);)s[1].startsWith("--")?t[s[1]]=s[2].trim():console.warn(`Overlay 'style' only supports CSS Variables (invalid '${s[1]}' set)`)}else e&&"object"==typeof e&&Object.keys(e).forEach(r=>{r.startsWith("--")&&"string"==typeof e[r]?t[r]=e[r]:console.warn(`Overlay 'style' only supports CSS Variables (invalid '${r}' set)`)});return Object.keys(t).map(e=>`${e}:${t[e]}`).join(";")}e.instanceName=r,e.normalizeApis=function(e){if(e&&"object"==typeof e){const t={...e};return e.style&&(t.style=i(e.style)),t}return{}},e.normalizeStyle=i,e.parent=t,e.properties=o,e.requiredProperties=n,e.secure=s,Object.defineProperty(e,"__esMo
586dule",{value:!0})});
587})();(function() { LWR.define("lightning/modalUtils",["exports","lightning/focusUtils","lightning/overlayManager","lightning/overlayUtils"],function(t,e,n,l){const i=["lightning-modal-header","lightning-modal-body","lightning-modal-footer","lightning-focus-trap","lightning-overlay-container"];t.modalFocusinEventHandler=function(t){const{isModalClosing:o,lastFocusedElement:s}=this;if(!n.isLwcModalActive()||o)return;let a=null;t.target&&"function"==typeof t.target.closest?a=t.target.closest(i.join(",")):t.relatedTarget&&"function"==typeof t.relatedTarget.closest&&(a=t.relatedTarget.closest(i.join(","))),a?(this.lastFocusedElement=e.getElementWithFocus(),this.dispatchEvent(new CustomEvent("privatelightningmodallastfocus",{composed:!0,bubbles:!0,detail:{[l.secure]:!0,privatelightningmodallastfocus:this.lastFocusedElement}}))):s&&(s.ariaHasPopup||e.returnFocusToElement(s))},Object.defineProperty(t,"__esModule",{value:!0})});
588})();LWR.define('@salesforce/accessCheck/ComponentAccessibility.orgHasWCAGResizeReflowSC', [], function() { return false; });(function() { LWR.define("lightning/modalHeader",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/modalUtils","@salesforce/accessCheck/ComponentAccessibility.orgHasWCAGResizeReflowSC"],function(e,t,l,a,i,s){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=n(l),r=n(s);var o=[[function(e,t,l){var a=e?"["+e+"]":"";return"@media only screen and (max-width: 42.688rem) {.slds-modal__header__reflow_resize"+a+", .slds-modal_full"+a+" .slds-modal__header__reflow_resize"+a+" {padding-top: 0;padding-bottom: 0;}}"}],function(){return""}];const h=t.parseFragment`<h1${"a0:id"} class="slds-modal__title slds-hyphenate${0}" tabindex="-1" data-label${2}>${"t1"}</h1>`,u={"slds-modal__header":!0},c={part:"modal-header"},g={"data-default-slot":""},p=[];function m(e,t,l,a){const{b:i,gid:s,d:n,sp:d,st:r,s:o,h:m}=e,{_m0:f,_m1:b}=a;return[m("div",{classMap:u,attrs:c,key:0,on:f||(a._m0={focusin:i(t.handleModalHeaderFocusin)})},[t.label?r(h,2,[d(0,{attrs:{id:s("modal-label")}},null),d(1,null,n(t.label))]):null,o("",{attrs:g,key:3,on:b||(a._m1={slotchange:i(t.handleDefaultSlotChange)})},p,l)])]}var f=t.registerTemplate(m);m.slots=[""],m.stylesheets=[],m.stylesheetToken="lwc-5c4ei8ms9s6",m.legacyStylesheetToken="lightning-modalHeader_modalHeader",o&&m.stylesheets.push.apply(m.stylesheets,o),t.freezeTemplate(m);const b=".slds-modal__header";class S extends d.default{constructor(...e){super(...e),this.initialRender=!0,this.initialSlotRender=!0,this.unregisterCallback=null,this.defaultSlotPopulated=void 0,this.label="",this.handleModalHeaderFocusin=i.modalFocusinEventHandler.bind(this)}handleDefaultSlotChange(){this.initialSlotRender&&(this.initialSlotRender=!1),this.registerWithParent()}get headerHeight(){const e=this.template.querySelector(b),t=e?e.getBoundingClientRect():{},{height:l}=t;return l||0}get modalTitleElement(){return this.template.querySelector("[data-label]")}get modalLabelId(){const e=this.modalTitleElement;return a.getRealDOMId(e)}get defaultSlotWrapperElement(){return this.template.querySelector("[data-slot-wrapper]")}get defaultSlotWrapperId(){return a.getRealDOMId(this.defaultSlotWrapperElement)}get defaultSlotElement(){return this.template.querySelector("[data-default-slot]")}get isDefaultSlotPopulated(){const e=this.defaultSlotElement;if(e&&e.assignedNodes){const t=e.assignedNodes().length>0;return this.defaultSlotPopulated=t,t}return this.defaultSlotPopulated=!1,!1}get isLabelPopulated(){return this.label&&this.label.trim().length>0||!1}registerWithParent(){r.default&&this.template.querySelector(b).classList.add("slds-modal__header__reflow_resize");const e=new CustomEvent("privatemodalheaderregister",{bubbles:!0,composed:!0,detail:{labelId:this.modalLabelId,labelIsPopulated:this.isLabelPopulated,headerHeight:this.headerHeight,defaultSlotWrapperId:this.defaultSlotWrapperId,defaultSlotIsPopulated:this.isDefaultSlotPopulated,defaultSlotHasRendered:!this.initialSlotRender,unRegisterCallback:e=>{this.unregisterCallback=e},headerRef:this.modalTitleElement}});this.dispatchEvent(e)}initState(){this.initialRender=!0,this.initialSlotRender=!0,this.unregisterCallback=null}connectedCallback(){super.connectedCallback(),this.initState()}renderedCallback(){this.initialRender&&(this.registerWithParent(),this.initialRender=!1)}disconnectedCallback(){this.unregisterCallback&&this.unregisterCallback()}}t.registerDecorators(S,{publicProps:{label:{config:0}},fields:["initialRender","initialSlotRender","unregisterCallback","defaultSlotPopulated","handleModalHeaderFocusin"]});const _=t.registerComponent(S,{tmpl:f,sel:"lightning-modal-header",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
588e.default=_,Object.defineProperty(e,"__esModule",{value:!0})});
589})();(function() { LWR.define("lightning/modalBody",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/focusUtils","lightning/modalUtils"],function(e,t,l,a,i,s,n,o){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=d(l);var h=[function(){return""},function(e,t,l){return(t?":host(.modal_headerless) .slds-modal__content_headless":(e?"["+e+"-host]":"")+".modal_headerless .slds-modal__content_headless")+(e?"["+e+"]":"")+" {border-top-right-radius: unset;border-top-left-radius: unset;}"}];const c={"data-default-slot":""},u=[];function g(e,t,l,a){const{gid:i,ncls:s,b:n,s:o,h:d}=e,{_m0:r,_m1:h}=a;return[d("div",{className:s(t.modalBodyCssClasses),attrs:{id:i("modal-content"),part:"modal-body","data-content-container":""},key:0,on:r||(a._m0={privatescrollablecontainer:n(t.handleScrollableContainerRepositionEvent),focusin:n(t.handleModalBodyFocusin)})},[o("",{attrs:c,key:1,on:h||(a._m1={slotchange:n(t.handleDefaultSlotChange)})},u,l)])]}var m=t.registerTemplate(g);g.slots=[""],g.stylesheets=[],g.stylesheetToken="lwc-2404umhec18",g.legacyStylesheetToken="lightning-modalBody_modalBody",h&&g.stylesheets.push.apply(g.stylesheets,h),t.freezeTemplate(g);const{setContext:b,assertContext:f}=s.privateContext;class p extends r.default{handleDefaultSlotChange(){this.initialSlotRender&&(this.initialSlotRender=!1),this.registerWithParent()}handleScrollableContainerRepositionEvent(e){const{callback:t}=e.detail;t(e.composedPath()),e.stopPropagation()}get modalBodyCssClasses(){const e=a.classSet("slds-modal__content slds-p-around_medium");return e.add({"slds-modal__content_headless":!this.headerPresent,"slds-modal__content_footless":!this.footerPresent}),e.toString()}get contentElem(){return this.template.querySelector("[data-content-container]")}get modalContentId(){return i.getRealDOMId(this.contentElem)}get defaultSlotElement(){return this.template.querySelector("[data-default-slot]")}get isDefaultSlotPopulated(){const e=this.defaultSlotElement;return!(!e||!e.assignedNodes)&&e.assignedNodes().length>0}get firstTabbableElement(){let e=null;if(this.isDefaultSlotPopulated){const t=n.findAllTabbableElements(this.defaultSlotElement),l=n.filterTooltips(t);l.length>0&&(e=l[0])}return e}calculateModalUsableHeight(e){const{backdropHeight:t,paddingTop:l,paddingBottom:a}=e,i=t-l-a;return e.modalUsableHeight=i,e}calculateModalBodyUsableHeight({modalUsableHeight:e,headerHeight:t,footerHeight:l}){return e-t-l}updateModalBodyHeightValues(e){const t=this.calculateModalUsableHeight(e),l=this.calculateModalBodyUsableHeight(t);return e.modalBodyUsableHeight=l,e.maxModalBodyHeightStyle=`${l}px`,e}setModalBodyHeight(e,t){const l={maxHeight:null,minHeight:null};if(!t){const{maxModalBodyHeightStyle:t,minModalBodyHeightStyle:a}=this.updateModalBodyHeightValues(e);l.maxHeight=t,l.minHeight=a}const a=this.contentElem;Object.assign(a.style,l)}updateValues(e){const{headerHeight:t,footerHeight:l,backdropHeight:a}=e;return{headerHeight:Math.floor(t),footerHeight:Math.floor(l),backdropHeight:Math.floor(a),paddingTop:48,paddingBottom:80,modalBodyMinHeight:80,minModalBodyHeightStyle:"80px",maxModalBodyHeightStyle:null,modalBodyUsableHeight:null,modalUsableHeight:null}}handleUpdateModalBodyHeight(e){if(!this.initialRender){const{sizeSetFull:t,isSmallScreenSize:l,size:a,headerHeight:i,footerHeight:s}=e;this.headerPresent=0!==i,this.footerPresent=0!==s;const n=t&&l,o=this.updateValues(e);this.setModalBodyHeight(o,n),this.headerPresent||this.setAttribute("data-variant-headless",""),this.footerPresent||this.setAttribute("data-variant-footless",""),this.setAttribute("data-size",a)}}registerWithParent(){f(this);const e=new CustomEvent("privatemodalbodyregister",{bubbles:!0,composed:!0,detail:{bodyId:this.modalContentId,bodyIsPopulated:this.isDefaultSlotPopulated,defaultSlotHasRendered:!this.initialSlotRender,updateBodyCallback:this.handleUpdateModalBodyHeight.bind(this),unRegisterCallback:e=>{this.unregisterCallback=e},firstTabbableElemRef:this.firstTabbableElement}});this.dispatchEvent(e)}initState(){this.initialRender=!0,this.initialSlotRender=!0,this.unregisterCallback=null,this.headerPresent=!1,this.footerPresent=!1}constructor(){super(),this.initialRender=!0,this.initialSlotRender=!0,this.unregisterCallback=null,this.headerPresent=!1,this.footerPresent=!1,this.handleModalBodyFocusin=o.modalFocusinEventHandler.bind(this),b(this)}connectedCallback(){super.connectedCallback(),this.initState()}disconnectedCallback(){this.unregisterCallback&&this.unregisterCallback()}renderedCallback(){this.initialRender&&(this.registerWithParent(),this.initialRender=!1)}}t.registerDecorators(p,{fields:["initialRender","initialSlotRender","unregisterCallback","headerPresent","footerPresent","handleModalBodyFocusin"]});const y=t.registerComponent(p,{tmpl:m,sel:"lightning-modal-body",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
589e.default=y,Object.defineProperty(e,"__esModule",{value:!0})});
590})();(function() { LWR.define("lightning/modalFooter",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/modalUtils","@salesforce/accessCheck/ComponentAccessibility.orgHasWCAGResizeReflowSC"],function(e,t,i,l,s,o){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(i),r=n(o);var d=[function(){return""},function(e,t,i){return"@media only screen and (max-width: 42.688rem) {.slds-modal__footer__reflow_resize"+(e?"["+e+"]":"")+" {padding-top: 0;padding-bottom: 0;}}"}];const h={part:"modal-footer"},c={"data-footer-slot":""},u=[];function g(e,t,i,l){const{ncls:s,b:o,s:n,h:a}=e,{_m0:r,_m1:d}=l;return[a("div",{className:s(t.footerCssClasses),attrs:h,key:0,on:r||(l._m0={focusin:o(t.handleModalFooterFocusin)})},[n("",{attrs:c,key:1,on:d||(l._m1={slotchange:o(t.handleDefaultSlotChange)})},u,i)])]}var f=t.registerTemplate(g);g.slots=[""],g.stylesheets=[],g.stylesheetToken="lwc-cdmrk6grsb",g.legacyStylesheetToken="lightning-modalFooter_modalFooter",d&&g.stylesheets.push.apply(g.stylesheets,d),t.freezeTemplate(g);const m="slds-modal__footer",p="slds-hide",C=`.${m}`;class S extends a.default{constructor(...e){super(...e),this.initialRender=!0,this.initialSlotRender=!0,this.hideFooter=!1,this.unregisterCallback=null,this.handleModalFooterFocusin=s.modalFocusinEventHandler.bind(this)}handleDefaultSlotChange(){this.initialSlotRender&&(this.initialSlotRender=!1),this.registerWithParent(),this.hideFooter=!this.isDefaultSlotPopulated}get footerCssClasses(){const e=l.classSet(m);return e.add({[p]:this.hideFooter}),e.add({"slds-modal__footer__reflow_resize":!!r.default}),e.toString()}get footerHeight(){const e=this.template.querySelector(C),t=e?e.getBoundingClientRect():{},{height:i}=t;return i||0}get defaultSlotElement(){return this.template.querySelector("[data-footer-slot]")}get isDefaultSlotPopulated(){const e=this.defaultSlotElement;return!e||!e.assignedNodes||e.assignedNodes().length>0}registerWithParent(){const e=new CustomEvent("privatemodalfooterregister",{bubbles:!0,composed:!0,detail:{footerHeight:this.footerHeight,defaultSlotIsPopulated:this.isDefaultSlotPopulated,defaultSlotHasRendered:!this.initialSlotRender,unRegisterCallback:e=>{this.unregisterCallback=e}}});this.dispatchEvent(e)}initState(){this.initialRender=!0,this.initialSlotRender=!0,this.hideFooter=!1,this.unregisterCallback=null}connectedCallback(){super.connectedCallback(),this.initState()}disconnectedCallback(){this.unregisterCallback&&this.unregisterCallback()}renderedCallback(){this.initialRender&&(this.registerWithParent(),this.initialRender=!1),this.hideFooter=!this.isDefaultSlotPopulated}}t.registerDecorators(S,{fields:["initialRender","initialSlotRender","hideFooter","unregisterCallback","handleModalFooterFocusin"]});const b=t.registerComponent(S,{tmpl:f,sel:"lightning-modal-footer",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=b,Object.defineProperty(e,"__esModule",{value:!0})});
591})();(function() { LWR.define("lightning/overlayContainer",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/overlayUtils","lightning/utilsPrivate","lightning/overlayManager"],function(e,t,n,s,r,i){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(n);const a={attrs:{"data-overlay-container":""},context:{lwc:{dom:"manual"}},key:0};function c(e,t,n,s){const{h:r}=e;return[r("div",a)]}var d=t.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-6g5m5782a6m",c.legacyStylesheetToken="lightning-overlayContainer_overlayContainer",t.freezeTemplate(c);class h extends o.default{constructor(...e){super(...e),this.stack=[],this.afterFirstRender=!1}get root(){return this.template.querySelector("[data-overlay-container]")}push(e,n){if("object"!=typeof(n=n||{}))throw new Error("Invalid .open() or .open({}) argument.");if("innerHTML"in n||"outerHTML"in n)throw new Error("Illegal api values");const{[s.instanceName]:l,[s.parent]:o}=e;if(!this.isOverlayAllowedToAdd(l))return Promise.reject();const a=t.createElement(l,{is:e}),c=s.normalizeApis(n);
591Object.entries(c).forEach(([e,t])=>{const n=e.toLowerCase().match(/^on(.+)/);if(n){const e=n[1];a.addEventListener(e,t)}else a[e]=t});let d=null;const h=r.guid();if(o){const e=t.createElement(o[s.instanceName],{is:o});"lightning-overlay"===l&&(e.focusTrapEnabled=n.enableFocusTrap),this.root.appendChild(e),e.defaultSlot.appendChild(a),d=new Promise(t=>{this.stack.push({resolve:t,element:a,parentElement:e,id:h})})}else this.root.appendChild(a),d=new Promise(e=>{this.stack.push({resolve:e,element:a,id:h})});const E=i.normalizeOverlayDetails(i.LWC_OVERLAY_ENGINE,l,{id:h});return i.addOverlayToSharedState(E),d}findElementInStack(e){return this.stack.find(t=>t.element===e)}findElementIndexInStack(e){return this.stack.indexOf(t=>t.element===e)}pop(e,t,n){const s=this.findElementInStack(e);if(s&&!s.isClosing){s.isClosing=!0;const{element:e,parentElement:r,resolve:i,id:l}=s;i(t),n?n.then(()=>{this.removeOverlay(e,r,l)}):this.removeOverlay(e,r,l)}else console.info("The LightningOverlay extended component is closed or in the process of closing. this.close() was previously called.");return null}removeOverlay(e,t,n){const s=e&&e.tagName.toLowerCase();if(t){const e=t.defaultSlot;t.parentNode&&t.parentNode.removeChild(t),e&&e.firstElementChild&&e.removeChild(e.firstElementChild)}else e&&(e.parentNode?e.parentNode.removeChild(e):e.remove());const r=this.findElementIndexInStack(e);r>-1&&this.stack.splice(r,1);const l=i.normalizeOverlayDetails(i.LWC_OVERLAY_ENGINE,s,{id:n});i.removeOverlayFromSharedState(l)}connectedCallback(){i.subscribeOverlay(this.afterFirstRender,e=>{const{mixedOverlayPresent:t,auraHighestZindex:n,lwcAllOverlayCount:s,stack:r}=e;if(0===s)return;let l=i.LWC_OVERLAY_STARTING_ZINDEX,o=0;const a=i.LWC_TOAST_CONTAINER_STARTING_ZINDEX;r.forEach((s,r)=>{const{overlayEngine:c,overlayType:d,overlayDetails:h}=s;let E;const m=i.LWC_OVERLAY_TYPES[d]&&i.LWC_OVERLAY_TYPES[d].pos||"fixed",v=d===i.TYPE_TOAST_CONTAINER;if(t)if(c===i.LWC_OVERLAY_ENGINE){E=this.root.childNodes[o];const t=!(!h||!h.zIndex),s=h&&h.zIndex;let u;if(!t||Number.isNaN(s)){v?u=a:(l=0!==r?n+i.LWC_ZINDEX_OFFSET:l,u=l);const t={zIndex:u},s=i.normalizeOverlayDetails(c,d,Object.assign({},h,t));null!==s&&(e.stack[r]=s)}else v?u=s>=i.LWC_TOAST_CONTAINER_STARTING_ZINDEX?s:i.LWC_TOAST_CONTAINER_STARTING_ZINDEX:(l=s>=i.LWC_OVERLAY_STARTING_ZINDEX?s:i.LWC_OVERLAY_STARTING_ZINDEX,u=l);E&&(E.style.zIndex=u,E.style.position=m,o+=1)}else l+=i.LWC_ZINDEX_INCREMENT;else if(E=this.root.childNodes[o],E){const t=v?a:l;E.style.zIndex=t,E.style.position=m;const n={zIndex:t},s=i.normalizeOverlayDetails(c,d,Object.assign({},h,n));null!==s&&(e.stack[r]=s),o+=1}})}),this.afterFirstRender=!0}isOverlayAllowedToAdd(e){if(!!!i.LWC_OVERLAY_TYPES[e])return!1;const{maxNum:t,statName:n}=i.LWC_OVERLAY_TYPES[e],s=void 0===t,r=n&&i.getStatCount(n)||0;return s||t>r}}t.registerDecorators(h,{publicMethods:["push","pop"],fields:["stack","afterFirstRender"]});const E=t.registerComponent(h,{tmpl:d,sel:"lightning-overlay-container",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=E,Object.defineProperty(e,"__esModule",{value:!0})});
592})();(function() { LWR.define("lightning/primitiveOverlay",["exports","lwc","lwr/environment","lightning/shadowBaseClassPrivate","lightning/overlayUtils","lightning/overlayContainer"],function(e,t,n,i,l,r){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=s(i),a=s(r);const c=[];function d(e,t,n,i){return c}var p=t.registerTemplate(d);d.stylesheets=[],d.stylesheetToken="lwc-63dd3nje2h7",d.legacyStylesheetToken="lightning-primitiveOverlay_primitiveOverlay",t.freezeTemplate(d);const h="lightning-overlay-container";function v(){let e=document.querySelector(`body > ${h}`);return e||(e=t.createElement(h,{is:a.default}),e.classList.add("slds-scope"),document.body.appendChild(e)),e}class g extends o.default{static open(e){return n.isServer?new Promise(()=>{}):v().push(this,e)}close(e,t){n.isServer||v().pop(this.template.host,e,t)}}g[l.instanceName]="lightning-primitive-overlay",t.registerDecorators(g,{publicMethods:["close"]});const u=t.registerComponent(g,{tmpl:p,sel:"lightning-primitive-overlay",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
592e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
593})();(function() { LWR.define("lightning/modalBase",["exports","lwc","lightning/buttonIcon","lightning/focusTrap","lwr/environment","lightning/features","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsInternal","lightning/utilsPrivate","lightning/overlayUtils","lightning/focusUtils","@salesforce/label/LightningModalBase.cancelandclose","@salesforce/label/LightningModalBase.waitstate","lightning/ariaObserver","lightning/modalUtils","@salesforce/accessCheck/ComponentAccessibility.orgHasWCAGResizeReflowSC"],function(e,t,i,s,a,l,o,n,d,r,h,u,c,g,m,p,b){function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=v(i),S=v(s),y=v(o),B=v(c),R=v(g),C=v(m),E=v(b);var M=[[function(e,t,i){var s=e?"["+e+"]":"",a=e?"["+e+"-host]":"";return(t?".fix-slds-modal"+s+",:host([data-render-mode='shadow']) .fix-slds-modal":".fix-slds-modal"+s+","+a+"[data-render-mode='shadow'] .fix-slds-modal")+s+" {visibility: visible;z-index: unset;}"+(t?".fix-slds-backdrop"+s+",:host([data-render-mode='shadow']) .fix-slds-backdrop":".fix-slds-backdrop"+s+","+a+"[data-render-mode='shadow'] .fix-slds-backdrop")+s+" {z-index: unset;}"}],function(){return""},function(e,t,i){var s=e?"["+e+"]":"";return"div[data-slot]"+s+" {display: contents;}@media only screen and (max-width: 42.688rem) {.slds-modal__container__reflow_resize"+s+" {margin-left: 0.1rem;margin-right: 0.1rem;padding-top: 0.5rem;padding-bottom: 0;overflow: hidden;}}"}];const z=t.parseFragment`<div${"c0"} part="modal-backdrop" role="presentation" data-backdrop${2}></div>`,w=t.parseFragment`<span${"a0:id"} class="slds-assistive-text${0}" data-aria-description${2}>${"t1"}</span>`,I=t.parseFragment`<span aria-live="polite" role="status" class="slds-assistive-text${0}" data-aria-live-message${2}>${"t1"}</span>`,A={key:2},L={role:"dialog",tabindex:"-1","aria-modal":"true",part:"modal","data-modal":""},H={classMap:{"slds-assistive-text":!0},attrs:{"aria-hidden":"true","data-modal-tooltip-portal":""},context:{lwc:{dom:"manual"}},key:8},k={classMap:{"slds-modal__container":!0},attrs:{"data-container":""},key:9},F={"data-close-button":""},D={attrs:{"data-slot":""},context:{lwc:{dom:"manual"}},key:11};function O(e,t,i,s){const{ncls:a,sp:l,st:o,b:n,gid:d,d:r,h:h,c:u}=e,{_m0:c,_m1:g}=s;return[o(z,1,[l(0,{className:a(t.modalBackdropCssClasses)},null)]),u("lightning-focus-trap",S.default,A,[h("section",{className:a(t.modalCssClasses),attrs:L,key:3,on:c||(s._m0={keydown:n(t.handleModalKeyDown),privatemodalheaderregister:n(t.handleHeaderRegister),privatemodalbodyregister:n(t.handleBodyRegister),privatemodalfooterregister:n(t.handleFooterRegister),privateclose:n(t.handlePrivateClose),privatedisableclosebutton:n(t.handlePrivateDisableCloseButton),focusin:n(t.handleModalBaseFocusin),privatelightningmodallastfocus:n(t.handleLastFocusedElem)})},[t.showAriaDescribedBy?o(w,5,[l(0,{attrs:{id:d("modal-description")}},null),l(1,null,r(t.description))]):null,t.showAriaLiveMessage?o(I,7,[l(1,null,r(t.ariaLiveMessage))]):null,t.isHelptextA11yInModalEnabled?h("span",H):null,h("div",k,[u("lightning-button-icon",f.default,{className:a(t.computedCloseButtonCssClass),attrs:F,props:{iconName:"utility:close",variant:"bare",alternativeText:t.closeButtonAltText,size:"large",disabled:t.disableCloseButton},key:10,on:g||(s._m1={click:n(t.handleCloseClick)})}),h("div",D)])])])]}var _=t.registerTemplate(O);O.stylesheets=[],O.stylesheetToken="lwc-6o6likdls9f",O.legacyStylesheetToken="lightning-modalBase_modalBase",M&&O.stylesheets.push.apply(O.stylesheets,M),t.freezeTemplate(O);const{setContext:T,assertContext:P}=d.privateContext,x="small",W="medium",N="large",q="full";let U=0,$=null;class K extends y.default{constructor(){super(),this.initialRender=!0,this.autoFocusCompletedOnce=!1,this.timeoutId=0,this.disableCloseButton=!1,this.sectionAriaBusy=null,this.closeButtonAltText=B.default,this.disableCloseBtnMessage=R.default,this.isModalClosing=!1,this.isSmallScreenSize=null,this.headerRegistered=!1,this.headerHeight=0,this.headerDefaultSlotIsPopulated=!1,this.headerSlotWrapperId=null,this.headerSlotHasRendered=!1,this.headerLabelId=null,this.headerLabelIsPopulated=null,this.headerTitleRef=null,this.bodyRegistered=!1,this.bodyDefaultSlotIsPopulated=!1,this.bodySlotHasRendered=!1,this.bodyId=null,this.baseUpdateBodyCallback=null,this.bodyResizeScheduled=!1,this.bodyTabElemRef=null,this.windowResizeEventBound=!1,this.windowOrientationEventBound=!1,this.portraitMatchMedia=null,this.screenOrientationChangeHandler=null,this.focusinEventBound=!1,this.lastFocusedElement=null,this.footerRegistered=!1,this.footerHeight=0,this.footerSlotHasRendered=!1,this.footerDefaultSlotIsPopulated=!1,this.modalLabel=null,this.modalLabelledBy=null,this.modalDe
593scribedBy=null,this.showAriaLiveMessage=!1,this.ariaLiveMessage="",this.isModalOpen=!1,this.isModalTransitioningIn=!1,this.savedInertElements=[],this.savedActiveElement=void 0,this.ariaObserver=null,this.updateHeaderCallback=void 0,this.updateFooterCallback=void 0,this._resizing=void 0,this._size=null,this.unsetAriaLabelAndError=()=>{r.synchronizeAttrs(this.modalWrapper,{[r.ARIA.LABELLEDBY]:null,[r.ARIA.LABEL]:null}),this.errorLabelRequired(),this.ariaObserver&&this.ariaObserver.disconnect()},this.handleWindowResizeEvent=()=>{this.scheduleWindowResizeEvent()},this.handleModalBaseFocusin=p.modalFocusinEventHandler.bind(this),T(this),this.ariaObserver=new C.default(this)}get label(){const e=this.modal;return e?e.label:""}get description(){const e=this.modal;return e?e.description:""}normalizeSize(e){const t=W;return r.normalizeString(e,{fallbackValue:t,validValues:[q,x,W,N]})}get isModalSizeNotSet(){return null===this._size}get size(){const e=W;return this._size||e}set size(e){this._size=e?this.normalizeSize(e):null}get disableClose(){const e=this.modal;return!!e&&e.disableClose}get defaultSlot(){return this.template.querySelector("[data-slot]")}get modalWrapper(){return this.template.querySelector("[data-modal]")}get modal(){return!a.isServer&&this.defaultSlot&&this.defaultSlot.childNodes[0]||null}get modalDescSpan(){return this.template.querySelector("[data-aria-description]")}get modalCloseButton(){return this.template.querySelector("[data-close-button]")}get modalElement(){const e=this.defaultSlot;return e?e.querySelector("lightning-modal"):null}get modalBackdrop(){return this.template.querySelector("[data-backdrop]")}get backdropDimensions(){const e=this.modalBackdrop,t=e?e.getBoundingClientRect():{},{height:i,width:s}=t;return{height:i||0,width:s||0}}get modalCssClasses(){const e=n.classSet("slds-modal fix-slds-modal"),t=W,i=null===this._size?t:this.size;return r.hasAnimation()?e.add({"slds-fade-in-open":this.isModalTransitioningIn}):e.add({"slds-fade-in-open":!0}),e.add({"slds-modal_full":i===q,"slds-modal_medium":i===W,"slds-modal_large":i===N,"slds-modal_small":i===x}),e.toString()}get modalBackdropCssClasses(){let e=n.classSet("slds-backdrop fix-slds-backdrop");return r.hasAnimation()?e.add({"slds-backdrop_open":this.isModalOpen}):e=e.add({"slds-backdrop_open":!0}),e.toString()}get isDescriptionSet(){const{description:e}=this;return!!e?.trim().length}get computedCloseButtonCssClass(){const e=n.classSet("slds-button slds-button_icon slds-modal__close"),t=this.isSmallScreenSize&&this.size===q;return e.add({"slds-modal_full-close-button":t}),e.toString()}get showAriaDescribedBy(){return!r.isAriaDescriptionSupported()&&this.isDescriptionSet}get modalResizing(){return l.features.enableAssertContext260Round2&&P(this),this._resizing||(this._resizing=this.scheduleWindowResizeEvent.bind(this)),this._resizing}get isHelptextA11yInModalEnabled(){return l.features.enableHelptextA11yInModal}toggleDisableCloseButton(){const e=!this.disableCloseButton&&this.disableClose,t=e?this.disableCloseBtnMessage:"";e?(this.ariaLiveMessage=t,this.showAriaLiveMessage=!0,r.synchronizeAttrs(this.modalWrapper,{[`${r.ARIA.BUSY}`]:!0}),r.synchronizeAttrs(this.modalCloseButton,{disabled:"disabled"}),this.disableCloseButton=!0):(this.ariaLiveMessage=R.default,this.showAriaLiveMessage=!1,r.synchronizeAttrs(this.modalWrapper,{[`${r.ARIA.BUSY}`]:null}),r.synchronizeAttrs(this.modalCloseButton,{disabled:null}),this.disableCloseButton=!1)}saveActiveElement(){this.savedActiveElement=u.getElementWithFocus()}renderBackgroundInert(){this.savedInertElements=r.makeEverythingExceptElementInert(this.template.host)}renderBackgroundActive(){r.restoreInertness(this.savedInertElements),this.savedInertElements=[]}returnFocusToBackground(){const{savedActiveElement:e}=this;u.returnFocusToElement(e)||console.warn("Modal :: Nothing to return focus to")}queueShowModal(){this.isModalOpen&&!this.isModalTransitioningIn&&(this.isModalTransitioningIn=!0)}openModal(){this.saveActiveElement(),this.renderBackgroundInert(),this.isModalOpen||(this.isModalOpen=!0,0===U&&(a.isServer||($=getComputedStyle(document.body).overflow,document.body.style.overflow="hidden")),U++)}
593handleModalCloseState(){this.isModalOpen&&(this.isModalOpen=!1,U--,0===U&&(a.isServer||(document.body.style.overflow=$),$=null))}closeModal(){this.returnFocusToBackground(),this.renderBackgroundActive(this.savedInertElements),this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}updateAriaDescription(){const{description:e}=this;if(r.isAriaDescriptionSupported()){const t=this.isDescriptionSet?e:null;return r.synchronizeAttrs(this.modalWrapper,{[r.ARIA.DESCRIPTION]:t})}const t=this.isDescriptionSet&&this.modalDescSpan.id||null;return r.synchronizeAttrs(this.modalWrapper,{[r.ARIA.DESCRIBEDBY]:t})}updateAriaLabel(){const{label:e,headerRegistered:t,headerLabelId:i,headerLabelIsPopulated:s}=this,a=""===e||0===e.trim().length;t?i&&s?(this.ariaObserver&&this.ariaObserver.connect({targetNode:this.modalWrapper,attribute:"aria-labelledby",relatedNodes:[this.headerTitleRef]}),r.synchronizeAttrs(this.modalWrapper,{[r.ARIA.LABEL]:null})):this.unsetAriaLabelAndError():a?this.isModalClosing||this.unsetAriaLabelAndError():r.synchronizeAttrs(this.modalWrapper,{[r.ARIA.LABELLEDBY]:null,[r.ARIA.LABEL]:e})}errorLabelRequired(){let e='LightningModal - Templates with <lightning-modal-header> should define the label attribute as an attribute on <lightning-modal-header label="Modal Heading"> .';e+=' Templates without <lightning-modal-header> should define the label attribute in the Modal.open({ label: "Modal Heading" })',console.error('LightningModal - Templates with <lightning-modal-header> should define the label attribute as an attribute on <lightning-modal-header label="Modal Heading"> . Templates without <lightning-modal-header> should define the label attribute in the Modal.open({ label: "Modal Heading" })')}handleCloseClick(){this.disableCloseButton||this.modal.close()}handlePrivateClose(e){e.detail&&e.detail[h.secure]?(this.handleModalCloseState(),this.isModalClosing=!0,r.hasAnimation()?(this.modalWrapper.classList.remove("slds-fade-in-open"),this.modalBackdrop.classList.remove("slds-backdrop_open"),this.modalBackdrop.addEventListener("transitionend",()=>{e.detail.resolve()})):e.detail.resolve(),this.headerRegistered&&this.unregisterHeader&&this.unregisterHeader(),this.bodyRegistered&&this.unregisterBody&&this.unregisterBody(),this.footerRegistered&&this.unregisterFooter&&this.unregisterFooter(),this.closeModal()):console.error("Invalid access to privateclose event")}handlePrivateDisableCloseButton(e){e.detail&&e.detail[h.secure]?this.toggleDisableCloseButton():console.error("Invalid access to privatedisableclose event")}handleModalKeyDown(e){const{ctrlKey:t,metaKey:i,shiftKey:s,key:a}=e,o=t||i||s;l.features.enableTooltipHoverDismiss&&r.hasActiveTooltip()||o||this.disableCloseButton||"Esc"!==a&&"Escape"!==a||(e.stopPropagation(),e.preventDefault(),this.handleCloseClick())}focusFirstElement(){const{autoFocusCompletedOnce:e,modalElement:t}=this;if(e||!t)return;const{bodyRegistered:i,footerRegistered:s,headerRegistered:a,headerTitleRef:l,headerDefaultSlotIsPopulated:o,headerSlotHasRendered:n,bodyDefaultSlotIsPopulated:d,bodySlotHasRendered:r,bodyTabElemRef:h,footerDefaultSlotIsPopulated:u,footerSlotHasRendered:c}=this;if(a&&o&&!n||i&&d&&!r||s&&u&&!c)return;const g=a&&l?l:null,m=g||(h||null),p=this.modalCloseButton,b=this.modalWrapper,v=this.disableCloseButton?b:p,f=m||v;null!==f?(this.lastFocusedElement=f,requestAnimationFrame(()=>{f?.focus()}),this.autoFocusCompletedOnce=!0):console.error("LightningModal - at least one focusable element is required, none found.")}unregisterBody(){this.initBodyState()}registerBody({bodyId:e,bodyIsPopulated:t,updateBodyCallback:i,defaultSlotHasRendered:s,unRegisterCallback:a,firstTabbableElemRef:l}){this.bodyRegistered=!0,this.bodyDefaultSlotIsPopulated=t,this.bodySlotHasRendered=s,this.bodyId=e,this.baseUpdateBodyCallback=i,this.bodyTabElemRef=l||null,a(()=>{this.unregisterBody()}),this.updateModalBodyHeight(),this.isModalSizeNotSet&&(this.size=this.modal?.size||null),this.windowResizeEventBound||this.addWindowResizeEventListener(),this.windowOrientationEventBound||this.addOrientationChangeListener(),this.focusinEventBound||this.addFocusinEventListener()}handleBodyRegister(e){const{detail:t}=e;this.registerBody(t),e.stopPropagation()}initBodyState(){this.bodyRegistered=!1,this.bodyDefaultSlotIsPopulated=!1,this.bodySlotHasRendered=!1,this.bodyId=null,this.baseUpdateBodyCallback=null,this.bodyResizeScheduled=!1,this.bodyTabElemRef=null,this.removeModalEventListeners()}unregisterHeader(){this.initHeaderState(),this.updateAriaLabel()}updateHeaderHeight(e){this.headerHeight=!Number.isNaN(e)&&e>=0?e:0}registerHeader({defaultSlotIsPopulated:e,defaultSlotWrapperId:t,defaultSlotHasRendered:i,unRegisterCallback:s,labelIsPopulated:a,headerHeight:l,headerRef:o,labelId:n}){this.headerRegistered=!0,this.updateHeaderHeight(l),this.headerDefaultSlotIsPopulated=e,this.headerSlotHasRendered=i,this.headerSlotWrapperId=t,this.headerLabelId=n,this.headerLabelIsPopulated=a,this.headerTitleRef=o,s(()=>{this.unregisterHeader()}),this.bodyRegistered&&this.updateModalBodyHeight(),this.isModalSizeNotSet&&(this.size=this.modal?.size||null)}handleHeaderRegister(e){const{detail:t}=e;this.registerHeader(t),this.updateAriaLabel(),e.stopPropagation()}initHeaderState(){this.headerRegistered=!1,this.headerHeight=0,this.headerDefaultSlotIsPopulated=!1,this.headerSlotWrapperId=null,this.headerSlotHasRendered=!1,this.headerLabelId=null,this.headerLabelIsPopulated=null,this.headerTitleRef=null}unregisterFooter(){this.initFooterState()}updateFooterHeight(e){this.footerHeight=!Number.isNaN(e)&&e>=0?e:0}registerFooter({defaultSlotIsPopulated:e,defaultSlotHasRendered:t,footerHeight:i,unRegisterCallback:s}){this.footerRegistered=!0,this.footerDefaultSlotIsPopulated=e,this.footerSlotHasRendered=t,this.updateFooterHeight(i),s(()=>{this.unregisterFooter()}),this.bodyRegistered&&this.updateModalBodyHeight(),this.isModalSizeNotSet&&(this.size=this.modal?.size||null)}handleFooterRegister(e){const{detail:t}=e;this.registerFooter(t),e.stopPropagation()}initFooterState(){this.footerRegistered=!1,this.footerHeight=0,this.footerSlotHasRendered=!1,this.footerDefaultSlotIsPopulated=!1}updateModalBodyHeight(){E.default&&this.template.querySelector("[data-container]").classList.add("slds-modal__container__reflow_resize"),clearTimeout(this.timeoutId),this.timeoutId=0,this.updateHeaderCallback&&this.updateHeaderCallback({size:this.size}),this.updateFooterCallback&&this.updateFooterCallback({size:this.size}),this.bodyRegistered&&!this.bodyResizeScheduled&&(this.setIsSmallScreenSize(),requestAnimationFrame(()=>{if(this.bodyResizeScheduled=!1,this.baseUpdateBodyCallback){const e={footerHeight:this.footerHeight||0,headerHeight:this.headerHeight||0,backdropHeight:this.backdropDimensions.height,backdropWidth:this.backdropDimensions.width,sizeSetFull:this.size===q,isSmallScreenSize:this.isSmallScreenSize,size:this.size};this.baseUpdateBodyCallback(e)}}),this.bodyResizeScheduled=!0)}scheduleWindowResizeEvent(){0===this.timeoutId&&(this.timeoutId=setTimeout(()=>{this.updateModalBodyHeight()},300))}addWindowResizeEventListener(){a.isServer||this.windowResizeEventBound||(window.addEventListener("resize",this.handleWindowResizeEvent),this.windowResizeEventBound=!0)}removeWindowResizeEventListener(){!a.isServer&&this.windowResizeEventBound&&
593(window.removeEventListener("resize",this.handleWindowResizeEvent),clearTimeout(this.timeoutId),this.timeoutId=0,this.windowResizeEventBound=!1)}removeOrientationChangeListener(){this.windowOrientationEventBound&&this.portraitMatchMedia&&(this.portraitMatchMedia.removeEventListener("change",this.screenOrientationChangeHandler),this.portraitMatchMedia=null,this.windowOrientationEventBound=!1),this.screenOrientationChangeHandler&&(this.screenOrientationChangeHandler=null)}addOrientationChangeListener(){a.isServer||(this.portraitMatchMedia=window.matchMedia("(orientation: portrait)"),this.screenOrientationChangeHandler=this.handleWindowResizeEvent.bind(this),this.portraitMatchMedia&&(this.portraitMatchMedia.addEventListener("change",this.screenOrientationChangeHandler),this.windowOrientationEventBound=!0))}addFocusinEventListener(){this.focusinEventBound||(this.focusinEventBound=!0,window.addEventListener("focusin",p.modalFocusinEventHandler.bind(this)))}removeFocusinEventListener(){this.focusinEventBound&&(this.focusinEventBound=!1,window.removeEventListener("focusin",p.modalFocusinEventHandler.bind(this)))}handleLastFocusedElem(e){e.detail&&e.detail[h.secure]?(e.stopPropagation(),this.lastFocusedElement=e.detail.privatelightningmodallastfocus):console.error("Invalid access to onprivatelightningmodallastfocus event")}setIsSmallScreenSize(){if(!a.isServer){const e=document&&document.documentElement||null,t=(e?e.clientWidth:window.innerWidth)<=480;t!==this.isSmallScreenSize&&(this.isSmallScreenSize=t)}}removeModalEventListeners(){this.removeWindowResizeEventListener(),this.removeOrientationChangeListener(),this.removeFocusinEventListener()}initBaseState(){this.initialRender=!0,this.autoFocusCompletedOnce=!1,this.windowResizeEventBound=!1,this.timeoutId=0,this.disableCloseButton=!1,this.modalLabel=null,this.modalLabelledBy=null,this.modalDescribedBy=null,this.showAriaLiveMessage=!1,this.ariaLiveMessage="",this.savedInertElements=[],this.savedActiveElement=null,this.isModalOpen=!1,this.isModalTransitioningIn=!1,this.isModalClosing=!1,this._size=null,this.isSmallScreenSize=null}initModalState(){this.initBaseState(),this.initHeaderState(),this.initBodyState(),this.initFooterState()}connectedCallback(){super.connectedCallback(),this.initModalState(),this.setIsSmallScreenSize()}disconnectedCallback(){this.handleModalCloseState(),this.removeModalEventListeners(),this.closeModal()}renderedCallback(){this.initialRender?(this.openModal(),this.initialRender=!1):(this.updateAriaLabel(),this.updateAriaDescription(),this.isModalTransitioningIn||this.queueShowModal(),this.autoFocusCompletedOnce||(this.toggleDisableCloseButton(),this.focusFirstElement()),this.isModalSizeNotSet&&(this.size=this.modal?.size||null)),this.updateModalBodyHeight()}}K[h.instanceName]="lightning-modal-base",t.registerDecorators(K,{publicProps:{defaultSlot:{config:1}},track:{savedActiveElement:1},fields:["initialRender","autoFocusCompletedOnce","timeoutId","disableCloseButton","sectionAriaBusy","closeButtonAltText","disableCloseBtnMessage","isModalClosing","isSmallScreenSize","headerRegistered","headerHeight","headerDefaultSlotIsPopulated","headerSlotWrapperId","headerSlotHasRendered","headerLabelId","headerLabelIsPopulated","headerTitleRef","bodyRegistered","bodyDefaultSlotIsPopulated","bodySlotHasRendered","bodyId","baseUpdateBodyCallback","bodyResizeScheduled","bodyTabElemRef","windowResizeEventBound","windowOrientationEventBound","portraitMatchMedia","screenOrientationChangeHandler","focusinEventBound","lastFocusedElement","footerRegistered","footerHeight","footerSlotHasRendered","footerDefaultSlotIsPopulated","modalLabel","modalLabelledBy","modalDescribedBy","showAriaLiveMessage","ariaLiveMessage","isModalOpen","isModalTransitioningIn","savedInertElements","ariaObserver","updateHeaderCallback","updateFooterCallback","_resizing","_size","unsetAriaLabelAndError","handleWindowResizeEvent","handleModalBaseFocusin"]});const Y=t.registerComponent(K,{tmpl:_,sel:"lightning-modal-base",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
593e.default=Y,Object.defineProperty(e,"__esModule",{value:!0})});
594})();(function() { LWR.define("lightning/modal",["exports","lwc","lightning/primitiveOverlay","lightning/overlayUtils","lightning/modalBase","lightning/utilsPrivate"],function(e,s,t,l,i,n){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(t),r=o(i);const d=[];function c(e,s,t,l){return d}var h=s.registerTemplate(c);c.stylesheets=[],c.stylesheetToken="lwc-3q576br01ed",c.legacyStylesheetToken="lightning-modal_modal",s.freezeTemplate(c);class b extends a.default{constructor(...e){super(...e),this._disableClose=!1,this.size="medium",this.label="",this.description=""}get disableClose(){return this._disableClose}set disableClose(e){const s=this._disableClose;this._disableClose=n.normalizeBoolean(e),s!==this._disableClose&&this.dispatchEvent(new CustomEvent("privatedisableclosebutton",{detail:{disableClose:this._disableClose,[l.secure]:!0},bubbles:!0}))}close(e){if(this.disableClose){let e="LightningModal - Any interactions (buttons, processes, etc) that call modal.close() should be ";e+="(a) disabled, while disableClose api set true, and ",e+="(b) re-enabled, when disableClose set false",console.error(e)}else{const s=new Promise(e=>{this.dispatchEvent(new CustomEvent("privateclose",{detail:{resolve:e,[l.secure]:!0},bubbles:!0}))});super.close(e,s)}}connectedCallback(){if("LightningModal"===this.constructor.name)throw new Error("Use of <lightning-modal> as an element is not supported. See developer documentation for extending the LightningModal class.")}}b[l.parent]=r.default,b[l.instanceName]="lightning-modal",s.registerDecorators(b,{publicProps:{size:{config:0},label:{config:0},description:{config:0},disableClose:{config:3}},publicMethods:["close"],fields:["_disableClose"]});const g=s.registerComponent(b,{tmpl:h,sel:"lightning-modal",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
595})();(function() { LWR.define("c/b2bBannedAccountBanner",["exports","lwc","lightning/modalHeader","lightning/modalBody","lightning/button","lightning/modalFooter","lightning/modal","@salesforce/label/c.B2BClose","@salesforce/label/c.B2BBusinessCustomersExclusively","@salesforce/label/c.B2BPersonalAccountsDiscontinued","@salesforce/label/c.B2BPurchasingOnBehalfStart","@salesforce/label/c.B2BContactUsBannedBanner","@salesforce/label/c.B2BPurchasingOnBehalfEnd"],function(e,t,n,l,o,a,s,d,i,r,c,u,f){function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=h(n),m=h(l),B=h(o),b=h(a),p=h(s),y=h(d),$=h(i),w=h(r),x=h(c),k=h(u),L=h(f);var v=[function(e,t,n){var l=e?"["+e+"]":"";return"p"+l+" {font-weight: bold;font-size: 12px !important;}lightning-modal-header"+l+" {font-weight: bold;font-size: 12px !important;}a"+l+"{color: rgb(140, 31, 48) !important;}"}];const U=t.parseFragment`<div class="slds-text-body_bold${0}"${2}><p${3}>${"t2"}</p><p${3}>${"t4"}<a${"a5:href"} target="_self" class="slds-text-link slds-text-body_bold${0}" style="cursor: pointer; font-weight: bold;"${2}>${"t6"}</a>${"t7"}</p></div>`,T={key:1},_={key:4};function E(e,t,n,l){const{c:o,d:a,sp:s,st:d,b:i}=e,{_m0:r}=l;return[o("lightning-modal-header",g.default,{props:{label:t.modalheader},key:0}),o("lightning-modal-body",m.default,T,[d(U,3,[s(2,null,a(t.modalBodyLine1)),s(4,null,a(t.modalBodyLine2Start)+" "),s(5,{attrs:{href:t.contactUsUrl}},null),s(6,null,a(t.contactUsText)),s(7,null," "+a(t.modalBodyLine2End))])]),o("lightning-modal-footer",b.default,_,[o("lightning-button",B.default,{props:{label:t.modalButton},key:5,on:r||(l._m0={click:i(t.handleOkay)})})])]}var O=t.registerTemplate(E);E.stylesheets=[],E.stylesheetToken="lwc-6hnfvoid9lp",E.legacyStylesheetToken="c-b2bBannedAccountBanner_b2bBannedAccountBanner",v&&E.stylesheets.push.apply(E.stylesheets,v),t.freezeTemplate(E);class S extends p.default{constructor(...e){super(...e),this.modalheader=$.default,this.modalBodyLine1=w.default,this.modalBodyLine2Start=x.default,this.contactUsText=k.default,this.modalBodyLine2End=L.default,this.modalButton=y.default}handleOkay(){this.close()}get contactUsUrl(){const e=(window===globalThis||window===document?location:window.location).href,t=new 
595URL(e),n=t.pathname.split("/").filter(e=>e);if(n.length>0){const e=n[0];return`${t.origin}/${e}/contact-us`}return`${t.origin}/contact-us`}}t.registerDecorators(S,{fields:["modalheader","modalBodyLine1","modalBodyLine2Start","contactUsText","modalBodyLine2End","modalButton"]});const A=t.registerComponent(S,{tmpl:O,sel:"c-b2b-banned-account-banner",apiVersion:65});e.default=A,Object.defineProperty(e,"__esModule",{value:!0})});
596})();(function() { LWR.define("c/b2bHeader",["exports","lwc","lightning/icon","lightning/uiRecordApi","@salesforce/user/Id","@salesforce/schema/User.FirstName","@salesforce/schema/User.LastName","@salesforce/client/formFactor","@salesforce/apex/B2BHeaderController.fetchCountry","@salesforce/apex/B2BHeaderController.fetchUserInfo","@salesforce/community/basePath","@salesforce/user/isGuest","c/b2bUtil","commerce/cartApi","@salesforce/label/c.B2BNewsHeader","@salesforce/label/c.B2BContactUsHeader","@salesforce/label/c.B2BLoginHeader","@salesforce/label/c.B2BNewsHeaderHref","@salesforce/label/c.B2BContactUsHeaderHref","@salesforce/label/c.B2BLoginHref","@salesforce/label/c.B2BCartHref","@salesforce/label/c.SiteSufix","@salesforce/label/c.B2BMyAccount","@salesforce/label/c.B2BMyAccountHref","@salesforce/label/c.B2BBOMLabel","@salesforce/label/c.B2BBOMHref","@salesforce/label/c.B2BOrdersHeader","@salesforce/label/c.B2BOrdersHeaderHref","@salesforce/label/c.B2BLogoutHeader","@salesforce/label/c.B2BBusinessCustomersOnly","c/b2bBannedAccountBanner"],function(e,t,s,a,r,o,l,n,i,d,c,u,f,p,h,m,g,b,B,y,w,$,H,C,x,_,k,L,N,v,U){function P(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var M=P(s),I=P(r),A=P(o),O=P(l),S=P(n),z=P(i),F=P(d),T=P(c),D=P(u),R=P(h),j=P(m),G=P(g),E=P(b),J=P(B),K=P(y),V=P(w),q=P(H),Q=P(C),W=P(x),X=P(_),Y=P(k),Z=P(L),ee=P(N),te=P(v),se=P(U);var ae=[function(e,t,s){var a=e?"["+e+"]":"";return".headerContainer"+a+"{background: #000000;color: #ffffff;padding: 4px;padding-top: 8px;}.headerText"+a+"{color: #ffffff !important;font-weight: bold;}.myIcon"+a+"{--sds-c-icon-color-foreground-default: black;cursor: pointer;}.region__name"+a+"{color: black!important;}.listLogo"+a+"{padding: 10px;}.divLogo"+a+" {background: #000000;}.dropdown"+a+" .account-list"+a+"{position: relative;display: contents;}.dropdown-content"+a+" a"+a+" {display: block;}.account-list"+a+" a"+a+"{display: block;cursor: pointer;}.dropdown-content"+a+"{display: none;position: absolute;background: #000000;min-width: 150px;z-index: 1;margin-left: 16%;}.myAccListText"+a+"{color: black !important;}.list-content"+a+"{display: none;position: absolute;background: #000000;min-width: 130px;z-index: 1;margin-left: 10%;}.dropdown-content"+a+" a:hover"+a+" {background-color:white;}.dropdown:hover"+a+" .dropdown-content"+a+",.headerText:hover"+a+" .dropdown-content"+a+" {display: block;}.account-list:hover"+a+" .list-content"+a+"{display: block;}.list-content"+a+" a:hover"+a+" {background-color:rgb(211, 205, 205);}.badge"+a+"{padding-left: 5px;padding-right: 5px;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #c60505;position: absolute;vertical-align: top;font-size: x-small;margin-left: -8px;color: white;}.banned-account-banner"+a+" {background-color: #d32f2f;color: #ffffff;padding: 12px 20px;text-align: center;position: relative;width: 100%;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);z-index: 1000;}.banner-content"+a+" {display: flex;align-items: center;justify-content: center;gap: 12px;max-width: 1200px;margin: 0 auto;}.banner-icon"+a+" {flex-shrink: 0;--sds-c-icon-color-foreground: white;}.banner-text"+a+" {font-size: 12px;letter-spacing: 0.3px;}@media (max-width: 768px) {.banned-account-banner"+a+" {padding: 10px 15px;}.banner-text"+a+" {font-size: 10px;}}@media (max-width: 480px) {.banner-content"+a+" {flex-direction: column;gap: 5px;}.banner-text"+a+" {font-size: 8px;}}"}];const re=t.parseFragment`<span class="slds-m-right_large${0}"${2}><a class="headerText${0}"${"a1:href"}${2}>${"t2"}</a></span>`,oe=t.parseFragment`<span class="slds-m-right_large${0}"${2}><a class="headerText${0}"${"a1:href"}${2}>${"t2"}</a></span>`,le=t.parseFragment`<span class="slds-m-right_large${0}"${2}><a class="headerText${0}"${"a1:href"}${2}>${"t2"}</a></span>`,ne=t.parseFragment`<b${3}>${"t1"}</b>`,ie=t.parseFragment`<div class="slds-dropdown slds-dropdown_actions${0}"${2}><ul class="slds-dropdown__list${0}" role="menu"${2}><li class="slds-dropdown__item${0}" role="presentation"${2}><a${"a3:href"} role="menuitem" tabindex="0"${3}><span class="slds-truncate${0}"${"a4:title"}${2}>${"t5"}</span></a></li><li class="slds-dropdown__item${0}" role="presentation"${2}><a${"a7:href"} role="menuitem" tabindex="-1"${3}><span class="slds-truncate${0}"${"a8:title"}${2}>${"t9"}</span></a></li><li class="slds-dropdown__item${0}" role="presentation"${2}><a${"a11:href"} role="menuitem" tabindex="-1"${3}><span class="slds-truncate${0}"${"a12:title"}${2}>${"t13"}</span></a></li><li class="slds-dropdown__item${0}" role="presentation"${2}><a href="./secur/logout.jsp" role="menuitem" tabindex="-1"${3}><span class="slds-truncate${0}"${"a16:title"}${2}>${"t17"}</span></a></li></ul></div>`,de=t.parseFragment`<span class="badge${0}"${2}>${"t1"}</span>`,ce=t.parseFragment`<span style="cursor: pointer;"${3}>${"t1"}</span>`,ue=t.parseFragment`<li class="slds-dropdown__item${0}" role="presentation"${2}><a${"a1:href"} role="menuitem" tabindex="0"${3}><span class="slds-truncate${0}"${"a2:title"}${2}><img${"a3:src"}${3}> <span${3}>${"t6"}</span></span></a></li>`,fe={classMap:{headerContainer:!0,"slds-clearfix":!0},key:0},pe={classMap:{"slds-float_right":!0},styleDecls:[["margin-right","4%",!1]],key:1},he={"slds-m-right_large":!0},me=[["cursor","pointer",!1]],ge={classMap:{"slds-dropdown-trigger":!0,"slds-dropdown-trigger_click":!0,"slds-is-open":!0,"slds-button_last":!0},key:9},be={classMap:{myIcon:!0},props:{iconName:"utility:user",size:"small"},key:13},Be={classMap:{myIcon:!0},props:{iconName:"utility:cart",size:"small",variant:"inverse"},key:17},ye={classMap:{headerText:!0},key:20},we={classMap:{"slds-dropdown-trigger":!0,"slds-dropdown-trigger_click":!0,"slds-is-open":!0,"slds-button_last":!0},key:21},$e={key:23},He={classMap:{myIcon:!0},props:{iconName:"utility:world",size:"small"},key:24},Ce={classMap:{myIcon:!0,dropbtn:!0},props:{iconName:"utility:switch",size:"x-small"},key:27},xe={classMap:{"slds-dropdown":!0,"slds-dropdown_actions":!0},key:28},_e={classMap:{"slds-dropdown__list":!0},attrs:{role:"menu"},key:29};function ke(e,t,s,a){const{d:r,sp:o,st:l,b:n,c:i,h:d,k:c,i:u}=e,{_m0:f,_m1:p,_m2:h}=a;return[d("div",fe,[d("div",pe,[l(re,3,[o(1,{attrs:{href:t.newsHeader}},null),o(2,null,r(t.labels.B2BNewsHeader))]),l(oe,5,[o(1,{attrs:{href:t.contactUsHeader}},null),o(2,null,r(t.labels.B2BContactUsHeader))]),t.CurrentUser?null:l(le,7,[o(1,{attrs:{href:t.loginHeader}},null),o(2,null,r(t.labels.B2BLoginHeader))]),t.CurrentUser?d("span",{classMap:he,styleDecls:me,attrs:{title:t.fName},key:8},[d("span",ge,[d("span",{key:10,on:f||(a._m0={click:n(t.showUserAccount),blur:n(t.hideUserAccount)})},[l(ne,12,[o(1,null,r(t.fullName))]),i("lightning-icon",M.default,be)]),t.showUserProfile?l(ie,15,[o(3,{attrs:{href:t.myAccount}},null),o(4,{attrs:{title:t.labels.B2BMyAccount}},null),o(5,null,r(t.labels.B2BMyAccount)),o(7,{attrs:{href:t.ordersHeader}},null),o(8,{attrs:{title:t.labels.B2BOrdersHeader}},null),o(9,null,r(t.labels.B2BOrdersHeader)),o(11,{attrs:{href:t.bomHeader}},null),o(12,{attrs:{title:t.labels.B2BBOMLabel}},null),o(13,null,r(t.labels.B2BBOMLabel)),o(16,{attrs:{title:t.labels.B2BLogoutHeader}},null),o(17,null,r(t.labels.B2BLogoutHeader))]):null])]):null,t.CurrentUser?d("span",{classMap:he,key:16,on:p||(a._m1={click:n(t.handleCartIcon)})},[i("lightning-icon",M.default,Be),l(de,19,[o(1,null,r(t.totalProductCount))])]):null,d("span",ye,[d("span",we,[d("span",{key:22,on:h||(a._m2={click:n(t.showCountry)})},[d("span",$e,[i("lightning-icon",M.default,He)]),l(ce,26,[o(1,null," "+r(t.labels.B2BEN))]),i("lightning-icon",M.default,Ce)]),t.showCountryList?d("div",xe,[d("ul",_e,u(t.country,function(e){return l(ue,c(31,e.Country_Code__c),[o(1,{attrs:{href:e.Site_URL__c}},null),o(2,{attrs:{title:t.labels.B2BMyAccount}},null),o(3,{attrs:{src:e.Logo_URL__c}},null),o(6,null,r(e.Country_Code__c))])}))]):null])])])])]}var Le=t.registerTemplate(ke);ke.stylesheets=[],ke.stylesheetToken="lwc-2hto0iv0ock",ke.legacyStylesheetToken="c-b2bHeader_b2bHeader",ae&&ke.stylesheets.push.apply(ke.stylesheets,ae),t.freezeTemplate(ke);const Ne={B2BNewsHeader:R.default,B2BContactUsHeader:j.default,B2BLoginHeader:G.default,B2BNewsHeaderHref:E.default,B2BContactUsHeaderHref:J.default,B2BLoginHref:K.default,B2BCartHref:V.default,B2BMyAccount:q.default,B2BMyAccountHref:Q.default,B2BOrdersHeader:Y.default,B2BOrdersHeaderHref:Z.default,B2BLogoutHeader:ee.default,B2BBOMLabel:W.default,B2BBOMHref:X.default,B2BBusinessCustomersOnl
596y:te.default};class ve extends t.LightningElement{constructor(...e){super(...e),this.firstName=void 0,this.lastName=void 0,this.user=void 0,this.fullName=void 0,this.fName=void 0,this.labels=Ne,this.webStoreId=void 0,this.newsHeader=T.default+this.labels.B2BNewsHeaderHref,this.contactUsHeader=T.default+this.labels.B2BContactUsHeaderHref,this.loginHeader=T.default+this.labels.B2BLoginHref,this.myAccount=T.default+this.labels.B2BMyAccountHref,this.ordersHeader=T.default+this.labels.B2BOrdersHeaderHref,this.bomHeader=T.default+this.labels.B2BBOMHref,this.CurrentUser=I.default,this.country=[],this.effectiveAccountId=void 0,this.totalProductCount=void 0,this.cartSummary=void 0,this.showBannedBanner=!1,this.showUserProfile=!1,this.showCountryList=!1}connectedCallback(){D.default||this.fetchUserInfo()}userRecord({error:e,data:t}){e&&f.consoleLogging("error: "+e)}hideUserAccount(e){e.stopPropagation(),e.preventDefault(),this.showUserProfile=!1}showUserAccount(e){e.stopPropagation(),e.preventDefault(),this.showUserProfile=!this.showUserProfile;let t=this;setTimeout(()=>{t.showUserProfile=!1},5e3)}showCountry(e){e.stopPropagation(),e.preventDefault(),this.showCountryList=!this.showCountryList;let t=this;setTimeout(()=>{t.showCountryList=!1},5e3)}hideCountry(e){e.stopPropagation(),e.preventDefault(),this.showCountryList=!1}wiredCountry({error:e,data:t}){t?this.country=t:e&&f.consoleLogging("error: "+JSON.stringify(e))}handleCartIcon(){(window===globalThis||window===document?location:window.location).href=T.default+this.labels.B2BCartHref}onGetCartSummary(e){if(f.consoleLogging("Header onGetCartSummary"),f.consoleLogging(e),e&&e.data){let t=e.data;this.totalProductCount=parseInt(t?.totalProductCount),this.totalProductCount>=1e6?this.totalProductCount=(this.totalProductCount/1e6).toFixed(0)+"M+":this.totalProductCount>=1e3?this.totalProductCount=(this.totalProductCount/1e3).toFixed(0)+"K+":this.totalProductCount=this.totalProductCount.toString(),this.redirectCartId=t?.cartId,f.consoleLogging("Product Count"+this.totalProductCount)}else this.totalProductCount=null}fetchUserInfo(){let e={};e.webstoreId=this.webStoreId,e.userId=I.default,F.default({mapParams:e},{sourceContext:{tagName:"c:b2bHeader"}}).then(e=>{if(f.consoleLogging(e),e&&e.isSuccess&&e.userData&&(this.user=e.userData,this.firstName=e.userData.FirstName,this.lastName=e.userData.LastName,this.fName=this.firstName+" "+this.lastName,"Large"===S.default?this.fullName=this.firstName:"Small"===S.default&&(this.fullName=(this.firstName+" "+this.lastName).slice(0,5)+"..."),console.log("Result from FetchInfo"+JSON.stringify(e)),e.isBannedAccount)){this.showBannedBanner=!0;const e=se.default.open({size:"small"});console.log(e)}}).catch(e=>{f.consoleLogging(e)}).finally(()=>{})}}t.registerDecorators(ve,{publicProps:{webStoreId:{config:0},effectiveAccountId:{config:0}},wire:{userRecord:{adapter:a.getRecord,dynamic:["recordId"],method:1,config:function(e){return{fields:[A.default,O.default],recordId:e.CurrentUser}}},wiredCountry:{adapter:z.default,method:1,config:function(e){return{}}},onGetCartSummary:{adapter:p.CartSummaryAdapter,dynamic:["webstoreId"],method:1,config:function(e){return{cartStateOrId:"current",webstoreId:e.webStoreId}}}},fields:["firstName","lastName","user","fullName","fName","labels","newsHeader","contactUsHeader","loginHeader","myAccount","ordersHeader","bomHeader","CurrentUser","country","totalProductCount","cartSummary","showBannedBanner","showUserProfile","showCountryList"]});const Ue=t.registerComponent(ve,{tmpl:Le,sel:"c-b2b-header",apiVersion:59});e.default=Ue,Object.defineProperty(e,"__esModule",{value:!0})});
597})();(function() { LWR.define("commerce/layoutHeader",["exports","lwc"],function(e,a){function s(e,a,s){var o=e?"."+e:"",t=e?"."+e+"-host":"";return(a?":host {":t+" {")+"--com-c-layout-header-icon-padding: 0 0.4rem;--com-c-my-account-user-profile-icon-padding: var(--com-c-layout-header-icon-padding);--com-c-search-input-container-padding: var(--com-c-layout-header-icon-padding);--com-c-unified-cart-badge-padding: var(--com-c-layout-header-icon-padding);--com-c-wishlist-shortcut-padding: var(--com-c-layout-header-icon-padding);--com-c-shopper-agent-shortcut-padding: var(--com-c-layout-header-icon-padding);--com-c-shopper-agent-shortcut-display: block;}"+(a?":host header":t+" header")+o+" {min-height: var(--com-c-layout-header-min-height);background-color: var(--com-c-layout-header-background-color, var(--dxp-g-root, #fff));width: 100%;padding: var(--com-c-layout-header-spacing-block-start-mobile, var(--dxp-c-header-container-spacing-block-start-mobile)) var(--com-c-layout-header-spacing-inline-end-mobile, var(--dxp-c-header-container-spacing-inline-end-mobile)) var(--com-c-layout-header-spacing-block-end-mobile, var(--dxp-c-header-container-spacing-block-end-mobile)) var(--com-c-layout-header-spacing-inline-start-mobile, var(--dxp-c-header-container-spacing-inline-start-mobile));}"+(a?":host header":t+" header")+o+" .header-content"+o+" {max-width: var(--com-c-layout-header-max-width-mobile, var(--dxp-s-header-content-max-width-mobile));margin-left: auto;margin-right: auto;padding: var(--dxp-g-spacing-xsmall);}"+(a?":host header":t+" header")+o+" .header-search"+o+" {margin-top: var(--com-c-layout-header-search-margin-top, var(--dxp-g-spacing-medium));}"+(a?":host header":t+" header")+o+" .header-badge-icons"+o+" {position: absolute;right: 0;top: 0;height: calc(100% - (var(--dxp-g-spacing-xlarge) + var(--dxp-g-spacing-medium)));align-items: center;}"+(a?":host header.desktop":t+" header.desktop")+o+" {padding: var(--com-c-layout-header-spacing-block-start, var(--dxp-c-header-container-spacing-block-start)) var(--com-c-layout-header-spacing-inline-end, var(--dxp-c-header-container-spacing-inline-end)) var(--com-c-layout-header-spacing-block-end, var(--dxp-c-header-container-spacing-block-end)) var(--com-c-layout-header-spacing-inline-start, var(--dxp-c-header-container-spacing-inline-start));}"+(a?":host header.desktop":t+" header.desktop")+o+" .header-badge-icons"+o+" {position: unset;height: auto;}"+(a?":host header.desktop":t+" header.desktop")+o+" .header-search"+o+" {margin-top: 0;}"+(a?":host header.desktop":t+" header.desktop")+o+" .header-content"+o+" {max-width: var(--com-c-layout-header-max-width, var(--dxp-s-header-content-max-width));padding: 0;}"+(a?":host header":t+" header")+o+" .header-logo"+o+" {--dxp-c-site-logo-background-position-y: var(--com-c-layout-header-logo-background-position-y, center);}"}s.$scoped$=!0;var o=[s];const t={classMap:{"header-promo-banner":!0},key:1},r={attrs:{name:"promoBanner"},key:2},d=[],i={ref:"header"},l={classMap:{"header-content":!0},key:4},c={classMap:{"layout-header-mobile":!0,"slds-is-relative":!0,"slds-grid":!0,"slds-wrap":!0,"slds-grid_vertical-align-center":!0},key:6}
597,n={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_6-of-12":!0,"slds-p-right_medium":!0},key:8},h={attrs:{name:"storeLogo"},key:9},p={classMap:{"header-navigation":!0,"slds-col":!0,"slds-size_1-of-12":!0},key:10},g={attrs:{name:"navigation"},key:11},m={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_5-of-12":!0,"slds-p-left_medium":!0,"slds-p-right_medium":!0},key:12},y={attrs:{name:"storeLogo"},key:13},u={classMap:{"header-badge-icons":!0,"slds-col":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-size_5-of-12":!0,"slds-p-top_small":!0},key:14},v={classMap:{"header-account":!0,"slds-col":!0},key:15},k={attrs:{name:"myAccount"},key:16},b={classMap:{"header-wishlist":!0,"slds-col":!0},key:17},_={attrs:{name:"wishlist"},key:18},M={classMap:{"header-cart":!0,"slds-col":!0},key:19},f={attrs:{name:"cart"},key:20},x={classMap:{"header-search":!0,"slds-col":!0,"slds-size_12-of-12":!0,"slds-m-top_none":!0},key:21},w={attrs:{name:"searchInput"},key:22},z={classMap:{"layout-header-tablet":!0,"slds-m-horizontal_xx-small":!0,"slds-is-relative":!0,"slds-grid":!0,"slds-wrap":!0,"slds-gutters_direct-small":!0,"slds-grid_vertical-align-center":!0},key:24},L={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_3-of-12":!0,"slds-p-top_x-small":!0,"slds-p-bottom_small":!0},key:25},I={attrs:{name:"storeLogo"},key:26},A={classMap:{"header-navigation":!0,"slds-col":!0,"slds-size_7-of-12":!0},key:27},C={attrs:{name:"navigation"},key:28},B={classMap:{"header-badge-icons":!0,"slds-col":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-grid_vertical-align-start":!0,"slds-size_2-of-12":!0,"slds-p-top_small":!0},key:29},S={classMap:{"header-account":!0,"slds-col":!0},key:30},T={attrs:{name:"myAccount"},key:31},P={classMap:{"header-wishlist":!0,"slds-col":!0},key:32},W={attrs:{name:"wishlist"},key:33},N={classMap:{"header-cart":!0,"slds-col":!0},key:34},D={attrs:{name:"cart"},key:35},$={classMap:{"header-search":!0,"slds-col":!0,"slds-size_12-of-12":!0,"slds-m-top_none":!0},key:36},H={attrs:{name:"searchInput"},key:37},j={classMap:{"layout-header-desktop":!0,"slds-p-horizontal_xx-large":!0,"slds-is-relative":!0,"slds-grid":!0,"slds-wrap":!0,"slds-gutters_direct-small":!0,"slds-grid_vertical-align-center":!0},key:39},E={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_2-of-12":!0},key:40},O={attrs:{name:"storeLogo"},key:41},V={classMap:{"header-navigation":!0,"slds-col":!0,"slds-size_4-of-12":!0},key:42},q={attrs:{name:"navigation"},key:43},F={classMap:{"header-search":!0,"slds-col":!0,"slds-size_4-of-12":!0},key:44},G={attrs:{name:"searchInput"},key:45},J={classMap:{"header-badge-icons":!0,"slds-col":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-grid_vertical-align-center":!0,"slds-size_2-of-12":!0},key:46},K={classMap:{"header-copilot":!0,"slds-col":!0},key:48},Q={attrs:{name:"shopperCopilot"},key:49},R={classMap:{"header-account":!0,"slds-col":!0},key:50},U={attrs:{name:"myAccount"},key:51},X={classMap:{"header-wishlist":!0,"slds-col":!0},key:52},Y={attrs:{name:"wishlist"},key:53},Z={classMap:{"header-cart":!0,"slds-col":!0},key:54},ee={attrs:{name:"cart"},key:55};function ae(e,a,s,o){const{s:ae,h:se,fr:oe,ncls:te}=e;return[a.showPromoBanner?oe(0,[se("div",t,[ae("promoBanner",r,d,s)])],0):null,se("header",{className:te(a.headerClass),attrs:i,key:3},[se("div",l,[a.isMobile?oe(5,[se("div",c,[a.hideMobileNavigation?oe(7,[se("div",n,[ae("storeLogo",h,d,s)])],0):oe(7,[se("div",p,[ae("navigation",g,d,s)]),se("div",m,[ae("storeLogo",y,d,s)])],0),se("div",u,[se("div",v,[ae("myAccount",k,d,s)]),se("div",b,[ae("wishlist",_,d,s)]),se("div",M,[ae("cart",f,d,s)])]),se("div",x,[ae("searchInput",w,d,s)])])],0):null,a.isTablet?oe(23,[se("div",z,[se("div",L,[ae("storeLogo",I,d,s)]),se("div",A,[ae("navigation",C,d,s)]),se("div",B,[se("div",S,[ae("myAccount",T,d,s)]),se("div",P,[ae("wishlist",W,d,s)]),se("div",N,[ae("cart",D,d,s)])]),se("div",$,[ae("searchInput",H,d,s)])])],0):null,a.isDesktop?oe(38,[se("div",j,[se("div",E,[ae("storeLogo",O,d,s)]),se("div",V,[ae("navigation",q,d,s)]),se("div",F,[ae("searchInput",G,d,s)]),se("div",J,[a.showCopilotShortcut?oe(47,[se("div",K,[ae("shopperCopilot",Q,d,s)])],0):null,
597se("div",R,[ae("myAccount",U,d,s)]),se("div",X,[ae("wishlist",Y,d,s)]),se("div",Z,[ae("cart",ee,d,s)])])])],0):null])])]}var se=a.registerTemplate(ae);function oe(e,a,s){var o=e?"."+e:"",t=e?"."+e+"-host":"";return(a?":host {":t+" {")+"--com-c-layout-header-icon-padding: 0 0.4rem;--com-c-my-account-user-profile-icon-padding: var(--com-c-layout-header-icon-padding);--com-c-search-input-container-padding: var(--com-c-layout-header-icon-padding);--com-c-unified-cart-badge-padding: var(--com-c-layout-header-icon-padding);--com-c-wishlist-shortcut-padding: var(--com-c-layout-header-icon-padding);--com-c-shopper-agent-shortcut-padding: var(--com-c-layout-header-icon-padding);--com-c-shopper-agent-shortcut-display: block;}"+(a?":host header":t+" header")+o+" {min-height: var(--com-c-layout-header-min-height);background-color: var(--com-c-layout-header-background-color, var(--dxp-g-root, #fff));width: 100%;padding: var(--com-c-layout-header-spacing-block-start-mobile, var(--dxp-c-header-container-spacing-block-start-mobile)) var(--com-c-layout-header-spacing-inline-end-mobile, var(--dxp-c-header-container-spacing-inline-end-mobile)) var(--com-c-layout-header-spacing-block-end-mobile, var(--dxp-c-header-container-spacing-block-end-mobile)) var(--com-c-layout-header-spacing-inline-start-mobile, var(--dxp-c-header-container-spacing-inline-start-mobile));}"+(a?":host header":t+" header")+o+" .header-content"+o+" {max-width: var(--com-c-layout-header-max-width-mobile, var(--dxp-s-header-content-max-width-mobile));margin-left: auto;margin-right: auto;padding: var(--dxp-g-spacing-xsmall);}"+(a?":host header":t+" header")+o+" .header-search"+o+" {margin-top: var(--com-c-layout-header-search-margin-top, var(--dxp-g-spacing-medium));}"+(a?":host header":t+" header")+o+" .header-badge-icons"+o+" {position: absolute;right: 0;top: 0;height: calc(100% - (var(--dxp-g-spacing-xlarge) + var(--dxp-g-spacing-medium)));align-items: center;}"+(a?":host header.desktop":t+" header.desktop")+o+" {padding: var(--com-c-layout-header-spacing-block-start, var(--dxp-c-header-container-spacing-block-start)) var(--com-c-layout-header-spacing-inline-end, var(--dxp-c-header-container-spacing-inline-end)) var(--com-c-layout-header-spacing-block-end, var(--dxp-c-header-container-spacing-block-end)) var(--com-c-layout-header-spacing-inline-start, var(--dxp-c-header-container-spacing-inline-start));}"+(a?":host header.desktop":t+" header.desktop")+o+" .header-badge-icons"+o+" {position: unset;height: auto;}"+(a?":host header.desktop":t+" header.desktop")+o+" .header-search"+o+" {margin-top: 0;}"+(a?":host header.desktop":t+" header.desktop")+o+" .header-content"+o+" {max-width: var(--com-c-layout-header-max-width, var(--dxp-s-header-content-max-width));padding: 0;}"+(a?":host header":t+" header")+o+" .header-logo"+o+" {--dxp-c-site-logo-background-position-y: var(--com-c-layout-header-logo-background-position-y, center);}"}ae.slots=["cart","myAccount","navigation","promoBanner","searchInput","shopperCopilot","storeLogo","wishlist"],ae.renderMode="light",ae.stylesheets=[],ae.stylesheetToken="lwc-76t23tn52sc",ae.legacyStylesheetToken="commerce-layoutHeader_templateWithWishlistSlot",o&&ae.stylesheets.push.apply(ae.stylesheets,o),a.freezeTemplate(ae),oe.$scoped$=!0;var te=[oe];const re={classMap:{"header-promo-banner":!0},key:1},de={attrs:{name:"promoBanner"},key:2},ie=[],le={ref:"header"},ce={classMap:{"header-content":!0},key:4},ne={classMap:{"layout-header-mobile":!0,"slds-is-relative":!0,"slds-grid":!0,"slds-wrap":!0,"slds-grid_vertical-align-center":!0},key:6},he={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_6-of-12":!0,"slds-p-right_medium":!0},key:8},pe={attrs:{name:"storeLogo"},key:9},ge={classMap:{"header-navigation":!0,"slds-col":!0,"slds-size_1-of-12":!0},key:10},me={attrs:{name:"navigation"},key:11},ye={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_5-of-12":!0,"slds-p-left_medium":!0,"slds-p-right_medium":!0},key:12},ue={attrs:{name:"storeLogo"},key:13},ve={classMap:{"header-badge-icons":!0,"slds-col":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-size_5-of-12":!0,"slds-p-top_small":!0},key:14},ke={classMap:{"header-account":!0,"slds-col":!0},key:15},be={attrs:{name:"myAccount"},key:16},_e={classMap:{"header-cart":!0,"slds-col":!0},key:17},Me={attrs:{name:"cart"},key:18},fe={classMap:{"header-search":!0,"slds-col":!0,"slds-size_12-of-12":!0,"slds-m-top_none":!0},key:19},xe={attrs:{name:"searchInput"},key:20},we={classMap:{"layout-header-tablet":!0,"slds-m-horizontal_xx-small":!0,"slds-is-relative":!0,"slds-grid":!0,"slds-wrap":!0,"slds-gutters_direct-small":!0,"slds-grid_vertical-align-center":!0},key:22},ze={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_3-of-12":!0,"slds-p-top_x-small":!0,"slds-p-bottom_small":!0},key:23},Le={attrs:{name:"storeLogo"},key:24},Ie={classMap:{"header-navigation":!0,"slds-col":!0,"slds-size_7-of-12":!0},key:25},Ae={attrs:{name:"navigation"},key:26},Ce={classMap:{"header-badge-icons":!0,"slds-col":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-grid_vertical-align-start":!0,"slds-size_2-of-12":!0,"slds-p-top_small":!0},key:27},Be={classMap:{"header-account":!0,"slds-col":!0},key:28},Se={attrs:{name:"myAccount"},key:29},Te={classMap:{"header-cart":!0,"slds-col":!0},key:30},Pe={attrs:{name:"cart"},key:31},We={classMap:{"header-search":!0,"slds-col":!0,"slds-size_12-of-12":!0,"slds-m-top_none":!0},key:32},Ne={attrs:{name:"searchInput"},key:33},De={classMap:{"layout-header-desktop":!0,"slds-p-horizontal_xx-large":!0,"slds-is-relative":!0,"slds-grid":!0,"slds-wrap":!0,"slds-gutters_direct-small":!0,"slds-grid_vertical-align-center":!0},key:35},$e={classMap:{"header-logo":!0,"slds-col":!0,"slds-size_2-of-12":!0},key:36},He={attrs:{name:"storeLogo"},key:37},je={classMap:{"header-navigation":!0,"slds-col":!0,"slds-size_4-of-12":!0},key:38},Ee={attrs:{name:"navigation"},key:39},Oe={classMap:{"header-search":!0,"slds-col":!0,"slds-size_4-of-12":!0},key:40},Ve={attrs:{name:"searchInput"},key:41},qe={classMap:{"header-badge-icons":!0,"slds-col":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-grid_vertical-align-center":!0,"slds-size_2-of-12":!0},key:42},Fe={classMap:{"header-copilot":!0,"slds-col":!0},key:44},Ge={attrs:{name:"shopperCopilot"},key:45},Je={classMap:{"header-account":!0,"slds-col":!0},key:46},Ke={attrs:{name:"myAccount"},key:47},Qe={classMap:{"header-cart":!0,"slds-col":!0},key:48},Re={attrs:{name:"cart"},key:49};function Ue(e,a,s,o){const{s:t,h:r,fr:d,ncls:i}=e;return[a.showPromoBanner?d(0,[r("div",re,[t("promoBanner",de,ie,s)])],0):null,r("header",{className:i(a.headerClass),attrs:le,key:3},[r("div",ce,[a.isMobile?d(5,[r("div",ne,[a.hideMobileNavigation?d(7,[r("div",he,[t("storeLogo",pe,ie,s)])],0):d(7,[r("div",ge,[t("navigation",me,ie,s)]),r("div",ye,[t("storeLogo",ue,ie,s)])],0),r("div",ve,[r("div",ke,[t("myAccount",be,ie,s)]),r("div",_e,[t("cart",Me,ie,s)])]),r("div",fe,[t("searchInput",xe,ie,s)])])],0):null,a.isTablet?d(21,[r("div",we,[r("div",ze,[t("storeLogo",Le,ie,s)]),r("div",Ie,[t("navigation",Ae,ie,s)]),r("div",Ce,[r("div",Be,[t("myAccount",Se,ie,s)]),r("div",Te,[t("cart",Pe,ie,s)])]),r("div",We,[t("searchInput",Ne,ie,s)])])],0):null,a.isDesktop?d(34,[r("div",De,[r("div",$e,[t("storeLogo",He,ie,s)]),r("div",je,[t("navigation",Ee,ie,s)]),r("div",Oe,[t("searchInput",Ve,ie,s)]),r("div",qe,[a.showCopilotShortcut?d(43,[r("div",Fe,[t("shopperCopilot",Ge,ie,s)])],0):null,r("div",Je,[t("myAccount",Ke,ie,s)]),r("div",Qe,[t("cart",Re,ie,s)])])])],0):null])])]}var Xe=a.registerTemplate(Ue);Ue.slots=["cart","myAccount","navigation","promoBanner","searchInput","shopperCopilot","storeLogo"],Ue.renderMode="light",Ue.stylesheets=[],Ue.stylesheetToken="lwc-4f6emnj8oa5",Ue.legacyStylesheetToken="commerce-layoutHeader_templateWithoutWishlistSlot",te&&Ue.stylesheets.push.apply(Ue.stylesheets,te),a.freezeTemplate(Ue);class Ye extends a.LightningElement{constructor(...e){super(...e),this.hidePromoBanner=!1,this.hideWishlistShortcut=!1,this.hideMobileNavigation=!1,this.layout=void 0,this.showCopilotShortcut=!1}get showPromoBanner(){return!this.hidePromoBanner}get isDesktop(){return"desktop"===this.layout}get isTablet(){return"tablet"===this.layout}get isMobile(){return"mobile"===this.layout}get headerClass(){return this.layout??"desktop"}render(){return this.hideWishlistShortcut?Xe:se}}Ye.renderMode="light",a.registerDecorators(Ye,{publicProps:{hidePromoBanner:{config:0},hideWishlistShortcut:{config:0},hideMobileNavigation:{config:0},layout:{config:0},showCopilotShortcut:{config:0}}});const Ze=a.registerComponent(Ye,{tmpl:void 0,sel:"commerce-layout-header",apiVersion:66,enableSyntheticElementInternals:!0});
597e.default=Ze,Object.defineProperty(e,"__esModule",{value:!0})});
598})();(function() { LWR.define("experience/clientApi",["exports","@app/isDesignMode","@app/isPreviewMode"],function(e,t,i){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t),n=a(i);const r="Small",o="Medium",l="Large";function d(e){return{[l]:"string"==typeof e?.[l]?e[l]:"only screen and (min-width: 64.0625em)",[o]:"string"==typeof e?.[o]?e[o]:"only screen and (min-width: 48em) and (max-width: 64em)",[r]:"string"==typeof e?.[r]?e[r]:"only screen and (max-width: 47.9375em)"}}class h{constructor(e){this.handleMediaQueryListChange=this.updateFormFactor.bind(this),this._isConnected=!1,this._formFactor=void 0,this._formFactorOptions=d(),this._mqlLarge=null,this._mqlMedium=null,this._mqlSmall=null,this.dataCallback=e}update(e,t){t&&this.updateFormFactorOptions(d(t.value))}connect(){this._isConnected=!0,this.addMediaQueryListEventListeners()}disconnect(){this._isConnected=!1,this.removeMediaQueryListEventListeners(),this._mqlLarge=null,this._mqlMedium=null,this._mqlSmall=null}executeDataCallback(){this._isConnected&&this.dataCallback(this._formFactor??l)}obtainFormFactor(){return this._mqlLarge?.matches?l:this._mqlMedium?.matches?o:this._mqlSmall?.matches?r:l}updateFormFactor(){const e=this.obtainFormFactor();e!==this._formFactor&&(this._formFactor=e,this.executeDataCallback())}updateFormFactorOptions(e){this.removeMediaQueryListEventListeners(),this._formFactorOptions=e,this._isConnected&&this.addMediaQueryListEventListeners()}addMediaQueryListEventListeners(){if("undefined"!=typeof window){const{_formFactorOptions:{[r]:e,[o]:t,[l]:i}}=this;this._mqlLarge=globalThis.matchMedia?.(i),this._mqlMedium=globalThis.matchMedia?.(t),this._mqlSmall=globalThis.matchMedia?.(e),[this._mqlLarge,this._mqlMedium,this._mqlSmall].forEach(e=>e?.addEventListener?.("change",this.handleMediaQueryListChange)),this.updateFormFactor()}else this.executeDataCallback()}removeMediaQueryListEventListeners(){[this._mqlLarge,this._mqlMedium,this._mqlSmall].forEach(e=>e?.removeEventListener?.("change",this.handleMediaQueryListChange))}}h.contextSchema={value:"required"};const m=h;Object.defineProperty(e,"isDesignMode",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"isPreviewMode",{enumerable:!0,get:function(){return n.default}}),e.FORM_FACTOR_LARGE=l,e.FORM_FACTOR_MEDIUM=o,e.FORM_FACTOR_SMALL=r,e.getFormFactor=m,Object.defineProperty(e,"__esModule",{value:!0})});
599})();(function() { LWR.define("commerce_builder/layoutHeader",["exports","lwc","commerce/layoutHeader","commerce/contextApiInternal","experience/clientApi"],function(e,t,o,n,i){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(o);function a(e,t,o){var n=e?"."+e:"";return(t?":host {":(e?"."+e+"-host":"")+" {")+"--com-c-layout-header-min-height: var(--com-c-builder-layout-header-min-height, 80px);}@media (min-device-width: 1200px) and (min-width: 1em) and (max-width: 60em) {commerce-layout-header"+n+" > .promo-banner"+n+" {display: none;}}.promo-banner"+n+" {background-color: var(--com-c-layout-header-background-color, var(--dxp-g-root, #fff));}"}a.$scoped$=!0;var c=[a];const l={slotAssignment:"promoBanner",classMap:{"promo-banner":!0},key:1},d={attrs:{name:"promoBanner"},key:2},h=[],m={slotAssignment:"storeLogo",key:3},p={attrs:{name:"storeLogo"},key:4},u={slotAssignment:"navigation",key:5},g={attrs:{name:"navigation"},key:6},y={slotAssignment:"searchInput",key:7},_={attrs:{name:"searchInput"},key:8},f={slotAssignment:"shopperCopilot",key:10},v={attrs:{name:"shopperCopilot"},key:11},C={slotAssignment:"myAccount",key:12},F={attrs:{name:"myAccount"},key:13},k={slotAssignment:"wishlist",key:14},w={attrs:{name:"wishlist"},key:15},A={slotAssignment:"cart",key:16},b={attrs:{name:"cart"},key:17};function T(e,t,o,n){const{s:i,h:r,fr:a,c:c}=e;return[c("commerce-layout-header",s.default,{props:{hidePromoBanner:t.hidePromoBanner,hideWishlistShortcut:t.hideWishlistShortcut,showCopilotShortcut:t.showCopilotShortcut,layout:t.layout},key:0},[r("div",l,[i("promoBanner",d,h,o)]),r("div",m,[i("storeLogo",p,h,o)]),r("div",u,[i("navigation",g,h,o)]),r("div",y,[i("searchInput",_,h,o)]),t.showCopilotShortcut?a(9,[r("div",f,[i("shopperCopilot",v,h,o)])],0):null,r("div",C,[i("myAccount",F,h,o)]),t.hideWishlistShortcut?null:r("div",k,[i("wishlist",w,h,o)]),r("div",A,[i("cart",b,h,o)])])]}var x=t.registerTemplate(T);T.slots=["cart","myAccount","navigation","promoBanner","searchInput","shopperCopilot","storeLogo","wishlist"],T.renderMode="light",T.stylesheets=[],T.stylesheetToken="lwc-1nchb9g5jmm",T.legacyStylesheetToken="commerce_builder-layoutHeader_layoutHeader",c&&T.stylesheets.push.apply(T.stylesheets,c),t.freezeTemplate(T);const S=new Map([[i.FORM_FACTOR_SMALL,"mobile"],[i.FORM_FACTOR_MEDIUM,"tablet"],[i.FORM_FACTOR_LARGE,"desktop"]]);class I extends t.LightningElement{constructor(...e){super(...e),this._formFactor=void 0,this._pendingFormFactor=void 0,this._pendingTimeout=void 0,this._isConnected=!1,this._internalContext=void 0,this.hidePromoBanner=!1,this.hideWishlistShortcut=!1}wireInternalContext({data:e}){this._internalContext=e}get showCopilotShortcut(){return Boolean(this._internalContext?.propertiesEx?.shopperCopilotUIEnabled)}
599wireFormFactor(e){if(this._pendingFormFactor=e,this._pendingTimeout)return;const t=()=>{this._formFactor=this._pendingFormFactor,this._pendingTimeout=void 0,this._pendingFormFactor=void 0};this._isConnected&&"undefined"!=typeof window?this._pendingTimeout=setTimeout(t):t()}get layout(){if(!this._pendingTimeout)return S.get(this._formFactor)??"desktop"}connectedCallback(){this._isConnected=!0}disconnectedCallback(){this._isConnected=!1,this._pendingTimeout&&clearTimeout(this._pendingTimeout),delete this._pendingTimeout}}I.renderMode="light",t.registerDecorators(I,{publicProps:{hidePromoBanner:{config:0},hideWishlistShortcut:{config:0}},wire:{wireInternalContext:{adapter:n.InternalContextAdapter,method:1,config:function(e){return{}}},wireFormFactor:{adapter:i.getFormFactor,method:1,config:function(e){return{}}}},fields:["_formFactor","_pendingFormFactor","_pendingTimeout","_isConnected","_internalContext"]});const M=t.registerComponent(I,{tmpl:x,sel:"commerce_builder-layout-header",apiVersion:66,enableSyntheticElementInternals:!0});e.default=M,Object.defineProperty(e,"__esModule",{value:!0})});
600})();(function() { LWR.define("community_styling/inlineStyles",["exports","lwc"],function(e,t){var n=void 0;function r(e){return null!=e&&""!==e}const l=Object.create(null);class s{static createConditionalStyleSelector(e,t,n){return(r,s)=>{s=s||l;const a=(r=r||l)[e],i=r[t]||a;return n(s)?i:a}}static createStatefulStyleSelector(e,t,n){return s.createConditionalStyleSelector(e,t,e=>e[n])}constructor(e){this.styleGeneratorKeyValuePairs=Object.entries(e||l)}mapStyles(e,t){e=e||l;const n=this.styleGeneratorKeyValuePairs.map(([n,r])=>[n,r(e,t)]).filter(([,e])=>r(e));return new Map(n)}}const a=t.registerComponent(s,{tmpl:n,sel:"community_styling-inline-styles",apiVersion:66,enableSyntheticElementInternals:!0}),i=Object.create(null);const c=t.registerComponent(class{constructor(e){this.styleNameKeyValuePairs=Object.entries(e||i)}mapStyles(e){e=e||i;const t=this.styleNameKeyValuePairs.map(([t,n])=>[t,e[n]]).filter(([,e])=>r(e));return new Map(t)}},{tmpl:n,sel:"community_styling-inline-styles",apiVersion:66,enableSyntheticElementInternals:!0}),o=Object.create(null);const y=t.registerComponent(class{constructor(e){this.styleMaps=e||[]}createForStyles(e,t){e=e||o;const n=this.styleMaps.map(n=>n.mapStyles(e,t)).map(e=>Array.from(e.entries())),r=new Map([].concat(...n));return Array.from(r.entries()).map(e=>e.join(": ")).join("; ")}},{tmpl:n,sel:"community_styling-inline-styles",apiVersion:66,enableSyntheticElementInternals:!0});e.DynamicStyleMap=a,e.SimpleStyleMap=c,e.StyleStringGenerator=y,e.createStyleString=function(e){return Array.isArray(e)||(e=Object.entries(e).map(([e,t])=>({name:e,value:t}))),e.filter(e=>r(e.value)).map(e=>({...e,suffix:e.suffix||""})).map(e=>`${e.name}: ${e.value}${e.suffix}`).join("; ")},Object.defineProperty(e,"__esModule",{value:!0})});
601})();(function() { LWR.define("commerce_search/input",["exports","lwc","lightning/icon","@salesforce/label/B2B_Search_Suggestions.clear","@salesforce/label/B2B_Search_Suggestions.loading","@salesforce/label/B2B_Search_Suggestions.search","@salesforce/label/B2B_Search_Suggestions.searchInputAriaDescribedby","community_styling/inlineStyles","@salesforce/community/basePath"],function(t,e,n,s,r,i,a,o,l){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=c(n),d=c(s),h=c(r),p=c(i),g=c(a),b=c(l);function v(t,e,n){var s=t?"."+t:"";return".input-container"+s+" {display: flex;height: var(--dxp-g-spacing-xlarge);--b2b-search-color-text-placeholder: var(--dxp-g-neutral-3);}input"+s+" {border: none;flex-grow: 2;height: 100%;width: 100%;outline: none;color: var(--dxp-g-root-contrast);}.search-input-without-button"+s+" {padding: var(--dxp-g-spacing-small) var(--dxp-g-spacing-none) var(--dxp-g-spacing-small) var(--dxp-g-spacing-xlarge);}.search-input-with-button"+s+" {padding: var(--dxp-g-spacing-small) var(--dxp-g-spacing-none) var(--dxp-g-spacing-small) var(--dxp-g-spacing-small);background-color: var(--dxp-g-root);}input"+s+"::placeholder {color: var(--b2b-search-color-text-placeholder);}.input-search-button"+s+" {position: inherit;height: var(--dxp-g-spacing-xlarge);border-left-width: var(--dxp-g-spacing-none);border-top-left-radius: var(--dxp-g-spacing-none);border-bottom-left-radius: var(--dxp-g-spacing-none);}.input-search-button:focus"+s+" {box-shadow: 0 0 var(--slds-g-sizing-border-2, 2px) var(--dxp-g-brand-1);}.input-search-button"+s+" svg"+s+" {height: var(--dxp-g-spacing-xlarge);fill: var(--dxp-g-brand-contrast);border-top-left-radius: var(--dxp-g-spacing-none);border-bottom-left-radius: var(--dxp-g-spacing-none);}.input-wrapper"+s+" {display: flex;flex-grow: 1;border: var(--dxp-s-form-element-width-border, var(--slds-g-sizing-border-1, 1px)) solid var(--dxp-g-brand);width: 100%;background-color: var(--dxp-g-root);}.input-wrapper"+s+" svg"+s+" {height: var(--dxp-g-spacing-medium);flex-grow: 2;fill: var(--b2b-search-color-text-placeholder);}.input-wrapper.active"+s+" {border: var(--dxp-s-form-element-width-border, var(--slds-g-sizing-border-1, 1px)) solid var(--dxp-g-brand);box-shadow: 0 0 var(--slds-g-sizing-border-2, 2px) var(--dxp-g-brand-1);}.input-icon-container"+s+" {display: flex;padding: var(--dxp-g-spacing-none) var(--dxp-g-spacing-xsmall);}.input-clear-button-container"+s+" {display: flex;justify-content: center;align-items: center;}.input-clear-button:active"+s+" {outline: none;}.input-clear-button"+s+" {background: transparent;border: none;outline: none;padding: var(--dxp-g-spacing-none) var(--dxp-g-spacing-none);height: 100%;}.input-spinner-container"+s+" {position: relative;padding: var(--dxp-g-spacing-none) var(--dxp-g-spacing-medium);}"}v.$scoped$=!0;var x=[v];const m=e.parseFragment`<svg class="slds-icon slds-input__icon slds-input__icon_left slds-icon-text-default${0}" aria-hidden="true"${2}><use${"a1:href"}${3}/></svg>`,y=e.parseFragment`<label class="slds-assistive-text${0}"${2}>${"t1"}</label>`,S=e.parseFragment`<div class="input-spinner-container${0}"${2}><div role="status" class="slds-spinner slds-spinner_brand slds-spinner_x-small${0}"${2}><span class="slds-assistive-text${0}"${2}>${"t3"}</span><div class="slds-spinner__dot-a${0}"${2}></div><div class="slds-spinner__dot-b${0}"${2}></div></div></div>`,_=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,f=e.parseFragment`<div${3}><button type="submit" data-automation="search-button" class="input-search-button slds-button slds-button_brand${0}"${"s1"}${2}><svg class="slds-icon slds-icon-text-default slds-icon_x-small search-icon${0}"${"s2"} focusable="false" data-key="search" aria-hidden="true"${2}><use${"a3:href"}${3}/></svg><span class="slds-assistive-text${0}"${2}>${"t5"}</span></button></div>`,B={"input-container":!0},w={classMap:{"input-icon-container":!0},key:7},I={classMap:{"input-clear-button-container":!0},key:10},$={"input-clear-button":!0,"slds-button":!0},E={"data-automation":"clear-button"},k={props:{iconName:"utility:clear",size:"xx-small"},key:14};function C(t,n,s,r){const{ncls:i,sp:a,st:o,d:l,b:c,h:d,c:h}=t,{_m0:p,_m1:g,_m2:b}=r;return[d("div",{classMap:B,style:n._customCSSProperties,key:0},[d("div",{className:i(n.inputWrapperClass),style:n.searchInputStyle,key:1},[n.showSearchButton?null:o(m,3,[a(1,{attrs:{href:e.sanitizeAttribute("use","http://www.w3.org/2000/svg","href",n.searchIconPath)}},null)]),o(y,5,[a(1,null,l(n.i18n.search))]),d("input",{style:n.searchInputStyle,className:i(n.searchInputClass),attrs:{"aria-autocomplete":"list","aria-describedby":n.i18n.searchInputAriaDescribedby,autocomplete:"off",placeholder:n.inputPlaceholderText,type:"search",role:"combobox",maxlength:"255"},props:{value:n._normalizedText},key:6,on:p||(r._m0={blur:c(n.handleInputBlur),click:c(n.handleInputClick),focus:c(n.handleInputFocus),input
601:c(n.handleInputChange),search:c(n.handleSearchButtonClick)})}),d("div",w,[n.showActivityIndicator?o(S,9,[a(3,null,l(n.i18n.loading))]):null,n._showClearButton?d("div",I,[d("button",{classMap:$,attrs:E,key:11,on:g||(r._m1={click:c(n.handleClearClick),keydown:c(n.handleClearButtonKeyDown)})},[o(_,13,[a(1,null,l(n.i18n.clear))]),h("lightning-icon",u.default,k)])]):null])]),n.showSearchButton?o(f,16,[a(1,{on:b||(r._m2={click:c(n.handleSearchButtonClick),keydown:c(n.handleSearchButtonKeyDown),blur:c(n.handleSearchButtonBlur),focus:c(n.handleSearchButtonFocus),mouseenter:c(n.handleSearchButtonMouseEnter),mouseleave:c(n.handleSearchButtonMouseLeave)}),style:n.searchButtonStyle},null),a(2,{style:n.searchIconStyles},null),a(3,{attrs:{href:e.sanitizeAttribute("use","http://www.w3.org/2000/svg","href",n.searchIconPath)}},null),a(5,null,l(n.i18n.search))]):null])]}var A=e.registerTemplate(C);C.renderMode="light",C.stylesheets=[],C.stylesheetToken="lwc-5j9kqrar72e",C.legacyStylesheetToken="commerce_search-input_input",x&&C.stylesheets.push.apply(C.stylesheets,x),e.freezeTemplate(C);const M={clear:d.default,loading:h.default,search:p.default,searchInputAriaDescribedby:g.default},F=new o.SimpleStyleMap({"border-color":"search-container-border-color","border-radius":"search-container-border-radius"}),P=new o.SimpleStyleMap({"--b2b-search-color-text-placeholder":"search-input-text-placeholder-color"}),T=new o.SimpleStyleMap({fill:"search-input-icon-color"}),z=new o.SimpleStyleMap({"background-color":"search-input-background-color","border-style":"search-input-border-style",color:"search-input-color"}),D=new o.DynamicStyleMap({"background-color":o.DynamicStyleMap.createStatefulStyleSelector("search-button-background-color","search-button-background-hover-color","isHovering"),color:o.DynamicStyleMap.createStatefulStyleSelector("search-button-color","search-button-hover-color","isHovering")});var O={button:new o.StyleStringGenerator([D,F]),customProperty:new o.StyleStringGenerator([P]),icon:new o.StyleStringGenerator([T]),input:new o.StyleStringGenerator([z,F])};const V="border-top-left-radius: 0; border-bottom-left-radius: 0",H="border-top-right-radius: 0; border-bottom-right-radius: 0",q="border-top-left-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0",j="border-bottom-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: 0",G="border-bottom-left-radius: 0; border-bottom-right-radius: 0;",K="Enter";class R extends e.LightningElement{constructor(...t){super(...t),this._showActivityIndicator=!1,this.inputPlaceholderText="",this.customStyles=void 0,this._listBoxId=void 0,this._listBoxExpanded=!1,this._activeOptionId=void 0,this._showSearchButton=!1,this._inputValue=void 0,this._isActive=!1,this._isSearchButtonFocused=!1,this._isSearchButtonHovering=!1,this._initialRender=!1}get listBoxId(){return this._listBoxId}set listBoxId(t){this._listBoxId=t,this.syncA11y()}get listBoxExpanded(){return this._listBoxExpanded}set listBoxExpanded(t){this._listBoxExpanded=!!t,this.syncA11y()}get activeOptionId(){return this._activeOptionId}set activeOptionId(t){this._activeOptionId=t,this.syncA11y()}get showActivityIndicator(){return this._showActivityIndicator}set showActivityIndicator(t){this._showActivityIndicator=t}get showSearchButton(){return this._showSearchButton}set showSearchButton(t){this._showSearchButton=!!t}focus(){this.inputElement.focus()}get searchIconPath(){return`${b.default}/assets/icons/search.svg#search`}get inputElement(){return this.querySelector("input")}get text(){let t=this._inputValue;return null!==this.inputElement&&(t=this.inputElement.value),t}set text(t){this._inputValue=t}get _normalizedText(){return this._inputValue||""}get i18n(){return M}get inputWrapperClass(){let t=["input-wrapper"];return this._isActive&&(t=[...t,"active"]),this.showSearchButton||(t=[...t,"slds-input-has-icon slds-input-has-icon_left"]),t}get searchInputClass(){return this.showSearchButton?"search-input-with-button":"search-input-without-button"}get inputBorderStyles(){let t;return this.listBoxExpanded?(t=G,this.showSearchButton&&(t=j)):this.showSearchButton&&(t=H),t}get searchInputStyle(){return`${O.input.createForStyles(this.customStyles)};${this.inputBorderStyles}`}get searchButtonStyle(){const t=O.button.createForStyles(this.customStyles,{isHovering:this._isSearchButtonHovering||this._isSearchButtonFocused});return this.listBoxExpanded?`${t}; ${q}`:`${t}; ${V}`}get searchIconStyles(){return O.icon.createForStyles(this.customStyles)}get _customCSSProperties(){return O.customProperty.createForStyles(this.customStyles)}get _showClearButton(){return this._normalizedText.length>0}handleInputChange(t){const e=t.target.value;this.dispatchEvent(new CustomEvent("inputtextchange",{bubbles:!0,cancelable:!0,detail:{text:e}}))}handleInputBlur(){this._isActive=!1,this.dispatchEvent(new CustomEvent("inputblur",{bubbles:!0,cancelable:!0}))}handleInputFocus(){this._isActive=!0,this.dispatchEvent(new CustomEvent("inputfocused",{bubbles:!0,cancelable:!0}))}handleInputClick(){this.dispatchEvent(new CustomEvent("inputclick",{bubbles:!0,cancelable:!0}))}handleSearchButtonClick(){this.dispatchEvent(new CustomEvent("searchrequest",{bubbles:!0,cancelable:!0,detail:{searchTerm:this._inputValue}}))}handleSearchButtonKeyDown(t){t.key===K&&this.dispatchEvent(new CustomEvent("searchrequest",{bubbles:!0,cancelable:!0,detail:{searchTerm:this._inputValue}}))}handleClearButtonKeyDown(t){t.stopPropagation(),t.key===K&&this.clearInput()}handleClearClick(){this.clearInput()}clearInput(){this._inputValue="",this.focus(),this.dispatchEvent(new CustomEvent("inputclear",{bubbles:!0,cancelable:!0}))}handleSearchButtonBlur(){this._isSearchButtonFocused=!1}handleSearchButtonFocus(){this._isSearchButtonFocused=!0}handleSearchButtonMouseEnter(){this._isSearchButtonHovering=!0}handleSearchButtonMouseLeave(){this._isSearchButtonHovering=!1}syncA11y(){this.listBoxId?this.inputElement.setAttribute("aria-controls",this.listBoxId):this.inputElement.removeAttribute("aria-controls"),this.activeOptionId?this.inputElement.setAttribute("aria-activedescendant",this.activeOptionId):this.inputElement.removeAttribute("aria-activedescendant"),this.inputElement.setAttribute("aria-expanded",this.listBoxExpanded.toString())}renderedCallback(){if(!1===this._initialRender){const t=this.querySelector("input"),e=this.querySelector("label"),n=Math.random().toString(36).substring(2,9);t.setAttribute("id",n),e.setAttribute("for",n),this._initialRender=!0}}}R.renderMode="light",e.registerDecorators(R,{publicProps:{listBoxId:{config:3},listBoxExpanded:{config:3},activeOptionId:{config:3},showActivityIndicator:{config:3},showSearchButton:{config:3},inputPlaceholderText:{config:0},customStyles:{config:0},text:{config:3}},publicMethods:["focus"],fields:["_showActivityIndicator","_listBoxId","_listBoxExpanded","_activeOptionId","_showSearchButton","_inputValue","_isActive","_isSearchButtonFocused","_isSearchButtonHovering","_initialRender"]});const L=e.registerComponent(R,{tmpl:A,sel:"commerce_search-input",apiVersion:66,enableSyntheticElementInternals:!0});
601t.default=L,Object.defineProperty(t,"__esModule",{value:!0})});
602})();LWR.define('@salesforce/gate/com.salesforce.commerce.useHtmlProductName', [], () => {const gateObj = {
603    isOpen: (fallbackObj) => false,
604    hasError: () => false,
605};
606return Object.freeze(gateObj);});(function() { LWR.define("commerce/richTextSanitizerUtils",["exports","lwr/environment","lightning/purifyLib"],function(e,t,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n);function u(e,n=["sup","sub"]){let r=e??"";return t.isServer||(r=i.default(r,{ALLOWED_TAGS:Object.freeze(n),ALLOWED_ATTR:Object.freeze([]),ALLOWED_URI_REGEXP:"",ALLOW_UNKNOWN_PROTOCOLS:!1})),r}e.default=u,e.sanitizeValueAndDecodeEntities=function(e,t=[]){const n=u(e,t);return n?n.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&nbsp;/g," "):""},Object.defineProperty(e,"__esModule",{value:!0})});
607})();(function() { LWR.define("commerce_search/listBoxOptionInline",["exports","lwc","lightning/icon","lightning/formattedRichText","community_styling/inlineStyles","@salesforce/gate/com.salesforce.commerce.useHtmlProductName","commerce/richTextSanitizerUtils"],function(e,t,i,n,l,o,s){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(i),c=r(n),m=r(o),p=r(s);function u(e,t,i){var n=e?"."+e:"";return".option-inline-container"+n+" {display: flex;align-items: center;padding: var(--lwc-spacingXSmall, 0.5rem) var(--lwc-spacingMedium, 1rem);max-height: var(--lwc-spacingXLarge, 2rem);}.option-inline-icon"+n+" {margin-right: var(--lwc-spacingXSmall, 0.5rem);}.option-inline-text"+n+" {display: flex;max-width: 100%;text-align: left;color: var(--lwc-colorTextDefault, var(--dxp-g-root-contrast));}"}u.$scoped$=!0;var g=[u];const d={classMap:{"option-inline-container":!0},key:0},h={"option-inline-icon":!0},x={classMap:{"option-inline-text":!0},key:2},y={"slds-truncate":!0};function f(e,t,i,n){const{c:l,h:o}=e;return[t.item?o("div",d,[t.item.iconName?l("lightning-icon",a.default,{classMap:h,props:{alternativeText:t.item.iconAlternativeText,iconName:t.item.iconName,size:"x-small"},key:1}):null,t.item.text?o("div",x,[l("lightning-formatted-rich-text",c.default,{classMap:y,props:{disableLinkify:!0,value:t._displayText,title:t._tooltipText},key:3})]):null]):null]}var v=t.registerTemplate(f);f.renderMode="light",f.stylesheets=[],f.stylesheetToken="lwc-2fp49ppltku",f.legacyStylesheetToken="commerce_search-listBoxOptionInline_listBoxOptionInline",g&&f.stylesheets.push.apply(f.stylesheets,g),t.freezeTemplate(f);const S=new l.DynamicStyleMap({color:l.DynamicStyleMap.createStatefulStyleSelector("listbox-text-color","listbox-text-hover-color","isHovering")});var _={text:new l.StyleStringGenerator([S])};class T extends t.LightningElement{constructor(...e){super(...e),this.customStyles=void 0,this._item={},this.isHovered=!1}get item(){return this._item}set item(e){this._item=e}get htmlProductNameGate(){return m.default.isOpen({fallback:!1})}get _tooltipText(){return this.htmlProductNameGate?p.default(this.item?.title,[]):this.item?.title}get _displayText(){const e={isHovering:this.isHovered||!1};return`<span style="${_.text.createForStyles(this.customStyles,e)||""};">${this._item.text}</span>`}}T.renderMode="light",t.registerDecorators(T,{publicProps:{item:{config:3},customStyles:{config:0},isHovered:{config:0}},fields:["_item"]});const w=t.registerComponent(T,{tmpl:v,sel:"commerce_search-list-box-option-inline",apiVersion:66,enableSyntheticElementInternals:!0});e.default=w,Object.defineProperty(e,"__esModule",{value:!0})});
608})();(function() { LWR.define("commerce_search/listBoxOption",["exports","lwc","commerce_search/listBoxOptionInline","community_styling/inlineStyles"],function(e,t,i,s){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(i);function l(e,t,i,s){const{b:o,c:l,h:r}=e,{_m0:c}=s;return[r("div",{style:t.optionStyles,key:0,on:c||(s._m0={mousedown:o(t.handleClick),mouseenter:o(t.handleMouseEnter),mouseleave:o(t.handleMouseLeave)})},[t._isOptionInline?l("commerce_search-list-box-option-inline",n.default,{props:{customStyles:t.customStyles,isHovered:t.isHovered,item:t.item},key:1}):null])]}
608var r=t.registerTemplate(l);l.renderMode="light",l.stylesheets=[],l.stylesheetToken="lwc-70ica3accpf",l.legacyStylesheetToken="commerce_search-listBoxOption_listBoxOption",t.freezeTemplate(l);const c=new s.DynamicStyleMap({"background-color":s.DynamicStyleMap.createStatefulStyleSelector("listbox-background-color","listbox-background-hover-color","isHovering")});var a={listbox:new s.StyleStringGenerator([c])};class m extends t.LightningElement{constructor(...e){super(...e),this.customStyles=void 0,this._isOptionInline=!1,this.isHovered=!1,this._item={}}get item(){return this._item}set item(e){this._item=e,this.setType()}handleMouseEnter(){this.isHovered=!0}handleMouseLeave(){this.isHovered=!1}get optionStyles(){return a.listbox.createForStyles(this.customStyles,{isHovering:this.isHovered||this.item.highlight})}handleClick(){this.dispatchEvent(new CustomEvent("select",{bubbles:!0,cancelable:!0,detail:{id:this.item.id}}))}setType(){this._isOptionInline="option-inline"===this._item.type}}m.renderMode="light",t.registerDecorators(m,{publicProps:{item:{config:3},customStyles:{config:0}},fields:["_isOptionInline","isHovered","_item"]});const h=t.registerComponent(m,{tmpl:r,sel:"commerce_search-list-box-option",apiVersion:66,enableSyntheticElementInternals:!0});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
609})();(function() { LWR.define("commerce_search/listBox",["exports","lwc","commerce_search/listBoxOption","community_styling/inlineStyles"],function(t,e,o,r){function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=s(o);function l(t,e,o){var r=t?"."+t:"";return"ul"+r+" {color: var(--lwc-colorTextActionLabel, var(--dxp-g-root-contrast-1));background-color: var(--lwc-colorBackground, var(--dxp-g-root));position: absolute;z-index: var(--lwc-zIndexDropdown, 7000);width: 100%;box-shadow: var(--lwc-shadowDropDown, 0 2px 3px 0 rgba(0, 0, 0, 0.16));border-style: solid;border-color: var(--lwc-colorBorderBrand, var(--dxp-g-brand));border-width: var(--lwc-borderWidthThin, 1px);border-top-width: 0;overflow: hidden;cursor: pointer;}li:last-child"+r+" {border-bottom-width: 0;}li"+r+" {border-bottom-style: solid;border-bottom-width: var(--lwc-borderWidthThin, 1px);background-color: var(--lwc-colorBackgroundAlt, var(--dxp-g-root));}li:hover"+r+" {background-color: var(--lwc-colorBackgroundBackdropTint, var(--dxp-g-root-1));}"}l.$scoped$=!0;var n=[l];const c={role:"listbox"},d={"slds-truncate":!0};function a(t,e,o,r){const{k:s,b:l,c:n,h:a,i:h}=t,{_m0:u}=r;return[e.items.length?a("ul",{style:e.listBoxContainerStyles,attrs:c,key:0},h(e.items,function(t){return a("li",{classMap:d,style:e.listBoxItemStyles,attrs:{"data-id":t.id,"aria-selected":t.highlight,role:"option"},key:s(1,t.id)},[n("commerce_search-list-box-option",i.default,{props:{customStyles:e.customStyles,item:t},key:2,on:u||(r._m0={select:l(e.handleOptionSelection)})})])})):null]}var h=e.registerTemplate(a);a.renderMode="light",a.stylesheets=[],a.stylesheetToken="lwc-3b5gt3cvks9",a.legacyStylesheetToken="commerce_search-listBox_listBox",n&&a.stylesheets.push.apply(a.stylesheets,n),e.freezeTemplate(a);const u=new r.SimpleStyleMap({"border-bottom-color":"listbox-divider-color"}),p=new r.SimpleStyleMap({"border-bottom-left-radius":"border-radius","border-bottom-right-radius":"border-radius","border-color":"border-color"});var b={listBoxContainer:new r.StyleStringGenerator([p]),listBoxItem:new r.StyleStringGenerator([u])};class m extends e.LightningElement{constructor(...t){super(...t),this.items=void 0,this.customStyles=void 0,this._listBoxId="",this.handleOptionSelection=t=>{t.stopPropagation();const e=t.detail.id;let o=this.items?.findIndex(t=>t.id===e);const{value:r,category:s}=this.items[o];o+=1,this.dispatchEvent(new CustomEvent("searchoptionselection",{bubbles:!0,cancelable:!0,detail:{value:r,position:o,category:s}}))}}get listBoxId(){return this._listBoxId}set listBoxId(t){this._listBoxId=t,this.syncA11y()}get listBoxItemStyles(){return b.listBoxItem.createForStyles(this.customStyles)}get listBoxContainerStyles(){return b.listBoxContainer.createForStyles(this.customStyles)}renderedCallback(){this.syncA11y()}syncA11y(){const t=this.querySelector("ul");t&&this._listBoxId&&t.setAttribute("id",this._listBoxId);
609Array.from(this.querySelectorAll("li")).forEach(t=>{t.setAttribute("id",t.dataset.id)})}}m.renderMode="light",e.registerDecorators(m,{publicProps:{items:{config:0},listBoxId:{config:3},customStyles:{config:0}},fields:["_listBoxId","handleOptionSelection"]});const y=e.registerComponent(m,{tmpl:h,sel:"commerce_search-list-box",apiVersion:66,enableSyntheticElementInternals:!0});t.default=y,Object.defineProperty(t,"__esModule",{value:!0})});
610})();(function() { LWR.define("experience/util",["exports","experience/utilsInternal"],function(e,t){Object.defineProperty(e,"CONDITION",{enumerable:!0,get:function(){return t.CONDITION}}),Object.defineProperty(e,"base36Decode",{enumerable:!0,get:function(){return t.base36Decode}}),Object.defineProperty(e,"base36Encode",{enumerable:!0,get:function(){return t.base36Encode}}),Object.defineProperty(e,"baseConvert",{enumerable:!0,get:function(){return t.baseConvert}}),Object.defineProperty(e,"circularRefReplacer",{enumerable:!0,get:function(){return t.circularRefReplacer}}),Object.defineProperty(e,"circularRefReviver",{enumerable:!0,get:function(){return t.circularRefReviver}}),Object.defineProperty(e,"clearDebounceTimeout",{enumerable:!0,get:function(){return t.clearDebounceTimeout}}),Object.defineProperty(e,"createConditionalAdapter",{enumerable:!0,get:function(){return t.createConditionalAdapter}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return t.debounce}}),Object.defineProperty(e,"deepClone",{enumerable:!0,get:function(){return t.deepClone}}),Object.defineProperty(e,"deepEqual",{enumerable:!0,get:function(){return t.deepEqual}}),Object.defineProperty(e,"deepFreeze",{enumerable:!0,get:function(){return t.deepFreeze}}),Object.defineProperty(e,"deepSort",{enumerable:!0,get:function(){return t.deepSort}}),Object.defineProperty(e,"extendDebouncedTimeout",{enumerable:!0,get:function(){return t.extendDebouncedTimeout}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return t.get}}),Object.defineProperty(e,"getObjectTag",{enumerable:!0,get:function(){return t.getObjectTag}}),Object.defineProperty(e,"isBlank",{enumerable:!0,get:function(){return t.isBlank}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return t.isFunction}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return t.isInteger}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return t.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t.isObject}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return t.isObjectLike}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return t.isPlainObject}}),Object.defineProperty(e,"isPromiseLike",{enumerable:!0,get:function(){return t.isPromiseLike}}),Object.defineProperty(e,"uuidValidate",{enumerable:!0,get:function(){return t.uuidValidate}}),Object.defineProperty(e,"uuidv4",{enumerable:!0,get:function(){return t.uuidv4}}),Object.defineProperty(e,"__esModule",{value:!0})});
611})();(function() { LWR.define("community_styling/styleSelector",["exports"],function(e){e.default=function(e,t){return e=e||{},t=t||"",Object.entries(e).filter(e=>e[0].startsWith(t)).map(e=>[e[0].slice(t.length),e[1]]).reduce((e,t)=>(e[t[0]]=t[1],e),{})},Object.defineProperty(e,"__esModule",{value:!0})});
612})();(function() { LWR.define("commerce/activitiesApiInternal",["exports","@salesforce/loader"],function(t,n){const e=new Map;function i(t){return(t=t||[]).map(t=>({id:t.id,sku:t.fields?.StockKeepingUnit?.value,unitPrice:t.prices?.unitPrice,listPrice:t.prices?.listPrice}))}async function c(t,i){if("undefined"!=typeof window)if(Reflect.has(globalThis,"$A")){const{record:e}=await n.load("experience_einstein/activitiesApi");await e(t,i)}else{const c=JSON.stringify([t,i]);!e.has(c)&&e.set(c,function(t,n){let e=null;return function(...i){if(null===e){const c=t.apply(this,i);return e=setTimeout(()=>{e=null,n()}),c}return Promise.resolve()}}(async()=>{const{postToEinstein:e}=await n.load("commerce/einsteinApi"),c=await e({request:i,urlPath:n=>n.siteId?`/activities/${n.siteId}/${t}`:""});c&&!c.ok&&console.log(`Commerce Einstein Api ${t} error: `,c)},()=>{e.delete(c)})),await e.get(c)()}}function o(t){return t.map(t=>t.value)}async function r(t,n){const e=function(t,n){return{searchText:t,suggestion:o(n)}}(t=t||"",n);await c("clickSearchSuggestion",e)}async function a(t,n){const e=function(t,n){return{searchText:t,suggestions:o(n)}}(t=t||"",n);await c("viewSearchSuggestion",e)}async function u(t,n,e,o){const r=function(t,n,e,c){return{searchText:t,products:i(e),sortRuleId:n,correlationId:c}}(t,n,e,o);await c("viewSearch",r)}
612async function s(t,n,e,o){const r=function(t,n,e,c){return{category:{id:t},products:i(e),sortRuleId:n,correlationId:c}}(t,n,e,o);await c("viewCategory",r)}t.postActivity=c,t.trackAddProductToCart=function(t){t?.id&&async function(t){const n=function(t){return{products:[t]}}(t);await c("addToCart",n)}(t)},t.trackClickCategory=function(t,n,e){(t||"").length>0&&(n||"").length>0&&async function(t,n,e){const i=function(t,n,e){return{category:t,product:n,correlationId:e}}(t,n,e);await c("clickCategory",i)}({id:t},{id:n},e)},t.trackClickReco=function(t,n,e){t&&n&&e?.id&&async function(t,n,e){const i=function(t,n,e){return{recommenderName:t,__recoUUID:n,product:e}}(t,n,e);await c("clickReco",i)}(t,n,e)},t.trackClickSearch=function(t,n,e){n=n||"",(t=t||"").length<1||n.length<1||async function(t,n,e){const i=function(t,n,e){return{searchText:t,product:{id:n},correlationId:e}}(t,n,e);await c("clickSearch",i)}(t,n,e)},t.trackClickSearchSuggestion=function(t,n){n&&r(t||"",n)},t.trackViewCategory=function(t,n,e,i){t=t||"";const c=(e=e||[]).every(t=>void 0!==t.id);t.length>0&&c&&s(t,n,e,i)},t.trackViewProduct=function(t){t?.id&&async function(t){const n=function(t){return{product:t}}(t);await c("viewProduct",n)}(t)},t.trackViewReco=function(t,n,e){e=(e=e||[]).filter(t=>void 0!==t.id),!t||!n||e.length<1||async function(t,n,e){const i=function(t,n,e){return{recommenderName:t,__recoUUID:n,products:e}}(t,n,e);await c("viewReco",i)}(t,n,e)},t.trackViewSearch=function(t,n,e,i){t=t||"",e=(e=e||[]).filter(t=>void 0!==t.id),t.length<1||e.length<1||u(t,n,e,i)},t.trackViewSearchSuggestion=function(t,n){n&&a(t||"",n)},Object.defineProperty(t,"__esModule",{value:!0})});
613})();(function() { LWR.define("commerce_search/combobox",["exports","lwc","commerce_search/input","commerce_search/listBox","@salesforce/label/B2B_Search_Suggestions.search","@salesforce/label/B2B_Search_Suggestions.searchFor","experience/util","community_styling/styleSelector","commerce/activitiesApiInternal","@salesforce/gate/com.salesforce.commerce.useHtmlProductName","commerce/richTextSanitizerUtils"],function(e,t,s,i,o,n,c,a,r,h,l){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(s),m=d(i),p=d(o),g=d(n),y=d(a),_=d(h),f=d(l);function x(e,t,s){return"commerce_search-list-box"+(e?"."+e:"")+" {position: relative;width: 100%;display: block;}"}x.$scoped$=!0;var b=[x];const I={"suggestions-combobox-container":!0};function v(e,t,s,i){const{b:o,c:n,h:c}=e,{_m0:a,_m1:r,_m2:h}=i;return[c("div",{classMap:I,key:0,on:a||(i._m0={keydown:o(t.handleKeyDown)})},[n("commerce_search-input",u.default,{props:{inputPlaceholderText:t.inputPlaceholderText,showActivityIndicator:t.showActivityIndicator,showSearchButton:t.showSearchButton,customStyles:t.customStyles,text:t._normalizedTerm},key:1,on:r||(i._m1={inputfocused:o(t.handleInputFocused),inputblur:o(t.handleInputBlur),inputclear:o(t.handleInputClear),inputclick:o(t.handleInputClick),searchrequest:o(t.handleSearch),inputtextchange:o(t.handleInputTextChange)})}),n("commerce_search-list-box",m.default,{props:{items:t._displayItems,customStyles:t.customListBoxStyles},key:2,on:h||(i._m2={searchoptionselection:o(t.handleOptionSelection)})})])]}var T=t.registerTemplate(v);v.renderMode="light",v.stylesheets=[],v.stylesheetToken="lwc-241ga74h8vr",v.legacyStylesheetToken="commerce_search-combobox_combobox",b&&v.stylesheets.push.apply(v.stylesheets,b),t.freezeTemplate(v);const S="ArrowDown",w="ArrowUp",B="Enter",C="option-inline",E={search:p.default,searchFor:g.default},P=()=>Math.random().toString(36).substring(2,9),k=(e=[])=>e.findIndex(e=>e.highlight),A=(e,t)=>{const s=[],i=(e=>{e.sort((e,t)=>e[0]-t[0]);let t=e[0];const s=[t];return e.forEach(e=>{e[0]<=t[1]?t[1]=Math.max(t[1],e[1]):(s.push(e),t=e)}),s})(t);let o=0;i.forEach(([t,i])=>{const n=e.substring(o,t);n&&s.push(n),s.push(`<strong>${e.substring(t,i)}</strong>`),o=i});const n=e.substring(o);return n&&s.push(n),s.join("")},O=(e=[],t="")=>{if(!t)return[...e];if(!e||!e.length)return[];const s=t.trim().split(" ").filter((e,t,s)=>s.indexOf(e)===t),i=e.map(e=>{const{text:t}=e,i=((e="",t)=>{let s=[];if(!e||!t.length)return s;const i={},o=e.toLowerCase();return t.forEach(t=>{const s=t.toLowerCase();let n=0,c=0,a=0;for(;c<e.length&&-1!==n&&a<1;)if(n=o.indexOf(s,c),n>-1){const e=n+s.length;i[n]=e,a++,c=e}}),s=Object.keys(i).map(e=>[parseInt(e,10),i[e]]),s})(t,s);if(i.length){const s=A(t,i);e.text=s}else e.text=t;return e});return i};class D extends t.LightningElement{constructor(...e){super(...e),this._focused=!1,this.showSearchButton=!1,this.showActivityIndicator=!1,this.showAdvancedSearch=!1,this.showHighlightning=!1,this.inputPlaceholderText="",this.customStyles=void 0,this._displayItems=[],this._items=[],this._searchTerm="",this._listBoxId=P(),this._activeOptionId=void 0,this._listBoxExpanded=!1,this.notifyInputTextChangePromise=void 0,this.notifyInputTextChangeDebounced=c.debounce(()=>{this.dispatchEvent(new CustomEvent("searchtermchange",{bubbles:!0,composed:!0,cancelable:!0,detail:{searchTerm:this._searchTerm}}))},200)}get items(){return this._items}set items(e){this._items=e;let t,s=((e=[])=>e.map(e=>{let t;return t=(e.type||"")===C?{...e,category:e.category||"",id:P(),highlight:!1,title:e.text,value:e.text}:{...e},t}))(e);this.showHighlightning&&(s=O(s,this._searchTerm)),this.showAdvancedSearch&&this._searchTerm&&this._focused&&(t=((e="")=>{let t={};if(!e)return t;const s=E.searchFor.replace("{searchTerm}",e);return t={id:P(),type:C,category:"advanced-search",text:s,title:s,highlight:!0,iconName:"utility:search",iconAlternativeText:E.search,value:e},t})(this._searchTerm)),t&&(s=[t,...s]),this._displayItems=s}get term(){return this._searchTerm}set term(e){this._searchTerm=e}get _normalizedTerm(){return this._searchTerm||""}get customListBoxStyles(){return{...y.default(this.customStyles,"suggestions-"),...y.default(this.customStyles,"search-container-")}}get htmlProductNameGate(){return _.default.isOpen({fallback:!1})}renderedCallback(){this.syncA11y()}disconnectedCallback(){this.notifyInputTextChangePromise&&c.clearDebounceTimeout(this.notifyInputTextChangePromise)}handleKeyDown(e){const t=k(this._displayItems);switch(e.key){case S:this.highlightItem(t,1);break;case w:this.highlightItem(t,-1);break;
613case B:this.handleEnterKeyDown(e)}}highlightItem(e,t){const s=this._displayItems.length;let i=(e+t)%s;i<0&&(i=s-1);const o=((e=[],t)=>e.map((e,s)=>{const i={...e};return i.highlight=s===t,i}))([...this._displayItems],i);this._displayItems=o}handleInputTextChange(e){e.stopPropagation(),this._searchTerm=e.detail.text,this.notifyInputTextChangePromise=this.notifyInputTextChangeDebounced()}handleEnterKeyDown(e){const t=k(this._displayItems);if(!e.isComposing&&229!==e.keyCode)if(t>-1){const{value:e,category:s}=this._displayItems[t],i="advanced-search"===s?this._searchTerm:e;this.notifyOptionSelection({value:this.htmlProductNameGate?f.default(i,[]):i,position:t+1,category:s})}else this.notifySearchAction(this._searchTerm)}handleOptionSelection(e){e.stopPropagation();const{value:t,position:s,category:i}=e.detail,o=this.htmlProductNameGate?f.default(t,[]):t;this.notifyOptionSelection({value:o,position:s,category:i})}notifyOptionSelection(e){const{value:t,position:s,category:i}=e,o=this._items.map(e=>({value:e?.text??""}));r.trackClickSearchSuggestion(t,o),this.dispatchEvent(new CustomEvent("searchoptionselection",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t,position:s,category:i}}))}handleInputFocused(e){this._focused=!0}handleInputBlur(e){e.stopPropagation(),this._focused=!1,this._displayItems=[]}handleInputClear(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("searchtermchange",{bubbles:!0,composed:!0,cancelable:!0,detail:{searchTerm:""}}))}handleInputClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("searchlistopenrequest",{bubbles:!0,composed:!0,cancelable:!0,detail:{searchTerm:this._searchTerm}}))}handleSearch(e){e.stopPropagation();const{searchTerm:t}=e.detail;this.notifySearchAction(t)}notifySearchAction(e){this.dispatchEvent(new CustomEvent("searchrequest",{bubbles:!0,composed:!0,cancelable:!0,detail:{searchTerm:e}}))}syncA11y(){this._displayItems.length?(this._listBoxId||(this._listBoxId=P()),this._listBoxExpanded=!0):(this._listBoxId=null,this._listBoxExpanded=!1);const e=this.querySelector("commerce_search-input"),t=k(this._displayItems);this._activeOptionId=t>=0?this._displayItems[t].id:"",e.listBoxId=this._listBoxId,e.listBoxExpanded=this._listBoxExpanded,e.activeOptionId=this._activeOptionId;this.querySelector("commerce_search-list-box").listBoxId=this._listBoxId}}D.renderMode="light",t.registerDecorators(D,{publicProps:{items:{config:3},showSearchButton:{config:0},showActivityIndicator:{config:0},showAdvancedSearch:{config:0},showHighlightning:{config:0},inputPlaceholderText:{config:0},customStyles:{config:0},term:{config:3}},fields:["_focused","_displayItems","_items","_searchTerm","_listBoxId","_activeOptionId","_listBoxExpanded","notifyInputTextChangePromise","notifyInputTextChangeDebounced"]});const M=t.registerComponent(D,{tmpl:T,sel:"commerce_search-combobox",apiVersion:66,enableSyntheticElementInternals:!0});e.default=M,Object.defineProperty(e,"__esModule",{value:!0})});
614})();(function() { LWR.define("commerce/searchInput",["exports","lwc","commerce_search/combobox"],function(o,e,t){function r(o){return o&&"object"==typeof o&&"default"in o?o:{default:o}}var s=r(t);function n(o,e,t,r){const{b:n,c:i}=o,{_m0:c}=r;return[i("commerce_search-combobox",s.default,{props:{term:e.searchTerm,items:e.searchSuggestionItems,inputPlaceholderText:e.placeholderText,customStyles:e.customStyles,showSearchButton:e.showSearchButton,showAdvancedSearch:e.showAdvancedSearch,showHighlightning:"true"},key:0,on:c||(r._m0={searchtermchange:n(e.handleTermChange),searchrequest:n(e.handleSearch),searchlistopenrequest:n(e.handleTermChange),searchoptionselection:n(e.handleOptionSelection),focusin:n(e.handleTermChange),focusout:n(e.handleClearSearchInput)})})]}var i=e.registerTemplate(n);n.renderMode="light",n.stylesheets=[],n.stylesheetToken="lwc-19lvpthvi8q",n.legacyStylesheetToken="commerce-searchInput_searchInput",e.freezeTemplate(n);class c extends e.LightningElement{constructor(...o){super(...o),this.borderRadius=void 0,this.textColor=void 0,this.backgroundColor=void 0,this.iconColor=void 0,this.borderColor=void 0,this.placeholderText=void 0,this.placeholderTextColor=void 0,this.buttonBackgroun
614dColor=void 0,this.buttonBackgroundHoverColor=void 0,this.showSearchButton=!1,this.showSearchSuggestionsSetup=!1,this.suggestionsTextColor=void 0,this.suggestionsTextHoverColor=void 0,this.suggestionsBackgroundColor=void 0,this.suggestionsBackgroundHoverColor=void 0,this.suggestionsDividerColor=void 0,this.searchTerm=void 0,this.searchSuggestionItems=[],this.showAdvancedSearch=!1}get customStyles(){return{"search-container-border-radius":`${this.borderRadius}px`,"search-input-color":this.textColor,"search-input-background-color":this.backgroundColor,"search-input-icon-color":this.iconColor,"search-container-border-color":this.borderColor,"search-input-text-placeholder-color":this.placeholderTextColor,"search-button-background-color":this.buttonBackgroundColor,"search-button-background-hover-color":this.buttonBackgroundHoverColor,...this.showSearchSuggestionsSetup?{"suggestions-listbox-text-color":this.suggestionsTextColor,"suggestions-listbox-text-hover-color":this.suggestionsTextHoverColor,"suggestions-listbox-background-color":this.suggestionsBackgroundColor,"suggestions-listbox-background-hover-color":this.suggestionsBackgroundHoverColor,"suggestions-listbox-divider-color":this.suggestionsDividerColor}:{}}}handleSearch(o){o.stopPropagation();const{searchTerm:e}=o.detail;this.dispatchEvent(new CustomEvent("searchrequest",{bubbles:!0,composed:!0,detail:{searchTerm:e}}))}handleOptionSelection(o){o.stopPropagation();const{value:e,position:t,category:r}=o.detail;this.dispatchEvent(new CustomEvent("searchoptionselection",{bubbles:!0,composed:!0,detail:{value:e,position:t,category:r}}))}handleTermChange(o){void 0!==o.detail.searchTerm&&this.handleSearchTermChange(o,o.detail.searchTerm)}handleClearSearchInput(o){this.handleSearchTermChange(o,null)}handleSearchTermChange(o,e){o.stopPropagation(),this.dispatchEvent(new CustomEvent("searchtermchange",{bubbles:!0,composed:!0,detail:{searchTerm:e}}))}}c.renderMode="light",e.registerDecorators(c,{publicProps:{borderRadius:{config:0},textColor:{config:0},backgroundColor:{config:0},iconColor:{config:0},borderColor:{config:0},placeholderText:{config:0},placeholderTextColor:{config:0},buttonBackgroundColor:{config:0},buttonBackgroundHoverColor:{config:0},showSearchButton:{config:0},showSearchSuggestionsSetup:{config:0},suggestionsTextColor:{config:0},suggestionsTextHoverColor:{config:0},suggestionsBackgroundColor:{config:0},suggestionsBackgroundHoverColor:{config:0},suggestionsDividerColor:{config:0},searchTerm:{config:0},searchSuggestionItems:{config:0},showAdvancedSearch:{config:0}}});const a=e.registerComponent(c,{tmpl:i,sel:"commerce-search-input",apiVersion:66,enableSyntheticElementInternals:!0});o.default=a,Object.defineProperty(o,"__esModule",{value:!0})});
615})();(function() { LWR.define("commerce/productApiInternal",["exports","experience/store","@salesforce/webstore/Id","@app/isPreviewMode","commerce/config","experience/data","commerce/contextApiInternal","experience/util","commerce/effectiveAccountApi","commerce/contextApi","experience/uri","experience/utils"],function(e,t,r,o,c,n,s,u,i,a,d,l){function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(r),h=p(o);const g=c.currentRelease.apiVersion,y={asGuest:!0};const m=c.currentRelease.apiVersion;const I=c.currentRelease.apiVersion;const S=c.currentRelease.apiVersion;const A=c.currentRelease.apiVersion,w=["Id","Name","CatalogId","ParentCategoryId"].join(",");const P=c.currentRelease.apiVersion;const v=c.currentRelease.apiVersion;const b=c.currentRelease.apiVersion,x={asGuest:!0};const T=new TextEncoder,C=new TextDecoder;const $=new class{encode(e){const t=T.encode(e);let r=btoa(String.fromCharCode(...t));return r=r.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),r}decode(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");for(;t.length%4!=0;)t+="=";const r=atob(t),o=Uint8Array.from(r,e=>e.charCodeAt(0));return C.decode(o)}},U=c.currentRelease.apiVersion;function E(e){const t=JSON.stringify(e);return $.encode(t)}function R(e,t){const r={method:"GET",asGuest:e},o={...t,effectiveAccountId:i.effectiveAccount?.accountId},c=Object.entries(o).filter(([e,t])=>{return!("string"==typeof(r=t)?0===r.trim().length:Array.isArray(r)?0===r.length:null==r);var r}).map(([e,t])=>[e,"refinements"===e?E(t):t.toString()]).reduce((e,[t,r])=>({...e,[t]:r}),{}),n=new URLSearchParams(c).toString();return{endPointUrl:`/services/data/${U}/commerce/webstores/${f.default}/search/products?${n}`,fetchOptions:r}}function q(e,t){const{includePrices:r=!1,...o}=e;return r?function(e){const t=i.effectiveAccount?.accountId?`?${new URLSearchParams({effectiveAccountId:i.effectiveAccount.accountId}).toString()}`:"";return{endPointUrl:`/services/data/${U}/commerce/webstores/${f.default}/search/product-search${t}`,fetchOptions:{method:"POST",body:JSON.stringify(e)}}}(e):R(t,o)}function V(e){return async function(e={}){if(!e||!u.isPlainObject(e.searchQuery))throw new TypeError("The 'searchQuery' option is required to successfully be able to execute this request.");const{searchQuery:t}=e;if(!t.categoryId&&!t.searchTerm)throw new TypeError("Either the 'categoryId' or the 'searchTerm' property must be defined in the 'searchQuery' option to successfully be able to execute this request.");const r=await s.getInternalContext(),o=r?.canUseGuestDataForAuthUsers??!1,{endPointUrl:c,fetchOptions:i}=q(t,o);return n.fetchService(c,i).catch(e=>{throw new Error(e.statusText)})}(e.payload)}const G=c.currentRelease.apiVersion;function j(e,t){let r={...e,negotiatedPrice:e.unitPrice};if("number"==typeof t){const o=function(e,t){const r=function(e){return(e.priceAdjustment?e.priceAdjustment.priceAdjustmentTiers:[]).map(e=>({...e}))}(e),o=r;let c=e.unitPrice;const n=Math.floor(t),s=o.find(e=>(null===e.upperBound||n<=Number(e.upperBound))&&n>=Number(e.lowerBound));return void 0!==s&&(c=s.tierUnitPrice),c}(e,t);r={...e,negotiatedPrice:o,quantity:t}}return r}const M=c.currentRelease.apiVersion;const O=c.currentRelease.apiVersion;const F=new t.Store("@@Products"),L=c.currentRelease.apiVersion;const D=c.currentRelease.apiVersion,B="Draft",Q="Live";function k(e){return async function(e={}){const t={};void 0!==e.addHomeMenuItem&&(t.addHomeMenuItem=e.addHomeMenuItem.toString()),void 0!==e.includeImageUrl&&(t.includeImageUrl=e.includeImageUrl.toString()),void 0!==e.effectiveAccountId&&(t.effectiveAccountId=e.effectiveAccountId),void 0!==e.maxLevels&&(t.maxLevels=e.maxLevels.toString()),void 0!==e.maxItems&&(t.maxItems=e.maxItems.toString()),t.publishStatus=[B,Q].includes(e.publishStatus)?e.publishStatus:h.default?B:Q;const r=n.composeUri(`/services/data/${D}/commerce/webstores/${f.default}/category-menu-items`,t);return n.fetchService(r,{interceptResponse:n.connectApiResponseInterceptor})}(e.payload)}function H(e){return async function(e={productId:""}){if("string"!=typeof e.productId||0===e.productId.trim().length)throw new TypeError("The 'productId' option is required to successfully be able to execute this request.");const t=await s.getInternalContext(),r=u.isPlainObject(t)&&t.canUseGuestDataForAuthUsers,o=encodeURIComponent(e.productId),c=t.catalogSnapshotVersionId,a=c?`/services/data/${g}/commerce/webstores/${f.default}/versions/${c}/products/${o}`:`/services/data/${g}/commerce/webstores/${f.default}/products/${o}`,d=i.effectiveAccount.accountId,l={};d&&!c&&(l.effectiveAccountId=d),h.default&&(l.noCache=Date.now().toString());const p=n.composeUri(a,l),m=r?y:{};return c&&(m.headers={"X-HighScale":"true"}
615),n.fetchService(p,m).catch(e=>{throw new Error(e.statusText)})}(e.payload)}const N=new t.Store("@@ProductCategories",{discard:!0});async function z(e){F.has("pricingById")||F.set("pricingById",{});const t=e.payload?.productId+"",r=F.get("pricingById");return r[t]?j(r[t],e.payload?.quantity):async function(e={productId:""}){if("string"!=typeof e.productId||0===e.productId.trim().length)throw new TypeError("The 'productId' option is required to successfully be able to execute this request.");const t=await s.getInternalContext(),r=t?.usesUniversalPricebooks??!1,o=t?.currencyIsoCode,c=encodeURIComponent(e.productId),u=e.allProductSellingModelPrices,a=e.includeChildProductPrices,l=`/services/data/${b}/commerce/webstores/${f.default}/pricing/products/${c}`,p=i.effectiveAccount.accountId,h={};u&&(h.allProductSellingModelPrices=u),a&&(h.includeChildProductPrices=a),p&&(h.effectiveAccountId=p),o&&(h.currencyIsoCode=o);const g=d.composeUri(l,h);return n.fetchService(g,r?x:{}).catch(e=>{throw new Error(e.statusText)})}(e.payload).then(o=>(F.set("pricingById",{...r,[t]:o}),j(o,e.payload?.quantity)))}function _(e){return async function(e={categoryId:""}){if(!e||!e.categoryId)throw new TypeError("The 'categoryId' option is required to successfully be able to execute this request.");const t=await s.getInternalContext(),r=u.isPlainObject(t)&&t.canUseGuestDataForAuthUsers,o=encodeURIComponent(e.categoryId),c=t.catalogSnapshotVersionId,a=c?`/services/data/${S}/commerce/webstores/${f.default}/versions/${c}/product-categories/${o}`:`/services/data/${S}/commerce/webstores/${f.default}/product-categories/${o}`,d=i.effectiveAccount.accountId,l=d&&!c?n.composeUri(a,{effectiveAccountId:d}):a,p={asGuest:r};return c&&(p.headers={"X-HighScale":"true"}),n.fetchService(l,p).catch(e=>{throw new Error(e.statusText)})}(e.payload)}function X(e){return async function({parentProductCategoryId:e}={}){const t={fields:w};e&&(t.parentProductCategoryId=e),i.effectiveAccount.accountId&&(t.effectiveAccountId=i.effectiveAccount.accountId);const r=await s.getInternalContext(),o=u.isPlainObject(r)&&r.canUseGuestDataForAuthUsers,c=n.composeUri(`/services/data/${A}/commerce/webstores/${f.default}/product-categories/children`,t);return n.fetchService(c,{asGuest:o}).catch(e=>{throw new Error(e.statusText)})}(e.payload)}function J(e){return async function(e={categoryId:""}){if(!e||!e.categoryId)throw new TypeError("The 'categoryId' option is required to successfully be able to execute this request.");const t=await s.getInternalContext(),r=u.isPlainObject(t)&&t.canUseGuestDataForAuthUsers,o=encodeURIComponent(e.categoryId),c=t.catalogSnapshotVersionId,a=c?`/services/data/${P}/commerce/webstores/${f.default}/versions/${c}/product-categories/${o}/product-category-path`:`/services/data/${P}/commerce/webstores/${f.default}/product-category-path/product-categories/${o}`,d=i.effectiveAccount.accountId,l=d&&!c?n.composeUri(a,{effectiveAccountId:d}):a,p={asGuest:r};return c&&(p.headers={"X-HighScale":"true"}),n.fetchService(l,p).catch(e=>{throw new Error(e.statusText)})}(e.payload)}function W(e){return async function(e={}){if(!e||null===e.searchTerm)throw new TypeError("A non-null 'searchTerm' option is required to successfully be able to execute this request.");const t=e.includeSuggestedProducts??"false",r=e.includeSuggestedTerms??"true",o=e.searchTerm??"",c=i.effectiveAccount.accountId,s={searchTerm:o,includeSuggestedProducts:t,includeSuggestedTerms:r};c&&(s.effectiveAccountId=c),e.popularCategory?.trim().length&&(s.popularProductsCategoryId=e.popularCategory);const u=d.composeUri(`/services/data/${G}/commerce/webstores/${f.default}/search/suggestions`,s);return n.fetchService(u).catch(e=>{throw new Error(e.statusText)})}(e.payload)}async function K(e){return async function(e={productId:""}){if("string"!=typeof e.productId||0===e.productId.trim().length)throw new TypeError("The 'productId' option is required to successfully be able to execute this request.");const t={},r=await s.getInternalContext(),o=u.isPlainObject(r)&&r.canUseGuestDataForAuthUsers,c=encodeURIComponent(e.productId),a=`/services/data/${g}/commerce/webstores/${f.default}/products/${c}/children`,d=i.effectiveAccount.accountId;d&&(t.effectiveAccountId=d),e.pageSize&&void 0!==e.pageSize&&(t.pageSize=e.pageSize.toString()),e.mediaGroups&&e.mediaGroups.length>0&&(t.mediaGroups=e.mediaGroups.join(",")),e.includeProductSellingModels&&void 0!==e.includeProductSellingModels&&(t.includeProductSellingModels=e.includeProductSellingModels.toString()),h.default&&(t.noCache=Date.now().toString());const l=n.composeUri(a,t);return n.fetchService(l,o?y:{}).catch(e=>{throw new Error(e.statusText)})}(e.payload)}async function Y(e){return async function(e={}){if("string"!=typeof e.productId||0===e.productId.trim().length)throw new TypeError("The 'productId' option is required to successfully be able to execute this request.");const t=encodeURIComponent(e.productId),r=`/services/data/${m}/commerce/webstores/${f.default}/products/${t}/featured-products`,o={},c=i.effectiveAccount.accountId;e.relationshipTypes&&e.relationshipTypes.length>0&&(o.relationshipTypes=e.relationshipTypes.join(",")),c&&(o.effectiveAccountId=c),e.fields&&e.fields.length>0&&(o.fields=e.fields.join(",")),e.excludeFields&&void 0!==e.excludeFields&&(o.excludeFields=e.excludeFields.toString()),e.mediaGroups&&e.mediaGroups.length>0&&(o.mediaGroups=e.mediaGroups.join(",")),e.includeMediaGroups&&void 0!==e.includeMediaGroups&&(o.includeMediaGroups=e.includeMediaGroups.toString()),e.includeAttributeSetInfo&&void 0!==e.includeAttributeSetInfo&&(o.includeAttributeSetInfo=e.includeAttributeSetInfo.toString()),e.includePurchaseQuantityRules&&void 0!==e.includePurchaseQuantityRules&&(o.includePurchaseQuantityRules=e.includePurchaseQuantityRules.toString()),e.includeProductSellingModel&&void 0!==e.includeProductSellingModel&&(o.includeProductSellingModel=e.includeProductSellingModel.toString());const s=n.composeUri(r,o);return n.fetchService(s).catch(e=>{throw new Error(e.statusText)})}(e.payload)}async function Z(e){return async function(e={}){if(!(e.ids&&0!==e.ids.length||e.skus&&0!==e.skus.length))throw new TypeError('Either "ids" or "skus" is required to execute this request.');if(e.ids&&e.skus)throw new TypeError('Only one of "ids" or "skus" should be provided, not both.');const t=`/services/data/${I}/commerce/webstores/${f.default}/products`,r=i.effectiveAccount.accountId,o={};e.ids&&(o.ids=e.ids.join(",")),e.skus&&(o.skus=e.skus.join(",")),e.fields&&(o.fields=e.fields.join(",")),"boolean"==typeof e.excludePrices&&(o.excludePrices=String(e.excludePrices)),"boolean"==typeof e.excludeMedia&&(o.excludeMedia=String(e.excludeMedia)),"boolean"==typeof e.includeAttributeSetInfo&&(o.includeAttributeSetInfo=String(e.includeAttributeSetInfo)),"boolean"==typeof e.includeQuantityRule&&(o.includeQuantityRule=String(e.includeQuantityRule)),"boolean"==typeof e.includeProductSellingModels&&(o.includeProductSellingModels=String(e.includeProductSellingModels)),"boolean"==typeof e.includeGroupByAttributeVariationInfo&&(o.includeGroupByAttributeVariationInfo=String(e.includeGroupByAttributeVariationInfo)),r&&(o.effectiveAccountId=r),h.default&&(o.noCache=Date.now().toString());const c=n.composeUri(t,o);return n.fetchService(c).catch(e=>{throw new Error(e.statusText)})}(e.payload)}class ee extends t.StoreAdapter{constructor(e){super(e,N,"categories",{loader:_})}}async function te(e){return async function(e={}){const t=`/services/data/${L}/commerce/webstores/${f.default}/products/gift-wrap`,r=i.effectiveAccount.accountId,o={};e.fields&&(o.fields=e.fields.join(",")),r&&(o.effectiveAccountId=r);const c=n.composeUri(t,o);return n.fetchService(c).catch(e=>{throw new Error(`Failed to fetch gift wrap details: ${e.status}`)})}(e.payload)}class re extends t.StoreAdapter{constructor(e){super(e,F,"productC
615ollection",{loader:e=>e.payload?.isGiftWrapEnabled?te(e):Promise.reject(),discard:!0})}}class oe extends t.StoreAdapter{constructor(e){super(e,N,"hierarchies",{loader:X})}}class ce extends t.StoreAdapter{constructor(e){super(e,N,"path",{loader:J})}}class ne extends t.StoreAdapter{constructor(e){super(e,F,"search",{loader:V,discard:!0})}}class se extends t.StoreAdapter{constructor(e){super(e,F,"searchSuggestion",{loader:W,discard:!0})}}class ue extends t.StoreAdapter{constructor(e){super(e,F,"productCollection",{loader:Z,discard:!0})}}class ie extends t.StoreAdapter{constructor(e){super(e,F,"details",{loader:H,discard:!1})}}class ae extends t.StoreAdapter{constructor(e){super(e,F,"productChildren",{loader:K,discard:!0})}}class de extends t.StoreAdapter{constructor(e){super(e,F,"featuredProduct",{loader:Y,discard:!0})}}class le extends t.StoreAdapter{constructor(e){super(e,F,"pricing",{loader:z,discard:!0})}}function pe(e){return async function(e={productId:""}){if("string"!=typeof e.productId||0===e.productId.trim().length)throw new TypeError("The 'productId' option is required to successfully be able to execute this request.");const t=await a.getAppContext();if("Net"===t?.taxType)throw new TypeError("The request should not be triggered when taxType is 'Net'.");const r=encodeURIComponent(e.productId),o=`/services/data/${b}/commerce/webstores/${f.default}/taxes/products/${r}`,c=i.effectiveAccount.accountId,s=c?d.composeUri(o,{effectiveAccountId:c}):o;return n.fetchService(s,t?.guestBrowsingEnabled?x:{}).catch(e=>{throw new Error(e.statusText)})}(e.payload)}class fe extends t.StoreAdapter{constructor(e){super(e,F,"tax",{loader:pe,discard:!0})}}function he(e){return async function(e={productIds:[]}){if(!e||!e.productIds||0===e.productIds.length)throw new TypeError("A list of product IDs is required.");const t={};i.effectiveAccount?.accountId&&(t.effectiveAccountId=i.effectiveAccount.accountId);const r=await s.getInternalContext(),o=l.isPlainObject(r)&&r.currencyIsoCode;o&&(t.currencyIsoCode=o),t.productIds=e.productIds.join();const c=`/services/data/${M}/commerce/webstores/${f.default}/pricing/products`,u=n.composeUri(c,t);return n.fetchService(u).catch(e=>{throw new Error(e.statusText)})}(e.payload)}class ge extends t.StoreAdapter{constructor(e){super(e,F,"productPricingCollection",{loader:he,discard:!0})}}function ye(e){return async function(e={productIds:[],includeRelatedProducts:!1}){if(!Array.isArray(e.productIds)||0===e.productIds.length)throw new TypeError("The 'productIds' option is required to successfully be able to execute this request.");const t=await a.getAppContext(),r=t?.inventoryConfiguration;if(!r||!r.isInventoryEnabled)throw new TypeError("The inventory should be enabled to successfully be able to execute this request.");const o=r?.inventoryDefaultSource;if(!o||"object"!=typeof o)throw new TypeError("The inventory data source is required to successfully be able to execute this request.");const c=o.locationSourceId;if("string"!=typeof c||0===c.trim().length)throw new TypeError("The 'locationSourceId' is required to successfully be able to execute this request.");const s=o.webStoreInventoryLocationSourceType;if("string"!=typeof s||0===s.trim().length)throw new TypeError("The 'webStoreInventoryLocationSourceType' is required to successfully be able to execute this request.");const u="Location"===s?"locations":"locationgroups",i=e.productIds.join(),d=e.includeRelatedProducts?"true":"false",l=`/services/data/${v}/commerce/inventory/levels`,p=`webStoreId eq ${f.default}`,h=n.composeUri(l,{[u]:c,products:i,includeRelatedProducts:d,scope:p});return n.fetchService(h).catch(e=>{throw new Error(e.statusText)})}({productIds:e.payload?.productIds??[],includeRelatedProducts:e.payload?.includeRelatedProducts??!1})}class me extends t.StoreAdapter{constructor(e){super(e,F,"inventoryLevels",{loader:ye,discard:!0})}}async function Ie(e){const t=await s.getEinsteinContext();return t?.host&&t?.deploymentEnabled?async function(e={anchorValues:[],recommender:"",includePricingAndProductInformation:!0,anchorFromCurrentCart:!1}
615){const{anchorValues:t,recommender:r,includePricingAndProductInformation:o,anchorFromCurrentCart:c}=e,a={},l=(Array.isArray(t)?t:[]).filter(e=>!!e);if(l.length>0&&(a.anchorValues=l.join(",")),!r||"string"!=typeof r||0===r.trim().length)return console.warn("The 'recommender' is required to successfully execute this request."),Promise.resolve({});const p=await s.getInternalContext(),h=u.isPlainObject(p)&&p.currencyIsoCode,g=`/services/data/${O}/commerce/webstores/${f.default}/ai/recommendations`,y=i.effectiveAccount.accountId;y&&(a.effectiveAccountId=y),a.recommender=r,null!=o&&(a.includePricingAndProductInformation=String(o)),c&&(a.anchorFromCurrentCart=String(c)),h&&(a.currencyIsoCode=h);const m=d.composeUri(g,a);return n.fetchService(m).catch(e=>{throw new Error(e.statusText)})}(e.payload):Promise.resolve({})}class Se extends t.StoreAdapter{constructor(e){super(e,F,"recommendations",{loader:Ie,discard:!0})}}class Ae extends t.StoreAdapter{constructor(e){super(e,N,"categoryMenuItems",{loader:k,discard:!0})}}e.GiftWrapCollectionAdapter=re,e.ProductAdapter=ie,e.ProductCategoryAdapter=ee,e.ProductCategoryHierarchyAdapter=oe,e.ProductCategoryMenuItemsAdapter=Ae,e.ProductCategoryPathAdapter=ce,e.ProductChildrenAdapter=ae,e.ProductCollectionAdapter=ue,e.ProductFeaturedProductAdapter=de,e.ProductInventoryLevelsAdapter=me,e.ProductPricingAdapter=le,e.ProductPricingCollectionAdapter=ge,e.ProductRecommendationsAdapter=Se,e.ProductSearchAdapter=ne,e.ProductSearchSuggestionAdapter=se,e.ProductTaxAdapter=fe,e.getProduct=function(e={}){return t.getStoreAdapterValue(ie,e)},e.getProductCategory=function(e){return t.getStoreAdapterValue(ee,e)},e.getProductCategoryHierarchy=function(e={}){return t.getStoreAdapterValue(oe,e)},e.getProductCategoryMenuItems=function(e={}){return t.getStoreAdapterValue(Ae,e)},e.getProductCategoryPath=function(e){return t.getStoreAdapterValue(ce,e)},e.getProductChildren=function(e={}){return t.getStoreAdapterValue(ae,e)},e.getProductCollection=function(e={}){return t.getStoreAdapterValue(ue,e)},e.getProductFeaturedProducts=function(e={}){return t.getStoreAdapterValue(de,e)},e.getProductInventoryCollection=function(e={}){return t.getStoreAdapterValue(me,e)},e.getProductPricing=function(e={}){return t.getStoreAdapterValue(le,e)},e.getProductPricingCollection=function(e={}){return t.getStoreAdapterValue(ge,e)},e.getProductRecommendations=function(e={}){return t.getStoreAdapterValue(Se,e)},e.getProductTax=function(e={}){return t.getStoreAdapterValue(fe,e)},e.productCategoriesStore=N,e.searchProducts=function(e={}){return t.getStoreAdapterValue(ne,e)},e.transformToProductPricingResult=j,e.transformToProductTaxResult=e=>{if(!e)return{};const{taxLocaleType:t,taxesInfo:r}=e;return Object.keys(r).reduce((e,o)=>(e[o]={productId:o,taxLocaleType:t,taxPolicies:r[o].taxesInfoList.map(e=>({...e,taxRatePercentage:e.taxRatePercentage}))},e),{})},Object.defineProperty(e,"__esModule",{value:!0})});
616})();(function() { LWR.define("commerce/productApi",["exports","commerce/productApiInternal"],function(e,t){Object.defineProperty(e,"ProductAdapter",{enumerable:!0,get:function(){return t.ProductAdapter}}),Object.defineProperty(e,"ProductCategoryAdapter",{enumerable:!0,get:function(){return t.ProductCategoryAdapter}}),Object.defineProperty(e,"ProductCategoryHierarchyAdapter",{enumerable:!0,get:function(){return t.ProductCategoryHierarchyAdapter}}),Object.defineProperty(e,"ProductCategoryMenuItemsAdapter",{enumerable:!0,get:function(){return t.ProductCategoryMenuItemsAdapter}}),Object.defineProperty(e,"ProductCategoryPathAdapter",{enumerable:!0,get:function(){return t.ProductCategoryPathAdapter}}),Object.defineProperty(e,"ProductChildrenAdapter",{enumerable:!0,get:function(){return t.ProductChildrenAdapter}}),Object.defineProperty(e,"ProductCollectionAdapter",{enumerable:!0,get:function(){return t.ProductCollectionAdapter}}),Object.defineProperty(e,"ProductFeaturedProductAdapter",{enumerable:!0,get:function(){return t.ProductFeaturedProductAdapter}}),Object.defineProperty(e,"ProductInventoryLevelsAdapter",{enumerable:!0,get:function(){return t.ProductInventoryLevelsAdapter}}),Object.defineProperty(e,"ProductPricingAdapter",{enumerable:!0,get:function(){return t.ProductPricingAdapter}}),Object.defineProperty(e,"ProductPricingCollectionAdapter",{enumerable:!0,get:function(){return t.ProductPricingCollectionAdapter}}),Object.defineProperty(e,"ProductRecommendationsAdapter",{enumerable:!0,get:function(){return t.ProductRecommendationsAdapter}}),Object.defineProperty(e,"ProductSearchAdapter",{enumerable:!0,get:function(){return t.ProductSearchAdapter}}),Object.defineProperty(e,"ProductSearchSuggestionAdapter",{enumerable:!0,get:function(){return t.ProductSearchSuggestionAdapter}}),Object.defineProperty(e,"ProductTaxAdapter",{enumerable:!0,get:function(){return t.ProductTaxAdapter}}),Object.defineProperty(e,"getProduct",{enumerable:!0,get:function(){return t.getProduct}}),Object.defineProperty(e,"getProductCollection",{enumerable:!0,get:function(){return t.getProductCollection}}),Object.defineProperty(e,"getProductInventoryCollection",{enumerable:!0,get:function(){return t.getProductInventoryCollection}}),Object.defineProperty(e,"getProductPricingCollection",{enumerable:!0,get:function(){return t.getProductPricingCollection}}),Object.defineProperty(e,"getProductRecommendations",{enumerable:!0,get:function(){return t.getProductRecommendations}}),Object.defineProperty(e,"searchProducts",{enumerable:!0,get:function(){return t.searchProducts}}
616),Object.defineProperty(e,"__esModule",{value:!0})});
617})();(function() { LWR.define("experience_einstein/util",["exports"],function(e){e.uuidValidate=function(e){return"string"==typeof e&&/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test(e)},e.uuidv4=function(){return[1e7,1e3,4e3,8e3,1e11].join("-").replace(/[018]/g,e=>(Number(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>Number(e)/4).toString(16))},Object.defineProperty(e,"__esModule",{value:!0})});
618})();(function() { LWR.define("force/ePrivacyConsentCookie",["exports"],function(e){const n="CookieConsent",t="CookieConsentPolicy",o="|",r={NONE:"None",STRICT:"Strict",LAX:"Lax"};function i(e,n,t,o,i,c,u,s){if(s){let e=!1;const n=Object.keys(r);for(let t=0;t<n.length;t++)if(r[n[t]]===s){e=!0;break}if(!e)throw new Error(`Setting cookie with provided SameSite value failed : ${s}`)}u=u||encodeURIComponent,document.cookie=`${e}=${u(n)}${t?`; expires=${t.toGMTString()}`:""}${o?`; path=${o}`:"; path=/"}${i?`; domain=${i}`:""}${!0===c?"; secure":""}${s?`; SameSite=${s}`:""}`}function c(e,n=decodeURIComponent){const t=document.cookie,o=`${e}=`;let r=t.indexOf(`; ${o}`);if(-1===r){if(r=t.indexOf(o),0!==r)return null}else r+=2;let i=document.cookie.indexOf(";",r);return-1===i&&(i=t.length),n(t.substring(r+o.length,i))}function u(e){let n="1";return n+=e.Preferences?"1":"0",n+=e.Statistics?"1":"0",n+=e.Marketing?"1":"0",encodeURIComponent(n)}function s(e){return e.split(o)}function l(e){return e.toISOString()}function f(e){switch(e.toLowerCase()){case"essential":return"1";case"preferences":return"2";case"statistics":return"3";case"marketing":return"4";default:return"-1"}}e.CONSENT_COOKIE_NAME=n,e.CONSENT_ENABLEMENT_COOKIE_NAME=t,e.deleteCookie=function(e,n,t){if(c(e)){i(e,"",new Date((new Date).getTime()+-1e4),n,t)}},e.isCategoryAllowedForCurrentConsent=function(e){if(1===Number(f(e)))return!0;const o=c(t);if(null==o)return!0;const r=c(n),i=o.split(":"),u=Boolean(Number(i[0])),l=Boolean(Number(i[1]));return!u||!!l&&(null===r?1===Number(f(e)):function(e,n){const t=s(e);if(null==t[3])return!1;const o=t[3],r=Number(f(n)),i=Number(o.charAt(r-1));return 1===i}(r,e))},e.setCookie=i,e.setCookieConsent=function(e){const t=new Date,r=new Date((new Date).getTime()+31536e6),f=c(n);if(null==f){const c=u(e),s=l(t);return void i(n,"232.1|230.1.0|"+s+o+c+o+false,r,"/",null,!1,encodeURI,"")}const a=s(f);a[3]=u(e),a[2]=l(t);const d=function(e){return e.join(o)}(a);i(n,d,r,"/",null,!1,encodeURI,"")},Object.defineProperty(e,"__esModule",{value:!0})});
619})();(function() { LWR.define("experience_einstein/cqcookie",["exports","experience_einstein/util","force/ePrivacyConsentCookie"],function(e,o,n){const i="cqcid",t="statistics";function c(e,o=decodeURIComponent){if("undefined"==typeof window)return;const n=document.cookie,i=`${e}=`;let t=n.indexOf(`; ${i}`);if(-1===t){if(t=n.indexOf(i),0!==t)return}else t+=2;let c=document.cookie.indexOf(";",t);return-1===c&&(c=n.length),o(n.substring(t+i.length,c))}function r(){const e="undefined"!=typeof window&&n.isCategoryAllowedForCurrentConsent(t);return console.debug(`Consent for Commerce Einstein cookie "${i}" is ${e}. This cookie is categorized as "${t}".`),e}function s(){c(i)&&(document.cookie=`${i}=1;expires=1 Jan 1970 00:00:00 GMT;Path=/`,console.debug("Deleted Commerce Einstein cookie"))}function d(){const e=c(i);return o.uuidValidate(e)?e:void 0}function u(){if("undefined"==typeof window)return;if(!r())return void console.debug(`Cannot create Commerce Einstein cookie "${i}": No consent`);if(d())return void console.debug(`Skipping creating Commerce Einstein "${i}": Cookie already exists`);const e=o.uuidv4();return document.cookie=`${i}=${e};Max-Age=31536000;SameSite=LAX;Path=/`,console.debug(`Created new Commerce Einstein Cookie: ${i}=${e}`),e}e.BASE_PATH="/",e.CONSENT_COOKIE_NAME="CookieConsent",e.CQ_COOKIE_CLASSIFICATION=t,e.CQ_COOKIE_NAME=i,e.createCqCookie=u,e.deleteCqCookie=s,e.getCookie=c,e.getCqCookieIdIfConsent=function(){if(!r())return console.debug("No consent for Commerce Einstein cookie."),void s();const e=d();return e?(console.debug("Using existing Commerce Einstein cookie"),e):(console.debug("Creating new Commerce Einstein cookie"),u())},e.getCqCookieIdIfExistsAndValid=d,e.hasConsentToTrack=function(){return r()}
619,e.hasCqCookieConsent=r,Object.defineProperty(e,"__esModule",{value:!0})});
620})();(function() { LWR.define("commerce/activitiesApi",["exports","commerce/activitiesApiInternal","experience_einstein/cqcookie"],function(e,t,r){Object.defineProperty(e,"postActivity",{enumerable:!0,get:function(){return t.postActivity}}),Object.defineProperty(e,"trackAddProductToCart",{enumerable:!0,get:function(){return t.trackAddProductToCart}}),Object.defineProperty(e,"trackClickCategory",{enumerable:!0,get:function(){return t.trackClickCategory}}),Object.defineProperty(e,"trackClickReco",{enumerable:!0,get:function(){return t.trackClickReco}}),Object.defineProperty(e,"trackClickSearch",{enumerable:!0,get:function(){return t.trackClickSearch}}),Object.defineProperty(e,"trackViewProduct",{enumerable:!0,get:function(){return t.trackViewProduct}}),Object.defineProperty(e,"trackViewReco",{enumerable:!0,get:function(){return t.trackViewReco}}),Object.defineProperty(e,"trackViewSearchSuggestion",{enumerable:!0,get:function(){return t.trackViewSearchSuggestion}}),Object.defineProperty(e,"CQ_COOKIE_NAME",{enumerable:!0,get:function(){return r.CQ_COOKIE_NAME}}),Object.defineProperty(e,"getCqCookieIdIfConsent",{enumerable:!0,get:function(){return r.getCqCookieIdIfConsent}}),Object.defineProperty(e,"hasConsentToTrack",{enumerable:!0,get:function(){return r.hasConsentToTrack}}),Object.defineProperty(e,"__esModule",{value:!0})});
621})();(function() { LWR.define("commerce/dataEventApi",["exports","experience/utilsInternal"],function(t,e){class n{constructor(t){this.detail=t}}class a extends CustomEvent{constructor(t){super("experience_interaction",{bubbles:!0,cancelable:!0,composed:!0,detail:t.detail})}}const c="address-update",r="checkout_d360_session_storage",o={checkoutBeginUUID:void 0,checkoutLayoutType:void 0};let i;function u(){return!i&&(i=new Map),i}function s(t,e){"undefined"!=typeof window?globalThis.sessionStorage?.setItem(t,e):u().set(t,e)}function d(){const t=(e=r,"undefined"!=typeof window?globalThis.sessionStorage?.getItem(e):u().get(e)??null);var e;let n;try{n=t?JSON.parse(t):o}catch(t){n=o}return n}function l(){const t=d();if(t.checkoutBeginUUID)return t.checkoutBeginUUID;const n=e.uuidv4(),a={...t,checkoutBeginUUID:n};return s(r,JSON.stringify(a)),n}function m(){return d().checkoutLayoutType??void 0}const p="Product";const h="sfdcCorrelationId";const g="Product";const y=new Map;t.creatOrderAcceptedDataEvent=function(t,e,a,c){const r=c.productAmount,o=c.adjustedProductAmount,i=c.grandTotal??0,u=c.chargeAmount??0,s=c.taxAmount??0;return new n({name:"order-accepted",order:{id:t,attributes:{currency:a,cartId:e,totalProductAmount:r,totalDeliveryAmount:u,totalTaxAmount:s,netOrderAmount:i-u-s,adjustedTotalProductAmount:o}}})},t.createBillingAddressUpdateDataEvent=function(t,e){const a=l();return new n([{name:"checkout-billing-address",cart:{id:t,attributes:{checkoutId:a,uiLayoutType:m()}}},{name:c,addressLine1:e.street,city:e.city,country:e.country,postalCode:e.postalCode,stateProvince:e.region,isUsedForBilling:"true",isUsedForShipping:"false"}])},t.createCartItemAddDataEvent=function(t,e,a,c,r){var o;return null!==(o=t)&&"object"==typeof o&&"cartItemId"in o&&(t={id:t.cartItemId??"",catalogObject:{id:t.productId??"",type:p},attributes:{quantity:Number(t.quantity),price:Number(t.listPrice),productSellingModelId:t.productSellingModelId,subscriptionTerm:t.subscriptionTerm,name:t.name??"",imageUrl:c??""}}),new n({name:"cart-add",cart:{id:e,lineItems:t,attributes:{currency:a,correlationId:r??"",searchResultId:r??""}}})},t.createCartItemRemoveDataEvent=function(t,e){return new n({name:"cart-remove",cart:{id:e,lineItems:{id:t}}})},t.createCartItemUpdateDataEvent=function(t,e,a,c){const r=Number(t.quantity),o=Number(t.unitAdjustedPriceWithItemAdj)*r,i={id:t.cartItemId??"",catalogObject:{id:t.productId??"",type:p},attributes:{quantity:r,price:Number(t.unitAdjustedPrice),name:t.name??"",imageUrl:c??"",totalProductAmount:Number(t.totalPrice),adjustedTotalProductAmount:o}};return new n({name:"cart-update",cart:{id:e,lineItems:i,attributes:{currency:a}}})},t.createCartViewDataEvent=function(t){return new n({name:"cart-view",cart:{id:t}})},t.createCheckoutApplyCouponDataEvent=function(t,e){const a=l();return new n({name:"checkout-apply-coupon",cart:{id:t,attributes:{checkoutId:a,uiLayoutType:m(),coupon:e}}})},t.createCheckoutBeginDataEvent=function(t){const e=l();return new n({name:"checkout-begin",cart:{id:t,attributes:{checkoutId:e}}})},t.createCheckoutPaymentDataEvent=function(t,e={}){const a=l();return new n({name:"checkout-payment",cart:{id:t,attributes:{checkoutId:a,uiLayoutType:m(),...e}}})},t.createCheckoutPaymentRenderDataEvent=function(t,e={}){const a=l();return new n({name:"checkout-payment-render",cart:{id:t,attributes:{checkoutId:a,uiLayoutType:m(),...e}}})},t.createCheckoutShippingOptionsDataEvent=function(t){const e=l();return new n({name:"checkout-shipping-options",cart:{id:t,attributes:{checkoutId:e,uiLayoutType:m()}}})},t.createCheckoutSubmitDataEvent=function(t){const e=l();return new n({name:"checkout-submit",cart:{id:t,attributes:{checkoutId:e,uiLayoutType:m()}}})},t.createClickOnProductDataEvent=function(t){return new n({name:"catalog-object-click",catalogObjects:{id:t,type:g}})},t.createContactInfoUpdateDataEvent=function(t,e,a){const c=l();return new n([{name:"checkout-contact-info",cart:{id:a,attributes:{checkoutId:c,uiLayoutType:m()}}},{name:"email-update",email:t},{name:"phone-update",phoneNumber:e}])},t.createInteractionDataEvent=function(t){return new n({name:t})},t.createProductRecommendationDataEvent=function(t){return new n({name:"catalog-object-click",catalogObjects:t})},t.createSearchDataEvent=function(t,e,a){return new n({name:t?"search":"category-search",searchQuery:t,categoryId:e,attributes:a})},t.createSearchProductDataEvent=function(t){return new n({name:"catalog-object-click",catalogObjects:{id:t,type:"Product"}})},t.createSearchSuggestionDataEvent=function(t,e,a,c){return new n({name:"search-suggestion",searchQuery:t||"",attributes:{searchAction:"CLICK",searchSuggestionsType:e,searchSuggestionTitle:a,searchSuggestionResultPosition:c}})},t.createSetConsentDataEvent=function(t){return new n({name:"set-consent",value:t})},t.createShippingAddressUpdateDataEvent=function(t,e,a){const r=l();return new n([{name:"checkout-shipping-address",cart:{id:t,attributes:{checkoutId:r,uiLayoutType:m()}}},{name:c,addressLine1:e.street,city:e.city,country:e.country,postalCode:e.postalCode,stateProvince:e.region,isUsedForBilling:a.toString(),isUsedForShipping:"true"}])},t.createUserRegistrationInfoAddDataEvent=function(t,e,a,c){return new n([{name:"identity",firstName:a,lastName:e},{name:"email-update",email:t},{name:"phone-update",phoneNumber:c},{name:"user-register"}])},t.createViewProductDataEvent=function(t){return new n({name:"catalog-object-view-start",catalogObjects:{id:t,type:g}})},t.createWishlistItemAddDataEvent=function(t,e){return new n({name:"wish-list-add",wishList:{lineItems:t,attributes:{currency:e}}})},t.createWishlistItemRemoveDataEvent=function(t,e){return new n({name:"wish-list-remove",wishList:{lineItems:t,attributes:{currency:e}}})},t.dispatchDataEvent=function(t,e){if("undefined"==typeof window)return;let n;if(t&&(n=Reflect.get(t,"sfdcId"))){const c=`${n}:${JSON.stringify(e.detail)}`;!y.has(c)&&y.set(c,function(t,e){let n=null;return function(...a){null===n&&(t.apply(this,a),n=setTimeout(()=>{n=null,e()}))}}(()=>{t?.dispatchEvent?.(new a(e))},()=>{y.delete(c)})),y.get(c)()}else t?.dispatchEvent?.(new a(e))},t.getAndRemoveSearchCorrelationId=function(){const t=globalThis.localStorage?.getItem(h)??"";return globalThis.localStorage?.removeItem(h),t},t.setCheckoutLayoutType=function(t){s(r,JSON.stringify({...d(),checkoutLayoutType:t}))},t.updateSearchCorrelationId=function(t){globalThis.localStorage?.setItem(h,t)}
621,Object.defineProperty(t,"__esModule",{value:!0})});
622})();(function() { LWR.define("commerce_builder/searchInput",["exports","lwc","commerce/searchInput","lightning/navigation","experience/coercion","commerce/productApi","commerce/activitiesApi","commerce/dataEventApi"],function(e,o,r,t,s,n,i,c){function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=g(r);function h(e,o,r,t){const{b:s,c:n}=e,{_m0:i}=t;return[n("commerce-search-input",a.default,{props:{searchTerm:o.normalizedSearchTerm,showAdvancedSearch:o._showAdvancedSearch,borderRadius:o._borderRadius,textColor:o._textColor,backgroundColor:o._backgroundColor,iconColor:o._iconColor,borderColor:o._borderColor,placeholderText:o._placeholderText,placeholderTextColor:o._placeholderTextColor,buttonBackgroundColor:o._buttonBackgroundColor,buttonBackgroundHoverColor:o._buttonBackgroundHoverColor,showSearchButton:o._showSearchButton,showSearchSuggestionsSetup:o._showSearchSuggestionsSetup,suggestionsTextColor:o._suggestionsTextColor,suggestionsTextHoverColor:o._suggestionsTextHoverColor,suggestionsBackgroundColor:o._suggestionsBackgroundColor,suggestionsBackgroundHoverColor:o._suggestionsBackgroundHoverColor,suggestionsDividerColor:o._suggestionsDividerColor,searchSuggestionItems:o._searchSuggestionItems},key:0,on:i||(t._m0={searchtermchange:s(o.handleTermChange),searchrequest:s(o.handleSearch),searchoptionselection:s(o.handleOptionSelection),blur:s(o.handleTermChange)})})]}var u=o.registerTemplate(h);h.renderMode="light",h.stylesheets=[],h.stylesheetToken="lwc-32hoki6c7ra",h.legacyStylesheetToken="commerce_builder-searchInput_searchInput",o.freezeTemplate(h);class d extends o.LightningElement{constructor(...e){super(...e),this._searchSuggestionTerm=null,this._searchSuggestionItems=[],this._showAdvancedSearch=!1,this._term="",this.hasAdapterLoaded=!1,this.borderRadius=void 0,this.textColor=void 0,this.backgroundColor=void 0,this.iconColor=void 0,this.borderColor=void 0,this.placeholderText=void 0,this.placeholderTextColor=void 0,this.buttonBackgroundColor=void 0,this.buttonBackgroundHoverColor=void 0,this.showSearchButton=void 0,this.showSearchSuggestionsSetup=void 0,this.suggestionsTextColor=void 0,this.suggestionsTextHoverColor=void 0,this.suggestionsBackgroundColor=void 0,this.suggestionsBackgroundHoverColor=void 0,this.suggestionsDividerColor=void 0,this.navContext=void 0}get _borderRadius(){return s.coerceNumberProperty(this.borderRadius)}get _textColor(){return s.coerceStringProperty(this.textColor,"")}get _backgroundColor(){return s.coerceStringProperty(this.backgroundColor,"")}get _iconColor(){return s.coerceStringProperty(this.iconColor,"")}get _borderColor(){return s.coerceStringProperty(this.borderColor,"")}get _placeholderText(){return s.coerceStringProperty(this.placeholderText,"")}get _placeholderTextColor(){return s.coerceStringProperty(this.placeholderTextColor,"")}get _buttonBackgroundColor(){return s.coerceStringProperty(this.buttonBackgroundColor,"")}get _buttonBackgroundHoverColor(){return s.coerceStringProperty(this.buttonBackgroundHoverColor,"")}get _showSearchButton(){return s.coerceBooleanProperty(this.showSearchButton)}get _showSearchSuggestionsSetup(){return s.coerceBooleanProperty(this.showSearchSuggestionsSetup)}get _suggestionsTextColor(){return s.coerceStringProperty(this.suggestionsTextColor,"")}get _suggestionsTextHoverColor(){return s.coerceStringProperty(this.suggestionsTextHoverColor,"")}get _suggestionsBackgroundColor(){return s.coerceStringProperty(this.suggestionsBackgroundColor,"")}get _suggestionsBackgroundHoverColor(){return s.coerceStringProperty(this.suggestionsBackgroundHoverColor,"")}get _suggestionsDividerColor(){return s.coerceStringProperty(this.suggestionsDividerColor,"")}get searchTerm(){return this._term}set searchTerm(e){this._term=e}get normalizedSearchTerm(){return s.coerceStringProperty(this.searchTerm,"")}routeSubHandler(e){this._term=e.state?.term??null}wiredSearchSuggestion({data:e,loaded:o}){const r=o?e:void 0;if(this._searchSuggestionItems=(r?.recentSearchSuggestions||[]).map(function(e){return{text:e.value,type:"option-inline",category:"query-suggestion"}}),this._searchSuggestionItems.length>0){const e=this._searchSuggestionItems.filter(e=>void 0!==e.text).map(e=>({value:e.text}));i.trackViewSearchSuggestion(this._searchSuggestionTerm??"",e),this._showAdvancedSearch=!0}}get searchSuggestionsWiredTerm(){return this._showSearchSuggestionsSetup&&this.hasAdapterLoa
622ded?this._searchSuggestionTerm:null}resetCombobox(){this.hasAdapterLoaded=!1,this._searchSuggestionTerm=null,this._searchSuggestionItems=[]}handleTermChange(e){e.stopPropagation();const o=e.detail?.searchTerm;o&&o.trim()!==this._term.trim()&&this._showSearchSuggestionsSetup?(this._term=o,this._searchSuggestionTerm=o.trim(),this.hasAdapterLoaded=!0):""===o?(this._searchSuggestionTerm=o,this.hasAdapterLoaded=!0,this._term=o):null==o&&this.resetCombobox()}handleSearch(e){e.stopPropagation();const o=(e.detail?.searchTerm??"").trim();o&&(this._term=o),this.runSearch()}handleOptionSelection(e){e.stopPropagation();const{detail:o}=e,r=this._term;this._term=(o.value||"").trim(),c.dispatchDataEvent(this,c.createSearchSuggestionDataEvent(r,"term",this._term,o.position)),this.runSearch()}runSearch(){this._showAdvancedSearch=!1,this.resetCombobox(),this._term&&t.navigate(this.navContext,{type:"standard__search",state:{term:this._term}})}}d.renderMode="light",o.registerDecorators(d,{publicProps:{borderRadius:{config:0},textColor:{config:0},backgroundColor:{config:0},iconColor:{config:0},borderColor:{config:0},placeholderText:{config:0},placeholderTextColor:{config:0},buttonBackgroundColor:{config:0},buttonBackgroundHoverColor:{config:0},showSearchButton:{config:0},showSearchSuggestionsSetup:{config:0},suggestionsTextColor:{config:0},suggestionsTextHoverColor:{config:0},suggestionsBackgroundColor:{config:0},suggestionsBackgroundHoverColor:{config:0},suggestionsDividerColor:{config:0},searchTerm:{config:3}},wire:{navContext:{adapter:t.NavigationContext,config:function(e){return{}}},routeSubHandler:{adapter:t.CurrentPageReference,method:1,config:function(e){return{}}},wiredSearchSuggestion:{adapter:n.ProductSearchSuggestionAdapter,dynamic:["searchTerm"],method:1,config:function(e){return{searchTerm:e.searchSuggestionsWiredTerm}}}},fields:["_searchSuggestionTerm","_searchSuggestionItems","_showAdvancedSearch","_term","hasAdapterLoaded"]});const l=o.registerComponent(d,{tmpl:u,sel:"commerce_builder-search-input",apiVersion:66,enableSyntheticElementInternals:!0});e.default=l,Object.defineProperty(e,"__esModule",{value:!0})});
623})();(function() { LWR.define("commerce_data_provider/utils",["exports","experience/data"],function(e,t){const r=new WeakMap,n=Symbol();function s(e){if(e instanceof Error){const{name:t,message:r}=e;return{type:t,message:r,arguments:{...e}}}try{return"string"==typeof e?e:e&&"object"==typeof e&&Object.keys(e).length?JSON.stringify(e):String(e)}catch{return null}}function o(e,r){if(e instanceof t.FetchError){const{url:t,status:n,statusText:s}=e;return e.errors.length?e.errors.map(e=>({provider:r,reason:e,url:t,status:n,statusText:s})):[{provider:r,reason:null,url:t,status:n,statusText:s}]}return[{provider:r,reason:s(e)}]}e.asNonEmptyString=function(e){if("string"!=typeof e)return;const t=e.trim();return t.length>0?t:void 0},e.isDataAvailable=function(e,t){const n=r.get(e)??{};function s(e){if(Reflect.has(n,e)){const t=Reflect.ownKeys(n[e]);return t.length>0&&t.some(t=>n[e][t])}return!1}if("string"==typeof t)return s(t);const o=Reflect.ownKeys(n);return o.length>0&&o.every(e=>s(e))},e.remapData=function(e,t){return Object.entries(e).reduce((e,[r,n])=>(Reflect.set(e,r,t[n]),e),{})},e.throwErrorReasons=function(e,t,r=[]){const n=e.reduce((e,n,s)=>{if("rejected"===n.status&&!r.includes(s)){const{reason:r}=n;e.push(...o(r,t))}return e},[]);if(n.length)throw new Error(JSON.stringify(n));return e},e.toErrorReasons=o,e.transformToBreadcrumbs=function(e){return Array.isArray(e)?e.map(e=>({label:e.name,pageReference:{type:"standard__recordPage",attributes:{objectApiName:"ProductCategory",actionName:"view",...e.urlName?{urlPath:e.urlName}:{recordId:e.id}},state:{categoryPath:"ProductCategory"}}})):[]},e.truncateWithEllipsis=function(e,t){return null==e||null==t||t<4||e.length<=t?e??"":e.slice(0,t-3)+"..."},e.updateDataAvailable=function(e,t,s,o){!r.has(e)&&r.set(e,{});const a="string"==typeof s&&s.trim().length>0?s:n,i="string"==typeof o&&o.trim().length>0?o:n,u=r.get(e);Reflect.has(u,a)||(u[a]={}),u[a][i]=t}
623,Object.defineProperty(e,"__esModule",{value:!0})});
624})();(function() { LWR.define("experience/config",["exports"],function(e){e.currentRelease={currentRelease:"262",apiVersion:"v67.0"},Object.defineProperty(e,"__esModule",{value:!0})});
625})();(function() { LWR.define("experience/navigationMenuApi",["exports","experience/store","experience/config","@salesforce/community/Id","@app/isPreviewMode","experience/data","experience/uri"],function(e,n,t,i,o,a,c){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=r(i),s=r(o);const d=t.currentRelease.apiVersion,p="Draft",v="Live";const m=new n.Store("@@NavigationMenu");function l(e){return async function(e={}){const n={};void 0!==e.addHomeMenuItem&&(n.addHomeMenuItem=e.addHomeMenuItem.toString()),void 0!==e.includeImageUrl&&(n.includeImageUrl=e.includeImageUrl.toString()),void 0!==e.menuItemTypesToSkip&&(n.menuItemTypesToSkip=e.menuItemTypesToSkip.toString()),void 0!==e.navigationLinkSetDeveloperName&&(n.navigationLinkSetDeveloperName=e.navigationLinkSetDeveloperName),void 0!==e.effectiveAccountId&&(n.effectiveAccountId=e.effectiveAccountId),"string"==typeof e.navigationLinkSetId&&(n.navigationLinkSetId=e.navigationLinkSetId),n.publishStatus=[p,v].includes(e.publishStatus)?e.publishStatus:s.default?p:v;const t=encodeURIComponent(u.default),i=c.composeUri(`/services/data/${d}/connect/communities/${t}/navigation-menu/navigation-menu-items`,n);return a.fetchService(i,{interceptResponse:a.connectApiResponseInterceptor})}(e.payload)}class f extends n.StoreAdapter{constructor(e){super(e,m,"content",{loader:l})}}e.getNavigationMenu=f,Object.defineProperty(e,"__esModule",{value:!0})});
626})();(function() { LWR.define("commerce_data_provider/navigationMenuDataProvider",["exports","lwc","experience/dataProvider","commerce_data_provider/utils","experience/navigationMenuApi","experience/store","commerce/effectiveAccountApi","commerce/productApi","commerce/productApiInternal"],function(e,t,a,i,s,n,r,o,c){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(a);const l=["NavigationalTopic","GlobalAction","Event"],m=2500;class h extends d.default{static async preloadData(e){if(Array.isArray(e?.attributes)&&e.attributes.length>0){const{attributes:t}=e;await Promise.allSettled([...t.map(e=>e?.hasStorefrontCategoriesOnly??!1?c.getProductCategoryMenuItems({addHomeMenuItem:Boolean(e?.addHomeMenuItem),includeImageUrl:Boolean(e?.includeImageUrl),effectiveAccountId:void 0,maxLevels:5,maxItems:m}):n.getStoreAdapterValue(s.getNavigationMenu,{navigationLinkSetDeveloperName:e?.navigationLinkSetDeveloperName,menuItemTypesToSkip:l,addHomeMenuItem:Boolean(e?.addHomeMenuItem),includeImageUrl:Boolean(e?.includeImageUrl),effectiveAccountId:void 0}))]).then(e=>i.throwErrorReasons(e,"navigationMenuDataProvider"))}}constructor(){super(),this.hasStorefrontCategoriesOnly=!1,this.staticMenuItemsData=void 0,this.staticMenuItemsForGuestsData=void 0,this.sfdcExpressionKey=void 0,this.navigationLinkSetDeveloperName=void 0,this.addHomeMenuItem=!1,this.includeImageUrl=!1,this.maxDepthLevels=void 0,this.maxMenuItems=void 0,this.unsubscribable=void 0,this.currentRequestProps=void 0,this._sfdcData=void 0}getData(){return this._sfdcData}hasData(e){return i.isDataAvailable(this,e)}connectedCallback(){this.hasStorefrontCategoriesOnly?this.currentRequestProps=this.subscribeCategoriesData():this.currentRequestProps=this.subscribeData()}renderedCallback(){this.hasStorefrontCategoriesOnly?this.currentRequestProps=this.subscribeCategoriesData():this.currentRequestProps=this.subscribeData()}disconnectedCallback(){this.unsubscribable?.unsubscribe(),this.unsubscribable=void 0}subscribeData(){const e={navigationLinkSetDeveloperName:this.navigationLinkSetDeveloperName,addHomeMenuItem:this.addHomeMenuItem,includeImageUrl:this.includeImageUrl,effectiveAccountId:r.effectiveAccount.accountId??void 0},t=JSON.stringify(e);return t===this.currentRequestProps||(this.unsubscribable?.unsubscribe(),this.unsubscribable=n.wire(s.getNavigationMenu,{...e,menuItemTypesToSkip:l})(({data:e,error:t,loaded:a})=>{if(i.updateDataAvailable(this,a&&!t,"MenuItems"),a&&e){const t=e?.menuItems;this._sfdcData={MenuItems:t??[]}}else this._sfdcData={MenuItems:[]}})),t}subscribeCategoriesData(){const e={addHomeMenuItem:this.addHomeMenuItem,includeImageUrl:this.includeImageUrl,effectiveAccountId:r.effectiveAccount.accountId??void 0,maxLevels:this.maxDepthLevels??5,maxItems:this.maxMenuItems??m},t=JSON.stringify(e);return t===this.currentRequestProps||(this.unsubscribable?.unsubscribe(),this.unsubscribable=n.wire(o.ProductCategoryMenuItemsAdapter,{...e})(({data:e,error:t,loaded:a})=>{i.updateDataAvailable(this,a&&!t,"MenuItems"),this._sfdcData=a&&e?{MenuItems:e?.menuItems??[]}:{MenuItems:[]}})),t}}
626h.renderMode="light",t.registerDecorators(h,{publicProps:{hasStorefrontCategoriesOnly:{config:0},staticMenuItemsData:{config:0},staticMenuItemsForGuestsData:{config:0},sfdcExpressionKey:{config:0},navigationLinkSetDeveloperName:{config:0},addHomeMenuItem:{config:0},includeImageUrl:{config:0},maxDepthLevels:{config:0},maxMenuItems:{config:0}},publicMethods:["getData","hasData"],fields:["unsubscribable","currentRequestProps"]});const v=t.registerComponent(h,{tmpl:void 0,sel:"commerce_data_provider-navigation-menu-data-provider",apiVersion:66,enableSyntheticElementInternals:!0});e.MAX_ITEMS=m,e.MAX_LEVELS=5,e.MENU_ITEMS_TO_SKIP=l,e.default=v,Object.defineProperty(e,"__esModule",{value:!0})});
627})();(function() { LWR.define("dxp_data_provider/dataProxy",["exports","lwc","experience/dataProvider"],function(t,e,a){class r extends e.LightningElement{constructor(...t){super(...t),this.routerContainerView=void 0,this.routeParams=void 0,this.attributes={},this._sfdcData=void 0,this.generated=void 0,this.html=void 0}get generatedTemplate(){return this.generated}set generatedTemplate(t){this.generated=t,this.html=t.html,this.attributes=this.evaluateAttributes(t.attributes),this.updateComponents()}get sfdcData(){return this._sfdcData}set sfdcData(t){this._sfdcData=t,this.updateComponents()}hasData(t){return function(t,e){return t?.[a.SFDC_PROVIDER_ATTRIBUTE]?.hasData?.(e)??!0}(this.sfdcData,t)}getData(){return t=this.sfdcData,t?.[a.SFDC_DATA_ATTRIBUTE]??t;var t}updateComponents(){this.generatedTemplate&&(this.attributes=this.evaluateAttributes(this.generatedTemplate.attributes))}connectedCallback(){this.updateComponents()}evaluateAttributes(t){return"function"==typeof t?t(this):{}}render(){return this.html}}r.renderMode="light",e.registerDecorators(r,{publicProps:{routerContainerView:{config:0},routeParams:{config:0},generatedTemplate:{config:3},sfdcData:{config:3}},publicMethods:["hasData","getData","updateComponents"],track:{attributes:1,_sfdcData:1},fields:["generated","html"]});const s=e.registerComponent(r,{tmpl:void 0,sel:"dxp_data_provider-data-proxy",apiVersion:66,enableSyntheticElementInternals:!0});t.default=s,Object.defineProperty(t,"__esModule",{value:!0})});
628})();(function() { LWR.define("experience/iconUtils",["exports","lightning/iconUtils"],function(e,n){Object.defineProperty(e,"getIconPath",{enumerable:!0,get:function(){return n.getIconPath}}),Object.defineProperty(e,"__esModule",{value:!0})});
629})();(function() { LWR.define("commerce/wishlistShortcut",["exports","lwc","@salesforce/community/basePath","@salesforce/label/Commerce_Wishlists.wishlistPageAssistiveText","experience/iconUtils"],function(e,t,s,i,o){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=n(s),r=n(i);function a(e,t,s){var i=e?"."+e:"";return(t?":host {":(e?"."+e+"-host":"")+" {")+"padding: var(--com-c-wishlist-shortcut-padding);}a"+i+" svg"+i+" {--sds-c-icon-color-foreground-default: var(\n --com-c-wishlist-shortcut-color,\n var(--dxp-s-button-color, var(--dxp-g-brand))\n );}a:hover"+i+" svg"+i+", a:focus"+i+" svg"+i+" {--sds-c-icon-color-foreground-default: var(\n --com-c-wishlist-shortcut-color-hover,\n var(--dxp-s-button-color-hover, var(--dxp-g-brand-1))\n );}a:focus-visible"+i+" {outline: 2px solid var(--com-c-wishlist-shortcut-color-hover, var(--dxp-s-button-color-hover, var(--dxp-g-brand-1)));outline-offset: 2px;}"}a.$scoped$=!0;var c=[a];const u=t.parseFragment`<a${"a0:href"}${"a0:title"}${3}><span class="slds-icon_container icon-container${0}"${2}><svg tabindex="-1" class="slds-icon slds-icon-text-default slds-icon_small slds-global-actions__notifications slds-global-actions__item-action${0}" aria-hidden="true" aria-live="assertive" aria-atomic="true"${2}><use${"a3:xlink:href"}${3}/></svg><span class="slds-assistive-text${0}"${2}>${"t5"}</span></span></a>`;function d(e,s,i,o){const{b:n,d:l,sp:r,st:a}=e,{_m0:c,_m1:d}=o;return[a(u,1,[r(0,{on:d||(o._m1={click:n(s.handleIconClick)}),attrs:{href:s.iconUrl,title:s.iconAssistiveText}},null),r(3,{attrs:{"xlink:href":t.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",s.iconTypeHref)}},null),r(5,null,l(s.iconAssistiveText))])]}var h=t.registerTemplate(d);d.renderMode="light",d.stylesheets=[],d.stylesheetToken="lwc-772joti571h",d.legacyStylesheetToken="commerce-wishlistShortcut_wishlistShortcut",c&&d.stylesheets.push.apply(d.stylesheets,c),t.freezeTemplate(d);class v extends t.LightningElement{constructor(...e){super(...e),this.iconType=void 0,this.iconUrl=void 0,this.isOutlined=!1}get iconTypeHref(){switch(this.iconType){case"plus":return this.isOutlined?`${l.default}/assets/icons/add.svg#add`:o.getIconPath("utility:add");case"save":return this.isOutlined?`${l.default}/assets/icons/bookmark-outline.svg#bookmark-outline`:o.getIconPath("utility:bookmark");default:return this.isOutlined?`${l.default}/assets/icons/heart-outline.svg#heart-outline`:`${l.default}/assets/icons/heart-filled.svg#heart-filled`}}get iconAssistiveText(){return r.default}handleIconClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("wishlisticonclick",{bubbles:!0,cancelable:!0,composed:!0}))}}v.renderMode="light",t.registerDecorators(v,{publicProps:{iconType:{config:0},iconUrl:{config:0},isOutlined:{config:0}}});const f=t.registerComponent(v,{tmpl:h,sel:"commerce-wishlist-shortcut",apiVersion:66,enableSyntheticElementInternals:!0});
629e.default=f,Object.defineProperty(e,"__esModule",{value:!0})});
630})();(function() { LWR.define("experience/styling",["exports","experience/utils"],function(e,t){function n(e,n,r){return!e||"number"!=typeof n&&t.isBlank(n)?"":`${e}: ${n}${r??""};`}function r(e){return Array.isArray(e)||(e=Object.entries(e).map(([e,t])=>({name:e,value:t}))),e.reduce((e,r)=>{const a=n(r.name,r.value,r.suffix);return t.isBlank(a)||e.push(a),e},[]).join(" ")}function a(e){switch(e){case"primary":return"slds-button_brand";case"secondary":return"slds-button_outline-brand";case"tertiary":return"slds-button_neutral";default:return""}}const s=a;e.coerceAlignment=function(e,t){return"string"==typeof e&&["left","center","right"].includes(e)?e:t},e.generateButtonIconSize=function(e){return"small"===e?"xx-small":"standard"===e?"x-small":"large"===e?"small":""},e.generateButtonSizeClass=function(e){return e&&["small","large"].includes(e)?`dxp-button-${e}`:""},e.generateButtonStretchClass=function(e){return"stretch"===e?"slds-button_stretch":""},e.generateButtonStyleClass=s,e.generateButtonVariantClass=a,e.generateConditionalStyles=function(e,t,n){return r(function(e,t,n){return Object.keys(e).reduce((r,a)=>{const s=e[a];return r[a]="function"==typeof s?s(t,n):t[s],r},{})}(t,e,n||{}))},e.generateElementAlignmentClass=function(e){return"center"===e?"slds-align_absolute-center":"left"===e?"slds-float_left":"right"===e?"slds-float_right":""},e.generateFlagEmoji=function(e){if(!e)return null;const t=e.toUpperCase().split("").map(e=>127397+e.charCodeAt(0));return String.fromCodePoint(...t)},e.generateFlexAlignmentClass=function(e,t){const n=[];if("vertical"===e)switch(n.push("slds-grid_vertical"),t){case"center":n.push("slds-grid_vertical-align-center");break;case"right":n.push("slds-grid_vertical-align-end")}else switch(t){case"center":n.push("slds-grid_align-center");break;case"right":n.push("slds-grid_align-end")}return n.join(" ")},e.generateMatchingStyles=function(e,t){return Object.entries(e).reduce((e,[n,r])=>(n.startsWith(t)&&(e[n.slice(t.length)]=r),e),{})},e.generatePaddingClass=function(e,t){const n=t||"around";switch(e){case"none":case"xxx-small":case"xx-small":case"x-small":case"small":case"medium":case"large":case"x-large":case"xx-large":return`slds-p-${n}_${e}`;default:return""}},e.generateSpacingVariable=function(e){switch(e){case"none":case"xxx-small":case"xx-small":case"x-small":case"small":case"medium":case"large":case"x-large":case"xx-large":return`--dxp-g-spacing-${e.replace("-","")}`;default:return""}},e.generateStyleProperties=r,e.generateStyleProperty=n,e.generateTextDecorationStyle=function(e,t){let r=t.underline?" underline":"";return t.strike&&(r+=" line-through"),n(e,r.trim())},e.generateTextFontSize=function(e){return e&&["small","medium","large"].includes(e)?`var(--dxp-s-text-heading-${e}-font-size)`:"initial"},e.generateTextFormatStyles=function(e){if(!e||!Object.keys(e))return{};const{bold:t,italic:n,underline:r,strike:a}=e;return"boolean"!=typeof t&&"boolean"!=typeof n&&"boolean"!=typeof r&&"boolean"!=typeof a?{}:{weight:""+(t?"bold":""),style:""+(n?"italic":""),decoration:`${r?"underline":""} ${a?"line-through":""}`.trim()}},e.generateTextHeadingSizeClass=function(e){return e&&["small","medium","large"].includes(e)?`slds-text-heading_${e}`:""},e.generateThemeTextSizeClass=function(e){switch(e){case"body-small":return"dxp-text-body-small";case"body-regular":return"dxp-text-body";case"heading-xxsmall":return"dxp-text-heading-xxsmall";case"heading-xsmall":return"dxp-text-heading-xsmall";case"heading-small":return"dxp-text-heading-small";case"heading-medium":return"dxp-text-heading-medium";case"heading-large":return"dxp-text-heading-large";case"heading-xlarge":return"dxp-text-heading-xlarge";default:return""}},e.generateThemeTextSizeProperty=function(e){switch(e){case"body-small":return"--dxp-s-body-small";case"body-regular":return"--dxp-s-body";case"heading-xxsmall":return"--dxp-s-text-heading-extra-extra-small";case"heading-xsmall":return"--dxp-s-text-heading-extra-small";case"heading-small":return"--dxp-s-text-heading-small";case"heading-medium":return"--dxp-s-text-heading-medium";case"heading-large":return"--dxp-s-text-heading-large";case"heading-xlarge":return"--dxp-s-text-heading-extra-large";default:return""}}
630,Object.defineProperty(e,"__esModule",{value:!0})});
631})();(function() { LWR.define("commerce_builder/wishlistShortcut",["exports","lwc","commerce/wishlistShortcut","lightning/navigation","experience/styling"],function(e,t,i,o,n){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=s(i);const c={"wishlist-shortcut-wrapper":!0};function l(e,t,i,o){const{b:n,c:s,h:l}=e,{_m0:h}=o;return[l("div",{classMap:c,style:t.customStyles,key:0},[s("commerce-wishlist-shortcut",r.default,{props:{iconType:t.iconType,iconUrl:t.iconUrl,isOutlined:t.isOutlined},key:1,on:h||(o._m0={wishlisticonclick:n(t.handleWishlistIconClick)})})])]}var h=t.registerTemplate(l);l.renderMode="light",l.stylesheets=[],l.stylesheetToken="lwc-16gqefn00f7",l.legacyStylesheetToken="commerce_builder-wishlistShortcut_wishlistShortcut",t.freezeTemplate(l);const a={type:"comm__namedPage",attributes:{name:"Wishlist"}};class u extends t.LightningElement{constructor(...e){super(...e),this.navContext=void 0,this.iconType=void 0,this.iconLinkColor=void 0,this.iconLinkHoverColor=void 0,this.isOutlined=void 0}get customStyles(){return n.generateStyleProperties([{name:"--com-c-wishlist-shortcut-color",value:this.iconLinkColor},{name:"--com-c-wishlist-shortcut-color-hover",value:this.iconLinkHoverColor}])}get iconUrl(){return this.navContext?o.generateUrl(this.navContext,a):void 0}handleWishlistIconClick(){this.navContext&&o.navigate(this.navContext,a)}}u.renderMode="light",t.registerDecorators(u,{publicProps:{iconType:{config:0},iconLinkColor:{config:0},iconLinkHoverColor:{config:0},isOutlined:{config:0}},wire:{navContext:{adapter:o.NavigationContext,config:function(e){return{}}}}});const d=t.registerComponent(u,{tmpl:h,sel:"commerce_builder-wishlist-shortcut",apiVersion:66,enableSyntheticElementInternals:!0});e.default=d,Object.defineProperty(e,"__esModule",{value:!0})});
632})();(function() { LWR.define("experience/cmsDeliveryApi",["exports","experience/store","experience/config","experience/data","experience/utils"],function(e,t,n,r,o){function i(e,t){return t.includes(e)}function c(e){return"array"===e}function s(e,t,n){return c(t)?Array.isArray(e):function(e,t){return t.includes(e)}(t,n)&&typeof e===t}function a(e){return"string"==typeof e&&e.trim().length>0}function u(e){return"boolean"==typeof e}function l(e,t,n,r){const l={};for(const[d,p]of Object.entries(e)){const e=t[d];if(!(i(d,r)||o.isNil(p)||o.isNil(e))){if(!s(p,e,n))throw"array"===e?new TypeError(`The type entered for ${d} isn’t valid. Enter the value as an ${e}.`):new TypeError(`The type entered for ${d} isn’t valid. Enter the value as a ${e}.`);if(c(e)){const e=p.join(",");a(e)&&(l[d]=e)}(a(p)||o.isInteger(p)||u(p))&&(l[d]=p.toString())}}return l}const d=n.currentRelease.apiVersion,p=["channelOrSiteId","contentKeyOrId"],f={contentVersion:"number"},h=Object.values(f).filter((e,t,n)=>n.indexOf(e)===t);async function y(e){if(!o.isPlainObject(e))throw new TypeError("Options are required to successfully be able to execute this request.");if(!a(e.channelOrSiteId))throw new TypeError("The 'channelOrSiteId' parameter is required to successfully execute this request.");if(!a(e.contentKeyOrId))throw new TypeError("The 'contentKeyOrId' parameter is required to successfully execute this request.");const t=function(e,t,n){if(e.startsWith("0DM"))return r.composeUri(`/services/data/${d}/connect/sites/${e}/cms/delivery/contents/${t}`,n);if(e.startsWith("0ap"))return r.composeUri(`/services/data/${d}/connect/cms/delivery/channels/${e}/contents/${t}`,n);throw new TypeError("The 'channelOrSiteId' parameter is invalid")}(encodeURIComponent(e.channelOrSiteId),encodeURIComponent(e.contentKeyOrId),l(e,f,h,p));return r.fetchService(t).catch(e=>{throw new Error(e.statusText)})}const m=new t.Store("@@CmsDeliveryApi");function O(e){return y(e.payload)}const v=n.currentRelease.apiVersion,w=["channelOrSiteId"],I={channelOrSiteId:"string",contentKeys:"array",managedContentIds:"array",contentTypeFQN:"string",page:"number",pageSize:"number",referenceDepth:"number",includeContentBody:"boolean"}
632,S=Object.values(I).filter((e,t,n)=>n.indexOf(e)===t);async function x(e){if(!o.isPlainObject(e))throw new TypeError("Enter input parameters to execute the request.");if(!a(e.channelOrSiteId))throw new TypeError("Enter a value for channelOrSiteId.");const t=function(e,t){if(e.startsWith("0DM"))return r.composeUri(`/services/data/${v}/connect/sites/${e}/cms/delivery/contents`,t);if(e.startsWith("0ap"))return r.composeUri(`/services/data/${v}/connect/cms/delivery/channels/${e}/contents`,t);throw new TypeError("Enter a valid prefix for channelOrSiteId.")}(encodeURIComponent(e.channelOrSiteId),l(e,I,S,w));return r.fetchService(t).catch(e=>{throw new Error(e.statusText)})}const T=new t.Store("@@CmsDeliveryListApi");function E(e){return x(e.payload)}class b extends t.StoreAdapter{constructor(e){super(e,m,"content",{loader:O})}}class $ extends t.StoreAdapter{constructor(e){super(e,T,"contents",{loader:E})}}e.getContent=b,e.getContents=$,Object.defineProperty(e,"__esModule",{value:!0})});
633})();(function() { LWR.define("dxp_data_provider/siteLogoDataProvider",["exports","lwc","experience/dataLayerObject","experience/dataProvider","dxp_util/siteInfo","experience/cmsDeliveryApi","experience/resourceResolver","dxp_util/common","dxp_util/contentInfo","experience/store"],function(e,t,o,n,r,a,i,s,d,c){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=l(o),p=l(n);const f=[];function g(e,t,o,n){const{k:r,c:a,i:i,s:s,f:d}=e;return d([t.hasDataLayerObjects?i(t.dataLayerObjects,function(e){return a("experience-data-layer-object",u.default,{props:{scriptDataAttributes:e.attributes,customObject:e.customObject},key:r(0,e.id)})}):f,s("",{key:1,slotData:t.dataProxyContext},f,o)])}var y=t.registerTemplate(g);g.slots=[""],g.renderMode="light",g.stylesheets=[],g.stylesheetToken="lwc-74svrt3lt37",g.legacyStylesheetToken="dxp_data_provider-siteLogoDataProvider_siteLogoDataProvider",t.freezeTemplate(g);class I extends p.default{constructor(...e){super(...e),this.sfdcExpressionKey=void 0,this._logoInfo=void 0}get siteId(){return this.contentKey?r.SiteInfo.SiteId:null}get logoInfo(){return this._logoInfo}set logoInfo(e){e&&(this._logoInfo=e,this.contentKey=d.getContentKey(e),this.updateData())}updateData(e){const t=r.parseLogoInfo(this._logoInfo);this._sfdcData={Picture:{Url:i.resolve(t),AltText:s.get(e,"contentBody.altText")??""}}}wiredCMSDeliveryContent({data:e}){e&&this.updateData(e)}static async preloadData(e){const t=[],o=r.SiteInfo.SiteId,n=[];let i=e.attributes.reduce((e,{logoInfo:t},r)=>{const i=d.getContentKey(t);return i&&o&&(e.push(c.getStoreAdapterValue(a.getContent,{channelOrSiteId:o,contentKeyOrId:i})),n.push(r)),e},[]);return await Promise.allSettled(i).then(o=>{o.forEach((o,a)=>{if("rejected"===o.status){const i=e.attributes[n[a]]?.logoInfo,s=d.getContentKey(i);t.push(new Error(`SiteLogoDataProvider failed to fetch image with contentKey: ${s} and SiteId: ${r.SiteInfo.SiteId}`,{cause:o.reason}))}})}),Promise.resolve({warnings:t})}}I.renderMode="light",t.registerDecorators(I,{publicProps:{sfdcExpressionKey:{config:0},logoInfo:{config:3}},track:{_logoInfo:1},wire:{wiredCMSDeliveryContent:{adapter:a.getContent,dynamic:["channelOrSiteId","contentKeyOrId"],method:1,config:function(e){return{channelOrSiteId:e.siteId,contentKeyOrId:e.contentKey}}}}});const h=t.registerComponent(I,{tmpl:y,sel:"dxp_data_provider-site-logo-data-provider",apiVersion:66,enableSyntheticElementInternals:!0});e.default=h,Object.defineProperty(e,"__esModule",{value:!0})});
634})();(function() { LWR.define("interop/buttonMenu",["exports","lwc","lightning/primitiveIcon","lightning/spinner","lwr/environment","@salesforce/label/LightningButtonMenu.loading","@salesforce/label/LightningButtonMenu.showMenu","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/utilsInternal","lightning/positionLibrary","lightning/tooltipLibrary","lightning/features"],function(t,e,n,i,s,o,l,r,a,d,u,c,h,g){function b(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var m=b(n),p=b(i),_=b(o),f=b(l),v=b(r);var w=[function(){return""},[function(t,e,n){return".slds-dropdown"+(t?"["+t+"]":"")+" {width: max-content;}"}],function(t,e,n){return".fix-slds-button_icon-border-filled"+(t?"["+t+"]":"")+" {height: unset;line-height: var(\n --slds-c-button-line-height,\n var(--sds-c-button-line-height, 1.875rem)\n );}"}];const y=e.parseFragment`<abbr class="slds-indicator_unsaved slds-p-right_xx-small${0}"${"a0:title"}${2}>*</abbr>`,M=e.parseFragment`<span${"a0:id"} class="slds-assistive-text${0}"${2}>${"t1"}</span>`,A={props:{iconName:"utility:down",svgClass:"slds-button__icon slds-button__icon_x-small slds-m-left_xx-small",variant:"bare"},key:4},I={part:"overlay dropdown"},k={"slds-dropdown__list":!0,"slds-dropdown_length-with-icon-10":!0},x={key:10},C=[];function O(t,e,n,i){const{ncls:s,ti:o,b:l,sp:r,st:a,d:d,t:u,c:c,gid:h,h:g,s:b}=t,{_m0:_,_m1:f,_m2:v}=i;return[g("button",{className:s(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,"aria-expanded":e.computedAriaExpanded,title:e.computedTitle,accesskey:e.computedAccessKey,value:e.value,"aria-haspopup":"true",type:"button",tabindex:o(e.tabIndex),part:e.buttonParts},key:0,on:_||(i._m0={click:l(e.handleButtonClick),keydown:l(e.handleButtonKeyDown),blur:l(e.handleBlur),focus:l(e.handleFocus),mousedown:l(e.handleButtonMouseDown)})},[e.isDraft?a(y,2,[r(0,{attrs:{title:e.draftAlternativeText}},null)]):null,u(d(e.label)),c("lightning-primitive-icon",m.default,{props:{iconName:e.iconName,svgClass:e.iconSvgClass,variant:"bare"},key:3}),e.computedShowDownIcon?c("lightning-primitive-icon",m.default,A):null,a(M,6,[r(0,{attrs:{id:h("button-label")}},null),r(1,null,d(e.computedAlternativeText))])]),e._dropdownOpened?g("div",{className:s(e.computedDropdownClass),attrs:I,key:7,on:f||(i._m1={mousedown:l(e.handleDropdownMouseDown),mouseup:l(e.handleDropdownMouseUp),mouseleave:l(e.handleDropdownMouseLeave),scroll:l(e.handleDropdownScroll)})},[e.isLoading?c("lightning-spinner",p.default,{props:{size:"small",alternativeText:e.computedLoadingStateAlternativeText},key:8}):null,e.isLoading?null:g("div",{classMap:k,attrs:{"aria-labelledby":h("button-label"),role:"menu"},key:9,on:v||(i._m2={privateselect:l(e.handleMenuItemPrivateSelect),privateblur:l(e.handlePrivateBlur),privatefocus:l(e.handlePrivateFocus),mouseover:l(e.handleMouseOverOnMenuItem),mouseout:l(e.allowBlur),keydown:l(e.handleKeyOnMenuItem)})},[b("",x,C,n)])]):null]}var B=e.registerTemplate(O);function D(t){t.preventDefault(),t.stopPropagation()}function T(t,e){d.runActionOnBufferedTypedCharacters(t,e.focusMenuItemWithText)}
634O.slots=[""],O.stylesheets=[],O.stylesheetToken="lwc-1df1eblanv8",O.legacyStylesheetToken="interop-buttonMenu_buttonMenu",w&&O.stylesheets.push.apply(O.stylesheets,w),e.freezeTemplate(O);const{setContext:S,assertContext:P}=u.privateContext,V={loading:_.default,showMenu:f.default},F="LIGHTNING-MENU-ITEM",L=`${F}, .slds-dropdown__list .slds-dropdown__item`,N=["left","center","right","bottom-left","bottom-center","bottom-right"];N.push("auto","auto-right","auto-left");const R="button button-icon";class z extends v.default{get iconName(){return this._iconName}set iconName(t){this._iconName=t,d.reflectAttribute(this,"icon-name",this._iconName)}get label(){return this._label}set label(t){this._label=t,this.buttonParts=t?"button":R,d.reflectAttribute(this,"label",this._label)}constructor(){super(),this._hasOpenedAndFocused=!1,this._tooltipCreated=!1,this.internalDatatableActionsMenu=!1,this.iconSize="medium",this.value="",this.alternativeText=V.showMenu,this.loadingStateAlternativeText=V.loading,this.draftAlternativeText=void 0,this.groupOrder="",this.tabIndex=void 0,this._accesskey=null,this._disabled=!1,this._dropdownVisible=!1,this._dropdownOpened=!1,this._nubbin=!1,this._title=null,this._isDraft=!1,this._isLoading=!1,this._focusOnIndexDuringRenderedCallback=null,this._tabindex=0,this._order=null,this._variant="border",this._iconName="utility:down",this._label=null,this.buttonParts=R,this._positioning=!1,this._menuAlignment="left",this._boundingRect={},this._tooltip=null,this._needsFocusAfterRender=!1,S(this)}connectedCallback(){super.connectedCallback(),this._connected=!0,this.keyboardInterface=this.menuKeyboardInterface(),this.classList.add("slds-dropdown-trigger","slds-dropdown-trigger_click"),this.isDraft&&this.classList.add("slds-is-unsaved")}disconnectedCallback(){this._connected=!1,this._tooltip&&this._tooltip.disconnect()}renderedCallback(){this.initTooltip(),!this._positioning&&this._dropdownVisible&&this.focusOnMenuItemAfterRender()}get iconSvgClass(){return this.label?"slds-button__icon slds-button__icon_right":"slds-button__icon"}get variant(){return this._variant}set variant(t){this._variant=d.normalizeString(t,{fallbackValue:"border",validValues:["border","border-inverse","border-filled","bare","bare-inverse","container"]}),d.reflectAttribute(this,"variant",this._variant)}get menuAlignment(){return this._menuAlignment}set menuAlignment(t){this._menuAlignment=d.normalizeString(t,{fallbackValue:"left",validValues:N})}get disabled(){return this._disabled}set disabled(t){this._disabled=d.normalizeBoolean(t)}get nubbin(){return this._nubbin}set nubbin(t){this._nubbin=d.normalizeBoolean(t)}get title(){return this._title}set title(t){this._title=t}get isDraft(){return this._isDraft}set isDraft(t){this._isDraft=d.normalizeBoolean(t)}get isLoading(){return this._isLoading}set isLoading(t){const e=d.normalizeBoolean(t);this.isAutoAlignment()&&!s.isServer&&(this.stopPositioning(),this._isLoading&&!e&&this.startPositioning()),this._isLoading=e}get accessKey(){return this._accesskey}set accessKey(t){this._accesskey=t}get tooltip(){return this._tooltip?this._tooltip.value:void 0}set tooltip(t){P(this),this._tooltip?this._tooltip.value=t:t&&!s.isServer&&(this._tooltip=new h.Tooltip(t,{root:this,target:()=>this.template.querySelector("button")}),this._tooltip.initialize())}focus(){this._connected&&this.focusOnButton()}click(){this._connected&&this.template.querySelector("button").click()}get computedAriaExpanded(){return String(this._dropdownVisible)}initTooltip(){this._tooltip&&!this._tooltip.initialized&&this._tooltip.initialize()}focusOnMenuItemAfterRender(){let t=this._focusOnIndexDuringRenderedCallback||0;const e=this.getMenuItems();"LAST"===t&&(t=e.length-1,t<0&&(t="LAST")),"LAST"!==t&&(t>e.length-1&&e.length>0&&(t=e.length-1),this.focusOnMenuItem(t),this._focusOnIndexDuringRenderedCallback=null)}get computedAccessKey(){return this._accesskey}get computedTitle(){return this._title}get computedAlternativeText(){return this.alternativeText||V.showMenu}get computedLoadingStateAlternativeText(){return this.loadingStateAlternativeText||V.loading}get computedButtonClass(){const t=!this.computedShowDownIcon,e="bare"===this.variant||"bare-inverse"===this.variant,n=a.classSet("slds-button");if(this.label)n.add({"slds-button_neutral":"border"===this.variant,"slds-button_inverse":"border-inverse"===this.variant});else{const i="container"===this.variant||"bare-inverse"===this.variant||"border-inverse"===this.variant||"bare"===this.variant;n.add({"slds-button_icon":!t,"slds-button_icon-bare":e,"slds-button_icon-more":!i&&!t,"slds-button_icon-container-more":i&&!t,"slds-button_icon-container":"container"===this.variant&&t,"slds-button_icon-border":"border"===this.variant&&t,"slds-button_icon-border-filled":"border-filled"===this.variant,"fix-slds-button_icon-border-filled":"border-filled"===this.variant&&""!==this.groupOrder,"slds-button_icon-border-inverse":"border-inverse"===this.variant,"slds-button_icon-inverse":"bare-inverse"===this.variant,"slds-button_icon-xx-small":"xx-small"===this.iconSize&&!e,"slds-button_icon-x-small":"x-small"===this.iconSize&&!e,"slds-button_icon-small":"small"===this.iconSize&&!e,"slds-button_icon-large":"large"===this.iconSize&&!e})}return n.add(d.buttonGroupOrderClass(this.groupOrder)).toString()}get computedShowDownIcon(){return!("utility:down"===this.iconName||"utility:chevrondown"===this.iconName||this.internalDatatableActionsMenu&&"utility:threedots"===this.iconName)}get computedDropdownClass(){return a.classSet("slds-dropdown").add({"slds-dropdown_left":"left"===this.menuAlignment||this.isAutoAlignment(),"slds-dropdown_center":"center"===this.menuAlignment,"slds-dropdown_right":"right"===this.menuAlignment,"slds-dropdown_bottom":"bottom-center"===this.menuAlignment,"slds-dropdown_bottom slds-dropdown_right slds-dropdown_bottom-right":"bottom-right"===this.menuAlignment,"slds-dropdown_bottom slds-dropdown_left slds-dropdown_bottom-left":"bottom-left"===this.menuAlignment,"slds-nubbin_top-left":this.nubbin&&"left"===this.menuAlignment,"slds-nubbin_top-right":this.nubbin&&"right"===this.menuAlignment,"slds-nubbin_top":this.nubbin&&"center"===this.menuAlignment,"slds-nubbin_bottom-left":this.nubbin&&"bottom-left"===this.menuAlignment,"slds-nubbin_bottom-right":this.nubbin&&"bottom-right"===this.menuAlignment,"slds-nubbin_bottom":this.nubbin&&"bottom-center"===this.menuAlignment,"slds-p-vertical_large":this.isLoading}).toString()}handleMenuItemPrivateSelect(t){this._dropdownVisible&&(this.toggleMenuVisibility(),this.focusOnButton()),t.stopPropagation();!this.dispatchSelect(t)&&t.preventDefault()}dispatchSelect(t){return this.dispatchEvent(new CustomEvent("select",{cancelable:!0,detail:{value:t.detail.value}}))}handleButtonClick(){this.allowBlur(),this.toggleMenuVisibility(),this.focusOnButton()}handleButtonKeyDown(t){!function(t,e){const n=e.isMenuVisible();switch(t.keyCode){case d.keyCodes.enter:case d.keyCodes.space:D(t),e.toggleMenuVisibility();break;case d.keyCodes.down:case d.keyCodes.up:if(D(t),!n){let n=0;t.keyCode===d.keyCodes.up&&(n="LAST"),e.setNextFocusIndex(n),e.toggleMenuVisibility()}break;case d.keyCodes.escape:case d.keyCodes.tab:n&&(D(t),e.toggleMenuVisibility());break;default:if(!n&&e.showDropdownWhenTypingCharacters)D(t),e.toggleMenuVisibility();else if(!n)break;window.requestAnimationFrame(()=>{T(t,e)})}}(t,this.keyboardInterface)}handleButtonMouseDown(t){0===t.button&&this.cancelBlur()}handleDropdownMouseDown(t){0===t.button&&this.cancelBlur()}handleDropdownMouseUp(){this.allowBlur()}handleDropdownMouseLeave(){if(g.features.enableDropdownCloseDelay){const t=this._hasOpenedAndFocused||!this._isLoading&&!this.getMenuItems().length;!this._menuHasFocus&&t&&this.close()}else this._menuHasFocus||this.close()}handleDropdownScroll(t){t.stopPropagation()}focusOnButton(){this.template.querySelector("button").focus()}focusOnMenuItem(t){if(this._dropdownVisible){const e=this.getMenuItemByIndex(t);this.cancelBlurAndFocusOnMenuItem(e)}}
634isAutoAlignment(){return this.menuAlignment.startsWith("auto")}startPositioning(){if(!this.isAutoAlignment())return Promise.resolve();this._hasOpenedAndFocused=!1,this._positioning=!0;const t={horizontal:c.Direction.Left,vertical:c.Direction.Top},e={horizontal:c.Direction.Left,vertical:c.Direction.Bottom};let n,i=!0;return"auto-right"===this.menuAlignment&&(t.horizontal=c.Direction.Right,e.horizontal=c.Direction.Right),"auto-right"!==this.menuAlignment&&"auto-left"!==this.menuAlignment||(i=!1,n=!0),d.animationFrame().then(()=>(this.stopPositioning(),this._autoPosition=c.startPositioning(this,{target:()=>this.template.querySelector("button"),element:()=>this.template.querySelector(".slds-dropdown"),align:t,targetAlign:e,autoFlip:i,autoFlipVertical:n,scrollableParentBound:!0,keepInViewport:!0},!0),this._autoPosition?this._autoPosition.reposition():Promise.reject())).then(()=>(this._needsFocusAfterRender=!0,d.timeout(0))).then(()=>{this._positioning=!1,this._needsFocusAfterRender&&(this.focusOnMenuItemAfterRender(),this._needsFocusAfterRender=!1)})}stopPositioning(){this._autoPosition&&(c.stopPositioning(this._autoPosition),this._autoPosition=null),this._positioning=!1}toggleMenuVisibility(){this.disabled||(this._dropdownVisible=!this._dropdownVisible,!this._dropdownOpened&&this._dropdownVisible&&(this._dropdownOpened=!0),this._dropdownVisible?(this.startPositioning(),this.dispatchEvent(new CustomEvent("open")),this._boundingRect=this.getBoundingClientRect(),this.pollBoundingRect()):(this.stopPositioning(),this.dispatchEvent(new CustomEvent("close"))),this.classList.toggle("slds-is-open"))}getChildNodes(t,e){return t?t.matches&&t.matches(e)?[t]:Array.from(t.childNodes).reduce((t,n)=>[...t,...this.getChildNodes(n,e)],[]):[]}getMenuItems(){return this.getChildNodes(this,L)}getMenuItemByIndex(t){return P(this),this.getMenuItems()[t]}findMenuItemIndex(t){return this.getMenuItems().indexOf(t)}findMenuItemFromEventTarget(t){let e=t;const n=this.template.querySelector("[role='menu']");for(;e!==n;){if(e.tagName===F)return e;if(!e.parentNode)return null;e=e.parentNode}return null}handleKeyOnMenuItem(t){const e=this.findMenuItemFromEventTarget(t.target);e&&function(t,e,n){switch(t.keyCode){case d.keyCodes.down:case d.keyCodes.up:{D(t);let i=t.keyCode===d.keyCodes.up?e-1:e+1;const s=n.getTotalMenuItems();i>=s?i=0:i<0&&(i=s-1),n.focusOnIndex(i);break}case d.keyCodes.home:D(t),n.focusOnIndex(0);break;case d.keyCodes.end:D(t),n.focusOnIndex(n.getTotalMenuItems()-1);break;case d.keyCodes.escape:case d.keyCodes.tab:n.isMenuVisible()&&(t.keyCode===d.keyCodes.escape&&D(t),n.toggleMenuVisibility()),n.returnFocus();break;default:T(t,n)}}(t,this.findMenuItemIndex(e),this.keyboardInterface)}handleMouseOverOnMenuItem(t){const e=this.findMenuItemFromEventTarget(t.target);if(e){const t=this.findMenuItemIndex(e);this.focusOnMenuItem(t)}}cancelBlurAndFocusOnMenuItem(t){t&&(this.cancelBlur(),t.focus())}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handlePrivateBlur(t){if(t.detail.relatedTarget){this.findMenuItemFromEventTarget(t.detail.relatedTarget)&&this.cancelBlur()}t.stopPropagation(),this.handleBlur(),this._menuHasFocus=!1}handlePrivateFocus(t){t.stopPropagation(),this.allowBlur(),this._menuHasFocus=!0,this._hasOpenedAndFocused=!0}handleBlur(){this._cancelBlur||(this._dropdownVisible&&this.toggleMenuVisibility(),this.dispatchEvent(new CustomEvent("blur")))}allowBlur(){this._cancelBlur=!1}cancelBlur(){this._cancelBlur=!0}menuKeyboardInterface(){const t=this;return{getTotalMenuItems:()=>t.getMenuItems().length,focusOnIndex(e){t.focusOnMenuItem(e)},setNextFocusIndex(e){t._focusOnIndexDuringRenderedCallback=e},returnFocus(){t.focusOnButton()},isMenuVisible:()=>t._dropdownVisible,toggleMenuVisibility(){t.toggleMenuVisibility()},focusMenuItemWithText(e){const n=[...t.getMenuItems()].filter(t=>{const n=t.label;return n&&0===n.toLowerCase().indexOf(e)});n.length>0&&t.focusOnMenuItem(n[0])}}}close(){this._dropdownVisible&&this.toggleMenuVisibility()}pollBoundingRect(){this.isAutoAlignment()&&this._dropdownVisible&&setTimeout(()=>{this._connected&&(d.observePosition(this,300,this._boundingRect,()=>{this.close()}
634),this.pollBoundingRect())},250)}}z.validationOptOut=["class"],z.delegatesFocus=!0,e.registerDecorators(z,{publicProps:{internalDatatableActionsMenu:{config:0},iconSize:{config:0},iconName:{config:3},value:{config:0},alternativeText:{config:0},loadingStateAlternativeText:{config:0},label:{config:3},draftAlternativeText:{config:0},groupOrder:{config:0},tabIndex:{config:0},variant:{config:3},menuAlignment:{config:3},disabled:{config:3},nubbin:{config:3},title:{config:3},isDraft:{config:3},isLoading:{config:3},accessKey:{config:3},tooltip:{config:3}},publicMethods:["focus","click"],track:{_accesskey:1,_disabled:1,_dropdownVisible:1,_dropdownOpened:1,_nubbin:1,_title:1,_isDraft:1,_isLoading:1,_focusOnIndexDuringRenderedCallback:1,_tabindex:1,_order:1,_variant:1,_iconName:1,_label:1,buttonParts:1},fields:["_hasOpenedAndFocused","_tooltipCreated","_positioning","_menuAlignment","_boundingRect","_tooltip","_needsFocusAfterRender"]});const E=e.registerComponent(z,{tmpl:B,sel:"interop-button-menu",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=E,Object.defineProperty(t,"__esModule",{value:!0})});
635})();LWR.define('lightning/buttonMenu', ['interop/buttonMenu'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("commerce/pill",["exports","lwc","lightning/buttonIcon","@salesforce/label/Commerce_Cart_Pill.removePillAssistiveText"],function(e,l,t,o){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=s(t),i=s(o);function a(e,l,t){var o=e?"."+e:"";return(l?":host {":(e?"."+e+"-host":"")+" {")+"--slds-c-pill-color-background: var(--com-c-pill-background-color, var(--dxp-g-root-1));--slds-c-pill-color-border: var(--com-c-pill-border-color, var(--dxp-g-root-1));--slds-c-pill-radius-border: var(--com-c-pill-border-radius, var(--dxp-s-form-element-radius-border));overflow: hidden;}:hover"+o+" {--slds-c-pill-color-background: var(--com-c-pill-background-color, var(--dxp-g-root-1));}.slds-pill__label"+o+" {color: var(--com-c-pill-text-color, --dxp-g-root-contrast);font-size: var(--com-c-pill-font-size, var(--dxp-g-font-size-3));}"}a.$scoped$=!0;var c=[a];const n=l.parseFragment`<div class="slds-pill__label slds-p-top_xxx-small${0}"${"a0:title"}${2}>${"t1"}</div>`,d={classMap:{"slds-pill":!0,"slds-p-horizontal_x-small":!0,"slds-p-vertical_xx-small":!0},key:0},p={"slds-pill__remove":!0,"slds-p-left_x-small":!0,"slds-p-bottom_xxx-small":!0};function m(e,l,t,o){const{d:s,sp:i,st:a,b:c,c:m,fr:v,h:u}=e,{_m0:b}=o;return[u("div",d,[a(n,2,[i(0,{attrs:{title:l.labelText}},null),i(1,null,s(l.labelText))]),l.showRemoveButton?v(3,[m("lightning-button-icon",r.default,{classMap:p,props:{iconName:"utility:close",variant:"bare",alternativeText:l.removePillAccessibilityText},key:4,on:b||(o._m0={click:c(l.removePill)})})],0):null])]}var v=l.registerTemplate(m);m.renderMode="light",m.stylesheets=[],m.stylesheetToken="lwc-4ckfqd5gjth",m.legacyStylesheetToken="commerce-pill_pill",c&&m.stylesheets.push.apply(m.stylesheets,c),l.freezeTemplate(m);class u extends l.LightningElement{constructor(...e){super(...e),this.labelText=void 0,this.pillData=void 0,this.showRemoveButton=void 0}get removePillAccessibilityText(){return i.default?.replace("{0}",this.labelText??"")}removePill(){const e=new CustomEvent("removepill",{composed:!0,bubbles:!0,detail:{data:this.pillData}});this.dispatchEvent(e)}}u.renderMode="light",l.registerDecorators(u,{publicProps:{labelText:{config:0},pillData:{config:0},showRemoveButton:{config:0}}});const b=l.registerComponent(u,{tmpl:v,sel:"commerce-pill",apiVersion:66,enableSyntheticElementInternals:!0});e.default=b,Object.defineProperty(e,"__esModule",{value:!0})});
636})();(function() { LWR.define("commerce/checkoutCartApi",["exports","commerce/checkoutCartApiInternal"],function(e,t){Object.defineProperty(e,"CartAdapter",{enumerable:!0,get:function(){return t.CartAdapter}}),Object.defineProperty(e,"CartContentsAdapter",{enumerable:!0,get:function(){return t.CartContentsAdapter}}),Object.defineProperty(e,"CartProductsAdapter",{enumerable:!0,get:function(){return t.CartProductsAdapter}}),Object.defineProperty(e,"CartStatusAdapter",{enumerable:!0,get:function(){return t.CartStatusAdapter}}),Object.defineProperty(e,"CheckoutAdapter",{enumerable:!0,get:function(){return t.CheckoutAdapter}}),Object.defineProperty(e,"DEFAULT_CART_ITEMS_PAGE_SIZE",{enumerable:!0,get:function(){return t.DEFAULT_CART_ITEMS_PAGE_SIZE}}),Object.defineProperty(e,"DeliveryGroupsAdapter",{enumerable:!0,get:function(){return t.DeliveryGroupsAdapter}}),Object.defineProperty(e,"cartClone",{enumerable:!0,get:function(){return t.cartClone}}),Object.defineProperty(e,"cartCollaboratorAdd",{enumerable:!0,get:function(){return t.cartCollaboratorAdd}}),Object.defineProperty(e,"cartCollaboratorDelete",{enumerable:!0,get:function(){return t.cartCollaboratorDelete}}),Object.defineProperty(e,"cartCollaboratorHistoryLoadApi",{enumerable:!0,get:function(){return t.cartCollaboratorHistoryLoadApi}}),Object.defineProperty(e,"cartCollaboratorUpdate",{enumerable:!0,get:function(){return t.cartCollaboratorUpdate}}),Object.defineProperty(e,"cartCouponApply",{enumerable:!0,get:function(){return t.cartCouponApply}}),Object.defineProperty(e,"cartCouponDelete",{enumerable:!0,get:function(){return t.cartCouponDelete}}),Object.defineProperty(e,"cartCreate",{enumerable:!0,get:function(){return t.cartCreate}}),Object.defineProperty(e,"cartDelete",{enumerable:!0,get:function(){return t.cartDelete}}),Object.defineProperty(e,"cartInventoryReserve",{enumerable:!0,get:function(){return t.cartInventoryReserve}}),Object.defineProperty(e,"cartItemAdd",{enumerable:!0,get:function(){return t.cartItemAdd}}),Object.defineProperty(e,"cartItemApplyConfiguration",{enumerable:!0,get:function(){return t.cartItemApplyConfiguration}}),Object.defineProperty(e,"cartItemDelete",{enumerable:!0,get:function(){return t.cartItemDelete}}),Object.defineProperty(e,"cartItemUpdate",{enumerable:!0,get:function(){return t.cartItemUpdate}}),Object.defineProperty(e,"cartItemsAdd",{enumerable:!0,get:function(){return t.cartItemsAdd}}),Object.defineProperty(e,"cartItemsLoadSync",{enumerable:!0,get:function(){return t.cartItemsLoadSync}}),Object.defineProperty(e,"cartLoadAsync",{enumerable:!0,get:function(){return t.cartLoadAsync}}),Object.defineProperty(e,"cartReload",{enumerable:!0,get:function(){return t.cartReload}}),Object.defineProperty(e,"cartStatusProcessingBegin",{enumerable:!0,get:function(){return t.cartStatusProcessingBegin}
636}),Object.defineProperty(e,"cartStatusProcessingEnd",{enumerable:!0,get:function(){return t.cartStatusProcessingEnd}}),Object.defineProperty(e,"cartStatusUpdate",{enumerable:!0,get:function(){return t.cartStatusUpdate}}),Object.defineProperty(e,"checkoutCouponApply",{enumerable:!0,get:function(){return t.checkoutCouponApply}}),Object.defineProperty(e,"checkoutCouponDelete",{enumerable:!0,get:function(){return t.checkoutCouponDelete}}),Object.defineProperty(e,"checkoutLoadAsyncPoll",{enumerable:!0,get:function(){return t.checkoutLoadAsyncPoll}}),Object.defineProperty(e,"checkoutPlaceOrder",{enumerable:!0,get:function(){return t.checkoutPlaceOrder}}),Object.defineProperty(e,"checkoutPrepareOrder",{enumerable:!0,get:function(){return t.checkoutPrepareOrder}}),Object.defineProperty(e,"checkoutReload",{enumerable:!0,get:function(){return t.checkoutReload}}),Object.defineProperty(e,"checkoutStatusIsReady",{enumerable:!0,get:function(){return t.checkoutStatusIsReady}}),Object.defineProperty(e,"checkoutSubmitOrder",{enumerable:!0,get:function(){return t.checkoutSubmitOrder}}),Object.defineProperty(e,"checkoutUpdate",{enumerable:!0,get:function(){return t.checkoutUpdate}}),Object.defineProperty(e,"checkoutWaitForReady",{enumerable:!0,get:function(){return t.checkoutWaitForReady}}),Object.defineProperty(e,"childCartItemsLoadAsync",{enumerable:!0,get:function(){return t.childCartItemsLoadAsync}}),Object.defineProperty(e,"deliveryGroupAdd",{enumerable:!0,get:function(){return t.deliveryGroupAdd}}),Object.defineProperty(e,"deliveryGroupDelete",{enumerable:!0,get:function(){return t.deliveryGroupDelete}}),Object.defineProperty(e,"deliveryGroupLoadSync",{enumerable:!0,get:function(){return t.deliveryGroupLoadSync}}),Object.defineProperty(e,"deliveryGroupUpdate",{enumerable:!0,get:function(){return t.deliveryGroupUpdate}}),Object.defineProperty(e,"deliveryGroupsArrangeItems",{enumerable:!0,get:function(){return t.deliveryGroupsArrangeItems}}),Object.defineProperty(e,"deliveryGroupsLoadAsync",{enumerable:!0,get:function(){return t.deliveryGroupsLoadAsync}}),Object.defineProperty(e,"getCarts",{enumerable:!0,get:function(){return t.getCarts}}),Object.defineProperty(e,"onAddConfigurationToCart",{enumerable:!0,get:function(){return t.onAddConfigurationToCart}}),Object.defineProperty(e,"onAddItemToCart",{enumerable:!0,get:function(){return t.onAddItemToCart}}),Object.defineProperty(e,"onAddItemsToCart",{enumerable:!0,get:function(){return t.onAddItemsToCart}}),Object.defineProperty(e,"onCartDelete",{enumerable:!0,get:function(){return t.onCartDelete}}),Object.defineProperty(e,"onCartItemDelete",{enumerable:!0,get:function(){return t.onCartItemDelete}}),Object.defineProperty(e,"onCartItemUpdate",{enumerable:!0,get:function(){return t.onCartItemUpdate}}),Object.defineProperty(e,"onUpdateConfigurationOnCart",{enumerable:!0,get:function(){return t.onUpdateConfigurationOnCart}}),Object.defineProperty(e,"postAuthorizePayment",{enumerable:!0,get:function(){return t.postAuthorizePayment}}),Object.defineProperty(e,"toCheckoutOrderReferenceNumber",{enumerable:!0,get:function(){return t.toCheckoutOrderReferenceNumber}}),Object.defineProperty(e,"toCommerceError",{enumerable:!0,get:function(){return t.toCommerceError}}),Object.defineProperty(e,"toCommerceErrors",{enumerable:!0,get:function(){return t.toCommerceErrors}}),Object.defineProperty(e,"__esModule",{value:!0})});
637})();(function() { LWR.define("lightning/sldsUtilsPosition",["exports"],function(s){var d=[function(s,d,e){var o=s?"["+s+"]":"",t=s?"["+s+"-host]":"";return(d?":host([data-render-mode='shadow']) .slds-is-static":t+"[data-render-mode='shadow'] .slds-is-static")+o+" {position: static;}"+(d?":host([data-render-mode='shadow']) .slds-is-relative":t+"[data-render-mode='shadow'] .slds-is-relative")+o+" {position: relative;}"+(d?":host([data-render-mode='shadow']) .slds-is-fixed":t+"[data-render-mode='shadow'] .slds-is-fixed")+o+" {position: fixed;}"+(d?":host([data-render-mode='shadow']) .slds-is-absolute":t+"[data-render-mode='shadow'] .slds-is-absolute")+o+" {position: absolute;}"}];s.default=d,Object.defineProperty(s,"__esModule",{value:!0})});
638})();(function() { LWR.define("lightning/showToastEvent",["exports"],function(e){const t="lightning__showtoast";class o extends CustomEvent{constructor(e){const o={bubbles:!0,cancelable:!0,composed:!0};if(e){const{label:t}=e;t||console.error('Toast: please provide at least the "label" property to show the toast'),o.detail=e}super(t,o)}}e.SHOW_TOAST_EVENT_NAME=t,e.ShowToastEvent=o,Object.defineProperty(e,"__esMo
638dule",{value:!0})});
639})();(function() { LWR.define("lightning/toastContainer",["exports","lwc","lightning/focusTrap","lwr/environment","lightning/utils","lightning/overlayUtils","lightning/showToastEvent","lightning/utilsPrivate","lightning/f6Controller","lightning/focusUtils","lightning/primitiveOverlay","lightning/utilsInternal","lightning/features"],function(t,e,s,o,a,i,n,r,l,h,d,c,m){function g(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=g(s),f=g(d);var p=[[function(t,e,s){var o=t?"["+t+"]":"",a=t?"["+t+"-host]":"";return(e?".top"+o+",:host([data-render-mode='shadow']) .top":".top"+o+","+a+"[data-render-mode='shadow'] .top")+o+" {top: 0;bottom: unset;}"+(e?".bottom"+o+",:host([data-render-mode='shadow']) .bottom":".bottom"+o+","+a+"[data-render-mode='shadow'] .bottom")+o+" {bottom: 0;top: unset;}"+(e?".left"+o+",:host([data-render-mode='shadow']) .left":".left"+o+","+a+"[data-render-mode='shadow'] .left")+o+" {left: 0;right: auto;}"+(e?".right"+o+",:host([data-render-mode='shadow']) .right":".right"+o+","+a+"[data-render-mode='shadow'] .right")+o+" {left: auto;right: 0;}"+(e?".center"+o+",:host([data-render-mode='shadow']) .center":".center"+o+","+a+"[data-render-mode='shadow'] .center")+o+" {transform: translate(50%);right: 50%;}@media (max-width: 30rem) {"+(e?".center"+o+", :host([data-render-mode='shadow']) .center":".center"+o+","+a+"[data-render-mode='shadow'] .center")+o+" {transform: none;right: 0;left: 0;}}"}],function(){return""}];const T={key:0},_={"data-toast-container":""},b={lwc:{dom:"manual"}};function v(t,e,s,o){const{ncls:a,b:i,h:n,c:r}=t,{_m0:l}=o;return[r("lightning-focus-trap",u.default,T,[n("div",{className:a(e.containerClass),attrs:_,context:b,key:1,on:l||(o._m0={privatetoastregister:i(e.handleToastRegister)})})])]}var w=e.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-4lsmj8dt97b",v.legacyStylesheetToken="lightning-toastContainer_toastContainer",p&&v.stylesheets.push.apply(v.stylesheets,p),e.freezeTemplate(v);const{setContext:P,assertContext:y}=c.privateContext,S={MISSING_PROPERTY:'Unable to show toast, missing toast property\'s "{0}"',MISSING_CONFIG:"Unable to show toast, missing toast config.",MISSING_TOAST:"Unable to show toast, missing toast class reference."},C="top-center",E="top-left",x="top-right",k="bottom-left",N="bottom-center",L="bottom-right",O="absolute",H="fixed",I=H,M=C,A=[],V=()=>A[0],q="close";class G extends f.default{get containerClass(){const t=this._toastPosition.split("-");return a.classSet(`slds-grid slds-grid_vertical-reverse toast-container ${t[0]} ${t[1]}`).add({"slds-is-fixed":this.containerPosition===H,"slds-is-absolute":this.containerPosition===O})}get containerPosition(){return this._containerPosition}set containerPosition(t){this._containerPosition=r.normalizeString(t,{fallbackValue:I,validValues:[O,H]})}get maxToasts(){return this._maxToasts}set maxToasts(t){this._maxToasts=r.normalizeNumber(t,{fallbackValue:3,minValue:1})}get root(){return this.template.querySelector("[data-toast-container]")}get toastPosition(){return this._toastPosition}set toastPosition(t){this._toastPosition=r.normalizeString(t,{fallbackValue:M,validValues:[E,C,x,k,N,L]})}close(){this.reset(),super.close()}constructor(){super(),this._containerPosition=H,this._maxToasts=3,this._toastPosition=C,this._displayToasts=[],this._queue=[],this._showToastHandler=void 0,P(this)}connectedCallback(){y(this),this.template.synthetic||this.setAttribute("data-render-mode","shadow"),A.length<1&&(this._showToastHandler=this.handleShowToast.bind(this),document.body.addEventListener(n.SHOW_TOAST_EVENT_NAME,this._showToastHandler),A.push(this),this.setAriaHidden(),l.createF6Controller())}disconnectedCallback(){this.close()}handleShowToast(t){t.stopPropagation();const e=this.validateToastParameters(t);e&&(this._queue.push(e),this.showNextToast())}handleToastClose(t,e){let s,o=-1;if(this._displayToasts=this._displayToasts.filter(({toastElement:e,sourceElement:a},i)=>e!==t||(o=i,s=a,!1)),this.root.removeChild(t),this.showNextToast(),!e.detail.isFocused)return;const a=o>-1&&o<this._displayToasts.length&&this._displayToasts[o].toastElement;a&&a.isConnected?a.focus():h.returnFocusToElement(s)}handleToastRegister(t){const{target:e,detail:s}=t,{unregisterCallback:o}=s,a=this.handleToastClose.bind(this,e);e.addEventListener(q,a),o(()=>{e.removeEventListener(q,a)})}setAriaHidden(){const t=!this._displayToasts.length;this.template.host.ariaHidden!==t&&(this.template.host.ariaHidden=t)}showNextToast(){for(;this._queue.length&&this._displayToasts.length<this._maxToasts;){const{toast:t,config:s,sourceElement:o}=this._queue.shift(),{[i.instanceName]:a}=t,n=e.createElement(a,{is:t}),r=["variant","mode","label","labelLinks","message","messageLinks"];
639Object.entries(s).forEach(([t,e])=>{const s=t.toLowerCase().match(/^on(.+)/);if(s){const t=s[1];n.addEventListener(t,e)}else r.indexOf(t)>-1&&(n[t]=e)}),this._displayToasts.push({toastElement:n,sourceElement:o}),this.root.appendChild(n)}this.setAriaHidden()}reset(){this._showToastHandler&&(document.body.removeEventListener(n.SHOW_TOAST_EVENT_NAME,this._showToastHandler),this._showToastHandler=null),A.splice(0,A.length),this._containerPosition=H,this._maxToasts=3,this._toastPosition=C,this.root.childNodes.forEach(t=>{this.root.removeChild(t)}),this._displayToasts=[],this._queue=[]}retrievePlatformShowToastConfig(t,e){const{title:s,message:o,messageData:a,messageTemplateData:i,mode:n,type:r}=t,l=e.toast||void 0;return{config:{label:s,message:o,messageLinks:m.features.enableMessageTemplateData?i??a:a,mode:n,variant:r},toast:l,source:void 0}}retrieveShowToastConfig(t){const e={...t},s=t.toast||void 0,o=t.source||void 0;return delete e.toast,delete e.source,{config:e,toast:s,source:o}}changeShowToastMapping(t){!t.label&&t.message&&(t.label=t.message,t.message="",m.features.enableMessageToLabelLink&&t.messageLinks&&(t.labelLinks=t.messageLinks,delete t.messageLinks))}validateToastParameters(t){const e=h.getElementWithFocus(),{toastAttributes:s,detail:o}=t;let a;if(s&&o?a=this.retrievePlatformShowToastConfig(s,o):o&&(a=this.retrieveShowToastConfig(o)),!a)return void console.error(S.MISSING_CONFIG);const{config:n,toast:r,source:l}=a;if(!r)return void console.error("Unable to show toast, missing toast class reference.");s&&o&&this.changeShowToastMapping(n);const{[i.requiredProperties]:d}=r;if(d){const t=d.find(t=>{if(!Object.prototype.hasOwnProperty.call(n,t)||!n[t])return t});if(t)return void console.error(S.MISSING_PROPERTY.replace("{0}",t))}return{config:n,toast:r,source:l,sourceElement:e}}static instance(t={}){if(!o.isServer){if(A.length<1)return G.open(t),V();let e=V();return e.isConnected?(((t,e)=>{if(!t)return;const{containerPosition:s,maxToasts:o,toastPosition:a}=e;o&&(t.maxToasts=o),s&&(t.containerPosition=s),a&&(t.toastPosition=a)})(e,t),e):(e.close(),e=null,G.open(t),V())}return{}}}G[i.instanceName]="lightning-toast-container",G[i.properties]=["containerPosition","maxToasts","toastPosition"],e.registerDecorators(G,{publicProps:{containerPosition:{config:3},maxToasts:{config:3},toastPosition:{config:3}},publicMethods:["close"],track:{_showToastHandler:1},fields:["_containerPosition","_maxToasts","_toastPosition","_displayToasts","_queue"]});const F=e.registerComponent(G,{tmpl:w,sel:"lightning-toast-container",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});t.default=F,Object.defineProperty(t,"__esModule",{value:!0})});
640})();(function() { LWR.define("lightning/toast",["exports","lwc","lightning/icon","lightning/formattedRichText","lightning/buttonIcon","lightning/focusTrap","lwr/environment","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils","lightning/overlayUtils","lightning/showToastEvent","lightning/resizeObserver","lightning/toastContainer","@salesforce/client/formFactor","@salesforce/label/LightningToast.close","@salesforce/label/LightningToast.infoLabel","@salesforce/label/LightningToast.warningLabel","@salesforce/label/LightningToast.successLabel","@salesforce/label/LightningToast.errorLabel","@salesforce/label/LightningToast.macNavigationAssistiveText","@salesforce/label/LightningToast.genericNavigationAssistiveText","lightning/f6Controller","lightning/utilsInternal","lightning/features"],function(e,t,s,i,a,n,l,o,r,d,h,c,m,g,u,f,_,b,y,v,p,k,x,L,S){function w(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T=w(s),C=w(i),M=w(a),F=w(n),O=w(o),A=w(g),z=w(u),E=w(f),I=w(_),B=w(b),W=w(y),N=w(v),R=w(p),$=w(k);var D=[[function(e,t,s){var i=e?"["+e+"]":"",a=e?"["+e+"-host]":"",n=e?"-"+e:"";return(t?".fix-notify_toast_animation"+i+",:host([data-render-mode='shadow']) .fix-notify_toast_animation":".fix-notify_toast_animation"+i+","+a+"[data-render-mode='shadow'] .fix-notify_toast_animation")+i+" {animation-name: fadeIn"+n+";animation-duration: 0.4s;}@keyframes fadeIn"+n+" {0% {opacity: 0;}100% {opacity: 1;}}"+(t?".fix-notify_toast_animation.closing"+i+",:host([data-render-mode='shadow']) .fix-notify_toast_animation.closing":".fix-notify_toast_animation.closing"+i+","+a+"[data-render-mode='shadow'] .fix-notify_toast_animation.closing")+i+" {animation-name: fadeOut"+n+";animation-duration: 0.4s;}@keyframes fadeOut"+n+" {0% {opacity: 1;}100% {opacity: 0;}}"+(t?".fix-slds-notify--mobile"+i+",:host([data-render-mode='shadow']) .fix-slds-notify--mobile":".fix-slds-notify--mobile"+i+","+a+"[data-render-mode='shadow'] .fix-slds-notify--mobile")+i+" {padding: 0.5rem 1rem 0.75rem;min-width: 90%;width: 90%;}"+(t?".fix-slds-notify--mobile.slds-notify_toast"+i+" h2"+i+",:host([data-render-mode='shadow']) .fix-slds-notify--mobile.slds-notify_toast":".fix-slds-notify--mobile.slds-notify_toast"+i+" h2"+i+","+a+"[data-render-mode='shadow'] .fix-slds-notify--mobile.slds-notify_toast")+i+" h2"+i+" {font-size: var(--slds-g-font-size-base, 0.8125rem);
640font-weight: var(--slds-g-font-weight-3, 300);}"+(t?".fix-slds-notify--mobile"+i+" .slds-notify__close"+i+",:host([data-render-mode='shadow']) .fix-slds-notify--mobile":".fix-slds-notify--mobile"+i+" .slds-notify__close"+i+","+a+"[data-render-mode='shadow'] .fix-slds-notify--mobile")+i+" .slds-notify__close"+i+" {top: 0.5rem;}"+(t?".fix-slds-notify--mobile"+i+" .slds-notify__close.fix-slds-notify--mobile__close"+i+",:host([data-render-mode='shadow']) .fix-slds-notify--mobile":".fix-slds-notify--mobile"+i+" .slds-notify__close.fix-slds-notify--mobile__close"+i+","+a+"[data-render-mode='shadow'] .fix-slds-notify--mobile")+i+" .slds-notify__close.fix-slds-notify--mobile__close"+i+" {top: -0.25rem;right: -0.15rem;}"}],function(){return""}];const H=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,V=t.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,j={key:0},P={classMap:{"slds-notify_container":!0,"slds-is-relative":!0},attrs:{part:"toast",role:"alert","aria-live":"polite","aria-atomic":"true"},key:1},q={classMap:{"slds-list--inline":!0},attrs:{"data-content":"",tabindex:"0"},key:3},U={"slds-m-right_small":!0,"slds-no-flex":!0,"slds-align-top":!0},G={classMap:{"slds-notify__content":!0},key:7},J={classMap:{"slds-text-heading_small":!0},key:8},K={key:9},Q={attrs:{name:"message"},key:11};function X(e,t,s,i){const{ncls:a,b:n,d:l,sp:o,st:r,c:d,t:h,s:c,h:m}=e,{_m0:g,_m1:u}=i;return[d("lightning-focus-trap",F.default,j,[m("div",P,[m("div",{className:a(t.toastClass),key:2,on:g||(i._m0={animationend:n(t.handleAnimationEnd),focusin:n(t.handleFocusIn),focusout:n(t.handleFocusOut)})},[m("div",q,[t.isSmallerBrowserWidth?r(H,5,[o(1,null,l(t.iconAlternativeText))]):null,t.isSmallerBrowserWidth?null:d("lightning-icon",T.default,{classMap:U,props:{iconName:t.iconName,size:"small",variant:"inverse",alternativeText:t.iconAlternativeText},key:6}),m("div",G,[m("h2",J,[c("",K,[t.hasLabelLink?d("lightning-formatted-rich-text",C.default,{props:{value:t.label},key:10}):null,t.hasLabelLink?null:h(l(t.label))],s)]),t.isSmallerBrowserWidth?null:c("message",Q,[t.hasMessageLink?d("lightning-formatted-rich-text",C.default,{props:{value:t.message},key:12}):null,t.hasMessageLink?null:h(l(t.message))],s),t.assistiveText?r(V,14,[o(1,null,l(t.assistiveText))]):null]),m("div",{className:a(t.closeIconContainerClass),key:15},[d("lightning-button-icon",M.default,{props:{iconName:"utility:close",size:"medium",variant:"bare-inverse",title:t.closeButtonTitleText},key:16,on:u||(i._m1={click:n(t.handleCloseClick)})})])])])])])]}var Y=t.registerTemplate(X);X.slots=["","message"],X.stylesheets=[],X.stylesheetToken="lwc-4jnr557nidr",X.legacyStylesheetToken="lightning-toast_toast",D&&X.stylesheets.push.apply(X.stylesheets,D),t.freezeTemplate(X);const Z="dismissible",ee="sticky",te="info",se="warning",ie="error",ae="success",ne=te,le=ee,{setContext:oe,assertContext:re}=L.privateContext;class de extends O.default{get hasLabelLink(){return this.hasLinkData(this.labelLinks)}get hasMessageLink(){return this.hasLinkData(this.messageLinks)}get label(){return this.buildLinks(this._label,this.labelLinks)||""}set label(e){this._label=e}get message(){return this.buildLinks(this._message,this.messageLinks)||""}set message(e){this._message=e}get variant(){return this._variant}set variant(e){S.features.enableAssertContext260Round2&&re(this),this._variant=this.normalizeVariant(e)}get mode(){return this._mode}set mode(e){this._mode=this.normalizeMode(e)}get iconName(){return`utility:${this._variant}`}get toastClass(){return d.classSet(`slds-notify slds-notify_toast fix-notify_toast_animation slds-theme_${this._variant}`).add({closing:this.closing,"slds-hide":this.hide,"fix-slds-notify--mobile":this.isSmallerBrowserWidth}).toString()}get toastElement(){return this.template.querySelector(".slds-notify_toast")}get isSmallerBrowserWidth(){return this._isSmallFormFactor||this._isSmallerBrowserWidth}get closeIconContainerClass(){return d.classSet("slds-notify__close").add({"fix-slds-notify--mobile__close":this._isSmallFormFactor})}get iconAlternativeText(){return this._variant===se?B.default:this._variant===ae?W.default:this._variant===ie?N.default:I.default}focus(){this._isFocused=!0,this.template.querySelector("[data-content]").focus()}normalizeVariant(e){return r.normalizeString(e,{fallbackValue:ne,validValues:[te,ae,se,ie]})}normalizeMode(e){return r.normalizeString(e,{validValues:[Z,ee]})}calculateDefaultMode(e){return this._variant!==ae||e?ee:Z}buildLinks(e,t){return e&&t&&"object"==typeof t?Array.isArray(t)?e.replace(/\{(\d+)\}/gm,(e,s)=>this.createAnchorTagString(e,t[s])):e.replace(/\{(\w+)\}/gm,e=>{const s=e.substring(1,e.length-1);return this.createAnchorTagString(e,t[s])}):e}createAnchorTagString(e,t){if(!t)return e;if(S.features.enableMessageTemplateData&&"string"==typeof t)return t;const{url:s,label:i}=t;return`<a href='${d.formatUrl(s)}' target='_blank' title='${i}'>${i}</a>`}
640hasLinkData(e){return e&&!!(Array.isArray(e)&&e.length||"object"==typeof e&&Object.entries(e).length)}hasLink(){return Array.from(this.template.querySelectorAll("slot")).some(e=>e.assignedElements().some(e=>"A"===e.tagName||null!==e.querySelector("a")))||!!this.hasLabelLink||!!this.hasMessageLink}handleCloseClick(){this.close()}close(){this.closing=!0}handleAnimationEnd(){if(this.closing){this.closing=!1,this.hide=!0;const e=new CustomEvent("close",{bubbles:!0,detail:{isFocused:this._isFocused}});this.dispatchEvent(e)}}handleFocusIn(){this._isFocused=!0}handleFocusOut(){this._isFocused=!1}registerWithContainer(){const e=new CustomEvent("privatetoastregister",{bubbles:!0,cancelable:!0,detail:{unregisterCallback:e=>{this.unregisterCallback=e}}});this.dispatchEvent(e)}reset(){this.unregisterCallback&&this.unregisterCallback(),this._isFocused=!1,this.timeoutId&&clearTimeout(this.timeoutId),this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null),this._portraitMatchMedia&&this._portraitMatchMedia.removeEventListener("change",this._screenOrientationChangeHandler),this._screenOrientationChangeHandler&&(this._screenOrientationChangeHandler=null)}setupResizeObserver(){if(this._resizeObserver)return;const e=new m.LightningResizeObserver(()=>{this.isConnected&&this.determineSmallerScreen()});e.observe(this.template.host),this._resizeObserver=e}addOrientationChangeListener(){re(this),this._portraitMatchMedia=window.matchMedia("(orientation: portrait)"),this._screenOrientationChangeHandler=this.determineSmallerScreen.bind(this),this._portraitMatchMedia.addEventListener("change",this._screenOrientationChangeHandler)}determineSmallerScreen(){const e=(document&&document.documentElement&&document.documentElement.clientWidth||window.innerWidth)<=480;e!==this._isSmallerBrowserWidth&&(this._isSmallerBrowserWidth=e)}determineSmallFormFactor(){"Small"===z.default&&(this._isSmallFormFactor=!0)}constructor(){super(),this._variant=ne,this._mode=void 0,this.timeoutId=null,this.unregisterCallback=null,this.firstRender=!0,this.closing=!1,this.hide=!1,this._isFocused=!1,this.closeButtonTitleText=E.default,this.assistiveText=r.isMacOS||r.isiOS?R.default:$.default,this._label=void 0,this._message=void 0,this._resizeObserver=void 0,this._isSmallFormFactor=void 0,this._portraitMatchMedia=void 0,this._screenOrientationChangeHandler=void 0,this._isSmallerBrowserWidth=void 0,this.labelLinks=void 0,this.messageLinks=void 0,oe(this)}connectedCallback(){super.connectedCallback(),this.registerWithContainer(),this.determineSmallerScreen(),this.determineSmallFormFactor(),this.setupResizeObserver(),this.addOrientationChangeListener()}renderedCallback(){if(this.firstRender){this.firstRender=!1;const e=this.hasLink(),t=e?9600:4800;this._mode||(this._mode=this.calculateDefaultMode(e)),this._mode!==ee&&(this.timeoutId=setTimeout(()=>{this.close(),this.timeoutId=null},t));const s=x.getCurrentRegionAttributeName();s&&this.toastElement.setAttribute(s,"")}}disconnectedCallback(){this.reset()}static show(e,t){if(!l.isServer){A.default.instance();const s=new c.ShowToastEvent({...e,toast:this,source:t});t?t.dispatchEvent(s):document.body.dispatchEvent(s)}}}de[h.instanceName]="lightning-toast",de[h.properties]=["variant","mode","label","labelLinks","message","messageLinks"],de[h.requiredProperties]=["label"],t.registerDecorators(de,{publicProps:{labelLinks:{config:0},messageLinks:{config:0},label:{config:3},message:{config:3},variant:{config:3},mode:{config:3}},publicMethods:["focus"],track:{_mode:1,_label:1,_message:1,_resizeObserver:1,_isSmallFormFactor:1,_portraitMatchMedia:1,_screenOrientationChangeHandler:1,_isSmallerBrowserWidth:1},fields:["_variant","timeoutId","unregisterCallback","firstRender","closing","hide","_isFocused","closeButtonTitleText","assistiveText"]});const he=t.registerComponent(de,{tmpl:Y,sel:"lightning-toast",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.DEFAULT_TOAST_MODE=le,e.DEFAULT_TOAST_VARIANT=ne,e.default=he,Object.defineProperty(e,"__esModule",{value:!0})});
641})();(function() { LWR.define("commerce/toast",["exports","lwc","lightning/icon","lightning/formattedRichText","lightning/buttonIcon","lightning/focusTrap","lightning/toast","@salesforce/community/basePath"],function(t,s,e,o,i,a,n,l){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var d=r(e),c=r(o),m=r(i),f=r(a),g=r(n),u=r(l);var h=[function(t,s,e){var o=t?"["+t+"]":"",i=t?"["+t+"-host]":"",a=t?"-"+t:"";return(s?":host {":i+" {")+"--dxp-s-button-padding-block-start: 0;--dxp-s-button-padding-block-end: 0;--dxp-s-button-font-size: 1rem;}"+(s?".fix-notify_toast_animation"+o+",:host([data-render-mode=shadow]) .fix-notify_toast_animation":".fix-notify_toast_animation"+o+","+i+"[data-render-mode=shadow] .fix-notify_toast_animation")+o+" {animation-name: fadeIn"+a+";animation-duration: 0.4s;}@keyframes fadeIn"+a+" {0% {opacity: 0;}100% {opacity: 1;}}"+(s?".fix-notify_toast_animation.closing"+o+",:host([data-render-mode=shadow]) .fix-notify_toast_animation.closing":".fix-notify_toast_animation.closing"+o+","+i+"[data-render-mode=shadow] .fix-notify_toast_animation.closing")+o+" {animation-name: fadeOut"+a+";animation-duration: 0.4s;}@keyframes fadeOut"+a+" {0% {opacity: 1;}100% {opacity: 0;}}"+(s?".fix-slds-notify--mobile"+o+",:host([data-render-mode=shadow]) .fix-slds-notify--mobile":".fix-slds-notify--mobile"+o+","+i+"[data-render-mode=shadow] .fix-slds-notify--mobile")+o+" {padding: 0.5rem 1rem 0.75rem;min-width: 90%;width: 90%;}"+(s?".fix-slds-notify--mobile.slds-notify_toast"+o+" h2"+o+",:host([data-render-mode=shadow]) .fix-slds-notify--mobile.slds-notify_toast":".fix-slds-notify--mobile.slds-notify_toast"+o+" h2"+o+","+i+"[data-render-mode=shadow] .fix-slds-notify--mobile.slds-notify_toast")+o+" h2"+o+" {font-size: 1rem;font-weight: 300;}"+(s?".fix-slds-notify--mobile"+o+" .slds-notify__close"+o+",:host([data-render-mode=shadow]) .fix-slds-notify--mobile":".fix-slds-notify--mobile"+o+" .slds-notify__close"+o+","+i+"[data-render-mode=shadow] .fix-slds-notify--mobile")+o+" .slds-notify__close"+o+" {top: 0.5rem;}"+(s?":host([data-render-mode=shadow]) {":i+"[data-render-mode=shadow] {")+"--dxp-g-destructive-contrast: black;--dxp-g-destructive: white;}lightning-icon[title=custom-toast-icon]"+o+" {margin-right: 6px;}.slds-notify_toast"+o+",.slds-notify--toast"+o+" {background-color: var(--com-c-toast-background-color, #ffffff);color: var(--com-c-toast-text-color, #212121);border-color: var(--com-c-toast-border-color, var(--dxp-g-neutral));box-shadow: 0px 8px 12px -2px var(--com-c-toast-box-shadow, rgba(24, 24, 24, 0.1607843
641137));}.slds-notify"+o+" .slds-text-heading_small"+o+" {--dxp-s-body-font-size: var(--com-c-toast-font-size, 1rem);}.slds-list--inline"+o+",.slds-list_inline"+o+' {align-items: center;}lightning-icon[icon-name="utility:info"]'+o+' {--dxp-g-neutral-contrast: var(--com-c-toast-color-info);}lightning-icon[icon-name="utility:warning"]'+o+" {--dxp-g-neutral-contrast: var(--com-c-toast-color-warning);}svg[class*=custom-icon]"+o+" {overflow: visible;}.slds-button__icon"+o+" {width: var(--dxp-s-button-font-size, var(--dxp-g-font-size-3));height: var(--dxp-s-button-font-size, var(--dxp-g-font-size-3));}"}];const p=s.parseFragment`<svg class="slds-icon slds-icon_small slds-m-right_small slds-align-top slds-no-flex custom-icon${0}"${"a0:aria-label"}${2}><use${"a1:xlink:href"}${3}/></svg>`,y=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,x={key:0},v={classMap:{"slds-notify_container":!0,"slds-is-relative":!0},attrs:{part:"toast"},key:1},b={role:"status"},_={classMap:{"slds-list--inline":!0},attrs:{"data-content":"",tabindex:"0"},key:3},k={key:4},w={"slds-m-right_small":!0,"slds-no-flex":!0,"slds-align-top":!0},T={classMap:{"slds-notify__content":!0},key:9},z={classMap:{"slds-text-heading_small":!0},key:10},I={key:11},$={classMap:{"slds-m-bottom_xxx-small":!0},key:13},M={attrs:{name:"message"},key:14};function C(t,e,o,i){const{ncls:a,b:n,fid:l,sp:r,st:g,fr:u,c:h,s:C,d:N,t:L,h:A}=t,{_m0:F,_m1:O}=i;return[h("lightning-focus-trap",f.default,x,[A("div",v,[A("div",{className:a(e.toastClass),attrs:b,key:2,on:F||(i._m0={animationend:n(e.handleAnimationEnd),focusin:n(e.handleFocusIn),focusout:n(e.handleFocusOut)})},[A("div",_,[C("",k,[e.isCustomVariant?u(5,[g(p,7,[r(0,{attrs:{"aria-label":e.getIconAltText}},null),r(1,{attrs:{"xlink:href":s.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",l(e.getIconName))}},null)])],0):u(5,[h("lightning-icon",d.default,{classMap:w,props:{iconName:e.getIconName,size:"small",variant:"inverse",alternativeText:e.getIconAltText},key:8})],0)],o),A("div",T,[A("h2",z,[C("",I,[e.hasLabelLink?h("lightning-formatted-rich-text",c.default,{props:{value:e.label},key:12}):null,e.hasLabelLink?null:L(N(e.label))],o)]),e.isSmallerBrowserWidth?null:A("div",$,[C("message",M,[e.hasMessageLink?h("lightning-formatted-rich-text",c.default,{props:{value:e.message},key:15}):null,e.hasMessageLink?null:L(N(e.message))],o)]),e.assistiveText?g(y,17,[r(1,null,N(e.assistiveText))]):null]),A("div",{className:a(e.closeIconContainerClass),key:18},[h("lightning-button-icon",m.default,{props:{iconName:"utility:close",size:"large",variant:"bare-inverse",title:e.closeButtonTitleText},key:19,on:O||(i._m1={click:n(e.handleCloseClick)})})])])])])])]}var N=s.registerTemplate(C);C.slots=["","message"],C.stylesheets=[],C.stylesheetToken="lwc-2ppd8nrjka5",C.legacyStylesheetToken="commerce-toast_toast",h&&C.stylesheets.push.apply(C.stylesheets,h),s.freezeTemplate(C);const L=["success","error","processing"],A={info:"utility:info",success:`${u.default}/assets/images/success-icon.svg#success-icon`,error:`${u.default}/assets/images/error-icon.svg#error-icon`,warning:"utility:warning",processing:`${u.default}/assets/images/processing-icon.svg#processing-icon`};class F extends g.default{constructor(...t){super(...t),this.variant="info"}get isCustomVariant(){return L.includes(this.variant)}get getIconName(){return`${A[this.variant]}`}get getIconAltText(){return this.variant}static show(t,s){const e={...t,mode:"dismissible"};super.show(e,s)}}s.registerDecorators(F,{publicProps:{variant:{config:0}}});const O=s.registerComponent(F,{tmpl:N,sel:"commerce-toast",apiVersion:66,enableSyntheticElementInternals:!0});t.default=O,Object.defineProperty(t,"__esModule",{value:!0})});
642})();(function() { LWR.define("interop/menuItem",["exports","lwc","lightning/primitiveIcon","lightning/features","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/iconUtils"],function(e,t,i,s,a,n,l,c){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(i),d=r(a);var h=[[function(e,t,i){var s=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"display: block;}.slds-dropdown__item"+s+" > a"+s+" {white-space: normal !important;}"}],function(){return""}];const u=t.parseFragment`<abbr class="slds-indicator_unsaved${0}"${"a0:title"}${2}>*</abbr>`,p={classMap:{"slds-dropdown__item":!0},attrs:{part:"menu-item"},key:0},f={key:2},m={"slds-m-right_x-small":!0},g={"slds-m-left_small":!0};function _(e,t,i,s){const{ti:a,b:n,c:l,sp:c,st:r,d:d,t:h,h:_}=e,{_m0:b}=s;return[_("div",p,[_("a",{attrs:{href:t.computedHref,target:t._target,role:t.computedRole,tabindex:a(t.computedTabIndex),accesskey:t.computedAccessKey,"aria-checked":t.computedAriaChecked,"aria-disabled":t.computedAriaDisabled,download:t.download}
642,key:1,on:b||(s._m0={click:n(t.handleClick),focus:n(t.handleFocus),keydown:n(t.handleKeyDown),blur:n(t.handleBlur)})},[_("span",f,[t.isMenuItemCheckbox?l("lightning-primitive-icon",o.default,{props:{iconName:"utility:check",size:"x-small",svgClass:t.computedCheckedIconClass,variant:"bare"},key:3}):null,t.isDraft?r(u,5,[c(0,{attrs:{title:t.draftAlternativeText}},null)]):null,t.prefixIconName?l("lightning-primitive-icon",o.default,{classMap:m,props:{iconName:t.prefixIconName,size:"x-small",svgClass:t.prefixSVGClass,variant:t.prefixIconVariant},key:6}):null,h(d(t.label))]),t.iconName?l("lightning-primitive-icon",o.default,{classMap:g,props:{iconName:t.iconName,size:"x-small",svgClass:t.suffixSVGClass,variant:t.suffixIconVariant},key:7}):null])])]}var b=t.registerTemplate(_);_.stylesheets=[],_.stylesheetToken="lwc-2n594o4uv8m",_.legacyStylesheetToken="interop-menuItem_menuItem",h&&_.stylesheets.push.apply(_.stylesheets,h),t.freezeTemplate(_);const v="slds-is-selected";class x extends d.default{constructor(...e){super(...e),this.value=void 0,this.label=void 0,this.download=void 0,this._accesskey=null,this._disabled=!1,this._tabindex="-1",this._checked=void 0,this._isDraft=!1,this._target=null,this._iconName=void 0,this.suffixSVGClass=void 0,this.suffixIconVariant=void 0,this._prefixIconName=void 0,this.prefixSVGClass=void 0,this.prefixIconVariant=void 0,this._iconType="standard",this.href=void 0,this.draftAlternativeText=void 0}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}get iconName(){return this._iconName}set iconName(e){e!==this._iconName&&(this._iconName=e,this.updateIconProperties("suffix",this._iconName))}get prefixIconName(){return this._prefixIconName}set prefixIconName(e){e!==this._prefixIconName&&(this._prefixIconName=e,this.updateIconProperties("prefix",this._prefixIconName))}get iconType(){return this._iconType}set iconType(e){s.features.ENABLE_COLOR_ICONS_MENU_ITEM&&(this._iconType=l.normalizeString(e,{fallbackValue:"standard",validValues:["standard","color"]}),this.updateIconProperties("suffix",this._iconName),this.updateIconProperties("prefix",this._prefixIconName))}get isDraft(){return this._isDraft}set isDraft(e){this._isDraft=l.normalizeBoolean(e)}get accessKey(){return this._accesskey}set accessKey(e){this._accesskey=e,this.handleAccessKeyChange(e)}get tabIndex(){return this._tabindex}set tabIndex(e){this._tabindex=e,this.handleTabIndexChange(e)}get target(){return this._target}set target(e){this._target=l.normalizeString(e,{fallbackValue:null,validValues:["_self","_blank"]})}handleAccessKeyChange(e){this._accesskey=e}handleTabIndexChange(e){this._tabindex=e}get computedAccessKey(){return this._accesskey}get computedTabIndex(){return this._tabindex}get disabled(){return this._disabled}set disabled(e){this._disabled=l.normalizeBoolean(e)}get checked(){return this._checked}set checked(e){"string"==typeof e&&void 0!==(e=l.normalizeString(e,{fallbackValue:void 0,validValues:["true","false"]}))&&(e="true"===e),void 0!==e&&(e=l.normalizeBoolean(e)),this._checked=e,!0===this.checked?this.classList.add(v):this.classList.remove(v)}get computedCheckedIconClass(){return n.classSet("slds-icon slds-icon_x-small slds-icon-text-default slds-m-right_x-small").add({"slds-icon_selected":!this.checked}).toString()}updateIconProperties(e,t){const i=c.getCategory(t),s="standard"===this._iconType||"utility"===i||"doctype"===i,a="action"===i,l=n.classSet("slds-icon").add({"slds-icon-text-default":s,"slds-icon_container":!s,"slds-p-around_xxx-small slds-icon_container_circle":!s&&a});!s&&c.isValidName(t)&&l.add(c.computeSldsClass(t)),"suffix"===e&&l.add("slds-shrink-none"),this[`${e}SVGClass`]=l.toString(),this[`${e}IconVariant`]=s?"bare":"inverse"}get computedHref(){return l.sanitizeURL(this.href)}get computedAriaChecked(){return this.isMenuItemCheckbox?this.checked+"":null}get computedAriaDisabled(){return this.disabled?"true":"false"}get isMenuItemCheckbox(){return void 0!==this.checked}get computedRole(){return this.isMenuItemCheckbox?"menuitemcheckbox":"menuitem"}handleBlur(e){this.dispatchEvent(new CustomEvent("blur")),this.dispatchEvent(new CustomEvent("privateblur",{composed:!0,bubbles:!0,cancelable:!0,detail:{relatedTarget:e.relatedTarget}}))}handleFocus(){this.dispatchEvent(new CustomEvent("privatefocus",{bubbles:!0,cancelable:!0}))}handleClick(e){if(this.disabled)return e.preventDefault(),void e.stopPropagation();if(this.href){if(this.computedHref===l.FALLBACK_URL)e.preventDefault();else if(this.value){!this.dispatchSelect()&&e.preventDefault()}}else e.preventDefault(),this.dispatchSelect()}handleKeyDown(e){if(this.disabled)e.preventDefault();else if(e.keyCode===l.keyCodes.space)if(this.href)if(this.value){!this.dispatchSelect()||this.template.querySelector("a").click()}else this.template.querySelector("a").click();else this.dispatchSelect()}dispatchSelect(){return!!this.disabled||this.dispatchEvent(new CustomEvent("privateselect",{bubbles:!0,cancelable:!0,detail:{value:this.value}}))}focus(){this.template.querySelector("a").focus(),this.dispatchEvent(new CustomEvent("focus"))}click(){const e=this.template.querySelector("a");e&&e.click()}}x.validationOptOut=["class"],t.registerDecorators(x,{publicProps:{value:{config:0},label:{config:0},download:{config:0},href:{config:0},draftAlternativeText:{config:0},iconName:{config:3},prefixIconName:{config:3},iconType:{config:3},isDraft:{config:3},accessKey:{config:3},tabIndex:{config:3},target:{config:3},disabled:{config:3},checked:{config:3}},publicMethods:["focus","click"],track:{_accesskey:1,_disabled:1,_tabindex:1,_checked:1,_isDraft:1,_target:1},fields:["_iconName","suffixSVGClass","suffixIconVariant","_prefixIconName","prefixSVGClass","prefixIconVariant","_iconType"]});const k=t.registerComponent(x,{tmpl:b,sel:"interop-menu-item",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});
642e.default=k,Object.defineProperty(e,"__esModule",{value:!0})});
643})();LWR.define('lightning/menuItem', ['interop/menuItem'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("experience/context",["exports","lwc","experience/utilsInternal"],function(e,t,n){const o={key:0},r=[];function s(e,t,n,s){const{s:i}=e;return[i("",o,r,n)]}var i=t.registerTemplate(s);s.slots=[""],s.renderMode="light",s.stylesheets=[],s.stylesheetToken="lwc-3rco4ej07cr",s.legacyStylesheetToken="experience-context_context",t.freezeTemplate(s);const c=Symbol(),a=Symbol(),l=Symbol(),u=Symbol(),d=Symbol(),h=Symbol();function p(e,t){const o=[],r={value:void 0};function s(e){e.provide({value:r.value})}return t(e,{consumerConnectedCallback:e=>{o.push(e),r.value&&s(e)},consumerDisconnectedCallback:t=>{const n=o.indexOf(t);if(!(n>=0))throw new TypeError(`[context] invalid context operation in ${e}.`);o.splice(n,1)}}),function(e){r.value=n.readonly(e),function(){for(const e of o)s(e)}()}}const{hasOwnProperty:f}=Object.prototype;class v{constructor(e,t){this.dataCallback=e,this.transformer=t}update(e,t){if(t){if(!f.call(t,"value"))throw new TypeError("[context] invalid context provided");if("function"==typeof this.transformer)try{this.dataCallback(this.transformer(t.value,e))}catch{}else this.dataCallback(t.value)}}connect(){}disconnect(){}}const y=new WeakMap;class x extends t.LightningElement{constructor(...e){super(...e),this[c]=!1,this[a]=void 0,this[l]=void 0,this[u]=void 0}set provider(e){this[a]="function"==typeof e?e:void 0,this[c]&&this[d]()}get provider(){return this[a]}set value(e){this[l]=e,this[h]()}get value(){return this[l]}connectedCallback(){this[c]=!0,this[d]()}disconnectedCallback(){this[c]=!1}[d](){const e=this[a];e?(this[u]=p(this,e),this[h]()):delete this[u]}[h](){this[u]?.(this[l])}}x.renderMode="light",t.registerDecorators(x,{publicProps:{provider:{config:3},value:{config:3}}});const m=t.registerComponent(x,{tmpl:i,sel:"experience-context",apiVersion:66,enableSyntheticElementInternals:!0});e.createContextAdapter=function(e){var t;return(t=class extends v{constructor(t){super(t,e)}}).contextSchema={value:"required"},t},e.createContextBoundary=p,e.createContextProvider=function(e){if(y.has(e))return y.get(e);const n=t.createContextProvider(e);return y.set(e,n),n},e.default=m,Object.defineProperty(e,"__esModule",{value:!0})});
644})();(function() { LWR.define("commerce/actionApiInternal",["exports","commerce/checkoutCartApiInternal","experience/context"],function(_,e,T){const A=T.createContextAdapter(function(_,{actions:e}){if(e){let T={};return e.forEach(e=>{_[e]&&(T={...T,[e]:_[e]})}),T}return _});Object.defineProperty(_,"ACTION_CANCEL_CART_OPERATION",{enumerable:!0,get:function(){return e.ACTION_CANCEL_CART_OPERATION}}),_.ACTION_CARTS_LOAD="cart:getCarts",_.ACTION_CART_CLEAR="cart:clear",_.ACTION_CART_CLEAR_CONTENT="cart:clearContent",_.ACTION_CART_CREATE="cart:create",_.ACTION_CART_DELETE="cart:delete",_.ACTION_CART_EDIT="cart:edit",_.ACTION_CART_EXPORT_JOBS_DELETE_ALL="cart:deleteAllCartExportJobs",_.ACTION_CART_EXPORT_JOBS_LOAD="cart:getCartExportJobs",_.ACTION_CART_EXPORT_JOB_CANCEL="cart:cancelCartExportJob",_.ACTION_CART_EXPORT_JOB_DELETE="cart:deleteCartExportJob",_.ACTION_CART_INVENTORY_RESERVE="cart:inventoryReserve",_.ACTION_CART_ITEMS_ADD="product:addItemsToCart",_.ACTION_CART_ITEMS_LOAD="cart:showMoreItems",_.ACTION_CART_ITEMS_PAGE_LOAD="cart:loadPage",_.ACTION_CART_ITEM_ADD="product:addItemToCart",_.ACTION_CART_ITEM_DELETE="cart:deleteItem",_.ACTION_CART_ITEM_UPDATE="cart:updateItem",_.ACTION_CART_MAKE_PRIMARY="cart:makePrimary",_.ACTION_CART_SORT_UPDATE="cart:changeSortOrder",_.ACTION_CART_STATUS_UPDATE="cart:updatestatus",_.ACTION_CHECKOUT_ADDRESSES_CREATE="checkout:addressesCreate",_.ACTION_CHECKOUT_ADDRESSES_PAGE_CHANGE="checkout:addressesPageChange",_.ACTION_CHECKOUT_ADDRESSES_UPDATE="checkout:addressesUpdate",_.ACTION_CHECKOUT_FINALIZE="checkout:finalize",_.ACTION_CHECKOUT_PLACE_ORDER="checkout:placeOrder",_.ACTION_CHECKOUT_PREPARE_ORDER="checkout:prepareOrder",_.ACTION_CHECKOUT_SUBMIT_ORDER="checkout:submitOrder",_.ACTION_CHECKOUT_UPDATE_FORM="checkout:updateForm",_.ACTION_CHILD_CART_ITEMS_LOAD="cart:loadChildCartItems",_.ACTION_COMMON_QUANTITY_UPDATE="common:quantityChanged",_.ACTION_COMMUNICATION_SUBSCRIPTIONS_CHANGED="consent:communicationSubscriptionsChanged",_.ACTION_COUPON_APPLY="coupon:apply",_.ACTION_COUPON_DELETE="coupon:remove",_.ACTION_LOAD_MORE="search:loadMore",_.ACTION_LOAD_PREVIOUS="search:loadPrevious",_.ACTION_MY_PROFILE_ADD_MOBILE="profile:addMobile",_.ACTION_MY_PROFILE_INIT_OTP="profile:initOtp",_.ACTION_MY_PROFILE_RESET_PASSWORD="profile:resetPassword",_.ACTION_MY_PROFILE_UPDATE="profile:update",_.ACTION_MY_PROFILE_VERIFY_OTP="profile:verifyOtp",_.ACTION_ORDER_ACCESS_VALIDATE="order:accessValidate",_.ACTION_PAYMENT_SPM_DATA_REFRESH="savedPaymentMethod:dataRefresh",_.ACTION_PAYMENT_SPM_DELETE="savedPaymentMethod:delete",_.ACTION_PAYMENT_SPM_GET_DEPENDENTS="savedPaymentMethod:getDependents",_.ACTION_PAYMENT_SPM_LOAD_MORE="savedPaymentMethod:showMore",_.ACTION_PAYMENT_SPM_MARK_DEFAULT="savedPaymentMethod:markDefault",_.ACTION_PAYMENT_SPM_SHARE="savedPaymentMethod:share",_.ACTION_PRODUCT_QUANTITY_UPDATE="product:selectedQuantityChanged",_.ACTION_PRODUCT_SUBSCRIPTION_UPDATE="product:subscriptionChanged",_.ACTION_PRODUCT_VARIANT_UPDATE="product:variantChanged",_.ACTION_SEARCH_CATEGORY_CLEAR="search:clearCategory",_.ACTION_SEARCH_FILTERS_CLEAR="search:clearFilters",_.ACTION_SEARCH_FILTERS_UPDATE="search:filterChange",_.ACTION_SEARCH_FILTER_PANEL_SECTION_UPDATE="search:updateFilterPanelSection",_.ACTION_SEARCH_OPEN_FILTER_PANEL="search:openFilterPanel",_.ACTION_SEARCH_SORT_UPDATE="search:changeSortOrder",_.ACTION_SPLIT_SHIPMENT_ADDRESSES_CREATE="splitShipment:addressesCreate",_.ACTION_SPLIT_SHIPMENT_CART_ITEM_DELETE="splitShipment:deletecartitem",_.ACTION_SPLIT_SHIPMENT_CART_ITEM_MOVE="splitShipment:movecartitem",_.ACTION_SPLIT_SHIPMENT_CART_ITEM_QUANTITY_UPDATE="splitShipment:updatecartitemquantity",_.ACTION_SPLIT_SHIPMENT_CART_ITEM_SPLIT="splitShipment:splitcartitem",_.ACTION_SPLIT_SHIPMENT_DELIVERY_GROUP_ADD="splitShipment:adddeliverygroup",_.ACTION_SPLIT_SHIPMENT_MERGE_SAVE="splitShipment:mergesave",_.ACTION_SPLIT_SHIPMENT_PAGE_LOAD="splitShipment:loadpage",_.ACTION_SPLIT_SHIPMENT_SAVE="splitShipment:save",_.ACTION_WISHLIST_ITEM_ADD="product:addItemToWishlist",_.ACTION_WISHLIST_ITEM_DELETE="wishlists:deleteItemFromWishlist",_.ActionsAdapter=A,Object.defineProperty(_,"__esMo
644dule",{value:!0})});
645})();(function() { LWR.define("commerce/actionApi",["exports","experience/dataProvider","experience/utils","commerce/actionApiInternal"],function(e,t,n,r){class c{constructor(e,t){this.type=e,this.payload=t}}e.createCartCancelAction=function(e){return new c(r.ACTION_CANCEL_CART_OPERATION,e)},e.createCartClearAction=function(){return new c(r.ACTION_CART_CLEAR)},e.createCartClearContentAction=function(e){return new c(r.ACTION_CART_CLEAR_CONTENT,e)},e.createCartCreateAction=function(e){return new c(r.ACTION_CART_CREATE,e)},e.createCartDeleteAction=function(e){return new c(r.ACTION_CART_DELETE,e)},e.createCartEditAction=function(e){return new c(r.ACTION_CART_EDIT,e)},e.createCartExportJobCancelAction=function(e){return new c(r.ACTION_CART_EXPORT_JOB_CANCEL,e)},e.createCartExportJobDeleteAction=function(e){return new c(r.ACTION_CART_EXPORT_JOB_DELETE,e)},e.createCartExportJobsDeleteAllAction=function(){return new c(r.ACTION_CART_EXPORT_JOBS_DELETE_ALL)},e.createCartExportJobsGetAction=function(){return new c(r.ACTION_CART_EXPORT_JOBS_LOAD)},e.createCartInventoryReserveAction=function(){return new c(r.ACTION_CART_INVENTORY_RESERVE)},e.createCartItemAddAction=function(e,t){if(n.isPlainObject(t))return new c(r.ACTION_CART_ITEM_ADD,{...t,productId:e});const A=t&&"number"==typeof t?t:void 0;return new c(r.ACTION_CART_ITEM_ADD,{productId:e,quantity:A,productSellingModelId:void 0,subscriptionTerm:void 0})},e.createCartItemDeleteAction=function(e){return new c(r.ACTION_CART_ITEM_DELETE,e)},e.createCartItemUpdateAction=function(e,t){return new c(r.ACTION_CART_ITEM_UPDATE,{cartItemId:e,quantity:t})},e.createCartItemsAddAction=function(e){return Array.isArray(e)?new c(r.ACTION_CART_ITEMS_ADD,e):new c(r.ACTION_CART_ITEMS_ADD,Object.entries(n.isPlainObject(e)?e:{}).reduce((e,[t,n])=>(e.push({productId:t,quantity:n,productSellingModelId:void 0,subscriptionTerm:void 0}),e),[]))},e.createCartItemsLoadAction=function(){return new c(r.ACTION_CART_ITEMS_LOAD)},e.createCartItemsLoadPageAction=function(e,t){return new c(r.ACTION_CART_ITEMS_PAGE_LOAD,{pageNumber:e,pageSize:t})},e.createCartMakePrimaryAction=function(e){return new c(r.ACTION_CART_MAKE_PRIMARY,e??{cartId:""})},e.createCartSortUpdateAction=function(e){return new c(r.ACTION_CART_SORT_UPDATE,e)},e.createCartStatusUpdateAction=function(e){return new c(r.ACTION_CART_STATUS_UPDATE,e)},e.createCartsGetAction=function(e){return new c(r.ACTION_CARTS_LOAD,e??{})},e.createCheckoutAddressesCreateAction=function(e){return new c(r.ACTION_CHECKOUT_ADDRESSES_CREATE,e)},e.createCheckoutAddressesPageChangeAction=function(e){return new c(r.ACTION_CHECKOUT_ADDRESSES_PAGE_CHANGE,{total:e})},e.createCheckoutAddressesUpdateAction=function(e){return new c(r.ACTION_CHECKOUT_ADDRESSES_UPDATE,e)},e.createCheckoutFinalizeAction=function(){return new c(r.ACTION_CHECKOUT_FINALIZE)},e.createCheckoutPlaceOrderAction=function(){return new c(r.ACTION_CHECKOUT_PLACE_ORDER)},e.createCheckoutPrepareOrderAction=function(){return new c(r.ACTION_CHECKOUT_PREPARE_ORDER)},e.createCheckoutSubmitOrderAction=function(){return new c(r.ACTION_CHECKOUT_SUBMIT_ORDER)},e.createCheckoutUpdateFormAction=function(e){return new c(r.ACTION_CHECKOUT_UPDATE_FORM,e)},e.createChildCartItemsLoadAction=function(e={}){return new c(r.ACTION_CHILD_CART_ITEMS_LOAD,e)},e.createCommonQuantityUpdateAction=function(e){return new c(r.ACTION_COMMON_QUANTITY_UPDATE,{quantity:e})},e.createCommunicationSubscriptionsChangeAction=function(e){return new c(r.ACTION_COMMUNICATION_SUBSCRIPTIONS_CHANGED,e)},e.createCouponApplyAction=function(e){return new c(r.ACTION_COUPON_APPLY,e)},e.createCouponDeleteAction=function(e){return new c(r.ACTION_COUPON_DELETE,e)},e.createLoadMoreAction=function(e){return new c(r.ACTION_LOAD_MORE,e)},e.createLoadPreviousAction=function(e){return new c(r.ACTION_LOAD_PREVIOUS,e)},e.createMyAccountProfileAddMobileAction=function(e){return new c(r.ACTION_MY_PROFILE_ADD_MOBILE,e)},e.createMyAccountProfileOtpInitAction=function(e){return new c(r.ACTION_MY_PROFILE_INIT_OTP,e)},e.createMyAccountProfileOtpVerifyAction=function(e){return new c(r.ACTION_MY_PROFILE_VERIFY_OTP,e)},e.createMyAccountProfilePasswordResetAction=function(e){return new c(r.ACTION_MY_PROFILE_RESET_PASSWORD,e)},e.createMyAccountProfileUpdateAction=function(e){return new c(r.ACTION_MY_PROFILE_UPDATE,e)},e.createOrderAccessValidateAction=function(e){return new c(r.ACTION_ORDER_ACCESS_VALIDATE,e)},e.createPaymentSpmDataRefreshAction=function(){return new c(r.ACTION_PAYMENT_SPM_DATA_REFRESH)},e.createPaymentSpmDeleteAction=function(e){return new c(r.ACTION_PAYMENT_SPM_DELETE,{savedPaymentMethodId:e})},e.createPaymentSpmGetDependentsAction=function(e){return new c(r.ACTION_PAYMENT_SPM_GET_DEPENDENTS,{savedPaymentMethodId:e})},e.createPaymentSpmLoadMoreAction=function(){return new c(r.ACTION_PAYMENT_SPM_LOAD_MORE)},e.createPaymentSpmMarkDefaultAction=function(e){return new c(r.ACTION_PAYMENT_SPM_MARK_DEFAULT,{savedPaymentMethodId:e})},e.createPaymentSpmShareAction=function(e){return new c(r.ACTION_PAYMENT_SPM_SHARE,{savedPaymentMethodId:e})},e.createProductQuantityUpdateAction=function(e,t,n=!0){return new c(r.ACTION_PRODUCT_QUANTITY_UPDATE,{productId:e,quantity:t,isValid:n})},e.createProductSubscriptionUpdateAction=function(e="",t){return new c(r.ACTION_PRODUCT_SUBSCRIPTION_UPDATE,{productSellingModelId:e,subscriptionTerm:t})},e.createProductVariantUpdateAction=function(e,t){return new c(r.ACTION_PRODUCT_VARIANT_UPDATE,{options:e,isValid:t})},e.createSearchCategoryClearAction=function(){return new c(r.ACTION_SEARCH_CATEGORY_CLEAR)},e.createSearchFilterPanelUpdateAction=function(e){return new c(r.ACTION_SEARCH_FILTER_PANEL_SECTION_UPDATE,e)},e.createSearchFiltersClearAction=function(e=!0){return new c(r.ACTION_SEARCH_FILTERS_CLEAR,{shouldClearCategories:e})},e.createSearchFiltersUpdateAction=function(e){return new c(r.ACTION_SEARCH_FILTERS_UPDATE,e)},e.createSearchOpenFilterPanelAction=function(e){return new c(r.ACTION_SEARCH_OPEN_FILTER_PANEL,e)},e.createSearchSortUpdateAction=function(e){return new c(r.ACTION_SEARCH_SORT_UPDATE,{sortRuleId:e})},e.createSplitShipmentAddressesCreateAction=function(e){return new c(r.ACTION_SPLIT_SHIPMENT_ADDRESSES_CREATE,e)},e.createSplitShipmentCartItemDeleteAction=function(e){return new c(r.ACTION_SPLIT_SHIPMENT_CART_ITEM_DELETE,{cartItemId:e})},e.createSplitShipmentCartItemMoveAction=function(e,t){return new c(r.ACTION_SPLIT_SHIPMENT_CART_ITEM_MOVE,{cartItemId:e,deliveryGroupId:t})},e.createSplitShipmentCartItemQuantityUpdateAction=function(e,t){return new c(r.ACTION_SPLIT_SHIPMENT_CART_ITEM_QUANTITY_UPDATE,{cartItemId:e,quantity:t})},e.createSplitShipmentCartItemSplitAction=function(e,t,n){return new c(r.ACTION_SPLIT_SHIPMENT_CART_ITEM_SPLIT,{cartItemId:e,productId:t,deliveryGroupId:n})},e.createSplitShipmentDeliveryGroupAddAction=function(e,t){return new c(r.ACTION_SPLIT_SHIPMENT_DELIVERY_GROUP_ADD,{deliveryAddress:e,deliveryGroupName:t})},e.createSplitShipmentMergeSaveAction=function(){return new c(r.ACTION_SPLIT_SHIPMENT_MERGE_SAVE)},e.createSplitShipmentPageLoadAction=function(e,t){return new c(r.ACTION_SPLIT_SHIPMENT_PAGE_LOAD,{pageNumber:e,pageSize:t})},e.createSplitShipmentSaveAction=function(){return new c(r.ACTION_SPLIT_SHIPMENT_SAVE)},e.createWishlistItemAddAction=function(e){return new c(r.ACTION_WISHLIST_ITEM_ADD,{wishlistItemInput:{productId:e}})},e.createWishlistItemDeleteAction=function(e){return new c(r.ACTION_WISHLIST_ITEM_DELETE,{wishlistItemId:e})},e.dispatchAction=function(e,n,r){if("undefined"==typeof window)return!0;const{type:c,payload:A}=n,{onSuccess:o,onError:i}=r??{};return e.dispatchEvent(new t.DataProviderActionEvent(c,A,{onSuccess:e=>{o?.(e)},onError:e=>{i?.(e)}}))},e.dispatchActionAsync=function(e,n){return new Promise((r,c)=>{const{type:A,payload:o}=n;e.dispatchEvent(new t.DataProviderActionEvent(A,o,{onSuccess:e=>r(e),onError:e=>c(e)}))})}
645,Object.defineProperty(e,"__esModule",{value:!0})});
646})();(function() { LWR.define("commerce/addToSecondaryCart",["exports","lwc","lightning/spinner","lightning/menuItem","lightning/buttonMenu","lightning/navigation","commerce/actionApi","commerce/contextApi","@salesforce/label/B2B_Buyer_Cart.addToSecondaryCart","@salesforce/label/B2B_Buyer_Cart.itemsLabel","@salesforce/label/B2B_Buyer_Cart.addToSecondaryCartSuccessToast","@salesforce/label/B2B_Buyer_Cart.addToSecondaryCartFailureToast","@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsNoResult","@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsErrorLine1","@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsErrorLine2","@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsLoading","commerce/toast"],function(e,t,r,a,n,s,o,i,c,l,d,u,h,p,f,m,g){function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=y(r),C=y(a),S=y(n),v=y(c),b=y(l),L=y(d),M=y(u),T=y(h),x=y(p),E=y(f),w=y(m),A=y(g);var N=[function(e,t,r){var a=e?"["+e+"]":"";return".menu-info-item"+a+" {display: flex;flex-direction: row;align-items: center;gap: 0.5rem;padding: 0.5rem 0.75rem;font-size: var(--dxp-s-body-small-font-size, 0.8725rem);line-height: 1.5;color: var(--dxp-g-root-contrast, #1c1c1c);background-color: var(--dxp-g-root, #fff);cursor: default;list-style: none;pointer-events: none;white-space: normal;}.menu-info-item_loading"+a+" {min-width: 160px;gap: 0.75rem;}.menu-info-item_vertical"+a+" {flex-direction: column;align-items: flex-start;gap: 0.125rem;}.menu-info-item"+a+" lightning-spinner"+a+" {position: relative;width: 1rem;height: 1rem;flex-shrink: 0;}.secondary-cart-menu-item"+a+" {--dxp-s-dropdown-text-color-hover: var(--dxp-s-dropdown-text-color, var(--dxp-g-root-contrast));}"}];const B=t.parseFragment`<span class="slds-assistive-text${0}" data-add-to-secondary-cart-a11y="assertive" role="alert" aria-live="assertive" aria-atomic="true"${2}>${"t1"}</span>`,I=t.parseFragment`<span class="slds-assistive-text${0}" data-add-to-secondary-cart-a11y="polite" role="status" aria-live="polite" aria-atomic="true"${2}>${"t1"}</span>`,$=t.parseFragment`<span${3}>${"t1"}</span>`,F=t.parseFragment`<li class="menu-info-item${0}" role="presentation"${2}><span${3}>${"t2"}</span></li>`,P=t.parseFragment`<li class="menu-info-item menu-info-item_vertical${0}" role="presentation"${2}><span${3}>${"t2"}</span><span${3}>${"t4"}</span></li>`,k={classMap:{"menu-content":!0},key:6},O={classMap:{"menu-info-item":!0,"menu-info-item_loading":!0},attrs:{role:"presentation"},key:8},q={"secondary-cart-menu-item":!0};function R(e,t,r,a){const{d:n,sp:s,st:o,fr:i,b:c,c:l,h:d,k:u,i:h}=e,{_m0:p}=a;return[t._showAssistiveErrorMirror?i(0,[o(B,2,[s(1,null,n(t._assistiveErrorStatusText))])],0):t._showAssistivePoliteMirror?i(0,[o(I,4,[s(1,null,n(t._assistivePoliteStatusText))])],0):null,l("lightning-button-menu",S.default,{props:{label:t._addToSecondaryCartLabel,disabled:t.disabled,iconName:"utility:chevrondown",menuAlignment:"left",variant:"container"},key:5,on:p||(a._m0={open:c(t.handleSecondaryCartMenuOpen),select:c(t.handleAddToSecondaryCart)})},[d("div",k,[t._showLoading?i(7,[d("li",O,[l("lightning-spinner",_.default,{props:{alternativeText:t._fetchSecondaryCartsLoadingLabel,size:"x-small"},key:9}),o($,11,[s(1,null,n(t._fetchSecondaryCartsLoadingLabel))])])],0):t._hasSecondaryCarts?i(7,h(t.secondaryCarts,function(e){return l("lightning-menu-item",C.default,{classMap:q,props:{value:e.id,label:e.label},key:u(12,e.id)})}),0):t._hasNoSecondaryCarts?i(7,[o(F,14,[s(2,null,n(t._fetchSecondaryCartsNoResultLabel))])],0):t._showFetchError?i(7,[o(P,16,[s(2,null,n(t._fetchSecondaryCartsErrorLine1Label)),s(4,null,n(t._fetchSecondaryCartsErrorLine2Label))])],0):null])])]}var U=t.registerTemplate(R);R.renderMode="light",R.stylesheets=[],R.stylesheetToken="lwc-3ilthg1v9qm",R.legacyStylesheetToken="commerce-addToSecondaryCart_addToSecondaryCart",N&&R.stylesheets.push.apply(R.stylesheets,N),t.freezeTemplate(R);const z="...";function D(e){return void 0===e||e.length<=25?e:e.substring(0,22)+z}function G(e){if("number"==typeof e)return(Number.isFinite(e)&&e>=0?Math.trunc(e):0)||0;const t=Number.parseInt(e??"0",10);return(Number.isNaN(t)||t<0?0:t)||0}function j(e,t,r){return String(G("UniqueProductCount"===e?r:t))}function X(e,t,r,a=!0){if(!e)return e;if(!a)return e;return`${e} (${G(t)} ${r})`}function H(e,t){A.default.show({label:e,variant:"error"},t)}class V extends t.LightningElement{constructor(...e){super(...e),this.navContext=void 0,this.disabled=void 0,this.productId=void 0,this.quantity=void 0,this.productName=void 0,this.showItemCount=!1,this.countType=void 0,this.sessionContext=void 0,this.secondaryCarts=[],this._isMenuPopulated=!1,this._hasFetchError=!1,this._hasUserOpenedSecondaryMenu=!1}get _addToSecondaryCartLabel(){return v.default}get _fetchSecondaryCartsNoResultLabel(){return T.default}get _fetchSecondaryCartsErrorLine1Label(){return x.default}get _fetchSecondaryCartsErrorLine2Label(){return E.default}get _fetchSecondaryCartsLoadingLabel(){return w.default}get _showLoading(){return!this._isMenuPopulated}get _showFetchError(){return this._isMenuPopulated&&this._hasFetchError}get _hasNoSecondaryCarts(){return this._isMenuPopulated&&!this._hasFetchError&&0===this.secondaryCarts.length}get _hasSecondaryCarts(){return this._isMenuPopulated&&!this._hasFetchError&&this.secondaryCarts.length>0}get _showAssistiveErrorMirror(){return this._hasUserOpenedSecondaryMenu&&this._showFetchError}get _assistiveErrorStatusText(){return`${this._fetchSecondaryCartsErrorLine1Label} ${this._fetchSecondaryCartsErrorLine2Label}`.trim()}get _showAssistivePoliteMirror(){return this._hasUserOpenedSecondaryMenu&&(this._showLoading||this._hasNoSecondaryCarts)}get _assistivePoliteStatusText(){return this._showLoading?this._fetchSecondaryCartsLoadingLabel:this._hasNoSecondaryCarts?this._fetchSecondaryCartsNoResultLabel:""}formatToastMessage(e,t,r){return e.replace("{0}",t).replace("{1}",r)}populateSecondaryCartMenuItems(){this._isMenuPopulated=!1;const e={pageSize:6,pageNumber:1,collaborationFilter:"All"};o.dispatchAction(this,o.createCartsGetAction(e),{onSuccess:e=>{const t=Array.isArray(e?.carts)?e.carts:[],r=!1!==this.showItemCount,a=this.sessionContext?.data?.userId?.substring(0,15);this.secondaryCarts=t.filter(e=>function(e,t){if(!0===e.isSecondary)return!0;
646if(t&&e.ownerId)return t!==e.ownerId.substring(0,15);return!1}(e,a)).slice(0,5).map(e=>{const t=j(this.countType,e.totalProductCount,e.uniqueProductCount);return{id:e.cartId,name:e.name,label:X(D(e.name),t,b.default,r)}}),this._hasFetchError=!1,this._isMenuPopulated=!0},onError:()=>{this.secondaryCarts=[],this._hasFetchError=!0,this._isMenuPopulated=!0}})}handleSecondaryCartMenuOpen(e){const t=this.sessionContext?.data?.isLoggedIn;if(!t)return e.preventDefault(),e.stopPropagation(),void this.navigateToLogin();this._hasUserOpenedSecondaryMenu=!0,this.populateSecondaryCartMenuItems()}handleAddToSecondaryCart(e){const t=e?.detail?.value,r=this.productId;if(!t||!r)return;const a=this.secondaryCarts.find(e=>e.id===t),n=D(a?.name),s=D(this.productName),i={quantity:this.quantity,options:{cartId:t}};o.dispatchAction(this,o.createCartItemAddAction(r,i),{onSuccess:()=>{var e,t;e=this.formatToastMessage(L.default,s,n),t=this,A.default.show({label:e,variant:"success"},t)},onError:e=>{const t=function(e){const t=e?.errors;if(Array.isArray(t)&&"INSUFFICIENT_ACCESS"===t[0]?.type)return t[0].message}(e);H(t??this.formatToastMessage(M.default,s,n),this)}})}navigateToLogin(){this.navContext&&s.navigate(this.navContext,{type:"comm__namedPage",attributes:{name:"Login"}})}}V.renderMode="light",t.registerDecorators(V,{publicProps:{disabled:{config:0},productId:{config:0},quantity:{config:0},productName:{config:0},showItemCount:{config:0},countType:{config:0}},wire:{navContext:{adapter:s.NavigationContext,config:function(e){return{}}},sessionContext:{adapter:i.SessionContextAdapter,config:function(e){return{}}}},fields:["secondaryCarts","_isMenuPopulated","_hasFetchError","_hasUserOpenedSecondaryMenu"]});const Y=t.registerComponent(V,{tmpl:U,sel:"commerce-add-to-secondary-cart",apiVersion:66,enableSyntheticElementInternals:!0});e.MAX_NAME_LENGTH=25,e.MAX_SECONDARY_CARTS=5,e.TRAILING_DOTS=z,e.default=Y,e.getCartCountByType=j,e.getCartMenuLabel=X,e.getTruncatedName=D,e.showSecondaryCartErrorToast=H,Object.defineProperty(e,"__esModule",{value:!0})});
647})();(function() { LWR.define("commerce_cart/badge",["exports","lwc","lightning/spinner","commerce/pill","lightning/buttonMenu","lightning/navigation","commerce/checkoutCartApi","commerce/contextApi","@salesforce/label/Commerce_Cart_Badge.itemsInCart","@salesforce/label/Commerce_Cart_Badge.itemInCart","@salesforce/label/Commerce_Cart_Badge.productTypesInCart","@salesforce/label/Commerce_Cart_Badge.productTypeInCart","@salesforce/label/Commerce_Cart_Badge.emptyCart","@salesforce/label/Commerce_Cart_Error_Messages.preserveGuestCartErrorTitle","@salesforce/label/Commerce_Cart_Error_Messages.preserveGuestCartErrorMessage","@salesforce/label/Commerce_MultiCart_Badge.viewAllCartsLabel","@salesforce/label/B2B_Buyer_Cart.itemsLabel","@salesforce/label/Commerce_MCM_Cart_Details_Card.defaultCartTypePillLabel","@salesforce/label/Commerce_MultiCart_Badge.loadingCarts","@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsErrorLine1","@salesforce/label/B2B_Buyer_Cart.fetchSecondaryCartsErrorLine2","experience/styling","commerce/toast","@salesforce/community/basePath","commerce/checkoutCartApiInternal","commerce/addToSecondaryCart"],function(t,e,a,r,s,i,n,o,l,c,d,u,p,m,g,h,C,f,b,v,_,x,w,k,y,L){function M(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var $=M(a),I=M(r),S=M(s),T=M(l),O=M(c),B=M(d),A=M(u),P=M(p),E=M(m),z=M(g),F=M(h),D=M(C),U=M(f),N=M(b),q=M(v),H=M(_),W=M(w),G=M(k);function j(t,e,a){var r=t?"."+t:"";return(e?":host {":(t?"."+t+"-host":"")+" {")+"padding: var(--com-c-unified-cart-badge-padding);}.cart-container"+r+" {display: inline-flex;align-items: center;position: relative;}a"+r+" svg"+r+",button"+r+" svg"+r+" {--sds-c-icon-color-foreground-default: var(\n --com-c-unified-cart-badge-link-color,\n var(--dxp-s-button-color, var(--dxp-g-brand))\n );}a:focus-visible"+r+" {outline: 2px auto var(--dxp-c-link-color-outline-focus, var(--dxp-s-button-color-focus, var(--dxp-g-brand-1)));}a:hover"+r+" svg"+r+",a:focus"+r+" svg"+r+",button:hover"+r+" svg"+r+",button:focus"+r+" svg"+r+" {--sds-c-icon-color-foreground-default: var(\n --com-c-unified-cart-badge-link-color-hover,\n var(--dxp-s-button-color-hover, var(--dxp-g-brand-1))\n );}button.slds-button_icon"+r+" {border: none;padding: 0;background: none;}button.slds-button_icon:hover"+r+",button.slds-button_icon:focus"+r+" {background: none;}.slds-notification-badge"+r+" {background: var(--lwc-colorBackgroun
647dNotificationBadge, rgb(234, 0, 30));}.show-notification"+r+" {opacity: 1;}.cart-list-wrapper"+r+" {position: relative;display: inline-flex;align-items: center;vertical-align: middle;min-height: 2rem;}.cart-list-wrapper"+r+'::before {content: "";position: absolute;left: 0;top: 0;width: 100%;height: 100%;background-color: var(--dxp-s-header-background-color, var(--lwc-colorBackground, #fff));background-image: var(--cart-list-icon-url);background-size: contain;background-repeat: no-repeat;background-position: center;pointer-events: none;z-index: 1;}.cart-list-menu'+r+" {--sds-c-button-shadow-focus: none;--slds-c-button-shadow-focus: none;}.cart-list-wrapper"+r+'::after {content: "";position: absolute;left: -3px;top: -3px;right: -3px;bottom: -3px;border: 2px solid transparent;border-radius: 4px;pointer-events: none;z-index: 2;}.cart-list-wrapper:focus-within'+r+"::after {border-color: var(--dxp-g-brand, #0176d3);}.cart-list-wrapper.menu-open:focus-within"+r+"::after {border-color: transparent;}.cart-list-wrapper.menu-open"+r+" .cart-list-item:focus-within"+r+" ~ *"+r+",.cart-list-wrapper.menu-open"+r+" .cart-list-item:focus"+r+" {}.cart-list-wrapper"+r+" ~ .slds-notification-badge.show-notification"+r+" {all: unset !important;position: absolute !important;top: -0.375rem !important;left: 0.9rem !important;z-index: 2 !important;background: var(--lwc-colorBackgroundNotificationBadge, rgb(234, 0, 30)) !important;color: #fff !important;height: 1rem !important;min-width: 1rem !important;padding: 0 0.125rem !important;border-radius: 0.5rem !important;display: inline-flex !important;justify-content: center !important;align-items: center !important;font-size: 0.625rem !important;line-height: 1 !important;box-sizing: border-box !important;}.cart-list-item"+r+" {display: flex;align-items: center;gap: var(--dxp-g-spacing-small, 0.75rem);min-width: 18.75rem;padding: var(--dxp-g-spacing-small, 0.75rem) var(--dxp-g-spacing-medium, 1rem) var(--dxp-g-spacing-small, 0.75rem) var(--dxp-g-spacing-large, 1.5rem);font-size: var(--dxp-g-font-size-2, 0.75rem);line-height: 1.5;cursor: pointer;white-space: nowrap;}.cart-list-item:hover"+r+" {background-color: var(--slds-g-color-neutral-base-95, #f3f3f3);color: var(--dxp-g-root-contrast, #1c1c1c);}.cart-list-item-label"+r+" {flex: 1;min-width: 0;}.cart-list-default-pill"+r+" {--com-c-pill-background-color: #d9dfe7;--com-c-pill-border-color: #d9dfe7;--com-c-pill-border-radius: 0.5rem;--com-c-pill-text-color: var(--dxp-g-root-contrast);--com-c-pill-font-size: var(--dxp-g-font-size-2, 0.75rem);flex-shrink: 0;}.cart-list-state-container"+r+" {display: flex;flex-direction: column;align-items: center;justify-content: center;gap: var(--dxp-g-spacing-small, 0.75rem);min-width: 18.75rem;padding: var(--dxp-g-spacing-large, 1.5rem) var(--dxp-g-spacing-medium, 1rem);}.cart-list-menu-item"+r+" {display: flex;align-items: center;gap: 0.5rem;padding: 0.5rem 0.75rem;font-size: var(--dxp-g-font-size-3, 0.875rem);line-height: 1.5;color: var(--dxp-g-root-contrast, #1c1c1c);background-color: var(--dxp-g-root, #fff);cursor: default;list-style: none;pointer-events: none;white-space: normal;}.cart-list-menu-item_loading"+r+" {min-width: 10rem;gap: 0.75rem;}.cart-list-menu-item"+r+" lightning-spinner"+r+" {position: relative;width: 1rem;height: 1rem;flex-shrink: 0;}.cart-list-state-message"+r+" {font-size: var(--dxp-s-body-small-font-size, 0.8725rem);line-height: 1.5;color: var(--dxp-g-root-contrast, #1c1c1c);text-align: center;white-space: normal;}.cart-list-error"+r+" {cursor: default;}.cart-list-error_vertical"+r+" {align-items: flex-start;gap: 0.125rem;padding: 0.5rem 0.75rem;}.cart-list-error_vertical"+r+" .cart-list-state-message"+r+" {text-align: left;}.cart-list-item:focus"+r+",.cart-list-item:focus-visible"+r+" {outline: 2px solid var(--dxp-g-brand, #0176d3);outline-offset: -2px;background-color: #fff;}"}j.$scoped$=!0;var K=[j];const R=e.parseFragment`<button class="slds-button slds-button_icon slds-button_icon-border-filled${0}"${"a0:aria-expanded"}${2}><span class="slds-icon_container icon-container${0}"${"a1:title"}${2}><svg tabindex="-1" class="slds-icon slds-icon-text-default slds-icon_small slds-global-actions__notifications slds-global-actions__item-action${0}" aria-hidden="true"${2}><use${"a3:href"}${3}/></svg><span class="slds-assistive-text${0}"${2}>${"t5"}</span></span></button>`,V=e.parseFragment`<span${3}>${"t1"}</span>`,J=e.parseFragment`<div class="cart-list-state-container cart-list-error cart-list-error_vertical${0}" role="alert" aria-live="assertive"${2}><span class="cart-list-state-message${0}"${2}>${"t2"}</span><span class="cart-list-state-message${0}"${2}>${"t4"}</span></div>`,Q=e.parseFragment`<span class="slds-truncate cart-list-item-label${0}"${2}>${"t1"}</span>`,X=e.parseFragment`<div${"c0"} role="menuitem" tabindex="0" data-value="viewAll"${2}><span class="slds-truncate${0}"${2}>${"t2"}</span></div>`,Y=e.parseFragment`<a${"a0:href"}${3}><span class="slds-icon_container icon-container${0}"${"a1:title"}${2}><svg tabindex="-1" class="slds-icon slds-icon-text-default slds-icon_small slds-global-actions__notifications slds-global-actions__item-action${0}" aria-hidden="true"${2}><use${"a3:href"}${3}/></svg><span class="slds-assistive-text${0}"${2}>${"t5"}</span></span></a>`,Z=e.parseFragment`<span aria-hidden="true" class="slds-notification-badge show-notification${0}"${2}>${"t1"}</span>`,tt={"cart-container":!0,"slds-dropdown-trigger":!0},et={"data-automation":"cart-badge"},at={"cart-list-menu":!0}
647,rt={classMap:{"cart-list-menu-item":!0,"cart-list-menu-item_loading":!0},attrs:{role:"status","aria-live":"polite"},key:7},st={"slds-dropdown__item":!0,"cart-list-item":!0},it={"cart-list-default-pill":!0};function nt(t,a,r,s){const{b:i,d:n,sp:o,st:l,fr:c,ncls:d,c:u,h:p,k:m,i:g,f:h}=t,{_m0:C,_m1:f,_m2:b,_m3:v,_m4:_,_m5:x,_m6:w,_m7:k}=s;return[p("span",{classMap:tt,style:a.customStyles,attrs:et,key:0},[a.showMiniCart?c(1,[l(R,3,[o(0,{on:f||(s._m1={click:i(a.handleCartButtonIconClick)}),attrs:{"aria-expanded":a.displayMiniCart}},null),o(1,{attrs:{title:a.iconAssistiveText}},null),o(3,{attrs:{href:e.sanitizeAttribute("use","http://www.w3.org/2000/svg","href",a.iconUrl)}},null),o(5,null,n(a.iconAssistiveText))])],0):a.showCartsList?c(1,[p("span",{className:d(a._cartListWrapperClass),style:a._cartsListIconStyle,key:4},[u("lightning-button-menu",S.default,{classMap:at,props:{iconName:"utility:cart",variant:"bare",alternativeText:a.iconAssistiveText,title:a.iconAssistiveText,menuAlignment:"right"},key:5,on:b||(s._m2={open:i(a.handleCartsListOpen),close:i(a.handleCartsListClose)})},[a._isCartsLoading?c(6,[p("li",rt,[u("lightning-spinner",$.default,{props:{alternativeText:a._loadingCartsLabel,size:"x-small"},key:8}),l(V,10,[o(1,null,n(a._loadingCartsLabel))])])],0):a._isCartsError?c(6,[l(J,12,[o(2,null,n(a._loadCartsErrorLine1)),o(4,null,n(a._loadCartsErrorLine2))])],0):a._hasCartsLoaded?c(6,h([g(a._cartMenuItems,function(t){return p("div",{classMap:st,attrs:{role:"menuitem",tabindex:"0","data-value":t.id},key:m(13,t.id),on:v||(s._m3={click:i(a.handleCartSelect),keydown:i(a.handleKeyboardClick)})},[l(Q,15,[o(1,null,n(t.label))]),t.isDefault?c(16,[u("commerce-pill",I.default,{classMap:it,props:{labelText:a._defaultPillLabel},key:17})],0):null])}),l(X,19,[o(0,{on:x||(s._m5={click:i(a.handleCartSelect),keydown:i(a.handleKeyboardClick)}),className:d(a._viewAllCartsClass)},null),o(2,null,n(a._viewAllCartsLabel))])]),0):null])])],0):c(1,[l(Y,21,[o(0,{on:k||(s._m7={click:i(a.handleCartButtonIconClick)}),attrs:{href:a._cartPageUrl}},null),o(1,{attrs:{title:a.iconAssistiveText}},null),o(3,{attrs:{href:e.sanitizeAttribute("use","http://www.w3.org/2000/svg","href",a.iconUrl)}},null),o(5,null,n(a.iconAssistiveText))])],0),a.showBadge?l(Z,23,[o(1,null,n(a.badgeItemsCount))]):null])]}var ot=e.registerTemplate(nt);nt.renderMode="light",nt.stylesheets=[],nt.stylesheetToken="lwc-7p8nufqlag5",nt.legacyStylesheetToken="commerce_cart-badge_badge",K&&nt.stylesheets.push.apply(nt.stylesheets,K),e.freezeTemplate(nt);class lt extends e.LightningElement{constructor(...t){super(...t),this._displayMiniCart=!1,this.displayMiniCart=!1,this.showCount=!1,this.iconLinkColor=void 0,this.iconLinkHoverColor=void 0,this.countType=void 0,this.showMiniCart=!1,this.showCartsList=!1,this.isB2bStore=!1,this.defaultPillLabel=void 0,this.cartId=void 0,this.isLoggedIn=void 0,this.totalCartCount=void 0,this.badgeItemsCount=void 0,this._appContext=void 0,this._sessionContext=void 0,this.navContext=void 0,this.cartItems=void 0,this._cartMenuItems=[],this._totalCartsCount=0,this._cartsFetchState="idle",this._isCartsMenuOpen=!1,this._boundHandleOutsideClick=null,this._cartPageUrl=""}get iconUrl(){return`${G.default}/assets/icons/cart.svg#cart`}get _cartsListIconStyle(){return`--cart-list-icon-url: url(${G.default}/assets/images/cartBadgeWithChevron.svg)`}get hasItems(){return!!this.totalCartCount&&this.totalCartCount>0}get showBadge(){return this.showCount&&this.hasItems}get iconAssistiveText(){return function(t,e){let a,r;return 0===(e=Math.max(e??0,0))?P.default:("Total"===t?r=1===e?O.default:T.default:"Unique"===t&&(r=1===e?A.default:B.default),r&&(a=r.replace("{0}",e.toString())),a)}(this.countType,this.totalCartCount)}get _isMultiCartEnabled(){return Boolean(this._appContext?.data?.commerceMultiCartEnabled)}get customStyles(){return x.generateStyleProperties([{name:"--com-c-unified-cart-badge-link-color",value:this.iconLinkColor},{name:"--com-c-unified-cart-badge-link-color-hover",value:this.iconLinkHoverColor}])}cartStatus(t){if(t?.data?.preserveGuestCartNumberOfProductsWithError){const e={label:E.default,message:z.default?.replace("{0}",t?.data.preserveGuestCartNumberOfProductsWithError.toString()),variant:"error",mode:"dismissible"};W.default.show(e,this),n.cartStatusUpdate({preserveGuestCartNumberOfProductsWithError:0})}}get _defaultPillLabel(){return this.defaultPillLabel||U.default}get _isCartsLoading(){return"loading"===this._cartsFetchState}get _isCartsError(){return"error"===this._cartsFetchState}get _hasCartsLoaded(){return"success"===this._cartsFetchState}get _loadingCartsLabel(){return N.default}get _loadCartsErrorLine1(){return q.default}get _loadCartsErrorLine2(){return H.default}get _viewAllCartsClass(){const t="slds-dropdown__item cart-list-item";return this._cartMenuItems.length>0?`slds-has-divider_top-space ${t}`:t}get _cartListWrapperClass(){const t="cart-list-wrapper";return this._isCartsMenuOpen?`${t} menu-open`:t}get _viewAllCartsLabel(){return this._totalCartsCount>0?`${F.default} (${this._totalCartsCount})`:F.default}handleCartButtonIconClick(t){if(t.preventDefault(),this.showMiniCart)this.handleOpenMiniCart();else if(this.navContext){const t={type:"comm__namedPage",attributes:{name:"Current_Cart"}};this.cartId&&this._isMultiCartEnabled&&(t.state={recordId:this.cartId}),i.navigate(this.navContext,t)}}handleCartsListOpen(){this._isCartsMenuOpen=!0,this.fetchCarts(),this.addOutsideClickListener()}handleCartsListClose(){this._isCartsMenuOpen=!1,this.removeOutsideClickListener()}addOutsideClickListener(){this.removeOutsideClickListener(),this._boundHandleOutsideClick=this.handleOutsideClick.bind(this),setTimeout(()=>{document.addEventListener("click",this._boundHandleOutsideClick,!0)},0)}removeOutsideClickListener(){this._boundHandleOutsideClick&&(document.removeEventListener("click",this._boundHandleOutsideClick,!0),this._boundHandleOutsideClick=null)}handleOutsideClick(t){if(!this._isCartsMenuOpen)return;const e=this.querySelector(".cart-list-wrapper"),a=t.target;e&&!e.contains(a)&&(this.closeCartsDropdown(),this.focusMenuTrigger())}handleCartSelect(t){t.stopPropagation();const e=t.currentTarget?.dataset?.value;e&&this.navContext&&(this.closeCartsDropdown(),"viewAll"===e?this.navigateToCartListPage():this.navigateToCartPage(e))}handleKeyboardClick(t){const e=t.currentTarget;switch(t.key){case"Enter":case" ":t.preventDefault(),this.handleCartSelect(t);break;case"ArrowDown":t.preventDefault(),this.focusNextMenuItem(e);break;case"ArrowUp":t.preventDefault(),this.focusPreviousMenuItem(e);break;case"Home":t.preventDefault(),this.focusFirstMenuItem();break;case"End":t.preventDefault(),this.focusLastMenuItem();break;case"Escape":t.preventDefault(),this.closeCartsDropdown(),this.focusMenuTrigger();break;case"Tab":this.closeCartsDropdown()}}focusNextMenuItem(t){const e=t.nextElementSibling;e?.classList.contains("cart-list-item")?e.focus():this.focusFirstMenuItem()}focusPreviousMenuItem(t){const e=t.previousElementSibling;e?.classList.contains("cart-list-item")?e.focus():this.focusLastMenuItem()}focusFirstMenuItem(){const t=this.querySelector(".cart-list-item");t?.focus()}focusLastMenuItem(){const t=this.querySelectorAll(".cart-list-item"),e=t[t.length-1];e?.focus()}focusMenuTrigger(){const t=this.querySelector("lightning-button-menu"),e=t?.shadowRoot?.querySelector("button");e?.focus()}closeCartsDropdown(){if(!this._isCartsMenuOpen)return;this._isCartsMenuOpen=!1,this.removeOutsideClickListener();const t=this.querySelector("lightning-button-menu"),e=t?.shadowRoot?.querySelector("button");e&&e.click()}fetchCarts(){this._cartsFetchState="loading",y.getCarts({pageSize:5,pageNumber:1,collaborationFilter:"All"}).then(t=>{const e=Array.isArray(t?.carts)?t.carts:[];this._totalCartsCount=t?.total??e.length;const a=this.getCartsToShow(e);this._cartMenuItems=a.map(t=>({id:t.cartId??"",label:this.buildCartMenuLabel(t.name,t.totalProductCount,t.uniqueProductCount,t.cartId),isDefault:!1===t.isSecondary&&this.isOwnedByCurrentUser(t.ownerId)})),this._cartsFetchState="success"}).catch(()=>{this._cartMenuItems=[],this._totalCartsCount=0,this._cartsFetchState="error"})}isOwnedByCurrentUser(t){const e=this._sessionContext?.data?.userId?.substring(0,15);return!e||!t||t.substring(0,15)===e}getCartsToShow(t){const e=t.find(t=>!1===t.isSecondary&&this.isOwnedByCurrentUser(t.ownerId)),a=t.filter(t=>t!==e);return e?[e,...a.slice(0,4)]:a.slice(0,4)}navigateToCartListPage(){this.navContext&&i.navigate(this.navContext,{type:"comm__namedPage",attributes:{name:"Cart_List"}})}navigateToCartPage(t){this.navContext&&i.navigate(this.navContext,{type:"comm__namedPage",attributes:{name:"Current_Cart"},state:{recordId:t}}
647)}buildCartMenuLabel(t,e,a,r){const s="Unique"===this.countType;let i;return i=!s&&r&&r===this.cartId&&void 0!==this.totalCartCount?String(this.totalCartCount):s?String(a??0):e,this.showCount?L.getCartMenuLabel(L.getTruncatedName(t),i,D.default)??"":L.getTruncatedName(t)??""}connectedCallback(){this.navContext&&(this._cartPageUrl=i.generateUrl(this.navContext,{type:"comm__namedPage",attributes:{name:"Current_Cart"}}))}disconnectedCallback(){this.removeOutsideClickListener()}handleOpenMiniCart(){this.dispatchEvent(new CustomEvent("open"))}}lt.renderMode="light",e.registerDecorators(lt,{publicProps:{displayMiniCart:{config:0},showCount:{config:0},iconLinkColor:{config:0},iconLinkHoverColor:{config:0},countType:{config:0},showMiniCart:{config:0},showCartsList:{config:0},isB2bStore:{config:0},defaultPillLabel:{config:0},cartId:{config:0},isLoggedIn:{config:0},totalCartCount:{config:0},badgeItemsCount:{config:0},cartItems:{config:0}},wire:{_appContext:{adapter:o.AppContextAdapter,config:function(t){return{}}},_sessionContext:{adapter:o.SessionContextAdapter,config:function(t){return{}}},navContext:{adapter:i.NavigationContext,config:function(t){return{}}},cartStatus:{adapter:n.CartStatusAdapter,method:1,config:function(t){return{}}}},fields:["_displayMiniCart","_cartMenuItems","_totalCartsCount","_cartsFetchState","_isCartsMenuOpen","_boundHandleOutsideClick","_cartPageUrl"]});
647const ct=e.registerComponent(lt,{tmpl:ot,sel:"commerce_cart-badge",apiVersion:66,enableSyntheticElementInternals:!0});t.default=ct,Object.defineProperty(t,"__esModule",{value:!0})});
648})();LWR.define('@salesforce/gate/com.salesforce.commerce.cart.miniCartOptimisticCountDisabled', [], () => {const gateObj = {
649    isOpen: (fallbackObj) => false,
650    hasError: () => false,
651};
652return Object.freeze(gateObj);});(function() { LWR.define("commerce_builder/utils",["exports"],function(e){function t(e){const t=Number(e);if(!isFinite(t))return 0;if(Math.floor(t.valueOf())===t.valueOf())return 0;const n=t.toString().split(".");return n.length>1?n[1].length:0}e.addAndFormatValues=function(...e){const n=e.map(e=>isFinite(e)?e:0),i=Math.max(0,...n.map(e=>t(e)));return n.reduce((e,t)=>e+t,0).toFixed(i)},e.getNumberOfDecimalPlaces=t,Object.defineProperty(e,"__esModule",{value:!0})});
653})();(function() { LWR.define("commerce_builder/cartBadge",["exports","@salesforce/loader","lwc","commerce_cart/badge","commerce/contextApi","commerce/checkoutCartApi","@salesforce/i18n/locale","@salesforce/label/Commerce_Cart_Badge.maximumCount","@salesforce/label/Commerce_ProductsAddedToCart.successfullyAddedToCartPopupMessage","@salesforce/label/Commerce_Cart_Badge.headerText","@salesforce/label/Commerce_Cart_Badge.checkoutButtonText","@salesforce/label/Commerce_Cart_Badge.continueShoppingButtonText","@salesforce/label/Commerce_Cart_Badge.viewCartButtonText","@salesforce/gate/com.salesforce.commerce.cart.miniCartOptimisticCountDisabled","commerce_builder/utils"],function(t,i,e,o,n,a,r,s,u,c,d,l,C,h,p){function m(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var T=m(o),f=m(r),g=m(s),b=m(u),_=m(c),y=m(d),S=m(l),B=m(C),I=m(h);function x(t,i,e,o){const{b:n,c:a,fr:r,dc:s}=t,{_m0:u,_m1:c}=o;return[i._showBadge?r(0,[a("commerce_cart-badge",T.default,{props:{showCount:i.showCount,countType:i._countType,iconLinkColor:i.iconLinkColor,iconLinkHoverColor:i.iconLinkHoverColor,badgeItemsCount:i.badgeItemsCount,totalCartCount:i._totalCartCount,showMiniCart:i._miniCartEnabled,displayMiniCart:i.displayMiniCart,showCartsList:i.showCartsList,defaultPillLabel:i.defaultPillLabel,cartId:i._cartId,isLoggedIn:i._isLoggedIn,isB2bStore:i.isB2bStore},key:1,on:u||(o._m0={open:n(i.handleOpenMiniCart)})})],0):null,i.displayMiniCart?r(2,[s(i.miniCartPanelConstructor,{props:{headerText:i._headerText,totalCartCount:i._totalCartCount,checkoutButtonText:i._checkoutButtonText,checkoutButtonSize:i.checkoutButtonSize,showContinueShoppingButton:i.showContinueShoppingButton,continueShoppingButtonText:i._continueShoppingButtonText,continueShoppingButtonSize:i.continueShoppingButtonSize,showExpressCheckoutButton:i.showExpressCheckoutButton,expressCheckoutPmsId:i.paymentMethodSetId,expressCheckoutUseManualCapture:i.useManualCapture,showViewCartButton:i.showViewCartButton,viewCartButtonText:i._viewCartButtonText,viewCartButtonSize:i.viewCartButtonSize,recommendationHeaderText:i.recommendationHeaderText,recommendationPriceDisplayType:i.recommendationPriceDisplayType,showRecommendation:i.showRecommendation,isB2bStore:i.isB2bStore},key:3,on:c||(o._m1={close:n(i.handleCloseMiniCart)})})],0):null]}var A=e.registerTemplate(x);x.renderMode="light",x.stylesheets=[],x.stylesheetToken="lwc-175fu5spuqf",x.legacyStylesheetToken="commerce_builder-cartBadge_cartBadge",e.freezeTemplate(x);const v=0,w=new Intl.NumberFormat(f.default,{maximumFractionDigits:20});function M(t,i){const e=t,o=e.get?.("cartContentsAdapter"),n=function(t){if(!t||t instanceof Error)return;const i=t;if(i.cartItems)return i;if("object"==typeof t){const i=Object.values(t);for(const t of i){const i=t;if(i?.data?.cartItems)return i.data}}}(o);if(!n)return;const a=n.cartItems?.find(t=>t.cartItem?.cartItemId===i),r=a?.cartItem?.quantity;return void 0!==r?Number(r):void 0}class P extends e.LightningElement{constructor(...t){super(...t),this.miniCartPanelConstructor=void 0,this.addItemToCartActionSubscription=void 0,this.addItemsToCartActionSubscription=void 0,this.addConfigurationToCartSubscription=void 0,this.optimisticCountSubscriptions=[],this.optimisticTotalCount=void 0,this.displayMiniCart=!1,this.showCount=!1,this.iconLinkColor=void 0,this.iconLinkHoverColor=void 0,this.countType=void 0,this.showMiniCartProperties=!1,this.showMiniCart=!1,this.showCartsList=!1,this.headerText=void 0,this.checkoutButtonText=void 0,this.checkoutButtonSize=void 0,this.showContinueShoppingButton=!1,this.continueShoppingButtonText=void 0,this.continueShoppingButtonSize=void 0,this.showExpressCheckoutButton=!1,this.useManualCapture=!1,this.paymentMethodSetId=void 0,this.showViewCartButton=!1,this.viewCartButtonText=void 0,this.viewCartButtonSize=void 0,this.recommendationHeaderText=void 0,this.recommendationPriceDisplayType=void 0,this.showRecommendation=!1,this.defaultPillLabel=void 0,this.appContext=void 0,this.sessionContext=void 0,this.isB2bStore=!1,this.cart=void 0}get _showBadge(){return Boolean(void 0!==this.appContext?.data?.guestCartEnabled&&void 0!==this.sessionContext?.data?.isLoggedIn||this.appContext?.error||this.sessionContext?.error)}get _miniCartEnabled(){return this.showMiniCart&&Boolean(this.sessionContext?.data?.isLoggedIn||this.appContext?.data?.guestCartEnabled)}get _isLoggedIn(){return Boolean(this.sessionContext?.data?.isLoggedIn)}cartHandler(t){this.cart=t,void 0!==this.optimisticTotalCount&&this.shouldUseOptimisticCount&&!t.loading&&(this.optimisticTotalCount=void 0)}get _countType(){return"UniqueProductCount"===this.countType?"Unique":"Total"}get _totalCartCount(){return this.shouldUseOptimisticCount&&void 0!==this.optimisticTotalCount?this.optimisticTotalCount:this.cart?.data?this.setTotalCartCount(this._countType,this.cart.data):v}get _cartId(){return this.cart?.data?.cartSummary?.cartId}get badgeItemsCount(){return function(t,i){let e;return null!=t&&t>0&&(e=t>i?g.default.replace("{maximumCount}",w.format(i)):w.format(t)),e}(this._totalCartCount,999)}get _headerText(){return this.headerText?this.headerText:_.default}get _checkoutButtonText(){return this.checkoutButtonText?this.checkoutButtonText:y.default}get _viewCartButtonText(){return this.viewCartButtonText?this.viewCartButtonText:B.default}get _continueShoppingButtonText(){return this.continueShoppingButtonText?this.continueShoppingButtonText:S.default}setTotalCartCount(t,i){let e=0;return"Total"===t?e=Number(i.cartSummary?.totalProductCount):"Unique"===t&&(e=Number(i.cartSummary?.uniqueProductCount)),isNaN(e)&&(e=0),e}connectedCallback(){const t=this.handlePreItemAdded.bind(this),i=this.handlePostItemAdded.bind(this),e=this.handlePreAddConfiguration.bind(this),o=this.handlePostAddConfiguration.bind(this);this.addItemToCartActionSubscription=a.onAddItemToCart(t,i),this.addItemsToCartActionSubscription=a.onAddItemsToCart(t,i),this.addConfigurationToCartSubscription=a.onAddConfigurationToCart(e,o),this.subscribeOptimisticCountUpdates()}disconnectedCallback(){this.addItemToCartActionSubscription?.unsubscribe(),this.addItemsToCartActionSubscription?.unsubscribe(),this.addConfigurationToCartSubscription?.unsubscribe(),this.optimisticCountSubscriptions.forEach(t=>t?.unsubscribe()),this.optimisticCountSubscriptions=[]}isSecondaryCartAction(t){const i=t?.payload,e=i?.options?.cartId||i?.cartId;if(!e||"current"===e)return!1;const o=this.cart?.data?.cartSummary?.cartId;return e!==o}handlePreItemAdded(t){!this.isSecondaryCartAction(t)&&this._miniCartEnabled&&this.loadAndDisplayMiniCart()}handleOpenMiniCart(){this._miniCartEnabled&&this.loadAndDisplayMiniCart()}handleCloseMiniCart(){this.displayMiniCart=!1}handlePreAddConfiguration(){this._miniCartEnabled&&this.loadMiniCartPanel()}handlePostAddConfiguration(t){this._miniCartEnabled&&(this.displayMiniCart=!0),this.handlePostItemAdded(t)}async handlePostItemAdded(t){if(!this.isSecondaryCartAction(t)&&!this._miniCartEnabled){const{handleAddToCartSuccessWithToast:e}=await i.load("commerce_product_details/addToCartUtils"),o=t.payload;"ACTION_CART_ITEMS_ADD"===t.type&&o.hasErrors||e(b.default,this)}}loadMiniCartPanel(){return this.miniCartPanelConstructor?Promise.resolve():i.load("commerce_cart/miniCartPanel").then(({default:t})=>{this.miniCartPanelConstructor=t})}loadAndDisplayMiniCart(){this.loadMiniCartPanel().then(()=>{this.displayMiniCart=!0})}get shouldUseOptimisticCount(){return t=this._countType,!I.default.isOpen({fallback:!1})&&"Total"===t;var t}subscribeOptimisticCountUpdates(){if(!this.shouldUseOptimisticCount)return;const t=(t,i)=>{this.handleOptimisticCountUpdate(t,i)};this.optimisticCountSubscriptions=[a.onAddItemToCart(t),a.onAddConfigurationToCart(t),a.onUpdateConfigurationOnCart(t),a.onCartItemDelete(t),a.onCartItemUpdate(t),a.onCartDelete(t)]}handleOptimisticCountUpdate(t,i){if(!this.shouldUseOptimisticCount)return;if(this.isSecondaryCartAction(t))return;if("ACTION_CART_DELETE"===t.type)return void(this.optimisticTotalCount=v);const e=function(t,i){if("ACTION_CART_ITEM_ADD"===t.type){const i=t.payload?.quantity??1;return Number(i)}if("ACTION_CART_ITEM_ADD_CONFIGURATION"===t.type){const i=t.payload?.quantity;return void 0!==i?Number(i):null}if("ACTION_CART_ITEM_UPDATE"===t.type){const e=t.payload,o=e?.itemId,n=e?.quantity;if(!o||void 0===n)return null;const a=M(i,o);return void 0===a?null:n-a}if("ACTION_CART_ITEM_UPDATE_CONFIGURATION"===t.type){const e=t.payload,o=e?.itemId,n=e?.quantity;if(!o||void 0===n)return null;const a=M(i,o);return void 0===a?null:n-a}if("ACTION_CART_ITEM_DELETE"===t.type){const e=t.payload,o=e?.itemId;if(!o)return null;const n=M(i,o);return void 0!==n?-n:-1}return null}(t,i);if(null===e||0===e||Number.isNaN(e))return;const o=void 0!==this.optimisticTotalCount?this.optimisticTotalCount:function(t,i){const e=Number(t?.cartSummary?.totalProductCount);return isNaN(e)?i:e}(this.cart?.data,v),n=Number(p.addAndFormatValues(o,e));Number.isNaN(n)||(this.optimisticTotalCount=n<0?0:n)}}P.renderMode="light",e.registerDecorators(P,{publicProps:{showCount:{config:0},iconLinkColor:{config:0},iconLinkHoverColor:{config:0},countType:{config:0},showMiniCartProperties:{config:0},showMiniCart:{config:0},showCartsList:{config:0},headerText:{config:0},checkoutButtonText:{config:0},checkoutButtonSize:{config:0},showContinueShoppingButton:{config:0},continueShoppingButtonText:{config:0},continueShoppingButtonSize:{config:0},showExpressCheckoutButton:{config:0},useManualCapture:{config:0},paymentMethodSetId:{config:0},showViewCartButton:{config:0},viewCartButtonText:{config:0},viewCartButtonSize:{config:0},recommendationHeaderText:{config:0},recommendationPriceDisplayType:{config:0},showRecommendation:{config:0},defaultPillLabel:{config:0},isB2bStore:{config:0}},wire:{appContext:{adapter:n.AppContextAdapter,config:function(t){return{}}},sessionContext:{adapter:n.SessionContextAdapter,config:function(t){return{}}},cartHandler:{adapter:a.CartAdapter,method:1,config:function(t){return{}}}},fields:["miniCartPanelConstructor","addItemToCartActionSubscription","addItemsToCartActionSubscription","addConfigurationToCartSubscription","optimisticCountSubscriptions","optimisticTotalCount","displayMiniCart","cart"]});const k=e.registerComponent(P,{tmpl:A,sel:"commerce_builder-cart-badge",apiVersion:66,enableSyntheticElementInternals:!0});
653t.default=k,Object.defineProperty(t,"__esModule",{value:!0})});
654})();(function() { LWR.define("commerce_my_account/userProfileMenu",["exports","lwc","lightning/icon","lightning/navigation","experience/styling","@salesforce/label/UserProfileMenu.AlternativeText","@salesforce/label/UserProfileMenu.AlternativeTextWithCompany","commerce/dataEventApi","@salesforce/community/basePath"],function(e,t,n,o,i,s,r,l,a){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=u(n),m=u(s),d=u(r),g=u(a);function h(e,t,n){var o=e?"."+e:"";return["button",o," .icon-color",o,",a",o," .icon-color",o," {--sds-c-icon-color-foreground-default: var(\n --com-c-my-account-user-profile-icon-color,\n var(--dxp-s-button-color, var(--dxp-g-brand))\n );}button:hover",o," .icon-color",o,",button:focus",o," .icon-color",o,",a:hover",o," .icon-color",o,",a:focus",o," .icon-color",o," {--sds-c-icon-color-foreground-default: var(\n --com-c-my-account-user-profile-icon-hover-color,\n var(--dxp-s-button-color-hover, var(--dxp-g-brand-1))\n );}.login-link",o," {display: inline-flex;}.login-link:focus-visible",o," {outline: 2px solid var(--com-c-my-account-user-profile-icon-hover-color, var(--dxp-s-button-color-focus, var(--dxp-g-brand-1)));outline-offset: 2px;}.login-text",o," {font-size: small;margin: auto;font-weight: var(--com-c-my-account-user-profile-login-link-font-weight);font-style: var(--com-c-my-account-user-profile-login-link-font-style);text-decoration: var(--com-c-my-account-user-profile-login-link-text-decoration);color: var(--com-c-my-account-user-profile-login-link-color, var(--dxp-s-link-text-color));padding: 0.2rem;}.login-text:hover",o,",.login-text:focus",o," {color: var(--com-c-my-account-user-profile-login-link-hover-color, var(--dxp-s-link-text-color-hover));}.menu-nubbin",o," {display: block;width: 1rem;height: 1rem;position: absolute;transform: rotate(45deg);background-color: inherit;top: -0.5rem;margin-inline-start: -0.5rem;margin-inline-end: -0.5rem;box-shadow: rgba(0, 0, 0, 0.16) -1px -1px 0px 0px;}.menu-nubbin.mobile-visible",o," {display: none;}.menu-nubbin.tablet-visible",o,",.menu-nubbin.desktop-visible",o," {right: 1.25rem;}.dropdown-ctn",o," {background-color: var(--dxp-g-root);position: fixed;}.menu-button",o," {background-color: transparent;border: none;}.menu-button:hover",o,",.menu-button:focus-visible",o," {outline: 2px solid var(--com-c-my-account-user-profile-icon-hover-color, var(--dxp-s-button-color-focus, var(--dxp-g-brand-1)));}button",o," {padding: var(--com-c-my-account-user-profile-icon-padding);}.menu-trigger",o," {color: var(--com-c-my-account-user-profile-login-link-color, var(--dxp-s-link-text-color));max-width: 5rem;border-color: var(--dxp-g-neutral);flex-basis: auto;overflow: hidden;padding: 0.25rem;display: grid;}.menu-trigger:hover",o,",.menu-trigger:focus",o," {color: var(--com-c-my-account-user-profile-login-link-hover-color, var(--dxp-s-link-text-color-hover));}.menu-trigger-p",o," {font-size: 0.75rem;}.profile-menu-item",o," {color: inherit;background-color: transparent;}a.profile-menu-item",o," {color: var(--dxp-g-root-contrast);background-color: var(--dxp-g-root);}a.profile-menu-item:hover",o,",a.profile-menu-item:focus",o,",a.profile-menu-item_hover",o," {color: var(--dxp-g-root-contrast);background-color: var(--dxp-g-root);}.slds-dropdown__list",o," a.menu-item",o," {color: var(--dxp-g-root-contrast);text-decoration: none;}.slds-dropdown__list",o," a.menu-item_hover",o," {color: var(--dxp-g-root-contrast);}.slds-dropdown__list",o," a.menu-item-bg-hover-color",o," {background-color: var(--dxp-g-root-1);}.menu-trigger-ctn",o," {flex-direction: row-reverse;}.menu-trigger-ctn",o," .menu-trigger-p",o," {color: var(--dxp-s-anchor-text-color);text-shadow: 0 0 0.25rem var(--dxp-s-anchor-text-color);text-align: left;}.menu-trigger-ctn",o," .menu-trigger-p:hover",o," {color: var(--dxp-s-anchor-text-color-hover);}.company-name-max-width",o," {max-width: 6.8rem;}.guest-login-max-width",o," {max-width: 5rem;}.user-profile-menu-list",o," li:nth-last-child(2)",o," {border-bottom: 1px solid #e5e5e5;max-width: none;width: 100vw;}li.company-name:nth-child(2)",o," {margin-top: -1.563rem;font-weight: bold;}@media only screen and (max-width: 47.9375em) {.company-name-max-width",o," {max-width: 1.8rem;}.menu-trigger-icon",o," {margin: 0;}.dropdown-ctn",o," {max-width: none;width: 95vw;position: fixed;box-sizing: inherit;margin: 0;inset-inline-start: 2.5vw;padding: 0;}.profile-menu-item",o,", .profile-menu-item_hover",o," {font-size: 1rem;text-align: left;line-height: 3.125rem;padding: 0;padding-inline-start: 1.25rem;padding-inline-end: 1.25rem;}.menu-nubbin.mobile-visible",o," {display: block;inset-inline-start: 50%;}.login-text",o," {display: none;}.menu-nubbin.tablet-visible",o,", .menu-nubbin.desktop-visible",o," {display: none;}}.menu_ul",o," {max-height: 80vh;}@media only screen and (min-width: 63.9375em) and (max-width: 102em) {.guest-login-max-width",o," {max-width: 5.5vw;}.menu-trigger",o," {padding: 0;}}@media only screen and (min-width: 47.9375em) and (max-width: 63.9375em) {.profile-menu-item",o,", .profile-menu-item_hover",o," {font-size: 1rem;text-align: left;line-height: 3.125rem;padding: 0;padding-inline-start: 1.25rem;padding-inline-end: 1.25rem;}.company-name-max-width",o," {max-width: 1.8rem;}}"].join("")}h.$scoped$=!0;var p=[h];const f=t.parseFragment`<span${"c0"}${2}>${"t1"}</span>`,v=t.parseFragment`<span class="menu-trigger-p slds-text-align_right slds-truncate slds-text-title_bold${0}"${2}>${"t1"}</span>`,x=t.parseFragment`<span class="menu-nubbin mobile-visible${0}" aria-hidden="true"${"s0"}${2}></span>`,b=t.parseFragment`<span class="menu-nubbin desktop-visible tablet-visible${0}" aria-hidden="true"${2}></span>`,y=t.parseFragment`<li class="slds-dropdown__item slds-hide_large company-name${0}"${2}><p${"c1"}${2}><span class="slds-truncate${0}"${"a2:title"}${2}>${"t3"}</span></p></li>`,_=t.parseFragment`<li class="slds-dropdown__item${0}" role="menuitem"${2}><a${"a1:href"}${"c1"} tabindex="-1"${"a1:data-id"}${2}><span class="slds-truncate${0}"${"a2:title"}${2}>${"t3"}</span></a></li>`,M=t.parseFragment`<p class="slds-truncate login-text${0}"${"s0"}${2}>${"t1"}</p>`,k={tabindex:"-1"},T={"slds-no-space":!0,"menu-button":!0},w={classMap:{"slds-media__body":!0,"slds-show_large":!0,"menu-trigger":!0},key:3},I={key:8},C={"icon-color":!0,"slds-icon-text-default":!0},N={classMap:{"slds-dropdown__list":!0,"user-profile-menu-list":!0,menu_ul:!0,"slds-scrollable_y":!0},attrs:{role:"menu"},key:15},$={"login-link":!0};function L(e,t,n,o){const{ncls:i,b:s,d:r,sp:l,st:a,h:u,c:m,k:d,i:g,f:h}=e,{_m0:p,_m1:L,_m2:B,_m3:E}=o;return[t.isLoggedIn?u("div",{className:i(t.menuContainerClasses),attrs:k,key:0,on:p||(o._m0={keydown:s(t.handleKeyDownOnMenu),focusout:s(t.handleFocusOutOnMenu)})},[u("button",{classMap:T,attrs:{"aria-haspopup":"true","aria-label":t.userProfileMenuButtonAltText,"aria-expanded":t._state.isMenuExpanded},ref:"menuButton",key:1,on:L||(o._m1={click:s(t.handleMenuTriggerClick)})},[u("span",{className:i(t.menuTriggerContainerClasses),key:2},[t.showNameInTrigger?u("span",w,[a(f,5,[l(0,{className:i(t.menuTriggerUserNameClasses)},null),l(1,null,r(t.userName))]),t.includeCompanyName?a(v,7,[l(1,null,r(t.companyName))]):null]):null,u("span",I,[m("lightning-icon",c.default,{classMap:C,props:{src:t.iconSrc,alternativeText:t.userProfileMenuButtonAltText,size:"small"},key:9})])])]),t.showMenu?u("div",{className:i(t.menuDropDownContainerClasses),style:t.dropDownTopAndRightStyleStr
654ing,key:10},[a(x,12,[l(0,{style:t.nubbinStyleString},null)]),a(b,14),u("ul",N,h([g(t.styleUserDetailsForMobileAndTablet,function(e){return t.showNameInTrigger?a(y,d(17,e.id),[l(1,{className:i(e.classes)},null),l(2,{attrs:{title:e.label}},null),l(3,null,r(e.label))]):null}),g(t.styleMappedMenuItems,function(e){return a(_,d(19,e.id),[l(1,{on:B||(o._m2={click:s(t.handleMenuItemClick),mouseenter:s(t.handleFocusOrHoverOnMenuItem)}),className:i(e.classes),attrs:{href:e.hrefValue,"data-id":e.id}},null),l(2,{attrs:{title:e.label}},null),l(3,null,r(e.label))])})]))]):null]):null,t.isLoggedIn?null:u("a",{classMap:$,style:t.cssCustomStyleForLoginLink,attrs:{href:t._loginPageUrl,role:"button","data-automation":"login-link"},key:20,on:E||(o._m3={click:s(t.handleLoginButtonClick)})},[u("div",{className:i(t.loginLinkClasses),key:21},[a(M,23,[l(0,{style:t.loginLinkStyle},null),l(1,null,r(t.loginButtonText))]),m("lightning-icon",c.default,{classMap:C,props:{src:t.iconSrc,size:"small"},key:24})])])]}var B=t.registerTemplate(L);function E(e,t){const n=["slds-text-color_default","slds-truncate"];return t&&n.push("slds-border_bottom"),e?n.push("menu-item_hover","menu-item-bg-hover-color","profile-menu-item_hover"):n.push("menu-item","profile-menu-item"),n}L.renderMode="light",L.hasRefs=!0,L.stylesheets=[],L.stylesheetToken="lwc-5uc1gleli5",L.legacyStylesheetToken="commerce_my_account-userProfileMenu_userProfileMenu",p&&L.stylesheets.push.apply(L.stylesheets,p),t.freezeTemplate(L);const S="Up",D="Down",F="ArrowUp",A="ArrowDown",O="Enter",P="Esc",R="Escape",U="Tab",z={internalLink:"InternalLink",externalLink:"ExternalLink",logOut:"LogOut",modal:"Modal"};class H extends t.LightningElement{constructor(...e){super(...e),this.loginButtonText=void 0,this.userName=void 0,this.includeCompanyName=!1,this.companyName=void 0,this.loginTextAlignment=void 0,this.textAlignment=void 0,this.iconStyle=void 0,this.showNameInTrigger=!1,this.menuItems=void 0,this.loginLinkTextColor=void 0,this.loginLinkTextHoverColor=void 0,this.loginLinkTextDecoration=void 0,this.isLoggedIn=!1,this.navContext=void 0,this.isMenuItemRenderingTrigger=!1,this._state={loginButtonHover:!1,menuTriggerHover:!1,focusedMenuItem:null,isMenuExpanded:!1},this._menuTriggerLeftBound=0,this._menuTriggerTopBound=0,this._menuTriggerRightBound=0}renderedCallback(){this.isMenuItemRenderingTrigger&&(!this._state.focusedMenuItem&&this._menuItems.length>0&&(this._state.focusedMenuItem=this._menuItems[0].id),this._state.focusedMenuItem&&this.focusMenuItem(),this.isMenuItemRenderingTrigger=!1)}get _loginPageUrl(){return this.navContext?o.generateUrl(this.navContext,{type:"comm__namedPage",attributes:{name:"Login"}}):""}get _menuItems(){return this.menuItems||[]}get _userDetailsForMobileAndTablet(){const e={id:"userName",label:this.userName||""},t={id:"companyName",label:this.companyName||""};return this.includeCompanyName?[e,t]:[e]}get userProfileMenuButtonAltText(){return e=this.userName??"",(t=this.includeCompanyName?this.companyName:"")?d.default.replace("{userName}",e).replace("{companyName}",t):m.default.replace("{userName}",e);var e,t}get nubbinStyleString(){return`left: ${this._menuTriggerLeftBound+10}px`}get dropDownTopAndRightStyleString(){return`top: ${this._menuTriggerTopBound+40}px; right: ${globalThis.innerWidth-this._menuTriggerRightBound}px`}get iconSrc(){return"userIcon"===this.iconStyle?`${g.default}/assets/icons/user-account.svg#user-account`:`${g.default}/assets/icons/company.svg#company`}get showMenu(){return this._state.isMenuExpanded&&Boolean(this._menuItems.length)}get styleMappedMenuItems(){return this._menuItems.map(e=>{const t=e.id,n=this._state.focusedMenuItem===t.toString();let o="#";return e.actionType!==z.internalLink&&e.actionType!==z.externalLink||(o=e.actionValue??o),{...e,classes:E(n,!1),hrefValue:o}})}get styleUserDetailsForMobileAndTablet(){return this._userDetailsForMobileAndTablet.map((e,t)=>({...e,classes:E(!1,t===this._userDetailsForMobileAndTablet.length-1)}))}get menuTriggerContainerClasses(){return["slds-media","slds-media_center","slds-no-space","slds-truncate",..."right"===this.textAlignment?["menu-trigger-ctn"]:[],...Boolean(this.showNameInTrigger)&&Boolean(this.includeCompanyName)?["company-name-max-width"]:[]]}get loginLinkClasses(){return["slds-media","slds-media_center","slds-no-space","slds-truncate","guest-login-max-width",..."right"===this.loginTextAlignment?["menu-trigger-ctn"]:[]]}get menuTriggerUserNameClasses(){return["menu-trigger-p","slds-text-align_right","slds-truncate",...this.companyName?["slds-m-top_xx-small"]:["slds-m-vertical_xx-small"]]}get loginLinkStyle(){if(!this.loginLinkTextDecoration)return"";const e=JSON.parse(this.loginLinkTextDecoration),t={...e.bold&&{"--com-c-my-account-user-profile-login-link-font-weight":"bold"},...e.italic&&{"--com-c-my-account-user-profile-login-link-font-style":"italic"},...(e.underline||e.strike)&&{"--com-c-my-account-user-profile-login-link-text-decoration":e.strike?"line-through":"underline"}};return i.generateStyleProperties(t)}get cssCustomStyleForLoginLink(){return i.generateStyleProperties([{name:"--com-c-my-account-user-profile-login-link-color",value:this.loginLinkTextColor},{name:"--com-c-my-account-user-profile-login-link-hover-color",value:this.loginLinkTextHoverColor}])}get menuDropDownContainerClasses(){return["dropdown-ctn","slds-dropdown","slds-dropdown_right"]}handleFocusOrHoverOnMenuItem(e){const t=e.target.dataset.id;t&&(this._state.focusedMenuItem=t,this.focusMenuItem())}handleMenuItemClick(e){e.preventDefault();const t=e.currentTarget.dataset.id;t&&this.dispatchNavigateToPageEvent(t),this.closeMenu()}handleLoginButtonClick(e){l.dispatchDataEvent(e.currentTarget,l.createInteractionDataEvent("login")),e.preventDefault(),this.dispatchEvent(new CustomEvent("userlogin",{bubbles:!0,cancelable:!0}))}dispatchMenuToggleEvent(e){this.dispatchEvent(new CustomEvent("menutoggle",{bubbles:!0,cancelable:!0,detail:{isMenuOpen:e}}))}get menuContainerClasses(){return["slds-dropdown-trigger","slds-dropdown-trigger_click","
654slds-grid",...this._state.isMenuExpanded?["slds-is-open"]:[]]}handleMenuTriggerClick(){this.toggleMenu(!this._state.isMenuExpanded)}handleFocusOutOnMenu(e){const t=e.relatedTarget;t&&this.querySelector(".slds-dropdown-trigger")?.contains(t)||this.closeMenu()}toggleMenu(e){if(this._state.isMenuExpanded=e,this.dispatchMenuToggleEvent(e),e){this.isMenuItemRenderingTrigger=!0;const e=this.refs?.menuButton;e&&(e.focus(),this._menuTriggerLeftBound=e.getBoundingClientRect().left,this._menuTriggerTopBound=e.getBoundingClientRect().top,this._menuTriggerRightBound=e.getBoundingClientRect().right)}else this._state.focusedMenuItem=null}closeMenu(){this.toggleMenu(!1)}handleKeyDownOnMenu(e){let t=!0;switch(e.key){case S:case F:this.moveFocusOnMenuItem(!0);break;case D:case A:this.moveFocusOnMenuItem(!1);break;case O:this._state.isMenuExpanded?this._state.focusedMenuItem&&(this.dispatchNavigateToPageEvent(this._state.focusedMenuItem),this.closeMenu()):(this.toggleMenu(!0),this.moveFocusOnMenuItem(!1));break;case P:case R:{this.closeMenu();const e=this.refs?.menuButton;e&&e.focus();break}case U:if(this._state.isMenuExpanded){this.closeMenu();const e=this.refs?.menuButton;e&&e.focus()}t=!1;break;default:t=!1}t&&e.preventDefault()}moveFocusOnMenuItem(e){if(this._state.isMenuExpanded||this.toggleMenu(!0),this._menuItems.length>0){const t=this._menuItems.length;let n=-1;this._state.focusedMenuItem&&(n=this._menuItems.findIndex(e=>this._state.focusedMenuItem===e.id.toString()));let o=-1;o=e?this.getFocusUpMenuItemIndex(n,t):this.getFocusDownMenuItemIndex(n,t),this._state.focusedMenuItem=this._menuItems[o].id.toString(),this.focusMenuItem()}}focusMenuItem(){const e=this.querySelector(`[data-id='${this._state.focusedMenuItem}']`);e?.focus()}getFocusUpMenuItemIndex(e,t){return 0===e||-1===e?t-1:e-1}getFocusDownMenuItemIndex(e,t){return-1===e||e===t-1?0:e+1}dispatchNavigateToPageEvent(e){this.dispatchEvent(new CustomEvent("navigatetopage",{bubbles:!0,cancelable:!0,detail:{id:e}}))}}H.renderMode="light",t.registerDecorators(H,{publicProps:{loginButtonText:{config:0},userName:{config:0},includeCompanyName:{config:0},companyName:{config:0},loginTextAlignment:{config:0},textAlignment:{config:0},iconStyle:{config:0},showNameInTrigger:{config:0},menuItems:{config:0},loginLinkTextColor:{config:0},loginLinkTextHoverColor:{config:0},loginLinkTextDecoration:{config:0},isLoggedIn:{config:0}},track:{_state:1},wire:{navContext:{adapter:o.NavigationContext,config:function(e){return{}}}},fields:["isMenuItemRenderingTrigger","_menuTriggerLeftBound","_menuTriggerTopBound","_menuTriggerRightBound"]});const V=t.registerComponent(H,{tmpl:B,sel:"commerce_my_account-user-profile-menu",apiVersion:66,enableSyntheticElementInternals:!0});e.ACTION_TYPES=z,e.default=V,Object.defineProperty(e,"__esModule",{value:!0})});
655})();(function() { LWR.define("commerce_builder/userProfileMenu",["exports","@salesforce/loader","lwc","commerce_my_account/userProfileMenu","lightning/navigation","commerce/effectiveAccountApi","commerce/contextApi"],function(e,t,n,o,i,a,r){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(o);function c(e,t,n){return(t?":host {":(e?"."+e+"-host":"")+" {")+"display: var(--com-c-my-account-user-profile-icon-display);}"}c.$scoped$=!0;var u=[c];function g(e,t,n,o){const{b:i,c:a,fr:r}=e,{_m0:l}=o;return[t.sessionContextLoaded?r(0,[a("commerce_my_account-user-profile-menu",s.default,{props:{isLoggedIn:t.isLoggedInUser,companyName:t._accountName,iconStyle:t.iconStyle,includeCompanyName:t.includeCompanyName,loginButtonText:t.loginLinkText,loginLinkTextColor:t.loginLinkTextColor,loginLinkTextDecoration:t.loginLinkTextDecoration,loginLinkTextHoverColor:t.loginLinkTextHoverColor,loginTextAlignment:t.loginTextTextOrientation,menuItems:t.userProfileMenuItems,showNameInTrigger:t.showNameInTrigger,textAlignment:t.menuNameTextOrientation,userName:t.firstName},key:1,on:l||(o._m0={userlogin:i(t.handleUserLogin),navigatetopage:i(t.handleNavigateToPage)})})],0):null]}var d=n.registerTemplate(g);g.renderMode="light",g.stylesheets=[],g.stylesheetToken="lwc-76tu376ij87",g.legacyStylesheetToken="commerce_builder-userProfileMenu_userProfileMenu",u&&g.stylesheets.push.apply(g.stylesheets,u),n.freezeTemplate(g);const m=["DataSourceDriven","MenuLabel"],f={leftOfIcon:"left",rightOfIcon:"right"},p={actionType:"LogOut",label:"",imageUrl:null,subMenu:[],actionValue:"LogOut",target:"CurrentWindow",id:""},h={type:"comm__namedPage",attributes:{name:"Home"}};class T extends n.LightningElement{constructor(...e){super(...e),this.firstName=void 0,this.accountId=a.effectiveAccount.accountId,this.accountName=void 0,this.defaultAccountName=void 0,this.sessionContextLoaded=!1,this._state={isLoggedIn:!1,logoutUrl:""},this.loginLinkText=void 0,this.loginLinkTextColor=void 0,this.loginLinkTextHoverColor=void 0,this.loginLinkTextOrientation=void 0,this.loginLinkTextDecoration=void 0,this.menuStyle=void 0,this.includeCompanyName=!1,this.iconStyle=void 0,this.userNameTextOrientation=void 0,this.userProfileMenuNavigationMenuEditor=void 0,this.logOutLabel=void 0,this.navContext=void 0}get userProfileMenuItems(){const e=this.userProfileMenuNavigationMenuEditor;return p.label=this.logOutLabel??"",(e||[]).concat(p).filter(e=>
655!m.includes(e.actionType)).reduce((e,t,n)=>{if(t.actionValue){const o={...t,id:n.toString()};e.push(o)}return e},[])}get showNameInTrigger(){return"iconAndName"===this.menuStyle}get menuNameTextOrientation(){return f[this.userNameTextOrientation]}get loginTextTextOrientation(){return f[this.loginLinkTextOrientation]}get _accountName(){return this.accountName||this.defaultAccountName}get isLoggedInUser(){return this._state.isLoggedIn}updateSessionContext({data:e,loaded:t}){this.sessionContextLoaded=t,this.firstName=e?.profile?.firstName,this.accountId=e?.effectiveAccountId??null,this.accountName=e?.effectiveAccountName,this._state={...this._state,isLoggedIn:e?.isLoggedIn||!1}}updateAppContext({data:e}){this._state={...this._state,logoutUrl:e?.logoutUrl??""}}handleNavigateToPage(e){const t=e.detail.id;if(t){const e=this.userProfileMenuItems.find(e=>e.id===t);e&&e.actionValue&&(e.actionType===o.ACTION_TYPES.internalLink?this.navContext&&i.navigate(this.navContext,{type:"standard__webPage",attributes:{url:e.actionValue}}):e.actionType===o.ACTION_TYPES.logOut?(a.effectiveAccount.update(null,null),globalThis.open?.(this._state.logoutUrl,"_self","nofollow,noopener,noreferrer")):e.actionType===o.ACTION_TYPES.externalLink?globalThis.open(e.actionValue,"NewWindow"===e.target?"_blank":"_self","nofollow,noopener,noreferrer,popup=0"):e.actionType===o.ACTION_TYPES.modal&&this.openModal(e.actionValue.replace(":","/")))}}async openModal(e){(await t.load(e)).default.open({onaccountselect:e=>{e.stopPropagation(),a.effectiveAccount.update(e.detail.accountId,e.detail.accountName);const t=i.generateUrl(this.navContext,h);globalThis.location?.assign?.(t)}})}handleUserLogin(){this.navContext&&i.navigate(this.navContext,{type:"comm__namedPage",attributes:{name:"Login"}})}}T.renderMode="light",n.registerDecorators(T,{publicProps:{loginLinkText:{config:0},loginLinkTextColor:{config:0},loginLinkTextHoverColor:{config:0},loginLinkTextOrientation:{config:0},loginLinkTextDecoration:{config:0},menuStyle:{config:0},includeCompanyName:{config:0},iconStyle:{config:0},userNameTextOrientation:{config:0},userProfileMenuNavigationMenuEditor:{config:0},logOutLabel:{config:0}},track:{_state:1},wire:{updateSessionContext:{adapter:r.SessionContextAdapter,method:1,config:function(e){return{}}},updateAppContext:{adapter:r.AppContextAdapter,method:1,config:function(e){return{}}},navContext:{adapter:i.NavigationContext,config:function(e){return{}}}},fields:["firstName","accountId","accountName","defaultAccountName","sessionContextLoaded"]});const x=n.registerComponent(T,{tmpl:d,sel:"commerce_builder-user-profile-menu",apiVersion:66,enableSyntheticElementInternals:!0});e.MENU_ITEMS_TO_SKIP=m,e.default=x,Object.defineProperty(e,"__esModule",{value:!0})});
656})();(function() { LWR.define("dxp_data_provider/lpMergeFieldApi",["exports","experience/store","experience/config","experience/data","experience/utils"],function(e,a,t,o,s){const _={ssot__Id__c:"309e4513895c616e294c9ae61139ebe8",ssot__FirstName__c:"Marc",ssot__LastName__c:"Benioff",ssot__PersonName__c:"Marc Benioff",IndividualIdentityLink__dlm:[{SourceRecordId__c:"003AAC000033hy3YBA",UnifiedRecordId__c:"309e4513895c616e294c9ae61139ebe8",ssot__DataSourceObjectId__c:"Contact",ssot__DataSourceId__c:"Salesforce_Home",ssot__Individual__dlm:[{ssot__FirstName__c:"Marc",ssot__Id__c:"003AAC000033hy3YBA",ssot__LastName__c:"Benioff",ssot__PersonName__c:"Marc Benioff"}]}]},i={ssot__FirstName__c:"Howard",ssot__LastName__c:"Jones",UnifiedContactPointEmail__dlm:[{ssot__Id__c:"0472868434cfb1f34ee0adacd6bec9ce",ssot__PartyId__c:"party_001",ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:"Mailbox full",ssot__FirstName__c:"Howard",ssot__LastName__c:"Jones",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!0},{ssot__Id__c:"1234567890abcdef1234567890abcdef",ssot__PartyId__c:"party_002",ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:null,ssot__FirstName__c:"Alice",ssot__LastName__c:"Smith",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!0},{ssot__Id__c:"abcdef1234567890abcdef1234567890",ssot__PartyId__c:null,
656ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:"Invalid email address",ssot__FirstName__c:"Bob",ssot__LastName__c:"Wilson",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!1},{ssot__Id__c:"fedcba0987654321fedcba0987654321",ssot__PartyId__c:"party_004",ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:"Spam blocked",ssot__FirstName__c:"Charlie",ssot__LastName__c:"Brown",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!0},{ssot__Id__c:"9876543210fedcba9876543210fedcba",ssot__PartyId__c:null,ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:null,ssot__FirstName__c:"Diana",ssot__LastName__c:"Prince",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!0},{ssot__Id__c:"456789abcdef0123456789abcdef0123",ssot__PartyId__c:"party_006",ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:"Bounce - user unknown",ssot__FirstName__c:"Emma",ssot__LastName__c:"Davis",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!1},{ssot__Id__c:"cdef0123456789abcdef0123456789ab",ssot__PartyId__c:"party_007",ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:"",ssot__FirstName__c:"Frank",ssot__LastName__c:"Miller",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!0},{ssot__Id__c:"13579bdf02468ace13579bdf02468ace",ssot__PartyId__c:"party_008",ssot__EmailAddress__c:"[email protected]",ssot__EmailLatestBounceReasonText__c:"Temporary failure",ssot__FirstName__c:"Grace",ssot__LastName__c:"Kelly",ssot__ContactPointType__c:"Email",ssot__IsActive__c:!0}]};function n(e){return{data:JSON.stringify("function"==typeof globalThis.structuredClone?globalThis.structuredClone(_):JSON.parse(JSON.stringify(_))),done:!0,personalizations:JSON.stringify(r)}}function c(e){return{data:JSON.stringify("function"==typeof globalThis.structuredClone?globalThis.structuredClone(i):JSON.parse(JSON.stringify(i))),done:!0,personalizations:JSON.stringify(d)}}const r=[{personalizationId:"2f335156-94c6-4ec9-bccd-a8207c2caf85",personalizationPointId:"9ppAAC000000J97YBE",personalizationPointName:"PP_Header",decisionId:"9pbAAC000000JibYBE",data:[{Variation:"Header_Variation_1",personalizationContentId:"2f335156-94c6-4ec9-bccd-a8207c2caf85:0"}],attributes:{Variation:"Header_Variation_1"},diagnostics:[]},{personalizationId:"47718343-9f47-4af8-9a8b-0d6bf4aed760",personalizationPointId:"9ppAAC000000JAjYBM",personalizationPointName:"PP_Banner",decisionId:"9pbAAC000000JkDYBU",data:[{Variation:"Banner_Variation_2",personalizationContentId:"47718343-9f47-4af8-9a8b-0d6bf4aed760:0"}],attributes:{Variation:"Banner_Variation_2"},diagnostics:[]},{personalizationId:"7d911769-b3af-4ddf-90d6-0f4329bd95fd",personalizationPointId:"9ppAAC000000IUnYBM",personalizationPointName:"PP_Failed_Case",data:[],attributes:{},diagnostics:[{code:"RULE_DISQUALIFICATION"},{code:"PERSONALIZER_NOT_SELECTED"}]}],d=[{personalizationId:"a1b2c3d4-e5f6-7890-ab12-cd34ef567890",personalizationPointId:"9ppAAC000000JAkYBM",personalizationPointName:"PP_Email_Campaign",decisionId:"9pbAAC000000JlEYBU",data:[{Variation:"Email_Campaign_Variation_1",personalizationContentId:"a1b2c3d4-e5f6-7890-ab12-cd34ef567890:0"}],attributes:{Variation:"Email_Campaign_Variation_1",Campaign:"ActiveUsers",SegmentId:"active-email-users",Priority:"High"},diagnostics:[]},{personalizationId:"b2c3d4e5-f6g7-8901-bc23-de45fg678901",personalizationPointId:"9ppAAC000000JAlYBM",personalizationPointName:"PP_Bounce_Handling",decisionId:"9pbAAC000000JmFYBU",data:[{Variation:"Reengagement_Variation_1",personalizationContentId:"b2c3d4e5-f6g7-8901-bc23-de45fg678901:0"}],attributes:{Variation:"Reengagement_Variation_1",Campaign:"Reactivation",EmailStatus:"Bounced"},diagnostics:[]},{personalizationId:"c3d4e5f6-g7h8-9012-cd34-ef56gh789012",personalizationPointId:"9ppAAC000000JAmYBM",personalizationPointName:"PP_Personalized_Greeting",decisionId:"9pbAAC000000JnGYBU",data:[{Variation:"Greeting_Variation_1",personalizationContentId:"c3d4e5f6-g7h8-9012-cd34-ef56gh789012:0"}],attributes:{Variation:"Greeting_Variation_1",Campaign:"PersonalizedWelcome",FirstName:"Marc",LastName:"Benioff"},diagnostics:[]},{personalizationId:"d4e5f6g7-h8i9-0123-de45-fg67hi890123",personalizationPointId:"9ppAAC000000JAnYBM",personalizationPointName:"PP_Complex_Failed_Case",data:[],attributes:{},diagnostics:[{code:"RULE_DISQUALIFICATION"},{code:"PERSONALIZER_NOT_SELECTED"}]}],l=t.currentRelease.apiVersion;async function p(e){!function(e){if(!s.isPlainObject(e))throw new TypeError("Options are required to execute this request");
656if(!e.dataGraphEntityName||"string"!=typeof e.dataGraphEntityName)throw new TypeError("dataGraphEntityName is required and must be a string");if(!e.sftoken||"string"!=typeof e.sftoken)throw new TypeError("sftoken is required and must be a string")}(e);const a=function(e){const{sftoken:a,dataGraphEntityName:t}=e;return"sampleSfToken"===a?(console.log("LP Merge Field API: Returning basic sample data for dummy token"),n()):"complexExpressionToken"===a?(console.log("LP Merge Field API: Returning complex expression sample data for dummy token"),c()):null}(e);if(a)return a;const t=function(e){const{sftoken:a,deviceId:t,personalizationPoints:o,dataspace:s,dataGraphEntityName:_,executionFlags:i,includeProfile:n}=e,c=`/services/data/${l}/connect/lp-data-graph/${encodeURIComponent(_)}`,r=new URLSearchParams;if(r.append("sftoken",a),o&&o.length){const e=o.join(",");r.append("personalizationPoints",e)}if(s&&r.append("dataspace",s),t&&r.append("deviceId",t),i&&i.length>0){const e=i.join(",");r.append("executionFlags",e)}return void 0!==n&&r.append("includeProfile",String(n)),`${c}?${r.toString()}`}(e);return o.fetchService(t,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).catch(e=>{const a=e instanceof Error?e.message:e.statusText;throw new Error(`LP Merge Field API failed: ${a}`)})}const m=new a.Store("@@LPMergeField");function f(e){if(!e.payload)throw new TypeError("Action payload is required to fetch Merge Field Data from DataGraph");return p(e.payload)}class u extends a.StoreAdapter{constructor(e){super(e,m,"content",{loader:f})}}e.getLPMergeField=u,Object.defineProperty(e,"__esModule",{value:!0})});
657})();(function() { LWR.define("dxp_data_provider/decisionDataProvider",["exports","lwc","lightning/navigation","experience/dataProvider","dxp_data_provider/lpMergeFieldApi","experience/store"],function(e,t,a,i,n,o){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(i);function c(e){if(e?.trim())return e.split(",").map(e=>e.trim()).filter(Boolean)}class d extends s.default{constructor(...e){super(...e),this.sfDataGraphApiName=void 0,this.sfDataspace=void 0,this.sfdcExpressionKey=void 0,this.includeProfile=void 0,this.sftoken=void 0,this.deviceId=void 0}set personalizationPoints(e){this._personalizationPoints=c(e)}get personalizationPoints(){return this._personalizationPoints}set context(e){try{this._context=JSON.parse(e)}catch(e){this._context=void 0}}get context(){return this._context}set executionFlags(e){try{this._executionFlags=JSON.parse(e)}catch(e){this._executionFlags=void 0}}get executionFlags(){return this._executionFlags}getPageReference(e){this.sftoken=e?.state?.sftoken,this.deviceId=e?.state?.deviceId}wiredLpPersonlizationData({data:e}){if(e)try{this._sfdcData=d._extractPersonalizationData(e)}catch(e){}}get sfdcData(){return this.sfdcIsPreviewMode?{}:this._sfdcData}static async preloadData(e){const t=[],a=e?.query?.sftoken,i=e?.query?.deviceId;return(await Promise.allSettled(e.attributes.map(e=>e.sfDataGraphApiName?o.getStoreAdapterValue(n.getLPMergeField,{dataGraphEntityName:e.sfDataGraphApiName,dataspace:e.sfDataspace,sftoken:a,deviceId:i,personalizationPoints:c(e.personalizationPoints),includeProfile:e.includeProfile,context:e.context?JSON.parse(e.context):void 0,executionFlags:e.executionFlags?JSON.parse(e.executionFlags):void 0}):null).filter(Boolean))).forEach((a,i)=>{if("rejected"===a.status)t.push(new Error(`DecisionDataProvider preload failed for entity "${e.attributes[i]?.sfDataGraphApiName}"`,{cause:a.reason}));else if("fulfilled"===a.status&&a.value)try{d._extractPersonalizationData(a.value)}catch(a){t.push(new Error(`DecisionDataProvider personalization data extraction failed for entity "${e.attributes[i]?.sfDataGraphApiName}"`,{cause:a}))}}),Promise.resolve({warnings:t})}getData(){return this._sfdcData||{}}static _extractPersonalizationData(e){const t=JSON.parse(e?.personalizations);return Array.isArray(t)&&t.length>0?Object.fromEntries(t.map(e=>[e?.personalizationPointName,e?.data?.[0]?.Variation])):{}}}d.renderMode="light",t.registerDecorators(d,{publicProps:{sfDataGraphApiName:{config:0},sfDataspace:{config:0},sfdcExpressionKey:{config:0},personalizationPoints:{config:3},includeProfile:{config:0},context:{config:3},executionFlags:{config:3}},wire:{getPageReference:{adapter:a.CurrentPageReference,method:1,config:function(e){return{}}},wiredLpPersonlizationData:{adapter:n.getLPMergeField,dynamic:["dataGraphEntityName","dataspace","sftoken","deviceId","personalizationPoints","includeProfile","context","executionFlags"],method:1,config:function(e){return{dataGraphEntityName:e.sfDataGraphApiName,dataspace:e.sfDataspace,sftoken:e.sftoken,deviceId:e.deviceId,personalizationPoints:e.personalizationPoints,includeProfile:e.includeProfile,context:e.context,executionFlags:e.executionFlags}}}},fields:["sftoken","deviceId"]});const l=t.registerComponent(d,{tmpl:void 0,sel:"dxp_data_provider-decision-data-provider",apiVersion:66,enableSyntheticElementInternals:!0});
657e.default=l,Object.defineProperty(e,"__esModule",{value:!0})});
658})();(function() { LWR.define("dxp_data_provider/userDataProvider",["exports","@salesforce/loader","lwc","experience/dataLayerObject","lwr/environment","experience/dataProvider"],function(e,t,s,r,a,i){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=d(r),c=d(i);const n=[];function u(e,t,s,r){const{c:a,s:i}=e;return[a("experience-data-layer-object",o.default,{props:{scriptDataAttributes:t.dataAttributes,customObject:t.userDataLayer},key:0}),i("",{key:1,slotData:t.dataProxyContext},n,s)]}var l=s.registerTemplate(u);u.slots=[""],u.renderMode="light",u.stylesheets=[],u.stylesheetToken="lwc-1qlnuek0fto",u.legacyStylesheetToken="dxp_data_provider-userDataProvider_userDataProvider",s.freezeTemplate(u);class h extends c.default{constructor(...e){super(...e),this.sfdcExpressionKey=void 0,this.childData=void 0,this.userId=void 0,this.isGuest=void 0,this.contactId=void 0}triggerAsyncImports(){a.isServer||void 0===this.isGuest&&t.load("@salesforce/user/isGuest").then(e=>{this.isGuest=e.default,!1===this.isGuest&&(t.load("@salesforce/user/Id").then(e=>{this.userId=e.default}),t.load("@salesforce/user/contactId").then(e=>{this.contactId=e.default}).catch(e=>{console.warn("ContactId import failed:",e)}))})}get sfdcData(){return{userId:this.userId,isGuest:this.isGuest,contactId:this.contactId,...this.childData}}hasData(e){return this.isGuest||void 0!==this.sfdcData[e]}get userDataLayer(){return{crmId:this.userId,attributes:{isGuest:this.isGuest}}}get dataAttributes(){return{providerType:"user"}}connectedCallback(){this.triggerAsyncImports()}render(){return l}}h.renderMode="light",s.registerDecorators(h,{publicProps:{sfdcExpressionKey:{config:0},childData:{config:0}},publicMethods:["hasData"],fields:["userId","isGuest","contactId"]});const p=s.registerComponent(h,{tmpl:l,sel:"dxp_data_provider-user-data-provider",apiVersion:66,enableSyntheticElementInternals:!0});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})});
659})();(function() { LWR.define("experience/responsive",["exports","lwc","@app/isDesignMode"],function(e,t,i){function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=s(i);function a(e,t,i){var s=e?"."+e+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(t?":host:not(:has(> div.container.size-s)) {":s+":not(:has(> div.container.size-s)) {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(t?":host:not(:has(> div.container.size-m)) {":s+":not(:has(> div.container.size-m)) {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(t?":host:not(:has(> div.container.size-l)) {":s+":not(:has(> div.container.size-l)) {")+"display: none;}}"}a.$scoped$=!0;var r=[a];const d={key:2},h=[];function o(e,t,i,s){const{ncls:n,s:a,h:r,fr:o}=e;return[t._isMatching?o(0,[r("div",{className:n(t.normalizedClasses),key:1},[a("",d,h,i)])],0):null]}var l=t.registerTemplate(o);o.slots=[""],o.renderMode="light",o.stylesheets=[],o.stylesheetToken="lwc-7eufvtb7r7a",o.legacyStylesheetToken="experience-responsive_responsive",r&&o.stylesheets.push.apply(o.stylesheets,r),t.freezeTemplate(o);const c="only screen and (min-width: 64.0625em)",m="only screen and (min-width: 48em) and (max-width: 64em)",u="only screen and (max-width: 47.9375em)",p=["small","medium","large"];function _(e){const t="string"==typeof e?e.toLowerCase():void 0;return"large"===t||"l"===t?"large":"medium"===t||"m"===t?"medium":"small"===t||"s"===t?"small":void 0}class y extends t.LightningElement{constructor(...e){super(...e),this._abortController=void 0,this._size=void 0,this._sizes=[],this._isConnected=!1,this._isRendered=!1,this._mqls=new Set,this._match=[],this._isMatching=!n.default}set size(e){if(this._size=e,this._sizes=function(e){const t=Array.isArray(e)?e:"string"==typeof e?[e]:[];return Array.from(t.reduce((e,t)=>t.split(",").reduce((t,i)=>{const[s,n]=i.split("-",2).map(_),a="string"==typeof s,r="string"==typeof n;if(-1!==i.indexOf("-")&&(a||r)||a&&r){const t="string"==typeof s?p.indexOf(s):0,i="string"==typeof n?p.indexOf(n):p.length-1,a=Math.min(t,i),r=Math.max(t,i);for(let t=a;t<=r;t++)e.add(p[t])}else a&&e.add(s);return e},e),new Set))}(e),this._isConnected){this.abortMediaQueryListEventListeners(),this.initMediaQueryListEventListeners(),this.addMediaQueryListEventListeners();const e=this.updateMediaQueryListMatches();this._isRendered&&(e.length>0&&this.dispatchChangeEvent("hide",{media:e.at(0),size:e.at(1)}),this.dispatchInitialChangeEvent())}}get size(){return this._size}get normalizedSizes(){return 0===this._sizes.length?["small","medium","large"]:this._sizes}get normalizedClasses(){return["container"].concat(this.normalizedSizes.map(e=>`size-${e.charAt(0)}`))}connectedCallback(){this._isConnected=!0,this.initMediaQueryListEventListeners()}disconnectedCallback(){this._isConnected=!1,this._isRendered=!1,this.abortMediaQueryListEventListeners(),this._isMatching=!1,this._match=[]}renderedCallback(){this._isRendered?this.updateMediaQueryListMatches():(this._isRendered=!0,this.addMediaQueryListEventListeners(),this.updateMediaQueryListMatches(),this.dispatchInitialChangeEvent())}initMediaQueryListEventListeners(){this._abortController=new AbortController,this._mqls.clear()}addMediaQueryListEventListeners(){this._mqls=this.normalizedSizes.reduce((e,t)=>
659{const i=function(e){return"small"===e?u:"medium"===e?m:c}(t),s=globalThis.matchMedia?.(i);return s?.addEventListener?.("change",e=>this.handleMediaQueryListChange(e,t),{signal:this._abortController?.signal}),e.add({media:i,size:t,mql:s}),e},new Set)}abortMediaQueryListEventListeners(){this._abortController?.abort(),this._abortController=void 0,this._mqls.clear()}handleMediaQueryListChange({media:e,matches:t},i){this.updateMediaQueryListMatches(),this.dispatchChangeEvent(t?"show":"hide",{media:e,size:i})}updateMediaQueryListMatches(){const e=[...this._match],t=Array.from(this._mqls.values()).find(({mql:e})=>e.matches);return this._match="object"==typeof t&&null!==t?[t.media,t.size]:[],this._isMatching=0===this._sizes.length||"string"==typeof this._match[0],e}dispatchInitialChangeEvent(){for(const{mql:e,media:t,size:i}of this._mqls)this.dispatchChangeEvent(e.matches?"show":"hide",{media:t,size:i})}dispatchChangeEvent(e,t){"undefined"!=typeof window&&this.dispatchEvent(new CustomEvent("responsivechange",{cancelable:!0,composed:!0,detail:{type:e,...t}}))}}y.renderMode="light",t.registerDecorators(y,{publicProps:{size:{config:3}},fields:["_abortController","_size","_sizes","_isConnected","_isRendered","_mqls","_match","_isMatching"]});const g=t.registerComponent(y,{tmpl:l,sel:"experience-responsive",apiVersion:66,enableSyntheticElementInternals:!0});e.MEDIA_QUERY_LARGE=c,e.MEDIA_QUERY_MEDIUM=m,e.MEDIA_QUERY_SMALL=u,e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
660})();(function() { LWR.define("dxp_util/validator",["exports"],function(t){t.isDataUri=function(t){return t?.startsWith("data:image")},t.isRelativeURL=function(t){return/^\/(?!\/)/.test(t)},t.isShortcutUri=function(t){return new RegExp("^(mailto|tel):","i").test(t)},t.isValidLink=function(t){return/(^([hH][tT][tT][pP][sS]):\/\/.*)|(^\/.*)|(^[#].*)/.test(t)},t.isValidURL=function(t){return/(^([hH][tT][tT][pP][sS]):\/\/.*)|(^\/.+)/.test(t)},Object.defineProperty(t,"__esModule",{value:!0})});
661})();LWR.define('@salesforce/gate/w18551194.r256.listsAcceleration.aiAppDev', [], () => {const gateObj = {
662    isOpen: (fallbackObj) => false,
663    hasError: () => false,
664};
665return Object.freeze(gateObj);});(function() { LWR.define("dxp_util/linkInfo",["exports","dxp_util/common","dxp_util/normalizer","dxp_util/validator","@salesforce/gate/w18551194.r256.listsAcceleration.aiAppDev"],function(t,e,a,r,n){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=o(n);const u=Object.freeze({WEB_PAGE:"standard__webPage",CMS_PAGE:"standard__managedContentPage",RECORD_PAGE:"standard__recordPage",NAMED_PAGE:"comm__namedPage",RELATION_PAGE:"standard__recordRelationshipPage",OBJECT_PAGE:"standard__objectPage",SEARCH_PAGE:"standard__search"}),E="__kav",c="NetworkDataCategory",d="Product2",s="ProductCategory",l=e.or(r.isValidLink,r.isShortcutUri),p=Object.freeze({[u.NAMED_PAGE]:{valid:{"attributes.name":[e.notEmpty]}},[u.OBJECT_PAGE]:{valid:{"attributes.objectApiName":[e.notEmpty],"state.filterName":[e.notEmpty]}},[u.RECORD_PAGE]:{valid:{"attributes.objectApiName":[e.notEmpty],"attributes.recordId":[e.notEmpty]},validKnowledge:{"attributes.objectApiName":[e.notEmpty],"attributes.urlName":[e.notEmpty]},validNetworkDataCategory:{"attributes.objectApiName":[e.notEmpty],"attributes.urlPath":[e.notEmpty]},validProduct:{"attributes.objectApiName":[e.notEmpty],"attributes.urlName":[e.notEmpty]},validProductCategory:{"attributes.objectApiName":[e.notEmpty],"attributes.urlPath":[e.notEmpty]}},[u.RELATION_PAGE]:{valid:{"attributes.objectApiName":[e.notEmpty],"attributes.recordId":[e.notEmpty],"attributes.relationshipApiName":[e.notEmpty]},validKnowledge:{"attributes.urlName":[e.notEmpty],"attributes.relationshipApiName":[e.notEmpty]}},[u.CMS_PAGE]:{valid:{"attributes.contentTypeName":[e.notEmpty],"attributes.contentKey":[e.notEmpty]}},[u.SEARCH_PAGE]:{},[u.WEB_PAGE]:{valid:{"attributes.url":[l]}}}),_=u.WEB_PAGE,m="linkInfo",P={pageReference:{type:u.WEB_PAGE}};function y(t){return{pageReference:{type:u.WEB_PAGE,attributes:{url:t}}}}function A(t){return{...P,...t}}function b(t,e){return!(!t?.includes(E)||e!==u.RECORD_PAGE&&e!==u.RELATION_PAGE)}function f(t,e){return t===c&&e===u.RECORD_PAGE}function g(t,e){return t===d&&e===u.RECORD_PAGE}function N(t,e){return t===s&&e===u.RECORD_PAGE}const C=Object.freeze(Object.values(u)),v=e.compose(t=>p[t],O);function O(t){return a.normalizeString(t,{fallbackValue:u.WEB_PAGE,validValues:C,caseSensitive:!0})}t.DEFAULT_LINK_TYPE=_,t.Knowledge_OBJECT_PREFIX=E,t.LinkType=u,t.NavigationType=C,t.NetworkDataCategory_OBJECT_API_NAME=c,t.ProductCategory_OBJECT_API_NAME=s,t.Product_OBJECT_API_NAME=d,t.isKnowledgeObject=b,t.isNetworkDataCategoryObject=f,t.isProductCategoryObject=N,t.isProductObject=g,t.isValidPageReference=function(t){if(e.empty(t))return!1;let a;const r=t.attributes?.objectApiName,n=v(t.type),o=i.default.isOpen({fallback:!1});a=b(r,t.type)?n?.validKnowledge:f(r,t.type)?n?.validNetworkDataCategory:o&&g(r,t.type)?n?.validProduct:o&&N(r,t.type)?n?.validProductCategory:n.valid;const u=r=>e.compose(e.and.apply(this,a?.[r]),e.get(t))(r);return e.everyKey(t=>u(t))(a??{})},t.normalizeLinkInfo=A,t.normalizePageReferenceType=O,t.parseLinkInfo=function(t){const a=function(t){const a=e.safeParseJson(t),r=a[m]??a;return e.notEmpty(r)?r:y(t)}(t);return A(a[m]??a)},t.toLinkInfo=y,t.toVersioned=function(t){return{[m]:t??{}}}
665,Object.defineProperty(t,"__esModule",{value:!0})});
666})();(function() { LWR.define("dxp_base/baseNavigation",["exports","lwc","lightning/navigation","dxp_util/common","dxp_util/linkInfo","dxp_util/validator"],function(e,t,n,i,a,r){function s(e,t){return r.isValidLink(e)?e:t}const o=Symbol("uri"),h=Symbol("type"),l=Symbol("linkInfo");class g extends t.LightningElement{constructor(...e){super(...e),this[h]=a.LinkType.WEB_PAGE,this[o]="",this._linkInfo={},this.pendingPageReference=void 0,this.navContext=void 0,this._generatedUrl=void 0,this[l]=a.toLinkInfo("")}get type(){return this[h]}set type(e){this[h]=a.normalizePageReferenceType(e,{fallbackValue:a.DEFAULT_LINK_TYPE,validValues:a.NavigationType}),this.synchronizeLinkInfoWithUrl()}get uri(){return this[o]}set uri(e){this[l]=a.parseLinkInfo(e),this[h]=this[l]?.pageReference?.type,this[o]=e,this.synchronizeLinkInfoWithUrl()}wireNavConext(e){if(this.navContext=e,this.navContext&&this.pendingPageReference){const e=this.pendingPageReference;this.pendingPageReference=null,this.navigateWithPageReference(e)}this.synchronizeLinkInfoWithUrl()}navigateTo(e){const{pageReference:t}=e?a.toLinkInfo(e):this[l];this.navContext?this.navigateWithPageReference(t):this.pendingPageReference=t}navigateWithPageReference(e){const t=function(e,t){return t!==e?.type?{...e,type:t}:e}(e,this[h]);var s;i.ifVal(a.isValidPageReference(t)&&(s=t.attributes?.url,!(r.isShortcutUri(s)&&(window.open(s),1))),()=>{n.navigate(this.navContext,t)})}async synchronizeLinkInfoWithUrl(){const{attributes:e,type:t}=this[l].pageReference,o=e?.url??"";if(t===a.LinkType.WEB_PAGE&&r.isShortcutUri(o))this._generatedUrl=o;else if(this.navContext&&a.isValidPageReference(this[l]?.pageReference)){const e=await n.generateUrl(this.navContext,i.deepCopy(this[l].pageReference));this._generatedUrl=s(e,"")}else this._generatedUrl=s(o,"")}}t.registerDecorators(g,{track:{_linkInfo:1},wire:{wireNavConext:{adapter:n.NavigationContext,method:1,config:function(e){return{}}}},fields:["pendingPageReference","navContext","_generatedUrl"]});const c=t.registerComponent(g,{tmpl:void 0,sel:"dxp_base-base-navigation",apiVersion:66,enableSyntheticElementInternals:!0});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
667})();(function() { LWR.define("dxp_content_layout/siteLogo",["exports","lwc","experience/picture","experience/responsive","lwr/environment","dxp_base/baseNavigation","dxp_util/linkInfo","experience/util","@salesforce/label/Dxp_Content_Layout_Site_Logo.imageAlternativeText","experience/resourceResolver","dxp_util/common"],function(e,t,i,o,l,s,r,a,n,g,d){function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=c(i),h=c(o),m=c(s),u=c(n);function _(e,t,i){var o=e?"."+e:"";return".logo-anchor"+o+" {display: flex;justify-content: var(--dxp-c-l-alignment, left);}.dxp-content-layout-site-logo"+o+" {display: var(--dxp-c-site-logo-display, inline);background-repeat: no-repeat;background-size: contain;width: calc((var(--dxp-c-l-logo-width, 100) * 1px));max-height: 75px;background-position-y: var(--dxp-c-site-logo-background-position-y);}experience-picture"+o+" {height: auto;object-fit: contain;}a:focus-visible"+o+" {outline: 2px solid var(--dxp-c-link-color-outline-focus, var(--dxp-g-root-contrast));outline-offset: 2px;}@media only screen and (min-width: 48em) and (max-width: 64em) {.logo-anchor"+o+" {justify-content: var(--dxp-c-m-alignment, left);}.dxp-content-layout-site-logo"+o+" {max-height: 45px;width: calc((var(--dxp-c-m-logo-width, 100) * 1px));}}@media only screen and (max-width: 47.9375em) {.logo-anchor"+o+" {justify-content: var(--dxp-c-s-alignment, left);}.dxp-content-layout-site-logo"+o+" {max-height: 25px;width: calc((var(--dxp-c-s-logo-width, 100) * 1px));}}"}_.$scoped$=!0;var f=[_];const x={"logo-anchor":!0},v={props:{size:"s"},key:1},y={"dxp-content-layout-site-logo":!0},I={props:{size:"m-"},key:4};function b(e,t,i,o){const{b:l,c:s,h:r}=e,{_m0:a}=o;return[r("a",{classMap:x,attrs:{href:t.url},key:0,on:a||(o._m0={click:l(t.onClick)})},[s("experience-responsive",h.default,v,[r("div",{classMap:y,attrs:{role:"img","aria-label":t.resolvedAltTextOnMobile},ref:"logo",key:2},[s("experience-picture",p.default,{props:{alternativeText:"",url:t._resolvedImageUrl,images:t.image.images},key:3})])]),s("experience-responsive",h.default,I,[r("div",{classMap:y,attrs:{role:"img","aria-label":t.resolvedAltText},ref:"logo",key:5},[s("experience-picture",p.default,{props:{alternativeText:"",url:t._resolvedImageUrl,images:t.image.images},key:6})])])])]}var M=t.registerTemplate(b);b.renderMode="light",b.hasRefs=!0,b.stylesheets=[],b.stylesheetToken="lwc-440ckkrho00",b.legacyStylesheetToken="dxp_content_layout-siteLogo_siteLogo",f&&b.stylesheets.push.apply(b.stylesheets,f),t.freezeTemplate(b);const A="--dxp-s-site-logo-path",U="--dxp-s-site-logo-url",S="--dxp-c-s-logo-width",T="--dxp-c-m-logo-width",k="--dxp-c-l-logo-width";class R extends m.default{get imageInfo(){return this._imageInfo}set imageInfo(e){this._imageInfo=e}get imageInfoMobile(){return this._imageInfoMobile}set imageInfoMobile(e){this._imageInfoMobile=e}get resolvedAltText(){return this.altText||this._imageInfo?.AltText||this.logoInfo?.AltText||u.default}get resolvedAltTextOnMobile(){return this.altText||this._imageInfoMobile?.AltText||this.logoInfo?.AltText||u.default}get url(){return this._generatedUrl}get image(){const e=this._resolvedImageUrl||this._getResolvedImageUrl(),t={desktop:e,tablet:e,mobile:this._imageInfoMobile?.Url||e};return{url:e,images:i.createImageDataMap(t,this._imageSizes,[1,2])}}get styleAttributePropertiesMap(){const e=this.getAttribute("style")||"";return d.splitStringToObj(";",":",e)}constructor(){super(),this._imageInfo=void 0,this._imageInfoMobile=void 0,this._imageSizes={},this.logoInfo=void 0,this.imageUrl=void 0,this.altText=void 0,this.logoWidth=void 0,this.useCssImageUrl=!1,this.alignment=void 0,this.isBuilderMode=!1,this._imageHeight=void 0,this._imageWidth=void 0,this._resolvedImageUrl=void 0,this.uri=JSON.stringify(R.HOME_PAGE_REF)}renderedCallback(){this._resolvedImageUrl=this._getResolvedImageUrl()}connectedCallback(){this._imageSizes={mobile:this.styleAttributePropertiesMap[S],tablet:this.styleAttributePropertiesMap[T],desktop:this.styleAttributePropertiesMap[k]},this._resolvedImageUrl=this._getResolvedImageUrl()}onClick(e){e.preventDefault(),this.navigateTo()}_getResolvedImageUrl(){let e="";return l.isServer?(e=this.imageUrl||this._imageInfo?.Url||this.logoInfo?.Url,g.resolve(e,!0)):(e=this.useCssImageUrl?this._getStyleProperty(U).replace(/url\("?([^")]+)"?\)/,"$1"):this.imageUrl||this._imageInfo?.Url||this._getStyleProperty(A)||this._getPlaceholderImageUrl(),g.resolve(e,!0))}_getPlaceholderImageUrl(){return this.isBuilderMode?d.LOGO_PLACEHOLDER_DATA_URI:""}_getStyleProperty(e,t){const i=t||this.querySelector(".dxp-content-layout-site-logo");if(i){return window.getComputedStyle(i).getPropertyValue(e)}return""}}R.HOME_PAGE_REF=a.deepFreeze({pageReference:{type:r.LinkType.NAMED_PAGE,attributes:{name:"Home"}}}).value,R.renderMode="light",t.registerDecorators(R,{publicProps:{logoInfo:{config:0},imageInfo:{config:3},imageInfoMobile:{config:3},imageUrl:{config:0},altText:{config:0},logoWidth:{config:0},useCssImageUrl:{config:0},alignment:{config:0},isBuilderMode:{config:0}},track:{_imageHeight:1,_imageWidth:1},fields:["_imageInfo","_imageInfoMobile","_imageSizes","_resolvedImageUrl"]});const L=t.registerComponent(R,{tmpl:M,sel:"dxp_content_layout-site-logo",apiVersion:66,enableSyntheticElementInternals:!0});e.CSS_LOGO_PATH_VAR=A,e.CSS_LOGO_URL_VAR=U,e.CSS_MOBILE_LOGO_URL_VAR="--dxp-s-site-logo-mobile-url",e.CSS_WIDTH_LARGE_VAR=k,e.CSS_WIDTH_MEDIUM_VAR=T,e.CSS_WIDTH_SMALL_VAR=S,e.default=L,Object.defineProperty(e,"__esMo
667dule",{value:!0})});
668})();(function() { LWR.define("@branding/scoped/ec69dcc1-47fd-470f-886d-b119983a094c",function(){if("undefined"!=typeof document){var o=document.createElement("style");o.textContent=".dxpBrand_ec69dcc1-47fd-470f-886d-b119983a094c{--dxp-g-success:#58bb62;--dxp-g-brand:rgb(146, 45, 45);--dxp-s-form-checkbox-color-background:var(--dxp-s-form-element-color-background);--dxp-s-dropdown-text-color:var(--dxp-g-root-contrast);--dxp-s-button-border-color-focus:var(--dxp-s-button-color-focus);--dxp-g-warning-contrast-3:#000;--dxp-s-tertiary-button-text-color:var(--dxp-s-button-color);--dxp-s-dropdown-color-background:var(--dxp-g-root);--dxp-s-secondary-button-text-color-active:var(--dxp-s-secondary-button-text-color-focus);--dxp-g-neutral-contrast-3:#000;--dxp-s-button-color-hover:var(--dxp-s-button-color-1);--dxp-g-neutral-contrast-2:#000;--dxp-g-neutral-contrast-1:#000;--dxp-s-button-color-focus-contrast:#ffffff;--dxp-g-warning-contrast-2:#000;--dxp-s-tertiary-button-border-color-1:rgba(0,0,0,0);--dxp-g-warning-contrast-1:#000;--dxp-s-button-border-color-active:var(--dxp-s-button-border-color-focus);--dxp-s-link-text-color-1:rgb(177, 55, 55);--dxp-g-info:#0070d2;--dxp-g-root:rgb(0, 0, 0);--dxp-g-root-contrast-1:rgb(255, 255, 255);--dxp-g-root-contrast:rgb(255, 255, 255);--dxp-s-tertiary-button-text-color-focus:var(--dxp-s-tertiary-button-text-color-1);--dxp-g-root-contrast-2:rgb(255, 255, 255);--dxp-g-root-contrast-3:rgb(255, 255, 255);--dxp-s-tertiary-button-color-1:rgba(0,0,0,0);--dxp-s-form-checkbox-color-background-checked:var(--dxp-s-form-checkbox-color-background);--dxp-s-secondary-button-color-focus:var(--dxp-s-secondary-button-color-1);--dxp-g-warning-2:rgb(245, 223, 159);--dxp-g-warning-3:rgb(255, 255, 255);--dxp-s-form-element-color-border:var(--dxp-g-neutral-3);--dxp-g-warning-1:rgb(238, 198, 85);--dxp-s-secondary-button-color-hover:var(--dxp-s-secondary-button-color-1);--dxp-s-form-checkbox-color-border:var(--dxp-s-form-element-color-border);--dxp-s-tertiary-button-border-color-hover:var(--dxp-s-tertiary-button-border-color-1);--dxp-s-tertiary-button-border-color-focus:var(--dxp-s-tertiary-button-border-color-1);--dxp-g-warning-contrast:#000;--dxp-s-tertiary-button-color:rgba(0,0,0,0);--dxp-s-secondary-button-border-color:var(--dxp-s-button-color);--dxp-s-secondary-button-text-color:var(--dxp-s-button-color);--dxp-s-text-heading-small-color:var(--dxp-g-root-contrast);--dxp-s-form-element-color-background:var(--dxp-g-root);--dxp-s-form-element-placeholder-text-color:var(--dxp-g-neutral-3);--dxp-s-tertiary-button-border-color-active:var(--dxp-s-tertiary-button-border-color-focus);--dxp-g-offline-3:rgb(190, 190, 190);--dxp-g-offline-2:rgb(129, 129, 129);--dxp-g-offline-1:rgb(88, 88, 88);--dxp-s-button-color-contrast-1:var(--dxp-g-brand-contrast-1);--dxp-s-secondary-button-border-color-active:var(--dxp-s-secondary-button-border-color-focus);--dxp-g-offline:#444444;--dxp-g-success-contrast:#000;--dxp-g-brand-contrast-1:rgb(255, 255, 255);--dxp-g-brand-contrast-3:rgb(255, 255, 255);--dxp-s-button-color-hover-contrast:#ffffff;--dxp-g-brand-contrast-2:rgb(255, 255, 255);--dxp-g-brand-1:rgb(177, 55, 55);--dxp-g-brand-2:rgb(209, 105, 105);--dxp-s-secondary-button-text-color-focus:var(--dxp-s-secondary-button-text-color-1);--dxp-g-warning:#eab930;--dxp-g-success-3:rgb(255, 255, 255);--dxp-g-brand-3:rgb(238, 198, 198);--dxp-g-success-2:rgb(175, 222, 180);--dxp-g-success-1:rgb(117, 199, 125);--dxp-s-secondary-button-text-color-1:var(--dxp-s-button-color-1);--dxp-s-link-text-color-hover:var(--dxp-s-link-text-color-1);--dxp-g-offline-contrast-3:#000;--dxp-g-offline-contrast-2:#000;--dxp-s-tertiary-button-color-hover:var(--dxp-s-tertiary-button-color-1);--dxp-g-info-contrast-3:#000;--dxp-s-form-checkbox-color-border-checked:var(--dxp-s-form-checkbox-color-border);--dxp-s-button-color-active:var(--dxp-s-button-color-focus);--dxp-g-destructive-1:rgb(208, 84, 79);--dxp-g-offline-contrast-1:#fff;--dxp-s-tertiary-button-text-color-1:var(--dxp-s-button-color-1);--dxp-g-info-contrast:#fff;--dxp-s-link-text-color:var(--dxp-g-brand);--dxp-g-destructive-2:rgb(225, 146, 143);--dxp-g-neutral:#6e6964;--dxp-g-destructive-3:rgb(251, 240, 240);--dxp-g-info-contrast-1:#000;--dxp-s-dropdown-text-color-hover:var(--dxp-g-neutral-contrast);--dxp-g-info-contrast-2:#000;--dxp-s-form-element-label-color:var(--dxp-g-root-contrast);--dxp-s-secondary-button-color-active:var(--dxp-s-secondary-button-color-focus);--dxp-s-tertiary-button-text-color-active:var(--dxp-s-tertiary-button-text-color-focus);--dxp-s-secondary-button-border-color-hover:var(--dxp-s-secondary-button-border-color-1);--dxp-g-info-2:rgb(77, 172, 255);--dxp-s-form-element-text-color:var(--dxp-g-root-contrast);--dxp-g-info-3:rgb(200, 229, 255);--dxp-g-destructive-contrast:#fff;
668--dxp-s-secondary-button-border-color-focus:var(--dxp-s-secondary-button-border-color-1);--dxp-g-info-1:rgb(0, 134, 251);--dxp-g-destructive-contrast-1:#000;--dxp-g-neutral-contrast:#fff;--dxp-s-dropdown-color-background-hover:var(--dxp-g-neutral);--dxp-g-destructive-contrast-2:#000;--dxp-g-root-1:rgb(20, 20, 20);--dxp-g-destructive-contrast-3:#000;--dxp-g-root-2:rgb(61, 61, 61);--dxp-g-root-3:rgb(122, 122, 122);--dxp-s-button-color-1:rgb(177, 55, 55);--dxp-s-form-element-color-background-active:var(--dxp-s-form-element-color-background);--dxp-s-body-text-color:var(--dxp-g-root-contrast);--dxp-g-brand-contrast:#ffffff;--dxp-s-button-color:var(--dxp-g-brand);--dxp-s-button-border-color-hover:var(--dxp-s-button-color-hover);--dxp-g-neutral-3:rgb(229, 227, 226);--dxp-s-body-small-text-color:var(--dxp-g-root-contrast);--dxp-g-neutral-2:rgb(170, 166, 162);--dxp-s-text-heading-extra-large-color:var(--dxp-g-root-contrast);--dxp-g-neutral-1:rgb(131, 125, 119);--dxp-s-secondary-button-color-1:var(--dxp-g-root-1);--dxp-s-button-color-active-contrast:var(--dxp-s-button-color-focus-contrast);--dxp-g-success-contrast-3:#000;--dxp-g-success-contrast-2:#000;--dxp-s-secondary-button-border-color-1:var(--dxp-s-button-color-1);--dxp-s-tertiary-button-color-focus:var(--dxp-s-tertiary-button-color-1);--dxp-s-form-element-color-border-focus:var(--dxp-g-brand);--dxp-g-success-contrast-1:#000;--dxp-s-button-border-color:var(--dxp-s-button-color);--dxp-s-secondary-button-color:var(--dxp-g-root);--dxp-s-text-heading-extra-extra-small-color:var(--dxp-g-root-contrast);--dxp-s-form-element-text-color-focus:var(--dxp-s-form-element-text-color);--dxp-s-text-heading-extra-small-color:var(--dxp-g-root-contrast);--dxp-s-tertiary-button-border-color:rgba(0,0,0,0);--dxp-s-tertiary-button-text-color-hover:var(--dxp-s-tertiary-button-text-color-1);--dxp-g-destructive:#c23934;--dxp-s-tertiary-button-color-active:var(--dxp-s-tertiary-button-color-focus);--dxp-s-dropdown-color-border:var(--dxp-g-neutral);--dxp-s-button-color-contrast:#fff;--dxp-g-offline-contrast:#fff;--dxp-s-text-heading-medium-color:var(--dxp-g-root-contrast);--dxp-s-text-heading-large-color:var(--dxp-g-root-contrast);--dxp-s-button-color-focus:var(--dxp-s-button-color-1);--dxp-s-secondary-button-text-color-hover:var(--dxp-s-secondary-button-text-color-1);color:var(--dxp-g-root-contrast);background-color:var(--dxp-g-root);--dxp-g-success-h:126;--dxp-g-success-s:42%;--dxp-g-success-l:54%;--dxp-g-success-a:1.0;--dxp-g-brand-h:0;--dxp-g-brand-s:53%;--dxp-g-brand-l:37%;--dxp-g-brand-a:1.0;--dxp-s-button-color-focus-contrast-h:0;--dxp-s-button-color-focus-contrast-s:0%;--dxp-s-button-color-focus-contrast-l:100%;--dxp-s-button-color-focus-contrast-a:1.0;--dxp-g-info-h:208;--dxp-g-info-s:100%;--dxp-g-info-l:41%;--dxp-g-info-a:1.0;--dxp-g-root-h:0;--dxp-g-root-s:0%;--dxp-g-root-l:0%;--dxp-g-root-a:1.0;--dxp-g-root-contrast-h:0;--dxp-g-root-contrast-s:0%;--dxp-g-root-contrast-l:100%;--dxp-g-root-contrast-a:1.0;--dxp-g-warning-contrast-h:0;--dxp-g-warning-contrast-s:0%;--dxp-g-warning-contrast-l:0%;--dxp-g-warning-contrast-a:1.0;--dxp-s-tertiary-button-color-h:0;--dxp-s-tertiary-button-color-s:0%;--dxp-s-tertiary-button-color-l:0%;--dxp-s-tertiary-button-color-a:0.0;--dxp-g-offline-h:0;--dxp-g-offline-s:0%;--dxp-g-offline-l:27%;--dxp-g-offline-a:1.0;--dxp-g-success-contrast-h:0;--dxp-g-success-contrast-s:0%;--dxp-g-success-contrast-l:0%;--dxp-g-success-contrast-a:1.0;--dxp-s-button-color-hover-contrast-h:0;--dxp-s-button-color-hover-contrast-s:0%;--dxp-s-button-color-hover-contrast-l:100%;--dxp-s-button-color-hover-contrast-a:1.0;--dxp-g-warning-h:44;--dxp-g-warning-s:82%;--dxp-g-warning-l:55%;--dxp-g-warning-a:1.0;--dxp-g-info-contrast-h:0;--dxp-g-info-contrast-s:0%;--dxp-g-info-contrast-l:100%;--dxp-g-info-contrast-a:1.0;--dxp-g-neutral-h:30;--dxp-g-neutral-s:5%;--dxp-g-neutral-l:41%;--dxp-g-neutral-a:1.0;--dxp-g-destructive-contrast-h:0;--dxp-g-destructive-contrast-s:0%;--dxp-g-destructive-contrast-l:100%;--dxp-g-destructive-contrast-a:1.0;--dxp-g-neutral-contrast-h:0;--dxp-g-neutral-contrast-s:0%;--dxp-g-neutral-contrast-l:100%;--dxp-g-neutral-contrast-a:1.0;--dxp-g-brand-contrast-h:0;--dxp-g-brand-contrast-s:0%;--dxp-g-brand-contrast-l:100%;--dxp-g-brand-contrast-a:1.0;--dxp-s-tertiary-button-border-color-h:0;--dxp-s-tertiary-button-border-color-s:0%;--dxp-s-tertiary-button-border-color-l:0%;--dxp-s-tertiary-button-border-color-a:0.0;--dxp-g-destructive-h:2;--dxp-g-destructive-s:58%;--dxp-g-destructive-l:48%;--dxp-g-destructive-a:1.0;--dxp-s-button-color-contrast-h:0;--dxp-s-button-color-contrast-s:0%;--dxp-s-button-color-contrast-l:100%;--dxp-s-button-color-contrast-a:1.0;--dxp-g-offline-contrast-h:0;--dxp-g-offline-contrast-s:0%;--dxp-g-offline-contrast-l:100%;--dxp-g-offline-contrast-a:1.0;}",document.head.append(o)}});
669})();(function() { LWR.define("commerce/primitiveFocusTrapManager",["exports","lwc","lwr/environment"],function(e,t,s){const o={key:0},i=[];function n(e,t,s,n){const{s:c}=e;return[c("",o,i,s)]}var c=t.registerTemplate(n);n.slots=[""],n.renderMode="light",n.stylesheets=[],n.stylesheetToken="lwc-6j5b2i003lr",n.legacyStylesheetToken="commerce-primitiveFocusTrapManager_primitiveFocusTrapManager",t.freezeTemplate(n);class r extends t.LightningElement{constructor(...e){super(...e),this.focusTriggerElement=null,this._focusTrapActive=!1,this.boundKeyDownHandler=this.handleKeyDown.bind(this),this.focusId=void 0,this.noFocusNextOnDisable=!1}set focusTrapActive(e){e?this.activateFocusTrap(void 0,void 0,{deferFocus:!0}):!1===e&&this.deactivateFocusTrap({deferFocus:!0})}get focusTrapActive(){return this._focusTrapActive}connectedCallback(){this.focusId||console.error("The focus trap requires an id")}disconnectedCallback(){this.deactivateFocusTrap()}activateFocusTrap(e,t,{deferFocus:o=!1}={}){s.isServer||(this.focusTriggerElement=e??null,o?Promise.resolve().then(()=>this.focusElement(t)):this.focusElement(t),this._focusTrapActive||(this.addEventListener("keydown",this.boundKeyDownHandler),this._focusTrapActive=!0,this.dispatchEvent(new CustomEvent("focustrapactivated",{detail:{id:this.focusId}}))))}deactivateFocusTrap({deferFocus:e=!1}={}){this._focusTrapActive&&(this.removeEventListener("keydown",this.boundKeyDownHandler),this.focusTriggerElement?this.focusTriggerElement.focus():this.noFocusNextOnDisable||(e?Promise.resolve().then(()=>this.focusNextElement()):this.focusNextElement()),this._focusTrapActive=!1,this.dispatchEvent(new CustomEvent("focustrapdeactivated",{detail:{id:this.focusId}})))}handleKeyDown(e){const t=this.getFocusableElements(),s=t.length;let o=document.activeElement;o=function(e){for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e}(o);const i=t.indexOf(o);0!==s?"Tab"===e.key?e.shiftKey&&0===i?(t[s-1]?.focus(),e.preventDefault()):e.shiftKey||i!==s-1||(t[0]?.focu
669s(),e.preventDefault()):"Escape"===e.key&&(this.deactivateFocusTrap(),e.preventDefault()):console.warn("No focusable elements found.")}getFocusableElements(){const e=function e(t){const s=["a","button","input","textarea","select"];return Array.from(t.querySelectorAll("*")).reduce((t,o)=>((s.includes(o.tagName.toLowerCase())||o.hasAttribute("tabindex"))&&t.push(o),o.shadowRoot&&t.push(...e(o.shadowRoot)),t),[])}(this);return[...new Set(e.filter(e=>!e.disabled&&"-1"!==e.getAttribute("tabindex")&&e.checkVisibility()))]}getNextFocusableElement(){const e=[...document.querySelectorAll("a, button, input, textarea, select, [tabindex]")].filter(e=>!e.disabled&&"-1"!==e.getAttribute("tabindex")),t=e.indexOf(document.activeElement);return e[t+1]||e[0]}focusNextElement(){const e=this.getNextFocusableElement();e?.focus()}focusElement(e){if(e)e.focus();else{const e=this.getFocusableElements();e.length>0&&e[0].focus()}}}r.renderMode="light",t.registerDecorators(r,{publicProps:{focusTrapActive:{config:3},focusId:{config:0},noFocusNextOnDisable:{config:0}},publicMethods:["activateFocusTrap","deactivateFocusTrap"],fields:["focusTriggerElement","_focusTrapActive","boundKeyDownHandler"]});const a=t.registerComponent(r,{tmpl:c,sel:"commerce-primitive-focus-trap-manager",apiVersion:66,enableSyntheticElementInternals:!0});e.default=a,Object.defineProperty(e,"__esModule",{value:!0})});
670})();(function() { LWR.define("commerce/drilldownNavigationList",["exports","lwc","lightning/buttonIcon","lightning/icon","commerce/primitiveFocusTrapManager","@salesforce/label/ThemeNav.closeNavigationMenu","@salesforce/label/Commerce_Navigation_Menu.All","@salesforce/label/Commerce_Navigation_Menu.Back","@salesforce/label/LwcComponent:commerce_builder:drilldownNavigation.component_name","experience/styling","@salesforce/gate/com.salesforce.commerce.useHtmlProductName"],function(e,t,i,a,s,n,o,l,r,c,d){function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=u(i),m=u(a),v=u(s),p=u(n),g=u(o),f=u(l),b=u(r),k=u(d);function _(e,t,i){var a=e?"."+e:"",s=e?"-"+e:"";return"@media only screen and (max-width: 47.9375em) {.activeMenu"+a+" {position: var(--dxp-c-navigation-list-active-menu-position-mobile, absolute);top: 0;height: 100%;width: 100%;background-color: var(--dxp-c-navigation-list-background-color);z-index: var(--dxp-c-navigation-list-z-index-mobile);}}@media only screen and (min-width: 48em) and (max-width: 64em) {.activeMenu"+a+" {position: var(--dxp-c-navigation-list-active-menu-position-tablet);top: var(--dxp-c-navigation-list-active-menu-top-tablet);height: var(--dxp-c-navigation-list-active-menu-height-tablet);width: var(--dxp-c-navigation-list-active-menu-width-tablet);background-color: var(--dxp-c-navigation-list-background-color);z-index: var(--dxp-c-navigation-list-z-index-tablet);}}nav"+a+" li"+a+" {margin-bottom: 1px;}nav"+a+" a"+a+",nav"+a+" button"+a+" {text-align: start;text-decoration: var(--dxp-c-navigation-item-hover-text-decoration);color: var(--dxp-s-dropdown-text-color, var(--dxp-c-navigation-text-color));font-size: var(--dxp-c-navigation-item-font-size);display: block;background-color: var(--dxp-c-navigation-list-background-color);transition: background-color 0.2s linear;}nav"+a+" button"+a+" {width: var(--dxp-c-navigation-full-width);border: 0;}.close-button-wrapper"+a+" {position: fixed;background: var(--dxp-c-navigation-list-background-color);width: 100%;height: var(--dxp-c-navigation-list-close-button-height);top: 0;left: 0;z-index: var(--dxp-c-navigation-list-z-index-mobile);}.close-button"+a+" {position: absolute;right: 0;}nav"+a+" a:focus"+a+",nav"+a+" a:hover"+a+",nav"+a+" a:active"+a+",nav"+a+" button:hover"+a+",nav"+a+" button:focus"+a+",nav"+a+" button:active"+a+" {color: var(--dxp-c-navigation-item-focus-color);background-color: var(--dxp-s-dropdown-color-background-hover, var(--dxp-c-navigation-list-hover-background-color-contrast));}nav"+a+" button:focus-visible"+a+",nav"+a+" a:focus-visible"+a+" {outline: var(--dxp-c-navigation-list-outline);outline-offset: -1px;}nav"+a+" a.isActive"+a+",nav"+a+" button.isActive"+a+" {border-left: var(--dxp-c-navigation-bar-border-bottom-active);}nav"+a+" .chevron-right"+a+" {top: var(--dxp-c-navigation-list-chevron-padding-top);right: var(--dxp-c-navigation-list-chevron-padding-right);}nav"+a+" .chevron-left"+a+" {left: 0;}nav"+a+" .slide-right-to-left"+a+" {animation-name: slideRightToLeft"+s+";animation-duration: 0.2s;animation-iteration-count: 1;}@keyframes slideRightToLeft"+s+" {0% {transform: translate(calc(var(--d
670xp-c-navigation-list-nested-width-min, var(--dxp-c-navigation-list-nested-width)) - 1px));}100% {transform: translate(0, 0);}}nav"+a+" .slide-down"+a+" {animation-name: slideDown"+s+";animation-duration: 0.2s;animation-iteration-count: 1;}@keyframes slideDown"+s+" {0% {transform: scaleY(0);transform-origin: 0 0;}100% {transform: scaleY(1);transform-origin: 0 0;}}@media only screen and (min-width: 48em) {nav"+a+" ul"+a+" {position: var(--dxp-c-navigation-list-position, absolute);width: auto;top: initial;left: initial;height: initial;min-width: var(--dxp-c-navigation-list-nested-width-min, var(--dxp-c-navigation-list-nested-width));max-width: var(--dxp-c-navigation-list-nested-width-max, var(--dxp-c-navigation-list-nested-width));box-shadow: var(--dxp-c-navigation-list-box-shadow);outline: var(--dxp-c-navigation-list-nested-outline);max-height: var(--dxp-c-navigation-list-max-height);z-index: var(--dxp-c-navigation-list-z-index);background-color: var(--dxp-c-navigation-list-background-color);overflow: var(--dxp-c-navigation-list-overflow);border-radius: var(--dxp-c-navigation-list-border-radius, 0);}.close-button-wrapper"+a+" {display: var(--dxp-c-navigation-tablet-icon-display, none);width: var(--dxp-c-navigation-list-width-tablet);}}"}_.$scoped$=!0;var y=[_];const w=t.parseFragment`<a class="slds-p-vertical_small slds-p-horizontal_large slds-truncate${0}"${"a0:title"}${"a0:data-id"} data-menulist-item${"a0:href"}${"s0"} tabindex="0"${2}>${"t1"}</a>`,x=t.parseFragment`<a${"c0"}${"a0:title"}${"a0:data-id"} data-menulist-item${"a0:href"}${"a0:aria-label"}${"a0:aria-current"}${"s0"} tabindex="0"${2}>${"t1"}</a>`,I={classMap:{"close-button-wrapper":!0},key:3},L={"close-button":!0,"slds-m-right_small":!0},C={"slide-down":!0,"slds-list_vertical":!0,"slds-has-flexi-truncate":!0},O={key:8},F={"slds-p-vertical_small":!0,"slds-p-horizontal_large":!0,"slds-truncate":!0},M={lwc:{dom:"manual"}},H={classMap:{"chevron-left":!0,"slds-current-color":!0,"slds-p-left_x-small":!0,"slds-p-top_xxx-small":!0,"slds-is-absolute":!0},props:{iconName:"utility:chevronleft",variant:"bare",size:"xx-small"},key:12},B={classMap:{"chevron-left":!0,"slds-current-color":!0,"slds-p-left_x-small":!0,"slds-p-top_xxx-small":!0,"slds-is-absolute":!0},props:{iconName:"utility:chevronleft",variant:"bare",size:"xx-small"},key:14},D={key:16},S={"slds-is-relative":!0,"slds-list__item":!0},E={classMap:{"chevron-right":!0,"slds-current-color":!0,"slds-p-left_x-small":!0,"slds-is-absolute":!0},props:{iconName:"utility:chevronright",variant:"bare",size:"xx-small"},key:26},N={classMap:{"chevron-right":!0,"slds-current-color":!0,"slds-p-left_x-small":!0,"slds-is-absolute":!0},props:{iconName:"utility:chevronright",variant:"bare",size:"xx-small"},key:30};function T(e,t,i,a){const{b:s,c:n,h:o,fr:l,ncls:r,shc:c,d:d,t:u,sp:p,st:g,k:f,i:b,f:k}=e,{_m0:_,_m1:y,_m2:T,_m3:A,_m4:$,_m5:z,_m6:P,_m7:K,_m8:V,_m9:R,_m10:j,_m11:q}=a;return[n("commerce-primitive-focus-trap-manager",v.default,{props:{focusId:"nav-all",focusTrapActive:t.isFocusTrapEnabled,noFocusNextOnDisable:t.noFocusNextOnClose},key:0},[o("div",{attrs:{"aria-modal":"true",role:"dialog","aria-label":t.labels.compNameLabel},key:1,on:_||(a._m0={focusout:s(t.handleFocusOut)})},[t.showCloseIcon?l(2,[o("span",I,[n("lightning-button-icon",h.default,{classMap:L,ref:"closeButton",props:{iconName:"utility:close",variant:"bare",alternativeText:t.labels.closeLabel},key:4,on:y||(a._m1={click:s(t.handleCloseClick),keydown:s(t.handleAllKeyDown)})})])],0):null,o("nav",{className:r(t.activeClass),attrs:{"aria-label":t.navMenuLabel},key:5},[o("ul",{classMap:C,style:t.customListStyles,attrs:{"data-menulist":"","aria-label":t.navMenuLabel},key:6},k([t.showBackButton?l(7,[o("li",O,[t.htmlProductNameGate?l(9,[o("button",{classMap:F,style:t.customStyles,attrs:{title:t.backButtonLabel,"data-id":"back","aria-expanded":"true","data-menulist-item":""},key:10,on:T||(a._m2={click:s(t.handleBackClick),keydown:s(t.handleBackKeyDown),animationend:s(t.handleAnimationEnd),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut)})},[o("span",{props:{innerHTML:a._rawHtml$0!==(a._rawHtml$0=t.backButtonLabel)?a._sanitizedHtml$0=c(t.backButtonLabel):a._sanitizedHtml$0},context:M,key:11}),n("lightning-icon",m.default,H)])],0):l(9,[o("button",{classMap:F,style:t.customStyles,attrs:{title:t.backButtonLabel,"data-id":"back","aria-expanded":"true","data-menulist-item":""},key:13,on:A||(a._m3={click:s(t.handleBackClick),keydown:s(t.handleBackKeyDown),animationend:s(t.handleAnimationEnd),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut)})},[u(d(t.backButtonLabel)),n("lightning-icon",m.default,B)])],0)])],0):null,t.hasProperParentItem?l(15,[o("li",D,[t.htmlProductNameGate?l(17,[o("a",{classMap:F,style:t.customStyles,attrs:{title:t.parentItem.label,"data-id":t.parentItem.id,"data-menulist-item":"",href:t.parentItem.href,tabindex:"0"},props:{innerHTML:a._rawHtml$1!==(a._rawHtml$1=t.allLabel)?a._sanitizedHtml$1=c(t.allLabel):a._sanitizedHtml$1},context:M,key:18,on:$||(a._m4={click:s(t.handleAllClick),keydown:s(t.handleAllKeyDown),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut),animationend:s(t.handleAnimationEnd)})})],0):l(17,[g(w,20,[p(0,{on:P||(a._m6={click:s(t.handleAllClick),keydown:s(t.handleAllKeyDown),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut),animationend:s(t.handleAnimationEnd)}),style:t.customStyles,attrs:{title:t.parentItem.label,"data-id":t.parentItem.id,href:t.parentItem.href}},null),p(1,null,d(t.allLabel))])],0)])],0):null,b(t.styledVisibleItems,function(e){return o("li",{classMap:S,key:f(21,e.id)},[t.htmlProductNameGate?l(22,[e.subMenu?l(23,[o("button",{className:r(e.cssClasse
670s),style:e.customStyles,attrs:{title:e.label,"data-id":e.id,"data-menulist-item":"","aria-expanded":"false","aria-current":e.ariaCurrent},key:24,on:K||(a._m7={click:s(t.handleParentClick),keydown:s(t.handleParentKeyDown),animationend:s(t.handleAnimationEnd),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut)})},[o("span",{props:{innerHTML:a._rawHtml$2!==(a._rawHtml$2=e.label)?a._sanitizedHtml$2=c(e.label):a._sanitizedHtml$2},context:M,key:25}),n("lightning-icon",m.default,E)])],0):l(23,[o("a",{className:r(e.cssClasses),style:e.customStyles,attrs:{title:e.label,"data-id":e.id,"data-menulist-item":"",href:e.href,"aria-label":e.ariaLabel,"aria-current":e.ariaCurrent,tabindex:"0"},props:{innerHTML:a._rawHtml$3!==(a._rawHtml$3=e.label)?a._sanitizedHtml$3=c(e.label):a._sanitizedHtml$3},context:M,key:27,on:V||(a._m8={click:s(t.handleLeafClick),keydown:s(t.handleLeafKeyDown),animationend:s(t.handleAnimationEnd),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut)})})],0)],0):l(22,[e.subMenu?l(28,[o("button",{className:r(e.cssClasses),style:e.customStyles,attrs:{title:e.label,"data-id":e.id,"data-menulist-item":"","aria-expanded":"false","aria-current":e.ariaCurrent},key:29,on:R||(a._m9={click:s(t.handleParentClick),keydown:s(t.handleParentKeyDown),animationend:s(t.handleAnimationEnd),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut)})},[u(d(e.label)),n("lightning-icon",m.default,N)])],0):l(28,[g(x,32,[p(0,{on:q||(a._m11={click:s(t.handleLeafClick),keydown:s(t.handleLeafKeyDown),animationend:s(t.handleAnimationEnd),mouseover:s(t.handleHoverOrFocus),focus:s(t.handleHoverOrFocus),mouseout:s(t.handleHoverOrFocusOut),focusout:s(t.handleHoverOrFocusOut)}),className:r(e.cssClasses),style:e.customStyles,attrs:{title:e.label,"data-id":e.id,href:e.href,"aria-label":e.ariaLabel,"aria-current":e.ariaCurrent}},null),p(1,null,d(e.label))])],0)],0)])})]))])])])]}var A=t.registerTemplate(T);T.renderMode="light",T.hasRefs=!0,T.stylesheets=[],T.stylesheetToken="lwc-44m8jpc5qct",T.legacyStylesheetToken="commerce-drilldownNavigationList_drilldownNavigationList",y&&T.stylesheets.push.apply(T.stylesheets,y),t.freezeTemplate(T);const $={"border-bottom-color":"border-bottom-color","text-decoration":"text-decoration","text-transform":"text-transform","font-style":"font-style","font-weight":"font-weight","background-color":"background-color",width:"width",background:(e,t)=>t.isHovering?e["background-hover"]:e.background,color:(e,t)=>t.isHovering?e["text-hover-color"]:e["text-color"],"border-left":(e,t)=>t.isActive?e["border-left-active"]:e["border-left-inactive"]},z="navigatetopage";const P=e=>e.subMenu;class K{constructor(e){this.iterator=void 0,this.lookupById=void 0,this.iterator=function*(e,t){const i=[...e];for(const e of i){yield e;const a=t(e);a&&i.push(...a)}}(e,P),this.lookupById={}}findItemById(e){if(this.lookupById[e])return this.lookupById[e];let t;for(;t!==e;){const e=this.iterator.next();if(e.done)return;const i=e.value;t=i.id,this.lookupById[i.id]=i}return this.lookupById[t]}}class V extends t.LightningElement{constructor(...e){super(...e),this._menuItems=[],this._parentItem=void 0,this._focusOnFirstItem=!0,this._focusOnLastItem=!1,this._isMobileView=!1,this._isBackButtonClicked=!1,this._previousParent=void 0,this._showAnimation=!1,this._drilledDown=0,this._focusedListItemIndex=-1,this._cssClasse
670s="slds-p-vertical_small slds-p-horizontal_large slds-truncate",this._isMoreMenu=!1,this._menuItemsById=void 0,this._listStack=[],this.showBackLabel=!1,this.itemLimit=void 0,this.noFocusNextOnClose=!1,this.hideCloseIcon=!1,this.disableFocusTrap=!1,this.customThemeStyles=void 0}get htmlProductNameGate(){return k.default.isOpen({fallback:!1})}get menuItems(){return this._menuItems}set menuItems(e){this._menuItemsById=new K(e),this._menuItems=e}get parentItem(){return this._parentItem}set parentItem(e){this._parentItem=e,e&&this._listStack.push(e)}get isMoreMenu(){return this._isMoreMenu}set isMoreMenu(e){this._isMoreMenu=e}get focusOnFirstItem(){return this._focusOnFirstItem}set focusOnFirstItem(e){this._focusOnFirstItem=e}get focusOnLastItem(){return this._focusOnLastItem}set focusOnLastItem(e){this._focusOnLastItem=e}get isMobileView(){return this._isMobileView}set isMobileView(e){this._isMobileView=e}get showCloseIcon(){return this._isMobileView&&!this.hideCloseIcon}get isFocusTrapEnabled(){return!this.disableFocusTrap}get customStyles(){return this.getCustomStyles()}get closeButtonElement(){return this.refs?.closeButton}get resolvedItemLimit(){return"number"==typeof this.itemLimit?this.itemLimit:500}getCustomStyles(e={isHovering:!1,isActive:!1}){return this.customThemeStyles?c.generateConditionalStyles(this.customThemeStyles,$,e):""}get focusedItem(){return this.menuItems[this._focusedListItemIndex]}get styledVisibleItems(){return this.visibleItems.map(e=>{const t=this.focusedItem&&this.focusedItem.id===e.id,i=e.active&&this._isMobileView?this._cssClasse
670s+" isActive":this._cssClasses,a=e.active&&this._isMobileView?"page":void 0;return{...e,customStyles:this.getCustomStyles({isHovering:t??!1,isActive:e.active??!1}),cssClasses:i,ariaCurrent:a}})}get customListStyles(){return this.isMoreMenu?"position: absolute; right: 0;"+this.getCustomStyles():this.getCustomStyles()}get activeClass(){return this._drilledDown>0?"activeMenu":void 0}get backButtonLabel(){return(this.showBackLabel?f.default:this._parentItem?.label)??""}get labels(){return{closeLabel:p.default,backLabel:f.default,compNameLabel:b.default}}get visibleItems(){let e;return e=!this.parentItem||"object"==typeof this.parentItem&&0===Object.keys(this.parentItem).length?this.menuItems:this._listStack[this._listStack.length-1]?.subMenu??[],e.slice(0,this.resolvedItemLimit)}get hasProperParentItem(){return!!this._parentItem?.href?.length}renderedCallback(){const e=this.menuItemsElements;if(e.length)if(this._showAnimation&&(e.forEach(e=>{this.computeSlideDirectionClass(e,"add")}),this._showAnimation=!1),this._isBackButtonClicked){const t=this.querySelectorAll(`[data-id="${this._previousParent}"]`);t[0]?.focus(),e.forEach((e,i)=>{e===t[0]&&(this._focusedListItemIndex=i)}),this._isBackButtonClicked=!1}else this._focusOnFirstItem&&(0===this._drilledDown&&this.isMobileView?(this.closeButtonElement?.focus(),this._focusedListItemIndex=-1):(e[0].focus(),this._focusedListItemIndex=0),this._focusOnFirstItem=!1)}fireNavigationEvent(e){const t=e?.currentTarget?.dataset?.id;if(t){const e=this._menuItemsById?.findItemById(t);this.dispatchEvent(new CustomEvent(z,{bubbles:!0,cancelable:!0,composed:!0,detail:{menuItemId:t,type:e?.type,href:e?.href,target:e?.target,pageReference:e?.pageReference}}))}}fireNavigationEventForAll(e){const t=e?.currentTarget,i=t?.dataset?.id,a=t?.getAttribute("href"),s=this.parentItem?.pageReference;this.dispatchEvent(new CustomEvent(z,{bubbles:!0,cancelable:!0,composed:!0,detail:{menuItemId:i,type:"InternalLink",href:a,pageReference:s}}))}handleFocusOut(e){const t=this.querySelector("div");this._isMobileView||!e.relatedTarget||t?.contains(e.relatedTarget)||"commerce-drilldown-navigation-list"===e.relatedTarget.tagName?.toLowerCase()||this.fireCloseNavigationListEvent()}handleCloseClick(){this.fireCloseNavigationListEvent()}handleParentClick(e){e.stopPropagation();const t=e?.currentTarget?.dataset?.id;if(t){const e=this._menuItemsById?.findItemById(t);this._isBackButtonClicked=!1,this._showAnimation=!0,this._parentItem=e,this._listStack.push(e),this.setDrillDownLevel(this._drilledDown+1),this._focusOnFirstItem=!0}}handleAnimationEnd(e){this.computeSlideDirectionClass(e.target,"remove")}computeSlideDirectionClass(e,t){"add"===t?e?.classList.add("slide-"+(this._isBackButtonClicked?"left-to-right":"right-to-left")):(e?.classList.remove("slide-left-to-right"),e?.classList.remove("slide-right-to-left"))}handleBack(){this._isBackButtonClicked=!0,this._showAnimation=!0,this._listStack.pop(),this._previousParent=this._parentItem?.id,this._parentItem=this._listStack[this._listStack.length-1],this.setDrillDownLevel(this._drilledDown-1)}handleBackClick(e){e.stopPropagation(),this.handleBack()}handleAllClick(e){e.preventDefault(),this.fireNavigationEventForAll(e),this.fireCloseNavigationListEvent()}handleLeafClick(e){e.preventDefault(),e.stopPropagation(),this.fireNavigationEvent(e),this.fireCloseNavigationListEvent()}handleHoverOrFocus(e){const t=e.currentTarget;this.customThemeStyles?.["background-hover"]&&(t.style["background-color"]=this.customThemeStyles["background-hover"],t.style.color=this.customThemeStyles["text-hover-color"]),t.focus()}handleHoverOrFocusOut(e){const t=e.currentTarget;this.customThemeStyles?.["background-color"]&&(t.style["background-color"]=this.customThemeStyles["background-color"],t.style.color=this.customThemeStyles["text-color"])}resetListStackToFirstLevel(){for(;this._listStack.length>1;)this._listStack.pop();this._drilledDown=0,this.setDrillDownLevel(0),this._parentItem=this._listStack[0]}setDrillDownLevel(e){this._drilledDown=e,this.dispatchEvent(new CustomEvent("levelchange",{detail:{level:this._drilledDown}}))}get showBackButton(){return this._drilledDown>0}get navMenuLabel(){return this.parentItem?this.parentItem.label:""}get allLabel(){return g.default.replace("{categoryName}",this.navMenuLabel)}get menuItemsElements(){return this.querySelectorAll("[data-menulist-item]")}handleCommonKeyDown(e){switch(e.key){case"Esc":case"Escape":this.showBackButton?(e.stopPropagation(),this.handleBack()):this.fireCloseNavigationListEvent(),e.preventDefault()}}handleLeafKeyDown(e){switch(e.key){case"Enter":case" ":this.handleLeafClick(e),e.preventDefault();break;default:this.handleCommonKeyDown(e)}}handleParentKeyDown(e){switch(e.key){case"Enter":case" ":this._focusedListItemIndex=0,this._focusOnFirstItem=!0,this.handleParentClick(e),e.preventDefault();break;default:this.handleCommonKeyDown(e)}}handleBackKeyDown(e){switch("Tab"!==e.key&&e.preventDefault(),e.key){case"Enter":case" ":this.handleBack();break;default:this.handleCommonKeyDown(e)}}handleAllKeyDown(e){switch(e.key){case"Enter":case" ":this.fireNavigationEventForAll(e),this.fireCloseNavigationListEvent(),e.preventDefault();break;default:this.handleCommonKeyDown(e)}}fireCloseNavigationListEvent(){this.resetListStackToFirstLevel(),this._isMobileView?this.dispatchEvent(new CustomEvent("closesubmenus",{bubbles:!0})):this.parentItem?.id&&this.dispatchEvent(new CustomEvent("closesubmenus",{bubbles:!0,detail:{parentItemId:this.parentItem.id}}))}}V.renderMode="light",t.registerDecorators(V,{publicProps:{showBackLabel:{config:0},itemLimit:{config:0},menuItems:{config:3},noFocusNextOnClose:{config:0},parentItem:{config:3},isMoreMenu:{config:3},focusOnFirstItem:{config:3},focusOnLastItem:{config:3},isMobileView:{config:3},hideCloseIcon:{config:0},disableFocusTrap:{config:0},customThemeStyles:{config:0}}
670,track:{_menuItemsById:1,_listStack:1},fields:["_menuItems","_parentItem","_focusOnFirstItem","_focusOnLastItem","_isMobileView","_isBackButtonClicked","_previousParent","_showAnimation","_drilledDown","_focusedListItemIndex","_cssClasses","_isMoreMenu"]});const R=t.registerComponent(V,{tmpl:A,sel:"commerce-drilldown-navigation-list",apiVersion:66,enableSyntheticElementInternals:!0});e.default=R,Object.defineProperty(e,"__esModule",{value:!0})});
671})();(function() { LWR.define("lightning/dynamicIcon",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate"],function(e,s,t,c,r){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(t);var n=[function(){return""}];const i=s.parseFragment`<div class="slds-icon-eq__bar${0}"${2}></div>`,o=s.parseFragment`<div class="slds-icon-eq__bar${0}"${2}></div>`,p=s.parseFragment`<div class="slds-icon-eq__bar${0}"${2}></div>`,d=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`;function y(e,s,t,c){const{ncls:r,st:l,d:a,sp:n,h:y}=e;return[y("div",{className:r(s.computedEqClass),key:0},[l(i,2),l(o,4),l(p,6),s.alternativeText?l(d,8,[n(1,null,a(s.alternativeText))]):null])]}var u=s.registerTemplate(y);y.stylesheets=[],y.stylesheetToken="lwc-7k11vg5jc47",y.legacyStylesheetToken="lightning-dynamicIcon_eq",n&&y.stylesheets.push.apply(y.stylesheets,n),s.freezeTemplate(y);var $=[function(){return""}];const g=s.parseFragment`<svg viewBox="0 0 280 14" aria-hidden="true"${3}><circle cx="7" cy="7" r="4"${3}/><circle cx="7" cy="7" r="3"${3}/><circle cx="21" cy="7" r="4"${3}/><circle cx="21" cy="7" r="3"${3}/><circle cx="35" cy="7" r="4"${3}/><circle cx="35" cy="7" r="3"${3}/><circle cx="49" cy="7" r="4"${3}/><circle cx="49" cy="7" r="3"${3}/><circle cx="63" cy="7" r="4"${3}/><circle cx="63" cy="7" r="3"${3}/><circle cx="77" cy="7" r="4"${3}/><circle cx="77" cy="7" r="3"${3}/><circle cx="91" cy="7" r="4"${3}/><circle cx="91" cy="7" r="3"${3}/><circle cx="105" cy="7" r="4"${3}/><circle cx="105" cy="7" r="3"${3}/><circle cx="119" cy="7" r="4"${3}/><circle cx="119" cy="7" r="3"${3}/><circle cx="133" cy="7" r="4"${3}/><circle cx="133" cy="7" r="3"${3}/><circle cx="147" cy="7" r="4"${3}/><circle cx="147" cy="7" r="3"${3}/><circle cx="161" cy="7" r="4"${3}/><circle cx="161" cy="7" r="3"${3}/><circle cx="175" cy="7" r="4"${3}/><circle cx="175" cy="7" r="3"${3}/><circle cx="189" cy="7" r="4"${3}/><circle cx="189" cy="7" r="3"${3}/><circle cx="203" cy="7" r="4"${3}/><circle cx="203" cy="7" r="3"${3}/><circle cx="217" cy="7" r="4"${3}/><circle cx="217" cy="7" r="3"${3}/><circle cx="231" cy="7" r="4"${3}/><circle cx="231" cy="7" r="3"${3}/><circle cx="245" cy="7" r="4"${3}/><circle cx="245" cy="7" r="3"${3}/><circle cx="259" cy="7" r="4"${3}/><circle cx="259" cy="7" r="3"${3}/><circle cx="273" cy="7" r="4"${3}/><circle cx="273" cy="7" r="3"${3}/></svg>`,h=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,v={classMap:{"slds-icon-ellie":!0,"slds-is-animated":!0},key:0};function x(e,s,t,c){const{st:r,d:l,sp:a,h:n}=e;return[n("span",v,[r(g,2),s.alternativeText?r(h,4,[a(1,null,l(s.alternativeText))]):null])]}var m=s.registerTemplate(x);x.stylesheets=[],x.stylesheetToken="lwc-oi11vabgin",x.legacyStylesheetToken="lightning-dynamicIcon_ellie",$&&x.stylesheets.push.apply(x.stylesheets,$),s.freezeTemplate(x);var f=[function(){return""}];const T=s.parseFragment`<svg viewBox="0 0 5 5" class="slds-icon-score__positive${0}" aria-hidden="true"${2}><circle cx="50%" cy="50%" r="1.875"${3}/></svg>`,k=s.parseFragment`<svg viewBox="0 0 5 5" class="slds-icon-score__negative${0}" aria-hidden="true"${2}><circle cx="50%" cy="50%" r="1.875"${3}/></svg>`,_=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,w={"slds-icon-score":!0};function z(e,s,t,c){const{st:r,d:l,sp:a,h:n}=e;return[n("span",{classMap:w,attrs:{"data-slds-state":s.normalizedOption},key:0},[r(T,2),r(k,4),s.alternativeText?r(_,6,[a(1,null,l(s.alternativeText))]):null])]}var b=s.registerTemplate(z);z.stylesheets=[],z.stylesheetToken="lwc-3g95bfljff5",z.legacyStylesheetToken="lightning-dynamicIcon_score",f&&z.stylesheets.push.apply(z.stylesheets,f),s.freezeTemplate(z);var F=[function(){return""}];const S=s.parseFragment`<svg viewBox="0 0 27 7" aria-hidden="true"${3}><circle r="3.025" cx="3.5" cy="3.5"${3}/><circle r="3.025" cx="13.5" cy="3.5"${3}/><circle r="3.025" cx="23.5" cy="3.5"${3}/></svg>`,q=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,V={"slds-icon-strength":!0};function I(e,s,t,c){const{st:r,d:l,sp:a,h:n}=e;return[n("span",{classMap:V,attrs:{"data-slds-strength":s.normalizedOption},key:0},[r(S,2),s.alternativeText?r(q,4,[a(1,null,l(s.alternativeText))]):null])]}var M=s.registerTemplate(I);I.stylesheets=[],I.stylesheetToken="lwc-74fd1oqb5ek",I.legacyStylesheetToken="lightning-dynamicIcon_strength",F&&I.stylesheets.push.apply(I.stylesheets,F),s.freezeTemplate(I);var B=[function(){return""}];const O=s.parseFragment`<svg viewBox="0 0 16 16" aria-hidden="true"${3}><path class="slds-icon-trend__arrow${0}" d="M.75 8H11M8 4.5L11.5 8 8 11.5"${2}/><circle class="slds-icon-trend__circle${0}" cy="8" cx="8" r="7.375" transform="rotate(-28 8 8) scale(-1 1) translate(-16 0)"${2}/></svg>`,P=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,j={"slds-icon-trend":!0,"slds-is-animated":!0};function C(e,s,t,c){const{st:r,d:l,sp:a,h:n}=e;return[n("span",{classMap:j,attrs:{"data-slds-trend":s.normalizedOption},key:0},[r(O,2),s.alternativeText?r(P,4,[a(1,null,l(s.alternativeText))]):null])]}var E=s.registerTemplate(C);C.stylesheets=[],C.stylesheetToken="lwc-5hutadtplea",C.legacyStylesheetToken="lightning-dynamicIcon_trend",B&&C.stylesheets.push.apply(C.stylesheets,B),s.freezeTemplate(C);var D=[function(){return""}];const H=s.parseFragment`<span class="slds-icon-waffle${0}"${2}><span class="slds-r1${0}"${2}></span><span class="slds-r2${0}"${2}></span><span class="slds-r3${0}"${2}></span><span class="slds-r4${0}"${2}></span><span class="slds-r5${0}"${2}></span><span class="slds-r6${0}"${2}></span><span class="slds-r7${0}"${2}></span><span class="slds-r8${0}"${2}></span><span class="slds-r9${0}"${2}></span></span>`,L=s.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,N={classMap:{"slds-button":!0,"slds-icon-waffle_container":!0},key:0};function A(e,s,t,c){const{st:r,d:l,sp:a,h:n}=e;return[n("button",N,[r(H,2),s.alternativeText?r(L,4,[a(1,null,l(s.alternativeText))]):null])]}var G=s.registerTemplate(A);A.stylesheets=[],A.stylesheetToken="lwc-37msirougt7",A.legacyStylesheetToken="lightning-dynamicIcon_waffle",D&&A.stylesheets.push.apply(A.stylesheets,D),s.freezeTemplate(A);const J=[];function K(e,s,t,c){return J}var Q=s.registerTemplate(K);K.stylesheets=[],K.stylesheetToken="lwc-108s51nduo3",K.legacyStylesheetToken="lightning-dynamicIcon_default",s.freezeTemplate(K);class R extends a.default{constructor(...e){super(...e),this.alternativeText=void 0,this.type=void 0,this.option=void 0}render(){const{normalizedType:e}=this;switch(e){case"ellie":return m;case"eq":return u;case"score":return b;case"strength":return M;case"trend":return E;case"waffle":return G;default:return Q}}
671get normalizedType(){return r.normalizeString(this.type,{fallbackValue:"",validValues:["ellie","eq","score","strength","trend","waffle"]})}get normalizedOption(){const{normalizedType:e}=this;switch(e){case"eq":return r.normalizeString(this.option,{fallbackValue:"play",validValues:["play","stop"]});case"score":return r.normalizeString(this.option,{fallbackValue:"positive",validValues:["positive","negative"]});case"strength":return r.normalizeString(this.option,{fallbackValue:"0",validValues:["-3","-2","-1","0","1","2","3"]});case"trend":return r.normalizeString(this.option,{fallbackValue:"neutral",validValues:["up","down","neutral"]});default:return""}}get computedEqClass(){const{normalizedOption:e}=this,s=c.classSet("slds-icon-eq");return"play"===e&&s.add("slds-is-animated"),s.toString()}}s.registerDecorators(R,{publicProps:{alternativeText:{config:0},type:{config:0},option:{config:0}}});const U=s.registerComponent(R,{tmpl:void 0,sel:"lightning-dynamic-icon",apiVersion:66,enableSyntheticElementInternals:!0,enablePrivateMethods:!0});e.default=U,Object.defineProperty(e,"__esModule",{value:!0})});
672})();(function() { LWR.define("commerce/drilldownNavigationBar",["exports","lwc","lightning/dynamicIcon","lightning/icon","commerce/drilldownNavigationList","lwr/environment","@salesforce/label/AppLauncherDesktop.titleLabel","@salesforce/label/Commerce_Navigation_Menu.OverflowMenuItemLabel","@salesforce/label/LwcComponent:commerce_builder:drilldownNavigation.component_name","experience/styling","@salesforce/gate/com.salesforce.commerce.useHtmlProductName"],function(e,t,s,n,i,a,l,r,o,u,c){function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=m(s),d=m(n),v=m(i),b=m(l),g=m(r),p=m(o),f=m(c);function I(e,t,s){var n=e?"."+e:"";return"nav"+n+" a"+n+",nav"+n+" button"+n+" {white-space: nowrap;padding: var(--dxp-c-navigation-bar-spacing);background-color: var(--dxp-c-navigation-list-color);transition: background-color 0.2s linear;color: var(--dxp-c-navigation-text-color, var(--dxp-g-root-contrast));}nav"+n+" a"+n+" {display: block;text-decoration: none;}nav"+n+" button"+n+" {border: unset;display: flex;align-items: center;--slds-c-icon-color-foreground: var(--dxp-c-navigation-text-color, var(--dxp-g-root-contrast));}nav"+n+" a:hover"+n+",nav"+n+" a:active"+n+",nav"+n+" a:focus"+n+",nav"+n+" button:hover"+n+",nav"+n+" button:active"+n+",nav"+n+" button:focus"+n+" {background-color: var(--dxp-c-navigation-list-hover-background-color-contrast);}nav"+n+" a.isActive"+n+",nav"+n+" button.isActive"+n+" {border-bottom: var(--dxp-c-navigation-bar-border-bottom-active);}nav"+n+" button:focus-visible"+n+",nav"+n+" a:focus-visible"+n+" {outline: var(--dxp-c-navigation-bar-outline);outline-offset: -1px;}nav"+n+" .comm-drilldown-navigation__bar-wrap"+n+" {flex-wrap: wrap;}nav"+n+" .comm-drilldown-navigation__bar"+n+" {padding: var(--dxp-c-navigation-bar-padding, 0);}"}I.$scoped$=!0;var M=[I];const y=t.parseFragment`<a${"a0:href"} style="display: none;" aria-hidden="true"${3}>${"t1"}</a>`,_=t.parseFragment`<a${"a0:title"}${"a0:data-id"} data-menubar-item${"a0:href"}${"a0:aria-label"}${"a0:aria-current"}${"s0"}${"c0"}${2}>${"t1"}</a>`,S={"slds-has-flexi-truncate":!0},w={"slds-is-relative":!0,"slds-list__item":!0,"slds-p-around_x-small":!0},k={"slds-is-relative":!0,"slds-list__item":!0},L={lwc:{dom:"manual"}},C={classMap:{"slds-current-color":!0,"slds-p-left_x-small":!0},props:{iconName:"utility:chevrondown",variant:"bare",size:"xx-small"},key:8},x={classMap:{"slds-current-color":!0,"slds-p-left_x-small":!0},props:{iconName:"utility:chevrondown",variant:"bare",size:"xx-small"},key:10},N=[["display","none",!1]];function A(e,t,s,n){const{b:i,ncls:a,k:l,c:r,h:o,shc:u,fr:c,d:m,t:b,sp:g,st:p,i:f}=e,{_m0:I,_m1:M,_m2:A,_m3:O,_m4:H,_m5:T,_m6:F,_m7:$}=n;return[o("nav",{classMap:S,style:t.navCustomStyles,attrs:{"aria-label":t.componentNameLabel},ref:"navbar",key:0,on:I||(n._m0={click:i(t.handleNavClick)})},[o("ul",{className:a(t.menuAlignmentClass),attrs:{"data-menubar":"","aria-label":t.componentNameLabel},key:1},f(t.styledVisibleItems,function(e){return[e.appLauncher?o("li",{classMap:w,key:l(2,e.id)},[r("lightning-dynamic-icon",h.default,{attrs:{"data-id":e.id,"data-menubar-item":""},props:{type:"waffle",alternativeText:t.appLauncherLabel},key:3,on:M||(n._m1={click:i(t.handleAppLauncher),focus:i(t.handleFocus)})})]):null,e.appLauncher?null:o("li",{classMap:k,key:l(4,e.id)},[e.subMenu?t.htmlProductNameGate?c(5,[o("button",{style:e.customStyles,className:a(e.activeClass),attrs:{title:e.label,"data-id":e.id,"data-menubar-item":"","aria-haspopup":"dialog","aria-expanded":e.isSelected,"aria-current":e.ariaCurrent},key:6,on:A||(n._m2={click:i(t.handleParentClick),focus:i(t.handleFocus),mouseover:i(t.handleHover),mouseout:i(t.handleHoverOut)})},[o("span",{props:{innerHTML:n._rawHtml$0!==(n._rawHtml$0=e.label)?n._sanitizedHtml$0=u(e.label):n._sanitizedHtml$0},context:L,key:7}),r("lightning-icon",d.default,C)])],0):c(5,[o("button",{style:e.customStyles,className:a(e.activeClass),attrs:{title:e.label,"data-id":e.id,"data-menubar-item":"","aria-haspopup":"dialog","aria-expanded":e.isSelected,"aria-current":e.ariaCurrent},key:9,on:O||(n._m3={click:i(t.handleParentClick),focus:i(t.handleFocus),mouseover:i(t.handleHover),mouseout:i(t.handleHoverOut)})},[b(m(e.label)),r("lightning-icon",d.default,x)])],0):null,e.subMenu&&e.isSelected?r("commerce-drilldown-navigation-list",v.default,{props:{parentItem:e,menuItems:e.subMenu,focusOnFirstItem:t.setFocusOnFirstSubMenuItem,focusOnLastItem:t.setFocusOnLastSubMenuItem,showBackLabel:t.showBackLabel,customThemeStyles:t.customThemeStylesList,isMoreMenu:t.isMoreMenu},key:11,on:H||(n._m4={closesubmenus:i(t.handleCloseSubmenus)})}):null,e.subMenu?t.htmlProductNameGate?c(12,[o("a",{styleDecls:N,attrs:{href:e.href,"aria-hidden":"true"},props:{innerHTML:n._rawHtml$1!==(n._rawHtml$1=e.label)?n._sanitizedHtml$1=u(e.label):n._sanitizedHtml$1},context:L,key:13})],0):c(12,[p(y,15,[g(0,{attrs:{href:e.href}},null),g(1,null,m(e.label))])],0):null,t.htmlProductNameGate?c(16,[e.subMenu?null:o("a",{style:e.customStyles,className:a(e.activeClass),attrs:{title:e.label,"data-id":e.id,"data-menubar-item":"",href:e.href,"aria-label":e.ariaLabel,"aria-current":e.ariaCurrent},props:{innerHTML:n._rawHtml$2!==(n._rawHtml$2=e.label)?n._sanitizedHtml$2=u(e.label):n._sanitizedHtml$2},context:L,key:17,on:T||(n._m5={click:i(t.handleLeafClick),focus:i(t.handleFocus),keydown:i(t.handleLeafKeyDown),mouseover:i(t.handleHover),mouseout:i(t.handleHoverOut)})})],0):c(16,[e.subMenu?null:p(_,19,[g(0,{on:$||(n._m7={click:i(t.handleLeafClick),focus:i(t.handleFocus),keydown:i(t.handleLeafKeyDown),mouseover:i(t.handleHover),mouseout:i(t.handleHoverOut)}),style:e.customStyles,className:a(e.activeClass),attrs:{title:e.label,"data-id":e.id,href:e.href,"aria-label":e.ariaLabel,"aria-current":e.ariaCurrent}},null),g(1,null,m(e.label))])],0)])]}))])]}var O=t.registerTemplate(A);A.renderMode="light",A.hasRefs=!0,A.stylesheets=[],A.stylesheetToken="lwc-59kp5sov61j",A.legacyStylesheetToken="commerce-drilldownNavigationBar_drilldownNavigationBar",M&&A.stylesheets.push.apply(A.stylesheets,M),t.freezeTemplate(A);const H={"text-shadow":"text-shadow",background:"background","background-color":"background-color","text-decoration":"text-decoration","text-transform":"text-transform","font-style":"font-style","font-weight":"font-weight",color:(e,t)=>
672t.isHovering?e["text-hover-color"]:e["text-color"],"border-bottom":(e,t)=>t.isActive?e["border-bottom-active"]:e["border-bottom-inactive"]},T="left";class F extends t.LightningElement{constructor(...e){super(...e),this.itemWidth=[],this.overflowItems=[],this.setFocusOnFirstSubMenuItem=!1,this.setFocusOnLastSubMenuItem=!1,this.menuItemsChanged=!1,this._resizeObserver=void 0,this.isResizeObserving=!1,this.knownWindowWidth=0,this.moreMenuItem={id:"more-item",label:g.default,subMenu:[],active:!1,isSelected:!1,href:null,type:"MoreMenu"},this.appLauncherMenuItem={id:"app-launcher-item",appLauncher:!0,label:"",isSelected:!1},this._showAppLauncher=!1,this._focusedItemId=void 0,this._menuItems=[],this._menuAlignment=T,this._isMoreMenu=!1,this._outsideClickListener=e=>{e.target&&!this.querySelector("nav")?.parentNode?.contains(e.target)&&this.closeSubMenus()},this.visibleMenuItems=[],this.hideMoreMenu=!1,this.showBackLabel=!1,this.customThemeStylesBar=void 0,this.customThemeStylesList=void 0}get menuItems(){return this._menuItems}set menuItems(e){this.resetMenuItems(e??[])}get componentNameLabel(){return p.default}get isMoreMenu(){return this._isMoreMenu}get menuAlignment(){return this._menuAlignment}set menuAlignment(e){this._menuAlignment=u.coerceAlignment(e,T)}get navCustomStyles(){return this.getCustomStyles()}get htmlProductNameGate(){return f.default.isOpen({fallback:!1})}get styledVisibleItems(){return this.visibleMenuItems.map(e=>{const t=!(!e.id||this._focusedItemId!==e.id.toString());return{...e,customStyles:this.getCustomStyles({isHovering:t,isActive:!!e.active}),...!!e.active&&{activeClass:"isActive"},...!!e.active&&{ariaCurrent:"page"}}})}get showAppLauncher(){return this._showAppLauncher}set showAppLauncher(e){this._showAppLauncher=e,this.resetMenuItems(this._menuItems)}get appLauncherLabel(){return b.default}resetMenuItems(e){if(Array.isArray(e)){this._menuItems=[],this.visibleMenuItems=[],this._showAppLauncher&&(this._menuItems.push(this.appLauncherMenuItem),this.visibleMenuItems.push(this.appLauncherMenuItem));for(const t of e)this._menuItems.push(t),this.visibleMenuItems.push(t);this.visibleMenuItems=this.visibleMenuItems.slice(0,20)}else this._menuItems=[],this.visibleMenuItems=[];this.menuItemsChanged=!0}getCustomStyles(e={isHovering:!1,isActive:!1}){return this.customThemeStylesBar?u.generateConditionalStyles(this.customThemeStylesBar,H,e):""}getNavAvailableWidth(){const e=this.querySelector("nav"),t=e?.getBoundingClientRect()?.width;return t&&t>window.innerWidth?window.innerWidth:t}calculateNavItemWidth(){this.itemWidth=[];this.querySelectorAll("nav ul > li").forEach(e=>{this.itemWidth.push(this.getWidth(e))})}getNavRequiredWidth(){const e=this.visibleMenuItems.length;return this.itemWidth.slice(0,e).reduce((e,t)=>e+t,0)}getOverflowWidth(){return Math.min(...this.itemWidth)}getWidth(e){return e.getBoundingClientRect().width}calculateOverflow(){const e=this.getSelectedItem()?.id;this.visibleMenuItems=this._menuItems.slice(0,20);let t=this.getNavAvailableWidth();const s=this.getNavRequiredWidth(),n=this.getOverflowWidth();if(t&&t<s){t-=n;const[e,s,i]=((e,t,s)=>{const n=[];let i=s;for(const[s,a]of e.entries()){const e=t[s];if(!(e<=i))break;n.push(a),i-=e}if(e.length-n.length>0){const t=e.slice(n.length),s=t.some(e=>e.active);return[n,t,s]}return[e,[],!1]})(this._menuItems,this.itemWidth,t);this.overflowItems=s,this.moreMenuItem.active=i,this.visibleMenuItems=[...e,{...this.moreMenuItem,subMenu:[...this.overflowItems]}]}else this._menuItems.length>this.visibleMenuItems.length?this.visibleMenuItems.push({...this.moreMenuItem,subMenu:[...this._menuItems.slice(20)]}):t||(this.visibleMenuItems=[]);e&&this.setItemSelected(e,!0)}connectedCallback(){globalThis.document?.addEventListener("click",this._outsideClickListener),this.hideMoreMenu||a.isServer||(this._resizeObserver=new ResizeObserver(function(e,t){let s=null,n=!1;return function(...i){null===s?(s=setTimeout(()=>{s=null,n&&(n=!1,e(...i))},t),e(...i)):n=!0}}(()=>this.calculateOverflow(),100)))}disconnectedCallback(){globalThis.document?.removeEventListener("click",this._outsideClickListener),this._resizeObserver?.disconnect()}renderedCallback(){this._resizeObserver&&this.refs?.navbar&&!this.hideMoreMenu&&!this.isResizeObserving&&(this._resizeObserver.observe(this.refs?.navbar),this.isResizeObserving=!0),this.menuItemsChanged&&!this.hideMoreMenu&&(this.menuItemsChanged=!1,this.calculateNavItemWidth(),this.calculateOverflow())}get menuAlignmentClass(){const e=["comm-drilldown-navigation__bar","slds-grid","slds-has-flexi-truncate"];return"center"===this.menuAlignment?e.push("slds-grid_align-center"):"right"===this.menuAlignment&&e.push("slds-grid_align-end"),this.hideMoreMenu&&e.push("comm-drilldown-navigation__bar-wrap"),e}fireNavigationEvent(e){const t=e?.currentTarget,s=t?.dataset?.id,n=s&&this.findItem(s);n&&this.dispatchEvent(new CustomEvent("navigatetopage",{bubbles:!0,cancelable:!0,composed:!0,detail:{menuItemId:s,type:n.type,href:n.href,target:n.target,pageReference:n?.pageReference}}))}setItemSelected(e,t){const s=this.findItemIndex(e);if(t&&this.deselectSelectedItem(),-1!==s){const e={...this.visibleMenuItems[s],isSelected:t};this.visibleMenuItems=[...this.visibleMenuItems.slice(0,s),e,...this.visibleMenuItems.slice(s+1)]}}findItem(e){return this.visibleMenuItems.find(t=>
672t.id===e)}findItemIndex(e){return this.visibleMenuItems.findIndex(t=>t.id===e)}isItemMoreMenu(e){return e===this.moreMenuItem.id}getSelectedItem(){return this.visibleMenuItems.find(e=>!!e.isSelected)}deselectSelectedItem(){const e=this.getSelectedItem();e?.id&&this.setItemSelected(e.id,!1)}setItemCustomStyles(e,t){for(const{cssStyleName:s,customStyleName:n}of t)this.customThemeStylesBar?.[n]&&(e.style[s]=this.customThemeStylesBar[n])}closeSubMenus(){this.setFocusOnFirstSubMenuItem=!1,this.setFocusOnLastSubMenuItem=!1,this.deselectSelectedItem()}setFocusToMenuItem(e,t){if(e){this.getMenuItemsElements()[this.findItemIndex(e)].focus(),t&&this.setItemSelected(e,!0),this._focusedItemId=e}}getMenuItemsElements(){return this.querySelectorAll("[data-menubar-item]")}handleHover(e){const t=e.currentTarget;t&&this.setItemCustomStyles(t,[{cssStyleName:"background-color",customStyleName:"background-hover"},{cssStyleName:"color",customStyleName:"text-hover-color"}])}handleHoverOut(e){const t=e.currentTarget;this.setItemCustomStyles(t,[{cssStyleName:"background-color",customStyleName:"background-color"},{cssStyleName:"color",customStyleName:"text-color"}])}handleParentClick(e){e.preventDefault(),this.handleFocus(e),this.setFocusOnFirstSubMenuItem=!0,this.setFocusOnLastSubMenuItem=!1,this.handleParentSelect(e,!1)}handleParentSelect(e,t){const s=e?.currentTarget?.dataset?.id;if(s){const e=this.findItem(s);this._isMoreMenu=this.isItemMoreMenu(s),this.deselectSelectedItem(),this.setFocusToMenuItem(s,t||!e?.isSelected)}}handleLeafClick(e){e.preventDefault(),this.closeSubMenus(),this.fireNavigationEvent(e)}handleLeafKeyDown(e){switch(e.key){case"Enter":case" ":this.handleLeafClick(e)}}handleNavClick(e){e.preventDefault(),e.target?.hasAttribute("data-menubar")&&this.closeSubMenus()}handleCloseSubmenus(e){const t=e.detail.parentItemId,s=this.getSelectedItem()?.id;s&&s===t&&(this.setFocusToMenuItem(t,!1),this.closeSubMenus())}handleFocus(e){e.preventDefault();const t=e.currentTarget;this._focusedItemId=t?.dataset?.id}handleAppLauncher(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("showapplauncher",{bubbles:!0,cancelable:!0,composed:!0}))}}F.renderMode="light",t.registerDecorators(F,{publicProps:{hideMoreMenu:{config:0},showBackLabel:{config:0},menuItems:{config:3},isMoreMenu:{config:1},menuAlignment:{config:3},customThemeStylesBar:{config:0},customThemeStylesList:{config:0},showAppLauncher:{config:3}},fields:["itemWidth","overflowItems","setFocusOnFirstSubMenuItem","setFocusOnLastSubMenuItem","menuItemsChanged","_resizeObserver","isResizeObserving","knownWindowWidth","moreMenuItem","appLauncherMenuItem","_showAppLauncher","_focusedItemId","_menuItems","_menuAlignment","_isMoreMenu","_outsideClickListener","visibleMenuItems"]});const $=t.registerComponent(F,{tmpl:O,sel:"commerce-drilldown-navigation-bar",apiVersion:66,enableSyntheticElementInternals:!0});e.default=$,Object.defineProperty(e,"__esModule",{value:!0})});
673})();(function() { LWR.define("commerce/drilldownNavigation",["exports","lwc","commerce/drilldownNavigationList","commerce/drilldownNavigationBar","lwr/environment","@salesforce/label/Commerce_Navigation_Menu.MobileTrigger","@salesforce/label/NavigationMenuItemDefaults.OpensInNewTab","commerce/richTextSanitizerUtils","@salesforce/gate/com.salesforce.commerce.useHtmlProductName","experience/styling"],function(e,t,i,n,o,a,l,r,s,c){function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=d(i),g=d(n),u=d(a),h=d(l),v=d(r),b=d(s);function p(e,t,i){var n=e?"."+e:"",o=e?"."+e+"-host":"";return(t?":host {":o+" {")+"--dxp-c-navigation-list-spacing: var(--dxp-g-spacing-small);--dxp-c-navigation-item-color: var(--dxp-g-root-contrast);--dxp-c-navigation-list-nested-background-color: var(--dxp-g-root);--dxp-c-navigation-bar-spacing: var(--dxp-g-spacing-small);--dxp-c-navigation-bar-border-bottom-active: 2px solid var(--dxp-g-brand);--dxp-c-navigation-bar-outline: 2px solid var(--com-c-nav-menuitem-outline-focus, var(--dxp-g-root-contrast));--dxp-c-navigation-list-background-color: var(--dxp-s-dropdown-color-background, var(--dxp-g-root));--dxp-c-navigation-list-hover-background-color-contrast: var(--dxp-g-root-1);--dxp-c-navigation-list-color: inherit;--dxp-c-navigation-list-outline: 2px solid var(--com-c-nav-menuitem-outline-focus, var(--dxp-g-root-contrast));--dxp-c-navigation-list-nested-width-min: 11rem;--dxp-c-navigation-list-nested-width-max: 21.75rem;--dxp-c-navigation-list-nested-outline: 1px solid var(--dxp-s-dropdown-color-border, var(--dxp-g-root-contrast));--dxp-c-navigation-list-box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.16);--dxp-c-navigation-list-overflow: hidden auto;--dxp-c-navigation-list-z-index: 500;--dxp-c-navigation-list-z-index-mobile: 10000;--dxp-c-navigation-list-close-button-height: 2.75rem;--dxp-c-navigation-list-chevron-padding-top: var(--dxp-g-spacing-small);--dxp-c-navigation-list-chevron-padding-right: var(--dxp-g-spacing-small);--dxp-c-navigation-text-color: var(--dxp-g-root-contrast);--dxp-c-navigation-item-hover-text-decoration: none;--dxp-c-navigation-item-font-size: 0.875rem;--dxp-c-navigation-item-focus-color: var(--dxp-s-dropdown-text-color-hover, var(--dxp-g-root-contrast));--dxp-c-navigation-full-width: 100%;--dxp-c-navigation-full-height: 100%;--dxp-c-navigation-list-max-height: 31.25rem;--dxp-c-navigation-list-width-tablet: 20rem;}"+(t?":host .drilldown-nav-tablet-icon":o+" .drilldown-nav-tablet-icon")+n+" {display: none;}"+(t?":host button.drilldown-nav-hamburger-button":o+" button.drilldown-nav-hamburger-button")+n+" > svg"+n+" {fill: var(--com-c-drilldown-nav-hamburger-button, var(--dxp-s-button-color, var(--dxp-g-brand)
673));}"+(t?":host button.drilldown-nav-hamburger-button:hover"+n+" > svg"+n+", :host button.drilldown-nav-hamburger-button:focus":o+" button.drilldown-nav-hamburger-button:hover"+n+" > svg"+n+","+o+" button.drilldown-nav-hamburger-button:focus")+n+" > svg"+n+" {fill: var(--com-c-drilldown-nav-hamburger-button-hover, var(--dxp-s-button-color-hover, var(--dxp-g-brand-1)));}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(t?":host .drilldown-nav-tablet-icon":o+" .drilldown-nav-tablet-icon")+n+" {display: var(--dxp-c-navigation-tablet-icon-display, none);--dxp-c-navigation-list-active-menu-position-tablet: absolute;--dxp-c-navigation-list-active-menu-top-tablet: 0;--dxp-c-navigation-list-active-menu-height-tablet: 100%;--dxp-c-navigation-list-active-menu-width-tablet: 100%;--dxp-c-navigation-list-z-index-tablet: var(--dxp-c-navigation-list-z-index-mobile);--dxp-c-navigation-list-position: static;--dxp-c-navigation-list-box-shadow: none;--dxp-c-navigation-list-nested-outline: none;--dxp-c-navigation-list-max-height: unset;--dxp-c-navigation-list-z-index: var(--dxp-c-navigation-list-z-index-tablet);--dxp-c-navigation-list-border-radius: 0;}"+(t?":host commerce-drilldown-navigation-bar":o+" commerce-drilldown-navigation-bar")+n+" {display: var(--dxp-c-navigation-tablet-bar-display);}"+(t?":host .tablet-menu-overlay":o+" .tablet-menu-overlay")+n+" {position: fixed;width: 100%;height: 100%;left: 0;top: 0;margin: 0;z-index: calc(var(--dxp-c-navigation-list-z-index-tablet) - 1);background-color: var(--dxp-c-navigation-list-overlay-color, rgba(28, 28, 28, 0.2));}"+(t?":host .tablet-menu-container":o+" .tablet-menu-container")+n+" {position: fixed;width: var(--dxp-c-navigation-list-width-tablet);height: calc(100% - var(--dxp-c-navigation-list-close-button-height));top: var(--dxp-c-navigation-list-close-button-height);left: 0;margin: 0;z-index: var(--dxp-c-navigation-list-z-index-tablet);overflow: var(--dxp-c-navigation-list-overflow);background-color: var(--dxp-c-navigation-list-background-color);outline: none;box-shadow: none;}}@media only screen and (max-width: 47.9375em) {"+(t?":host .mobile-menu-container":o+" .mobile-menu-container")+n+" {position: fixed;width: 100%;height: 100%;top: 0;left: 0;margin: 0;z-index: var(--dxp-c-navigation-list-z-index-mobile);overflow: var(--dxp-c-navigation-list-overflow);background-color: var(--dxp-c-navigation-list-background-color);outline: none;box-shadow: none;padding-top: var(--dxp-c-navigation-list-close-button-height);box-sizing: border-box;}}"}p.$scoped$=!0;var w=[p];const x=t.parseFragment`<button class="drilldown-nav-hamburger-button slds-button${0}"${"a0:aria-label"} aria-haspopup="dialog"${2}><svg xmlns="http://www.w3.org/2000/svg" height="52" width="52" viewBox="0 0 520 520" fill="#fff" class="slds-button__icon slds-button__icon_large${0}"${2}><path d="M465 140H55c-8 0-15-7-15-15V95c0-8 7-15 15-15h410c8 0 15 7 15 15v30c0 8-7 15-15 15zm0 149H55c-8 0-15-7-15-15v-30c0-7 7-14 15-14h410c8 0 15 7 15 15v30c0 7-7 14-15 14zm0 151H55c-8 0-15-7-15-15v-30c0-8 7-15 15-15h410c8 0 15 7 15 15v30c0 8-7 15-15 15z"${3}/></svg></button>`,f=t.parseFragment`<button class="drilldown-nav-hamburger-button slds-button${0}"${"a0:aria-label"} aria-haspopup="dialog"${2}><svg xmlns="http://www.w3.org/2000/svg" height="52" width="52" viewBox="0 0 520 520" fill="#fff" class="slds-button__icon slds-button__icon_large${0}"${2}><path d="M465 140H55c-8 0-15-7-15-15V95c0-8 7-15 15-15h410c8 0 15 7 15 15v30c0 8-7 15-15 15zm0 149H55c-8 0-15-7-15-15v-30c0-7 7-14 15-14h410c8 0 15 7 15 15v30c0 7-7 14-15 14zm0 151H55c-8 0-15-7-15-15v-30c0-8 7-15 15-15h410c8 0 15 7 15 15v30c0 8-7 15-15 15z"${3}/></svg></button>`,M=t.parseFragment`<div class="tablet-menu-overlay${0}"${2}></div>`,y=t.parseFragment`<button class="drilldown-nav-hamburger-button slds-button${0}"${"a0:aria-label"} aria-haspopup="dialog"${2}><svg xmlns="http://www.w3.org/2000/svg" height="52" width="52" viewBox="0 0 520 520" fill="#fff" class="slds-button__icon slds-button__icon_large${0}"${2}><path d="M465 140H55c-8 0-15-7-15-15V95c0-8 7-15 15-15h410c8 0 15 7 15 15v30c0 8-7 15-15 15zm0 149H55c-8 0-15-7-15-15v-30c0-7 7-14 15-14h410c8 0 15 7 15 15v30c0 7-7 14-15 14zm0 151H55c-8 0-15-7-15-15v-30c0-8 7-15 15-15h410c8 0 15 7 15 15v30c0 8-7 15-15 15z"${3}/></svg></button>`,_={key:7},T={key:10},k={classMap:{"drilldown-nav-tablet-icon":!0},key:12},L={classMap:{"tablet-menu-container":!0,"slds-m-right_xx-small":!0},key:19},S={key:22},z={classMap:{"mobile-menu-container":!0},key:27};function B(e,t,i,n){const{b:o,sp:a,st:l,fr:r,c:s,h:c}=e,{_m0:d,_m1:u,_m2:h,_m3:v,_m4:b,_m5:p,_m6:w,_m7:B,_m8:I,_m9:N,_m10:$}=n;return[t.showListView?r(0,[t.showMobileTrigger?r(1,[l(x,3,[a(0,{on:u||(n._m1={click:o(t.handleNavigationTriggerClicked)}),ref:"hamburgerButton",attrs:{"aria-label":t.mobileTriggerLabel}},null)])],0):null,t.mobileMenuOpen?r(4,[s("commerce-drilldown-navigation-list",m.default,{props:{isMobileView:!0,menuItems:t.viewMenuItems,showBackLabel:t.showBackLabel,customThemeStyles:t.customThemeStylesList},key:5,on:h||(n._m2={closesubmenus:o(t.focusMobileNavigationTrigger)})})],0):null],0):r(0,[t.isDesktop?r(6,[c("div",_,[s("commerce-drilldown-navigation-bar",g.default,{props:{hideMoreMenu:t.hideMoreMenu,menuItems:t.viewMenuItems,menuAlignment:t.normalizedAlignment,showBackLabel:t.showBackLabel,showAppLauncher:t.showAppLauncher,customThemeStylesBar:t.customThemeStylesBar,customThemeStylesList:t.customThemeStylesList},key:8})])],0):null,t.isTablet?r(9,[c("div",T,[s("commerce-drilldown-navigation-bar",g.default,{props:{hideMoreMenu:t.hideMoreMenu,menuItems:t.viewMenuItems,menuAlignment:t.normalizedAlignment,showBackLabel:t.showBackLabel,showAppLauncher:t.showAppLauncher,customThemeStylesBar:t.customThemeStylesBar,customThemeStylesList:t.customThemeStylesList},key:11}),c("div",k,[t.showMobileTrigger?r(13,[l(f,15,[a(0,{on:b||(n._m4={click:o(t.handleNavigationTriggerClicked)}),ref:"hamburgerButton",attrs:{"aria-label":t.mobileTriggerLabel}},null)])],0):null,t.mobileMenuOpen?r(16,[l(M,18,[a(0,{on:w||(n._m6={click:o(t.focusMobileNavigationTrigger)})},null)]),c("div",L,[s("commerce-drilldown-navigation-list",m.default,{props:{isMobileView:!0,menuItems:t.viewMenuItems,showBackLabel:t.showBackLabel,customThemeStyles:t.customThemeStylesList},key:20,on:B||(n._m7={closesubmenus:o(t.focusMobileNavigationTrigger)})})])],0):null])])],0):null,t.isMobile?r(21,[c("div",S,[t.showMobileTrigger?r(23,[l(y,25,[a(0,{on:N||(n._m9={click:o(t.handleNavigationTriggerClicked)}),ref:"hamburgerButton",attrs:{"aria-label":t.mobileTriggerLabel}},null)])],0):null,t.mobileMenuOpen?r(26,[c("div",z,[s("commerce-drilldown-navigation-list",m.default,{props:{isMobileView:!0,noFocusNextOnClose:!0,menuItems:t.viewMenuItems,showBackLabel:t.showBackLabel,customThemeStyles:t.customThemeStylesList},key:28,on:$||(n._m10={closesubmenus:o(t.focusMobileNavigationTrigger)})})])],0):null])],0):null],0)]}var I=t.registerTemplate(B);B.renderMode="light",B.hasRefs=!0,B.stylesheets=[],B.stylesheetToken="lwc-2u15rnldqm7",B.legacyStylesheetToken="commerce-drilldownNavigation_drilldownNavigation",w&&B.stylesheets.push.apply(B.stylesheets,w),t.freezeTemplate(B);var N=function(e){return e.BLANK="_blank",e.SELF="_self",e}(N||{});let $=0;const F=["SystemLink","Modal"],A=(e,t=1)=>Array.isArray(e)?e.filter(e=>!F.includes(e.actionType)).map(({actionType:e,actionValue:i,active:n,label:a,subMenu:l,target:r,pageReference:s})=>{let c=a;const d=b.default.isOpen({fallback:!1});!o.isServer&&d&&(c=v.default(a));const m={id:($++).toString(),label:c,active:n,target:r,href:i,type:e,isSelected:!1,pageReference:s};return"NewWindow"===r?(m.ariaLabel=h.default.replace("{0}",a),m.target=N.BLANK):m.target=N.SELF,Array.isArray(l)&&l.length&&t<5&&(m.subMenu=A(l,t+1)),m}):[],O="small",q="medium",V="large";class H extends t.LightningElement{constructor(...e){super(...e),this._menuItems=[],this._viewMenuItems=[],this._mobileMenuOpen=!1,this._showMobileTrigger=!0,this.mqlSmall=window.matchMedia("only screen and (max-width: 47.9375em)"),this.mqlMedium=window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)"),this.mqlLarge=window.matchMedia("only screen and (min-width: 64.0625em)"),this.formFactor=V,this.alignment=void 0,this.hideMoreMenu=!1,this.showAppLauncher=!1,this.showListView=!1,this.showBackLabel=!1,this.customThemeStylesBar=void 0,this.customThemeStylesList=void 0}get menuItems(){return this._menuItems}set menuItems(e){this.viewMenuItems=A(t.unwrap(e)),this._menuItems=e}get showMobileTrigger(){return this._showMobileTrigger}set showMobileTrigger(e){this._showMobileTrigger=e}toggleMobileView(e){this._mobileMenuOpen=e}get isMobile(){return this.formFactor===O}get isTablet(){return this.formFactor===q}get isDesktop(){return this.formFactor===V}get normalizedAlignment(){return c.coerceAlignment(this.alignment,"left")}get mobileTriggerLabel(){return u.default}get viewMenuItems(){return this._viewMenuItems}set viewMenuItems(e){this._viewMenuItems=e}get mobileMenuOpen(){return this._mobileMenuOpen}connectedCallback(){this.computeFormFactor(),this.mqlSmall.addEventListener("change",e=>{e.matches&&(this.formFactor=O)}),this.mqlMedium.addEventListener("change",e=>{e.matches&&(this.formFactor=q)}),this.mqlLarge.addEventListener("change",e=>{e.matches&&(this.formFactor=V)})}computeFormFactor(){this.formFactor=this.mqlSmall.matches?O:this.mqlMedium.matches?q:V}handleNavigationTriggerClicked(){this._mobileMenuOpen=!this._mobileMenuOpen}focusMobileNavigationTrigger(){this._mobileMenuOpen=!1,this._showMobileTrigger?this.querySelector(".drilldown-nav-hamburger-button")?.focus():this.dispatchEvent(new CustomEvent("closemobile",{detail:{mobileMenuOpened:!1}}))}}H.renderMode="light",t.registerDecorators(H,{publicProps:{alignment:{config:0},menuItems:{config:3},hideMoreMenu:{config:0},showAppLauncher:{config:0},showListView:{config:0},showBackLabel:{config:0},customThemeStylesBar:{config:0},customThemeStylesList:{config:0},showMobileTrigger:{config:3}},publicMethods:["toggleMobileView"],fields:["_menuItems","_viewMenuItems","_mobileMenuOpen","_showMobileTrigger","mqlSmall","mqlMedium","mqlLarge","formFactor"]});const C=t.registerComponent(H,{tmpl:I,sel:"commerce-drilldown-navigation",apiVersion:66,enableSyntheticElementInternals:!0});
673e.default=C,Object.defineProperty(e,"__esModule",{value:!0})});
674})();(function() { LWR.define("commerce_builder/drilldownNavigation",["exports","lwc","commerce/drilldownNavigation","lightning/navigation","@salesforce/community/basePath"],function(e,t,n,i,a){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=o(n),l=o(a);function s(e,t,n,i){const{b:a,c:o}=e,{_m0:l}=i;return[o("commerce-drilldown-navigation",r.default,{props:{menuItems:t.menuItems,alignment:t.normalizedAlignment,showBackLabel:t.showBackLabel},key:0,on:l||(i._m0={navigatetopage:a(t.handleNavigateToPage)})})]}var g=t.registerTemplate(s);s.renderMode="light",s.stylesheets=[],s.stylesheetToken="lwc-mtfe5l0h6i",s.legacyStylesheetToken="commerce_builder-drilldownNavigation_drilldownNavigation",t.freezeTemplate(s);class d extends t.LightningElement{constructor(...e){super(...e),this.showHomeLink=!1,this.showBackLabel=!1,this.alignment=void 0,this.navigationMenuEditor=void 0,this.navContext=void 0}get menuItems(){return this.navigationMenuEditor??[]}get normalizedAlignment(){return"string"==typeof this.alignment&&["left","center","right"].includes(this.alignment)?this.alignment:"left"}handleNavigateToPage(e){const{type:t,href:n,target:a,pageReference:o}=e.detail;if(!n)return;if(e.stopPropagation(),o&&this.navContext)return void i.navigate(this.navContext,JSON.parse(JSON.stringify(o)));let r=n;"InternalLink"===t&&n?(n.startsWith(l.default)&&(r=n.substring(l.default.length)),this.navContext&&i.navigate(this.navContext,{type:"standard__webPage",attributes:{url:r}})):"ExternalLink"===t&&window.open(n,a,"noopener,noreferrer")}}d.renderMode="light",t.registerDecorators(d,{publicProps:{showHomeLink:{config:0},showBackLabel:{config:0},alignment:{config:0},navigationMenuEditor:{config:0}},wire:{navContext:{adapter:i.NavigationContext,config:function(e){return{}}}}});const c=t.registerComponent(d,{tmpl:g,sel:"commerce_builder-drilldown-navigation",apiVersion:66,enableSyntheticElementInternals:!0});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
675})();(function() { LWR.define("@view/commerceLayout",["exports","dxp_data_provider/dataProxy","dxp_data_provider/userDataProvider","lwc","commerce_builder/drilldownNavigation","commerce_builder/userProfileMenu","dxp_data_provider/decisionDataProvider","dxp_content_layout/siteLogo","webruntime/routerContainer","c/b2bSubscriber","experience_messaging/embeddedMessaging","c/b2bFooter","c/b2bHeaderNotification","c/b2bHeader","commerce_builder/searchInput","commerce_data_provider/navigationMenuDataProvider","commerce_builder/wishlistShortcut","dxp_data_provider/siteLogoDataProvider","commerce_builder/cartBadge","commerce_builder/layoutHeader","dxp_layout/column","dxp_layout/columns","commerce/layoutSite","webruntime/expressions","@branding/scoped/ec69dcc1-47fd-470f-886d-b119983a094c"],function(n,e,l,a,t,r,u,i,o,c,s,d,g,p,m,b,_,w,T,y,f,k,v,I,M){function h(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var E=h(e),L=h(l),N=h(t),R=h(r),V=h(u),x=h(i),U=h(o),W=h(c),C=h(s),P=h(d),S=h(g),D=h(p),A=h(m),O=h(b),B=h(_),F=h(w),H=h(T),K=h(y),z=h(f),q=h(k),X=h(v);function j(n,e,l,a){const{c:t,fr:r,ssf:u}=n;return[t("dxp_data_provider-user-data-provider",L.default,{props:{sfdcExpressionKey:e.attributes.dxp_data_provideruserdataprovider_2_0.sfdcExpressionKey,generatedTemplate:e.attributes.dxp_data_provideruserdataprovider_2_0.generatedTemplate,sfdcIsPreviewMode:e.attributes.dxp_data_provideruserdataprovider_2_0.sfdcIsPreviewMode,childData:e.attributes.dxp_data_provideruserdataprovider_2_0.childData,sfdcFields:e.attributes.dxp_data_provideruserdataprovider_2_0.sfdcFields,sfdcId:e.attributes.dxp_data_provideruserdataprovider_2_0.sfdcId}
675,key:0},[u("",function(n,l){return r(l,[t("dxp_data_provider-data-proxy",E.default,{props:{routerContainerView:e.routerContainerView,sfdcData:n,generatedTemplate:e.attributes.dxp_data_provideruserdataprovider_2_0.generatedTemplate,routeParams:e.routeParams},key:1})],0)})])]}var Z=a.registerTemplate(j);j.renderMode="light",j.stylesheets=[],j.stylesheetToken="lwc-74e8u2jo4qo",j.legacyStylesheetToken="___at___view-commerceLayout_commerceLayout",a.freezeTemplate(j);const G=[],J={"data-component-id":"drilldownNavigation-886f"};function Y(n,e,l,a){const{c:t}=n;return[t("commerce_builder-drilldown-navigation",N.default,{styleDecls:G,attrs:J,props:{showBackLabel:e.attributes.commerce_builderdrilldownnavigation_6_0.showBackLabel,alignment:e.attributes.commerce_builderdrilldownnavigation_6_0.alignment,navigationMenuEditor:e.attributes.commerce_builderdrilldownnavigation_6_0.navigationMenuEditor,showHomeLink:e.attributes.commerce_builderdrilldownnavigation_6_0.showHomeLink},key:0})]}var Q=a.registerTemplate(Y);Y.renderMode="light",Y.stylesheets=[],Y.stylesheetToken="lwc-2qq706vpbhn",Y.legacyStylesheetToken="___at___view-commerceLayout_commerce_data_providernavigationmenudataprovider_5_5_html",a.freezeTemplate(Y);const $=[],nn={"data-component-id":"userProfileMenu-5f32"};function en(n,e,l,a){const{c:t}=n;return[t("commerce_builder-user-profile-menu",R.default,{styleDecls:$,attrs:nn,props:{loginLinkText:e.attributes.commerce_builderuserprofilemenu_7_0.loginLinkText,logOutLabel:e.attributes.commerce_builderuserprofilemenu_7_0.logOutLabel,loginLinkTextDecoration:e.attributes.commerce_builderuserprofilemenu_7_0.loginLinkTextDecoration,iconStyle:e.attributes.commerce_builderuserprofilemenu_7_0.iconStyle,menuStyle:e.attributes.commerce_builderuserprofilemenu_7_0.menuStyle,userNameTextOrientation:e.attributes.commerce_builderuserprofilemenu_7_0.userNameTextOrientation,userProfileMenuNavigationMenuEditor:e.attributes.commerce_builderuserprofilemenu_7_0.userProfileMenuNavigationMenuEditor,loginLinkTextOrientation:e.attributes.commerce_builderuserprofilemenu_7_0.loginLinkTextOrientation,includeCompanyName:e.attributes.commerce_builderuserprofilemenu_7_0.includeCompanyName},key:0})]}var ln=a.registerTemplate(en);function an(n,e,l,a){const{c:t,fr:r,ssf:u}=n;return[t("dxp_data_provider-decision-data-provider",V.default,{props:{sfdcExpressionKey:e.attributes.dxp_data_providerdecisiondataprovider_3_0.sfdcExpressionKey,generatedTemplate:e.attributes.dxp_data_providerdecisiondataprovider_3_0.generatedTemplate,sfdcIsPreviewMode:e.attributes.dxp_data_providerdecisiondataprovider_3_0.sfdcIsPreviewMode,sfdcFields:e.attributes.dxp_data_providerdecisiondataprovider_3_0.sfdcFields,sfdcId:e.attributes.dxp_data_providerdecisiondataprovider_3_0.sfdcId},key:0},[u("",function(n,l){return r(l,[t("dxp_data_provider-data-proxy",E.default,{props:{routerContainerView:e.routerContainerView,sfdcData:n,generatedTemplate:e.attributes.dxp_data_providerdecisiondataprovider_3_0.generatedTemplate,routeParams:e.routeParams},key:1})],0)})])]}en.renderMode="light",en.stylesheets=[],en.stylesheetToken="lwc-1a4hkrgv84p",en.legacyStylesheetToken="___at___view-commerceLayout_commerce_data_providernavigationmenudataprovider_6_7_html",a.freezeTemplate(en);var tn=a.registerTemplate(an);an.renderMode="light",an.stylesheets=[],an.stylesheetToken="lwc-fe7av3onpc",an.legacyStylesheetToken="___at___view-commerceLayout_dxp_data_provideruserdataprovider_2_0_html",a.freezeTemplate(an);const rn=[["--dxp-c-l-logo-width","150",!1],["--dxp-c-l-alignment","center",!1],["--dxp-c-m-alignment","center",!1],["--dxp-c-m-logo-width","150",!1],["--dxp-c-s-alignment","center",!1],["--dxp-c-s-logo-width","150",!1]],un={"data-component-id":"siteLogo-5de2"};function on(n,e,l,a){const{c:t}=n;return[t("dxp_content_layout-site-logo",x.default,{styleDecls:rn,attrs:un,props:{logoWidth:e.attributes.dxp_content_layoutsitelogo_5_0.logoWidth,logoInfo:e.attributes.dxp_content_layoutsitelogo_5_0.logoInfo,imageInfo:e.attributes.dxp_content_layoutsitelogo_5_0.imageInfo,alignment:e.attributes.dxp_content_layoutsitelogo_5_0.alignment},key:0})]}var cn=a.registerTemplate(on);on.renderMode="light",on.stylesheets=[],on.stylesheetToken="lwc-3jfj47paach",on.legacyStylesheetToken="___at___view-commerceLayout_dxp_data_providersitelogodataprovider_4_4_html",a.freezeTemplate(on);const sn={attrs:{"data-component-id":"layoutSite-a25d"},key:0},dn=[],gn={"component-wrapper-spacer":!0},pn={"data-component-id":"b2bSubscriber-c6a4"},mn={"data-component-id":"embeddedMessaging-9b3d"},bn={"data-component-id":"b2bFooter-7de5"}
675,_n={"data-component-id":"columns-0c51","data-layout-direction":"desktop-direction-row tablet-direction-column mobile-direction-column"},wn={"data-layout-direction":"desktop-direction-row tablet-direction-column mobile-direction-column"},Tn={"data-component-id":"b2bHeaderNotification-ca57"},yn={"data-component-id":"b2bHeader-7ba9"},fn={"dxpBrand_ec69dcc1-47fd-470f-886d-b119983a094c":!0,b2bHeaderOverride:!0},kn={"data-component-id":"layoutHeader-414c"},vn={"data-component-id":"searchInput-2cd1"},In={"data-component-id":"wishlistShortcut-8c1f"},Mn={"data-component-id":"cartBadge-7770"};function hn(n,e,l,a){const{c:t,fr:r,ssf:u}=n;return[t("commerce-layout-site",X.default,sn,[t("webruntime-router-container",U.default,{props:{view:e.routerContainerView,routeParams:e.routeParams},key:1}),t("c-b2b-subscriber",W.default,{styleDecls:dn,classMap:gn,slotAssignment:"footer",attrs:pn,props:{hubSpotURL:e.attributes.cb2bsubscriber_7_11.hubSpotURL},key:2}),t("experience_messaging-embedded-messaging",C.default,{styleDecls:dn,classMap:gn,slotAssignment:"footer",attrs:mn,props:{deploymentName:e.attributes.experience_messagingembeddedmessaging_7_12.deploymentName,scrtUrl:e.attributes.experience_messagingembeddedmessaging_7_12.scrtUrl,hideChatButtonOnLoad:e.attributes.experience_messagingembeddedmessaging_7_12.hideChatButtonOnLoad,siteEndpoint:e.attributes.experience_messagingembeddedmessaging_7_12.siteEndpoint,clientVersion:e.attributes.experience_messagingembeddedmessaging_7_12.clientVersion},key:3}),t("c-b2b-footer",P.default,{styleDecls:dn,slotAssignment:"footer",attrs:bn,props:{logoContentId:e.attributes.cb2bfooter_7_13.logoContentId},key:4}),t("dxp_layout-columns",q.default,{styleDecls:dn,slotAssignment:"header",attrs:_n,props:{sectionConfig:e.attributes.dxp_layoutcolumns_7_10.sectionConfig},key:5},[t("dxp_layout-column",z.default,{slotAssignment:"columns",attrs:wn,props:{columnCount:e.attributes.dxp_layoutcolumn_4_0.columnCount,columnWidth:"12"},key:6},[t("c-b2b-header-notification",S.default,{styleDecls:dn,classMap:gn,slotAssignment:"column",attrs:Tn,props:{backgroundColor:e.attributes.cb2bheadernotification_4_1.backgroundColor,containerHeight:e.attributes.cb2bheadernotification_4_1.containerHeight,linkColor:e.attributes.cb2bheadernotification_4_1.linkColor,textColor:e.attributes.cb2bheadernotification_4_1.textColor,notificationContentId:e.attributes.cb2bheadernotification_4_1.notificationContentId,linkMarginPercentage:e.attributes.cb2bheadernotification_4_1.linkMarginPercentage,containerPaddingPercent:e.attributes.cb2bheadernotification_4_1.containerPaddingPercent},key:7}),t("c-b2b-header",D.default,{styleDecls:dn,classMap:gn,slotAssignment:"column",attrs:yn,props:{effectiveAccountId:e.attributes.cb2bheader_4_2.effectiveAccountId,webStoreId:e.attributes.cb2bheader_4_2.webStoreId},key:8}),t("commerce_builder-layout-header",K.default,{styleDecls:dn,classMap:fn,slotAssignment:"column",attrs:kn,props:{hidePromoBanner:e.attributes.commerce_builderlayoutheader_4_3.hidePromoBanner,hideWishlistShortcut:e.attributes.commerce_builderlayoutheader_4_3.hideWishlistShortcut},key:9},[t("commerce_builder-search-input",A.default,{styleDecls:dn,slotAssignment:"searchInput",attrs:vn,props:{buttonBackgroundColor:e.attributes.commerce_buildersearchinput_6_6.buttonBackgroundColor,backgroundColor:e.attributes.commerce_buildersearchinput_6_6.backgroundColor,borderRadius:e.attributes.commerce_buildersearchinput_6_6.borderRadius,showSearchSuggestionsSetup:e.attributes.commerce_buildersearchinput_6_6.showSearchSuggestionsSetup,buttonBackgroundHoverColor:e.attributes.commerce_buildersearchinput_6_6.buttonBackgroundHoverColor,placeholderText:e.attributes.commerce_buildersearchinput_6_6.placeholderText,iconColor:e.attributes.commerce_buildersearchinput_6_6.iconColor,showSearchButton:e.attributes.commerce_buildersearchinput_6_6.showSearchButton,borderColor:e.attributes.commerce_buildersearchinput_6_6.borderColor},key:10}),t("commerce_data_provider-navigation-menu-data-provider",O.default,{slotAssignment:"navigation",props:{staticMenuItemsData:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.staticMenuItemsData,sfdcExpressionKey:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.sfdcExpressionKey,generatedTemplate:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.generatedTemplate,sfdcIsPreviewMode:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.sfdcIsPreviewMode,staticMenuItemsForGuestsData:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.staticMenuItemsForGuestsData,addHomeMenuItem:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.addHomeMenuItem,
675navigationLinkSetDeveloperName:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.navigationLinkSetDeveloperName,sfdcId:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.sfdcId},key:11},[u("",function(n,l){return r(l,[t("dxp_data_provider-data-proxy",E.default,{props:{routerContainerView:e.routerContainerView,sfdcData:n,generatedTemplate:e.attributes.commerce_data_providernavigationmenudataprovider_5_5.generatedTemplate,routeParams:e.routeParams},key:12})],0)})]),t("commerce_builder-wishlist-shortcut",B.default,{styleDecls:dn,slotAssignment:"wishlist",attrs:In,props:{iconType:e.attributes.commerce_builderwishlistshortcut_7_8.iconType},key:13}),t("dxp_data_provider-site-logo-data-provider",F.default,{slotAssignment:"storeLogo",props:{sfdcExpressionKey:e.attributes.dxp_data_providersitelogodataprovider_4_4.sfdcExpressionKey,generatedTemplate:e.attributes.dxp_data_providersitelogodataprovider_4_4.generatedTemplate,sfdcIsPreviewMode:e.attributes.dxp_data_providersitelogodataprovider_4_4.sfdcIsPreviewMode,logoInfo:e.attributes.dxp_data_providersitelogodataprovider_4_4.logoInfo,sfdcId:e.attributes.dxp_data_providersitelogodataprovider_4_4.sfdcId},key:14},[u("",function(n,l){return r(l,[t("dxp_data_provider-data-proxy",E.default,{props:{routerContainerView:e.routerContainerView,sfdcData:n,generatedTemplate:e.attributes.dxp_data_providersitelogodataprovider_4_4.generatedTemplate,routeParams:e.routeParams},key:15})],0)})]),t("commerce_data_provider-navigation-menu-data-provider",O.default,{slotAssignment:"myAccount",props:{sfdcExpressionKey:e.attributes.commerce_data_providernavigationmenudataprovider_6_7.sfdcExpressionKey,generatedTemplate:e.attributes.commerce_data_providernavigationmenudataprovider_6_7.generatedTemplate,sfdcIsPreviewMode:e.attributes.commerce_data_providernavigationmenudataprovider_6_7.sfdcIsPreviewMode,navigationLinkSetDeveloperName:e.attributes.commerce_data_providernavigationmenudataprovider_6_7.navigationLinkSetDeveloperName,sfdcId:e.attributes.commerce_data_providernavigationmenudataprovider_6_7.sfdcId},key:16},[u("",function(n,l){return r(l,[t("dxp_data_provider-data-proxy",E.default,{props:{routerContainerView:e.routerContainerView,sfdcData:n,generatedTemplate:e.attributes.commerce_data_providernavigationmenudataprovider_6_7.generatedTemplate,routeParams:e.routeParams},key:17})],0)})]),t("commerce_builder-cart-badge",H.default,{styleDecls:dn,slotAssignment:"cart",attrs:Mn,props:{countType:e.attributes.commerce_buildercartbadge_7_9.countType,showCount:e.attributes.commerce_buildercartbadge_7_9.showCount},key:18})])])])])]}var En=a.registerTemplate(hn);hn.renderMode="light",hn.stylesheets=[],hn.stylesheetToken="lwc-2oeu9o2enrq",hn.legacyStylesheetToken="___at___view-commerceLayout_dxp_data_providerdecisiondataprovider_3_0_html",a.freezeTemplate(hn);const Ln=a.registerComponent(class{static get html(){return Z}static get attributes(){return function(n){return{dxp_data_provideruserdataprovider_2_0:{sfdcIsPreviewMode:!1,sfdcFields:[],childData:{},sfdcId:"7cf2bff1-7787-37fc-8df2-1b918bb50cfd",sfdcExpressionKey:"User",generatedTemplate:{attributes:e=>({dxp_data_providerdecisiondataprovider_3_0:{sfdcIsPreviewMode:!1,sfdcId:"92488051-a289-3471-bb83-8e416ade8784",sfdcFields:[],sfdcExpressionKey:"$decisionData",generatedTemplate:{attributes:e=>({commerce_builderwishlistshortcut_7_8:{iconType:"heart"},dxp_layoutcolumns_7_10:{sectionConfig:'{"UUID":"609ba223-c98f-4703-9078-b81271c10c51","columns":[{"UUID":"2de75e79-5303-44e9-860d-1055f391c5bb","columnName":"Column 1","columnKey":"col1","columnWidth":"12","seedComponents":[]}]}'},cb2bfooter_7_13:{logoContentId:"MCF3J76KZHMFAHNM7P64IE56ZYSM"},cb2bheadernotification_4_1:{containerHeight:"",backgroundColor:"rgb(140, 31, 48)",linkMarginPercentage:"1",containerPaddingPercent:"1",linkColor:"rgb(255, 255, 255)",textColor:"rgb(255, 255, 255)",notificationContentId:"MCQ5ELKVPIGFAMDLBKZQJOECDUHY"},cb2bheader_4_2:{webStoreId:"0ZENu0000003cAPOAY",effectiveAccountId:I.EXPR_CLOSURE(()=>I.EXPR_MEMBER(n.routeParams.CurrentUser||"","effectiveAccountId"))},commerce_buildercartbadge_7_9:{showCount:!0,countType:"TotalProductCount"},commerce_data_providernavigationmenudataprovider_6_7:{sfdcIsPreviewMode:!1,sfdcId:"bd2b8aba-eb96-380c-837a-bb57d388a1de",navigationLinkSetDeveloperName:"Default_User_Profile_Menu",sfdcExpressionKey:"NavMenu",generatedTemplate:{attributes:n=>({commerce_builderuserprofilemenu_7_0:{loginLinkText:"Log In",userNameTextOrientation:"leftOfIcon",loginLinkTextOrientation:"leftOfIcon",menuStyle:"iconAndName",loginLinkTextDecoration:'{"underline":true}',includeCompanyName:!1,userProfileMenuNavigationMenuEditor:I.EXPR_CLOSURE(()=>
675I.EXPR_MEMBER(I.EXPR_PROVIDER(n),"MenuItems")),logOutLabel:"Log Out",iconStyle:"userIcon"}}),html:ln}},commerce_data_providernavigationmenudataprovider_5_5:{sfdcIsPreviewMode:!1,addHomeMenuItem:!1,navigationLinkSetDeveloperName:"Default_Navigation15",staticMenuItemsForGuestsData:'{\n  "eTag" : null,\n  "weakEtag" : 0,\n  "menuItems" : [\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Productos",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "TLS360",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/tls360",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Productos destacados",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Analógico y señal mixta",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/analog-and-mixed-signal",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Componentes individuales",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/discrete",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Lógica",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/logic",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Memoria y almacenamiento",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/memory",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Optoelectrónica",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/optoelectronics",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Procesador y periféricos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/processor-and-peripheral",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Mercados",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Mercados a los que atendemos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Aeroespacial y defensa",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/aerospace-defense",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Automotriz",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/automotive",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Industrial",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/industrial",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Médica",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/medical",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Transporte",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/transportation",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Fabricantes",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Ver todos los fabricantes",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/all-manufacturer",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Fabricantes destacados",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Analog Devices",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/analog-devices",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Infineon",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/infineon",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "NXP",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/nxp",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "onsemi",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/onsemi",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Rochester Electronics",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/rochester-electronics",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "STMicroelectronics",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/stmicroelectronics",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Texas Instruments",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/texas-instruments",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Soluciones",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Nuestras soluciones de ciclo de vida",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Distribución autorizada",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/authorized-distribution",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Servicios de diseño y replicación",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/design-and-authorized-replication",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Fabricación bajo licencia",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/licensed-manufacturing",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Servicios de fabricación",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/manufacturing-services",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Calidad",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Calidad",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/quality",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Antifalsificación",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/quality/anti-counterfeiting",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Recurso",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Explore nuestros recursos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Folletos, volantes, guías de productos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/brochures-flyers-product-guides",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Estudios de casos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/case-studies",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Artículos publicados",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/published-articles",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Calidad y flujos técnicos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/quality-and-technical-flows",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Videos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "ExternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "https://www.youtube.com/@RochesterElectronicsLLC",\n          "pageRefer
675ence" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Informes técnicos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/white-papers",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Acerca de",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Acerca de",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Comuníquese con nosotros - Soporte",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/contact-us",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Nuestras ubicaciones",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/locations",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Nuestros distribuidores",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/distributors",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Vacantes",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/careers",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Criterios ambientales, sociales y de gobernanza",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/corporate-policies",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Liderazgo",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/leadership",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Asociaciones",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/associations",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    }\n  ]\n}',sfdcId:"c81e9e60-6f3a-37f3-9800-c7d04555cab9",staticMenuItemsData:'{\n  "eTag" : null,\n  "weakEtag" : 0,\n  "menuItems" : [\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Productos",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "TLS360",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/tls360",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Productos destacados",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Analógico y señal mixta",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/analog-and-mixed-signal",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Componentes individuales",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/discrete",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Lógica",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/logic",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Memoria y almacenamiento",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/memory",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Optoelectrónica",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/optoelectronics",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Procesador y periféricos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/products/processor-and-peripheral",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Mercados",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Mercados a los que atendemos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Aeroespacial y defensa",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/aerospace-defense",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Automotriz",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/automotive",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Industrial",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/industrial",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Médica",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/medical",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Transporte",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/markets/transportation",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Fabricantes",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Ver todos los fabricantes",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/all-manufacturer",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Fabricantes destacados",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Analog Devices",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/analog-devices",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Infineon",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/infineon",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "NXP",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/nxp",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "onsemi",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/onsemi",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Rochester Electronics",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/rochester-electronics",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "STMicroelectronics",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/stmicroelectronics",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Texas Instruments",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/manufacturers/texas-instruments",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Soluciones",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Nuestras soluciones de ciclo de vida",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Distribución autorizada",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/authorized-distribution",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Servicios de diseño y replicación",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/design-and-authorized-replication",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Fabricación bajo licencia",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/licensed-manufacturing",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Servicios de fabricación",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/solutions/manufacturing-services",
675\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Calidad",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Calidad",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/quality",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Antifalsificación",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/quality/anti-counterfeiting",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Recurso",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Explore nuestros recursos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Folletos, volantes, guías de productos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/brochures-flyers-product-guides",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Estudios de casos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/case-studies",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Artículos publicados",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/published-articles",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Calidad y flujos técnicos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/quality-and-technical-flows",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Videos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "ExternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "https://www.youtube.com/@RochesterElectronicsLLC",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Informes técnicos",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/resources/white-papers",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    },\n    {\n      "eTag" : null,\n      "weakEtag" : 0,\n      "label" : "Acerca de",\n      "subMenu" : [\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Acerca de",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Comuníquese con nosotros - Soporte",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/contact-us",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Nuestras ubicaciones",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/locations",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Nuestros distribuidores",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/distributors",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Vacantes",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/careers",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Criterios ambientales, sociales y de gobernanza",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/corporate-policies",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Liderazgo",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/leadership",\n          "pageReference" : null\n        },\n        {\n          "eTag" : null,\n          "weakEtag" : 0,\n          "label" : "Asociaciones",\n          "subMenu" : null,\n          "target" : "NewWindow",\n          "urlType" : null,\n          "actionType" : "InternalLink",\n          "imageUrl" : null,\n          "url" : null,\n          "actionValue" : "/about/associations",\n          "pageReference" : null\n        }\n      ],\n      "target" : "NewWindow",\n      "urlType" : null,\n      "actionType" : "InternalLink",\n      "imageUrl" : null,\n      "url" : null,\n      "actionValue" : null,\n      "pageReference" : null\n    }\n  ]\n}',sfdcExpressionKey:"NavMenu",generatedTemplate:{attributes:n=>({commerce_builderdrilldownnavigation_6_0:{navigationMenuEditor:I.EXPR_CLOSURE(()=>
675I.EXPR_MEMBER(I.EXPR_PROVIDER(n),"MenuItems")),showBackLabel:!0,alignment:"left",showHomeLink:!1}}),html:Q}},dxp_layoutcolumn_4_0:{columnWidth:"12",columnCount:"1"},cb2bsubscriber_7_11:{hubSpotURL:"https://share.hsforms.com/1qJNX7pjtTceIomln1-OsqA1mevx"},experience_messagingembeddedmessaging_7_12:{scrtUrl:"https://rocelec.my.salesforce-scrt.com",hideChatButtonOnLoad:"Default",deploymentName:"Captain_Rochester_Messaging_for_Web",clientVersion:"WebV1",siteEndpoint:"https://rocelec.my.site.com/ESWCaptainRochesterMess1738353612583"},commerce_buildersearchinput_6_6:{buttonBackgroundColor:"rgb(0, 0, 0)",backgroundColor:"rgb(0, 0, 0)",borderColor:"rgb(0, 0, 0)",borderRadius:0,showSearchButton:!0,iconColor:"rgb(195, 190, 190)",placeholderText:"Buscar...",showSearchSuggestionsSetup:!1,buttonBackgroundHoverColor:"rgb(209, 208, 208)"},commerce_builderlayoutheader_4_3:{hideWishlistShortcut:!0,hidePromoBanner:!0},dxp_data_providersitelogodataprovider_4_4:{sfdcIsPreviewMode:!1,sfdcId:"a2cbbf3c-d208-345a-b34d-5ed5d222760f",logoInfo:"/cms/delivery/media/MCF3J76KZHMFAHNM7P64IE56ZYSM",sfdcExpressionKey:"dxpSiteLogoSfdcExpressionKey",generatedTemplate:{attributes:n=>({dxp_content_layoutsitelogo_5_0:{logoWidth:150,imageInfo:"",alignment:"center",logoInfo:I.EXPR_CLOSURE(()=>I.EXPR_MEMBER(I.EXPR_PROVIDER(n),"Picture"))}}),html:cn}}}),html:En}}}),html:tn}}}}}},{tmpl:Z,sel:"@view-commerce-layout",apiVersion:66,enableSyntheticElementInternals:!0});n.default=Ln,Object.defineProperty(n,"__esModule",{value:!0})});
676})();

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.