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CAAmC,ELvB/B,gCKmClDC,EACD,CAAC,EAE6C,UAAU,EAElB,CAAEC,OAAQC,EAAAA,CAAWA,CAACC,aAAa,EAAG,EAClC,CAAEF,OAAQC,EAAAA,CAAWA,CAACE,iBAAiB,EAAG,EAC7C,CAAEH,OAAQC,EAAAA,CAAWA,CAACG,aAAa,EAC9DC,EAA8B,CAAEL,OAAQC,EAAAA,CAAWA,CAACK,gBAAgB,EAAG,kEC0S7E,IAAMC,EAAe,IAAIC,IAAI,CAxVlC,WACA,SACA,gBACA,aACA,YACA,aACA,MACA,kBACA,UACA,eACA,iBACA,gBACA,SACA,MACA,oBACA,oBACA,aACA,oBACA,oBACA,aACA,qBACA,qBACA,cACA,oBACA,kBACA,kBACA,WACA,wBACA,wBACA,iBACA,wBACA,wBACA,iBACA,yBACA,yBACA,kBACA,uBACA,uBACA,wBACA,qBACA,sBACA,sBACA,eACA,oBACA,YACA,eACA,KACA,iBACA,QACA,MACA,QACA,UACA,SACA,OACA,WACA,QACA,MACA,OACA,MACA,kBACA,YACA,uBACA,SACA,kBACA,aACA,kBACA,WACA,eACA,aACA,OACA,SACA,YACA,eACA,WACA,YACA,eACA,oBACA,QACA,sBACA,kBACA,oBACA,mBACA,iBACA,gBACA,OACA,qBACA,WACA,QACA,QACA,eACA,eACA,QACA,kBACA,YACA,SACA,iBACA,UACA,YACA,mBACA,UACA,iBACA,SACA,OACA,YACA,cACA,eACA,WACA,UACA,mBACA,cACA,SACA,WACA,OACA,WACA,UACA,gBACA,OACA,cACA,oBACA,QACA,UACA,gBACA,gBACA,WACA,SACA,eACA,iBACA,WACA,UACA,aACA,WACA,YACA,OACA,SACA,kBACA,cACA,eACA,aACA,UACA,cACA,OACA,cACA,WACA,YACA,aACA,oBACA,gBACA,OACA,aACA,QACA,mBACA,MACA,YACA,QACA,SACA,QACA,cACA,cACA,OACA,OACA,OACA,gBACA,UACA,iBACA,iBACA,QACA,QACA,QACA,kBACA,cACA,oBACA,cACA,YACA,YACA,OACA,gBACA,OACA,eACA,YACA,UACA,yBACA,SACA,WACA,OACA,OACA,eACA,WACA,OACA,SACA,UACA,SACA,OACA,OACA,eACA,UACA,qBACA,UACA,YACA,OACA,gBACA,YACA,4BACA,cACA,UACA,aACA,SACA,QACA,SACA,QACA,gBACA,YACA,aACA,QACA,gBACA,WACA,UACA,aACA,aACA,oBACA,cACA,UACA,kBACA,eACA,eACA,UACA,eACA,QACA,oBACA,SACA,eACA,YACA,cACA,OACA,oBACA,mBACA,oBACA,SACA,WACA,cACA,OACA,QACA,QACA,eACA,iBACA,UACA,SACA,wBACA,0BACA,OACA,MACA,UACA,SACA,gBACA,gBACA,SACA,kBACA,YACA,SACA,UACA,aACA,SACA,UACA,SACA,YACA,eACA,gBACA,kBACA,iBACA,YACA,eACA,oBACA,eACA,OACA,UACA,OACA,SACA,WACA,QACA,WACA,SACA,kBACA,MACA,YACA,eACA,WACA,UACA,SACA,UACA,YACA,WACA,MACA,oBACA,mBACA,OACA,eACA,UACA,aACA,qBACA,cACA,YACA,OACA,eACA,WACA,SACA,WACA,UACA,YACA,QACA,YACA,SACA,UACA,aACA,SACA,SACA,cACA,WACA,cACA,UACA,mBACA,KACA,cACA,UACA,SACA,SACA,cACA,YACA,cACA,OACA,QACA,QACA,aACA,SACA,eACA,YACA,eACA,eACA,UACA,WACA,OACA,IACA,OACA,UAGgD,EAAE,ECpUtB,IAAIA,IAAI,CApBpC,YACA,UACA,QACA,UACA,UACA,eACA,SAcoD,EAAE,EAE1B,IAAIA,IAAI,CAZpC,YACA,QACA,UACA,qBACA,iBACA,mBAOoD,EAAE,EAE1B,IAAIA,IAAI,CANV,MAAO,eAMmB,ECrBzCC,EAAmB,CAC9BC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJ,MAAO,KACP,MAAO,KACP,MAAO,KACP,MAAO,IACT,EAAE,EAEe,CAAC,0BAA0B,CAAC,CAEhCC,EAAgB,GAAGC,EAAS,MAAM,CAAC,CAAC,S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IAAI,CAC7BkF,MAAO,CAAE7L,OAAQ,GAAGgL,EAAa,EAAE,CAAC,CAAEjL,MAAO,GAAGiL,EAAa,EAAE,CAAC,EAChElJ,QAASA,EACThC,UAAU,6BAGhB,CEhHA,MAAeiG,IAAIA","sources":["webpack://_N_E/../../libs/osc/link/src/lib/link.ad-choices.tsx","webpack://_N_E/../../libs/osc/link/src/lib/link.new-window.tsx","webpack://_N_E/../../libs/osc/link/src/lib/link.utils.ts","webpack://_N_E/../../libs/osc/link/src/lib/link.tsx","webpack://_N_E/../../libs/osc/link/src/index.ts","webpack://_N_E/../../libs/osc/spinner/src/lib/spinner.tsx","webpack://_N_E/../../libs/osc/spinner/src/lib/spinner-dialog.tsx","webpack://_N_E/../../libs/osc/spinner/src/lib/index.ts","webpack://_N_E/../../libs/osc/spinner/src/index.ts","webpack://_N_E/../../libs/osc/controls/src/lib/control-back.tsx","webpack://_N_E/../../libs/osc/controls/src/lib/control-close.tsx","webpack://_N_E/../../libs/osc/controls/src/lib/control-next.tsx","webpack://_N_E/../../libs/osc/controls/src/index.ts","webpack://_N_E/../../libs/osc/dialog-v2/src/lib/dialog.base.tsx","webpack://_N_E/../../libs/osc/dialog-v2/src/lib/dialog.tsx","webpack://_N_E/../../libs/osc/dialog-v2/src/lib/dialog-alert.tsx","webpack://_N_E/../../libs/osc/dialog-v2/src/lib/dialog-action-buttons.tsx","webpack://_N_E/../../libs/osc/dialog-v2/src/lib/dialog-action.tsx","webpack://_N_E/../../libs/osc/dialog-v2/src/lib/index.ts","webpack://_N_E/../../libs/osc/dialog-v2/src/index.ts","webpack://_N_E/../../libs/framework/theme/src/lib/constants.ts","webpack://_N_E/../../libs/framework/theme/src/lib/get-theme-classname.ts","webpack://_N_E/../../libs/framework/theme/src/lib/theme-toggles.ts","webpack://_N_E/../../libs/framework/theme/src/lib/index.ts","webpack://_N_E/../../libs/framework/theme/src/index.ts","webpack://_N_E/./utils/constants.ts","webpack://_N_E/../../libs/osc/icon/src/lib/osc-icon-map.tsx","webpack://_N_E/../../libs/osc/icon/src/lib/osc-brand-icon-map.tsx","webpack://_N_E/../../libs/osc/icon/src/lib/osc-icon.tsx","webpack://_N_E/../../libs/osc/icon/src/lib/osc-amenity-icon-map.tsx","webpack://_N_E/../../libs/osc/icon/src/index.ts"],"sourcesContent":["import cx from 'classnames';\nimport type * as React from 'react';\n\ntype LinkAdChoices = React.SVGProps<SVGSVGElement>;\n\nconst LinkAdChoices: React.FC<React.PropsWithChildren<LinkAdChoices>> = ({\n  className,\n  width = 14,\n  height = 14,\n  ...rest\n}) => (\n  <svg\n    role=\"img\"\n    aria-hidden\n    viewBox=\"0 0 26 26\"\n    width={width}\n    height={height}\n    className={cx('ms-1 inline-block fill-current', className)}\n    data-testid=\"link-ad-choices\"\n    {...rest}\n  >\n    <path d=\"M2.193.663l-.222.008-.21.05-.201.067-.183.087-.172.114-.153.135-.144.162-.126.184-.115.19-.086.232-.077.24-.047.258-.03.278-.008.298v15.981l.009.373.029.345.047.307.066.279.088.24.095.21.124.183.135.154.154.124.164.095.173.068.192.04.2.009.221-.01.221-.029.24-.056.239-.079.259-.095.26-.124.268-.135 1.698-.95.096-.067.115-.087.115-.114.124-.135.117-.155.095-.171.068-.183.047-.2v-.222l-.029-.153-.067-.201-.096-.173-.115-.144-.135-.105-.164-.087-.171-.048-.19-.029-.192.01-.212.03-.117.03-.2.094-.192.068-.181.037-.174.01-.153-.018-.144-.04-.135-.068-.115-.096-.097-.114-.086-.142-.067-.155-.058-.184-.037-.2-.02-.211V5.162l.01-.221.039-.2.047-.183.068-.163.097-.144.104-.117.115-.095.143-.077.144-.049.164-.026h.162l.183.026.192.05.191.076.163.086 10.245 5.853.192.113.154.135.135.125.104.144.087.144.048.146.029.142-.01.152-.027.146-.06.142-.075.145-.116.135-.132.135-.164.115-.183.105-6.331 3.3v-3.876l-.019-.223-.067-.199-.097-.192-.133-.155-.164-.132-.183-.096-.2-.068-.21-.02-.223.02-.2.068-.191.096-.155.132-.134.164-.096.183-.068.2-.018.222v5.488l.018.21.057.182.096.173.126.163.144.144.161.124.185.106.191.086.106.039.144.038.181.02.193.009.21-.03.192-.057.095-.039 9.92-5.382.268-.144.24-.16.212-.156.19-.162.164-.163.134-.173.116-.163.086-.172.059-.182.029-.173v-.183l-.042-.181-.056-.183-.096-.184-.124-.191-.164-.183-.19-.192-.232-.18-.257-.192-.3-.183L3.69 1.094 3.422.95l-.26-.115-.259-.077L2.664.7 2.422.663z\" />\n    <path d=\"M8.764 8.51v-.087l-.038-.21-.077-.201-.106-.174-.133-.162-.164-.126-.192-.095-.203-.058-.219-.019h-.087l-.21.039-.201.065-.174.115-.162.135-.124.165-.097.191-.058.2-.02.222v.086l.04.21.067.203.115.171.134.154.162.135.192.095.202.06.221.016h.086l.212-.036.2-.077.172-.106.155-.135.135-.162.095-.192.057-.201z\" />\n  </svg>\n);\n\nexport { LinkAdChoices };\nexport default LinkAdChoices;\n","import cx from 'classnames';\nimport type * as React from 'react';\n\ntype LinkNewWindow = React.SVGProps<SVGSVGElement>;\n\nconst LinkNewWindow: React.FC<React.PropsWithChildren<LinkNewWindow>> = ({\n  className,\n  width = 14,\n  height = 14,\n  ...rest\n}) => (\n  <svg\n    role=\"img\"\n    aria-hidden\n    data-testid=\"link-new-window\"\n    viewBox=\"0 0 10 10\"\n    width={width}\n    height={height}\n    className={cx('ms-1 inline-block stroke-current align-[-2px]', className)}\n    {...rest}\n  >\n    <g fill=\"none\">\n      <path d=\"M3.6 1.3h5.3v5.3H3.6z\" />\n      <path d=\"M1.3 8.8V4.6h2.3v2h1.9v2.2z\" />\n    </g>\n  </svg>\n);\n\nexport { LinkNewWindow };\nexport default LinkNewWindow;\n","import { isBrowser } from '@dx-ui/utilities-is-browser';\n\nexport function getCIDParam({\n  campaignId,\n  componentName,\n}: {\n  campaignId: string;\n  componentName: string;\n}) {\n  const digitalData = isBrowser ? window.digitalData : {};\n  const brandCode =\n    digitalData?.global?.page?.brandCode || digitalData?.page?.category?.brand || '';\n  const ddPageType =\n    digitalData?.global?.page?.pageType || digitalData?.page?.pageInfo?.pageType || '';\n  const ddPrimaryCategory =\n    digitalData?.global?.page?.primaryCategory ||\n    digitalData?.page?.category?.primaryCategory ||\n    '';\n  const ddPageDetail1 =\n    digitalData?.global?.page?.pageDetail1 || digitalData?.page?.pageInfo?.pageDetail1 || '';\n  const ddPageDetail2 =\n    digitalData?.global?.page?.pageDetail2 || digitalData?.page?.pageInfo?.pageDetail2 || '';\n\n  const pageType = ddPageType ? `,${ddPageType}` : '';\n  const pageDetail1 = ddPageDetail1 ? `,${ddPageDetail1}` : '';\n  const pageDetail2 = ddPageDetail2 ? `,${ddPageDetail2}` : '';\n  const primaryCategory = ddPrimaryCategory ? `,${ddPrimaryCategory}` : '';\n\n  return `OH,${brandCode},${campaignId},MULTIPR,${componentName}${pageType}${primaryCategory}${pageDetail1}${pageDetail2}`;\n}\n","import * as React from 'react';\nimport { useTranslation } from 'next-i18next';\nimport NextLink from 'next/link';\nimport cx from 'classnames';\n\nimport { LinkAdChoices } from './link.ad-choices';\nimport { LinkNewWindow } from './link.new-window';\nimport { getCIDParam } from './link.utils';\nimport { useIsClient } from 'usehooks-ts';\n\nexport type LinkBaseProps = {\n  /** jsx icon element to display with link */\n  icon?: JSX.Element;\n  /**\n   * Set the `aria-label` for the link\n   */\n  adaDescription?: string;\n  /**\n   * Set the classNames for the anchor element\n   */\n  anchorClassName?: string;\n  children?: React.ReactNode;\n  /** required props for dynamic cid param */\n  cidParams?: {\n    campaignId: string;\n    componentName: string;\n  };\n  /** Set to true if app supports next link routing in Akamai */\n  hasNextLinkSupport?: boolean;\n  /**\n   * Sets the `target` attribute to `_blank`\n   */\n  isNewWindow?: boolean;\n  /**\n   * The name of the link\n   */\n  label?: string;\n  /**\n   * Set the `href` attribute for the link\n   */\n  url: string;\n  /**\n   * Whether or not the new window icon should be visible\n   */\n  showNewWindowIcon?: boolean;\n  /** whether or not the link should be underlined */\n  underline?: boolean;\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  wrapper?: any;\n};\n\nexport type Link = LinkBaseProps & Omit<React.ComponentProps<typeof NextLink>, 'href'>;\n\nexport const Link = React.forwardRef<HTMLAnchorElement, Link>((props, forwardedRef) => {\n  const {\n    adaDescription,\n    icon,\n    children,\n    cidParams: { campaignId, componentName } = {},\n    hasNextLinkSupport,\n    id,\n    isNewWindow,\n    target,\n    url: urlProp,\n    className = 'text-sm text-primary hover:text-primary-alt',\n    anchorClassName,\n    wrapper: Wrapper,\n    showNewWindowIcon = true,\n    underline = true,\n    ...rest\n  } = props;\n  useIsClient();\n  const { t } = useTranslation('osc-link');\n  const isAdChoices = typeof children === 'string' && !!children?.toString().match(/adchoices/i);\n  const isTargetBlank = isNewWindow || target === '_blank';\n  const linkProps = rest;\n  const canUseNextLink = hasNextLinkSupport && urlProp?.startsWith('/');\n  const url = urlProp?.startsWith('http') ? new URL(urlProp) : urlProp;\n\n  if (adaDescription) {\n    linkProps['aria-label'] = isTargetBlank ? `${adaDescription}, ${t('newTab')}` : adaDescription;\n  }\n  if (isTargetBlank) {\n    linkProps.rel = 'noopener noreferrer';\n  }\n  if (typeof url !== 'string' && campaignId && componentName && !url.searchParams.has('cid')) {\n    const cid = getCIDParam({ campaignId, componentName });\n    url.searchParams.set('cid', 'CID_VALUE_TO_BE_REPLACED');\n    url.href = url.href.replace('CID_VALUE_TO_BE_REPLACED', cid);\n  }\n\n  const classNames = cx({\n    underline,\n    [className]: !!className,\n  });\n\n  const linkContent = React.createElement(\n    canUseNextLink ? NextLink : 'a',\n    {\n      ref: forwardedRef,\n      id,\n      target: isTargetBlank ? '_blank' : target,\n      href: url,\n      className: cx(anchorClassName, {\n        'inline-block text-pretty': !anchorClassName,\n      }),\n      ...linkProps,\n    },\n    <>\n      <span className={classNames}>\n        {children}\n        {(isAdChoices || isTargetBlank) && isAdChoices ? (\n          <LinkAdChoices />\n        ) : (\n          isTargetBlank && showNewWindowIcon && <LinkNewWindow />\n        )}\n        {!!icon && <span aria-hidden>{icon}</span>}\n      </span>\n      {isTargetBlank && (\n        <span className=\"sr-only\">\n          , <span>{t('newTab')}</span>\n        </span>\n      )}\n    </>\n  );\n\n  return url ? (\n    Wrapper ? (\n      <Wrapper href={url} {...props}>\n        {linkContent}\n      </Wrapper>\n    ) : (\n      linkContent\n    )\n  ) : (\n    <div\n      ref={forwardedRef as unknown as React.LegacyRef<HTMLDivElement>}\n      className={classNames}\n      id={id}\n      aria-hidden={rest['aria-hidden']}\n    >\n      {children}\n    </div>\n  );\n});\n\nLink.displayName = 'Link';\n\nexport default Link;\n","export * from './lib/link';\nexport * from './lib/link.ad-choices';\nexport * from './lib/link.new-window';\n","import cx from 'classnames';\nimport * as React from 'react';\n\ntype SpinnerSizes = 'sm' | 'md' | 'lg' | 'xl';\n\nexport type SpinnerProps = {\n  /** The size of the spinner */\n  size?: SpinnerSizes;\n  /** The time in milliseconds to delay until spinner starts */\n  delay?: number;\n} & React.HTMLAttributes<SVGElement>;\n\n/**\n * Displays an icon that indicates something is loading\n */\nexport const Spinner = React.forwardRef<SVGSVGElement, SpinnerProps>(\n  ({ className, size = 'md', delay, ...rest }, forwardedRef) => {\n    const [showSpinner, setShowSpinner] = React.useState(false);\n\n    React.useEffect(() => {\n      if (delay) {\n        const timer = setTimeout(() => setShowSpinner(true), delay);\n        return () => clearTimeout(timer);\n      }\n      return setShowSpinner(true);\n    }, [delay]);\n\n    return (\n      <svg\n        role=\"img\"\n        aria-hidden=\"true\"\n        className={cx(\n          'motion-safe:animate-spin',\n          {\n            'w-5': size === 'sm',\n            'w-10': size === 'md',\n            'w-16': size === 'lg',\n            'w-20': size === 'xl',\n            hidden: !showSpinner,\n          },\n          className\n        )}\n        viewBox=\"0 0 100 100\"\n        fill=\"none\"\n        ref={forwardedRef}\n        {...rest}\n      >\n        <circle className=\"opacity-25\" cx=\"10\" cy=\"10\" stroke=\"currentColor\" strokeWidth=\"10\" />\n        <path\n          fill=\"currentColor\"\n          d=\"M10,50c0,0,0,0.5,0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.2-3-0.3l-1.5-0.2l-0.7-0.1L41.1,90c-1-0.3-1.9-0.5-2.9-0.7c-0.9-0.3-1.9-0.7-2.8-1L34,87.7l-1.3-0.6 c-0.9-0.4-1.8-0.8-2.6-1.3c-0.8-0.5-1.6-1-2.4-1.5c-3.1-2.1-5.9-4.5-8.1-7.1c-1.2-1.2-2.1-2.7-3.1-4c-0.5-0.6-0.8-1.4-1.2-2 c-0.4-0.7-0.8-1.3-1.1-2c-0.3-0.7-0.6-1.3-0.9-2c-0.3-0.7-0.6-1.3-0.8-1.9c-0.4-1.3-0.9-2.5-1.2-3.7c-0.3-1.2-0.5-2.3-0.7-3.3 c-0.2-1-0.3-2-0.4-2.8c-0.1-0.4-0.1-0.8-0.1-1.2c0-0.4,0-0.7,0-1.1c0-0.7,0-1.2,0-1.7C10,50.5,10,50,10,50z\"\n        />\n      </svg>\n    );\n  }\n);\n\nSpinner.displayName = 'Spinner';\n\nexport default Spinner;\n","import { Spinner } from './spinner';\nimport { Dialog, DialogTitle } from '@dx-ui/osc-dialog-v2';\nimport { useTranslation } from 'next-i18next';\n\ntype SpinnerDialogProps = {\n  /* Whether the dialog is open or closed */\n  isOpen: boolean;\n  /* Loading text provided to the dialog, defaults to Please wait... */\n  text?: string;\n};\n\nexport function SpinnerDialog({ isOpen, text }: SpinnerDialogProps) {\n  const { t } = useTranslation('osc-spinner');\n  return (\n    <Dialog isOpen={isOpen} hasChildrenWithTitle dialogClassName=\"w-48\">\n      <div className=\"flex flex-col items-center justify-center gap-4\">\n        <Spinner size=\"xl\" />\n        <DialogTitle>{text || t('loadingText')}</DialogTitle>\n      </div>\n    </Dialog>\n  );\n}\n\nSpinnerDialog.displayName = 'SpinnerDialog';\n\nexport default SpinnerDialog;\n","export * from './spinner';\nexport * from './spinner-dialog';\n","export * from './lib';\n","import * as React from 'react';\nimport cx from 'classnames';\nimport Icon from '@dx-ui/osc-icon';\n\nexport type ControlBackProps = {\n  /** used for screen readers and other assistive devices */\n  label: string;\n  /** the size of the control */\n  size?: React.ComponentProps<typeof Icon>['size'];\n} & React.ButtonHTMLAttributes<HTMLButtonElement>;\n\n/**\n * A simple button to be used any time you need an interaction to go back. like for pagination.\n */\nexport const ControlBack = React.forwardRef<HTMLButtonElement, ControlBackProps>(\n  ({ className, disabled, label, size = 'md', ...rest }, forwardedRef) => {\n    return (\n      <button\n        ref={forwardedRef}\n        type=\"button\"\n        className={cx('btn btn-lg btn-primary-text text-current rtl:-scale-x-100', className)}\n        disabled={disabled}\n        {...rest}\n      >\n        <span className=\"sr-only\">{label}</span>\n        <Icon name=\"arrowhead-left\" size={size} />\n      </button>\n    );\n  }\n);\n\nControlBack.displayName = 'ControlBack';\n\nexport default ControlBack;\n","import * as React from 'react';\nimport cx from 'classnames';\nimport Icon from '@dx-ui/osc-icon';\n\nexport type ControlCloseProps = {\n  /** used for screen readers and other assistive devices */\n  label: string;\n  /** the size of the control */\n  size?: React.ComponentProps<typeof Icon>['size'];\n} & React.ButtonHTMLAttributes<HTMLButtonElement>;\n\n/**\n * A simple button to be used any time you need an interaction to close something. like a popup.\n */\nexport const ControlClose = React.forwardRef<HTMLButtonElement, ControlCloseProps>(\n  ({ className, label, disabled, size = 'md', ...rest }, forwardedRef) => (\n    <button\n      ref={forwardedRef}\n      type=\"button\"\n      className={cx('btn btn-lg btn-primary-text', className)}\n      disabled={disabled}\n      {...rest}\n    >\n      <span className=\"sr-only\">{label}</span>\n      <Icon name=\"close\" size={size} />\n    </button>\n  )\n);\n\nControlClose.displayName = 'ControlClose';\n\nexport default ControlClose;\n","import * as React from 'react';\nimport cx from 'classnames';\nimport Icon from '@dx-ui/osc-icon';\n\nexport type ControlNextProps = {\n  /** used for screen readers and other assistive devices */\n  label: string;\n  /** the size of the control */\n  size?: React.ComponentProps<typeof Icon>['size'];\n} & React.ButtonHTMLAttributes<HTMLButtonElement>;\n\n/**\n * A simple button to be used any time you need an interaction to go forward. like for pagination.\n */\nexport const ControlNext = React.forwardRef<HTMLButtonElement, ControlNextProps>(\n  ({ className, disabled, label, size = 'md', ...rest }, forwardedRef) => {\n    return (\n      <button\n        ref={forwardedRef}\n        type=\"button\"\n        className={cx('btn btn-lg btn-primary-text text-current rtl:-scale-x-100', className)}\n        disabled={disabled}\n        {...rest}\n      >\n        <span className=\"sr-only\">{label}</span>\n        <Icon name=\"arrowhead-right\" size={size} />\n      </button>\n    );\n  }\n);\n\nControlNext.displayName = 'ControlNext';\n\nexport default ControlNext;\n","export * from './lib/control-back';\nexport * from './lib/control-close';\nexport * from './lib/control-next';\n","import * as React from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\nimport { useTranslation } from 'next-i18next';\nimport { ControlClose } from '@dx-ui/osc-controls';\nimport cx from 'classnames';\n\nexport type DialogSizes =\n  | 'xs'\n  | 'sm'\n  | 'md'\n  | 'lg'\n  | 'xl'\n  | '2xl'\n  | '3xl'\n  | '4xl'\n  | '5xl'\n  | '6xl'\n  | 'full'\n  | 'container';\n\nexport type DialogBaseProps = {\n  /** The className for the CloseButton to support custom curated sites */\n  closeButtonClassName?: string;\n  /** The className for the dialog tag */\n  dialogClassName?: string;\n  /** The className for the dialog overlay tag */\n  dialogOverlayClassName?: string;\n  /** The className for the dialog title tag */\n  dialogTitleClassName?: string;\n  /** The element that opens the dialog that focus should return to */\n  dialogTrigger?: React.ReactNode;\n  /** The size of the modal. */\n  size?: DialogSizes;\n  /** Allows passing of additional JSX to dialog. */\n  bottomContent?: React.ReactNode;\n  /** Whether the overlay is open by default (controlled). */\n  isOpen?: boolean;\n  /** Handler that is called when the overlay is dismissed. */\n  onDismiss?: () => void;\n  /** Sets whether header should be sticky in overflow scroll situations when a title is passed. Defaults to false */\n  stickyHeader?: boolean;\n  /** Optional data attribute to apply to the outer content wrapper */\n  contentDataAttribute?: string;\n} & React.ComponentProps<'div'>;\n\nexport type DialogOptionalProps =\n  | { ariaLabel?: never; title: string; hasChildrenWithTitle?: never }\n  | { ariaLabel: string; title?: never; hasChildrenWithTitle?: never }\n  | { ariaLabel?: never; title?: never; hasChildrenWithTitle: boolean };\n\nexport const DialogTitle = Dialog.Title;\n\nexport const DialogBase = React.forwardRef<\n  HTMLDivElement,\n  React.PropsWithChildren<DialogBaseProps & DialogOptionalProps>\n>(\n  (\n    {\n      ariaLabel,\n      children,\n      className,\n      closeButtonClassName,\n      dialogClassName,\n      dialogOverlayClassName,\n      dialogTitleClassName,\n      dialogTrigger,\n      isOpen,\n      title,\n      size = 'md',\n      bottomContent,\n      onDismiss,\n      hasChildrenWithTitle,\n      stickyHeader = false,\n      contentDataAttribute,\n    },\n    forwardedRef\n  ) => {\n    const innerRef = React.useRef<React.ElementRef<'div'>>(null);\n    const dialogRef = React.useRef<React.ElementRef<'div'>>(null);\n\n    React.useImperativeHandle(forwardedRef, () => dialogRef.current as HTMLDivElement);\n\n    return (\n      <Dialog.Root open={isOpen}>\n        {dialogTrigger ? <Dialog.Trigger asChild>{dialogTrigger}</Dialog.Trigger> : null}\n        <Dialog.Portal>\n          <Dialog.Overlay className={cx('dialog-overlay sm:py-4 lg:py-12', dialogOverlayClassName)}>\n            <Dialog.Content\n              /* This is disabled on purpose because we don't use radix-ui/dialog description. See https://www.radix-ui.com/primitives/docs/components/dialog#description */\n              aria-describedby={undefined}\n              className={cx(\n                'dialog-content-v2 max-h-full rounded-lg sm:max-h-[95vh] md:max-h-[90vh]',\n                {\n                  'max-w-xs': size === 'xs',\n                  'max-w-sm': size === 'sm',\n                  'max-w-md': size === 'md',\n                  'max-w-lg': size === 'lg',\n                  'max-w-xl': size === 'xl',\n                  'max-w-2xl': size === '2xl',\n                  'max-w-3xl': size === '3xl',\n                  'max-w-4xl': size === '4xl',\n                  'max-w-5xl': size === '5xl',\n                  'max-w-6xl': size === '6xl',\n                  'max-w-full': size === 'full',\n                  'w-full lg:max-w-[min(90%,calc(1440px-5rem))]': size === 'container',\n                  'pt-0': stickyHeader,\n                  'pb-0': bottomContent,\n                },\n                dialogClassName\n              )}\n              onInteractOutside={onDismiss}\n              onEscapeKeyDown={onDismiss}\n              {...(contentDataAttribute ? { [contentDataAttribute]: true } : null)}\n            >\n              <div className=\"h-full\" ref={innerRef}>\n                {hasChildrenWithTitle ? null : title ? (\n                  <div\n                    className={cx('relative mb-2 border-b border-border pb-3.5', {\n                      'sticky top-0 bg-bg z-10 pt-4': stickyHeader,\n                    })}\n                  >\n                    <Dialog.Title\n                      className={cx(\n                        'mx-4 text-center font-bold brand-ou:text-primary brand-wa:text-xl brand-wa:font-light brand-wa:text-text brand-wa:md:text-2xl',\n                        dialogTitleClassName\n                      )}\n                      data-osc-product=\"osc-dialog-title\"\n                    >\n                      {title}\n                    </Dialog.Title>\n                    {onDismiss && (\n                      <CloseButton\n                        className={closeButtonClassName}\n                        onDismiss={onDismiss}\n                        stickyHeader={stickyHeader}\n                      />\n                    )}\n                  </div>\n                ) : (\n                  <Dialog.Title aria-label={ariaLabel} className=\"hidden\" />\n                )}\n                {!title && onDismiss ? (\n                  <div className=\"relative py-1\">\n                    <CloseButton onDismiss={onDismiss} stickyHeader={stickyHeader} />\n                  </div>\n                ) : null}\n                <div className={cx('p-1', className)}>{children}</div>\n                {bottomContent}\n              </div>\n            </Dialog.Content>\n          </Dialog.Overlay>\n        </Dialog.Portal>\n      </Dialog.Root>\n    );\n  }\n);\n\nDialogBase.displayName = 'DialogBase';\n\nfunction CloseButton({\n  onDismiss,\n  stickyHeader,\n  className,\n}: Pick<DialogBaseProps, 'onDismiss' | 'stickyHeader'> & { className?: string }) {\n  const { t } = useTranslation('osc-dialog');\n  return (\n    <Dialog.Close asChild>\n      <ControlClose\n        onClick={onDismiss}\n        className={cx(\n          'absolute -end-2',\n          {\n            '-top-0.5': !stickyHeader,\n            'top-3': stickyHeader,\n          },\n          className\n        )}\n        label={t('close')}\n      />\n    </Dialog.Close>\n  );\n}\n","import * as React from 'react';\nimport type { DialogBaseProps, DialogOptionalProps } from './dialog.base';\nimport { DialogBase } from './dialog.base';\n\n/**\n * A modal is an overlay element which blocks interaction with elements outside it.\n *\n * Dialogs are windows containing contextual information, tasks, or workflows that appear over the user interface. Depending on the kind of Dialog, further interactions may be blocked until the Dialog is acknowledged.\n *\n * [Radix <Dialog /> Primitive](https://www.radix-ui.com/primitives/docs/components/dialog)\n */\nexport const Dialog: React.FC<React.PropsWithChildren<DialogBaseProps & DialogOptionalProps>> = (\n  props\n) => {\n  const dialogRef = React.useRef<React.ElementRef<'div'>>(null);\n  return <DialogBase {...props} ref={dialogRef} />;\n};\n\nexport default Dialog;\n","import * as React from 'react';\nimport { useTranslation } from 'next-i18next';\nimport cx from 'classnames';\nimport * as AlertDialog from '@radix-ui/react-alert-dialog';\nimport type { DialogBaseProps, DialogOptionalProps } from './dialog.base';\n\nexport type DialogAlertProps = Omit<DialogBaseProps, 'onDismiss' | 'onCancel'> & {\n  /**\n   * The text of the cancel button\n   */\n  cancel?: string | null;\n  /**\n   * The text of the confirm button\n   */\n  confirm?: string | null;\n  /** The element that opens the dialog that focus should return to */\n  dialogTrigger?: React.ReactNode;\n  /**\n   * Callback for when the cancel button is clicked.\n   * If this is not provided, the cancel button will not show.\n   */\n  onCancel?: (event: React.SyntheticEvent<HTMLButtonElement>) => void;\n  /**\n   * Callback for when the confirm button is clicked.\n   */\n  onConfirm: (event: React.SyntheticEvent<HTMLButtonElement>) => void;\n  /**\n   * Whether or not to stack the buttons vertically\n   */\n  stackedButtons?: boolean;\n} & DialogOptionalProps;\n\n/**\n * A dialog meant for a user to confirm an action. Escape will not close this dialog.\n */\nconst DialogAlert: React.FC<React.PropsWithChildren<DialogAlertProps>> = ({\n  ariaLabel,\n  children,\n  cancel,\n  confirm,\n  dialogTrigger,\n  isOpen,\n  onCancel,\n  onConfirm,\n  stackedButtons = true,\n  title,\n  ...rest\n}) => {\n  const { t } = useTranslation('osc-dialog');\n  const dialogRef = React.useRef<React.ElementRef<'div'>>(null);\n  const cancelText = cancel ?? t('cancel');\n  const confirmText = confirm ?? t('ok');\n\n  const handleCancel = (event: React.SyntheticEvent<HTMLButtonElement>) => {\n    onCancel?.(event);\n  };\n\n  const handleConfirm = (event: React.SyntheticEvent<HTMLButtonElement>) => {\n    onConfirm(event);\n  };\n\n  return (\n    <AlertDialog.Root open={isOpen}>\n      {dialogTrigger ? <AlertDialog.Trigger asChild>{dialogTrigger}</AlertDialog.Trigger> : null}\n      <AlertDialog.Portal>\n        <AlertDialog.Overlay className=\"dialog-overlay sm:py-4 lg:py-12\">\n          <AlertDialog.Content\n            className={cx('dialog-content-v2 max-w-sm rounded-lg md:max-h-[90vh]', {\n              'flex flex-col': isOpen,\n            })}\n            {...rest}\n            onEscapeKeyDown={(event) => event.preventDefault()}\n            ref={dialogRef}\n          >\n            <div className=\"text-center\">\n              {title ? (\n                <AlertDialog.Title className=\"mb-3 text-xl font-bold leading-tight\">\n                  {title}\n                </AlertDialog.Title>\n              ) : (\n                <AlertDialog.Title aria-label={ariaLabel} className=\"hidden\" />\n              )}\n              <AlertDialog.Description>{children}</AlertDialog.Description>\n            </div>\n            <div\n              className={cx('flex items-center justify-center gap-2 pt-4', {\n                'flex-col': stackedButtons,\n              })}\n            >\n              {!onCancel ? (\n                <AlertDialog.Cancel asChild>\n                  <button\n                    type=\"button\"\n                    className=\"btn btn-lg btn-primary w-full\"\n                    onClick={handleConfirm}\n                  >\n                    {confirmText}\n                  </button>\n                </AlertDialog.Cancel>\n              ) : (\n                <AlertDialog.Action asChild>\n                  <button\n                    type=\"button\"\n                    className=\"btn btn-lg btn-primary w-full\"\n                    onClick={handleConfirm}\n                  >\n                    {confirmText}\n                  </button>\n                </AlertDialog.Action>\n              )}\n              {onCancel ? (\n                <AlertDialog.Cancel asChild>\n                  <button\n                    type=\"button\"\n                    className=\"btn btn-lg btn-primary-outline w-full\"\n                    onClick={handleCancel}\n                  >\n                    {cancelText}\n                  </button>\n                </AlertDialog.Cancel>\n              ) : null}\n            </div>\n          </AlertDialog.Content>\n        </AlertDialog.Overlay>\n      </AlertDialog.Portal>\n    </AlertDialog.Root>\n  );\n};\n\nexport { DialogAlert };\nexport default DialogAlert;\n","import { forwardRef } from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\nimport { useTranslation } from 'next-i18next';\nimport cx from 'classnames';\n\ntype ActionButton = {\n  adaDescription?: string;\n  label?: string;\n} & React.ComponentPropsWithRef<'button'>;\n\ntype ShouldEnableActionButton = ActionButton & { isEnabled?: boolean };\n\nexport type ActionButtonProps = {\n  /** Props passed to each button type. */\n  buttonOptions?: {\n    cancel?: ActionButton;\n    confirm?: ActionButton;\n    reset?: ShouldEnableActionButton;\n  };\n  /** Hander called when cancel button is blurred */\n  onCancel?: (event: React.SyntheticEvent<HTMLButtonElement>) => void;\n  /** Handler called when done button is blurred. */\n  onConfirm?: (event: React.SyntheticEvent<HTMLButtonElement>) => void;\n  /** Handler called when reset is activated */\n  onReset?: () => void;\n  /** stacks action buttons in viewport widths md and up */\n  shouldStackButtons?: boolean;\n};\n\nconst Button = forwardRef<HTMLButtonElement, ActionButton>(\n  ({ label, adaDescription, className, ...rest }, forwardedRef) => {\n    return (\n      <button {...rest} className={cx('btn btn-lg', className)} ref={forwardedRef} type=\"button\">\n        {label}\n        {adaDescription ? <span className=\"sr-only\">{adaDescription}</span> : null}\n      </button>\n    );\n  }\n);\n\nButton.displayName = 'Button';\n\nexport function ActionButtons({\n  buttonOptions = {},\n  onReset,\n  onConfirm,\n  onCancel,\n  shouldStackButtons = false,\n}: ActionButtonProps) {\n  const { t } = useTranslation('osc-dialog');\n  const { cancel, confirm, reset } = buttonOptions;\n  const resetBtnEnabled = reset?.isEnabled && reset?.label;\n\n  const buttons = [\n    {\n      ...confirm,\n      onClick: onConfirm,\n      label: confirm?.label ?? t('done'),\n      className: 'btn-primary',\n      'data-testid': 'shop-modal-done-cta',\n      ref: confirm?.ref,\n    },\n    {\n      ...cancel,\n      onClick: onCancel,\n      label: cancel?.label ?? t('cancel'),\n      className: 'btn-primary-outline',\n      ref: cancel?.ref,\n    },\n  ].map((props) => (\n    <Dialog.Close key={props.label} asChild>\n      <Button {...props} key={props.label} />\n    </Dialog.Close>\n  ));\n\n  return (\n    <div\n      className={cx('sticky bottom-0 flex flex-col gap-4 bg-bg px-1 pb-4 pt-2', {\n        'md:justify-between': resetBtnEnabled,\n        'md:justify-end': !resetBtnEnabled,\n        'md:flex-row': !shouldStackButtons,\n      })}\n    >\n      {resetBtnEnabled ? (\n        <div className=\"md:self-center\">\n          <button\n            className=\"btn btn-xl btn-primary-link w-full rounded-none\"\n            data-testid=\"shop-modal-reset-cta\"\n            onClick={() => onReset?.()}\n            ref={reset?.ref}\n            type=\"button\"\n          >\n            {reset?.label}\n            {reset?.adaDescription ? (\n              <span className=\"sr-only\" aria-live=\"assertive\" role=\"alert\">\n                {reset?.adaDescription}\n              </span>\n            ) : null}\n          </button>\n        </div>\n      ) : null}\n      <div\n        className={cx('flex flex-col gap-3', {\n          'md:flex-row': !shouldStackButtons,\n        })}\n      >\n        {buttons}\n      </div>\n    </div>\n  );\n}\n","import * as React from 'react';\nimport { ActionButtons, type ActionButtonProps } from './dialog-action-buttons';\nimport { DialogBase, type DialogBaseProps, type DialogOptionalProps } from './dialog.base';\n\nexport type ActionDialogProps = React.PropsWithChildren<\n  DialogBaseProps & ActionButtonProps & DialogOptionalProps\n>;\n\n/**\n * A dialog with two buttons for the user to take an action to cancel or accept.\n */\nexport function ActionDialog({\n  buttonOptions,\n  onCancel,\n  onConfirm,\n  onDismiss,\n  onReset,\n  shouldStackButtons,\n  ...dialogProps\n}: ActionDialogProps) {\n  const dialogRef = React.useRef<React.ElementRef<'div'>>(null);\n\n  const handleCancel = (event: React.SyntheticEvent<HTMLButtonElement>) => {\n    onCancel?.(event);\n  };\n\n  const handleConfirm = (event: React.SyntheticEvent<HTMLButtonElement>) => {\n    onConfirm?.(event);\n  };\n\n  const bottomContent = (\n    <ActionButtons\n      buttonOptions={buttonOptions}\n      onReset={onReset}\n      onCancel={handleCancel}\n      onConfirm={handleConfirm}\n      shouldStackButtons={shouldStackButtons}\n    />\n  );\n  return (\n    <DialogBase\n      {...dialogProps}\n      onDismiss={onDismiss}\n      bottomContent={bottomContent}\n      ref={dialogRef}\n    />\n  );\n}\n","export * from './dialog';\nexport * from './dialog-alert';\nexport * from './dialog-action';\nexport * from './dialog-action-buttons';\nexport * from './dialog.base';\n","export * from './lib';\n","export const DEFAULT_BRAND_CODE = 'HI';\n\nexport const DEPRECATED_BRAND_CODES = ['WW', 'HH'];\n\nexport const ELIGIBLE_REFRESH_BRAND_CODES = [DEFAULT_BRAND_CODE, ...DEPRECATED_BRAND_CODES];\n\nexport const ENTERPRISE_THEME_REFRESH_TOGGLE_NAME = 'NHCBP_5821_Enterprise_Refresh';\n","import { DEFAULT_BRAND_CODE, DEPRECATED_BRAND_CODES } from './constants';\n\ntype GetThemeClassNameArgs = Partial<{\n  brandCode: StringWithAutocompleteOptions<BrandCode>;\n  isBrandRefresh: boolean;\n}>;\n\nconst defaultArguments = {\n  brandCode: DEFAULT_BRAND_CODE,\n  isBrandRefresh: false,\n} as const satisfies GetThemeClassNameArgs;\n\nexport function getThemeClassName({\n  brandCode = defaultArguments.brandCode,\n  isBrandRefresh = defaultArguments.isBrandRefresh,\n}: GetThemeClassNameArgs = defaultArguments) {\n  const brand = getSupportedBrandCode(brandCode).toLowerCase();\n  const base = ['theme', brand].join('-');\n  const refresh = isBrandRefresh ? [base, 'refresh'].join('-') : null;\n  return [base, refresh].filter(Boolean).join(' ');\n}\n\nfunction getSupportedBrandCode(brandCode: NonNullable<GetThemeClassNameArgs['brandCode']>) {\n  return DEPRECATED_BRAND_CODES.includes(brandCode) ? DEFAULT_BRAND_CODE : brandCode;\n}\n","import { getIsFeatureToggleEnabled } from '@dx-ui/utilities-feature-toggles-configs';\nimport {\n  DEFAULT_BRAND_CODE,\n  ELIGIBLE_REFRESH_BRAND_CODES,\n  ENTERPRISE_THEME_REFRESH_TOGGLE_NAME,\n} from './constants';\n\ntype FeatureToggles =\n  | NonNullable<\n      Parameters<typeof getIsFeatureToggleEnabled>[0]['featureToggleData']\n    >['featureToggles'];\n\nexport function getBrandRefreshProps({\n  featureToggles,\n  brandCode = DEFAULT_BRAND_CODE,\n}: {\n  featureToggles: FeatureToggles;\n  brandCode?: string;\n}) {\n  const isBrandRefresh =\n    ELIGIBLE_REFRESH_BRAND_CODES.includes(brandCode) &&\n    getIsFeatureToggleEnabled({\n      featureToggleData: { featureToggles },\n      name: ENTERPRISE_THEME_REFRESH_TOGGLE_NAME,\n    });\n  return { isBrandRefresh };\n}\n","export * from './get-theme-classname';\nexport * from './theme-toggles';\nexport * from './constants';\n","export * from './lib';\n","import { LoginStatus } from '../typings/app/login';\nimport type { LoginError } from '../typings/app/login';\nimport { env } from '@dx-ui/framework-env';\nimport type { GuestLoginHandler } from '../typings/app/guest-login';\nimport type { FlatNamespace } from 'i18next';\nimport { ENTERPRISE_THEME_REFRESH_TOGGLE_NAME } from '@dx-ui/framework-theme';\n\nexport const GLOBAL_RESOURCE_BUNDLES = [\n  'osc-footer',\n  'osc-header',\n  'osc-link',\n  'osc-login',\n  'osc-speedbump',\n  'osc-error-page',\n  'login',\n] as const satisfies FlatNamespace[];\n\nexport const baseAssetsUrl = env('HILTON_ASSETS_URI');\n\nexport const APP_ID_VAR_PREFIX = 'DX_AUTH_APP_ID';\nexport const DEFAULT_AUTH_SOURCE_ID = 'OHW';\nexport const ALT_AUTH_SOURCE_ID = 'ALT';\nexport const DX_ERROR_HEADER = 'dx-error-status';\n\n// toggles wether recaptcha is needed for guest login\nexport const NHCGUEST_5800_GUEST_RECAPTCHA_OFF = 'NHCGUEST_5800_GUEST_RECAPTCHA_OFF';\n// toggles wether recaptcha is needed for partner login\nexport const NHCGUEST_5857_PARTNER_RECAPTCHA_OFF = 'NHCGUEST_5857_PARTNER_RECAPTCHA_OFF';\n// toggles whether Akamai telemetry is sent in headers of guest login\nexport const AKAMAI_BM_TELEMETRY_HEADER_GUEST = 'Akamai-BM-Telemetry-Header-Guest';\n// Display 2024 updated Bonus points for a newly enrolled Hiltons Honors member.\nexport const ENABLE_2024_BONUS_POINTS_CONFIRMATION_PAGE = 'NHCGUEST-7159';\n/** Controls Japanese co-brand page link */\nexport const ENABLE_JAPANESE_CO_BRAND_PAGE_LINK = 'NHCGUEST-8414';\n\nexport const FEATURE_TOGGLES = [\n  NHCGUEST_5800_GUEST_RECAPTCHA_OFF,\n  NHCGUEST_5857_PARTNER_RECAPTCHA_OFF,\n  AKAMAI_BM_TELEMETRY_HEADER_GUEST,\n  ENABLE_2024_BONUS_POINTS_CONFIRMATION_PAGE,\n  ENTERPRISE_THEME_REFRESH_TOGGLE_NAME,\n  ENABLE_JAPANESE_CO_BRAND_PAGE_LINK,\n];\n\nexport const LoginHandler: GuestLoginHandler = 'onLogin';\n\nexport const FailedLogin: LoginError = { status: LoginStatus.INVALID_ENTRY };\nexport const FailedRecaptcha: LoginError = { status: LoginStatus.INVALID_RECAPTCHA };\nexport const UnknownError: LoginError = { status: LoginStatus.UNKNOWN_ERROR };\nexport const UnexpectedError: LoginError = { status: LoginStatus.UNEXPECTED_ERROR };\n","export type IconVariant = 'regular' | 'solid';\n\nexport const IconNames = [\n  '360-tour',\n  'access',\n  'accessibility',\n  'add-circle',\n  'add-hotel',\n  'add-square',\n  'add',\n  'adventure-stays',\n  'airport',\n  'alert-circle',\n  'alert-triangle',\n  'all-inclusive',\n  'amazon',\n  'app',\n  'arrow-down-circle',\n  'arrow-down-square',\n  'arrow-down',\n  'arrow-left-circle',\n  'arrow-left-square',\n  'arrow-left',\n  'arrow-right-circle',\n  'arrow-right-square',\n  'arrow-right',\n  'arrow-small-right',\n  'arrow-up-circle',\n  'arrow-up-square',\n  'arrow-up',\n  'arrowhead-down-circle',\n  'arrowhead-down-square',\n  'arrowhead-down',\n  'arrowhead-left-circle',\n  'arrowhead-left-square',\n  'arrowhead-left',\n  'arrowhead-right-circle',\n  'arrowhead-right-square',\n  'arrowhead-right',\n  'arrowhead-small-down',\n  'arrowhead-small-left',\n  'arrowhead-small-right',\n  'arrowhead-small-up',\n  'arrowhead-up-circle',\n  'arrowhead-up-square',\n  'arrowhead-up',\n  'audio-description',\n  'audit-log',\n  'auto-upgrade',\n  'av',\n  'award-selected',\n  'award',\n  'bag',\n  'bagel',\n  'balcony',\n  'banner',\n  'bath',\n  'bathrobe',\n  'beach',\n  'bed',\n  'bell',\n  'bin',\n  'boutique-hotels',\n  'breakfast',\n  'building-of-interest',\n  'bullet',\n  'business-centre',\n  'buy-points',\n  'calendar-search',\n  'calendar',\n  'cancellation',\n  'car-rental',\n  'care',\n  'casino',\n  'champagne',\n  'check-circle',\n  'check-in',\n  'check-out',\n  'check-square',\n  'check-uncontained',\n  'check',\n  'checkbox-unselected',\n  'checkmark-heavy',\n  'checkmark-shining',\n  'choose-your-room',\n  'christmas-tree',\n  'circle-filled',\n  'city',\n  'cleaning-equipment',\n  'cleaning',\n  'clear',\n  'clock',\n  'close-circle',\n  'close-square',\n  'close',\n  'closed-captions',\n  'cocktails',\n  'coffee',\n  'cold-breakfast',\n  'compass',\n  'concierge',\n  'connecting-rooms',\n  'contact',\n  'convert-points',\n  'cookie',\n  'copy',\n  'cosmetics',\n  'credit-card',\n  'credit-cards',\n  'currency',\n  'diamond',\n  'digital-checkout',\n  'digital-key',\n  'dining',\n  'download',\n  'edit',\n  'ellipses',\n  'enlarge',\n  'entertainment',\n  'epay',\n  'ev-charging',\n  'evening-reception',\n  'event',\n  'ewallet',\n  'exercise-bike',\n  'face-covering',\n  'facebook',\n  'family',\n  'fast-forward',\n  'favorite-hotel',\n  'favorite',\n  'filters',\n  'find-hotel',\n  'firearms',\n  'fireplace',\n  'flag',\n  'flower',\n  'food-&-beverage',\n  'free-nights',\n  'full-kitchen',\n  'fullscreen',\n  'gallery',\n  'garden-view',\n  'gift',\n  'gluten-free',\n  'gold-bar',\n  'golf-cart',\n  'golf-clubs',\n  'golf-instructions',\n  'golf-practice',\n  'golf',\n  'grain-free',\n  'group',\n  'guarantee-policy',\n  'gym',\n  'hairdryer',\n  'halal',\n  'handle',\n  'happy',\n  'help-circle',\n  'help-square',\n  'help',\n  'hide',\n  'home',\n  'hot-breakfast',\n  'hot-tub',\n  'hotel-location',\n  'hotel-selected',\n  'hotel',\n  'house',\n  'image',\n  'in-room-kitchen',\n  'indoor-pool',\n  'induction-cooktop',\n  'info-circle',\n  'instagram',\n  'inventory',\n  'iron',\n  'key-dispenser',\n  'keys',\n  'kid-friendly',\n  'kids-club',\n  'kitchen',\n  'kitchenette-and-fridge',\n  'kosher',\n  'language',\n  'lift',\n  'link',\n  'living-space',\n  'location',\n  'lock',\n  'lounge',\n  'luggage',\n  'luxury',\n  'lyft',\n  'mail',\n  'map-location',\n  'map-pin',\n  'massage-treatments',\n  'meeting',\n  'megaphone',\n  'menu',\n  'michelin-star',\n  'microwave',\n  'mini-fridge-and-microwave',\n  'mini-fridge',\n  'minibar',\n  'mobile-app',\n  'mobile',\n  'mouse',\n  'movies',\n  'music',\n  'nearby-hotels',\n  'new-hotel',\n  'new-window',\n  'night',\n  'nights-circle',\n  'no-image',\n  'no-pets',\n  'no-smoking',\n  'ocean-view',\n  'optional-services',\n  'order-ahead',\n  'organic',\n  'other-functions',\n  'outdoor-pool',\n  'paid-upgrade',\n  'parking',\n  'pause-circle',\n  'pause',\n  'peleton-amenities',\n  'person',\n  'pet-friendly',\n  'pinterest',\n  'play-circle',\n  'play',\n  'point-of-interest',\n  'points-and-money',\n  'points-promotions',\n  'points',\n  'policies',\n  'pool-points',\n  'pool',\n  'price',\n  'print',\n  'prodigy-home',\n  'prodigy-portal',\n  'pyjamas',\n  'qr-pay',\n  'radio-button-selected',\n  'radio-button-unselected',\n  'rate',\n  'raw',\n  'refresh',\n  'remote',\n  'remove-circle',\n  'remove-square',\n  'remove',\n  'renovated-hotel',\n  'residence',\n  'resort',\n  'restart',\n  'restaurant',\n  'review',\n  'rewards',\n  'rewind',\n  'rideshare',\n  'rollaway-bed',\n  'rollaway-crib',\n  'rollover-nights',\n  'room-guarantee',\n  'room-plan',\n  'room-service',\n  'room-type-setting',\n  'room-upgrade',\n  'safe',\n  'sailing',\n  'sale',\n  'search',\n  'settings',\n  'share',\n  'shopping',\n  'shower',\n  'shuttle-service',\n  'ski',\n  'skip-back',\n  'skip-forward',\n  'slippers',\n  'smoking',\n  'snacks',\n  'snorkel',\n  'sound-off',\n  'sound-on',\n  'spa',\n  'special-rate-plan',\n  'special-requests',\n  'spin',\n  'spray-bottle',\n  'stadium',\n  'star-burst',\n  'star-circle-filled',\n  'star-circle',\n  'star-half',\n  'star',\n  'streaming-tv',\n  'suitcase',\n  'suites',\n  'sunshine',\n  'support',\n  'surfboard',\n  'taxes',\n  'telephone',\n  'tennis',\n  'terrace',\n  'theme-park',\n  'tiktok',\n  'towels',\n  'transcripts',\n  'transfer',\n  'translation',\n  'trumpet',\n  'turndown-service',\n  'tv',\n  'unavailable',\n  'unhappy',\n  'unhide',\n  'unlock',\n  'user-circle',\n  'user-info',\n  'user-square',\n  'user',\n  'users',\n  'vegan',\n  'vegetarian',\n  'wallet',\n  'water-bottle',\n  'waterpark',\n  'wedding-bird',\n  'wedding-cake',\n  'wedding',\n  'whatsapp',\n  'wifi',\n  'x',\n  'yoga',\n  'youtube',\n] as const;\n\nexport const IconSetNames = new Set([...IconNames]);\n","export type SupportedBrand = 'EY' | 'ES' | 'HP';\n\nexport const EYIconNames = [\n  'breakfast',\n  'fitness',\n  'grill',\n  'kitchen',\n  'laundry',\n  'pet-friendly',\n  'studio',\n] as const;\n\nexport const ESIconNames = [\n  'breakfast',\n  'drink',\n  'fitness',\n  'breakfast_inverted',\n  'drink_inverted',\n  'fitness_inverted',\n] as const;\n\nexport const HPIconNames = ['hex', 'hex_inverted'] as const;\n\nexport const EYIconSetNames = new Set([...EYIconNames]);\n\nexport const ESIconSetNames = new Set([...ESIconNames]);\n\nexport const HPIconSetNames = new Set([...HPIconNames]);\n","import { ReactSVG } from 'react-svg';\nimport { IconSetNames } from './osc-icon-map';\nimport { EYIconSetNames, ESIconSetNames, HPIconSetNames } from './osc-brand-icon-map';\nimport type { ESIconNames, EYIconNames, HPIconNames, SupportedBrand } from './osc-brand-icon-map';\nimport type { IconVariant, IconNames } from './osc-icon-map';\n\nexport const sizeToPixelValue = {\n  xs: '18',\n  sm: '20',\n  md: '28',\n  lg: '32',\n  xl: '40',\n  '2xl': '48',\n  '3xl': '60',\n  '4xl': '72',\n  '5xl': '96',\n};\n\nconst basePath = `/modules/assets/svgs/icons`;\nexport const baseIconPath = basePath;\nexport const brandIconPath = `${basePath}/brand`;\n\ntype BaseIconProps = Pick<React.ComponentProps<typeof ReactSVG>, 'title' | 'wrapper'> & {\n  /**\n   * For passing additional classes to the parent `svg` element\n   */\n  className?: string;\n  /**\n   * One of five size options; defaults to medium\n   */\n  size?: keyof typeof sizeToPixelValue;\n};\n\ntype IconPropsWithBrand<\n  BrandCode extends SupportedBrand,\n  BrandIconNames extends ReadonlyArray<string>\n> = BaseIconProps & {\n  /**\n   * Brand code for the icon\n   */\n  brandCode: BrandCode;\n  /**\n   * Name of the icon to display from a brand specific set\n   */\n  name: BrandIconNames[number];\n  variant?: never;\n};\n\nexport type OSCIconNames = (typeof IconNames)[number];\n\ntype IconPropsWithVariant = BaseIconProps & {\n  brandCode?: never;\n  /**\n   * Name of the icon to display from the approved set\n   */\n  name: OSCIconNames;\n  /**\n   * Controls icon style: regular or solid; defaults to “regular”\n   */\n  variant?: IconVariant;\n};\n\nexport type IconProps =\n  | IconPropsWithVariant\n  | IconPropsWithBrand<'ES', typeof ESIconNames>\n  | IconPropsWithBrand<'EY', typeof EYIconNames>\n  | IconPropsWithBrand<'HP', typeof HPIconNames>;\n\nexport function Icon({\n  className,\n  brandCode,\n  name,\n  size = 'md',\n  title,\n  variant = 'regular',\n  wrapper = 'span',\n}: IconProps) {\n  if (brandCode === 'ES' && !ESIconSetNames.has(name)) {\n    return null;\n  }\n  if (brandCode === 'EY' && !EYIconSetNames.has(name)) {\n    return null;\n  }\n  if (brandCode === 'HP' && !HPIconSetNames.has(name)) {\n    return null;\n  }\n  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n  if (!brandCode && !IconSetNames.has(name as OSCIconNames)) {\n    return null;\n  }\n  const sizeInPixels = sizeToPixelValue[size];\n  const src = brandCode\n    ? `${brandIconPath}/${brandCode}/${name}.svg`\n    : `${baseIconPath}/${variant}/${name}.svg`;\n\n  return (\n    <ReactSVG\n      beforeInjection={(svg) => {\n        !title && svg.setAttribute('aria-hidden', 'true');\n        title && svg.setAttribute('aria-label', title);\n        svg.setAttribute('fill', 'currentColor');\n        svg.setAttribute('width', sizeInPixels);\n        svg.setAttribute('height', sizeInPixels);\n        svg.setAttribute('viewBox', '0 0 24 24');\n        svg.setAttribute('data-testid', `icon-${name}`);\n        className && svg.classList.add(...className.split(' '));\n      }}\n      afterInjection={(svg) => {\n        if (svg) {\n          const wrapperDiv = svg.parentElement?.parentElement;\n          if (wrapperDiv) {\n            wrapperDiv.removeAttribute('style');\n          }\n        }\n      }}\n      src={src}\n      {...(title ? { title } : null)}\n      style={{ height: `${sizeInPixels}px`, width: `${sizeInPixels}px` }}\n      wrapper={wrapper}\n      className=\"pointer-events-none block\"\n    />\n  );\n}\n\nexport default Icon;\n","import type { HotelAmenityId } from '@dx-ui/gql-types';\nimport type { IconNames } from './osc-icon-map';\n\nexport const AmenityIcons: { [key in HotelAmenityId]: (typeof IconNames)[number] } = {\n  adjoiningRooms: 'connecting-rooms',\n  adventureStays: 'adventure-stays',\n  airportShuttle: 'shuttle-service',\n  allInclusive: 'all-inclusive',\n  beach: 'beach',\n  boutique: 'boutique-hotels',\n  businessCenter: 'business-centre',\n  casino: 'casino',\n  concierge: 'concierge',\n  connectedRoom: 'remote',\n  digitalKey: 'digital-key',\n  dining: 'dining',\n  evCharging: 'ev-charging',\n  eveningReception: 'evening-reception',\n  eveningSocial: 'evening-reception',\n  executiveLounge: 'lounge',\n  familyFriendly: 'family',\n  fitnessCenter: 'gym',\n  freeBreakfast: 'breakfast',\n  freeParking: 'parking',\n  freeWifi: 'wifi',\n  golf: 'golf',\n  hotelResidence: 'residence',\n  indoorPool: 'pool',\n  inRoomKitchen: 'in-room-kitchen',\n  luxury: 'luxury',\n  meetingRooms: 'meeting',\n  newHotel: 'new-hotel',\n  nonSmoking: 'no-smoking',\n  outdoorPool: 'outdoor-pool',\n  petsAllowed: 'pet-friendly',\n  petsNotAllowed: 'no-pets',\n  resort: 'resort',\n  roomService: 'room-service',\n  ski: 'ski',\n  spa: 'spa',\n  streamingTv: 'streaming-tv',\n  tennisCourt: 'tennis',\n};\n","import { Icon } from './lib/osc-icon';\nimport type { IconNames } from './lib/osc-icon-map';\n\nexport * from './lib/osc-icon';\nexport * from './lib/osc-icon-map';\nexport * from './lib/osc-brand-icon-map';\nexport * from './lib/osc-amenity-icon-map';\n\nexport type IconName = (typeof IconNames)[number];\n\nexport default Icon;\n"],"names":["LinkAdChoices","className","width","height","rest","svg","role","aria-hidden","viewBox","cx","data-testid","path","d","LinkNewWindow","g","fill","Link","React","props","forwardedRef","adaDescription","icon","children","cidParams","campaignId","componentName","hasNextLinkSupport","id","isNewWindow","target","url","urlProp","anchorClassName","wrapper","Wrapper","showNewWindowIcon","underline","useIsClient","t","useTranslation","isAdChoices","toString","match","isTargetBlank","canUseNextLink","startsWith","URL","linkProps","rel","searchParams","has","cid","getCIDParam","digitalData","isBrowser","window","brandCode","global","page","category","brand","ddPageType","pageType","pageInfo","ddPrimaryCategory","primaryCategory","ddPageDetail1","pageDetail1","ddPageDetail2","pageDetail2","set","href","replace","classNames","linkContent","NextLink","ref","span","div","displayName","Spinner","size","delay","showSpinner","setShowSpinner","timer","setTimeout","clearTimeout","hidden","circle","cy","stroke","strokeWidth","ControlBack","disabled","label","button","type","Icon","name","ControlClose","DialogTitle","Dialog","ariaLabel","closeButtonClassName","dialogClassName","dialogOverlayClassName","dialogTitleClassName","dialogTrigger","isOpen","title","bottomContent","onDismiss","hasChildrenWithTitle","stickyHeader","contentDataAttribute","innerRef","dialogRef","current","open","asChild","aria-describedby","undefined","onInteractOutside","onEscapeKeyDown","data-osc-product","CloseButton","aria-label","onClick","DialogBase","Button","forwardRef","ActionButtons","buttonOptions","onReset","onConfirm","onCancel","shouldStackButtons","cancel","confirm","reset","resetBtnEnabled","isEnabled","buttons","map","key","aria-live","ActionDialog","dialogProps","handleCancel","event","handleConfirm","baseAssetsUrl","defaultArguments","env","FEATURE_TOGGLES","NHCGUEST_5857_PARTNER_RECAPTCHA_OFF","ENABLE_JAPANESE_CO_BRAND_PAGE_LINK","status","LoginStatus","INVALID_ENTRY","INVALID_RECAPTCHA","UNKNOWN_ERROR","UnexpectedError","UNEXPECTED_ERROR","IconSetNames","Set","sizeToPixelValue","xs","sm","md","lg","xl","brandIconPath","basePath","variant","ESIconSetNames","EYIconSetNames","HPIconSetNames","sizeInPixels","src","baseIconPath","ReactSVG","beforeInjection","setAttribute","classList","add","split","afterInjection","wrapperDiv","parentElement","removeAttribute","style"],"sourceRoot":"","ignoreList":[]}