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IC,EAAuB,CAACC,EAA4BxY,KACvD,IAGI2U,EAAU2D,GAHT/C,EAAUkD,EAAaC,GAAW1Y,EAGhB4V,EAAI,EAC3B,GAAGL,EAASoD,MAAM3D,GAAgC,IAAxBqD,EAAgBrD,KAAa,CACtD,IAAIL,KAAY8D,EACZ/D,EAAoB2C,EAAEoB,EAAa9D,KACrCD,EAAoBU,EAAET,GAAY8D,EAAY9D,IAGhD,GAAG+D,EAAS,IAAIjV,EAASiV,EAAQhE,EAClC,CAEA,IADG8D,GAA4BA,EAA2BxY,GACrD4V,EAAIL,EAAS1Q,OAAQ+Q,IACzB0C,EAAU/C,EAASK,GAChBlB,EAAoB2C,EAAEgB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO5D,EAAoBY,EAAE7R,EAAO,EAGjCmV,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBva,QAAQka,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsBtE,EAAoBY,OAAET,EAAW,CAAC,KAAK,IAAOH,EAAoB,QAC5FsE,EAAsBtE,EAAoBY,EAAE0D,E","sources":["components/Slider.js","components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","components/Sounds.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/create fake namespace object","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance, setControl }) {\r\n  const [samplingValue, setSamplingValue] = React.useState(28);\r\n  const [guidanceValue, setGuidanceValue] = React.useState(5);\r\n  const [controlValue, setControlValue] = React.useState(1.0);\r\n\r\n  // Handle sampling steps change\r\n  const handleStepChange = (x) => {\r\n    setSamplingValue(x);\r\n    setSteps(x);\r\n  };\r\n\r\n  // Handle guidance change\r\n  const handleGuidanceChange = (x) => {\r\n    setGuidanceValue(parseFloat(x.toFixed(2)));\r\n    setGuidance(parseFloat(x.toFixed(2)));\r\n  };\r\n\r\n  const handleControlChange = (x) => {\r\n    setControlValue(parseFloat(x.toFixed(2)));\r\n    setControl(parseFloat(x.toFixed(2)));\r\n  };\r\n\r\n  return (\r\n    <View style={styles.container}>\r\n      <Text style={styles.captionText}>Sampling Steps</Text>\r\n      <Slider\r\n        style={styles.slider}\r\n        minimumValue={3}\r\n        maximumValue={50}\r\n        step={1}\r\n        value={samplingValue}\r\n        minimumTrackTintColor=\"#958DA5\"\r\n        maximumTrackTintColor=\"#9DA58D\"\r\n        thumbTintColor=\"#6750A4\"\r\n        onValueChange={handleStepChange}\r\n      />\r\n      <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n      <Text style={styles.captionText}>Prompt Guidance</Text>\r\n      <Slider\r\n        style={styles.slider}\r\n        minimumValue={0}\r\n        maximumValue={10}\r\n        step={0.1}\r\n        value={guidanceValue}\r\n        minimumTrackTintColor=\"#958DA5\"\r\n        maximumTrackTintColor=\"#9DA58D\"\r\n        thumbTintColor=\"#6750A4\"\r\n        onValueChange={handleGuidanceChange}\r\n      />\r\n      <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n      <Text style={styles.captionText}>Style & Layout</Text>\r\n      <Slider\r\n        style={styles.slider}\r\n        minimumValue={0}\r\n        maximumValue={2}\r\n        step={0.1}\r\n        value={controlValue}\r\n        minimumTrackTintColor=\"#958DA5\"\r\n        maximumTrackTintColor=\"#9DA58D\"\r\n        thumbTintColor=\"#6750A4\"\r\n        onValueChange={handleControlChange}\r\n      />\r\n      <Text style={styles.sliderValue}>{controlValue}</Text>\r\n    </View>\r\n  );\r\n}\r\n\r\nconst colors = {\r\n  color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n  container: {\r\n    alignItems: \"center\",\r\n    paddingTop: 50,\r\n  },\r\n  slider: {\r\n    width: 350,\r\n    height: 40,\r\n  },\r\n  captionText: {\r\n    color: colors.color,\r\n    fontSize: 20,\r\n    textAlign: \"center\",\r\n    letterSpacing: 3,\r\n    width: 350,\r\n    fontFamily: \"Sigmar\",\r\n  },\r\n  sliderValue: {\r\n    color: colors.color,\r\n    fontSize: 18,\r\n    letterSpacing: 3,\r\n    textAlign: \"center\",\r\n    paddingBottom: 30,\r\n    width: 350,\r\n    fontFamily: \"Sigmar\",\r\n  },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport {\r\n  Pressable,\r\n  StyleSheet,\r\n  TextInput,\r\n  Image,\r\n  View,\r\n  Dimensions\r\n} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPlaySound, setPrompt, inferredPrompt }) {\r\n  const [text, setText] = React.useState(\"\");\r\n\r\n  const textInputStyle = {\r\n    ...styles.input,\r\n    width: Dimensions.get('window').width > 500 ? 500 : Dimensions.get('window').width - 80,\r\n  };\r\n\r\n  useEffect(() => {\r\n    if (inferredPrompt) {\r\n      setText(inferredPrompt);\r\n      setPrompt(inferredPrompt);\r\n    }\r\n  }, [inferredPrompt]);\r\n\r\n  const handleTextChange = (x) => {\r\n    setText(x);\r\n    setPrompt(x);\r\n  };\r\n\r\n  return (\r\n    <View style={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n      <TextInput\r\n        style={textInputStyle}\r\n        placeholder=\"\"\r\n        multiline\r\n        textAlign=\"center\"\r\n        onChangeText={handleTextChange}\r\n        value={text}\r\n        maxLength={20000}\r\n      />\r\n      <Pressable\r\n        style={({ pressed }) => [\r\n          {\r\n            height: 30,\r\n            width: 30,\r\n            backgroundColor: pressed ? \"#B58392\" : \"#3a3c3f\",\r\n            borderRadius: 6,\r\n            padding: 10,\r\n            marginTop: 10,\r\n            alignItems: \"center\",\r\n            justifyContent: \"center\",\r\n            zIndex: 1,\r\n          },\r\n        ]}\r\n        onPress={() => {\r\n          setText(\"\");\r\n          setPrompt(\"\");\r\n          setPlaySound(\"click\");\r\n        }}\r\n      >\r\n        <Image\r\n          source={require(\"../assets/close.png\")}\r\n          style={{\r\n            width: \"100%\",\r\n            height: \"100%\",\r\n            resizeMode: \"contain\",\r\n          }}\r\n        />\r\n      </Pressable>\r\n    </View>\r\n  );\r\n}\r\n\r\nconst colors = {\r\n  backgroundColor: \"#FFFFFF\",\r\n  borderColor: \"#B58392\",\r\n  color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n  input: {\r\n    backgroundColor: colors.backgroundColor,\r\n    borderColor: colors.borderColor,\r\n    borderBottomLeftRadius: 4,\r\n    borderWidth: 4,\r\n    borderBottomRightRadius: 4,\r\n    borderStartWidth: 10,\r\n    borderEndWidth: 10,\r\n    borderRadius: 6,\r\n    height: 200,\r\n    paddingLeft: 10,\r\n    paddingRight: 10,\r\n    fontSize: 20,\r\n    color: colors.color,\r\n    fontFamily: \"Sigmar\",\r\n    marginRight: 10,\r\n  },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n  View,\r\n  Text,\r\n  StyleSheet,\r\n  Animated,\r\n  useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n  // Create an array of Animated values using useRef\r\n  const animatedValues = useRef(\r\n    [...Array(12)].map(() => new Animated.Value(0))\r\n  ).current;\r\n  const { width } = useWindowDimensions();\r\n\r\n  useEffect(() => {\r\n    // Define animations for each value in animatedValues\r\n    const animations = animatedValues.map((animatedValue, index) => {\r\n      // Animation for increasing value\r\n      const animation1 = Animated.timing(animatedValue, {\r\n        toValue: 1,\r\n        duration: 2000,\r\n        useNativeDriver: false,\r\n      });\r\n\r\n      // Animation for decreasing value\r\n      const animation2 = Animated.timing(animatedValue, {\r\n        toValue: 0,\r\n        duration: 2000,\r\n        useNativeDriver: false,\r\n      });\r\n\r\n      const fast = 300;\r\n      const medium = 450;\r\n      const slow = 600;\r\n      // Define delays for each animation\r\n      const delays = [\r\n        index * fast,\r\n        index * medium,\r\n        (11 - index) * fast,\r\n        index * slow,\r\n        (11 - index) * medium,\r\n        index * fast,\r\n        (11 - index) * slow,\r\n        index * medium,\r\n        (11 - index) * fast,\r\n        (11 - index) * medium,\r\n        index * slow,\r\n        (11 - index) * slow,\r\n      ];\r\n\r\n      // Create a sequence of animations with delays\r\n      const animationSequence = delays.map((delay, index) => {\r\n        return Animated.sequence([\r\n          Animated.delay(delay),\r\n          animation1,\r\n          animation2,\r\n        ]);\r\n      });\r\n\r\n      // Create a sequence of all animation sequences\r\n      const animationSequences = Animated.sequence(animationSequence);\r\n\r\n      // Create a loop for the animation sequence\r\n      return Animated.loop(animationSequences);\r\n    });\r\n\r\n    // Start all animations\r\n    animations.forEach((animation) => {\r\n      animation.start();\r\n    });\r\n  }, [animatedValues]);\r\n\r\n  // Interpolate animations to map values to desired output range\r\n  const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n    animatedValue.interpolate({\r\n      inputRange: [0, 1],\r\n      outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n      extrapolate: \"clamp\",\r\n    })\r\n  );\r\n\r\n  // Create animated styles based on interpolated values\r\n  const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n    fontSize: interpolateAnimation,\r\n  }));\r\n\r\n  return (\r\n    <View style={styles.containerbreathing}>\r\n      <Text style={styles.heading}>\r\n        <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n          P\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n          I\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n          X\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n          E\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n          L\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n          {\" \"}\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n          P\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n          R\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n          O\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n          M\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n          P\r\n        </Animated.Text>\r\n        <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n          T\r\n        </Animated.Text>\r\n      </Text>\r\n    </View>\r\n  );\r\n}\r\n\r\nconst colors = {\r\n  color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n  containerbreathing: {\r\n    flex: 1,\r\n    alignItems: \"center\",\r\n    flexDirection: \"row\",\r\n    justifyContent: \"center\",\r\n  },\r\n  char: {\r\n    marginHorizontal: 15,\r\n  },\r\n  heading: {\r\n    fontWeight: \"bold\",\r\n    fontFamily: \"Sigmar\",\r\n    color: colors.color,\r\n    paddingTop: 25,\r\n    position: \"absolute\",\r\n  },\r\n});\r\n","import { useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({\r\n  passModelID,\r\n  \r\n}) {\r\n    const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n      const data = [ \r\n        {\r\n          label: \"Random\",\r\n          value: \"Random\",\r\n        },\r\n        { label: \"AuraFlow\", value: \"fal/AuraFlow\" },\r\n        {\r\n          label: \"Stable Diffusion 3\",\r\n          value: \"stabilityai/stable-diffusion-3-medium\",\r\n        },\r\n        {\r\n          label: \"Stable Diffusion XL\",\r\n          value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n        },   \r\n        { label: \"Pixel\", value: \"nerijs/pixel-art-xl\" },\r\n        { label: \"Voxel\", value: \"Fictiverse/Voxel_XL_Lora\" },\r\n        { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n        { label: \"Anime - (gsdf)\", value: \"gsdf/Counterfeit-V2.5\" },\r\n      ];\r\n      \r\n  return (\r\n    <Dropdown\r\n      style={styles.dropdown}\r\n      selectedTextStyle={styles.selectedTextStyle}\r\n      placeholderStyle={styles.placeholderStyle}\r\n      data={data}\r\n      labelField=\"label\"\r\n      valueField=\"value\"\r\n      placeholder={placeholderModelID}\r\n      onChange={(item) => {\r\n        passModelID(item);\r\n        setPlaceholderModelID(item.label);\r\n      }}\r\n    />\r\n  );\r\n}\r\n\r\nconst colors = {\r\n  borderBottomColor: \"#9DA58D\",\r\n  color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n  dropdown: {\r\n    margin: 16,\r\n    height: 50,\r\n    width: 340,\r\n    borderBottomColor: colors.borderBottomColor,\r\n    borderBottomWidth: 3,\r\n  },\r\n  placeholderStyle: {\r\n    color: colors.color,\r\n    fontSize: 25,\r\n    fontFamily: \"Sigmar\",\r\n    textAlign: \"center\",\r\n    letterSpacing: 3,\r\n  },\r\n  selectedTextStyle: {\r\n    color: colors.color,\r\n    fontSize: 20,\r\n    fontFamily: \"Sigmar\",\r\n    letterSpacing: 3,\r\n    textAlign: \"center\",\r\n  },\r\n});\r\n","import React, { useEffect, useState } from \"react\";\nimport {\n  Pressable,\n  Image,\n  View,\n  StyleSheet,\n  Text,\n  Switch,\n  FlatList,\n  Dimensions,\n} from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst addImage = require(\"../assets/add_image.png\");\nconst coloredDelete = require(\"../assets/delete_colored.png\");\nconst deleteButton = require(\"../assets/delete.png\");\n\nconst MyImagePicker = ({\n  columnCount,\n  selectedImageIndex,\n  setSelectedImageIndex,\n  initialReturnedPrompt,\n  setReturnedPrompt,\n  promptList,\n  setPromptList,\n  setPlaySound,\n  imageSource,\n  setImageSource,\n  styleSwitch,\n  setStyleSwitch,\n  settingSwitch,\n  setSettingSwitch,\n}) => {\n  const [textHeight, setTextHeight] = useState(0);\n  const [containerHeight, setContainerHeight] = useState(160);\n  \n  useEffect(() => {\n    if (Dimensions.get('window').width < 1000) {\n      if (selectedImageIndex !== null) {\n        setContainerHeight(440 + textHeight);\n      } else {\n        setContainerHeight(160);\n      }\n    }\n  }, [selectedImageIndex, textHeight]);\n\n  const selectImage = async (index) => {\n    const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n    if (status !== \"granted\") {\n      alert(\"Sorry, we need media library permissions to select an image.\");\n      return;\n    }\n    console.log(\"Selecting image\");\n    const result = await ImagePicker.launchImageLibraryAsync({\n      mediaTypes: ImagePicker.MediaTypeOptions.Images,\n      allowsEditing: true,\n      aspect: [4, 3],\n      quality: 1,\n    });\n\n    if (!result.cancelled) {\n      setPlaySound(\"swoosh\");\n      setImageSource((prevImageSource) => {\n        const newImageSource = [...prevImageSource];\n        newImageSource[index] = result.assets[0].uri;\n        newImageSource[index + 1] = addImage;\n        return newImageSource;\n      });\n      setPromptList((prevPromptSource) => {\n        const prevPrompt = [...prevPromptSource];\n        prevPrompt[index] = \"Uploaded Image\";\n        return prevPrompt;\n      });\n    }\n  };\n\n  useEffect(() => {\n    if (selectedImageIndex !== null) {\n      setReturnedPrompt(promptList[selectedImageIndex]);\n    } else {\n      setReturnedPrompt(initialReturnedPrompt);\n    }\n  }, [selectedImageIndex]);\n\n  const styleSwitchFunction = () => {\n    setStyleSwitch(!styleSwitch);\n    setPlaySound(\"switch\");\n  };\n\n  const settingSwitchFunction = () => {\n    setSettingSwitch(!settingSwitch);\n    setPlaySound(\"switch\");\n  };\n\n  const deleteFromImageArray = (index) => {\n    setImageSource((prevImageSource) => {\n      setPlaySound(\"click\");\n      if (prevImageSource.length > 1) {\n        return prevImageSource.filter((_, i) => i !== index);\n      }\n      return [addImage];\n    });\n    setReturnedPrompt(promptList[index + 1]);\n    setPromptList((prevPromptSource) => {\n      if (prevPromptSource.length > 1) {\n        return prevPromptSource.filter((_, i) => i !== index);\n      }\n      return [\"\"];\n    });\n  };\n\n  function isStartOrEndOfRow(index) {\n    const isLastInRow = (selectedImageIndex + 1) % columnCount === 0 || selectedImageIndex === imageSource.length - 1;\n    const isFirstInRow = selectedImageIndex % columnCount === 0;\n    return selectedImageIndex === index + (isFirstInRow ? -1 : 1) || selectedImageIndex === index + (isFirstInRow ? -2 : isLastInRow ? 2 : -1);\n  }\n\n  return (\n    <><Text style={[styles.promptText,{ width: 500, margin: 20, fontSize: 14}]}>Click Image to Enlarge. If Image is enlarged it will be used as an input image for the next image generated. Use either or both the Style and Layout attributes to affect how the model interprets the input image.</Text>\n      <View style={styles.switchesRowContainer}>\n        <View style={styles.columnContainer}>\n          <Text\n            style={[\n              { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n              styles.sliderText,\n            ]}\n          >\n            Style\n          </Text>\n          <Switch\n            trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n            thumbColor=\"#B58392\"\n            activeThumbColor=\"#6750A4\"\n            ios_backgroundColor=\"#3e3e3e\"\n            onValueChange={styleSwitchFunction}\n            value={styleSwitch}\n          />\n        </View>\n        <View style={styles.columnContainer}>\n          <Text\n            style={[\n              { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n              styles.sliderText,\n            ]}\n          >\n            Layout\n          </Text>\n          <Switch\n            trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n            thumbColor=\"#B58392\"\n            activeThumbColor=\"#6750A4\"\n            ios_backgroundColor=\"#3e3e3e\"\n            onValueChange={settingSwitchFunction}\n            value={settingSwitch}\n          />\n        </View>\n      </View>\n      <View style={styles.flatListContainer}>\n        <FlatList\n          data={imageSource}\n          key={columnCount}\n          numColumns={columnCount}\n          keyExtractor={(item, index) => index.toString()}\n          renderItem={({ item: source, index }) => (\n            <View\n              style={[\n                styles.imageColumnContainer,\n                {\n                  width: isStartOrEndOfRow(index) ? 0 : selectedImageIndex === index ? 330 : index === imageSource.length - 1 ? 160 : 105,\n                  height:\n                  Dimensions.get('window').width < 1000 && selectedImageIndex == index\n                      ? containerHeight\n                      : selectedImageIndex === index\n                        ? 440\n                        : index === imageSource.length - 1 ? 160 : 105,\n                        margin: 0,\n                  marginTop: selectedImageIndex === index ? 20 : 0,\n                  overflow: \"visible\"\n                },\n              ]}\n            >\n              <View style={[styles.columnContainer]}>\n                <Pressable\n                  onPress={() => {\n                    setPlaySound(\"click\");\n                    if (selectedImageIndex === index) {\n                      setSelectedImageIndex(null);\n                      return;\n                    }\n                    setSelectedImageIndex(index);\n                  }}\n                  style={[\n                    styles.imageCard,\n                    {\n                      alignItems: \"flex-start\",\n                      justifyContent: \"flex-start\",\n                      width: isStartOrEndOfRow(index) ? 0 : selectedImageIndex === index ? 320 : 100,\n                      height: isStartOrEndOfRow(index) ? 0 : selectedImageIndex === index ? 400 : 100,\n                      borderRadius: selectedImageIndex === index ? 30 : 0,\n                    },\n                  ]}\n                >\n                  <Image\n                    source={\n                      typeof source === \"number\" ? source : { uri: source }\n                    }\n                    style={[\n                      {\n                        width: isStartOrEndOfRow(index) ? 0 : selectedImageIndex === index ? 320 : 100,\n                        height: isStartOrEndOfRow(index) ? 0 : selectedImageIndex === index ? 400 : 100,\n                        borderRadius: selectedImageIndex === index ? 30 : 0,\n                      },\n                    ]}\n                  />\n                </Pressable>\n              </View>\n              { // Code to delete pics in gallery\n              /**index !== imageSource.length - 1 && (selectedImageIndex === null || index !== selectedImageIndex + 1) && \n              (selectedImageIndex === null || (index - 2) % columnCount !== 0) && (\n                <Pressable\n                  onPress={() => {\n                    deleteFromImageArray(index);\n                  }}\n                  style={{\n                    position: \"absolute\",\n                    top: 0,\n                    right: 0,\n                  }}\n                >\n                  {({ pressed }) => (\n                    <Image\n                      source={pressed ? coloredDelete : deleteButton}\n                      style={[styles.changeButton]}\n                    />\n                  )}\n                </Pressable>\n              )*/}\n              {Dimensions.get('window').width < 1000 &&\n                selectedImageIndex === index &&\n                index !== imageSource.length - 1 && (\n                  <Text\n                    style={[styles.promptText, { flexShrink: 1 }]}\n                    numberOfLines={1000}\n                    onLayout={(event) => {\n                      const { height } = event.nativeEvent.layout;\n                      setTextHeight(height);\n                    }}\n                  >\n                    {promptList[index]}\n                  </Text>\n                )}\n              {index === imageSource.length - 1 && !selectedImageIndex &&\n               (selectedImageIndex === null || index !== selectedImageIndex + 2) && \n               (selectedImageIndex === null || imageSource.length !== 2) && (\n                <Pressable\n                  style={[styles.selectButton]}\n                  onPress={() => {\n                    setPlaySound(\"click\");\n                    selectImage(index);\n                  }}\n                >\n                  <Text style={[styles.promptText, {fontFamily:\"Sigmar\"}]}>Select</Text>\n                </Pressable>\n              )}\n            </View>\n          )}\n        />\n      </View>\n    </>\n  );\n};\n\nconst colors = {\n  backgroundColor: \"#25292e\",\n  selectButtonBackground: \"#3a3c3f\",\n  white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n  flatListContainer: {\n    width: \"auto\",\n    height: \"auto\",\n  },\n  switchesRowContainer: {\n    backgroundColor: colors.backgroundColor,\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    width: 300,\n    height: 50,\n    marginBottom: 20,\n    flexDirection: \"row\",\n    overflow: \"auto\",\n  },\n  imageColumnContainer: {\n    alignItems: \"center\",\n    flexDirection: \"column\",\n    overflow: \"auto\",\n  },\n  columnContainer: {\n    flex: 1,\n    alignItems: \"center\",\n    flexDirection: \"column\",\n  },\n  selectButton: {\n    marginTop: 10,\n    borderRadius: 4,\n    paddingHorizontal: 32,\n    elevation: 3,\n    fontFamily: \"Sigmar\",\n    backgroundColor: colors.selectButtonBackground,\n  },\n  promptText: {\n    color: colors.white,\n    fontSize: 18,\n    textAlign: \"center\",\n    letterSpacing: 2,\n    lineHeight: 30,\n    fontFamily: \"System\",\n  },\n  sliderText: {\n    fontSize: 18,\n    fontWeight: \"bold\",\n    textAlign: \"center\",\n    letterSpacing: 2,\n    lineHeight: 30,\n    fontFamily: \"Sigmar\",\n  },\n  imageCard: {\n    backgroundColor: colors.buttonBackground,\n    elevation: 3,\n    shadowColor: \"#000\",\n    shadowOffset: { width: 0, height: 2 },\n    shadowOpacity: 0.25,\n    shadowRadius: 3.84,\n  },\n  changeButton: {\n    width: 20,\n    height: 20,\n    justifyContent: \"center\",\n    alignItems: \"center\",\n  },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React, { useState } from \"react\";\nimport {\n  StyleSheet,\n  View,\n  Text,\n  Pressable,\n  ActivityIndicator,\n  Switch,\n  Image,\n} from \"react-native\";\n\nconst coloredJoin = require(\"../assets/join_colored.png\");\nconst joinButton = require(\"../assets/join.png\");\n\nconst Buttons = ({\n  setPlaySound,\n  switchToFlan,\n  setInferrenceButton,\n  activity,\n  longPrompt,\n  setTextInference,\n  switchPromptFunction,\n  promptLengthValue\n}) => {\n  \n  const [comboButtonPressed, setComboButtonPressed] = useState(false);\n\n  const setThePromptValue = () => {\n    setComboButtonPressed(false);\n    switchPromptFunction();\n  }\n\n  return (\n    <>\n      {activity ? (\n        <ActivityIndicator\n          size=\"large\"\n          color=\"#B58392\"\n          style={{ margin: 25 }}\n        />\n      ) : (\n        <>\n          {longPrompt ? (\n            <>\n              <View style={[styles.rowContainer]}>\n                <Pressable\n                  onPress={() => {\n                    setTextInference(true);\n                    setPlaySound(\"click\");\n                  }}\n                  style={({ pressed }) => [\n                    {\n                      backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\",\n                      width: 40,\n                      height: 40,\n                      borderRadius: 20,\n                      margin: 10,\n                    },\n                  ]}\n                ></Pressable>\n                <View style={styles.columnContainer}>\n                  <View style={[styles.rowContainer]}>\n                    <Text\n                      style={[\n                        {\n                          color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\",\n                          marginRight: 15,\n                        },\n                        styles.sliderText,\n                      ]}\n                    >\n                      Short\n                    </Text>\n                    <Text\n                      style={[\n                        {\n                          color: comboButtonPressed ? '#FFFFFF' : promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\",\n                          marginRight: 15,\n                        },\n                        styles.sliderText,\n                      ]}\n                    >\n                      Long\n                    </Text>\n                  </View>\n                  <View style={[styles.rowContainer, { paddingBottom: 10, justifyContent: \"space-between\" }]}>\n                  <Switch\n                    style={{ marginRight: 40 }} \n                    trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n                    thumbColor=\"#B58392\"\n                    activeThumbColor=\"#6750A4\"\n                    ios_backgroundColor=\"#3e3e3e\"\n                    onValueChange={setThePromptValue}\n                    value={promptLengthValue}\n                  />\n                  <Pressable\n                    onPress={() => {\n                      switchToFlan();\n                      setComboButtonPressed(true);\n                      setPlaySound(\"click\");\n                    }}\n                  >\n                    <Image\n                    source={comboButtonPressed ?  coloredJoin : joinButton}\n                    style={[{marginRight: 30}, styles.changeButton]}\n                  />\n                    </Pressable>\n                  </View>\n                </View>\n              </View>\n            </>\n          ) : (\n            <Pressable\n              onPress={() => {\n                setTextInference(true);\n                setPlaySound(\"click\");\n              }}\n              style={({ pressed }) => [\n                { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" },\n                styles.button,\n              ]}\n            >\n              {({ pressed }) => (\n                <Text style={styles.promptText}>\n                  {pressed ? \"PROMPTED!\" : \"Prompt\"}\n                </Text>\n              )}\n            </Pressable>\n          )}\n          <Pressable\n            onPress={() => {\n              setInferrenceButton(true);\n              setPlaySound(\"click\");\n            }}\n            style={({ pressed }) => [\n              {\n                backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\",\n                marginBottom: 20,\n              },\n              styles.button,\n            ]}\n          >\n            {({ pressed }) => (\n              <Text style={styles.promptText}>\n                {pressed ? \"INFERRED!\" : \"Inference\"}\n              </Text>\n            )}\n          </Pressable>\n        </>\n      )}\n    </>\n  );\n};\n\nconst colors = {\n  backgroundColor: \"#25292e\",\n  color: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n  rowContainer: {\n    backgroundColor: colors.backgroundColor,\n    display: \"flex\",\n    flexDirection: \"row\",\n    marginTop: 10,\n    overflow: \"visible\",\n    \n  },\n  columnContainer: {\n    flex: 1,\n    alignItems: \"center\",\n    flexDirection: \"column\",\n  },\n  button: {\n    margin: 10,\n    borderRadius: 4,\n    paddingHorizontal: 32,\n    elevation: 3,\n    fontFamily: \"Sigmar\",\n  },\n  activityIndicator: {\n    marginLeft: 50,\n  },\n  promptText: {\n    color: colors.color,\n    fontSize: 18,\n    fontWeight: \"bold\",\n    textAlign: \"center\",\n    letterSpacing: 2,\n    lineHeight: 30,\n    fontFamily: \"Sigmar\",\n  },\n  sliderText: {\n    fontSize: 18,\n    fontWeight: \"bold\",\n    textAlign: \"center\",\n    letterSpacing: 2,\n    lineHeight: 30,\n    fontFamily: \"Sigmar\",\n  },\n  changeButton: {\n    width: 20,\n    height: 20,\n    justifyContent: \"center\",\n    alignItems: \"center\", // change as needed\n    elevation: 3, // for Android shadow\n    shadowColor: \"#000\", // for iOS shadow\n    shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n    shadowOpacity: 0.25, // for iOS shadow\n    shadowRadius: 3.84, // for iOS shadow\n  },\n});\n\nexport default Buttons;\n","import React from \"react\";\nimport { StyleSheet, Pressable, Image, Text, View } from \"react-native\";\nimport { Dimensions } from \"react-native\";\n\nconst Expand = ({ setPlaySound, isImagePickerVisible, setImagePickerVisible, setIsGuidanceVisible, isGuidanceVisible, isGuidance }) => {\n\n  const rightImage = require(\"../assets/right.png\");\n  const downImage = require(\"../assets/down.png\");\n  \n  return (\n    <View style={[styles.galleryContainer]}>\n    <Pressable\n      style={[\n        styles.expandButton,\n      ]}\n      onPress={() => {setPlaySound(\"expand\"); {isGuidance ? setIsGuidanceVisible(!isGuidanceVisible): \n        setImagePickerVisible(!isImagePickerVisible)\n        }}}\n    >\n      {isGuidance ? isGuidanceVisible ? (<Image\n          source={downImage}\n          style={styles.expandImage}\n        />\n      ) : (\n        <Image\n          source={rightImage}\n          style={styles.expandImage}\n        />\n      ): isImagePickerVisible ? (\n        <Image\n          source={downImage}\n          style={styles.expandImage}\n        />\n      ) : (\n        <Image\n          source={rightImage}\n          style={styles.expandImage}\n        />\n      )}\n      \n    </Pressable>\n    <Text style={{fontSize: 24, color: '#ffffff', fontFamily: 'Sigmar', letterSpacing: 5}}>{isGuidance ? \"Guidance\": \"Gallery\"}</Text>\n    </View>\n  );\n};\n\nconst colors = {\n  buttonBackground: \"#3a3c3f\",\n};\n\nconst styles = StyleSheet.create({\n  expandButton: {\n    width: 30, // adjust size as needed\n    height: 30, // adjust size as needed\n    borderRadius: 15, // half of size to make it circular\n    justifyContent: \"center\",\n    alignItems: \"center\",\n    backgroundColor: colors.buttonBackground, // change as needed\n    elevation: 3, // for Android shadow\n    shadowColor: \"#000\", // for iOS shadow\n    shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n    shadowOpacity: 0.25, // for iOS shadow\n    shadowRadius: 3.84, // for iOS shadow\n    marginRight: 30\n  },\n  expandImage: {\n    width: 20,\n    height: 20,\n    justifyContent: \"center\",\n    alignItems: \"center\",\n  },\n  galleryContainer: {\n    flex:1,\n    flexDirection:'row',\n    alignSelf: \"flex-start\",\n    marginLeft: Dimensions.get('window').width < 1000 ? \"20%\" : \"20%\",\n    marginBottom: 0,\n    \n  }\n});\n\nexport default Expand;\n","import { useEffect } from \"react\";\nimport seeds from \"../assets/seeds.json\";\n\nconst PromptInference = ({\n  setFlanPrompt,\n  prompt,\n  textInference,\n  setTextInference,\n  setLongPrompt,\n  setShortPrompt,\n  setInferredPrompt,\n  promptLengthValue,\n  setActivity,\n  setModelError,\n}) => {\n  useEffect(() => {\n    if (textInference) {\n      setActivity(true);\n      setModelError(false);\n      let alteredPrompt = \"\";\n      if (prompt === \"Avocado Armchair\" || prompt === \"\") {\n        const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n        alteredPrompt = seeds.seeds[randomIndex];\n      } else {\n        alteredPrompt = prompt;\n      }\n      fetch(\"http://localhost:8000/inferencePrompt\", {                        // Change this to your API endpoint and use a library\n        method: \"POST\",                                   // Axios if not running in the same container\n        headers: {                                        // http://localhost:8000/inferencePrompt if running locally or w/e port your server is using or                                                        \n          \"Content-Type\": \"application/json\",             // inferencePrompt if running in a container\n        },\n        body: JSON.stringify({\n          itemString: alteredPrompt\n        }),\n      }).then((response) => {\n        response.json().then((responseData) => {\n          const generatedText = responseData[\"plain\"];\n          const longPrompt = generatedText.split(\"Stable Diffusion Prompt:\")[1];\n          setFlanPrompt(responseData[\"magic\"]);\n          setLongPrompt(longPrompt);\n          setShortPrompt(alteredPrompt);\n          if (!promptLengthValue) {\n            setInferredPrompt(alteredPrompt);\n          } else {\n            setInferredPrompt(longPrompt);\n          }\n          setActivity(false);\n        }).catch((error) => console.error(\"Error:\", error));\n      }).catch((error) => console.error(\"Fetch Error:\", error));\n      setTextInference(false);\n    }\n  }, [textInference]);\n};\n\nexport default PromptInference;\n","import { useEffect } from \"react\";\n\nfunction getScaledIP(styleSwitch, settingSwitch) {\n  let scaledIP = 'Load original IP-Adapter';\n  if (styleSwitch) {\n    scaledIP = \"Load only style blocks\";\n  }\n  if (settingSwitch) {\n    scaledIP = \"Load only layout blocks\";\n  }\n  if (styleSwitch && settingSwitch) {\n    scaledIP = \"Load style+layout block\";\n  }\n  return scaledIP;\n}\n\nconst Inference = ({\n      setImageSource,\n      setPromptList,\n      selectedImageIndex,\n      setInferrenceButton,\n      inferrenceButton,\n      setModelMessage,\n      imageSource,\n      modelID,\n      prompt,\n      styleSwitch,\n      settingSwitch,\n      control,\n      guidance,\n      steps,\n      setActivity,\n      setModelError,\n      setReturnedPrompt,\n      setInitialReturnedPrompt,\n      setInferredImage,\n}) => {\n \n  useEffect(() => {\n    const requestOptions = {\n        method: 'GET'\n    };\n    fetch(\"http://localhost:8000/core\", requestOptions)\n        .then((response) => {\n            const reader = response.body.getReader();\n            const decoder = new TextDecoder('utf-8');\n            let buffer = '';\n            return reader.read().then(function processText({ done, value }) {\n                if (done) {\n                    console.log(\"Stream complete\");\n                    return;\n                }\n\n              function processJsonObject(jsonObject) {\n                  setPromptList(prevPromptList => [jsonObject.prompt, ...prevPromptList]);\n                  setImageSource(prevImageSource => [jsonObject.base64, ...prevImageSource]);                \n              }\n              buffer += decoder.decode(value, {stream: true});\n              buffer = buffer.replace('[', '').replaceAll(',{', '{');\n              try {\n                  while (buffer.indexOf('}') !== -1) {\n                    let processText = '';\n                    const endIndex = buffer.indexOf('}');\n                    if (endIndex !== -1) {\n                        processText = buffer.slice(0, endIndex + 1);\n                        const jsonObject = JSON.parse(processText);\n                        processJsonObject(jsonObject);\n                        buffer = buffer.slice(endIndex + 1);\n                    }\n                }\n              } catch (error) {\n               console.log(\"Error parsing JSON: \" + error);\n              }\n                return reader.read().then(processText);\n            });\n        })\n        .catch((error) => {\n            console.error('There was an error!', error);\n        });\n}, []);\n    \n\n  /**  useEffect hook for txt2img  */\n\n  useEffect(() => {\n    if (inferrenceButton) {\n      setActivity(true);\n      let inferreceModel = modelID.value;\n      const ipScaleHolder = getScaledIP(styleSwitch, settingSwitch);\n      const controlImage = imageSource[selectedImageIndex];\n        fetch(\"http://localhost:8000/api\", {                             // Change this to your API endpoint and use a library                                         \n          method: \"POST\",                           // Axios if not running in the same container\n          headers: {                                // http://localhost:8000/api if running locally or w/e port your server is using or\n             \"Content-Type\": \"application/json\",    // /api if running in a container\n          },\n          body: JSON.stringify({\n            prompt: prompt,\n            steps: steps,\n            guidance: guidance,\n            modelID: inferreceModel,\n            modelLabel: modelID.label,\n            image: controlImage,                  \n            target: ipScaleHolder,   \n            control: control        \n          }),\n        })\n          .then((response) => response.json())\n          .then((responseData) => {\n            if (/Model Waking/.test(responseData.output)) {\n              setModelMessage(\"Model Waking\");\n              setModelError(true);\n            }else if(/You have exceeded your GPU quota/.test(responseData.output)){\n              const gpu = responseData.output.split(\": \")[2];\n              const gpuName = gpu.slice(-9);\n              setModelMessage(`GPU Quota Exceeded! Try Random Models without enlarged images for ${gpuName.slice(0,-1)}`);\n              setModelError(true);\n            }else if(/An error occurred/.test(responseData.output)){\n              setModelMessage(`Model Error!`);\n              setModelError(true);\n            }else {\n              setInitialReturnedPrompt(\"Model:\\n\" + responseData.model + \"\\n\\nPrompt:\\n\" + prompt);\n              setModelError(false);\n            }\n            if(responseData.NSFW){\n              setModelMessage(`NSFW...Image will not be Saved`);\n              setModelError(true);\n            }\n            setInferrenceButton(false);\n            setActivity(false);\n            setReturnedPrompt(\"Model:\\n\" + responseData.model + \"\\n\\nPrompt:\\n\" + prompt);\n            setInferredImage(\"data:image/png;base64,\" + responseData.output);\n          })\n          .catch(function (error) {\n            setModelMessage(\"Application Error!\");\n            setActivity(false);\n            setModelError(true);\n            setInferrenceButton(false);\n            console.log(error);\n          });\n      }\n \n  }, [inferrenceButton]);\n};\n\nexport default Inference;\n","import { useEffect, useRef } from 'react';\nimport { Audio } from 'expo-av';\n\nconst click = require('../assets/click.wav');\nconst swoosh = require('../assets/swoosh.mp3');\nconst switchSound = require('../assets/switch.wav');\nconst expand = require('../assets/expand.wav');\n\nconst SoundPlayer = ({ makeSound}) => {\n  const soundRef = useRef(null);\n\n  useEffect(() => {\n    Audio.setAudioModeAsync({\n      playsInSilentModeIOS: true,\n      staysActiveInBackground: true,\n      shouldDuckAndroid: true,\n      interruptionModeIOS: Audio.INTERRUPTION_MODE_IOS_DO_NOT_MIX,\n      interruptionModeAndroid: Audio.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX,\n    });\n    return () => {\n      // Unload the sound when the component unmounts\n      if (soundRef.current) {\n        soundRef.current?.unloadAsync();\n      }\n    };\n  }, []);\n\n  useEffect(() => {\n    const playSound = async () => {\n      const { sound } = await Audio.Sound.createAsync(\n        // Dynamically select the sound file based on makeSound\n        { uri: makeSound[0] === 'click' ? click : makeSound[0] === 'swoosh' ? swoosh : makeSound[0] === 'switch' ? switchSound : expand },\n        { shouldPlay: true }\n      );\n      soundRef.current = sound;\n      await sound.playAsync();\n    };\n\n    if (makeSound) {\n      playSound();\n    }\n  }, [makeSound]);\n\n  return null;\n};\n\nexport default SoundPlayer;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n  StyleSheet,\r\n  View,\r\n  ScrollView,\r\n  Text,\r\n  Pressable,\r\n  Image,\r\n  Dimensions\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\";\r\nimport SoundPlayer from \"./components/Sounds\";\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\nconst circleImage = require(\"./assets/circle.png\");\r\nconst addImage = require(\"./assets/add_image.png\");\r\nconst rotatedCircle = require(\"./assets/rotated_circle.png\");\r\n\r\nexport default function App() {\r\n  useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n  const [inferredImage, setInferredImage] = useState(assetImage);\r\n  const [steps, setSteps] = useState(28);\r\n  const [guidance, setGuidance] = useState(5);\r\n  const [control, setControl] = useState(1.0);\r\n  const [modelID, setModelID] = useState({\r\n    label: \"Random\",\r\n    value: \"Random\",\r\n  });\r\n  const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n  const [inferredPrompt, setInferredPrompt] = useState(null);\r\n  const [activity, setActivity] = useState(false);\r\n  const [modelError, setModelError] = useState(false);\r\n  const [returnedPrompt, setReturnedPrompt] = useState(\"Avacado Armchair\")\r\n  const [initialReturnedPrompt, setInitialReturnedPrompt] = useState('Avacado Armchair')\r\n  const [textInference, setTextInference] = useState(false);\r\n  const [shortPrompt, setShortPrompt] = useState(\"\");\r\n  const [longPrompt, setLongPrompt] = useState(null);\r\n  const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n  const [modelMessage, setModelMessage] = useState(\"\");\r\n  const [inferrenceButton, setInferrenceButton] = useState(null);\r\n  const [flanPrompt, setFlanPrompt] = useState(null);\r\n  const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n  const [imageSource, setImageSource] = useState([addImage]);\r\n  const [settingSwitch, setSettingSwitch] = useState(false);\r\n  const [styleSwitch, setStyleSwitch] = useState(false);\r\n  const [soundIncrement, setSoundIncrement] = useState(null);\r\n  const [makeSound, setMakeSound] = useState([null,0]);\r\n  const [promptList, setPromptList] = useState([]);\r\n  const [swapImage, setSwapImage] = useState(false);\r\n  const [selectedImageIndex, setSelectedImageIndex] = useState(null);\r\n  const [columnCount, setColumnCount] = useState(3);\r\n  const [isGuidanceVisible, setIsGuidanceVisible] = useState(false);\r\n\r\n  const passModelIDWrapper = (x) => {\r\n    setModelError(false);\r\n    setModelID(x);\r\n  };\r\n\r\n  const setPlaySound = (sound) => {\r\n    setSoundIncrement(prevSoundIncrement => prevSoundIncrement + 1);\r\n    setMakeSound([sound, soundIncrement]);\r\n  };\r\n\r\n  useEffect(() => {\r\n    if(swapImage){\r\n    if(inferredImage !== addImage){\r\n    console.log(\"swapImage\", inferredImage);\r\n    setPromptList(prevPromptList => [initialReturnedPrompt,...prevPromptList]);\r\n    setImageSource(prevImageSource => [inferredImage, ...prevImageSource ]);  \r\n    setInferredImage(addImage);\r\n    setInitialReturnedPrompt(\"\");\r\n    setReturnedPrompt('')\r\n    }\r\n    setSwapImage(false);\r\n  }\r\n  }),[swapImage];\r\n\r\n  const switchPromptFunction = () => {\r\n    setPromptLengthValue(!promptLengthValue);\r\n    if (promptLengthValue) {\r\n      setInferredPrompt(shortPrompt);\r\n      setPlaySound(\"switch\");\r\n    } else {\r\n      setInferredPrompt(longPrompt);\r\n      setPlaySound(\"switch\");\r\n    }\r\n  };\r\n\r\n  const switchToFlan = () => {\r\n    setInferredPrompt(flanPrompt);\r\n  };\r\n\r\n  const updateColumnCount = (width) => {\r\n    if (width < 600) setColumnCount(3);\r\n    else if (width >= 600 && width < 1000) setColumnCount(4);\r\n    else if (width >= 1000 && width < 1400) setColumnCount(5);\r\n    else if (width >= 1400 && width < 1700) setColumnCount(6);\r\n    else setColumnCount(7);\r\n  };\r\n\r\n  useEffect(() => {\r\n    const handleResize = () => {\r\n      updateColumnCount(Dimensions.get('window').width);\r\n    };\r\n    handleResize();\r\n    Dimensions.addEventListener('change', handleResize);\r\n    return () => Dimensions.removeEventListener('change', handleResize);\r\n  }, []);\r\n\r\n  return (\r\n    // Main container\r\n    <View style={styles.titlecontainer}>\r\n      <SoundPlayer makeSound={makeSound}/>\r\n      <PromptInference\r\n        setFlanPrompt={setFlanPrompt}\r\n        prompt={prompt}\r\n        textInference={textInference}\r\n        setTextInference={setTextInference}\r\n        setLongPrompt={setLongPrompt}\r\n        setShortPrompt={setShortPrompt}\r\n        setInferredPrompt={setInferredPrompt}\r\n        promptLengthValue={promptLengthValue}\r\n        setActivity={setActivity}\r\n        setModelError={setModelError}\r\n      />\r\n      <Inference\r\n        setImageSource={setImageSource}\r\n        setPromptList={setPromptList}\r\n        selectedImageIndex={selectedImageIndex}\r\n        setInferrenceButton={setInferrenceButton}\r\n        inferrenceButton={inferrenceButton}\r\n        setModelMessage={setModelMessage}\r\n        imageSource={imageSource}\r\n        modelID={modelID}\r\n        prompt={prompt}\r\n        styleSwitch={styleSwitch}\r\n        settingSwitch={settingSwitch}\r\n        control={control}\r\n        guidance={guidance}\r\n        steps={steps}\r\n        setActivity={setActivity}\r\n        setModelError={setModelError}\r\n        setReturnedPrompt={setReturnedPrompt}\r\n        setInitialReturnedPrompt={setInitialReturnedPrompt}\r\n        setInferredImage={setInferredImage}\r\n      />\r\n      <BreathingComponent />\r\n      <ScrollView\r\n        scrollY={true}\r\n        style={styles.ScrollView}\r\n        showsVerticalScrollIndicator={false}\r\n      >\r\n        {Dimensions.get('window').width > 1000 ? (\r\n          <View style={styles.rowContainer}>\r\n            {/* Left column */}\r\n            {isImagePickerVisible && (\r\n              <Pressable\r\n              onPress={() => {\r\n                setSwapImage(true);\r\n                setPlaySound(\"swoosh\");\r\n              }}\r\n              style={({ pressed }) => [\r\n                styles.swapButton,\r\n                {\r\n                  top: pressed ? Dimensions.get('window').height / 2 - 123 : Dimensions.get('window').height / 2  - 125,\r\n                  left: pressed ? Dimensions.get('window').width / 2 - 13 : Dimensions.get('window').width / 2 - 15,\r\n                  width: pressed ? 52 : 60,\r\n                  height: pressed ? 52 : 60,\r\n                },\r\n              ]}\r\n            >\r\n              {({ pressed }) => (\r\n                <Image\r\n                  source={pressed ? rotatedCircle : circleImage}\r\n                  style={[\r\n                    styles.changeButton,\r\n                    pressed ? { width: 52, height: 52 } : { width: 60, height: 60 },\r\n                  ]}\r\n                />\r\n              )}\r\n            </Pressable>\r\n            )}\r\n\r\n            <View style={styles.leftColumnContainer}>\r\n              <View>\r\n                <PromptInputComponent\r\n                  setPlaySound={setPlaySound}\r\n                  setPrompt={setPrompt}\r\n                  inferredPrompt={inferredPrompt}\r\n                />\r\n              </View>\r\n              \r\n              <View style={[styles.rowContainer, { padding: 0 }]}>\r\n                <DropDownComponent\r\n                  setPlaySound={setPlaySound}\r\n                  passModelID={passModelIDWrapper}\r\n                  \r\n                />\r\n                <View style={styles.columnContainer}>\r\n                  <Buttons\r\n                    setPlaySound={setPlaySound}\r\n                    switchToFlan={switchToFlan}\r\n                    setInferrenceButton={setInferrenceButton}\r\n                    activity={activity}\r\n                    longPrompt={longPrompt}\r\n                    setTextInference={setTextInference}\r\n                    switchPromptFunction={switchPromptFunction}\r\n                    promptLengthValue={promptLengthValue}\r\n                  />\r\n                  {modelError ? (\r\n                    <Text style={styles.promptText}>{modelMessage}</Text>\r\n                  ) : (\r\n                    <></>\r\n                  )}\r\n                </View>\r\n              </View>\r\n\r\n              <Expand\r\n              setPlaySound={setPlaySound}\r\n              isImagePickerVisible={isImagePickerVisible}\r\n              setImagePickerVisible={setImagePickerVisible}\r\n              isGuidanceVisible={isGuidanceVisible}\r\n              setIsGuidanceVisible={setIsGuidanceVisible}\r\n              isGuidance={true}\r\n            />\r\n            {isGuidanceVisible && <Text style={[styles.promptText,{ width: 500, margin: 20, fontSize: 14}]}>\r\n              Select a model from the drop down menu or by default receive a Random model. \r\n              The prompt button returns three different prompts; a seed prompt, descriptive prompt and magic prompt.\r\n              If the user creates a prompt and then uses the prompt button, user input will be treated as the seed prompt.\r\n              To generate fresh prompts clear the input window. The sliders dictate the strength of each attribute.</Text>}\r\n                <Expand\r\n                  setPlaySound={setPlaySound}\r\n                  isImagePickerVisible={isImagePickerVisible}\r\n                  setImagePickerVisible={setImagePickerVisible}\r\n                  isGuidanceVisible={isGuidanceVisible}\r\n                  setIsGuidanceVisible={setIsGuidanceVisible}\r\n                  isGuidance={false}\r\n                />\r\n                {isImagePickerVisible && (\r\n                  <MyImagePicker\r\n                    columnCount={columnCount}\r\n                    selectedImageIndex={selectedImageIndex}\r\n                    setSelectedImageIndex={setSelectedImageIndex}\r\n                    initialReturnedPrompt={initialReturnedPrompt}\r\n                    setReturnedPrompt={setReturnedPrompt}\r\n                    promptList={promptList}\r\n                    setPromptList={setPromptList}\r\n                    setPlaySound={setPlaySound}\r\n                    imageSource={imageSource}\r\n                    setImageSource={setImageSource}\r\n                    styleSwitch={styleSwitch}\r\n                    setStyleSwitch={setStyleSwitch}\r\n                    settingSwitch={settingSwitch}\r\n                    setSettingSwitch={setSettingSwitch}\r\n                  />\r\n                )}\r\n                <SliderComponent\r\n                  setSteps={setSteps}\r\n                  setGuidance={setGuidance}\r\n                  setControl={setControl}\r\n                />\r\n              \r\n            </View>\r\n            \r\n            <View style={styles.rightColumnContainer}>\r\n            <View style={styles.imageCard}>\r\n              {inferredImage && (\r\n                <Image\r\n                  source={\r\n                    typeof inferredImage === \"number\"\r\n                      ? inferredImage\r\n                      : { uri: inferredImage }\r\n                  }\r\n                  style={styles.imageStyle}\r\n                />\r\n              )}\r\n              </View>\r\n              <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n            </View>\r\n          </View>\r\n        ) : (\r\n          <View style={styles.columnContainer}>\r\n            <PromptInputComponent\r\n              setPlaySound={setPlaySound}\r\n              setPrompt={setPrompt}\r\n              inferredPrompt={inferredPrompt}\r\n            />\r\n            <DropDownComponent\r\n              setPlaySound={setPlaySound}\r\n              passModelID={passModelIDWrapper}\r\n             \r\n            />\r\n            <Buttons\r\n              setPlaySound={setPlaySound}\r\n              switchToFlan={switchToFlan}\r\n              setInferrenceButton={setInferrenceButton}\r\n              activity={activity}\r\n              longPrompt={longPrompt}\r\n              setTextInference={setTextInference}\r\n              switchPromptFunction={switchPromptFunction}\r\n              promptLengthValue={promptLengthValue}\r\n            />\r\n            {modelError ? (\r\n              <Text style={styles.promptText}>{modelMessage}</Text>\r\n            ) : (\r\n              <></>\r\n            )}\r\n            <Expand\r\n              setPlaySound={setPlaySound}\r\n              isImagePickerVisible={isImagePickerVisible}\r\n              setImagePickerVisible={setImagePickerVisible}\r\n              isGuidanceVisible={isGuidanceVisible}\r\n              setIsGuidanceVisible={setIsGuidanceVisible}\r\n              isGuidance={true}\r\n            />\r\n            {isGuidanceVisible && <Text style={[styles.promptText,{ width: 500, margin: 20, fontSize: 14}]}>\r\n              Select a model from the drop down menu or by default receive a Random model. \r\n              The prompt button returns three different prompts; a seed prompt, descriptive prompt and magic prompt.\r\n              If the user creates a prompt and then uses the prompt button, user input will be treated as the seed prompt.\r\n              To generate fresh prompts clear the input window. The sliders dictate the strength of each attribute.</Text>}\r\n            <Expand\r\n              setPlaySound={setPlaySound}\r\n              isImagePickerVisible={isImagePickerVisible}\r\n              setImagePickerVisible={setImagePickerVisible}\r\n              isGuidanceVisible={isGuidanceVisible}\r\n              setIsGuidanceVisible={setIsGuidanceVisible}\r\n              isGuidance={false}\r\n            />\r\n            <View style={{flex:1, alignItems:\"center\", justifyContent:\"center\"}}>\r\n            {isImagePickerVisible && (\r\n              <>\r\n                <MyImagePicker\r\n                  columnCount={columnCount}\r\n                  selectedImageIndex={selectedImageIndex}\r\n                  setSelectedImageIndex={setSelectedImageIndex}\r\n                  initialReturnedPrompt={initialReturnedPrompt}\r\n                  setReturnedPrompt={setReturnedPrompt}\r\n                  promptList={promptList}\r\n                  setPromptList={setPromptList}\r\n                  setPlaySound={setPlaySound}\r\n                  imageSource={imageSource}\r\n                  setImageSource={setImageSource}\r\n                  styleSwitch={styleSwitch}\r\n                  setStyleSwitch={setStyleSwitch}\r\n                  settingSwitch={settingSwitch}\r\n                  setSettingSwitch={setSettingSwitch}\r\n                />\r\n                 <Pressable\r\n              onPress={() => {\r\n                setSwapImage(true);\r\n                setPlaySound(\"swoosh\");\r\n              }}\r\n              style={({ pressed }) => [\r\n                styles.swapButtonColumn,\r\n                {\r\n                  \r\n                  width: pressed ? 52 : 60,\r\n                  height: pressed ? 52 : 60,\r\n                },\r\n              ]}\r\n            >\r\n              {({ pressed }) => (\r\n                <Image\r\n                  source={pressed ? rotatedCircle : circleImage}\r\n                  style={[\r\n                    styles.changeButton,\r\n                    pressed ? { width: 52, height: 52 } : { width: 60, height: 60 },\r\n                  ]}\r\n                />\r\n              )}\r\n            </Pressable>\r\n              </>\r\n            )}\r\n            </View>\r\n            <SliderComponent setSteps={setSteps} setGuidance={setGuidance} setControl={setControl}/>\r\n            <View style={styles.imageCard}>\r\n            {inferredImage && (\r\n              <Image\r\n                source={\r\n                  typeof inferredImage === \"number\"\r\n                    ? inferredImage\r\n                    : { uri: inferredImage }\r\n                }\r\n                style={styles.imageStyle}\r\n              />\r\n            )}\r\n            </View>\r\n            <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n          </View>\r\n        )}\r\n      </ScrollView>\r\n      <StatusBar style=\"auto\" />\r\n    </View>\r\n  );\r\n}\r\n\r\nconst colors = {\r\n  backgroundColor: \"#25292e\",\r\n  buttonBackground: \"#3a3c3f\",\r\n  color: \"#FFFFFF\",\r\n  button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n  titlecontainer: {\r\n    backgroundColor: colors.backgroundColor,\r\n    position: \"absolute\",\r\n    top: 0,\r\n    left: 0,\r\n    right: 0,\r\n    bottom: 0,\r\n    padding: 20,\r\n  },\r\n  rowContainer: {\r\n    backgroundColor: colors.backgroundColor,\r\n    display: \"flex\",\r\n    flexDirection: \"row\",\r\n    marginTop: 10,\r\n    overflow: \"visible\",\r\n    padding: 20,\r\n  },\r\n  leftColumnContainer: {\r\n    flex: 1,\r\n    alignItems: \"center\", // Center items horizontally\r\n    justifyContent: \"flex-start\",\r\n    flexDirection: \"column\",\r\n    marginRight: 10,\r\n  },\r\n  rightColumnContainer: {\r\n    flex: 1,\r\n    alignItems: \"center\",\r\n    flexDirection: \"column\",\r\n    marginLeft: 10,\r\n  },\r\n  columnContainer: {\r\n    flex: 1,\r\n    alignItems: \"center\",\r\n    flexDirection: \"column\",\r\n  },\r\n  button: {\r\n    margin: 10,\r\n    borderRadius: 4,\r\n    paddingHorizontal: 32,\r\n    elevation: 3,\r\n    fontFamily: \"Sigmar\",\r\n  },\r\n  swapButton: {\r\n    width: 60,\r\n    height: 60,\r\n    borderRadius: 30,\r\n    position: \"absolute\",\r\n    zIndex: 1,\r\n    elevation: 3,\r\n    backgroundColor: colors.buttonBackground,\r\n  },\r\n  changeButton: {\r\n    width: 60,\r\n    height: 60,\r\n    justifyContent: \"center\",\r\n    alignItems: \"center\", // change as needed\r\n    elevation: 3, // for Android shadow\r\n    shadowColor: \"#000\", // for iOS shadow\r\n    shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n    shadowOpacity: 0.25, // for iOS shadow\r\n    shadowRadius: 3.84, // for iOS shadow\r\n  },\r\n  swapButtonColumn: {\r\n    width: 60, // adjust size as needed\r\n    height: 60, // adjust size as needed\r\n    borderRadius: 30,\r\n    elevation: 3,\r\n    margin: 20,\r\n    backgroundColor: colors.buttonBackground,\r\n  },\r\n  promptText: {\r\n    color: colors.color,\r\n    fontSize: 18,\r\n    fontWeight: \"bold\",\r\n    textAlign: \"center\",\r\n    letterSpacing: 2,\r\n    lineHeight: 30,\r\n    fontFamily: \"System\",\r\n  },\r\n  ScrollView: {\r\n    backgroundColor: colors.backgroundColor,\r\n    marginTop: 50,\r\n    padding: 5,\r\n    \r\n  },\r\n  imageStyle: {\r\n    width: 320,\r\n    height: 440,\r\n    borderRadius: 18,\r\n   \r\n    alignSelf: \"center\",  \r\n  },\r\n  imageCard:{\r\n    width: 320,\r\n    height: 440,\r\n    borderRadius: 18,\r\n    marginTop: 20,\r\n    marginBottom: 20,\r\n    alignSelf: \"center\", \r\n    backgroundColor: colors.backgroundColor, \r\n    elevation: 3, \r\n    shadowColor: \"#000\",\r\n    shadowOffset: { width: 0, height: 2 }, \r\n    shadowOpacity: 0.25, \r\n    shadowRadius: 3.84, \r\n  }\r\n});\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n  <div>\n    <MainApp/>\n  </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [23], () => (__webpack_require__(9618)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","_ref","setSteps","setGuidance","setControl","_React$useState","React","_React$useState2","_slicedToArray","samplingValue","setSamplingValue","_React$useState3","_React$useState4","guidanceValue","setGuidanceValue","_React$useState5","_React$useState6","controlValue","setControlValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPlaySound","setPrompt","inferredPrompt","text","setText","textInputStyle","_objectSpread","input","Dimensions","get","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","_ref2","backgroundColor","pressed","borderRadius","padding","marginTop","justifyContent","zIndex","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","_toConsumableArray","Array","map","Animated","Value","current","useWindowDimensions","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","_useState","useState","_useState2","placeholderModelID","setPlaceholderModelID","Dropdown","dropdown","selectedTextStyle","placeholderStyle","data","label","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","addImage","selectButtonBackground","white","flatListContainer","switchesRowContainer","marginBottom","overflow","imageColumnContainer","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","imageCard","buttonBackground","shadowColor","shadowOffset","shadowOpacity","shadowRadius","changeButton","columnCount","selectedImageIndex","setSelectedImageIndex","initialReturnedPrompt","setReturnedPrompt","promptList","setPromptList","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","textHeight","setTextHeight","_useState3","_useState4","containerHeight","setContainerHeight","selectImage","_asyncToGenerator","ImagePicker","requestMediaLibraryPermissionsAsync","status","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","prevImageSource","newImageSource","assets","uri","prevPromptSource","prevPrompt","alert","_x","apply","arguments","isStartOrEndOfRow","isLastInRow","length","isFirstInRow","_Fragment","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","FlatList","numColumns","keyExtractor","toString","renderItem","_ref3","flexShrink","numberOfLines","onLayout","event","nativeEvent","layout","coloredJoin","joinButton","rowContainer","display","button","activityIndicator","marginLeft","switchToFlan","setInferrenceButton","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","comboButtonPressed","setComboButtonPressed","ActivityIndicator","size","_ref4","_ref5","_ref6","expandButton","expandImage","galleryContainer","alignSelf","isImagePickerVisible","setImagePickerVisible","setIsGuidanceVisible","isGuidanceVisible","isGuidance","rightImage","downImage","setFlanPrompt","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","fetch","method","headers","body","JSON","stringify","itemString","then","response","json","responseData","split","catch","error","inferrenceButton","setModelMessage","modelID","control","guidance","steps","setInitialReturnedPrompt","setInferredImage","reader","getReader","decoder","TextDecoder","buffer","read","processText","done","decode","stream","replace","replaceAll","indexOf","endIndex","slice","processJsonObject","parse","jsonObject","prevPromptList","concat","base64","inferreceModel","ipScaleHolder","scaledIP","getScaledIP","controlImage","modelLabel","image","target","test","output","gpuName","model","NSFW","click","swoosh","switchSound","expand","makeSound","soundRef","Audio","setAudioModeAsync","playsInSilentModeIOS","staysActiveInBackground","shouldDuckAndroid","interruptionModeIOS","INTERRUPTION_MODE_IOS_DO_NOT_MIX","interruptionModeAndroid","INTERRUPTION_MODE_ANDROID_DO_NOT_MIX","_soundRef$current","unloadAsync","playSound","sound","createAsync","shouldPlay","playAsync","assetImage","circleImage","rotatedCircle","App","useFonts","Sigmar","inferredImage","_useState5","_useState6","_useState7","_useState8","_useState9","_useState10","setModelID","_useState11","_useState12","_useState13","_useState14","_useState15","_useState16","_useState17","_useState18","modelError","_useState19","_useState20","returnedPrompt","_useState21","_useState22","_useState23","_useState24","_useState25","_useState26","shortPrompt","_useState27","_useState28","_useState29","_useState30","setPromptLengthValue","_useState31","_useState32","modelMessage","_useState33","_useState34","_useState35","_useState36","flanPrompt","_useState37","_useState38","_useState39","_useState40","_useState41","_useState42","_useState43","_useState44","_useState45","_useState46","soundIncrement","setSoundIncrement","_useState47","_useState48","setMakeSound","_useState49","_useState50","_useState51","_useState52","swapImage","setSwapImage","_useState53","_useState54","_useState55","_useState56","setColumnCount","_useState57","_useState58","passModelIDWrapper","prevSoundIncrement","handleResize","addEventListener","removeEventListener","titlecontainer","SoundPlayer","PromptInference","Inference","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","top","left","leftColumnContainer","Buttons","Expand","MyImagePicker","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","right","bottom","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","t","mode","this","ns","def","getOwnPropertyNames","definition","o","defineProperty","enumerable","g","globalThis","Function","e","window","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}