1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3109],{2888:(e,t,i)=>{i.d(t,{S:()=>l,i:()=>n});var l=function(e){return e.AdminUI="AdminUI",e.CancellationFlow="CancellationFlow",e.CustomAction1="CustomAction1",e.usePrepaidV2="usePrepaidV2",e.maxDailyOrdersPerSubscription="maxDailyOrdersPerSubscription",e.shopifySyncPullProductsFromAdminApi="shopifySyncPullProductsFromAdminApi",e.SurpriseNDelight="SurpriseNDelight",e.SmsHours="SmsHours",e.ShowManualSubscriptionModal="ShowManualSubscriptionModal",e.bannerImageUrl="bannerImageUrl",e.bannerImageMobileUrl="bannerImageMobileUrl",e.bannerImageHyperLink="bannerImageHyperLink",e.excludeUpsellsFromShippingPrice="excludeUpsellsFromShippingPrice",e.calendarLocale="calendarLocale",e.hideSkipCPv2="hideSkipCPv2",e.hideNextOrderDateCPv2="hideNextOrderDateCPv2",e.hideEditProductsCPv2="hideEditProductsCPv2",e.hideApplyDiscountCPv2="hideApplyDiscountCPv2",e.hideEditFrequencyCPv2="hideEditFrequencyCPv2",e.hideCancelCPv2="hideCancelCPv2",e.hideOrderNowCPv2="hideOrderNowCPv2",e.hideDeliveryPriceCPv2="hideDeliveryPriceCPv2",e.hideDiscountChipsCPv2="hideDiscountChipsCPv2",e.hideSurpriseAndDelightBanner="hideSurpriseAndDelightBanner",e.hideVolumeDiscountBanner="hideVolumeDiscountBanner",e.enableCancelFlowV2="enableCancelFlowV2",e.enableClassicBAB="enableClassicBAB",e.enableDynamicBAB="enableDynamicBAB",e.enableSectionedBAB="enableSectionedBAB",e.enableNewStaticBoxLogic="enableNewStaticBoxLogic",e.skioInternalStore="skioInternalStore",e.showNewCustomerPortal="showNewCustomerPortal",e.enableAllDayBilling="enableAllDayBilling",e.disableCancelFlowV2="disableCancelFlowV2",e.enableAutomations="enableAutomations",e.showGreetingCPv2="showGreetingCPv2",e.showOrderTrackingCPv2="showOrderTrackingCPv2",e.applySurpriseAndDelightRulesJIT="applySurpriseAndDelightRulesJIT",e.enableFamilyPlan="enableFamilyPlan",e.enableAnalyticsSegments="enableAnalyticsSegments",e.useOldDashSubscriptionCard="useOldDashSubscriptionCard",e.useOldDashSubscriptionEditPage="useOldDashSubscriptionEditPage",e.enableMultipleActionsCFv2="enableMultipleActionsCFv2",e.customBlockCode="customBlockCode",e.customBlockCSS="customBlockCSS",e.customBlockWhitelistEmails="customBlockWhitelistEmails",e.disableQuickRemove="disableQuickRemove",e.disablePaymentMethodEntry="disablePaymentMethodEntry",e.showVariantPlatformId="showVariantPlatformId",e.showSavedAmountCustomerPortal="showSavedAmountCustomerPortal",e.daysBeforeCancelSubscription="daysBeforeCancelSubscription",e.enableDunningV2="enableDunningV2",e.autoMergeBillingSearchDays="autoMergeBillingSearchDays",e.manualSubPrepaidCyclesHack="manualSubPrepaidCyclesHack",e.recurringFreeShippingOverride="recurringFreeShippingOverride",e.enableStorefrontCC="enableStorefrontCC",e.delinquentTurnOffDate="delinquentTurnOffDate",e.delinquencyCustomMessage="delinquencyCustomMessage",e.enableAutomatedDeliquencyWarning="enableAutomatedDeliquencyWarning",e.onlyUseShopifyResetLinks="onlyUseShopifyResetLinks",e.enableBackInStockNotification="enableBackInStockNotification",e.backInStockNotificationMaxDelay="backInStockNotificationMaxDelay",e.backInStockQuickActionMaxDelay="backInStockQuickActionMaxDelay",e.enableBackupProducts="enableBackupProducts",e.enableInternationalization="enableInternationalization",e.enableBackupPayments="enableBackupPayments",e.enablePriceBasedBAB="enablePriceBasedBAB",e.useDefaultTwilioFallbackNumber="useDefaultTwilioFallbackNumber",e.useExpandedDrawer="useExpandedDrawer",e.enableLoyalty="enableLoyalty",e.loyaltyBlocklistTags="loyaltyBlocklistTags",e.enableSkioSmsV2="enableSkioSmsV2",e.enableSkioSmsBotPreview="enableSkioSmsBotPreview",e.showAddBackupPaymentsInPortal="showAddBackupPaymentsInPortal",e.neverShowAutomatedDelinquencyBanner="neverShowAutomatedDelinquencyBanner",e.giftOnSkip="giftOnSkip",e.lastUpdatedTime="lastUpdatedTime",e.excludeOneTimeRevenueOnFirstOrder="excludeOneTimeRevenueOnFirstOrder",e.enableJourney="enableJourney",e.migratedToJourney="migratedToJourney",e.enableCredits="enableCredits",e.creditSettings="creditSettings",e.tierBetaEmails="tierBetaEmails",e.referralBetaEmails="referralBetaEmails",e.enableCustomerPage="enableCustomerPage",e.re
1calculateOosShippingPrice="recalculateOosShippingPrice",e.shippingPriceRules="shippingPriceRules",e.familyPlanTestUsers="familyPlanTestUsers",e.enableLocaleAutoDetection="enableLocaleAutoDetection",e.nextBillingDateDaysIntoFutureLimit="nextBillingDateDaysIntoFutureLimit",e.customerSpendingLimitSettings="customerSpendingLimitSettings",e.showFraudPreventionFeatures="showFraudPreventionFeatures",e.allowSplitWithVolumeDiscounts="allowSplitWithVolumeDiscounts",e.showSplitSub="showSplitSub",e.skipOptions="skipOptions",e.removeDiscountsOnCancel="removeDiscountsOnCancel",e.restrictProductsByInterval="restrictProductsByInterval",e.enableMultiStepFlow="enableMultiStepFlow",e.temporaryPauseOptions="temporaryPauseOptions",e.loyaltyLogoUrl="loyaltyLogoUrl",e.showOutOfStockUI="showOutOfStockUI",e.daysBeforeOutOfStockUI="daysBeforeOutOfStockUI",e.allowProductSkip="allowProductSkip",e.cpExpandedButtonGroupSorted="cpExpandedButtonGroupSorted",e.cpMoreButtonGroupSorted="cpMoreButtonGroupSorted",e.showMergeSub="showMergeSub",e.showPasswordLogin="showPasswordLogin",e.hideCreditsEarnedPreview="hideCreditsEarnedPreview",e.disableSkipIncompleteMinCycles="disableSkipIncompleteMinCycles",e.disablePauseIncompleteMinCycles="disablePauseIncompleteMinCycles",e.disableBillingDateChangeIncompleteMinCycles="disableBillingDateChangeIncompleteMinCycles",e.disableCancelIncompleteMinCycles="disableCancelIncompleteMinCycles",e.disableEditProductsIncompleteMinCycles="disableEditProductsIncompleteMinCycles",e.enableDeliveryProfileAddressValidation="enableDeliveryProfileAddressValidation",e.trackCyclesOnIndividualSubLines="trackCyclesOnIndividualSubLines",e.enableSbabOrderTag="enableSbabOrderTag",e.hideLoyaltyFromCustomers="hideLoyaltyFromCustomers",e.disableInventoryLocationsForProductStockCheck="disableInventoryLocationsForProductStockCheck",e.loyaltyStripeSubscriptionItemId="loyaltyStripeSubscriptionItemId",e.referralSettings="referralSettings",e.daysUntilCancelStale3DS="daysUntilCancelStale3DS",e.displayLoyaltyNewFeatureBadge="displayLoyaltyNewFeatureBadge",e.displayLoyaltyNewFeaturePanel="displayLoyaltyNewFeaturePanel",e.displayLoyaltyNavLinksWithBadge="displayLoyaltyNavLinksWithBadge",e.cancelFlowV3Settings="cancelFlowV3Settings",e.hideCustomInterval="hideCustomInterval",e.hideLoyaltyUpcomingRewardsBanner="hideLoyaltyUpcomingRewardsBanner",e.generateSellingPlanNamesOnSubscriptions="generateSellingPlanNamesOnSubscriptions",e.streaksEnabled="streaksEnabled",e.streakExpiryBufferDays="streakExpiryBufferDays",e.customerLevelVolumeDiscountsSetting="customerLevelVolumeDiscountsSetting",e.showReferralCardAboveOTU="showReferralCardAboveOTU",e.exciseTaxConfig="exciseTaxConfig",e.showProcessedDateForOrderCreation="showProcessedDateForOrderCreation",e.showOrderNameForOrderDisplay="showOrderNameForOrderDisplay",e.enableReferralShareModal="enableReferralShareModal",e.hideReferralCodeFromRewardsHistory="hideReferralCodeFromRewardsHistory",e.enableDeliveryProfileBillingCheck="enableDeliveryProfileBillingCheck",e.allowAnyNextBillingDate="allowAnyNextBillingDate",e.autoSplitOnIntervalMismatch="autoSplitOnIntervalMismatch",e.autoSplitCarryOverCycleCount="autoSplitCarryOverCycleCount",e.autoSplitTransferDiscountCodes="autoSplitTransferDiscountCodes",e.componentAnalyticsEnabled="componentAnalyticsEnabled",e.componentAnalyticsPixelId="componentAnalyticsPixelId",e.excludedContractCustomAttributeKeys="excludedContractCustomAttributeKeys",e}({}),n=function(e){return e.NEVER="NEVER",e.STATIC_BAB_CHILD="STATIC_BAB_CHILD",e.ONLY_SURPRISE_DELIGHT="ONLY_SURPRISE_DELIGHT",e.EXCLUDE_ALL_WITHOUT_SELLING_PLANS="EXCLUDE_ALL_WITHOUT_SELLING_PLANS",e.ALWAYS="ALWAYS",e}({})},14323:(e,t,i)=>{i.d(t,{A:()=>u,l:()=>d});var l=i(26999),n=i(56617),o=i(3555),r=i(46489),a=i(52211),s=function(e,t){var i={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(i[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);n<l.length;n++)0>t.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(i[l[n]]=e[l[n]]);return i};let d="site-settings";function u(){var e,t,i,u;
1let c=(0,l.m)(),{siteId:y,isLoading:p}=(0,a.K)(),m=(0,o.useQuery)({queryKey:[d],staleTime:18e5,refetchOnWindowFocus:"always",queryFn:()=>{var e,t,i,l;return e=this,t=void 0,i=void 0,l=function*(){let e=yield c.query({query:r.wJ,variables:{siteId:null!=y?y:""},fetchPolicy:"no-cache"});if(e.error)throw e.error;return e.data},new(i||(i=Promise))(function(n,o){function r(e){try{s(l.next(e))}catch(e){o(e)}}function a(e){try{s(l.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?n(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(r,a)}s((l=l.apply(e,t||[])).next())})},enabled:!!y&&!p}),{data:g,isLoading:b}=m,P=s(m,["data","isLoading"]),h=null==g?void 0:g.SiteByPk,S=null!=(e=null==h?void 0:h.cpv3Settings)?e:n.ZK,f=null==(t=null==h?void 0:h.FeatureFlags)?void 0:t.reduce((e,t)=>(e[t.name]=t.enabled,e),{});return Object.assign({siteId:y,siteName:null==h?void 0:h.name,domain:null==h?void 0:h.domain,siteSettings:null==h?void 0:h.settings,creditSettings:null==(i=null==h?void 0:h.settings)?void 0:i.creditSettings,cpv3Settings:S,collectionSettings:null==h?void 0:h.collectionSettings,ianaTimezone:null==h?void 0:h.ianaTimezone,featureFlags:f,defaultLocale:null==(u=null==h?void 0:h.DefaultCopyTranslation)?void 0:u.locale,currencyCode:null==h?void 0:h.currencyCode,smartCarouselSettings:null==h?void 0:h.smartCarouselSettings,showPauseInCustomerPortal:null==h?void 0:h.showPauseInCustomerPortal,showNewCustomerPortal:null==h?void 0:h.showNewCustomerPortal,storefrontAccessToken:null==h?void 0:h.storefrontAccessToken,collections:null==h?void 0:h.Collections,rules:null==h?void 0:h.Rules,isLoading:m.isPending||p},P)}},46489:(e,t,i)=>{i.d(t,{Wz:()=>u,wJ:()=>a,xn:()=>d});var l=i(91536),n=i(58967),o=i(65245);let r={};n.Ab;let a=(0,l.J1)` 2 query getSiteSettings($siteId: uuid!) { 3 SiteByPk(id: $siteId) { 4 id 5 domain 6 name 7 storefrontAccessToken 8 settings 9 cpv3Settings 10 collectionSettings 11 currencyCode 12 ianaTimezone 13 smartCarouselSettings 14 showPauseInCustomerPortal 15 showNewCustomerPortal 16 FeatureFlags { 17 name 18 enabled 19 } 20 DefaultCopyTranslation { 21 locale 22 } 23 Collections( 24 where: {displayOnEditProduct: {_eq: true}, removedAt: {_is_null: true}} 25 ) { 26 id 27 title 28 } 29 Rules(where: {deleted_at: {_is_null: true}}) { 30 applyToSubsCreatedAfter 31 conditions 32 created_at 33 data 34 deleted_at 35 id 36 name 37 priority 38 siteId 39 skipMigratedSubs 40 type 41 } 42 } 43} 44 `,s=(0,l.J1)` 45 query getSiteIntegrationIfEnabled($siteId: uuid!, $vendor: String!) { 46 SiteByPk(id: $siteId) { 47 id 48 Integrations(where: {vendor: {_eq: $vendor}, enabled: {_eq: true}}) { 49 vendor 50 settings 51 } 52 } 53} 54 `;function d(e){let t=Object.assign(Object.assign({},r),e);return o.IT(s,t)}let u=(0,l.J1)` 55 query getCustomerPortalExtensions($siteId: uuid!, $extensionIds: [uuid!]!) { 56 CustomerPortalExtensions( 57 where: {siteId: {_eq: $siteId}, id: {_in: $extensionIds}} 58 ) { 59 id 60 type 61 code 62 } 63} 64 `},52211:(e,t,i)=>{i.d(t,{K:()=>o});var l=i(6965),n=function(e,t){var i={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(i[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,l=Object.getOwnPropertySymbols(e);n<l.length;n++)0>t.indexOf(l[n])&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(i[l[n]]=e[l[n]]);return i};let o=({options:e}={})=>{var t;let i=(0,l.K)({options:e}),{data:o,isLoading:r}=i,a=n(i,["data","isLoading"]);return Object.assign({siteId:null==(t=null==o?void 0:o.Site)?void 0:t.id,isLoading:r},a)}},58967:(e,t,i)=>{i.d(t,{Ab:()=>n,G6:()=>r,dJ:()=>a});var l=i(91536);let n=(0,l.J1)` 65 fragment pricingPolicyFields on PricingPolicy { 66 id 67 fixedPrice 68 percentageOff 69 sellingPlanPricingPolicyAdjustmentType 70 afterCycle 71} 72 `,o=(0,l.J1)` 73 fragment UpsellProductVariantFields on ProductVariant { 74 id 75 platformId 76 productId 77 position 78 price 79 compareAtPrice 80 title 81 image 82 sku 83 outOfStockAt 84 marketPrices 85 enableOneTimeUpsell 86 hideOnEditProduct 87 deletedAt 88 SellingPlanGroupResources { 89 id 90 SellingPlanGroup { 91 id 92 name 93 SellingPlans(where: {availableInCustomerPortal: {_eq: true}}) { 94 id 95 platformId 96 name 97 availableInCustomerPortal 98 DeliveryPolicy { 99 interval 100 intervalCount 101 } 102 PrepaidDeliveryPolicy { 103 interval 104 intervalCount 105 } 106 PricingPolicies(order_by: {afterCycle: asc_nulls_first}) { 107 ...pricingPolicyFields 108 } 109 BillingPolicy { 110 interval 111 intervalCount 112 Anchors { 113 id 114 day 115 type 116 cutoffDay
117 strictness 118 missedAnchorAllowance 119 } 120 } 121 } 122 } 123 } 124 Product { 125 id 126 platformId 127 slug 128 imageSrc 129 title 130 description 131 oneTimeUpsellPercentageOff 132 limitOneTimeUpsellQuantity 133 } 134 ClassicBoxV2 { 135 id 136 size 137 ClassicBoxV2_SelectableProductVariant { 138 deletedAt 139 SelectableProductVariant { 140 id 141 title 142 image 143 platformId 144 outOfStockAt 145 Product { 146 platformId 147 title 148 imageSrc 149 } 150 } 151 } 152 } 153} 154 ${n}`,r=(0,l.J1)` 155 fragment UpsellProductFields on Product { 156 id 157 platformId 158 imageSrc 159 images 160 title 161 status 162 description 163 canUpsell 164 hideOnEditProductsPage 165 hideOn1TimeUpsells 166 oneTimeUpsellPercentageOff 167 limitOneTimeUpsellQuantity 168 showProductForCustomerTags 169 slug 170 Tags { 171 id 172 Tag { 173 id 174 name 175 } 176 } 177 Site { 178 currencyCode 179 } 180 DynamicBox { 181 id 182 sizeRange 183 sizeInterval 184 fixedDiscount 185 priceRange 186 percentDiscount 187 settings 188 theme 189 DynamicBox_SelectableProductVariants { 190 deletedAt 191 SelectableProductVariant { 192 id 193 platformId 194 title 195 image 196 price 197 outOfStockAt 198 marketPrices 199 Product { 200 id 201 platformId 202 title 203 imageSrc 204 description 205 } 206 SellingPlanGroupResources { 207 SellingPlanGroup { 208 id 209 name 210 SellingPlans(where: {availableInCustomerPortal: {_eq: true}}) { 211 id 212 platformId 213 name 214 PricingPolicies(order_by: {afterCycle: asc_nulls_first}) { 215 ...pricingPolicyFields 216 } 217 BillingPolicy { 218 interval 219 intervalCount 220 } 221 } 222 } 223 } 224 } 225 } 226 } 227 Collection_Products { 228 collectionId 229 Collection { 230 id 231 title 232 platformId 233 displayOnEditProduct 234 } 235 } 236 ProductVariants( 237 where: {deletedAt: {_is_null: true}, enableOneTimeUpsell: {_eq: true}} 238 order_by: {position: asc_nulls_last} 239 ) { 240 ...UpsellProductVariantFields 241 } 242} 243 ${n} 244${o}`,a=(0,l.J1)` 245 fragment ProductPickerFields on Product { 246 id 247 platformId 248 imageSrc 249 images 250 title 251 status 252 description 253 canUpsell 254 hideOnEditProductsPage 255 hideOn1TimeUpsells 256 oneTimeUpsellPercentageOff 257 limitOneTimeUpsellQuantity 258 showProductForCustomerTags 259 slug 260 Tags { 261 id 262 Tag { 263 id 264 name 265 } 266 } 267 Site { 268 currencyCode 269 } 270 DynamicBox { 271 id 272 sizeRange 273 sizeInterval 274 fixedDiscount 275 priceRange 276 percentDiscount 277 settings 278 theme 279 DynamicBox_SelectableProductVariants { 280 deletedAt 281 SelectableProductVariant { 282 id 283 platformId 284 title 285 image 286 price 287 outOfStockAt 288 marketPrices 289 Product { 290 id 291 platformId 292 title 293 imageSrc 294 description 295 } 296 SellingPlanGroupResources { 297 SellingPlanGroup { 298 id 299 name 300 SellingPlans(where: {availableInCustomerPortal: {_eq: true}}) { 301 id 302 platformId 303 name 304 PricingPolicies(order_by: {afterCycle: asc_nulls_first}) { 305 ...pricingPolicyFields 306 } 307 BillingPolicy { 308 interval 309 intervalCount 310 } 311 } 312 } 313 } 314 } 315 } 316 } 317 ProductVariants( 318 where: {deletedAt: {_is_null: true}, hideOnEditProduct: {_eq: false}} 319 order_by: {position: asc_nulls_last} 320 ) { 321 ...UpsellProductVariantFields 322 } 323} 324 ${n} 325${o}`},97934:(e,t,i)=>{i.d(t,{Ex:()=>p,mO:()=>g,Rm:()=>m});var l=i(77571),n=i(56149),o=i(73822),r=i(66944),a=i(49081);let s={pillColor:"pill-color",badgeColor:"color",badgeModern:"modern"},d={gray:{root:"bg-utility-gray-50 text-utility-gray-700 ring-utility-gray-200",addon:"text-utility-gray-500",addonButton:"hover:bg-utility-gray-100 text-utility-gray-400 hover:text-utility-gray-500"},brand:{root:"bg-utility-brand-50 text-utility-brand-700 ring-utility-brand-200",addon:"text-utility-brand-500",addonButton:"hover:bg-utility-brand-100 text-utility-brand-400 hover:text-utility-brand-500"},error:{root:"bg-utility-error-50 text-utility-error-700 ring-utility-error-200",addon:"text-utility-error-500",addonButton:"hover:bg-utility-error-100 text-utility-error-400 hover:text-utility-error-500"},warning:{root:"bg-utility-warning-50 text-utility-warning-700 ring-utility-warning-200",addon:"text-utility-warning-500",addonButton:"hover:bg-utility-warning-100 text-utility-warning-400 hover:text-utility-warning-500"},success:{root:"bg-utility-success-50 text-success ring-utility-success-200",addon:"text-utility-success-500",addonButton:"hover:bg-utility-success-100 text-utility-success-400 hover:text-utility-success-500"},"gray-blue":{root:"bg-utility-gray-blue-50 text-utility-gray-blue-700 ring-utility-gray-blue-200",addon:"text-utility-gray-blue-500",addonButton:"hover:bg-utility-gray-blue-100 text-utility-gray-blue-400 hover:text-utility-gray-blue-500"},"blue-light":{root:"bg-utility-blue-light-50 text-utility-blue-light-700 ring-utility-blue-light-200",addon:"text-utility-blue-light-500",addonButton:"hover:bg-utility-blue-light-100 text-utility-blue-light-400 hover:text-utility-blue-light-500"},blue:{root:"bg-utility-blue-50 text-utility-blue-700 ring-utility-blue-200",addon:"text-utility-blue-500",addonButton:"hover:bg-utility-blue-100 text-utility-blue-400 hover:text-utility-blue-500"},indigo:{root:"bg-utility-indigo-50 text-utility-indigo-700 ring-utility-indigo-200",addon:"text-utility-indigo-500",addonButton:"hover:bg-utility-indigo-100 text-utility-indigo-400 hover:text-utility-indigo-500"},purple:{root:"bg-utility-purple-50 text-utility-purple-700 ring-utility-purple-200",addon:"text-utility-purple-500",addonButton:"hover:bg-utility-purple-100 text-utility-purple-400 hover:text-utility-purple-500"},pink:{root:"bg-utility-pink-50 text-utility-pink-700 ring-utility-pink-200",addon:"text-utility-pink-500",addonButton:"hover:bg-utility-pink-100 text-utility-pink-400 hover:text-utility-pink-500"},orange:{root:"bg-utility-orange-50 text-utility-orange-700 ring-utility-orange-200",addon:"text-utility-orange-500",addonButton:"hover:bg-utility-orange-100 text-utility-orange-400 hover:text-utility-orange-500"}},u=Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{root:"",addon:t.addon}])),c={[s.pillColor]:{common:"size-max flex items-center whitespace-nowrap rounded-full ring-1 ring-inset",styles:d},[s.badgeColor]:{common:"size-max flex items-center whitespace-nowrap rounded-md ring-1 ring-inset",styles:d},[s.badgeModern]:{common:"size-max flex items-center whitespace-nowrap rounded-md ring-1 ring-inset shadow-xs",styles:{gray:{root:"bg-primary text-secondary ring-primary",addon:"text-gray-500",addonButton:"hover:bg-utility-gray-100 text-utility-gray-400 hover:text-utility-gray-500"}}}},y={[s.pillColor]:{common:"size-max flex items-center whitespace-nowrap rounded-full ring-1 ring-inset",styles:d},[s.badgeColor]:{common:"size-max flex items-center whitespace-nowrap rounded-md ring-1 ring-inset",styles:d},[s.badgeModern]:{common:"size-max flex items-center whitespace-nowrap rounded-md ring-1 ring-inset bg-primary text-secondary ring-primary shadow-xs",styles:u}},p=e=>{let t,i,r,a,d,u,y,p,m,g=(0,n.c)(20);g[0]!==e?({type:d,size:u,color:y,children:t,className:i,style:a,...r}=e,g[0]=e,g[1]=t,g[2]=i,g[3]=r,g[4]=a,g[5]=d,g[6]=u,g[7]=y):(t=g[1],i=g[2],r=g[3],a=g[4],d=g[5],u=g[6],y=g[7]);let b=void 0===d?"pill-color":d,P=void 0===u?"md":u,h=void 0===y?"gray":y,S=c[b];
325if(g[8]!==i||g[9]!==h||g[10]!==S.common||g[11]!==S.styles||g[12]!==P||g[13]!==b){let e={sm:"py-0.5 px-1.5 text-xs font-medium",md:"py-0.5 px-2 text-sm font-medium",lg:"py-1 px-2.5 text-sm font-medium rounded-lg"},t={[s.pillColor]:{sm:"py-0.5 px-2 text-xs font-medium",md:"py-0.5 px-2.5 text-sm font-medium",lg:"py-1 px-3 text-sm font-medium"},[s.badgeColor]:e,[s.badgeModern]:e};p=(0,o.cx)(S.common,t[b][P],S.styles[h].root,i),g[8]=i,g[9]=h,g[10]=S.common,g[11]=S.styles,g[12]=P,g[13]=b,g[14]=p}else p=g[14];return g[15]!==t||g[16]!==r||g[17]!==a||g[18]!==p?(m=(0,l.jsx)("span",{className:p,style:a,...r,children:t}),g[15]=t,g[16]=r,g[17]=a,g[18]=p,g[19]=m):m=g[19],m},m=e=>{let t,i,r,d,u,c,p=(0,n.c)(28),{size:m,color:g,type:b,iconLeading:P,iconTrailing:h,children:S,className:f,iconClassName:C,dataSkioName:x}=e,v=void 0===m?"md":m,w=void 0===g?"gray":g,B=void 0===b?"pill-color":b,I=y[B];p[0]!==P?(t="string"==typeof P?(0,a.y)(P):P,p[0]=P,p[1]=t):t=p[1];let k=t;p[2]!==h?(i="string"==typeof h?(0,a.y)(h):h,p[2]=h,p[3]=i):i=p[3];let O=i,D=k?"leading":"trailing";if(p[4]!==f||p[5]!==w||p[6]!==I.common||p[7]!==I.styles||p[8]!==D||p[9]!==v||p[10]!==B){let e={sm:{trailing:"gap-0.5 py-0.5 pl-2 pr-1.5 text-xs font-medium",leading:"gap-0.5 py-0.5 pr-2 pl-1.5 text-xs font-medium"},md:{trailing:"gap-1 py-0.5 pl-2 pr-1.5 text-sm font-medium",leading:"gap-1 py-0.5 pr-2 pl-1.5 text-sm font-medium"},lg:{trailing:"gap-1 py-1 pl-2.5 pr-2 text-sm font-medium rounded-lg",leading:"gap-1 py-1 pr-2.5 pl-2 text-sm font-medium rounded-lg"}},t={[s.pillColor]:{sm:{trailing:"gap-0.5 py-0.5 pl-2 pr-1.5 text-xs font-medium",leading:"gap-0.5 py-0.5 pr-2 pl-1.5 text-xs font-medium"},md:{trailing:"gap-1 py-0.5 pl-2.5 pr-2 text-sm font-medium",leading:"gap-1 py-0.5 pr-2.5 pl-2 text-sm font-medium"},lg:{trailing:"gap-1 py-1 pl-3 pr-2.5 text-sm font-medium",leading:"gap-1 py-1 pr-3 pl-2.5 text-sm font-medium"}},[s.badgeColor]:e,[s.badgeModern]:e};r=(0,o.cx)(I.common,t[B][v][D],I.styles[w].root,f),p[4]=f,p[5]=w,p[6]=I.common,p[7]=I.styles,p[8]=D,p[9]=v,p[10]=B,p[11]=r}else r=p[11];return p[12]!==k||p[13]!==w||p[14]!==I.styles||p[15]!==C?(d=k&&(0,l.jsx)(k,{className:(0,o.cx)(I.styles[w].addon,"size-3 stroke-3",C)}),p[12]=k,p[13]=w,p[14]=I.styles,p[15]=C,p[16]=d):d=p[16],p[17]!==O||p[18]!==w||p[19]!==I.styles||p[20]!==C?(u=O&&(0,l.jsx)(O,{className:(0,o.cx)(I.styles[w].addon,"size-3 stroke-3",C)}),p[17]=O,p[18]=w,p[19]=I.styles,p[20]=C,p[21]=u):u=p[21],p[22]!==S||p[23]!==x||p[24]!==r||p[25]!==d||p[26]!==u?(c=(0,l.jsxs)("span",{className:r,"data-skio-name":x,children:[d,S,u]}),p[22]=S,p[23]=x,p[24]=r,p[25]=d,p[26]=u,p[27]=c):c=p[27],c},g=e=>{let t,i,d,u,y,p,m=(0,n.c)(22),{size:g,color:b,type:P,icon:h,buttonLabel:S,children:f}=e,C=void 0===g?"md":g,x=void 0===b?"gray":b,v=void 0===P?"pill-color":P,w=void 0===h?r.X:h;m[0]!==w?(t="string"==typeof w?(0,a.y)(w):w,m[0]=w,m[1]=t):t=m[1];let B=t,I=c[v];if(m[2]!==x||m[3]!==I.common||m[4]!==I.styles||m[5]!==C||m[6]!==v){let e={sm:"gap-0.5 py-0.5 pl-1.5 pr-0.75 text-xs font-medium",md:"gap-0.5 py-0.5 pl-2 pr-1 text-sm font-medium",lg:"gap-0.5 py-1 pl-2.5 pr-1.5 text-sm font-medium rounded-lg"},t={[s.pillColor]:{sm:"gap-0.5 py-0.5 pl-2 pr-0.75 text-xs font-medium",md:"gap-0.5 py-0.5 pl-2.5 pr-1 text-sm font-medium",lg:"gap-0.5 py-1 pl-3 pr-1.5 text-sm font-medium"},[s.badgeColor]:e,[s.badgeModern]:e};i=(0,o.cx)(I.common,t[v][C],I.styles[x].root),m[2]=x,m[3]=I.common,m[4]=I.styles,m[5]=C,m[6]=v,m[7]=i}else i=m[7];let k=e.onButtonClick,O=I.styles[x],D="pill-color"===v?"rounded-full":"rounded-[3px]";return m[8]!==O.addonButton||m[9]!==D?(d=(0,o.cx)("flex cursor-pointer items-center justify-center p-0.5 outline-focus-ring transition duration-100 ease-linear focus-visible:outline-2",O.addonButton,D),m[8]=O.addonButton,m[9]=D,m[10]=d):d=m[10],m[11]!==B?(u=B&&(0,l.jsx)(B,{className:"size-3 stroke-[3px] transition-inherit-all"}),m[11]=B,m[12]=u):u=m[12],m[13]!==S||m[14]!==e.onButtonClick||m[15]!==u||m[16]!==d?(y=(0,l.jsx)("button",{type:"button","aria-label":S,onClick:k,className:d,children:u}),m[13]=S,m[14]=e.onButtonClick,m[15]=u,m[16]=d,m[17]=y):y=m[17],m[18]!==f||m[19]!==y||m[20]!==i?(p=(0,l.jsxs)("span",{className:i,children:[f,y]}),m[18]=f,m[19]=y,m[20]=i,m[21]=p):p=m[21],p}}}]);
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.