{"version":3,"file":"swiftui.js","names":[],"sources":["esm/platform/generated/swiftui.js"],"sourcesContent":["const swiftUIValues = {\n  MenuOrder: {\n    automatic: 16,\n    priority: 16,\n    fixed: 16\n  },\n  Visibility: {\n    automatic: 15,\n    visible: 15,\n    hidden: 15\n  },\n  PickerStyle: {\n    wheel: 13,\n    inline: 14,\n    automatic: 13,\n    segmented: 13,\n    tabs: 27,\n    palette: 17,\n    navigationLink: 16,\n    menu: 14\n  },\n  DatePickerStyle: {\n    wheel: 13,\n    automatic: 13,\n    graphical: 14,\n    compact: 14\n  },\n  ToggleStyle: {\n    button: 15,\n    automatic: 13,\n    switch: 13\n  },\n  MenuActionDismissBehavior: {\n    automatic: 16.4,\n    enabled: 16.4,\n    disabled: 16.4\n  },\n  TabViewStyle: {\n    sidebarAdaptable: 18,\n    page: 14,\n    tabBarOnly: 18,\n    automatic: 14\n  },\n  ButtonRole: {\n    destructive: 15,\n    cancel: 15,\n    confirm: 26,\n    close: 26\n  },\n  TabRole: {\n    search: 18,\n    prominent: 27\n  },\n  TabPlacement: {\n    automatic: 18,\n    pinned: 18,\n    sidebarOnly: 18\n  },\n  AdaptableTabBarPlacement: {\n    automatic: 18,\n    tabBar: 18,\n    sidebar: 18\n  },\n  TabCustomizationBehavior: {\n    automatic: 18,\n    reorderable: 18,\n    disabled: 18\n  },\n  TabSectionExpansion: {\n    automatic: 27,\n    expanded: 27,\n    collapsed: 27\n  },\n  SpringLoadingBehavior: {\n    automatic: 17,\n    enabled: 17,\n    disabled: 17\n  },\n  ControlGroupStyle: {\n    palette: 17,\n    automatic: 15,\n    navigation: 15,\n    menu: 16.4,\n    compactMenu: 16.4\n  },\n  PrimitiveButtonStyle: {\n    automatic: 13,\n    glass: 26,\n    borderless: 13,\n    glassProminent: 26,\n    plain: 13,\n    bordered: 15,\n    borderedProminent: 15\n  },\n  ProgressViewStyle: {\n    linear: 14,\n    circular: 14,\n    automatic: 14\n  },\n  GaugeStyle: {\n    accessoryCircularCapacity: 16,\n    linearCapacity: 16,\n    accessoryLinear: 16,\n    accessoryLinearCapacity: 16,\n    automatic: 16,\n    accessoryCircular: 16\n  },\n  TextFieldStyle: {\n    automatic: 13,\n    roundedBorder: 13,\n    bordered: 27,\n    plain: 13\n  },\n  SubmitLabel: {\n    done: 15,\n    go: 15,\n    send: 15,\n    join: 15,\n    route: 15,\n    search: 15,\n    return: 15,\n    next: 15,\n    continue: 15\n  },\n  TextInputAutocapitalization: {\n    never: 15,\n    words: 15,\n    sentences: 15,\n    characters: 15\n  },\n  Axis: {\n    horizontal: 13,\n    vertical: 13\n  },\n  Edge: {\n    top: 13,\n    leading: 13,\n    bottom: 13,\n    trailing: 13\n  },\n  PresentationAdaptation: {\n    automatic: 16.4,\n    none: 16.4,\n    popover: 16.4,\n    sheet: 16.4,\n    fullScreenCover: 16.4\n  },\n  PresentationContentInteraction: {\n    automatic: 16.4,\n    resizes: 16.4,\n    scrolls: 16.4\n  },\n  ColorScheme: {\n    light: 13,\n    dark: 13\n  },\n  DynamicTypeSize: {\n    xSmall: 15,\n    small: 15,\n    medium: 15,\n    large: 15,\n    xLarge: 15,\n    xxLarge: 15,\n    xxxLarge: 15,\n    accessibility1: 15,\n    accessibility2: 15,\n    accessibility3: 15,\n    accessibility4: 15,\n    accessibility5: 15\n  },\n  ControlSize: {\n    mini: 15,\n    small: 15,\n    regular: 15,\n    large: 15,\n    extraLarge: 17\n  },\n  SymbolRenderingMode: {\n    monochrome: 15,\n    multicolor: 15,\n    hierarchical: 15,\n    palette: 15\n  },\n  SymbolVariants: {\n    none: 15,\n    circle: 15,\n    square: 15,\n    rectangle: 15,\n    fill: 15,\n    slash: 15\n  },\n  ImageScale: {\n    small: 13,\n    medium: 13,\n    large: 13\n  },\n  PhotosPickerSelectionBehavior: {\n    default: 16,\n    ordered: 16,\n    continuous: 17,\n    continuousAndOrdered: 17\n  },\n  EncodingDisambiguationPolicy: {\n    automatic: 16,\n    current: 16,\n    compatible: 16\n  },\n  BackForwardNavigationGesturesBehavior: {\n    automatic: 26,\n    enabled: 26,\n    disabled: 26\n  },\n  MagnificationGesturesBehavior: {\n    automatic: 26,\n    enabled: 26,\n    disabled: 26\n  },\n  LinkPreviewBehavior: {\n    automatic: 26,\n    enabled: 26,\n    disabled: 26\n  },\n  ElementFullscreenBehavior: {\n    automatic: 26,\n    enabled: 26,\n    disabled: 26\n  },\n  ListStyle: {\n    automatic: 13,\n    sidebar: 14,\n    inset: 14,\n    grouped: 13,\n    insetGrouped: 14,\n    plain: 13\n  },\n  ToolbarItemPlacement: {\n    automatic: 14,\n    principal: 14,\n    navigation: 14,\n    primaryAction: 14,\n    secondaryAction: 16,\n    status: 14,\n    confirmationAction: 14,\n    cancellationAction: 14,\n    destructiveAction: 14,\n    keyboard: 15,\n    topBarLeading: 14,\n    topBarTrailing: 14,\n    topBarPinnedTrailing: 27,\n    navigationBarLeading: 14,\n    navigationBarTrailing: 14,\n    title: 14,\n    largeTitle: 26,\n    bottomBar: 14,\n    subtitle: 26,\n    largeSubtitle: 26\n  },\n  SpacerSizing: {\n    flexible: 26,\n    fixed: 26\n  },\n  PayWithApplePayButtonStyle: {\n    white: 16,\n    whiteOutline: 16,\n    black: 16,\n    automatic: 16\n  },\n  AddPassToWalletButtonStyle: {\n    black: 16,\n    blackOutline: 16\n  },\n  PayWithApplePayButtonLabel: {\n    plain: 16,\n    buy: 16,\n    addMoney: 16,\n    book: 16,\n    checkout: 16,\n    continue: 16,\n    contribute: 16,\n    donate: 16,\n    inStore: 16,\n    order: 16,\n    reload: 16,\n    rent: 16,\n    setUp: 16,\n    subscribe: 16,\n    support: 16,\n    tip: 16,\n    topUp: 16\n  }\n};\nfunction assertSwiftUIValue(type, value, iosVersion) {\n  const values = swiftUIValues[type];\n  if (!Object.hasOwn(values, value))\n    throw new Error(\"Unknown SwiftUI \" + type + \": \" + value);\n  if (iosVersion < values[value])\n    throw new Error(type + \".\" + value + \" requires iOS \" + values[value]);\n}\nexport {\n  assertSwiftUIValue,\n  swiftUIValues\n};\n//# sourceMappingURL=swiftui.js.map\n"],"mappings":";AAAA,MAAM,gBAAgB;CACpB,WAAW;EACT,WAAW;EACX,UAAU;EACV,OAAO;CACT;CACA,YAAY;EACV,WAAW;EACX,SAAS;EACT,QAAQ;CACV;CACA,aAAa;EACX,OAAO;EACP,QAAQ;EACR,WAAW;EACX,WAAW;EACX,MAAM;EACN,SAAS;EACT,gBAAgB;EAChB,MAAM;CACR;CACA,iBAAiB;EACf,OAAO;EACP,WAAW;EACX,WAAW;EACX,SAAS;CACX;CACA,aAAa;EACX,QAAQ;EACR,WAAW;EACX,QAAQ;CACV;CACA,2BAA2B;EACzB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,cAAc;EACZ,kBAAkB;EAClB,MAAM;EACN,YAAY;EACZ,WAAW;CACb;CACA,YAAY;EACV,aAAa;EACb,QAAQ;EACR,SAAS;EACT,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,WAAW;CACb;CACA,cAAc;EACZ,WAAW;EACX,QAAQ;EACR,aAAa;CACf;CACA,0BAA0B;EACxB,WAAW;EACX,QAAQ;EACR,SAAS;CACX;CACA,0BAA0B;EACxB,WAAW;EACX,aAAa;EACb,UAAU;CACZ;CACA,qBAAqB;EACnB,WAAW;EACX,UAAU;EACV,WAAW;CACb;CACA,uBAAuB;EACrB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,mBAAmB;EACjB,SAAS;EACT,WAAW;EACX,YAAY;EACZ,MAAM;EACN,aAAa;CACf;CACA,sBAAsB;EACpB,WAAW;EACX,OAAO;EACP,YAAY;EACZ,gBAAgB;EAChB,OAAO;EACP,UAAU;EACV,mBAAmB;CACrB;CACA,mBAAmB;EACjB,QAAQ;EACR,UAAU;EACV,WAAW;CACb;CACA,YAAY;EACV,2BAA2B;EAC3B,gBAAgB;EAChB,iBAAiB;EACjB,yBAAyB;EACzB,WAAW;EACX,mBAAmB;CACrB;CACA,gBAAgB;EACd,WAAW;EACX,eAAe;EACf,UA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