bluejoyq

add some setting for android build

Showing 512 changed files with 520 additions and 7 deletions
# 길잡이
길잡이는 정보 검색 능력 증진을 목표로 하는 어플리케이션입니다.
\ No newline at end of file
......
{
"devToolsPort": 19002,
"expoServerPort": 19000,
"packagerPort": 19001,
"packagerPid": 18068,
"expoServerNgrokUrl": "https://ru-c66.anonymous.searchguide.exp.direct",
"packagerNgrokUrl": "https://packager.ru-c66.anonymous.searchguide.exp.direct",
"ngrokPid": 11840
"expoServerPort": null,
"packagerPort": null,
"packagerPid": null,
"expoServerNgrokUrl": null,
"packagerNgrokUrl": null,
"ngrokPid": null
}
......
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/SceneView.tsx\";var SceneView=function(_React$Component){(0,_inherits2.default)(SceneView,_React$Component);function SceneView(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,SceneView);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(SceneView)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={loading:Math.abs(_this.props.navigationState.index-_this.props.index)>_this.props.lazyPreloadDistance};_this.handleEnter=function(value){var index=_this.props.index;if(value===index&&_this.state.loading){_this.setState({loading:false});}};return _this;}(0,_createClass2.default)(SceneView,[{key:\"componentDidMount\",value:function componentDidMount(){var _this2=this;if(this.props.lazy){this.props.addListener('enter',this.handleEnter);}else if(this.state.loading){setTimeout(function(){return _this2.setState({loading:false});},0);}}},{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps,prevState){if(this.props.lazy!==prevProps.lazy||this.state.loading!==prevState.loading){if(this.props.lazy&&this.state.loading){this.props.addListener('enter',this.handleEnter);}else{this.props.removeListener('enter',this.handleEnter);}}}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this.props.removeListener('enter',this.handleEnter);}},{key:\"render\",value:function render(){var _this$props=this.props,navigationState=_this$props.navigationState,index=_this$props.index,layout=_this$props.layout,style=_this$props.style;var loading=this.state.loading;var focused=navigationState.index===index;return React.createElement(_View.default,{accessibilityElementsHidden:!focused,importantForAccessibility:focused?'auto':'no-hide-descendants',style:[styles.route,layout.width?{width:layout.width}:focused?_StyleSheet.default.absoluteFill:null,style],__source:{fileName:_jsxFileName,lineNumber:92}},focused||layout.width?this.props.children({loading:loading}):null);}}],[{key:\"getDerivedStateFromProps\",value:function getDerivedStateFromProps(props,state){if(state.loading&&Math.abs(props.navigationState.index-props.index)<=props.lazyPreloadDistance){return{loading:false};}return null;}}]);return SceneView;}(React.Component);exports.default=SceneView;var styles=_StyleSheet.default.create({route:{flex:1,overflow:'hidden'}});","map":{"version":3,"sources":["SceneView.tsx"],"names":["SceneView","React","props","state","Math","loading","setTimeout","prevProps","prevState","handleEnter","index","value","navigationState","layout","style","focused","styles","width","StyleSheet","route","flex","overflow"],"mappings":"ktBAAA,oD,uQAuBqBA,GAAAA,CAAAA,S,8bAiBnBG,K,CAAQ,CACNE,OAAO,CACLD,IAAI,CAAJA,GAAAA,CAAS,KAAA,CAAA,KAAA,CAAA,e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AAf","sourcesContent":["import * as React from 'react';\nimport { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';\nimport {\n SceneRendererProps,\n EventEmitterProps,\n NavigationState,\n Route,\n} from './types';\n\ntype Props<T extends Route> = SceneRendererProps &\n EventEmitterProps & {\n navigationState: NavigationState<T>;\n lazy: boolean;\n lazyPreloadDistance: number;\n index: number;\n children: (props: { loading: boolean }) => React.ReactNode;\n style?: StyleProp<ViewStyle>;\n };\n\ntype State = {\n loading: boolean;\n};\n\nexport default class SceneView<T extends Route> extends React.Component<\n Props<T>,\n State\n> {\n static getDerivedStateFromProps(props: Props<Route>, state: State) {\n if (\n state.loading &&\n Math.abs(props.navigationState.index - props.index) <=\n props.lazyPreloadDistance\n ) {\n // Always render the route when it becomes focused\n return { loading: false };\n }\n\n return null;\n }\n\n state = {\n loading:\n Math.abs(this.props.navigationState.index - this.props.index) >\n this.props.lazyPreloadDistance,\n };\n\n componentDidMount() {\n if (this.props.lazy) {\n // If lazy mode is enabled, listen to when we enter screens\n this.props.addListener('enter', this.handleEnter);\n } else if (this.state.loading) {\n // If lazy mode is not enabled, render the scene with a delay if not loaded already\n // This improves the initial startup time as the scene is no longer blocking\n setTimeout(() => this.setState({ loading: false }), 0);\n }\n }\n\n componentDidUpdate(prevProps: Props<T>, prevState: State) {\n if (\n this.props.lazy !== prevProps.lazy ||\n this.state.loading !== prevState.loading\n ) {\n // We only need the listener if the tab hasn't loaded yet and lazy is enabled\n if (this.props.lazy && this.state.loading) {\n this.props.addListener('enter', this.handleEnter);\n } else {\n this.props.removeListener('enter', this.handleEnter);\n }\n }\n }\n\n componentWillUnmount() {\n this.props.removeListener('enter', this.handleEnter);\n }\n\n private handleEnter = (value: number) => {\n const { index } = this.props;\n\n // If we're entering the current route, we need to load it\n if (value === index && this.state.loading) {\n this.setState({ loading: false });\n }\n };\n\n render() {\n const { navigationState, index, layout, style } = this.props;\n const { loading } = this.state;\n\n const focused = navigationState.index === index;\n\n return (\n <View\n accessibilityElementsHidden={!focused}\n importantForAccessibility={focused ? 'auto' : 'no-hide-descendants'}\n style={[\n styles.route,\n // If we don't have the layout yet, make the focused screen fill the container\n // This avoids delay before we are able to render pages side by side\n layout.width\n ? { width: layout.width }\n : focused\n ? StyleSheet.absoluteFill\n : null,\n style,\n ]}\n >\n {// Only render the route only if it's either focused or layout is available\n // When layout is not available, we must not render unfocused routes\n // so that the focused route can fill the screen\n focused || layout.width ? this.props.children({ loading }) : null}\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n route: {\n flex: 1,\n overflow: 'hidden',\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var array=_interopRequireWildcard(require(\"d3-array\"));var scale=_interopRequireWildcard(require(\"d3-scale\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvg=_interopRequireDefault(require(\"react-native-svg\"));var _animatedPath=_interopRequireDefault(require(\"../animated-path\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var Chart=function(_PureComponent){(0,_inherits2.default)(Chart,_PureComponent);function Chart(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Chart);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Chart)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={width:0,height:0};return _this;}(0,_createClass2.default)(Chart,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"createPaths\",value:function createPaths(){throw'Extending \"Chart\" requires you to override \"createPaths';}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,data=_this$props.data,xAccessor=_this$props.xAccessor,yAccessor=_this$props.yAccessor,yScale=_this$props.yScale,xScale=_this$props.xScale,style=_this$props.style,animate=_this$props.animate,animationDuration=_this$props.animationDuration,numberOfTicks=_this$props.numberOfTicks,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.top,top=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.bottom,bottom=_this$props$contentIn3===void 0?0:_this$props$contentIn3,_this$props$contentIn4=_this$props$contentIn.left,left=_this$props$contentIn4===void 0?0:_this$props$contentIn4,_this$props$contentIn5=_this$props$contentIn.right,right=_this$props$contentIn5===void 0?0:_this$props$contentIn5,gridMax=_this$props.gridMax,gridMin=_this$props.gridMin,clampX=_this$props.clampX,clampY=_this$props.clampY,svg=_this$props.svg,children=_this$props.children;var _this$state=this.state,width=_this$state.width,height=_this$state.height;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var mappedData=data.map(function(item,index){return{y:yAccessor({item:item,index:index}),x:xAccessor({item:item,index:index})};});var yValues=mappedData.map(function(item){return item.y;});var xValues=mappedData.map(function(item){return item.x;});var yExtent=array.extent([].concat((0,_toConsumableArray2.default)(yValues),[gridMin,gridMax]));var xExtent=array.extent((0,_toConsumableArray2.default)(xValues));var _this$props2=this.props,_this$props2$yMin=_this$props2.yMin,yMin=_this$props2$yMin===void 0?yExtent[0]:_this$props2$yMin,_this$props2$yMax=_this$props2.yMax,yMax=_this$props2$yMax===void 0?yExtent[1]:_this$props2$yMax,_this$props2$xMin=_this$props2.xMin,xMin=_this$props2$xMin===void 0?xExtent[0]:_this$props2$xMin,_this$props2$xMax=_this$props2.xMax,xMax=_this$props2$xMax===void 0?xExtent[1]:_this$props2$xMax;var y=yScale().domain([yMin,yMax]).range([height-bottom,top]).clamp(clampY);var x=xScale().domain([xMin,xMax]).range([left,width-right]).clamp(clampX);var paths=this.createPaths({data:mappedData,x:x,y:y});var ticks=y.ticks(numberOfTicks);var extraProps=_objectSpread({x:x,y:y,data:data,ticks:ticks,width:width,height:height},paths);return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),_react.default.createElement(_animatedPath.default,(0,_extends2.default)({fill:'none'},svg,{d:paths.path,animate:animate,animationDuration:animationDuration})),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}))));}}]);return Chart;}(_react.PureComponent);Chart.propTypes={data:_propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.object),_propTypes.default.arrayOf(_propTypes.default.number),_propTypes.default.arrayOf(_propTypes.default.array)]).isRequired,svg:_propTypes.default.object,style:_propTypes.default.any,animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,curve:_propTypes.default.func,contentInset:_propTypes.default.shape({top:_propTypes.default.number,left:_propTypes.default.number,right:_propTypes.default.number,bottom:_propTypes.default.number}),numberOfTicks:_propTypes.default.number,gridMin:_propTypes.default.number,gridMax:_propTypes.default.number,yMin:_propTypes.default.any,yMax:_propTypes.default.any,xMin:_propTypes.default.any,xMax:_propTypes.default.any,clampX:_propTypes.default.bool,clampY:_propTypes.default.bool,xScale:_propTypes.default.func,yScale:_propTypes.default.func,xAccessor:_propTypes.default.func,yAccessor:_propTypes.default.func};Chart.defaultProps={svg:{},width:100,height:100,curve:shape.curveLinear,contentInset:{},numberOfTicks:10,xScale:scale.scaleLinear,yScale:scale.scaleLinear,xAccessor:function xAccessor(_ref){var index=_ref.index;return index;},yAccessor:function yAccessor(_ref2){var item=_ref2.item;return item;}};var _default=Chart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/chart/chart.js"],"names":["Chart","state","width","height","event","nativeEvent","layout","setState","props","data","xAccessor","yAccessor","yScale","xScale","style","animate","animationDuration","numberOfTicks","contentInset","top","bottom","left","right","gridMax","gridMin","clampX","clampY","svg","children","length","mappedData","map","item","index","y","x","yValues","xValues","yExtent","array","extent","xExtent","yMin","yMax","xMin","xMax","domain","range","clamp","paths","createPaths","ticks","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","path","PureComponent","propTypes","PropTypes","oneOfType","arrayOf","object","number","isRequired","any","bool","curve","func","shape","defaultProps","curveLinear","scale","scaleLinear"],"mappings":"o+BAAA,uDACA,uDACA,uDACA,6DACA,qD,gFAEA,wEACA,sE,4xBAEMA,CAAAA,K,0aACFC,K,CAAQ,CACJC,KAAK,CAAE,CADH,CAEJC,MAAM,CAAE,CAFJ,C,0FAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAGLC,MAHK,CAGKH,MAHL,uBAGKA,MAHL,CAGaD,KAHb,uBAGaA,KAHb,CAMb,KAAKK,QAAL,CAAc,CAAEJ,MAAM,CAANA,MAAF,CAAUD,KAAK,CAALA,KAAV,CAAd,EACH,C,iDAEa,CACV,KAAM,yDAAN,CACH,C,uCAEQ,iCAkBD,KAAKM,KAlBJ,CAEDC,IAFC,aAEDA,IAFC,CAGDC,SAHC,aAGDA,SAHC,CAIDC,SAJC,aAIDA,SAJC,CAKDC,MALC,aAKDA,MALC,CAMDC,MANC,aAMDA,MANC,CAODC,KAPC,aAODA,KAPC,CAQDC,OARC,aAQDA,OARC,CASDC,iBATC,aASDA,iBATC,CAUDC,aAVC,aAUDA,aAVC,mCAWDC,YAXC,8CAWeC,GAXf,CAWeA,GAXf,iCAWqB,CAXrB,qEAWwBC,MAXxB,CAWwBA,MAXxB,iCAWiC,CAXjC,qEAWoCC,IAXpC,CAWoCA,IAXpC,iCAW2C,CAX3C,qEAW8CC,KAX9C,CAW8CA,KAX9C,iCAWsD,CAXtD,wBAYDC,OAZC,aAYDA,OAZC,CAaDC,OAbC,aAaDA,OAbC,CAcDC,MAdC,aAcDA,MAdC,CAeDC,MAfC,aAeDA,MAfC,CAgBDC,GAhBC,aAgBDA,GAhBC,CAiBDC,QAjBC,aAiBDA,QAjBC,iBAoBqB,KAAK3B,KApB1B,CAoBGC,KApBH,aAoBGA,KApBH,CAoBUC,MApBV,aAoBUA,MApBV,CAsBL,GAAIM,IAAI,CAACoB,MAAL,GAAgB,CAApB,CAAuB,CACnB,MAAO,8BAAC,aAAD,EAA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AO,CAAEwC,mBAAUI,MAvBL,CAyBdzB,IAAI,CAAEqB,mBAAUM,GAzBF,CA0Bd1B,IAAI,CAAEoB,mBAAUM,GA1BF,CA2BdzB,IAAI,CAAEmB,mBAAUM,GA3BF,CA4BdxB,IAAI,CAAEkB,mBAAUM,GA5BF,CA6Bd5C,MAAM,CAAEsC,mBAAUO,IA7BJ,CA8Bd5C,MAAM,CAAEqC,mBAAUO,IA9BJ,CAgCdzD,MAAM,CAAEkD,mBAAUS,IAhCJ,CAiCd5D,MAAM,CAAEmD,mBAAUS,IAjCJ,CAmCd9D,SAAS,CAAEqD,mBAAUS,IAnCP,CAoCd7D,SAAS,CAAEoD,mBAAUS,IApCP,CAAlB,CAuCAxE,KAAK,CAAC0E,YAAN,CAAqB,CACjB/C,GAAG,CAAE,EADY,CAEjBzB,KAAK,CAAE,GAFU,CAGjBC,MAAM,CAAE,GAHS,CAIjBoE,KAAK,CAAEE,KAAK,CAACE,WAJI,CAKjBzD,YAAY,CAAE,EALG,CAMjBD,aAAa,CAAE,EANE,CAOjBJ,MAAM,CAAE+D,KAAK,CAACC,WAPG,CAQjBjE,MAAM,CAAEgE,KAAK,CAACC,WARG,CASjBnE,SAAS,CAAE,4BAAGuB,CAAAA,KAAH,MAAGA,KAAH,OAAeA,CAAAA,KAAf,EATM,CAUjBtB,SAAS,CAAE,6BAAGqB,CAAAA,IAAH,OAAGA,IAAH,OAAcA,CAAAA,IAAd,EAVM,CAArB,C,aAaehC,K","sourcesContent":["import * as array from 'd3-array'\nimport * as scale from 'd3-scale'\nimport * as shape from 'd3-shape'\nimport PropTypes from 'prop-types'\nimport React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport Svg from 'react-native-svg'\nimport Path from '../animated-path'\n\nclass Chart extends PureComponent {\n state = {\n width: 0,\n height: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n createPaths() {\n throw 'Extending \"Chart\" requires you to override \"createPaths'\n }\n\n render() {\n const {\n data,\n xAccessor,\n yAccessor,\n yScale,\n xScale,\n style,\n animate,\n animationDuration,\n numberOfTicks,\n contentInset: { top = 0, bottom = 0, left = 0, right = 0 },\n gridMax,\n gridMin,\n clampX,\n clampY,\n svg,\n children,\n } = this.props\n\n const { width, height } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const mappedData = data.map((item, index) => ({\n y: yAccessor({ item, index }),\n x: xAccessor({ item, index }),\n }))\n\n const yValues = mappedData.map((item) => item.y)\n const xValues = mappedData.map((item) => item.x)\n\n const yExtent = array.extent([...yValues, gridMin, gridMax])\n const xExtent = array.extent([...xValues])\n\n const { yMin = yExtent[0], yMax = yExtent[1], xMin = xExtent[0], xMax = xExtent[1] } = this.props\n\n //invert range to support svg coordinate system\n const y = yScale()\n .domain([yMin, yMax])\n .range([height - bottom, top])\n .clamp(clampY)\n\n const x = xScale()\n .domain([xMin, xMax])\n .range([left, width - right])\n .clamp(clampX)\n\n const paths = this.createPaths({\n data: mappedData,\n x,\n y,\n })\n\n const ticks = y.ticks(numberOfTicks)\n\n const extraProps = {\n x,\n y,\n data,\n ticks,\n width,\n height,\n ...paths,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n <Path\n fill={'none'}\n {...svg}\n d={paths.path}\n animate={animate}\n animationDuration={animationDuration}\n />\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nChart.propTypes = {\n data: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.object),\n PropTypes.arrayOf(PropTypes.number),\n PropTypes.arrayOf(PropTypes.array),\n ]).isRequired,\n svg: PropTypes.object,\n\n style: PropTypes.any,\n\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n\n curve: PropTypes.func,\n contentInset: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n }),\n numberOfTicks: PropTypes.number,\n\n gridMin: PropTypes.number,\n gridMax: PropTypes.number,\n\n yMin: PropTypes.any,\n yMax: PropTypes.any,\n xMin: PropTypes.any,\n xMax: PropTypes.any,\n clampX: PropTypes.bool,\n clampY: PropTypes.bool,\n\n xScale: PropTypes.func,\n yScale: PropTypes.func,\n\n xAccessor: PropTypes.func,\n yAccessor: PropTypes.func,\n}\n\nChart.defaultProps = {\n svg: {},\n width: 100,\n height: 100,\n curve: shape.curveLinear,\n contentInset: {},\n numberOfTicks: 10,\n xScale: scale.scaleLinear,\n yScale: scale.scaleLinear,\n xAccessor: ({ index }) => index,\n yAccessor: ({ item }) => item,\n}\n\nexport default Chart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _chart=_interopRequireDefault(require(\"./chart/chart\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var AreaChart=function(_Chart){(0,_inherits2.default)(AreaChart,_Chart);function AreaChart(){(0,_classCallCheck2.default)(this,AreaChart);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AreaChart).apply(this,arguments));}(0,_createClass2.default)(AreaChart,[{key:\"createPaths\",value:function createPaths(_ref){var data=_ref.data,x=_ref.x,y=_ref.y;var _this$props=this.props,curve=_this$props.curve,start=_this$props.start;var area=shape.area().x(function(d){return x(d.x);}).y0(y(start)).y1(function(d){return y(d.y);}).defined(function(item){return typeof item.y==='number';}).curve(curve)(data);var line=shape.line().x(function(d){return x(d.x);}).y(function(d){return y(d.y);}).defined(function(item){return typeof item.y==='number';}).curve(curve)(data);return{path:area,area:area,line:line};}}]);return AreaChart;}(_chart.default);AreaChart.propTypes=_objectSpread({},_chart.default.propTypes,{start:_propTypes.default.number});AreaChart.defaultProps=_objectSpread({},_chart.default.defaultProps,{start:0});var _default=AreaChart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/area-chart.js"],"names":["AreaChart","data","x","y","props","curve","start","area","shape","d","y0","y1","defined","item","line","path","Chart","propTypes","PropTypes","number","defaultProps"],"mappings":"gzBAAA,uDACA,6DACA,4D,4xBAEMA,CAAAA,S,wUAC0B,IAAdC,CAAAA,IAAc,MAA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types'\nimport Chart from './chart/chart'\n\nclass AreaChart extends Chart {\n createPaths({ data, x, y }) {\n const { curve, start } = this.props\n\n const area = shape\n .area()\n .x((d) => x(d.x))\n .y0(y(start))\n .y1((d) => y(d.y))\n .defined((item) => typeof item.y === 'number')\n .curve(curve)(data)\n\n const line = shape\n .line()\n .x((d) => x(d.x))\n .y((d) => y(d.y))\n .defined((item) => typeof item.y === 'number')\n .curve(curve)(data)\n\n return {\n path: area,\n area,\n line,\n }\n }\n}\n\nAreaChart.propTypes = {\n ...Chart.propTypes,\n start: PropTypes.number,\n}\n\nAreaChart.defaultProps = {\n ...Chart.defaultProps,\n start: 0,\n}\n\nexport default AreaChart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _react=_interopRequireDefault(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _reactNativeSvg=require(\"react-native-svg\");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var Horizontal=function Horizontal(_ref){var _ref$ticks=_ref.ticks,ticks=_ref$ticks===void 0?[]:_ref$ticks,y=_ref.y,svg=_ref.svg;return _react.default.createElement(_reactNativeSvg.G,null,ticks.map(function(tick){return _react.default.createElement(_reactNativeSvg.Line,(0,_extends2.default)({key:tick,x1:'0%',x2:'100%',y1:y(tick),y2:y(tick),strokeWidth:1,stroke:'rgba(0,0,0,0.2)'},svg));}));};var Vertical=function Vertical(_ref2){var _ref2$ticks=_ref2.ticks,ticks=_ref2$ticks===void 0?[]:_ref2$ticks,x=_ref2.x,svg=_ref2.svg;return _react.default.createElement(_reactNativeSvg.G,null,ticks.map(function(tick,index){return _react.default.createElement(_reactNativeSvg.Line,(0,_extends2.default)({key:index,y1:'0%',y2:'100%',x1:x(tick),x2:x(tick),strokeWidth:1,stroke:'rgba(0,0,0,0.2)'},svg));}));};var Both=function Both(props){return _react.default.createElement(_reactNativeSvg.G,null,_react.default.createElement(Horizontal,props),_react.default.createElement(Vertical,props));};Vertical.propTypes={x:_propTypes.default.func,dataPoints:_propTypes.default.array,svg:_propTypes.default.object};Horizontal.propTypes={y:_propTypes.default.func,ticks:_propTypes.default.array};Both.propTypes=_objectSpread({},Vertical.propTypes,{},Horizontal.propTypes);var Direction={VERTICAL:'VERTICAL',HORIZONTAL:'HORIZONTAL',BOTH:'BOTH'};var Grid=function Grid(_ref3){var direction=_ref3.direction,props=(0,_objectWithoutProperties2.default)(_ref3,[\"direction\"]);if(direction===Direction.VERTICAL){return _react.default.createElement(Vertical,props);}else if(direction===Direction.HORIZONTAL){return _react.default.createElement(Horizontal,props);}else if(direction===Direction.BOTH){return _react.default.createElement(Both,props);}return null;};Grid.Direction=Direction;Grid.propTypes={direction:_propTypes.default.oneOf(Object.values(Direction)),belowChart:_propTypes.default.bool,svg:_propTypes.default.object};Grid.defaultProps={direction:Direction.HORIZONTAL,belowChart:true};var _default=Grid;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/grid.js"],"names":["Horizontal","ticks","y","svg","map","tick","Vertical","x","index","Both","props","propTypes","PropTypes","func","dataPoints","array","object","Direction","VERTICAL","HORIZONTAL","BOTH","Grid","direction","oneOf","Object","values","belowChart","bool","defaultProps"],"mappings":"icAAA,oDACA,6DACA,gD,yxBAEA,GAAMA,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,MAA4B,qBAAzBC,KAAyB,CAAzBA,KAAyB,qBAAjB,EAAiB,YAAbC,CAAa,MAAbA,CAAa,CAAVC,GAAU,MAAVA,GAAU,CAC3C,MACI,8BAAC,iBAAD,MACKF,KAAK,CAACG,GAAN,CAAU,SAACC,IAAD,QACP,8BAAC,oBAAD,wBACI,GAAG,CAAEA,IADT,CAEI,EAAE,CAAE,IAFR,CAGI,EAAE,CAAE,MAHR,CAII,EAAE,CAAEH,CAAC,CAACG,IAAD,CAJT,CAKI,EAAE,CAAEH,CAAC,CAACG,IAAD,CALT,CAMI,WAAW,CAAE,CANjB,CAOI,MAAM,CAAE,iBAPZ,EAQQF,GARR,EADO,EAAV,CADL,CADJ,CAgBH,CAjBD,CAmBA,GAAMG,CAAAA,QAAQ,CAAG,QAAXA,CAAAA,QAAW,OAA4B,uBAAzBL,KAAyB,CAAzBA,KAAyB,sBAAjB,EAAiB,aAAbM,CAAa,OAAbA,CAAa,CAAVJ,GAAU,OAAVA,GAAU,CACzC,MACI,8BAAC,iBAAD,MACKF,KAAK,CAACG,GAAN,CAAU,SAACC,IAAD,CAAOG,KAAP,QACP,8BAAC,oBAAD,wBACI,GAAG,CAAEA,KADT,CAEI,EAAE,CAAE,IAFR,CAGI,EAAE,CAAE,MAHR,CAII,EAAE,CAAED,CAAC,CAACF,IAAD,CAJT,CAKI,EAAE,CAAEE,CAAC,CAACF,IAAD,CALT,CAMI,WAAW,CAAE,CANjB,CAOI,MAAM,CAAE,iBAPZ,EAQQF,GARR,EADO,EAAV,CADL,CADJ,CAgBH,CAjBD,CAmBA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C,MAAP,CAAcR,SAAd,CAAhB,CADE,CAEbS,UAAU,CAAEd,mBAAUe,IAFT,CAGbxB,GAAG,CAAES,mBAAUI,MAHF,CAAjB,CAMAK,IAAI,CAACO,YAAL,CAAoB,CAChBN,SAAS,CAAEL,SAAS,CAACE,UADL,CAEhBO,UAAU,CAAE,IAFI,CAApB,C,aAKeL,I","sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { G, Line } from 'react-native-svg'\n\nconst Horizontal = ({ ticks = [], y, svg }) => {\n return (\n <G>\n {ticks.map((tick) => (\n <Line\n key={tick}\n x1={'0%'}\n x2={'100%'}\n y1={y(tick)}\n y2={y(tick)}\n strokeWidth={1}\n stroke={'rgba(0,0,0,0.2)'}\n {...svg}\n />\n ))}\n </G>\n )\n}\n\nconst Vertical = ({ ticks = [], x, svg }) => {\n return (\n <G>\n {ticks.map((tick, index) => (\n <Line\n key={index}\n y1={'0%'}\n y2={'100%'}\n x1={x(tick)}\n x2={x(tick)}\n strokeWidth={1}\n stroke={'rgba(0,0,0,0.2)'}\n {...svg}\n />\n ))}\n </G>\n )\n}\n\nconst Both = (props) => {\n return (\n <G>\n <Horizontal {...props} />\n <Vertical {...props} />\n </G>\n )\n}\n\nVertical.propTypes = {\n x: PropTypes.func,\n dataPoints: PropTypes.array,\n svg: PropTypes.object,\n}\n\nHorizontal.propTypes = {\n y: PropTypes.func,\n ticks: PropTypes.array,\n}\n\nBoth.propTypes = {\n ...Vertical.propTypes,\n ...Horizontal.propTypes,\n}\n\nconst Direction = {\n VERTICAL: 'VERTICAL',\n HORIZONTAL: 'HORIZONTAL',\n BOTH: 'BOTH',\n}\n\nconst Grid = ({ direction, ...props }) => {\n if (direction === Direction.VERTICAL) {\n return <Vertical {...props} />\n } else if (direction === Direction.HORIZONTAL) {\n return <Horizontal {...props} />\n } else if (direction === Direction.BOTH) {\n return <Both {...props} />\n }\n\n return null\n}\n\nGrid.Direction = Direction\n\nGrid.propTypes = {\n direction: PropTypes.oneOf(Object.values(Direction)),\n belowChart: PropTypes.bool,\n svg: PropTypes.object,\n}\n\nGrid.defaultProps = {\n direction: Direction.HORIZONTAL,\n belowChart: true,\n}\n\nexport default Grid\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"","map":{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":["\n//# sourceMappingURL=types.js.map"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.evaluateOnce=evaluateOnce;var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));var _AnimatedSet=require(\"../core/AnimatedSet\");var _AnimatedCall=require(\"../core/AnimatedCall\");var _AnimatedAlways=require(\"../core/AnimatedAlways\");var _AnimatedCond=require(\"../core/AnimatedCond\");function evaluateOnce(node){var input=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var callback=arguments.length>2?arguments[2]:undefined;if(!Array.isArray(input)){input=[input];}var done=new _InternalAnimatedValue.default(0);var evalNode=(0,_AnimatedCond.createAnimatedCond)(done,0,(0,_AnimatedCall.createAnimatedCall)([node,(0,_AnimatedSet.createAnimatedSet)(done,1)],function(){callback&&callback();for(var i=0;i<input.length;i++){input[i].__removeChild(alwaysNode);alwaysNode.__detach();}}));var alwaysNode=(0,_AnimatedAlways.createAnimatedAlways)(evalNode);for(var i=0;i<input.length;i++){input[i].__addChild(alwaysNode);alwaysNode.__attach();}}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/evaluateOnce.js"],"names":["evaluateOnce","node","input","callback","Array","isArray","done","AnimatedValue","evalNode","i","length","__removeChild","alwaysNode","__detach","__addChild","__attach"],"mappings":"8KAAA,4FACA,gDACA,kDACA,sDACA,kDASO,QAASA,CAAAA,YAAT,CAAsBC,IAAtB,CAAkD,IAAtBC,CAAAA,KAAsB,2DAAd,EAAc,IAAVC,CAAAA,QAAU,2CACvD,GAAI,CAACC,KAAK,CAACC,OAAN,CAAcH,KAAd,CAAL,CAA2B,CACzBA,KAAK,CAAG,CAACA,KAAD,CAAR,CACD,CACD,GAAMI,CAAAA,IAAI,CAAG,GAAIC,+BAAJ,CAAkB,CAAlB,CAAb,CACA,GAAMC,CAAAA,QAAQ,CAAG,qCACfF,IADe,CAEf,CAFe,CAGf,qCAAK,CAACL,IAAD,CAAO,mCAAIK,IAAJ,CAAU,CAAV,CAAP,CAAL,CAA2B,UAAM,CAC/BH,QAAQ,EAAIA,QAAQ,EAApB,CACA,IAAK,GAAIM,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGP,KAAK,CAACQ,MAA1B,CAAkCD,CAAC,EAAnC,CAAuC,CACrCP,KAAK,CAACO,CAAD,CAAL,CAASE,aAAT,CAAuBC,UAAvB,EACAA,UAAU,CAACC,QAAX,GACD,CACF,CAND,CAHe,CAAjB,CAWA,GAAMD,CAAAA,UAAU,CAAG,yCAAOJ,QAAP,CAAnB,CACA,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGP,KAAK,CAACQ,MAA1B,CAAkCD,CAAC,EAAnC,CAAuC,CACrCP,KAAK,CAACO,CAAD,CAAL,CAASK,UAAT,CAAoBF,UAApB,EACAA,UAAU,CAACG,QAAX,GACD,CACF","sourcesContent":["import AnimatedValue from '../core/InternalAnimatedValue';\nimport { createAnimatedSet as set } from '../core/AnimatedSet';\nimport { createAnimatedCall as call } from '../core/AnimatedCall';\nimport { createAnimatedAlways as always } from '../core/AnimatedAlways';\nimport { createAnimatedCond as cond } from '../core/AnimatedCond';\n\n/**\n * evaluate given node and notify children\n * @param node - node to be evaluated\n * @param input - nodes (or one node) representing values which states input for node.\n * @param callback - after callback\n */\n\nexport function evaluateOnce(node, input = [], callback) {\n if (!Array.isArray(input)) {\n input = [input];\n }\n const done = new AnimatedValue(0);\n const evalNode = cond(\n done,\n 0,\n call([node, set(done, 1)], () => {\n callback && callback();\n for (let i = 0; i < input.length; i++) {\n input[i].__removeChild(alwaysNode);\n alwaysNode.__detach();\n }\n })\n );\n const alwaysNode = always(evalNode);\n for (let i = 0; i < input.length; i++) {\n input[i].__addChild(alwaysNode);\n alwaysNode.__attach();\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _StyledText=_interopRequireDefault(require(\"./StyledText\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Typography/Caption.tsx\";var Caption=function Caption(props){return React.createElement(_StyledText.default,(0,_extends2.default)({},props,{alpha:0.54,family:\"regular\",style:[styles.text,props.style],__source:{fileName:_jsxFileName,lineNumber:32}}));};var _default=Caption;exports.default=_default;var styles=_StyleSheet.default.create({text:{fontSize:12,lineHeight:20,marginVertical:2,letterSpacing:0.4}});","map":{"version":3,"sources":["Caption.tsx"],"names":["Caption","styles","props","StyleSheet","text","fontSize","lineHeight","marginVertical","letterSpacing"],"mappings":"wUAAA,oD,4FAEA,gE,6GA4BA,GAAMA,CAAAA,OAAO,CAAPA,QAAAA,CAAAA,OAAAA,CAAU,KAAVA,CAAU,CAAA,MACd,CAAA,KAAA,CAAA,aAAA,CAAA,mBAAA,CAAA,sBAAA,EAAA,CAAA,KAAA,CAAA,CAEE,KAAK,CAFP,IAAA,CAGE,MAAM,CAHR,SAAA,CAIE,KAAK,CAAE,CAACC,MAAM,CAAP,IAAA,CAAcC,KAAK,CAJ5B,KAIS,CAJT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADc,EACd,CAAA,CAAA,CAAA,CADc,CAAhB,CAAA,C,aASA,O,0BAEA,GAAMD,CAAAA,MAAM,CAAGE,oBAAAA,MAAAA,CAAkB,CAC/BC,IAAI,CAAE,CACJC,QAAQ,CADJ,EAAA,CAEJC,UAAU,CAFN,EAAA,CAGJC,cAAc,CAHV,CAAA,CAIJC,aAAa,CALjB,GACQ,CADyB,CAAlBL,CAAf","sourcesContent":["import * as React from 'react';\nimport { Text, TextStyle, StyleSheet, StyleProp } from 'react-native';\nimport StyledText from './StyledText';\n\ntype Props = React.ComponentProps<typeof Text> & {\n style?: StyleProp<TextStyle>;\n children: React.ReactNode;\n};\n\n// @component-group Typography\n\n/**\n * Typography component for showing a caption.\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/caption.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Caption } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Caption>Caption</Caption>\n * );\n *\n * export default MyComponent;\n * ```\n */\nconst Caption = (props: Props) => (\n <StyledText\n {...props}\n alpha={0.54}\n family=\"regular\"\n style={[styles.text, props.style]}\n />\n);\n\nexport default Caption;\n\nconst styles = StyleSheet.create({\n text: {\n fontSize: 12,\n lineHeight: 20,\n marginVertical: 2,\n letterSpacing: 0.4,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=onChange;var _base=require(\"../base\");var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));function onChange(value,action){var prevValue=new _InternalAnimatedValue.default();return(0,_base.block)([(0,_base.cond)((0,_base.not)((0,_base.defined)(prevValue)),(0,_base.set)(prevValue,value)),(0,_base.cond)((0,_base.neq)(value,prevValue),[(0,_base.set)(prevValue,value),action])]);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/onChange.js"],"names":["onChange","value","action","prevValue","AnimatedValue"],"mappings":"qKAAA,6BACA,4FAEe,QAASA,CAAAA,QAAT,CAAkBC,KAAlB,CAAyBC,MAAzB,CAAiC,CAC9C,GAAMC,CAAAA,SAAS,CAAG,GAAIC,+BAAJ,EAAlB,CACA,MAAO,gBAAM,CACX,eAAK,cAAI,kBAAQD,SAAR,CAAJ,CAAL,CAA8B,cAAIA,SAAJ,CAAeF,KAAf,CAA9B,CADW,CAEX,eAAK,cAAIA,KAAJ,CAAWE,SAAX,CAAL,CAA4B,CAAC,cAAIA,SAAJ,CAAeF,KAAf,CAAD,CAAwBC,MAAxB,CAA5B,CAFW,CAAN,CAAP,CAID","sourcesContent":["import { block, cond, defined, neq, not, set } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nexport default function onChange(value, action) {\n const prevValue = new AnimatedValue();\n return block([\n cond(not(defined(prevValue)), set(prevValue, value)),\n cond(neq(value, prevValue), [set(prevValue, value), action]),\n ]);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _normalizeColor=_interopRequireDefault(require(\"../../modules/normalizeColor\"));var _normalizeValueWithProperty=_interopRequireDefault(require(\"./normalizeValueWithProperty\"));var defaultOffset={height:0,width:0};var resolveShadowValue=function resolveShadowValue(style){var shadowColor=style.shadowColor,shadowOffset=style.shadowOffset,shadowOpacity=style.shadowOpacity,shadowRadius=style.shadowRadius;var _ref=shadowOffset||defaultOffset,height=_ref.height,width=_ref.width;var offsetX=(0,_normalizeValueWithProperty.default)(width);var offsetY=(0,_normalizeValueWithProperty.default)(height);var blurRadius=(0,_normalizeValueWithProperty.default)(shadowRadius||0);var color=(0,_normalizeColor.default)(shadowColor||'black',shadowOpacity);if(color!=null&&offsetX!=null&&offsetY!=null&&blurRadius!=null){return offsetX+\" \"+offsetY+\" \"+blurRadius+\" \"+color;}};var _default=resolveShadowValue;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/resolveShadowValue.js"],"names":["defaultOffset","height","width","resolveShadowValue","style","shadowColor","shadowOffset","shadowOpacity","shadowRadius","_ref","offsetX","offsetY","blurRadius","color"],"mappings":"mKAQA,oFACA,gGACA,GAAIA,CAAAA,aAAa,CAAG,CAClBC,MAAM,CAAE,CADU,CAElBC,KAAK,CAAE,CAFW,CAApB,CAKA,GAAIC,CAAAA,kBAAkB,CAAG,QAASA,CAAAA,kBAAT,CAA4BC,KAA5B,CAAmC,CAC1D,GAAIC,CAAAA,WAAW,CAAGD,KAAK,CAACC,WAAxB,CACIC,YAAY,CAAGF,KAAK,CAACE,YADzB,CAEIC,aAAa,CAAGH,KAAK,CAACG,aAF1B,CAGIC,YAAY,CAAGJ,KAAK,CAACI,YAHzB,CAKA,GAAIC,CAAAA,IAAI,CAAGH,YAAY,EAAIN,aAA3B,CACIC,MAAM,CAAGQ,IAAI,CAACR,MADlB,CAEIC,KAAK,CAAGO,IAAI,CAACP,KAFjB,CAIA,GAAIQ,CAAAA,OAAO,CAAG,wCAA2BR,KAA3B,CAAd,CACA,GAAIS,CAAAA,OAAO,CAAG,wCAA2BV,MAA3B,CAAd,CACA,GAAIW,CAAAA,UAAU,CAAG,wCAA2BJ,YAAY,EAAI,CAA3C,CAAjB,CACA,GAAIK,CAAAA,KAAK,CAAG,4BAAeR,WAAW,EAAI,OAA9B,CAAuCE,aAAvC,CAAZ,CAEA,GAAIM,KAAK,EAAI,IAAT,EAAiBH,OAAO,EAAI,IAA5B,EAAoCC,OAAO,EAAI,IAA/C,EAAuDC,UAAU,EAAI,IAAzE,CAA+E,CAC7E,MAAOF,CAAAA,OAAO,CAAG,GAAV,CAAgBC,OAAhB,CAA0B,GAA1B,CAAgCC,UAAhC,CAA6C,GAA7C,CAAmDC,KAA1D,CACD,CACF,CAlBD,C,aAoBeV,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport normalizeColor from '../../modules/normalizeColor';\nimport normalizeValueWithProperty from './normalizeValueWithProperty';\nvar defaultOffset = {\n height: 0,\n width: 0\n};\n\nvar resolveShadowValue = function resolveShadowValue(style) {\n var shadowColor = style.shadowColor,\n shadowOffset = style.shadowOffset,\n shadowOpacity = style.shadowOpacity,\n shadowRadius = style.shadowRadius;\n\n var _ref = shadowOffset || defaultOffset,\n height = _ref.height,\n width = _ref.width;\n\n var offsetX = normalizeValueWithProperty(width);\n var offsetY = normalizeValueWithProperty(height);\n var blurRadius = normalizeValueWithProperty(shadowRadius || 0);\n var color = normalizeColor(shadowColor || 'black', shadowOpacity);\n\n if (color != null && offsetX != null && offsetY != null && blurRadius != null) {\n return offsetX + \" \" + offsetY + \" \" + blurRadius + \" \" + color;\n }\n};\n\nexport default resolveShadowValue;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../../exports/ColorPropType\"));var _propTypes=require(\"prop-types\");var numberOrString=(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]);var ShadowPropTypes={shadowColor:_ColorPropType.default,shadowOffset:(0,_propTypes.shape)({width:numberOrString,height:numberOrString}),shadowOpacity:_propTypes.number,shadowRadius:numberOrString,shadowSpread:numberOrString};var _default=ShadowPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ShadowPropTypes/index.js"],"names":["numberOrString","number","string","ShadowPropTypes","shadowColor","ColorPropType","shadowOffset","width","height","shadowOpacity","shadowRadius","shadowSpread"],"mappings":"mKASA,kFACA,qCACA,GAAIA,CAAAA,cAAc,CAAG,yBAAU,CAACC,iBAAD,CAASC,iBAAT,CAAV,CAArB,CACA,GAAIC,CAAAA,eAAe,CAAG,CACpBC,WAAW,CAAEC,sBADO,CAEpBC,YAAY,CAAE,qBAAM,CAClBC,KAAK,CAAEP,cADW,CAElBQ,MAAM,CAAER,cAFU,CAAN,CAFM,CAMpBS,aAAa,CAAER,iBANK,CAOpBS,YAAY,CAAEV,cAPM,CAQpBW,YAAY,CAAEX,cARM,CAAtB,C,aAUeG,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../../exports/ColorPropType';\nimport { number, oneOfType, shape, string } from 'prop-types';\nvar numberOrString = oneOfType([number, string]);\nvar ShadowPropTypes = {\n shadowColor: ColorPropType,\n shadowOffset: shape({\n width: numberOrString,\n height: numberOrString\n }),\n shadowOpacity: number,\n shadowRadius: numberOrString,\n shadowSpread: numberOrString\n};\nexport default ShadowPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _unitlessNumbers=_interopRequireDefault(require(\"../../../modules/unitlessNumbers\"));function dangerousStyleValue(name,value,isCustomProperty){var isEmpty=value==null||typeof value==='boolean'||value==='';if(isEmpty){return'';}if(!isCustomProperty&&typeof value==='number'&&value!==0&&!(_unitlessNumbers.default.hasOwnProperty(name)&&_unitlessNumbers.default[name])){return value+'px';}return(''+value).trim();}var _default=dangerousStyleValue;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-dom/dangerousStyleValue/index.js"],"names":["dangerousStyleValue","name","value","isCustomProperty","isEmpty","isUnitlessNumber","hasOwnProperty","trim"],"mappings":"mKAWA,yFAWA,QAASA,CAAAA,mBAAT,CAA6BC,IAA7B,CAAmCC,KAAnC,CAA0CC,gBAA1C,CAA4D,CAU1D,GAAIC,CAAAA,OAAO,CAAGF,KAAK,EAAI,IAAT,EAAiB,MAAOA,CAAAA,KAAP,GAAiB,SAAlC,EAA+CA,KAAK,GAAK,EAAvE,CAEA,GAAIE,OAAJ,CAAa,CACX,MAAO,EAAP,CACD,CAED,GAAI,CAACD,gBAAD,EAAqB,MAAOD,CAAAA,KAAP,GAAiB,QAAtC,EAAkDA,KAAK,GAAK,CAA5D,EAAiE,EAAEG,yBAAiBC,cAAjB,CAAgCL,IAAhC,GAAyCI,yBAAiBJ,IAAjB,CAA3C,CAArE,CAAyI,CACvI,MAAOC,CAAAA,KAAK,CAAG,IAAf,CACD,CAED,MAAO,CAAC,GAAKA,KAAN,EAAaK,IAAb,EAAP,CACD,C,aAEcP,mB","sourcesContent":["/* eslint-disable */\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * From React 16.0.0\n * \n */\nimport isUnitlessNumber from '../../../modules/unitlessNumbers';\n/**\n * Convert a value into the proper css writable value. The style name `name`\n * should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} name CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @return {string} Normalized style value with dimensions applied.\n */\n\nfunction dangerousStyleValue(name, value, isCustomProperty) {\n // Note that we've removed escapeTextForBrowser() calls here since the\n // whole string will be escaped when the attribute is injected into\n // the markup. If you provide unsafe user data here they can inject\n // arbitrary CSS which may be problematic (I couldn't repro this):\n // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n // This is not an XSS hole but instead a potential CSS injection issue\n // which has lead to a greater discussion about how we're going to\n // trust URLs moving forward. See #2115901\n var isEmpty = value == null || typeof value === 'boolean' || value === '';\n\n if (isEmpty) {\n return '';\n }\n\n if (!isCustomProperty && typeof value === 'number' && value !== 0 && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) {\n return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers\n }\n\n return ('' + value).trim();\n}\n\nexport default dangerousStyleValue;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _normalizeCssColor=_interopRequireDefault(require(\"normalize-css-color\"));var processColor=function processColor(color){if(color===undefined||color===null){return color;}var int32Color=(0,_normalizeCssColor.default)(color);if(int32Color===undefined||int32Color===null){return undefined;}int32Color=(int32Color<<24|int32Color>>>8)>>>0;return int32Color;};var _default=processColor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/src/exports/processColor/index.js"],"names":["processColor","color","undefined","int32Color"],"mappings":"mKAUA,8EAEA,GAAMA,CAAAA,YAAY,CAAG,QAAfA,CAAAA,YAAe,CAACC,KAAD,CAAsC,CACzD,GAAIA,KAAK,GAAKC,SAAV,EAAuBD,KAAK,GAAK,IAArC,CAA2C,CACzC,MAAOA,CAAAA,KAAP,CACD,CAGD,GAAIE,CAAAA,UAAU,CAAG,+BAAeF,KAAf,CAAjB,CACA,GAAIE,UAAU,GAAKD,SAAf,EAA4BC,UAAU,GAAK,IAA/C,CAAqD,CACnD,MAAOD,CAAAA,SAAP,CACD,CAEDC,UAAU,CAAG,CAAEA,UAAU,EAAI,EAAf,CAAsBA,UAAU,GAAK,CAAtC,IAA8C,CAA3D,CAEA,MAAOA,CAAAA,UAAP,CACD,CAdD,C,aAgBeH,Y","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\nimport normalizeColor from 'normalize-css-color';\n\nconst processColor = (color?: string | number): ?number => {\n if (color === undefined || color === null) {\n return color;\n }\n\n // convert number and hex\n let int32Color = normalizeColor(color);\n if (int32Color === undefined || int32Color === null) {\n return undefined;\n }\n\n int32Color = ((int32Color << 24) | (int32Color >>> 8)) >>> 0;\n\n return int32Color;\n};\n\nexport default processColor;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ReactNativePropRegistry=_interopRequireDefault(require(\"../../modules/ReactNativePropRegistry\"));var _flattenStyle=_interopRequireDefault(require(\"./flattenStyle\"));var absoluteFillObject={position:'absolute',left:0,right:0,top:0,bottom:0};var absoluteFill=_ReactNativePropRegistry.default.register(absoluteFillObject);var StyleSheet={absoluteFill:absoluteFill,absoluteFillObject:absoluteFillObject,compose:function compose(style1,style2){if(process.env.NODE_ENV!=='production'){var len=arguments.length;if(len>2){var readableStyles=Array.prototype.slice.call(arguments).map(function(a){return(0,_flattenStyle.default)(a);});throw new Error(\"StyleSheet.compose() only accepts 2 arguments, received \"+len+\": \"+JSON.stringify(readableStyles));}}if(style1&&style2){return[style1,style2];}else{return style1||style2;}},create:function create(styles){var result={};Object.keys(styles).forEach(function(key){if(process.env.NODE_ENV!=='production'){var validate=require(\"./validate\");var interopValidate=validate.default?validate.default:validate;interopValidate(key,styles);}var id=styles[key]&&_ReactNativePropRegistry.default.register(styles[key]);result[key]=id;});return result;},flatten:_flattenStyle.default,hairlineWidth:1};var _default=StyleSheet;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/StyleSheet.js"],"names":["absoluteFillObject","position","left","right","top","bottom","absoluteFill","ReactNativePropRegistry","register","StyleSheet","compose","style1","style2","process","env","NODE_ENV","len","arguments","length","readableStyles","Array","prototype","slice","call","map","a","Error","JSON","stringify","create","styles","result","Object","keys","forEach","key","validate","require","interopValidate","default","id","flatten","flattenStyle","hairlineWidth"],"mappings":"mKAQA,sGACA,oEACA,GAAIA,CAAAA,kBAAkB,CAAG,CACvBC,QAAQ,CAAE,UADa,CAEvBC,IAAI,CAAE,CAFiB,CAGvBC,KAAK,CAAE,CAHgB,CAIvBC,GAAG,CAAE,CAJkB,CAKvBC,MAAM,CAAE,CALe,CAAzB,CAOA,GAAIC,CAAAA,YAAY,CAAGC,iCAAwBC,QAAxB,CAAiCR,kBAAjC,CAAnB,CACA,GAAIS,CAAAA,UAAU,CAAG,CACfH,YAAY,CAAEA,YADC,CAEfN,kBAAkB,CAAEA,kBAFL,CAGfU,OAAO,CAAE,QAASA,CAAAA,OAAT,CAAiBC,MAAjB,CAAyBC,MAAzB,CAAiC,CACxC,GAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CAEzC,GAAIC,CAAAA,GAAG,CAAGC,SAAS,CAACC,MAApB,CAEA,GAAIF,GAAG,CAAG,CAAV,CAAa,CACX,GAAIG,CAAAA,cAAc,CAAGC,KAAK,CAACC,SAAN,CAAgBC,KAAhB,CAAsBC,IAAtB,CAA2BN,SAA3B,EAAsCO,GAAtC,CAA0C,SAAUC,CAAV,CAAa,CAC1E,MAAO,0BAAaA,CAAb,CAAP,CACD,CAFoB,CAArB,CAGA,KAAM,IAAIC,CAAAA,KAAJ,CAAU,2DAA6DV,GAA7D,CAAmE,IAAnE,CAA0EW,IAAI,CAACC,SAAL,CAAeT,cAAf,CAApF,CAAN,CACD,CAGF,CAED,GAAIR,MAAM,EAAIC,MAAd,CAAsB,CACpB,MAAO,CAACD,MAAD,CAASC,MAAT,CAAP,CACD,CAFD,IAEO,CACL,MAAOD,CAAAA,MAAM,EAAIC,MAAjB,CACD,CACF,CAvBc,CAwBfiB,MAAM,CAAE,QAASA,CAAAA,MAAT,CAAgBC,MAAhB,CAAwB,CAC9B,GAAIC,CAAAA,MAAM,CAAG,EAAb,CACAC,MAAM,CAACC,IAAP,CAAYH,MAAZ,EAAoBI,OAApB,CAA4B,SAAUC,GAAV,CAAe,CACzC,GAAItB,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzC,GAAIqB,CAAAA,QAAQ,CAAGC,OAAO,cAAtB,CAEA,GAAIC,CAAAA,eAAe,CAAGF,QAAQ,CAACG,OAAT,CAAmBH,QAAQ,CAACG,OAA5B,CAAsCH,QAA5D,CACAE,eAAe,CAACH,GAAD,CAAML,MAAN,CAAf,CACD,CAED,GAAIU,CAAAA,EAAE,CAAGV,MAAM,CAACK,GAAD,CAAN,EAAe5B,iCAAwBC,QAAxB,CAAiCsB,MAAM,CAACK,GAAD,CAAvC,CAAxB,CACAJ,MAAM,CAACI,GAAD,CAAN,CAAcK,EAAd,CACD,CAVD,EAWA,MAAOT,CAAAA,MAAP,CACD,CAtCc,CAuCfU,OAAO,CAAEC,qBAvCM,CAwCfC,aAAa,CAAE,CAxCA,CAAjB,C,aA0CelC,U","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ReactNativePropRegistry from '../../modules/ReactNativePropRegistry';\nimport flattenStyle from './flattenStyle';\nvar absoluteFillObject = {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n};\nvar absoluteFill = ReactNativePropRegistry.register(absoluteFillObject);\nvar StyleSheet = {\n absoluteFill: absoluteFill,\n absoluteFillObject: absoluteFillObject,\n compose: function compose(style1, style2) {\n if (process.env.NODE_ENV !== 'production') {\n /* eslint-disable prefer-rest-params */\n var len = arguments.length;\n\n if (len > 2) {\n var readableStyles = Array.prototype.slice.call(arguments).map(function (a) {\n return flattenStyle(a);\n });\n throw new Error(\"StyleSheet.compose() only accepts 2 arguments, received \" + len + \": \" + JSON.stringify(readableStyles));\n }\n /* eslint-enable prefer-rest-params */\n\n }\n\n if (style1 && style2) {\n return [style1, style2];\n } else {\n return style1 || style2;\n }\n },\n create: function create(styles) {\n var result = {};\n Object.keys(styles).forEach(function (key) {\n if (process.env.NODE_ENV !== 'production') {\n var validate = require('./validate');\n\n var interopValidate = validate.default ? validate.default : validate;\n interopValidate(key, styles);\n }\n\n var id = styles[key] && ReactNativePropRegistry.register(styles[key]);\n result[key] = id;\n });\n return result;\n },\n flatten: flattenStyle,\n hairlineWidth: 1\n};\nexport default StyleSheet;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=require(\"prop-types\");var numberOrString=(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]);var TransformPropTypes={perspective:(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]),perspectiveOrigin:_propTypes.string,transform:(0,_propTypes.arrayOf)((0,_propTypes.oneOfType)([(0,_propTypes.shape)({perspective:numberOrString}),(0,_propTypes.shape)({rotate:_propTypes.string}),(0,_propTypes.shape)({rotateX:_propTypes.string}),(0,_propTypes.shape)({rotateY:_propTypes.string}),(0,_propTypes.shape)({rotateZ:_propTypes.string}),(0,_propTypes.shape)({scale:_propTypes.number}),(0,_propTypes.shape)({scaleX:_propTypes.number}),(0,_propTypes.shape)({scaleY:_propTypes.number}),(0,_propTypes.shape)({scaleZ:_propTypes.number}),(0,_propTypes.shape)({scale3d:_propTypes.string}),(0,_propTypes.shape)({skewX:_propTypes.string}),(0,_propTypes.shape)({skewY:_propTypes.string}),(0,_propTypes.shape)({translateX:numberOrString}),(0,_propTypes.shape)({translateY:numberOrString}),(0,_propTypes.shape)({translateZ:numberOrString}),(0,_propTypes.shape)({translate3d:_propTypes.string})])),transformOrigin:_propTypes.string,transformStyle:(0,_propTypes.oneOf)(['flat','preserve-3d'])};var _default=TransformPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/TransformPropTypes/index.js"],"names":["numberOrString","number","string","TransformPropTypes","perspective","perspectiveOrigin","transform","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","scale3d","skewX","skewY","translateX","translateY","translateZ","translate3d","transformOrigin","transformStyle"],"mappings":"gFASA,qCACA,GAAIA,CAAAA,cAAc,CAAG,yBAAU,CAACC,iBAAD,CAASC,iBAAT,CAAV,CAArB,CACA,GAAIC,CAAAA,kBAAkB,CAAG,CACvBC,WAAW,CAAE,yBAAU,CAACH,iBAAD,CAASC,iBAAT,CAAV,CADU,CAEvBG,iBAAiB,CAAEH,iBAFI,CAGvBI,SAAS,CAAE,uBAAQ,yBAAU,CAAC,qBAAM,CAClCF,WAAW,CAAEJ,cADqB,CAAN,CAAD,CAEzB,qBAAM,CACRO,MAAM,CAAEL,iBADA,CAAN,CAFyB,CAIzB,qBAAM,CACRM,OAAO,CAAEN,iBADD,CAAN,CAJyB,CAMzB,qBAAM,CACRO,OAAO,CAAEP,iBADD,CAAN,CANyB,CAQzB,qBAAM,CACRQ,OAAO,CAAER,iBADD,CAAN,CARyB,CAUzB,qBAAM,CACRS,KAAK,CAAEV,iBADC,CAAN,CAVyB,CAYzB,qBAAM,CACRW,MAAM,CAAEX,iBADA,CAAN,CAZyB,CAczB,qBAAM,CACRY,MAAM,CAAEZ,iBADA,CAAN,CAdyB,CAgBzB,qBAAM,CACRa,MAAM,CAAEb,iBADA,CAAN,CAhByB,CAkBzB,qBAAM,CACRc,OAAO,CAAEb,iBADD,CAAN,CAlByB,CAoBzB,qBAAM,CACRc,KAAK,CAAEd,iBADC,CAAN,CApByB,CAsBzB,qBAAM,CACRe,KAAK,CAAEf,iBADC,CAAN,CAtByB,CAwBzB,qBAAM,CACRgB,UAAU,CAAElB,cADJ,CAAN,CAxByB,CA0BzB,qBAAM,CACRmB,UAAU,CAAEnB,cADJ,CAAN,CA1ByB,CA4BzB,qBAAM,CACRoB,UAAU,CAAEpB,cADJ,CAAN,CA5ByB,CA8BzB,qBAAM,CACRqB,WAAW,CAAEnB,iBADL,CAAN,CA9ByB,CAAV,CAAR,CAHY,CAoCvBoB,eAAe,CAAEpB,iBApCM,CAqCvBqB,cAAc,CAAE,qBAAM,CAAC,MAAD,CAAS,aAAT,CAAN,CArCO,CAAzB,C,aAuCepB,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { arrayOf, number, oneOf, oneOfType, shape, string } from 'prop-types';\nvar numberOrString = oneOfType([number, string]);\nvar TransformPropTypes = {\n perspective: oneOfType([number, string]),\n perspectiveOrigin: string,\n transform: arrayOf(oneOfType([shape({\n perspective: numberOrString\n }), shape({\n rotate: string\n }), shape({\n rotateX: string\n }), shape({\n rotateY: string\n }), shape({\n rotateZ: string\n }), shape({\n scale: number\n }), shape({\n scaleX: number\n }), shape({\n scaleY: number\n }), shape({\n scaleZ: number\n }), shape({\n scale3d: string\n }), shape({\n skewX: string\n }), shape({\n skewY: string\n }), shape({\n translateX: numberOrString\n }), shape({\n translateY: numberOrString\n }), shape({\n translateZ: numberOrString\n }), shape({\n translate3d: string\n })])),\n transformOrigin: string,\n transformStyle: oneOf(['flat', 'preserve-3d'])\n};\nexport default TransformPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports._setShouldThrowAnErrorOutsideOfExpo=_setShouldThrowAnErrorOutsideOfExpo;exports.shouldThrowAnErrorOutsideOfExpo=shouldThrowAnErrorOutsideOfExpo;var shouldThrowAnErrorOutsideOfExpoValue=true;function _setShouldThrowAnErrorOutsideOfExpo(value){shouldThrowAnErrorOutsideOfExpoValue=value;}function shouldThrowAnErrorOutsideOfExpo(){return shouldThrowAnErrorOutsideOfExpoValue;}","map":{"version":3,"sources":["../../src/environment/validatorState.ts"],"names":[],"mappings":"iNAAA,GAAI,CAAA,oCAAoC,CAAG,IAA3C,CAKM,QAAU,CAAA,mCAAV,CAA8C,KAA9C,CAAmD,CACvD,oCAAoC,CAAG,KAAvC,CACD,CAKK,QAAU,CAAA,+BAAV,EAAyC,CAC7C,MAAO,CAAA,oCAAP,CACD","sourcesContent":["let shouldThrowAnErrorOutsideOfExpoValue = true;\n\n/**\n * @param value Should 'expo' validate the environment against Constants.expoVersion\n */\nexport function _setShouldThrowAnErrorOutsideOfExpo(value) {\n shouldThrowAnErrorOutsideOfExpoValue = value;\n}\n\n/**\n * Should 'expo' validate the environment against Constants.expoVersion\n */\nexport function shouldThrowAnErrorOutsideOfExpo() {\n return shouldThrowAnErrorOutsideOfExpoValue;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _dangerousStyleValue=_interopRequireDefault(require(\"../dangerousStyleValue\"));var _hyphenateStyleName=_interopRequireDefault(require(\"hyphenate-style-name\"));var _warnValidStyle=_interopRequireDefault(require(\"../warnValidStyle\"));function setValueForStyles(node,styles,getStack){var style=node.style;for(var styleName in styles){if(!styles.hasOwnProperty(styleName)){continue;}var isCustomProperty=styleName.indexOf('--')===0;if(process.env.NODE_ENV!=='production'){if(!isCustomProperty){(0,_warnValidStyle.default)(styleName,styles[styleName],getStack);}}var styleValue=(0,_dangerousStyleValue.default)(styleName,styles[styleName],isCustomProperty);if(styleName==='float'){styleName='cssFloat';}if(isCustomProperty){var name=isCustomProperty?styleName:(0,_hyphenateStyleName.default)(styleName);style.setProperty(name,styleValue);}else{style[styleName]=styleValue;}}}var _default=setValueForStyles;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-dom/setValueForStyles/index.js"],"names":["setValueForStyles","node","styles","getStack","style","styleName","hasOwnProperty","isCustomProperty","indexOf","process","env","NODE_ENV","styleValue","name","setProperty"],"mappings":"mKAWA,mFACA,gFACA,yEASA,QAASA,CAAAA,iBAAT,CAA2BC,IAA3B,CAAiCC,MAAjC,CAAyCC,QAAzC,CAAmD,CACjD,GAAIC,CAAAA,KAAK,CAAGH,IAAI,CAACG,KAAjB,CAEA,IAAK,GAAIC,CAAAA,SAAT,GAAsBH,CAAAA,MAAtB,CAA8B,CAC5B,GAAI,CAACA,MAAM,CAACI,cAAP,CAAsBD,SAAtB,CAAL,CAAuC,CACrC,SACD,CAED,GAAIE,CAAAA,gBAAgB,CAAGF,SAAS,CAACG,OAAV,CAAkB,IAAlB,IAA4B,CAAnD,CAEA,GAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzC,GAAI,CAACJ,gBAAL,CAAuB,CACrB,4BAAeF,SAAf,CAA0BH,MAAM,CAACG,SAAD,CAAhC,CAA6CF,QAA7C,EACD,CACF,CAED,GAAIS,CAAAA,UAAU,CAAG,iCAAoBP,SAApB,CAA+BH,MAAM,CAACG,SAAD,CAArC,CAAkDE,gBAAlD,CAAjB,CAEA,GAAIF,SAAS,GAAK,OAAlB,CAA2B,CACzBA,SAAS,CAAG,UAAZ,CACD,CAED,GAAIE,gBAAJ,CAAsB,CACpB,GAAIM,CAAAA,IAAI,CAAGN,gBAAgB,CAAGF,SAAH,CAAe,gCAAmBA,SAAnB,CAA1C,CACAD,KAAK,CAACU,WAAN,CAAkBD,IAAlB,CAAwBD,UAAxB,EACD,CAHD,IAGO,CACLR,KAAK,CAACC,SAAD,CAAL,CAAmBO,UAAnB,CACD,CACF,CACF,C,aAEcZ,iB","sourcesContent":["/* eslint-disable */\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * From React 16.3.0\n * \n */\nimport dangerousStyleValue from '../dangerousStyleValue';\nimport hyphenateStyleName from 'hyphenate-style-name';\nimport warnValidStyle from '../warnValidStyle';\n/**\n * Sets the value for multiple styles on a node. If a value is specified as\n * '' (empty string), the corresponding style property will be unset.\n *\n * @param {DOMElement} node\n * @param {object} styles\n */\n\nfunction setValueForStyles(node, styles, getStack) {\n var style = node.style;\n\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n\n var isCustomProperty = styleName.indexOf('--') === 0;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!isCustomProperty) {\n warnValidStyle(styleName, styles[styleName], getStack);\n }\n }\n\n var styleValue = dangerousStyleValue(styleName, styles[styleName], isCustomProperty);\n\n if (styleName === 'float') {\n styleName = 'cssFloat';\n }\n\n if (isCustomProperty) {\n var name = isCustomProperty ? styleName : hyphenateStyleName(styleName);\n style.setProperty(name, styleValue);\n } else {\n style[styleName] = styleValue;\n }\n }\n}\n\nexport default setValueForStyles;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=gestureHandlerRootHOC;function gestureHandlerRootHOC(Component){return Component;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/gestureHandlerRootHOC.js"],"names":["gestureHandlerRootHOC","Component"],"mappings":"+FAAe,QAASA,CAAAA,qBAAT,CAA+BC,SAA/B,CAA0C,CAIvD,MAAOA,CAAAA,SAAP,CACD","sourcesContent":["export default function gestureHandlerRootHOC(Component) {\n // Empty implementation that just returns component directly,\n // GestureHandlerRootView is only required to be instantiated on Android.\n // All other targets (ios, web, macos, ect...) should do nothing.\n return Component;\n}\n "]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../modules/UnimplementedView\"));var _default=_UnimplementedView.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/DrawerLayoutAndroid/index.js"],"names":["UnimplementedView"],"mappings":"mKAAA,0F,aACeA,0B","sourcesContent":["import UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.emitNotification=emitNotification;exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _fbemitter=require(\"fbemitter\");var _invariant=_interopRequireDefault(require(\"invariant\"));var _AsyncStorage=_interopRequireDefault(require(\"react-native-web/dist/exports/AsyncStorage\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _core=require(\"@unimodules/core\");var _ExponentNotifications=_interopRequireDefault(require(\"./ExponentNotifications\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var _emitter;var _initialNotification;function _maybeInitEmitter(){if(!_emitter){_emitter=new _fbemitter.EventEmitter();_core.RCTDeviceEventEmitter.addListener('Exponent.notification',emitNotification);}}function emitNotification(notification){if(typeof notification==='string'){notification=JSON.parse(notification);}notification=_objectSpread({},notification);if(typeof notification.data==='string'){try{notification.data=JSON.parse(notification.data);}catch(e){}}_emitter.emit('notification',notification);}function _processNotification(notification){notification=(0,_extends2.default)({},notification);if(!notification.data){notification.data={};}if(notification.hasOwnProperty('count')){delete notification.count;}if(_Platform.default.OS==='ios'){if(notification.android){delete notification.android;}if(notification.ios){notification=(0,_extends2.default)(notification,notification.ios);notification.data._displayInForeground=notification.ios._displayInForeground;delete notification.ios;}}if(_Platform.default.OS==='android'){if(notification.ios){delete notification.ios;}if(notification.android){notification=(0,_extends2.default)(notification,notification.android);delete notification.android;}}return notification;}function _validateNotification(notification){if(_Platform.default.OS==='ios'){(0,_invariant.default)(!!notification.title&&!!notification.body,'Local notifications on iOS require both a title and a body');}else if(_Platform.default.OS==='android'){(0,_invariant.default)(!!notification.title,'Local notifications on Android require a title');}}var ASYNC_STORAGE_PREFIX='__expo_internal_channel_';var IS_USING_NEW_BINARY=typeof _ExponentNotifications.default.createChannel==='function';function _legacyReadChannel(id){var channelString;return _regenerator.default.async(function _legacyReadChannel$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return _regenerator.default.awrap(_AsyncStorage.default.getItem(\"\"+ASYNC_STORAGE_PREFIX+id));case 3:channelString=_context.sent;if(!channelString){_context.next=6;break;}return _context.abrupt(\"return\",JSON.parse(channelString));case 6:_context.next=10;break;case 8:_context.prev=8;_context.t0=_context[\"catch\"](0);case 10:return _context.abrupt(\"return\",null);case 11:case\"end\":return _context.stop();}}},null,null,[[0,8]]);}function _legacyDeleteChannel(id){return _AsyncStorage.default.removeItem(\"\"+ASYNC_STORAGE_PREFIX+id);}if(_Platform.default.OS==='android'){_AsyncStorage.default.clear=function _callee(callback){var keys,filteredKeys;return _regenerator.default.async(function _callee$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_context2.prev=0;_context2.next=3;return _regenerator.default.awrap(_AsyncStorage.default.getAllKeys());case 3:keys=_context2.sent;if(!(keys&&keys.length)){_context2.next=8;break;}filteredKeys=keys.filter(function(key){return!key.startsWith(ASYNC_STORAGE_PREFIX);});_context2.next=8;return _regenerator.default.awrap(_AsyncStorage.default.multiRemove(filteredKeys));case 8:callback&&callback();_context2.next=15;break;case 11:_context2.prev=11;_context2.t0=_context2[\"catch\"](0);callback&&callback(_context2.t0);throw _context2.t0;case 15:case\"end\":return _context2.stop();}}},null,null,[[0,11]]);};}function _legacySaveChannel(id,channel){return _AsyncStorage.default.setItem(\"\"+ASYNC_STORAGE_PREFIX+id,JSON.stringify(channel));}var _default={_setInitialNotification:function _setInitialNotification(notification){_initialNotification=notification;},createCategoryAsync:function createCategoryAsync(categoryId,actions){return _ExponentNotifications.default.createCategoryAsync(categoryId,actions);},deleteCategoryAsync:function deleteCategoryAsync(categoryId){return _ExponentNotifications.default.deleteCategoryAsync(categoryId);},getExpoPushTokenAsync:function getExpoPushTokenAsync(){if(!_ExponentNotifications.default.getExponentPushTokenAsync){throw new _core.UnavailabilityError('Expo.Notifications','getExpoPushTokenAsync');}if(!_expoConstants.default.isDevice){throw new Error(\"Must be on a physical device to get an Expo Push Token\");}return _ExponentNotifications.default.getExponentPushTokenAsync();},getDevicePushTokenAsync:function getDevicePushTokenAsync(config){if(!_ExponentNotifications.default.getDevicePushTokenAsync){throw new _core.UnavailabilityError('Expo.Notifications','getDevicePushTokenAsync');}return _ExponentNotifications.default.getDevicePushTokenAsync(config||{});},createChannelAndroidAsync:function createChannelAndroidAsync(id,channel){if(_Platform.default.OS!=='android'){console.warn(\"createChannelAndroidAsync(...) has no effect on \"+_Platform.default.OS);return Promise.resolve();}if(!IS_USING_NEW_BINARY){return _legacySaveChannel(id,channel);}return _ExponentNotifications.default.createChannel(id,channel);},deleteChannelAndroidAsync:function deleteChannelAndroidAsync(id){if(_Platform.default.OS!=='android'){console.warn(\"deleteChannelAndroidAsync(...) has no effect on \"+_Platform.default.OS);return Promise.resolve();}if(!IS_USING_NEW_BINARY){return Promise.resolve();}return _ExponentNotifications.default.deleteChannel(id);},presentLocalNotificationAsync:function presentLocalNotificationAsync(notification){var nativeNotification,_channel;return _regenerator.default.async(function presentLocalNotificationAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_validateNotification(notification);nativeNotification=_processNotification(notification);if(!(_Platform.default.OS!=='android')){_context3.next=8;break;}_context3.next=5;return _regenerator.default.awrap(_ExponentNotifications.default.presentLocalNotification(nativeNotification));case 5:return _context3.abrupt(\"return\",_context3.sent);case 8:if(!nativeNotification.channelId){_context3.next=12;break;}_context3.next=11;return _regenerator.default.awrap(_legacyReadChannel(nativeNotification.channelId));case 11:_channel=_context3.sent;case 12:if(!IS_USING_NEW_BINARY){_context3.next=17;break;}_legacyDeleteChannel(nativeNotification.channelId);return _context3.abrupt(\"return\",_ExponentNotifications.default.presentLocalNotificationWithChannel(nativeNotification,_channel));case 17:if(_channel){nativeNotification.sound=_channel.sound;nativeNotification.priority=_channel.priority;nativeNotification.vibrate=_channel.vibrate;}return _context3.abrupt(\"return\",_ExponentNotifications.default.presentLocalNotification(nativeNotification));case 19:case\"end\":return _context3.stop();}}});},scheduleLocalNotificationAsync:function scheduleLocalNotificationAsync(notification){var options,now,nativeNotification,timeAsDateObj,validOptions,_channel,_args4=arguments;return _regenerator.default.async(function scheduleLocalNotificationAsync$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:options=_args4.length>1&&_args4[1]!==undefined?_args4[1]:{};now=Date.now();_validateNotification(notification);nativeNotification=_processNotification(notification);if(!options.time){_context4.next=11;break;}timeAsDateObj=null;if(options.time&&typeof options.time==='number'){timeAsDateObj=new Date(options.time);if(timeAsDateObj.toString()==='Invalid Date'){timeAsDateObj=null;}}else if(options.time&&options.time instanceof Date){timeAsDateObj=options.time;}if(timeAsDateObj){_context4.next=9;break;}throw new Error(\"Provided value for \\\"time\\\" is invalid. Please verify that it's either a number representing Unix Epoch time in milliseconds, or a valid date object.\");case 9:if(timeAsDateObj.getTime()<now){console.warn(\"Provided value for \\\"time\\\" is before the current date. Did you possibly pass number of seconds since Unix Epoch instead of number of milliseconds?\");}options=_objectSpread({},options,{time:timeAsDateObj.getTime()});case 11:if(!(options.intervalMs!=null&&options.repeat!=null)){_context4.next=13;break;}throw new Error(\"Pass either the \\\"repeat\\\" option or \\\"intervalMs\\\" option, not both\");case 13:if(!(options.repeat!=null)){_context4.next=17;break;}validOptions=new Set(['minute','hour','day','week','month','year']);if(validOptions.has(options.repeat)){_context4.next=17;break;}throw new Error(\"Pass one of ['minute', 'hour', 'day', 'week', 'month', 'year'] as the value for the \\\"repeat\\\" option\");case 17:if(!(options.intervalMs!=null)){_context4.next=22;break;}if(!(_Platform.default.OS==='ios')){_context4.next=20;break;}throw new Error(\"The \\\"intervalMs\\\" option is not supported on iOS\");case 20:if(!(options.intervalMs<=0||!Number.isInteger(options.intervalMs))){_context4.next=22;break;}throw new Error(\"Pass an integer greater than zero as the value for the \\\"intervalMs\\\" option\");case 22:if(!(_Platform.default.OS!=='android')){_context4.next=29;break;}if(!options.repeat){_context4.next=26;break;}console.warn('Ability to schedule an automatically repeated notification is deprecated on iOS and will be removed in the next SDK release.');return _context4.abrupt(\"return\",_ExponentNotifications.default.legacyScheduleLocalRepeatingNotification(nativeNotification,options));case 26:return _context4.abrupt(\"return\",_ExponentNotifications.default.scheduleLocalNotification(nativeNotification,options));case 29:if(!nativeNotification.channelId){_context4.next=33;break;}_context4.next=32;return _regenerator.default.awrap(_legacyReadChannel(nativeNotification.channelId));case 32:_channel=_context4.sent;case 33:if(!IS_USING_NEW_BINARY){_context4.next=38;break;}_legacyDeleteChannel(nativeNotification.channelId);return _context4.abrupt(\"return\",_ExponentNotifications.default.scheduleLocalNotificationWithChannel(nativeNotification,options,_channel));case 38:if(_channel){nativeNotification.sound=_channel.sound;nativeNotification.priority=_channel.priority;nativeNotification.vibrate=_channel.vibrate;}return _context4.abrupt(\"return\",_ExponentNotifications.default.scheduleLocalNotification(nativeNotification,options));case 40:case\"end\":return _context4.stop();}}});},dismissNotificationAsync:function dismissNotificationAsync(notificationId){return _regenerator.default.async(function dismissNotificationAsync$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:if(_ExponentNotifications.default.dismissNotification){_context5.next=2;break;}throw new _core.UnavailabilityError('Expo.Notifications','dismissNotification');case 2:_context5.next=4;return _regenerator.default.awrap(_ExponentNotifications.default.dismissNotification(notificationId));case 4:return _context5.abrupt(\"return\",_context5.sent);case 5:case\"end\":return _context5.stop();}}});},dismissAllNotificationsAsync:function dismissAllNotificationsAsync(){return _regenerator.default.async(function dismissAllNotificationsAsync$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:if(_ExponentNotifications.default.dismissAllNotifications){_context6.next=2;break;}throw new _core.UnavailabilityError('Expo.Notifications','dismissAllNotifications');case 2:_context6.next=4;return _regenerator.default.awrap(_ExponentNotifications.default.dismissAllNotifications());case 4:return _context6.abrupt(\"return\",_context6.sent);case 5:case\"end\":return _context6.stop();}}});},cancelScheduledNotificationAsync:function cancelScheduledNotificationAsync(notificationId){if(_Platform.default.OS==='android'&&typeof notificationId==='string'){return _ExponentNotifications.default.cancelScheduledNotificationWithStringIdAsync(notificationId);}return _ExponentNotifications.default.cancelScheduledNotificationAsync(notificationId);},cancelAllScheduledNotificationsAsync:function cancelAllScheduledNotificationsAsync(){return _ExponentNotifications.default.cancelAllScheduledNotificationsAsync();},addListener:function addListener(listener){_maybeInitEmitter();if(_initialNotification){var initialNotification=_initialNotification;_initialNotification=null;setTimeout(function(){emitNotification(initialNotification);},0);}return _emitter.addListener('notification',listener);},getBadgeNumberAsync:function getBadgeNumberAsync(){return _regenerator.default.async(function getBadgeNumberAsync$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:if(_ExponentNotifications.default.getBadgeNumberAsync){_context7.next=2;break;}return _context7.abrupt(\"return\",0);case 2:return _context7.abrupt(\"return\",_ExponentNotifications.default.getBadgeNumberAsync());case 3:case\"end\":return _context7.stop();}}});},setBadgeNumberAsync:function setBadgeNumberAsync(number){return _regenerator.default.async(function setBadgeNumberAsync$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:if(_ExponentNotifications.default.setBadgeNumberAsync){_context8.next=2;break;}throw new _core.UnavailabilityError('Expo.Notifications','setBadgeNumberAsync');case 2:return _context8.abrupt(\"return\",_ExponentNotifications.default.setBadgeNumberAsync(number));case 3:case\"end\":return _context8.stop();}}});},scheduleNotificationWithCalendarAsync:function scheduleNotificationWithCalendarAsync(notification){var options,areOptionsValid,_args9=arguments;return _regenerator.default.async(function scheduleNotificationWithCalendarAsync$(_context9){while(1){switch(_context9.prev=_context9.next){case 0:options=_args9.length>1&&_args9[1]!==undefined?_args9[1]:{};areOptionsValid=(options.month==null||isInRangeInclusive(options.month,1,12))&&(options.day==null||isInRangeInclusive(options.day,1,31))&&(options.hour==null||isInRangeInclusive(options.hour,0,23))&&(options.minute==null||isInRangeInclusive(options.minute,0,59))&&(options.second==null||isInRangeInclusive(options.second,0,59))&&(options.weekDay==null||isInRangeInclusive(options.weekDay,1,7))&&(options.weekDay==null||options.day==null);if(areOptionsValid){_context9.next=4;break;}throw new _core.CodedError('WRONG_OPTIONS','Options in scheduleNotificationWithCalendarAsync call were incorrect!');case 4:return _context9.abrupt(\"return\",_ExponentNotifications.default.scheduleNotificationWithCalendar(notification,options));case 5:case\"end\":return _context9.stop();}}});},scheduleNotificationWithTimerAsync:function scheduleNotificationWithTimerAsync(notification,options){return _regenerator.default.async(function scheduleNotificationWithTimerAsync$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:if(!(options.interval<1)){_context10.next=2;break;}throw new _core.CodedError('WRONG_OPTIONS','Interval must be not less then 1');case 2:return _context10.abrupt(\"return\",_ExponentNotifications.default.scheduleNotificationWithTimer(notification,options));case 3:case\"end\":return _context10.stop();}}});}};exports.default=_default;function isInRangeInclusive(variable,min,max){return variable>=min&&variable<=max;}","map":{"version":3,"sources":["../../src/Notifications/Notifications.ts"],"names":[],"mappings":"0cAAA,qEACA,oCACA,4D,wLAEA,sCACA,sF,yxBAQA,GAAI,CAAA,QAAJ,CACA,GAAI,CAAA,oBAAJ,CAEA,QAAS,CAAA,iBAAT,EAA0B,CACxB,GAAI,CAAC,QAAL,CAAe,CACb,QAAQ,CAAG,GAAI,wBAAJ,EAAX,CACA,4BAAsB,WAAtB,CAAkC,uBAAlC,CAA2D,gBAA3D,EACD,CACF,CAEK,QAAU,CAAA,gBAAV,CAA2B,YAA3B,CAAuC,CAC3C,GAAI,MAAO,CAAA,YAAP,GAAwB,QAA5B,CAAsC,CACpC,YAAY,CAAG,IAAI,CAAC,KAAL,CAAW,YAAX,CAAf,CACD,CAGD,YAAY,kBAAQ,YAAR,CAAZ,CAEA,GAAI,MAAO,CAAA,YAAY,CAAC,IAApB,GAA6B,QAAjC,CAA2C,CACzC,GAAI,CACF,YAAY,CAAC,IAAb,CAAoB,IAAI,CAAC,KAAL,CAAW,YAAY,CAAC,IAAxB,CAApB,CACD,CAAC,MAAO,CAAP,CAAU,CAEX,CACF,CAED,QAAQ,CAAC,IAAT,CAAc,cAAd,CAA8B,YAA9B,EACD,CAED,QAAS,CAAA,oBAAT,CAA8B,YAA9B,CAA0C,CACxC,YAAY,CAAG,sBAAc,EAAd,CAAkB,YAAlB,CAAf,CAEA,GAAI,CAAC,YAAY,CAAC,IAAlB,CAAwB,CACtB,YAAY,CAAC,IAAb,CAAoB,EAApB,CACD,CAED,GAAI,YAAY,CAAC,cAAb,CAA4B,OAA5B,CAAJ,CAA0C,CACxC,MAAO,CAAA,YAAY,CAAC,KAApB,CACD,CAGD,GAAI,kBAAS,EAAT,GAAgB,KAApB,CAA2B,CACzB,GAAI,YAAY,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,mD,0BA2Tf,QAAS,CAAA,kBAAT,CAA4B,QAA5B,CAA8C,GAA9C,CAA2D,GAA3D,CAAsE,CACpE,MAAO,CAAA,QAAQ,EAAI,GAAZ,EAAmB,QAAQ,EAAI,GAAtC,CACD","sourcesContent":["import Constants from 'expo-constants';\nimport { EventEmitter, EventSubscription } from 'fbemitter';\nimport invariant from 'invariant';\nimport { AsyncStorage, Platform } from 'react-native';\nimport { CodedError, RCTDeviceEventEmitter, UnavailabilityError } from '@unimodules/core';\nimport ExponentNotifications from './ExponentNotifications';\nimport {\n Notification,\n LocalNotification,\n Channel,\n ActionType,\n LocalNotificationId,\n} from './Notifications.types';\nlet _emitter;\nlet _initialNotification;\n\nfunction _maybeInitEmitter() {\n if (!_emitter) {\n _emitter = new EventEmitter();\n RCTDeviceEventEmitter.addListener('Exponent.notification', emitNotification);\n }\n}\n\nexport function emitNotification(notification) {\n if (typeof notification === 'string') {\n notification = JSON.parse(notification);\n }\n\n /* Don't mutate the original notification */\n notification = { ...notification };\n\n if (typeof notification.data === 'string') {\n try {\n notification.data = JSON.parse(notification.data);\n } catch (e) {\n // It's actually just a string, that's fine\n }\n }\n\n _emitter.emit('notification', notification);\n}\n\nfunction _processNotification(notification) {\n notification = Object.assign({}, notification);\n\n if (!notification.data) {\n notification.data = {};\n }\n\n if (notification.hasOwnProperty('count')) {\n delete notification.count;\n }\n\n // Delete any Android properties on iOS and merge the iOS properties on root notification object\n if (Platform.OS === 'ios') {\n if (notification.android) {\n delete notification.android;\n }\n\n if (notification.ios) {\n notification = Object.assign(notification, notification.ios);\n notification.data._displayInForeground = notification.ios._displayInForeground;\n delete notification.ios;\n }\n }\n\n // Delete any iOS properties on Android and merge the Android properties on root notification\n // object\n if (Platform.OS === 'android') {\n if (notification.ios) {\n delete notification.ios;\n }\n\n if (notification.android) {\n notification = Object.assign(notification, notification.android);\n delete notification.android;\n }\n }\n\n return notification;\n}\n\nfunction _validateNotification(notification) {\n if (Platform.OS === 'ios') {\n invariant(\n !!notification.title && !!notification.body,\n 'Local notifications on iOS require both a title and a body'\n );\n } else if (Platform.OS === 'android') {\n invariant(!!notification.title, 'Local notifications on Android require a title');\n }\n}\n\nlet ASYNC_STORAGE_PREFIX = '__expo_internal_channel_';\n// TODO: remove this before releasing\n// this will always be `true` for SDK 28+\nlet IS_USING_NEW_BINARY = typeof ExponentNotifications.createChannel === 'function';\n\nasync function _legacyReadChannel(id: string): Promise<Channel | null> {\n try {\n let channelString = await AsyncStorage.getItem(`${ASYNC_STORAGE_PREFIX}${id}`);\n if (channelString) {\n return JSON.parse(channelString);\n }\n } catch (e) {}\n return null;\n}\n\nfunction _legacyDeleteChannel(id: string): Promise<void> {\n return AsyncStorage.removeItem(`${ASYNC_STORAGE_PREFIX}${id}`);\n}\n\nif (Platform.OS === 'android') {\n AsyncStorage.clear = async function(callback?: (error?: Error) => void): Promise<void> {\n try {\n let keys = await AsyncStorage.getAllKeys();\n if (keys && keys.length) {\n let filteredKeys = keys.filter(key => !key.startsWith(ASYNC_STORAGE_PREFIX));\n await AsyncStorage.multiRemove(filteredKeys);\n }\n callback && callback();\n } catch (e) {\n callback && callback(e);\n throw e;\n }\n };\n}\n\n// This codepath will never be triggered in SDK 28 and above\n// TODO: remove before releasing\nfunction _legacySaveChannel(id: string, channel: Channel): Promise<void> {\n return AsyncStorage.setItem(`${ASYNC_STORAGE_PREFIX}${id}`, JSON.stringify(channel));\n}\n\nexport default {\n /* Only used internally to initialize the notification from top level props */\n _setInitialNotification(notification: Notification) {\n _initialNotification = notification;\n },\n\n // User passes set of actions titles.\n createCategoryAsync(categoryId: string, actions: ActionType[]): Promise<void> {\n return ExponentNotifications.createCategoryAsync(categoryId, actions);\n },\n\n deleteCategoryAsync(categoryId: string): Promise<void> {\n return ExponentNotifications.deleteCategoryAsync(categoryId);\n },\n\n /* Re-export */\n getExpoPushTokenAsync(): Promise<string> {\n if (!ExponentNotifications.getExponentPushTokenAsync) {\n throw new UnavailabilityError('Expo.Notifications', 'getExpoPushTokenAsync');\n }\n if (!Constants.isDevice) {\n throw new Error(`Must be on a physical device to get an Expo Push Token`);\n }\n return ExponentNotifications.getExponentPushTokenAsync();\n },\n\n getDevicePushTokenAsync: (config: {\n gcmSenderId?: string;\n }): Promise<{ type: string; data: string }> => {\n if (!ExponentNotifications.getDevicePushTokenAsync) {\n throw new UnavailabilityError('Expo.Notifications', 'getDevicePushTokenAsync');\n }\n return ExponentNotifications.getDevicePushTokenAsync(config || {});\n },\n\n createChannelAndroidAsync(id: string, channel: Channel): Promise<void> {\n if (Platform.OS !== 'android') {\n console.warn(`createChannelAndroidAsync(...) has no effect on ${Platform.OS}`);\n return Promise.resolve();\n }\n // This codepath will never be triggered in SDK 28 and above\n // TODO: remove before releasing\n if (!IS_USING_NEW_BINARY) {\n return _legacySaveChannel(id, channel);\n }\n return ExponentNotifications.createChannel(id, channel);\n },\n\n deleteChannelAndroidAsync(id: string): Promise<void> {\n if (Platform.OS !== 'android') {\n console.warn(`deleteChannelAndroidAsync(...) has no effect on ${Platform.OS}`);\n return Promise.resolve();\n }\n // This codepath will never be triggered in SDK 28 and above\n // TODO: remove before releasing\n if (!IS_USING_NEW_BINARY) {\n return Promise.resolve();\n }\n return ExponentNotifications.deleteChannel(id);\n },\n\n /* Shows a notification instantly */\n async presentLocalNotificationAsync(\n notification: LocalNotification\n ): Promise<LocalNotificationId> {\n _validateNotification(notification);\n let nativeNotification = _processNotification(notification);\n\n if (Platform.OS !== 'android') {\n return await ExponentNotifications.presentLocalNotification(nativeNotification);\n } else {\n let _channel;\n if (nativeNotification.channelId) {\n _channel = await _legacyReadChannel(nativeNotification.channelId);\n }\n\n if (IS_USING_NEW_BINARY) {\n // delete the legacy channel from AsyncStorage so this codepath isn't triggered anymore\n _legacyDeleteChannel(nativeNotification.channelId);\n return ExponentNotifications.presentLocalNotificationWithChannel(\n nativeNotification,\n _channel\n );\n } else {\n // TODO: remove this codepath before releasing, it will never be triggered on SDK 28+\n // channel does not actually exist, so add its settings to the individual notification\n if (_channel) {\n nativeNotification.sound = _channel.sound;\n nativeNotification.priority = _channel.priority;\n nativeNotification.vibrate = _channel.vibrate;\n }\n return ExponentNotifications.presentLocalNotification(nativeNotification);\n }\n }\n },\n\n /* Schedule a notification at a later date */\n async scheduleLocalNotificationAsync(\n notification: LocalNotification,\n options: {\n time?: Date | number;\n repeat?: 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';\n intervalMs?: number;\n } = {}\n ): Promise<LocalNotificationId> {\n // set now at the beginning of the method, to prevent potential weird warnings when we validate\n // options.time later on\n const now = Date.now();\n\n // Validate and process the notification data\n _validateNotification(notification);\n let nativeNotification = _processNotification(notification);\n\n // Validate `options.time`\n if (options.time) {\n let timeAsDateObj: Date | null = null;\n if (options.time && typeof options.time === 'number') {\n timeAsDateObj = new Date(options.time);\n if (timeAsDateObj.toString() === 'Invalid Date') {\n timeAsDateObj = null;\n }\n } else if (options.time && options.time instanceof Date) {\n timeAsDateObj = options.time;\n }\n\n // If we couldn't convert properly, throw an error\n if (!timeAsDateObj) {\n throw new Error(\n `Provided value for \"time\" is invalid. Please verify that it's either a number representing Unix Epoch time in milliseconds, or a valid date object.`\n );\n }\n\n // If someone passes in a value that is too small, say, by an order of 1000 (it's common to\n // accidently pass seconds instead of ms), display a warning.\n if (timeAsDateObj.getTime() < now) {\n console.warn(\n `Provided value for \"time\" is before the current date. Did you possibly pass number of seconds since Unix Epoch instead of number of milliseconds?`\n );\n }\n\n options = {\n ...options,\n time: timeAsDateObj.getTime(),\n };\n }\n\n if (options.intervalMs != null && options.repeat != null) {\n throw new Error(`Pass either the \"repeat\" option or \"intervalMs\" option, not both`);\n }\n\n // Validate options.repeat\n if (options.repeat != null) {\n const validOptions = new Set(['minute', 'hour', 'day', 'week', 'month', 'year']);\n if (!validOptions.has(options.repeat)) {\n throw new Error(\n `Pass one of ['minute', 'hour', 'day', 'week', 'month', 'year'] as the value for the \"repeat\" option`\n );\n }\n }\n\n if (options.intervalMs != null) {\n if (Platform.OS === 'ios') {\n throw new Error(`The \"intervalMs\" option is not supported on iOS`);\n }\n\n if (options.intervalMs <= 0 || !Number.isInteger(options.intervalMs)) {\n throw new Error(\n `Pass an integer greater than zero as the value for the \"intervalMs\" option`\n );\n }\n }\n\n if (Platform.OS !== 'android') {\n if (options.repeat) {\n console.warn(\n 'Ability to schedule an automatically repeated notification is deprecated on iOS and will be removed in the next SDK release.'\n );\n return ExponentNotifications.legacyScheduleLocalRepeatingNotification(\n nativeNotification,\n options\n );\n }\n\n return ExponentNotifications.scheduleLocalNotification(nativeNotification, options);\n } else {\n let _channel;\n if (nativeNotification.channelId) {\n _channel = await _legacyReadChannel(nativeNotification.channelId);\n }\n\n if (IS_USING_NEW_BINARY) {\n // delete the legacy channel from AsyncStorage so this codepath isn't triggered anymore\n _legacyDeleteChannel(nativeNotification.channelId);\n return ExponentNotifications.scheduleLocalNotificationWithChannel(\n nativeNotification,\n options,\n _channel\n );\n } else {\n // TODO: remove this codepath before releasing, it will never be triggered on SDK 28+\n // channel does not actually exist, so add its settings to the individual notification\n if (_channel) {\n nativeNotification.sound = _channel.sound;\n nativeNotification.priority = _channel.priority;\n nativeNotification.vibrate = _channel.vibrate;\n }\n return ExponentNotifications.scheduleLocalNotification(nativeNotification, options);\n }\n }\n },\n\n /* Dismiss currently shown notification with ID (Android only) */\n async dismissNotificationAsync(notificationId: LocalNotificationId): Promise<void> {\n if (!ExponentNotifications.dismissNotification) {\n throw new UnavailabilityError('Expo.Notifications', 'dismissNotification');\n }\n return await ExponentNotifications.dismissNotification(notificationId);\n },\n\n /* Dismiss all currently shown notifications (Android only) */\n async dismissAllNotificationsAsync(): Promise<void> {\n if (!ExponentNotifications.dismissAllNotifications) {\n throw new UnavailabilityError('Expo.Notifications', 'dismissAllNotifications');\n }\n return await ExponentNotifications.dismissAllNotifications();\n },\n\n /* Cancel scheduled notification notification with ID */\n cancelScheduledNotificationAsync(notificationId: LocalNotificationId): Promise<void> {\n if (Platform.OS === 'android' && typeof notificationId === 'string') {\n return ExponentNotifications.cancelScheduledNotificationWithStringIdAsync(notificationId);\n }\n return ExponentNotifications.cancelScheduledNotificationAsync(notificationId);\n },\n\n /* Cancel all scheduled notifications */\n cancelAllScheduledNotificationsAsync(): Promise<void> {\n return ExponentNotifications.cancelAllScheduledNotificationsAsync();\n },\n\n /* Primary public api */\n addListener(listener: (notification: Notification) => unknown): EventSubscription {\n _maybeInitEmitter();\n\n if (_initialNotification) {\n const initialNotification = _initialNotification;\n _initialNotification = null;\n setTimeout(() => {\n emitNotification(initialNotification);\n }, 0);\n }\n\n return _emitter.addListener('notification', listener);\n },\n\n async getBadgeNumberAsync(): Promise<number> {\n if (!ExponentNotifications.getBadgeNumberAsync) {\n return 0;\n }\n return ExponentNotifications.getBadgeNumberAsync();\n },\n\n async setBadgeNumberAsync(number: number): Promise<void> {\n if (!ExponentNotifications.setBadgeNumberAsync) {\n throw new UnavailabilityError('Expo.Notifications', 'setBadgeNumberAsync');\n }\n return ExponentNotifications.setBadgeNumberAsync(number);\n },\n\n async scheduleNotificationWithCalendarAsync(\n notification: LocalNotification,\n options: {\n year?: number;\n month?: number;\n hour?: number;\n day?: number;\n minute?: number;\n second?: number;\n weekDay?: number;\n repeat?: boolean;\n } = {}\n ): Promise<string> {\n const areOptionsValid: boolean =\n (options.month == null || isInRangeInclusive(options.month, 1, 12)) &&\n (options.day == null || isInRangeInclusive(options.day, 1, 31)) &&\n (options.hour == null || isInRangeInclusive(options.hour, 0, 23)) &&\n (options.minute == null || isInRangeInclusive(options.minute, 0, 59)) &&\n (options.second == null || isInRangeInclusive(options.second, 0, 59)) &&\n (options.weekDay == null || isInRangeInclusive(options.weekDay, 1, 7)) &&\n (options.weekDay == null || options.day == null);\n\n if (!areOptionsValid) {\n throw new CodedError(\n 'WRONG_OPTIONS',\n 'Options in scheduleNotificationWithCalendarAsync call were incorrect!'\n );\n }\n\n return ExponentNotifications.scheduleNotificationWithCalendar(notification, options);\n },\n\n async scheduleNotificationWithTimerAsync(\n notification: LocalNotification,\n options: {\n interval: number;\n repeat?: boolean;\n }\n ): Promise<string> {\n if (options.interval < 1) {\n throw new CodedError('WRONG_OPTIONS', 'Interval must be not less then 1');\n }\n return ExponentNotifications.scheduleNotificationWithTimer(notification, options);\n },\n};\n\nfunction isInRangeInclusive(variable: number, min: number, max: number): boolean {\n return variable >= min && variable <= max;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _SceneView=_interopRequireDefault(require(\"../SceneView\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-core/src/views/SwitchView/SwitchView.js\";var SwitchView=function(_React$Component){(0,_inherits2.default)(SwitchView,_React$Component);function SwitchView(){(0,_classCallCheck2.default)(this,SwitchView);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(SwitchView).apply(this,arguments));}(0,_createClass2.default)(SwitchView,[{key:\"render\",value:function render(){var state=this.props.navigation.state;var activeKey=state.routes[state.index].key;var descriptor=this.props.descriptors[activeKey];var ChildComponent=descriptor.getComponent();return _react.default.createElement(_SceneView.default,{component:ChildComponent,navigation:descriptor.navigation,screenProps:this.props.screenProps,__source:{fileName:_jsxFileName,lineNumber:12}});}}]);return SwitchView;}(_react.default.Component);exports.default=SwitchView;","map":{"version":3,"sources":["SwitchView.js"],"names":["SwitchView","React","state","activeKey","descriptor","ChildComponent"],"mappings":"6nBAAA,oDACA,+D,6GAEqBA,GAAAA,CAAAA,U,mVACV,CAAA,GACCE,CAAAA,KADD,CACW,KAAA,KAAA,CADX,UACW,CADX,KAAA,CAEP,GAAMC,CAAAA,SAAS,CAAGD,KAAK,CAALA,MAAAA,CAAaA,KAAK,CAAlBA,KAAAA,EAAlB,GAAA,CACA,GAAME,CAAAA,UAAU,CAAG,KAAA,KAAA,CAAA,WAAA,CAAnB,SAAmB,CAAnB,CACA,GAAMC,CAAAA,cAAc,CAAGD,UAAU,CAAjC,YAAuBA,EAAvB,CAEA,MACE,gBAAA,aAAA,CAAA,kBAAA,CAAA,CACE,SAAS,CADX,cAAA,CAEE,UAAU,CAAEA,UAAU,CAFxB,UAAA,CAGE,WAAW,CAAE,KAAA,KAAA,CAHf,WAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CADF,C,yBAPoCH,eAAnBD,S,CAAAA,C","sourcesContent":["import React from 'react';\nimport SceneView from '../SceneView';\n\nexport default class SwitchView extends React.Component {\n render() {\n const { state } = this.props.navigation;\n const activeKey = state.routes[state.index].key;\n const descriptor = this.props.descriptors[activeKey];\n const ChildComponent = descriptor.getComponent();\n\n return (\n <SceneView\n component={ChildComponent}\n navigation={descriptor.navigation}\n screenProps={this.props.screenProps}\n />\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AccessibilityUtil=_interopRequireDefault(require(\"../../modules/AccessibilityUtil\"));var _BoundingDimensions=_interopRequireDefault(require(\"./BoundingDimensions\"));var _findNodeHandle=_interopRequireDefault(require(\"../findNodeHandle\"));var _normalizeCssColor=_interopRequireDefault(require(\"normalize-css-color\"));var _Position=_interopRequireDefault(require(\"./Position\"));var _react=_interopRequireDefault(require(\"react\"));var _TouchEventUtils=_interopRequireDefault(require(\"fbjs/lib/TouchEventUtils\"));var _UIManager=_interopRequireDefault(require(\"../UIManager\"));var _View=_interopRequireDefault(require(\"../View\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var States={NOT_RESPONDER:'NOT_RESPONDER',RESPONDER_INACTIVE_PRESS_IN:'RESPONDER_INACTIVE_PRESS_IN',RESPONDER_INACTIVE_PRESS_OUT:'RESPONDER_INACTIVE_PRESS_OUT',RESPONDER_ACTIVE_PRESS_IN:'RESPONDER_ACTIVE_PRESS_IN',RESPONDER_ACTIVE_PRESS_OUT:'RESPONDER_ACTIVE_PRESS_OUT',RESPONDER_ACTIVE_LONG_PRESS_IN:'RESPONDER_ACTIVE_LONG_PRESS_IN',RESPONDER_ACTIVE_LONG_PRESS_OUT:'RESPONDER_ACTIVE_LONG_PRESS_OUT',ERROR:'ERROR'};var IsActive={RESPONDER_ACTIVE_PRESS_OUT:true,RESPONDER_ACTIVE_PRESS_IN:true};var IsPressingIn={RESPONDER_INACTIVE_PRESS_IN:true,RESPONDER_ACTIVE_PRESS_IN:true,RESPONDER_ACTIVE_LONG_PRESS_IN:true};var IsLongPressingIn={RESPONDER_ACTIVE_LONG_PRESS_IN:true};var Signals={DELAY:'DELAY',RESPONDER_GRANT:'RESPONDER_GRANT',RESPONDER_RELEASE:'RESPONDER_RELEASE',RESPONDER_TERMINATED:'RESPONDER_TERMINATED',ENTER_PRESS_RECT:'ENTER_PRESS_RECT',LEAVE_PRESS_RECT:'LEAVE_PRESS_RECT',LONG_PRESS_DETECTED:'LONG_PRESS_DETECTED'};var Transitions={NOT_RESPONDER:{DELAY:States.ERROR,RESPONDER_GRANT:States.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:States.ERROR,RESPONDER_TERMINATED:States.ERROR,ENTER_PRESS_RECT:States.ERROR,LEAVE_PRESS_RECT:States.ERROR,LONG_PRESS_DETECTED:States.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:States.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:States.ERROR,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:States.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:States.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:States.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:States.ERROR,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:States.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:States.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:States.ERROR,RESPONDER_GRANT:States.ERROR,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:States.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:States.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:States.ERROR,RESPONDER_GRANT:States.ERROR,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:States.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:States.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:States.ERROR,RESPONDER_GRANT:States.ERROR,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:States.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:States.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:States.ERROR,RESPONDER_GRANT:States.ERROR,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:States.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:States.ERROR},error:{DELAY:States.NOT_RESPONDER,RESPONDER_GRANT:States.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:States.NOT_RESPONDER,RESPONDER_TERMINATED:States.NOT_RESPONDER,ENTER_PRESS_RECT:States.NOT_RESPONDER,LEAVE_PRESS_RECT:States.NOT_RESPONDER,LONG_PRESS_DETECTED:States.NOT_RESPONDER}};var HIGHLIGHT_DELAY_MS=130;var PRESS_EXPAND_PX=20;var LONG_PRESS_THRESHOLD=500;var LONG_PRESS_DELAY_MS=LONG_PRESS_THRESHOLD-HIGHLIGHT_DELAY_MS;var LONG_PRESS_ALLOWED_MOVEMENT=10;var TouchableMixin={componentDidMount:function componentDidMount(){var _this=this;this._touchableNode=(0,_findNodeHandle.default)(this);if(this._touchableNode&&this._touchableNode.addEventListener){this._touchableBlurListener=function(e){if(_this._isTouchableKeyboardActive){if(_this.state.touchable.touchState&&_this.state.touchable.touchState!==States.NOT_RESPONDER){_this.touchableHandleResponderTerminate({nativeEvent:e});}_this._isTouchableKeyboardActive=false;}};this._touchableNode.addEventListener('blur',this._touchableBlurListener);}},componentWillUnmount:function componentWillUnmount(){if(this._touchableNode&&this._touchableNode.addEventListener){this._touchableNode.removeEventListener('blur',this._touchableBlurListener);}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout);this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout);this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout);},touchableGetInitialState:function touchableGetInitialState(){return{touchable:{touchState:undefined,responderID:null}};},touchableHandleResponderTerminationRequest:function touchableHandleResponderTerminationRequest(){return!this.props.rejectResponderTermination;},touchableHandleStartShouldSetResponder:function touchableHandleStartShouldSetResponder(){return!this.props.disabled;},touchableLongPressCancelsPress:function touchableLongPressCancelsPress(){return true;},touchableHandleResponderGrant:function touchableHandleResponderGrant(e){var dispatchID=e.currentTarget;e.persist();this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout);this.pressOutDelayTimeout=null;this.state.touchable.touchState=States.NOT_RESPONDER;this.state.touchable.responderID=dispatchID;this._receiveSignal(Signals.RESPONDER_GRANT,e);var delayMS=this.touchableGetHighlightDelayMS!==undefined?Math.max(this.touchableGetHighlightDelayMS(),0):HIGHLIGHT_DELAY_MS;delayMS=isNaN(delayMS)?HIGHLIGHT_DELAY_MS:delayMS;if(delayMS!==0){this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),delayMS);}else{this.state.touchable.positionOnActivate=null;this._handleDelay(e);}var longDelayMS=this.touchableGetLongPressDelayMS!==undefined?Math.max(this.touchableGetLongPressDelayMS(),10):LONG_PRESS_DELAY_MS;longDelayMS=isNaN(longDelayMS)?LONG_PRESS_DELAY_MS:longDelayMS;this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),longDelayMS+delayMS);},touchableHandleResponderRelease:function touchableHandleResponderRelease(e){this._receiveSignal(Signals.RESPONDER_RELEASE,e);},touchableHandleResponderTerminate:function touchableHandleResponderTerminate(e){this._receiveSignal(Signals.RESPONDER_TERMINATED,e);},touchableHandleResponderMove:function touchableHandleResponderMove(e){if(this.state.touchable.touchState===States.RESPONDER_INACTIVE_PRESS_IN){return;}if(!this.state.touchable.positionOnActivate){return;}var positionOnActivate=this.state.touchable.positionOnActivate;var dimensionsOnActivate=this.state.touchable.dimensionsOnActivate;var pressRectOffset=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:PRESS_EXPAND_PX,right:PRESS_EXPAND_PX,top:PRESS_EXPAND_PX,bottom:PRESS_EXPAND_PX};var pressExpandLeft=pressRectOffset.left;var pressExpandTop=pressRectOffset.top;var pressExpandRight=pressRectOffset.right;var pressExpandBottom=pressRectOffset.bottom;var hitSlop=this.touchableGetHitSlop?this.touchableGetHitSlop():null;if(hitSlop){pressExpandLeft+=hitSlop.left;pressExpandTop+=hitSlop.top;pressExpandRight+=hitSlop.right;pressExpandBottom+=hitSlop.bottom;}var touch=_TouchEventUtils.default.extractSingleTouch(e.nativeEvent);var pageX=touch&&touch.pageX;var pageY=touch&&touch.pageY;if(this.pressInLocation){var movedDistance=this._getDistanceBetweenPoints(pageX,pageY,this.pressInLocation.pageX,this.pressInLocation.pageY);if(movedDistance>LONG_PRESS_ALLOWED_MOVEMENT){this._cancelLongPressDelayTimeout();}}var isTouchWithinActive=pageX>positionOnActivate.left-pressExpandLeft&&pageY>positionOnActivate.top-pressExpandTop&&pageX<positionOnActivate.left+dimensionsOnActivate.width+pressExpandRight&&pageY<positionOnActivate.top+dimensionsOnActivate.height+pressExpandBottom;if(isTouchWithinActive){this._receiveSignal(Signals.ENTER_PRESS_RECT,e);var curState=this.state.touchable.touchState;if(curState===States.RESPONDER_INACTIVE_PRESS_IN){this._cancelLongPressDelayTimeout();}}else{this._cancelLongPressDelayTimeout();this._receiveSignal(Signals.LEAVE_PRESS_RECT,e);}},_remeasureMetricsOnActivation:function _remeasureMetricsOnActivation(){var tag=this.state.touchable.responderID;if(tag==null){return;}_UIManager.default.measure(tag,this._handleQueryLayout);},_handleQueryLayout:function _handleQueryLayout(x,y,width,height,globalX,globalY){if(!x&&!y&&!width&&!height&&!globalX&&!globalY){return;}this.state.touchable.positionOnActivate&&_Position.default.release(this.state.touchable.positionOnActivate);this.state.touchable.dimensionsOnActivate&&_BoundingDimensions.default.release(this.state.touchable.dimensionsOnActivate);this.state.touchable.positionOnActivate=_Position.default.getPooled(globalX,globalY);this.state.touchable.dimensionsOnActivate=_BoundingDimensions.default.getPooled(width,height);},_handleDelay:function _handleDelay(e){this.touchableDelayTimeout=null;this._receiveSignal(Signals.DELAY,e);},_handleLongDelay:function _handleLongDelay(e){this.longPressDelayTimeout=null;var curState=this.state.touchable.touchState;if(curState!==States.RESPONDER_ACTIVE_PRESS_IN&&curState!==States.RESPONDER_ACTIVE_LONG_PRESS_IN){console.error('Attempted to transition from state `'+curState+'` to `'+States.RESPONDER_ACTIVE_LONG_PRESS_IN+'`, which is not supported. This is '+'most likely due to `Touchable.longPressDelayTimeout` not being cancelled.');}else{this._receiveSignal(Signals.LONG_PRESS_DETECTED,e);}},_receiveSignal:function _receiveSignal(signal,e){var responderID=this.state.touchable.responderID;var curState=this.state.touchable.touchState;var nextState=Transitions[curState]&&Transitions[curState][signal];if(!responderID&&signal===Signals.RESPONDER_RELEASE){return;}if(!nextState){throw new Error('Unrecognized signal `'+signal+'` or state `'+curState+'` for Touchable responder `'+responderID+'`');}if(nextState===States.ERROR){throw new Error('Touchable cannot transition from `'+curState+'` to `'+signal+'` for responder `'+responderID+'`');}if(curState!==nextState){this._performSideEffectsForTransition(curState,nextState,signal,e);this.state.touchable.touchState=nextState;}},_cancelLongPressDelayTimeout:function _cancelLongPressDelayTimeout(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout);this.longPressDelayTimeout=null;},_isHighlight:function _isHighlight(state){return state===States.RESPONDER_ACTIVE_PRESS_IN||state===States.RESPONDER_ACTIVE_LONG_PRESS_IN;},_savePressInLocation:function _savePressInLocation(e){var touch=_TouchEventUtils.default.extractSingleTouch(e.nativeEvent);var pageX=touch&&touch.pageX;var pageY=touch&&touch.pageY;this.pressInLocation={pageX:pageX,pageY:pageY,get locationX(){return touch&&touch.locationX;},get locationY(){return touch&&touch.locationY;}};},_getDistanceBetweenPoints:function _getDistanceBetweenPoints(aX,aY,bX,bY){var deltaX=aX-bX;var deltaY=aY-bY;return Math.sqrt(deltaX*deltaX+deltaY*deltaY);},_performSideEffectsForTransition:function _performSideEffectsForTransition(curState,nextState,signal,e){var curIsHighlight=this._isHighlight(curState);var newIsHighlight=this._isHighlight(nextState);var isFinalSignal=signal===Signals.RESPONDER_TERMINATED||signal===Signals.RESPONDER_RELEASE;if(isFinalSignal){this._cancelLongPressDelayTimeout();}if(!IsActive[curState]&&IsActive[nextState]){this._remeasureMetricsOnActivation();}if(IsPressingIn[curState]&&signal===Signals.LONG_PRESS_DETECTED){this.touchableHandleLongPress&&this.touchableHandleLongPress(e);}if(newIsHighlight&&!curIsHighlight){this._startHighlight(e);}else if(!newIsHighlight&&curIsHighlight){this._endHighlight(e);}if(IsPressingIn[curState]&&signal===Signals.RESPONDER_RELEASE){var hasLongPressHandler=!!this.props.onLongPress;var pressIsLongButStillCallOnPress=IsLongPressingIn[curState]&&(!hasLongPressHandler||!this.touchableLongPressCancelsPress());var shouldInvokePress=!IsLongPressingIn[curState]||pressIsLongButStillCallOnPress;if(shouldInvokePress&&this.touchableHandlePress){if(!newIsHighlight&&!curIsHighlight){this._startHighlight(e);this._endHighlight(e);}this.touchableHandlePress(e);}}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout);this.touchableDelayTimeout=null;},_startHighlight:function _startHighlight(e){this._savePressInLocation(e);this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(e);},_endHighlight:function _endHighlight(e){var _this2=this;if(this.touchableHandleActivePressOut){if(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()){this.pressOutDelayTimeout=setTimeout(function(){_this2.touchableHandleActivePressOut(e);},this.touchableGetPressOutDelayMS());}else{this.touchableHandleActivePressOut(e);}}},touchableHandleKeyEvent:function touchableHandleKeyEvent(e){var ENTER=13;var SPACE=32;var type=e.type,which=e.which;if(which===ENTER||which===SPACE){if(type==='keydown'){if(!this._isTouchableKeyboardActive){if(!this.state.touchable.touchState||this.state.touchable.touchState===States.NOT_RESPONDER){this.touchableHandleResponderGrant(e);this._isTouchableKeyboardActive=true;}}}else if(type==='keyup'){if(this._isTouchableKeyboardActive){if(this.state.touchable.touchState&&this.state.touchable.touchState!==States.NOT_RESPONDER){this.touchableHandleResponderRelease(e);this._isTouchableKeyboardActive=false;}}}e.stopPropagation();if(!(which===ENTER&&_AccessibilityUtil.default.propsToAriaRole(this.props)==='link')){e.preventDefault();}}}};var Touchable={Mixin:TouchableMixin,TOUCH_TARGET_DEBUG:false,renderDebugView:function renderDebugView(_ref){var color=_ref.color,hitSlop=_ref.hitSlop;if(process.env.NODE_ENV!=='production'){if(!Touchable.TOUCH_TARGET_DEBUG){return null;}var debugHitSlopStyle={};hitSlop=hitSlop||{top:0,bottom:0,left:0,right:0};for(var key in hitSlop){debugHitSlopStyle[key]=-hitSlop[key];}var hexColor='#'+('00000000'+(0,_normalizeCssColor.default)(color).toString(16)).substr(-8);return _react.default.createElement(_View.default,{pointerEvents:\"none\",style:_objectSpread({position:'absolute',borderColor:hexColor.slice(0,-2)+'55',borderWidth:1,borderStyle:'dashed',backgroundColor:hexColor.slice(0,-2)+'0F'},debugHitSlopStyle)});}}};var _default=Touchable;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Touchable/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","States","NOT_RESPONDER","RESPONDER_INACTIVE_PRESS_IN","RESPONDER_INACTIVE_PRESS_OUT","RESPONDER_ACTIVE_PRESS_IN","RESPONDER_ACTIVE_PRESS_OUT","RESPONDER_ACTIVE_LONG_PRESS_IN","RESPONDER_ACTIVE_LONG_PRESS_OUT","ERROR","IsActive","IsPressingIn","IsLongPressingIn","Signals","DELAY","RESPONDER_GRANT","RESPONDER_RELEASE","RESPONDER_TERMINATED","ENTER_PRESS_RECT","LEAVE_PRESS_RECT","LONG_PRESS_DETECTED","Transitions","error","HIGHLIGHT_DELAY_MS","PRESS_EXPAND_PX","LONG_PRESS_THRESHOLD","LONG_PRESS_DELAY_MS","LONG_PRESS_ALLOWED_MOVEMENT","TouchableMixin","componentDidMount","_this","_touchableNode","addEventListener","_touchableBlurListener","e","_isTouchableKeyboardActive","state","touchable","touchState","touchableHandleResponderTerminate","nativeEvent","componentWillUnmount","removeEventListener","touchableDelayTimeout","clearTimeout","longPressDelayTimeout","pressOutDelayTimeout","touchableGetInitialState","undefined","responderID","touchableHandleResponderTerminationRequest","props","rejectResponderTermination","touchableHandleStartShouldSetResponder","disabled","touchableLongPressCancelsPress","touchableHandleResponderGrant","dispatchID","currentTarget","persist","_receiveSignal","delayMS","touchableGetHighlightDelayMS","Math","max","isNaN","setTimeout","_handleDelay","bind","positionOnActivate","longDelayMS","touchableGetLongPressDelayMS","_handleLongDelay","touchableHandleResponderRelease","touchableHandleResponderMove","dimensionsOnActivate","pressRectOffset","touchableGetPressRectOffset","left","right","top","bottom","pressExpandLeft","pressExpandTop","pressExpandRight","pressExpandBottom","hitSlop","touchableGetHitSlop","touch","TouchEventUtils","extractSingleTouch","pageX","pageY","pressInLocation","movedDistance","_getDistanceBetweenPoints","_cancelLongPressDelayTimeout","isTouchWithinActive","width","height","curState","_remeasureMetricsOnActivation","tag","UIManager","measure","_handleQueryLayout","x","y","globalX","globalY","Position","release","BoundingDimensions","getPooled","console","signal","nextState","Error","_performSideEffectsForTransition","_isHighlight","_savePressInLocation","locationX","locationY","aX","aY","bX","bY","deltaX","deltaY","sqrt","curIsHighlight","newIsHighlight","isFinalSignal","touchableHandleLongPress","_startHighlight","_endHighlight","hasLongPressHandler","onLongPress","pressIsLongButStillCallOnPress","shouldInvokePress","touchableHandlePress","touchableHandleActivePressIn","_this2","touchableHandleActivePressOut","touchableGetPressOutDelayMS","touchableHandleKeyEvent","ENTER","SPACE","type","which","stopPropagation","AccessibilityUtil","propsToAriaRole","preventDefault","Touchable","Mixin","TOUCH_TARGET_DEBUG","renderDebugView","_ref","color","process","env","NODE_ENV","debugHitSlopStyle","hexColor","toString","substr","React","createElement","View","pointerEvents","style","position","borderColor","slice","borderWidth","borderStyle","backgroundColor"],"mappings":"mKAeA,0FACA,gFACA,yEACA,8EACA,4DACA,oDACA,iFACA,+DACA,qDAvBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAA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,KAAK,CAAGD,IAAI,CAACC,KAAjB,CACIzE,OAAO,CAAGwE,IAAI,CAACxE,OADnB,CAGA,GAAI0E,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzC,GAAI,CAACR,SAAS,CAACE,kBAAf,CAAmC,CACjC,MAAO,KAAP,CACD,CAED,GAAIO,CAAAA,iBAAiB,CAAG,EAAxB,CACA7E,OAAO,CAAGA,OAAO,EAAI,CACnBN,GAAG,CAAE,CADc,CAEnBC,MAAM,CAAE,CAFW,CAGnBH,IAAI,CAAE,CAHa,CAInBC,KAAK,CAAE,CAJY,CAArB,CAOA,IAAK,GAAIrF,CAAAA,GAAT,GAAgB4F,CAAAA,OAAhB,CAAyB,CACvB6E,iBAAiB,CAACzK,GAAD,CAAjB,CAAyB,CAAC4F,OAAO,CAAC5F,GAAD,CAAjC,CACD,CAED,GAAI0K,CAAAA,QAAQ,CAAG,IAAM,CAAC,WAAa,+BAAeL,KAAf,EAAsBM,QAAtB,CAA+B,EAA/B,CAAd,EAAkDC,MAAlD,CAAyD,CAAC,CAA1D,CAArB,CACA,MAAOC,gBAAMC,aAAN,CAAoBC,aAApB,CAA0B,CAC/BC,aAAa,CAAE,MADgB,CAE/BC,KAAK,CAAEjM,aAAa,CAAC,CACnBkM,QAAQ,CAAE,UADS,CAEnBC,WAAW,CAAET,QAAQ,CAACU,KAAT,CAAe,CAAf,CAAkB,CAAC,CAAnB,EAAwB,IAFlB,CAInBC,WAAW,CAAE,CAJM,CAKnBC,WAAW,CAAE,QALM,CAMnBC,eAAe,CAAEb,QAAQ,CAACU,KAAT,CAAe,CAAf,CAAkB,CAAC,CAAnB,EAAwB,IANtB,CAAD,CAOjBX,iBAPiB,CAFW,CAA1B,CAAP,CAWD,CACF,CA1Ca,CAAhB,C,aA4CeT,S","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* eslint-disable react/prop-types */\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AccessibilityUtil from '../../modules/AccessibilityUtil';\nimport BoundingDimensions from './BoundingDimensions';\nimport findNodeHandle from '../findNodeHandle';\nimport normalizeColor from 'normalize-css-color';\nimport Position from './Position';\nimport React from 'react';\nimport TouchEventUtils from 'fbjs/lib/TouchEventUtils';\nimport UIManager from '../UIManager';\nimport View from '../View';\n\n/**\n * `Touchable`: Taps done right.\n *\n * You hook your `ResponderEventPlugin` events into `Touchable`. `Touchable`\n * will measure time/geometry and tells you when to give feedback to the user.\n *\n * ====================== Touchable Tutorial ===============================\n * The `Touchable` mixin helps you handle the \"press\" interaction. It analyzes\n * the geometry of elements, and observes when another responder (scroll view\n * etc) has stolen the touch lock. It notifies your component when it should\n * give feedback to the user. (bouncing/highlighting/unhighlighting).\n *\n * - When a touch was activated (typically you highlight)\n * - When a touch was deactivated (typically you unhighlight)\n * - When a touch was \"pressed\" - a touch ended while still within the geometry\n * of the element, and no other element (like scroller) has \"stolen\" touch\n * lock (\"responder\") (Typically you bounce the element).\n *\n * A good tap interaction isn't as simple as you might think. There should be a\n * slight delay before showing a highlight when starting a touch. If a\n * subsequent touch move exceeds the boundary of the element, it should\n * unhighlight, but if that same touch is brought back within the boundary, it\n * should rehighlight again. A touch can move in and out of that boundary\n * several times, each time toggling highlighting, but a \"press\" is only\n * triggered if that touch ends while within the element's boundary and no\n * scroller (or anything else) has stolen the lock on touches.\n *\n * To create a new type of component that handles interaction using the\n * `Touchable` mixin, do the following:\n *\n * - Initialize the `Touchable` state.\n *\n * getInitialState: function() {\n * return merge(this.touchableGetInitialState(), yourComponentState);\n * }\n *\n * - Choose the rendered component who's touches should start the interactive\n * sequence. On that rendered node, forward all `Touchable` responder\n * handlers. You can choose any rendered node you like. Choose a node whose\n * hit target you'd like to instigate the interaction sequence:\n *\n * // In render function:\n * return (\n * <View\n * onStartShouldSetResponder={this.touchableHandleStartShouldSetResponder}\n * onResponderTerminationRequest={this.touchableHandleResponderTerminationRequest}\n * onResponderGrant={this.touchableHandleResponderGrant}\n * onResponderMove={this.touchableHandleResponderMove}\n * onResponderRelease={this.touchableHandleResponderRelease}\n * onResponderTerminate={this.touchableHandleResponderTerminate}>\n * <View>\n * Even though the hit detection/interactions are triggered by the\n * wrapping (typically larger) node, we usually end up implementing\n * custom logic that highlights this inner one.\n * </View>\n * </View>\n * );\n *\n * - You may set up your own handlers for each of these events, so long as you\n * also invoke the `touchable*` handlers inside of your custom handler.\n *\n * - Implement the handlers on your component class in order to provide\n * feedback to the user. See documentation for each of these class methods\n * that you should implement.\n *\n * touchableHandlePress: function() {\n * this.performBounceAnimation(); // or whatever you want to do.\n * },\n * touchableHandleActivePressIn: function() {\n * this.beginHighlighting(...); // Whatever you like to convey activation\n * },\n * touchableHandleActivePressOut: function() {\n * this.endHighlighting(...); // Whatever you like to convey deactivation\n * },\n *\n * - There are more advanced methods you can implement (see documentation below):\n * touchableGetHighlightDelayMS: function() {\n * return 20;\n * }\n * // In practice, *always* use a predeclared constant (conserve memory).\n * touchableGetPressRectOffset: function() {\n * return {top: 20, left: 20, right: 20, bottom: 100};\n * }\n */\n\n/**\n * Touchable states.\n */\nvar States = {\n NOT_RESPONDER: 'NOT_RESPONDER',\n // Not the responder\n RESPONDER_INACTIVE_PRESS_IN: 'RESPONDER_INACTIVE_PRESS_IN',\n // Responder, inactive, in the `PressRect`\n RESPONDER_INACTIVE_PRESS_OUT: 'RESPONDER_INACTIVE_PRESS_OUT',\n // Responder, inactive, out of `PressRect`\n RESPONDER_ACTIVE_PRESS_IN: 'RESPONDER_ACTIVE_PRESS_IN',\n // Responder, active, in the `PressRect`\n RESPONDER_ACTIVE_PRESS_OUT: 'RESPONDER_ACTIVE_PRESS_OUT',\n // Responder, active, out of `PressRect`\n RESPONDER_ACTIVE_LONG_PRESS_IN: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n // Responder, active, in the `PressRect`, after long press threshold\n RESPONDER_ACTIVE_LONG_PRESS_OUT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n // Responder, active, out of `PressRect`, after long press threshold\n ERROR: 'ERROR'\n};\n/**\n * Quick lookup map for states that are considered to be \"active\"\n */\n\nvar IsActive = {\n RESPONDER_ACTIVE_PRESS_OUT: true,\n RESPONDER_ACTIVE_PRESS_IN: true\n};\n/**\n * Quick lookup for states that are considered to be \"pressing\" and are\n * therefore eligible to result in a \"selection\" if the press stops.\n */\n\nvar IsPressingIn = {\n RESPONDER_INACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true\n};\nvar IsLongPressingIn = {\n RESPONDER_ACTIVE_LONG_PRESS_IN: true\n};\n/**\n * Inputs to the state machine.\n */\n\nvar Signals = {\n DELAY: 'DELAY',\n RESPONDER_GRANT: 'RESPONDER_GRANT',\n RESPONDER_RELEASE: 'RESPONDER_RELEASE',\n RESPONDER_TERMINATED: 'RESPONDER_TERMINATED',\n ENTER_PRESS_RECT: 'ENTER_PRESS_RECT',\n LEAVE_PRESS_RECT: 'LEAVE_PRESS_RECT',\n LONG_PRESS_DETECTED: 'LONG_PRESS_DETECTED'\n};\n/**\n * Mapping from States x Signals => States\n */\n\nvar Transitions = {\n NOT_RESPONDER: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.ERROR,\n RESPONDER_TERMINATED: States.ERROR,\n ENTER_PRESS_RECT: States.ERROR,\n LEAVE_PRESS_RECT: States.ERROR,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_IN,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_OUT,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n error: {\n DELAY: States.NOT_RESPONDER,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.NOT_RESPONDER,\n LEAVE_PRESS_RECT: States.NOT_RESPONDER,\n LONG_PRESS_DETECTED: States.NOT_RESPONDER\n }\n}; // ==== Typical Constants for integrating into UI components ====\n// var HIT_EXPAND_PX = 20;\n// var HIT_VERT_OFFSET_PX = 10;\n\nvar HIGHLIGHT_DELAY_MS = 130;\nvar PRESS_EXPAND_PX = 20;\nvar LONG_PRESS_THRESHOLD = 500;\nvar LONG_PRESS_DELAY_MS = LONG_PRESS_THRESHOLD - HIGHLIGHT_DELAY_MS;\nvar LONG_PRESS_ALLOWED_MOVEMENT = 10; // Default amount \"active\" region protrudes beyond box\n\n/**\n * By convention, methods prefixed with underscores are meant to be @private,\n * and not @protected. Mixers shouldn't access them - not even to provide them\n * as callback handlers.\n *\n *\n * ========== Geometry =========\n * `Touchable` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * +--------------------------+\n * | | - \"Start\" events in `HitRect` cause `HitRect`\n * | +--------------------+ | to become the responder.\n * | | +--------------+ | | - `HitRect` is typically expanded around\n * | | | | | | the `VisualRect`, but shifted downward.\n * | | | VisualRect | | | - After pressing down, after some delay,\n * | | | | | | and before letting up, the Visual React\n * | | +--------------+ | | will become \"active\". This makes it eligible\n * | | HitRect | | for being highlighted (so long as the\n * | +--------------------+ | press remains in the `PressRect`).\n * | PressRect o |\n * +----------------------|---+\n * Out Region |\n * +-----+ This gap between the `HitRect` and\n * `PressRect` allows a touch to move far away\n * from the original hit rect, and remain\n * highlighted, and eligible for a \"Press\".\n * Customize this via\n * `touchableGetPressRectOffset()`.\n *\n *\n *\n * ======= State Machine =======\n *\n * +-------------+ <---+ RESPONDER_RELEASE\n * |NOT_RESPONDER|\n * +-------------+ <---+ RESPONDER_TERMINATED\n * +\n * | RESPONDER_GRANT (HitRect)\n * v\n * +---------------------------+ DELAY +-------------------------+ T + DELAY +------------------------------+\n * |RESPONDER_INACTIVE_PRESS_IN|+-------->|RESPONDER_ACTIVE_PRESS_IN| +------------> |RESPONDER_ACTIVE_LONG_PRESS_IN|\n * +---------------------------+ +-------------------------+ +------------------------------+\n * + ^ + ^ + ^\n * |LEAVE_ |ENTER_ |LEAVE_ |ENTER_ |LEAVE_ |ENTER_\n * |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT\n * | | | | | |\n * v + v + v +\n * +----------------------------+ DELAY +--------------------------+ +-------------------------------+\n * |RESPONDER_INACTIVE_PRESS_OUT|+------->|RESPONDER_ACTIVE_PRESS_OUT| |RESPONDER_ACTIVE_LONG_PRESS_OUT|\n * +----------------------------+ +--------------------------+ +-------------------------------+\n *\n * T + DELAY => LONG_PRESS_DELAY_MS + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the `touchableHandlePress` abstract method invocation that occurs\n * when a responder is released while in either of the \"Press\" states.\n *\n * The other important side effects are the highlight abstract method\n * invocations (internal callbacks) to be implemented by the mixer.\n *\n *\n * @lends Touchable.prototype\n */\n\nvar TouchableMixin = {\n // HACK (part 1): basic support for touchable interactions using a keyboard\n componentDidMount: function componentDidMount() {\n var _this = this;\n\n this._touchableNode = findNodeHandle(this);\n\n if (this._touchableNode && this._touchableNode.addEventListener) {\n this._touchableBlurListener = function (e) {\n if (_this._isTouchableKeyboardActive) {\n if (_this.state.touchable.touchState && _this.state.touchable.touchState !== States.NOT_RESPONDER) {\n _this.touchableHandleResponderTerminate({\n nativeEvent: e\n });\n }\n\n _this._isTouchableKeyboardActive = false;\n }\n };\n\n this._touchableNode.addEventListener('blur', this._touchableBlurListener);\n }\n },\n\n /**\n * Clear all timeouts on unmount\n */\n componentWillUnmount: function componentWillUnmount() {\n if (this._touchableNode && this._touchableNode.addEventListener) {\n this._touchableNode.removeEventListener('blur', this._touchableBlurListener);\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n },\n\n /**\n * It's prefer that mixins determine state in this way, having the class\n * explicitly mix the state in the one and only `getInitialState` method.\n *\n * @return {object} State object to be placed inside of\n * `this.state.touchable`.\n */\n touchableGetInitialState: function touchableGetInitialState() {\n return {\n touchable: {\n touchState: undefined,\n responderID: null\n }\n };\n },\n // ==== Hooks to Gesture Responder system ====\n\n /**\n * Must return true if embedded in a native platform scroll view.\n */\n touchableHandleResponderTerminationRequest: function touchableHandleResponderTerminationRequest() {\n return !this.props.rejectResponderTermination;\n },\n\n /**\n * Must return true to start the process of `Touchable`.\n */\n touchableHandleStartShouldSetResponder: function touchableHandleStartShouldSetResponder() {\n return !this.props.disabled;\n },\n\n /**\n * Return true to cancel press on long press.\n */\n touchableLongPressCancelsPress: function touchableLongPressCancelsPress() {\n return true;\n },\n\n /**\n * Place as callback for a DOM element's `onResponderGrant` event.\n */\n touchableHandleResponderGrant: function touchableHandleResponderGrant(e) {\n var dispatchID = e.currentTarget; // Since e is used in a callback invoked on another event loop\n // (as in setTimeout etc), we need to call e.persist() on the\n // event to make sure it doesn't get reused in the event object pool.\n\n e.persist();\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressOutDelayTimeout = null;\n this.state.touchable.touchState = States.NOT_RESPONDER;\n this.state.touchable.responderID = dispatchID;\n\n this._receiveSignal(Signals.RESPONDER_GRANT, e);\n\n var delayMS = this.touchableGetHighlightDelayMS !== undefined ? Math.max(this.touchableGetHighlightDelayMS(), 0) : HIGHLIGHT_DELAY_MS;\n delayMS = isNaN(delayMS) ? HIGHLIGHT_DELAY_MS : delayMS;\n\n if (delayMS !== 0) {\n this.touchableDelayTimeout = setTimeout(this._handleDelay.bind(this, e), delayMS);\n } else {\n this.state.touchable.positionOnActivate = null;\n\n this._handleDelay(e);\n }\n\n var longDelayMS = this.touchableGetLongPressDelayMS !== undefined ? Math.max(this.touchableGetLongPressDelayMS(), 10) : LONG_PRESS_DELAY_MS;\n longDelayMS = isNaN(longDelayMS) ? LONG_PRESS_DELAY_MS : longDelayMS;\n this.longPressDelayTimeout = setTimeout(this._handleLongDelay.bind(this, e), longDelayMS + delayMS);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderRelease` event.\n */\n touchableHandleResponderRelease: function touchableHandleResponderRelease(e) {\n this._receiveSignal(Signals.RESPONDER_RELEASE, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderTerminate` event.\n */\n touchableHandleResponderTerminate: function touchableHandleResponderTerminate(e) {\n this._receiveSignal(Signals.RESPONDER_TERMINATED, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderMove` event.\n */\n touchableHandleResponderMove: function touchableHandleResponderMove(e) {\n // Not enough time elapsed yet, wait for highlight -\n // this is just a perf optimization.\n if (this.state.touchable.touchState === States.RESPONDER_INACTIVE_PRESS_IN) {\n return;\n } // Measurement may not have returned yet.\n\n\n if (!this.state.touchable.positionOnActivate) {\n return;\n }\n\n var positionOnActivate = this.state.touchable.positionOnActivate;\n var dimensionsOnActivate = this.state.touchable.dimensionsOnActivate;\n var pressRectOffset = this.touchableGetPressRectOffset ? this.touchableGetPressRectOffset() : {\n left: PRESS_EXPAND_PX,\n right: PRESS_EXPAND_PX,\n top: PRESS_EXPAND_PX,\n bottom: PRESS_EXPAND_PX\n };\n var pressExpandLeft = pressRectOffset.left;\n var pressExpandTop = pressRectOffset.top;\n var pressExpandRight = pressRectOffset.right;\n var pressExpandBottom = pressRectOffset.bottom;\n var hitSlop = this.touchableGetHitSlop ? this.touchableGetHitSlop() : null;\n\n if (hitSlop) {\n pressExpandLeft += hitSlop.left;\n pressExpandTop += hitSlop.top;\n pressExpandRight += hitSlop.right;\n pressExpandBottom += hitSlop.bottom;\n }\n\n var touch = TouchEventUtils.extractSingleTouch(e.nativeEvent);\n var pageX = touch && touch.pageX;\n var pageY = touch && touch.pageY;\n\n if (this.pressInLocation) {\n var movedDistance = this._getDistanceBetweenPoints(pageX, pageY, this.pressInLocation.pageX, this.pressInLocation.pageY);\n\n if (movedDistance > LONG_PRESS_ALLOWED_MOVEMENT) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n var isTouchWithinActive = pageX > positionOnActivate.left - pressExpandLeft && pageY > positionOnActivate.top - pressExpandTop && pageX < positionOnActivate.left + dimensionsOnActivate.width + pressExpandRight && pageY < positionOnActivate.top + dimensionsOnActivate.height + pressExpandBottom;\n\n if (isTouchWithinActive) {\n this._receiveSignal(Signals.ENTER_PRESS_RECT, e);\n\n var curState = this.state.touchable.touchState;\n\n if (curState === States.RESPONDER_INACTIVE_PRESS_IN) {\n // fix for t7967420\n this._cancelLongPressDelayTimeout();\n }\n } else {\n this._cancelLongPressDelayTimeout();\n\n this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);\n }\n },\n // ==== Abstract Application Callbacks ====\n\n /**\n * Invoked when the item should be highlighted. Mixers should implement this\n * to visually distinguish the `VisualRect` so that the user knows that\n * releasing a touch will result in a \"selection\" (analog to click).\n *\n * @abstract\n * touchableHandleActivePressIn: function,\n */\n\n /**\n * Invoked when the item is \"active\" (in that it is still eligible to become\n * a \"select\") but the touch has left the `PressRect`. Usually the mixer will\n * want to unhighlight the `VisualRect`. If the user (while pressing) moves\n * back into the `PressRect` `touchableHandleActivePressIn` will be invoked\n * again and the mixer should probably highlight the `VisualRect` again. This\n * event will not fire on an `touchEnd/mouseUp` event, only move events while\n * the user is depressing the mouse/touch.\n *\n * @abstract\n * touchableHandleActivePressOut: function\n */\n\n /**\n * Invoked when the item is \"selected\" - meaning the interaction ended by\n * letting up while the item was either in the state\n * `RESPONDER_ACTIVE_PRESS_IN` or `RESPONDER_INACTIVE_PRESS_IN`.\n *\n * @abstract\n * touchableHandlePress: function\n */\n\n /**\n * Invoked when the item is long pressed - meaning the interaction ended by\n * letting up while the item was in `RESPONDER_ACTIVE_LONG_PRESS_IN`. If\n * `touchableHandleLongPress` is *not* provided, `touchableHandlePress` will\n * be called as it normally is. If `touchableHandleLongPress` is provided, by\n * default any `touchableHandlePress` callback will not be invoked. To\n * override this default behavior, override `touchableLongPressCancelsPress`\n * to return false. As a result, `touchableHandlePress` will be called when\n * lifting up, even if `touchableHandleLongPress` has also been called.\n *\n * @abstract\n * touchableHandleLongPress: function\n */\n\n /**\n * Returns the number of millis to wait before triggering a highlight.\n *\n * @abstract\n * touchableGetHighlightDelayMS: function\n */\n\n /**\n * Returns the amount to extend the `HitRect` into the `PressRect`. Positive\n * numbers mean the size expands outwards.\n *\n * @abstract\n * touchableGetPressRectOffset: function\n */\n // ==== Internal Logic ====\n\n /**\n * Measures the `HitRect` node on activation. The Bounding rectangle is with\n * respect to viewport - not page, so adding the `pageXOffset/pageYOffset`\n * should result in points that are in the same coordinate system as an\n * event's `globalX/globalY` data values.\n *\n * - Consider caching this for the lifetime of the component, or possibly\n * being able to share this cache between any `ScrollMap` view.\n *\n * @sideeffects\n * @private\n */\n _remeasureMetricsOnActivation: function _remeasureMetricsOnActivation() {\n var tag = this.state.touchable.responderID;\n\n if (tag == null) {\n return;\n }\n\n UIManager.measure(tag, this._handleQueryLayout);\n },\n _handleQueryLayout: function _handleQueryLayout(x, y, width, height, globalX, globalY) {\n // don't do anything if UIManager failed to measure node\n if (!x && !y && !width && !height && !globalX && !globalY) {\n return;\n }\n\n this.state.touchable.positionOnActivate && Position.release(this.state.touchable.positionOnActivate);\n this.state.touchable.dimensionsOnActivate && // $FlowFixMe\n BoundingDimensions.release(this.state.touchable.dimensionsOnActivate);\n this.state.touchable.positionOnActivate = Position.getPooled(globalX, globalY); // $FlowFixMe\n\n this.state.touchable.dimensionsOnActivate = BoundingDimensions.getPooled(width, height);\n },\n _handleDelay: function _handleDelay(e) {\n this.touchableDelayTimeout = null;\n\n this._receiveSignal(Signals.DELAY, e);\n },\n _handleLongDelay: function _handleLongDelay(e) {\n this.longPressDelayTimeout = null;\n var curState = this.state.touchable.touchState;\n\n if (curState !== States.RESPONDER_ACTIVE_PRESS_IN && curState !== States.RESPONDER_ACTIVE_LONG_PRESS_IN) {\n console.error('Attempted to transition from state `' + curState + '` to `' + States.RESPONDER_ACTIVE_LONG_PRESS_IN + '`, which is not supported. This is ' + 'most likely due to `Touchable.longPressDelayTimeout` not being cancelled.');\n } else {\n this._receiveSignal(Signals.LONG_PRESS_DETECTED, e);\n }\n },\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n *\n * @param {Signals} signal State machine signal.\n * @throws Error if invalid state transition or unrecognized signal.\n * @sideeffects\n */\n _receiveSignal: function _receiveSignal(signal, e) {\n var responderID = this.state.touchable.responderID;\n var curState = this.state.touchable.touchState;\n var nextState = Transitions[curState] && Transitions[curState][signal];\n\n if (!responderID && signal === Signals.RESPONDER_RELEASE) {\n return;\n }\n\n if (!nextState) {\n throw new Error('Unrecognized signal `' + signal + '` or state `' + curState + '` for Touchable responder `' + responderID + '`');\n }\n\n if (nextState === States.ERROR) {\n throw new Error('Touchable cannot transition from `' + curState + '` to `' + signal + '` for responder `' + responderID + '`');\n }\n\n if (curState !== nextState) {\n this._performSideEffectsForTransition(curState, nextState, signal, e);\n\n this.state.touchable.touchState = nextState;\n }\n },\n _cancelLongPressDelayTimeout: function _cancelLongPressDelayTimeout() {\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.longPressDelayTimeout = null;\n },\n _isHighlight: function _isHighlight(state) {\n return state === States.RESPONDER_ACTIVE_PRESS_IN || state === States.RESPONDER_ACTIVE_LONG_PRESS_IN;\n },\n _savePressInLocation: function _savePressInLocation(e) {\n var touch = TouchEventUtils.extractSingleTouch(e.nativeEvent);\n var pageX = touch && touch.pageX;\n var pageY = touch && touch.pageY;\n this.pressInLocation = {\n pageX: pageX,\n pageY: pageY,\n\n get locationX() {\n return touch && touch.locationX;\n },\n\n get locationY() {\n return touch && touch.locationY;\n }\n\n };\n },\n _getDistanceBetweenPoints: function _getDistanceBetweenPoints(aX, aY, bX, bY) {\n var deltaX = aX - bX;\n var deltaY = aY - bY;\n return Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n },\n\n /**\n * Will perform a transition between touchable states, and identify any\n * highlighting or unhighlighting that must be performed for this particular\n * transition.\n *\n * @param {States} curState Current Touchable state.\n * @param {States} nextState Next Touchable state.\n * @param {Signal} signal Signal that triggered the transition.\n * @param {Event} e Native event.\n * @sideeffects\n */\n _performSideEffectsForTransition: function _performSideEffectsForTransition(curState, nextState, signal, e) {\n var curIsHighlight = this._isHighlight(curState);\n\n var newIsHighlight = this._isHighlight(nextState);\n\n var isFinalSignal = signal === Signals.RESPONDER_TERMINATED || signal === Signals.RESPONDER_RELEASE;\n\n if (isFinalSignal) {\n this._cancelLongPressDelayTimeout();\n }\n\n if (!IsActive[curState] && IsActive[nextState]) {\n this._remeasureMetricsOnActivation();\n }\n\n if (IsPressingIn[curState] && signal === Signals.LONG_PRESS_DETECTED) {\n this.touchableHandleLongPress && this.touchableHandleLongPress(e);\n }\n\n if (newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n } else if (!newIsHighlight && curIsHighlight) {\n this._endHighlight(e);\n }\n\n if (IsPressingIn[curState] && signal === Signals.RESPONDER_RELEASE) {\n var hasLongPressHandler = !!this.props.onLongPress;\n var pressIsLongButStillCallOnPress = IsLongPressingIn[curState] && ( // We *are* long pressing..\n !hasLongPressHandler || // But either has no long handler\n !this.touchableLongPressCancelsPress()); // or we're told to ignore it.\n\n var shouldInvokePress = !IsLongPressingIn[curState] || pressIsLongButStillCallOnPress;\n\n if (shouldInvokePress && this.touchableHandlePress) {\n if (!newIsHighlight && !curIsHighlight) {\n // we never highlighted because of delay, but we should highlight now\n this._startHighlight(e);\n\n this._endHighlight(e);\n }\n\n this.touchableHandlePress(e);\n }\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.touchableDelayTimeout = null;\n },\n _startHighlight: function _startHighlight(e) {\n this._savePressInLocation(e);\n\n this.touchableHandleActivePressIn && this.touchableHandleActivePressIn(e);\n },\n _endHighlight: function _endHighlight(e) {\n var _this2 = this;\n\n if (this.touchableHandleActivePressOut) {\n if (this.touchableGetPressOutDelayMS && this.touchableGetPressOutDelayMS()) {\n this.pressOutDelayTimeout = setTimeout(function () {\n _this2.touchableHandleActivePressOut(e);\n }, this.touchableGetPressOutDelayMS());\n } else {\n this.touchableHandleActivePressOut(e);\n }\n }\n },\n // HACK (part 2): basic support for touchable interactions using a keyboard (including\n // delays and longPress)\n touchableHandleKeyEvent: function touchableHandleKeyEvent(e) {\n var ENTER = 13;\n var SPACE = 32;\n var type = e.type,\n which = e.which;\n\n if (which === ENTER || which === SPACE) {\n if (type === 'keydown') {\n if (!this._isTouchableKeyboardActive) {\n if (!this.state.touchable.touchState || this.state.touchable.touchState === States.NOT_RESPONDER) {\n this.touchableHandleResponderGrant(e);\n this._isTouchableKeyboardActive = true;\n }\n }\n } else if (type === 'keyup') {\n if (this._isTouchableKeyboardActive) {\n if (this.state.touchable.touchState && this.state.touchable.touchState !== States.NOT_RESPONDER) {\n this.touchableHandleResponderRelease(e);\n this._isTouchableKeyboardActive = false;\n }\n }\n }\n\n e.stopPropagation(); // prevent the default behaviour unless the Touchable functions as a link\n // and Enter is pressed\n\n if (!(which === ENTER && AccessibilityUtil.propsToAriaRole(this.props) === 'link')) {\n e.preventDefault();\n }\n }\n }\n};\nvar Touchable = {\n Mixin: TouchableMixin,\n TOUCH_TARGET_DEBUG: false,\n // Highlights all touchable targets. Toggle with Inspector.\n\n /**\n * Renders a debugging overlay to visualize touch target with hitSlop (might not work on Android).\n */\n renderDebugView: function renderDebugView(_ref) {\n var color = _ref.color,\n hitSlop = _ref.hitSlop;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!Touchable.TOUCH_TARGET_DEBUG) {\n return null;\n }\n\n var debugHitSlopStyle = {};\n hitSlop = hitSlop || {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n };\n\n for (var key in hitSlop) {\n debugHitSlopStyle[key] = -hitSlop[key];\n }\n\n var hexColor = '#' + ('00000000' + normalizeColor(color).toString(16)).substr(-8);\n return React.createElement(View, {\n pointerEvents: \"none\",\n style: _objectSpread({\n position: 'absolute',\n borderColor: hexColor.slice(0, -2) + '55',\n // More opaque\n borderWidth: 1,\n borderStyle: 'dashed',\n backgroundColor: hexColor.slice(0, -2) + '0F'\n }, debugHitSlopStyle)\n });\n }\n }\n};\nexport default Touchable;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _buttonLikeRoles=_interopRequireDefault(require(\"./buttonLikeRoles\"));var _isDisabled=_interopRequireDefault(require(\"./isDisabled\"));var _propsToAccessibilityComponent=_interopRequireDefault(require(\"./propsToAccessibilityComponent\"));var _propsToAriaRole=_interopRequireDefault(require(\"./propsToAriaRole\"));var AccessibilityUtil={buttonLikeRoles:_buttonLikeRoles.default,isDisabled:_isDisabled.default,propsToAccessibilityComponent:_propsToAccessibilityComponent.default,propsToAriaRole:_propsToAriaRole.default};var _default=AccessibilityUtil;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AccessibilityUtil/index.js"],"names":["AccessibilityUtil","buttonLikeRoles","isDisabled","propsToAccessibilityComponent","propsToAriaRole"],"mappings":"mKAQA,0EACA,gEACA,sGACA,0EACA,GAAIA,CAAAA,iBAAiB,CAAG,CACtBC,eAAe,CAAEA,wBADK,CAEtBC,UAAU,CAAEA,mBAFU,CAGtBC,6BAA6B,CAAEA,sCAHT,CAItBC,eAAe,CAAEA,wBAJK,CAAxB,C,aAMeJ,iB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport buttonLikeRoles from './buttonLikeRoles';\nimport isDisabled from './isDisabled';\nimport propsToAccessibilityComponent from './propsToAccessibilityComponent';\nimport propsToAriaRole from './propsToAriaRole';\nvar AccessibilityUtil = {\n buttonLikeRoles: buttonLikeRoles,\n isDisabled: isDisabled,\n propsToAccessibilityComponent: propsToAccessibilityComponent,\n propsToAriaRole: propsToAriaRole\n};\nexport default AccessibilityUtil;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _FontAwesome=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome.ttf\"));var _FontAwesome2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/FontAwesome.json\"));var _default=(0,_createIconSet.default)(_FontAwesome2.default,'FontAwesome',_FontAwesome.default);exports.default=_default;","map":{"version":3,"sources":["../src/FontAwesome.ts"],"names":[],"mappings":"mKAAA,sEACA,6GACA,mH,aAEe,2BAAc,qBAAd,CAAwB,aAAxB,CAAuC,oBAAvC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/FontAwesome.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome.json';\n\nexport default createIconSet(glyphMap, 'FontAwesome', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var supportedProps={accessibilityComponentType:true,accessibilityLabel:true,accessibilityLiveRegion:true,accessibilityRole:true,accessibilityStates:true,accessibilityTraits:true,accessible:true,children:true,disabled:true,importantForAccessibility:true,nativeID:true,onBlur:true,onContextMenu:true,onFocus:true,onMoveShouldSetResponder:true,onMoveShouldSetResponderCapture:true,onResponderEnd:true,onResponderGrant:true,onResponderMove:true,onResponderReject:true,onResponderRelease:true,onResponderStart:true,onResponderTerminate:true,onResponderTerminationRequest:true,onScrollShouldSetResponder:true,onScrollShouldSetResponderCapture:true,onSelectionChangeShouldSetResponder:true,onSelectionChangeShouldSetResponderCapture:true,onStartShouldSetResponder:true,onStartShouldSetResponderCapture:true,onTouchCancel:true,onTouchCancelCapture:true,onTouchEnd:true,onTouchEndCapture:true,onTouchMove:true,onTouchMoveCapture:true,onTouchStart:true,onTouchStartCapture:true,pointerEvents:true,style:true,testID:true,onScroll:true,onWheel:true,onKeyDown:true,onKeyPress:true,onKeyUp:true,onMouseDown:true,onMouseEnter:true,onMouseLeave:true,onMouseMove:true,onMouseOver:true,onMouseOut:true,onMouseUp:true,className:true,href:true,itemID:true,itemRef:true,itemProp:true,itemScope:true,itemType:true,onClick:true,onClickCapture:true,rel:true,target:true};var filterSupportedProps=function filterSupportedProps(props){var safeProps={};for(var prop in props){if(props.hasOwnProperty(prop)){if(supportedProps[prop]||prop.indexOf('aria-')===0||prop.indexOf('data-')===0){safeProps[prop]=props[prop];}}}return safeProps;};var _default=filterSupportedProps;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/View/filterSupportedProps.js"],"names":["supportedProps","accessibilityComponentType","accessibilityLabel","accessibilityLiveRegion","accessibilityRole","accessibilityStates","accessibilityTraits","accessible","children","disabled","importantForAccessibility","nativeID","onBlur","onContextMenu","onFocus","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","pointerEvents","style","testID","onScroll","onWheel","onKeyDown","onKeyPress","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","className","href","itemID","itemRef","itemProp","itemScope","itemType","onClick","onClickCapture","rel","target","filterSupportedProps","props","safeProps","prop","hasOwnProperty","indexOf"],"mappings":"gFAQA,GAAIA,CAAAA,cAAc,CAAG,CACnBC,0BAA0B,CAAE,IADT,CAEnBC,kBAAkB,CAAE,IAFD,CAGnBC,uBAAuB,CAAE,IAHN,CAInBC,iBAAiB,CAAE,IAJA,CAKnBC,mBAAmB,CAAE,IALF,CAMnBC,mBAAmB,CAAE,IANF,CAOnBC,UAAU,CAAE,IAPO,CAQnBC,QAAQ,CAAE,IARS,CASnBC,QAAQ,CAAE,IATS,CAUnBC,yBAAyB,CAAE,IAVR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CAAE,IAxDO,CAyDnBC,SAAS,CAAE,IAzDQ,CA2DnBC,SAAS,CAAE,IA3DQ,CA4DnBC,IAAI,CAAE,IA5Da,CA6DnBC,MAAM,CAAE,IA7DW,CA8DnBC,OAAO,CAAE,IA9DU,CA+DnBC,QAAQ,CAAE,IA/DS,CAgEnBC,SAAS,CAAE,IAhEQ,CAiEnBC,QAAQ,CAAE,IAjES,CAkEnBC,OAAO,CAAE,IAlEU,CAmEnBC,cAAc,CAAE,IAnEG,CAoEnBC,GAAG,CAAE,IApEc,CAqEnBC,MAAM,CAAE,IArEW,CAArB,CAwEA,GAAIC,CAAAA,oBAAoB,CAAG,QAASA,CAAAA,oBAAT,CAA8BC,KAA9B,CAAqC,CAC9D,GAAIC,CAAAA,SAAS,CAAG,EAAhB,CAEA,IAAK,GAAIC,CAAAA,IAAT,GAAiBF,CAAAA,KAAjB,CAAwB,CACtB,GAAIA,KAAK,CAACG,cAAN,CAAqBD,IAArB,CAAJ,CAAgC,CAC9B,GAAIpE,cAAc,CAACoE,IAAD,CAAd,EAAwBA,IAAI,CAACE,OAAL,CAAa,OAAb,IAA0B,CAAlD,EAAuDF,IAAI,CAACE,OAAL,CAAa,OAAb,IAA0B,CAArF,CAAwF,CACtFH,SAAS,CAACC,IAAD,CAAT,CAAkBF,KAAK,CAACE,IAAD,CAAvB,CACD,CACF,CACF,CAED,MAAOD,CAAAA,SAAP,CACD,CAZD,C,aAceF,oB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar supportedProps = {\n accessibilityComponentType: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityStates: true,\n accessibilityTraits: true,\n accessible: true,\n children: true,\n disabled: true,\n importantForAccessibility: true,\n nativeID: true,\n onBlur: true,\n onContextMenu: true,\n onFocus: true,\n onMoveShouldSetResponder: true,\n onMoveShouldSetResponderCapture: true,\n onResponderEnd: true,\n onResponderGrant: true,\n onResponderMove: true,\n onResponderReject: true,\n onResponderRelease: true,\n onResponderStart: true,\n onResponderTerminate: true,\n onResponderTerminationRequest: true,\n onScrollShouldSetResponder: true,\n onScrollShouldSetResponderCapture: true,\n onSelectionChangeShouldSetResponder: true,\n onSelectionChangeShouldSetResponderCapture: true,\n onStartShouldSetResponder: true,\n onStartShouldSetResponderCapture: true,\n onTouchCancel: true,\n onTouchCancelCapture: true,\n onTouchEnd: true,\n onTouchEndCapture: true,\n onTouchMove: true,\n onTouchMoveCapture: true,\n onTouchStart: true,\n onTouchStartCapture: true,\n pointerEvents: true,\n style: true,\n testID: true,\n\n /* @platform web */\n onScroll: true,\n onWheel: true,\n // keyboard events\n onKeyDown: true,\n onKeyPress: true,\n onKeyUp: true,\n // mouse events (e.g, hover effects)\n onMouseDown: true,\n onMouseEnter: true,\n onMouseLeave: true,\n onMouseMove: true,\n onMouseOver: true,\n onMouseOut: true,\n onMouseUp: true,\n // unstable escape-hatches for web\n className: true,\n href: true,\n itemID: true,\n itemRef: true,\n itemProp: true,\n itemScope: true,\n itemType: true,\n onClick: true,\n onClickCapture: true,\n rel: true,\n target: true\n};\n\nvar filterSupportedProps = function filterSupportedProps(props) {\n var safeProps = {};\n\n for (var prop in props) {\n if (props.hasOwnProperty(prop)) {\n if (supportedProps[prop] || prop.indexOf('aria-') === 0 || prop.indexOf('data-') === 0) {\n safeProps[prop] = props[prop];\n }\n }\n }\n\n return safeProps;\n};\n\nexport default filterSupportedProps;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _isWebColor=_interopRequireDefault(require(\"../isWebColor\"));var _processColor=_interopRequireDefault(require(\"../../exports/processColor\"));var normalizeColor=function normalizeColor(color,opacity){if(opacity===void 0){opacity=1;}if(color==null)return;if(typeof color==='string'&&(0,_isWebColor.default)(color)){return color;}var colorInt=(0,_processColor.default)(color);if(colorInt!=null){var r=colorInt>>16&255;var g=colorInt>>8&255;var b=colorInt&255;var a=(colorInt>>24&255)/255;var alpha=(a*opacity).toFixed(2);return\"rgba(\"+r+\",\"+g+\",\"+b+\",\"+alpha+\")\";}};var _default=normalizeColor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/normalizeColor/index.js"],"names":["normalizeColor","color","opacity","colorInt","r","g","b","a","alpha","toFixed"],"mappings":"mKAQA,iEACA,gFAEA,GAAIA,CAAAA,cAAc,CAAG,QAASA,CAAAA,cAAT,CAAwBC,KAAxB,CAA+BC,OAA/B,CAAwC,CAC3D,GAAIA,OAAO,GAAK,IAAK,EAArB,CAAwB,CACtBA,OAAO,CAAG,CAAV,CACD,CAED,GAAID,KAAK,EAAI,IAAb,CAAmB,OAEnB,GAAI,MAAOA,CAAAA,KAAP,GAAiB,QAAjB,EAA6B,wBAAWA,KAAX,CAAjC,CAAoD,CAClD,MAAOA,CAAAA,KAAP,CACD,CAED,GAAIE,CAAAA,QAAQ,CAAG,0BAAaF,KAAb,CAAf,CAEA,GAAIE,QAAQ,EAAI,IAAhB,CAAsB,CACpB,GAAIC,CAAAA,CAAC,CAAGD,QAAQ,EAAI,EAAZ,CAAiB,GAAzB,CACA,GAAIE,CAAAA,CAAC,CAAGF,QAAQ,EAAI,CAAZ,CAAgB,GAAxB,CACA,GAAIG,CAAAA,CAAC,CAAGH,QAAQ,CAAG,GAAnB,CACA,GAAII,CAAAA,CAAC,CAAG,CAACJ,QAAQ,EAAI,EAAZ,CAAiB,GAAlB,EAAyB,GAAjC,CACA,GAAIK,CAAAA,KAAK,CAAG,CAACD,CAAC,CAAGL,OAAL,EAAcO,OAAd,CAAsB,CAAtB,CAAZ,CACA,MAAO,QAAUL,CAAV,CAAc,GAAd,CAAoBC,CAApB,CAAwB,GAAxB,CAA8BC,CAA9B,CAAkC,GAAlC,CAAwCE,KAAxC,CAAgD,GAAvD,CACD,CACF,CArBD,C,aAuBeR,c","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport isWebColor from '../isWebColor';\nimport processColor from '../../exports/processColor';\n\nvar normalizeColor = function normalizeColor(color, opacity) {\n if (opacity === void 0) {\n opacity = 1;\n }\n\n if (color == null) return;\n\n if (typeof color === 'string' && isWebColor(color)) {\n return color;\n }\n\n var colorInt = processColor(color);\n\n if (colorInt != null) {\n var r = colorInt >> 16 & 255;\n var g = colorInt >> 8 & 255;\n var b = colorInt & 255;\n var a = (colorInt >> 24 & 255) / 255;\n var alpha = (a * opacity).toFixed(2);\n return \"rgba(\" + r + \",\" + g + \",\" + b + \",\" + alpha + \")\";\n }\n};\n\nexport default normalizeColor;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"","map":{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":["// Definitions by: TeamworkGuy2 <https://github.com/TeamworkGuy2>\n//# sourceMappingURL=SQLite.types.js.map"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createCSSStyleSheet;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");function createCSSStyleSheet(id){if(_ExecutionEnvironment.canUseDOM){var element=document.getElementById(id);if(element!=null){return element.sheet;}else{var _element=document.createElement('style');_element.setAttribute('id',id);var head=document.head;if(head){head.insertBefore(_element,head.firstChild);}return _element.sheet;}}else{return null;}}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/createCSSStyleSheet.js"],"names":["createCSSStyleSheet","id","canUseDOM","element","document","getElementById","sheet","_element","createElement","setAttribute","head","insertBefore","firstChild"],"mappings":"6FAQA,mEAEe,QAASA,CAAAA,mBAAT,CAA6BC,EAA7B,CAAiC,CAC9C,GAAIC,+BAAJ,CAAe,CACb,GAAIC,CAAAA,OAAO,CAAGC,QAAQ,CAACC,cAAT,CAAwBJ,EAAxB,CAAd,CAEA,GAAIE,OAAO,EAAI,IAAf,CAAqB,CAEnB,MAAOA,CAAAA,OAAO,CAACG,KAAf,CACD,CAHD,IAGO,CACL,GAAIC,CAAAA,QAAQ,CAAGH,QAAQ,CAACI,aAAT,CAAuB,OAAvB,CAAf,CAEAD,QAAQ,CAACE,YAAT,CAAsB,IAAtB,CAA4BR,EAA5B,EAEA,GAAIS,CAAAA,IAAI,CAAGN,QAAQ,CAACM,IAApB,CAEA,GAAIA,IAAJ,CAAU,CACRA,IAAI,CAACC,YAAL,CAAkBJ,QAAlB,CAA4BG,IAAI,CAACE,UAAjC,EACD,CAED,MAAOL,CAAAA,QAAQ,CAACD,KAAhB,CACD,CACF,CAnBD,IAmBO,CACL,MAAO,KAAP,CACD,CACF","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; // $FlowFixMe: HTMLStyleElement is incorrectly typed - https://github.com/facebook/flow/issues/2696\n\nexport default function createCSSStyleSheet(id) {\n if (canUseDOM) {\n var element = document.getElementById(id);\n\n if (element != null) {\n // $FlowFixMe: HTMLElement is incorrectly typed\n return element.sheet;\n } else {\n var _element = document.createElement('style');\n\n _element.setAttribute('id', id);\n\n var head = document.head;\n\n if (head) {\n head.insertBefore(_element, head.firstChild);\n }\n\n return _element.sheet;\n }\n } else {\n return null;\n }\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedCond=createAnimatedCond;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _val=require(\"../val\");var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedBlock=require(\"../core/AnimatedBlock\");var AnimatedCond=function(_AnimatedNode){(0,_inherits2.default)(AnimatedCond,_AnimatedNode);function AnimatedCond(condition,ifBlock,elseBlock){var _this;(0,_classCallCheck2.default)(this,AnimatedCond);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedCond).call(this,{type:'cond',cond:condition.__nodeID,ifBlock:ifBlock.__nodeID,elseBlock:elseBlock?elseBlock.__nodeID:undefined},[condition,ifBlock,elseBlock]));_this._condition=condition;_this._ifBlock=ifBlock;_this._elseBlock=elseBlock;return _this;}(0,_createClass2.default)(AnimatedCond,[{key:\"__onEvaluate\",value:function __onEvaluate(){if((0,_val.val)(this._condition)){return(0,_val.val)(this._ifBlock);}else{return this._elseBlock!==undefined?(0,_val.val)(this._elseBlock):undefined;}}}]);return AnimatedCond;}(_AnimatedNode2.default);function createAnimatedCond(cond,ifBlock,elseBlock){return new AnimatedCond((0,_AnimatedBlock.adapt)(cond),(0,_AnimatedBlock.adapt)(ifBlock),elseBlock===undefined?undefined:(0,_AnimatedBlock.adapt)(elseBlock));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedCond.js"],"names":["AnimatedCond","condition","ifBlock","elseBlock","type","cond","__nodeID","undefined","_condition","_ifBlock","_elseBlock","AnimatedNode","createAnimatedCond"],"mappings":"opBAAA,2BACA,qEACA,oD,GAEMA,CAAAA,Y,4EAKJ,sBAAYC,SAAZ,CAAuBC,OAAvB,CAAgCC,SAAhC,CAA2C,2DACzC,wGACE,CACEC,IAAI,CAAE,MADR,CAEEC,IAAI,CAAEJ,SAAS,CAACK,QAFlB,CAGEJ,OAAO,CAAEA,OAAO,CAACI,QAHnB,CAIEH,SAAS,CAAEA,SAAS,CAAGA,SAAS,CAACG,QAAb,CAAwBC,SAJ9C,CADF,CAOE,CAACN,SAAD,CAAYC,OAAZ,CAAqBC,SAArB,CAPF,GASA,MAAKK,UAAL,CAAkBP,SAAlB,CACA,MAAKQ,QAAL,CAAgBP,OAAhB,CACA,MAAKQ,UAAL,CAAkBP,SAAlB,CAZyC,aAa1C,C,yFAEc,CACb,GAAI,aAAI,KAAKK,UAAT,CAAJ,CAA0B,CACxB,MAAO,aAAI,KAAKC,QAAT,CAAP,CACD,CAFD,IAEO,CACL,MAAO,MAAKC,UAAL,GAAoBH,SAApB,CAAgC,aAAI,KAAKG,UAAT,CAAhC,CAAuDH,SAA9D,CACD,CACF,C,0BA1BwBI,sB,EA6BpB,QAASC,CAAAA,kBAAT,CAA4BP,IAA5B,CAAkCH,OAAlC,CAA2CC,SAA3C,CAAsD,CAC3D,MAAO,IAAIH,CAAAA,YAAJ,CACL,yBAAMK,IAAN,CADK,CAEL,yBAAMH,OAAN,CAFK,CAGLC,SAAS,GAAKI,SAAd,CAA0BA,SAA1B,CAAsC,yBAAMJ,SAAN,CAHjC,CAAP,CAKD","sourcesContent":["import { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\nimport { adapt } from '../core/AnimatedBlock';\n\nclass AnimatedCond extends AnimatedNode {\n _condition;\n _ifBlock;\n _elseBlock;\n\n constructor(condition, ifBlock, elseBlock) {\n super(\n {\n type: 'cond',\n cond: condition.__nodeID,\n ifBlock: ifBlock.__nodeID,\n elseBlock: elseBlock ? elseBlock.__nodeID : undefined,\n },\n [condition, ifBlock, elseBlock]\n );\n this._condition = condition;\n this._ifBlock = ifBlock;\n this._elseBlock = elseBlock;\n }\n\n __onEvaluate() {\n if (val(this._condition)) {\n return val(this._ifBlock);\n } else {\n return this._elseBlock !== undefined ? val(this._elseBlock) : undefined;\n }\n }\n}\n\nexport function createAnimatedCond(cond, ifBlock, elseBlock) {\n return new AnimatedCond(\n adapt(cond),\n adapt(ifBlock),\n elseBlock === undefined ? undefined : adapt(elseBlock)\n );\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvg=require(\"react-native-svg\");var d3Scale=_interopRequireWildcard(require(\"d3-scale\"));var array=_interopRequireWildcard(require(\"d3-array\"));var YAxis=function(_PureComponent){(0,_inherits2.default)(YAxis,_PureComponent);function YAxis(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,YAxis);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(YAxis)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={height:0,width:0};return _this;}(0,_createClass2.default)(YAxis,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"getY\",value:function getY(domain){var _this$props=this.props,scale=_this$props.scale,spacingInner=_this$props.spacingInner,spacingOuter=_this$props.spacingOuter,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.top,top=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.bottom,bottom=_this$props$contentIn3===void 0?0:_this$props$contentIn3;var height=this.state.height;var y=scale().domain(domain).range([height-bottom,top]);if(scale===d3Scale.scaleBand){y.range([top,height-bottom]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);return function(value){return y(value)+y.bandwidth()/2;};}return y;}},{key:\"render\",value:function render(){var _this2=this;var _this$props2=this.props,style=_this$props2.style,data=_this$props2.data,scale=_this$props2.scale,yAccessor=_this$props2.yAccessor,numberOfTicks=_this$props2.numberOfTicks,formatLabel=_this$props2.formatLabel,svg=_this$props2.svg,children=_this$props2.children;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var values=data.map(function(item,index){return yAccessor({item:item,index:index});});var extent=array.extent(values);var _this$props3=this.props,_this$props3$min=_this$props3.min,min=_this$props3$min===void 0?extent[0]:_this$props3$min,_this$props3$max=_this$props3.max,max=_this$props3$max===void 0?extent[1]:_this$props3$max;var domain=scale===d3Scale.scaleBand?values:[min,max];var y=this.getY(domain);var ticks=scale===d3Scale.scaleBand?values:y.ticks(numberOfTicks);var longestValue=ticks.map(function(value,index){return formatLabel(value,index);}).reduce(function(prev,curr){return prev.toString().length>curr.toString().length?prev:curr;},0);var extraProps={y:y,ticks:ticks,width:width,height:height,formatLabel:formatLabel};return _react.default.createElement(_View.default,{style:[style]},_react.default.createElement(_View.default,{style:{flexGrow:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},_react.default.createElement(_Text.default,{style:{opacity:0,fontSize:svg.fontSize}},longestValue),height>0&&width>0&&_react.default.createElement(_reactNativeSvg.Svg,{style:{position:'absolute',top:0,left:0,height:height,width:width}},_react.default.createElement(_reactNativeSvg.G,null,_react.default.Children.map(children,function(child){return _react.default.cloneElement(child,extraProps);}),height>0&&ticks.map(function(value,index){return _react.default.createElement(_reactNativeSvg.Text,(0,_extends2.default)({originY:y(value),textAnchor:'middle',x:'50%',alignmentBaseline:'middle'},svg,{key:y(value),y:y(value)}),formatLabel(value,index,ticks.length));})))));}}]);return YAxis;}(_react.PureComponent);YAxis.propTypes={data:_propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.object),_propTypes.default.arrayOf(_propTypes.default.number)]).isRequired,svg:_propTypes.default.object,style:_propTypes.default.any,numberOfTicks:_propTypes.default.number,formatLabel:_propTypes.default.func,contentInset:_propTypes.default.shape({top:_propTypes.default.number,bottom:_propTypes.default.number}),min:_propTypes.default.number,max:_propTypes.default.number,yAccessor:_propTypes.default.func,scale:_propTypes.default.func,spacingInner:_propTypes.default.number,spacingOuter:_propTypes.default.number};YAxis.defaultProps={numberOfTicks:10,spacingInner:0.05,spacingOuter:0.05,contentInset:{},svg:{},scale:d3Scale.scaleLinear,formatLabel:function formatLabel(value){return value&&value.toString();},yAccessor:function yAccessor(_ref){var item=_ref.item;return item;}};var _default=YAxis;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/y-axis.js"],"names":["YAxis","state","height","width","event","nativeEvent","layout","setState","domain","props","scale","spacingInner","spacingOuter","contentInset","top","bottom","y","range","d3Scale","scaleBand","paddingInner","paddingOuter","value","bandwidth","style","data","yAccessor","numberOfTicks","formatLabel","svg","children","length","values","map","item","index","extent","array","min","max","getY","ticks","longestValue","reduce","prev","curr","toString","extraProps","flexGrow","_onLayout","opacity","fontSize","position","left","React","Children","child","cloneElement","PureComponent","propTypes","PropTypes","oneOfType","arrayOf","object","number","isRequired","any","func","shape","defaultProps","scaleLinear"],"mappings":"kyBAAA,qDACA,6D,gKAEA,gDACA,yDACA,uD,GAEMA,CAAAA,K,0aACFC,K,CAAQ,CACJC,MAAM,CAAE,CADJ,CAEJC,KAAK,CAAE,CAFH,C,0FAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAGLC,MAHK,CAGKJ,MAHL,uBAGKA,MAHL,CAGaC,KAHb,uBAGaA,KAHb,CAMb,KAAKI,QAAL,CAAc,CAAEL,MAAM,CAANA,MAAF,CAAUC,KAAK,CAALA,KAAV,CAAd,EACH,C,kCAEIK,M,CAAQ,iBAML,KAAKC,KANA,CAELC,KAFK,aAELA,KAFK,CAGLC,YAHK,aAGLA,YAHK,CAILC,YAJK,aAILA,YAJK,mCAKLC,YALK,8CAKWC,GALX,CAKWA,GALX,iCAKiB,CALjB,qEAKoBC,MALpB,CAKoBA,MALpB,iCAK6B,CAL7B,2BAQDb,CAAAA,MARC,CAQU,KAAKD,KARf,CAQDC,MARC,CAUT,GAAMc,CAAAA,CAAC,CAAGN,KAAK,GACVF,MADK,CACEA,MADF,EAELS,KAFK,CAEC,CAACf,MAAM,CAAGa,MAAV,CAAkBD,GAAlB,CAFD,CAAV,CAIA,GAAIJ,KAAK,GAAKQ,OAAO,CAACC,SAAtB,CAAiC,CAG7BH,CAAC,CAEIC,KAFL,CAEW,CAACH,GAAD,CAAMZ,MAAM,CAAGa,MAAf,CAFX,EAGKK,YAHL,CAGkB,CAACT,YAAD,CAHlB,EAIKU,YAJL,CAIkB,CAACT,YAAD,CAJlB,EAOA,MAAO,UAACU,KAAD,QAAWN,CAAAA,CAAC,CAACM,KAAD,CAAD,CAAWN,CAAC,CAACO,SAAF,GAAgB,CAAtC,EAAP,CACH,CAED,MAAOP,CAAAA,CAAP,CACH,C,uCAEQ,kCACgF,KAAKP,KADrF,CACGe,KADH,cACGA,KADH,CACUC,IADV,cACUA,IADV,C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E,EAJG,CAKjBgB,GAAG,CAAE,EALY,CAMjBnB,KAAK,CAAEQ,OAAO,CAACoD,WANE,CAOjB1C,WAAW,CAAE,qBAACN,KAAD,QAAWA,CAAAA,KAAK,EAAIA,KAAK,CAACwB,QAAN,EAApB,EAPI,CAQjBpB,SAAS,CAAE,4BAAGQ,CAAAA,IAAH,MAAGA,IAAH,OAAcA,CAAAA,IAAd,EARM,CAArB,C,aAWelC,K","sourcesContent":["import React, { PureComponent } from 'react'\nimport PropTypes from 'prop-types'\nimport { Text, View } from 'react-native'\nimport { Svg, G, Text as SVGText } from 'react-native-svg'\nimport * as d3Scale from 'd3-scale'\nimport * as array from 'd3-array'\n\nclass YAxis extends PureComponent {\n state = {\n height: 0,\n width: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n getY(domain) {\n const {\n scale,\n spacingInner,\n spacingOuter,\n contentInset: { top = 0, bottom = 0 },\n } = this.props\n\n const { height } = this.state\n\n const y = scale()\n .domain(domain)\n .range([height - bottom, top])\n\n if (scale === d3Scale.scaleBand) {\n // use index as domain identifier instead of value since\n // same value can occur at several places in dataPoints\n y\n // set range top to bottom - we are not sorting on values in scaleBand\n .range([top, height - bottom])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n\n //add half a bar to center label\n return (value) => y(value) + y.bandwidth() / 2\n }\n\n return y\n }\n\n render() {\n const { style, data, scale, yAccessor, numberOfTicks, formatLabel, svg, children } = this.props\n\n const { height, width } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const values = data.map((item, index) => yAccessor({ item, index }))\n\n const extent = array.extent(values)\n\n const { min = extent[0], max = extent[1] } = this.props\n\n const domain = scale === d3Scale.scaleBand ? values : [min, max]\n\n //invert range to support svg coordinate system\n const y = this.getY(domain)\n\n const ticks = scale === d3Scale.scaleBand ? values : y.ticks(numberOfTicks)\n\n const longestValue = ticks\n .map((value, index) => formatLabel(value, index))\n .reduce((prev, curr) => (prev.toString().length > curr.toString().length ? prev : curr), 0)\n\n const extraProps = {\n y,\n ticks,\n width,\n height,\n formatLabel,\n }\n\n return (\n <View style={[style]}>\n <View style={{ flexGrow: 1 }} onLayout={(event) => this._onLayout(event)}>\n {/*invisible text to allow for parent resizing*/}\n <Text style={{ opacity: 0, fontSize: svg.fontSize }}>{longestValue}</Text>\n {height > 0 && width > 0 && (\n <Svg\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n height,\n width,\n }}\n >\n <G>\n {React.Children.map(children, (child) => {\n return React.cloneElement(child, extraProps)\n })}\n {// don't render labels if width isn't measured yet,\n // causes rendering issues\n height > 0 &&\n ticks.map((value, index) => {\n return (\n <SVGText\n originY={y(value)}\n textAnchor={'middle'}\n x={'50%'}\n alignmentBaseline={'middle'}\n {...svg}\n key={y(value)}\n y={y(value)}\n >\n {formatLabel(value, index, ticks.length)}\n </SVGText>\n )\n })}\n </G>\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nYAxis.propTypes = {\n data: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.arrayOf(PropTypes.number)]).isRequired,\n svg: PropTypes.object,\n style: PropTypes.any,\n numberOfTicks: PropTypes.number,\n formatLabel: PropTypes.func,\n contentInset: PropTypes.shape({\n top: PropTypes.number,\n bottom: PropTypes.number,\n }),\n min: PropTypes.number,\n max: PropTypes.number,\n yAccessor: PropTypes.func,\n scale: PropTypes.func,\n spacingInner: PropTypes.number,\n spacingOuter: PropTypes.number,\n}\n\nYAxis.defaultProps = {\n numberOfTicks: 10,\n spacingInner: 0.05,\n spacingOuter: 0.05,\n contentInset: {},\n svg: {},\n scale: d3Scale.scaleLinear,\n formatLabel: (value) => value && value.toString(),\n yAccessor: ({ item }) => item,\n}\n\nexport default YAxis\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedOperator=createAnimatedOperator;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _AnimatedBlock=require(\"../core/AnimatedBlock\");function reduce(fn){return function(input){return input.reduce(function(a,b){return fn((0,_val.val)(a),(0,_val.val)(b));});};}function reduceFrom(fn,initialValue){return function(input){return input.reduce(function(a,b){return fn((0,_val.val)(a),(0,_val.val)(b));},initialValue);};}function infix(fn){return function(input){return fn((0,_val.val)(input[0]),(0,_val.val)(input[1]));};}function single(fn){return function(input){return fn((0,_val.val)(input[0]));};}var OPERATIONS={add:reduce(function(a,b){return a+b;}),sub:reduce(function(a,b){return a-b;}),multiply:reduce(function(a,b){return a*b;}),divide:reduce(function(a,b){return a/b;}),pow:reduce(function(a,b){return Math.pow(a,b);}),modulo:reduce(function(a,b){return(a%b+b)%b;}),sqrt:single(function(a){return Math.sqrt(a);}),log:single(function(a){return Math.log(a);}),sin:single(function(a){return Math.sin(a);}),cos:single(function(a){return Math.cos(a);}),tan:single(function(a){return Math.tan(a);}),acos:single(function(a){return Math.acos(a);}),asin:single(function(a){return Math.asin(a);}),atan:single(function(a){return Math.atan(a);}),exp:single(function(a){return Math.exp(a);}),round:single(function(a){return Math.round(a);}),and:reduceFrom(function(a,b){return a&&b;},true),or:reduceFrom(function(a,b){return a||b;},false),not:single(function(a){return!a;}),defined:single(function(a){return a!==null&&a!==undefined&&!isNaN(a);}),lessThan:infix(function(a,b){return a<b;}),eq:infix(function(a,b){return a==b;}),greaterThan:infix(function(a,b){return a>b;}),lessOrEq:infix(function(a,b){return a<=b;}),greaterOrEq:infix(function(a,b){return a>=b;}),neq:infix(function(a,b){return a!=b;})};var AnimatedOperator=function(_AnimatedNode){(0,_inherits2.default)(AnimatedOperator,_AnimatedNode);function AnimatedOperator(operator,input){var _this;(0,_classCallCheck2.default)(this,AnimatedOperator);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedOperator).call(this,{type:'op',op:operator,input:input.map(function(n){return n.__nodeID;})},input));_this._op=operator;_this._input=input;return _this;}(0,_createClass2.default)(AnimatedOperator,[{key:\"__onEvaluate\",value:function __onEvaluate(){if(!this._operation){this._operation=OPERATIONS[this._op];(0,_invariant.default)(this._operation,\"Illegal operator '%s'\",this._op);}return this._operation(this._input);}}]);return AnimatedOperator;}(_AnimatedNode2.default);function createAnimatedOperator(name){return function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return new AnimatedOperator(name,args.map(_AnimatedBlock.adapt));};}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedOperator.js"],"names":["reduce","fn","input","a","b","reduceFrom","initialValue","infix","single","OPERATIONS","add","sub","multiply","divide","pow","Math","modulo","sqrt","log","sin","cos","tan","acos","asin","atan","exp","round","and","or","not","defined","undefined","isNaN","lessThan","eq","greaterThan","lessOrEq","greaterOrEq","neq","AnimatedOperator","operator","type","op","map","n","__nodeID","_op","_input","_operation","AnimatedNode","createAnimatedOperator","name","args","adapt"],"mappings":"4pBAAA,qEACA,2BAEA,qEACA,oDAEA,QAASA,CAAAA,MAAT,CAAgBC,EAAhB,CAAoB,CAClB,MAAO,UAAAC,KAAK,QAAIA,CAAAA,KAAK,CAACF,MAAN,CAAa,SAACG,CAAD,CAAIC,CAAJ,QAAUH,CAAAA,EAAE,CAAC,aAAIE,CAAJ,CAA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AAf,EAAD,CAjCO,CAAnB,C,GAoCMmC,CAAAA,gB,gFAKJ,0BAAYC,QAAZ,CAAsBtC,KAAtB,CAA6B,+DAC3B,4GACE,CAAEuC,IAAI,CAAE,IAAR,CAAcC,EAAE,CAAEF,QAAlB,CAA4BtC,KAAK,CAAEA,KAAK,CAACyC,GAAN,CAAU,SAAAC,CAAC,QAAIA,CAAAA,CAAC,CAACC,QAAN,EAAX,CAAnC,CADF,CAEE3C,KAFF,GAIA,MAAK4C,GAAL,CAAWN,QAAX,CACA,MAAKO,MAAL,CAAc7C,KAAd,CAN2B,aAO5B,C,6FAEc,CACb,GAAI,CAAC,KAAK8C,UAAV,CAAsB,CACpB,KAAKA,UAAL,CAAkBvC,UAAU,CAAC,KAAKqC,GAAN,CAA5B,CACA,uBAAU,KAAKE,UAAf,yBAAoD,KAAKF,GAAzD,EACD,CACD,MAAO,MAAKE,UAAL,CAAgB,KAAKD,MAArB,CAAP,CACD,C,8BApB4BE,sB,EAuBxB,QAASC,CAAAA,sBAAT,CAAgCC,IAAhC,CAAsC,CAC3C,MAAO,0CAAIC,IAAJ,0CAAIA,IAAJ,8BAAa,IAAIb,CAAAA,gBAAJ,CAAqBY,IAArB,CAA2BC,IAAI,CAACT,GAAL,CAASU,oBAAT,CAA3B,CAAb,EAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nimport invariant from 'fbjs/lib/invariant';\nimport { adapt } from '../core/AnimatedBlock';\n\nfunction reduce(fn) {\n return input => input.reduce((a, b) => fn(val(a), val(b)));\n}\n\nfunction reduceFrom(fn, initialValue) {\n return input => input.reduce((a, b) => fn(val(a), val(b)), initialValue);\n}\n\nfunction infix(fn) {\n return input => fn(val(input[0]), val(input[1]));\n}\n\nfunction single(fn) {\n return input => fn(val(input[0]));\n}\n\nconst OPERATIONS = {\n // arithmetic\n add: reduce((a, b) => a + b),\n sub: reduce((a, b) => a - b),\n multiply: reduce((a, b) => a * b),\n divide: reduce((a, b) => a / b),\n pow: reduce((a, b) => Math.pow(a, b)),\n modulo: reduce((a, b) => ((a % b) + b) % b),\n sqrt: single(a => Math.sqrt(a)),\n log: single(a => Math.log(a)),\n sin: single(a => Math.sin(a)),\n cos: single(a => Math.cos(a)),\n tan: single(a => Math.tan(a)),\n acos: single(a => Math.acos(a)),\n asin: single(a => Math.asin(a)),\n atan: single(a => Math.atan(a)),\n exp: single(a => Math.exp(a)),\n round: single(a => Math.round(a)),\n\n // logical\n and: reduceFrom((a, b) => a && b, true),\n or: reduceFrom((a, b) => a || b, false),\n not: single(a => !a),\n defined: single(a => a !== null && a !== undefined && !isNaN(a)),\n\n // comparing\n lessThan: infix((a, b) => a < b),\n /* eslint-disable-next-line eqeqeq */\n eq: infix((a, b) => a == b),\n greaterThan: infix((a, b) => a > b),\n lessOrEq: infix((a, b) => a <= b),\n greaterOrEq: infix((a, b) => a >= b),\n /* eslint-disable-next-line eqeqeq */\n neq: infix((a, b) => a != b),\n};\n\nclass AnimatedOperator extends AnimatedNode {\n _input;\n _op;\n _operation;\n\n constructor(operator, input) {\n super(\n { type: 'op', op: operator, input: input.map(n => n.__nodeID) },\n input\n );\n this._op = operator;\n this._input = input;\n }\n\n __onEvaluate() {\n if (!this._operation) {\n this._operation = OPERATIONS[this._op];\n invariant(this._operation, `Illegal operator '%s'`, this._op);\n }\n return this._operation(this._input);\n }\n}\n\nexport function createAnimatedOperator(name) {\n return (...args) => new AnimatedOperator(name, args.map(adapt));\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.processFontFamily=processFontFamily;exports.isLoaded=isLoaded;exports.isLoading=isLoading;exports.loadAsync=loadAsync;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _expoAsset=require(\"expo-asset\");var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _core=require(\"@unimodules/core\");var _ExpoFontLoader=_interopRequireDefault(require(\"./ExpoFontLoader\"));var isWeb=_core.Platform.OS==='web';var isInClient=!isWeb&&_expoConstants.default.appOwnership==='expo';var isInIOSStandalone=_expoConstants.default.appOwnership==='standalone'&&_core.Platform.OS==='ios';var loaded={};var loadPromises={};function fontFamilyNeedsScoping(name){return(isInClient||isInIOSStandalone)&&!_expoConstants.default.systemFonts.includes(name)&&name!=='System'&&!name.includes(_expoConstants.default.sessionId);}function processFontFamily(name){if(!name||!fontFamilyNeedsScoping(name)){return name;}if(!isLoaded(name)){if(__DEV__){if(isLoading(name)){console.error(\"You started loading the font \\\"\"+name+\"\\\", but used it before it finished loading.\\n\\n- You need to wait for Font.loadAsync to complete before using the font.\\n\\n- We recommend loading all fonts before rendering the app, and rendering only Expo.AppLoading while waiting for loading to complete.\");}else{console.error(\"fontFamily \\\"\"+name+\"\\\" is not a system font and has not been loaded through Font.loadAsync.\\n\\n- If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.\\n\\n- If this is a custom font, be sure to load it with Font.loadAsync.\");}}return'System';}return\"ExpoFont-\"+_getNativeFontName(name);}function isLoaded(name){return loaded.hasOwnProperty(name);}function isLoading(name){return loadPromises.hasOwnProperty(name);}function loadAsync(nameOrMap,source){var fontMap,names,name,asset;return _regenerator.default.async(function loadAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(!(typeof nameOrMap==='object')){_context2.next=6;break;}fontMap=nameOrMap;names=Object.keys(fontMap);_context2.next=5;return _regenerator.default.awrap(Promise.all(names.map(function(name){return loadAsync(name,fontMap[name]);})));case 5:return _context2.abrupt(\"return\");case 6:name=nameOrMap;if(!loaded[name]){_context2.next=9;break;}return _context2.abrupt(\"return\");case 9:if(!loadPromises[name]){_context2.next=11;break;}return _context2.abrupt(\"return\",loadPromises[name]);case 11:if(source){_context2.next=13;break;}throw new Error(\"No source from which to load font \\\"\"+name+\"\\\"\");case 13:asset=_getAssetForSource(source);loadPromises[name]=function _callee(){return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return _regenerator.default.awrap(_loadSingleFontAsync(name,asset));case 3:loaded[name]=true;case 4:_context.prev=4;delete loadPromises[name];return _context.finish(4);case 7:case\"end\":return _context.stop();}}},null,null,[[0,,4,7]]);}();_context2.next=17;return _regenerator.default.awrap(loadPromises[name]);case 17:case\"end\":return _context2.stop();}}});}function _getAssetForSource(source){if(source instanceof _expoAsset.Asset){return source;}if(!isWeb&&typeof source==='string'){return _expoAsset.Asset.fromURI(source);}if(isWeb||typeof source==='number'){return _expoAsset.Asset.fromModule(source);}return source;}function _loadSingleFontAsync(name,asset){return _regenerator.default.async(function _loadSingleFontAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_context3.next=2;return _regenerator.default.awrap(asset.downloadAsync());case 2:if(asset.downloaded){_context3.next=4;break;}throw new Error(\"Failed to download asset for font \\\"\"+name+\"\\\"\");case 4:_context3.next=6;return _regenerator.default.awrap(_ExpoFontLoader.default.loadAsync(_getNativeFontName(name),asset.localUri));case 6:case\"end\":return _context3.stop();}}});}function _getNativeFontName(name){if(fontFamilyNeedsScoping(name)){return _expoConstants.default.sessionId+\"-\"+name;}else{return name;}}if(module&&module.exports){var wasImportWarningShown=false;Object.defineProperty(exports,'Font',{get:function get(){if(!wasImportWarningShown){console.warn(\"The syntax \\\"import { Font } from 'expo-font'\\\" is deprecated. Use \\\"import * as Font from 'expo-font'\\\" or import named exports instead. Support for the old syntax will be removed in SDK 33.\");wasImportWarningShown=true;}return{processFontFamily:processFontFamily,isLoaded:isLoaded,isLoading:isLoading,loadAsync:loadAsync};}});}","map":{"version":3,"sources":["../src/Font.ts"],"names":[],"mappings":"yVAAA,qCACA,qEACA,sCAEA,wEAOA,GAAM,CAAA,KAAK,CAAG,eAAS,EAAT,GAAgB,KAA9B,CACA,GAAM,CAAA,UAAU,CAAG,CAAC,KAAD,EAAU,uBAAU,YAAV,GAA2B,MAAxD,CACA,G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,CAAA,kBAAT,CAA4B,IAA5B,CAAwC,CACtC,GAAI,sBAAsB,CAAC,IAAD,CAA1B,CAAkC,CAChC,MAAU,wBAAU,SAApB,KAAiC,IAAjC,CACD,CAFD,IAEO,CACL,MAAO,CAAA,IAAP,CACD,CACF,CAID,GAAI,MAAM,EAAI,MAAM,CAAC,OAArB,CAA8B,CAC5B,GAAI,CAAA,qBAAqB,CAAG,KAA5B,CAEA,MAAM,CAAC,cAAP,CAAsB,OAAtB,CAA+B,MAA/B,CAAuC,CACrC,GADqC,eAClC,CACD,GAAI,CAAC,qBAAL,CAA4B,CAC1B,OAAO,CAAC,IAAR,oMAGA,qBAAqB,CAAG,IAAxB,CACD,CACD,MAAO,CACL,iBAAiB,CAAjB,iBADK,CAEL,QAAQ,CAAR,QAFK,CAGL,SAAS,CAAT,SAHK,CAIL,SAAS,CAAT,SAJK,CAAP,CAMD,CAdoC,CAAvC,EAgBD","sourcesContent":["import { Asset } from 'expo-asset';\nimport Constants from 'expo-constants';\nimport { Platform } from '@unimodules/core';\n\nimport ExpoFontLoader from './ExpoFontLoader';\n\n/**\n * A font source can be a URI, a module ID, or an Expo Asset.\n */\ntype FontSource = string | number | Asset;\n\nconst isWeb = Platform.OS === 'web';\nconst isInClient = !isWeb && Constants.appOwnership === 'expo';\nconst isInIOSStandalone = Constants.appOwnership === 'standalone' && Platform.OS === 'ios';\n\nconst loaded: { [name: string]: boolean } = {};\nconst loadPromises: { [name: string]: Promise<void> } = {};\n\nfunction fontFamilyNeedsScoping(name: string): boolean {\n return (\n (isInClient || isInIOSStandalone) &&\n !Constants.systemFonts.includes(name) &&\n name !== 'System' &&\n !name.includes(Constants.sessionId)\n );\n}\n\n/**\n * Used to transform font family names to the scoped name. This does not need to\n * be called in standalone or bare apps but it will return unscoped font family\n * names if it is called in those contexts.\n * note(brentvatne): at some point we may want to warn if this is called\n * outside of a managed app.\n */\nexport function processFontFamily(name: string | null): string | null {\n if (!name || !fontFamilyNeedsScoping(name)) {\n return name;\n }\n\n if (!isLoaded(name)) {\n if (__DEV__) {\n if (isLoading(name)) {\n console.error(\n `You started loading the font \"${name}\", but used it before it finished loading.\\n\n- You need to wait for Font.loadAsync to complete before using the font.\\n\n- We recommend loading all fonts before rendering the app, and rendering only Expo.AppLoading while waiting for loading to complete.`\n );\n } else {\n console.error(\n `fontFamily \"${name}\" is not a system font and has not been loaded through Font.loadAsync.\\n\n- If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.\\n\n- If this is a custom font, be sure to load it with Font.loadAsync.`\n );\n }\n }\n\n return 'System';\n }\n\n return `ExpoFont-${_getNativeFontName(name)}`;\n}\n\nexport function isLoaded(name: string): boolean {\n return loaded.hasOwnProperty(name);\n}\n\nexport function isLoading(name: string): boolean {\n return loadPromises.hasOwnProperty(name);\n}\n\nexport async function loadAsync(\n nameOrMap: string | { [name: string]: FontSource },\n source?: FontSource\n): Promise<void> {\n if (typeof nameOrMap === 'object') {\n const fontMap = nameOrMap;\n const names = Object.keys(fontMap);\n await Promise.all(names.map(name => loadAsync(name, fontMap[name])));\n return;\n }\n\n const name = nameOrMap;\n\n if (loaded[name]) {\n return;\n }\n\n if (loadPromises[name]) {\n return loadPromises[name];\n }\n\n // Important: we want all callers that concurrently try to load the same font to await the same\n // promise. If we're here, we haven't created the promise yet. To ensure we create only one\n // promise in the program, we need to create the promise synchronously without yielding the event\n // loop from this point.\n\n if (!source) {\n throw new Error(`No source from which to load font \"${name}\"`);\n }\n const asset = _getAssetForSource(source);\n loadPromises[name] = (async () => {\n try {\n await _loadSingleFontAsync(name, asset);\n loaded[name] = true;\n } finally {\n delete loadPromises[name];\n }\n })();\n\n await loadPromises[name];\n}\n\nfunction _getAssetForSource(source: FontSource): Asset {\n if (source instanceof Asset) {\n return source;\n }\n\n if (!isWeb && typeof source === 'string') {\n return Asset.fromURI(source);\n }\n\n if (isWeb || typeof source === 'number') {\n return Asset.fromModule(source);\n }\n\n // @ts-ignore Error: Type 'string' is not assignable to type 'Asset'\n // We can't have a string here, we would have thrown an error if !isWeb\n // or returned Asset.fromModule if isWeb.\n return source;\n}\n\nasync function _loadSingleFontAsync(name: string, asset: Asset): Promise<void> {\n await asset.downloadAsync();\n if (!asset.downloaded) {\n throw new Error(`Failed to download asset for font \"${name}\"`);\n }\n await ExpoFontLoader.loadAsync(_getNativeFontName(name), asset.localUri);\n}\n\nfunction _getNativeFontName(name: string): string {\n if (fontFamilyNeedsScoping(name)) {\n return `${Constants.sessionId}-${name}`;\n } else {\n return name;\n }\n}\n\ndeclare var module: any;\n\nif (module && module.exports) {\n let wasImportWarningShown = false;\n // @ts-ignore: Temporarily define an export named \"Font\" for legacy compatibility\n Object.defineProperty(exports, 'Font', {\n get() {\n if (!wasImportWarningShown) {\n console.warn(\n `The syntax \"import { Font } from 'expo-font'\" is deprecated. Use \"import * as Font from 'expo-font'\" or import named exports instead. Support for the old syntax will be removed in SDK 33.`\n );\n wasImportWarningShown = true;\n }\n return {\n processFontFamily,\n isLoaded,\n isLoading,\n loadAsync,\n };\n },\n });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _TouchableNativeFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableNativeFeedback\"));var _default=_TouchableNativeFeedback.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/touchables/TouchableNativeFeedback.js"],"names":["TouchableNativeFeedback"],"mappings":"sSAEeA,gC","sourcesContent":["import { TouchableNativeFeedback } from 'react-native';\n\nexport default TouchableNativeFeedback;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default={light:{header:'#fff',headerBorder:'#a7a7aa',body:'#fff',bodyBorder:'#a7a7aa',bodyContent:'#fff',label:'rgba(0, 0, 0, 0.9)'},dark:{header:'#2a2a2a',headerBorder:'#3a3a3a',body:'#000',bodyBorder:'#343434',bodyContent:'#2a2a2a',label:'#fff'}};exports.default=_default;","map":{"version":3,"sources":["ThemeColors.ts"],"names":["light","header","headerBorder","body","bodyBorder","bodyContent","label","dark"],"mappings":"6FAAe,CACbA,KAAK,CAAE,CACLC,MAAM,CADD,MAAA,CAELC,YAAY,CAFP,SAAA,CAGLC,IAAI,CAHC,MAAA,CAILC,UAAU,CAJL,SAAA,CAKLC,WAAW,CALN,MAAA,CAMLC,KAAK,CAPM,oBACN,CADM,CASbC,IAAI,CAAE,CACJN,MAAM,CADF,SAAA,CAEJC,YAAY,CAFR,SAAA,CAGJC,IAAI,CAHA,MAAA,CAIJC,UAAU,CAJN,SAAA,CAKJC,WAAW,CALP,SAAA,CAMJC,KAAK,CAfT,MASQ,CATO,C","sourcesContent":["export default {\n light: {\n header: '#fff',\n headerBorder: '#a7a7aa',\n body: '#fff',\n bodyBorder: '#a7a7aa',\n bodyContent: '#fff',\n label: 'rgba(0, 0, 0, 0.9)',\n },\n dark: {\n header: '#2a2a2a',\n headerBorder: '#3a3a3a',\n body: '#000',\n bodyBorder: '#343434',\n bodyContent: '#2a2a2a',\n label: '#fff',\n },\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _base=require(\"./base\");var _AnimatedBezier=_interopRequireDefault(require(\"./core/AnimatedBezier\"));var Easing=function(){function Easing(){(0,_classCallCheck2.default)(this,Easing);}(0,_createClass2.default)(Easing,null,[{key:\"linear\",value:function linear(t){return t;}},{key:\"ease\",value:function ease(t){return new _AnimatedBezier.default(t,0.42,0,1,1);}},{key:\"quad\",value:function quad(t){return(0,_base.multiply)(t,t);}},{key:\"cubic\",value:function cubic(t){return(0,_base.multiply)(t,t,t);}},{key:\"poly\",value:function poly(n){return function(t){return(0,_base.pow)(t,n);};}},{key:\"sin\",value:function sin(t){return(0,_base.sub)(1,(0,_base.cos)((0,_base.multiply)(t,Math.PI,0.5)));}},{key:\"circle\",value:function circle(t){return(0,_base.sub)(1,(0,_base.sqrt)((0,_base.sub)(1,(0,_base.multiply)(t,t))));}},{key:\"exp\",value:function exp(t){return(0,_base.pow)(2,(0,_base.multiply)(10,(0,_base.sub)(t,1)));}},{key:\"elastic\",value:function elastic(){var bounciness=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;var p=bounciness*Math.PI;return function(t){return(0,_base.sub)(1,(0,_base.multiply)((0,_base.pow)((0,_base.cos)((0,_base.multiply)(t,Math.PI,0.5)),3),(0,_base.cos)((0,_base.multiply)(t,p))));};}},{key:\"back\",value:function back(s){if(s===undefined){s=1.70158;}return function(t){return(0,_base.multiply)(t,t,(0,_base.sub)((0,_base.multiply)((0,_base.add)(s,1),t),s));};}},{key:\"bounce\",value:function bounce(t){var sq=function sq(v){return(0,_base.multiply)(7.5625,v,v);};return(0,_base.cond)((0,_base.lessThan)(t,1/2.75),sq(t),(0,_base.cond)((0,_base.lessThan)(t,2/2.75),(0,_base.add)(0.75,sq((0,_base.sub)(t,1.5/2.75))),(0,_base.cond)((0,_base.lessThan)(t,2.5/2.76),(0,_base.add)(0.9375,sq((0,_base.sub)(t,2.25/2.75))),(0,_base.add)(0.984375,sq((0,_base.sub)(t,2.625/2.75))))));}},{key:\"bezier\",value:function bezier(x1,y1,x2,y2){return function(t){return new _AnimatedBezier.default(t,x1,y1,x2,y2);};}},{key:\"in\",value:function _in(easing){return easing;}},{key:\"out\",value:function out(easing){return function(t){return(0,_base.sub)(1,easing((0,_base.sub)(1,t)));};}},{key:\"inOut\",value:function inOut(easing){return function(t){return(0,_base.cond)((0,_base.lessThan)(t,0.5),(0,_base.divide)(easing((0,_base.multiply)(t,2)),2),(0,_base.sub)(1,(0,_base.divide)(easing((0,_base.multiply)((0,_base.sub)(1,t),2)),2)));};}}]);return Easing;}();exports.default=Easing;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/Easing.js"],"names":["Easing","t","AnimatedBezier","n","Math","PI","bounciness","p","s","undefined","sq","v","x1","y1","x2","y2","easing"],"mappings":"yVAAA,4BAWA,6E,GA+CqBA,CAAAA,M,oJAOLC,C,CAAG,CACf,MAAOA,CAAAA,CAAP,CACD,C,kCAQWA,C,CAAG,CACb,MAAO,IAAIC,wBAAJ,CAAmBD,CAAnB,CAAsB,IAAtB,CAA4B,CAA5B,CAA+B,CAA/B,CAAkC,CAAlC,CAAP,CACD,C,kCAQWA,C,CAAG,CACb,MAAO,mBAASA,CAAT,CAAYA,CAAZ,CAAP,CACD,C,oCAQYA,C,CAAG,CACd,MAAO,mBAASA,CAAT,CAAYA,CAAZ,CAAeA,CAAf,CAAP,CACD,C,kCAQWE,C,CAAG,CACb,MAAO,UAAAF,CAAC,QAAI,cAAIA,CAAJ,CAAOE,CAAP,CAAJ,EAAR,CACD,C,gCAOUF,C,CAAG,CACZ,MAAO,cAAI,CAAJ,CAAO,cAAI,mBAASA,CAAT,CAAYG,IAAI,CAACC,EAAjB,CAAqB,GAArB,CAAJ,CAAP,CAAP,CACD,C,sCAOaJ,C,CAAG,CACf,MAAO,cAAI,CAAJ,CAAO,eAAK,cAAI,CAAJ,CAAO,mBAASA,CAAT,CAAYA,CAAZ,CAAP,CAAL,CAAP,CAAP,CACD,C,gCAOUA,C,CAAG,CACZ,MAAO,cAAI,CAAJ,CAAO,mBAAS,EAAT,CAAa,cAAIA,CAAJ,CAAO,CAAP,CAAb,CAAP,CAAP,CACD,C,yCAY8B,IAAhBK,CAAAA,UAAgB,2DAAH,CAAG,CAC7B,GAAMC,CAAAA,CAAC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IAAIC,wBAAJ,CAAmBD,CAAnB,CAAsBW,EAAtB,CAA0BC,EAA1B,CAA8BC,EAA9B,CAAkCC,EAAlC,CAAJ,EAAR,CACD,C,+BAKSC,M,CAAQ,CAChB,MAAOA,CAAAA,MAAP,CACD,C,gCAKUA,M,CAAQ,CACjB,MAAO,UAAAf,CAAC,QAAI,cAAI,CAAJ,CAAOe,MAAM,CAAC,cAAI,CAAJ,CAAOf,CAAP,CAAD,CAAb,CAAJ,EAAR,CACD,C,oCAOYe,M,CAAQ,CACnB,MAAO,UAAAf,CAAC,QACN,eACE,mBAASA,CAAT,CAAY,GAAZ,CADF,CAEE,iBAAOe,MAAM,CAAC,mBAASf,CAAT,CAAY,CAAZ,CAAD,CAAb,CAA+B,CAA/B,CAFF,CAGE,cAAI,CAAJ,CAAO,iBAAOe,MAAM,CAAC,mBAAS,cAAI,CAAJ,CAAOf,CAAP,CAAT,CAAoB,CAApB,CAAD,CAAb,CAAuC,CAAvC,CAAP,CAHF,CADM,EAAR,CAMD,C","sourcesContent":["import {\n cond,\n lessThan,\n multiply,\n pow,\n cos,\n sqrt,\n sub,\n add,\n divide,\n} from './base';\nimport AnimatedBezier from './core/AnimatedBezier';\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\nexport default class Easing {\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n static linear(t) {\n return t;\n }\n\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n static ease(t) {\n return new AnimatedBezier(t, 0.42, 0, 1, 1);\n }\n\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n static quad(t) {\n return multiply(t, t);\n }\n\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n static cubic(t) {\n return multiply(t, t, t);\n }\n\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n static poly(n) {\n return t => pow(t, n);\n }\n\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n static sin(t) {\n return sub(1, cos(multiply(t, Math.PI, 0.5)));\n }\n\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n static circle(t) {\n return sub(1, sqrt(sub(1, multiply(t, t))));\n }\n\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n static exp(t) {\n return pow(2, multiply(10, sub(t, 1)));\n }\n\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n static elastic(bounciness = 1) {\n const p = bounciness * Math.PI;\n return t =>\n sub(\n 1,\n multiply(pow(cos(multiply(t, Math.PI, 0.5)), 3), cos(multiply(t, p)))\n );\n }\n\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\n static back(s) {\n if (s === undefined) {\n s = 1.70158;\n }\n return t => multiply(t, t, sub(multiply(add(s, 1), t), s));\n }\n\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n static bounce(t) {\n const sq = v => multiply(7.5625, v, v);\n return cond(\n lessThan(t, 1 / 2.75),\n sq(t),\n cond(\n lessThan(t, 2 / 2.75),\n add(0.75, sq(sub(t, 1.5 / 2.75))),\n cond(\n lessThan(t, 2.5 / 2.76),\n add(0.9375, sq(sub(t, 2.25 / 2.75))),\n add(0.984375, sq(sub(t, 2.625 / 2.75)))\n )\n )\n );\n }\n\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n static bezier(x1, y1, x2, y2) {\n return t => new AnimatedBezier(t, x1, y1, x2, y2);\n }\n\n /**\n * Runs an easing function forwards.\n */\n static in(easing) {\n return easing;\n }\n\n /**\n * Runs an easing function backwards.\n */\n static out(easing) {\n return t => sub(1, easing(sub(1, t)));\n }\n\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n static inOut(easing) {\n return t =>\n cond(\n lessThan(t, 0.5),\n divide(easing(multiply(t, 2)), 2),\n sub(1, divide(easing(multiply(sub(1, t), 2)), 2))\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=require(\"react\");var _ThemeContext=_interopRequireDefault(require(\"./views/ThemeContext\"));var _default=function _default(){return(0,_react.useContext)(_ThemeContext.default);};exports.default=_default;","map":{"version":3,"sources":["useTheme.ts"],"names":["useContext"],"mappings":"mKAAA,4BACA,0E,aAEe,mBAAA,CAAA,MAAMA,sBAAN,qBAAMA,CAAN,CAAf,C","sourcesContent":["import { useContext } from 'react';\nimport ThemeContext from './views/ThemeContext';\n\nexport default () => useContext(ThemeContext);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.RotationGestureHandler=exports.PinchGestureHandler=exports.PanGestureHandler=exports.LongPressGestureHandler=exports.ForceTouchGestureHandler=exports.FlingGestureHandler=exports.TapGestureHandler=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireDefault(require(\"react\"));var _createHandler=_interopRequireDefault(require(\"./createHandler\"));var _GestureHandlerPropTypes=_interopRequireDefault(require(\"./GestureHandlerPropTypes\"));var _PlatformConstants=_interopRequireDefault(require(\"./PlatformConstants\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var TapGestureHandler=(0,_createHandler.default)('TapGestureHandler',_objectSpread({},_GestureHandlerPropTypes.default,{maxDurationMs:_propTypes.default.number,maxDelayMs:_propTypes.default.number,numberOfTaps:_propTypes.default.number,maxDeltaX:_propTypes.default.number,maxDeltaY:_propTypes.default.number,maxDist:_propTypes.default.number,minPointers:_propTypes.default.number}),{});exports.TapGestureHandler=TapGestureHandler;var FlingGestureHandler=(0,_createHandler.default)('FlingGestureHandler',_objectSpread({},_GestureHandlerPropTypes.default,{numberOfPointers:_propTypes.default.number,direction:_propTypes.default.number}),{});exports.FlingGestureHandler=FlingGestureHandler;var ForceTouchFallback=function(_React$Component){(0,_inherits2.default)(ForceTouchFallback,_React$Component);function ForceTouchFallback(){(0,_classCallCheck2.default)(this,ForceTouchFallback);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ForceTouchFallback).apply(this,arguments));}(0,_createClass2.default)(ForceTouchFallback,[{key:\"componentDidMount\",value:function componentDidMount(){console.warn('ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase');}},{key:\"render\",value:function render(){return this.props.children;}}]);return ForceTouchFallback;}(_react.default.Component);var ForceTouchGestureHandler=_PlatformConstants.default&&_PlatformConstants.default.forceTouchAvailable?(0,_createHandler.default)('ForceTouchGestureHandler',_objectSpread({},_GestureHandlerPropTypes.default,{minForce:_propTypes.default.number,maxForce:_propTypes.default.number,feedbackOnActivation:_propTypes.default.bool}),{}):ForceTouchFallback;exports.ForceTouchGestureHandler=ForceTouchGestureHandler;ForceTouchGestureHandler.forceTouchAvailable=_PlatformConstants.default&&_PlatformConstants.default.forceTouchAvailable||false;var LongPressGestureHandler=(0,_createHandler.default)('LongPressGestureHandler',_objectSpread({},_GestureHandlerPropTypes.default,{minDurationMs:_propTypes.default.number,maxDist:_propTypes.default.number}),{});exports.LongPressGestureHandler=LongPressGestureHandler;function validatePanGestureHandlerProps(props){if(props.minDeltaX&&props.activeOffsetX){throw new Error(\"It's not supported use minDeltaX with activeOffsetXStart or activeOffsetXEnd\");}if(props.maxDeltaX&&props.failOffsetX){throw new Error(\"It's not supported use minDeltaX with activeOffsetXStart or activeOffsetXEnd\");}if(props.minDeltaY&&props.activeOffsetY){throw new Error(\"It's not supported use minDeltaX with activeOffsetYStart or activeOffsetYEnd\");}if(props.maxDeltaY&&props.failOffsetY){throw new Error(\"It's not supported use minDeltaX with activeOffsetYStart or activeOffsetYEnd\");}if(Array.isArray(props.activeOffsetX)&&(props.activeOffsetX[0]>0||props.activeOffsetX[1]<0)){throw new Error(\"First element of activeOffsetX should be negative, a the second one should be positive\");}if(Array.isArray(props.activeOffsetY)&&(props.activeOffsetY[0]>0||props.activeOffsetY[1]<0)){throw new Error(\"First element of activeOffsetY should be negative, a the second one should be positive\");}if(Array.isArray(props.failOffsetX)&&(props.failOffsetX[0]>0||props.failOffsetX[1]<0)){throw new Error(\"First element of failOffsetX should be negative, a the second one should be positive\");}if(Array.isArray(props.failOffsetY)&&(props.failOffsetY[0]>0||props.failOffsetY[1]<0)){throw new Error(\"First element of failOffsetY should be negative, a the second one should be positive\");}}function transformPanGestureHandlerProps(props){var res=_objectSpread({},props);if(props.minDeltaX!==undefined){delete res['minDeltaX'];res.activeOffsetXStart=-props.minDeltaX;res.activeOffsetXEnd=props.minDeltaX;}if(props.maxDeltaX!==undefined){delete res['maxDeltaX'];res.failOffsetXStart=-props.maxDeltaX;res.failOffsetXEnd=props.maxDeltaX;}if(props.minOffsetX!==undefined){delete res['minOffsetX'];if(props.minOffsetX<0){res.activeOffsetXStart=props.minOffsetX;}else{res.activeOffsetXEnd=props.minOffsetX;}}if(props.minDeltaY!==undefined){delete res['minDeltaY'];res.activeOffsetYStart=-props.minDeltaY;res.activeOffsetYEnd=props.minDeltaY;}if(props.maxDeltaY!==undefined){delete res['maxDeltaY'];res.failOffsetYStart=-props.maxDeltaY;res.failOffsetYEnd=props.maxDeltaY;}if(props.minOffsetY!==undefined){delete res['minOffsetY'];if(props.minOffsetY<0){res.activeOffsetYStart=props.minOffsetY;}else{res.activeOffsetYEnd=props.minOffsetY;}}if(props.activeOffsetX!==undefined){delete res['activeOffsetX'];if(Array.isArray(props.activeOffsetX)){res.activeOffsetXStart=props.activeOffsetX[0];res.activeOffsetXEnd=props.activeOffsetX[1];}else if(props.activeOffsetX<0){res.activeOffsetXStart=props.activeOffsetX;}else{res.activeOffsetXEnd=props.activeOffsetX;}}if(props.activeOffsetY!==undefined){delete res['activeOffsetY'];if(Array.isArray(props.activeOffsetY)){res.activeOffsetYStart=props.activeOffsetY[0];res.activeOffsetYEnd=props.activeOffsetY[1];}else if(props.activeOffsetY<0){res.activeOffsetYStart=props.activeOffsetY;}else{res.activeOffsetYEnd=props.activeOffsetY;}}if(props.failOffsetX!==undefined){delete res['failOffsetX'];if(Array.isArray(props.failOffsetX)){res.failOffsetXStart=props.failOffsetX[0];res.failOffsetXEnd=props.failOffsetX[1];}else if(props.failOffsetX<0){res.failOffsetXStart=props.failOffsetX;}else{res.failOffsetXEnd=props.failOffsetX;}}if(props.failOffsetY!==undefined){delete res['failOffsetY'];if(Array.isArray(props.failOffsetY)){res.failOffsetYStart=props.failOffsetY[0];res.failOffsetYEnd=props.failOffsetY[1];}else if(props.failOffsetY<0){res.failOffsetYStart=props.failOffsetY;}else{res.failOffsetYEnd=props.failOffsetY;}}return res;}function managePanProps(props){if(__DEV__){validatePanGestureHandlerProps(props);}return transformPanGestureHandlerProps(props);}var PanGestureHandler=(0,_createHandler.default)('PanGestureHandler',_objectSpread({},_GestureHandlerPropTypes.default,{activeOffsetY:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.arrayOf(_propTypes.default.number)]),activeOffsetX:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.arrayOf(_propTypes.default.number)]),failOffsetY:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.arrayOf(_propTypes.default.number)]),failOffsetX:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.arrayOf(_propTypes.default.number)]),minDist:_propTypes.default.number,minVelocity:_propTypes.default.number,minVelocityX:_propTypes.default.number,minVelocityY:_propTypes.default.number,minPointers:_propTypes.default.number,maxPointers:_propTypes.default.number,avgTouches:_propTypes.default.bool}),{},managePanProps,{activeOffsetYStart:true,activeOffsetYEnd:true,activeOffsetXStart:true,activeOffsetXEnd:true,failOffsetYStart:true,failOffsetYEnd:true,failOffsetXStart:true,failOffsetXEnd:true});exports.PanGestureHandler=PanGestureHandler;var PinchGestureHandler=(0,_createHandler.default)('PinchGestureHandler',_GestureHandlerPropTypes.default,{});exports.PinchGestureHandler=PinchGestureHandler;var RotationGestureHandler=(0,_createHandler.default)('RotationGestureHandler',_GestureHandlerPropTypes.default,{});exports.RotationGestureHandler=RotationGestureHandler;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/Gestures.js"],"names":["TapGestureHandler","GestureHandlerPropTypes","maxDurationMs","PropTypes","number","maxDelayMs","numberOfTaps","maxDeltaX","maxDeltaY","maxDist","minPointers","FlingGestureHandler","numberOfPointers","direction","ForceTouchFallback","console","warn","props","children","React","Component","ForceTouchGestureHandler","PlatformConstants","forceTouchAvailable","minForce","maxForce","feedbackOnActivation","bool","LongPressGestureHandler","minDurationMs","validatePanGestureHandlerProps","minDeltaX","activeOffsetX","Error","failOffsetX","minDeltaY","activeOffsetY","failOffsetY","Array","isArray","transformPanGestureHandlerProps","res","undefined","activeOffsetXStart","activeOffsetXEnd","failOffsetXStart","failOffsetXEnd","minOffsetX","activeOffsetYStart","activeOffsetYEnd","failOffsetYStart","failOffsetYEnd","minOffsetY","managePanProps","__DEV__","PanGestureHandler","oneOfType","arrayOf","minDist","minVelocity","minVelocityX","minVelocityY","maxPointers","avgTouches","PinchGestureHandler","RotationGestureHandler"],"mappings":"u5BAAA,6DACA,oDAEA,sEACA,0FACA,8E,yxBAEO,GAAMA,CAAAA,iBAAiB,CAAG,2BAC/B,mBAD+B,kBAG1BC,gCAH0B,EAI7BC,aAAa,CAAEC,mBAAUC,MAJI,CAK7BC,UAAU,CAAEF,mBAAUC,MALO,CAM7BE,YAAY,CAAEH,mBAAUC,MANK,CAO7BG,SAAS,CAAEJ,mBAAUC,MAPQ,CAQ7BI,SAAS,CAAEL,mBAAUC,MARQ,CAS7BK,OAAO,CAAEN,mBAAUC,MATU,CAU7BM,WAAW,CAAEP,mBAAUC,MAVM,GAY/B,EAZ+B,CAA1B,C,4CAeA,GAAMO,CAAAA,mBAAmB,CAAG,2BACjC,qBADiC,kBAG5BV,gCAH4B,EAI/BW,gBAAgB,CAAET,mBAAUC,MAJG,CAK/BS,SAAS,CAAEV,mBAAUC,MALU,GAOjC,EAPiC,CAA5B,C,mDAUDU,CAAAA,kB,iZACgB,CAClBC,OAAO,CAACC,IAAR,CACE,8NADF,EAGD,C,uCACQ,CACP,MAAO,MAAKC,KAAL,CAAWC,QAAlB,CACD,C,gCAR8BC,eAAMC,S,EAWhC,GAAMC,CAAAA,wBAAwB,CACnCC,4BAAqBA,2BAAkBC,mBAAvC,CACI,2BACE,0BADF,kBAGOtB,gCAHP,EAIIuB,QAAQ,CAAErB,mBAAUC,MAJxB,CAKIqB,QAAQ,CAAEtB,mBAAUC,MALxB,CAMIsB,oBAAoB,CAA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AAV,CAAkBtD,mBAAUC,MAA5B,CAF+B,CAApB,CAhBgB,CAoB7BsD,OAAO,CAAEvD,mBAAUC,MApBU,CAqB7BuD,WAAW,CAAExD,mBAAUC,MArBM,CAsB7BwD,YAAY,CAAEzD,mBAAUC,MAtBK,CAuB7ByD,YAAY,CAAE1D,mBAAUC,MAvBK,CAwB7BM,WAAW,CAAEP,mBAAUC,MAxBM,CAyB7B0D,WAAW,CAAE3D,mBAAUC,MAzBM,CA0B7B2D,UAAU,CAAE5D,mBAAUwB,IA1BO,GA4B/B,EA5B+B,CA6B/B0B,cA7B+B,CA8B/B,CACEL,kBAAkB,CAAE,IADtB,CAEEC,gBAAgB,CAAE,IAFpB,CAGEN,kBAAkB,CAAE,IAHtB,CAIEC,gBAAgB,CAAE,IAJpB,CAKEM,gBAAgB,CAAE,IALpB,CAMEC,cAAc,CAAE,IANlB,CAOEN,gBAAgB,CAAE,IAPpB,CAQEC,cAAc,CAAE,IARlB,CA9B+B,CAA1B,C,4CAyCA,GAAMkB,CAAAA,mBAAmB,CAAG,2BACjC,qBADiC,CAEjC/D,gCAFiC,CAGjC,EAHiC,CAA5B,C,gDAKA,GAAMgE,CAAAA,sBAAsB,CAAG,2BACpC,wBADoC,CAEpChE,gCAFoC,CAGpC,EAHoC,CAA/B,C","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport createHandler from './createHandler';\nimport GestureHandlerPropTypes from './GestureHandlerPropTypes';\nimport PlatformConstants from './PlatformConstants';\n\nexport const TapGestureHandler = createHandler(\n 'TapGestureHandler',\n {\n ...GestureHandlerPropTypes,\n maxDurationMs: PropTypes.number,\n maxDelayMs: PropTypes.number,\n numberOfTaps: PropTypes.number,\n maxDeltaX: PropTypes.number,\n maxDeltaY: PropTypes.number,\n maxDist: PropTypes.number,\n minPointers: PropTypes.number,\n },\n {}\n);\n\nexport const FlingGestureHandler = createHandler(\n 'FlingGestureHandler',\n {\n ...GestureHandlerPropTypes,\n numberOfPointers: PropTypes.number,\n direction: PropTypes.number,\n },\n {}\n);\n\nclass ForceTouchFallback extends React.Component {\n componentDidMount() {\n console.warn(\n 'ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase'\n );\n }\n render() {\n return this.props.children;\n }\n}\n\nexport const ForceTouchGestureHandler =\n PlatformConstants && PlatformConstants.forceTouchAvailable\n ? createHandler(\n 'ForceTouchGestureHandler',\n {\n ...GestureHandlerPropTypes,\n minForce: PropTypes.number,\n maxForce: PropTypes.number,\n feedbackOnActivation: PropTypes.bool,\n },\n {}\n )\n : ForceTouchFallback;\n\nForceTouchGestureHandler.forceTouchAvailable =\n (PlatformConstants && PlatformConstants.forceTouchAvailable) || false;\n\nexport const LongPressGestureHandler = createHandler(\n 'LongPressGestureHandler',\n {\n ...GestureHandlerPropTypes,\n minDurationMs: PropTypes.number,\n maxDist: PropTypes.number,\n },\n {}\n);\n\nfunction validatePanGestureHandlerProps(props) {\n if (props.minDeltaX && props.activeOffsetX) {\n throw new Error(\n `It's not supported use minDeltaX with activeOffsetXStart or activeOffsetXEnd`\n );\n }\n if (props.maxDeltaX && props.failOffsetX) {\n throw new Error(\n `It's not supported use minDeltaX with activeOffsetXStart or activeOffsetXEnd`\n );\n }\n if (props.minDeltaY && props.activeOffsetY) {\n throw new Error(\n `It's not supported use minDeltaX with activeOffsetYStart or activeOffsetYEnd`\n );\n }\n if (props.maxDeltaY && props.failOffsetY) {\n throw new Error(\n `It's not supported use minDeltaX with activeOffsetYStart or activeOffsetYEnd`\n );\n }\n if (\n Array.isArray(props.activeOffsetX) &&\n (props.activeOffsetX[0] > 0 || props.activeOffsetX[1] < 0)\n ) {\n throw new Error(\n `First element of activeOffsetX should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.activeOffsetY) &&\n (props.activeOffsetY[0] > 0 || props.activeOffsetY[1] < 0)\n ) {\n throw new Error(\n `First element of activeOffsetY should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.failOffsetX) &&\n (props.failOffsetX[0] > 0 || props.failOffsetX[1] < 0)\n ) {\n throw new Error(\n `First element of failOffsetX should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.failOffsetY) &&\n (props.failOffsetY[0] > 0 || props.failOffsetY[1] < 0)\n ) {\n throw new Error(\n `First element of failOffsetY should be negative, a the second one should be positive`\n );\n }\n}\n\nfunction transformPanGestureHandlerProps(props) {\n const res = { ...props };\n if (props.minDeltaX !== undefined) {\n delete res['minDeltaX'];\n res.activeOffsetXStart = -props.minDeltaX;\n res.activeOffsetXEnd = props.minDeltaX;\n }\n if (props.maxDeltaX !== undefined) {\n delete res['maxDeltaX'];\n res.failOffsetXStart = -props.maxDeltaX;\n res.failOffsetXEnd = props.maxDeltaX;\n }\n if (props.minOffsetX !== undefined) {\n delete res['minOffsetX'];\n if (props.minOffsetX < 0) {\n res.activeOffsetXStart = props.minOffsetX;\n } else {\n res.activeOffsetXEnd = props.minOffsetX;\n }\n }\n\n if (props.minDeltaY !== undefined) {\n delete res['minDeltaY'];\n res.activeOffsetYStart = -props.minDeltaY;\n res.activeOffsetYEnd = props.minDeltaY;\n }\n if (props.maxDeltaY !== undefined) {\n delete res['maxDeltaY'];\n res.failOffsetYStart = -props.maxDeltaY;\n res.failOffsetYEnd = props.maxDeltaY;\n }\n\n if (props.minOffsetY !== undefined) {\n delete res['minOffsetY'];\n if (props.minOffsetY < 0) {\n res.activeOffsetYStart = props.minOffsetY;\n } else {\n res.activeOffsetYEnd = props.minOffsetY;\n }\n }\n\n if (props.activeOffsetX !== undefined) {\n delete res['activeOffsetX'];\n if (Array.isArray(props.activeOffsetX)) {\n res.activeOffsetXStart = props.activeOffsetX[0];\n res.activeOffsetXEnd = props.activeOffsetX[1];\n } else if (props.activeOffsetX < 0) {\n res.activeOffsetXStart = props.activeOffsetX;\n } else {\n res.activeOffsetXEnd = props.activeOffsetX;\n }\n }\n\n if (props.activeOffsetY !== undefined) {\n delete res['activeOffsetY'];\n if (Array.isArray(props.activeOffsetY)) {\n res.activeOffsetYStart = props.activeOffsetY[0];\n res.activeOffsetYEnd = props.activeOffsetY[1];\n } else if (props.activeOffsetY < 0) {\n res.activeOffsetYStart = props.activeOffsetY;\n } else {\n res.activeOffsetYEnd = props.activeOffsetY;\n }\n }\n\n if (props.failOffsetX !== undefined) {\n delete res['failOffsetX'];\n if (Array.isArray(props.failOffsetX)) {\n res.failOffsetXStart = props.failOffsetX[0];\n res.failOffsetXEnd = props.failOffsetX[1];\n } else if (props.failOffsetX < 0) {\n res.failOffsetXStart = props.failOffsetX;\n } else {\n res.failOffsetXEnd = props.failOffsetX;\n }\n }\n\n if (props.failOffsetY !== undefined) {\n delete res['failOffsetY'];\n if (Array.isArray(props.failOffsetY)) {\n res.failOffsetYStart = props.failOffsetY[0];\n res.failOffsetYEnd = props.failOffsetY[1];\n } else if (props.failOffsetY < 0) {\n res.failOffsetYStart = props.failOffsetY;\n } else {\n res.failOffsetYEnd = props.failOffsetY;\n }\n }\n\n return res;\n}\n\nfunction managePanProps(props) {\n if (__DEV__) {\n validatePanGestureHandlerProps(props);\n }\n return transformPanGestureHandlerProps(props);\n}\n\nexport const PanGestureHandler = createHandler(\n 'PanGestureHandler',\n {\n ...GestureHandlerPropTypes,\n activeOffsetY: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.arrayOf(PropTypes.number),\n ]),\n activeOffsetX: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.arrayOf(PropTypes.number),\n ]),\n failOffsetY: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.arrayOf(PropTypes.number),\n ]),\n failOffsetX: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.arrayOf(PropTypes.number),\n ]),\n minDist: PropTypes.number,\n minVelocity: PropTypes.number,\n minVelocityX: PropTypes.number,\n minVelocityY: PropTypes.number,\n minPointers: PropTypes.number,\n maxPointers: PropTypes.number,\n avgTouches: PropTypes.bool,\n },\n {},\n managePanProps,\n {\n activeOffsetYStart: true,\n activeOffsetYEnd: true,\n activeOffsetXStart: true,\n activeOffsetXEnd: true,\n failOffsetYStart: true,\n failOffsetYEnd: true,\n failOffsetXStart: true,\n failOffsetXEnd: true,\n }\n);\nexport const PinchGestureHandler = createHandler(\n 'PinchGestureHandler',\n GestureHandlerPropTypes,\n {}\n);\nexport const RotationGestureHandler = createHandler(\n 'RotationGestureHandler',\n GestureHandlerPropTypes,\n {}\n);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedEvent=require(\"./AnimatedEvent\");var _AnimatedAddition=_interopRequireDefault(require(\"./nodes/AnimatedAddition\"));var _AnimatedDiffClamp=_interopRequireDefault(require(\"./nodes/AnimatedDiffClamp\"));var _AnimatedDivision=_interopRequireDefault(require(\"./nodes/AnimatedDivision\"));var _AnimatedInterpolation=_interopRequireDefault(require(\"./nodes/AnimatedInterpolation\"));var _AnimatedModulo=_interopRequireDefault(require(\"./nodes/AnimatedModulo\"));var _AnimatedMultiplication=_interopRequireDefault(require(\"./nodes/AnimatedMultiplication\"));var _AnimatedNode=_interopRequireDefault(require(\"./nodes/AnimatedNode\"));var _AnimatedProps=_interopRequireDefault(require(\"./nodes/AnimatedProps\"));var _AnimatedTracking=_interopRequireDefault(require(\"./nodes/AnimatedTracking\"));var _AnimatedValue=_interopRequireDefault(require(\"./nodes/AnimatedValue\"));var _AnimatedValueXY=_interopRequireDefault(require(\"./nodes/AnimatedValueXY\"));var _DecayAnimation=_interopRequireDefault(require(\"./animations/DecayAnimation\"));var _SpringAnimation=_interopRequireDefault(require(\"./animations/SpringAnimation\"));var _TimingAnimation=_interopRequireDefault(require(\"./animations/TimingAnimation\"));var _createAnimatedComponent=_interopRequireDefault(require(\"./createAnimatedComponent\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var add=function add(a,b){return new _AnimatedAddition.default(a,b);};var divide=function divide(a,b){return new _AnimatedDivision.default(a,b);};var multiply=function multiply(a,b){return new _AnimatedMultiplication.default(a,b);};var modulo=function modulo(a,modulus){return new _AnimatedModulo.default(a,modulus);};var diffClamp=function diffClamp(a,min,max){return new _AnimatedDiffClamp.default(a,min,max);};var _combineCallbacks=function _combineCallbacks(callback,config){if(callback&&config.onComplete){return function(){config.onComplete&&config.onComplete.apply(config,arguments);callback&&callback.apply(void 0,arguments);};}else{return callback||config.onComplete;}};var maybeVectorAnim=function maybeVectorAnim(value,config,anim){if(value instanceof _AnimatedValueXY.default){var configX=_objectSpread({},config);var configY=_objectSpread({},config);for(var key in config){var _config$key=config[key],x=_config$key.x,y=_config$key.y;if(x!==undefined&&y!==undefined){configX[key]=x;configY[key]=y;}}var aX=anim(value.x,configX);var aY=anim(value.y,configY);return parallel([aX,aY],{stopTogether:false});}return null;};var spring=function spring(value,config){var _start=function start(animatedValue,configuration,callback){callback=_combineCallbacks(callback,configuration);var singleValue=animatedValue;var singleConfig=configuration;singleValue.stopTracking();if(configuration.toValue instanceof _AnimatedNode.default){singleValue.track(new _AnimatedTracking.default(singleValue,configuration.toValue,_SpringAnimation.default,singleConfig,callback));}else{singleValue.animate(new _SpringAnimation.default(singleConfig),callback);}};return maybeVectorAnim(value,config,spring)||{start:function start(callback){_start(value,config,callback);},stop:function stop(){value.stopAnimation();},reset:function reset(){value.resetAnimation();},_startNativeLoop:function _startNativeLoop(iterations){var singleConfig=_objectSpread({},config,{iterations:iterations});_start(value,singleConfig);},_isUsingNativeDriver:function _isUsingNativeDriver(){return config.useNativeDriver||false;}};};var timing=function timing(value,config){var _start2=function start(animatedValue,configuration,callback){callback=_combineCallbacks(callback,configuration);var singleValue=animatedValue;var singleConfig=configuration;singleValue.stopTracking();if(configuration.toValue instanceof _AnimatedNode.default){singleValue.track(new _AnimatedTracking.default(singleValue,configuration.toValue,_TimingAnimation.default,singleConfig,callback));}else{singleValue.animate(new _TimingAnimation.default(singleConfig),callback);}};return maybeVectorAnim(value,config,timing)||{start:function start(callback){_start2(value,config,callback);},stop:function stop(){value.stopAnimation();},reset:function reset(){value.resetAnimation();},_startNativeLoop:function _startNativeLoop(iterations){var singleConfig=_objectSpread({},config,{iterations:iterations});_start2(value,singleConfig);},_isUsingNativeDriver:function _isUsingNativeDriver(){return config.useNativeDriver||false;}};};var decay=function decay(value,config){var _start3=function start(animatedValue,configuration,callback){callback=_combineCallbacks(callback,configuration);var singleValue=animatedValue;var singleConfig=configuration;singleValue.stopTracking();singleValue.animate(new _DecayAnimation.default(singleConfig),callback);};return maybeVectorAnim(value,config,decay)||{start:function start(callback){_start3(value,config,callback);},stop:function stop(){value.stopAnimation();},reset:function reset(){value.resetAnimation();},_startNativeLoop:function _startNativeLoop(iterations){var singleConfig=_objectSpread({},config,{iterations:iterations});_start3(value,singleConfig);},_isUsingNativeDriver:function _isUsingNativeDriver(){return config.useNativeDriver||false;}};};var sequence=function sequence(animations){var current=0;return{start:function start(callback){var onComplete=function onComplete(result){if(!result.finished){callback&&callback(result);return;}current++;if(current===animations.length){callback&&callback(result);return;}animations[current].start(onComplete);};if(animations.length===0){callback&&callback({finished:true});}else{animations[current].start(onComplete);}},stop:function stop(){if(current<animations.length){animations[current].stop();}},reset:function reset(){animations.forEach(function(animation,idx){if(idx<=current){animation.reset();}});current=0;},_startNativeLoop:function _startNativeLoop(){throw new Error('Loops run using the native driver cannot contain Animated.sequence animations');},_isUsingNativeDriver:function _isUsingNativeDriver(){return false;}};};var parallel=function parallel(animations,config){var doneCount=0;var hasEnded={};var stopTogether=!(config&&config.stopTogether===false);var result={start:function start(callback){if(doneCount===animations.length){callback&&callback({finished:true});return;}animations.forEach(function(animation,idx){var cb=function cb(endResult){hasEnded[idx]=true;doneCount++;if(doneCount===animations.length){doneCount=0;callback&&callback(endResult);return;}if(!endResult.finished&&stopTogether){result.stop();}};if(!animation){cb({finished:true});}else{animation.start(cb);}});},stop:function stop(){animations.forEach(function(animation,idx){!hasEnded[idx]&&animation.stop();hasEnded[idx]=true;});},reset:function reset(){animations.forEach(function(animation,idx){animation.reset();hasEnded[idx]=false;doneCount=0;});},_startNativeLoop:function _startNativeLoop(){throw new Error('Loops run using the native driver cannot contain Animated.parallel animations');},_isUsingNativeDriver:function _isUsingNativeDriver(){return false;}};return result;};var delay=function delay(time){return timing(new _AnimatedValue.default(0),{toValue:0,delay:time,duration:0});};var stagger=function stagger(time,animations){return parallel(animations.map(function(animation,i){return sequence([delay(time*i),animation]);}));};var loop=function loop(animation,_temp){var _ref=_temp===void 0?{}:_temp,_ref$iterations=_ref.iterations,iterations=_ref$iterations===void 0?-1:_ref$iterations;var isFinished=false;var iterationsSoFar=0;return{start:function start(callback){var restart=function restart(result){if(result===void 0){result={finished:true};}if(isFinished||iterationsSoFar===iterations||result.finished===false){callback&&callback(result);}else{iterationsSoFar++;animation.reset();animation.start(restart);}};if(!animation||iterations===0){callback&&callback({finished:true});}else{if(animation._isUsingNativeDriver()){animation._startNativeLoop(iterations);}else{restart();}}},stop:function stop(){isFinished=true;animation.stop();},reset:function reset(){iterationsSoFar=0;isFinished=false;animation.reset();},_startNativeLoop:function _startNativeLoop(){throw new Error('Loops run using the native driver cannot contain Animated.loop animations');},_isUsingNativeDriver:function _isUsingNativeDriver(){return animation._isUsingNativeDriver();}};};function forkEvent(event,listener){if(!event){return listener;}else if(event instanceof _AnimatedEvent.AnimatedEvent){event.__addListener(listener);return event;}else{return function(){typeof event==='function'&&event.apply(void 0,arguments);listener.apply(void 0,arguments);};}}function unforkEvent(event,listener){if(event&&event instanceof _AnimatedEvent.AnimatedEvent){event.__removeListener(listener);}}var event=function event(argMapping,config){var animatedEvent=new _AnimatedEvent.AnimatedEvent(argMapping,config);if(animatedEvent.__isNative){return animatedEvent;}else{return animatedEvent.__getHandler();}};var AnimatedImplementation={Value:_AnimatedValue.default,ValueXY:_AnimatedValueXY.default,Interpolation:_AnimatedInterpolation.default,Node:_AnimatedNode.default,decay:decay,timing:timing,spring:spring,add:add,divide:divide,multiply:multiply,modulo:modulo,diffClamp:diffClamp,delay:delay,sequence:sequence,parallel:parallel,stagger:stagger,loop:loop,event:event,createAnimatedComponent:_createAnimatedComponent.default,attachNativeEvent:_AnimatedEvent.attachNativeEvent,forkEvent:forkEvent,unforkEvent:unforkEvent,__PropsOnlyForTests:_AnimatedProps.default};var _default=AnimatedImplementation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/AnimatedImplementation.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","add","a","b","AnimatedAddition","divide","AnimatedDivision","multiply","AnimatedMultiplication","modulo","modulus","AnimatedModulo","diffClamp","min","max","AnimatedDiffClamp","_combineCallbacks","callback","config","onComplete","apply","maybeVectorAnim","anim","AnimatedValueXY","configX","configY","_config$key","x","y","undefined","aX","aY","parallel","stopTogether","spring","_start","start","animatedValue","configuration","singleValue","singleConfig","stopTracking","toValue","AnimatedNode","track","AnimatedTracking","SpringAnimation","animate","stop","stopAnimation","reset","resetAnimation","_startNativeLoop","iterations","_isUsingNativeDriver","useNativeDriver","timing","_start2","TimingAnimation","decay","_start3","DecayAnimation","sequence","animations","current","result","finished","animation","idx","Error","doneCount","hasEnded","cb","endResult","delay","time","AnimatedValue","duration","stagger","map","loop","_temp","_ref","_ref$iterations","isFinished","iterationsSoFar","restart","forkEvent","event","listener","AnimatedEvent","__addListener","unforkEvent","__removeListener","argMapping","animatedEvent","__isNative","__getHandler","AnimatedImplementation","Value","ValueXY","Interpolation","AnimatedInterpolation","Node","createAnimatedComponent","attachNativeEvent","__PropsOnlyForTests","AnimatedProps"],"mappings":"AAUA,a,mKAMA,8CACA,kFACA,oFACA,kFACA,4FACA,8EACA,8FACA,0EACA,4EACA,kFACA,4EACA,gFACA,mFACA,qFACA,qFACA,0FAnBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7E,EAAiF,CAAC,MAAOf,CAAAA,MAAP,CAAgB,CAEje,QAASgB,CAAAA,eAAT,CAAyBC,GAAzB,CAA8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AAE5D,qBA7BqB,CAqC3BgB,KAAK,CAAEA,KArCoB,CA6C3BH,MAAM,CAAEA,MA7CmB,CAqD3BtB,MAAM,CAAEA,MArDmB,CA6D3BjC,GAAG,CAAEA,GA7DsB,CAqE3BI,MAAM,CAAEA,MArEmB,CA6E3BE,QAAQ,CAAEA,QA7EiB,CAqF3BE,MAAM,CAAEA,MArFmB,CA8F3BG,SAAS,CAAEA,SA9FgB,CAqG3B8D,KAAK,CAAEA,KArGoB,CA8G3BZ,QAAQ,CAAEA,QA9GiB,CAuH3B9B,QAAQ,CAAEA,QAvHiB,CA+H3B8C,OAAO,CAAEA,OA/HkB,CAuI3BE,IAAI,CAAEA,IAvIqB,CA+I3BQ,KAAK,CAAEA,KA/IoB,CAsJ3BgB,uBAAuB,CAAEA,gCAtJE,CA8J3BC,iBAAiB,CAAEA,gCA9JQ,CAsK3BlB,SAAS,CAAEA,SAtKgB,CAuK3BK,WAAW,CAAEA,WAvKc,CAwK3Bc,mBAAmB,CAAEC,sBAxKM,CAA7B,C,aA0KeT,sB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @preventMunge\n */\n'use strict';\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { AnimatedEvent, attachNativeEvent } from './AnimatedEvent';\nimport AnimatedAddition from './nodes/AnimatedAddition';\nimport AnimatedDiffClamp from './nodes/AnimatedDiffClamp';\nimport AnimatedDivision from './nodes/AnimatedDivision';\nimport AnimatedInterpolation from './nodes/AnimatedInterpolation';\nimport AnimatedModulo from './nodes/AnimatedModulo';\nimport AnimatedMultiplication from './nodes/AnimatedMultiplication';\nimport AnimatedNode from './nodes/AnimatedNode';\nimport AnimatedProps from './nodes/AnimatedProps';\nimport AnimatedTracking from './nodes/AnimatedTracking';\nimport AnimatedValue from './nodes/AnimatedValue';\nimport AnimatedValueXY from './nodes/AnimatedValueXY';\nimport DecayAnimation from './animations/DecayAnimation';\nimport SpringAnimation from './animations/SpringAnimation';\nimport TimingAnimation from './animations/TimingAnimation';\nimport createAnimatedComponent from './createAnimatedComponent';\n\nvar add = function add(a, b) {\n return new AnimatedAddition(a, b);\n};\n\nvar divide = function divide(a, b) {\n return new AnimatedDivision(a, b);\n};\n\nvar multiply = function multiply(a, b) {\n return new AnimatedMultiplication(a, b);\n};\n\nvar modulo = function modulo(a, modulus) {\n return new AnimatedModulo(a, modulus);\n};\n\nvar diffClamp = function diffClamp(a, min, max) {\n return new AnimatedDiffClamp(a, min, max);\n};\n\nvar _combineCallbacks = function _combineCallbacks(callback, config) {\n if (callback && config.onComplete) {\n return function () {\n config.onComplete && config.onComplete.apply(config, arguments);\n callback && callback.apply(void 0, arguments);\n };\n } else {\n return callback || config.onComplete;\n }\n};\n\nvar maybeVectorAnim = function maybeVectorAnim(value, config, anim) {\n if (value instanceof AnimatedValueXY) {\n var configX = _objectSpread({}, config);\n\n var configY = _objectSpread({}, config);\n\n for (var key in config) {\n var _config$key = config[key],\n x = _config$key.x,\n y = _config$key.y;\n\n if (x !== undefined && y !== undefined) {\n configX[key] = x;\n configY[key] = y;\n }\n }\n\n var aX = anim(value.x, configX);\n var aY = anim(value.y, configY); // We use `stopTogether: false` here because otherwise tracking will break\n // because the second animation will get stopped before it can update.\n\n return parallel([aX, aY], {\n stopTogether: false\n });\n }\n\n return null;\n};\n\nvar spring = function spring(value, config) {\n var _start = function start(animatedValue, configuration, callback) {\n callback = _combineCallbacks(callback, configuration);\n var singleValue = animatedValue;\n var singleConfig = configuration;\n singleValue.stopTracking();\n\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(new AnimatedTracking(singleValue, configuration.toValue, SpringAnimation, singleConfig, callback));\n } else {\n singleValue.animate(new SpringAnimation(singleConfig), callback);\n }\n };\n\n return maybeVectorAnim(value, config, spring) || {\n start: function start(callback) {\n _start(value, config, callback);\n },\n stop: function stop() {\n value.stopAnimation();\n },\n reset: function reset() {\n value.resetAnimation();\n },\n _startNativeLoop: function _startNativeLoop(iterations) {\n var singleConfig = _objectSpread({}, config, {\n iterations: iterations\n });\n\n _start(value, singleConfig);\n },\n _isUsingNativeDriver: function _isUsingNativeDriver() {\n return config.useNativeDriver || false;\n }\n };\n};\n\nvar timing = function timing(value, config) {\n var _start2 = function start(animatedValue, configuration, callback) {\n callback = _combineCallbacks(callback, configuration);\n var singleValue = animatedValue;\n var singleConfig = configuration;\n singleValue.stopTracking();\n\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(new AnimatedTracking(singleValue, configuration.toValue, TimingAnimation, singleConfig, callback));\n } else {\n singleValue.animate(new TimingAnimation(singleConfig), callback);\n }\n };\n\n return maybeVectorAnim(value, config, timing) || {\n start: function start(callback) {\n _start2(value, config, callback);\n },\n stop: function stop() {\n value.stopAnimation();\n },\n reset: function reset() {\n value.resetAnimation();\n },\n _startNativeLoop: function _startNativeLoop(iterations) {\n var singleConfig = _objectSpread({}, config, {\n iterations: iterations\n });\n\n _start2(value, singleConfig);\n },\n _isUsingNativeDriver: function _isUsingNativeDriver() {\n return config.useNativeDriver || false;\n }\n };\n};\n\nvar decay = function decay(value, config) {\n var _start3 = function start(animatedValue, configuration, callback) {\n callback = _combineCallbacks(callback, configuration);\n var singleValue = animatedValue;\n var singleConfig = configuration;\n singleValue.stopTracking();\n singleValue.animate(new DecayAnimation(singleConfig), callback);\n };\n\n return maybeVectorAnim(value, config, decay) || {\n start: function start(callback) {\n _start3(value, config, callback);\n },\n stop: function stop() {\n value.stopAnimation();\n },\n reset: function reset() {\n value.resetAnimation();\n },\n _startNativeLoop: function _startNativeLoop(iterations) {\n var singleConfig = _objectSpread({}, config, {\n iterations: iterations\n });\n\n _start3(value, singleConfig);\n },\n _isUsingNativeDriver: function _isUsingNativeDriver() {\n return config.useNativeDriver || false;\n }\n };\n};\n\nvar sequence = function sequence(animations) {\n var current = 0;\n return {\n start: function start(callback) {\n var onComplete = function onComplete(result) {\n if (!result.finished) {\n callback && callback(result);\n return;\n }\n\n current++;\n\n if (current === animations.length) {\n callback && callback(result);\n return;\n }\n\n animations[current].start(onComplete);\n };\n\n if (animations.length === 0) {\n callback && callback({\n finished: true\n });\n } else {\n animations[current].start(onComplete);\n }\n },\n stop: function stop() {\n if (current < animations.length) {\n animations[current].stop();\n }\n },\n reset: function reset() {\n animations.forEach(function (animation, idx) {\n if (idx <= current) {\n animation.reset();\n }\n });\n current = 0;\n },\n _startNativeLoop: function _startNativeLoop() {\n throw new Error('Loops run using the native driver cannot contain Animated.sequence animations');\n },\n _isUsingNativeDriver: function _isUsingNativeDriver() {\n return false;\n }\n };\n};\n\nvar parallel = function parallel(animations, config) {\n var doneCount = 0; // Make sure we only call stop() at most once for each animation\n\n var hasEnded = {};\n var stopTogether = !(config && config.stopTogether === false);\n var result = {\n start: function start(callback) {\n if (doneCount === animations.length) {\n callback && callback({\n finished: true\n });\n return;\n }\n\n animations.forEach(function (animation, idx) {\n var cb = function cb(endResult) {\n hasEnded[idx] = true;\n doneCount++;\n\n if (doneCount === animations.length) {\n doneCount = 0;\n callback && callback(endResult);\n return;\n }\n\n if (!endResult.finished && stopTogether) {\n result.stop();\n }\n };\n\n if (!animation) {\n cb({\n finished: true\n });\n } else {\n animation.start(cb);\n }\n });\n },\n stop: function stop() {\n animations.forEach(function (animation, idx) {\n !hasEnded[idx] && animation.stop();\n hasEnded[idx] = true;\n });\n },\n reset: function reset() {\n animations.forEach(function (animation, idx) {\n animation.reset();\n hasEnded[idx] = false;\n doneCount = 0;\n });\n },\n _startNativeLoop: function _startNativeLoop() {\n throw new Error('Loops run using the native driver cannot contain Animated.parallel animations');\n },\n _isUsingNativeDriver: function _isUsingNativeDriver() {\n return false;\n }\n };\n return result;\n};\n\nvar delay = function delay(time) {\n // Would be nice to make a specialized implementation\n return timing(new AnimatedValue(0), {\n toValue: 0,\n delay: time,\n duration: 0\n });\n};\n\nvar stagger = function stagger(time, animations) {\n return parallel(animations.map(function (animation, i) {\n return sequence([delay(time * i), animation]);\n }));\n};\n\nvar loop = function loop(animation, _temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$iterations = _ref.iterations,\n iterations = _ref$iterations === void 0 ? -1 : _ref$iterations;\n\n var isFinished = false;\n var iterationsSoFar = 0;\n return {\n start: function start(callback) {\n var restart = function restart(result) {\n if (result === void 0) {\n result = {\n finished: true\n };\n }\n\n if (isFinished || iterationsSoFar === iterations || result.finished === false) {\n callback && callback(result);\n } else {\n iterationsSoFar++;\n animation.reset();\n animation.start(restart);\n }\n };\n\n if (!animation || iterations === 0) {\n callback && callback({\n finished: true\n });\n } else {\n if (animation._isUsingNativeDriver()) {\n animation._startNativeLoop(iterations);\n } else {\n restart(); // Start looping recursively on the js thread\n }\n }\n },\n stop: function stop() {\n isFinished = true;\n animation.stop();\n },\n reset: function reset() {\n iterationsSoFar = 0;\n isFinished = false;\n animation.reset();\n },\n _startNativeLoop: function _startNativeLoop() {\n throw new Error('Loops run using the native driver cannot contain Animated.loop animations');\n },\n _isUsingNativeDriver: function _isUsingNativeDriver() {\n return animation._isUsingNativeDriver();\n }\n };\n};\n\nfunction forkEvent(event, listener) {\n if (!event) {\n return listener;\n } else if (event instanceof AnimatedEvent) {\n event.__addListener(listener);\n\n return event;\n } else {\n return function () {\n typeof event === 'function' && event.apply(void 0, arguments);\n listener.apply(void 0, arguments);\n };\n }\n}\n\nfunction unforkEvent(event, listener) {\n if (event && event instanceof AnimatedEvent) {\n event.__removeListener(listener);\n }\n}\n\nvar event = function event(argMapping, config) {\n var animatedEvent = new AnimatedEvent(argMapping, config);\n\n if (animatedEvent.__isNative) {\n return animatedEvent;\n } else {\n return animatedEvent.__getHandler();\n }\n};\n/**\n * The `Animated` library is designed to make animations fluid, powerful, and\n * easy to build and maintain. `Animated` focuses on declarative relationships\n * between inputs and outputs, with configurable transforms in between, and\n * simple `start`/`stop` methods to control time-based animation execution.\n *\n * See http://facebook.github.io/react-native/docs/animated.html\n */\n\n\nvar AnimatedImplementation = {\n /**\n * Standard value class for driving animations. Typically initialized with\n * `new Animated.Value(0);`\n *\n * See http://facebook.github.io/react-native/docs/animated.html#value\n */\n Value: AnimatedValue,\n\n /**\n * 2D value class for driving 2D animations, such as pan gestures.\n *\n * See https://facebook.github.io/react-native/releases/next/docs/animatedvaluexy.html\n */\n ValueXY: AnimatedValueXY,\n\n /**\n * Exported to use the Interpolation type in flow.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#interpolation\n */\n Interpolation: AnimatedInterpolation,\n\n /**\n * Exported for ease of type checking. All animated values derive from this\n * class.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#node\n */\n Node: AnimatedNode,\n\n /**\n * Animates a value from an initial velocity to zero based on a decay\n * coefficient.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#decay\n */\n decay: decay,\n\n /**\n * Animates a value along a timed easing curve. The Easing module has tons of\n * predefined curves, or you can use your own function.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#timing\n */\n timing: timing,\n\n /**\n * Animates a value according to an analytical spring model based on\n * damped harmonic oscillation.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#spring\n */\n spring: spring,\n\n /**\n * Creates a new Animated value composed from two Animated values added\n * together.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#add\n */\n add: add,\n\n /**\n * Creates a new Animated value composed by dividing the first Animated value\n * by the second Animated value.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#divide\n */\n divide: divide,\n\n /**\n * Creates a new Animated value composed from two Animated values multiplied\n * together.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#multiply\n */\n multiply: multiply,\n\n /**\n * Creates a new Animated value that is the (non-negative) modulo of the\n * provided Animated value.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#modulo\n */\n modulo: modulo,\n\n /**\n * Create a new Animated value that is limited between 2 values. It uses the\n * difference between the last value so even if the value is far from the\n * bounds it will start changing when the value starts getting closer again.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#diffclamp\n */\n diffClamp: diffClamp,\n\n /**\n * Starts an animation after the given delay.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#delay\n */\n delay: delay,\n\n /**\n * Starts an array of animations in order, waiting for each to complete\n * before starting the next. If the current running animation is stopped, no\n * following animations will be started.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#sequence\n */\n sequence: sequence,\n\n /**\n * Starts an array of animations all at the same time. By default, if one\n * of the animations is stopped, they will all be stopped. You can override\n * this with the `stopTogether` flag.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#parallel\n */\n parallel: parallel,\n\n /**\n * Array of animations may run in parallel (overlap), but are started in\n * sequence with successive delays. Nice for doing trailing effects.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#stagger\n */\n stagger: stagger,\n\n /**\n * Loops a given animation continuously, so that each time it reaches the\n * end, it resets and begins again from the start.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#loop\n */\n loop: loop,\n\n /**\n * Takes an array of mappings and extracts values from each arg accordingly,\n * then calls `setValue` on the mapped outputs.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#event\n */\n event: event,\n\n /**\n * Make any React component Animatable. Used to create `Animated.View`, etc.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#createanimatedcomponent\n */\n createAnimatedComponent: createAnimatedComponent,\n\n /**\n * Imperative API to attach an animated value to an event on a view. Prefer\n * using `Animated.event` with `useNativeDrive: true` if possible.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#attachnativeevent\n */\n attachNativeEvent: attachNativeEvent,\n\n /**\n * Advanced imperative API for snooping on animated events that are passed in\n * through props. Use values directly where possible.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#forkevent\n */\n forkEvent: forkEvent,\n unforkEvent: unforkEvent,\n __PropsOnlyForTests: AnimatedProps\n};\nexport default AnimatedImplementation;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _invariant=_interopRequireDefault(require(\"./utils/invariant\"));var StateUtils={get:function get(state,key){return state.routes.find(function(route){return route.key===key;})||null;},indexOf:function indexOf(state,key){return state.routes.findIndex(function(route){return route.key===key;});},has:function has(state,key){return!!state.routes.some(function(route){return route.key===key;});},push:function push(state,route){(0,_invariant.default)(StateUtils.indexOf(state,route.key)===-1,'should not push route with duplicated key %s',route.key);var routes=state.routes.slice();routes.push(route);return(0,_objectSpread2.default)({},state,{index:routes.length-1,routes:routes});},pop:function pop(state){if(state.index<=0){return state;}var routes=state.routes.slice(0,-1);return(0,_objectSpread2.default)({},state,{index:routes.length-1,routes:routes});},jumpToIndex:function jumpToIndex(state,index){if(index===state.index){return state;}(0,_invariant.default)(!!state.routes[index],'invalid index %s to jump to',index);return(0,_objectSpread2.default)({},state,{index:index});},jumpTo:function jumpTo(state,key){var index=StateUtils.indexOf(state,key);return StateUtils.jumpToIndex(state,index);},back:function back(state){var index=state.index-1;var route=state.routes[index];return route?StateUtils.jumpToIndex(state,index):state;},forward:function forward(state){var index=state.index+1;var route=state.routes[index];return route?StateUtils.jumpToIndex(state,index):state;},replaceAndPrune:function replaceAndPrune(state,key,route){var index=StateUtils.indexOf(state,key);var replaced=StateUtils.replaceAtIndex(state,index,route);return(0,_objectSpread2.default)({},replaced,{routes:replaced.routes.slice(0,index+1)});},replaceAt:function replaceAt(state,key,route){var preserveIndex=arguments.length>3&&arguments[3]!==undefined?arguments[3]:false;var index=StateUtils.indexOf(state,key);var nextIndex=preserveIndex?state.index:index;var nextState=StateUtils.replaceAtIndex(state,index,route);nextState.index=nextIndex;return nextState;},replaceAtIndex:function replaceAtIndex(state,index,route){(0,_invariant.default)(!!state.routes[index],'invalid index %s for replacing route %s',index,route.key);if(state.routes[index]===route&&index===state.index){return state;}var routes=state.routes.slice();routes[index]=route;return(0,_objectSpread2.default)({},state,{index:index,routes:routes});},reset:function reset(state,routes,index){(0,_invariant.default)(routes.length&&Array.isArray(routes),'invalid routes to replace');var nextIndex=index===undefined?routes.length-1:index;if(state.routes.length===routes.length&&state.index===nextIndex){var compare=function compare(route,ii){return routes[ii]===route;};if(state.routes.every(compare)){return state;}}(0,_invariant.default)(!!routes[nextIndex],'invalid index %s to reset',nextIndex);return(0,_objectSpread2.default)({},state,{index:nextIndex,routes:routes});}};var _default=StateUtils;exports.default=_default;","map":{"version":3,"sources":["StateUtils.js"],"names":["StateUtils","get","state","route","indexOf","has","push","invariant","routes","index","pop","jumpToIndex","jumpTo","back","forward","replaceAndPrune","replaced","replaceAt","preserveIndex","nextIndex","nextState","replaceAtIndex","reset","Array","compare"],"mappings":"6PAAA,oEAUA,GAAMA,CAAAA,UAAU,CAAG,CAIjBC,GAJiB,CAAA,QAAA,CAAA,GAAA,CAAA,KAAA,CAAA,GAAA,CAID,CACd,MAAOC,CAAAA,KAAK,CAALA,MAAAA,CAAAA,IAAAA,CAAkB,SAAA,KAAA,CAAK,CAAA,MAAIC,CAAAA,KAAK,CAALA,GAAAA,GAAJ,GAAA,CAAvBD,CAAAA,GAAP,IAAA,CALe,CAAA,CAYjBE,OAZiB,CAAA,QAAA,CAAA,OAAA,CAAA,KAAA,CAAA,GAAA,CAYG,CAClB,MAAOF,CAAAA,KAAK,CAALA,MAAAA,CAAAA,SAAAA,CAAuB,SAAA,KAAA,CAAK,CAAA,MAAIC,CAAAA,KAAK,CAALA,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navigate state and routes.\n *\n * ```javascript\n * const state1 = {key: 'screen 1'};\n * const state2 = NavigationStateUtils.push(state1, {key: 'screen 2'});\n * ```\n */\nconst StateUtils = {\n /**\n * Gets a route by key. If the route isn't found, returns `null`.\n */\n get(state, key) {\n return state.routes.find(route => route.key === key) || null;\n },\n\n /**\n * Returns the first index at which a given route's key can be found in the\n * routes of the navigation state, or -1 if it is not present.\n */\n indexOf(state, key) {\n return state.routes.findIndex(route => route.key === key);\n },\n\n /**\n * Returns `true` at which a given route's key can be found in the\n * routes of the navigation state.\n */\n has(state, key) {\n return !!state.routes.some(route => route.key === key);\n },\n\n /**\n * Pushes a new route into the navigation state.\n * Note that this moves the index to the position to where the last route in the\n * stack is at.\n */\n push(state, route) {\n invariant(\n StateUtils.indexOf(state, route.key) === -1,\n 'should not push route with duplicated key %s',\n route.key\n );\n\n const routes = state.routes.slice();\n routes.push(route);\n\n return {\n ...state,\n index: routes.length - 1,\n routes,\n };\n },\n\n /**\n * Pops out a route from the navigation state.\n * Note that this moves the index to the position to where the last route in the\n * stack is at.\n */\n pop(state) {\n if (state.index <= 0) {\n // [Note]: Over-popping does not throw error. Instead, it will be no-op.\n return state;\n }\n const routes = state.routes.slice(0, -1);\n return {\n ...state,\n index: routes.length - 1,\n routes,\n };\n },\n\n /**\n * Sets the focused route of the navigation state by index.\n */\n jumpToIndex(state, index) {\n if (index === state.index) {\n return state;\n }\n\n invariant(!!state.routes[index], 'invalid index %s to jump to', index);\n\n return {\n ...state,\n index,\n };\n },\n\n /**\n * Sets the focused route of the navigation state by key.\n */\n jumpTo(state, key) {\n const index = StateUtils.indexOf(state, key);\n return StateUtils.jumpToIndex(state, index);\n },\n\n /**\n * Sets the focused route to the previous route.\n */\n back(state) {\n const index = state.index - 1;\n const route = state.routes[index];\n return route ? StateUtils.jumpToIndex(state, index) : state;\n },\n\n /**\n * Sets the focused route to the next route.\n */\n forward(state) {\n const index = state.index + 1;\n const route = state.routes[index];\n return route ? StateUtils.jumpToIndex(state, index) : state;\n },\n\n /**\n * Replace a route by a key.\n * Note that this moves the index to the position to where the new route in the\n * stack is at and updates the routes array accordingly.\n */\n replaceAndPrune(state, key, route) {\n const index = StateUtils.indexOf(state, key);\n const replaced = StateUtils.replaceAtIndex(state, index, route);\n\n return {\n ...replaced,\n routes: replaced.routes.slice(0, index + 1),\n };\n },\n\n /**\n * Replace a route by a key.\n * Note that this moves the index to the position to where the new route in the\n * stack is at. Does not prune the routes.\n * If preserveIndex is true then replacing the route does not cause the index\n * to change to the index of that route.\n */\n replaceAt(state, key, route, preserveIndex = false) {\n const index = StateUtils.indexOf(state, key);\n const nextIndex = preserveIndex ? state.index : index;\n let nextState = StateUtils.replaceAtIndex(state, index, route);\n nextState.index = nextIndex;\n return nextState;\n },\n\n /**\n * Replace a route by a index.\n * Note that this moves the index to the position to where the new route in the\n * stack is at.\n */\n replaceAtIndex(state, index, route) {\n invariant(\n !!state.routes[index],\n 'invalid index %s for replacing route %s',\n index,\n route.key\n );\n\n if (state.routes[index] === route && index === state.index) {\n return state;\n }\n\n const routes = state.routes.slice();\n routes[index] = route;\n\n return {\n ...state,\n index,\n routes,\n };\n },\n\n /**\n * Resets all routes.\n * Note that this moves the index to the position to where the last route in the\n * stack is at if the param `index` isn't provided.\n */\n reset(state, routes, index) {\n invariant(\n routes.length && Array.isArray(routes),\n 'invalid routes to replace'\n );\n\n const nextIndex = index === undefined ? routes.length - 1 : index;\n\n if (state.routes.length === routes.length && state.index === nextIndex) {\n const compare = (route, ii) => routes[ii] === route;\n if (state.routes.every(compare)) {\n return state;\n }\n }\n\n invariant(!!routes[nextIndex], 'invalid index %s to reset', nextIndex);\n\n return {\n ...state,\n index: nextIndex,\n routes,\n };\n },\n};\n\nexport default StateUtils;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _reactDom=require(\"react-dom\");var _default=_reactDom.hydrate;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/hydrate/index.js"],"names":["hydrate"],"mappings":"gFAQA,mC,aACeA,iB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { hydrate } from 'react-dom';\nexport default hydrate;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=memoize;function memoize(callback){var previous;var result;return function(){var hasChanged=false;for(var _len=arguments.length,dependencies=new Array(_len),_key=0;_key<_len;_key++){dependencies[_key]=arguments[_key];}if(previous){if(previous.length!==dependencies.length){hasChanged=true;}else{for(var i=0;i<previous.length;i++){if(previous[i]!==dependencies[i]){hasChanged=true;break;}}}}else{hasChanged=true;}previous=dependencies;if(hasChanged||result===undefined){result=callback.apply(void 0,dependencies);}return result;};}","map":{"version":3,"sources":["memoize.tsx"],"names":["dependencies","hasChanged","previous","i","result","callback"],"mappings":"iFAAe,QAAA,CAAA,OAAA,CAAA,QAAA,CAEb,CACA,GAAA,CAAA,QAAA,CACA,GAAA,CAAA,MAAA,CAEA,MAAO,WAAmC,CACxC,GAAIC,CAAAA,UAAU,CAAd,KAAA,CADwC,IAAA,GAAA,CAAA,IAAA,CAAA,SAAA,CAAA,MAAA,CAA/BD,YAA+B,CAAA,GAAA,CAAA,KAAA,CAAA,IAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA,IAAA,EAAA,CAAA,CAA/BA,YAA+B,CAAA,IAAA,CAA/BA,CAA+B,SAAA,CAAA,IAAA,CAA/BA,CAGT,IAAA,QAAA,CAAc,CACZ,GAAIE,QAAQ,CAARA,MAAAA,GAAoBF,YAAY,CAApC,MAAA,CAA6C,CAC3CC,UAAU,CAAVA,IAAAA,CADF,CAAA,IAEO,CACL,IAAK,GAAIE,CAAAA,CAAC,CAAV,CAAA,CAAgBA,CAAC,CAAGD,QAAQ,CAA5B,MAAA,CAAqCC,CAArC,EAAA,CAA0C,CACxC,GAAID,QAAQ,CAARA,CAAQ,CAARA,GAAgBF,YAAY,CAAhC,CAAgC,CAAhC,CAAqC,CACnCC,UAAU,CAAVA,IAAAA,CACA,MAEH,CACF,CACF,CAXD,CAAA,IAWO,CACLA,UAAU,CAAVA,IAAAA,CAGFC,CAAAA,QAAQ,CAARA,YAAAA,CAEA,GAAID,UAAU,EAAIG,MAAM,GAAxB,SAAA,CAAwC,CACtCA,MAAM,CAAGC,QAAQ,CAARA,KAAAA,CAAAA,IAAAA,EAAAA,CAATD,YAASC,CAATD,CAGF,OAAA,CAAA,MAAA,CAxBF,CAAA,CA0BD","sourcesContent":["export default function memoize<Result, Deps extends ReadonlyArray<any>>(\n callback: (...deps: Deps) => Result\n) {\n let previous: Deps | undefined;\n let result: Result | undefined;\n\n return (...dependencies: Deps): Result => {\n let hasChanged = false;\n\n if (previous) {\n if (previous.length !== dependencies.length) {\n hasChanged = true;\n } else {\n for (let i = 0; i < previous.length; i++) {\n if (previous[i] !== dependencies[i]) {\n hasChanged = true;\n break;\n }\n }\n }\n } else {\n hasChanged = true;\n }\n\n previous = dependencies;\n\n if (hasChanged || result === undefined) {\n result = callback(...dependencies);\n }\n\n return result;\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=_interopRequireDefault(require(\"prop-types\"));var GestureHandlerPropTypes={id:_propTypes.default.string,minPointers:_propTypes.default.number,enabled:_propTypes.default.bool,waitFor:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object,_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object]))]),simultaneousHandlers:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object,_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object]))]),shouldCancelWhenOutside:_propTypes.default.bool,hitSlop:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.shape({left:_propTypes.default.number,top:_propTypes.default.number,right:_propTypes.default.number,bottom:_propTypes.default.number,vertical:_propTypes.default.number,horizontal:_propTypes.default.number,width:_propTypes.default.number,height:_propTypes.default.number})]),onGestureEvent:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.object]),onHandlerStateChange:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.object]),onBegan:_propTypes.default.func,onFailed:_propTypes.default.func,onCancelled:_propTypes.default.func,onActivated:_propTypes.default.func,onEnded:_propTypes.default.func};var _default=GestureHandlerPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/GestureHandlerPropTypes.js"],"names":["GestureHandlerPropTypes","id","PropTypes","string","minPointers","number","enabled","bool","waitFor","oneOfType","object","arrayOf","simultaneousHandlers","shouldCancelWhenOutside","hitSlop","shape","left","top","right","bottom","vertical","horizontal","width","height","onGestureEvent","func","onHandlerStateChange","onBegan","onFailed","onCancelled","onActivated","onEnded"],"mappings":"mKAAA,6DAGA,GAAMA,CAAAA,uBAAuB,CAAG,CAC9BC,EAAE,CAAEC,mBAAUC,MADgB,CAE9BC,WAAW,CAAEF,mBAAUG,MAFO,CAG9BC,OAAO,CAAEJ,mBAAUK,IAHW,CAI9BC,OAAO,CAAEN,mBAAUO,SAAV,CAAoB,CAC3BP,mBAAUC,MADiB,CAE3BD,mBAAUQ,MAFiB,CAG3BR,mBAAUS,OAAV,CACET,mBAAUO,SAAV,CAAoB,CAACP,mBAAUC,MAAX,CAAmBD,mBAAUQ,MAA7B,CAApB,CADF,CAH2B,CAApB,CAJqB,CAW9BE,oBAAoB,CAAEV,mBAAUO,SAAV,CAAoB,CACxCP,mBAAUC,MAD8B,CAExCD,mBAAUQ,MAF8B,CAGxCR,mBAAUS,OAAV,CACET,mBAAUO,SAAV,CAAoB,CAACP,mBAAUC,MAAX,CAAmBD,mBAAUQ,MAA7B,CAApB,CADF,CAHwC,CAApB,CAXQ,CAkB9BG,uBAAuB,CAAEX,mBAAUK,IAlBL,CAmB9BO,OAAO,CAAEZ,mBAAUO,SAAV,CAAoB,CAC3BP,mBAAUG,MADiB,CAE3BH,mBAAUa,KAAV,CAAgB,CACdC,IAAI,CAAEd,mBAAUG,MADF,CAEdY,GAAG,CAAEf,mBAAUG,MAFD,CAGda,KAAK,CAAEhB,mBAAUG,MAHH,CAIdc,MAAM,CAAEjB,mBAAUG,MAJJ,CAKde,QAAQ,CAAElB,mBAAUG,MALN,CAMdgB,UAAU,CAAEnB,mBAAUG,MANR,CAOdiB,KAAK,CAAEpB,mBAAUG,MAPH,CAQdkB,MAAM,CAAErB,mBAAUG,MARJ,CAAhB,CAF2B,CAApB,CAnBqB,CAgC9BmB,cAAc,CAAEtB,mBAAUO,SAAV,CAAoB,CAACP,mBAAUuB,IAAX,CAAiBvB,mBAAUQ,MAA3B,CAApB,CAhCc,CAiC9BgB,oBAAoB,CAAExB,mBAAUO,SAAV,CAAoB,CAACP,mBAAUuB,IAAX,CAAiBvB,mBAAUQ,MAA3B,CAApB,CAjCQ,CAkC9BiB,OAAO,CAAEzB,mBAAUuB,IAlCW,CAmC9BG,QAAQ,CAAE1B,mBAAUuB,IAnCU,CAoC9BI,WAAW,CAAE3B,mBAAUuB,IApCO,CAqC9BK,WAAW,CAAE5B,mBAAUuB,IArCO,CAsC9BM,OAAO,CAAE7B,mBAAUuB,IAtCW,CAAhC,C,aAyCezB,uB","sourcesContent":["import PropTypes from 'prop-types';\n\n// If changed, add changes to NATIVE_WRAPPER_PROPS_FILTER as well\nconst GestureHandlerPropTypes = {\n id: PropTypes.string,\n minPointers: PropTypes.number,\n enabled: PropTypes.bool,\n waitFor: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object,\n PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n ),\n ]),\n simultaneousHandlers: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object,\n PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n ),\n ]),\n shouldCancelWhenOutside: PropTypes.bool,\n hitSlop: PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.shape({\n left: PropTypes.number,\n top: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n vertical: PropTypes.number,\n horizontal: PropTypes.number,\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n ]),\n onGestureEvent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n onHandlerStateChange: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n onBegan: PropTypes.func,\n onFailed: PropTypes.func,\n onCancelled: PropTypes.func,\n onActivated: PropTypes.func,\n onEnded: PropTypes.func,\n};\n\nexport default GestureHandlerPropTypes;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var specificURL=['naver.com','google.com','namu.wiki','facebook.com','ko.wikipedia.org','youtube.com'];var _default=filter=function filter(JSONdata){JSONdata.return_data.searchResults.sort(function(a,b){return a.confidence>b.confidence?-1:a.confidence<b.confidence?1:0;});slicedata=Object.keys(JSONdata.return_data.searchResults).slice(0,10).reduce(function(result,key){result[key]=JSONdata.return_data.searchResults[key];return result;},{});var tempResult=Object.values(slicedata);tempResult.forEach(function(data){if(data.title.length>14){data.title=data.title.slice(0,15)+\"..\";}if(data.passage.length>125){data.passage=data.passage.slice(0,125)+\"..\";}specificURL.forEach(function(url){if(data.url.indexOf(url)!==-1){data.site=url;}});if(!data.site){data.site=\"etc\";}});return _objectSpread({},JSONdata,{return_data:_objectSpread({},JSONdata.return_data,{searchResults:tempResult})});};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/lib/filter.js"],"names":["specificURL","filter","JSONdata","return_data","searchResults","sort","a","b","confidence","slicedata","Object","keys","slice","reduce","result","key","tempResult","values","forEach","data","title","length","passage","url","indexOf","site"],"mappings":"0hCAAA,GAAMA,CAAAA,WAAW,CAAG,CAAE,WAAF,CAAe,YAAf,CAA6B,WAA7B,CAA0C,cAA1C,CAA0D,kBAA1D,CAA6E,aAA7E,CAApB,C,aAEeC,MAAM,CAAG,gBAACC,QAAD,CAAc,CAClCA,QAAQ,CAACC,WAAT,CAAqBC,aAArB,CAAmCC,IAAnC,CAAyC,SAAEC,CAAF,CAAKC,CAAL,CAAY,CACjD,MAAOD,CAAAA,CAAC,CAACE,UAAF,CAAeD,CAAC,CAACC,UAAjB,CAA8B,CAAC,CAA/B,CAAmCF,CAAC,CAACE,UAAF,CAAeD,CAAC,CAACC,UAAjB,CAA8B,CAA9B,CAAkC,CAA5E,CACH,CAFD,EAGAC,SAAS,CAAGC,MAAM,CAACC,IAAP,CAAaT,QAAQ,CAACC,WAAT,CAAqBC,aAAlC,EAAkDQ,KAAlD,CAAyD,CAAzD,CAA4D,EAA5D,EAAiEC,MAAjE,CAAyE,SAACC,MAAD,CAASC,GAAT,CAAkB,CACnGD,MAAM,CAAEC,GAAF,CAAN,CAAgBb,QAAQ,CAACC,WAAT,CAAqBC,aAArB,CAAoCW,GAApC,CAAhB,CACA,MAAOD,CAAAA,MAAP,CACH,CAHW,CAGT,EAHS,CAAZ,CAKA,GAAIE,CAAAA,UAAU,CAAGN,MAAM,CAACO,MAAP,CAAeR,SAAf,CAAjB,CACAO,UAAU,CAACE,OAAX,CAAoB,SAAEC,IAAF,CAAY,CAC5B,GAAIA,IAAI,CAACC,KAAL,CAAWC,MAAX,CAAoB,EAAxB,CAA6B,CACzBF,IAAI,CAACC,KAAL,CAAaD,IAAI,CAACC,KAAL,CAAWR,KAAX,CAAkB,CAAlB,CAAqB,EAArB,EAA4B,IAAzC,CACH,CACD,GAAIO,IAAI,CAACG,OAAL,CAAaD,MAAb,CAAsB,GAA1B,CAAgC,CAC5BF,IAAI,CAACG,OAAL,CAAeH,IAAI,CAACG,OAAL,CAAaV,KAAb,CAAoB,CAApB,CAAuB,GAAvB,EAA+B,IAA9C,CACH,CACDZ,WAAW,CAACkB,OAAZ,CAAqB,SAAEK,GAAF,CAAW,CAC5B,GAAIJ,IAAI,CAACI,GAAL,CAASC,OAAT,CAAkBD,GAAlB,IAA4B,CAAC,CAAjC,CAAqC,CACjCJ,IAAI,CAACM,IAAL,CAAYF,GAAZ,CACH,CACJ,CAJD,EAKA,GAAI,CAACJ,IAAI,CAACM,IAAV,CAAiB,CACbN,IAAI,CAACM,IAAL,CAAY,KAAZ,CACH,CACJ,CAfD,EAgBA,wBAAavB,QAAb,EAAuBC,WAAW,kBAAOD,QAAQ,CAACC,WAAhB,EAA6BC,aAAa,CAAEY,UAA5C,EAAlC,GACH,C","sourcesContent":["const specificURL = [ 'naver.com', 'google.com', 'namu.wiki', 'facebook.com', 'ko.wikipedia.org','youtube.com' ];\r\n\r\nexport default filter = (JSONdata) => {\r\n JSONdata.return_data.searchResults.sort( ( a, b ) => {\r\n return a.confidence > b.confidence ? -1 : a.confidence < b.confidence ? 1 : 0; \r\n })\r\n slicedata = Object.keys( JSONdata.return_data.searchResults ).slice( 0, 10 ).reduce( (result, key ) => {\r\n result[ key ] = JSONdata.return_data.searchResults[ key ]\r\n return result\r\n }, {} );\r\n\r\n let tempResult = Object.values( slicedata );\r\n tempResult.forEach( ( data ) => {\r\n if( data.title.length > 14 ) {\r\n data.title = data.title.slice( 0, 15 ) + \"..\";\r\n }\r\n if( data.passage.length > 125 ) {\r\n data.passage = data.passage.slice( 0, 125 ) + \"..\";\r\n }\r\n specificURL.forEach( ( url ) => {\r\n if( data.url.indexOf( url ) !== -1 ) {\r\n data.site = url;\r\n }\r\n });\r\n if( !data.site ) {\r\n data.site = \"etc\";\r\n }\r\n });\r\n return ( {...JSONdata, return_data: { ...JSONdata.return_data, searchResults: tempResult } } );\r\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var Platform={OS:'web',select:function select(obj){return'web'in obj?obj.web:obj.default;}};var _default=Platform;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Platform/index.js"],"names":["Platform","OS","select","obj","web","default"],"mappings":"gFASA,GAAIA,CAAAA,QAAQ,CAAG,CACbC,EAAE,CAAE,KADS,CAEbC,MAAM,CAAE,QAASA,CAAAA,MAAT,CAAgBC,GAAhB,CAAqB,CAC3B,MAAO,OAASA,CAAAA,GAAT,CAAeA,GAAG,CAACC,GAAnB,CAAyBD,GAAG,CAACE,OAApC,CACD,CAJY,CAAf,C,aAMeL,Q","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar Platform = {\n OS: 'web',\n select: function select(obj) {\n return 'web' in obj ? obj.web : obj.default;\n }\n};\nexport default Platform;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireDefault(require(\"react\"));var _reactNativeSvg=require(\"react-native-svg\");var Tooltip=function Tooltip(_ref){var x=_ref.x,y=_ref.y,value=_ref.value,index=_ref.index,height=_ref.height,text=_ref.text,stroke=_ref.stroke,pointStroke=_ref.pointStroke;return _react.default.createElement(_reactNativeSvg.G,null,_react.default.createElement(_reactNativeSvg.Line,{x1:x(index),y1:height,x2:x(index),y2:20,stroke:stroke}),_react.default.createElement(_reactNativeSvg.Circle,{cx:x(index),cy:y(value),r:4,stroke:pointStroke,strokeWidth:2,fill:'white'}),_react.default.createElement(_reactNativeSvg.G,{x:x(index)<40?40:x(index),y:10},_react.default.createElement(_reactNativeSvg.Rect,{x:-40,y:1,width:80,height:20,fill:'rgba(0, 0, 0, 0.2)',rx:2,ry:2}),_react.default.createElement(_reactNativeSvg.Rect,{x:-40,y:0,width:80,height:20,fill:'white',rx:2,ry:2}),_react.default.createElement(_reactNativeSvg.Text,{fontSize:\"12\",textAnchor:\"middle\"},text)));};Tooltip.propTypes={x:_propTypes.default.func.isRequired,y:_propTypes.default.func.isRequired,value:_propTypes.default.number,index:_propTypes.default.number,height:_propTypes.default.number,stroke:_propTypes.default.string,pointStroke:_propTypes.default.string,text:_propTypes.default.string};var _default=Tooltip;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/chart-decorators/tooltip.js"],"names":["Tooltip","x","y","value","index","height","text","stroke","pointStroke","propTypes","PropTypes","func","isRequired","number","string"],"mappings":"mKAAA,6DACA,oDACA,gDAEA,GAAMA,CAAAA,OAAO,CAAG,QAAVA,CAAAA,OAAU,MAA+D,IAA5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CAAE,CAA9D,CAAiE,EAAE,CAAE,CAArE,EAFJ,CAGI,6BAAC,oBAAD,EAAM,QAAQ,CAAC,IAAf,CAAoB,UAAU,CAAC,QAA/B,EACKE,IADL,CAHJ,CAHJ,CADJ,CAaH,CAdD,CAgBAN,OAAO,CAACS,SAAR,CAAoB,CAChBR,CAAC,CAAES,mBAAUC,IAAV,CAAeC,UADF,CAEhBV,CAAC,CAAEQ,mBAAUC,IAAV,CAAeC,UAFF,CAGhBT,KAAK,CAAEO,mBAAUG,MAHD,CAIhBT,KAAK,CAAEM,mBAAUG,MAJD,CAKhBR,MAAM,CAAEK,mBAAUG,MALF,CAMhBN,MAAM,CAAEG,mBAAUI,MANF,CAOhBN,WAAW,CAAEE,mBAAUI,MAPP,CAQhBR,IAAI,CAAEI,mBAAUI,MARA,CAApB,C,aAWed,O","sourcesContent":["import PropTypes from 'prop-types'\nimport React from 'react'\nimport { Circle, G, Line, Rect, Text } from 'react-native-svg'\n\nconst Tooltip = ({ x, y, value, index, height, text, stroke, pointStroke }) => {\n return (\n <G>\n <Line x1={x(index)} y1={height} x2={x(index)} y2={20} stroke={stroke} />\n <Circle cx={x(index)} cy={y(value)} r={4} stroke={pointStroke} strokeWidth={2} fill={'white'} />\n <G x={x(index) < 40 ? 40 : x(index)} y={10}>\n <Rect x={-40} y={1} width={80} height={20} fill={'rgba(0, 0, 0, 0.2)'} rx={2} ry={2} />\n <Rect x={-40} y={0} width={80} height={20} fill={'white'} rx={2} ry={2} />\n <Text fontSize='12' textAnchor='middle'>\n {text}\n </Text>\n </G>\n </G>\n )\n}\n\nTooltip.propTypes = {\n x: PropTypes.func.isRequired,\n y: PropTypes.func.isRequired,\n value: PropTypes.number,\n index: PropTypes.number,\n height: PropTypes.number,\n stroke: PropTypes.string,\n pointStroke: PropTypes.string,\n text: PropTypes.string,\n}\n\nexport default Tooltip\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _react=_interopRequireWildcard(require(\"react\"));var _Surface=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Surface\"));var _Text=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Text\"));var _HelperText=_interopRequireDefault(require(\"react-native-paper/lib/module/components/HelperText\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvgCharts=require(\"react-native-svg-charts\");var _PromptSearchRate=_interopRequireDefault(require(\"../PromptSearch/PromptSearchRate\"));var _default=RateBar=function RateBar(props){var _useState=(0,_react.useState)(0),_useState2=(0,_slicedToArray2.default)(_useState,2),click=_useState2[0],setClick=_useState2[1];return _react.default.createElement(_Surface.default,{style:styles.surface},props.score.msg.length?_react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_View.default,{style:styles.container},_react.default.createElement(_Text.default,{style:styles.Text},\"\\uCD1D \\uC810\\uC218 : \",props.score.full),_react.default.createElement(_View.default,{style:styles.colorContainer},_react.default.createElement(_View.default,{style:styles.textContainer},_react.default.createElement(_View.default,{style:styles.colorA}),_react.default.createElement(_Text.default,null,\"\\uD0A4\\uC6CC\\uB4DC \\uC810\\uC218\")),_react.default.createElement(_View.default,{style:styles.textContainer},_react.default.createElement(_View.default,{style:styles.colorB}),_react.default.createElement(_Text.default,null,\"\\uB9DE\\uCDA4\\uBC95 \\uC810\\uC218\")))),_react.default.createElement(_reactNativeSvgCharts.StackedBarChart,{data:[{keyword:{value:props.score.key,svg:{onPressIn:function onPressIn(){setClick(1);},onPressOut:function onPressOut(){setClick(0);}}},korean:{value:props.score.fix,svg:{onPressIn:function onPressIn(){setClick(2);},onPressOut:function onPressOut(){setClick(0);}}},rest:{value:100-(props.score.key+props.score.fix)}}],style:{height:50,width:'90%'},keys:['keyword','korean','rest'],colors:['#ffaa5a','#2cc3c2','#ffffff'],showGrid:false,horizontal:true,contentInset:{top:10},valueAccessor:function valueAccessor(_ref){var item=_ref.item,key=_ref.key;return item[key].value;}}),_react.default.createElement(_View.default,{style:styles.infoContainer},_react.default.createElement(_HelperText.default,{type:'info',visible:click==1,style:{fontSize:20}},\"\\uD0A4\\uC6CC\\uB4DC : \",props.score.key),_react.default.createElement(_HelperText.default,{type:'info',visible:click==2,style:{fontSize:20}},\"\\uB9DE\\uCDA4\\uBC95 : \",props.score.fix)),_react.default.createElement(_Text.default,null,\"\\uB20C\\uB7EC\\uC11C \\uAC01\\uAC01\\uC758 \\uC810\\uC218\\uB97C \\uC54C\\uC544\\uBCF4\\uC138\\uC694!\")):_react.default.createElement(_PromptSearchRate.default,null));};exports.default=_default;var styles=_StyleSheet.default.create({container:{width:'100%',flexDirection:'row',justifyContent:'center'},colorContainer:{position:\"absolute\",right:0},colorA:{backgroundColor:'#ffaa5a',height:7,width:7,marginRight:5},colorB:{backgroundColor:'#2cc3c2',height:7,width:7,marginRight:5},textContainer:{flexDirection:'row',justifyContent:'center',alignItems:'center'},infoContainer:{flexDirection:'row',justifyContent:'center',alignItems:'center',width:'100%'},surface:{padding:8,flex:0.3,width:'95%',alignItems:'center',justifyContent:'center',elevation:2,marginTop:10},Text:{fontSize:25}});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/RateBar/RateBar.js"],"names":["RateBar","props","click","setClick","styles","surface","score","msg","length","container","Text","full","colorContainer","textContainer","colorA","colorB","keyword","value","key","svg","onPressIn","onPressOut","korean","fix","rest","height","width","top","item","infoContainer","fontSize","StyleSheet","create","flexDirection","justifyContent","position","right","backgroundColor","marginRight","alignItems","padding","flex","elevation","marginTop"],"mappings":"oVAAA,qD,0dAGA,6DACA,0F,aAEeA,OAAO,CAAG,iBAACC,KAAD,CA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MADD,CAENO,aAAa,CAAC,KAFR,CAGNC,cAAc,CAAC,QAHT,CADmB,CAM7BtB,cAAc,CAAC,CACXuB,QAAQ,CAAC,UADE,CAEXC,KAAK,CAAC,CAFK,CANc,CAU7BtB,MAAM,CAAC,CACHuB,eAAe,CAAC,SADb,CAEHZ,MAAM,CAAE,CAFL,CAGHC,KAAK,CAAE,CAHJ,CAIHY,WAAW,CAAE,CAJV,CAVsB,CAgB7BvB,MAAM,CAAC,CACHsB,eAAe,CAAC,SADb,CAEHZ,MAAM,CAAE,CAFL,CAGHC,KAAK,CAAE,CAHJ,CAIHY,WAAW,CAAE,CAJV,CAhBsB,CAsB7BzB,aAAa,CAAC,CACVoB,aAAa,CAAC,KADJ,CAEVC,cAAc,CAAC,QAFL,CAGVK,UAAU,CAAC,QAHD,CAtBe,CA2B7BV,aAAa,CAAC,CACVI,aAAa,CAAC,KADJ,CAEVC,cAAc,CAAC,QAFL,CAGVK,UAAU,CAAC,QAHD,CAIVb,KAAK,CAAE,MAJG,CA3Be,CAiC7BrB,OAAO,CAAE,CACLmC,OAAO,CAAE,CADJ,CAELC,IAAI,CAAE,GAFD,CAGLf,KAAK,CAAE,KAHF,CAILa,UAAU,CAAE,QAJP,CAKLL,cAAc,CAAE,QALX,CAMLQ,SAAS,CAAE,CANN,CAOLC,SAAS,CAAE,EAPN,CAjCoB,CA0C7BjC,IAAI,CAAC,CACDoB,QAAQ,CAAE,EADT,CA1CwB,CAAlB,CAAf","sourcesContent":["import React,{ useState } from 'react';\r\nimport { Surface, Text ,HelperText} from 'react-native-paper';\r\nimport { StyleSheet,View } from 'react-native';\r\nimport { StackedBarChart } from 'react-native-svg-charts';\r\nimport PromptSearchRate from '../PromptSearch/PromptSearchRate';\r\n\r\nexport default RateBar = (props) => {\r\n const [ click,setClick ] = useState(0);\r\n\r\n return (\r\n <Surface style={styles.surface}>\r\n \r\n {props.score.msg.length ?\r\n <>\r\n <View style={styles.container}>\r\n <Text style={styles.Text}>총 점수 : {props.score.full}</Text>\r\n <View style={styles.colorContainer}>\r\n <View style={styles.textContainer}>\r\n <View style={styles.colorA}></View><Text>키워드 점수</Text>\r\n </View>\r\n <View style={styles.textContainer}>\r\n <View style={styles.colorB}></View><Text>맞춤법 점수</Text>\r\n </View>\r\n </View>\r\n </View>\r\n <StackedBarChart \r\n data={ [{\r\n keyword: {\r\n value: props.score.key,\r\n svg: {\r\n onPressIn: () => {setClick(1)},\r\n onPressOut: ()=>{setClick(0)}\r\n },\r\n },\r\n korean: {\r\n value: props.score.fix,\r\n svg: {\r\n onPressIn: () => {setClick(2)},\r\n onPressOut: ()=>{setClick(0)}\r\n },\r\n }, \r\n rest: {\r\n value: (100-(props.score.key+props.score.fix)),\r\n }\r\n }]} \r\n style={{height:50, width:'90%'}}\r\n keys={['keyword','korean','rest']} \r\n colors={['#ffaa5a','#2cc3c2','#ffffff']}\r\n showGrid={ false }\r\n horizontal={ true }\r\n contentInset={ { top: 10 } } \r\n valueAccessor={({ item, key }) => item[key].value}\r\n /> \r\n <View style={styles.infoContainer}>\r\n <HelperText type={'info'} visible={click==1} style={{fontSize:20}}>키워드 : {props.score.key}</HelperText>\r\n <HelperText type={'info'} visible={click==2} style={{fontSize:20}}>맞춤법 : {props.score.fix}</HelperText>\r\n </View>\r\n <Text>눌러서 각각의 점수를 알아보세요!</Text>\r\n </>\r\n : <PromptSearchRate />}\r\n </Surface>\r\n \r\n );\r\n}\r\n\r\n\r\n\r\nconst styles = StyleSheet.create({\r\n container:{\r\n width: '100%',\r\n flexDirection:'row',\r\n justifyContent:'center',\r\n },\r\n colorContainer:{\r\n position:\"absolute\",\r\n right:0,\r\n },\r\n colorA:{\r\n backgroundColor:'#ffaa5a',\r\n height: 7,\r\n width: 7,\r\n marginRight: 5,\r\n },\r\n colorB:{\r\n backgroundColor:'#2cc3c2',\r\n height: 7,\r\n width: 7,\r\n marginRight: 5,\r\n },\r\n textContainer:{\r\n flexDirection:'row',\r\n justifyContent:'center',\r\n alignItems:'center'\r\n },\r\n infoContainer:{\r\n flexDirection:'row',\r\n justifyContent:'center',\r\n alignItems:'center',\r\n width: '100%'\r\n },\r\n surface: {\r\n padding: 8,\r\n flex: 0.3,\r\n width: '95%',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n elevation: 2,\r\n marginTop: 10\r\n },\r\n Text:{\r\n fontSize: 25,\r\n },\r\n});\r\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _Foundation=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/Foundation.ttf\"));var _Foundation2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/Foundation.json\"));var _default=(0,_createIconSet.default)(_Foundation2.default,'foundation',_Foundation.default);exports.default=_default;","map":{"version":3,"sources":["../src/Foundation.ts"],"names":[],"mappings":"mKAAA,sEACA,2GACA,iH,aAEe,2BAAc,oBAAd,CAAwB,YAAxB,CAAsC,mBAAtC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Foundation.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Foundation.json';\n\nexport default createIconSet(glyphMap, 'foundation', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.Asset=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _core=require(\"@unimodules/core\");var _AssetRegistry=require(\"./AssetRegistry\");var AssetSources=_interopRequireWildcard(require(\"./AssetSources\"));var AssetUris=_interopRequireWildcard(require(\"./AssetUris\"));var _EmbeddedAssets=require(\"./EmbeddedAssets\");var ImageAssets=_interopRequireWildcard(require(\"./ImageAssets\"));var _PlatformUtils=require(\"./PlatformUtils\");var _resolveAssetSource2=_interopRequireDefault(require(\"./resolveAssetSource\"));var Asset=function(){function Asset(_ref){var name=_ref.name,type=_ref.type,_ref$hash=_ref.hash,hash=_ref$hash===void 0?null:_ref$hash,uri=_ref.uri,width=_ref.width,height=_ref.height;(0,_classCallCheck2.default)(this,Asset);this.hash=null;this.localUri=null;this.width=null;this.height=null;this.downloading=false;this.downloaded=false;this._downloadCallbacks=[];this.name=name;this.type=type;this.hash=hash;this.uri=uri;if(typeof width==='number'){this.width=width;}if(typeof height==='number'){this.height=height;}if(_PlatformUtils.IS_MANAGED_ENV&&hash){this.localUri=(0,_EmbeddedAssets.getEmbeddedAssetUri)(hash,type);if(this.localUri){this.downloaded=true;}}if(_core.Platform.OS==='web'){if(!name){this.name=AssetUris.getFilename(uri);}if(!type){this.type=AssetUris.getFileExtension(uri);}}}(0,_createClass2.default)(Asset,[{key:\"downloadAsync\",value:function downloadAsync(){var _this=this;var _ref2,width,height,name;return _regenerator.default.async(function downloadAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:if(!this.downloaded){_context.next=2;break;}return _context.abrupt(\"return\");case 2:if(!this.downloading){_context.next=6;break;}_context.next=5;return _regenerator.default.awrap(new Promise(function(resolve,reject){_this._downloadCallbacks.push({resolve:resolve,reject:reject});}));case 5:return _context.abrupt(\"return\");case 6:this.downloading=true;_context.prev=7;if(!(_core.Platform.OS==='web')){_context.next=22;break;}if(!ImageAssets.isImageType(this.type)){_context.next=21;break;}_context.next=12;return _regenerator.default.awrap(ImageAssets.getImageInfoAsync(this.uri));case 12:_ref2=_context.sent;width=_ref2.width;height=_ref2.height;name=_ref2.name;this.width=width;this.height=height;this.name=name;_context.next=22;break;case 21:this.name=AssetUris.getFilename(this.uri);case 22:_context.next=24;return _regenerator.default.awrap((0,_PlatformUtils.downloadAsync)(this.uri,this.hash,this.type,this.name));case 24:this.localUri=_context.sent;this.downloaded=true;this._downloadCallbacks.forEach(function(_ref3){var resolve=_ref3.resolve;return resolve();});_context.next=33;break;case 29:_context.prev=29;_context.t0=_context[\"catch\"](7);this._downloadCallbacks.forEach(function(_ref4){var reject=_ref4.reject;return reject(_context.t0);});throw _context.t0;case 33:_context.prev=33;this.downloading=false;this._downloadCallbacks=[];return _context.finish(33);case 37:case\"end\":return _context.stop();}}},null,this,[[7,29,33,37]]);}}],[{key:\"loadAsync\",value:function loadAsync(moduleId){var moduleIds=Array.isArray(moduleId)?moduleId:[moduleId];return Promise.all(moduleIds.map(function(moduleId){return Asset.fromModule(moduleId).downloadAsync();}));}},{key:\"fromModule\",value:function fromModule(virtualAssetModule){if(typeof virtualAssetModule==='string'){return Asset.fromURI(virtualAssetModule);}var meta=(0,_AssetRegistry.getAssetByID)(virtualAssetModule);if(!meta){throw new Error(\"Module \\\"\"+virtualAssetModule+\"\\\" is missing from the asset registry\");}if(!_PlatformUtils.IS_MANAGED_ENV){var _resolveAssetSource=(0,_resolveAssetSource2.default)(virtualAssetModule),uri=_resolveAssetSource.uri;var asset=new Asset({name:meta.name,type:meta.type,hash:meta.hash,uri:uri,width:meta.width,height:meta.height});if(_core.Platform.OS==='android'&&!uri.includes(':')&&(meta.width||meta.height)){asset.localUri=asset.uri;asset.downloaded=true;}Asset.byHash[meta.hash]=asset;return asset;}return Asset.fromMetadata(meta);}},{key:\"fromMetadata\",value:function fromMetadata(meta){var metaHash=meta.hash;if(Asset.byHash[metaHash]){return Asset.byHash[metaHash];}else if(!_PlatformUtils.IS_MANAGED_ENV&&!Asset.byHash[metaHash]){throw new Error('Assets must be initialized with Asset.fromModule');}var _AssetSources$selectA=AssetSources.selectAssetSource(meta),uri=_AssetSources$selectA.uri,hash=_AssetSources$selectA.hash;var asset=new Asset({name:meta.name,type:meta.type,hash:hash,uri:uri,width:meta.width,height:meta.height});Asset.byHash[metaHash]=asset;return asset;}},{key:\"fromURI\",value:function fromURI(uri){if(Asset.byUri[uri]){return Asset.byUri[uri];}var type='';if(uri.indexOf(';base64')>-1){type=uri.split(';')[0].split('/')[1];}else{var extension=AssetUris.getFileExtension(uri);type=extension.startsWith('.')?extension.substring(1):extension;}var asset=new Asset({name:'',type:type,hash:null,uri:uri});Asset.byUri[uri]=asset;return asset;}}]);return Asset;}();exports.Asset=Asset;Asset.byHash={};Asset.byUri={};","map":{"version":3,"sources":["../src/Asset.ts"],"names":[],"mappings":"2fAAA,sCAEA,8CACA,oEACA,8DACA,gDACA,kEACA,8CACA,iF,GAkBa,CAAA,K,YAeX,oBAA4E,IAA9D,CAAA,IAA8D,MAA9D,IAA8D,CAAxD,IAAwD,MAAxD,IAAwD,gBAAlD,IAAkD,CAAlD,IAAkD,oBAA3C,IAA2C,WAArC,GAAqC,MAArC,GAAqC,CAAhC,KAAgC,MAAhC,KAAgC,CAAzB,MAAyB,MAAzB,MAAyB,0CAT5E,KAAA,IAAA,CAAsB,IAAtB,CAEA,KAAA,QAAA,CAA0B,IAA1B,CACA,KAAA,KAAA,CAAuB,IAAvB,CACA,KAAA,MAAA,CAAwB,IAAxB,CACA,KAAA,WAAA,CAAuB,KAAvB,CACA,KAAA,UAAA,CAAsB,KAAtB,CACA,KAAA,kBAAA,CAAiD,EAAjD,CAGE,KAAK,IAAL,CAAY,IAAZ,CACA,KAAK,IAAL,CAAY,IAAZ,CACA,KAAK,IAAL,CAAY,IAAZ,CACA,KAAK,GAAL,CAAW,GAAX,CAEA,GAAI,MAAO,CAAA,KAAP,GAAiB,QAArB,CAA+B,CAC7B,KAAK,KAAL,CAAa,KAAb,CACD,CACD,GAAI,MAAO,CAAA,MAAP,GAAkB,QAAtB,CAAgC,CAC9B,KAAK,MAAL,CAAc,MAAd,CACD,CAGD,GAAI,+BAAkB,IAAtB,CAA4B,CAC1B,KAAK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AJ,CAAY,SAAZ,EAAyB,CAAC,CAA9B,CAAiC,CAC/B,IAAI,CAAG,GAAG,CAAC,KAAJ,CAAU,GAAV,EAAe,CAAf,EAAkB,KAAlB,CAAwB,GAAxB,EAA6B,CAA7B,CAAP,CACD,CAFD,IAEO,CACL,GAAM,CAAA,SAAS,CAAG,SAAS,CAAC,gBAAV,CAA2B,GAA3B,CAAlB,CACA,IAAI,CAAG,SAAS,CAAC,UAAV,CAAqB,GAArB,EAA4B,SAAS,CAAC,SAAV,CAAoB,CAApB,CAA5B,CAAqD,SAA5D,CACD,CAED,GAAM,CAAA,KAAK,CAAG,GAAI,CAAA,KAAJ,CAAU,CACtB,IAAI,CAAE,EADgB,CAEtB,IAAI,CAAJ,IAFsB,CAGtB,IAAI,CAAE,IAHgB,CAItB,GAAG,CAAH,GAJsB,CAAV,CAAd,CAOA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAmB,KAAnB,CAEA,MAAO,CAAA,KAAP,CACD,C,yCAvIM,KAAA,CAAA,MAAA,CAAS,EAAT,CACA,KAAA,CAAA,KAAA,CAAQ,EAAR","sourcesContent":["import { Platform } from '@unimodules/core';\n\nimport { getAssetByID } from './AssetRegistry';\nimport * as AssetSources from './AssetSources';\nimport * as AssetUris from './AssetUris';\nimport { getEmbeddedAssetUri } from './EmbeddedAssets';\nimport * as ImageAssets from './ImageAssets';\nimport { downloadAsync, IS_MANAGED_ENV } from './PlatformUtils';\nimport resolveAssetSource from './resolveAssetSource';\n\ntype AssetDescriptor = {\n name: string;\n type: string;\n hash?: string | null;\n uri: string;\n width?: number | null;\n height?: number | null;\n};\n\ntype DownloadPromiseCallbacks = {\n resolve: () => void;\n reject: (error: Error) => void;\n};\n\nexport type AssetMetadata = AssetSources.AssetMetadata;\n\nexport class Asset {\n static byHash = {};\n static byUri = {};\n\n name: string;\n type: string;\n hash: string | null = null;\n uri: string;\n localUri: string | null = null;\n width: number | null = null;\n height: number | null = null;\n downloading: boolean = false;\n downloaded: boolean = false;\n _downloadCallbacks: DownloadPromiseCallbacks[] = [];\n\n constructor({ name, type, hash = null, uri, width, height }: AssetDescriptor) {\n this.name = name;\n this.type = type;\n this.hash = hash;\n this.uri = uri;\n\n if (typeof width === 'number') {\n this.width = width;\n }\n if (typeof height === 'number') {\n this.height = height;\n }\n\n // This only applies to assets that are bundled in Expo standalone apps\n if (IS_MANAGED_ENV && hash) {\n this.localUri = getEmbeddedAssetUri(hash, type);\n if (this.localUri) {\n this.downloaded = true;\n }\n }\n if (Platform.OS === 'web') {\n if (!name) {\n this.name = AssetUris.getFilename(uri);\n }\n if (!type) {\n this.type = AssetUris.getFileExtension(uri);\n }\n }\n }\n\n static loadAsync(moduleId: number | number[]): Promise<void[]> {\n const moduleIds = Array.isArray(moduleId) ? moduleId : [moduleId];\n return Promise.all(moduleIds.map(moduleId => Asset.fromModule(moduleId).downloadAsync()));\n }\n\n static fromModule(virtualAssetModule: number | string): Asset {\n if (typeof virtualAssetModule === 'string') {\n return Asset.fromURI(virtualAssetModule);\n }\n\n const meta = getAssetByID(virtualAssetModule);\n if (!meta) {\n throw new Error(`Module \"${virtualAssetModule}\" is missing from the asset registry`);\n }\n\n // Outside of the managed env we need the moduleId to initialize the asset\n // because resolveAssetSource depends on it\n if (!IS_MANAGED_ENV) {\n const { uri } = resolveAssetSource(virtualAssetModule);\n const asset = new Asset({\n name: meta.name,\n type: meta.type,\n hash: meta.hash,\n uri,\n width: meta.width,\n height: meta.height,\n });\n\n // TODO: FileSystem should probably support 'downloading' from drawable\n // resources But for now it doesn't (it only supports raw resources) and\n // React Native's Image works fine with drawable resource names for\n // images.\n if (Platform.OS === 'android' && !uri.includes(':') && (meta.width || meta.height)) {\n asset.localUri = asset.uri;\n asset.downloaded = true;\n }\n\n Asset.byHash[meta.hash] = asset;\n return asset;\n }\n\n return Asset.fromMetadata(meta);\n }\n\n static fromMetadata(meta: AssetMetadata): Asset {\n // The hash of the whole asset, not to be confused with the hash of a specific file returned\n // from `selectAssetSource`\n const metaHash = meta.hash;\n if (Asset.byHash[metaHash]) {\n return Asset.byHash[metaHash];\n } else if (!IS_MANAGED_ENV && !Asset.byHash[metaHash]) {\n throw new Error('Assets must be initialized with Asset.fromModule');\n }\n\n const { uri, hash } = AssetSources.selectAssetSource(meta);\n const asset = new Asset({\n name: meta.name,\n type: meta.type,\n hash,\n uri,\n width: meta.width,\n height: meta.height,\n });\n Asset.byHash[metaHash] = asset;\n return asset;\n }\n\n static fromURI(uri: string): Asset {\n if (Asset.byUri[uri]) {\n return Asset.byUri[uri];\n }\n\n // Possibly a Base64-encoded URI\n let type = '';\n if (uri.indexOf(';base64') > -1) {\n type = uri.split(';')[0].split('/')[1];\n } else {\n const extension = AssetUris.getFileExtension(uri);\n type = extension.startsWith('.') ? extension.substring(1) : extension;\n }\n\n const asset = new Asset({\n name: '',\n type,\n hash: null,\n uri,\n });\n\n Asset.byUri[uri] = asset;\n\n return asset;\n }\n\n async downloadAsync(): Promise<void> {\n if (this.downloaded) {\n return;\n }\n if (this.downloading) {\n await new Promise((resolve, reject) => {\n this._downloadCallbacks.push({ resolve, reject });\n });\n return;\n }\n this.downloading = true;\n\n try {\n if (Platform.OS === 'web') {\n if (ImageAssets.isImageType(this.type)) {\n const { width, height, name } = await ImageAssets.getImageInfoAsync(this.uri);\n this.width = width;\n this.height = height;\n this.name = name;\n } else {\n this.name = AssetUris.getFilename(this.uri);\n }\n }\n this.localUri = await downloadAsync(this.uri, this.hash, this.type, this.name);\n\n this.downloaded = true;\n this._downloadCallbacks.forEach(({ resolve }) => resolve());\n } catch (e) {\n this._downloadCallbacks.forEach(({ reject }) => reject(e));\n throw e;\n } finally {\n this.downloading = false;\n this._downloadCallbacks = [];\n }\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _StyleSheet=_interopRequireDefault(require(\"./StyleSheet\"));if(_ExecutionEnvironment.canUseDOM&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__){window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=_StyleSheet.default.flatten;}var _default=_StyleSheet.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/index.js"],"names":["canUseDOM","window","__REACT_DEVTOOLS_GLOBAL_HOOK__","resolveRNStyle","StyleSheet","flatten"],"mappings":"mKAQA,mEACA,gEAEA,GAAIA,iCAAaC,MAAM,CAACC,8BAAxB,CAAwD,CACtDD,MAAM,CAACC,8BAAP,CAAsCC,cAAtC,CAAuDC,oBAAWC,OAAlE,CACD,C,aAEcD,mB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport StyleSheet from './StyleSheet'; // allow original component styles to be inspected in React Dev Tools\n\nif (canUseDOM && window.__REACT_DEVTOOLS_GLOBAL_HOOK__) {\n window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle = StyleSheet.flatten;\n}\n\nexport default StyleSheet;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var ViewabilityHelper=function(){function ViewabilityHelper(config){if(config===void 0){config={viewAreaCoveragePercentThreshold:0};}this._hasInteracted=false;this._timers=new Set();this._viewableIndices=[];this._viewableItems=new Map();this._config=config;}var _proto=ViewabilityHelper.prototype;_proto.dispose=function dispose(){this._timers.forEach(clearTimeout);};_proto.computeViewableItems=function computeViewableItems(itemCount,scrollOffset,viewportHeight,getFrameMetrics,renderRange){var _this$_config=this._config,itemVisiblePercentThreshold=_this$_config.itemVisiblePercentThreshold,viewAreaCoveragePercentThreshold=_this$_config.viewAreaCoveragePercentThreshold;var viewAreaMode=viewAreaCoveragePercentThreshold!=null;var viewablePercentThreshold=viewAreaMode?viewAreaCoveragePercentThreshold:itemVisiblePercentThreshold;(0,_invariant.default)(viewablePercentThreshold!=null&&itemVisiblePercentThreshold!=null!==(viewAreaCoveragePercentThreshold!=null),'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold');var viewableIndices=[];if(itemCount===0){return viewableIndices;}var firstVisible=-1;var _ref=renderRange||{first:0,last:itemCount-1},first=_ref.first,last=_ref.last;(0,_invariant.default)(last<itemCount,'Invalid render range '+JSON.stringify({renderRange:renderRange,itemCount:itemCount}));for(var idx=first;idx<=last;idx++){var metrics=getFrameMetrics(idx);if(!metrics){continue;}var top=metrics.offset-scrollOffset;var bottom=top+metrics.length;if(top<viewportHeight&&bottom>0){firstVisible=idx;if(_isViewable(viewAreaMode,viewablePercentThreshold,top,bottom,viewportHeight,metrics.length)){viewableIndices.push(idx);}}else if(firstVisible>=0){break;}}return viewableIndices;};_proto.onUpdate=function onUpdate(itemCount,scrollOffset,viewportHeight,getFrameMetrics,createViewToken,onViewableItemsChanged,renderRange){var _this=this;if(this._config.waitForInteraction&&!this._hasInteracted||itemCount===0||!getFrameMetrics(0)){return;}var viewableIndices=[];if(itemCount){viewableIndices=this.computeViewableItems(itemCount,scrollOffset,viewportHeight,getFrameMetrics,renderRange);}if(this._viewableIndices.length===viewableIndices.length&&this._viewableIndices.every(function(v,ii){return v===viewableIndices[ii];})){return;}this._viewableIndices=viewableIndices;if(this._config.minimumViewTime){var handle=setTimeout(function(){_this._timers.delete(handle);_this._onUpdateSync(viewableIndices,onViewableItemsChanged,createViewToken);},this._config.minimumViewTime);this._timers.add(handle);}else{this._onUpdateSync(viewableIndices,onViewableItemsChanged,createViewToken);}};_proto.resetViewableIndices=function resetViewableIndices(){this._viewableIndices=[];};_proto.recordInteraction=function recordInteraction(){this._hasInteracted=true;};_proto._onUpdateSync=function _onUpdateSync(viewableIndicesToCheck,onViewableItemsChanged,createViewToken){var _this2=this;viewableIndicesToCheck=viewableIndicesToCheck.filter(function(ii){return _this2._viewableIndices.includes(ii);});var prevItems=this._viewableItems;var nextItems=new Map(viewableIndicesToCheck.map(function(ii){var viewable=createViewToken(ii,true);return[viewable.key,viewable];}));var changed=[];for(var _iterator=nextItems,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\"]();;){var _ref2;if(_isArray){if(_i>=_iterator.length)break;_ref2=_iterator[_i++];}else{_i=_iterator.next();if(_i.done)break;_ref2=_i.value;}var _ref4=_ref2,key=_ref4[0],viewable=_ref4[1];if(!prevItems.has(key)){changed.push(viewable);}}for(var _iterator2=prevItems,_isArray2=Array.isArray(_iterator2),_i2=0,_iterator2=_isArray2?_iterator2:_iterator2[typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\"]();;){var _ref3;if(_isArray2){if(_i2>=_iterator2.length)break;_ref3=_iterator2[_i2++];}else{_i2=_iterator2.next();if(_i2.done)break;_ref3=_i2.value;}var _ref5=_ref3,key=_ref5[0],viewable=_ref5[1];if(!nextItems.has(key)){changed.push(_objectSpread({},viewable,{isViewable:false}));}}if(changed.length>0){this._viewableItems=nextItems;onViewableItemsChanged({viewableItems:Array.from(nextItems.values()),changed:changed,viewabilityConfig:this._config});}};return ViewabilityHelper;}();function _isViewable(viewAreaMode,viewablePercentThreshold,top,bottom,viewportHeight,itemLength){if(_isEntirelyVisible(top,bottom,viewportHeight)){return true;}else{var pixels=_getPixelsVisible(top,bottom,viewportHeight);var percent=100*(viewAreaMode?pixels/viewportHeight:pixels/itemLength);return percent>=viewablePercentThreshold;}}function _getPixelsVisible(top,bottom,viewportHeight){var visibleHeight=Math.min(bottom,viewportHeight)-Math.max(top,0);return Math.max(0,visibleHeight);}function _isEntirelyVisible(top,bottom,viewportHeight){return top>=0&&bottom<=viewportHeight&&bottom>top;}var _default=ViewabilityHelper;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/ViewabilityHelper/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","ViewabilityHelper","config","viewAreaCoveragePercentThreshold","_hasInteracted","_timers","Set","_viewableIndices","_viewableItems","Map","_config","_proto","prototype","dispose","clearTimeout","computeViewableItems","itemCount","scrollOffset","viewportHeight","getFrameMetrics","renderRange","_this$_config","itemVisiblePercentThreshold","viewAreaMode","viewablePercentThreshold","viewableIndices","firstVisible","_ref","first","last","JSON","stringify","idx","metrics","top","offset","bottom","_isViewable","push","onUpdate","createViewToken","onViewableItemsChanged","_this","waitForInteraction","every","v","ii","minimumViewTime","handle","setTimeout","delete","_onUpdateSync","add","resetViewableIndices","recordInteraction","viewableIndicesToCheck","_this2","includes","prevItems","nextItems","map","viewable","changed","_iterator","_isArray","Array","isArray","_i","Symbol","iterator","_ref2","next","done","_ref4","has","_iterator2","_isArray2","_i2","_ref3","_ref5","isViewable","viewableItems","from","values","viewabilityConfig","itemLength","_isEntirelyVisible","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AASJ,CAAAA,kBAAT,CAA4BpD,GAA5B,CAAiCE,MAAjC,CAAyClB,cAAzC,CAAyD,CACvD,MAAOgB,CAAAA,GAAG,EAAI,CAAP,EAAYE,MAAM,EAAIlB,cAAtB,EAAwCkB,MAAM,CAAGF,GAAxD,CACD,C,aAEcjC,iB","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport invariant from 'fbjs/lib/invariant';\n\n/**\n * A Utility class for calculating viewable items based on current metrics like scroll position and\n * layout.\n *\n * An item is said to be in a \"viewable\" state when any of the following\n * is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`\n * is true):\n *\n * - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item\n * visible in the view area >= `itemVisiblePercentThreshold`.\n * - Entirely visible on screen\n */\nvar ViewabilityHelper =\n/*#__PURE__*/\nfunction () {\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.63 was deployed. To see the error delete this comment\n * and run Flow. */\n function ViewabilityHelper(config) {\n if (config === void 0) {\n config = {\n viewAreaCoveragePercentThreshold: 0\n };\n }\n\n this._hasInteracted = false;\n this._timers = new Set();\n this._viewableIndices = [];\n this._viewableItems = new Map();\n this._config = config;\n }\n /**\n * Cleanup, e.g. on unmount. Clears any pending timers.\n */\n\n\n var _proto = ViewabilityHelper.prototype;\n\n _proto.dispose = function dispose() {\n this._timers.forEach(clearTimeout);\n }\n /**\n * Determines which items are viewable based on the current metrics and config.\n */\n ;\n\n _proto.computeViewableItems = function computeViewableItems(itemCount, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {\n var _this$_config = this._config,\n itemVisiblePercentThreshold = _this$_config.itemVisiblePercentThreshold,\n viewAreaCoveragePercentThreshold = _this$_config.viewAreaCoveragePercentThreshold;\n var viewAreaMode = viewAreaCoveragePercentThreshold != null;\n var viewablePercentThreshold = viewAreaMode ? viewAreaCoveragePercentThreshold : itemVisiblePercentThreshold;\n invariant(viewablePercentThreshold != null && itemVisiblePercentThreshold != null !== (viewAreaCoveragePercentThreshold != null), 'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold');\n var viewableIndices = [];\n\n if (itemCount === 0) {\n return viewableIndices;\n }\n\n var firstVisible = -1;\n\n var _ref = renderRange || {\n first: 0,\n last: itemCount - 1\n },\n first = _ref.first,\n last = _ref.last;\n\n invariant(last < itemCount, 'Invalid render range ' + JSON.stringify({\n renderRange: renderRange,\n itemCount: itemCount\n }));\n\n for (var idx = first; idx <= last; idx++) {\n var metrics = getFrameMetrics(idx);\n\n if (!metrics) {\n continue;\n }\n\n var top = metrics.offset - scrollOffset;\n var bottom = top + metrics.length;\n\n if (top < viewportHeight && bottom > 0) {\n firstVisible = idx;\n\n if (_isViewable(viewAreaMode, viewablePercentThreshold, top, bottom, viewportHeight, metrics.length)) {\n viewableIndices.push(idx);\n }\n } else if (firstVisible >= 0) {\n break;\n }\n }\n\n return viewableIndices;\n }\n /**\n * Figures out which items are viewable and how that has changed from before and calls\n * `onViewableItemsChanged` as appropriate.\n */\n ;\n\n _proto.onUpdate = function onUpdate(itemCount, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {\n var _this = this;\n\n if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0)) {\n return;\n }\n\n var viewableIndices = [];\n\n if (itemCount) {\n viewableIndices = this.computeViewableItems(itemCount, scrollOffset, viewportHeight, getFrameMetrics, renderRange);\n }\n\n if (this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every(function (v, ii) {\n return v === viewableIndices[ii];\n })) {\n // We might get a lot of scroll events where visibility doesn't change and we don't want to do\n // extra work in those cases.\n return;\n }\n\n this._viewableIndices = viewableIndices;\n\n if (this._config.minimumViewTime) {\n var handle = setTimeout(function () {\n _this._timers.delete(handle);\n\n _this._onUpdateSync(viewableIndices, onViewableItemsChanged, createViewToken);\n }, this._config.minimumViewTime);\n\n this._timers.add(handle);\n } else {\n this._onUpdateSync(viewableIndices, onViewableItemsChanged, createViewToken);\n }\n }\n /**\n * clean-up cached _viewableIndices to evaluate changed items on next update\n */\n ;\n\n _proto.resetViewableIndices = function resetViewableIndices() {\n this._viewableIndices = [];\n }\n /**\n * Records that an interaction has happened even if there has been no scroll.\n */\n ;\n\n _proto.recordInteraction = function recordInteraction() {\n this._hasInteracted = true;\n };\n\n _proto._onUpdateSync = function _onUpdateSync(viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {\n var _this2 = this;\n\n // Filter out indices that have gone out of view since this call was scheduled.\n viewableIndicesToCheck = viewableIndicesToCheck.filter(function (ii) {\n return _this2._viewableIndices.includes(ii);\n });\n var prevItems = this._viewableItems;\n var nextItems = new Map(viewableIndicesToCheck.map(function (ii) {\n var viewable = createViewToken(ii, true);\n return [viewable.key, viewable];\n }));\n var changed = [];\n\n for (var _iterator = nextItems, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref2;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref2 = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref2 = _i.value;\n }\n\n var _ref4 = _ref2,\n key = _ref4[0],\n viewable = _ref4[1];\n\n if (!prevItems.has(key)) {\n changed.push(viewable);\n }\n }\n\n for (var _iterator2 = prevItems, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {\n var _ref3;\n\n if (_isArray2) {\n if (_i2 >= _iterator2.length) break;\n _ref3 = _iterator2[_i2++];\n } else {\n _i2 = _iterator2.next();\n if (_i2.done) break;\n _ref3 = _i2.value;\n }\n\n var _ref5 = _ref3,\n key = _ref5[0],\n viewable = _ref5[1];\n\n if (!nextItems.has(key)) {\n changed.push(_objectSpread({}, viewable, {\n isViewable: false\n }));\n }\n }\n\n if (changed.length > 0) {\n this._viewableItems = nextItems;\n onViewableItemsChanged({\n viewableItems: Array.from(nextItems.values()),\n changed: changed,\n viewabilityConfig: this._config\n });\n }\n };\n\n return ViewabilityHelper;\n}();\n\nfunction _isViewable(viewAreaMode, viewablePercentThreshold, top, bottom, viewportHeight, itemLength) {\n if (_isEntirelyVisible(top, bottom, viewportHeight)) {\n return true;\n } else {\n var pixels = _getPixelsVisible(top, bottom, viewportHeight);\n\n var percent = 100 * (viewAreaMode ? pixels / viewportHeight : pixels / itemLength);\n return percent >= viewablePercentThreshold;\n }\n}\n\nfunction _getPixelsVisible(top, bottom, viewportHeight) {\n var visibleHeight = Math.min(bottom, viewportHeight) - Math.max(top, 0);\n return Math.max(0, visibleHeight);\n}\n\nfunction _isEntirelyVisible(top, bottom, viewportHeight) {\n return top >= 0 && bottom <= viewportHeight && bottom > top;\n}\n\nexport default ViewabilityHelper;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"../../../exports/View\"));var _VirtualizedList=_interopRequireDefault(require(\"../VirtualizedList\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");}return self;}var VirtualizedSectionList=function(_React$PureComponent){_inheritsLoose(VirtualizedSectionList,_React$PureComponent);var _proto=VirtualizedSectionList.prototype;_proto.scrollToLocation=function scrollToLocation(params){var index=params.itemIndex+1;for(var ii=0;ii<params.sectionIndex;ii++){index+=this.props.sections[ii].data.length+2;}var toIndexParams=_objectSpread({},params,{index:index});this._listRef.scrollToIndex(toIndexParams);};_proto.getListRef=function getListRef(){return this._listRef;};_proto._subExtractor=function _subExtractor(index){var itemIndex=index;var defaultKeyExtractor=this.props.keyExtractor;for(var ii=0;ii<this.props.sections.length;ii++){var section=this.props.sections[ii];var key=section.key||String(ii);itemIndex-=1;if(itemIndex>=section.data.length+1){itemIndex-=section.data.length+1;}else if(itemIndex===-1){return{section:section,key:key+':header',index:null,header:true,trailingSection:this.props.sections[ii+1]};}else if(itemIndex===section.data.length){return{section:section,key:key+':footer',index:null,header:false,trailingSection:this.props.sections[ii+1]};}else{var keyExtractor=section.keyExtractor||defaultKeyExtractor;return{section:section,key:key+':'+keyExtractor(section.data[itemIndex],itemIndex),index:itemIndex,leadingItem:section.data[itemIndex-1],leadingSection:this.props.sections[ii-1],trailingItem:section.data[itemIndex+1],trailingSection:this.props.sections[ii+1]};}}};_proto._getSeparatorComponent=function _getSeparatorComponent(index,info){info=info||this._subExtractor(index);if(!info){return null;}var ItemSeparatorComponent=info.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent;var SectionSeparatorComponent=this.props.SectionSeparatorComponent;var isLastItemInList=index===this.state.childProps.getItemCount()-1;var isLastItemInSection=info.index===info.section.data.length-1;if(SectionSeparatorComponent&&isLastItemInSection){return SectionSeparatorComponent;}if(ItemSeparatorComponent&&!isLastItemInSection&&!isLastItemInList){return ItemSeparatorComponent;}return null;};_proto._computeState=function _computeState(props){var offset=props.ListHeaderComponent?1:0;var stickyHeaderIndices=[];var itemCount=props.sections.reduce(function(v,section){stickyHeaderIndices.push(v+offset);return v+section.data.length+2;},0);return{childProps:_objectSpread({},props,{renderItem:this._renderItem,ItemSeparatorComponent:undefined,data:props.sections,getItemCount:function getItemCount(){return itemCount;},getItem:getItem,keyExtractor:this._keyExtractor,onViewableItemsChanged:props.onViewableItemsChanged?this._onViewableItemsChanged:undefined,stickyHeaderIndices:props.stickySectionHeadersEnabled?stickyHeaderIndices:undefined})};};function VirtualizedSectionList(props,context){var _this;_this=_React$PureComponent.call(this,props,context)||this;_this._keyExtractor=function(item,index){var info=_this._subExtractor(index);return info&&info.key||String(index);};_this._convertViewable=function(viewable){(0,_invariant.default)(viewable.index!=null,'Received a broken ViewToken');var info=_this._subExtractor(viewable.index);if(!info){return null;}var keyExtractor=info.section.keyExtractor||_this.props.keyExtractor;return _objectSpread({},viewable,{index:info.index,key:keyExtractor(viewable.item,info.index),section:info.section});};_this._onViewableItemsChanged=function(_ref){var viewableItems=_ref.viewableItems,changed=_ref.changed;if(_this.props.onViewableItemsChanged){_this.props.onViewableItemsChanged({viewableItems:viewableItems.map(_this._convertViewable,_assertThisInitialized(_assertThisInitialized(_this))).filter(Boolean),changed:changed.map(_this._convertViewable,_assertThisInitialized(_assertThisInitialized(_this))).filter(Boolean)});}};_this._renderItem=function(_ref2){var item=_ref2.item,index=_ref2.index;var info=_this._subExtractor(index);if(!info){return null;}var infoIndex=info.index;if(infoIndex==null){var section=info.section;if(info.header===true){var renderSectionHeader=_this.props.renderSectionHeader;return renderSectionHeader?renderSectionHeader({section:section}):null;}else{var renderSectionFooter=_this.props.renderSectionFooter;return renderSectionFooter?renderSectionFooter({section:section}):null;}}else{var renderItem=info.section.renderItem||_this.props.renderItem;var SeparatorComponent=_this._getSeparatorComponent(index,info);(0,_invariant.default)(renderItem,'no renderItem!');return _react.default.createElement(ItemWithSeparator,{SeparatorComponent:SeparatorComponent,LeadingSeparatorComponent:infoIndex===0?_this.props.SectionSeparatorComponent:undefined,cellKey:info.key,index:infoIndex,item:item,leadingItem:info.leadingItem,leadingSection:info.leadingSection,onUpdateSeparator:_this._onUpdateSeparator,prevCellKey:(_this._subExtractor(index-1)||{}).key,ref:function ref(_ref3){_this._cellRefs[info.key]=_ref3;},renderItem:renderItem,section:info.section,trailingItem:info.trailingItem,trailingSection:info.trailingSection});}};_this._onUpdateSeparator=function(key,newProps){var ref=_this._cellRefs[key];ref&&ref.updateSeparatorProps(newProps);};_this._cellRefs={};_this._captureRef=function(ref){_this._listRef=ref;};_this.state=_this._computeState(props);return _this;}_proto.UNSAFE_componentWillReceiveProps=function UNSAFE_componentWillReceiveProps(nextProps){this.setState(this._computeState(nextProps));};_proto.render=function render(){return _react.default.createElement(_VirtualizedList.default,_extends({},this.state.childProps,{ref:this._captureRef}));};return VirtualizedSectionList;}(_react.default.PureComponent);VirtualizedSectionList.defaultProps=_objectSpread({},_VirtualizedList.default.defaultProps,{data:[]});var ItemWithSeparator=function(_React$Component){_inheritsLoose(ItemWithSeparator,_React$Component);function ItemWithSeparator(){var _this2;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this2=_React$Component.call.apply(_React$Component,[this].concat(args))||this;_this2.state={separatorProps:{highlighted:false,leadingItem:_this2.props.item,leadingSection:_this2.props.leadingSection,section:_this2.props.section,trailingItem:_this2.props.trailingItem,trailingSection:_this2.props.trailingSection},leadingSeparatorProps:{highlighted:false,leadingItem:_this2.props.leadingItem,leadingSection:_this2.props.leadingSection,section:_this2.props.section,trailingItem:_this2.props.item,trailingSection:_this2.props.trailingSection}};_this2._separators={highlight:function highlight(){['leading','trailing'].forEach(function(s){return _this2._separators.updateProps(s,{highlighted:true});});},unhighlight:function unhighlight(){['leading','trailing'].forEach(function(s){return _this2._separators.updateProps(s,{highlighted:false});});},updateProps:function updateProps(select,newProps){var _this2$props=_this2.props,LeadingSeparatorComponent=_this2$props.LeadingSeparatorComponent,cellKey=_this2$props.cellKey,prevCellKey=_this2$props.prevCellKey;if(select==='leading'&&LeadingSeparatorComponent){_this2.setState(function(state){return{leadingSeparatorProps:_objectSpread({},state.leadingSeparatorProps,newProps)};});}else{_this2.props.onUpdateSeparator(select==='leading'&&prevCellKey||cellKey,newProps);}}};return _this2;}var _proto2=ItemWithSeparator.prototype;_proto2.UNSAFE_componentWillReceiveProps=function UNSAFE_componentWillReceiveProps(props){var _this3=this;this.setState(function(state){return{separatorProps:_objectSpread({},_this3.state.separatorProps,{leadingItem:props.item,leadingSection:props.leadingSection,section:props.section,trailingItem:props.trailingItem,trailingSection:props.trailingSection}),leadingSeparatorProps:_objectSpread({},_this3.state.leadingSeparatorProps,{leadingItem:props.leadingItem,leadingSection:props.leadingSection,section:props.section,trailingItem:props.item,trailingSection:props.trailingSection})};});};_proto2.updateSeparatorProps=function updateSeparatorProps(newProps){this.setState(function(state){return{separatorProps:_objectSpread({},state.separatorProps,newProps)};});};_proto2.render=function render(){var _this$props=this.props,LeadingSeparatorComponent=_this$props.LeadingSeparatorComponent,SeparatorComponent=_this$props.SeparatorComponent,item=_this$props.item,index=_this$props.index,section=_this$props.section;var element=this.props.renderItem({item:item,index:index,section:section,separators:this._separators});var leadingSeparator=LeadingSeparatorComponent&&_react.default.createElement(LeadingSeparatorComponent,this.state.leadingSeparatorProps);var separator=SeparatorComponent&&_react.default.createElement(SeparatorComponent,this.state.separatorProps);return leadingSeparator||separator?_react.default.createElement(_View.default,null,leadingSeparator,element,separator):element;};return ItemWithSeparator;}(_react.default.Component);function getItem(sections,index){if(!sections){return null;}var itemIdx=index-1;for(var ii=0;ii<sections.length;ii++){if(itemIdx===-1||itemIdx===sections[ii].data.length){return sections[ii];}else if(itemIdx<sections[ii].data.length){return sections[ii].data[itemIdx];}else{itemIdx-=sections[ii].data.length+2;}}return null;}var _default=VirtualizedSectionList;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/VirtualizedSectionList/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectSpread","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","_inheritsLoose","subClass","superClass","create","constructor","__proto__","_assertThisInitialized","self","ReferenceError","VirtualizedSectionList","_React$PureComponent","_proto","scrollToLocation","params","index","itemIndex","ii","sectionIndex","props","sections","data","toIndexParams","_listRef","scrollToIndex","getListRef","_subExtractor","defaultKeyExtractor","keyExtractor","section","String","header","trailingSection","leadingItem","leadingSection","trailingItem","_getSeparatorComponent","info","ItemSeparatorComponent","SectionSeparatorComponent","isLastItemInList","state","childProps","getItemCount","isLastItemInSection","_computeState","offset","ListHeaderComponent","stickyHeaderIndices","itemCount","reduce","v","push","renderItem","_renderItem","undefined","getItem","_keyExtractor","onViewableItemsChanged","_onViewableItemsChanged","stickySectionHeadersEnabled","context","_this","item","_convertViewable","viewable","_ref","viewableItems","changed","map","Boolean","_ref2","infoIndex","renderSectionHeader","renderSectionFooter","SeparatorComponent","React","createElement","ItemWithSeparator","LeadingSeparatorComponent","cellKey","onUpdateSeparator","_onUpdateSeparator","prevCellKey","ref","_ref3","_cellRefs","newProps","updateSeparatorProps","_captureRef","UNSAFE_componentWillReceiveProps","nextProps","setState","render","VirtualizedList","PureComponent","defaultProps","_React$Component","_this2","_len","args","Array","_key","separatorProps","highlighted","leadingSeparatorProps","_separators","highlight","s","updateProps","unhighlight","select","_this2$props","_proto2","_this3","_this$props","element","separators","leadingSeparator","separator","View","Component","itemIdx"],"mappings":"mKAmBA,oDACA,mEACA,2EACA,qEAtBA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAE7T,QAASQ,CAAAA,aAAT,CAAuBV,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAA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7C,MAAO0C,CAAAA,QAAQ,CAACH,EAAD,CAAR,CAAaI,IAAb,CAAkBqG,OAAlB,CAAP,CACD,CAHM,IAGA,CACLA,OAAO,EAAItG,QAAQ,CAACH,EAAD,CAAR,CAAaI,IAAb,CAAkB3C,MAAlB,CAA2B,CAAtC,CACD,CACF,CAED,MAAO,KAAP,CACD,C,aAEcgC,sB","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport React from 'react';\nimport View from '../../../exports/View';\nimport VirtualizedList from '../VirtualizedList';\nimport invariant from 'fbjs/lib/invariant';\n\n/**\n * Right now this just flattens everything into one list and uses VirtualizedList under the\n * hood. The only operation that might not scale well is concatting the data arrays of all the\n * sections when new props are received, which should be plenty fast for up to ~10,000 items.\n */\nvar VirtualizedSectionList =\n/*#__PURE__*/\nfunction (_React$PureComponent) {\n _inheritsLoose(VirtualizedSectionList, _React$PureComponent);\n\n var _proto = VirtualizedSectionList.prototype;\n\n _proto.scrollToLocation = function scrollToLocation(params) {\n var index = params.itemIndex + 1;\n\n for (var ii = 0; ii < params.sectionIndex; ii++) {\n index += this.props.sections[ii].data.length + 2;\n }\n\n var toIndexParams = _objectSpread({}, params, {\n index: index\n });\n\n this._listRef.scrollToIndex(toIndexParams);\n };\n\n _proto.getListRef = function getListRef() {\n return this._listRef;\n };\n\n _proto._subExtractor = function _subExtractor(index) {\n var itemIndex = index;\n var defaultKeyExtractor = this.props.keyExtractor;\n\n for (var ii = 0; ii < this.props.sections.length; ii++) {\n var section = this.props.sections[ii];\n var key = section.key || String(ii);\n itemIndex -= 1; // The section adds an item for the header\n\n if (itemIndex >= section.data.length + 1) {\n itemIndex -= section.data.length + 1; // The section adds an item for the footer.\n } else if (itemIndex === -1) {\n return {\n section: section,\n key: key + ':header',\n index: null,\n header: true,\n trailingSection: this.props.sections[ii + 1]\n };\n } else if (itemIndex === section.data.length) {\n return {\n section: section,\n key: key + ':footer',\n index: null,\n header: false,\n trailingSection: this.props.sections[ii + 1]\n };\n } else {\n var keyExtractor = section.keyExtractor || defaultKeyExtractor;\n return {\n section: section,\n key: key + ':' + keyExtractor(section.data[itemIndex], itemIndex),\n index: itemIndex,\n leadingItem: section.data[itemIndex - 1],\n leadingSection: this.props.sections[ii - 1],\n trailingItem: section.data[itemIndex + 1],\n trailingSection: this.props.sections[ii + 1]\n };\n }\n }\n };\n\n _proto._getSeparatorComponent = function _getSeparatorComponent(index, info) {\n info = info || this._subExtractor(index);\n\n if (!info) {\n return null;\n }\n\n var ItemSeparatorComponent = info.section.ItemSeparatorComponent || this.props.ItemSeparatorComponent;\n var SectionSeparatorComponent = this.props.SectionSeparatorComponent;\n var isLastItemInList = index === this.state.childProps.getItemCount() - 1;\n var isLastItemInSection = info.index === info.section.data.length - 1;\n\n if (SectionSeparatorComponent && isLastItemInSection) {\n return SectionSeparatorComponent;\n }\n\n if (ItemSeparatorComponent && !isLastItemInSection && !isLastItemInList) {\n return ItemSeparatorComponent;\n }\n\n return null;\n };\n\n _proto._computeState = function _computeState(props) {\n var offset = props.ListHeaderComponent ? 1 : 0;\n var stickyHeaderIndices = [];\n var itemCount = props.sections.reduce(function (v, section) {\n stickyHeaderIndices.push(v + offset);\n return v + section.data.length + 2; // Add two for the section header and footer.\n }, 0);\n return {\n childProps: _objectSpread({}, props, {\n renderItem: this._renderItem,\n ItemSeparatorComponent: undefined,\n // Rendered with renderItem\n data: props.sections,\n getItemCount: function getItemCount() {\n return itemCount;\n },\n getItem: getItem,\n keyExtractor: this._keyExtractor,\n onViewableItemsChanged: props.onViewableItemsChanged ? this._onViewableItemsChanged : undefined,\n stickyHeaderIndices: props.stickySectionHeadersEnabled ? stickyHeaderIndices : undefined\n })\n };\n };\n\n function VirtualizedSectionList(props, context) {\n var _this;\n\n _this = _React$PureComponent.call(this, props, context) || this;\n\n _this._keyExtractor = function (item, index) {\n var info = _this._subExtractor(index);\n\n return info && info.key || String(index);\n };\n\n _this._convertViewable = function (viewable) {\n invariant(viewable.index != null, 'Received a broken ViewToken');\n\n var info = _this._subExtractor(viewable.index);\n\n if (!info) {\n return null;\n }\n\n var keyExtractor = info.section.keyExtractor || _this.props.keyExtractor;\n return _objectSpread({}, viewable, {\n index: info.index,\n\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n key: keyExtractor(viewable.item, info.index),\n section: info.section\n });\n };\n\n _this._onViewableItemsChanged = function (_ref) {\n var viewableItems = _ref.viewableItems,\n changed = _ref.changed;\n\n if (_this.props.onViewableItemsChanged) {\n _this.props.onViewableItemsChanged({\n viewableItems: viewableItems.map(_this._convertViewable, _assertThisInitialized(_assertThisInitialized(_this))).filter(Boolean),\n changed: changed.map(_this._convertViewable, _assertThisInitialized(_assertThisInitialized(_this))).filter(Boolean)\n });\n }\n };\n\n _this._renderItem = function (_ref2) {\n var item = _ref2.item,\n index = _ref2.index;\n\n var info = _this._subExtractor(index);\n\n if (!info) {\n return null;\n }\n\n var infoIndex = info.index;\n\n if (infoIndex == null) {\n var section = info.section;\n\n if (info.header === true) {\n var renderSectionHeader = _this.props.renderSectionHeader;\n return renderSectionHeader ? renderSectionHeader({\n section: section\n }) : null;\n } else {\n var renderSectionFooter = _this.props.renderSectionFooter;\n return renderSectionFooter ? renderSectionFooter({\n section: section\n }) : null;\n }\n } else {\n var renderItem = info.section.renderItem || _this.props.renderItem;\n\n var SeparatorComponent = _this._getSeparatorComponent(index, info);\n\n invariant(renderItem, 'no renderItem!');\n return React.createElement(ItemWithSeparator, {\n SeparatorComponent: SeparatorComponent,\n LeadingSeparatorComponent: infoIndex === 0 ? _this.props.SectionSeparatorComponent : undefined,\n cellKey: info.key,\n index: infoIndex,\n item: item,\n leadingItem: info.leadingItem,\n leadingSection: info.leadingSection,\n onUpdateSeparator: _this._onUpdateSeparator,\n prevCellKey: (_this._subExtractor(index - 1) || {}).key,\n ref: function ref(_ref3) {\n _this._cellRefs[info.key] = _ref3;\n },\n renderItem: renderItem,\n section: info.section,\n trailingItem: info.trailingItem,\n trailingSection: info.trailingSection\n });\n }\n };\n\n _this._onUpdateSeparator = function (key, newProps) {\n var ref = _this._cellRefs[key];\n ref && ref.updateSeparatorProps(newProps);\n };\n\n _this._cellRefs = {};\n\n _this._captureRef = function (ref) {\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n _this._listRef = ref;\n };\n\n _this.state = _this._computeState(props);\n return _this;\n }\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState(this._computeState(nextProps));\n };\n\n _proto.render = function render() {\n return React.createElement(VirtualizedList, _extends({}, this.state.childProps, {\n ref: this._captureRef\n }));\n };\n\n return VirtualizedSectionList;\n}(React.PureComponent);\n\nVirtualizedSectionList.defaultProps = _objectSpread({}, VirtualizedList.defaultProps, {\n data: []\n});\n\nvar ItemWithSeparator =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(ItemWithSeparator, _React$Component);\n\n function ItemWithSeparator() {\n var _this2;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this2 = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this2.state = {\n separatorProps: {\n highlighted: false,\n leadingItem: _this2.props.item,\n leadingSection: _this2.props.leadingSection,\n section: _this2.props.section,\n trailingItem: _this2.props.trailingItem,\n trailingSection: _this2.props.trailingSection\n },\n leadingSeparatorProps: {\n highlighted: false,\n leadingItem: _this2.props.leadingItem,\n leadingSection: _this2.props.leadingSection,\n section: _this2.props.section,\n trailingItem: _this2.props.item,\n trailingSection: _this2.props.trailingSection\n }\n };\n _this2._separators = {\n highlight: function highlight() {\n ['leading', 'trailing'].forEach(function (s) {\n return _this2._separators.updateProps(s, {\n highlighted: true\n });\n });\n },\n unhighlight: function unhighlight() {\n ['leading', 'trailing'].forEach(function (s) {\n return _this2._separators.updateProps(s, {\n highlighted: false\n });\n });\n },\n updateProps: function updateProps(select, newProps) {\n var _this2$props = _this2.props,\n LeadingSeparatorComponent = _this2$props.LeadingSeparatorComponent,\n cellKey = _this2$props.cellKey,\n prevCellKey = _this2$props.prevCellKey;\n\n if (select === 'leading' && LeadingSeparatorComponent) {\n _this2.setState(function (state) {\n return {\n leadingSeparatorProps: _objectSpread({}, state.leadingSeparatorProps, newProps)\n };\n });\n } else {\n _this2.props.onUpdateSeparator(select === 'leading' && prevCellKey || cellKey, newProps);\n }\n }\n };\n return _this2;\n }\n\n var _proto2 = ItemWithSeparator.prototype;\n\n _proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {\n var _this3 = this;\n\n this.setState(function (state) {\n return {\n separatorProps: _objectSpread({}, _this3.state.separatorProps, {\n leadingItem: props.item,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.trailingItem,\n trailingSection: props.trailingSection\n }),\n leadingSeparatorProps: _objectSpread({}, _this3.state.leadingSeparatorProps, {\n leadingItem: props.leadingItem,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.item,\n trailingSection: props.trailingSection\n })\n };\n });\n };\n\n _proto2.updateSeparatorProps = function updateSeparatorProps(newProps) {\n this.setState(function (state) {\n return {\n separatorProps: _objectSpread({}, state.separatorProps, newProps)\n };\n });\n };\n\n _proto2.render = function render() {\n var _this$props = this.props,\n LeadingSeparatorComponent = _this$props.LeadingSeparatorComponent,\n SeparatorComponent = _this$props.SeparatorComponent,\n item = _this$props.item,\n index = _this$props.index,\n section = _this$props.section;\n var element = this.props.renderItem({\n item: item,\n index: index,\n section: section,\n separators: this._separators\n });\n var leadingSeparator = LeadingSeparatorComponent && React.createElement(LeadingSeparatorComponent, this.state.leadingSeparatorProps);\n var separator = SeparatorComponent && React.createElement(SeparatorComponent, this.state.separatorProps);\n return leadingSeparator || separator ? React.createElement(View, null, leadingSeparator, element, separator) : element;\n };\n\n return ItemWithSeparator;\n}(React.Component);\n\nfunction getItem(sections, index) {\n if (!sections) {\n return null;\n }\n\n var itemIdx = index - 1;\n\n for (var ii = 0; ii < sections.length; ii++) {\n if (itemIdx === -1 || itemIdx === sections[ii].data.length) {\n // We intend for there to be overflow by one on both ends of the list.\n // This will be for headers and footers. When returning a header or footer\n // item the section itself is the item.\n return sections[ii];\n } else if (itemIdx < sections[ii].data.length) {\n // If we are in the bounds of the list's data then return the item.\n return sections[ii].data[itemIdx];\n } else {\n itemIdx -= sections[ii].data.length + 2; // Add two for the header and footer\n }\n }\n\n return null;\n}\n\nexport default VirtualizedSectionList;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _propTypes=require(\"prop-types\");var _react=_interopRequireWildcard(require(\"react\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var createSvgCircle=function createSvgCircle(style){return _react.default.createElement(\"circle\",{cx:\"16\",cy:\"16\",fill:\"none\",r:\"14\",strokeWidth:\"4\",style:style});};var ActivityIndicator=function(_Component){_inheritsLoose(ActivityIndicator,_Component);function ActivityIndicator(){return _Component.apply(this,arguments)||this;}var _proto=ActivityIndicator.prototype;_proto.render=function render(){var _this$props=this.props,animating=_this$props.animating,color=_this$props.color,hidesWhenStopped=_this$props.hidesWhenStopped,size=_this$props.size,style=_this$props.style,other=_objectWithoutPropertiesLoose(_this$props,[\"animating\",\"color\",\"hidesWhenStopped\",\"size\",\"style\"]);var svg=_react.default.createElement(\"svg\",{height:\"100%\",viewBox:\"0 0 32 32\",width:\"100%\"},createSvgCircle({stroke:color,opacity:0.2}),createSvgCircle({stroke:color,strokeDasharray:80,strokeDashoffset:60}));return _react.default.createElement(_View.default,_extends({},other,{accessibilityRole:\"progressbar\",\"aria-valuemax\":\"1\",\"aria-valuemin\":\"0\",style:[styles.container,style]}),_react.default.createElement(_View.default,{children:svg,style:[typeof size==='number'?{height:size,width:size}:indicatorSizes[size],styles.animation,!animating&&styles.animationPause,!animating&&hidesWhenStopped&&styles.hidesWhenStopped]}));};return ActivityIndicator;}(_react.Component);ActivityIndicator.displayName='ActivityIndicator';ActivityIndicator.defaultProps={animating:true,color:'#1976D2',hidesWhenStopped:true,size:'small'};ActivityIndicator.propTypes=process.env.NODE_ENV!==\"production\"?_objectSpread({},_ViewPropTypes.default,{animating:_propTypes.bool,color:_propTypes.string,hidesWhenStopped:_propTypes.bool,size:(0,_propTypes.oneOfType)([(0,_propTypes.oneOf)(['small','large']),_propTypes.number])}):{};var styles=_StyleSheet.default.create({container:{alignItems:'center',justifyContent:'center'},hidesWhenStopped:{visibility:'hidden'},animation:{animationDuration:'0.75s',animationKeyframes:[{'0%':{transform:[{rotate:'0deg'}]},'100%':{transform:[{rotate:'360deg'}]}}],animationTimingFunction:'linear',animationIterationCount:'infinite'},animationPause:{animationPlayState:'paused'}});var indicatorSizes=_StyleSheet.default.create({small:{width:20,height:20},large:{width:36,height:36}});var _default=(0,_applyNativeMethods.default)(ActivityIndicator);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ActivityIndicator/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_extends","assign","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_inheritsLoose","subClass","superClass","create","constructor","__proto__","createSvgCircle","style","React","createElement","cx","cy","fill","r","strokeWidth","ActivityIndicator","_Component","_proto","render","_this$props","props","animating","color","hidesWhenStopped","size","other","svg","height","viewBox","width","stroke","opacity","strokeDasharray","strokeDashoffset","View","accessibilityRole","styles","container","children","indicatorSizes","animation","animationPause","Component","displayName","defaultProps","propTypes","process","env","NODE_ENV","ViewPropTypes","bool","string","number","StyleSheet","alignItems","justifyContent","visibility","animationDuration","animationKeyframes","transform","rotate","animationTimingFunction","animationIterationCount","animationPlayState","small","large"],"mappings":"wPAmBA,4FACA,iEACA,qDACA,uEACA,qCACA,qDAxBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,S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kB,CAK7BhC,gBAAgB,CAAE,CAChBiC,UAAU,CAAE,QADI,CALW,CAQ7BhB,SAAS,CAAE,CACTiB,iBAAiB,CAAE,OADV,CAETC,kBAAkB,CAAE,CAAC,CACnB,KAAM,CACJC,SAAS,CAAE,CAAC,CACVC,MAAM,CAAE,MADE,CAAD,CADP,CADa,CAMnB,OAAQ,CACND,SAAS,CAAE,CAAC,CACVC,MAAM,CAAE,QADE,CAAD,CADL,CANW,CAAD,CAFX,CAcTC,uBAAuB,CAAE,QAdhB,CAeTC,uBAAuB,CAAE,UAfhB,CARkB,CAyB7BrB,cAAc,CAAE,CACdsB,kBAAkB,CAAE,QADN,CAzBa,CAAlB,CAAb,CA6BA,GAAIxB,CAAAA,cAAc,CAAGc,oBAAWlD,MAAX,CAAkB,CACrC6D,KAAK,CAAE,CACLnC,KAAK,CAAE,EADF,CAELF,MAAM,CAAE,EAFH,CAD8B,CAKrCsC,KAAK,CAAE,CACLpC,KAAK,CAAE,EADF,CAELF,MAAM,CAAE,EAFH,CAL8B,CAAlB,CAArB,C,aAUe,gCAAmBZ,iBAAnB,C","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport { bool, number, oneOf, oneOfType, string } from 'prop-types';\nimport React, { Component } from 'react';\n\nvar createSvgCircle = function createSvgCircle(style) {\n return React.createElement(\"circle\", {\n cx: \"16\",\n cy: \"16\",\n fill: \"none\",\n r: \"14\",\n strokeWidth: \"4\",\n style: style\n });\n};\n\nvar ActivityIndicator =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(ActivityIndicator, _Component);\n\n function ActivityIndicator() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = ActivityIndicator.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n animating = _this$props.animating,\n color = _this$props.color,\n hidesWhenStopped = _this$props.hidesWhenStopped,\n size = _this$props.size,\n style = _this$props.style,\n other = _objectWithoutPropertiesLoose(_this$props, [\"animating\", \"color\", \"hidesWhenStopped\", \"size\", \"style\"]);\n\n var svg = React.createElement(\"svg\", {\n height: \"100%\",\n viewBox: \"0 0 32 32\",\n width: \"100%\"\n }, createSvgCircle({\n stroke: color,\n opacity: 0.2\n }), createSvgCircle({\n stroke: color,\n strokeDasharray: 80,\n strokeDashoffset: 60\n }));\n return React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n \"aria-valuemax\": \"1\",\n \"aria-valuemin\": \"0\",\n style: [styles.container, style]\n }), React.createElement(View, {\n children: svg,\n style: [typeof size === 'number' ? {\n height: size,\n width: size\n } : indicatorSizes[size], styles.animation, !animating && styles.animationPause, !animating && hidesWhenStopped && styles.hidesWhenStopped]\n }));\n };\n\n return ActivityIndicator;\n}(Component);\n\nActivityIndicator.displayName = 'ActivityIndicator';\nActivityIndicator.defaultProps = {\n animating: true,\n color: '#1976D2',\n hidesWhenStopped: true,\n size: 'small'\n};\nActivityIndicator.propTypes = process.env.NODE_ENV !== \"production\" ? _objectSpread({}, ViewPropTypes, {\n animating: bool,\n color: string,\n hidesWhenStopped: bool,\n size: oneOfType([oneOf(['small', 'large']), number])\n}) : {};\nvar styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center'\n },\n hidesWhenStopped: {\n visibility: 'hidden'\n },\n animation: {\n animationDuration: '0.75s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n rotate: '0deg'\n }]\n },\n '100%': {\n transform: [{\n rotate: '360deg'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n },\n animationPause: {\n animationPlayState: 'paused'\n }\n});\nvar indicatorSizes = StyleSheet.create({\n small: {\n width: 20,\n height: 20\n },\n large: {\n width: 36,\n height: 36\n }\n});\nexport default applyNativeMethods(ActivityIndicator);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _chartGrouped=_interopRequireDefault(require(\"../chart/chart-grouped\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var LineChartGrouped=function(_ChartGrouped){(0,_inherits2.default)(LineChartGrouped,_ChartGrouped);function LineChartGrouped(){(0,_classCallCheck2.default)(this,LineChartGrouped);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(LineChartGrouped).apply(this,arguments));}(0,_createClass2.default)(LineChartGrouped,[{key:\"createPaths\",value:function createPaths(_ref){var data=_ref.data,x=_ref.x,y=_ref.y;var curve=this.props.curve;var lines=data.map(function(line){return shape.line().x(function(d){return x(d.x);}).y(function(d){return y(d.y);}).defined(function(item){return typeof item.y==='number';}).curve(curve)(line);});return{path:lines,lines:lines};}}]);return LineChartGrouped;}(_chartGrouped.default);LineChartGrouped.propTypes=_objectSpread({},_chartGrouped.default.propTypes);LineChartGrouped.defaultProps=_objectSpread({},_chartGrouped.default.defaultProps);var _default=LineChartGrouped;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/line-chart/line-chart-grouped.js"],"names":["LineChartGrouped","data","x","y","curve","props","lines","map","line","shape","d","defined","item","path","ChartGrouped","propTypes","defaultProps"],"mappings":"gzBAAA,uDACA,4E,4xBAEMA,CAAAA,gB,yXAC0B,IAAdC,CAAAA,IAAc,MAAdA,IAAc,CAARC,CAAQ,MAARA,CAAQ,CAALC,CAAK,MAALA,CAAK,IAChBC,CAAAA,KADgB,CACN,KAAKC,KADC,CAChBD,KADgB,CAGxB,GAAME,CAAAA,KAAK,CAAGL,IAAI,CAACM,GAAL,CAAS,SAACC,IAAD,QACnBC,CAAAA,KAAK,CACAD,IADL,GAEKN,CAFL,CAEO,SAACQ,CAAD,QAAOR,CAAAA,CAAC,CAACQ,CAAC,CAACR,CAAH,CAAR,EAFP,EAGKC,CAHL,CAGO,SAACO,CAAD,QAAOP,CAAAA,CAAC,CAACO,CAAC,CAACP,CAAH,CAAR,EAHP,EAIKQ,OAJL,CAIa,SAACC,IAAD,QAAU,OAAOA,CAAAA,IAAI,CAACT,CAAZ,GAAkB,QAA5B,EAJb,EAKKC,KALL,CAKWA,KALX,EAKkBI,IALlB,CADmB,EAAT,CAAd,CASA,MAAO,CACHK,IAAI,CAAEP,KADH,CAEHA,KAAK,CAALA,KAFG,CAAP,CAIH,C,8BAjB0BQ,qB,EAoB/Bd,gBAAgB,CAACe,SAAjB,kBACOD,sBAAaC,SADpB,EAIAf,gBAAgB,CAACgB,YAAjB,kBACOF,sBAAaE,YADpB,E,aAIehB,gB","sourcesContent":["import * as shape from 'd3-shape'\nimport ChartGrouped from '../chart/chart-grouped'\n\nclass LineChartGrouped extends ChartGrouped {\n createPaths({ data, x, y }) {\n const { curve } = this.props\n\n const lines = data.map((line) =>\n shape\n .line()\n .x((d) => x(d.x))\n .y((d) => y(d.y))\n .defined((item) => typeof item.y === 'number')\n .curve(curve)(line)\n )\n\n return {\n path: lines,\n lines,\n }\n }\n}\n\nLineChartGrouped.propTypes = {\n ...ChartGrouped.propTypes,\n}\n\nLineChartGrouped.defaultProps = {\n ...ChartGrouped.defaultProps,\n}\n\nexport default LineChartGrouped\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _createHandler=_interopRequireDefault(require(\"./createHandler\"));var _GestureHandlerPropTypes=_interopRequireDefault(require(\"./GestureHandlerPropTypes\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var NativeViewGestureHandler=(0,_createHandler.default)('NativeViewGestureHandler',_objectSpread({},_GestureHandlerPropTypes.default,{shouldActivateOnStart:_propTypes.default.bool,disallowInterruption:_propTypes.default.bool}));var _default=NativeViewGestureHandler;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/NativeViewGestureHandler.js"],"names":["NativeViewGestureHandler","GestureHandlerPropTypes","shouldActivateOnStart","PropTypes","bool","disallowInterruption"],"mappings":"iQAAA,6DAEA,sEACA,0F,yxBAEA,GAAMA,CAAAA,wBAAwB,CAAG,2BAAc,0BAAd,kBAC5BC,gCAD4B,EAI/BC,qBAAqB,CAAEC,mBAAUC,IAJF,CAK/BC,oBAAoB,CAAEF,mBAAUC,IALD,GAAjC,C,aAQeJ,wB","sourcesContent":["import PropTypes from 'prop-types';\n\nimport createHandler from './createHandler';\nimport GestureHandlerPropTypes from './GestureHandlerPropTypes';\n\nconst NativeViewGestureHandler = createHandler('NativeViewGestureHandler', {\n ...GestureHandlerPropTypes,\n\n // If changed, add changes to NATIVE_WRAPPER_PROPS_FILTER as well\n shouldActivateOnStart: PropTypes.bool,\n disallowInterruption: PropTypes.bool,\n});\n\nexport default NativeViewGestureHandler;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});var _reactNativeAdapter=require(\"@unimodules/react-native-adapter\");Object.keys(_reactNativeAdapter).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _reactNativeAdapter[key];}});});","map":{"version":3,"sources":["../src/AdapterProxy.ts"],"names":[],"mappings":"yDAAA","sourcesContent":["export * from '@unimodules/react-native-adapter';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"module.exports={get StateUtils(){return require(\"./StateUtils\").default;},get getNavigation(){return require(\"./getNavigation\").default;},get createNavigator(){return require(\"./navigators/createNavigator\").default;},get NavigationContext(){return require(\"./views/NavigationContext\").default;},get NavigationProvider(){return require(\"./views/NavigationContext\").default.Provider;},get NavigationConsumer(){return require(\"./views/NavigationContext\").default.Consumer;},get createSwitchNavigator(){return require(\"./navigators/createSwitchNavigator\").default;},get ThemeContext(){return require(\"./views/ThemeContext\").default;},get ThemeProvider(){return require(\"./views/ThemeContext\").default.Provider;},get ThemeConsumer(){return require(\"./views/ThemeContext\").default.Consumer;},get ThemeColors(){return require(\"./ThemeColors\").default;},get useTheme(){return require(\"./useTheme\").default;},get NavigationActions(){return require(\"./NavigationActions\");},get StackActions(){return require(\"./routers/StackActions\");},get SwitchActions(){return require(\"./routers/SwitchActions\");},get StackRouter(){return require(\"./routers/StackRouter\").default;},get TabRouter(){return require(\"./routers/TabRouter\").default;},get SwitchRouter(){return require(\"./routers/SwitchRouter\").default;},get createConfigGetter(){return require(\"./routers/createConfigGetter\").default;},get getScreenForRouteName(){return require(\"./routers/getScreenForRouteName\").default;},get validateRouteConfigMap(){return require(\"./routers/validateRouteConfigMap\").default;},get getActiveChildNavigationOptions(){return require(\"./utils/getActiveChildNavigationOptions\").default;},get pathUtils(){return require(\"./routers/pathUtils\");},get SceneView(){return require(\"./views/SceneView\").default;},get SwitchView(){return require(\"./views/SwitchView/SwitchView\").default;},get NavigationEvents(){return require(\"./views/NavigationEvents\").default;},get withNavigation(){return require(\"./views/withNavigation\").default;},get withNavigationFocus(){return require(\"./views/withNavigationFocus\").default;}};","map":{"version":3,"sources":["index.js"],"names":["module","require"],"mappings":"AAEAA,MAAM,CAANA,OAAAA,CAAiB,CACf,GAAA,CAAA,UAAA,EAAiB,CACf,MAAOC,CAAAA,OAAAA,gBAAAA,CAAP,OAAA,CAFa,CAAA,CAIf,GAAA,CAAA,aAAA,EAAoB,CAClB,MAAOA,CAAAA,OAAAA,mBAAAA,CAAP,OAAA,CALa,CAAA,CASf,GAAA,CAAA,eAAA,EAAsB,CACpB,MAAOA,CAAAA,OAAAA,gCAAAA,CAAP,OAAA,CAVa,CAAA,CAYf,GAAA,CAAA,iBAAA,EAAwB,CACtB,MAAOA,CAAAA,OAAAA,6BAAAA,CAAP,OAAA,CAba,CAAA,CAef,GAAA,CAAA,kBAAA,EAAyB,CACvB,MAAOA,CAAAA,OAAAA,6BAAAA,CAAAA,OAAAA,CAAP,QAAA,CAhBa,CAAA,CAkBf,GAAA,CAAA,kBAAA,EAAyB,CACvB,MAAOA,CAAAA,OAAAA,6BAAAA,CAAAA,OAAAA,CAAP,QAAA,CAnBa,CAAA,CAqBf,GAAA,CAAA,qBAAA,EAA4B,CAC1B,MAAOA,CAAAA,OAAAA,sCAAAA,CAAP,OAAA,CAtBa,CAAA,CA0Bf,GAAA,CAAA,YAAA,EAAmB,CACjB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AAA,oCAAAA,CAAP,OAAA,CAvEa,CAAA,CA2Ef,GAAA,CAAA,+BAAA,EAAsC,CACpC,MAAOA,CAAAA,OAAAA,2CAAAA,CAAP,OAAA,CA5Ea,CAAA,CA8Ef,GAAA,CAAA,SAAA,EAAgB,CACd,MAAOA,CAAAA,OAAP,uBAAA,CA/Ea,CAAA,CAkFf,GAAA,CAAA,SAAA,EAAgB,CACd,MAAOA,CAAAA,OAAAA,qBAAAA,CAAP,OAAA,CAnFa,CAAA,CAuFf,GAAA,CAAA,UAAA,EAAiB,CACf,MAAOA,CAAAA,OAAAA,iCAAAA,CAAP,OAAA,CAxFa,CAAA,CA4Ff,GAAA,CAAA,gBAAA,EAAuB,CACrB,MAAOA,CAAAA,OAAAA,4BAAAA,CAAP,OAAA,CA7Fa,CAAA,CAiGf,GAAA,CAAA,cAAA,EAAqB,CACnB,MAAOA,CAAAA,OAAAA,0BAAAA,CAAP,OAAA,CAlGa,CAAA,CAoGf,GAAA,CAAA,mBAAA,EAA0B,CACxB,MAAOA,CAAAA,OAAAA,+BAAAA,CAAP,OAAA,CArGJD,CAAiB,CAAjBA","sourcesContent":["/* eslint-disable import/no-commonjs */\n\nmodule.exports = {\n get StateUtils() {\n return require('./StateUtils').default;\n },\n get getNavigation() {\n return require('./getNavigation').default;\n },\n\n // Navigators\n get createNavigator() {\n return require('./navigators/createNavigator').default;\n },\n get NavigationContext() {\n return require('./views/NavigationContext').default;\n },\n get NavigationProvider() {\n return require('./views/NavigationContext').default.Provider;\n },\n get NavigationConsumer() {\n return require('./views/NavigationContext').default.Consumer;\n },\n get createSwitchNavigator() {\n return require('./navigators/createSwitchNavigator').default;\n },\n\n // Themes\n get ThemeContext() {\n return require('./views/ThemeContext').default;\n },\n get ThemeProvider() {\n return require('./views/ThemeContext').default.Provider;\n },\n get ThemeConsumer() {\n return require('./views/ThemeContext').default.Consumer;\n },\n get ThemeColors() {\n return require('./ThemeColors').default;\n },\n get useTheme() {\n return require('./useTheme').default;\n },\n\n // Actions\n get NavigationActions() {\n return require('./NavigationActions');\n },\n get StackActions() {\n return require('./routers/StackActions');\n },\n get SwitchActions() {\n return require('./routers/SwitchActions');\n },\n\n // Routers\n get StackRouter() {\n return require('./routers/StackRouter').default;\n },\n get TabRouter() {\n return require('./routers/TabRouter').default;\n },\n get SwitchRouter() {\n return require('./routers/SwitchRouter').default;\n },\n\n get createConfigGetter() {\n return require('./routers/createConfigGetter').default;\n },\n get getScreenForRouteName() {\n return require('./routers/getScreenForRouteName').default;\n },\n get validateRouteConfigMap() {\n return require('./routers/validateRouteConfigMap').default;\n },\n\n // Utils\n get getActiveChildNavigationOptions() {\n return require('./utils/getActiveChildNavigationOptions').default;\n },\n get pathUtils() {\n return require('./routers/pathUtils');\n },\n\n get SceneView() {\n return require('./views/SceneView').default;\n },\n\n // SwitchView\n get SwitchView() {\n return require('./views/SwitchView/SwitchView').default;\n },\n\n // NavigationEvents\n get NavigationEvents() {\n return require('./views/NavigationEvents').default;\n },\n\n // HOCs\n get withNavigation() {\n return require('./views/withNavigation').default;\n },\n get withNavigationFocus() {\n return require('./views/withNavigationFocus').default;\n },\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=withNavigationFocus;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _hoistNonReactStatics=_interopRequireDefault(require(\"hoist-non-react-statics\"));var _withNavigation=_interopRequireDefault(require(\"./withNavigation\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-core/src/views/withNavigationFocus.js\";function withNavigationFocus(Component){var ComponentWithNavigationFocus=function(_React$Component){(0,_inherits2.default)(ComponentWithNavigationFocus,_React$Component);function ComponentWithNavigationFocus(props){var _this;(0,_classCallCheck2.default)(this,ComponentWithNavigationFocus);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ComponentWithNavigationFocus).call(this,props));_this.subscriptions=[props.navigation.addListener('didFocus',function(){return _this.setState({isFocused:true});}),props.navigation.addListener('willBlur',function(){return _this.setState({isFocused:false});})];_this.state={isFocused:props.navigation?props.navigation.isFocused():false};return _this;}(0,_createClass2.default)(ComponentWithNavigationFocus,[{key:\"componentWillUnmount\",value:function componentWillUnmount(){this.subscriptions.forEach(function(sub){return sub.remove();});}},{key:\"render\",value:function render(){return _react.default.createElement(Component,(0,_extends2.default)({},this.props,{isFocused:this.state.isFocused,ref:this.props.onRef,__source:{fileName:_jsxFileName,lineNumber:33}}));}}]);return ComponentWithNavigationFocus;}(_react.default.Component);ComponentWithNavigationFocus.displayName=\"withNavigationFocus(\"+(Component.displayName||Component.name)+\")\";return(0,_hoistNonReactStatics.default)((0,_withNavigation.default)(ComponentWithNavigationFocus,{forwardRef:false}),Component);}","map":{"version":3,"sources":["withNavigationFocus.js"],"names":["ComponentWithNavigationFocus","React","Component","props","isFocused","sub","hoistStatics","withNavigation","forwardRef"],"mappings":"0tBAAA,oDACA,qFACA,wE,2GAEe,QAAA,CAAA,mBAAA,CAAA,SAAA,CAAwC,CAAA,GAC/CA,CAAAA,4BAD+C,CAAA,SAAA,gBAAA,CAAA,CAAA,uBAAA,4BAAA,CAAA,gBAAA,EAKnD,QAAA,CAAA,4BAAA,CAAA,KAAA,CAAmB,CAAA,GAAA,CAAA,KAAA,CAAA,6BAAA,IAAA,CAAA,4BAAA,EACjB,KAAA,CAAA,wCAAA,IAAA,CAA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U,SAAA,CAAA,CAC/CD,4BAD+C,CAAA,WAC/CA,CAD+C,wBAEPE,SAAS,CAATA,WAAAA,EAC1CA,SAAS,CAHwC,IAAA,EAAA,GAC/CF,CAoCN,MAAOM,kCACLC,4BAAc,4BAAdA,CAA6C,CAAEC,UAAU,CADxC,KAC4B,CAA7CD,CADKD,CAAP,SAAOA,CAAP,CAID","sourcesContent":["import React from 'react';\nimport hoistStatics from 'hoist-non-react-statics';\nimport withNavigation from './withNavigation';\n\nexport default function withNavigationFocus(Component) {\n class ComponentWithNavigationFocus extends React.Component {\n static displayName = `withNavigationFocus(${Component.displayName ||\n Component.name})`;\n\n constructor(props) {\n super(props);\n\n this.subscriptions = [\n props.navigation.addListener('didFocus', () =>\n this.setState({ isFocused: true })\n ),\n props.navigation.addListener('willBlur', () =>\n this.setState({ isFocused: false })\n ),\n ];\n\n this.state = {\n isFocused: props.navigation ? props.navigation.isFocused() : false,\n };\n }\n\n componentWillUnmount() {\n this.subscriptions.forEach(sub => sub.remove());\n }\n\n render() {\n return (\n <Component\n {...this.props}\n isFocused={this.state.isFocused}\n ref={this.props.onRef}\n />\n );\n }\n }\n\n return hoistStatics(\n withNavigation(ComponentWithNavigationFocus, { forwardRef: false }),\n Component\n );\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createStyleResolver;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _createCSSStyleSheet=_interopRequireDefault(require(\"./createCSSStyleSheet\"));var _createCompileableStyle=_interopRequireDefault(require(\"./createCompileableStyle\"));var _createOrderedCSSStyleSheet=_interopRequireDefault(require(\"./createOrderedCSSStyleSheet\"));var _flattenArray=_interopRequireDefault(require(\"../../modules/flattenArray\"));var _flattenStyle=_interopRequireDefault(require(\"./flattenStyle\"));var _I18nManager=_interopRequireDefault(require(\"../I18nManager\"));var _i18nStyle=_interopRequireDefault(require(\"./i18nStyle\"));var _compile=require(\"./compile\");var _initialRules=_interopRequireDefault(require(\"./initialRules\"));var _modality=_interopRequireDefault(require(\"./modality\"));var _constants=require(\"./constants\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var emptyObject={};function createStyleResolver(){var inserted,sheet,lookup;var resolved={css:{},ltr:{},rtl:{},rtlNoSwap:{}};var init=function init(){inserted={css:{},ltr:{},rtl:{},rtlNoSwap:{}};sheet=(0,_createOrderedCSSStyleSheet.default)((0,_createCSSStyleSheet.default)(_constants.STYLE_ELEMENT_ID));lookup={byClassName:{},byProp:{}};(0,_modality.default)(function(rule){return sheet.insert(rule,_constants.STYLE_GROUPS.modality);});_initialRules.default.forEach(function(rule){sheet.insert(rule,_constants.STYLE_GROUPS.reset);});};init();function addToLookup(className,prop,value){if(!lookup.byProp[prop]){lookup.byProp[prop]={};}lookup.byProp[prop][value]=className;lookup.byClassName[className]={prop:prop,value:value};}function getClassName(prop,value){var val=(0,_compile.stringifyValueWithProperty)(value,prop);var cache=lookup.byProp;return cache[prop]&&cache[prop].hasOwnProperty(val)&&cache[prop][val];}function _injectRegisteredStyle(id){var doLeftAndRightSwapInRTL=_I18nManager.default.doLeftAndRightSwapInRTL,isRTL=_I18nManager.default.isRTL;var dir=isRTL?doLeftAndRightSwapInRTL?'rtl':'rtlNoSwap':'ltr';if(!inserted[dir][id]){var style=(0,_createCompileableStyle.default)((0,_i18nStyle.default)((0,_flattenStyle.default)(id)));var results=(0,_compile.atomic)(style);Object.keys(results).forEach(function(key){var _results$key=results[key],identifier=_results$key.identifier,property=_results$key.property,rules=_results$key.rules,value=_results$key.value;addToLookup(identifier,property,value);rules.forEach(function(rule){var group=_constants.STYLE_GROUPS.custom[property]||_constants.STYLE_GROUPS.atomic;sheet.insert(rule,group);});});inserted[dir][id]=true;}}function resolve(style,classList){var nextClassList=[];var props={};if(!style&&!classList){return props;}if(Array.isArray(classList)){(0,_flattenArray.default)(classList).forEach(function(identifier){if(identifier){if(inserted.css[identifier]==null&&resolved.css[identifier]!=null){var item=resolved.css[identifier];item.rules.forEach(function(rule){sheet.insert(rule,item.group);});inserted.css[identifier]=true;}nextClassList.push(identifier);}});}if(typeof style==='number'){_injectRegisteredStyle(style);var key=createCacheKey(style);props=_resolveStyle(style,key);}else if(!Array.isArray(style)){props=_resolveStyle(style);}else{var flatArray=(0,_flattenArray.default)(style);var isArrayOfNumbers=true;var cacheKey='';for(var i=0;i<flatArray.length;i++){var id=flatArray[i];if(typeof id!=='number'){isArrayOfNumbers=false;}else{if(isArrayOfNumbers){cacheKey+=id+'-';}_injectRegisteredStyle(id);}}var _key=isArrayOfNumbers?createCacheKey(cacheKey):null;props=_resolveStyle(flatArray,_key);}nextClassList.push.apply(nextClassList,props.classList);var finalProps={className:classListToString(nextClassList),classList:nextClassList};if(props.style){finalProps.style=props.style;}return finalProps;}function resolveWithNode(rnStyleNext,node){function getDeclaration(className){return lookup.byClassName[className]||emptyObject;}var _getDOMStyleInfo=getDOMStyleInfo(node),rdomClassList=_getDOMStyleInfo.classList,rdomStyle=_getDOMStyleInfo.style;var _rdomClassList$reduce=rdomClassList.reduce(function(styleProps,className){var _getDeclaration=getDeclaration(className),prop=_getDeclaration.prop,value=_getDeclaration.value;if(prop){styleProps.style[prop]=value;}else{styleProps.classList.push(className);}return styleProps;},{classList:[],style:{}}),rnClassList=_rdomClassList$reduce.classList,rnStyle=_rdomClassList$reduce.style;var _resolve=resolve([(0,_i18nStyle.default)(rnStyle),rnStyleNext]),rdomClassListNext=_resolve.classList,rdomStyleNext=_resolve.style;var className=classListToString(rdomClassListNext.concat(rnClassList));var style=_objectSpread({},rdomStyle);rdomClassListNext.forEach(function(className){var _getDeclaration2=getDeclaration(className),prop=_getDeclaration2.prop;if(style[prop]){style[prop]='';}});(0,_extends2.default)(style,rdomStyleNext);return{className:className,style:style};}function _resolveStyle(style,key){var doLeftAndRightSwapInRTL=_I18nManager.default.doLeftAndRightSwapInRTL,isRTL=_I18nManager.default.isRTL;var dir=isRTL?doLeftAndRightSwapInRTL?'rtl':'rtlNoSwap':'ltr';if(key!=null&&resolved[dir][key]!=null){return resolved[dir][key];}var flatStyle=(0,_flattenStyle.default)(style);var localizedStyle=(0,_createCompileableStyle.default)((0,_i18nStyle.default)(flatStyle));var props=Object.keys(localizedStyle).sort().reduce(function(props,styleProp){var value=localizedStyle[styleProp];if(value!=null){var className=getClassName(styleProp,value);if(className){props.classList.push(className);}else{if(styleProp==='animationKeyframes'||styleProp==='placeholderTextColor'||styleProp==='pointerEvents'||styleProp==='scrollbarWidth'){var _atomic;var a=(0,_compile.atomic)((_atomic={},_atomic[styleProp]=value,_atomic));Object.values(a).forEach(function(_ref){var identifier=_ref.identifier,rules=_ref.rules;props.classList.push(identifier);rules.forEach(function(rule){sheet.insert(rule,_constants.STYLE_GROUPS.atomic);});});}else{if(!props.style){props.style={};}props.style[styleProp]=value;}}}return props;},{classList:[]});if(props.style){props.style=(0,_compile.inline)(props.style);}if(key!=null){resolved[dir][key]=props;}return props;}return{getStyleSheet:function getStyleSheet(){var textContent=sheet.getTextContent();if(!_ExecutionEnvironment.canUseDOM){init();}return{id:_constants.STYLE_ELEMENT_ID,textContent:textContent};},createCSS:function createCSS(rules,group){var result={};Object.keys(rules).forEach(function(name){var style=rules[name];var compiled=(0,_compile.classic)(style,name);Object.values(compiled).forEach(function(_ref2){var identifier=_ref2.identifier,rules=_ref2.rules;resolved.css[identifier]={group:group||_constants.STYLE_GROUPS.classic,rules:rules};result[name]=identifier;});});return result;},resolve:resolve,sheet:sheet,resolveWithNode:resolveWithNode};}var createCacheKey=function createCacheKey(id){var prefix='rn';return prefix+\"-\"+id;};var classListToString=function classListToString(list){return list.join(' ').trim();};var hyphenPattern=/-([a-z])/g;var toCamelCase=function toCamelCase(str){return str.replace(hyphenPattern,function(m){return m[1].toUpperCase();});};var getDOMStyleInfo=function getDOMStyleInfo(node){var nodeStyle=node.style;var classList=Array.prototype.slice.call(node.classList);var style={};for(var i=0;i<nodeStyle.length;i+=1){var property=nodeStyle.item(i);if(property){style[toCamelCase(property)]=nodeStyle.getPropertyValue(property);}}return{classList:classList,style:style};};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/createStyleResolver.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","emptyObject","createStyleResolver","inserted","sheet","lookup","resolved","css","ltr","rtl","rtlNoSwap","init","STYLE_ELEMENT_ID","byClassName","byProp","rule","insert","STYLE_GROUPS","modality","initialRules","reset","addToLookup","className","prop","getClassName","val","cache","hasOwnProperty","_injectRegisteredStyle","id","doLeftAndRightSwapInRTL","I18nManager","isRTL","dir","style","results","_results$key","identifier","property","rules","group","custom","atomic","resolve","classList","nextClassList","props","Array","isArray","item","push","createCacheKey","_resolveStyle","flatArray","isArrayOfNumbers","cacheKey","_key","apply","finalProps","classListToString","resolveWithNode","rnStyleNext","node","getDeclaration","_getDOMStyleInfo","getDOMStyleInfo","rdomClassList","rdomStyle","_rdomClassList$reduce","reduce","styleProps","_getDeclaration","rnClassList","rnStyle","_resolve","rdomClassListNext","rdomStyleNext","_getDeclaration2","flatStyle","localizedStyle","sort","styleProp","_atomic","a","values","_ref","getStyleSheet","textContent","getTextContent","canUseDOM","createCSS","result","name","compiled","_ref2","classic","prefix","list","join","trim","hyphenPattern","toCamelCase","str","replace","m","toUpperCase","nodeStyle","prototype","slice","call","getPropertyValue"],"mappings":"gQAiBA,mEACA,kFACA,wFACA,gGACA,gFACA,oEACA,mEACA,8DACA,kCACA,oEACA,4DACA,sCA5BA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7E,EAAiF,CAAC,MAAOf,CAAAA,MAAP,CAAgB,CAEje,QAASgB,CAAAA,eAAT,CAAyBC,GAAzB,CAA8BF,GAA9B,CAAmCG,KAAnC,CAA0C,CAAE,GAAIH,GAAG,GAAIE,CAAAA,GAAX,CAAgB,CAAEX,MAAM,CAACa,cAAP,CAAsBF,GAAtB,CAA2BF,GAA3B,CAAg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AAC,CAAG,CAAb,CAAgBA,CAAC,CAAG8H,SAAS,CAAC5H,MAA9B,CAAsCF,CAAC,EAAI,CAA3C,CAA8C,CAC5C,GAAI0D,CAAAA,QAAQ,CAAGoE,SAAS,CAACzD,IAAV,CAAerE,CAAf,CAAf,CAEA,GAAI0D,QAAJ,CAAc,CAGZJ,KAAK,CAACmE,WAAW,CAAC/D,QAAD,CAAZ,CAAL,CAA+BoE,SAAS,CAACI,gBAAV,CAA2BxE,QAA3B,CAA/B,CACD,CACF,CAED,MAAO,CACLM,SAAS,CAAEA,SADN,CAELV,KAAK,CAAEA,KAFF,CAAP,CAID,CApBD","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n/**\n * WARNING: changes to this file in particular can cause significant changes to\n * the results of render performance benchmarks.\n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport createCSSStyleSheet from './createCSSStyleSheet';\nimport createCompileableStyle from './createCompileableStyle';\nimport createOrderedCSSStyleSheet from './createOrderedCSSStyleSheet';\nimport flattenArray from '../../modules/flattenArray';\nimport flattenStyle from './flattenStyle';\nimport I18nManager from '../I18nManager';\nimport i18nStyle from './i18nStyle';\nimport { atomic, classic, inline, stringifyValueWithProperty } from './compile';\nimport initialRules from './initialRules';\nimport modality from './modality';\nimport { STYLE_ELEMENT_ID, STYLE_GROUPS } from './constants';\nvar emptyObject = {};\nexport default function createStyleResolver() {\n var inserted, sheet, lookup;\n var resolved = {\n css: {},\n ltr: {},\n rtl: {},\n rtlNoSwap: {}\n };\n\n var init = function init() {\n inserted = {\n css: {},\n ltr: {},\n rtl: {},\n rtlNoSwap: {}\n };\n sheet = createOrderedCSSStyleSheet(createCSSStyleSheet(STYLE_ELEMENT_ID));\n lookup = {\n byClassName: {},\n byProp: {}\n };\n modality(function (rule) {\n return sheet.insert(rule, STYLE_GROUPS.modality);\n });\n initialRules.forEach(function (rule) {\n sheet.insert(rule, STYLE_GROUPS.reset);\n });\n };\n\n init();\n\n function addToLookup(className, prop, value) {\n if (!lookup.byProp[prop]) {\n lookup.byProp[prop] = {};\n }\n\n lookup.byProp[prop][value] = className;\n lookup.byClassName[className] = {\n prop: prop,\n value: value\n };\n }\n\n function getClassName(prop, value) {\n var val = stringifyValueWithProperty(value, prop);\n var cache = lookup.byProp;\n return cache[prop] && cache[prop].hasOwnProperty(val) && cache[prop][val];\n }\n\n function _injectRegisteredStyle(id) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var dir = isRTL ? doLeftAndRightSwapInRTL ? 'rtl' : 'rtlNoSwap' : 'ltr';\n\n if (!inserted[dir][id]) {\n var style = createCompileableStyle(i18nStyle(flattenStyle(id)));\n var results = atomic(style);\n Object.keys(results).forEach(function (key) {\n var _results$key = results[key],\n identifier = _results$key.identifier,\n property = _results$key.property,\n rules = _results$key.rules,\n value = _results$key.value;\n addToLookup(identifier, property, value);\n rules.forEach(function (rule) {\n var group = STYLE_GROUPS.custom[property] || STYLE_GROUPS.atomic;\n sheet.insert(rule, group);\n });\n });\n inserted[dir][id] = true;\n }\n }\n /**\n * Resolves a React Native style object to DOM attributes\n */\n\n\n function resolve(style, classList) {\n var nextClassList = [];\n var props = {};\n\n if (!style && !classList) {\n return props;\n }\n\n if (Array.isArray(classList)) {\n flattenArray(classList).forEach(function (identifier) {\n if (identifier) {\n if (inserted.css[identifier] == null && resolved.css[identifier] != null) {\n var item = resolved.css[identifier];\n item.rules.forEach(function (rule) {\n sheet.insert(rule, item.group);\n });\n inserted.css[identifier] = true;\n }\n\n nextClassList.push(identifier);\n }\n });\n }\n\n if (typeof style === 'number') {\n // fast and cachable\n _injectRegisteredStyle(style);\n\n var key = createCacheKey(style);\n props = _resolveStyle(style, key);\n } else if (!Array.isArray(style)) {\n // resolve a plain RN style object\n props = _resolveStyle(style);\n } else {\n // flatten the style array\n // cache resolved props when all styles are registered\n // otherwise fallback to resolving\n var flatArray = flattenArray(style);\n var isArrayOfNumbers = true;\n var cacheKey = '';\n\n for (var i = 0; i < flatArray.length; i++) {\n var id = flatArray[i];\n\n if (typeof id !== 'number') {\n isArrayOfNumbers = false;\n } else {\n if (isArrayOfNumbers) {\n cacheKey += id + '-';\n }\n\n _injectRegisteredStyle(id);\n }\n }\n\n var _key = isArrayOfNumbers ? createCacheKey(cacheKey) : null;\n\n props = _resolveStyle(flatArray, _key);\n }\n\n nextClassList.push.apply(nextClassList, props.classList);\n var finalProps = {\n className: classListToString(nextClassList),\n classList: nextClassList\n };\n\n if (props.style) {\n finalProps.style = props.style;\n }\n\n return finalProps;\n }\n /**\n * Resolves a React Native style object to DOM attributes, accounting for\n * the existing styles applied to the DOM node.\n *\n * To determine the next style, some of the existing DOM state must be\n * converted back into React Native styles.\n */\n\n\n function resolveWithNode(rnStyleNext, node) {\n function getDeclaration(className) {\n return lookup.byClassName[className] || emptyObject;\n }\n\n var _getDOMStyleInfo = getDOMStyleInfo(node),\n rdomClassList = _getDOMStyleInfo.classList,\n rdomStyle = _getDOMStyleInfo.style; // Convert the DOM classList back into a React Native form\n // Preserves unrecognized class names.\n\n\n var _rdomClassList$reduce = rdomClassList.reduce(function (styleProps, className) {\n var _getDeclaration = getDeclaration(className),\n prop = _getDeclaration.prop,\n value = _getDeclaration.value;\n\n if (prop) {\n styleProps.style[prop] = value;\n } else {\n styleProps.classList.push(className);\n }\n\n return styleProps;\n }, {\n classList: [],\n style: {}\n }),\n rnClassList = _rdomClassList$reduce.classList,\n rnStyle = _rdomClassList$reduce.style; // Create next DOM style props from current and next RN styles\n\n\n var _resolve = resolve([i18nStyle(rnStyle), rnStyleNext]),\n rdomClassListNext = _resolve.classList,\n rdomStyleNext = _resolve.style; // Final className\n // Add the current class names not managed by React Native\n\n\n var className = classListToString(rdomClassListNext.concat(rnClassList)); // Final style\n // Next class names take priority over current inline styles\n\n var style = _objectSpread({}, rdomStyle);\n\n rdomClassListNext.forEach(function (className) {\n var _getDeclaration2 = getDeclaration(className),\n prop = _getDeclaration2.prop;\n\n if (style[prop]) {\n style[prop] = '';\n }\n }); // Next inline styles take priority over current inline styles\n\n Object.assign(style, rdomStyleNext);\n return {\n className: className,\n style: style\n };\n }\n /**\n * Resolves a React Native style object\n */\n\n\n function _resolveStyle(style, key) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var dir = isRTL ? doLeftAndRightSwapInRTL ? 'rtl' : 'rtlNoSwap' : 'ltr'; // faster: memoized\n\n if (key != null && resolved[dir][key] != null) {\n return resolved[dir][key];\n }\n\n var flatStyle = flattenStyle(style);\n var localizedStyle = createCompileableStyle(i18nStyle(flatStyle)); // slower: convert style object to props and cache\n\n var props = Object.keys(localizedStyle).sort().reduce(function (props, styleProp) {\n var value = localizedStyle[styleProp];\n\n if (value != null) {\n var className = getClassName(styleProp, value);\n\n if (className) {\n props.classList.push(className);\n } else {\n // Certain properties and values are not transformed by 'createReactDOMStyle' as they\n // require more complex transforms into multiple CSS rules. Here we assume that StyleManager\n // can bind these styles to a className, and prevent them becoming invalid inline-styles.\n if (styleProp === 'animationKeyframes' || styleProp === 'placeholderTextColor' || styleProp === 'pointerEvents' || styleProp === 'scrollbarWidth') {\n var _atomic;\n\n var a = atomic((_atomic = {}, _atomic[styleProp] = value, _atomic));\n Object.values(a).forEach(function (_ref) {\n var identifier = _ref.identifier,\n rules = _ref.rules;\n props.classList.push(identifier);\n rules.forEach(function (rule) {\n sheet.insert(rule, STYLE_GROUPS.atomic);\n });\n });\n } else {\n if (!props.style) {\n props.style = {};\n } // 4x slower render\n\n\n props.style[styleProp] = value;\n }\n }\n }\n\n return props;\n }, {\n classList: []\n });\n\n if (props.style) {\n props.style = inline(props.style);\n }\n\n if (key != null) {\n resolved[dir][key] = props;\n }\n\n return props;\n }\n\n return {\n getStyleSheet: function getStyleSheet() {\n var textContent = sheet.getTextContent(); // Reset state on the server so critical css is always the result\n\n if (!canUseDOM) {\n init();\n }\n\n return {\n id: STYLE_ELEMENT_ID,\n textContent: textContent\n };\n },\n createCSS: function createCSS(rules, group) {\n var result = {};\n Object.keys(rules).forEach(function (name) {\n var style = rules[name];\n var compiled = classic(style, name);\n Object.values(compiled).forEach(function (_ref2) {\n var identifier = _ref2.identifier,\n rules = _ref2.rules;\n resolved.css[identifier] = {\n group: group || STYLE_GROUPS.classic,\n rules: rules\n };\n result[name] = identifier;\n });\n });\n return result;\n },\n resolve: resolve,\n sheet: sheet,\n resolveWithNode: resolveWithNode\n };\n}\n/**\n * Misc helpers\n */\n\nvar createCacheKey = function createCacheKey(id) {\n var prefix = 'rn';\n return prefix + \"-\" + id;\n};\n\nvar classListToString = function classListToString(list) {\n return list.join(' ').trim();\n};\n/**\n * Copies classList and style data from a DOM node\n */\n\n\nvar hyphenPattern = /-([a-z])/g;\n\nvar toCamelCase = function toCamelCase(str) {\n return str.replace(hyphenPattern, function (m) {\n return m[1].toUpperCase();\n });\n};\n\nvar getDOMStyleInfo = function getDOMStyleInfo(node) {\n var nodeStyle = node.style;\n var classList = Array.prototype.slice.call(node.classList);\n var style = {}; // DOM style is a CSSStyleDeclaration\n // https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration\n\n for (var i = 0; i < nodeStyle.length; i += 1) {\n var property = nodeStyle.item(i);\n\n if (property) {\n // DOM style uses hyphenated prop names and may include vendor prefixes\n // Transform back into React DOM style.\n style[toCamelCase(property)] = nodeStyle.getPropertyValue(property);\n }\n }\n\n return {\n classList: classList,\n style: style\n };\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=configureFonts;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var fontConfig={web:{regular:{fontFamily:'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',fontWeight:'400'},medium:{fontFamily:'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',fontWeight:'500'},light:{fontFamily:'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',fontWeight:'300'},thin:{fontFamily:'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',fontWeight:'100'}},ios:{regular:{fontFamily:'System',fontWeight:'400'},medium:{fontFamily:'System',fontWeight:'500'},light:{fontFamily:'System',fontWeight:'300'},thin:{fontFamily:'System',fontWeight:'100'}},default:{regular:{fontFamily:'sans-serif',fontWeight:'normal'},medium:{fontFamily:'sans-serif-medium',fontWeight:'normal'},light:{fontFamily:'sans-serif-light',fontWeight:'normal'},thin:{fontFamily:'sans-serif-thin',fontWeight:'normal'}}};function configureFonts(config){var fonts=_Platform.default.select((0,_objectSpread2.default)({},fontConfig,config));return fonts;}","map":{"version":3,"sources":["fonts.tsx"],"names":["fontConfig","web","regular","fontFamily","fontWeight","medium","light","thin","ios","default","fonts","Platform"],"mappings":"2KAAA,0F,wFAGA,GAAMA,CAAAA,UAAU,CAAG,CACjBC,GAAG,CAAE,CACHC,OAAO,CAAE,CACPC,UAAU,CADH,wDAAA,CAEPC,UAAU,CAHT,KACM,CADN,CAKHC,MAAM,CAAE,CACNF,UAAU,CADJ,wDAAA,CAENC,UAAU,CAPT,KAKK,CALL,CASHE,KAAK,CAAE,CACLH,UAAU,CADL,wDAAA,CAELC,UAAU,CAXT,KASI,CATJ,CAaHG,IAAI,CAAE,CACJJ,UAAU,CADN,wDAAA,CAEJC,UAAU,CAhBG,KAcT,CAbH,CADY,CAmBjBI,GAAG,CAAE,CACHN,OAAO,CAAE,CACPC,UAAU,CADH,QAAA,CAEPC,UAAU,CAHT,KACM,CADN,CAKHC,MAAM,CAAE,CACNF,UAAU,CADJ,QAAA,CAENC,UAAU,CAPT,KAKK,CALL,CASHE,KAAK,CAAE,CACLH,UAAU,CADL,QAAA,CAELC,UAAU,CAXT,KASI,CATJ,CAaHG,IAAI,CAAE,CACJJ,UAAU,CADN,QAAA,CAEJC,UAAU,CAlCG,KAgCT,CAbH,CAnBY,CAqCjBK,OAAO,CAAE,CACPP,OAAO,CAAE,CACPC,UAAU,CADH,YAAA,CAEPC,UAAU,CAHL,QACE,CADF,CAKPC,MAAM,CAAE,CACNF,UAAU,CADJ,mBAAA,CAENC,UAAU,CAPL,QAKC,CALD,CASPE,KAAK,CAAE,CACLH,UAAU,CADL,kBAAA,CAELC,UAAU,CAXL,QASA,CATA,CAaPG,IAAI,CAAE,CACJJ,UAAU,CADN,iBAAA,CAEJC,UAAU,CApDhB,QAkDU,CAbC,CArCQ,CAAnB,CAyDe,QAAA,CAAA,cAAA,CAAA,MAAA,CAEN,CACP,GAAMM,CAAAA,KAAK,CAAGC,kBAAAA,MAAAA,CAAAA,2BAAAA,EAAAA,CAAAA,UAAAA,CAAd,MAAcA,CAAAA,CAAd,CACA,MAAA,CAAA,KAAA,CACD","sourcesContent":["import { Platform, PlatformOSType } from 'react-native';\nimport { Fonts } from '../types';\n\nconst fontConfig = {\n web: {\n regular: {\n fontFamily: 'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',\n fontWeight: '400' as '400',\n },\n medium: {\n fontFamily: 'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',\n fontWeight: '500' as '500',\n },\n light: {\n fontFamily: 'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',\n fontWeight: '300' as '300',\n },\n thin: {\n fontFamily: 'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',\n fontWeight: '100' as '100',\n },\n },\n ios: {\n regular: {\n fontFamily: 'System',\n fontWeight: '400' as '400',\n },\n medium: {\n fontFamily: 'System',\n fontWeight: '500' as '500',\n },\n light: {\n fontFamily: 'System',\n fontWeight: '300' as '300',\n },\n thin: {\n fontFamily: 'System',\n fontWeight: '100' as '100',\n },\n },\n default: {\n regular: {\n fontFamily: 'sans-serif',\n fontWeight: 'normal' as 'normal',\n },\n medium: {\n fontFamily: 'sans-serif-medium',\n fontWeight: 'normal' as 'normal',\n },\n light: {\n fontFamily: 'sans-serif-light',\n fontWeight: 'normal' as 'normal',\n },\n thin: {\n fontFamily: 'sans-serif-thin',\n fontWeight: 'normal' as 'normal',\n },\n },\n};\n\nexport default function configureFonts(\n config?: { [platform in PlatformOSType | 'default']?: Fonts }\n): Fonts {\n const fonts = Platform.select({ ...fontConfig, ...config }) as Fonts;\n return fonts;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var array=_interopRequireWildcard(require(\"d3-array\"));var scale=_interopRequireWildcard(require(\"d3-scale\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _barChart=_interopRequireDefault(require(\"./bar-chart\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var GroupedBarChart=function(_BarChart){(0,_inherits2.default)(GroupedBarChart,_BarChart);function GroupedBarChart(){(0,_classCallCheck2.default)(this,GroupedBarChart);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(GroupedBarChart).apply(this,arguments));}(0,_createClass2.default)(GroupedBarChart,[{key:\"calcXScale\",value:function calcXScale(domain){var _this$props=this.props,horizontal=_this$props.horizontal,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.left,left=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.right,right=_this$props$contentIn3===void 0?0:_this$props$contentIn3,spacingInner=_this$props.spacingInner,spacingOuter=_this$props.spacingOuter,clamp=_this$props.clamp;var width=this.state.width;if(horizontal){return scale.scaleLinear().domain(domain).range([left,width-right]).clamp(clamp);}return scale.scaleBand().domain(domain).range([left,width-right]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}},{key:\"calcYScale\",value:function calcYScale(domain){var _this$props2=this.props,horizontal=_this$props2.horizontal,spacingInner=_this$props2.spacingInner,spacingOuter=_this$props2.spacingOuter,_this$props2$contentI=_this$props2.contentInset,_this$props2$contentI2=_this$props2$contentI.top,top=_this$props2$contentI2===void 0?0:_this$props2$contentI2,_this$props2$contentI3=_this$props2$contentI.bottom,bottom=_this$props2$contentI3===void 0?0:_this$props2$contentI3,clamp=_this$props2.clamp;var height=this.state.height;if(horizontal){return scale.scaleBand().domain(domain).range([top,height-bottom]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}return scale.scaleLinear().domain(domain).range([height-bottom,top]).clamp(clamp);}},{key:\"calcAreas\",value:function calcAreas(x,y){var _this$props3=this.props,horizontal=_this$props3.horizontal,data=_this$props3.data,yAccessor=_this$props3.yAccessor;var _data=data.map(function(obj){var _obj$svg=obj.svg,svg=_obj$svg===void 0?{}:_obj$svg;return _objectSpread({},obj,{data:obj.data.map(function(item){if(typeof item==='number'){return{value:item,svg:svg};}return _objectSpread({},item,{svg:_objectSpread({},svg,{},item.svg),value:yAccessor({item:item})});})});});var areas=[];if(horizontal){var barWidth=y.bandwidth()/data.length;_data.forEach(function(obj,collectionIndex){obj.data.forEach(function(item,valueIndex){areas.push({bar:item,path:shape.area().y(function(value,_index){return _index===0?y(valueIndex)+barWidth*collectionIndex:y(valueIndex)+barWidth+barWidth*collectionIndex;}).x0(x(0)).x1(function(value){return x(value);}).defined(function(value){return typeof value==='number';})([item.value,item.value])});});});}else{var _barWidth=x.bandwidth()/data.length;_data.forEach(function(obj,collectionIndex){obj.data.forEach(function(item,valueIndex){areas.push({bar:item,path:shape.area().x(function(value,_index){return _index===0?x(valueIndex)+_barWidth*collectionIndex:x(valueIndex)+_barWidth+_barWidth*collectionIndex;}).y0(y(0)).y1(function(value){return y(value);}).defined(function(value){return typeof value==='number';})([item.value,item.value])});});});}return areas;}},{key:\"calcExtent\",value:function calcExtent(){var _this$props4=this.props,data=_this$props4.data,yAccessor=_this$props4.yAccessor,gridMin=_this$props4.gridMin,gridMax=_this$props4.gridMax;var dataExtent=array.merge(data.map(function(obj){return obj.data.map(function(item){return yAccessor({item:item});});}));var extent=array.extent([].concat((0,_toConsumableArray2.default)(dataExtent),[gridMax,gridMin]));var _this$props5=this.props,_this$props5$yMin=_this$props5.yMin,yMin=_this$props5$yMin===void 0?extent[0]:_this$props5$yMin,_this$props5$yMax=_this$props5.yMax,yMax=_this$props5$yMax===void 0?extent[1]:_this$props5$yMax;return[yMin,yMax];}},{key:\"calcIndexes\",value:function calcIndexes(){var data=this.props.data;return data[0].data.map(function(_,index){return index;});}}]);return GroupedBarChart;}(_barChart.default);GroupedBarChart.propTypes=_objectSpread({},_barChart.default.propTypes,{data:_propTypes.default.arrayOf(_propTypes.default.shape({data:_propTypes.default.array.isRequired,svg:_propTypes.default.object})).isRequired});var _default=GroupedBarChart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/bar-chart/bar-chart-grouped.js"],"names":["GroupedBarChart","domain","props","horizontal","contentInset","left","right","spacingInner","spacingOuter","clamp","width","state","scale","scaleLinear","range","scaleBand","paddingInner","paddingOuter","top","bottom","height","x","y","data","yAccessor","_data","map","obj","svg","item","value","areas","barWidth","bandwidth","length","forEach","collectionIndex","valueIndex","push","bar","path","shape","area","_index","x0","x1","defined","y0","y1","gridMin","gridMax","dataExtent","array","merge","extent","yMin","yMax","_","index","BarChart","propTypes","PropTypes","arrayOf","isRequired","object"],"mappings":"o5BAAA,6DACA,uDACA,uDACA,uDACA,6D,4xBAEMA,CAAAA,e,qWACSC,M,CAAQ,iBAOX,KAAKC,KAPM,CAEXC,UAFW,aAEXA,UAFW,mCAGXC,YAHW,8CAGKC,IAHL,CAGKA,IAHL,iCAGY,CAHZ,qEAGeC,KAHf,CAGeA,KAHf,iCAGuB,CAHvB,wBAIXC,YAJW,aAIXA,YAJW,CAKXC,YALW,aAKXA,YALW,CAMXC,KANW,aAMXA,KANW,IASPC,CAA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ADhB,CACyBC,OADzB,cACyBA,OADzB,CAET,GAAMC,CAAAA,UAAU,CAAGC,KAAK,CAACC,KAAN,CAAY9B,IAAI,CAACG,GAAL,CAAS,SAACC,GAAD,QAASA,CAAAA,GAAG,CAACJ,IAAJ,CAASG,GAAT,CAAa,SAACG,IAAD,QAAUL,CAAAA,SAAS,CAAC,CAAEK,IAAI,CAAJA,IAAF,CAAD,CAAnB,EAAb,CAAT,EAAT,CAAZ,CAAnB,CAEA,GAAMyB,CAAAA,MAAM,CAAGF,KAAK,CAACE,MAAN,2CAAiBH,UAAjB,GAA6BD,OAA7B,CAAsCD,OAAtC,GAAf,CAJS,iBAMsC,KAAK/C,KAN3C,gCAMDqD,IANC,CAMDA,IANC,4BAMMD,MAAM,CAAC,CAAD,CANZ,kDAMiBE,IANjB,CAMiBA,IANjB,4BAMwBF,MAAM,CAAC,CAAD,CAN9B,mBAQT,MAAO,CAACC,IAAD,CAAOC,IAAP,CAAP,CACH,C,iDAEa,IACFjC,CAAAA,IADE,CACO,KAAKrB,KADZ,CACFqB,IADE,CAEV,MAAOA,CAAAA,IAAI,CAAC,CAAD,CAAJ,CAAQA,IAAR,CAAaG,GAAb,CAAiB,SAAC+B,CAAD,CAAIC,KAAJ,QAAcA,CAAAA,KAAd,EAAjB,CAAP,CACH,C,6BA/IyBC,iB,EAkJ9B3D,eAAe,CAAC4D,SAAhB,kBACOD,kBAASC,SADhB,EAEIrC,IAAI,CAAEsC,mBAAUC,OAAV,CACFD,mBAAUpB,KAAV,CAAgB,CACZlB,IAAI,CAAEsC,mBAAUT,KAAV,CAAgBW,UADV,CAEZnC,GAAG,CAAEiC,mBAAUG,MAFH,CAAhB,CADE,EAKJD,UAPN,G,aAUe/D,e","sourcesContent":["import PropTypes from 'prop-types'\nimport * as array from 'd3-array'\nimport * as scale from 'd3-scale'\nimport * as shape from 'd3-shape'\nimport BarChart from './bar-chart'\n\nclass GroupedBarChart extends BarChart {\n calcXScale(domain) {\n const {\n horizontal,\n contentInset: { left = 0, right = 0 },\n spacingInner,\n spacingOuter,\n clamp,\n } = this.props\n\n const { width } = this.state\n\n if (horizontal) {\n return scale\n .scaleLinear()\n .domain(domain)\n .range([left, width - right])\n .clamp(clamp)\n }\n\n return scale\n .scaleBand()\n .domain(domain)\n .range([left, width - right])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n calcYScale(domain) {\n const {\n horizontal,\n spacingInner,\n spacingOuter,\n contentInset: { top = 0, bottom = 0 },\n clamp,\n } = this.props\n\n const { height } = this.state\n\n if (horizontal) {\n return scale\n .scaleBand()\n .domain(domain)\n .range([top, height - bottom])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n return scale\n .scaleLinear()\n .domain(domain)\n .range([height - bottom, top])\n .clamp(clamp)\n }\n\n calcAreas(x, y) {\n const { horizontal, data, yAccessor } = this.props\n\n const _data = data.map((obj) => {\n const { svg = {} } = obj\n return {\n ...obj,\n data: obj.data.map((item) => {\n if (typeof item === 'number') {\n return {\n value: item,\n svg,\n }\n }\n\n return {\n ...item,\n svg: {\n ...svg,\n ...item.svg,\n },\n value: yAccessor({ item }),\n }\n }),\n }\n })\n\n const areas = []\n\n if (horizontal) {\n const barWidth = y.bandwidth() / data.length\n\n _data.forEach((obj, collectionIndex) => {\n obj.data.forEach((item, valueIndex) => {\n areas.push({\n bar: item,\n path: shape\n .area()\n .y((value, _index) =>\n _index === 0\n ? y(valueIndex) + barWidth * collectionIndex\n : y(valueIndex) + barWidth + barWidth * collectionIndex\n )\n .x0(x(0))\n .x1((value) => x(value))\n .defined((value) => typeof value === 'number')([item.value, item.value]),\n })\n })\n })\n } else {\n const barWidth = x.bandwidth() / data.length\n\n _data.forEach((obj, collectionIndex) => {\n obj.data.forEach((item, valueIndex) => {\n areas.push({\n bar: item,\n path: shape\n .area()\n .x((value, _index) =>\n _index === 0\n ? x(valueIndex) + barWidth * collectionIndex\n : x(valueIndex) + barWidth + barWidth * collectionIndex\n )\n .y0(y(0))\n .y1((value) => y(value))\n .defined((value) => typeof value === 'number')([item.value, item.value]),\n })\n })\n })\n }\n\n return areas\n }\n\n calcExtent() {\n const { data, yAccessor, gridMin, gridMax } = this.props\n const dataExtent = array.merge(data.map((obj) => obj.data.map((item) => yAccessor({ item }))))\n\n const extent = array.extent([...dataExtent, gridMax, gridMin])\n\n const { yMin = extent[0], yMax = extent[1] } = this.props\n\n return [yMin, yMax]\n }\n\n calcIndexes() {\n const { data } = this.props\n return data[0].data.map((_, index) => index)\n }\n}\n\nGroupedBarChart.propTypes = {\n ...BarChart.propTypes,\n data: PropTypes.arrayOf(\n PropTypes.shape({\n data: PropTypes.array.isRequired,\n svg: PropTypes.object,\n })\n ).isRequired,\n}\n\nexport default GroupedBarChart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createPathParser=exports.urlToPathAndParams=exports.getParamsFromPath=void 0;var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _pathToRegexp=_interopRequireWildcard(require(\"path-to-regexp\"));var NavigationActions=_interopRequireWildcard(require(\"../NavigationActions\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var queryString=require('query-string');var getParamsFromPath=function getParamsFromPath(inputParams,pathMatch,pathMatchKeys){var params=pathMatch.slice(1).reduce(function(paramsOut,matchResult,i){var key=pathMatchKeys[i];if(!key||key.asterisk){return paramsOut;}var paramName=key.name;var decodedMatchResult;if(matchResult){try{decodedMatchResult=decodeURIComponent(matchResult);}catch(e){}}paramsOut[paramName]=decodedMatchResult||matchResult;return paramsOut;},(0,_objectSpread2.default)({},inputParams));return params;};exports.getParamsFromPath=getParamsFromPath;var getRestOfPath=function getRestOfPath(pathMatch,pathMatchKeys){var rest=pathMatch[pathMatchKeys.findIndex(function(k){return k.asterisk;})+1];return rest;};var determineDelimiter=function determineDelimiter(uri,uriPrefix){if(Array.isArray(uriPrefix)){if(uriPrefix.length===1)return uriPrefix[0];for(var _iterator=uriPrefix,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++];}else{_i=_iterator.next();if(_i.done)break;_ref=_i.value;}var _prefix=_ref;if(uri.startsWith(_prefix))return _prefix;}return null;}return uriPrefix;};var urlToPathAndParams=function urlToPathAndParams(url,uriPrefix){var searchMatch=url.match(/^(.*)\\?(.*)$/);var _ref2=searchMatch||[null,url,{}],_ref3=(0,_slicedToArray2.default)(_ref2,3),urlWithoutQuery=_ref3[1],query=_ref3[2];var params=queryString.parse(query);var delimiter=determineDelimiter(urlWithoutQuery,uriPrefix)||'://';var path=urlWithoutQuery.split(delimiter)[1];if(path===undefined){path=urlWithoutQuery;}if(path==='/'){path='';}if(path[path.length-1]==='/'){path=path.slice(0,-1);}return{path:path,params:params};};exports.urlToPathAndParams=urlToPathAndParams;var createPathParser=function createPathParser(childRouters,routeConfigs,_ref4){var _ref4$paths=_ref4.paths,pathConfigs=_ref4$paths===void 0?{}:_ref4$paths,disableRouteNamePaths=_ref4.disableRouteNamePaths;var pathsByRouteNames={};var paths=[];Object.keys(childRouters).forEach(function(routeName){var pathPattern;if(pathConfigs[routeName]!==undefined){pathPattern=pathConfigs[routeName];}else{pathPattern=routeConfigs[routeName].path;}if(pathPattern===undefined){pathPattern=disableRouteNamePaths?null:routeName;}(0,_invariant.default)(pathPattern===null||typeof pathPattern==='string',\"Route path for \"+routeName+\" must be specified as a string, or null.\");var isPathMatchable=pathPattern!==null;var exactReKeys=[];var exactRe=isPathMatchable?(0,_pathToRegexp.default)(pathPattern,exactReKeys):null;var extendedPathReKeys=[];var isWildcard=pathPattern===''||!isPathMatchable;var extendedPathRe=(0,_pathToRegexp.default)(isWildcard?'*':pathPattern+\"/*\",extendedPathReKeys);pathsByRouteNames[routeName]={exactRe:exactRe,exactReKeys:exactReKeys,extendedPathRe:extendedPathRe,extendedPathReKeys:extendedPathReKeys,isWildcard:isWildcard,toPath:pathPattern===null?function(){return'';}:(0,_pathToRegexp.compile)(pathPattern)};});paths=Object.entries(pathsByRouteNames);var getActionForPathAndParams=function getActionForPathAndParams(){var pathToResolve=arguments.length>0&&arguments[0]!==undefined?arguments[0]:'';var inputParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};for(var _iterator2=paths,_isArray2=Array.isArray(_iterator2),_i2=0,_iterator2=_isArray2?_iterator2:_iterator2[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();;){var _ref7;if(_isArray2){if(_i2>=_iterator2.length)break;_ref7=_iterator2[_i2++];}else{_i2=_iterator2.next();if(_i2.done)break;_ref7=_i2.value;}var _ref11=_ref7;var _ref6=(0,_slicedToArray2.default)(_ref11,2);var _routeName2=_ref6[0];var _path2=_ref6[1];var exactRe=_path2.exactRe,exactReKeys=_path2.exactReKeys,extendedPathRe=_path2.extendedPathRe,extendedPathReKeys=_path2.extendedPathReKeys;var childRouter=childRouters[_routeName2];var exactMatch=exactRe&&exactRe.exec(pathToResolve);if(exactMatch&&exactMatch.length){var extendedMatch=extendedPathRe&&extendedPathRe.exec(pathToResolve);var childAction=null;if(extendedMatch&&childRouter){var restOfPath=getRestOfPath(extendedMatch,extendedPathReKeys);childAction=childRouter.getActionForPathAndParams(restOfPath,inputParams);}return NavigationActions.navigate({routeName:_routeName2,params:getParamsFromPath(inputParams,exactMatch,exactReKeys),action:childAction});}}for(var _iterator3=paths,_isArray3=Array.isArray(_iterator3),_i3=0,_iterator3=_isArray3?_iterator3:_iterator3[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();;){var _ref10;if(_isArray3){if(_i3>=_iterator3.length)break;_ref10=_iterator3[_i3++];}else{_i3=_iterator3.next();if(_i3.done)break;_ref10=_i3.value;}var _ref12=_ref10;var _ref9=(0,_slicedToArray2.default)(_ref12,2);var _routeName3=_ref9[0];var _path3=_ref9[1];var _extendedPathRe=_path3.extendedPathRe,_extendedPathReKeys=_path3.extendedPathReKeys;var _childRouter=childRouters[_routeName3];var _extendedMatch=_extendedPathRe&&_extendedPathRe.exec(pathToResolve);if(_extendedMatch&&_extendedMatch.length){var _restOfPath=getRestOfPath(_extendedMatch,_extendedPathReKeys);var _childAction=null;if(_childRouter){_childAction=_childRouter.getActionForPathAndParams(_restOfPath,inputParams);}if(!_childAction){continue;}return NavigationActions.navigate({routeName:_routeName3,params:getParamsFromPath(inputParams,_extendedMatch,_extendedPathReKeys),action:_childAction});}}return null;};var getPathAndParamsForRoute=function getPathAndParamsForRoute(route){var routeName=route.routeName,params=route.params;var childRouter=childRouters[routeName];var _pathsByRouteNames$ro=pathsByRouteNames[routeName],toPath=_pathsByRouteNames$ro.toPath,exactReKeys=_pathsByRouteNames$ro.exactReKeys;var subPath=toPath(params);var nonPathParams={};if(params){Object.keys(params).filter(function(paramName){return!exactReKeys.find(function(k){return k.name===paramName;});}).forEach(function(paramName){nonPathParams[paramName]=params[paramName];});}if(childRouter){var child=childRouter.getPathAndParamsForState(route);return{path:subPath?subPath+\"/\"+child.path:child.path,params:child.params?(0,_objectSpread2.default)({},nonPathParams,child.params):nonPathParams};}return{path:subPath,params:nonPathParams};};return{getActionForPathAndParams:getActionForPathAndParams,getPathAndParamsForRoute:getPathAndParamsForRoute};};exports.createPathParser=createPathParser;","map":{"version":3,"sources":["pathUtils.js"],"names":["queryString","require","getParamsFromPath","params","pathMatch","key","pathMatchKeys","paramName","decodedMatchResult","decodeURIComponent","paramsOut","getRestOfPath","rest","k","determineDelimiter","Array","uriPrefix","prefix","uri","urlToPathAndParams","searchMatch","url","urlWithoutQuery","query","delimiter","path","createPathParser","paths","pathConfigs","disableRouteNamePaths","pathsByRouteNames","Object","pathPattern","routeConfigs","invariant","isPathMatchable","exactReKeys","exactRe","pathToRegexp","extendedPathReKeys","isWildcard","extendedPathRe","toPath","compile","getActionForPathAndParams","pathToResolve","inputParams","routeName","childRouter","childRouters","exactMatch","extendedMatch","childAction","restOfPath","NavigationActions","action","getPathAndParamsForRoute","route","subPath","nonPathParams","child"],"mappings":"4eAEA,qEACA,+EACA,qEAEA,GAAMA,CAAAA,WAAW,CAAGC,OAAO,CAA3B,cAA2B,CAA3B,CAEO,GAAMC,CAAAA,iBAAiB,CAAjBA,QAAAA,CAAAA,iBAAAA,CAAoB,WAApBA,CAAoB,SAApBA,CAAoB,aAApBA,CAA+D,CAC1E,GAAMC,CAAAA,MAAM,CAAGC,SAAS,CAATA,KAAAA,CAAAA,CAAAA,EAAAA,MAAAA,CAEb,SAAA,SAAA,CAAA,WAAA,CAAA,CAAA,CAA+B,CAC7B,GAAMC,CAAAA,GAAG,CAAGC,aAAa,CAAzB,CAAyB,CAAzB,CACA,GAAI,CAAA,GAAA,EAAQD,GAAG,CAAf,QAAA,CAA0B,CACxB,MAAA,CAAA,SAAA,CAEF,IAAME,CAAAA,SAAS,CAAGF,GAAG,CAArB,IAAA,CAEA,GAAA,CAAA,kBAAA,CACA,GAAA,WAAA,CAAiB,CACf,GAAI,CACFG,kBAAkB,CAAGC,kBAAkB,CAAvCD,WAAuC,CAAvCA,CACA,OAAA,CAAA,CAAU,CAGb,CAEDE,CAAAA,SAAS,CAATA,SAAS,CAATA,CAAuBF,kBAAkB,EAAzCE,WAAAA,CACA,MAAA,CAAA,SAAA,CAnBWN,CAAAA,CAAAA,2BAAAA,EAAAA,CAAf,WAAeA,CAAAA,CAAf,CA0BA,MAAA,CAAA,MAAA,CA3BK,CAAA,C,4CA6BP,GAAMO,CAAAA,aAAa,CAAbA,QAAAA,CAAAA,aAAAA,CAAg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AA,CACmBA,KAAK,CADxBA,MAAAA,CAAAA,CAFV,aAAO,CAAP,CAOF,OAAO,CACLnC,IAAI,CADC,OAAA,CAELtB,MAAM,CAFR,aAAO,CAAP,CAxBF,CAAA,CA6BA,MAAO,CAAEyC,yBAAyB,CAA3B,yBAAA,CAA6BY,wBAAwB,CAA5D,wBAAO,CAAP,CAlJK,CAAA,C","sourcesContent":["/* eslint-disable import/no-commonjs */\n\nimport pathToRegexp, { compile } from 'path-to-regexp';\nimport * as NavigationActions from '../NavigationActions';\nimport invariant from '../utils/invariant';\n\nconst queryString = require('query-string');\n\nexport const getParamsFromPath = (inputParams, pathMatch, pathMatchKeys) => {\n const params = pathMatch.slice(1).reduce(\n // iterate over matched path params\n (paramsOut, matchResult, i) => {\n const key = pathMatchKeys[i];\n if (!key || key.asterisk) {\n return paramsOut;\n }\n const paramName = key.name;\n\n let decodedMatchResult;\n if (matchResult) {\n try {\n decodedMatchResult = decodeURIComponent(matchResult);\n } catch (e) {\n // ignore `URIError: malformed URI`\n }\n }\n\n paramsOut[paramName] = decodedMatchResult || matchResult;\n return paramsOut;\n },\n {\n // start with the input(query string) params, which will get overridden by path params\n ...inputParams,\n }\n );\n return params;\n};\nconst getRestOfPath = (pathMatch, pathMatchKeys) => {\n const rest = pathMatch[pathMatchKeys.findIndex(k => k.asterisk) + 1];\n return rest;\n};\n\nconst determineDelimiter = (uri, uriPrefix) => {\n if (Array.isArray(uriPrefix)) {\n if (uriPrefix.length === 1) return uriPrefix[0];\n for (let prefix of uriPrefix) {\n if (uri.startsWith(prefix)) return prefix;\n }\n return null;\n }\n return uriPrefix;\n};\n\nexport const urlToPathAndParams = (url, uriPrefix) => {\n const searchMatch = url.match(/^(.*)\\?(.*)$/);\n const [, urlWithoutQuery, query] = searchMatch || [null, url, {}];\n const params = queryString.parse(query);\n const delimiter = determineDelimiter(urlWithoutQuery, uriPrefix) || '://';\n let path = urlWithoutQuery.split(delimiter)[1];\n if (path === undefined) {\n path = urlWithoutQuery;\n }\n if (path === '/') {\n path = '';\n }\n if (path[path.length - 1] === '/') {\n path = path.slice(0, -1);\n }\n return {\n path,\n params,\n };\n};\n\nexport const createPathParser = (\n childRouters,\n routeConfigs,\n { paths: pathConfigs = {}, disableRouteNamePaths }\n) => {\n const pathsByRouteNames = {};\n let paths = [];\n\n // Build pathsByRouteNames, which includes a regex to match paths for each route. Keep in mind, the regex will pass for the route and all child routes. The code that uses pathsByRouteNames will need to also verify that the child router produces an action, in the case of isPathMatchable false (a null path).\n Object.keys(childRouters).forEach(routeName => {\n let pathPattern;\n\n // First check for paths on the router, then check the route config\n if (pathConfigs[routeName] !== undefined) {\n pathPattern = pathConfigs[routeName];\n } else {\n pathPattern = routeConfigs[routeName].path;\n }\n\n if (pathPattern === undefined) {\n // If the user hasn't specified a path at all nor disableRouteNamePaths, then we assume the routeName is an appropriate path\n pathPattern = disableRouteNamePaths ? null : routeName;\n }\n\n invariant(\n pathPattern === null || typeof pathPattern === 'string',\n `Route path for ${routeName} must be specified as a string, or null.`\n );\n\n // the path may be specified as null, which is similar to empty string because it allows child routers to handle the action, but it will not match empty paths\n const isPathMatchable = pathPattern !== null;\n // pathPattern is a string with inline params, such as people/:id/*foo\n const exactReKeys = [];\n const exactRe = isPathMatchable\n ? pathToRegexp(pathPattern, exactReKeys)\n : null;\n const extendedPathReKeys = [];\n const isWildcard = pathPattern === '' || !isPathMatchable;\n const extendedPathRe = pathToRegexp(\n isWildcard ? '*' : `${pathPattern}/*`,\n extendedPathReKeys\n );\n\n pathsByRouteNames[routeName] = {\n exactRe,\n exactReKeys,\n extendedPathRe,\n extendedPathReKeys,\n isWildcard,\n toPath: pathPattern === null ? () => '' : compile(pathPattern),\n };\n });\n\n paths = Object.entries(pathsByRouteNames);\n\n const getActionForPathAndParams = (pathToResolve = '', inputParams = {}) => {\n // Attempt to match `pathToResolve` with a route in this router's routeConfigs, deferring to child routers\n\n for (const [routeName, path] of paths) {\n const { exactRe, exactReKeys, extendedPathRe, extendedPathReKeys } = path;\n const childRouter = childRouters[routeName];\n\n const exactMatch = exactRe && exactRe.exec(pathToResolve);\n\n if (exactMatch && exactMatch.length) {\n const extendedMatch =\n extendedPathRe && extendedPathRe.exec(pathToResolve);\n let childAction = null;\n if (extendedMatch && childRouter) {\n const restOfPath = getRestOfPath(extendedMatch, extendedPathReKeys);\n childAction = childRouter.getActionForPathAndParams(\n restOfPath,\n inputParams\n );\n }\n\n return NavigationActions.navigate({\n routeName,\n params: getParamsFromPath(inputParams, exactMatch, exactReKeys),\n action: childAction,\n });\n }\n }\n\n for (const [routeName, path] of paths) {\n const { extendedPathRe, extendedPathReKeys } = path;\n const childRouter = childRouters[routeName];\n\n const extendedMatch =\n extendedPathRe && extendedPathRe.exec(pathToResolve);\n\n if (extendedMatch && extendedMatch.length) {\n const restOfPath = getRestOfPath(extendedMatch, extendedPathReKeys);\n let childAction = null;\n if (childRouter) {\n childAction = childRouter.getActionForPathAndParams(\n restOfPath,\n inputParams\n );\n }\n if (!childAction) {\n continue;\n }\n return NavigationActions.navigate({\n routeName,\n params: getParamsFromPath(\n inputParams,\n extendedMatch,\n extendedPathReKeys\n ),\n action: childAction,\n });\n }\n }\n\n return null;\n };\n const getPathAndParamsForRoute = route => {\n const { routeName, params } = route;\n const childRouter = childRouters[routeName];\n const { toPath, exactReKeys } = pathsByRouteNames[routeName];\n const subPath = toPath(params);\n const nonPathParams = {};\n if (params) {\n Object.keys(params)\n .filter(paramName => !exactReKeys.find(k => k.name === paramName))\n .forEach(paramName => {\n nonPathParams[paramName] = params[paramName];\n });\n }\n if (childRouter) {\n // If it has a router it's a navigator.\n // If it doesn't have router it's an ordinary React component.\n const child = childRouter.getPathAndParamsForState(route);\n return {\n path: subPath ? `${subPath}/${child.path}` : child.path,\n params: child.params\n ? { ...nonPathParams, ...child.params }\n : nonPathParams,\n };\n }\n return {\n path: subPath,\n params: nonPathParams,\n };\n };\n return { getActionForPathAndParams, getPathAndParamsForRoute };\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));var Animation=function(){function Animation(){}var _proto=Animation.prototype;_proto.start=function start(fromValue,onUpdate,onEnd,previousAnimation,animatedValue){};_proto.stop=function stop(){if(this.__nativeId){_NativeAnimatedHelper.default.API.stopAnimation(this.__nativeId);}};_proto.__getNativeAnimationConfig=function __getNativeAnimationConfig(){throw new Error('This animation type cannot be offloaded to native');};_proto.__debouncedOnEnd=function __debouncedOnEnd(result){var onEnd=this.__onEnd;this.__onEnd=null;onEnd&&onEnd(result);};_proto.__startNativeAnimation=function __startNativeAnimation(animatedValue){animatedValue.__makeNative();this.__nativeId=_NativeAnimatedHelper.default.generateNewAnimationId();_NativeAnimatedHelper.default.API.startAnimatingNode(this.__nativeId,animatedValue.__getNativeTag(),this.__getNativeAnimationConfig(),this.__debouncedOnEnd.bind(this));};return Animation;}();var _default=Animation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/animations/Animation.js"],"names":["Animation","_proto","prototype","start","fromValue","onUpdate","onEnd","previousAnimation","animatedValue","stop","__nativeId","NativeAnimatedHelper","API","stopAnimation","__getNativeAnimationConfig","Error","__debouncedOnEnd","result","__onEnd","__startNativeAnimation","__makeNative","generateNewAnimationId","startAnimatingNode","__getNativeTag","bind"],"mappings":"AASA,a,mKAEA,qFAKA,GAAIA,CAAAA,SAAS,CAEb,UAAY,CACV,QAASA,CAAAA,SAAT,EAAqB,CAAE,CAEvB,GAAIC,CAAAA,MAAM,CAAGD,SAAS,CAACE,SAAvB,CAEAD,MAAM,CAACE,KAAP,CAAe,QAASA,CAAAA,KAAT,CAAeC,SAAf,CAA0BC,QAA1B,CAAoCC,KAApC,CAA2CC,iBAA3C,CAA8DC,aAA9D,CAA6E,CAAE,CAA9F,CAEAP,MAAM,CAACQ,IAAP,CAAc,QAASA,CAAAA,IAAT,EAAgB,CAC5B,GAAI,KAAKC,UAAT,CAAqB,CACnBC,8BAAqBC,GAArB,CAAyBC,aAAzB,CAAuC,KAAKH,UAA5C,EACD,CACF,CAJD,CAMAT,MAAM,CAACa,0BAAP,CAAoC,QAASA,CAAAA,0BAAT,EAAsC,CAGxE,KAAM,IAAIC,CAAAA,KAAJ,CAAU,mDAAV,CAAN,CACD,CAJD,CAOAd,MAAM,CAACe,gBAAP,CAA0B,QAASA,CAAAA,gBAAT,CAA0BC,MAA1B,CAAkC,CAC1D,GAAIX,CAAAA,KAAK,CAAG,KAAKY,OAAjB,CACA,KAAKA,OAAL,CAAe,IAAf,CACAZ,KAAK,EAAIA,KAAK,CAACW,MAAD,CAAd,CACD,CAJD,CAMAhB,MAAM,CAACkB,sBAAP,CAAgC,QAASA,CAAAA,sBAAT,CAAgCX,aAAhC,CAA+C,CAC7EA,aAAa,CAACY,YAAd,GAEA,KAAKV,UAAL,CAAkBC,8BAAqBU,sBAArB,EAAlB,CACAV,8BAAqBC,GAArB,CAAyBU,kBAAzB,CAA4C,KAAKZ,UAAjD,CAA6DF,aAAa,CAACe,cAAd,EAA7D,CAA6F,KAAKT,0BAAL,EAA7F,CAAgI,KAAKE,gBAAL,CAAsBQ,IAAtB,CAA2B,IAA3B,CAAhI,EACD,CALD,CAOA,MAAOxB,CAAAA,SAAP,CACD,CAlCD,EAFA,C,aAsCeA,S","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\n\n// Important note: start() and stop() will only be called at most once.\n// Once an animation has been stopped or finished its course, it will\n// not be reused.\nvar Animation =\n/*#__PURE__*/\nfunction () {\n function Animation() {}\n\n var _proto = Animation.prototype;\n\n _proto.start = function start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {};\n\n _proto.stop = function stop() {\n if (this.__nativeId) {\n NativeAnimatedHelper.API.stopAnimation(this.__nativeId);\n }\n };\n\n _proto.__getNativeAnimationConfig = function __getNativeAnimationConfig() {\n // Subclasses that have corresponding animation implementation done in native\n // should override this method\n throw new Error('This animation type cannot be offloaded to native');\n } // Helper function for subclasses to make sure onEnd is only called once.\n ;\n\n _proto.__debouncedOnEnd = function __debouncedOnEnd(result) {\n var onEnd = this.__onEnd;\n this.__onEnd = null;\n onEnd && onEnd(result);\n };\n\n _proto.__startNativeAnimation = function __startNativeAnimation(animatedValue) {\n animatedValue.__makeNative();\n\n this.__nativeId = NativeAnimatedHelper.generateNewAnimationId();\n NativeAnimatedHelper.API.startAnimatingNode(this.__nativeId, animatedValue.__getNativeTag(), this.__getNativeAnimationConfig(), this.__debouncedOnEnd.bind(this));\n };\n\n return Animation;\n}();\n\nexport default Animation;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _debounce=_interopRequireDefault(require(\"debounce\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var win=_ExecutionEnvironment.canUseDOM?window:{devicePixelRatio:undefined,innerHeight:undefined,innerWidth:undefined,screen:{height:undefined,width:undefined}};var dimensions={};var listeners={};var Dimensions=function(){function Dimensions(){}Dimensions.get=function get(dimension){(0,_invariant.default)(dimensions[dimension],\"No dimension set for key \"+dimension);return dimensions[dimension];};Dimensions.set=function set(initialDimensions){if(initialDimensions){if(_ExecutionEnvironment.canUseDOM){(0,_invariant.default)(false,'Dimensions cannot be set in the browser');}else{dimensions.screen=initialDimensions.screen;dimensions.window=initialDimensions.window;}}};Dimensions._update=function _update(){dimensions.window={fontScale:1,height:win.innerHeight,scale:win.devicePixelRatio||1,width:win.innerWidth};dimensions.screen={fontScale:1,height:win.screen.height,scale:win.devicePixelRatio||1,width:win.screen.width};if(Array.isArray(listeners['change'])){listeners['change'].forEach(function(handler){return handler(dimensions);});}};Dimensions.addEventListener=function addEventListener(type,handler){listeners[type]=listeners[type]||[];listeners[type].push(handler);};Dimensions.removeEventListener=function removeEventListener(type,handler){if(Array.isArray(listeners[type])){listeners[type]=listeners[type].filter(function(_handler){return _handler!==handler;});}};return Dimensions;}();exports.default=Dimensions;Dimensions._update();if(_ExecutionEnvironment.canUseDOM){window.addEventListener('resize',(0,_debounce.default)(Dimensions._update,16),false);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Dimensions/index.js"],"names":["win","canUseDOM","window","devicePixelRatio","undefined","innerHeight","innerWidth","screen","height","width","dimensions","listeners","Dimensions","get","dimension","set","initialDimensions","_update","fontScale","scale","Array","isArray","forEach","handler","addEventListener","type","push","removeEventListener","filter","_handler"],"mappings":"mKASA,mEACA,0DACA,qEACA,GAAIA,CAAAA,GAAG,CAAGC,gCAAYC,MAAZ,CAAqB,CAC7BC,gBAAgB,CAAEC,SADW,CAE7BC,WAAW,CAAED,SAFgB,CAG7BE,UAAU,CAAEF,SAHiB,CAI7BG,MAAM,CAAE,CACNC,MAAM,CAAEJ,SADF,CAENK,KAAK,CAAEL,SAFD,CAJqB,CAA/B,CASA,GAAIM,CAAAA,UAAU,CAAG,EAAjB,CACA,GAAIC,CAAAA,SAAS,CAAG,EAAhB,CAEA,GAAIC,CAAAA,UAAU,CAEd,UAAY,CACV,QAASA,CAAAA,UAAT,EAAsB,CAAE,CAExBA,UAAU,CAACC,GAAX,CAAiB,QAASA,CAAAA,GAAT,CAAaC,SAAb,CAAwB,CACvC,uBAAUJ,UAAU,CAACI,SAAD,CAApB,CAAiC,4BAA8BA,SAA/D,EACA,MAAOJ,CAAAA,UAAU,CAAC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AAD,CAAT,CAAgBC,IAAhB,CAAqBH,OAArB,EACD,CAHD,CAKAX,UAAU,CAACe,mBAAX,CAAiC,QAASA,CAAAA,mBAAT,CAA6BF,IAA7B,CAAmCF,OAAnC,CAA4C,CAC3E,GAAIH,KAAK,CAACC,OAAN,CAAcV,SAAS,CAACc,IAAD,CAAvB,CAAJ,CAAoC,CAClCd,SAAS,CAACc,IAAD,CAAT,CAAkBd,SAAS,CAACc,IAAD,CAAT,CAAgBG,MAAhB,CAAuB,SAAUC,QAAV,CAAoB,CAC3D,MAAOA,CAAAA,QAAQ,GAAKN,OAApB,CACD,CAFiB,CAAlB,CAGD,CACF,CAND,CAQA,MAAOX,CAAAA,UAAP,CACD,CAtDD,EAFA,C,2BA4DAA,UAAU,CAACK,OAAX,GAEA,GAAIhB,+BAAJ,CAAe,CACbC,MAAM,CAACsB,gBAAP,CAAwB,QAAxB,CAAkC,sBAASZ,UAAU,CAACK,OAApB,CAA6B,EAA7B,CAAlC,CAAoE,KAApE,EACD","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport debounce from 'debounce';\nimport invariant from 'fbjs/lib/invariant';\nvar win = canUseDOM ? window : {\n devicePixelRatio: undefined,\n innerHeight: undefined,\n innerWidth: undefined,\n screen: {\n height: undefined,\n width: undefined\n }\n};\nvar dimensions = {};\nvar listeners = {};\n\nvar Dimensions =\n/*#__PURE__*/\nfunction () {\n function Dimensions() {}\n\n Dimensions.get = function get(dimension) {\n invariant(dimensions[dimension], \"No dimension set for key \" + dimension);\n return dimensions[dimension];\n };\n\n Dimensions.set = function set(initialDimensions) {\n if (initialDimensions) {\n if (canUseDOM) {\n invariant(false, 'Dimensions cannot be set in the browser');\n } else {\n dimensions.screen = initialDimensions.screen;\n dimensions.window = initialDimensions.window;\n }\n }\n };\n\n Dimensions._update = function _update() {\n dimensions.window = {\n fontScale: 1,\n height: win.innerHeight,\n scale: win.devicePixelRatio || 1,\n width: win.innerWidth\n };\n dimensions.screen = {\n fontScale: 1,\n height: win.screen.height,\n scale: win.devicePixelRatio || 1,\n width: win.screen.width\n };\n\n if (Array.isArray(listeners['change'])) {\n listeners['change'].forEach(function (handler) {\n return handler(dimensions);\n });\n }\n };\n\n Dimensions.addEventListener = function addEventListener(type, handler) {\n listeners[type] = listeners[type] || [];\n listeners[type].push(handler);\n };\n\n Dimensions.removeEventListener = function removeEventListener(type, handler) {\n if (Array.isArray(listeners[type])) {\n listeners[type] = listeners[type].filter(function (_handler) {\n return _handler !== handler;\n });\n }\n };\n\n return Dimensions;\n}();\n\nexport { Dimensions as default };\n\nDimensions._update();\n\nif (canUseDOM) {\n window.addEventListener('resize', debounce(Dimensions._update, 16), false);\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});var _SQLite=require(\"./SQLite\");Object.keys(_SQLite).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _SQLite[key];}});});var _SQLite2=require(\"./SQLite.types\");Object.keys(_SQLite2).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _SQLite2[key];}});});","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"yDAAA,0NACA","sourcesContent":["export * from './SQLite';\nexport * from './SQLite.types';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=_interopRequireDefault(require(\"prop-types\"));var ImageURISourcePropType=_propTypes.default.shape({uri:_propTypes.default.string,bundle:_propTypes.default.string,method:_propTypes.default.string,headers:_propTypes.default.objectOf(_propTypes.default.string),body:_propTypes.default.string,cache:_propTypes.default.oneOf(['default','reload','force-cache','only-if-cached']),width:_propTypes.default.number,height:_propTypes.default.number,scale:_propTypes.default.number});var ImageSourcePropType=_propTypes.default.oneOfType([ImageURISourcePropType,_propTypes.default.number,_propTypes.default.string,_propTypes.default.arrayOf(ImageURISourcePropType)]);var _default=ImageSourcePropType;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Image/ImageSourcePropType.js"],"names":["ImageURISourcePropType","PropTypes","shape","uri","string","bundle","method","headers","objectOf","body","cache","oneOf","width","number","height","scale","ImageSourcePropType","oneOfType","arrayOf"],"mappings":"AAQA,a,mKAEA,6DACA,GAAIA,CAAAA,sBAAsB,CAAGC,mBAAUC,KAAV,CAAgB,CAO3CC,GAAG,CAAEF,mBAAUG,MAP4B,CAc3CC,MAAM,CAAEJ,mBAAUG,MAdyB,CAmB3CE,MAAM,CAAEL,mBAAUG,MAnByB,CAyB3CG,OAAO,CAAEN,mBAAUO,QAAV,CAAmBP,mBAAUG,MAA7B,CAzBkC,CAgC3CK,IAAI,CAAER,mBAAUG,MAhC2B,CAsD3CM,KAAK,CAAET,mBAAUU,KAAV,CAAgB,CAAC,SAAD,CAAY,QAAZ,CAAsB,aAAtB,CAAqC,gBAArC,CAAhB,CAtDoC,CA4D3CC,KAAK,CAAEX,mBAAUY,MA5D0B,CA6D3CC,MAAM,CAAEb,mBAAUY,MA7DyB,CAmE3CE,KAAK,CAAEd,mBAAUY,MAnE0B,CAAhB,CAA7B,CAqEA,GAAIG,CAAAA,mBAAmB,CAAGf,mBAAUgB,SAAV,CAAoB,CAACjB,sBAAD,CAC9CC,mBAAUY,MADoC,CAC5BZ,mBAAUG,MADkB,CAE9CH,mBAAUiB,OAAV,CAAkBlB,sBAAlB,CAF8C,CAApB,CAA1B,C,aAGegB,mB","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nimport PropTypes from 'prop-types';\nvar ImageURISourcePropType = PropTypes.shape({\n /**\n * `uri` is a string representing the resource identifier for the image, which\n * could be an http address, a local file path, or the name of a static image\n * resource (which should be wrapped in the `require('./path/to/image.png')`\n * function).\n */\n uri: PropTypes.string,\n\n /**\n * `bundle` is the iOS asset bundle which the image is included in. This\n * will default to [NSBundle mainBundle] if not set.\n * @platform ios\n */\n bundle: PropTypes.string,\n\n /**\n * `method` is the HTTP Method to use. Defaults to GET if not specified.\n */\n method: PropTypes.string,\n\n /**\n * `headers` is an object representing the HTTP headers to send along with the\n * request for a remote image.\n */\n headers: PropTypes.objectOf(PropTypes.string),\n\n /**\n * `body` is the HTTP body to send with the request. This must be a valid\n * UTF-8 string, and will be sent exactly as specified, with no\n * additional encoding (e.g. URL-escaping or base64) applied.\n */\n body: PropTypes.string,\n\n /**\n * `cache` determines how the requests handles potentially cached\n * responses.\n *\n * - `default`: Use the native platforms default strategy. `useProtocolCachePolicy` on iOS.\n *\n * - `reload`: The data for the URL will be loaded from the originating source.\n * No existing cache data should be used to satisfy a URL load request.\n *\n * - `force-cache`: The existing cached data will be used to satisfy the request,\n * regardless of its age or expiration date. If there is no existing data in the cache\n * corresponding the request, the data is loaded from the originating source.\n *\n * - `only-if-cached`: The existing cache data will be used to satisfy a request, regardless of\n * its age or expiration date. If there is no existing data in the cache corresponding\n * to a URL load request, no attempt is made to load the data from the originating source,\n * and the load is considered to have failed.\n *\n * @platform ios\n */\n cache: PropTypes.oneOf(['default', 'reload', 'force-cache', 'only-if-cached']),\n\n /**\n * `width` and `height` can be specified if known at build time, in which case\n * these will be used to set the default `<Image/>` component dimensions.\n */\n width: PropTypes.number,\n height: PropTypes.number,\n\n /**\n * `scale` is used to indicate the scale factor of the image. Defaults to 1.0 if\n * unspecified, meaning that one image pixel equates to one display point / DIP.\n */\n scale: PropTypes.number\n});\nvar ImageSourcePropType = PropTypes.oneOfType([ImageURISourcePropType, // Opaque type returned by require('./image.jpg')\nPropTypes.number, PropTypes.string, // Multiple sources\nPropTypes.arrayOf(ImageURISourcePropType)]);\nexport default ImageSourcePropType;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default={activate:function activate(){},deactivate:function deactivate(){}};exports.default=_default;","map":{"version":3,"sources":["../src/ExpoKeepAwake.web.ts"],"names":[],"mappings":"6FAAe,CACb,QADa,oBACL,CAAK,CADA,CAEb,UAFa,sBAEH,CAAK,CAFF,C","sourcesContent":["export default {\n activate() {},\n deactivate() {},\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _dismissKeyboard=_interopRequireDefault(require(\"../../modules/dismissKeyboard\"));var Keyboard={addListener:function addListener(){return{remove:function remove(){}};},dismiss:function dismiss(){(0,_dismissKeyboard.default)();},removeAllListeners:function removeAllListeners(){},removeListener:function removeListener(){}};var _default=Keyboard;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Keyboard/index.js"],"names":["Keyboard","addListener","remove","dismiss","removeAllListeners","removeListener"],"mappings":"mKASA,sFACA,GAAIA,CAAAA,QAAQ,CAAG,CACbC,WAAW,CAAE,QAASA,CAAAA,WAAT,EAAuB,CAClC,MAAO,CACLC,MAAM,CAAE,QAASA,CAAAA,MAAT,EAAkB,CAAE,CADvB,CAAP,CAGD,CALY,CAMbC,OAAO,CAAE,QAASA,CAAAA,OAAT,EAAmB,CAC1B,+BACD,CARY,CASbC,kBAAkB,CAAE,QAASA,CAAAA,kBAAT,EAA8B,CAAE,CATvC,CAUbC,cAAc,CAAE,QAASA,CAAAA,cAAT,EAA0B,CAAE,CAV/B,CAAf,C,aAYeL,Q","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport dismissKeyboard from '../../modules/dismissKeyboard';\nvar Keyboard = {\n addListener: function addListener() {\n return {\n remove: function remove() {}\n };\n },\n dismiss: function dismiss() {\n dismissKeyboard();\n },\n removeAllListeners: function removeAllListeners() {},\n removeListener: function removeListener() {}\n};\nexport default Keyboard;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _fontfaceobserver=_interopRequireDefault(require(\"fontfaceobserver\"));var _default={get name(){return'ExpoFontLoader';},loadAsync:function loadAsync(fontFamilyName,resource){var canInjectStyle=document.head&&typeof document.head.appendChild==='function';if(!canInjectStyle){throw new Error('E_FONT_CREATION_FAILED : document element cannot support injecting fonts');}var style=_createWebStyle(fontFamilyName,resource);document.head.appendChild(style);return new _fontfaceobserver.default(fontFamilyName).load();}};exports.default=_default;function _createWebStyle(fontFamily,resource){var fontStyle=\"@font-face {\\n font-family: \"+fontFamily+\";\\n src: url(\"+resource+\");\\n }\";var styleElement=document.createElement('style');styleElement.type='text/css';if(styleElement.styleSheet){styleElement.styleSheet.cssText=fontStyle;}else{var textNode=document.createTextNode(fontStyle);styleElement.appendChild(textNode);}return styleElement;}","map":{"version":3,"sources":["../src/ExpoFontLoader.web.ts"],"names":[],"mappings":"mKAAA,0E,aAEe,CACb,GAAI,CAAA,IAAJ,EAAQ,CACN,MAAO,gBAAP,CACD,CAHY,CAKb,SALa,oBAKH,cALG,CAKqB,QALrB,CAKqC,CAChD,GAAM,CAAA,cAAc,CAAG,QAAQ,CAAC,IAAT,EAAiB,MAAO,CAAA,QAAQ,CAAC,IAAT,CAAc,WAArB,GAAqC,UAA7E,CACA,GAAI,CAAC,cAAL,CAAqB,CACnB,KAAM,IAAI,CAAA,KAAJ,CAAU,0EAAV,CAAN,CACD,CAED,GAAM,CAAA,KAAK,CAAG,eAAe,CAAC,cAAD,CAAiB,QAAjB,CAA7B,CACA,QAAQ,CAAC,IAAT,CAAe,WAAf,CAA2B,KAA3B,EACA,MAAO,IAAI,0BAAJ,CAAiB,cAAjB,EAAiC,IAAjC,EAAP,CACD,CAdY,C,0BAiBf,QAAS,CAAA,eAAT,CAAyB,UAAzB,CAA6C,QAA7C,CAA6D,CAC3D,GAAM,CAAA,SAAS,mCACE,UADF,oBAEF,QAFE,UAAf,CAKA,GAAM,CAAA,YAAY,CAAG,QAAQ,CAAC,aAAT,CAAuB,OAAvB,CAArB,CACA,YAAY,CAAC,IAAb,CAAoB,UAApB,CAGA,GAAI,YAAY,CAAC,UAAjB,CAA6B,CAE3B,YAAY,CAAC,UAAb,CAAwB,OAAxB,CAAkC,SAAlC,CACD,CAHD,IAGO,CACL,GAAM,CAAA,QAAQ,CAAG,QAAQ,CAAC,cAAT,CAAwB,SAAxB,CAAjB,CACA,YAAY,CAAC,WAAb,CAAyB,QAAzB,EACD,CACD,MAAO,CAAA,YAAP,CACD","sourcesContent":["import FontObserver from 'fontfaceobserver';\n\nexport default {\n get name(): string {\n return 'ExpoFontLoader';\n },\n\n loadAsync(fontFamilyName: string, resource: string): Promise<void> {\n const canInjectStyle = document.head && typeof document.head.appendChild === 'function';\n if (!canInjectStyle) {\n throw new Error('E_FONT_CREATION_FAILED : document element cannot support injecting fonts');\n }\n\n const style = _createWebStyle(fontFamilyName, resource);\n document.head!.appendChild(style);\n return new FontObserver(fontFamilyName).load();\n },\n};\n\nfunction _createWebStyle(fontFamily: string, resource: string): HTMLStyleElement {\n const fontStyle = `@font-face {\n font-family: ${fontFamily};\n src: url(${resource});\n }`;\n\n const styleElement = document.createElement('style');\n styleElement.type = 'text/css';\n // @ts-ignore: TypeScript does not define HTMLStyleElement::styleSheet. This is just for IE and\n // possibly can be removed if it's unnecessary on IE 11.\n if (styleElement.styleSheet) {\n // @ts-ignore\n styleElement.styleSheet.cssText = fontStyle;\n } else {\n const textNode = document.createTextNode(fontStyle);\n styleElement.appendChild(textNode);\n }\n return styleElement;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"module.exports={get createAppContainer(){return require(\"./createAppContainer\").default;},get createKeyboardAwareNavigator(){return require(\"./createKeyboardAwareNavigator\").default;},get createNavigationAwareScrollable(){return require(\"./createNavigationAwareScrollable\").default;},get withOrientation(){return require(\"./withOrientation\").default;},get ResourceSavingSceneView(){return require(\"./ResourceSavingSceneView\").default;},get SafeAreaView(){return require('react-native-safe-area-view').default;},get ScrollView(){return require(\"./Scrollables\").ScrollView;},get FlatList(){return require(\"./Scrollables\").FlatList;},get SectionList(){return require(\"./Scrollables\").SectionList;},get Themed(){return require(\"./Themed\").default;}};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/index.js"],"names":["module","exports","createAppContainer","require","default","createKeyboardAwareNavigator","createNavigationAwareScrollable","withOrientation","ResourceSavingSceneView","SafeAreaView","ScrollView","FlatList","SectionList","Themed"],"mappings":"AAEAA,MAAM,CAACC,OAAP,CAAiB,CACf,GAAIC,CAAAA,kBAAJ,EAAyB,CACvB,MAAOC,CAAAA,OAAO,wBAAP,CAAgCC,OAAvC,CACD,CAHc,CAKf,GAAIC,CAAAA,4BAAJ,EAAmC,CACjC,MAAOF,CAAAA,OAAO,kCAAP,CAA0CC,OAAjD,CACD,CAPc,CASf,GAAIE,CAAAA,+BAAJ,EAAsC,CACpC,MAAOH,CAAAA,OAAO,qCAAP,CAA6CC,OAApD,CACD,CAXc,CAaf,GAAIG,CAAAA,eAAJ,EAAsB,CACpB,MAAOJ,CAAAA,OAAO,qBAAP,CAA6BC,OAApC,CACD,CAfc,CAiBf,GAAII,CAAAA,uBAAJ,EAA8B,CAC5B,MAAOL,CAAAA,OAAO,6BAAP,CAAqCC,OAA5C,CACD,CAnBc,CAqBf,GAAIK,CAAAA,YAAJ,EAAmB,CACjB,MAAON,CAAAA,OAAO,CAAC,6BAAD,CAAP,CAAuCC,OAA9C,CACD,CAvBc,CAyBf,GAAIM,CAAAA,UAAJ,EAAiB,CACf,MAAOP,CAAAA,OAAO,iBAAP,CAAyBO,UAAhC,CACD,CA3Bc,CA6Bf,GAAIC,CAAAA,QAAJ,EAAe,CACb,MAAOR,CAAAA,OAAO,iBAAP,CAAyBQ,QAAhC,CACD,CA/Bc,CAiCf,GAAIC,CAAAA,WAAJ,EAAkB,CAChB,MAAOT,CAAAA,OAAO,iBAAP,CAAyBS,WAAhC,CACD,CAnCc,CAoCf,GAAIC,CAAAA,MAAJ,EAAa,CACX,MAAOV,CAAAA,OAAO,YAAP,CAAoBC,OAA3B,CACD,CAtCc,CAAjB","sourcesContent":["/* eslint-disable import/no-commonjs */\n\nmodule.exports = {\n get createAppContainer() {\n return require('./createAppContainer').default;\n },\n\n get createKeyboardAwareNavigator() {\n return require('./createKeyboardAwareNavigator').default;\n },\n\n get createNavigationAwareScrollable() {\n return require('./createNavigationAwareScrollable').default;\n },\n\n get withOrientation() {\n return require('./withOrientation').default;\n },\n\n get ResourceSavingSceneView() {\n return require('./ResourceSavingSceneView').default;\n },\n\n get SafeAreaView() {\n return require('react-native-safe-area-view').default;\n },\n\n get ScrollView() {\n return require('./Scrollables').ScrollView;\n },\n\n get FlatList() {\n return require('./Scrollables').FlatList;\n },\n\n get SectionList() {\n return require('./Scrollables').SectionList;\n },\n get Themed() {\n return require('./Themed').default;\n }\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.sendSearch=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _filter=_interopRequireDefault(require(\"./filter\"));var axios=require('axios');var sendSearch=function sendSearch(searchText){return _regenerator.default.async(function sendSearch$(_context){while(1){switch(_context.prev=_context.next){case 0:return _context.abrupt(\"return\",new Promise(function(resolve,reject){if(searchText===\"\"||searchText.length>30){resolve({\"return_code\":-1,\"error_code\":\"검색 단어를 확인해 주세요!\"});}else{axios({headers:{\"Accept\":\"application/json\",\"Content-Type\":\"application/json\"},url:'http://34.84.91.190:80/api/cliConnection',data:{data:{text:searchText.replace(/\\s{1,}/g,' ')}},method:\"POST\"}).then(function(response){resolve((0,_filter.default)(response.data));clearTimeout(timer);}).catch(function(error){clearTimeout(timer);throw new Error(error);});}var timer=setTimeout(function(){throw new Error(\"time out\");},10000);}));case 1:case\"end\":return _context.stop();}}});};exports.sendSearch=sendSearch;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/lib/api.js"],"names":["axios","require","sendSearch","searchText","Promise","resolve","reject","length","headers","url","data","text","replace","method","then","response","clearTimeout","timer","catch","error","Error","setTimeout"],"mappings":"qPACA,wDADA,GAAMA,CAAAA,KAAK,CAAGC,OAAO,CAAC,OAAD,CAArB,CAGO,GAAMC,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,CAAMC,UAAN,uJACf,GAAIC,CAAAA,OAAJ,CAAY,SAACC,OAAD,CAASC,MAAT,CAAoB,CACrC,GAAGH,UAAU,GAAI,EAAd,EAAoBA,UAAU,CAACI,MAAX,CAAoB,EAA3C,CAA+C,CAC7CF,OAAO,CAAC,CAAE,cAAgB,CAAC,CAAnB,CAAsB,aAAc,iBAApC,CAAD,CAAP,CACD,CAFD,IAEM,CACJL,KAAK,CACH,CACEQ,OAAO,CAAE,CACP,SAAU,kBADH,CAEP,eAAgB,kBAFT,CADX,CAKEC,GAAG,CAAE,0CALP,CAMEC,IAAI,CAAE,CACJA,IAAI,CAAC,CACHC,IAAI,CAAER,UAAU,CAACS,OAAX,CAAmB,SAAnB,CAA6B,GAA7B,CADH,CADD,CANR,CAWEC,MAAM,CAAE,MAXV,CADG,CAAL,CAeCC,IAfD,CAeM,SAACC,QAAD,CAAY,CAChBV,OAAO,CAAC,oBAAOU,QAAQ,CAACL,IAAhB,CAAD,CAAP,CACAM,YAAY,CAACC,KAAD,CAAZ,CACD,CAlBD,EAmBCC,KAnBD,CAmBO,SAAAC,KAAK,CAAI,CACdH,YAAY,CAACC,KAAD,CAAZ,CACA,KAAM,IAAIG,CAAAA,KAAJ,CAAUD,KAAV,CAAN,CACD,CAtBD,EAuBD,CACD,GAAIF,CAAAA,KAAK,CAAGI,UAAU,CAAE,UAAM,CAC1B,KAAM,IAAID,CAAAA,KAAJ,CAAW,UAAX,CAAN,CAA+B,CADb,CACe,KADf,CAAtB,CAED,CA9BM,CADe,gDAAnB,C","sourcesContent":["const axios = require('axios')\r\nimport filter from './filter';\r\n\r\nexport const sendSearch = async(searchText) => {\r\n return new Promise((resolve,reject) => {\r\n if(searchText=== \"\" || searchText.length > 30 ){\r\n resolve({ \"return_code\" : -1, \"error_code\": \"검색 단어를 확인해 주세요!\" });\r\n } else{\r\n axios(\r\n {\r\n headers: {\r\n \"Accept\": \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n url: 'http://34.84.91.190:80/api/cliConnection',\r\n data: {\r\n data:{\r\n text: searchText.replace(/\\s{1,}/g,' ')\r\n }\r\n },\r\n method: \"POST\",\r\n }\r\n )\r\n .then((response)=>{\r\n resolve(filter(response.data))\r\n clearTimeout(timer);\r\n })\r\n .catch(error => {\r\n clearTimeout(timer);\r\n throw new Error(error);\r\n });\r\n }\r\n let timer = setTimeout( () => {\r\n throw new Error( \"time out\" );} ,10000)\r\n })\r\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _Notifications=require(\"./Notifications\");var _ExponentNotificationsHelper=require(\"./ExponentNotificationsHelper.web\");if(_ExecutionEnvironment.canUseDOM&&'serviceWorker'in navigator){navigator.serviceWorker.addEventListener('message',function(event){(0,_Notifications.emitNotification)(event.data);});navigator.serviceWorker.addEventListener('pushsubscriptionchange',function _callee(event){return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap((0,_ExponentNotificationsHelper.getExponentPushTokenAsync)());case 2:case\"end\":return _context.stop();}}});});}","map":{"version":3,"sources":["../../src/Notifications/ExponentNotifications.fx.web.ts"],"names":[],"mappings":"kKAAA,mEACA,8CACA,8EAEA,GAAI,iCAAa,iBAAmB,CAAA,SAApC,CAA+C,CAC7C,SAAS,CAAC,aAAV,CAAwB,gBAAxB,CAAyC,SAAzC,CAAoD,SAAA,KAAK,CAAG,CAC1D,oCAAiB,KAAK,CAAC,IAAvB,EACD,CAFD,EAIA,SAAS,CAAC,aAAV,CAAwB,gBAAxB,CAAyC,wBAAzC,CAAmE,iBAAM,KAAN,sKAE3D,4DAF2D,gDAAnE,EAID","sourcesContent":["import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport { emitNotification } from './Notifications';\nimport { getExponentPushTokenAsync } from './ExponentNotificationsHelper.web';\n\nif (canUseDOM && 'serviceWorker' in navigator) {\n navigator.serviceWorker.addEventListener('message', event => {\n emitNotification(event.data);\n });\n\n navigator.serviceWorker.addEventListener('pushsubscriptionchange', async event => {\n // Updates Expo token with new device token.\n await getExponentPushTokenAsync();\n });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _AppTabContainer=_interopRequireDefault(require(\"../AppTabContainer/AppTabContainer\"));var _reactRedux=require(\"react-redux\");var _Loading=_interopRequireDefault(require(\"../Loading/Loading\"));var Main=function Main(_ref){var isLoading=_ref.isLoading;return _react.default.createElement(_react.default.Fragment,null,isLoading&&_react.default.createElement(_Loading.default,null),_react.default.createElement(_AppTabContainer.default,null));};var MainContainer=function MainContainer(_ref2){var isLoading=_ref2.isLoading;return _react.default.createElement(Main,{isLoading:isLoading});};var _default=(0,_reactRedux.connect)(function(_ref3){var search=_ref3.search;return{isLoading:search.isLoading};})(MainContainer);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/Main/Main.js"],"names":["Main","isLoading","MainContainer","search"],"mappings":"mKAAA,oDACA,2FACA,uCACA,mEAEA,GAAMA,CAAAA,IAAI,CAAG,QAAPA,CAAAA,IAAO,MAAkB,IAAfC,CAAAA,SAAe,MAAfA,SAAe,CAC3B,MACI,2DACEA,SAAS,EAAK,6BAAC,gBAAD,MADhB,CAEA,6BAAC,wBAAD,MAFA,CADJ,CAMH,CAPD,CASA,GAAMC,CAAAA,aAAa,CAAG,QAAhBA,CAAAA,aAAgB,OAAiB,IAAfD,CAAAA,SAAe,OAAfA,SAAe,CACnC,MAAO,8BAAC,IAAD,EAAM,SAAS,CAAEA,SAAjB,EAAP,CACH,CAFD,C,aAIe,wBACX,mBAAEE,CAAAA,MAAF,OAAEA,MAAF,OAAa,CAACF,SAAS,CAACE,MAAM,CAACF,SAAlB,CAAb,EADW,EAEbC,aAFa,C","sourcesContent":["import React from 'react';\r\nimport AppTabContainer from '../AppTabContainer/AppTabContainer';\r\nimport { connect } from 'react-redux';\r\nimport Loading from '../Loading/Loading';\r\n\r\nconst Main = ({ isLoading}) => {\r\n return (\r\n <>\r\n { isLoading && (<Loading />) } \r\n <AppTabContainer />\r\n </>\r\n )\r\n}\r\n\r\nconst MainContainer = ({isLoading}) => {\r\n return(<Main isLoading={isLoading} />)\r\n}\r\n \r\nexport default connect(\r\n ({search})=>({isLoading:search.isLoading})\r\n)(MainContainer);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var isWebColor=function isWebColor(color){return color==='currentcolor'||color==='currentColor'||color==='inherit'||color.indexOf('var(')===0;};var _default=isWebColor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/isWebColor/index.js"],"names":["isWebColor","color","indexOf"],"mappings":"gFAQA,GAAIA,CAAAA,UAAU,CAAG,QAASA,CAAAA,UAAT,CAAoBC,KAApB,CAA2B,CAC1C,MAAOA,CAAAA,KAAK,GAAK,cAAV,EAA4BA,KAAK,GAAK,cAAtC,EAAwDA,KAAK,GAAK,SAAlE,EAA+EA,KAAK,CAACC,OAAN,CAAc,MAAd,IAA0B,CAAhH,CACD,CAFD,C,aAIeF,U","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar isWebColor = function isWebColor(color) {\n return color === 'currentcolor' || color === 'currentColor' || color === 'inherit' || color.indexOf('var(') === 0;\n};\n\nexport default isWebColor;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _Feather=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/Feather.ttf\"));var _Feather2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/Feather.json\"));var _default=(0,_createIconSet.default)(_Feather2.default,'feather',_Feather.default);exports.default=_default;","map":{"version":3,"sources":["../src/Feather.ts"],"names":[],"mappings":"mKAAA,sEACA,qGACA,2G,aAEe,2BAAc,iBAAd,CAAwB,SAAxB,CAAmC,gBAAnC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Feather.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Feather.json';\n\nexport default createIconSet(glyphMap, 'feather', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _qs=_interopRequireDefault(require(\"qs\"));var _LinkingModule=_interopRequireDefault(require(\"./LinkingModule\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var manifest=_expoConstants.default.manifest;var USES_CUSTOM_SCHEME=_expoConstants.default.appOwnership==='standalone'&&manifest.scheme;var HOST_URI=manifest.hostUri;if(!HOST_URI&&!USES_CUSTOM_SCHEME){HOST_URI=_removeScheme(_expoConstants.default.linkingUri).replace(/\\/--($|\\/.*$)/,'');}var IS_EXPO_HOSTED=HOST_URI&&(/^(.*\\.)?(expo\\.io|exp\\.host|exp\\.direct|expo\\.test)(:.*)?(\\/.*)?$/.test(HOST_URI)||manifest.developer);function _removeScheme(url){return url.replace(/^[a-zA-Z0-9+.-]+:\\/\\//,'');}function _removePort(url){return url.replace(/(?=([a-zA-Z0-9+.-]+:\\/\\/)?[^/]):\\d+/,'');}function _removeLeadingSlash(url){return url.replace(/^\\//,'');}function _removeTrailingSlash(url){return url.replace(/\\/$/,'');}function _removeTrailingSlashAndQueryString(url){return url.replace(/\\/?\\?.*$/,'');}function makeUrl(){var path=arguments.length>0&&arguments[0]!==undefined?arguments[0]:'';var queryParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var scheme='exp';if(_expoConstants.default.appOwnership==='standalone'){scheme=manifest.scheme||manifest.detach&&manifest.detach.scheme;}if(!scheme){throw new Error('Cannot make a deep link into a standalone app with no custom scheme defined');}var hostUri=HOST_URI||'';if(USES_CUSTOM_SCHEME&&IS_EXPO_HOSTED){hostUri='';}if(path){if(IS_EXPO_HOSTED&&hostUri){path=\"/--/\"+_removeLeadingSlash(path);}if(!path.startsWith('/')&&hostUri){path=\"/\"+path;}else if(path.startsWith('/')&&!hostUri){path=path.substr(1);}}else{path='';}var queryString='';var queryStringMatchResult=hostUri.match(/(.*)\\?(.+)/);if(queryStringMatchResult){hostUri=queryStringMatchResult[1];queryString=queryStringMatchResult[2];var paramsFromHostUri={};try{var parsedParams=_qs.default.parse(queryString);if(typeof parsedParams==='object'){paramsFromHostUri=parsedParams;}}catch(e){}queryParams=_objectSpread({},queryParams,{},paramsFromHostUri);}queryString=_qs.default.stringify(queryParams);if(queryString){queryString=\"?\"+queryString;}hostUri=_removeTrailingSlash(hostUri);return encodeURI(scheme+\"://\"+hostUri+path+queryString);}function parse(url){if(!url){throw new Error('parse cannot be called with a null value');}var decodedUrl=_removePort(decodeURI(url));var path;var queryParams={};var queryStringMatchResult=decodedUrl.match(/(.*)\\?(.+)/);if(queryStringMatchResult){decodedUrl=queryStringMatchResult[1];queryParams=_qs.default.parse(queryStringMatchResult[2]);}var hostUri=HOST_URI||'';var hostUriStripped=_removePort(_removeTrailingSlashAndQueryString(hostUri));if(hostUriStripped&&decodedUrl.indexOf(hostUriStripped)>-1){path=decodedUrl.substr(decodedUrl.indexOf(hostUriStripped)+hostUriStripped.length);}else{path=_removeScheme(decodedUrl);}path=_removeLeadingSlash(path);if(IS_EXPO_HOSTED&&!USES_CUSTOM_SCHEME&&path.startsWith('--/')){path=path.substr(3);}else if(path.indexOf('+')>-1){path=path.substr(path.indexOf('+')+1);}return{path:path,queryParams:queryParams};}function parseInitialURLAsync(){var initialUrl;return _regenerator.default.async(function parseInitialURLAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(_LinkingModule.default.getInitialURL());case 2:initialUrl=_context.sent;if(initialUrl){_context.next=5;break;}return _context.abrupt(\"return\",{path:null,queryParams:null});case 5:return _context.abrupt(\"return\",parse(initialUrl));case 6:case\"end\":return _context.stop();}}});}var newLinking=new _LinkingModule.default.constructor();newLinking.makeUrl=makeUrl;newLinking.parse=parse;newLinking.parseInitialURLAsync=parseInitialURLAsync;var _default=newLinking;exports.default=_default;","map":{"version":3,"sources":["../../src/Linking/Linking.ts"],"names":[],"mappings":"gVAAA,qEACA,8CAGA,sE,4xBAEQ,CAAA,Q,CAAa,sB,CAAb,Q,CAER,GAAM,CAAA,kBAAkB,CAAG,uBAAU,YAAV,GAA2B,YAA3B,EAA2C,QAAQ,CAAC,MAA/E,CAEA,GAAI,CAAA,QAAQ,CAAG,QAAQ,CAAC,OAAxB,CACA,GAAI,CAAC,QAAD,EAAa,CAAC,kBAAlB,CAAsC,CAGpC,QAAQ,CAAG,aAAa,CAAC,uBAAU,UAAX,CAAb,CAAoC,OAApC,CAA4C,eAA5C,CAA6D,EAA7D,CAAX,CACD,CACD,GAAM,CAAA,cAAc,CAClB,QAAQ,GACP,oEAAoE,IAApE,CAAyE,QAAzE,GACC,QAAQ,CAAC,SAFH,CADV,CAKA,QAAS,CAAA,aAAT,CAAuB,GAAvB,CAA0B,CACxB,MAAO,CAAA,GAAG,CAAC,OAAJ,CAAY,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,OAAX,CAAqB,OAArB,CACA,UAAU,CAAC,KAAX,CAAmB,KAAnB,CACA,UAAU,CAAC,oBAAX,CAAkC,oBAAlC,C,aAEe,U","sourcesContent":["import Constants from 'expo-constants';\nimport qs from 'qs';\n\nimport { ParsedURL } from './Linking.types';\nimport Linking from './LinkingModule';\n\nconst { manifest } = Constants;\n\nconst USES_CUSTOM_SCHEME = Constants.appOwnership === 'standalone' && manifest.scheme;\n\nlet HOST_URI = manifest.hostUri;\nif (!HOST_URI && !USES_CUSTOM_SCHEME) {\n // we're probably not using up-to-date xdl, so just fake it for now\n // we have to remove the /--/ on the end since this will be inserted again later\n HOST_URI = _removeScheme(Constants.linkingUri).replace(/\\/--($|\\/.*$)/, '');\n}\nconst IS_EXPO_HOSTED =\n HOST_URI &&\n (/^(.*\\.)?(expo\\.io|exp\\.host|exp\\.direct|expo\\.test)(:.*)?(\\/.*)?$/.test(HOST_URI) ||\n manifest.developer);\n\nfunction _removeScheme(url) {\n return url.replace(/^[a-zA-Z0-9+.-]+:\\/\\//, '');\n}\n\nfunction _removePort(url) {\n return url.replace(/(?=([a-zA-Z0-9+.-]+:\\/\\/)?[^/]):\\d+/, '');\n}\n\nfunction _removeLeadingSlash(url) {\n return url.replace(/^\\//, '');\n}\n\nfunction _removeTrailingSlash(url) {\n return url.replace(/\\/$/, '');\n}\n\nfunction _removeTrailingSlashAndQueryString(url) {\n return url.replace(/\\/?\\?.*$/, '');\n}\n\nfunction makeUrl(path: string = '', queryParams: Object = {}): string {\n let scheme = 'exp';\n if (Constants.appOwnership === 'standalone') {\n scheme = manifest.scheme || (manifest.detach && manifest.detach.scheme);\n }\n if (!scheme) {\n throw new Error('Cannot make a deep link into a standalone app with no custom scheme defined');\n }\n\n let hostUri = HOST_URI || '';\n if (USES_CUSTOM_SCHEME && IS_EXPO_HOSTED) {\n hostUri = '';\n }\n\n if (path) {\n if (IS_EXPO_HOSTED && hostUri) {\n path = `/--/${_removeLeadingSlash(path)}`;\n }\n\n if (!path.startsWith('/') && hostUri) {\n path = `/${path}`;\n } else if (path.startsWith('/') && !hostUri) {\n path = path.substr(1);\n }\n } else {\n path = '';\n }\n\n // merge user-provided query params with any that were already in the hostUri\n // e.g. release-channel\n let queryString = '';\n let queryStringMatchResult = hostUri.match(/(.*)\\?(.+)/);\n if (queryStringMatchResult) {\n hostUri = queryStringMatchResult[1];\n queryString = queryStringMatchResult[2];\n let paramsFromHostUri = {};\n try {\n let parsedParams = qs.parse(queryString);\n if (typeof parsedParams === 'object') {\n paramsFromHostUri = parsedParams;\n }\n } catch (e) {}\n queryParams = {\n ...queryParams,\n ...paramsFromHostUri,\n };\n }\n queryString = qs.stringify(queryParams);\n if (queryString) {\n queryString = `?${queryString}`;\n }\n\n hostUri = _removeTrailingSlash(hostUri);\n\n return encodeURI(`${scheme}://${hostUri}${path}${queryString}`);\n}\n\nfunction parse(url: string): ParsedURL {\n if (!url) {\n throw new Error('parse cannot be called with a null value');\n }\n // iOS client sometimes strips out the port from the initial URL\n // even when it's included in the hostUri.\n // This function should be able to handle both cases, so we strip off the port\n // both here and from the hostUri.\n let decodedUrl = _removePort(decodeURI(url));\n let path: string;\n let queryParams = {};\n\n let queryStringMatchResult = decodedUrl.match(/(.*)\\?(.+)/);\n if (queryStringMatchResult) {\n decodedUrl = queryStringMatchResult[1];\n queryParams = qs.parse(queryStringMatchResult[2]);\n }\n\n // strip off the hostUri from the host and path\n let hostUri = HOST_URI || '';\n let hostUriStripped = _removePort(_removeTrailingSlashAndQueryString(hostUri));\n if (hostUriStripped && decodedUrl.indexOf(hostUriStripped) > -1) {\n path = decodedUrl.substr(decodedUrl.indexOf(hostUriStripped) + hostUriStripped.length);\n } else {\n path = _removeScheme(decodedUrl);\n }\n\n path = _removeLeadingSlash(path);\n\n if (IS_EXPO_HOSTED && !USES_CUSTOM_SCHEME && path.startsWith('--/')) {\n path = path.substr(3);\n } else if (path.indexOf('+') > -1) {\n path = path.substr(path.indexOf('+') + 1);\n }\n\n return { path, queryParams };\n}\n\nasync function parseInitialURLAsync(): Promise<ParsedURL> {\n const initialUrl = await Linking.getInitialURL();\n if (!initialUrl) {\n return {\n path: null,\n queryParams: null,\n };\n }\n\n return parse(initialUrl);\n}\n\n// @ts-ignore fix this...\nlet newLinking = new Linking.constructor();\n\nnewLinking.makeUrl = makeUrl;\nnewLinking.parse = parse;\nnewLinking.parseInitialURLAsync = parseInitialURLAsync;\n\nexport default newLinking;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _Entypo=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/Entypo.ttf\"));var _Entypo2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/Entypo.json\"));var _default=(0,_createIconSet.default)(_Entypo2.default,'entypo',_Entypo.default);exports.default=_default;","map":{"version":3,"sources":["../src/Entypo.ts"],"names":[],"mappings":"mKAAA,sEACA,mGACA,yG,aAEe,2BAAc,gBAAd,CAAwB,QAAxB,CAAkC,eAAlC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Entypo.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Entypo.json';\n\nexport default createIconSet(glyphMap, 'entypo', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createReactClass=_interopRequireDefault(require(\"create-react-class\"));var _EdgeInsetsPropType=_interopRequireDefault(require(\"../EdgeInsetsPropType\"));var _ensurePositiveDelayProps=_interopRequireDefault(require(\"../Touchable/ensurePositiveDelayProps\"));var _react=_interopRequireDefault(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _reactTimerMixin=_interopRequireDefault(require(\"react-timer-mixin\"));var _Touchable=_interopRequireDefault(require(\"../Touchable\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _warning=_interopRequireDefault(require(\"fbjs/lib/warning\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}var PRESS_RETENTION_OFFSET={top:20,left:20,right:20,bottom:30};var TouchableWithoutFeedback=(0,_createReactClass.default)({displayName:'TouchableWithoutFeedback',mixins:[_reactTimerMixin.default,_Touchable.default.Mixin],propTypes:{accessibilityComponentType:_ViewPropTypes.default.accessibilityComponentType,accessibilityLabel:_propTypes.string,accessibilityRole:_ViewPropTypes.default.accessibilityRole,accessibilityTraits:_ViewPropTypes.default.accessibilityTraits,accessible:_propTypes.bool,children:_propTypes.any,delayLongPress:_propTypes.number,delayPressIn:_propTypes.number,delayPressOut:_propTypes.number,disabled:_propTypes.bool,hitSlop:_EdgeInsetsPropType.default,onLayout:_propTypes.func,onLongPress:_propTypes.func,onPress:_propTypes.func,onPressIn:_propTypes.func,onPressOut:_propTypes.func,pressRetentionOffset:_EdgeInsetsPropType.default,testID:_propTypes.string},getInitialState:function getInitialState(){return this.touchableGetInitialState();},componentDidMount:function componentDidMount(){(0,_ensurePositiveDelayProps.default)(this.props);},componentWillReceiveProps:function componentWillReceiveProps(nextProps){(0,_ensurePositiveDelayProps.default)(nextProps);},touchableHandlePress:function touchableHandlePress(e){this.props.onPress&&this.props.onPress(e);},touchableHandleActivePressIn:function touchableHandleActivePressIn(e){this.props.onPressIn&&this.props.onPressIn(e);},touchableHandleActivePressOut:function touchableHandleActivePressOut(e){this.props.onPressOut&&this.props.onPressOut(e);},touchableHandleLongPress:function touchableHandleLongPress(e){this.props.onLongPress&&this.props.onLongPress(e);},touchableGetPressRectOffset:function touchableGetPressRectOffset(){return this.props.pressRetentionOffset||PRESS_RETENTION_OFFSET;},touchableGetHitSlop:function touchableGetHitSlop(){return this.props.hitSlop;},touchableGetHighlightDelayMS:function touchableGetHighlightDelayMS(){return this.props.delayPressIn||0;},touchableGetLongPressDelayMS:function touchableGetLongPressDelayMS(){return this.props.delayLongPress===0?0:this.props.delayLongPress||500;},touchableGetPressOutDelayMS:function touchableGetPressOutDelayMS(){return this.props.delayPressOut||0;},render:function render(){var _this$props=this.props,delayLongPress=_this$props.delayLongPress,delayPressIn=_this$props.delayPressIn,delayPressOut=_this$props.delayPressOut,onLongPress=_this$props.onLongPress,onPress=_this$props.onPress,onPressIn=_this$props.onPressIn,onPressOut=_this$props.onPressOut,pressRetentionOffset=_this$props.pressRetentionOffset,other=_objectWithoutPropertiesLoose(_this$props,[\"delayLongPress\",\"delayPressIn\",\"delayPressOut\",\"onLongPress\",\"onPress\",\"onPressIn\",\"onPressOut\",\"pressRetentionOffset\"]);var child=_react.default.Children.only(this.props.children);var children=child.props.children;(0,_warning.default)(!child.type||child.type.displayName!=='Text','TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See '+(child._owner&&child._owner.getName&&child._owner.getName()||'<unknown>'));if(process.env.NODE_ENV!=='production'&&_Touchable.default.TOUCH_TARGET_DEBUG&&child.type&&child.type.displayName==='View'){children=_react.default.Children.toArray(children);children.push(_Touchable.default.renderDebugView({color:'red',hitSlop:this.props.hitSlop}));}var style=_Touchable.default.TOUCH_TARGET_DEBUG&&child.type&&child.type.displayName==='Text'?[!this.props.disabled&&styles.actionable,child.props.style,{color:'red'}]:[!this.props.disabled&&styles.actionable,child.props.style];return _react.default.cloneElement(child,_objectSpread({},other,{accessible:this.props.accessible!==false,children:children,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:style}));}});var styles=_StyleSheet.default.create({actionable:{cursor:'pointer',touchAction:'manipulation'}});var _default=TouchableWithoutFeedback;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/TouchableWithoutFeedback/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","PRESS_RETENTION_OFFSET","top","left","right","bottom","TouchableWithoutFeedback","displayName","mixins","TimerMixin","Touchable","Mixin","propTypes","accessibilityComponentType","ViewPropTypes","accessibilityLabel","string","accessibilityRole","accessibilityTraits","accessible","bool","children","any","delayLongPress","number","delayPressIn","delayPressOut","disabled","hitSlop","EdgeInsetsPropType","onLayout","func","onLongPress","onPress","onPressIn","onPressOut","pressRetentionOffset","testID","getInitialState","touchableGetInitialState","componentDidMount","props","componentWillReceiveProps","nextProps","touchableHandlePress","e","touchableHandleActivePressIn","touchableHandleActivePressOut","touchableHandleLongPress","touchableGetPressRectOffset","touchableGetHitSlop","touchableGetHighlightDelayMS","touchableGetLongPressDelayMS","touchableGetPressOutDelayMS","render","_this$props","other","child","React","Children","only","type","_owner","getName","process","env","NODE_ENV","TOUCH_TARGET_DEBUG","toArray","push","renderDebugView","color","style","styles","actionable","cloneElement","onKeyDown","touchableHandleKeyEvent","onKeyUp","onResponderGrant","touchableHandleResponderGrant","onResponderMove","touchableHandleResponderMove","onResponderRelease","touchableHandleResponderRelease","onResponderTerminate","touchableHandleResponderTerminate","onResponderTerminationRequest","touchableHandleResponderTerminationRequest","onStartShouldSetResponder","touchableHandleStartShouldSetResponder","StyleSheet","create","cursor","touchAction"],"mappings":"mKAeA,4EACA,iFACA,uGACA,oDACA,iEACA,0EACA,+DACA,uEACA,iEACA,qCAxBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7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cesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) 2016-present, Nicolas Gallagher.\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createReactClass from 'create-react-class';\nimport EdgeInsetsPropType from '../EdgeInsetsPropType';\nimport ensurePositiveDelayProps from '../Touchable/ensurePositiveDelayProps';\nimport React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport TimerMixin from 'react-timer-mixin';\nimport Touchable from '../Touchable';\nimport ViewPropTypes from '../ViewPropTypes';\nimport warning from 'fbjs/lib/warning';\nimport { any, bool, func, number, string } from 'prop-types';\nvar PRESS_RETENTION_OFFSET = {\n top: 20,\n left: 20,\n right: 20,\n bottom: 30\n};\n/**\n * Do not use unless you have a very good reason. All elements that\n * respond to press should have a visual feedback when touched.\n *\n * TouchableWithoutFeedback supports only one child.\n * If you wish to have several child components, wrap them in a View.\n */\n\n/* eslint-disable react/prefer-es6-class, react/prop-types */\n\nvar TouchableWithoutFeedback = createReactClass({\n displayName: 'TouchableWithoutFeedback',\n mixins: [TimerMixin, Touchable.Mixin],\n propTypes: {\n accessibilityComponentType: ViewPropTypes.accessibilityComponentType,\n accessibilityLabel: string,\n accessibilityRole: ViewPropTypes.accessibilityRole,\n accessibilityTraits: ViewPropTypes.accessibilityTraits,\n accessible: bool,\n children: any,\n\n /**\n * Delay in ms, from onPressIn, before onLongPress is called.\n */\n delayLongPress: number,\n\n /**\n * Delay in ms, from the start of the touch, before onPressIn is called.\n */\n delayPressIn: number,\n\n /**\n * Delay in ms, from the release of the touch, before onPressOut is called.\n */\n delayPressOut: number,\n\n /**\n * If true, disable all interactions for this component.\n */\n disabled: bool,\n\n /**\n * This defines how far your touch can start away from the button. This is\n * added to `pressRetentionOffset` when moving off of the button.\n */\n // $FlowFixMe(>=0.41.0)\n hitSlop: EdgeInsetsPropType,\n\n /**\n * Invoked on mount and layout changes with\n *\n * `{nativeEvent: {layout: {x, y, width, height}}}`\n */\n onLayout: func,\n onLongPress: func,\n\n /**\n * Called when the touch is released, but not if cancelled (e.g. by a scroll\n * that steals the responder lock).\n */\n onPress: func,\n onPressIn: func,\n onPressOut: func,\n\n /**\n * When the scroll view is disabled, this defines how far your touch may\n * move off of the button, before deactivating the button. Once deactivated,\n * try moving it back and you'll see that the button is once again\n * reactivated! Move it back and forth several times while the scroll view\n * is disabled. Ensure you pass in a constant to reduce memory allocations.\n */\n // $FlowFixMe\n pressRetentionOffset: EdgeInsetsPropType,\n testID: string\n },\n getInitialState: function getInitialState() {\n return this.touchableGetInitialState();\n },\n componentDidMount: function componentDidMount() {\n ensurePositiveDelayProps(this.props);\n },\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n ensurePositiveDelayProps(nextProps);\n },\n\n /**\n * `Touchable.Mixin` self callbacks. The mixin will invoke these if they are\n * defined on your component.\n */\n touchableHandlePress: function touchableHandlePress(e) {\n this.props.onPress && this.props.onPress(e);\n },\n touchableHandleActivePressIn: function touchableHandleActivePressIn(e) {\n this.props.onPressIn && this.props.onPressIn(e);\n },\n touchableHandleActivePressOut: function touchableHandleActivePressOut(e) {\n this.props.onPressOut && this.props.onPressOut(e);\n },\n touchableHandleLongPress: function touchableHandleLongPress(e) {\n this.props.onLongPress && this.props.onLongPress(e);\n },\n touchableGetPressRectOffset: function touchableGetPressRectOffset() {\n return this.props.pressRetentionOffset || PRESS_RETENTION_OFFSET;\n },\n touchableGetHitSlop: function touchableGetHitSlop() {\n return this.props.hitSlop;\n },\n touchableGetHighlightDelayMS: function touchableGetHighlightDelayMS() {\n return this.props.delayPressIn || 0;\n },\n touchableGetLongPressDelayMS: function touchableGetLongPressDelayMS() {\n return this.props.delayLongPress === 0 ? 0 : this.props.delayLongPress || 500;\n },\n touchableGetPressOutDelayMS: function touchableGetPressOutDelayMS() {\n return this.props.delayPressOut || 0;\n },\n render: function render() {\n var _this$props = this.props,\n delayLongPress = _this$props.delayLongPress,\n delayPressIn = _this$props.delayPressIn,\n delayPressOut = _this$props.delayPressOut,\n onLongPress = _this$props.onLongPress,\n onPress = _this$props.onPress,\n onPressIn = _this$props.onPressIn,\n onPressOut = _this$props.onPressOut,\n pressRetentionOffset = _this$props.pressRetentionOffset,\n other = _objectWithoutPropertiesLoose(_this$props, [\"delayLongPress\", \"delayPressIn\", \"delayPressOut\", \"onLongPress\", \"onPress\", \"onPressIn\", \"onPressOut\", \"pressRetentionOffset\"]); // Note(avik): remove dynamic typecast once Flow has been upgraded\n // $FlowFixMe\n\n\n var child = React.Children.only(this.props.children);\n var children = child.props.children;\n warning(!child.type || child.type.displayName !== 'Text', 'TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See ' + (child._owner && child._owner.getName && child._owner.getName() || '<unknown>'));\n\n if (process.env.NODE_ENV !== 'production' && Touchable.TOUCH_TARGET_DEBUG && child.type && child.type.displayName === 'View') {\n children = React.Children.toArray(children);\n children.push(Touchable.renderDebugView({\n color: 'red',\n hitSlop: this.props.hitSlop\n }));\n }\n\n var style = Touchable.TOUCH_TARGET_DEBUG && child.type && child.type.displayName === 'Text' ? [!this.props.disabled && styles.actionable, child.props.style, {\n color: 'red'\n }] : [!this.props.disabled && styles.actionable, child.props.style];\n return React.cloneElement(child, _objectSpread({}, other, {\n accessible: this.props.accessible !== false,\n children: children,\n onKeyDown: this.touchableHandleKeyEvent,\n onKeyUp: this.touchableHandleKeyEvent,\n onResponderGrant: this.touchableHandleResponderGrant,\n onResponderMove: this.touchableHandleResponderMove,\n onResponderRelease: this.touchableHandleResponderRelease,\n onResponderTerminate: this.touchableHandleResponderTerminate,\n onResponderTerminationRequest: this.touchableHandleResponderTerminationRequest,\n onStartShouldSetResponder: this.touchableHandleStartShouldSetResponder,\n style: style\n }));\n }\n});\nvar styles = StyleSheet.create({\n actionable: {\n cursor: 'pointer',\n touchAction: 'manipulation'\n }\n});\nexport default TouchableWithoutFeedback;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.reload=reload;exports.reloadFromCache=reloadFromCache;exports.checkForUpdateAsync=checkForUpdateAsync;exports.fetchUpdateAsync=fetchUpdateAsync;exports.clearUpdateCacheExperimentalAsync=clearUpdateCacheExperimentalAsync;exports.addListener=addListener;exports.EventType=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _core=require(\"@unimodules/core\");var _fbemitter=require(\"fbemitter\");var _ExponentUpdates=_interopRequireDefault(require(\"./ExponentUpdates\"));function reload(){return _regenerator.default.async(function reload$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(_ExponentUpdates.default.reload());case 2:case\"end\":return _context.stop();}}});}function reloadFromCache(){return _regenerator.default.async(function reloadFromCache$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_context2.next=2;return _regenerator.default.awrap(_ExponentUpdates.default.reloadFromCache());case 2:case\"end\":return _context2.stop();}}});}function checkForUpdateAsync(){var result;return _regenerator.default.async(function checkForUpdateAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:if(_ExponentUpdates.default.checkForUpdateAsync){_context3.next=2;break;}throw new _core.UnavailabilityError('Updates','checkForUpdateAsync');case 2:_context3.next=4;return _regenerator.default.awrap(_ExponentUpdates.default.checkForUpdateAsync());case 4:result=_context3.sent;if(result){_context3.next=7;break;}return _context3.abrupt(\"return\",{isAvailable:false});case 7:return _context3.abrupt(\"return\",{isAvailable:true,manifest:typeof result==='string'?JSON.parse(result):result});case 8:case\"end\":return _context3.stop();}}});}function fetchUpdateAsync(){var _ref,eventListener,subscription,result,_args4=arguments;return _regenerator.default.async(function fetchUpdateAsync$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:_ref=_args4.length>0&&_args4[0]!==undefined?_args4[0]:{},eventListener=_ref.eventListener;if(_ExponentUpdates.default.fetchUpdateAsync){_context4.next=3;break;}throw new _core.UnavailabilityError('Updates','fetchUpdateAsync');case 3:if(eventListener&&typeof eventListener==='function'){subscription=addListener(eventListener);}_context4.prev=4;_context4.next=7;return _regenerator.default.awrap(_ExponentUpdates.default.fetchUpdateAsync());case 7:result=_context4.sent;case 8:_context4.prev=8;subscription&&subscription.remove();return _context4.finish(8);case 11:if(result){_context4.next=13;break;}return _context4.abrupt(\"return\",{isNew:false});case 13:return _context4.abrupt(\"return\",{isNew:true,manifest:typeof result==='string'?JSON.parse(result):result});case 14:case\"end\":return _context4.stop();}}},null,null,[[4,,8,11]]);}function clearUpdateCacheExperimentalAsync(abiVersion){return _regenerator.default.async(function clearUpdateCacheExperimentalAsync$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:if(_ExponentUpdates.default.clearUpdateCacheAsync){_context5.next=2;break;}throw new _core.UnavailabilityError('Updates','clearUpdateCacheAsync');case 2:return _context5.abrupt(\"return\",_ExponentUpdates.default.clearUpdateCacheAsync(abiVersion));case 3:case\"end\":return _context5.stop();}}});}var _emitter;function _getEmitter(){if(!_emitter){_emitter=new _fbemitter.EventEmitter();_core.RCTDeviceEventEmitter.addListener('Exponent.nativeUpdatesEvent',_emitEvent);}return _emitter;}function _emitEvent(params){var newParams=params;if(typeof params==='string'){newParams=JSON.parse(params);}if(newParams.manifestString){newParams.manifest=JSON.parse(newParams.manifestString);delete newParams.manifestString;}if(!_emitter){throw new Error(\"EventEmitter must be initialized to use from its listener\");}_emitter.emit('Exponent.updatesEvent',newParams);}function addListener(listener){var emitter=_getEmitter();return emitter.addListener('Exponent.updatesEvent',listener);}var EventType={DOWNLOAD_STARTED:'downloadStart',DOWNLOAD_PROGRESS:'downloadProgress',DOWNLOAD_FINISHED:'downloadFinished',NO_UPDATE_AVAILABLE:'noUpdateAvailable',ERROR:'error'};exports.EventType=EventType;","map":{"version":3,"sources":["../../src/Updates/Updates.ts"],"names":[],"mappings":"wfAAA,sCAEA,oCAEA,0EAeO,QAAe,CAAA,MAAf,sKACC,yBAAgB,MAAhB,EADD,gDAIA,QAAe,CAAA,eAAf,mLACC,yBAAgB,eAAhB,EADD,iDAIA,QAAe,CAAA,mBAAf,kJACA,yBAAgB,mBADhB,+BAEG,IAAI,0BAAJ,CAAwB,SAAxB,CAAmC,qBAAnC,CAFH,2DAIgB,yBAAgB,mBAAhB,EAJhB,SAIC,MAJD,mBAKA,MALA,2DAMI,CAAE,WAAW,CAAE,KAAf,CANJ,0CASE,CACL,WAAW,CAAE,IADR,CAEL,QAAQ,CAAE,MAAO,CAAA,MAAP,GAAkB,QAAlB,CAA6B,IAAI,CAAC,KAAL,CAAW,MAAX,CAA7B,CAAkD,MAFvD,CATF,iDAeA,QAAe,CAAA,gBAAf,mPAEsC,EAFtC,CACL,aADK,MACL,aADK,IAGA,yBAAgB,gBAHhB,+BAIG,IAAI,0BAAJ,CAAwB,SAAxB,CAAmC,kBAAnC,CAJH,QAQL,GAAI,aAAa,EAAI,MAAO,CAAA,aAAP,GAAyB,UAA9C,CAA0D,CACxD,YAAY,CAAG,WAAW,CAAC,aAAD,CAA1B,CACD,CAVI,oEAYY,yBAAgB,gBAAhB,EAZZ,SAYH,MAZG,wCAcH,YAAY,EAAI,YAAY,CA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,CAAP,CACD,CAEM,GAAM,CAAA,SAAS,CAAG,CACvB,gBAAgB,CAAE,eADK,CAEvB,iBAAiB,CAAE,kBAFI,CAGvB,iBAAiB,CAAE,kBAHI,CAIvB,mBAAmB,CAAE,mBAJE,CAKvB,KAAK,CAAE,OALgB,CAAlB,C","sourcesContent":["import { RCTDeviceEventEmitter, UnavailabilityError } from '@unimodules/core';\nimport Constants from 'expo-constants';\nimport { EventEmitter, EventSubscription } from 'fbemitter';\n\nimport ExponentUpdates from './ExponentUpdates';\n\ntype Manifest = typeof Constants.manifest;\n\ntype UpdateCheckResult = { isAvailable: false } | { isAvailable: true; manifest: Manifest };\n\ntype UpdateFetchResult = { isNew: false } | { isNew: true; manifest: Manifest };\n\ntype UpdateEvent =\n | { type: 'downloadStart' | 'downloadProgress' | 'noUpdateAvailable' }\n | { type: 'downloadFinished'; manifest: Manifest }\n | { type: 'error'; message: string };\n\ntype UpdateEventListener = (event: UpdateEvent) => void;\n\nexport async function reload(): Promise<void> {\n await ExponentUpdates.reload();\n}\n\nexport async function reloadFromCache(): Promise<void> {\n await ExponentUpdates.reloadFromCache();\n}\n\nexport async function checkForUpdateAsync(): Promise<UpdateCheckResult> {\n if (!ExponentUpdates.checkForUpdateAsync) {\n throw new UnavailabilityError('Updates', 'checkForUpdateAsync');\n }\n const result = await ExponentUpdates.checkForUpdateAsync();\n if (!result) {\n return { isAvailable: false };\n }\n\n return {\n isAvailable: true,\n manifest: typeof result === 'string' ? JSON.parse(result) : result,\n };\n}\n\nexport async function fetchUpdateAsync({\n eventListener,\n}: { eventListener?: UpdateEventListener } = {}): Promise<UpdateFetchResult> {\n if (!ExponentUpdates.fetchUpdateAsync) {\n throw new UnavailabilityError('Updates', 'fetchUpdateAsync');\n }\n let subscription;\n let result;\n if (eventListener && typeof eventListener === 'function') {\n subscription = addListener(eventListener);\n }\n try {\n result = await ExponentUpdates.fetchUpdateAsync();\n } finally {\n subscription && subscription.remove();\n }\n\n if (!result) {\n return { isNew: false };\n }\n\n return {\n isNew: true,\n manifest: typeof result === 'string' ? JSON.parse(result) : result,\n };\n}\n\nexport async function clearUpdateCacheExperimentalAsync(abiVersion: string): Promise<void> {\n if (!ExponentUpdates.clearUpdateCacheAsync) {\n throw new UnavailabilityError('Updates', 'clearUpdateCacheAsync');\n }\n return ExponentUpdates.clearUpdateCacheAsync(abiVersion);\n}\n\nlet _emitter: EventEmitter | null;\n\nfunction _getEmitter(): EventEmitter {\n if (!_emitter) {\n _emitter = new EventEmitter();\n RCTDeviceEventEmitter.addListener('Exponent.nativeUpdatesEvent', _emitEvent);\n }\n return _emitter;\n}\n\nfunction _emitEvent(params): void {\n let newParams = params;\n if (typeof params === 'string') {\n newParams = JSON.parse(params);\n }\n if (newParams.manifestString) {\n newParams.manifest = JSON.parse(newParams.manifestString);\n delete newParams.manifestString;\n }\n\n if (!_emitter) {\n throw new Error(`EventEmitter must be initialized to use from its listener`);\n }\n _emitter.emit('Exponent.updatesEvent', newParams);\n}\n\nexport function addListener(listener: Function): EventSubscription {\n let emitter = _getEmitter();\n return emitter.addListener('Exponent.updatesEvent', listener);\n}\n\nexport const EventType = {\n DOWNLOAD_STARTED: 'downloadStart',\n DOWNLOAD_PROGRESS: 'downloadProgress',\n DOWNLOAD_FINISHED: 'downloadFinished',\n NO_UPDATE_AVAILABLE: 'noUpdateAvailable',\n ERROR: 'error',\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _PooledClass=_interopRequireDefault(require(\"../../vendor/react-native/PooledClass\"));var twoArgumentPooler=_PooledClass.default.twoArgumentPooler;function Position(left,top){this.left=left;this.top=top;}Position.prototype.destructor=function(){this.left=null;this.top=null;};_PooledClass.default.addPoolingTo(Position,twoArgumentPooler);var _default=Position;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Touchable/Position.js"],"names":["twoArgumentPooler","PooledClass","Position","left","top","prototype","destructor","addPoolingTo"],"mappings":"mKAQA,0FACA,GAAIA,CAAAA,iBAAiB,CAAGC,qBAAYD,iBAApC,CAEA,QAASE,CAAAA,QAAT,CAAkBC,IAAlB,CAAwBC,GAAxB,CAA6B,CAC3B,KAAKD,IAAL,CAAYA,IAAZ,CACA,KAAKC,GAAL,CAAWA,GAAX,CACD,CAEDF,QAAQ,CAACG,SAAT,CAAmBC,UAAnB,CAAgC,UAAY,CAC1C,KAAKH,IAAL,CAAY,IAAZ,CACA,KAAKC,GAAL,CAAW,IAAX,CACD,CAHD,CAKAH,qBAAYM,YAAZ,CAAyBL,QAAzB,CAAmCF,iBAAnC,E,aACeE,Q","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport PooledClass from '../../vendor/react-native/PooledClass';\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\n\nfunction Position(left, top) {\n this.left = left;\n this.top = top;\n}\n\nPosition.prototype.destructor = function () {\n this.left = null;\n this.top = null;\n};\n\nPooledClass.addPoolingTo(Position, twoArgumentPooler);\nexport default Position;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UIManager=_interopRequireDefault(require(\"../../exports/UIManager\"));var TextInputState={_currentlyFocusedNode:null,currentlyFocusedField:function currentlyFocusedField(){if(document.activeElement!==this._currentlyFocusedNode){this._currentlyFocusedNode=null;}return this._currentlyFocusedNode;},focusTextInput:function focusTextInput(textFieldNode){if(textFieldNode!==null){this._currentlyFocusedNode=textFieldNode;if(document.activeElement!==textFieldNode){_UIManager.default.focus(textFieldNode);}}},blurTextInput:function blurTextInput(textFieldNode){if(textFieldNode!==null){this._currentlyFocusedNode=null;if(document.activeElement===textFieldNode){_UIManager.default.blur(textFieldNode);}}}};var _default=TextInputState;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/TextInputState/index.js"],"names":["TextInputState","_currentlyFocusedNode","currentlyFocusedField","document","activeElement","focusTextInput","textFieldNode","UIManager","focus","blurTextInput","blur"],"mappings":"mKASA,0EAOA,GAAIA,CAAAA,cAAc,CAAG,CAInBC,qBAAqB,CAAE,IAJJ,CAUnBC,qBAAqB,CAAE,QAASA,CAAAA,qBAAT,EAAiC,CACtD,GAAIC,QAAQ,CAACC,aAAT,GAA2B,KAAKH,qBAApC,CAA2D,CACzD,KAAKA,qBAAL,CAA6B,IAA7B,CACD,CAED,MAAO,MAAKA,qBAAZ,CACD,CAhBkB,CAuBnBI,cAAc,CAAE,QAASA,CAAAA,cAAT,CAAwBC,aAAxB,CAAuC,CACrD,GAAIA,aAAa,GAAK,IAAtB,CAA4B,CAC1B,KAAKL,qBAAL,CAA6BK,aAA7B,CAEA,GAAIH,QAAQ,CAACC,aAAT,GAA2BE,aAA/B,CAA8C,CAC5CC,mBAAUC,KAAV,CAAgBF,aAAhB,EACD,CACF,CACF,CA/BkB,CAsCnBG,aAAa,CAAE,QAASA,CAAAA,aAAT,CAAuBH,aAAvB,CAAsC,CACnD,GAAIA,aAAa,GAAK,IAAtB,CAA4B,CAC1B,KAAKL,qBAAL,CAA6B,IAA7B,CAEA,GAAIE,QAAQ,CAACC,aAAT,GAA2BE,aAA/B,CAA8C,CAC5CC,mBAAUG,IAAV,CAAeJ,aAAf,EACD,CACF,CACF,CA9CkB,CAArB,C,aAgDeN,c","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport UIManager from '../../exports/UIManager';\n/**\n * This class is responsible for coordinating the \"focused\"\n * state for TextInputs. All calls relating to the keyboard\n * should be funneled through here\n */\n\nvar TextInputState = {\n /**\n * Internal state\n */\n _currentlyFocusedNode: null,\n\n /**\n * Returns the ID of the currently focused text field, if one exists\n * If no text field is focused it returns null\n */\n currentlyFocusedField: function currentlyFocusedField() {\n if (document.activeElement !== this._currentlyFocusedNode) {\n this._currentlyFocusedNode = null;\n }\n\n return this._currentlyFocusedNode;\n },\n\n /**\n * @param {Object} TextInputID id of the text field to focus\n * Focuses the specified text field\n * noop if the text field was already focused\n */\n focusTextInput: function focusTextInput(textFieldNode) {\n if (textFieldNode !== null) {\n this._currentlyFocusedNode = textFieldNode;\n\n if (document.activeElement !== textFieldNode) {\n UIManager.focus(textFieldNode);\n }\n }\n },\n\n /**\n * @param {Object} textFieldNode id of the text field to focus\n * Unfocuses the specified text field\n * noop if it wasn't focused\n */\n blurTextInput: function blurTextInput(textFieldNode) {\n if (textFieldNode !== null) {\n this._currentlyFocusedNode = null;\n\n if (document.activeElement === textFieldNode) {\n UIManager.blur(textFieldNode);\n }\n }\n }\n};\nexport default TextInputState;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"abs\",{enumerable:true,get:function get(){return _abs.default;}});Object.defineProperty(exports,\"acc\",{enumerable:true,get:function get(){return _acc.default;}});Object.defineProperty(exports,\"color\",{enumerable:true,get:function get(){return _color.default;}});Object.defineProperty(exports,\"diff\",{enumerable:true,get:function get(){return _diff.default;}});Object.defineProperty(exports,\"diffClamp\",{enumerable:true,get:function get(){return _diffClamp.default;}});Object.defineProperty(exports,\"interpolate\",{enumerable:true,get:function get(){return _interpolate.default;}});Object.defineProperty(exports,\"Extrapolate\",{enumerable:true,get:function get(){return _interpolate.Extrapolate;}});Object.defineProperty(exports,\"max\",{enumerable:true,get:function get(){return _max.default;}});Object.defineProperty(exports,\"min\",{enumerable:true,get:function get(){return _min.default;}});Object.defineProperty(exports,\"onChange\",{enumerable:true,get:function get(){return _onChange.default;}});Object.defineProperty(exports,\"floor\",{enumerable:true,get:function get(){return _floor.default;}});Object.defineProperty(exports,\"ceil\",{enumerable:true,get:function get(){return _ceil.default;}});Object.defineProperty(exports,\"useCode\",{enumerable:true,get:function get(){return _useCode.default;}});var _abs=_interopRequireDefault(require(\"./abs\"));var _acc=_interopRequireDefault(require(\"./acc\"));var _color=_interopRequireDefault(require(\"./color\"));var _diff=_interopRequireDefault(require(\"./diff\"));var _diffClamp=_interopRequireDefault(require(\"./diffClamp\"));var _interpolate=_interopRequireWildcard(require(\"./interpolate\"));var _max=_interopRequireDefault(require(\"./max\"));var _min=_interopRequireDefault(require(\"./min\"));var _onChange=_interopRequireDefault(require(\"./onChange\"));var _floor=_interopRequireDefault(require(\"./floor\"));var _ceil=_interopRequireDefault(require(\"./ceil\"));var _useCode=_interopRequireDefault(require(\"./useCode\"));","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/index.js"],"names":[],"mappings":"+gDAAA,kDACA,kDACA,sDACA,oDACA,8DACA,mEACA,kDACA,kDACA,4DACA,sDACA,oDACA","sourcesContent":["export { default as abs } from './abs';\nexport { default as acc } from './acc';\nexport { default as color } from './color';\nexport { default as diff } from './diff';\nexport { default as diffClamp } from './diffClamp';\nexport { default as interpolate, Extrapolate } from './interpolate';\nexport { default as max } from './max';\nexport { default as min } from './min';\nexport { default as onChange } from './onChange';\nexport { default as floor } from './floor';\nexport { default as ceil } from './ceil';\nexport { default as useCode } from './useCode';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default={RIGHT:1,LEFT:2,UP:4,DOWN:8};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/Directions.web.js"],"names":["RIGHT","LEFT","UP","DOWN"],"mappings":"6FAAe,CACbA,KAAK,CAAE,CADM,CAEbC,IAAI,CAAE,CAFO,CAGbC,EAAE,CAAE,CAHS,CAIbC,IAAI,CAAE,CAJO,C","sourcesContent":["export default {\n RIGHT: 1,\n LEFT: 2,\n UP: 4,\n DOWN: 8,\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=backwardsCompatibleAnimWrapper;var _base=require(\"../base\");var _AnimatedClock=_interopRequireDefault(require(\"../core/AnimatedClock\"));var _evaluateOnce=require(\"../derived/evaluateOnce\");function createOldAnimationObject(node,AnimationClass,value,config){var newClock=new _AnimatedClock.default();var currentState=AnimationClass.getDefaultState();var alwaysNode;var isStarted=false;var isDone=false;var wasStopped=false;var animationCallback;var animation={start:function start(currentAnimationCallback){animationCallback=currentAnimationCallback;if(isStarted){animationCallback&&animationCallback({finished:false});return;}if(isDone){console.warn('Animation has been finished before');return;}if(!value.isNativelyInitialized()){return;}isStarted=true;(0,_evaluateOnce.evaluateOnce)((0,_base.set)(currentState.position,value),currentState.position,function(){alwaysNode=(0,_base.always)((0,_base.set)(value,(0,_base.block)([(0,_base.cond)((0,_base.clockRunning)(newClock),0,(0,_base.startClock)(newClock)),node(newClock,currentState,config),(0,_base.cond)(currentState.finished,[(0,_base.call)([],function(){isStarted=false;if(!wasStopped){isDone=true;}value.__detachAnimation(animation);isDone=true;if(!wasStopped){wasStopped=false;}}),(0,_base.stopClock)(newClock)]),currentState.position])));value.__attachAnimation(animation);alwaysNode.__addChild(value);});},__detach:function __detach(){animationCallback&&animationCallback({finished:isDone});animationCallback=null;alwaysNode.__removeChild(value);},stop:function stop(){if(isDone){console.warn('Calling stop has no effect as the animation has already completed');return;}if(!isStarted){console.warn(\"Calling stop has no effect as the animation hasn't been started\");return;}wasStopped=true;(0,_evaluateOnce.evaluateOnce)((0,_base.set)(currentState.finished,1),currentState.finished);},__stopImmediately_testOnly:function __stopImmediately_testOnly(result){animation.stop();isDone=result;value.__detachAnimation(animation);}};return animation;}function backwardsCompatibleAnimWrapper(node,AnimationClass){return function(clock,state,config){if(config!==undefined){return node(clock,state,config);}return createOldAnimationObject(node,AnimationClass,clock,state);};}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/backwardCompatibleAnimWrapper.js"],"names":["createOldAnimationObject","node","AnimationClass","value","config","newClock","Clock","currentState","getDefaultState","alwaysNode","isStarted","isDone","wasStopped","animationCallback","animation","start","currentAnimationCallback","finished","console","warn","isNativelyInitialized","position","__detachAnimation","__attachAnimation","__addChild","__detach","__removeChild","stop","__stopImmediately_testOnly","result","backwardsCompatibleAnimWrapper","clock","state","undefined"],"mappings":"2LAAA,6BAUA,4EACA,qDAEA,QAASA,CAAAA,wBAAT,CAAkCC,IAAlC,CAAwCC,cAAxC,CAAwDC,KAAxD,CAA+DC,MAA/D,CAAuE,CACrE,GAAMC,CAAAA,QAAQ,CAAG,GAAIC,uBAAJ,EAAjB,CACA,GAAMC,CAAAA,YAAY,CAAGL,cAAc,CAACM,eAAf,EAArB,CACA,GAAIC,CAAAA,UAAJ,CACA,GAAIC,CAAAA,SAAS,CAAG,KAAhB,CACA,GAAIC,CAAAA,MAAM,CAAG,KAAb,CACA,GAAIC,CAAAA,UAAU,CAAG,KAAjB,CACA,GAAIC,CAAAA,iBAAJ,CACA,GAAMC,CAAAA,SAAS,CAAG,CAChBC,KAAK,CAAE,eAAAC,wBAAwB,CAAI,CACjCH,iBAAiB,CAAGG,wBAApB,CACA,GAAIN,SAAJ,CAAe,CACbG,iBAAiB,EAAIA,iBAAiB,CAAC,CAAEI,QAAQ,CAAE,KAAZ,CAAD,C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CAACC,IAAR,CACE,mEADF,EAGA,OACD,CACD,GAAI,CAACT,SAAL,CAAgB,CACdQ,OAAO,CAACC,IAAR,CACE,iEADF,EAGA,OACD,CACDP,UAAU,CAAG,IAAb,CACA,+BAAa,cAAIL,YAAY,CAACU,QAAjB,CAA2B,CAA3B,CAAb,CAA4CV,YAAY,CAACU,QAAzD,EACD,CAvEe,CAwEhBW,0BAA0B,CAAE,oCAAAC,MAAM,CAAI,CACpCf,SAAS,CAACa,IAAV,GACAhB,MAAM,CAAGkB,MAAT,CACA1B,KAAK,CAACmB,iBAAN,CAAwBR,SAAxB,EACD,CA5Ee,CAAlB,CA8EA,MAAOA,CAAAA,SAAP,CACD,CAMc,QAASgB,CAAAA,8BAAT,CAAwC7B,IAAxC,CAA8CC,cAA9C,CAA8D,CAC3E,MAAO,UAAC6B,KAAD,CAAQC,KAAR,CAAe5B,MAAf,CAA0B,CAC/B,GAAIA,MAAM,GAAK6B,SAAf,CAA0B,CACxB,MAAOhC,CAAAA,IAAI,CAAC8B,KAAD,CAAQC,KAAR,CAAe5B,MAAf,CAAX,CACD,CACD,MAAOJ,CAAAA,wBAAwB,CAACC,IAAD,CAAOC,cAAP,CAAuB6B,KAAvB,CAA8BC,KAA9B,CAA/B,CACD,CALD,CAMD","sourcesContent":["import {\n always,\n block,\n call,\n clockRunning,\n cond,\n set,\n startClock,\n stopClock,\n} from '../base';\nimport { default as Clock } from '../core/AnimatedClock';\nimport { evaluateOnce } from '../derived/evaluateOnce';\n\nfunction createOldAnimationObject(node, AnimationClass, value, config) {\n const newClock = new Clock();\n const currentState = AnimationClass.getDefaultState();\n let alwaysNode;\n let isStarted = false;\n let isDone = false;\n let wasStopped = false;\n let animationCallback;\n const animation = {\n start: currentAnimationCallback => {\n animationCallback = currentAnimationCallback;\n if (isStarted) {\n animationCallback && animationCallback({ finished: false });\n return;\n }\n if (isDone) {\n console.warn('Animation has been finished before');\n // inconsistent with React Native\n return;\n }\n\n if (!value.isNativelyInitialized()) {\n return;\n }\n\n isStarted = true;\n evaluateOnce(\n set(currentState.position, value),\n currentState.position,\n () => {\n alwaysNode = always(\n set(\n value,\n block([\n cond(clockRunning(newClock), 0, startClock(newClock)),\n node(newClock, currentState, config),\n cond(currentState.finished, [\n call([], () => {\n isStarted = false;\n if (!wasStopped) {\n isDone = true;\n }\n value.__detachAnimation(animation);\n isDone = true;\n if (!wasStopped) {\n wasStopped = false;\n }\n }),\n stopClock(newClock),\n ]),\n currentState.position,\n ])\n )\n );\n value.__attachAnimation(animation);\n alwaysNode.__addChild(value);\n }\n );\n },\n __detach: () => {\n animationCallback && animationCallback({ finished: isDone });\n animationCallback = null;\n alwaysNode.__removeChild(value);\n },\n stop: () => {\n if (isDone) {\n console.warn(\n 'Calling stop has no effect as the animation has already completed'\n );\n return;\n }\n if (!isStarted) {\n console.warn(\n \"Calling stop has no effect as the animation hasn't been started\"\n );\n return;\n }\n wasStopped = true;\n evaluateOnce(set(currentState.finished, 1), currentState.finished);\n },\n __stopImmediately_testOnly: result => {\n animation.stop();\n isDone = result;\n value.__detachAnimation(animation);\n },\n };\n return animation;\n}\n\n/**\n * Depending on the arguments list we either return animation node or return an\n * animation object that is compatible with the original Animated API\n */\nexport default function backwardsCompatibleAnimWrapper(node, AnimationClass) {\n return (clock, state, config) => {\n if (config !== undefined) {\n return node(clock, state, config);\n }\n return createOldAnimationObject(node, AnimationClass, clock, state);\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _debounce=_interopRequireDefault(require(\"debounce\"));var _findNodeHandle=_interopRequireDefault(require(\"../../exports/findNodeHandle\"));var emptyObject={};var registry={};var id=1;var guid=function guid(){return\"r-\"+id++;};var resizeObserver;if(_ExecutionEnvironment.canUseDOM){if(typeof window.ResizeObserver!=='undefined'){resizeObserver=new window.ResizeObserver(function(entries){entries.forEach(function(_ref){var target=_ref.target;var instance=registry[target._layoutId];instance&&instance._handleLayout();});});}else{if(process.env.NODE_ENV!=='production'&&process.env.NODE_ENV!=='test'){console.warn('onLayout relies on ResizeObserver which is not supported by your browser. '+'Please include a polyfill, e.g., https://github.com/que-etc/resize-observer-polyfill. '+'Falling back to window.onresize.');}var triggerAll=function triggerAll(){Object.keys(registry).forEach(function(key){var instance=registry[key];instance._handleLayout();});};window.addEventListener('resize',(0,_debounce.default)(triggerAll,16),false);}}var observe=function observe(instance){var id=guid();registry[id]=instance;if(resizeObserver){var node=(0,_findNodeHandle.default)(instance);if(node){node._layoutId=id;resizeObserver.observe(node);}}else{instance._layoutId=id;instance._handleLayout();}};var unobserve=function unobserve(instance){if(resizeObserver){var node=(0,_findNodeHandle.default)(instance);if(node){delete registry[node._layoutId];delete node._layoutId;resizeObserver.unobserve(node);}}else{delete registry[instance._layoutId];delete instance._layoutId;}};var safeOverride=function safeOverride(original,next){if(original){return function prototypeOverride(){original.call(this,arguments);next.call(this,arguments);};}return next;};var applyLayout=function applyLayout(Component){var componentDidMount=Component.prototype.componentDidMount;var componentDidUpdate=Component.prototype.componentDidUpdate;var componentWillUnmount=Component.prototype.componentWillUnmount;Component.prototype.componentDidMount=safeOverride(componentDidMount,function componentDidMount(){this._layoutState=emptyObject;this._isMounted=true;if(this.props.onLayout){observe(this);}});Component.prototype.componentDidUpdate=safeOverride(componentDidUpdate,function componentDidUpdate(prevProps){if(this.props.onLayout&&!prevProps.onLayout){observe(this);}else if(!this.props.onLayout&&prevProps.onLayout){unobserve(this);}});Component.prototype.componentWillUnmount=safeOverride(componentWillUnmount,function componentWillUnmount(){this._isMounted=false;if(this.props.onLayout){unobserve(this);}});Component.prototype._handleLayout=function(){var _this=this;var layout=this._layoutState;var onLayout=this.props.onLayout;if(onLayout){this.measure(function(x,y,width,height){if(_this._isMounted){if(layout.x!==x||layout.y!==y||layout.width!==width||layout.height!==height){_this._layoutState={x:x,y:y,width:width,height:height};var nativeEvent={layout:_this._layoutState};Object.defineProperty(nativeEvent,'target',{enumerable:true,get:function get(){return(0,_findNodeHandle.default)(_this);}});onLayout({nativeEvent:nativeEvent,timeStamp:Date.now()});}}});}};return Component;};var _default=applyLayout;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/applyLayout/index.js"],"names":["emptyObject","registry","id","guid","resizeObserver","canUseDOM","window","ResizeObserver","entries","forEach","_ref","target","instance","_layoutId","_handleLayout","process","env","NODE_ENV","console","warn","triggerAll","Object","keys","key","addEventListener","observe","node","unobserve","safeOverride","original","next","prototypeOverride","call","arguments","applyLayout","Component","componentDidMount","prototype","componentDidUpdate","componentWillUnmount","_layoutState","_isMounted","props","onLayout","prevProps","_this","layout","measure","x","y","width","height","nativeEvent","defineProperty","enumerable","get","timeStamp","Date","now"],"mappings":"mKAQA,mEACA,0DACA,oFACA,GAAIA,CAAAA,WAAW,CAAG,EAAlB,CACA,GAAIC,CAAAA,QAAQ,CAAG,EAAf,CACA,GAAIC,CAAAA,EAAE,CAAG,CAAT,CAEA,GAAIC,CAAAA,IAAI,CAAG,QAASA,CAAAA,IAAT,EAAgB,CACzB,MAAO,KAAOD,EAAE,EAAhB,CACD,CAFD,CAIA,GAAIE,CAAAA,cAAJ,CAEA,GAAIC,+BAAJ,CAAe,CACb,GAAI,MAAOC,CAAAA,MAAM,CAACC,cAAd,GAAiC,WAArC,CAAkD,CAChDH,cAAc,CAAG,GAAIE,CAAAA,MAAM,CAACC,cAAX,CAA0B,SAAUC,OAAV,CAAmB,CAC5DA,OAAO,CAACC,OAAR,CAAgB,SAAUC,IAAV,CAAgB,CAC9B,GAAIC,CAAAA,MAAM,CAAGD,IAAI,CAACC,MAAlB,CACA,GAAIC,CAAAA,QAAQ,CAAGX,QAAQ,CAACU,MAAM,CAACE,SAAR,CAAvB,CACAD,QAAQ,EAAIA,QAA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AAEA,MAJW,CAArB,CAMA,GAAIC,CAAAA,WAAW,CAAG,CAChBN,MAAM,CAAED,KAAK,CAACL,YADE,CAAlB,CAGAnB,MAAM,CAACgC,cAAP,CAAsBD,WAAtB,CAAmC,QAAnC,CAA6C,CAC3CE,UAAU,CAAE,IAD+B,CAE3CC,GAAG,CAAE,QAASA,CAAAA,GAAT,EAAe,CAClB,MAAO,4BAAeV,KAAf,CAAP,CACD,CAJ0C,CAA7C,EAMAF,QAAQ,CAAC,CACPS,WAAW,CAAEA,WADN,CAEPI,SAAS,CAAEC,IAAI,CAACC,GAAL,EAFJ,CAAD,CAAR,CAID,CACF,CACF,CAxBD,EAyBD,CACF,CAjCD,CAmCA,MAAOvB,CAAAA,SAAP,CACD,CA/DD,C,aAiEeD,W","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport debounce from 'debounce';\nimport findNodeHandle from '../../exports/findNodeHandle';\nvar emptyObject = {};\nvar registry = {};\nvar id = 1;\n\nvar guid = function guid() {\n return \"r-\" + id++;\n};\n\nvar resizeObserver;\n\nif (canUseDOM) {\n if (typeof window.ResizeObserver !== 'undefined') {\n resizeObserver = new window.ResizeObserver(function (entries) {\n entries.forEach(function (_ref) {\n var target = _ref.target;\n var instance = registry[target._layoutId];\n instance && instance._handleLayout();\n });\n });\n } else {\n if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test') {\n console.warn('onLayout relies on ResizeObserver which is not supported by your browser. ' + 'Please include a polyfill, e.g., https://github.com/que-etc/resize-observer-polyfill. ' + 'Falling back to window.onresize.');\n }\n\n var triggerAll = function triggerAll() {\n Object.keys(registry).forEach(function (key) {\n var instance = registry[key];\n\n instance._handleLayout();\n });\n };\n\n window.addEventListener('resize', debounce(triggerAll, 16), false);\n }\n}\n\nvar observe = function observe(instance) {\n var id = guid();\n registry[id] = instance;\n\n if (resizeObserver) {\n var node = findNodeHandle(instance);\n\n if (node) {\n node._layoutId = id;\n resizeObserver.observe(node);\n }\n } else {\n instance._layoutId = id;\n\n instance._handleLayout();\n }\n};\n\nvar unobserve = function unobserve(instance) {\n if (resizeObserver) {\n var node = findNodeHandle(instance);\n\n if (node) {\n delete registry[node._layoutId];\n delete node._layoutId;\n resizeObserver.unobserve(node);\n }\n } else {\n delete registry[instance._layoutId];\n delete instance._layoutId;\n }\n};\n\nvar safeOverride = function safeOverride(original, next) {\n if (original) {\n return function prototypeOverride() {\n /* eslint-disable prefer-rest-params */\n original.call(this, arguments);\n next.call(this, arguments);\n /* eslint-enable prefer-rest-params */\n };\n }\n\n return next;\n};\n\nvar applyLayout = function applyLayout(Component) {\n var componentDidMount = Component.prototype.componentDidMount;\n var componentDidUpdate = Component.prototype.componentDidUpdate;\n var componentWillUnmount = Component.prototype.componentWillUnmount;\n Component.prototype.componentDidMount = safeOverride(componentDidMount, function componentDidMount() {\n this._layoutState = emptyObject;\n this._isMounted = true;\n\n if (this.props.onLayout) {\n observe(this);\n }\n });\n Component.prototype.componentDidUpdate = safeOverride(componentDidUpdate, function componentDidUpdate(prevProps) {\n if (this.props.onLayout && !prevProps.onLayout) {\n observe(this);\n } else if (!this.props.onLayout && prevProps.onLayout) {\n unobserve(this);\n }\n });\n Component.prototype.componentWillUnmount = safeOverride(componentWillUnmount, function componentWillUnmount() {\n this._isMounted = false;\n\n if (this.props.onLayout) {\n unobserve(this);\n }\n });\n\n Component.prototype._handleLayout = function () {\n var _this = this;\n\n var layout = this._layoutState;\n var onLayout = this.props.onLayout;\n\n if (onLayout) {\n this.measure(function (x, y, width, height) {\n if (_this._isMounted) {\n if (layout.x !== x || layout.y !== y || layout.width !== width || layout.height !== height) {\n _this._layoutState = {\n x: x,\n y: y,\n width: width,\n height: height\n };\n var nativeEvent = {\n layout: _this._layoutState\n };\n Object.defineProperty(nativeEvent, 'target', {\n enumerable: true,\n get: function get() {\n return findNodeHandle(_this);\n }\n });\n onLayout({\n nativeEvent: nativeEvent,\n timeStamp: Date.now()\n });\n }\n }\n });\n }\n };\n\n return Component;\n};\n\nexport default applyLayout;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.getVersion=getVersion;exports.isAvailable=isAvailable;exports.getUnavailabilityReason=getUnavailabilityReason;exports.onFrameDidUpdate=onFrameDidUpdate;exports.onDidFailWithError=onDidFailWithError;exports.onAnchorsDidUpdate=onAnchorsDidUpdate;exports.onCameraDidChangeTrackingState=onCameraDidChangeTrackingState;exports.onSessionWasInterrupted=onSessionWasInterrupted;exports.onSessionInterruptionEnded=onSessionInterruptionEnded;exports.removeAllListeners=removeAllListeners;exports.performHitTest=performHitTest;exports.setDetectionImagesAsync=setDetectionImagesAsync;exports.getCurrentFrame=getCurrentFrame;exports.getARMatrices=getARMatrices;exports.stopAsync=stopAsync;exports.startAsync=startAsync;exports.reset=reset;exports.resume=resume;exports.pause=pause;exports.setConfigurationAsync=setConfigurationAsync;exports.getProvidesAudioData=getProvidesAudioData;exports.setProvidesAudioData=setProvidesAudioData;exports.setPlaneDetection=setPlaneDetection;exports.getPlaneDetection=getPlaneDetection;exports.getCameraTexture=getCameraTexture;exports.setWorldOriginAsync=setWorldOriginAsync;exports.setLightEstimationEnabled=setLightEstimationEnabled;exports.getLightEstimationEnabled=getLightEstimationEnabled;exports.setAutoFocusEnabled=setAutoFocusEnabled;exports.getAutoFocusEnabled=getAutoFocusEnabled;exports.setWorldAlignment=setWorldAlignment;exports.getWorldAlignment=getWorldAlignment;exports.isConfigurationAvailable=isConfigurationAvailable;exports.getSupportedVideoFormats=getSupportedVideoFormats;exports.isFrontCameraAvailable=isFrontCameraAvailable;exports.isRearCameraAvailable=isRearCameraAvailable;exports.TrackingConfigurations=exports.TrackingStateReasons=exports.TrackingStates=exports.FrameAttributes=exports.AnchorEventTypes=exports.AnchorTypes=exports.EventTypes=exports.WorldAlignmentTypes=exports.PlaneDetectionTypes=exports.TrackingStateReason=exports.TrackingState=exports.FrameAttribute=exports.AnchorEventType=exports.AnchorType=exports.EventType=exports.WorldAlignment=exports.HitTestResultTypes=exports.PlaneDetection=exports.FaceAnchorProp=exports.BlendShape=exports.DepthDataAccuracy=exports.DepthDataQuality=exports.TrackingConfiguration=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _Dimensions=_interopRequireDefault(require(\"react-native-web/dist/exports/Dimensions\"));var _NativeEventEmitter=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeEventEmitter\"));var _NativeModules=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeModules\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _findNodeHandle=_interopRequireDefault(require(\"react-native-web/dist/exports/findNodeHandle\"));var ExponentAR=_NativeModules.default.ExponentAR||{};var emitter=new _NativeEventEmitter.default(ExponentAR);var TrackingConfiguration;exports.TrackingConfiguration=TrackingConfiguration;(function(TrackingConfiguration){TrackingConfiguration[\"World\"]=\"ARWorldTrackingConfiguration\";TrackingConfiguration[\"Orientation\"]=\"AROrientationTrackingConfiguration\";TrackingConfiguration[\"Face\"]=\"ARFaceTrackingConfiguration\";})(TrackingConfiguration||(exports.TrackingConfiguration=TrackingConfiguration={}));var DepthDataQuality;exports.DepthDataQuality=DepthDataQuality;(function(DepthDataQuality){DepthDataQuality[\"Low\"]=\"AVDepthDataQualityLow\";DepthDataQuality[\"High\"]=\"AVDepthDataQualityHigh\";})(DepthDataQuality||(exports.DepthDataQuality=DepthDataQuality={}));var DepthDataAccuracy;exports.DepthDataAccuracy=DepthDataAccuracy;(function(DepthDataAccuracy){DepthDataAccuracy[\"Absolute\"]=\"AVDepthDataAccuracyAbsolute\";DepthDataAccuracy[\"Relative\"]=\"AVDepthDataAccuracyRelative\";})(DepthDataAccuracy||(exports.DepthDataAccuracy=DepthDataAccuracy={}));var BlendShape;exports.BlendShape=BlendShape;(function(BlendShape){BlendShape[\"BrowDownL\"]=\"browDown_L\";BlendShape[\"BrowDownR\"]=\"browDown_R\";BlendShape[\"BrowInnerUp\"]=\"browInnerUp\";BlendShape[\"BrowOuterUpL\"]=\"browOuterUp_L\";BlendShape[\"BrowOuterUpR\"]=\"browOuterUp_R\";BlendShape[\"CheekPuff\"]=\"cheekPuff\";BlendShape[\"CheekSquintL\"]=\"cheekSquint_L\";BlendShape[\"CheekSquintR\"]=\"cheekSquint_R\";BlendShape[\"EyeBlinkL\"]=\"eyeBlink_L\";BlendShape[\"EyeBlinkR\"]=\"eyeBlink_R\";BlendShape[\"EyeLookDownL\"]=\"eyeLookDown_L\";BlendShape[\"EyeLookDownR\"]=\"eyeLookDown_R\";BlendShape[\"EyeLookInL\"]=\"eyeLookIn_L\";BlendShape[\"EyeLookInR\"]=\"eyeLookIn_R\";BlendShape[\"EyeLookOutL\"]=\"eyeLookOut_L\";BlendShape[\"EyeLookOutR\"]=\"eyeLookOut_R\";BlendShape[\"EyeLookUpL\"]=\"eyeLookUp_L\";BlendShape[\"EyeLookUpR\"]=\"eyeLookUp_R\";BlendShape[\"EyeSquintL\"]=\"eyeSquint_L\";BlendShape[\"EyeSquintR\"]=\"eyeSquint_R\";BlendShape[\"EyeWideL\"]=\"eyeWide_L\";BlendShape[\"EyeWideR\"]=\"eyeWide_R\";BlendShape[\"JawForward\"]=\"jawForward\";BlendShape[\"JawLeft\"]=\"jawLeft\";BlendShape[\"JawOpen\"]=\"jawOpen\";BlendShape[\"JawRight\"]=\"jawRight\";BlendShape[\"MouthClose\"]=\"mouthClose\";BlendShape[\"MouthDimpleL\"]=\"mouthDimple_L\";BlendShape[\"MouthDimpleR\"]=\"mouthDimple_R\";BlendShape[\"MouthFrownL\"]=\"mouthFrown_L\";BlendShape[\"MouthFrownR\"]=\"mouthFrown_R\";BlendShape[\"MouthFunnel\"]=\"mouthFunnel\";BlendShape[\"MouthLeft\"]=\"mouthLeft\";BlendShape[\"MouthLowerDownL\"]=\"mouthLowerDown_L\";BlendShape[\"MouthLowerDownR\"]=\"mouthLowerDown_R\";BlendShape[\"MouthPressL\"]=\"mouthPress_L\";BlendShape[\"MouthPressR\"]=\"mouthPress_R\";BlendShape[\"MouthPucker\"]=\"mouthPucker\";BlendShape[\"MouthRight\"]=\"mouthRight\";BlendShape[\"MouthRollLower\"]=\"mouthRollLower\";BlendShape[\"MouthRollUpper\"]=\"mouthRollUpper\";BlendShape[\"MouthShrugLower\"]=\"mouthShrugLower\";BlendShape[\"MouthShrugUpper\"]=\"mouthShrugUpper\";BlendShape[\"MouthSmileL\"]=\"mouthSmile_L\";BlendShape[\"MouthSmileR\"]=\"mouthSmile_R\";BlendShape[\"MouthStretchL\"]=\"mouthStretch_L\";BlendShape[\"MouthStretchR\"]=\"mouthStretch_R\";BlendShape[\"MouthUpperUpL\"]=\"mouthUpperUp_L\";BlendShape[\"MouthUpperUpR\"]=\"mouthUpperUp_R\";BlendShape[\"NoseSneerL\"]=\"noseSneer_L\";BlendShape[\"NoseSneerR\"]=\"noseSneer_R\";})(BlendShape||(exports.BlendShape=BlendShape={}));var FaceAnchorProp;exports.FaceAnchorProp=FaceAnchorProp;(function(FaceAnchorProp){FaceAnchorProp[\"Geometry\"]=\"geometry\";FaceAnchorProp[\"BlendShapes\"]=\"blendShapes\";})(FaceAnchorProp||(exports.FaceAnchorProp=FaceAnchorProp={}));var PlaneDetection;exports.PlaneDetection=PlaneDetection;(function(PlaneDetection){PlaneDetection[\"None\"]=\"none\";PlaneDetection[\"Horizontal\"]=\"horizontal\";PlaneDetection[\"Vertical\"]=\"vertical\";})(PlaneDetection||(exports.PlaneDetection=PlaneDetection={}));var HitTestResultTypes;exports.HitTestResultTypes=HitTestResultTypes;(function(HitTestResultTypes){HitTestResultTypes[\"FeaturePoint\"]=\"featurePoint\";HitTestResultTypes[\"HorizontalPlane\"]=\"horizontalPlane\";HitTestResultTypes[\"VerticalPlane\"]=\"verticalPlane\";HitTestResultTypes[\"ExistingPlane\"]=\"existingPlane\";HitTestResultTypes[\"ExistingPlaneUsingExtent\"]=\"existingPlaneUsingExtent\";HitTestResultTypes[\"ExistingPlaneUsingGeometry\"]=\"existingPlaneUsingGeometry\";})(HitTestResultTypes||(exports.HitTestResultTypes=HitTestResultTypes={}));var WorldAlignment;exports.WorldAlignment=WorldAlignment;(function(WorldAlignment){WorldAlignment[\"Gravity\"]=\"gravity\";WorldAlignment[\"GravityAndHeading\"]=\"gravityAndHeading\";WorldAlignment[\"AlignmentCamera\"]=\"alignmentCamera\";})(WorldAlignment||(exports.WorldAlignment=WorldAlignment={}));var EventType;exports.EventType=EventType;(function(EventType){EventType[EventType[\"FrameDidUpdate\"]=ExponentAR.frameDidUpdate]=\"FrameDidUpdate\";EventType[EventType[\"DidFailWithError\"]=ExponentAR.didFailWithError]=\"DidFailWithError\";EventType[EventType[\"AnchorsDidUpdate\"]=ExponentAR.anchorsDidUpdate]=\"AnchorsDidUpdate\";EventType[EventType[\"CameraDidChangeTrackingState\"]=ExponentAR.cameraDidChangeTrackingState]=\"CameraDidChangeTrackingState\";EventType[EventType[\"SessionWasInterrupted\"]=ExponentAR.sessionWasInterrupted]=\"SessionWasInterrupted\";EventType[EventType[\"SessionInterruptionEnded\"]=ExponentAR.sessionInterruptionEnded]=\"SessionInterruptionEnded\";})(EventType||(exports.EventType=EventType={}));var AnchorType;exports.AnchorType=AnchorType;(function(AnchorType){AnchorType[\"Face\"]=\"ARFaceAnchor\";AnchorType[\"Image\"]=\"ARImageAnchor\";AnchorType[\"Plane\"]=\"ARPlaneAnchor\";AnchorType[\"Anchor\"]=\"ARAnchor\";})(AnchorType||(exports.AnchorType=AnchorType={}));var AnchorEventType;exports.AnchorEventType=AnchorEventType;(function(AnchorEventType){AnchorEventType[\"Add\"]=\"add\";AnchorEventType[\"Update\"]=\"update\";AnchorEventType[\"Remove\"]=\"remove\";})(AnchorEventType||(exports.AnchorEventType=AnchorEventType={}));var FrameAttribute;exports.FrameAttribute=FrameAttribute;(function(FrameAttribute){FrameAttribute[\"Anchors\"]=\"anchors\";FrameAttribute[\"RawFeaturePoints\"]=\"rawFeaturePoints\";FrameAttribute[\"LightEstimation\"]=\"lightEstimation\";FrameAttribute[\"CapturedDepthData\"]=\"capturedDepthData\";})(FrameAttribute||(exports.FrameAttribute=FrameAttribute={}));var TrackingState;exports.TrackingState=TrackingState;(function(TrackingState){TrackingState[\"NotAvailable\"]=\"ARTrackingStateNotAvailable\";TrackingState[\"Limited\"]=\"ARTrackingStateLimited\";TrackingState[\"Normal\"]=\"ARTrackingStateNormal\";})(TrackingState||(exports.TrackingState=TrackingState={}));var TrackingStateReason;exports.TrackingStateReason=TrackingStateReason;(function(TrackingStateReason){TrackingStateReason[\"None\"]=\"ARTrackingStateReasonNone\";TrackingStateReason[\"Initializing\"]=\"ARTrackingStateReasonInitializing\";TrackingStateReason[\"ExcessiveMotion\"]=\"ARTrackingStateReasonExcessiveMotion\";TrackingStateReason[\"InsufficientFeatures\"]=\"ARTrackingStateReasonInsufficientFeatures\";TrackingStateReason[\"Relocalizing\"]=\"ARTrackingStateReasonRelocalizing\";})(TrackingStateReason||(exports.TrackingStateReason=TrackingStateReason={}));function getVersion(){return ExponentAR.ARKitVersion;}var AvailabilityErrorMessages={Simulator:\"Cannot run EXGL in a simulator\",ANineChip:\"ARKit can only run on iOS devices with A9 (2015) or greater chips! This is a\",ARKitOnlyOnIOS:\"ARKit can only run on an iOS device! This is a\"};function isAvailable(){var hasA9Chip=_expoConstants.default.deviceYearClass&&_expoConstants.default.deviceYearClass>2014;if(!_expoConstants.default.isDevice||_Platform.default.isTVOS||_Platform.default.OS!=='ios'||!hasA9Chip||!ExponentAR.isSupported||!ExponentAR.startAsync){return false;}return true;}function getUnavailabilityReason(){if(!_expoConstants.default.isDevice){return AvailabilityErrorMessages.Simulator;}else if(_Platform.default.OS!=='ios'){return AvailabilityErrorMessages.ARKitOnlyOnIOS+\" \"+_Platform.default.OS+\" device\";}else if(_expoConstants.default.deviceYearClass==null||_expoConstants.default.deviceYearClass<2015){return AvailabilityErrorMessages.ANineChip+\" \"+_expoConstants.default.deviceYearClass+\" device\";}return'Unknown Reason';}function onFrameDidUpdate(listener){return _addListener(EventType.FrameDidUpdate,listener);}function onDidFailWithError(listener){return _addListener(EventType.DidFailWithError,listener);}function onAnchorsDidUpdate(listener){return _addListener(EventType.AnchorsDidUpdate,listener);}function onCameraDidChangeTrackingState(listener){return _addListener(EventType.CameraDidChangeTrackingState,listener);}function onSessionWasInterrupted(listener){return _addListener(EventType.SessionWasInterrupted,listener);}function onSessionInterruptionEnded(listener){return _addListener(EventType.SessionInterruptionEnded,listener);}function _addListener(eventType,event){return emitter.addListener(eventType,event);}function removeAllListeners(eventType){emitter.removeAllListeners(eventType);}function performHitTest(point,types){if(ExponentAR.performHitTest){return ExponentAR.performHitTest(point,types);}throw new Error(\"AR hit testing is not supported on this device\");}function setDetectionImagesAsync(images){return _regenerator.default.async(function setDetectionImagesAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:if(!ExponentAR.setDetectionImagesAsync){_context.next=3;break;}_context.next=3;return _regenerator.default.awrap(ExponentAR.setDetectionImagesAsync(images));case 3:case\"end\":return _context.stop();}}});}function getCurrentFrame(attributes){if(ExponentAR.getCurrentFrame){return ExponentAR.getCurrentFrame(attributes);}throw new Error(\"AR is not supported on this device\");}function getARMatrices(near,far){if(ExponentAR.getARMatrices){return ExponentAR.getARMatrices(near,far);}throw new Error(\"AR is not supported on this device\");}function stopAsync(){return _regenerator.default.async(function stopAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(!ExponentAR.stopAsync){_context2.next=3;break;}_context2.next=3;return _regenerator.default.awrap(ExponentAR.stopAsync());case 3:case\"end\":return _context2.stop();}}});}function startAsync(node,configuration){var handle;return _regenerator.default.async(function startAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:handle=typeof node==='number'?node:_getNodeHandle(node);if(!ExponentAR.startAsync){_context3.next=5;break;}_context3.next=4;return _regenerator.default.awrap(ExponentAR.startAsync(handle,configuration));case 4:return _context3.abrupt(\"return\",_context3.sent);case 5:throw new Error(\"AR is not supported on this device\");case 6:case\"end\":return _context3.stop();}}});}function _getNodeHandle(component){var handle=(0,_findNodeHandle.default)(component);if(handle===null){throw new Error(\"Could not find the React node handle for the AR component: \"+component);}return handle;}function reset(){if(ExponentAR.reset){ExponentAR.reset();}}function resume(){if(ExponentAR.resume){ExponentAR.resume();}}function pause(){if(ExponentAR.pause){ExponentAR.pause();}}function setConfigurationAsync(configuration){return _regenerator.default.async(function setConfigurationAsync$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:if(!ExponentAR.setConfigurationAsync){_context4.next=3;break;}_context4.next=3;return _regenerator.default.awrap(ExponentAR.setConfigurationAsync(configuration));case 3:case\"end\":return _context4.stop();}}});}function getProvidesAudioData(){if(ExponentAR.getProvidesAudioData){return ExponentAR.getProvidesAudioData();}return false;}function setProvidesAudioData(providesAudioData){if(ExponentAR.setProvidesAudioData){ExponentAR.setProvidesAudioData(providesAudioData);}}function setPlaneDetection(planeDetection){if(ExponentAR.setPlaneDetection){ExponentAR.setPlaneDetection(planeDetection);}}function getPlaneDetection(){if(ExponentAR.getPlaneDetection){return ExponentAR.getPlaneDetection();}throw new Error(\"AR plane detection is not supported on this device\");}function getCameraTexture(){if(ExponentAR.getCameraTexture){return ExponentAR.getCameraTexture();}throw new Error(\"AR camera textures are not supported on this device\");}function setWorldOriginAsync(matrix_float4x4){return _regenerator.default.async(function setWorldOriginAsync$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:if(!ExponentAR.setWorldOriginAsync){_context5.next=3;break;}_context5.next=3;return _regenerator.default.awrap(ExponentAR.setWorldOriginAsync(matrix_float4x4));case 3:case\"end\":return _context5.stop();}}});}function setLightEstimationEnabled(isLightEstimationEnabled){if(ExponentAR.setLightEstimationEnabled){ExponentAR.setLightEstimationEnabled(isLightEstimationEnabled);}}function getLightEstimationEnabled(){if(ExponentAR.getLightEstimationEnabled){return ExponentAR.getLightEstimationEnabled();}return false;}function setAutoFocusEnabled(isAutoFocusEnabled){if(ExponentAR.setAutoFocusEnabled){ExponentAR.setAutoFocusEnabled(isAutoFocusEnabled);}}function getAutoFocusEnabled(){if(ExponentAR.getAutoFocusEnabled){return ExponentAR.getAutoFocusEnabled();}return false;}function setWorldAlignment(worldAlignment){if(ExponentAR.setWorldAlignment){ExponentAR.setWorldAlignment(worldAlignment);}}function getWorldAlignment(){if(ExponentAR.getWorldAlignment){return ExponentAR.getWorldAlignment();}throw new Error(\"AR world alignment is not supported on this device\");}function isConfigurationAvailable(configuration){var _Dimensions$get=_Dimensions.default.get('window'),width=_Dimensions$get.width,height=_Dimensions$get.height;var isX=(width===812||height===812)&&!_Platform.default.isTVOS&&!_Platform.default.isPad;if(configuration===TrackingConfiguration.Face&&isX&&isAvailable()){return true;}return!!ExponentAR[configuration];}function getSupportedVideoFormats(configuration){var _videoFormats;var videoFormats=(_videoFormats={},(0,_defineProperty2.default)(_videoFormats,TrackingConfiguration.World,'WorldTrackingVideoFormats'),(0,_defineProperty2.default)(_videoFormats,TrackingConfiguration.Orientation,'OrientationTrackingVideoFormats'),(0,_defineProperty2.default)(_videoFormats,TrackingConfiguration.Face,'FaceTrackingVideoFormats'),_videoFormats);var videoFormat=videoFormats[configuration];return ExponentAR[videoFormat]||[];}function isFrontCameraAvailable(){return isConfigurationAvailable(TrackingConfiguration.Face);}function isRearCameraAvailable(){return isConfigurationAvailable(TrackingConfiguration.World);}var PlaneDetectionTypes=PlaneDetection;exports.PlaneDetectionTypes=PlaneDetectionTypes;var WorldAlignmentTypes=WorldAlignment;exports.WorldAlignmentTypes=WorldAlignmentTypes;var EventTypes=EventType;exports.EventTypes=EventTypes;var AnchorTypes=AnchorType;exports.AnchorTypes=AnchorTypes;var AnchorEventTypes=AnchorEventType;exports.AnchorEventTypes=AnchorEventTypes;var FrameAttributes=FrameAttribute;exports.FrameAttributes=FrameAttributes;var TrackingStates=TrackingState;exports.TrackingStates=TrackingStates;var TrackingStateReasons=TrackingStateReason;exports.TrackingStateReasons=TrackingStateReasons;var TrackingConfigurations=TrackingConfiguration;exports.TrackingConfigurations=TrackingConfigurations;","map":{"version":3,"sources":["../src/AR.ts"],"names":[],"mappings":"68EAAA,qE,seAWA,GAAM,CAAA,UAAU,CAAG,uBAAc,UAAd,EAA4B,EAA/C,CAEA,GAAM,CAAA,OAAO,CAAG,GAAI,4BAAJ,CAAuB,UAAvB,CAAhB,CAOA,GAAY,CAAA,qBAAZ,C,oDAAA,CAAA,SAAY,qBAAZ,CAAiC,CAK/B,qBAAA,CAAA,OAAA,CAAA,CAAA,8BAAA,CAKA,qBAAA,CAAA,aAAA,CAAA,CAAA,oCAAA,CAKA,qBAAA,CAAA,MAAA,CAAA,CAAA,6BAAA,CACD,CAhBD,EAAY,qBAAqB,iCAArB,qBAAqB,CAAA,EAAA,CAAjC,EAkBA,GAAY,CAAA,gBAAZ,C,0CAAA,CAAA,SAAY,gBAAZ,CAA4B,CAC1B,gBAAA,CAAA,KAAA,CAAA,CAAA,uBAAA,CACA,gBAAA,CAAA,MAAA,CAAA,CAAA,wBAAA,CACD,CAHD,EAAY,gBAAgB,4BAAhB,gBAAgB,CAAA,EAAA,CAA5B,EAKA,GAAY,CAAA,iBAAZ,C,4CAAA,CAAA,SAAY,iBAAZ,CAA6B,CAC3B,iBAAA,CAAA,UAAA,CAAA,CAAA,6BAAA,CACA,iBAAA,CAAA,UAAA,CAAA,CAAA,6BAAA,CACD,CAHD,EAAY,iBAAiB,6BAAjB,iBAAiB,CAAA,EAAA,CAA7B,EA4JA,GAAY,CAAA,UAAZ,C,8BAAA,CAAA,SAAY,UAAZ,CAAsB,CACpB,UAAA,CAAA,WAAA,CAAA,CAAA,YAAA,CACA,UAAA,CAAA,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C,WAFP,CAEqB,iCAFrB,6CAGf,qBAAqB,CAAC,IAHP,CAGc,0BAHd,gBAAlB,CAKA,GAAM,CAAA,WAAW,CAAG,YAAY,CAAC,aAAD,CAAhC,CACA,MAAO,CAAA,UAAU,CAAC,WAAD,CAAV,EAA2B,EAAlC,CACD,CAEK,QAAU,CAAA,sBAAV,EAAgC,CACpC,MAAO,CAAA,wBAAwB,CAAC,qBAAqB,CAAC,IAAvB,CAA/B,CACD,CAEK,QAAU,CAAA,qBAAV,EAA+B,CACnC,MAAO,CAAA,wBAAwB,CAAC,qBAAqB,CAAC,KAAvB,CAA/B,CACD,CAQM,GAAM,CAAA,mBAAmB,CAAG,cAA5B,C,gDAKA,GAAM,CAAA,mBAAmB,CAAG,cAA5B,C,gDAKA,GAAM,CAAA,UAAU,CAAG,SAAnB,C,8BAKA,GAAM,CAAA,WAAW,CAAG,UAApB,C,gCAKA,GAAM,CAAA,gBAAgB,CAAG,eAAzB,C,0CAKA,GAAM,CAAA,eAAe,CAAG,cAAxB,C,wCAKA,GAAM,CAAA,cAAc,CAAG,aAAvB,C,sCAKA,GAAM,CAAA,oBAAoB,CAAG,mBAA7B,C,kDAKA,GAAM,CAAA,sBAAsB,CAAG,qBAA/B,C","sourcesContent":["import Constants from 'expo-constants';\nimport * as React from 'react';\nimport {\n Dimensions,\n NativeEventEmitter,\n NativeModules,\n Platform,\n EmitterSubscription,\n findNodeHandle,\n} from 'react-native';\n\nconst ExponentAR = NativeModules.ExponentAR || {};\n\nconst emitter = new NativeEventEmitter(ExponentAR);\n\n/**\n * Tracking Configuration\n * Options for how ARKit constructs a scene coordinate system based on real-world device motion.\n * https://developer.apple.com/documentation/arkit/arconfiguration\n */\nexport enum TrackingConfiguration {\n /**\n * Provides high-quality AR experiences that use the rear-facing camera precisely track a device's\n * position and orientation and allow plane detection and hit testing.\n */\n World = 'ARWorldTrackingConfiguration',\n /**\n * Provides basic AR experiences that use the rear-facing camera and track only a device's\n * orientation.\n */\n Orientation = 'AROrientationTrackingConfiguration',\n /**\n * Provides AR experiences that use the front-facing camera and track the movement and expressions\n * of the user's face.\n */\n Face = 'ARFaceTrackingConfiguration',\n}\n\nexport enum DepthDataQuality {\n Low = 'AVDepthDataQualityLow',\n High = 'AVDepthDataQualityHigh',\n}\n\nexport enum DepthDataAccuracy {\n Absolute = 'AVDepthDataAccuracyAbsolute',\n Relative = 'AVDepthDataAccuracyRelative',\n}\n\nexport type Size = {\n width: number;\n height: number;\n};\n\nexport type Vector3 = {\n x: number;\n y: number;\n z: number;\n};\n\nexport type Vector2 = {\n x: number;\n y: number;\n};\n\nexport type TextureCoordinate = {\n u: number;\n v: number;\n};\n\nexport type Matrix = number[];\n\nexport type FaceGeometry = {\n vertexCount: number;\n textureCoordinateCount: number;\n triangleCount: number;\n vertices: Vector3[];\n textureCoordinates: TextureCoordinate[];\n triangleIndices: number[];\n};\n\nexport type BaseAnchor = {\n type: AnchorType;\n transform: Matrix;\n id: string;\n};\n\nexport type PlaneAnchor = BaseAnchor & {\n type: AnchorType.Plane;\n center: Vector3;\n extent: { width: number; length: number };\n};\n\nexport type ImageAnchor = BaseAnchor & {\n type: AnchorType.Image;\n image?: {\n name: string | null;\n size: Size;\n };\n};\n\nexport type FaceAnchor = BaseAnchor & {\n type: AnchorType.Face;\n isTracked: boolean;\n geometry?: FaceGeometry;\n blendShapes?: { [shape in BlendShape]?: number };\n};\n\nexport type Anchor = BaseAnchor | PlaneAnchor | ImageAnchor | FaceAnchor;\n\nexport type HitTest = {\n type: number;\n distance: number;\n localTransform: number[];\n worldTransform: number[];\n anchor: Anchor;\n};\n\nexport type HitTestResults = {\n hitTest: HitTest[];\n};\n\nexport type DetectionImage = {\n uri: string;\n width: number;\n name?: string;\n};\n\nexport type ARFrameAnchorRequest = {\n ARFaceTrackingConfiguration?: {\n geometry?: boolean;\n blendShapes?: boolean | BlendShape[];\n };\n};\n\nexport type ARFrameRequest = {\n anchors?: ARFrameAnchorRequest;\n rawFeaturePoints?: boolean;\n lightEstimation?: boolean;\n capturedDepthData?: boolean;\n};\n\nexport type LightEstimation = {\n ambientIntensity: number;\n ambientColorTemperature: number;\n primaryLightDirection?: Vector3;\n primaryLightIntensity?: number;\n};\n\nexport type RawFeaturePoint = { x: number; y: number; z: number; id: string };\n\nexport type CameraCalibrationData = {\n intrinsicMatrix: Matrix;\n intrinsicMatrixReferenceDimensions: Size;\n extrinsicMatrix: Matrix;\n pixelSize: number;\n lensDistortionLookupTable: any;\n inverseLensDistortionLookupTable: any;\n lensDistortionCenter: Vector3;\n};\n\nexport type CapturedDepthData = {\n timestamp: number;\n depthDataQuality: DepthDataQuality;\n depthDataAccuracy: DepthDataAccuracy;\n depthDataFiltered: boolean;\n cameraCalibrationData: CameraCalibrationData;\n};\n\nexport type ARFrame = {\n timestamp: number;\n anchors?: Anchor[] | null;\n rawFeaturePoints?: RawFeaturePoint[] | null;\n lightEstimation?: LightEstimation | null;\n capturedDepthData?: CapturedDepthData | null;\n};\n\nexport type ARMatrices = {\n transform: Matrix;\n viewMatrix: Matrix;\n projectionMatrix: Matrix;\n};\n\ntype ARStartResult = {\n capturedImageTexture: number;\n};\n\ntype ReactNativeNodeHandle = number;\n\nexport type ImageResolution = {\n width: number;\n height: number;\n};\n\nexport type VideoFormat = {\n type: string;\n imageResolution: ImageResolution;\n framesPerSecond: number;\n};\n\nexport enum BlendShape {\n BrowDownL = 'browDown_L',\n BrowDownR = 'browDown_R',\n BrowInnerUp = 'browInnerUp',\n BrowOuterUpL = 'browOuterUp_L',\n BrowOuterUpR = 'browOuterUp_R',\n CheekPuff = 'cheekPuff',\n CheekSquintL = 'cheekSquint_L',\n CheekSquintR = 'cheekSquint_R',\n EyeBlinkL = 'eyeBlink_L',\n EyeBlinkR = 'eyeBlink_R',\n EyeLookDownL = 'eyeLookDown_L',\n EyeLookDownR = 'eyeLookDown_R',\n EyeLookInL = 'eyeLookIn_L',\n EyeLookInR = 'eyeLookIn_R',\n EyeLookOutL = 'eyeLookOut_L',\n EyeLookOutR = 'eyeLookOut_R',\n EyeLookUpL = 'eyeLookUp_L',\n EyeLookUpR = 'eyeLookUp_R',\n EyeSquintL = 'eyeSquint_L',\n EyeSquintR = 'eyeSquint_R',\n EyeWideL = 'eyeWide_L',\n EyeWideR = 'eyeWide_R',\n JawForward = 'jawForward',\n JawLeft = 'jawLeft',\n JawOpen = 'jawOpen',\n JawRight = 'jawRight',\n MouthClose = 'mouthClose',\n MouthDimpleL = 'mouthDimple_L',\n MouthDimpleR = 'mouthDimple_R',\n MouthFrownL = 'mouthFrown_L',\n MouthFrownR = 'mouthFrown_R',\n MouthFunnel = 'mouthFunnel',\n MouthLeft = 'mouthLeft',\n MouthLowerDownL = 'mouthLowerDown_L',\n MouthLowerDownR = 'mouthLowerDown_R',\n MouthPressL = 'mouthPress_L',\n MouthPressR = 'mouthPress_R',\n MouthPucker = 'mouthPucker',\n MouthRight = 'mouthRight',\n MouthRollLower = 'mouthRollLower',\n MouthRollUpper = 'mouthRollUpper',\n MouthShrugLower = 'mouthShrugLower',\n MouthShrugUpper = 'mouthShrugUpper',\n MouthSmileL = 'mouthSmile_L',\n MouthSmileR = 'mouthSmile_R',\n MouthStretchL = 'mouthStretch_L',\n MouthStretchR = 'mouthStretch_R',\n MouthUpperUpL = 'mouthUpperUp_L',\n MouthUpperUpR = 'mouthUpperUp_R',\n NoseSneerL = 'noseSneer_L',\n NoseSneerR = 'noseSneer_R',\n}\n\nexport enum FaceAnchorProp {\n Geometry = 'geometry',\n BlendShapes = 'blendShapes',\n}\n\n/**\n * Plane Detection\n * Options for whether and how ARKit detects flat surfaces in captured images.\n * https://developer.apple.com/documentation/arkit/arplanedetection\n */\nexport enum PlaneDetection {\n /**\n * No plane detection is run\n */\n None = 'none',\n /**\n * Plane detection determines horizontal planes in the scene\n */\n Horizontal = 'horizontal',\n /**\n * Plane detection determines vertical planes in the scene\n */\n Vertical = 'vertical',\n}\n\n/**\n * Hit-Test Result Types\n * Possible types for specifying a hit-test search, or for the result of a hit-test search.\n * https://developer.apple.com/documentation/arkit/arhittestresulttype\n */\nexport enum HitTestResultTypes {\n /**\n * Result type from intersecting the nearest feature point.\n */\n FeaturePoint = 'featurePoint',\n /**\n * Result type from intersecting a horizontal plane estimate, determined for the current frame.\n */\n HorizontalPlane = 'horizontalPlane',\n /**\n * Result type from intersecting a vertical plane estimate, determined for the current frame.\n */\n VerticalPlane = 'verticalPlane',\n /**\n * Result type from intersecting with an existing plane anchor.\n */\n ExistingPlane = 'existingPlane',\n /**\n * Result type from intersecting with an existing plane anchor, taking into account the plane’s\n * extent.\n */\n ExistingPlaneUsingExtent = 'existingPlaneUsingExtent',\n /**\n * Result type from intersecting with an existing plane anchor, taking into account the plane’s\n * geometry.\n */\n ExistingPlaneUsingGeometry = 'existingPlaneUsingGeometry',\n}\n\n/**\n * World Alignment\n * Options for how ARKit constructs a scene coordinate system based on real-world device motion.\n * https://developer.apple.com/documentation/arkit/arworldalignment\n */\nexport enum WorldAlignment {\n /**\n * Aligns the world with gravity that is defined by vector (0, -1, 0).\n */\n Gravity = 'gravity',\n /**\n * Aligns the world with gravity that is defined by the vector (0, -1, 0) and heading (w.r.t. true\n * north) that is given by the vector (0, 0, -1).\n */\n GravityAndHeading = 'gravityAndHeading',\n /**\n * Aligns the world with the camera’s orientation.\n */\n AlignmentCamera = 'alignmentCamera',\n}\n\nexport enum EventType {\n FrameDidUpdate = ExponentAR.frameDidUpdate,\n DidFailWithError = ExponentAR.didFailWithError,\n AnchorsDidUpdate = ExponentAR.anchorsDidUpdate,\n CameraDidChangeTrackingState = ExponentAR.cameraDidChangeTrackingState,\n SessionWasInterrupted = ExponentAR.sessionWasInterrupted,\n SessionInterruptionEnded = ExponentAR.sessionInterruptionEnded,\n}\n\nexport enum AnchorType {\n Face = 'ARFaceAnchor',\n Image = 'ARImageAnchor',\n Plane = 'ARPlaneAnchor',\n Anchor = 'ARAnchor',\n}\n\nexport enum AnchorEventType {\n Add = 'add',\n Update = 'update',\n Remove = 'remove',\n}\n\nexport enum FrameAttribute {\n Anchors = 'anchors',\n RawFeaturePoints = 'rawFeaturePoints',\n LightEstimation = 'lightEstimation',\n CapturedDepthData = 'capturedDepthData',\n}\n\nexport enum TrackingState {\n /** Tracking is not available. */\n NotAvailable = 'ARTrackingStateNotAvailable',\n /** Tracking is limited. See tracking reason for details. */\n Limited = 'ARTrackingStateLimited',\n /** Tracking is Normal. */\n Normal = 'ARTrackingStateNormal',\n}\n\nexport enum TrackingStateReason {\n /** Tracking is not limited. */\n None = 'ARTrackingStateReasonNone',\n\n /** Tracking is limited due to initialization in progress. */\n Initializing = 'ARTrackingStateReasonInitializing',\n\n /** Tracking is limited due to a excessive motion of the camera. */\n ExcessiveMotion = 'ARTrackingStateReasonExcessiveMotion',\n\n /** Tracking is limited due to a lack of features visible to the camera. */\n InsufficientFeatures = 'ARTrackingStateReasonInsufficientFeatures',\n\n /** Tracking is limited due to a relocalization in progress. */\n Relocalizing = 'ARTrackingStateReasonRelocalizing',\n}\n\ntype FrameDidUpdateEvent = {};\n\ntype DidFailWithErrorEvent = { error: Error };\n\ntype AnchorsDidUpdateEvent = {\n eventType: AnchorEventType;\n anchors: Anchor[];\n};\n\ntype CameraDidChangeTrackingStateEvent = {\n trackingState: TrackingState;\n trackingStateReason: TrackingStateReason;\n};\n\ntype SessionWasInterruptedEvent = {};\n\ntype SessionInterruptionEndedEvent = {};\n\nexport function getVersion(): string {\n return ExponentAR.ARKitVersion;\n}\n\nconst AvailabilityErrorMessages = {\n Simulator: `Cannot run EXGL in a simulator`,\n ANineChip: `ARKit can only run on iOS devices with A9 (2015) or greater chips! This is a`,\n ARKitOnlyOnIOS: `ARKit can only run on an iOS device! This is a`,\n};\n\nexport function isAvailable(): boolean {\n // Device has A9 chip\n const hasA9Chip = Constants.deviceYearClass && Constants.deviceYearClass > 2014;\n\n if (\n !Constants.isDevice || // Prevent Simulators\n // @ts-ignore\n Platform.isTVOS ||\n Platform.OS !== 'ios' || // Device is iOS\n !hasA9Chip ||\n !ExponentAR.isSupported || // ARKit is included in the build\n !ExponentAR.startAsync // Older SDK versions (27 and lower) that are fully compatible\n ) {\n return false;\n }\n\n return true;\n}\n\nexport function getUnavailabilityReason(): string {\n if (!Constants.isDevice) {\n return AvailabilityErrorMessages.Simulator;\n } else if (Platform.OS !== 'ios') {\n return `${AvailabilityErrorMessages.ARKitOnlyOnIOS} ${Platform.OS} device`;\n } else if (Constants.deviceYearClass == null || Constants.deviceYearClass < 2015) {\n return `${AvailabilityErrorMessages.ANineChip} ${Constants.deviceYearClass} device`;\n }\n return 'Unknown Reason';\n}\n\nexport function onFrameDidUpdate(\n listener: (event: FrameDidUpdateEvent) => void\n): EmitterSubscription {\n return _addListener(EventType.FrameDidUpdate, listener);\n}\n\nexport function onDidFailWithError(\n listener: (event: DidFailWithErrorEvent) => void\n): EmitterSubscription {\n return _addListener(EventType.DidFailWithError, listener);\n}\n\nexport function onAnchorsDidUpdate(\n listener: (event: AnchorsDidUpdateEvent) => void\n): EmitterSubscription {\n return _addListener(EventType.AnchorsDidUpdate, listener);\n}\n\nexport function onCameraDidChangeTrackingState(\n listener: (event: CameraDidChangeTrackingStateEvent) => void\n): EmitterSubscription {\n return _addListener(EventType.CameraDidChangeTrackingState, listener);\n}\n\nexport function onSessionWasInterrupted(\n listener: (event: SessionWasInterruptedEvent) => void\n): EmitterSubscription {\n return _addListener(EventType.SessionWasInterrupted, listener);\n}\n\nexport function onSessionInterruptionEnded(\n listener: (event: SessionInterruptionEndedEvent) => void\n): EmitterSubscription {\n return _addListener(EventType.SessionInterruptionEnded, listener);\n}\n\nfunction _addListener(eventType: EventType, event: (...args: any[]) => void): EmitterSubscription {\n return emitter.addListener(eventType as any, event);\n}\n\nexport function removeAllListeners(eventType?: EventType): void {\n emitter.removeAllListeners(eventType as any);\n}\n\n// TODO: support multiple types (take an array or bit flags)\nexport function performHitTest(point: Vector2, types: HitTestResultTypes): HitTestResults {\n if (ExponentAR.performHitTest) {\n return ExponentAR.performHitTest(point, types);\n }\n throw new Error(`AR hit testing is not supported on this device`);\n}\n\nexport async function setDetectionImagesAsync(images: {\n [name: string]: DetectionImage;\n}): Promise<void> {\n if (ExponentAR.setDetectionImagesAsync) {\n await ExponentAR.setDetectionImagesAsync(images);\n }\n}\n\nexport function getCurrentFrame(attributes?: ARFrameRequest): ARFrame {\n if (ExponentAR.getCurrentFrame) {\n return ExponentAR.getCurrentFrame(attributes);\n }\n throw new Error(`AR is not supported on this device`);\n}\n\nexport function getARMatrices(near: number, far: number): ARMatrices {\n if (ExponentAR.getARMatrices) {\n return ExponentAR.getARMatrices(near, far);\n }\n throw new Error(`AR is not supported on this device`);\n}\n\nexport async function stopAsync(): Promise<void> {\n if (ExponentAR.stopAsync) {\n await ExponentAR.stopAsync();\n }\n}\n\nexport async function startAsync(\n node: ReactNativeNodeHandle | React.Component,\n configuration: TrackingConfiguration\n): Promise<ARStartResult> {\n let handle = typeof node === 'number' ? node : _getNodeHandle(node);\n if (ExponentAR.startAsync) {\n return await ExponentAR.startAsync(handle, configuration);\n }\n throw new Error(`AR is not supported on this device`);\n}\n\nfunction _getNodeHandle(component: React.Component): ReactNativeNodeHandle {\n let handle = findNodeHandle(component);\n if (handle === null) {\n throw new Error(`Could not find the React node handle for the AR component: ${component}`);\n }\n return handle;\n}\n\nexport function reset() {\n if (ExponentAR.reset) {\n ExponentAR.reset();\n }\n}\n\nexport function resume() {\n if (ExponentAR.resume) {\n ExponentAR.resume();\n }\n}\n\nexport function pause() {\n if (ExponentAR.pause) {\n ExponentAR.pause();\n }\n}\n\nexport async function setConfigurationAsync(configuration: TrackingConfiguration): Promise<void> {\n if (ExponentAR.setConfigurationAsync) {\n await ExponentAR.setConfigurationAsync(configuration);\n }\n}\n\nexport function getProvidesAudioData(): boolean {\n if (ExponentAR.getProvidesAudioData) {\n return ExponentAR.getProvidesAudioData();\n }\n return false;\n}\n\nexport function setProvidesAudioData(providesAudioData: boolean): void {\n if (ExponentAR.setProvidesAudioData) {\n ExponentAR.setProvidesAudioData(providesAudioData);\n }\n}\n\nexport function setPlaneDetection(planeDetection: PlaneDetection): void {\n if (ExponentAR.setPlaneDetection) {\n ExponentAR.setPlaneDetection(planeDetection);\n }\n}\n\nexport function getPlaneDetection(): PlaneDetection {\n if (ExponentAR.getPlaneDetection) {\n return ExponentAR.getPlaneDetection();\n }\n throw new Error(`AR plane detection is not supported on this device`);\n}\n\nexport function getCameraTexture(): number {\n if (ExponentAR.getCameraTexture) {\n return ExponentAR.getCameraTexture();\n }\n throw new Error(`AR camera textures are not supported on this device`);\n}\n\nexport async function setWorldOriginAsync(matrix_float4x4: Matrix): Promise<void> {\n if (ExponentAR.setWorldOriginAsync) {\n await ExponentAR.setWorldOriginAsync(matrix_float4x4);\n }\n}\n\nexport function setLightEstimationEnabled(isLightEstimationEnabled: boolean) {\n if (ExponentAR.setLightEstimationEnabled) {\n ExponentAR.setLightEstimationEnabled(isLightEstimationEnabled);\n }\n}\n\nexport function getLightEstimationEnabled(): boolean {\n if (ExponentAR.getLightEstimationEnabled) {\n return ExponentAR.getLightEstimationEnabled();\n }\n return false;\n}\n\nexport function setAutoFocusEnabled(isAutoFocusEnabled: boolean): void {\n if (ExponentAR.setAutoFocusEnabled) {\n ExponentAR.setAutoFocusEnabled(isAutoFocusEnabled);\n }\n}\n\nexport function getAutoFocusEnabled(): boolean {\n if (ExponentAR.getAutoFocusEnabled) {\n return ExponentAR.getAutoFocusEnabled();\n }\n return false;\n}\n\nexport function setWorldAlignment(worldAlignment: WorldAlignment): void {\n if (ExponentAR.setWorldAlignment) {\n ExponentAR.setWorldAlignment(worldAlignment);\n }\n}\n\nexport function getWorldAlignment(): WorldAlignment {\n if (ExponentAR.getWorldAlignment) {\n return ExponentAR.getWorldAlignment();\n }\n throw new Error(`AR world alignment is not supported on this device`);\n}\n\nexport function isConfigurationAvailable(configuration: TrackingConfiguration): boolean {\n const { width, height } = Dimensions.get('window');\n // @ts-ignore: re-evaluate this for the new iPhones (2018)\n const isX = (width === 812 || height === 812) && !Platform.isTVOS && !Platform.isPad;\n if (configuration === TrackingConfiguration.Face && isX && isAvailable()) {\n return true;\n }\n return !!ExponentAR[configuration];\n}\n\nexport function getSupportedVideoFormats(configuration: TrackingConfiguration): VideoFormat[] {\n const videoFormats = {\n [TrackingConfiguration.World]: 'WorldTrackingVideoFormats',\n [TrackingConfiguration.Orientation]: 'OrientationTrackingVideoFormats',\n [TrackingConfiguration.Face]: 'FaceTrackingVideoFormats',\n };\n const videoFormat = videoFormats[configuration];\n return ExponentAR[videoFormat] || [];\n}\n\nexport function isFrontCameraAvailable(): boolean {\n return isConfigurationAvailable(TrackingConfiguration.Face);\n}\n\nexport function isRearCameraAvailable(): boolean {\n return isConfigurationAvailable(TrackingConfiguration.World);\n}\n\n/* Legacy constants */\n\n/**\n * A deprecated alias for `PlaneDetection`\n * July 8, 2019\n */\nexport const PlaneDetectionTypes = PlaneDetection;\n/**\n * A deprecated alias for `WorldAlignment`\n * July 8, 2019\n */\nexport const WorldAlignmentTypes = WorldAlignment;\n/**\n * A deprecated alias for `EventType`\n * July 8, 2019\n */\nexport const EventTypes = EventType;\n/**\n * A deprecated alias for `AnchorType`\n * July 8, 2019\n */\nexport const AnchorTypes = AnchorType;\n/**\n * A deprecated alias for `AnchorEventType`\n * July 8, 2019\n */\nexport const AnchorEventTypes = AnchorEventType;\n/**\n * A deprecated alias for `FrameAttribute`\n * July 8, 2019\n */\nexport const FrameAttributes = FrameAttribute;\n/**\n * A deprecated alias for `TrackingState`\n * July 8, 2019\n */\nexport const TrackingStates = TrackingState;\n/**\n * A deprecated alias for `TrackingStateReason`\n * July 8, 2019\n */\nexport const TrackingStateReasons = TrackingStateReason;\n/**\n * A deprecated alias for `TrackingConfiguration`\n * July 8, 2019\n */\nexport const TrackingConfigurations = TrackingConfiguration;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _assertThisInitialized2=_interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _ViewPropTypes=_interopRequireDefault(require(\"react-native-web/dist/exports/ViewPropTypes\"));var _ScrollView=_interopRequireDefault(require(\"react-native-web/dist/exports/ScrollView\"));var _Dimensions=_interopRequireDefault(require(\"react-native-web/dist/exports/Dimensions\"));var _TouchableOpacity=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableOpacity\"));var _ViewPagerAndroid=_interopRequireDefault(require(\"react-native-web/dist/exports/ViewPagerAndroid\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _ActivityIndicator=_interopRequireDefault(require(\"react-native-web/dist/exports/ActivityIndicator\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var styles={container:{backgroundColor:'transparent',position:'relative',flex:1},wrapperIOS:{backgroundColor:'transparent'},wrapperAndroid:{backgroundColor:'transparent',flex:1},slide:{backgroundColor:'transparent'},pagination_x:{position:'absolute',bottom:25,left:0,right:0,flexDirection:'row',flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'transparent'},pagination_y:{position:'absolute',right:15,top:0,bottom:0,flexDirection:'column',flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'transparent'},title:{height:30,justifyContent:'center',position:'absolute',paddingLeft:10,bottom:-30,left:0,flexWrap:'nowrap',width:250,backgroundColor:'transparent'},buttonWrapper:{backgroundColor:'transparent',flexDirection:'row',position:'absolute',top:0,left:0,flex:1,paddingHorizontal:10,paddingVertical:10,justifyContent:'space-between',alignItems:'center'},buttonText:{fontSize:50,color:'#007aff'}};var _default=function(_Component){(0,_inherits2.default)(_default,_Component);function _default(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,_default);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(_default)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state=_this.initState(_this.props);_this.initialRender=true;_this.autoplayTimer=null;_this.loopJumpTimer=null;_this.onLayout=function(event){var _event$nativeEvent$la=event.nativeEvent.layout,width=_event$nativeEvent$la.width,height=_event$nativeEvent$la.height;var offset=_this.internals.offset={};var state={width:width,height:height};if(_this.state.total>1){var setup=_this.state.index;if(_this.props.loop){setup++;}offset[_this.state.dir]=_this.state.dir==='y'?height*setup:width*setup;}if(!_this.state.offset||width!==_this.state.width||height!==_this.state.height){state.offset=offset;}if(_Platform.default.OS==='ios'){if(_this.initialRender&&_this.state.total>1){_this.scrollView.scrollTo(_objectSpread({},offset,{animated:false}));_this.initialRender=false;}}_this.setState(state);};_this.loopJump=function(){if(!_this.state.loopJump)return;var i=_this.state.index+(_this.props.loop?1:0);var scrollView=_this.scrollView;_this.loopJumpTimer=setTimeout(function(){return scrollView.setPageWithoutAnimation&&scrollView.setPageWithoutAnimation(i);},50);};_this.autoplay=function(){if(!Array.isArray(_this.props.children)||!_this.props.autoplay||_this.internals.isScrolling||_this.state.autoplayEnd)return;_this.autoplayTimer&&clearTimeout(_this.autoplayTimer);_this.autoplayTimer=setTimeout(function(){if(!_this.props.loop&&(_this.props.autoplayDirection?_this.state.index===_this.state.total-1:_this.state.index===0))return _this.setState({autoplayEnd:true});_this.scrollBy(_this.props.autoplayDirection?1:-1);},_this.props.autoplayTimeout*1000);};_this.onScrollBegin=function(e){_this.internals.isScrolling=true;_this.props.onScrollBeginDrag&&_this.props.onScrollBeginDrag(e,_this.fullState(),(0,_assertThisInitialized2.default)(_this));};_this.onScrollEnd=function(e){_this.internals.isScrolling=false;if(!e.nativeEvent.contentOffset){if(_this.state.dir==='x'){e.nativeEvent.contentOffset={x:e.nativeEvent.position*_this.state.width};}else{e.nativeEvent.contentOffset={y:e.nativeEvent.position*_this.state.height};}}_this.updateIndex(e.nativeEvent.contentOffset,_this.state.dir,function(){_this.autoplay();_this.loopJump();_this.props.onMomentumScrollEnd&&_this.props.onMomentumScrollEnd(e,_this.fullState(),(0,_assertThisInitialized2.default)(_this));});};_this.onScrollEndDrag=function(e){var contentOffset=e.nativeEvent.contentOffset;var _this$props=_this.props,horizontal=_this$props.horizontal,children=_this$props.children;var index=_this.state.index;var offset=_this.internals.offset;var previousOffset=horizontal?offset.x:offset.y;var newOffset=horizontal?contentOffset.x:contentOffset.y;if(previousOffset===newOffset&&(index===0||index===children.length-1)){_this.internals.isScrolling=false;}};_this.updateIndex=function(offset,dir,cb){var state=_this.state;var index=state.index;if(!_this.internals.offset)_this.internals.offset={};var diff=offset[dir]-_this.internals.offset[dir];var step=dir==='x'?state.width:state.height;var loopJump=false;if(!diff)return;index=parseInt(index+Math.round(diff/step));if(_this.props.loop){if(index<=-1){index=state.total-1;offset[dir]=step*state.total;loopJump=true;}else if(index>=state.total){index=0;offset[dir]=step;loopJump=true;}}var newState={};newState.index=index;newState.loopJump=loopJump;_this.internals.offset=offset;if(loopJump){if(offset[dir]===_this.internals.offset[dir]){newState.offset={x:0,y:0};newState.offset[dir]=offset[dir]+1;_this.setState(newState,function(){_this.setState({offset:offset},cb);});}else{newState.offset=offset;_this.setState(newState,cb);}}else{_this.setState(newState,cb);}};_this.scrollBy=function(index){var animated=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;if(_this.internals.isScrolling||_this.state.total<2)return;var state=_this.state;var diff=(_this.props.loop?1:0)+index+_this.state.index;var x=0;var y=0;if(state.dir==='x')x=diff*state.width;if(state.dir==='y')y=diff*state.height;if(_Platform.default.OS!=='ios'){_this.scrollView&&_this.scrollView[animated?'setPage':'setPageWithoutAnimation'](diff);}else{_this.scrollView&&_this.scrollView.scrollTo({x:x,y:y,animated:animated});}_this.internals.isScrolling=true;_this.setState({autoplayEnd:false});if(!animated||_Platform.default.OS!=='ios'){setImmediate(function(){_this.onScrollEnd({nativeEvent:{position:diff}});});}};_this.scrollViewPropOverrides=function(){var props=_this.props;var overrides={};for(var prop in props){if(typeof props[prop]==='function'&&prop!=='onMomentumScrollEnd'&&prop!=='renderPagination'&&prop!=='onScrollBeginDrag'){(function(){var originResponder=props[prop];overrides[prop]=function(e){return originResponder(e,_this.fullState(),(0,_assertThisInitialized2.default)(_this));};})();}}return overrides;};_this.renderPagination=function(){if(_this.state.total<=1)return null;var dots=[];var ActiveDot=_this.props.activeDot||_react.default.createElement(_View.default,{style:[{backgroundColor:_this.props.activeDotColor||'#007aff',width:8,height:8,borderRadius:4,marginLeft:3,marginRight:3,marginTop:3,marginBottom:3},_this.props.activeDotStyle]});var Dot=_this.props.dot||_react.default.createElement(_View.default,{style:[{backgroundColor:_this.props.dotColor||'rgba(0,0,0,.2)',width:8,height:8,borderRadius:4,marginLeft:3,marginRight:3,marginTop:3,marginBottom:3},_this.props.dotStyle]});for(var i=0;i<_this.state.total;i++){dots.push(i===_this.state.index?_react.default.cloneElement(ActiveDot,{key:i}):_react.default.cloneElement(Dot,{key:i}));}return _react.default.createElement(_View.default,{pointerEvents:\"none\",style:[styles['pagination_'+_this.state.dir],_this.props.paginationStyle]},dots);};_this.renderTitle=function(){var child=_this.props.children[_this.state.index];var title=child&&child.props&&child.props.title;return title?_react.default.createElement(_View.default,{style:styles.title},_this.props.children[_this.state.index].props.title):null;};_this.renderNextButton=function(){var button=null;if(_this.props.loop||_this.state.index!==_this.state.total-1){button=_this.props.nextButton||_react.default.createElement(_Text.default,{style:styles.buttonText},\"\\u203A\");}return _react.default.createElement(_TouchableOpacity.default,{onPress:function onPress(){return button!==null&&_this.scrollBy(1);},disabled:_this.props.disableNextButton},_react.default.createElement(_View.default,null,button));};_this.renderPrevButton=function(){var button=null;if(_this.props.loop||_this.state.index!==0){button=_this.props.prevButton||_react.default.createElement(_Text.default,{style:styles.buttonText},\"\\u2039\");}return _react.default.createElement(_TouchableOpacity.default,{onPress:function onPress(){return button!==null&&_this.scrollBy(-1);}},_react.default.createElement(_View.default,null,button));};_this.renderButtons=function(){return _react.default.createElement(_View.default,{pointerEvents:\"box-none\",style:[styles.buttonWrapper,{width:_this.state.width,height:_this.state.height},_this.props.buttonWrapperStyle]},_this.renderPrevButton(),_this.renderNextButton());};_this.refScrollView=function(view){_this.scrollView=view;};_this.onPageScrollStateChanged=function(state){switch(state){case'dragging':return _this.onScrollBegin();case'idle':case'settling':if(_this.props.onTouchEnd)_this.props.onTouchEnd();}};_this.renderScrollView=function(pages){if(_Platform.default.OS==='ios'){return _react.default.createElement(_ScrollView.default,(0,_extends2.default)({ref:_this.refScrollView},_this.props,_this.scrollViewPropOverrides(),{contentContainerStyle:[styles.wrapperIOS,_this.props.style],contentOffset:_this.state.offset,onScrollBeginDrag:_this.onScrollBegin,onMomentumScrollEnd:_this.onScrollEnd,onScrollEndDrag:_this.onScrollEndDrag,style:_this.props.scrollViewStyle}),pages);}return _react.default.createElement(_ViewPagerAndroid.default,(0,_extends2.default)({ref:_this.refScrollView},_this.props,{initialPage:_this.props.loop?_this.state.index+1:_this.state.index,onPageScrollStateChanged:_this.onPageScrollStateChanged,onPageSelected:_this.onScrollEnd,key:pages.length,style:[styles.wrapperAndroid,_this.props.style]}),pages);};return _this;}(0,_createClass2.default)(_default,[{key:\"componentWillReceiveProps\",value:function componentWillReceiveProps(nextProps){if(!nextProps.autoplay&&this.autoplayTimer)clearTimeout(this.autoplayTimer);this.setState(this.initState(nextProps,this.props.index!==nextProps.index));}},{key:\"componentDidMount\",value:function componentDidMount(){this.autoplay();}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this.autoplayTimer&&clearTimeout(this.autoplayTimer);this.loopJumpTimer&&clearTimeout(this.loopJumpTimer);}},{key:\"componentWillUpdate\",value:function componentWillUpdate(nextProps,nextState){if(this.state.index!==nextState.index)this.props.onIndexChanged(nextState.index);}},{key:\"initState\",value:function initState(props){var updateIndex=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var state=this.state||{width:0,height:0,offset:{x:0,y:0}};var initState={autoplayEnd:false,loopJump:false,offset:{}};initState.total=props.children?props.children.length||1:0;if(state.total===initState.total&&!updateIndex){initState.index=state.index;}else{initState.index=initState.total>1?Math.min(props.index,initState.total-1):0;}var _Dimensions$get=_Dimensions.default.get('window'),width=_Dimensions$get.width,height=_Dimensions$get.height;initState.dir=props.horizontal===false?'y':'x';if(props.width){initState.width=props.width;}else if(this.state&&this.state.width){initState.width=this.state.width;}else{initState.width=width;}if(props.height){initState.height=props.height;}else if(this.state&&this.state.height){initState.height=this.state.height;}else{initState.height=height;}initState.offset[initState.dir]=initState.dir==='y'?height*props.index:width*props.index;this.internals=_objectSpread({},this.internals,{isScrolling:false});return initState;}},{key:\"fullState\",value:function fullState(){return(0,_extends2.default)({},this.state,this.internals);}},{key:\"render\",value:function render(){var state=this.state;var props=this.props;var _this$state=this.state,index=_this$state.index,total=_this$state.total,width=_this$state.width,height=_this$state.height;var _this$props2=this.props,children=_this$props2.children,containerStyle=_this$props2.containerStyle,loop=_this$props2.loop,loadMinimal=_this$props2.loadMinimal,loadMinimalSize=_this$props2.loadMinimalSize,loadMinimalLoader=_this$props2.loadMinimalLoader,renderPagination=_this$props2.renderPagination,showsButtons=_this$props2.showsButtons,showsPagination=_this$props2.showsPagination;var loopVal=loop?1:0;var pages=[];var pageStyle=[{width:width,height:height},styles.slide];var pageStyleLoading={width:width,height:height,flex:1,justifyContent:'center',alignItems:'center'};if(total>1){pages=Object.keys(children);if(loop){pages.unshift(total-1+'');pages.push('0');}pages=pages.map(function(page,i){if(loadMinimal){if(i>=index+loopVal-loadMinimalSize&&i<=index+loopVal+loadMinimalSize){return _react.default.createElement(_View.default,{style:pageStyle,key:i},children[page]);}else{return _react.default.createElement(_View.default,{style:pageStyleLoading,key:i},loadMinimalLoader?loadMinimalLoader:_react.default.createElement(_ActivityIndicator.default,null));}}else{return _react.default.createElement(_View.default,{style:pageStyle,key:i},children[page]);}});}else{pages=_react.default.createElement(_View.default,{style:pageStyle,key:0},children);}return _react.default.createElement(_View.default,{style:[styles.container,containerStyle],onLayout:this.onLayout},this.renderScrollView(pages),showsPagination&&(renderPagination?renderPagination(index,total,this):this.renderPagination()),this.renderTitle(),showsButtons&&this.renderButtons());}}]);return _default;}(_react.Component);exports.default=_default;_default.propTypes={horizontal:_propTypes.default.bool,children:_propTypes.default.node.isRequired,containerStyle:_propTypes.default.oneOfType([_propTypes.default.object,_propTypes.default.number]),style:_propTypes.default.oneOfType([_propTypes.default.object,_propTypes.default.number]),scrollViewStyle:_propTypes.default.oneOfType([_propTypes.default.object,_propTypes.default.number]),pagingEnabled:_propTypes.default.bool,showsHorizontalScrollIndicator:_propTypes.default.bool,showsVerticalScrollIndicator:_propTypes.default.bool,bounces:_propTypes.default.bool,scrollsToTop:_propTypes.default.bool,removeClippedSubviews:_propTypes.default.bool,automaticallyAdjustContentInsets:_propTypes.default.bool,showsPagination:_propTypes.default.bool,showsButtons:_propTypes.default.bool,disableNextButton:_propTypes.default.bool,loadMinimal:_propTypes.default.bool,loadMinimalSize:_propTypes.default.number,loadMinimalLoader:_propTypes.default.element,loop:_propTypes.default.bool,autoplay:_propTypes.default.bool,autoplayTimeout:_propTypes.default.number,autoplayDirection:_propTypes.default.bool,index:_propTypes.default.number,renderPagination:_propTypes.default.func,dotStyle:_propTypes.default.oneOfType([_propTypes.default.object,_propTypes.default.number]),activeDotStyle:_propTypes.default.oneOfType([_propTypes.default.object,_propTypes.default.number]),dotColor:_propTypes.default.string,activeDotColor:_propTypes.default.string,onIndexChanged:_propTypes.default.func};_default.defaultProps={horizontal:true,pagingEnabled:true,showsHorizontalScrollIndicator:false,showsVerticalScrollIndicator:false,bounces:false,scrollsToTop:false,removeClippedSubviews:true,automaticallyAdjustContentInsets:false,showsPagination:true,showsButtons:false,disableNextButton:false,loop:true,loadMinimal:false,loadMinimalSize:1,autoplay:false,autoplayTimeout:2.5,autoplayDirection:true,index:0,onIndexChanged:function onIndexChanged(){return null;}};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-swiper/src/index.js"],"names":["styles","container","backgroundColor","position","flex","wrapperIOS","wrapperAndroid","slide","pagination_x","bottom","left","right","flexDirection","justifyContent","alignItems","pagination_y","top","title","height","paddingLeft","flexWrap","width","buttonWrapper","paddingHorizontal","paddingVertical","buttonText","fontSize","color","state","initState","props","initialRender","autoplayTimer","loopJumpTimer","onLayout","event","nativeEvent","layout","offset","internals","total","setup","index","loop","dir","Platform","OS","scrollView","scrollTo","animated","setState","loopJump","i","setTimeout","setPageWithoutAnimation","autoplay","Array","isArray","children","isScrolling","autoplayEnd","clearTimeout","autoplayDirection","scrollBy","autoplayTimeout","onScrollBegin","e","onScrollBeginDrag","fullState","onScrollEnd","contentOffset","x","y","updateIndex","onMomentumScrollEnd","onScrollEndDrag","horizontal","previousOffset","newOffset","length","cb","diff","step","parseInt","Math","round","newState","setImmediate","scrollViewPropOverrides","overrides","prop","originResponder","renderPagination","dots","ActiveDot","activeDot","activeDotColor","borderRadius","marginLeft","marginRight","marginTop","marginBottom","activeDotStyle","Dot","dot","dotColor","dotStyle","push","React","cloneElement","key","paginationStyle","renderTitle","child","renderNextButton","button","nextButton","disableNextButton","renderPrevButton","prevButton","renderButtons","buttonWrapperStyle","refScrollView","view","onPageScrollStateChanged","onTouchEnd","renderScrollView","pages","style","scrollViewStyle","nextProps","nextState","onIndexChanged","min","Dimensions","get","containerStyle","loadMinimal","loadMinimalSize","loadMinimalLoader","showsButtons","showsPagination","loopVal","pageStyle","pageStyleLoading","Object","keys","unshift","map","page","Component","propTypes","PropTypes","bool","node","isRequired","oneOfType","object","number","pagingEnabled","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","bounces","scrollsToTop","removeClippedSubviews","automaticallyAdjustContentInsets","element","func","string","defaultProps"],"mappings":"4+BAIA,qDACA,6D,qmDAiBA,GAAMA,CAAAA,MAAM,CAAG,CACbC,SAAS,CAAE,CACTC,eAAe,CAAE,aADR,CAETC,QAAQ,CAAE,UAFD,CAGTC,IAAI,CAAE,CAHG,CADE,CAObC,UAAU,CAAE,CACVH,eAAe,CAAE,aADP,CAPC,CAWbI,cAAc,CAAE,CACdJ,eAAe,CAAE,aADH,CAEdE,IAAI,CAAE,CAFQ,CAXH,CAgBbG,KAAK,CAAE,CACLL,eAAe,CAAE,aADZ,CAhBM,CAoBbM,YAAY,CAAE,CACZL,QAAQ,CAAE,UADE,CAEZM,MAAM,CAAE,EAFI,CAGZC,IAAI,CAAE,CAHM,CAIZC,KAAK,CAAE,CAJK,CAKZC,aAAa,CAAE,KALH,CAMZR,IAAI,CA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V,CAAoB,CAACJ,mBAAUK,MAAX,CAAmBL,mBAAUM,MAA7B,CAApB,CAnCC,CAoCjBrD,QAAQ,CAAE+C,mBAAUgB,MApCH,CAqCjBxE,cAAc,CAAEwD,mBAAUgB,MArCT,CAyCjBpC,cAAc,CAAEoB,mBAAUe,IAzCT,C,UAiDZE,Y,CAAe,CACpB7F,UAAU,CAAE,IADQ,CAEpBmF,aAAa,CAAE,IAFK,CAGpBC,8BAA8B,CAAE,KAHZ,CAIpBC,4BAA4B,CAAE,KAJV,CAKpBC,OAAO,CAAE,KALW,CAMpBC,YAAY,CAAE,KANM,CAOpBC,qBAAqB,CAAE,IAPH,CAQpBC,gCAAgC,CAAE,KARd,CASpBxB,eAAe,CAAE,IATG,CAUpBD,YAAY,CAAE,KAVM,CAWpBvB,iBAAiB,CAAE,KAXC,CAYpB1E,IAAI,CAAE,IAZc,CAapB8F,WAAW,CAAE,KAbO,CAcpBC,eAAe,CAAE,CAdG,CAepBnF,QAAQ,CAAE,KAfU,CAgBpBS,eAAe,CAAE,GAhBG,CAiBpBF,iBAAiB,CAAE,IAjBC,CAkBpBpB,KAAK,CAAE,CAlBa,CAmBpB0F,cAAc,CAAE,gCAAM,KAAN,EAnBI,C","sourcesContent":["/**\n * react-native-swiper\n * @author leecade<leecade@163.com>\n */\nimport React, { Component } from 'react'\nimport PropTypes from 'prop-types'\nimport {\n Text,\n View,\n ViewPropTypes,\n ScrollView,\n Dimensions,\n TouchableOpacity,\n ViewPagerAndroid,\n Platform,\n ActivityIndicator\n} from 'react-native'\n\n/**\n * Default styles\n * @type {StyleSheetPropType}\n */\nconst styles = {\n container: {\n backgroundColor: 'transparent',\n position: 'relative',\n flex: 1\n },\n\n wrapperIOS: {\n backgroundColor: 'transparent',\n },\n\n wrapperAndroid: {\n backgroundColor: 'transparent',\n flex: 1\n },\n\n slide: {\n backgroundColor: 'transparent',\n },\n\n pagination_x: {\n position: 'absolute',\n bottom: 25,\n left: 0,\n right: 0,\n flexDirection: 'row',\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n backgroundColor: 'transparent'\n },\n\n pagination_y: {\n position: 'absolute',\n right: 15,\n top: 0,\n bottom: 0,\n flexDirection: 'column',\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n backgroundColor: 'transparent'\n },\n\n title: {\n height: 30,\n justifyContent: 'center',\n position: 'absolute',\n paddingLeft: 10,\n bottom: -30,\n left: 0,\n flexWrap: 'nowrap',\n width: 250,\n backgroundColor: 'transparent'\n },\n\n buttonWrapper: {\n backgroundColor: 'transparent',\n flexDirection: 'row',\n position: 'absolute',\n top: 0,\n left: 0,\n flex: 1,\n paddingHorizontal: 10,\n paddingVertical: 10,\n justifyContent: 'space-between',\n alignItems: 'center'\n },\n\n buttonText: {\n fontSize: 50,\n color: '#007aff'\n }\n}\n\n// missing `module.exports = exports['default'];` with babel6\n// export default React.createClass({\nexport default class extends Component {\n /**\n * Props Validation\n * @type {Object}\n */\n static propTypes = {\n horizontal: PropTypes.bool,\n children: PropTypes.node.isRequired,\n containerStyle: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.number,\n ]),\n style: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.number,\n ]),\n scrollViewStyle: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.number,\n ]),\n pagingEnabled: PropTypes.bool,\n showsHorizontalScrollIndicator: PropTypes.bool,\n showsVerticalScrollIndicator: PropTypes.bool,\n bounces: PropTypes.bool,\n scrollsToTop: PropTypes.bool,\n removeClippedSubviews: PropTypes.bool,\n automaticallyAdjustContentInsets: PropTypes.bool,\n showsPagination: PropTypes.bool,\n showsButtons: PropTypes.bool,\n disableNextButton: PropTypes.bool,\n loadMinimal: PropTypes.bool,\n loadMinimalSize: PropTypes.number,\n loadMinimalLoader: PropTypes.element,\n loop: PropTypes.bool,\n autoplay: PropTypes.bool,\n autoplayTimeout: PropTypes.number,\n autoplayDirection: PropTypes.bool,\n index: PropTypes.number,\n renderPagination: PropTypes.func,\n dotStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.number]),\n activeDotStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.number]),\n dotColor: PropTypes.string,\n activeDotColor: PropTypes.string,\n /**\n * Called when the index has changed because the user swiped.\n */\n onIndexChanged: PropTypes.func\n }\n\n /**\n * Default props\n * @return {object} props\n * @see http://facebook.github.io/react-native/docs/scrollview.html\n */\n static defaultProps = {\n horizontal: true,\n pagingEnabled: true,\n showsHorizontalScrollIndicator: false,\n showsVerticalScrollIndicator: false,\n bounces: false,\n scrollsToTop: false,\n removeClippedSubviews: true,\n automaticallyAdjustContentInsets: false,\n showsPagination: true,\n showsButtons: false,\n disableNextButton: false,\n loop: true,\n loadMinimal: false,\n loadMinimalSize: 1,\n autoplay: false,\n autoplayTimeout: 2.5,\n autoplayDirection: true,\n index: 0,\n onIndexChanged: () => null\n }\n\n /**\n * Init states\n * @return {object} states\n */\n state = this.initState(this.props)\n\n /**\n * Initial render flag\n * @type {bool}\n */\n initialRender = true\n\n /**\n * autoplay timer\n * @type {null}\n */\n autoplayTimer = null\n loopJumpTimer = null\n\n componentWillReceiveProps (nextProps) {\n if (!nextProps.autoplay && this.autoplayTimer) clearTimeout(this.autoplayTimer)\n this.setState(this.initState(nextProps, this.props.index !== nextProps.index))\n }\n\n componentDidMount () {\n this.autoplay()\n }\n\n componentWillUnmount () {\n this.autoplayTimer && clearTimeout(this.autoplayTimer)\n this.loopJumpTimer && clearTimeout(this.loopJumpTimer)\n }\n\n componentWillUpdate (nextProps, nextState) {\n // If the index has changed, we notify the parent via the onIndexChanged callback\n if (this.state.index !== nextState.index) this.props.onIndexChanged(nextState.index)\n }\n\n initState (props, updateIndex = false) {\n // set the current state\n const state = this.state || { width: 0, height: 0, offset: { x: 0, y: 0 } }\n\n const initState = {\n autoplayEnd: false,\n loopJump: false,\n offset: {}\n }\n\n initState.total = props.children ? props.children.length || 1 : 0\n\n if (state.total === initState.total && !updateIndex) {\n // retain the index\n initState.index = state.index\n } else {\n initState.index = initState.total > 1 ? Math.min(props.index, initState.total - 1) : 0\n }\n\n // Default: horizontal\n const { width, height } = Dimensions.get('window')\n\n initState.dir = props.horizontal === false ? 'y' : 'x'\n\n if (props.width) {\n initState.width = props.width\n } else if (this.state && this.state.width){\n initState.width = this.state.width\n } else {\n initState.width = width;\n }\n\n if (props.height) {\n initState.height = props.height\n } else if (this.state && this.state.height){\n initState.height = this.state.height\n } else {\n initState.height = height;\n }\n\n initState.offset[initState.dir] = initState.dir === 'y'\n ? height * props.index\n : width * props.index\n\n\n this.internals = {\n ...this.internals,\n isScrolling: false\n };\n return initState\n }\n\n // include internals with state\n fullState () {\n return Object.assign({}, this.state, this.internals)\n }\n\n onLayout = (event) => {\n const { width, height } = event.nativeEvent.layout\n const offset = this.internals.offset = {}\n const state = { width, height }\n\n if (this.state.total > 1) {\n let setup = this.state.index\n if (this.props.loop) {\n setup++\n }\n offset[this.state.dir] = this.state.dir === 'y'\n ? height * setup\n : width * setup\n }\n\n // only update the offset in state if needed, updating offset while swiping\n // causes some bad jumping / stuttering\n if (!this.state.offset || width !== this.state.width || height !== this.state.height) {\n state.offset = offset\n }\n\n // related to https://github.com/leecade/react-native-swiper/issues/570\n // contentOffset is not working in react 0.48.x so we need to use scrollTo\n // to emulate offset.\n if (Platform.OS === 'ios') {\n if (this.initialRender && this.state.total > 1) {\n this.scrollView.scrollTo({...offset, animated: false})\n this.initialRender = false;\n }\n }\n\n this.setState(state)\n }\n\n loopJump = () => {\n if (!this.state.loopJump) return\n const i = this.state.index + (this.props.loop ? 1 : 0)\n const scrollView = this.scrollView\n this.loopJumpTimer = setTimeout(() => scrollView.setPageWithoutAnimation &&\n scrollView.setPageWithoutAnimation(i), 50)\n }\n\n /**\n * Automatic rolling\n */\n autoplay = () => {\n if (!Array.isArray(this.props.children) ||\n !this.props.autoplay ||\n this.internals.isScrolling ||\n this.state.autoplayEnd) return\n\n this.autoplayTimer && clearTimeout(this.autoplayTimer)\n this.autoplayTimer = setTimeout(() => {\n if (!this.props.loop && (\n this.props.autoplayDirection\n ? this.state.index === this.state.total - 1\n : this.state.index === 0\n )\n ) return this.setState({ autoplayEnd: true })\n\n this.scrollBy(this.props.autoplayDirection ? 1 : -1)\n }, this.props.autoplayTimeout * 1000)\n }\n\n /**\n * Scroll begin handle\n * @param {object} e native event\n */\n onScrollBegin = e => {\n // update scroll state\n this.internals.isScrolling = true\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e, this.fullState(), this)\n }\n\n /**\n * Scroll end handle\n * @param {object} e native event\n */\n onScrollEnd = e => {\n // update scroll state\n this.internals.isScrolling = false\n\n // making our events coming from android compatible to updateIndex logic\n if (!e.nativeEvent.contentOffset) {\n if (this.state.dir === 'x') {\n e.nativeEvent.contentOffset = {x: e.nativeEvent.position * this.state.width}\n } else {\n e.nativeEvent.contentOffset = {y: e.nativeEvent.position * this.state.height}\n }\n }\n\n this.updateIndex(e.nativeEvent.contentOffset, this.state.dir, () => {\n this.autoplay()\n this.loopJump()\n\n // if `onMomentumScrollEnd` registered will be called here\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e, this.fullState(), this)\n })\n }\n\n /*\n * Drag end handle\n * @param {object} e native event\n */\n onScrollEndDrag = e => {\n const { contentOffset } = e.nativeEvent\n const { horizontal, children } = this.props\n const { index } = this.state\n const { offset } = this.internals\n const previousOffset = horizontal ? offset.x : offset.y\n const newOffset = horizontal ? contentOffset.x : contentOffset.y\n\n if (previousOffset === newOffset &&\n (index === 0 || index === children.length - 1)) {\n this.internals.isScrolling = false\n }\n }\n\n /**\n * Update index after scroll\n * @param {object} offset content offset\n * @param {string} dir 'x' || 'y'\n */\n updateIndex = (offset, dir, cb) => {\n const state = this.state\n let index = state.index\n if (!this.internals.offset) // Android not setting this onLayout first? https://github.com/leecade/react-native-swiper/issues/582\n this.internals.offset = {}\n const diff = offset[dir] - this.internals.offset[dir]\n const step = dir === 'x' ? state.width : state.height\n let loopJump = false\n\n // Do nothing if offset no change.\n if (!diff) return\n\n // Note: if touch very very quickly and continuous,\n // the variation of `index` more than 1.\n // parseInt() ensures it's always an integer\n index = parseInt(index + Math.round(diff / step))\n\n if (this.props.loop) {\n if (index <= -1) {\n index = state.total - 1\n offset[dir] = step * state.total\n loopJump = true\n } else if (index >= state.total) {\n index = 0\n offset[dir] = step\n loopJump = true\n }\n }\n\n const newState = {}\n newState.index = index\n newState.loopJump = loopJump\n\n this.internals.offset = offset\n\n // only update offset in state if loopJump is true\n if (loopJump) {\n // when swiping to the beginning of a looping set for the third time,\n // the new offset will be the same as the last one set in state.\n // Setting the offset to the same thing will not do anything,\n // so we increment it by 1 then immediately set it to what it should be,\n // after render.\n if (offset[dir] === this.internals.offset[dir]) {\n newState.offset = { x: 0, y: 0 }\n newState.offset[dir] = offset[dir] + 1\n this.setState(newState, () => {\n this.setState({ offset: offset }, cb)\n })\n } else {\n newState.offset = offset\n this.setState(newState, cb)\n }\n } else {\n this.setState(newState, cb)\n }\n }\n\n /**\n * Scroll by index\n * @param {number} index offset index\n * @param {bool} animated\n */\n\n scrollBy = (index, animated = true) => {\n if (this.internals.isScrolling || this.state.total < 2) return\n const state = this.state\n const diff = (this.props.loop ? 1 : 0) + index + this.state.index\n let x = 0\n let y = 0\n if (state.dir === 'x') x = diff * state.width\n if (state.dir === 'y') y = diff * state.height\n\n if (Platform.OS !== 'ios') {\n this.scrollView && this.scrollView[animated ? 'setPage' : 'setPageWithoutAnimation'](diff)\n } else {\n this.scrollView && this.scrollView.scrollTo({ x, y, animated })\n }\n\n // update scroll state\n this.internals.isScrolling = true\n this.setState({\n autoplayEnd: false\n })\n\n // trigger onScrollEnd manually in android\n if (!animated || Platform.OS !== 'ios') {\n setImmediate(() => {\n this.onScrollEnd({\n nativeEvent: {\n position: diff\n }\n })\n })\n }\n }\n\n scrollViewPropOverrides = () => {\n const props = this.props\n let overrides = {}\n\n /*\n const scrollResponders = [\n 'onMomentumScrollBegin',\n 'onTouchStartCapture',\n 'onTouchStart',\n 'onTouchEnd',\n 'onResponderRelease',\n ]\n */\n\n for (let prop in props) {\n // if(~scrollResponders.indexOf(prop)\n if (typeof props[prop] === 'function' &&\n prop !== 'onMomentumScrollEnd' &&\n prop !== 'renderPagination' &&\n prop !== 'onScrollBeginDrag'\n ) {\n let originResponder = props[prop]\n overrides[prop] = (e) => originResponder(e, this.fullState(), this)\n }\n }\n\n return overrides\n }\n\n /**\n * Render pagination\n * @return {object} react-dom\n */\n renderPagination = () => {\n // By default, dots only show when `total` >= 2\n if (this.state.total <= 1) return null\n\n let dots = []\n const ActiveDot = this.props.activeDot || <View style={[{\n backgroundColor: this.props.activeDotColor || '#007aff',\n width: 8,\n height: 8,\n borderRadius: 4,\n marginLeft: 3,\n marginRight: 3,\n marginTop: 3,\n marginBottom: 3\n }, this.props.activeDotStyle]} />\n const Dot = this.props.dot || <View style={[{\n backgroundColor: this.props.dotColor || 'rgba(0,0,0,.2)',\n width: 8,\n height: 8,\n borderRadius: 4,\n marginLeft: 3,\n marginRight: 3,\n marginTop: 3,\n marginBottom: 3\n }, this.props.dotStyle ]} />\n for (let i = 0; i < this.state.total; i++) {\n dots.push(i === this.state.index\n ? React.cloneElement(ActiveDot, {key: i})\n : React.cloneElement(Dot, {key: i})\n )\n }\n\n return (\n <View pointerEvents='none' style={[styles['pagination_' + this.state.dir], this.props.paginationStyle]}>\n {dots}\n </View>\n )\n }\n\n renderTitle = () => {\n const child = this.props.children[this.state.index]\n const title = child && child.props && child.props.title\n return title\n ? (<View style={styles.title}>\n {this.props.children[this.state.index].props.title}\n </View>)\n : null\n }\n\n renderNextButton = () => {\n let button = null\n\n if (this.props.loop ||\n this.state.index !== this.state.total - 1) {\n button = this.props.nextButton || <Text style={styles.buttonText}>›</Text>\n }\n\n return (\n <TouchableOpacity\n onPress={() => button !== null && this.scrollBy(1)}\n disabled={this.props.disableNextButton}\n >\n <View>\n {button}\n </View>\n </TouchableOpacity>\n )\n }\n\n renderPrevButton = () => {\n let button = null\n\n if (this.props.loop || this.state.index !== 0) {\n button = this.props.prevButton || <Text style={styles.buttonText}>‹</Text>\n }\n\n return (\n <TouchableOpacity onPress={() => button !== null && this.scrollBy(-1)}>\n <View>\n {button}\n </View>\n </TouchableOpacity>\n )\n }\n\n renderButtons = () => {\n return (\n <View pointerEvents='box-none' style={[styles.buttonWrapper, {\n width: this.state.width,\n height: this.state.height\n }, this.props.buttonWrapperStyle]}>\n {this.renderPrevButton()}\n {this.renderNextButton()}\n </View>\n )\n }\n\n refScrollView = view => {\n this.scrollView = view;\n }\n\n onPageScrollStateChanged = state => {\n switch (state) {\n case 'dragging':\n return this.onScrollBegin();\n\n case 'idle':\n case 'settling':\n if (this.props.onTouchEnd) this.props.onTouchEnd();\n }\n }\n\n renderScrollView = pages => {\n if (Platform.OS === 'ios') {\n return (\n <ScrollView ref={this.refScrollView}\n {...this.props}\n {...this.scrollViewPropOverrides()}\n contentContainerStyle={[styles.wrapperIOS, this.props.style]}\n contentOffset={this.state.offset}\n onScrollBeginDrag={this.onScrollBegin}\n onMomentumScrollEnd={this.onScrollEnd}\n onScrollEndDrag={this.onScrollEndDrag}\n style={this.props.scrollViewStyle}>\n {pages}\n </ScrollView>\n )\n }\n return (\n <ViewPagerAndroid ref={this.refScrollView}\n {...this.props}\n initialPage={this.props.loop ? this.state.index + 1 : this.state.index}\n onPageScrollStateChanged={this.onPageScrollStateChanged}\n onPageSelected={this.onScrollEnd}\n key={pages.length}\n style={[styles.wrapperAndroid, this.props.style]}>\n {pages}\n </ViewPagerAndroid>\n )\n }\n\n /**\n * Default render\n * @return {object} react-dom\n */\n render () {\n const state = this.state\n const props = this.props\n const {\n index,\n total,\n width,\n height\n } = this.state;\n const {\n children,\n containerStyle,\n loop,\n loadMinimal,\n loadMinimalSize,\n loadMinimalLoader,\n renderPagination,\n showsButtons,\n showsPagination,\n } = this.props;\n // let dir = state.dir\n // let key = 0\n const loopVal = loop ? 1 : 0\n let pages = []\n\n const pageStyle = [{width: width, height: height}, styles.slide]\n const pageStyleLoading = {\n width,\n height,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center'\n }\n\n // For make infinite at least total > 1\n if (total > 1) {\n // Re-design a loop model for avoid img flickering\n pages = Object.keys(children)\n if (loop) {\n pages.unshift(total - 1 + '')\n pages.push('0')\n }\n\n pages = pages.map((page, i) => {\n if (loadMinimal) {\n if (i >= (index + loopVal - loadMinimalSize) &&\n i <= (index + loopVal + loadMinimalSize)) {\n return <View style={pageStyle} key={i}>{children[page]}</View>\n } else {\n return (\n <View style={pageStyleLoading} key={i}>\n {loadMinimalLoader ? loadMinimalLoader : <ActivityIndicator />}\n </View>\n )\n }\n } else {\n return <View style={pageStyle} key={i}>{children[page]}</View>\n }\n })\n } else {\n pages = <View style={pageStyle} key={0}>{children}</View>\n }\n\n return (\n <View style={[styles.container, containerStyle]} onLayout={this.onLayout}>\n {this.renderScrollView(pages)}\n {showsPagination && (renderPagination\n ? renderPagination(index, total, this)\n : this.renderPagination())}\n {this.renderTitle()}\n {showsButtons && this.renderButtons()}\n </View>\n )\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedParam=createAnimatedParam;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var AnimatedParam=function(_AnimatedNode){(0,_inherits2.default)(AnimatedParam,_AnimatedNode);function AnimatedParam(){var _this;(0,_classCallCheck2.default)(this,AnimatedParam);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedParam).call(this,{type:'param'},[]));_this.argsStack=[];_this.__attach();return _this;}(0,_createClass2.default)(AnimatedParam,[{key:\"beginContext\",value:function beginContext(ref){this.argsStack.push(ref);}},{key:\"endContext\",value:function endContext(){this.argsStack.pop();}},{key:\"setValue\",value:function setValue(value){var top=this.argsStack[this.argsStack.length-1];top.setValue(value);}},{key:\"__onEvaluate\",value:function __onEvaluate(){var top=this.argsStack[this.argsStack.length-1];return(0,_val.val)(top);}}]);return AnimatedParam;}(_AnimatedNode2.default);function createAnimatedParam(){return new AnimatedParam();}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedParam.js"],"names":["AnimatedParam","type","argsStack","__attach","ref","push","pop","value","top","length","setValue","AnimatedNode","createAnimatedParam"],"mappings":"spBAAA,qEACA,2B,GAEMA,CAAAA,a,6EAGJ,wBAAc,4DACZ,yGAAM,CAAEC,IAAI,CAAE,OAAR,CAAN,CAAyB,EAAzB,GADY,MAFdC,SAEc,CAFF,EAEE,CAEZ,MAAKC,QAAL,GAFY,aAGb,C,yFAEYC,G,CAAK,CAChB,KAAKF,SAAL,CAAeG,IAAf,CAAoBD,GAApB,EACD,C,+CAEY,CACX,KAAKF,SAAL,CAAeI,GAAf,GACD,C,0CAEQC,K,CAAO,CACd,GAAMC,CAAAA,GAAG,CAAG,KAAKN,SAAL,CAAe,KAAKA,SAAL,CAAeO,MAAf,CAAwB,CAAvC,CAAZ,CACAD,GAAG,CAACE,QAAJ,CAAaH,KAAb,EACD,C,mDAEc,CACb,GAAMC,CAAAA,GAAG,CAAG,KAAKN,SAAL,CAAe,KAAKA,SAAL,CAAeO,MAAf,CAAwB,CAAvC,CAAZ,CACA,MAAO,aAAID,GAAJ,CAAP,CACD,C,2BAxByBG,sB,EA2BrB,QAASC,CAAAA,mBAAT,EAA+B,CACpC,MAAO,IAAIZ,CAAAA,aAAJ,EAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedParam extends AnimatedNode {\n argsStack = [];\n\n constructor() {\n super({ type: 'param' }, []);\n this.__attach();\n }\n\n beginContext(ref) {\n this.argsStack.push(ref);\n }\n\n endContext() {\n this.argsStack.pop();\n }\n\n setValue(value) {\n const top = this.argsStack[this.argsStack.length - 1];\n top.setValue(value);\n }\n\n __onEvaluate() {\n const top = this.argsStack[this.argsStack.length - 1];\n return val(top);\n }\n}\n\nexport function createAnimatedParam() {\n return new AnimatedParam();\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedStopClock=createAnimatedStopClock;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedClock=_interopRequireDefault(require(\"./AnimatedClock\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var AnimatedStopClock=function(_AnimatedNode){(0,_inherits2.default)(AnimatedStopClock,_AnimatedNode);function AnimatedStopClock(clockNode){var _this;(0,_classCallCheck2.default)(this,AnimatedStopClock);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedStopClock).call(this,{type:'clockStop',clock:clockNode.__nodeID}));(0,_invariant.default)(clockNode instanceof _AnimatedClock.default,'Node is not of an AnimatedClock type');_this._clockNode=clockNode;return _this;}(0,_createClass2.default)(AnimatedStopClock,[{key:\"__onEvaluate\",value:function __onEvaluate(){this._clockNode.stop();return 0;}}]);return AnimatedStopClock;}(_AnimatedNode2.default);function createAnimatedStopClock(clock){return new AnimatedStopClock(clock);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedStopClock.js"],"names":["AnimatedStopClock","clockNode","type","clock","__nodeID","AnimatedClock","_clockNode","stop","AnimatedNode","createAnimatedStopClock"],"mappings":"8pBAAA,qEACA,sEACA,qE,GAEMA,CAAAA,iB,iFAGJ,2BAAYC,SAAZ,CAAuB,gEACrB,6GAAM,CAAEC,IAAI,CAAE,WAAR,CAAqBC,KAAK,CAAEF,SAAS,CAACG,QAAtC,CAAN,GACA,uBACEH,SAAS,WAAYI,uBADvB,CAEE,sCAFF,EAIA,MAAKC,UAAL,CAAkBL,SAAlB,CANqB,aAOtB,C,8FAEc,CACb,KAAKK,UAAL,CAAgBC,IAAhB,GACA,MAAO,EAAP,CACD,C,+BAf6BC,sB,EAkBzB,QAASC,CAAAA,uBAAT,CAAiCN,KAAjC,CAAwC,CAC7C,MAAO,IAAIH,CAAAA,iBAAJ,CAAsBG,KAAtB,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport invariant from 'fbjs/lib/invariant';\n\nclass AnimatedStopClock extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n super({ type: 'clockStop', clock: clockNode.__nodeID });\n invariant(\n clockNode instanceof AnimatedClock,\n 'Node is not of an AnimatedClock type'\n );\n this._clockNode = clockNode;\n }\n\n __onEvaluate() {\n this._clockNode.stop();\n return 0;\n }\n}\n\nexport function createAnimatedStopClock(clock) {\n return new AnimatedStopClock(clock);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _qs=_interopRequireDefault(require(\"qs\"));var _expoWebBrowser=require(\"expo-web-browser\");var _Linking=_interopRequireDefault(require(\"./Linking/Linking\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var BASE_URL=\"https://auth.expo.io\";var _authLock=false;function startAsync(options){var returnUrl,authUrl,startUrl,result,_parseUrl,params,errorCode;return _regenerator.default.async(function startAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:returnUrl=options.returnUrl||getDefaultReturnUrl();authUrl=options.authUrl;startUrl=getStartUrl(authUrl,returnUrl);if(authUrl){_context.next=5;break;}throw new Error('No authUrl provided to AuthSession.startAsync. An authUrl is required -- it points to the page where the user will be able to sign in.');case 5:if(!_authLock){_context.next=8;break;}if(__DEV__){console.warn('Attempted to call AuthSession.startAsync multiple times while already active. Only one AuthSession can be active at any given time.');}return _context.abrupt(\"return\",{type:'locked'});case 8:_authLock=true;_context.prev=9;_context.next=12;return _regenerator.default.awrap(_openWebBrowserAsync(startUrl,returnUrl));case 12:result=_context.sent;case 13:_context.prev=13;_authLock=false;return _context.finish(13);case 16:if(result){_context.next=18;break;}throw new Error('Unexpected missing AuthSession result');case 18:if(result.url){_context.next=24;break;}if(!result.type){_context.next=23;break;}return _context.abrupt(\"return\",result);case 23:throw new Error('Unexpected AuthSession result with missing type');case 24:_parseUrl=parseUrl(result.url),params=_parseUrl.params,errorCode=_parseUrl.errorCode;return _context.abrupt(\"return\",{type:errorCode?'error':'success',params:params,errorCode:errorCode,url:result.url});case 26:case\"end\":return _context.stop();}}},null,null,[[9,,13,16]]);}function dismiss(){(0,_expoWebBrowser.dismissAuthSession)();}function _openWebBrowserAsync(startUrl,returnUrl){var result;return _regenerator.default.async(function _openWebBrowserAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_context2.next=2;return _regenerator.default.awrap((0,_expoWebBrowser.openAuthSessionAsync)(startUrl,returnUrl));case 2:result=_context2.sent;if(!(result.type==='cancel'||result.type==='dismiss')){_context2.next=5;break;}return _context2.abrupt(\"return\",{type:result.type});case 5:return _context2.abrupt(\"return\",result);case 6:case\"end\":return _context2.stop();}}});}function getStartUrl(authUrl,returnUrl){var queryString=_qs.default.stringify({authUrl:authUrl,returnUrl:returnUrl});return getRedirectUrl()+\"/start?\"+queryString;}function getRedirectUrl(){var redirectUrl=BASE_URL+\"/\"+_expoConstants.default.manifest.id;if(__DEV__){_warnIfAnonymous(_expoConstants.default.manifest.id,redirectUrl);}return redirectUrl;}function getDefaultReturnUrl(){return _Linking.default.makeUrl('expo-auth-session');}function parseUrl(url){var parts=url.split('#');var hash=parts[1];var partsWithoutHash=parts[0].split('?');var queryString=partsWithoutHash[partsWithoutHash.length-1];var parsedSearch=_qs.default.parse(queryString);var errorCode=parsedSearch.errorCode;delete parsedSearch.errorCode;var parsedHash={};if(parts[1]){parsedHash=_qs.default.parse(hash);}var params=_objectSpread({},parsedSearch,{},parsedHash);return{errorCode:errorCode,params:params};}function _warnIfAnonymous(id,url){if(id.startsWith('@anonymous/')){console.warn(\"You are not currently signed in to Expo on your development machine. As a result, the redirect URL for AuthSession will be \\\"\"+url+\"\\\". If you are using an OAuth provider that requires whitelisting redirect URLs, we recommend that you do not whitelist this URL -- instead, you should sign in to Expo to acquired a unique redirect URL. Additionally, if you do decide to publish this app using Expo, you will need to register an account to do it.\");}}var _default={dismiss:dismiss,getRedirectUrl:getRedirectUrl,getStartUrl:getStartUrl,getDefaultReturnUrl:getDefaultReturnUrl,get getRedirectUri(){console.warn('Use AuthSession.getRedirectUrl rather than AuthSession.getRedirectUri (Url instead of Uri)');return getRedirectUrl;},startAsync:startAsync};exports.default=_default;","map":{"version":3,"sources":["../src/AuthSession.ts"],"names":[],"mappings":"gVAAA,qEACA,8CAEA,gDACA,kE,yxBAgBA,GAAM,CAAA,QAAQ,uBAAd,CACA,GAAI,CAAA,SAAS,CAAG,KAAhB,CAEA,QAAe,CAAA,UAAf,CAA0B,OAA1B,wLACQ,SADR,CACoB,OAAO,CAAC,SAAR,EAAqB,mBAAmB,EAD5D,CAEQ,OAFR,CAEkB,OAAO,CAAC,OAF1B,CAGQ,QAHR,CAGmB,WAAW,CAAC,OAAD,CAAU,SAAV,CAH9B,IAMO,OANP,8BAOU,IAAI,CAAA,KAAJ,CACJ,wIADI,CAPV,YAcM,SAdN,yBAeI,GAAI,OAAJ,CAAa,CACX,OAAO,CAAC,IAAR,CACE,qIADF,EAGD,CAnBL,gCAqBW,CAAE,IAAI,CAAE,QAAR,CArBX,SAyBE,SAAS,CAAG,IAAZ,CAzBF,mEA6BmB,oBAAoB,CAAC,QAAD,CAAW,SAAX,CA7BvC,UA6BI,MA7BJ,wCAgCI,SAAS,CAAG,KAAZ,CAhCJ,sCAoCO,MApCP,+BAqCU,IAAI,CAAA,KAAJ,CAAU,uCAAV,CArCV,YAuCO,MAAM,CAAC,GAvCd,8BAwCQ,MAAM,CAAC,IAxCf,0DAyCa,MAzCb,eA2CY,IAAI,CAAA,KAAJ,CAAU,iDAAV,CA3CZ,mBA+C8B,QAAQ,CAAC,MAAM,CAAC,GAAR,CA/CtC,CA+CQ,MA/CR,WA+CQ,MA/CR,CA+CgB,SA/Ch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AAe,GAAf,CAAvB,CACA,GAAI,CAAA,WAAW,CAAG,gBAAgB,CAAC,gBAAgB,CAAC,MAAjB,CAA0B,CAA3B,CAAlC,CAGA,GAAI,CAAA,YAAY,CAAG,YAAG,KAAH,CAAS,WAAT,CAAnB,CAP2B,GAUrB,CAAA,SAVqB,CAUP,YAVO,CAUrB,SAVqB,CAW3B,MAAO,CAAA,YAAY,CAAC,SAApB,CAGA,GAAI,CAAA,UAAU,CAAG,EAAjB,CACA,GAAI,KAAK,CAAC,CAAD,CAAT,CAAc,CACZ,UAAU,CAAG,YAAG,KAAH,CAAS,IAAT,CAAb,CACD,CAGD,GAAI,CAAA,MAAM,kBACL,YADK,IAEL,UAFK,CAAV,CAKA,MAAO,CACL,SAAS,CAAT,SADK,CAEL,MAAM,CAAN,MAFK,CAAP,CAID,CAED,QAAS,CAAA,gBAAT,CAA0B,EAA1B,CAA8B,GAA9B,CAAiC,CAC/B,GAAI,EAAE,CAAC,UAAH,CAAc,aAAd,CAAJ,CAAkC,CAChC,OAAO,CAAC,IAAR,iIACiI,GADjI,6TAGD,CACF,C,aAEc,CACb,OAAO,CAAP,OADa,CAEb,cAAc,CAAd,cAFa,CAGb,WAAW,CAAX,WAHa,CAIb,mBAAmB,CAAnB,mBAJa,CAKb,GAAI,CAAA,cAAJ,EAAkB,CAChB,OAAO,CAAC,IAAR,CACE,4FADF,EAGA,MAAO,CAAA,cAAP,CACD,CAVY,CAWb,UAAU,CAAV,UAXa,C","sourcesContent":["import Constants from 'expo-constants';\nimport qs from 'qs';\n\nimport { openAuthSessionAsync, dismissAuthSession } from 'expo-web-browser';\nimport Linking from './Linking/Linking';\n\ntype AuthSessionOptions = {\n authUrl: string;\n returnUrl?: string;\n};\n\ntype AuthSessionResult =\n | { type: 'cancel' | 'dismiss' | 'locked' }\n | {\n type: 'error' | 'success';\n errorCode: string | null;\n params: { [key: string]: string };\n url: string;\n };\n\nconst BASE_URL = `https://auth.expo.io`;\nlet _authLock = false;\n\nasync function startAsync(options: AuthSessionOptions): Promise<AuthSessionResult> {\n const returnUrl = options.returnUrl || getDefaultReturnUrl();\n const authUrl = options.authUrl;\n const startUrl = getStartUrl(authUrl, returnUrl);\n\n // Prevent accidentally starting to an empty url\n if (!authUrl) {\n throw new Error(\n 'No authUrl provided to AuthSession.startAsync. An authUrl is required -- it points to the page where the user will be able to sign in.'\n );\n }\n\n // Prevent multiple sessions from running at the same time, WebBrowser doesn't\n // support it this makes the behavior predictable.\n if (_authLock) {\n if (__DEV__) {\n console.warn(\n 'Attempted to call AuthSession.startAsync multiple times while already active. Only one AuthSession can be active at any given time.'\n );\n }\n\n return { type: 'locked' };\n }\n\n // About to start session, set lock\n _authLock = true;\n\n let result;\n try {\n result = await _openWebBrowserAsync(startUrl, returnUrl);\n } finally {\n // WebBrowser session complete, unset lock\n _authLock = false;\n }\n\n // Handle failures\n if (!result) {\n throw new Error('Unexpected missing AuthSession result');\n }\n if (!result.url) {\n if (result.type) {\n return result;\n } else {\n throw new Error('Unexpected AuthSession result with missing type');\n }\n }\n\n let { params, errorCode } = parseUrl(result.url);\n\n return {\n type: errorCode ? 'error' : 'success',\n params,\n errorCode,\n url: result.url,\n };\n}\n\nfunction dismiss() {\n dismissAuthSession();\n}\n\nasync function _openWebBrowserAsync(startUrl, returnUrl) {\n // $FlowIssue: Flow thinks the awaited result can be a promise\n let result = await openAuthSessionAsync(startUrl, returnUrl);\n if (result.type === 'cancel' || result.type === 'dismiss') {\n return { type: result.type };\n }\n\n return result;\n}\n\nfunction getStartUrl(authUrl: string, returnUrl: string): string {\n let queryString = qs.stringify({\n authUrl,\n returnUrl,\n });\n\n return `${getRedirectUrl()}/start?${queryString}`;\n}\n\nfunction getRedirectUrl(): string {\n const redirectUrl = `${BASE_URL}/${Constants.manifest.id}`;\n if (__DEV__) {\n _warnIfAnonymous(Constants.manifest.id, redirectUrl);\n }\n return redirectUrl;\n}\n\nfunction getDefaultReturnUrl(): string {\n return Linking.makeUrl('expo-auth-session');\n}\n\nfunction parseUrl(url: string): { errorCode: string | null; params: { [key: string]: string } } {\n let parts = url.split('#');\n let hash = parts[1];\n let partsWithoutHash = parts[0].split('?');\n let queryString = partsWithoutHash[partsWithoutHash.length - 1];\n\n // Get query string (?hello=world)\n let parsedSearch = qs.parse(queryString);\n\n // Pull errorCode off of params\n let { errorCode } = parsedSearch;\n delete parsedSearch.errorCode;\n\n // Get hash (#abc=example)\n let parsedHash = {};\n if (parts[1]) {\n parsedHash = qs.parse(hash);\n }\n\n // Merge search and hash\n let params = {\n ...parsedSearch,\n ...parsedHash,\n };\n\n return {\n errorCode,\n params,\n };\n}\n\nfunction _warnIfAnonymous(id, url): void {\n if (id.startsWith('@anonymous/')) {\n console.warn(\n `You are not currently signed in to Expo on your development machine. As a result, the redirect URL for AuthSession will be \"${url}\". If you are using an OAuth provider that requires whitelisting redirect URLs, we recommend that you do not whitelist this URL -- instead, you should sign in to Expo to acquired a unique redirect URL. Additionally, if you do decide to publish this app using Expo, you will need to register an account to do it.`\n );\n }\n}\n\nexport default {\n dismiss,\n getRedirectUrl,\n getStartUrl,\n getDefaultReturnUrl,\n get getRedirectUri() {\n console.warn(\n 'Use AuthSession.getRedirectUrl rather than AuthSession.getRedirectUri (Url instead of Uri)'\n );\n return getRedirectUrl;\n },\n startAsync,\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedDiffClamp=function(_AnimatedWithChildren){_inheritsLoose(AnimatedDiffClamp,_AnimatedWithChildren);function AnimatedDiffClamp(a,min,max){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._a=a;_this._min=min;_this._max=max;_this._value=_this._lastValue=_this._a.__getValue();return _this;}var _proto=AnimatedDiffClamp.prototype;_proto.__makeNative=function __makeNative(){this._a.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.__getValue=function __getValue(){var value=this._a.__getValue();var diff=value-this._lastValue;this._lastValue=value;this._value=Math.min(Math.max(this._value+diff,this._min),this._max);return this._value;};_proto.__attach=function __attach(){this._a.__addChild(this);};_proto.__detach=function __detach(){this._a.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'diffclamp',input:this._a.__getNativeTag(),min:this._min,max:this._max};};return AnimatedDiffClamp;}(_AnimatedWithChildren2.default);var _default=AnimatedDiffClamp;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedDiffClamp","_AnimatedWithChildren","a","min","max","_this","call","_a","_min","_max","_value","_lastValue","__getValue","_proto","__makeNative","interpolate","config","AnimatedInterpolation","value","diff","Math","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,qFAJA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CA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AA6B,KAAKX,IAAlC,CAAT,CAAkD,KAAKC,IAAvD,CAAd,CACA,MAAO,MAAKC,MAAZ,CACD,CAPD,CASAG,MAAM,CAACQ,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKd,EAAL,CAAQe,UAAR,CAAmB,IAAnB,EACD,CAFD,CAIAT,MAAM,CAACU,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKhB,EAAL,CAAQiB,aAAR,CAAsB,IAAtB,EAEAvB,qBAAqB,CAACN,SAAtB,CAAgC4B,QAAhC,CAAyCjB,IAAzC,CAA8C,IAA9C,EACD,CAJD,CAMAO,MAAM,CAACY,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,MAAO,CACLC,IAAI,CAAE,WADD,CAELC,KAAK,CAAE,KAAKpB,EAAL,CAAQqB,cAAR,EAFF,CAGLzB,GAAG,CAAE,KAAKK,IAHL,CAILJ,GAAG,CAAE,KAAKK,IAJL,CAAP,CAMD,CAPD,CASA,MAAOT,CAAAA,iBAAP,CACD,CAvDD,CAuDE6B,8BAvDF,CAFA,C,aA2De7B,iB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedDiffClamp =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedDiffClamp, _AnimatedWithChildren);\n\n function AnimatedDiffClamp(a, min, max) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = a;\n _this._min = min;\n _this._max = max;\n _this._value = _this._lastValue = _this._a.__getValue();\n return _this;\n }\n\n var _proto = AnimatedDiffClamp.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__getValue = function __getValue() {\n var value = this._a.__getValue();\n\n var diff = value - this._lastValue;\n this._lastValue = value;\n this._value = Math.min(Math.max(this._value + diff, this._min), this._max);\n return this._value;\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'diffclamp',\n input: this._a.__getNativeTag(),\n min: this._min,\n max: this._max\n };\n };\n\n return AnimatedDiffClamp;\n}(AnimatedWithChildren);\n\nexport default AnimatedDiffClamp;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.atomic=atomic;exports.classic=classic;exports.inline=inline;exports.stringifyValueWithProperty=stringifyValueWithProperty;var _createReactDOMStyle=_interopRequireDefault(require(\"./createReactDOMStyle\"));var _hash=_interopRequireDefault(require(\"../../vendor/hash\"));var _hyphenateStyleName=_interopRequireDefault(require(\"hyphenate-style-name\"));var _normalizeValueWithProperty=_interopRequireDefault(require(\"./normalizeValueWithProperty\"));var _prefixStyles=_interopRequireWildcard(require(\"../../modules/prefixStyles\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}var cache={get:function get(property,value){if(cache[property]!=null&&cache[property].hasOwnProperty(value)&&cache[property][value]!=null){return cache[property][value];}},set:function set(property,value,object){if(cache[property]==null){cache[property]={};}return cache[property][value]=object;}};function atomic(style){return Object.keys(style).sort().reduce(function(acc,property){var value=style[property];if(value!=null){var valueString=stringifyValueWithProperty(value,property);var cachedResult=cache.get(property,valueString);if(cachedResult!=null){var identifier=cachedResult.identifier;acc[identifier]=cachedResult;}else{var _identifier=createIdentifier('r',property,value);var rules=createAtomicRules(_identifier,property,value);var _cachedResult=cache.set(property,valueString,{property:property,value:stringifyValueWithProperty(value,property),identifier:_identifier,rules:rules});acc[_identifier]=_cachedResult;}}return acc;},{});}function classic(style,name){var _ref;var identifier=createIdentifier('css',name,style);var animationKeyframes=style.animationKeyframes,rest=_objectWithoutPropertiesLoose(style,[\"animationKeyframes\"]);var rules=[];var selector=\".\"+identifier;var animationName;if(animationKeyframes!=null){var _processKeyframesValu=processKeyframesValue(animationKeyframes),animationNames=_processKeyframesValu.animationNames,keyframesRules=_processKeyframesValu.rules;animationName=animationNames.join(',');rules.push.apply(rules,keyframesRules);}var block=createDeclarationBlock(_objectSpread({},rest,{animationName:animationName}));rules.push(\"\"+selector+block);return _ref={},_ref[identifier]={identifier:identifier,rules:rules},_ref;}function inline(style){return(0,_prefixStyles.prefixInlineStyles)((0,_createReactDOMStyle.default)(style));}function stringifyValueWithProperty(value,property){var normalizedValue=(0,_normalizeValueWithProperty.default)(value,property);return typeof normalizedValue!=='string'?JSON.stringify(normalizedValue||''):normalizedValue;}function createAtomicRules(identifier,property,value){var rules=[];var selector=\".\"+identifier;switch(property){case'animationKeyframes':{var _processKeyframesValu2=processKeyframesValue(value),animationNames=_processKeyframesValu2.animationNames,keyframesRules=_processKeyframesValu2.rules;var block=createDeclarationBlock({animationName:animationNames.join(',')});rules.push.apply(rules,[\"\"+selector+block].concat(keyframesRules));break;}case'placeholderTextColor':{var _block=createDeclarationBlock({color:value,opacity:1});rules.push(selector+\"::-webkit-input-placeholder\"+_block,selector+\"::-moz-placeholder\"+_block,selector+\":-ms-input-placeholder\"+_block,selector+\"::placeholder\"+_block);break;}case'scrollbarWidth':{if(value==='none'){rules.push(selector+\"::-webkit-scrollbar{display:none}\",selector+\"{overflow:-moz-scrollbars-none;-ms-overflow-style:none;scrollbar-width:none;}\");}break;}case'pointerEvents':{var _createDeclarationBlo3;var finalValue=value;if(value==='auto'||value==='box-only'){finalValue='auto!important';if(value==='box-only'){var _createDeclarationBlo;var _block3=createDeclarationBlock((_createDeclarationBlo={},_createDeclarationBlo[property]='none',_createDeclarationBlo));rules.push(selector+\">*\"+_block3);}}else if(value==='none'||value==='box-none'){finalValue='none!important';if(value==='box-none'){var _createDeclarationBlo2;var _block4=createDeclarationBlock((_createDeclarationBlo2={},_createDeclarationBlo2[property]='auto',_createDeclarationBlo2));rules.push(selector+\">*\"+_block4);}}var _block2=createDeclarationBlock((_createDeclarationBlo3={},_createDeclarationBlo3[property]=finalValue,_createDeclarationBlo3));rules.push(\"\"+selector+_block2);break;}default:{var _createDeclarationBlo4;var _block5=createDeclarationBlock((_createDeclarationBlo4={},_createDeclarationBlo4[property]=value,_createDeclarationBlo4));rules.push(\"\"+selector+_block5);break;}}return rules;}function createDeclarationBlock(style){var domStyle=(0,_prefixStyles.default)((0,_createReactDOMStyle.default)(style));var declarationsString=Object.keys(domStyle).map(function(property){var value=domStyle[property];var prop=(0,_hyphenateStyleName.default)(property);if(Array.isArray(value)){return value.map(function(v){return prop+\":\"+v;}).join(';');}else{return prop+\":\"+value;}}).sort().join(';');return\"{\"+declarationsString+\";}\";}function createIdentifier(prefix,name,value){var hashedString=(0,_hash.default)(name+stringifyValueWithProperty(value,name));return process.env.NODE_ENV!=='production'?prefix+\"-\"+name+\"-\"+hashedString:prefix+\"-\"+hashedString;}function createKeyframes(keyframes){var prefixes=['-webkit-',''];var identifier=createIdentifier('r','animation',keyframes);var steps='{'+Object.keys(keyframes).map(function(stepName){var rule=keyframes[stepName];var block=createDeclarationBlock(rule);return\"\"+stepName+block;}).join('')+'}';var rules=prefixes.map(function(prefix){return\"@\"+prefix+\"keyframes \"+identifier+steps;});return{identifier:identifier,rules:rules};}function processKeyframesValue(keyframesValue){if(typeof keyframesValue==='number'){throw new Error('Invalid CSS keyframes type');}var animationNames=[];var rules=[];var value=Array.isArray(keyframesValue)?keyframesValue:[keyframesValue];value.forEach(function(keyframes){if(typeof keyframes==='string'){animationNames.push(keyframes);}else{var _createKeyframes=createKeyframes(keyframes),identifier=_createKeyframes.identifier,keyframesRules=_createKeyframes.rules;animationNames.push(identifier);rules.push.apply(rules,keyframesRules);}});return{animationNames:animationNames,rules:rules};}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/compile.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","cache","get","property","hasOwnProperty","set","object","atomic","style","sort","reduce","acc","valueString","stringifyValueWithProperty","cachedResult","identifier","_identifier","createIdentifier","rules","createAtomicRules","_cachedResult","classic","name","_ref","animationKeyframes","rest","selector","animationName","_processKeyframesValu","processKeyframesValue","animationNames","keyframesRules","join","push","apply","block","createDeclarationBlock","inline","normalizedValue","JSON","stringify","_processKeyframesValu2","_block","color","opacity","_createDeclarationBlo3","finalValue","_createDeclarationBlo","_block3","_createDeclarationBlo2","_block4","_block2","_createDeclarationBlo4","_block5","domStyle","declarationsString","map","prop","Array","isArray","v","prefix","hashedString","process","env","NODE_ENV","createKeyframes","keyframes","prefixes","steps","stepName","rule","keyframesValue","Error","_createKeyframes"],"mappings":"mWAcA,kFACA,+DACA,gFACA,gGACA,iFAlBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7E,EAAiF,CAAC,MAAOf,CAAAA,MAAP,CAAgB,CAEje,QAASgB,CAAAA,eAAT,CAAyBC,GAAzB,CAA8BF,GAA9B,CAAmCG,KAAnC,CAA0C,CAAE,GAAIH,GAAG,GAAIE,CAAAA,GAAX,CAAgB,CAAEX,MAAM,CAACa,cAAP,CAAsBF,GAAtB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A,KAFF,CAAP,CAID,CAMD,QAASW,CAAAA,qBAAT,CAA+B2C,cAA/B,CAA+C,CAC7C,GAAI,MAAOA,CAAAA,cAAP,GAA0B,QAA9B,CAAwC,CACtC,KAAM,IAAIC,CAAAA,KAAJ,CAAU,4BAAV,CAAN,CACD,CAED,GAAI3C,CAAAA,cAAc,CAAG,EAArB,CACA,GAAIZ,CAAAA,KAAK,CAAG,EAAZ,CACA,GAAIzB,CAAAA,KAAK,CAAGiE,KAAK,CAACC,OAAN,CAAca,cAAd,EAAgCA,cAAhC,CAAiD,CAACA,cAAD,CAA7D,CACA/E,KAAK,CAACJ,OAAN,CAAc,SAAU8E,SAAV,CAAqB,CACjC,GAAI,MAAOA,CAAAA,SAAP,GAAqB,QAAzB,CAAmC,CAEjCrC,cAAc,CAACG,IAAf,CAAoBkC,SAApB,EACD,CAHD,IAGO,CAEL,GAAIO,CAAAA,gBAAgB,CAAGR,eAAe,CAACC,SAAD,CAAtC,CACIpD,UAAU,CAAG2D,gBAAgB,CAAC3D,UADlC,CAEIgB,cAAc,CAAG2C,gBAAgB,CAACxD,KAFtC,CAIAY,cAAc,CAACG,IAAf,CAAoBlB,UAApB,EACAG,KAAK,CAACe,IAAN,CAAWC,KAAX,CAAiBhB,KAAjB,CAAwBa,cAAxB,EACD,CACF,CAbD,EAcA,MAAO,CACLD,cAAc,CAAEA,cADX,CAELZ,KAAK,CAAEA,KAFF,CAAP,CAID","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createReactDOMStyle from './createReactDOMStyle';\nimport hash from '../../vendor/hash';\nimport hyphenateStyleName from 'hyphenate-style-name';\nimport normalizeValueWithProperty from './normalizeValueWithProperty';\nimport prefixStyles, { prefixInlineStyles } from '../../modules/prefixStyles';\nvar cache = {\n get: function get(property, value) {\n if (cache[property] != null && cache[property].hasOwnProperty(value) && cache[property][value] != null) {\n return cache[property][value];\n }\n },\n set: function set(property, value, object) {\n if (cache[property] == null) {\n cache[property] = {};\n }\n\n return cache[property][value] = object;\n }\n};\n/**\n * Compile style to atomic CSS rules.\n */\n\nexport function atomic(style) {\n return Object.keys(style).sort().reduce(function (acc, property) {\n var value = style[property];\n\n if (value != null) {\n var valueString = stringifyValueWithProperty(value, property);\n var cachedResult = cache.get(property, valueString);\n\n if (cachedResult != null) {\n var identifier = cachedResult.identifier;\n acc[identifier] = cachedResult;\n } else {\n var _identifier = createIdentifier('r', property, value);\n\n var rules = createAtomicRules(_identifier, property, value);\n\n var _cachedResult = cache.set(property, valueString, {\n property: property,\n value: stringifyValueWithProperty(value, property),\n identifier: _identifier,\n rules: rules\n });\n\n acc[_identifier] = _cachedResult;\n }\n }\n\n return acc;\n }, {});\n}\n/**\n * Compile simple style object to classic CSS rules.\n * No support for 'placeholderTextColor', 'scrollbarWidth', or 'pointerEvents'.\n */\n\nexport function classic(style, name) {\n var _ref;\n\n var identifier = createIdentifier('css', name, style);\n\n var animationKeyframes = style.animationKeyframes,\n rest = _objectWithoutPropertiesLoose(style, [\"animationKeyframes\"]);\n\n var rules = [];\n var selector = \".\" + identifier;\n var animationName;\n\n if (animationKeyframes != null) {\n var _processKeyframesValu = processKeyframesValue(animationKeyframes),\n animationNames = _processKeyframesValu.animationNames,\n keyframesRules = _processKeyframesValu.rules;\n\n animationName = animationNames.join(',');\n rules.push.apply(rules, keyframesRules);\n }\n\n var block = createDeclarationBlock(_objectSpread({}, rest, {\n animationName: animationName\n }));\n rules.push(\"\" + selector + block);\n return _ref = {}, _ref[identifier] = {\n identifier: identifier,\n rules: rules\n }, _ref;\n}\n/**\n * Compile simple style object to inline DOM styles.\n * No support for 'animationKeyframes', 'placeholderTextColor', 'scrollbarWidth', or 'pointerEvents'.\n */\n\nexport function inline(style) {\n return prefixInlineStyles(createReactDOMStyle(style));\n}\n/**\n * Create a value string that normalizes different input values with a common\n * output.\n */\n\nexport function stringifyValueWithProperty(value, property) {\n // e.g., 0 => '0px', 'black' => 'rgba(0,0,0,1)'\n var normalizedValue = normalizeValueWithProperty(value, property);\n return typeof normalizedValue !== 'string' ? JSON.stringify(normalizedValue || '') : normalizedValue;\n}\n/**\n * Create the Atomic CSS rules needed for a given StyleSheet rule.\n * Translates StyleSheet declarations to CSS.\n */\n\nfunction createAtomicRules(identifier, property, value) {\n var rules = [];\n var selector = \".\" + identifier; // Handle non-standard properties and object values that require multiple\n // CSS rules to be created.\n\n switch (property) {\n case 'animationKeyframes':\n {\n var _processKeyframesValu2 = processKeyframesValue(value),\n animationNames = _processKeyframesValu2.animationNames,\n keyframesRules = _processKeyframesValu2.rules;\n\n var block = createDeclarationBlock({\n animationName: animationNames.join(',')\n });\n rules.push.apply(rules, [\"\" + selector + block].concat(keyframesRules));\n break;\n }\n\n case 'placeholderTextColor':\n {\n var _block = createDeclarationBlock({\n color: value,\n opacity: 1\n });\n\n rules.push(selector + \"::-webkit-input-placeholder\" + _block, selector + \"::-moz-placeholder\" + _block, selector + \":-ms-input-placeholder\" + _block, selector + \"::placeholder\" + _block);\n break;\n }\n // Polyfill for draft spec\n // https://drafts.csswg.org/css-scrollbars-1/\n\n case 'scrollbarWidth':\n {\n if (value === 'none') {\n rules.push(selector + \"::-webkit-scrollbar{display:none}\", selector + \"{overflow:-moz-scrollbars-none;-ms-overflow-style:none;scrollbar-width:none;}\");\n }\n\n break;\n }\n // See #513\n\n case 'pointerEvents':\n {\n var _createDeclarationBlo3;\n\n var finalValue = value;\n\n if (value === 'auto' || value === 'box-only') {\n finalValue = 'auto!important';\n\n if (value === 'box-only') {\n var _createDeclarationBlo;\n\n var _block3 = createDeclarationBlock((_createDeclarationBlo = {}, _createDeclarationBlo[property] = 'none', _createDeclarationBlo));\n\n rules.push(selector + \">*\" + _block3);\n }\n } else if (value === 'none' || value === 'box-none') {\n finalValue = 'none!important';\n\n if (value === 'box-none') {\n var _createDeclarationBlo2;\n\n var _block4 = createDeclarationBlock((_createDeclarationBlo2 = {}, _createDeclarationBlo2[property] = 'auto', _createDeclarationBlo2));\n\n rules.push(selector + \">*\" + _block4);\n }\n }\n\n var _block2 = createDeclarationBlock((_createDeclarationBlo3 = {}, _createDeclarationBlo3[property] = finalValue, _createDeclarationBlo3));\n\n rules.push(\"\" + selector + _block2);\n break;\n }\n\n default:\n {\n var _createDeclarationBlo4;\n\n var _block5 = createDeclarationBlock((_createDeclarationBlo4 = {}, _createDeclarationBlo4[property] = value, _createDeclarationBlo4));\n\n rules.push(\"\" + selector + _block5);\n break;\n }\n }\n\n return rules;\n}\n/**\n * Creates a CSS declaration block from a StyleSheet object.\n */\n\n\nfunction createDeclarationBlock(style) {\n var domStyle = prefixStyles(createReactDOMStyle(style));\n var declarationsString = Object.keys(domStyle).map(function (property) {\n var value = domStyle[property];\n var prop = hyphenateStyleName(property); // The prefixer may return an array of values:\n // { display: [ '-webkit-flex', 'flex' ] }\n // to represent \"fallback\" declarations\n // { display: -webkit-flex; display: flex; }\n\n if (Array.isArray(value)) {\n return value.map(function (v) {\n return prop + \":\" + v;\n }).join(';');\n } else {\n return prop + \":\" + value;\n }\n }) // Once properties are hyphenated, this will put the vendor\n // prefixed and short-form properties first in the list.\n .sort().join(';');\n return \"{\" + declarationsString + \";}\";\n}\n/**\n * An identifier is associated with a unique set of styles.\n */\n\n\nfunction createIdentifier(prefix, name, value) {\n var hashedString = hash(name + stringifyValueWithProperty(value, name));\n return process.env.NODE_ENV !== 'production' ? prefix + \"-\" + name + \"-\" + hashedString : prefix + \"-\" + hashedString;\n}\n/**\n * Create individual CSS keyframes rules.\n */\n\n\nfunction createKeyframes(keyframes) {\n var prefixes = ['-webkit-', ''];\n var identifier = createIdentifier('r', 'animation', keyframes);\n var steps = '{' + Object.keys(keyframes).map(function (stepName) {\n var rule = keyframes[stepName];\n var block = createDeclarationBlock(rule);\n return \"\" + stepName + block;\n }).join('') + '}';\n var rules = prefixes.map(function (prefix) {\n return \"@\" + prefix + \"keyframes \" + identifier + steps;\n });\n return {\n identifier: identifier,\n rules: rules\n };\n}\n/**\n * Create CSS keyframes rules and names from a StyleSheet keyframes object.\n */\n\n\nfunction processKeyframesValue(keyframesValue) {\n if (typeof keyframesValue === 'number') {\n throw new Error('Invalid CSS keyframes type');\n }\n\n var animationNames = [];\n var rules = [];\n var value = Array.isArray(keyframesValue) ? keyframesValue : [keyframesValue];\n value.forEach(function (keyframes) {\n if (typeof keyframes === 'string') {\n // Support external animation libraries (identifiers only)\n animationNames.push(keyframes);\n } else {\n // Create rules for each of the keyframes\n var _createKeyframes = createKeyframes(keyframes),\n identifier = _createKeyframes.identifier,\n keyframesRules = _createKeyframes.rules;\n\n animationNames.push(identifier);\n rules.push.apply(rules, keyframesRules);\n }\n });\n return {\n animationNames: animationNames,\n rules: rules\n };\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=_interopRequireDefault(require(\"fbjs/lib/ExecutionEnvironment\"));var doLeftAndRightSwapInRTL=true;var isPreferredLanguageRTL=false;var isRTLAllowed=true;var isRTLForced=false;var isRTL=function isRTL(){if(isRTLForced){return true;}return isRTLAllowed&&isPreferredLanguageRTL;};var onDirectionChange=function onDirectionChange(){if(_ExecutionEnvironment.default.canUseDOM){if(document.documentElement&&document.documentElement.setAttribute){document.documentElement.setAttribute('dir',isRTL()?'rtl':'ltr');}}};var I18nManager={allowRTL:function allowRTL(bool){isRTLAllowed=bool;onDirectionChange();},forceRTL:function forceRTL(bool){isRTLForced=bool;onDirectionChange();},setPreferredLanguageRTL:function setPreferredLanguageRTL(bool){isPreferredLanguageRTL=bool;onDirectionChange();},swapLeftAndRightInRTL:function swapLeftAndRightInRTL(bool){doLeftAndRightSwapInRTL=bool;},get doLeftAndRightSwapInRTL(){return doLeftAndRightSwapInRTL;},get isRTL(){return isRTL();}};var _default=I18nManager;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/I18nManager/index.js"],"names":["doLeftAndRightSwapInRTL","isPreferredLanguageRTL","isRTLAllowed","isRTLForced","isRTL","onDirectionChange","ExecutionEnvironment","canUseDOM","document","documentElement","setAttribute","I18nManager","allowRTL","bool","forceRTL","setPreferredLanguageRTL","swapLeftAndRightInRTL"],"mappings":"mKASA,2FACA,GAAIA,CAAAA,uBAAuB,CAAG,IAA9B,CACA,GAAIC,CAAAA,sBAAsB,CAAG,KAA7B,CACA,GAAIC,CAAAA,YAAY,CAAG,IAAnB,CACA,GAAIC,CAAAA,WAAW,CAAG,KAAlB,CAEA,GAAIC,CAAAA,KAAK,CAAG,QAASA,CAAAA,KAAT,EAAiB,CAC3B,GAAID,WAAJ,CAAiB,CACf,MAAO,KAAP,CACD,CAED,MAAOD,CAAAA,YAAY,EAAID,sBAAvB,CACD,CAND,CAQA,GAAII,CAAAA,iBAAiB,CAAG,QAASA,CAAAA,iBAAT,EAA6B,CACnD,GAAIC,8BAAqBC,SAAzB,CAAoC,CAClC,GAAIC,QAAQ,CAACC,eAAT,EAA4BD,QAAQ,CAACC,eAAT,CAAyBC,YAAzD,CAAuE,CACrEF,QAAQ,CAACC,eAAT,CAAyBC,YAAzB,CAAsC,KAAtC,CAA6CN,KAAK,GAAK,KAAL,CAAa,KAA/D,EACD,CACF,CACF,CAND,CAQA,GAAIO,CAAAA,WAAW,CAAG,CAChBC,QAAQ,CAAE,QAASA,CAAAA,QAAT,CAAkBC,IAAlB,CAAwB,CAChCX,YAAY,CAAGW,IAAf,CACAR,iBAAiB,GAClB,CAJe,CAKhBS,QAAQ,CAAE,QAASA,CAAAA,QAAT,CAAkBD,IAAlB,CAAwB,CAChCV,WAAW,CAAGU,IAAd,CACAR,iBAAiB,GAClB,CARe,CAShBU,uBAAuB,CAAE,QAASA,CAAAA,uBAAT,CAAiCF,IAAjC,CAAuC,CAC9DZ,sBAAsB,CAAGY,IAAzB,CACAR,iBAAiB,GAClB,CAZe,CAahBW,qBAAqB,CAAE,QAASA,CAAAA,qBAAT,CAA+BH,IAA/B,CAAqC,CAC1Db,uBAAuB,CAAGa,IAA1B,CACD,CAfe,CAiBhB,GAAIb,CAAAA,uBAAJ,EAA8B,CAC5B,MAAOA,CAAAA,uBAAP,CACD,CAnBe,CAqBhB,GAAII,CAAAA,KAAJ,EAAY,CACV,MAAOA,CAAAA,KAAK,EAAZ,CACD,CAvBe,CAAlB,C,aA0BeO,W","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ExecutionEnvironment from 'fbjs/lib/ExecutionEnvironment';\nvar doLeftAndRightSwapInRTL = true;\nvar isPreferredLanguageRTL = false;\nvar isRTLAllowed = true;\nvar isRTLForced = false;\n\nvar isRTL = function isRTL() {\n if (isRTLForced) {\n return true;\n }\n\n return isRTLAllowed && isPreferredLanguageRTL;\n};\n\nvar onDirectionChange = function onDirectionChange() {\n if (ExecutionEnvironment.canUseDOM) {\n if (document.documentElement && document.documentElement.setAttribute) {\n document.documentElement.setAttribute('dir', isRTL() ? 'rtl' : 'ltr');\n }\n }\n};\n\nvar I18nManager = {\n allowRTL: function allowRTL(bool) {\n isRTLAllowed = bool;\n onDirectionChange();\n },\n forceRTL: function forceRTL(bool) {\n isRTLForced = bool;\n onDirectionChange();\n },\n setPreferredLanguageRTL: function setPreferredLanguageRTL(bool) {\n isPreferredLanguageRTL = bool;\n onDirectionChange();\n },\n swapLeftAndRightInRTL: function swapLeftAndRightInRTL(bool) {\n doLeftAndRightSwapInRTL = bool;\n },\n\n get doLeftAndRightSwapInRTL() {\n return doLeftAndRightSwapInRTL;\n },\n\n get isRTL() {\n return isRTL();\n }\n\n};\nexport default I18nManager;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";var performance=require(\"./performance\");var performanceNow;if(performance.now){performanceNow=function performanceNow(){return performance.now();};}else{performanceNow=function performanceNow(){return Date.now();};}module.exports=performanceNow;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/performanceNow.js"],"names":["performance","require","performanceNow","now","Date","module","exports"],"mappings":"AAAA,aAUA,GAAIA,CAAAA,WAAW,CAAGC,OAAO,iBAAzB,CAEA,GAAIC,CAAAA,cAAJ,CAOA,GAAIF,WAAW,CAACG,GAAhB,CAAqB,CACnBD,cAAc,CAAG,QAASA,CAAAA,cAAT,EAA0B,CACzC,MAAOF,CAAAA,WAAW,CAACG,GAAZ,EAAP,CACD,CAFD,CAGD,CAJD,IAIO,CACLD,cAAc,CAAG,QAASA,CAAAA,cAAT,EAA0B,CACzC,MAAOE,CAAAA,IAAI,CAACD,GAAL,EAAP,CACD,CAFD,CAGD,CAEDE,MAAM,CAACC,OAAP,CAAiBJ,cAAjB","sourcesContent":["\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\nvar performance = require(\"./performance\");\n\nvar performanceNow;\n/**\n * Detect if we can use `window.performance.now()` and gracefully fallback to\n * `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now\n * because of Facebook's testing infrastructure.\n */\n\nif (performance.now) {\n performanceNow = function performanceNow() {\n return performance.now();\n };\n} else {\n performanceNow = function performanceNow() {\n return Date.now();\n };\n}\n\nmodule.exports = performanceNow;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _Easing=_interopRequireDefault(require(\"react-native-web/dist/exports/Easing\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _theming=require(\"../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/ActivityIndicator.tsx\";var DURATION=2400;var ActivityIndicator=function(_React$Component){(0,_inherits2.default)(ActivityIndicator,_React$Component);function ActivityIndicator(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,ActivityIndicator);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(ActivityIndicator)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={timer:new _Animated.default.Value(0),fade:new _Animated.default.Value(!_this.props.animating&&_this.props.hidesWhenStopped?0:1)};_this.rotation=undefined;_this.startRotation=function(){var _this$state=_this.state,fade=_this$state.fade,timer=_this$state.timer;_Animated.default.timing(fade,{duration:200,toValue:1,isInteraction:false,useNativeDriver:true}).start();if(_this.rotation){timer.setValue(0);_Animated.default.loop(_this.rotation).start();}};_this.stopRotation=function(){if(_this.rotation){_this.rotation.stop();}};return _this;}(0,_createClass2.default)(ActivityIndicator,[{key:\"componentDidMount\",value:function componentDidMount(){var animating=this.props.animating;var timer=this.state.timer;this.rotation=_Animated.default.timing(timer,{duration:DURATION,easing:_Easing.default.linear,useNativeDriver:_Platform.default.OS!=='web',toValue:1,isInteraction:false});if(animating){this.startRotation();}}},{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps){var _this$props=this.props,animating=_this$props.animating,hidesWhenStopped=_this$props.hidesWhenStopped;var fade=this.state.fade;if(animating!==prevProps.animating){if(animating){this.startRotation();}else if(hidesWhenStopped){_Animated.default.timing(fade,{duration:200,toValue:0,useNativeDriver:true,isInteraction:false}).start(this.stopRotation.bind(this));}else{this.stopRotation();}}}},{key:\"render\",value:function render(){var _this$state2=this.state,fade=_this$state2.fade,timer=_this$state2.timer;var _this$props2=this.props,animating=_this$props2.animating,indicatorColor=_this$props2.color,hidesWhenStopped=_this$props2.hidesWhenStopped,indicatorSize=_this$props2.size,style=_this$props2.style,theme=_this$props2.theme,rest=(0,_objectWithoutProperties2.default)(_this$props2,[\"animating\",\"color\",\"hidesWhenStopped\",\"size\",\"style\",\"theme\"]);var color=indicatorColor||theme.colors.primary;var size=typeof indicatorSize==='string'?indicatorSize==='small'?24:48:indicatorSize?indicatorSize:24;var frames=60*DURATION/1000;var easing=_Easing.default.bezier(0.4,0.0,0.7,1.0);var containerStyle={width:size,height:size/2,overflow:'hidden'};return React.createElement(_View.default,(0,_extends2.default)({style:[styles.container,style]},rest,{__source:{fileName:_jsxFileName,lineNumber:178}}),React.createElement(_Animated.default.View,{style:[{width:size,height:size,opacity:fade}],__source:{fileName:_jsxFileName,lineNumber:179}},[0,1].map(function(index){var inputRange=Array.from(new Array(frames),function(_,frameIndex){return frameIndex/(frames-1);});var outputRange=Array.from(new Array(frames),function(_,frameIndex){var progress=2*frameIndex/(frames-1);var rotation=index?+(360-15):-(180-15);if(progress>1.0){progress=2.0-progress;}var direction=index?-1:+1;return direction*(180-30)*easing(progress)+rotation+\"deg\";});var layerStyle={width:size,height:size,transform:[{rotate:timer.interpolate({inputRange:[0,1],outputRange:[0+30+15+\"deg\",2*360+30+15+\"deg\"]})}]};var viewportStyle={width:size,height:size,transform:[{translateY:index?-size/2:0},{rotate:timer.interpolate({inputRange:inputRange,outputRange:outputRange})}]};var offsetStyle=index?{top:size/2}:null;var lineStyle={width:size,height:size,borderColor:color,borderWidth:size/10,borderRadius:size/2};return React.createElement(_Animated.default.View,{key:index,style:[styles.layer],__source:{fileName:_jsxFileName,lineNumber:243}},React.createElement(_Animated.default.View,{style:layerStyle,__source:{fileName:_jsxFileName,lineNumber:244}},React.createElement(_Animated.default.View,{style:[containerStyle,offsetStyle],collapsable:false,__source:{fileName:_jsxFileName,lineNumber:245}},React.createElement(_Animated.default.View,{style:viewportStyle,__source:{fileName:_jsxFileName,lineNumber:249}},React.createElement(_Animated.default.View,{style:containerStyle,collapsable:false,__source:{fileName:_jsxFileName,lineNumber:250}},React.createElement(_Animated.default.View,{style:lineStyle,__source:{fileName:_jsxFileName,lineNumber:251}}))))));})));}}]);return ActivityIndicator;}(React.Component);ActivityIndicator.defaultProps={animating:true,size:'small',hidesWhenStopped:true};var styles=_StyleSheet.default.create({container:{justifyContent:'center',alignItems:'center'},layer:(0,_objectSpread2.default)({},_StyleSheet.default.absoluteFillObject,{justifyContent:'center',alignItems:'center'})});var _default=(0,_theming.withTheme)(ActivityIndicator);exports.default=_default;","map":{"version":3,"sources":["ActivityIndicator.tsx"],"names":["DURATION","ActivityIndicator","React","Component","defaultProps","animating","size","hidesWhenStopped","state","timer","Animated","fade","rotation","undefined","duration","easing","Easing","useNativeDriver","Platform","toValue","isInteraction","prevProps","startRotation","stopRotation","indicatorColor","indicatorSize","style","theme","rest","color","frames","containerStyle","width","height","overflow","styles","opacity","inputRange","Array","frameIndex","outputRange","progress","index","direction","layerStyle","transform","rotate","viewportStyle","translateY","offsetStyle","top","lineStyle","borderColor","borderWidth","borderRadius","StyleSheet","container","justifyContent","alignItems","layer","withTheme"],"mappings":"4+BAAA,oD,gbAUA,wC,4GAgCA,GAAMA,CAAAA,QAAQ,CAAd,IAAA,CAsBMC,GAAAA,CAAAA,iB,8dAOJO,K,CAAQ,CACNC,KAAK,CAAE,GAAIC,mBAAJ,KAAA,CADD,CACC,CADD,CAENC,IAAI,CAAE,GAAID,mBAAJ,KAAA,CACJ,CAAC,KAAA,CAAA,KAAA,CAAD,SAAA,EAAyB,KAAA,CAAA,KAAA,CAAzB,gBAAA,CAAA,CAAA,CAHI,CAEA,CAFA,C,OAORE,Q,CAAoDC,S,OA0C5CS,a,CAAgB,UAAM,CAAA,GAAA,CAAA,WAAA,CACJ,KAAA,CADI,KAAA,CACpBX,IADoB,CAAA,WAAA,CAAA,IAAA,CACdF,KADc,CAAA,WAAA,CAAA,KAAA,CAI5BC,kBAAAA,MAAAA,CAAAA,IAAAA,CAAsB,CACpBI,QAAQ,CADY,GAAA,CAEpBK,OAAO,CAFa,CAAA,CAGpBC,aAAa,CAHO,KAAA,CAIpBH,eAAe,CAJjBP,IAAsB,CAA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Ac,CAHX,QAAA,CAIHC,UAAU,CAVd,QAMO,CAAA,CAN0B,CAAlBH,CAAf,C,aAceK,uBAAf,iBAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n Animated,\n Easing,\n Platform,\n StyleProp,\n StyleSheet,\n View,\n ViewStyle,\n} from 'react-native';\nimport { withTheme } from '../core/theming';\nimport { Theme } from '../types';\n\ntype Props = React.ComponentProps<typeof View> & {\n /**\n * Whether to show the indicator or hide it.\n */\n animating?: boolean;\n /**\n * The color of the spinner.\n */\n color?: string;\n /**\n * Size of the indicator.\n */\n size?: 'small' | 'large' | number;\n /**\n * Whether the indicator should hide when not animating.\n */\n hidesWhenStopped?: boolean;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\ntype State = {\n timer: Animated.Value;\n fade: Animated.Value;\n};\n\nconst DURATION = 2400;\n\n/**\n * Activity indicator is used to present progress of some activity in the app.\n * It can be used as a drop-in for the ActivityIndicator shipped with React Native.\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/activity-indicator.gif\" style=\"width: 100px;\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { ActivityIndicator, Colors } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <ActivityIndicator animating={true} color={Colors.red800} />\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass ActivityIndicator extends React.Component<Props, State> {\n static defaultProps: Partial<Props> = {\n animating: true,\n size: 'small',\n hidesWhenStopped: true,\n };\n\n state = {\n timer: new Animated.Value(0),\n fade: new Animated.Value(\n !this.props.animating && this.props.hidesWhenStopped ? 0 : 1\n ),\n };\n\n rotation: Animated.CompositeAnimation | undefined = undefined;\n\n componentDidMount() {\n const { animating } = this.props;\n const { timer } = this.state;\n\n // Circular animation in loop\n this.rotation = Animated.timing(timer, {\n duration: DURATION,\n easing: Easing.linear,\n // Animated.loop does not work if useNativeDriver is true on web\n useNativeDriver: Platform.OS !== 'web',\n toValue: 1,\n isInteraction: false,\n });\n\n if (animating) {\n this.startRotation();\n }\n }\n\n componentDidUpdate(prevProps: Props) {\n const { animating, hidesWhenStopped } = this.props;\n const { fade } = this.state;\n\n if (animating !== prevProps.animating) {\n if (animating) {\n this.startRotation();\n } else if (hidesWhenStopped) {\n // Hide indicator first and then stop rotation\n Animated.timing(fade, {\n duration: 200,\n toValue: 0,\n useNativeDriver: true,\n isInteraction: false,\n }).start(this.stopRotation.bind(this));\n } else {\n this.stopRotation();\n }\n }\n }\n\n private startRotation = () => {\n const { fade, timer } = this.state;\n\n // Show indicator\n Animated.timing(fade, {\n duration: 200,\n toValue: 1,\n isInteraction: false,\n useNativeDriver: true,\n }).start();\n\n // Circular animation in loop\n if (this.rotation) {\n timer.setValue(0);\n // $FlowFixMe\n Animated.loop(this.rotation).start();\n }\n };\n\n private stopRotation = () => {\n if (this.rotation) {\n this.rotation.stop();\n }\n };\n\n render() {\n const { fade, timer } = this.state;\n const {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n animating,\n color: indicatorColor,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n hidesWhenStopped,\n size: indicatorSize,\n style,\n theme,\n ...rest\n } = this.props;\n const color = indicatorColor || theme.colors.primary;\n const size =\n typeof indicatorSize === 'string'\n ? indicatorSize === 'small'\n ? 24\n : 48\n : indicatorSize\n ? indicatorSize\n : 24;\n\n const frames = (60 * DURATION) / 1000;\n const easing = Easing.bezier(0.4, 0.0, 0.7, 1.0);\n const containerStyle = {\n width: size,\n height: size / 2,\n overflow: 'hidden',\n };\n\n return (\n <View style={[styles.container, style]} {...rest}>\n <Animated.View style={[{ width: size, height: size, opacity: fade }]}>\n {[0, 1].map(index => {\n // Thanks to https://github.com/n4kz/react-native-indicators for the great work\n const inputRange = Array.from(\n new Array(frames),\n (_, frameIndex) => frameIndex / (frames - 1)\n );\n const outputRange = Array.from(\n new Array(frames),\n (_, frameIndex) => {\n let progress = (2 * frameIndex) / (frames - 1);\n const rotation = index ? +(360 - 15) : -(180 - 15);\n\n if (progress > 1.0) {\n progress = 2.0 - progress;\n }\n\n const direction = index ? -1 : +1;\n\n return `${direction * (180 - 30) * easing(progress) +\n rotation}deg`;\n }\n );\n\n const layerStyle = {\n width: size,\n height: size,\n transform: [\n {\n rotate: timer.interpolate({\n inputRange: [0, 1],\n outputRange: [\n `${0 + 30 + 15}deg`,\n `${2 * 360 + 30 + 15}deg`,\n ],\n }),\n },\n ],\n };\n\n const viewportStyle = {\n width: size,\n height: size,\n transform: [\n {\n translateY: index ? -size / 2 : 0,\n },\n {\n rotate: timer.interpolate({ inputRange, outputRange }),\n },\n ],\n };\n\n const offsetStyle = index ? { top: size / 2 } : null;\n\n const lineStyle = {\n width: size,\n height: size,\n borderColor: color,\n borderWidth: size / 10,\n borderRadius: size / 2,\n };\n\n return (\n <Animated.View key={index} style={[styles.layer]}>\n <Animated.View style={layerStyle}>\n <Animated.View\n style={[containerStyle, offsetStyle]}\n collapsable={false}\n >\n <Animated.View style={viewportStyle}>\n <Animated.View style={containerStyle} collapsable={false}>\n <Animated.View style={lineStyle} />\n </Animated.View>\n </Animated.View>\n </Animated.View>\n </Animated.View>\n </Animated.View>\n );\n })}\n </Animated.View>\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n justifyContent: 'center',\n alignItems: 'center',\n },\n\n layer: {\n ...StyleSheet.absoluteFillObject,\n\n justifyContent: 'center',\n alignItems: 'center',\n },\n});\n\nexport default withTheme(ActivityIndicator);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Alert=_interopRequireDefault(require(\"react-native-web/dist/exports/Alert\"));var _Searchbar=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Searchbar\"));var _reactRedux=require(\"react-redux\");var _search=require(\"../../reducers/search\");var voiceRecognition=function voiceRecognition(){_Alert.default.alert('음성 인식','아직 구현 못함',[{text:'확인',onPress:function onPress(){}}]);};var SearchBar=function SearchBar(_ref){var query=_ref.query,change=_ref.change,submit=_ref.submit;return _react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_View.default,null,_react.default.createElement(_Searchbar.default,{placeholder:\"\\uAC80\\uC0C9\\uD560 \\uC9C8\\uBB38\\uC744 \\uC785\\uB825\\uD558\\uC138\\uC694.\",onChangeText:change,value:query,icon:\"microphone\",onIconPress:voiceRecognition,onSubmitEditing:submit})));};var SearchBarContainer=function SearchBarContainer(_ref2){var query=_ref2.query,change=_ref2.change,submit=_ref2.submit;return _react.default.createElement(SearchBar,{query:query,change:change,submit:submit});};var _default=(0,_reactRedux.connect)(function(_ref3){var search=_ref3.search;return{query:search.query};},{change:_search.change,submit:_search.submit})(SearchBarContainer);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/SearchBar/SearchBar.js"],"names":["voiceRecognition","Alert","alert","text","onPress","SearchBar","query","change","submit","SearchBarContainer","search"],"mappings":"mKAAA,oD,uQAGA,uCACA,6CAGA,GAAMA,CAAAA,gBAAgB,CAAG,QAAnBA,CAAAA,gBAAmB,EAAM,CAC3BC,eAAMC,KAAN,CACI,OADJ,CAEI,UAFJ,CAGI,CACI,CAACC,IAAI,CAAE,IAAP,CAAaC,OAAO,CAAE,kBAAM,CAAE,CAA9B,CADJ,CAHJ,EAOH,CARD,CAUA,GAAMC,CAAAA,SAAS,CAAG,QAAZA,CAAAA,SAAY,MAA+B,IAA5BC,CAAAA,KAA4B,MAA5BA,KAA4B,CAArBC,MAAqB,MAArBA,MAAqB,CAAbC,MAAa,MAAbA,MAAa,CAC7C,MACI,2DACA,6BAAC,aAAD,MACI,6BAAC,kBAAD,EACA,WAAW,CAAC,uEADZ,CAEA,YAAY,CAAED,MAFd,CAGA,KAAK,CAAED,KAHP,CAIA,IAAI,CAAC,YAJL,CAKA,WAAW,CAAEN,gBALb,CAMA,eAAe,CAAEQ,MANjB,EADJ,CADA,CADJ,CAcH,CAfD,CAkBA,GAAMC,CAAAA,kBAAkB,CAAG,QAArBA,CAAAA,kBAAqB,OAA+B,IAA5BH,CAAAA,KAA4B,OAA5BA,KAA4B,CAArBC,MAAqB,OAArBA,MAAqB,CAAbC,MAAa,OAAbA,MAAa,CACtD,MAAO,8BAAC,SAAD,EAAW,KAAK,CAAEF,KAAlB,CAAyB,MAAM,CAAEC,MAAjC,CAAyC,MAAM,CAAEC,MAAjD,EAAP,CACH,CAFD,C,aAIe,wBACX,mBAAEE,CAAAA,MAAF,OAAEA,MAAF,OAAc,CACVJ,KAAK,CAAEI,MAAM,CAACJ,KADJ,CAAd,EADW,CAIX,CACIC,MAAM,CAANA,cADJ,CACWC,MAAM,CAANA,cADX,CAJW,EAObC,kBAPa,C","sourcesContent":["import React from 'react';\r\nimport {View,Alert} from 'react-native';\r\nimport { Searchbar } from 'react-native-paper';\r\nimport { connect } from 'react-redux';\r\nimport {change, submit} from '../../reducers/search';\r\n\r\n\r\nconst voiceRecognition = () => {\r\n Alert.alert(\r\n '음성 인식',\r\n '아직 구현 못함',\r\n [\r\n {text: '확인', onPress: () => {}},\r\n ],\r\n )\r\n};\r\n\r\nconst SearchBar = ({ query, change, submit }) => {\r\n return(\r\n <>\r\n <View>\r\n <Searchbar\r\n placeholder=\"검색할 질문을 입력하세요.\"\r\n onChangeText={change}\r\n value={query}\r\n icon='microphone'\r\n onIconPress={voiceRecognition}\r\n onSubmitEditing={submit}\r\n />\r\n </View>\r\n </>\r\n )\r\n};\r\n\r\n\r\nconst SearchBarContainer = ({ query, change, submit }) => {\r\n return(<SearchBar query={query} change={change} submit={submit} />)\r\n};\r\n\r\nexport default connect(\r\n ({search})=> ({\r\n query: search.query\r\n }),\r\n {\r\n change,submit\r\n }\r\n)(SearchBarContainer);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=withNavigation;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _hoistNonReactStatics=_interopRequireDefault(require(\"hoist-non-react-statics\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var _NavigationContext=_interopRequireDefault(require(\"./NavigationContext\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-core/src/views/withNavigation.js\";function withNavigation(Component){var config=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{forwardRef:true};var ComponentWithNavigation=function(_React$Component){(0,_inherits2.default)(ComponentWithNavigation,_React$Component);function ComponentWithNavigation(){(0,_classCallCheck2.default)(this,ComponentWithNavigation);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ComponentWithNavigation).apply(this,arguments));}(0,_createClass2.default)(ComponentWithNavigation,[{key:\"render\",value:function render(){var _this=this;var navigationProp=this.props.navigation;return _react.default.createElement(_NavigationContext.default.Consumer,{__source:{fileName:_jsxFileName,lineNumber:17}},function(navigationContext){var navigation=navigationProp||navigationContext;(0,_invariant.default)(!!navigation,'withNavigation can only be used on a view hierarchy of a navigator. The wrapped component is unable to get access to navigation from props or context.');return _react.default.createElement(Component,(0,_extends2.default)({},_this.props,{navigation:navigation,ref:config.forwardRef?_this.props.onRef:undefined,__source:{fileName:_jsxFileName,lineNumber:25}}));});}}]);return ComponentWithNavigation;}(_react.default.Component);ComponentWithNavigation.displayName=\"withNavigation(\"+(Component.displayName||Component.name)+\")\";return(0,_hoistNonReactStatics.default)(ComponentWithNavigation,Component);}","map":{"version":3,"sources":["withNavigation.js"],"names":["config","forwardRef","ComponentWithNavigation","React","Component","navigationProp","navigation","invariant","hoistStatics"],"mappings":"qtBAAA,oDACA,qFACA,qEACA,8E,sGAEe,QAAA,CAAA,cAAA,CAAA,SAAA,CAGb,CADAA,GAAAA,CAAAA,MACA,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CADS,CAAEC,UAAU,CAAZ,IAAA,CAATD,CACA,GACME,CAAAA,uBADN,CAAA,SAAA,gBAAA,CAAA,CAAA,uBAAA,uBAAA,CAAA,gBAAA,EAAA,QAAA,CAAA,uBAAA,EAAA,CAAA,6BAAA,IAAA,CAAA,uBAAA,EAAA,MAAA,wCAAA,IAAA,CAAA,6BAAA,uBAAA,EAAA,KAAA,CAAA,IAAA,CAAA,SAAA,CAAA,CAAA,CAAA,2BAAA,uBAAA,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,KAAA,CAAA,QAAA,CAAA,MAAA,EAKW,CAAA,GAAA,CAAA,KAAA,CAAA,IAAA,CACP,GAAMG,CAAAA,cAAc,CAAG,KAAA,KAAA,CAAvB,UAAA,CACA,MACE,gBAAA,aAAA,CAAA,2BAAA,QAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,EAAA,CAAA,CAAA,CACG,SAAA,iBAAA,CAAqB,CACpB,GAAMC,CAAAA,UAAU,CAAGD,cAAc,EAAjC,iBAAA,CACAE,uBACE,CAAC,CADM,UAATA,CAAAA,wJAAAA,EAIA,MACE,gBAAA,aAAA,CAAA,SAAA,CAAA,sBAAA,EAAA,CACM,KAAI,CADV,KAAA,CAAA,CAEE,UAAU,CAFZ,UAAA,CAGE,GAAG,CAAEP,MAAM,CAANA,UAAAA,CAAoB,KAAI,CAAJ,KAAA,CAApBA,KAAAA,CAHP,SAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,CARN,CACE,CADF,CAPJ,CAAA,CAAA,CAAA,EAAA,MAAA,CAAA,uBAAA,CAAA,CAAA,CACsCG,eADtC,SAAA,CAAA,CACMD,uBADN,CAAA,WACMA,CADN,mBAEyCE,SAAS,CAATA,WAAAA,EACrCA,SAAS,CAHb,IAAA,EAAA,GACMF,CA2BN,MAAOM,kCAAY,uBAAZA,CAAP,SAAOA,CAAP,CACD","sourcesContent":["import React from 'react';\nimport hoistStatics from 'hoist-non-react-statics';\nimport invariant from '../utils/invariant';\nimport NavigationContext from './NavigationContext';\n\nexport default function withNavigation(\n Component,\n config = { forwardRef: true }\n) {\n class ComponentWithNavigation extends React.Component {\n static displayName = `withNavigation(${Component.displayName ||\n Component.name})`;\n\n render() {\n const navigationProp = this.props.navigation;\n return (\n <NavigationContext.Consumer>\n {navigationContext => {\n const navigation = navigationProp || navigationContext;\n invariant(\n !!navigation,\n 'withNavigation can only be used on a view hierarchy of a navigator. The wrapped component is unable to get access to navigation from props or context.'\n );\n return (\n <Component\n {...this.props}\n navigation={navigation}\n ref={config.forwardRef ? this.props.onRef : undefined}\n />\n );\n }}\n </NavigationContext.Consumer>\n );\n }\n }\n\n return hoistStatics(ComponentWithNavigation, Component);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var deprecatedKeys=['tabBar'];var _default=function _default(screenOptions,route){var keys=Object.keys(screenOptions);var deprecatedKey=keys.find(function(key){return deprecatedKeys.includes(key);});if(typeof screenOptions.title==='function'){throw new Error([\"`title` cannot be defined as a function in navigation options for `\"+route.routeName+\"` screen. \\n\",'Try replacing the following:','{',' title: ({ state }) => state...','}','','with:','({ navigation }) => ({',' title: navigation.state...','})'].join('\\n'));}if(deprecatedKey&&typeof screenOptions[deprecatedKey]==='function'){throw new Error([\"`\"+deprecatedKey+\"` cannot be defined as a function in navigation options for `\"+route.routeName+\"` screen. \\n\",'Try replacing the following:','{',\" \"+deprecatedKey+\": ({ state }) => ({\",' key: state...',' })','}','','with:','({ navigation }) => ({',\" \"+deprecatedKey+\"Key: navigation.state...\",'})'].join('\\n'));}if(deprecatedKey&&typeof screenOptions[deprecatedKey]==='object'){throw new Error([\"Invalid key `\"+deprecatedKey+\"` defined in navigation options for `\"+route.routeName+\"` screen.\",'\\n','Try replacing the following navigation options:','{',\" \"+deprecatedKey+\": {\"].concat((0,_toConsumableArray2.default)(Object.keys(screenOptions[deprecatedKey]).map(function(key){return\" \"+key+\": ...,\";})),[' },','}','\\n','with:','{'],(0,_toConsumableArray2.default)(Object.keys(screenOptions[deprecatedKey]).map(function(key){return\" \"+(deprecatedKey+key[0].toUpperCase()+key.slice(1))+\": ...,\";})),['}']).join('\\n'));}};exports.default=_default;","map":{"version":3,"sources":["validateScreenOptions.js"],"names":["deprecatedKeys","keys","Object","deprecatedKey","screenOptions","route","key"],"mappings":"uQAAA,GAAMA,CAAAA,cAAc,CAAG,CAAvB,QAAuB,CAAvB,C,aAMe,kBAAA,aAAA,CAAA,KAAA,CAA0B,CACvC,GAAMC,CAAAA,IAAI,CAAGC,MAAM,CAANA,IAAAA,CAAb,aAAaA,CAAb,CAEA,GAAMC,CAAAA,aAAa,CAAGF,IAAI,CAAJA,IAAAA,CAAU,SAAA,GAAA,CAAG,CAAA,MAAID,CAAAA,cAAc,CAAdA,QAAAA,CAAJ,GAAIA,CAAJ,CAAnC,CAAsBC,CAAtB,CAEA,GAAI,MAAOG,CAAAA,aAAa,CAApB,KAAA,GAAJ,UAAA,CAA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AA,GAAA,CAAG,CAAA,MAAA,QACMC,aAAa,CAAGG,GAAG,CAAHA,CAAG,CAAHA,CAAhBH,WAAgBG,EAAhBH,CAAuCG,GAAG,CAAHA,KAAAA,CAD7C,CAC6CA,CAD7C,EAAA,QAAA,CAjBP,CAgBKJ,CAhBL,CAAA,CAAA,CAAA,GAAA,CAAA,EAAA,IAAA,CADF,IACE,CADI,CAAN,CAyBH,CAvED,C","sourcesContent":["const deprecatedKeys = ['tabBar'];\n\n/**\n * Make sure screen options returned by the `getScreenOption`\n * are valid\n */\nexport default (screenOptions, route) => {\n const keys = Object.keys(screenOptions);\n\n const deprecatedKey = keys.find(key => deprecatedKeys.includes(key));\n\n if (typeof screenOptions.title === 'function') {\n throw new Error(\n [\n `\\`title\\` cannot be defined as a function in navigation options for \\`${\n route.routeName\n }\\` screen. \\n`,\n 'Try replacing the following:',\n '{',\n ' title: ({ state }) => state...',\n '}',\n '',\n 'with:',\n '({ navigation }) => ({',\n ' title: navigation.state...',\n '})',\n ].join('\\n')\n );\n }\n\n if (deprecatedKey && typeof screenOptions[deprecatedKey] === 'function') {\n throw new Error(\n [\n `\\`${deprecatedKey}\\` cannot be defined as a function in navigation options for \\`${\n route.routeName\n }\\` screen. \\n`,\n 'Try replacing the following:',\n '{',\n ` ${deprecatedKey}: ({ state }) => ({`,\n ' key: state...',\n ' })',\n '}',\n '',\n 'with:',\n '({ navigation }) => ({',\n ` ${deprecatedKey}Key: navigation.state...`,\n '})',\n ].join('\\n')\n );\n }\n\n if (deprecatedKey && typeof screenOptions[deprecatedKey] === 'object') {\n throw new Error(\n [\n `Invalid key \\`${deprecatedKey}\\` defined in navigation options for \\`${\n route.routeName\n }\\` screen.`,\n '\\n',\n 'Try replacing the following navigation options:',\n '{',\n ` ${deprecatedKey}: {`,\n ...Object.keys(screenOptions[deprecatedKey]).map(\n key => ` ${key}: ...,`\n ),\n ' },',\n '}',\n '\\n',\n 'with:',\n '{',\n ...Object.keys(screenOptions[deprecatedKey]).map(\n key =>\n ` ${deprecatedKey + key[0].toUpperCase() + key.slice(1)}: ...,`\n ),\n '}',\n ].join('\\n')\n );\n }\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _default={get name(){return'ExpoWebBrowser';},openBrowserAsync:function openBrowserAsync(url){var browserParams,_browserParams$window,windowName,windowFeatures,_args=arguments;return _regenerator.default.async(function openBrowserAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:browserParams=_args.length>1&&_args[1]!==undefined?_args[1]:{};_browserParams$window=browserParams.windowName,windowName=_browserParams$window===void 0?'_blank':_browserParams$window,windowFeatures=browserParams.windowFeatures;window.open(url,windowName,windowFeatures);return _context.abrupt(\"return\",{type:'dismiss'});case 4:case\"end\":return _context.stop();}}});}};exports.default=_default;","map":{"version":3,"sources":["../src/ExpoWebBrowser.web.ts"],"names":[],"mappings":"+PAEe,CACb,GAAI,CAAA,IAAJ,EAAQ,CACN,MAAO,gBAAP,CACD,CAHY,CAIP,gBAJO,2BAKX,GALW,+MAMX,aANW,+CAMyB,EANzB,uBAQuC,aARvC,CAQH,UARG,CAQH,UARG,gCAQU,QARV,uBAQoB,cARpB,CAQuC,aARvC,CAQoB,cARpB,CASX,MAAM,CAAC,IAAP,CAAY,GAAZ,CAAiB,UAAjB,CAA6B,cAA7B,EATW,gCAUJ,CAAE,IAAI,CAAE,SAAR,CAVI,iD","sourcesContent":["import { BrowserResult, OpenBrowserOptions } from './WebBrowser.types';\n\nexport default {\n get name() {\n return 'ExpoWebBrowser';\n },\n async openBrowserAsync(\n url: string,\n browserParams: OpenBrowserOptions = {}\n ): Promise<BrowserResult> {\n const { windowName = '_blank', windowFeatures } = browserParams;\n window.open(url, windowName, windowFeatures);\n return { type: 'dismiss' };\n },\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _Dimensions=_interopRequireDefault(require(\"../../exports/Dimensions\"));var _findNodeHandle=_interopRequireDefault(require(\"../../exports/findNodeHandle\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _Platform=_interopRequireDefault(require(\"../../exports/Platform\"));var _TextInputState=_interopRequireDefault(require(\"../TextInputState\"));var _UIManager=_interopRequireDefault(require(\"../../exports/UIManager\"));var _warning=_interopRequireDefault(require(\"fbjs/lib/warning\"));var emptyObject={};var IS_ANIMATING_TOUCH_START_THRESHOLD_MS=16;var ScrollResponderMixin={scrollResponderMixinGetInitialState:function scrollResponderMixinGetInitialState(){return{isTouching:false,lastMomentumScrollBeginTime:0,lastMomentumScrollEndTime:0,observedScrollSinceBecomingResponder:false,becameResponderWhileAnimating:false};},scrollResponderHandleScrollShouldSetResponder:function scrollResponderHandleScrollShouldSetResponder(){return this.state.isTouching;},scrollResponderHandleStartShouldSetResponder:function scrollResponderHandleStartShouldSetResponder(){return false;},scrollResponderHandleStartShouldSetResponderCapture:function scrollResponderHandleStartShouldSetResponderCapture(e){return this.scrollResponderIsAnimating();},scrollResponderHandleResponderReject:function scrollResponderHandleResponderReject(){(0,_warning.default)(false,\"ScrollView doesn't take rejection well - scrolls anyway\");},scrollResponderHandleTerminationRequest:function scrollResponderHandleTerminationRequest(){return!this.state.observedScrollSinceBecomingResponder;},scrollResponderHandleTouchEnd:function scrollResponderHandleTouchEnd(e){var nativeEvent=e.nativeEvent;this.state.isTouching=nativeEvent.touches.length!==0;this.props.onTouchEnd&&this.props.onTouchEnd(e);},scrollResponderHandleResponderRelease:function scrollResponderHandleResponderRelease(e){this.props.onResponderRelease&&this.props.onResponderRelease(e);var currentlyFocusedTextInput=_TextInputState.default.currentlyFocusedField();if(!this.props.keyboardShouldPersistTaps&&currentlyFocusedTextInput!=null&&e.target!==currentlyFocusedTextInput&&!this.state.observedScrollSinceBecomingResponder&&!this.state.becameResponderWhileAnimating){this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e);_TextInputState.default.blurTextInput(currentlyFocusedTextInput);}},scrollResponderHandleScroll:function scrollResponderHandleScroll(e){this.state.observedScrollSinceBecomingResponder=true;this.props.onScroll&&this.props.onScroll(e);},scrollResponderHandleResponderGrant:function scrollResponderHandleResponderGrant(e){this.state.observedScrollSinceBecomingResponder=false;this.props.onResponderGrant&&this.props.onResponderGrant(e);this.state.becameResponderWhileAnimating=this.scrollResponderIsAnimating();},scrollResponderHandleScrollBeginDrag:function scrollResponderHandleScrollBeginDrag(e){this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e);},scrollResponderHandleScrollEndDrag:function scrollResponderHandleScrollEndDrag(e){this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e);},scrollResponderHandleMomentumScrollBegin:function scrollResponderHandleMomentumScrollBegin(e){this.state.lastMomentumScrollBeginTime=Date.now();this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e);},scrollResponderHandleMomentumScrollEnd:function scrollResponderHandleMomentumScrollEnd(e){this.state.lastMomentumScrollEndTime=Date.now();this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e);},scrollResponderHandleTouchStart:function scrollResponderHandleTouchStart(e){this.state.isTouching=true;this.props.onTouchStart&&this.props.onTouchStart(e);},scrollResponderHandleTouchMove:function scrollResponderHandleTouchMove(e){this.props.onTouchMove&&this.props.onTouchMove(e);},scrollResponderIsAnimating:function scrollResponderIsAnimating(){var now=Date.now();var timeSinceLastMomentumScrollEnd=now-this.state.lastMomentumScrollEndTime;var isAnimating=timeSinceLastMomentumScrollEnd<IS_ANIMATING_TOUCH_START_THRESHOLD_MS||this.state.lastMomentumScrollEndTime<this.state.lastMomentumScrollBeginTime;return isAnimating;},scrollResponderGetScrollableNode:function scrollResponderGetScrollableNode(){return this.getScrollableNode?this.getScrollableNode():(0,_findNodeHandle.default)(this);},scrollResponderScrollTo:function scrollResponderScrollTo(x,y,animated){if(typeof x==='number'){console.warn('`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.');}else{var _ref=x||emptyObject;x=_ref.x;y=_ref.y;animated=_ref.animated;}var node=this.scrollResponderGetScrollableNode();var left=x||0;var top=y||0;if(typeof node.scroll==='function'){node.scroll({top:top,left:left,behavior:!animated?'auto':'smooth'});}else{node.scrollLeft=left;node.scrollTop=top;}},scrollResponderScrollWithoutAnimationTo:function scrollResponderScrollWithoutAnimationTo(offsetX,offsetY){console.warn('`scrollResponderScrollWithoutAnimationTo` is deprecated. Use `scrollResponderScrollTo` instead');this.scrollResponderScrollTo({x:offsetX,y:offsetY,animated:false});},scrollResponderZoomTo:function scrollResponderZoomTo(rect,animated){if(_Platform.default.OS!=='ios'){(0,_invariant.default)('zoomToRect is not implemented');}},scrollResponderFlashScrollIndicators:function scrollResponderFlashScrollIndicators(){},scrollResponderScrollNativeHandleToKeyboard:function scrollResponderScrollNativeHandleToKeyboard(nodeHandle,additionalOffset,preventNegativeScrollOffset){this.additionalScrollOffset=additionalOffset||0;this.preventNegativeScrollOffset=!!preventNegativeScrollOffset;_UIManager.default.measureLayout(nodeHandle,(0,_findNodeHandle.default)(this.getInnerViewNode()),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard);},scrollResponderInputMeasureAndScrollToKeyboard:function scrollResponderInputMeasureAndScrollToKeyboard(left,top,width,height){var keyboardScreenY=_Dimensions.default.get('window').height;if(this.keyboardWillOpenTo){keyboardScreenY=this.keyboardWillOpenTo.endCoordinates.screenY;}var scrollOffsetY=top-keyboardScreenY+height+this.additionalScrollOffset;if(this.preventNegativeScrollOffset){scrollOffsetY=Math.max(0,scrollOffsetY);}this.scrollResponderScrollTo({x:0,y:scrollOffsetY,animated:true});this.additionalOffset=0;this.preventNegativeScrollOffset=false;},scrollResponderTextInputFocusError:function scrollResponderTextInputFocusError(e){console.error('Error measuring text field: ',e);},componentWillMount:function componentWillMount(){this.keyboardWillOpenTo=null;this.additionalScrollOffset=0;},scrollResponderKeyboardWillShow:function scrollResponderKeyboardWillShow(e){this.keyboardWillOpenTo=e;this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e);},scrollResponderKeyboardWillHide:function scrollResponderKeyboardWillHide(e){this.keyboardWillOpenTo=null;this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e);},scrollResponderKeyboardDidShow:function scrollResponderKeyboardDidShow(e){if(e){this.keyboardWillOpenTo=e;}this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e);},scrollResponderKeyboardDidHide:function scrollResponderKeyboardDidHide(e){this.keyboardWillOpenTo=null;this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide(e);}};var ScrollResponder={Mixin:ScrollResponderMixin};var _default=ScrollResponder;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ScrollResponder/index.js"],"names":["emptyObject","IS_ANIMATING_TOUCH_START_THRESHOLD_MS","ScrollResponderMixin","scrollResponderMixinGetInitialState","isTouching","lastMomentumScrollBeginTime","lastMomentumScrollEndTime","observedScrollSinceBecomingResponder","becameResponderWhileAnimating","scrollResponderHandleScrollShouldSetResponder","state","scrollResponderHandleStartShouldSetResponder","scrollResponderHandleStartShouldSetResponderCapture","e","scrollResponderIsAnimating","scrollResponderHandleResponderReject","scrollResponderHandleTerminationRequest","scrollResponderHandleTouchEnd","nativeEvent","touches","length","props","onTouchEnd","scrollResponderHandleResponderRelease","onResponderRelease","currentlyFocusedTextInput","TextInputState","currentlyFocusedField","keyboardShouldPersistTaps","target","onScrollResponderKeyboardDismissed","blurTextInput","scrollResponderHandleScroll","onScroll","scrollResponderHandleResponderGrant","onResponderGrant","scrollResponderHandleScrollBeginDrag","onScrollBeginDrag","scrollResponderHandleScrollEndDrag","onScrollEndDrag","scrollResponderHandleMomentumScrollBegin","Date","now","onMomentumScrollBegin","scrollResponderHandleMomentumScrollEnd","onMomentumScrollEnd","scrollResponderHandleTouchStart","onTouchStart","scrollResponderHandleTouchMove","onTouchMove","timeSinceLastMomentumScrollEnd","isAnimating","scrollResponderGetScrollableNode","getScrollableNode","scrollResponderScrollTo","x","y","animated","console","warn","_ref","node","left","top","scroll","behavior","scrollLeft","scrollTop","scrollResponderScrollWithoutAnimationTo","offsetX","offsetY","scrollResponderZoomTo","rect","Platform","OS","scrollResponderFlashScrollIndicators","scrollResponderScrollNativeHandleToKeyboard","nodeHandle","additionalOffset","preventNegativeScrollOffset","additionalScrollOffset","UIManager","measureLayout","getInnerViewNode","scrollResponderTextInputFocusError","scrollResponderInputMeasureAndScrollToKeyboard","width","height","keyboardScreenY","Dimensions","get","keyboardWillOpenTo","endCoordinates","screenY","scrollOffsetY","Math","max","error","componentWillMount","scrollResponderKeyboardWillShow","onKeyboardWillShow","scrollResponderKeyboardWillHide","onKeyboardWillHide","scrollResponderKeyboardDidShow","onKeyboardDidShow","scrollResponderKeyboardDidHide","onKeyboardDidHide","ScrollResponder","Mixin"],"mappings":"mKASA,4EACA,oFACA,qEACA,wEACA,yEACA,0EACA,iEA+EA,GAAIA,CAAAA,WAAW,CAAG,EAAlB,CACA,GAAIC,CAAAA,qCAAqC,CAAG,EAA5C,CACA,GAAIC,CAAAA,oBAAoB,CAAG,CAEzBC,mCAAmC,CAAE,QAASA,CAAAA,mCAAT,EAA+C,CAClF,MAAO,CACLC,UAAU,CAAE,KADP,CAELC,2BAA2B,CAAE,CAFxB,CAGLC,yBAAyB,CAAE,CAHtB,CASLC,oCAAoC,CAAE,KATjC,CAULC,6BAA6B,CAAE,KAV1B,CAAP,CAYD,CAfwB,CAoBzBC,6CAA6C,CAAE,QAASA,CAAAA,6CAAT,EAAyD,CACtG,MAAO,MAAKC,KAAL,CAAWN,UAAlB,CACD,CAtB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,CAChD,KAAKP,kBAAL,CAA0B,IAA1B,CACA,KAAKX,sBAAL,CAA8B,CAA9B,CAID,CA/WwB,CA6YzBmB,+BAA+B,CAAE,QAASA,CAAAA,+BAAT,CAAyCtF,CAAzC,CAA4C,CAC3E,KAAK8E,kBAAL,CAA0B9E,CAA1B,CACA,KAAKQ,KAAL,CAAW+E,kBAAX,EAAiC,KAAK/E,KAAL,CAAW+E,kBAAX,CAA8BvF,CAA9B,CAAjC,CACD,CAhZwB,CAiZzBwF,+BAA+B,CAAE,QAASA,CAAAA,+BAAT,CAAyCxF,CAAzC,CAA4C,CAC3E,KAAK8E,kBAAL,CAA0B,IAA1B,CACA,KAAKtE,KAAL,CAAWiF,kBAAX,EAAiC,KAAKjF,KAAL,CAAWiF,kBAAX,CAA8BzF,CAA9B,CAAjC,CACD,CApZwB,CAqZzB0F,8BAA8B,CAAE,QAASA,CAAAA,8BAAT,CAAwC1F,CAAxC,CAA2C,CAGzE,GAAIA,CAAJ,CAAO,CACL,KAAK8E,kBAAL,CAA0B9E,CAA1B,CACD,CAED,KAAKQ,KAAL,CAAWmF,iBAAX,EAAgC,KAAKnF,KAAL,CAAWmF,iBAAX,CAA6B3F,CAA7B,CAAhC,CACD,CA7ZwB,CA8ZzB4F,8BAA8B,CAAE,QAASA,CAAAA,8BAAT,CAAwC5F,CAAxC,CAA2C,CACzE,KAAK8E,kBAAL,CAA0B,IAA1B,CACA,KAAKtE,KAAL,CAAWqF,iBAAX,EAAgC,KAAKrF,KAAL,CAAWqF,iBAAX,CAA6B7F,CAA7B,CAAhC,CACD,CAjawB,CAA3B,CAmaA,GAAI8F,CAAAA,eAAe,CAAG,CACpBC,KAAK,CAAE1G,oBADa,CAAtB,C,aAGeyG,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport Dimensions from '../../exports/Dimensions';\nimport findNodeHandle from '../../exports/findNodeHandle';\nimport invariant from 'fbjs/lib/invariant';\nimport Platform from '../../exports/Platform';\nimport TextInputState from '../TextInputState';\nimport UIManager from '../../exports/UIManager';\nimport warning from 'fbjs/lib/warning';\n/**\n * Mixin that can be integrated in order to handle scrolling that plays well\n * with `ResponderEventPlugin`. Integrate with your platform specific scroll\n * views, or even your custom built (every-frame animating) scroll views so that\n * all of these systems play well with the `ResponderEventPlugin`.\n *\n * iOS scroll event timing nuances:\n * ===============================\n *\n *\n * Scrolling without bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... physical touch starts ...\n * 2. `onTouchStartCapture` (when you press down to stop the scroll)\n * 3. `onTouchStart` (same, but bubble phase)\n * 4. `onResponderRelease` (when lifting up - you could pause forever before * lifting)\n * 5. `onMomentumScrollEnd`\n *\n *\n * Scrolling with bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... bounce begins ...\n * ... some time elapses ...\n * ... physical touch during bounce ...\n * 2. `onMomentumScrollEnd` (Makes no sense why this occurs first during bounce)\n * 3. `onTouchStartCapture` (immediately after `onMomentumScrollEnd`)\n * 4. `onTouchStart` (same, but bubble phase)\n * 5. `onTouchEnd` (You could hold the touch start for a long time)\n * 6. `onMomentumScrollBegin` (When releasing the view starts bouncing back)\n *\n * So when we receive an `onTouchStart`, how can we tell if we are touching\n * *during* an animation (which then causes the animation to stop)? The only way\n * to tell is if the `touchStart` occurred immediately after the\n * `onMomentumScrollEnd`.\n *\n * This is abstracted out for you, so you can just call this.scrollResponderIsAnimating() if\n * necessary\n *\n * `ScrollResponder` also includes logic for blurring a currently focused input\n * if one is focused while scrolling. The `ScrollResponder` is a natural place\n * to put this logic since it can support not dismissing the keyboard while\n * scrolling, unless a recognized \"tap\"-like gesture has occurred.\n *\n * The public lifecycle API includes events for keyboard interaction, responder\n * interaction, and scrolling (among others). The keyboard callbacks\n * `onKeyboardWill/Did/*` are *global* events, but are invoked on scroll\n * responder's props so that you can guarantee that the scroll responder's\n * internal state has been updated accordingly (and deterministically) by\n * the time the props callbacks are invoke. Otherwise, you would always wonder\n * if the scroll responder is currently in a state where it recognizes new\n * keyboard positions etc. If coordinating scrolling with keyboard movement,\n * *always* use these hooks instead of listening to your own global keyboard\n * events.\n *\n * Public keyboard lifecycle API: (props callbacks)\n *\n * Standard Keyboard Appearance Sequence:\n *\n * this.props.onKeyboardWillShow\n * this.props.onKeyboardDidShow\n *\n * `onScrollResponderKeyboardDismissed` will be invoked if an appropriate\n * tap inside the scroll responder's scrollable region was responsible\n * for the dismissal of the keyboard. There are other reasons why the\n * keyboard could be dismissed.\n *\n * this.props.onScrollResponderKeyboardDismissed\n *\n * Standard Keyboard Hide Sequence:\n *\n * this.props.onKeyboardWillHide\n * this.props.onKeyboardDidHide\n */\n\nvar emptyObject = {};\nvar IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;\nvar ScrollResponderMixin = {\n // mixins: [Subscribable.Mixin],\n scrollResponderMixinGetInitialState: function scrollResponderMixinGetInitialState() {\n return {\n isTouching: false,\n lastMomentumScrollBeginTime: 0,\n lastMomentumScrollEndTime: 0,\n // Reset to false every time becomes responder. This is used to:\n // - Determine if the scroll view has been scrolled and therefore should\n // refuse to give up its responder lock.\n // - Determine if releasing should dismiss the keyboard when we are in\n // tap-to-dismiss mode (!this.props.keyboardShouldPersistTaps).\n observedScrollSinceBecomingResponder: false,\n becameResponderWhileAnimating: false\n };\n },\n\n /**\n * Invoke this from an `onScroll` event.\n */\n scrollResponderHandleScrollShouldSetResponder: function scrollResponderHandleScrollShouldSetResponder() {\n return this.state.isTouching;\n },\n\n /**\n * Merely touch starting is not sufficient for a scroll view to become the\n * responder. Being the \"responder\" means that the very next touch move/end\n * event will result in an action/movement.\n *\n * Invoke this from an `onStartShouldSetResponder` event.\n *\n * `onStartShouldSetResponder` is used when the next move/end will trigger\n * some UI movement/action, but when you want to yield priority to views\n * nested inside of the view.\n *\n * There may be some cases where scroll views actually should return `true`\n * from `onStartShouldSetResponder`: Any time we are detecting a standard tap\n * that gives priority to nested views.\n *\n * - If a single tap on the scroll view triggers an action such as\n * recentering a map style view yet wants to give priority to interaction\n * views inside (such as dropped pins or labels), then we would return true\n * from this method when there is a single touch.\n *\n * - Similar to the previous case, if a two finger \"tap\" should trigger a\n * zoom, we would check the `touches` count, and if `>= 2`, we would return\n * true.\n *\n */\n scrollResponderHandleStartShouldSetResponder: function scrollResponderHandleStartShouldSetResponder() {\n return false;\n },\n\n /**\n * There are times when the scroll view wants to become the responder\n * (meaning respond to the next immediate `touchStart/touchEnd`), in a way\n * that *doesn't* give priority to nested views (hence the capture phase):\n *\n * - Currently animating.\n * - Tapping anywhere that is not the focused input, while the keyboard is\n * up (which should dismiss the keyboard).\n *\n * Invoke this from an `onStartShouldSetResponderCapture` event.\n */\n scrollResponderHandleStartShouldSetResponderCapture: function scrollResponderHandleStartShouldSetResponderCapture(e) {\n // First see if we want to eat taps while the keyboard is up\n // var currentlyFocusedTextInput = TextInputState.currentlyFocusedField();\n // if (!this.props.keyboardShouldPersistTaps &&\n // currentlyFocusedTextInput != null &&\n // e.target !== currentlyFocusedTextInput) {\n // return true;\n // }\n return this.scrollResponderIsAnimating();\n },\n\n /**\n * Invoke this from an `onResponderReject` event.\n *\n * Some other element is not yielding its role as responder. Normally, we'd\n * just disable the `UIScrollView`, but a touch has already began on it, the\n * `UIScrollView` will not accept being disabled after that. The easiest\n * solution for now is to accept the limitation of disallowing this\n * altogether. To improve this, find a way to disable the `UIScrollView` after\n * a touch has already started.\n */\n scrollResponderHandleResponderReject: function scrollResponderHandleResponderReject() {\n warning(false, \"ScrollView doesn't take rejection well - scrolls anyway\");\n },\n\n /**\n * We will allow the scroll view to give up its lock iff it acquired the lock\n * during an animation. This is a very useful default that happens to satisfy\n * many common user experiences.\n *\n * - Stop a scroll on the left edge, then turn that into an outer view's\n * backswipe.\n * - Stop a scroll mid-bounce at the top, continue pulling to have the outer\n * view dismiss.\n * - However, without catching the scroll view mid-bounce (while it is\n * motionless), if you drag far enough for the scroll view to become\n * responder (and therefore drag the scroll view a bit), any backswipe\n * navigation of a swipe gesture higher in the view hierarchy, should be\n * rejected.\n */\n scrollResponderHandleTerminationRequest: function scrollResponderHandleTerminationRequest() {\n return !this.state.observedScrollSinceBecomingResponder;\n },\n\n /**\n * Invoke this from an `onTouchEnd` event.\n *\n * @param {SyntheticEvent} e Event.\n */\n scrollResponderHandleTouchEnd: function scrollResponderHandleTouchEnd(e) {\n var nativeEvent = e.nativeEvent;\n this.state.isTouching = nativeEvent.touches.length !== 0;\n this.props.onTouchEnd && this.props.onTouchEnd(e);\n },\n\n /**\n * Invoke this from an `onResponderRelease` event.\n */\n scrollResponderHandleResponderRelease: function scrollResponderHandleResponderRelease(e) {\n this.props.onResponderRelease && this.props.onResponderRelease(e); // By default scroll views will unfocus a textField\n // if another touch occurs outside of it\n\n var currentlyFocusedTextInput = TextInputState.currentlyFocusedField();\n\n if (!this.props.keyboardShouldPersistTaps && currentlyFocusedTextInput != null && e.target !== currentlyFocusedTextInput && !this.state.observedScrollSinceBecomingResponder && !this.state.becameResponderWhileAnimating) {\n this.props.onScrollResponderKeyboardDismissed && this.props.onScrollResponderKeyboardDismissed(e);\n TextInputState.blurTextInput(currentlyFocusedTextInput);\n }\n },\n scrollResponderHandleScroll: function scrollResponderHandleScroll(e) {\n this.state.observedScrollSinceBecomingResponder = true;\n this.props.onScroll && this.props.onScroll(e);\n },\n\n /**\n * Invoke this from an `onResponderGrant` event.\n */\n scrollResponderHandleResponderGrant: function scrollResponderHandleResponderGrant(e) {\n this.state.observedScrollSinceBecomingResponder = false;\n this.props.onResponderGrant && this.props.onResponderGrant(e);\n this.state.becameResponderWhileAnimating = this.scrollResponderIsAnimating();\n },\n\n /**\n * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll\n * animation, and there's not an easy way to distinguish a drag vs. stopping\n * momentum.\n *\n * Invoke this from an `onScrollBeginDrag` event.\n */\n scrollResponderHandleScrollBeginDrag: function scrollResponderHandleScrollBeginDrag(e) {\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n },\n\n /**\n * Invoke this from an `onScrollEndDrag` event.\n */\n scrollResponderHandleScrollEndDrag: function scrollResponderHandleScrollEndDrag(e) {\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n },\n\n /**\n * Invoke this from an `onMomentumScrollBegin` event.\n */\n scrollResponderHandleMomentumScrollBegin: function scrollResponderHandleMomentumScrollBegin(e) {\n this.state.lastMomentumScrollBeginTime = Date.now();\n this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);\n },\n\n /**\n * Invoke this from an `onMomentumScrollEnd` event.\n */\n scrollResponderHandleMomentumScrollEnd: function scrollResponderHandleMomentumScrollEnd(e) {\n this.state.lastMomentumScrollEndTime = Date.now();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n },\n\n /**\n * Invoke this from an `onTouchStart` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {SyntheticEvent} e Touch Start event.\n */\n scrollResponderHandleTouchStart: function scrollResponderHandleTouchStart(e) {\n this.state.isTouching = true;\n this.props.onTouchStart && this.props.onTouchStart(e);\n },\n\n /**\n * Invoke this from an `onTouchMove` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {SyntheticEvent} e Touch Start event.\n */\n scrollResponderHandleTouchMove: function scrollResponderHandleTouchMove(e) {\n this.props.onTouchMove && this.props.onTouchMove(e);\n },\n\n /**\n * A helper function for this class that lets us quickly determine if the\n * view is currently animating. This is particularly useful to know when\n * a touch has just started or ended.\n */\n scrollResponderIsAnimating: function scrollResponderIsAnimating() {\n var now = Date.now();\n var timeSinceLastMomentumScrollEnd = now - this.state.lastMomentumScrollEndTime;\n var isAnimating = timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS || this.state.lastMomentumScrollEndTime < this.state.lastMomentumScrollBeginTime;\n return isAnimating;\n },\n\n /**\n * Returns the node that represents native view that can be scrolled.\n * Components can pass what node to use by defining a `getScrollableNode`\n * function otherwise `this` is used.\n */\n scrollResponderGetScrollableNode: function scrollResponderGetScrollableNode() {\n return this.getScrollableNode ? this.getScrollableNode() : findNodeHandle(this);\n },\n\n /**\n * A helper function to scroll to a specific point in the scrollview.\n * This is currently used to help focus on child textviews, but can also\n * be used to quickly scroll to any element we want to focus. Syntax:\n *\n * scrollResponderScrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})\n *\n * Note: The weird argument signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as as alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollResponderScrollTo: function scrollResponderScrollTo(x, y, animated) {\n if (typeof x === 'number') {\n console.warn('`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.');\n } else {\n var _ref = x || emptyObject;\n\n x = _ref.x;\n y = _ref.y;\n animated = _ref.animated;\n }\n\n var node = this.scrollResponderGetScrollableNode();\n var left = x || 0;\n var top = y || 0;\n\n if (typeof node.scroll === 'function') {\n node.scroll({\n top: top,\n left: left,\n behavior: !animated ? 'auto' : 'smooth'\n });\n } else {\n node.scrollLeft = left;\n node.scrollTop = top;\n }\n },\n\n /**\n * Deprecated, do not use.\n */\n scrollResponderScrollWithoutAnimationTo: function scrollResponderScrollWithoutAnimationTo(offsetX, offsetY) {\n console.warn('`scrollResponderScrollWithoutAnimationTo` is deprecated. Use `scrollResponderScrollTo` instead');\n this.scrollResponderScrollTo({\n x: offsetX,\n y: offsetY,\n animated: false\n });\n },\n\n /**\n * A helper function to zoom to a specific rect in the scrollview. The argument has the shape\n * {x: number; y: number; width: number; height: number; animated: boolean = true}\n *\n * @platform ios\n */\n scrollResponderZoomTo: function scrollResponderZoomTo(rect, animated // deprecated, put this inside the rect argument instead\n ) {\n if (Platform.OS !== 'ios') {\n invariant('zoomToRect is not implemented');\n }\n },\n\n /**\n * Displays the scroll indicators momentarily.\n */\n scrollResponderFlashScrollIndicators: function scrollResponderFlashScrollIndicators() {},\n\n /**\n * This method should be used as the callback to onFocus in a TextInputs'\n * parent view. Note that any module using this mixin needs to return\n * the parent view's ref in getScrollViewRef() in order to use this method.\n * @param {any} nodeHandle The TextInput node handle\n * @param {number} additionalOffset The scroll view's top \"contentInset\".\n * Default is 0.\n * @param {bool} preventNegativeScrolling Whether to allow pulling the content\n * down to make it meet the keyboard's top. Default is false.\n */\n scrollResponderScrollNativeHandleToKeyboard: function scrollResponderScrollNativeHandleToKeyboard(nodeHandle, additionalOffset, preventNegativeScrollOffset) {\n this.additionalScrollOffset = additionalOffset || 0;\n this.preventNegativeScrollOffset = !!preventNegativeScrollOffset;\n UIManager.measureLayout(nodeHandle, findNodeHandle(this.getInnerViewNode()), this.scrollResponderTextInputFocusError, this.scrollResponderInputMeasureAndScrollToKeyboard);\n },\n\n /**\n * The calculations performed here assume the scroll view takes up the entire\n * screen - even if has some content inset. We then measure the offsets of the\n * keyboard, and compensate both for the scroll view's \"contentInset\".\n *\n * @param {number} left Position of input w.r.t. table view.\n * @param {number} top Position of input w.r.t. table view.\n * @param {number} width Width of the text input.\n * @param {number} height Height of the text input.\n */\n scrollResponderInputMeasureAndScrollToKeyboard: function scrollResponderInputMeasureAndScrollToKeyboard(left, top, width, height) {\n var keyboardScreenY = Dimensions.get('window').height;\n\n if (this.keyboardWillOpenTo) {\n keyboardScreenY = this.keyboardWillOpenTo.endCoordinates.screenY;\n }\n\n var scrollOffsetY = top - keyboardScreenY + height + this.additionalScrollOffset; // By default, this can scroll with negative offset, pulling the content\n // down so that the target component's bottom meets the keyboard's top.\n // If requested otherwise, cap the offset at 0 minimum to avoid content\n // shifting down.\n\n if (this.preventNegativeScrollOffset) {\n scrollOffsetY = Math.max(0, scrollOffsetY);\n }\n\n this.scrollResponderScrollTo({\n x: 0,\n y: scrollOffsetY,\n animated: true\n });\n this.additionalOffset = 0;\n this.preventNegativeScrollOffset = false;\n },\n scrollResponderTextInputFocusError: function scrollResponderTextInputFocusError(e) {\n console.error('Error measuring text field: ', e);\n },\n\n /**\n * `componentWillMount` is the closest thing to a standard \"constructor\" for\n * React components.\n *\n * The `keyboardWillShow` is called before input focus.\n */\n componentWillMount: function componentWillMount() {\n this.keyboardWillOpenTo = null;\n this.additionalScrollOffset = 0; // this.addListenerOn(RCTDeviceEventEmitter, 'keyboardWillShow', this.scrollResponderKeyboardWillShow);\n // this.addListenerOn(RCTDeviceEventEmitter, 'keyboardWillHide', this.scrollResponderKeyboardWillHide);\n // this.addListenerOn(RCTDeviceEventEmitter, 'keyboardDidShow', this.scrollResponderKeyboardDidShow);\n // this.addListenerOn(RCTDeviceEventEmitter, 'keyboardDidHide', this.scrollResponderKeyboardDidHide);\n },\n\n /**\n * Warning, this may be called several times for a single keyboard opening.\n * It's best to store the information in this method and then take any action\n * at a later point (either in `keyboardDidShow` or other).\n *\n * Here's the order that events occur in:\n * - focus\n * - willShow {startCoordinates, endCoordinates} several times\n * - didShow several times\n * - blur\n * - willHide {startCoordinates, endCoordinates} several times\n * - didHide several times\n *\n * The `ScrollResponder` providesModule callbacks for each of these events.\n * Even though any user could have easily listened to keyboard events\n * themselves, using these `props` callbacks ensures that ordering of events\n * is consistent - and not dependent on the order that the keyboard events are\n * subscribed to. This matters when telling the scroll view to scroll to where\n * the keyboard is headed - the scroll responder better have been notified of\n * the keyboard destination before being instructed to scroll to where the\n * keyboard will be. Stick to the `ScrollResponder` callbacks, and everything\n * will work.\n *\n * WARNING: These callbacks will fire even if a keyboard is displayed in a\n * different navigation pane. Filter out the events to determine if they are\n * relevant to you. (For example, only if you receive these callbacks after\n * you had explicitly focused a node etc).\n */\n scrollResponderKeyboardWillShow: function scrollResponderKeyboardWillShow(e) {\n this.keyboardWillOpenTo = e;\n this.props.onKeyboardWillShow && this.props.onKeyboardWillShow(e);\n },\n scrollResponderKeyboardWillHide: function scrollResponderKeyboardWillHide(e) {\n this.keyboardWillOpenTo = null;\n this.props.onKeyboardWillHide && this.props.onKeyboardWillHide(e);\n },\n scrollResponderKeyboardDidShow: function scrollResponderKeyboardDidShow(e) {\n // TODO(7693961): The event for DidShow is not available on iOS yet.\n // Use the one from WillShow and do not assign.\n if (e) {\n this.keyboardWillOpenTo = e;\n }\n\n this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);\n },\n scrollResponderKeyboardDidHide: function scrollResponderKeyboardDidHide(e) {\n this.keyboardWillOpenTo = null;\n this.props.onKeyboardDidHide && this.props.onKeyboardDidHide(e);\n }\n};\nvar ScrollResponder = {\n Mixin: ScrollResponderMixin\n};\nexport default ScrollResponder;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.preventAutoHide=preventAutoHide;exports.hide=hide;var _NativeModules=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeModules\"));var _NativeModules$Expone=_NativeModules.default.ExponentSplashScreen,SplashScreen=_NativeModules$Expone===void 0?{}:_NativeModules$Expone;function preventAutoHide(){if(SplashScreen.preventAutoHide){SplashScreen.preventAutoHide();}}function hide(){if(SplashScreen.hide){SplashScreen.hide();}}","map":{"version":3,"sources":["../../src/launch/SplashScreen.ts"],"names":[],"mappings":"kUAEoD,sB,CAA5C,oB,CAAsB,Y,gCAAe,E,uBAEvC,QAAU,CAAA,eAAV,EAAyB,CAC7B,GAAI,YAAY,CAAC,eAAjB,CAAkC,CAChC,YAAY,CAAC,eAAb,GACD,CACF,CAEK,QAAU,CAAA,IAAV,EAAc,CAClB,GAAI,YAAY,CAAC,IAAjB,CAAuB,CACrB,YAAY,CAAC,IAAb,GACD,CACF","sourcesContent":["import { NativeModules } from 'react-native';\n\nconst { ExponentSplashScreen: SplashScreen = {} } = NativeModules;\n\nexport function preventAutoHide() {\n if (SplashScreen.preventAutoHide) {\n SplashScreen.preventAutoHide();\n }\n}\n\nexport function hide() {\n if (SplashScreen.hide) {\n SplashScreen.hide();\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.getCustomTabsSupportingBrowsersAsync=getCustomTabsSupportingBrowsersAsync;exports.warmUpAsync=warmUpAsync;exports.mayInitWithUrlAsync=mayInitWithUrlAsync;exports.coolDownAsync=coolDownAsync;exports.openBrowserAsync=openBrowserAsync;exports.dismissBrowser=dismissBrowser;exports.openAuthSessionAsync=openAuthSessionAsync;exports.dismissAuthSession=dismissAuthSession;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _AppState=_interopRequireDefault(require(\"react-native-web/dist/exports/AppState\"));var _Linking=_interopRequireDefault(require(\"react-native-web/dist/exports/Linking\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _core=require(\"@unimodules/core\");var _ExpoWebBrowser=_interopRequireDefault(require(\"./ExpoWebBrowser\"));var emptyCustomTabsPackages={defaultBrowserPackage:undefined,preferredBrowserPackage:undefined,browserPackages:[],servicePackages:[]};function getCustomTabsSupportingBrowsersAsync(){return _regenerator.default.async(function getCustomTabsSupportingBrowsersAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:if(_ExpoWebBrowser.default.getCustomTabsSupportingBrowsersAsync){_context.next=2;break;}throw new _core.UnavailabilityError('WebBrowser','getCustomTabsSupportingBrowsersAsync');case 2:if(!(_Platform.default.OS!=='android')){_context.next=6;break;}return _context.abrupt(\"return\",emptyCustomTabsPackages);case 6:_context.next=8;return _regenerator.default.awrap(_ExpoWebBrowser.default.getCustomTabsSupportingBrowsersAsync());case 8:return _context.abrupt(\"return\",_context.sent);case 9:case\"end\":return _context.stop();}}});}function warmUpAsync(browserPackage){return _regenerator.default.async(function warmUpAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(_ExpoWebBrowser.default.warmUpAsync){_context2.next=2;break;}throw new _core.UnavailabilityError('WebBrowser','warmUpAsync');case 2:if(!(_Platform.default.OS!=='android')){_context2.next=6;break;}return _context2.abrupt(\"return\",{});case 6:_context2.next=8;return _regenerator.default.awrap(_ExpoWebBrowser.default.warmUpAsync(browserPackage));case 8:return _context2.abrupt(\"return\",_context2.sent);case 9:case\"end\":return _context2.stop();}}});}function mayInitWithUrlAsync(url,browserPackage){return _regenerator.default.async(function mayInitWithUrlAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:if(_ExpoWebBrowser.default.mayInitWithUrlAsync){_context3.next=2;break;}throw new _core.UnavailabilityError('WebBrowser','mayInitWithUrlAsync');case 2:if(!(_Platform.default.OS!=='android')){_context3.next=6;break;}return _context3.abrupt(\"return\",{});case 6:_context3.next=8;return _regenerator.default.awrap(_ExpoWebBrowser.default.mayInitWithUrlAsync(url,browserPackage));case 8:return _context3.abrupt(\"return\",_context3.sent);case 9:case\"end\":return _context3.stop();}}});}function coolDownAsync(browserPackage){return _regenerator.default.async(function coolDownAsync$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:if(_ExpoWebBrowser.default.coolDownAsync){_context4.next=2;break;}throw new _core.UnavailabilityError('WebBrowser','coolDownAsync');case 2:if(!(_Platform.default.OS!=='android')){_context4.next=6;break;}return _context4.abrupt(\"return\",{});case 6:_context4.next=8;return _regenerator.default.awrap(_ExpoWebBrowser.default.coolDownAsync(browserPackage));case 8:return _context4.abrupt(\"return\",_context4.sent);case 9:case\"end\":return _context4.stop();}}});}function openBrowserAsync(url){var browserParams,_args5=arguments;return _regenerator.default.async(function openBrowserAsync$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:browserParams=_args5.length>1&&_args5[1]!==undefined?_args5[1]:{};if(_ExpoWebBrowser.default.openBrowserAsync){_context5.next=3;break;}throw new _core.UnavailabilityError('WebBrowser','openBrowserAsync');case 3:_context5.next=5;return _regenerator.default.awrap(_ExpoWebBrowser.default.openBrowserAsync(url,browserParams));case 5:return _context5.abrupt(\"return\",_context5.sent);case 6:case\"end\":return _context5.stop();}}});}function dismissBrowser(){if(!_ExpoWebBrowser.default.dismissBrowser){throw new _core.UnavailabilityError('WebBrowser','dismissBrowser');}_ExpoWebBrowser.default.dismissBrowser();}function openAuthSessionAsync(url,redirectUrl){return _regenerator.default.async(function openAuthSessionAsync$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:if(!_authSessionIsNativelySupported()){_context6.next=6;break;}if(_ExpoWebBrowser.default.openAuthSessionAsync){_context6.next=3;break;}throw new _core.UnavailabilityError('WebBrowser','openAuthSessionAsync');case 3:return _context6.abrupt(\"return\",_ExpoWebBrowser.default.openAuthSessionAsync(url,redirectUrl));case 6:return _context6.abrupt(\"return\",_openAuthSessionPolyfillAsync(url,redirectUrl));case 7:case\"end\":return _context6.stop();}}});}function dismissAuthSession(){if(_authSessionIsNativelySupported()){if(!_ExpoWebBrowser.default.dismissAuthSession){throw new _core.UnavailabilityError('WebBrowser','dismissAuthSession');}_ExpoWebBrowser.default.dismissAuthSession();}else{if(!_ExpoWebBrowser.default.dismissBrowser){throw new _core.UnavailabilityError('WebBrowser','dismissAuthSession');}_ExpoWebBrowser.default.dismissBrowser();}}function _authSessionIsNativelySupported(){if(_Platform.default.OS==='android'){return false;}var versionNumber=parseInt(String(_Platform.default.Version),10);return versionNumber>=11;}var _redirectHandler=null;var _onWebBrowserCloseAndroid=null;function _onAppStateChangeAndroid(state){if(state==='active'&&_onWebBrowserCloseAndroid){_onWebBrowserCloseAndroid();}}function _openBrowserAndWaitAndroidAsync(startUrl){var appStateChangedToActive,result,_ref,type;return _regenerator.default.async(function _openBrowserAndWaitAndroidAsync$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:appStateChangedToActive=new Promise(function(resolve){_onWebBrowserCloseAndroid=resolve;_AppState.default.addEventListener('change',_onAppStateChangeAndroid);});result={type:'cancel'};_context7.next=4;return _regenerator.default.awrap(openBrowserAsync(startUrl));case 4:_ref=_context7.sent;type=_ref.type;if(!(type==='opened')){_context7.next=10;break;}_context7.next=9;return _regenerator.default.awrap(appStateChangedToActive);case 9:result={type:'dismiss'};case 10:_AppState.default.removeEventListener('change',_onAppStateChangeAndroid);_onWebBrowserCloseAndroid=null;return _context7.abrupt(\"return\",result);case 13:case\"end\":return _context7.stop();}}});}function _openAuthSessionPolyfillAsync(startUrl,returnUrl){return _regenerator.default.async(function _openAuthSessionPolyfillAsync$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:if(!_redirectHandler){_context8.next=2;break;}throw new Error(\"The WebBrowser's auth session is in an invalid state with a redirect handler set when it should not be\");case 2:if(!_onWebBrowserCloseAndroid){_context8.next=4;break;}throw new Error(\"WebBrowser is already open, only one can be open at a time\");case 4:_context8.prev=4;if(!(_Platform.default.OS==='android')){_context8.next=11;break;}_context8.next=8;return _regenerator.default.awrap(Promise.race([_openBrowserAndWaitAndroidAsync(startUrl),_waitForRedirectAsync(returnUrl)]));case 8:return _context8.abrupt(\"return\",_context8.sent);case 11:_context8.next=13;return _regenerator.default.awrap(Promise.race([openBrowserAsync(startUrl),_waitForRedirectAsync(returnUrl)]));case 13:return _context8.abrupt(\"return\",_context8.sent);case 14:_context8.prev=14;if(_ExpoWebBrowser.default.dismissBrowser){_ExpoWebBrowser.default.dismissBrowser();}_stopWaitingForRedirect();return _context8.finish(14);case 18:case\"end\":return _context8.stop();}}},null,null,[[4,,14,18]]);}function _stopWaitingForRedirect(){if(!_redirectHandler){throw new Error(\"The WebBrowser auth session is in an invalid state with no redirect handler when one should be set\");}_Linking.default.removeEventListener('url',_redirectHandler);_redirectHandler=null;}function _waitForRedirectAsync(returnUrl){return new Promise(function(resolve){_redirectHandler=function _redirectHandler(event){if(event.url.startsWith(returnUrl)){resolve({url:event.url,type:'success'});}};_Linking.default.addEventListener('url',_redirectHandler);});}","map":{"version":3,"sources":["../src/WebBrowser.ts"],"names":[],"mappings":"u1BACA,sCACA,wEAcA,GAAM,CAAA,uBAAuB,CAA8B,CACzD,qBAAqB,CAAE,SADkC,CAEzD,uBAAuB,CAAE,SAFgC,CAGzD,eAAe,CAAE,EAHwC,CAIzD,eAAe,CAAE,EAJwC,CAA3D,CAOO,QAAe,CAAA,oCAAf,qJACA,wBAAmB,oCADnB,8BAEG,IAAI,0BAAJ,CAAwB,YAAxB,CAAsC,sCAAtC,CAFH,aAID,kBAAS,EAAT,GAAgB,SAJf,0DAKI,uBALJ,2DAOU,wBAAmB,oCAAnB,EAPV,sGAWA,QAAe,CAAA,WAAf,CAA2B,cAA3B,8HACA,wBAAmB,WADnB,+BAEG,IAAI,0BAAJ,CAAwB,YAAxB,CAAsC,aAAtC,CAFH,aAID,kBAAS,EAAT,GAAgB,SAJf,4DAKI,EALJ,4DAOU,wBAAmB,WAAnB,CAA+B,cAA/B,CAPV,yGAWA,QAAe,CAAA,mBAAf,CACL,GADK,CAEL,cAFK,sIAIA,wBAAmB,mBAJnB,+BAKG,IAAI,0BAAJ,CAAwB,YAAxB,CAAsC,qBAAtC,CALH,aAOD,kBAAS,EAAT,GAAgB,SAPf,4DAQI,EARJ,4DAUU,wBAAmB,mBAAnB,CAAuC,GAAvC,CAA4C,cAA5C,CAVV,yGAcA,QAAe,CAAA,aAAf,CAA6B,cAA7B,gIACA,wBAAmB,aADnB,+BAEG,IAAI,0BAAJ,CAAwB,YAAxB,CAAsC,eAAtC,CAFH,aAID,kBAAS,EAAT,GAAgB,SAJf,4DAKI,EALJ,4DAOU,wBAAmB,aAAnB,CAAiC,cAAjC,CAPV,yGAWA,QAAe,C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CACrB,KAAM,IAAI,CAAA,KAAJ,sGAAN,CAGD,CAED,iBAAQ,mBAAR,CAA4B,KAA5B,CAAmC,gBAAnC,EACA,gBAAgB,CAAG,IAAnB,CACD,CAED,QAAS,CAAA,qBAAT,CAA+B,SAA/B,CAAgD,CAC9C,MAAO,IAAI,CAAA,OAAJ,CAAY,SAAA,OAAO,CAAG,CAC3B,gBAAgB,CAAG,0BAAC,KAAD,CAAyB,CAC1C,GAAI,KAAK,CAAC,GAAN,CAAU,UAAV,CAAqB,SAArB,CAAJ,CAAqC,CACnC,OAAO,CAAC,CAAE,GAAG,CAAE,KAAK,CAAC,GAAb,CAAkB,IAAI,CAAE,SAAxB,CAAD,CAAP,CACD,CACF,CAJD,CAMA,iBAAQ,gBAAR,CAAyB,KAAzB,CAAgC,gBAAhC,EACD,CARM,CAAP,CASD","sourcesContent":["import { AppState, Linking, Platform, AppStateStatus } from 'react-native';\nimport { UnavailabilityError } from '@unimodules/core';\nimport ExponentWebBrowser from './ExpoWebBrowser';\n\nimport {\n RedirectEvent,\n OpenBrowserOptions,\n AuthSessionResult,\n CustomTabsBrowsersResults,\n BrowserResult,\n RedirectResult,\n MayInitWithUrlResult,\n WarmUpResult,\n CoolDownResult,\n} from './WebBrowser.types';\n\nconst emptyCustomTabsPackages: CustomTabsBrowsersResults = {\n defaultBrowserPackage: undefined,\n preferredBrowserPackage: undefined,\n browserPackages: [],\n servicePackages: [],\n};\n\nexport async function getCustomTabsSupportingBrowsersAsync(): Promise<CustomTabsBrowsersResults> {\n if (!ExponentWebBrowser.getCustomTabsSupportingBrowsersAsync) {\n throw new UnavailabilityError('WebBrowser', 'getCustomTabsSupportingBrowsersAsync');\n }\n if (Platform.OS !== 'android') {\n return emptyCustomTabsPackages;\n } else {\n return await ExponentWebBrowser.getCustomTabsSupportingBrowsersAsync();\n }\n}\n\nexport async function warmUpAsync(browserPackage?: string): Promise<WarmUpResult> {\n if (!ExponentWebBrowser.warmUpAsync) {\n throw new UnavailabilityError('WebBrowser', 'warmUpAsync');\n }\n if (Platform.OS !== 'android') {\n return {};\n } else {\n return await ExponentWebBrowser.warmUpAsync(browserPackage);\n }\n}\n\nexport async function mayInitWithUrlAsync(\n url: string,\n browserPackage?: string\n): Promise<MayInitWithUrlResult> {\n if (!ExponentWebBrowser.mayInitWithUrlAsync) {\n throw new UnavailabilityError('WebBrowser', 'mayInitWithUrlAsync');\n }\n if (Platform.OS !== 'android') {\n return {};\n } else {\n return await ExponentWebBrowser.mayInitWithUrlAsync(url, browserPackage);\n }\n}\n\nexport async function coolDownAsync(browserPackage?: string): Promise<CoolDownResult> {\n if (!ExponentWebBrowser.coolDownAsync) {\n throw new UnavailabilityError('WebBrowser', 'coolDownAsync');\n }\n if (Platform.OS !== 'android') {\n return {};\n } else {\n return await ExponentWebBrowser.coolDownAsync(browserPackage);\n }\n}\n\nexport async function openBrowserAsync(\n url: string,\n browserParams: OpenBrowserOptions = {}\n): Promise<BrowserResult> {\n if (!ExponentWebBrowser.openBrowserAsync) {\n throw new UnavailabilityError('WebBrowser', 'openBrowserAsync');\n }\n return await ExponentWebBrowser.openBrowserAsync(url, browserParams);\n}\n\nexport function dismissBrowser(): void {\n if (!ExponentWebBrowser.dismissBrowser) {\n throw new UnavailabilityError('WebBrowser', 'dismissBrowser');\n }\n ExponentWebBrowser.dismissBrowser();\n}\n\nexport async function openAuthSessionAsync(\n url: string,\n redirectUrl: string\n): Promise<AuthSessionResult> {\n if (_authSessionIsNativelySupported()) {\n if (!ExponentWebBrowser.openAuthSessionAsync) {\n throw new UnavailabilityError('WebBrowser', 'openAuthSessionAsync');\n }\n return ExponentWebBrowser.openAuthSessionAsync(url, redirectUrl);\n } else {\n return _openAuthSessionPolyfillAsync(url, redirectUrl);\n }\n}\n\nexport function dismissAuthSession(): void {\n if (_authSessionIsNativelySupported()) {\n if (!ExponentWebBrowser.dismissAuthSession) {\n throw new UnavailabilityError('WebBrowser', 'dismissAuthSession');\n }\n ExponentWebBrowser.dismissAuthSession();\n } else {\n if (!ExponentWebBrowser.dismissBrowser) {\n throw new UnavailabilityError('WebBrowser', 'dismissAuthSession');\n }\n ExponentWebBrowser.dismissBrowser();\n }\n}\n\n/* iOS <= 10 and Android polyfill for SFAuthenticationSession flow */\n\nfunction _authSessionIsNativelySupported(): boolean {\n if (Platform.OS === 'android') {\n return false;\n }\n\n const versionNumber = parseInt(String(Platform.Version), 10);\n return versionNumber >= 11;\n}\n\nlet _redirectHandler: ((event: RedirectEvent) => void) | null = null;\n\n/*\n * openBrowserAsync on Android doesn't wait until closed, so we need to polyfill\n * it with AppState\n */\n\n// Store the `resolve` function from a Promise to fire when the AppState\n// returns to active\nlet _onWebBrowserCloseAndroid: null | (() => void) = null;\n\nfunction _onAppStateChangeAndroid(state: AppStateStatus) {\n if (state === 'active' && _onWebBrowserCloseAndroid) {\n _onWebBrowserCloseAndroid();\n }\n}\n\nasync function _openBrowserAndWaitAndroidAsync(startUrl: string): Promise<BrowserResult> {\n let appStateChangedToActive = new Promise(resolve => {\n _onWebBrowserCloseAndroid = resolve;\n AppState.addEventListener('change', _onAppStateChangeAndroid);\n });\n\n let result: BrowserResult = { type: 'cancel' };\n let { type } = await openBrowserAsync(startUrl);\n\n if (type === 'opened') {\n await appStateChangedToActive;\n result = { type: 'dismiss' };\n }\n\n AppState.removeEventListener('change', _onAppStateChangeAndroid);\n _onWebBrowserCloseAndroid = null;\n return result;\n}\n\nasync function _openAuthSessionPolyfillAsync(\n startUrl: string,\n returnUrl: string\n): Promise<AuthSessionResult> {\n if (_redirectHandler) {\n throw new Error(\n `The WebBrowser's auth session is in an invalid state with a redirect handler set when it should not be`\n );\n }\n\n if (_onWebBrowserCloseAndroid) {\n throw new Error(`WebBrowser is already open, only one can be open at a time`);\n }\n\n try {\n if (Platform.OS === 'android') {\n return await Promise.race([\n _openBrowserAndWaitAndroidAsync(startUrl),\n _waitForRedirectAsync(returnUrl),\n ]);\n } else {\n return await Promise.race([openBrowserAsync(startUrl), _waitForRedirectAsync(returnUrl)]);\n }\n } finally {\n // We can't dismiss the browser on Android, only call this when it's available.\n // Users on Android need to manually press the 'x' button in Chrome Custom Tabs, sadly.\n if (ExponentWebBrowser.dismissBrowser) {\n ExponentWebBrowser.dismissBrowser();\n }\n\n _stopWaitingForRedirect();\n }\n}\n\nfunction _stopWaitingForRedirect() {\n if (!_redirectHandler) {\n throw new Error(\n `The WebBrowser auth session is in an invalid state with no redirect handler when one should be set`\n );\n }\n\n Linking.removeEventListener('url', _redirectHandler);\n _redirectHandler = null;\n}\n\nfunction _waitForRedirectAsync(returnUrl: string): Promise<RedirectResult> {\n return new Promise(resolve => {\n _redirectHandler = (event: RedirectEvent) => {\n if (event.url.startsWith(returnUrl)) {\n resolve({ url: event.url, type: 'success' });\n }\n };\n\n Linking.addEventListener('url', _redirectHandler);\n });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _EvilIcons=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/EvilIcons.ttf\"));var _EvilIcons2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/EvilIcons.json\"));var _default=(0,_createIconSet.default)(_EvilIcons2.default,'evilicons',_EvilIcons.default);exports.default=_default;","map":{"version":3,"sources":["../src/EvilIcons.ts"],"names":[],"mappings":"mKAAA,sEACA,yGACA,+G,aAEe,2BAAc,mBAAd,CAAwB,WAAxB,CAAqC,kBAArC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/EvilIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/EvilIcons.json';\n\nexport default createIconSet(glyphMap, 'evilicons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _Main=_interopRequireDefault(require(\"./components/Main/Main\"));var _reactRedux=require(\"react-redux\");var _Store=_interopRequireDefault(require(\"./reducers/Store\"));var App=function App(){return _react.default.createElement(_reactRedux.Provider,{store:_Store.default},_react.default.createElement(_Main.default,null));};var _default=App;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/App.js"],"names":["App","Store"],"mappings":"mKAAA,oDACA,oEACA,uCACA,+DAEA,GAAMA,CAAAA,GAAG,CAAG,QAANA,CAAAA,GAAM,EAAM,CACZ,MACE,8BAAC,oBAAD,EAAU,KAAK,CAAEC,cAAjB,EACE,6BAAC,aAAD,MADF,CADF,CAKL,CAND,C,aAQeD,G","sourcesContent":["import React from 'react';\nimport Main from './components/Main/Main'\nimport { Provider,connect } from 'react-redux';\nimport Store from './reducers/Store';\n\nconst App = () => {\n return (\n <Provider store={Store}>\n <Main />\n </Provider>\n )\n}\n\nexport default App;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;function flattenArray(array){function flattenDown(array,result){for(var i=0;i<array.length;i++){var value=array[i];if(Array.isArray(value)){flattenDown(value,result);}else if(value!=null&&value!==false){result.push(value);}}return result;}return flattenDown(array,[]);}var _default=flattenArray;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/flattenArray/index.js"],"names":["flattenArray","array","flattenDown","result","i","length","value","Array","isArray","push"],"mappings":"gFAQA,QAASA,CAAAA,YAAT,CAAsBC,KAAtB,CAA6B,CAC3B,QAASC,CAAAA,WAAT,CAAqBD,KAArB,CAA4BE,MAA5B,CAAoC,CAClC,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGH,KAAK,CAACI,MAA1B,CAAkCD,CAAC,EAAnC,CAAuC,CACrC,GAAIE,CAAAA,KAAK,CAAGL,KAAK,CAACG,CAAD,CAAjB,CAEA,GAAIG,KAAK,CAACC,OAAN,CAAcF,KAAd,CAAJ,CAA0B,CACxBJ,WAAW,CAACI,KAAD,CAAQH,MAAR,CAAX,CACD,CAFD,IAEO,IAAIG,KAAK,EAAI,IAAT,EAAiBA,KAAK,GAAK,KAA/B,CAAsC,CAC3CH,MAAM,CAACM,IAAP,CAAYH,KAAZ,EACD,CACF,CAED,MAAOH,CAAAA,MAAP,CACD,CAED,MAAOD,CAAAA,WAAW,CAACD,KAAD,CAAQ,EAAR,CAAlB,CACD,C,aAEcD,Y","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nfunction flattenArray(array) {\n function flattenDown(array, result) {\n for (var i = 0; i < array.length; i++) {\n var value = array[i];\n\n if (Array.isArray(value)) {\n flattenDown(value, result);\n } else if (value != null && value !== false) {\n result.push(value);\n }\n }\n\n return result;\n }\n\n return flattenDown(array, []);\n}\n\nexport default flattenArray;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.getAppLoadingLifecycleEmitter=getAppLoadingLifecycleEmitter;exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _fbemitter=require(\"fbemitter\");var _react=_interopRequireDefault(require(\"react\"));var _AppLoadingNativeWrapper=_interopRequireDefault(require(\"./AppLoadingNativeWrapper\"));var AppLoading=function(_React$Component){(0,_inherits2.default)(AppLoading,_React$Component);function AppLoading(){var _this;(0,_classCallCheck2.default)(this,AppLoading);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AppLoading).apply(this,arguments));_this._isMounted=false;_this._startLoadingAppResourcesAsync=function _callee(){return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:if(_this.props.onFinish){_context.next=2;break;}throw new Error('AppLoading onFinish prop is required if startAsync is provided');case 2:_context.prev=2;_context.next=5;return _regenerator.default.awrap(_this.props.startAsync());case 5:_context.next=16;break;case 7:_context.prev=7;_context.t0=_context[\"catch\"](2);if(_this._isMounted){_context.next=11;break;}return _context.abrupt(\"return\");case 11:if(!_this.props.onError){_context.next=15;break;}_this.props.onError(_context.t0);_context.next=16;break;case 15:throw _context.t0;case 16:_context.prev=16;if(_this._isMounted){_context.next=19;break;}return _context.abrupt(\"return\");case 19:if(_this.props.onFinish){_this.props.onFinish();}return _context.finish(16);case 21:case\"end\":return _context.stop();}}},null,null,[[2,7,16,21]]);};return _this;}(0,_createClass2.default)(AppLoading,[{key:\"componentDidMount\",value:function componentDidMount(){this._isMounted=true;_emitEvent('componentDidMount');if(this.props.startAsync){this._startLoadingAppResourcesAsync().catch(function(error){console.error(\"AppLoading threw an unexpected error when loading:\\n\"+error.stack);});}}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this._isMounted=false;_emitEvent('componentWillUnmount');}},{key:\"render\",value:function render(){return _react.default.createElement(_AppLoadingNativeWrapper.default,this.props);}}]);return AppLoading;}(_react.default.Component);exports.default=AppLoading;var _lifecycleEmitter=null;function _emitEvent(event){if(_lifecycleEmitter){_lifecycleEmitter.emit(event);}}function getAppLoadingLifecycleEmitter(){if(!_lifecycleEmitter){_lifec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,GAAI,wBAAJ,EAApB,CACD,CACD,MAAO,CAAA,iBAAP,CACD","sourcesContent":["import { EventEmitter } from 'fbemitter';\nimport React from 'react';\n\nimport NativeAppLoading from './AppLoadingNativeWrapper';\n\ntype Props =\n | {\n startAsync?: () => Promise<void>;\n onError?: (error: Error) => void;\n onFinish?: () => void;\n autoHideSplash?: boolean;\n }\n | {\n startAsync: null;\n onError: null;\n onFinish: null;\n };\n\nexport default class AppLoading extends React.Component<Props> {\n _isMounted: boolean = false;\n\n componentDidMount() {\n this._isMounted = true;\n _emitEvent('componentDidMount');\n\n // startAsync is optional, you can do this process manually if you prefer (this is mainly for\n // backwards compatibility and it is not recommended)\n if (this.props.startAsync) {\n this._startLoadingAppResourcesAsync().catch(error => {\n console.error(`AppLoading threw an unexpected error when loading:\\n${error.stack}`);\n });\n }\n }\n\n componentWillUnmount() {\n this._isMounted = false;\n _emitEvent('componentWillUnmount');\n }\n\n _startLoadingAppResourcesAsync = async () => {\n if (!this.props.onFinish) {\n throw new Error('AppLoading onFinish prop is required if startAsync is provided');\n }\n\n try {\n await this.props.startAsync!();\n } catch (e) {\n if (!this._isMounted) return;\n\n if (this.props.onError) {\n this.props.onError(e);\n } else {\n throw e;\n }\n } finally {\n if (!this._isMounted) return;\n\n // If we get to this point then we know that either there was no error, or the error was\n // handled.\n if (this.props.onFinish) {\n this.props.onFinish();\n }\n }\n };\n\n render() {\n return <NativeAppLoading {...this.props} />;\n }\n}\n\nlet _lifecycleEmitter: EventEmitter | null = null;\n\nfunction _emitEvent(event: string): void {\n if (_lifecycleEmitter) {\n _lifecycleEmitter.emit(event);\n }\n}\n\nexport function getAppLoadingLifecycleEmitter(): EventEmitter {\n if (!_lifecycleEmitter) {\n _lifecycleEmitter = new EventEmitter();\n }\n return _lifecycleEmitter;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var array=_interopRequireWildcard(require(\"d3-array\"));var scale=_interopRequireWildcard(require(\"d3-scale\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvg=_interopRequireDefault(require(\"react-native-svg\"));var _animatedPath=_interopRequireDefault(require(\"../animated-path\"));var BarChart=function(_PureComponent){(0,_inherits2.default)(BarChart,_PureComponent);function BarChart(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,BarChart);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(BarChart)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={width:0,height:0};return _this;}(0,_createClass2.default)(BarChart,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"calcXScale\",value:function calcXScale(domain){var data=this.props.data;var _this$props=this.props,horizontal=_this$props.horizontal,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.left,left=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.right,right=_this$props$contentIn3===void 0?0:_this$props$contentIn3,spacingInner=_this$props.spacingInner,spacingOuter=_this$props.spacingOuter;var width=this.state.width;if(horizontal){return scale.scaleLinear().domain(domain).range([left,width-right]);}return scale.scaleBand().domain(data.map(function(_,index){return index;})).range([left,width-right]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}},{key:\"calcYScale\",value:function calcYScale(domain){var data=this.props.data;var _this$props2=this.props,horizontal=_this$props2.horizontal,_this$props2$contentI=_this$props2.contentInset,_this$props2$contentI2=_this$props2$contentI.top,top=_this$props2$contentI2===void 0?0:_this$props2$contentI2,_this$props2$contentI3=_this$props2$contentI.bottom,bottom=_this$props2$contentI3===void 0?0:_this$props2$contentI3,spacingInner=_this$props2.spacingInner,spacingOuter=_this$props2.spacingOuter;var height=this.state.height;if(horizontal){return scale.scaleBand().domain(data.map(function(_,index){return index;})).range([top,height-bottom]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}return scale.scaleLinear().domain(domain).range([height-bottom,top]);}},{key:\"calcAreas\",value:function calcAreas(x,y,series){var _this$props3=this.props,horizontal=_this$props3.horizontal,colors=_this$props3.colors,keys=_this$props3.keys;if(horizontal){return array.merge(series.map(function(serie,keyIndex){return serie.map(function(entry,entryIndex){var path=shape.area().x0(function(d){return x(d[0]);}).x1(function(d){return x(d[1]);}).y(function(d,_index){return _index===0?y(entryIndex):y(entryIndex)+y.bandwidth();}).defined(function(d){return!isNaN(d[0])&&!isNaN(d[1]);})([entry,entry]);return{path:path,color:colors[keyIndex],key:keys[keyIndex]};});}));}return array.merge(series.map(function(serie,keyIndex){return serie.map(function(entry,entryIndex){var path=shape.area().y0(function(d){return y(d[0]);}).y1(function(d){return y(d[1]);}).x(function(d,_index){return _index===0?x(entryIndex):x(entryIndex)+x.bandwidth();}).defined(function(d){return!isNaN(d[0])&&!isNaN(d[1]);})([entry,entry]);return{path:path,color:colors[keyIndex],key:keys[keyIndex]};});}));}},{key:\"calcExtent\",value:function calcExtent(values){var _this$props4=this.props,gridMax=_this$props4.gridMax,gridMin=_this$props4.gridMin;return array.extent([].concat((0,_toConsumableArray2.default)(values),[gridMin,gridMax]));}},{key:\"calcIndexes\",value:function calcIndexes(values){return values.map(function(_,index){return index;});}},{key:\"getSeries\",value:function getSeries(){var _this$props5=this.props,data=_this$props5.data,keys=_this$props5.keys,offset=_this$props5.offset,order=_this$props5.order,valueAccessor=_this$props5.valueAccessor;return shape.stack().keys(keys).value(function(item,key){return valueAccessor({item:item,key:key});}).order(order).offset(offset)(data);}},{key:\"render\",value:function render(){var _this2=this;var _this$props6=this.props,data=_this$props6.data,animate=_this$props6.animate,animationDuration=_this$props6.animationDuration,style=_this$props6.style,numberOfTicks=_this$props6.numberOfTicks,children=_this$props6.children,horizontal=_this$props6.horizontal;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var series=this.getSeries();var values=array.merge(array.merge(series));var indexes=this.calcIndexes(values);var extent=this.calcExtent(values);var ticks=array.ticks(extent[0],extent[1],numberOfTicks);var xDomain=horizontal?extent:indexes;var yDomain=horizontal?indexes:extent;var x=this.calcXScale(xDomain);var y=this.calcYScale(yDomain);var bandwidth=horizontal?y.bandwidth():x.bandwidth();var areas=this.calcAreas(x,y,series);var extraProps={x:x,y:y,width:width,height:height,ticks:ticks,data:data,bandwidth:bandwidth};return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),areas.map(function(bar,index){var keyIndex=index%data.length;var key=keyIndex+\"-\"+bar.key;var svg=data[keyIndex][bar.key].svg;return _react.default.createElement(_animatedPath.default,(0,_extends2.default)({key:key,fill:bar.color},svg,{d:bar.path,animate:animate,animationDuration:animationDuration}));}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}))));}}],[{key:\"extractDataPoints\",value:function extractDataPoints(data,keys){var order=arguments.length>2&&arguments[2]!==undefined?arguments[2]:shape.stackOrderNone;var offset=arguments.length>3&&arguments[3]!==undefined?arguments[3]:shape.stackOffsetNone;var series=shape.stack().keys(keys).order(order).offset(offset)(data);return array.merge(array.merge(series));}}]);return BarChart;}(_react.PureComponent);BarChart.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.object),keys:_propTypes.default.arrayOf(_propTypes.default.string).isRequired,colors:_propTypes.default.arrayOf(_propTypes.default.string).isRequired,offset:_propTypes.default.func,order:_propTypes.default.func,style:_propTypes.default.any,spacingInner:_propTypes.default.number,spacingOuter:_propTypes.default.number,animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,contentInset:_propTypes.default.shape({top:_propTypes.default.number,left:_propTypes.default.number,right:_propTypes.default.number,bottom:_propTypes.default.number}),gridMin:_propTypes.default.number,gridMax:_propTypes.default.number,valueAccessor:_propTypes.default.func};BarChart.defaultProps={spacingInner:0.05,spacingOuter:0.05,offset:shape.stackOffsetNone,order:shape.stackOrderNone,width:100,height:100,showZeroAxis:true,contentInset:{},numberOfTicks:10,showGrid:true,valueAccessor:function valueAccessor(_ref){var item=_ref.item,key=_ref.key;return item[key];}};var _default=BarChart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/stacked-bar-chart/stacked-bar-chart.js"],"names":["BarChart","state","width","height","event","nativeEvent","layout","setState","domain","data","props","horizontal","contentInset","left","right","spacingInner","spacingOuter","scale","scaleLinear","range","scaleBand","map","_","index","paddingInner","paddingOuter","top","bottom","x","y","series","colors","keys","array","merge","serie","keyIndex","entry","entryIndex","path","shape","area","x0","d","x1","_index","bandwidth","defined","isNaN","color","key","y0","y1","values","gridMax","gridMin","extent","offset","order","valueAccessor","stack","value","item","animate","animationDuration","style","numberOfTicks","children","length","getSeries","indexes","calcIndexes","calcExtent","ticks","xDomain","yDomain","calcXScale","calcYScale","areas","calcAreas","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","bar","svg","stackOrderNone","stackOffsetNone","PureComponent","propTypes","PropTypes","arrayOf","object","string","isRequired","func","any","number","bool","defaultProps","showZeroAxis","showGrid"],"mappings":"s4BAAA,uDACA,uDACA,uDACA,6DACA,qD,gFAEA,wEACA,sE,GAEMA,CAAAA,Q,sbAYFC,K,CAAQ,CACJC,KAAK,CAAE,CADH,CAEJC,MAAM,CAAE,CAFJ,C,6FAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAGLC,MAHK,CAGKH,MAHL,uBAGKA,MAHL,CAGaD,KAHb,uBAGaA,KAHb,CAMb,KAAKK,QAAL,CAAc,CAAEJ,MAAM,CAANA,MAAF,CAAUD,KAAK,CAALA,KAAV,CAAd,EACH,C,8CAEUM,M,CAAQ,IACPC,CAAAA,IADO,CACE,KAAKC,KADP,CACPD,IADO,iBAQX,KAAKC,KARM,CAIXC,UAJW,aAIXA,UAJW,mCAKXC,YALW,8CAKKC,IALL,CAKKA,IALL,iCAKY,CALZ,qEAKeC,KALf,CAKeA,KALf,iCAKuB,CALvB,wBAMXC,YANW,aAMXA,YANW,CAOXC,YAPW,aAOXA,YAPW,IAUPd,CAAAA,KAVO,CAUG,KAAKD,KAVR,CAUPC,KAVO,CAYf,GAAIS,UAAJ,CAAgB,CACZ,MAAOM,CAAAA,KAAK,CACPC,WADE,GAEFV,MAFE,CAEKA,MAFL,EAGFW,KAHE,CAGI,CAACN,IAAD,CAAOX,KAAK,CAAGY,KAAf,CAHJ,CAAP,CAIH,CAKD,MAAOG,CAAAA,KAAK,CACPG,SADE,GAEFZ,MAFE,CAEKC,IAAI,CAACY,GAAL,CAAS,SAACC,CAAD,CAAIC,KA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":["import * as array from 'd3-array'\nimport * as scale from 'd3-scale'\nimport * as shape from 'd3-shape'\nimport PropTypes from 'prop-types'\nimport React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport Svg from 'react-native-svg'\nimport Path from '../animated-path'\n\nclass BarChart extends PureComponent {\n static extractDataPoints(data, keys, order = shape.stackOrderNone, offset = shape.stackOffsetNone) {\n const series = shape\n .stack()\n .keys(keys)\n .order(order)\n .offset(offset)(data)\n\n //double merge arrays to extract just the values\n return array.merge(array.merge(series))\n }\n\n state = {\n width: 0,\n height: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n calcXScale(domain) {\n const { data } = this.props\n\n const {\n horizontal,\n contentInset: { left = 0, right = 0 },\n spacingInner,\n spacingOuter,\n } = this.props\n\n const { width } = this.state\n\n if (horizontal) {\n return scale\n .scaleLinear()\n .domain(domain)\n .range([left, width - right])\n }\n\n // use index as domain identifier instead of value since\n // domain must be same length as number of bars\n // same value can occur at several places in data\n return scale\n .scaleBand()\n .domain(data.map((_, index) => index))\n .range([left, width - right])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n calcYScale(domain) {\n const { data } = this.props\n\n const {\n horizontal,\n contentInset: { top = 0, bottom = 0 },\n spacingInner,\n spacingOuter,\n } = this.props\n\n const { height } = this.state\n\n if (horizontal) {\n return scale\n .scaleBand()\n .domain(data.map((_, index) => index))\n .range([top, height - bottom])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n return scale\n .scaleLinear()\n .domain(domain)\n .range([height - bottom, top])\n }\n\n calcAreas(x, y, series) {\n const { horizontal, colors, keys } = this.props\n\n if (horizontal) {\n return array.merge(\n series.map((serie, keyIndex) => {\n return serie.map((entry, entryIndex) => {\n const path = shape\n .area()\n .x0((d) => x(d[0]))\n .x1((d) => x(d[1]))\n .y((d, _index) => (_index === 0 ? y(entryIndex) : y(entryIndex) + y.bandwidth()))\n .defined((d) => !isNaN(d[0]) && !isNaN(d[1]))([entry, entry])\n\n return {\n path,\n color: colors[keyIndex],\n key: keys[keyIndex],\n }\n })\n })\n )\n }\n\n return array.merge(\n series.map((serie, keyIndex) => {\n return serie.map((entry, entryIndex) => {\n const path = shape\n .area()\n .y0((d) => y(d[0]))\n .y1((d) => y(d[1]))\n .x((d, _index) => (_index === 0 ? x(entryIndex) : x(entryIndex) + x.bandwidth()))\n .defined((d) => !isNaN(d[0]) && !isNaN(d[1]))([entry, entry])\n\n return {\n path,\n color: colors[keyIndex],\n key: keys[keyIndex],\n }\n })\n })\n )\n }\n\n calcExtent(values) {\n const { gridMax, gridMin } = this.props\n\n return array.extent([...values, gridMin, gridMax])\n }\n\n calcIndexes(values) {\n return values.map((_, index) => index)\n }\n\n getSeries() {\n const { data, keys, offset, order, valueAccessor } = this.props\n\n return shape\n .stack()\n .keys(keys)\n .value((item, key) => valueAccessor({ item, key }))\n .order(order)\n .offset(offset)(data)\n }\n\n render() {\n const { data, animate, animationDuration, style, numberOfTicks, children, horizontal } = this.props\n\n const { height, width } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const series = this.getSeries()\n\n //double merge arrays to extract just the values\n const values = array.merge(array.merge(series))\n const indexes = this.calcIndexes(values)\n\n const extent = this.calcExtent(values)\n const ticks = array.ticks(extent[0], extent[1], numberOfTicks)\n\n const xDomain = horizontal ? extent : indexes\n const yDomain = horizontal ? indexes : extent\n\n const x = this.calcXScale(xDomain)\n const y = this.calcYScale(yDomain)\n\n const bandwidth = horizontal ? y.bandwidth() : x.bandwidth()\n\n const areas = this.calcAreas(x, y, series)\n\n const extraProps = {\n x,\n y,\n width,\n height,\n ticks,\n data,\n bandwidth,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n {areas.map((bar, index) => {\n const keyIndex = index % data.length\n const key = `${keyIndex}-${bar.key}`\n const { svg } = data[keyIndex][bar.key]\n\n return (\n <Path\n key={key}\n fill={bar.color}\n {...svg}\n d={bar.path}\n animate={animate}\n animationDuration={animationDuration}\n />\n )\n })}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nBarChart.propTypes = {\n data: PropTypes.arrayOf(PropTypes.object),\n keys: PropTypes.arrayOf(PropTypes.string).isRequired,\n colors: PropTypes.arrayOf(PropTypes.string).isRequired,\n offset: PropTypes.func,\n order: PropTypes.func,\n style: PropTypes.any,\n spacingInner: PropTypes.number,\n spacingOuter: PropTypes.number,\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n contentInset: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n }),\n gridMin: PropTypes.number,\n gridMax: PropTypes.number,\n valueAccessor: PropTypes.func,\n}\n\nBarChart.defaultProps = {\n spacingInner: 0.05,\n spacingOuter: 0.05,\n offset: shape.stackOffsetNone,\n order: shape.stackOrderNone,\n width: 100,\n height: 100,\n showZeroAxis: true,\n contentInset: {},\n numberOfTicks: 10,\n showGrid: true,\n valueAccessor: ({ item, key }) => item[key],\n}\n\nexport default BarChart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _NativeAnimatedHelper=require(\"../NativeAnimatedHelper\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedTracking=function(_AnimatedNode){_inheritsLoose(AnimatedTracking,_AnimatedNode);function AnimatedTracking(value,parent,animationClass,animationConfig,callback){var _this;_this=_AnimatedNode.call(this)||this;_this._value=value;_this._parent=parent;_this._animationClass=animationClass;_this._animationConfig=animationConfig;_this._useNativeDriver=(0,_NativeAnimatedHelper.shouldUseNativeDriver)(animationConfig);_this._callback=callback;_this.__attach();return _this;}var _proto=AnimatedTracking.prototype;_proto.__makeNative=function __makeNative(){this.__isNative=true;this._parent.__makeNative();_AnimatedNode.prototype.__makeNative.call(this);this._value.__makeNative();};_proto.__getValue=function __getValue(){return this._parent.__getValue();};_proto.__attach=function __attach(){this._parent.__addChild(this);if(this._useNativeDriver){this.__makeNative();}};_proto.__detach=function __detach(){this._parent.__removeChild(this);_AnimatedNode.prototype.__detach.call(this);};_proto.update=function update(){this._value.animate(new this._animationClass(_objectSpread({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback);};_proto.__getNativeConfig=function __getNativeConfig(){var animation=new this._animationClass(_objectSpread({},this._animationConfig,{toValue:undefined}));var animationConfig=animation.__getNativeAnimationConfig();return{type:'tracking',animationId:(0,_NativeAnimatedHelper.generateNewAnimationId)(),animationConfig:animationConfig,toValue:this._parent.__getNativeTag(),value:this._value.__getNativeTag()};};return AnimatedTracking;}(_AnimatedNode2.default);var _default=AnimatedTracking;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedTracking.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_inheritsLoose","subClass","superClass","prototype","create","constructor","__proto__","AnimatedTracking","_AnimatedNode","parent","animationClass","animationConfig","callback","_this","call","_value","_parent","_animationClass","_animationConfig","_useNativeDriver","_callback","__attach","_proto","__makeNative","__isNative","__getValue","__addChild","__detach","__removeChild","update","animate","toValue","__getNativeConfig","animation","undefined","__getNativeAnimationConfig","type","animationId","__getNativeTag","AnimatedNode"],"mappings":"AASA,a,mKAQA,sEACA,qEACA,6DARA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAA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CAJD,CAMAE,MAAM,CAACU,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,GAAIC,CAAAA,SAAS,CAAG,GAAI,MAAKhB,eAAT,CAAyBxC,aAAa,CAAC,EAAD,CAAK,KAAKyC,gBAAV,CAA4B,CAEhFa,OAAO,CAAEG,SAFuE,CAA5B,CAAtC,CAAhB,CAKA,GAAIvB,CAAAA,eAAe,CAAGsB,SAAS,CAACE,0BAAV,EAAtB,CAEA,MAAO,CACLC,IAAI,CAAE,UADD,CAELC,WAAW,CAAE,kDAFR,CAGL1B,eAAe,CAAEA,eAHZ,CAILoB,OAAO,CAAE,KAAKf,OAAL,CAAasB,cAAb,EAJJ,CAKL1C,KAAK,CAAE,KAAKmB,MAAL,CAAYuB,cAAZ,EALF,CAAP,CAOD,CAfD,CAiBA,MAAO/B,CAAAA,gBAAP,CACD,CA9ED,CA8EEgC,sBA9EF,CAFA,C,aAkFehC,gB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedNode from './AnimatedNode';\nimport { generateNewAnimationId, shouldUseNativeDriver } from '../NativeAnimatedHelper';\n\nvar AnimatedTracking =\n/*#__PURE__*/\nfunction (_AnimatedNode) {\n _inheritsLoose(AnimatedTracking, _AnimatedNode);\n\n function AnimatedTracking(value, parent, animationClass, animationConfig, callback) {\n var _this;\n\n _this = _AnimatedNode.call(this) || this;\n _this._value = value;\n _this._parent = parent;\n _this._animationClass = animationClass;\n _this._animationConfig = animationConfig;\n _this._useNativeDriver = shouldUseNativeDriver(animationConfig);\n _this._callback = callback;\n\n _this.__attach();\n\n return _this;\n }\n\n var _proto = AnimatedTracking.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this.__isNative = true;\n\n this._parent.__makeNative();\n\n _AnimatedNode.prototype.__makeNative.call(this);\n\n this._value.__makeNative();\n };\n\n _proto.__getValue = function __getValue() {\n return this._parent.__getValue();\n };\n\n _proto.__attach = function __attach() {\n this._parent.__addChild(this);\n\n if (this._useNativeDriver) {\n // when the tracking starts we need to convert this node to a \"native node\"\n // so that the parent node will be made \"native\" too. This is necessary as\n // if we don't do this `update` method will get called. At that point it\n // may be too late as it would mean the JS driver has already started\n // updating node values\n this.__makeNative();\n }\n };\n\n _proto.__detach = function __detach() {\n this._parent.__removeChild(this);\n\n _AnimatedNode.prototype.__detach.call(this);\n };\n\n _proto.update = function update() {\n this._value.animate(new this._animationClass(_objectSpread({}, this._animationConfig, {\n toValue: this._animationConfig.toValue.__getValue()\n })), this._callback);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n var animation = new this._animationClass(_objectSpread({}, this._animationConfig, {\n // remove toValue from the config as it's a ref to Animated.Value\n toValue: undefined\n }));\n\n var animationConfig = animation.__getNativeAnimationConfig();\n\n return {\n type: 'tracking',\n animationId: generateNewAnimationId(),\n animationConfig: animationConfig,\n toValue: this._parent.__getNativeTag(),\n value: this._value.__getNativeTag()\n };\n };\n\n return AnimatedTracking;\n}(AnimatedNode);\n\nexport default AnimatedTracking;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var React=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _color=_interopRequireDefault(require(\"color\"));var _TouchableRipple=_interopRequireDefault(require(\"./TouchableRipple\"));var _Icon=_interopRequireDefault(require(\"./Icon\"));var _CrossFadeIcon=_interopRequireDefault(require(\"./CrossFadeIcon\"));var _theming=require(\"../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/IconButton.tsx\";var IconButton=function IconButton(_ref){var icon=_ref.icon,customColor=_ref.color,_ref$size=_ref.size,size=_ref$size===void 0?24:_ref$size,accessibilityLabel=_ref.accessibilityLabel,disabled=_ref.disabled,onPress=_ref.onPress,_ref$animated=_ref.animated,animated=_ref$animated===void 0?false:_ref$animated,theme=_ref.theme,style=_ref.style,rest=(0,_objectWithoutProperties2.default)(_ref,[\"icon\",\"color\",\"size\",\"accessibilityLabel\",\"disabled\",\"onPress\",\"animated\",\"theme\",\"style\"]);var iconColor=typeof customColor!=='undefined'?customColor:theme.colors.text;var rippleColor=(0,_color.default)(iconColor).alpha(0.32).rgb().string();var IconComponent=animated?_CrossFadeIcon.default:_Icon.default;var buttonSize=size*1.5;return React.createElement(_TouchableRipple.default,(0,_extends2.default)({borderless:true,centered:true,onPress:onPress,rippleColor:rippleColor,style:[styles.container,{width:buttonSize,height:buttonSize,borderRadius:buttonSize/2},disabled&&styles.disabled,style],accessibilityLabel:accessibilityLabel,accessibilityTraits:disabled?['button','disabled']:'button',accessibilityComponentType:\"button\",accessibilityRole:\"button\",accessibilityStates:disabled?['disabled']:[],disabled:disabled,hitSlop:_TouchableRipple.default.supported?{top:10,left:10,bottom:10,right:10}:{top:6,left:6,bottom:6,right:6}},rest,{__source:{fileName:_jsxFileName,lineNumber:107}}),React.createElement(_View.default,{__source:{fileName:_jsxFileName,lineNumber:132}},React.createElement(IconComponent,{color:iconColor,source:icon,size:size,__source:{fileName:_jsxFileName,lineNumber:133}})));};var styles=_StyleSheet.default.create({container:{alignItems:'center',justifyContent:'center',overflow:'hidden',margin:6},disabled:{opacity:0.32}});var _default=(0,_theming.withTheme)(IconButton);exports.default=_default;","map":{"version":3,"sources":["IconButton.tsx"],"names":["IconButton","icon","color","customColor","size","accessibilityLabel","disabled","onPress","animated","theme","style","rest","iconColor","rippleColor","IconComponent","buttonSize","styles","width","height","borderRadius","TouchableRipple","top","left","bottom","right","StyleSheet","container","alignItems","justifyContent","overflow","margin","opacity","withTheme"],"mappings":"wbAAA,oD,4KAQA,oDAEA,0EACA,oDACA,sEACA,wC,qGAwEA,GAAMA,CAAAA,UAAU,CAAVA,QAAAA,CAAAA,UAAAA,CAAa,IAAbA,CAWO,CAVXC,GAAAA,CAAAA,IAUW,CAAA,IAAA,CAVXA,IAAAA,CACOE,WASI,CAAA,IAAA,CATXD,KADAD,CAUW,SAAA,CAAA,IAAA,CARXG,IAFAH,CAEAG,IAQW,CAAA,SAAA,GAAA,IAAA,EAAA,CARJ,EAQI,CAAA,SAVXH,CAGAI,kBAOW,CAAA,IAAA,CAPXA,kBAHAJ,CAIAK,QAMW,CAAA,IAAA,CANXA,QAJAL,CAKAM,OAKW,CAAA,IAAA,CALXA,OALAN,CAUW,aAAA,CAAA,IAAA,CAJXO,QANAP,CAMAO,QAIW,CAAA,aAAA,GAAA,IAAA,EAAA,CAJA,KAIA,CAAA,aAVXP,CAOAQ,KAGW,CAAA,IAAA,CAHXA,KAPAR,CAQAS,KAEW,CAAA,IAAA,CAFXA,KARAT,CASGU,IACQ,CAAA,sCAA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CAD1CJ,EACI,CADJA,CAEI,CAAEC,GAAG,CAAL,CAAA,CAAUC,IAAI,CAAd,CAAA,CAAmBC,MAAM,CAAzB,CAAA,CAA8BC,KAAK,CArB3C,CAqBQ,CArBR,CAAA,CAAA,IAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAyBE,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,CACE,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,CAAe,KAAK,CAApB,SAAA,CAAiC,MAAM,CAAvC,IAAA,CAA+C,IAAI,CAAnD,IAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CA3BN,GA2BM,CAAA,CAAA,CADF,CAzBF,CADF,CApBF,CAAA,CAqDA,GAAMR,CAAAA,MAAM,CAAGS,oBAAAA,MAAAA,CAAkB,CAE/BC,SAAS,CAAE,CACTC,UAAU,CADD,QAAA,CAETC,cAAc,CAFL,QAAA,CAGTC,QAAQ,CAHC,QAAA,CAITC,MAAM,CANuB,CAEpB,CAFoB,CAQ/BxB,QAAQ,CAAE,CACRyB,OAAO,CATX,IAQY,CARqB,CAAlBN,CAAf,C,aAaeO,uBAAf,UAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n View,\n ViewStyle,\n StyleSheet,\n StyleProp,\n GestureResponderEvent,\n} from 'react-native';\nimport color from 'color';\n\nimport TouchableRipple from './TouchableRipple';\nimport Icon, { IconSource } from './Icon';\nimport CrossFadeIcon from './CrossFadeIcon';\nimport { withTheme } from '../core/theming';\n\nimport { Theme, $RemoveChildren } from '../types';\n\ntype Props = $RemoveChildren<typeof TouchableRipple> & {\n /**\n * Icon to display.\n */\n icon: IconSource;\n /**\n * Color of the icon.\n */\n color?: string;\n /**\n * Size of the icon.\n */\n size?: number;\n /**\n * Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch.\n */\n disabled?: boolean;\n /**\n * Whether an icon change is animated.\n */\n animated?: boolean;\n /**\n * Accessibility label for the button. This is read by the screen reader when the user taps the button.\n */\n accessibilityLabel?: string;\n /**\n * Function to execute on press.\n */\n onPress?: (e: GestureResponderEvent) => void;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * An icon button is a button which displays only an icon without a label.\n * By default button has 150% size of the icon.\n *\n * <div class=\"screenshots\">\n * <figure>\n * <img src=\"screenshots/icon-button-1.png\" />\n * <figcaption>Icon button</figcaption>\n * </figure>\n * <figure>\n * <img src=\"screenshots/icon-button-2.png\" />\n * <figcaption>Pressed icon button</figcaption>\n * </figure>\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { IconButton, Colors } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <IconButton\n * icon=\"camera\"\n * color={Colors.red500}\n * size={20}\n * onPress={() => console.log('Pressed')}\n * />\n * );\n *\n * export default MyComponent;\n * ```\n */\nconst IconButton = ({\n icon,\n color: customColor,\n size = 24,\n accessibilityLabel,\n disabled,\n onPress,\n animated = false,\n theme,\n style,\n ...rest\n}: Props) => {\n const iconColor =\n typeof customColor !== 'undefined' ? customColor : theme.colors.text;\n const rippleColor = color(iconColor)\n .alpha(0.32)\n .rgb()\n .string();\n const IconComponent = animated ? CrossFadeIcon : Icon;\n const buttonSize = size * 1.5;\n return (\n <TouchableRipple\n borderless\n centered\n onPress={onPress}\n rippleColor={rippleColor}\n style={[\n styles.container,\n { width: buttonSize, height: buttonSize, borderRadius: buttonSize / 2 },\n disabled && styles.disabled,\n style,\n ]}\n accessibilityLabel={accessibilityLabel}\n accessibilityTraits={disabled ? ['button', 'disabled'] : 'button'}\n accessibilityComponentType=\"button\"\n accessibilityRole=\"button\"\n accessibilityStates={disabled ? ['disabled'] : []}\n disabled={disabled}\n hitSlop={\n // @ts-ignore - this should be fixed in react-theme-providersince withTheme() is not forwarding static property types\n TouchableRipple.supported\n ? { top: 10, left: 10, bottom: 10, right: 10 }\n : { top: 6, left: 6, bottom: 6, right: 6 }\n }\n {...rest}\n >\n <View>\n <IconComponent color={iconColor} source={icon} size={size} />\n </View>\n </TouchableRipple>\n );\n};\n\nconst styles = StyleSheet.create({\n // @ts-ignore - this should be fixed in react-theme-providersince withTheme() is not forwarding static property types\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n margin: 6,\n },\n disabled: {\n opacity: 0.32,\n },\n});\n\nexport default withTheme(IconButton);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.requireNativeViewManager=requireNativeViewManager;var _UnavailabilityError=require(\"./errors/UnavailabilityError\");function requireNativeViewManager(viewName){throw new _UnavailabilityError.UnavailabilityError('@unimodules/react-native-adapter','requireNativeViewManager');}","map":{"version":3,"sources":["../src/NativeViewManagerAdapter.web.tsx"],"names":[],"mappings":"mHACA,iEAEM,QAAU,CAAA,wBAAV,CAA4C,QAA5C,CAA4D,CAChE,KAAM,IAAI,yCAAJ,CAAwB,kCAAxB,CAA4D,0BAA5D,CAAN,CACD","sourcesContent":["import React from 'react';\nimport { UnavailabilityError } from './errors/UnavailabilityError';\n\nexport function requireNativeViewManager<P = any>(viewName: string): React.ComponentType<P> {\n throw new UnavailabilityError('@unimodules/react-native-adapter', 'requireNativeViewManager');\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedBlock=createAnimatedBlock;exports.adapt=adapt;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var _InternalAnimatedValue=_interopRequireDefault(require(\"./InternalAnimatedValue\"));var AnimatedBlock=function(_AnimatedNode){(0,_inherits2.default)(AnimatedBlock,_AnimatedNode);function AnimatedBlock(array){var _this;(0,_classCallCheck2.default)(this,AnimatedBlock);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedBlock).call(this,{type:'block',block:array.map(function(n){return n.__nodeID;})},array));_this._array=array;return _this;}(0,_createClass2.default)(AnimatedBlock,[{key:\"__onEvaluate\",value:function __onEvaluate(){var result;this._array.forEach(function(node){result=(0,_val.val)(node);});return result;}}]);return AnimatedBlock;}(_AnimatedNode2.default);function createAnimatedBlock(items){return adapt(items);}function nodify(v){if(typeof v==='object'&&v.__isProxy){if(!v.__val){v.__val=new _InternalAnimatedValue.default(0);}return v.__val;}return v instanceof _AnimatedNode2.default?v:_InternalAnimatedValue.default.valueForConstant(v);}function adapt(v){return Array.isArray(v)?new AnimatedBlock(v.map(function(node){return adapt(node);})):nodify(v);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedBlock.js"],"names":["AnimatedBlock","array","type","block","map","n","__nodeID","_array","result","forEach","node","AnimatedNode","createAnimatedBlock","items","adapt","nodify","v","__isProxy","__val","InternalAnimatedValue","valueForConstant","Array","isArray"],"mappings":"0qBAAA,qEACA,2BACA,sF,GAEMA,CAAAA,a,6EAGJ,uBAAYC,KAAZ,CAAmB,4DACjB,yGAAM,CAAEC,IAAI,CAAE,OAAR,CAAiBC,KAAK,CAAEF,KAAK,CAACG,GAAN,CAAU,SAAAC,CAAC,QAAIA,CAAAA,CAAC,CAACC,QAAN,EAAX,CAAxB,CAAN,CAA4DL,KAA5D,GACA,MAAKM,MAAL,CAAcN,KAAd,CAFiB,aAGlB,C,0FAEc,CACb,GAAIO,CAAAA,MAAJ,CACA,KAAKD,MAAL,CAAYE,OAAZ,CAAoB,SAAAC,IAAI,CAAI,CAC1BF,MAAM,CAAG,aAAIE,IAAJ,CAAT,CACD,CAFD,EAGA,MAAOF,CAAAA,MAAP,CACD,C,2BAdyBG,sB,EAiBrB,QAASC,CAAAA,mBAAT,CAA6BC,KAA7B,CAAoC,CACzC,MAAOC,CAAAA,KAAK,CAACD,KAAD,CAAZ,CACD,CAED,QAASE,CAAAA,MAAT,CAAgBC,CAAhB,CAAmB,CACjB,GAAI,MAAOA,CAAAA,CAAP,GAAa,QAAb,EAAyBA,CAAC,CAACC,SAA/B,CAA0C,CACxC,GAAI,CAACD,CAAC,CAACE,KAAP,CAAc,CACZF,CAAC,CAACE,KAAF,CAAU,GAAIC,+BAAJ,CAA0B,CAA1B,CAAV,CACD,CACD,MAAOH,CAAAA,CAAC,CAACE,KAAT,CACD,CAED,MAAOF,CAAAA,CAAC,WAAYL,uBAAb,CACHK,CADG,CAEHG,+BAAsBC,gBAAtB,CAAuCJ,CAAvC,CAFJ,CAGD,CAEM,QAASF,CAAAA,KAAT,CAAeE,CAAf,CAAkB,CACvB,MAAOK,CAAAA,KAAK,CAACC,OAAN,CAAcN,CAAd,EACH,GAAIhB,CAAAA,aAAJ,CAAkBgB,CAAC,CAACZ,GAAF,CAAM,SAAAM,IAAI,QAAII,CAAAA,KAAK,CAACJ,IAAD,CAAT,EAAV,CAAlB,CADG,CAEHK,MAAM,CAACC,CAAD,CAFV,CAGD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\nimport InternalAnimatedValue from './InternalAnimatedValue';\n\nclass AnimatedBlock extends AnimatedNode {\n _array;\n\n constructor(array) {\n super({ type: 'block', block: array.map(n => n.__nodeID) }, array);\n this._array = array;\n }\n\n __onEvaluate() {\n let result;\n this._array.forEach(node => {\n result = val(node);\n });\n return result;\n }\n}\n\nexport function createAnimatedBlock(items) {\n return adapt(items);\n}\n\nfunction nodify(v) {\n if (typeof v === 'object' && v.__isProxy) {\n if (!v.__val) {\n v.__val = new InternalAnimatedValue(0);\n }\n return v.__val;\n }\n // TODO: cache some typical static values (e.g. 0, 1, -1)\n return v instanceof AnimatedNode\n ? v\n : InternalAnimatedValue.valueForConstant(v);\n}\n\nexport function adapt(v) {\n return Array.isArray(v)\n ? new AnimatedBlock(v.map(node => adapt(node)))\n : nodify(v);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _reactNativeSvg=_interopRequireWildcard(require(\"react-native-svg\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var PieChart=function(_PureComponent){(0,_inherits2.default)(PieChart,_PureComponent);function PieChart(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,PieChart);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(PieChart)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={height:0,width:0};return _this;}(0,_createClass2.default)(PieChart,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"_calculateRadius\",value:function _calculateRadius(arg,max,defaultVal){if(typeof arg==='string'){return arg.split('%')[0]/100*max;}else if(arg){return arg;}else{return defaultVal;}}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,data=_this$props.data,dataPoints=_this$props.dataPoints,innerRadius=_this$props.innerRadius,outerRadius=_this$props.outerRadius,labelRadius=_this$props.labelRadius,padAngle=_this$props.padAngle,animate=_this$props.animate,animationDuration=_this$props.animationDuration,style=_this$props.style,sort=_this$props.sort,valueAccessor=_this$props.valueAccessor,children=_this$props.children,startAngle=_this$props.startAngle,endAngle=_this$props.endAngle;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(!data&&dataPoints){throw\"\\\"dataPoints\\\" have been renamed to \\\"data\\\" to better reflect the fact that it's an array of objects\";}if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var maxRadius=Math.min(width,height)/2;if(Math.min.apply(Math,(0,_toConsumableArray2.default)(data.map(function(obj){return valueAccessor({item:obj});})))<0){console.error(\"don't pass negative numbers to pie-chart, it makes no sense!\");}var _outerRadius=this._calculateRadius(outerRadius,maxRadius,maxRadius);var _innerRadius=this._calculateRadius(innerRadius,maxRadius,0);var _labelRadius=this._calculateRadius(labelRadius,maxRadius,_outerRadius);if(outerRadius>0&&_innerRadius>=outerRadius){console.warn('innerRadius is equal to or greater than outerRadius');}var arcs=data.map(function(item){var arc=shape.arc().outerRadius(_outerRadius).innerRadius(_innerRadius).padAngle(padAngle);item.arc&&Object.entries(item.arc).forEach(function(_ref){var _ref2=(0,_slicedToArray2.default)(_ref,2),key=_ref2[0],value=_ref2[1];if(typeof arc[key]==='function'){if(typeof value==='string'){arc[key](value.split('%')[0]/100*_outerRadius);}else{arc[key](value);}}});return arc;});var labelArcs=data.map(function(item,index){if(labelRadius){return shape.arc().outerRadius(_labelRadius).innerRadius(_labelRadius).padAngle(padAngle);}return arcs[index];});var pieSlices=shape.pie().value(function(d){return valueAccessor({item:d});}).sort(sort).startAngle(startAngle).endAngle(endAngle)(data);var slices=pieSlices.map(function(slice,index){return _objectSpread({},slice,{pieCentroid:arcs[index].centroid(slice),labelCentroid:labelArcs[index].centroid(slice)});});var extraProps={width:width,height:height,data:data,slices:slices};return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.createElement(_reactNativeSvg.G,{x:width/2,y:height/2},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),pieSlices.map(function(slice,index){var _data$index=data[index],key=_data$index.key,onPress=_data$index.onPress,svg=_data$index.svg;return _react.default.createElement(_reactNativeSvg.Path,(0,_extends2.default)({key:key,onPress:onPress},svg,{d:arcs[index](slice),animate:animate,animationDuration:animationDuration}));}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;})))));}}]);return PieChart;}(_react.PureComponent);PieChart.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.shape({svg:_propTypes.default.object,key:_propTypes.default.any.isRequired,value:_propTypes.default.number,arc:_propTypes.default.object})).isRequired,innerRadius:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.string]),outerRadius:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.string]),labelRadius:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.string]),padAngle:_propTypes.default.number,animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,style:_propTypes.default.any,sort:_propTypes.default.func,valueAccessor:_propTypes.default.func};PieChart.defaultProps={width:100,height:100,padAngle:0.05,startAngle:0,endAngle:Math.PI*2,valueAccessor:function valueAccessor(_ref3){var item=_ref3.item;return item.value;},innerRadius:'50%',sort:function sort(a,b){return b.value-a.value;}};var _default=PieChart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/pie-chart.js"],"names":["PieChart","state","height","width","event","nativeEvent","layout","setState","arg","max","defaultVal","split","props","data","dataPoints","innerRadius","outerRadius","labelRadius","padAngle","animate","animationDuration","style","sort","valueAccessor","children","startAngle","endAngle","length","maxRadius","Math","min","map","obj","item","console","error","_outerRadius","_calculateRadius","_innerRadius","_labelRadius","warn","arcs","arc","shape","Object","entries","forEach","key","value","labelArcs","index","pieSlices","pie","d","slices","slice","pieCentroid","centroid","labelCentroid","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","onPress","svg","PureComponent","propTypes","PropTypes","arrayOf","object","any","isRequired","number","oneOfType","string","bool","func","defa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Q,CAKpBC,QAAQ,CAAEG,IAAI,CAACqD,EAAL,CAAU,CALA,CAMpB3D,aAAa,CAAE,iCAAGU,CAAAA,IAAH,OAAGA,IAAH,OAAcA,CAAAA,IAAI,CAACe,KAAnB,EANK,CAOpBjC,WAAW,CAAE,KAPO,CAQpBO,IAAI,CAAE,cAAC6D,CAAD,CAAIC,CAAJ,QAAUA,CAAAA,CAAC,CAACpC,KAAF,CAAUmC,CAAC,CAACnC,KAAtB,EARc,CAAxB,C,aAWehD,Q","sourcesContent":["import React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport PropTypes from 'prop-types'\nimport * as shape from 'd3-shape'\nimport Svg, { G, Path } from 'react-native-svg'\n\nclass PieChart extends PureComponent {\n state = {\n height: 0,\n width: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n\n this.setState({ height, width })\n }\n\n _calculateRadius(arg, max, defaultVal) {\n if (typeof arg === 'string') {\n return (arg.split('%')[0] / 100) * max\n } else if (arg) {\n return arg\n } else {\n return defaultVal\n }\n }\n\n render() {\n const {\n data,\n dataPoints,\n innerRadius,\n outerRadius,\n labelRadius,\n padAngle,\n animate,\n animationDuration,\n style,\n sort,\n valueAccessor,\n children,\n startAngle,\n endAngle,\n } = this.props\n\n const { height, width } = this.state\n\n if (!data && dataPoints) {\n throw `\"dataPoints\" have been renamed to \"data\" to better reflect the fact that it's an array of objects`\n }\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const maxRadius = Math.min(width, height) / 2\n\n if (Math.min(...data.map((obj) => valueAccessor({ item: obj }))) < 0) {\n console.error(\"don't pass negative numbers to pie-chart, it makes no sense!\")\n }\n\n const _outerRadius = this._calculateRadius(outerRadius, maxRadius, maxRadius)\n const _innerRadius = this._calculateRadius(innerRadius, maxRadius, 0)\n const _labelRadius = this._calculateRadius(labelRadius, maxRadius, _outerRadius)\n\n if (outerRadius > 0 && _innerRadius >= outerRadius) {\n console.warn('innerRadius is equal to or greater than outerRadius')\n }\n\n const arcs = data.map((item) => {\n const arc = shape\n .arc()\n .outerRadius(_outerRadius)\n .innerRadius(_innerRadius)\n .padAngle(padAngle) // Angle between sections\n\n item.arc &&\n Object.entries(item.arc).forEach(([key, value]) => {\n if (typeof arc[key] === 'function') {\n if (typeof value === 'string') {\n arc[key]((value.split('%')[0] / 100) * _outerRadius)\n } else {\n arc[key](value)\n }\n }\n })\n\n return arc\n })\n\n const labelArcs = data.map((item, index) => {\n if (labelRadius) {\n return shape\n .arc()\n .outerRadius(_labelRadius)\n .innerRadius(_labelRadius)\n .padAngle(padAngle)\n }\n return arcs[index]\n })\n\n const pieSlices = shape\n .pie()\n .value((d) => valueAccessor({ item: d }))\n .sort(sort)\n .startAngle(startAngle)\n .endAngle(endAngle)(data)\n\n const slices = pieSlices.map((slice, index) => ({\n ...slice,\n pieCentroid: arcs[index].centroid(slice),\n labelCentroid: labelArcs[index].centroid(slice),\n }))\n\n const extraProps = {\n width,\n height,\n data,\n slices,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {/* center the progress circle*/}\n <G x={width / 2} y={height / 2}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n {pieSlices.map((slice, index) => {\n const { key, onPress, svg } = data[index]\n return (\n <Path\n key={key}\n onPress={onPress}\n {...svg}\n d={arcs[index](slice)}\n animate={animate}\n animationDuration={animationDuration}\n />\n )\n })}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </G>\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nPieChart.propTypes = {\n data: PropTypes.arrayOf(\n PropTypes.shape({\n svg: PropTypes.object,\n key: PropTypes.any.isRequired,\n value: PropTypes.number,\n arc: PropTypes.object,\n })\n ).isRequired,\n innerRadius: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n outerRadius: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n labelRadius: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n padAngle: PropTypes.number,\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n style: PropTypes.any,\n sort: PropTypes.func,\n valueAccessor: PropTypes.func,\n}\n\nPieChart.defaultProps = {\n width: 100,\n height: 100,\n padAngle: 0.05,\n startAngle: 0,\n endAngle: Math.PI * 2,\n valueAccessor: ({ item }) => item.value,\n innerRadius: '50%',\n sort: (a, b) => b.value - a.value,\n}\n\nexport default PieChart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var unitlessNumbers={animationIterationCount:true,borderImageOutset:true,borderImageSlice:true,borderImageWidth:true,boxFlex:true,boxFlexGroup:true,boxOrdinalGroup:true,columnCount:true,flex:true,flexGrow:true,flexOrder:true,flexPositive:true,flexShrink:true,flexNegative:true,fontWeight:true,gridRow:true,gridColumn:true,lineClamp:true,opacity:true,order:true,orphans:true,tabSize:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,floodOpacity:true,stopOpacity:true,strokeDasharray:true,strokeDashoffset:true,strokeMiterlimit:true,strokeOpacity:true,strokeWidth:true,scale:true,scaleX:true,scaleY:true,scaleZ:true,shadowOpacity:true};var prefixes=['ms','Moz','O','Webkit'];var prefixKey=function prefixKey(prefix,key){return prefix+key.charAt(0).toUpperCase()+key.substring(1);};Object.keys(unitlessNumbers).forEach(function(prop){prefixes.forEach(function(prefix){unitlessNumbers[prefixKey(prefix,prop)]=unitlessNumbers[prop];});});var _default=unitlessNumbers;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/unitlessNumbers/index.js"],"names":["unitlessNumbers","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridColumn","lineClamp","opacity","order","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","scale","scaleX","scaleY","scaleZ","shadowOpacity","prefixes","prefixKey","prefix","key","charAt","toUpperCase","substring","Object","keys","forEach","prop"],"mappings":"gFASA,GAAIA,CAAAA,eAAe,CAAG,CACpBC,uBAAuB,CAAE,IADL,CAEpBC,iBAAiB,CAAE,IAFC,CAGpBC,gBAAgB,CAAE,IAHE,CAIpBC,gBAAgB,CAAE,IAJE,CAKpBC,OAAO,CAAE,IALW,CAMpBC,YAAY,CAAE,IANM,CAOpBC,eAAe,CAAE,IAPG,CAQpBC,WAAW,CAAE,IARO,CASpBC,IAAI,CAAE,IATc,CAUpBC,QAAQ,CAAE,IAVU,CAWpBC,SAAS,CAAE,IAXS,CAYpBC,YAAY,CAAE,IAZM,CAapBC,UAAU,CAAE,IAbQ,CAcpBC,YAAY,CAAE,IAdM,CAepBC,UAAU,CAAE,IAfQ,CAgBpBC,OAAO,CAAE,IAhBW,CAiBpBC,UAAU,CAAE,IAjBQ,CAkBpBC,SAAS,CAAE,IAlBS,CAmBpBC,OAAO,CAAE,IAnBW,CAoBpBC,KAAK,CAAE,IApBa,CAqBpBC,OAAO,CAAE,IArBW,CAsBpBC,OAAO,CAAE,IAtBW,CAuBpBC,MAAM,CAAE,IAvBY,CAwBpBC,MAAM,CAAE,IAxBY,CAyBpBC,IAAI,CAAE,IAzBc,CA2BpBC,WAAW,CAAE,IA3BO,CA4BpBC,YAAY,CAAE,IA5BM,CA6BpBC,WAAW,CAAE,IA7BO,CA8BpBC,eAAe,CAAE,IA9BG,CA+BpBC,gBAAgB,CAAE,IA/BE,CAgCpBC,gBAAgB,CAAE,IAhCE,CAiCpBC,aAAa,CAAE,IAjCK,CAkCpBC,WAAW,CAAE,IAlCO,CAoCpBC,KAAK,CAAE,IApCa,CAqCpBC,MAAM,CAAE,IArCY,CAsCpBC,MAAM,CAAE,IAtCY,CAuCpBC,MAAM,CAAE,IAvCY,CAyCpBC,aAAa,CAAE,IAzCK,CAAtB,CAgDA,GAAIC,CAAAA,QAAQ,CAAG,CAAC,IAAD,CAAO,KAAP,CAAc,GAAd,CAAmB,QAAnB,CAAf,CAEA,GAAIC,CAAAA,SAAS,CAAG,QAASA,CAAAA,SAAT,CAAmBC,MAAnB,CAA2BC,GAA3B,CAAgC,CAC9C,MAAOD,CAAAA,MAAM,CAAGC,GAAG,CAACC,MAAJ,CAAW,CAAX,EAAcC,WAAd,EAAT,CAAuCF,GAAG,CAACG,SAAJ,CAAc,CAAd,CAA9C,CACD,CAFD,CAIAC,MAAM,CAACC,IAAP,CAAY/C,eAAZ,EAA6BgD,OAA7B,CAAqC,SAAUC,IAAV,CAAgB,CACnDV,QAAQ,CAACS,OAAT,CAAiB,SAAUP,MAAV,CAAkB,CACjCzC,eAAe,CAACwC,SAAS,CAACC,MAAD,CAASQ,IAAT,CAAV,CAAf,CAA2CjD,eAAe,CAACiD,IAAD,CAA1D,CACD,CAFD,EAGD,CAJD,E,aAKejD,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar unitlessNumbers = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n flex: true,\n flexGrow: true,\n flexOrder: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n fontWeight: true,\n gridRow: true,\n gridColumn: true,\n lineClamp: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n // SVG-related\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true,\n // transform types\n scale: true,\n scaleX: true,\n scaleY: true,\n scaleZ: true,\n // RN properties\n shadowOpacity: true\n};\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n */\n\nvar prefixes = ['ms', 'Moz', 'O', 'Webkit'];\n\nvar prefixKey = function prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n};\n\nObject.keys(unitlessNumbers).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n unitlessNumbers[prefixKey(prefix, prop)] = unitlessNumbers[prop];\n });\n});\nexport default unitlessNumbers;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var State={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5};State.print=function(state){var keys=Object.keys(State);for(var i=0;i<keys.length;i++){if(state===State[keys[i]]){return keys[i];}}};var _default=State;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/State.js"],"names":["State","UNDETERMINED","FAILED","BEGAN","CANCELLED","ACTIVE","END","print","state","keys","Object","i","length"],"mappings":"gFAAA,GAAMA,CAAAA,KAAK,CAAG,CACZC,YAAY,CAAE,CADF,CAEZC,MAAM,CAAE,CAFI,CAGZC,KAAK,CAAE,CAHK,CAIZC,SAAS,CAAE,CAJC,CAKZC,MAAM,CAAE,CALI,CAMZC,GAAG,CAAE,CANO,CAAd,CASAN,KAAK,CAACO,KAAN,CAAc,SAAAC,KAAK,CAAI,CACrB,GAAMC,CAAAA,IAAI,CAAGC,MAAM,CAACD,IAAP,CAAYT,KAAZ,CAAb,CACA,IAAK,GAAIW,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGF,IAAI,CAACG,MAAzB,CAAiCD,CAAC,EAAlC,CAAsC,CACpC,GAAIH,KAAK,GAAKR,KAAK,CAACS,IAAI,CAACE,CAAD,CAAL,CAAnB,CAA8B,CAC5B,MAAOF,CAAAA,IAAI,CAACE,CAAD,CAAX,CACD,CACF,CACF,CAPD,C,aASeX,K","sourcesContent":["const State = {\n UNDETERMINED: 0,\n FAILED: 1,\n BEGAN: 2,\n CANCELLED: 3,\n ACTIVE: 4,\n END: 5,\n};\n\nState.print = state => {\n const keys = Object.keys(State);\n for (let i = 0; i < keys.length; i++) {\n if (state === State[keys[i]]) {\n return keys[i];\n }\n }\n};\n\nexport default State;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireDefault(require(\"react\"));var _ColorPropType=_interopRequireDefault(require(\"react-native-web/dist/exports/ColorPropType\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _ViewPropTypes=_interopRequireDefault(require(\"react-native-web/dist/exports/ViewPropTypes\"));var _processColor=_interopRequireDefault(require(\"react-native-web/dist/exports/processColor\"));var _NativeLinearGradient=_interopRequireDefault(require(\"./NativeLinearGradient\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var LinearGradient=function(_React$Component){(0,_inherits2.default)(LinearGradient,_React$Component);function LinearGradient(){(0,_classCallCheck2.default)(this,LinearGradient);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(LinearGradient).apply(this,arguments));}(0,_createClass2.default)(LinearGradient,[{key:\"render\",value:function render(){var _this$props=this.props,colors=_this$props.colors,locations=_this$props.locations,start=_this$props.start,end=_this$props.end,props=(0,_objectWithoutProperties2.default)(_this$props,[\"colors\",\"locations\",\"start\",\"end\"]);if(locations&&colors.length!==locations.length){console.warn('LinearGradient colors and locations props should be arrays of the same length');locations=locations.slice(0,colors.length);}return _react.default.createElement(_NativeLinearGradient.default,(0,_extends2.default)({},props,{colors:_Platform.default.select({web:colors,default:colors.map(_processColor.default)}),locations:locations,startPoint:_normalizePoint(start),endPoint:_normalizePoint(end)}));}}]);return LinearGradient;}(_react.default.Component);exports.default=LinearGradient;LinearGradient.propTypes=_objectSpread({},_ViewPropTypes.default,{colors:_propTypes.default.arrayOf(_ColorPropType.default).isRequired,locations:_propTypes.default.arrayOf(_propTypes.default.number),start:_propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number),_propTypes.default.object]),end:_propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number),_propTypes.default.object])});function _normalizePoint(point){if(!point){return undefined;}if(Array.isArray(point)&&point.length!==2){console.warn('start and end props for LinearGradient must be of the format [x,y] or {x, y}');return undefined;}return Array.isArray(point)?point:[point.x,point.y];}","map":{"version":3,"sources":["../src/LinearGradient.tsx"],"names":[],"mappings":"25BAAA,6DACA,oD,4XAGA,oF,4xBAWqB,CAAA,c,uWASb,iBAC8C,KAAK,KADnD,CACE,MADF,aACE,MADF,CACU,SADV,aACU,SADV,CACqB,KADrB,aACqB,KADrB,CAC4B,GAD5B,aAC4B,GAD5B,CACoC,KADpC,yFAGJ,GAAI,SAAS,EAAI,MAAM,CAAC,MAAP,GAAkB,SAAS,CAAC,MAA7C,CAAqD,CACnD,OAAO,CAAC,IAAR,CAAa,+EAAb,EACA,SAAS,CAAG,SAAS,CAAC,KAAV,CAAgB,CAAhB,CAAmB,MAAM,CAAC,MAA1B,CAAZ,CACD,CAED,MACE,8BAAC,6BAAD,0BACM,KADN,EAEE,MAAM,CAAE,kBAAS,MAAT,CAAgB,CACtB,GAAG,CAAE,MADiB,CAEtB,OAAO,CAAE,MAAM,CAAC,GAAP,CAAW,qBAAX,CAFa,CAAhB,CAFV,CAME,SAAS,CAAE,SANb,CAOE,UAAU,CAAE,eAAe,CAAC,KAAD,CAP7B,CAQE,QAAQ,CAAE,eAAe,CAAC,GAAD,CAR3B,GADF,CAYD,C,4BA7ByC,eAAM,S,iCACzC,cAAA,CAAA,SAAA,kBACF,sBADE,EAEL,MAAM,CAAE,mBAAU,OAAV,CAAkB,sBAAlB,EAAiC,UAFpC,CAGL,SAAS,CAAE,mBAAU,OAAV,CAAkB,mBAAU,MAA5B,CAHN,CAIL,KAAK,CAAE,mBAAU,SAAV,CAAoB,CAAC,mBAAU,OAAV,CAAkB,mBAAU,MAA5B,CAAD,CAAsC,mBAAU,MAAhD,CAApB,CAJF,CAKL,GAAG,CAAE,mBAAU,SAAV,CAAoB,CAAC,mBAAU,OAAV,CAAkB,mBAAU,MAA5B,CAAD,CAAsC,mBAAU,MAAhD,CAApB,CALA,GA+BT,QAAS,CAAA,eAAT,CAAyB,KAAzB,CAAwD,CACtD,GAAI,CAAC,KAAL,CAAY,CACV,MAAO,CAAA,SAAP,CACD,CAED,GAAI,KAAK,CAAC,OAAN,CAAc,KAAd,GAAwB,KAAK,CAAC,MAAN,GAAiB,CAA7C,CAAgD,CAC9C,OAAO,CAAC,IAAR,CAAa,8EAAb,EACA,MAAO,CAAA,SAAP,CACD,CAED,MAAO,CAAA,KAAK,CAAC,OAAN,CAAc,KAAd,EAAuB,KAAvB,CAA+B,CAAC,KAAK,CAAC,CAAP,CAAU,KAAK,CAAC,CAAhB,CAAtC,CACD","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport { ColorPropType, Platform, View, ViewPropTypes, processColor } from 'react-native';\n\nimport NativeLinearGradient from './NativeLinearGradient';\n\ntype Props = {\n colors: string[];\n locations?: number[] | null;\n start?: Point | null;\n end?: Point | null;\n} & React.ComponentProps<typeof View>;\n\ntype Point = { x: number; y: number } | [number, number];\n\nexport default class LinearGradient extends React.Component<Props> {\n static propTypes = {\n ...ViewPropTypes,\n colors: PropTypes.arrayOf(ColorPropType).isRequired,\n locations: PropTypes.arrayOf(PropTypes.number),\n start: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.object]),\n end: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.object]),\n };\n\n render() {\n let { colors, locations, start, end, ...props } = this.props;\n\n if (locations && colors.length !== locations.length) {\n console.warn('LinearGradient colors and locations props should be arrays of the same length');\n locations = locations.slice(0, colors.length);\n }\n\n return (\n <NativeLinearGradient\n {...props}\n colors={Platform.select({\n web: colors as any,\n default: colors.map(processColor),\n })}\n locations={locations}\n startPoint={_normalizePoint(start)}\n endPoint={_normalizePoint(end)}\n />\n );\n }\n}\n\nfunction _normalizePoint(point: Point | null | undefined): [number, number] | undefined {\n if (!point) {\n return undefined;\n }\n\n if (Array.isArray(point) && point.length !== 2) {\n console.warn('start and end props for LinearGradient must be of the format [x,y] or {x, y}');\n return undefined;\n }\n\n return Array.isArray(point) ? point : [point.x, point.y];\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _styleResolver=_interopRequireDefault(require(\"./styleResolver\"));var css={create:function create(rules,group){return _styleResolver.default.createCSS(rules,group);}};var _default=css;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/css.js"],"names":["css","create","rules","group","styleResolver","createCSS"],"mappings":"mKAQA,sEAOA,GAAIA,CAAAA,GAAG,CAAG,CAIRC,MAAM,CAAE,QAASA,CAAAA,MAAT,CAAgBC,KAAhB,CAAuBC,KAAvB,CAA8B,CACpC,MAAOC,wBAAcC,SAAd,CAAwBH,KAAxB,CAA+BC,KAA/B,CAAP,CACD,CANO,CAAV,C,aAQeH,G","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport styleResolver from './styleResolver';\n/**\n * A simple (and dangerous) CSS system.\n * The order of CSS rule insertion is not guaranteed.\n * Avoiding combining 2 or more classes that modify the same property.\n */\n\nvar css = {\n /**\n * const classes = css.create({ base: {}, extra: {} })\n */\n create: function create(rules, group) {\n return styleResolver.createCSS(rules, group);\n }\n};\nexport default css;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _ScrollView=_interopRequireDefault(require(\"react-native-web/dist/exports/ScrollView\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _reactRedux=require(\"react-redux\");var _FontAwesome=_interopRequireDefault(require(\"@expo/vector-icons/FontAwesome\"));var _SearchBar=_interopRequireDefault(require(\"../SearchBar/SearchBar\"));var _SearchCard=_interopRequireDefault(require(\"../SearchCard/SearchCard\"));var _PromptSearch=_interopRequireDefault(require(\"../PromptSearch/PromptSearch\"));var Home=function Home(_ref){var searchResults=_ref.searchResults;return _react.default.createElement(_View.default,{style:{flex:1,backgroundColor:'#eee',margin:0,padding:0}},_react.default.createElement(_SearchBar.default,null),_react.default.createElement(_ScrollView.default,{style:{marginBottom:10}},searchResults.length?searchResults.map(function(searchResult,index){return _react.default.createElement(_SearchCard.default,{key:index,title:searchResult.title,content:searchResult.passage,url:searchResult.url,metric:Math.round(searchResult.confidence*100),site:searchResult.site});}):_react.default.createElement(_PromptSearch.default,null)));};var HomeContainer=function HomeContainer(_ref2){var searchResults=_ref2.searchResults;return _react.default.createElement(Home,{searchResults:searchResults});};HomeContainer.navigationOptions={title:'검색',tabBarIcon:function tabBarIcon(_ref3){var tintColor=_ref3.tintColor;return _react.default.createElement(_FontAwesome.default,{name:\"search\",color:tintColor,style:{marginLeft:2},size:20});}};var _default=(0,_reactRedux.connect)(function(_ref4){var search=_ref4.search;return{searchResults:search.result.return_data.searchResults};})(HomeContainer);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/Home/Home.js"],"names":["Home","searchResults","flex","backgroundColor","margin","padding","marginBottom","length","map","searchResult","index","title","passage","url","Math","round","confidence","site","HomeContainer","navigationOptions","tabBarIcon","tintColor","marginLeft","search","result","return_data"],"mappings":"mKAAA,oD,4PAEA,uCACA,mFACA,yEACA,4EACA,kFAGA,GAAMA,CAAAA,IAAI,CAAG,QAAPA,CAAAA,IAAO,MAAqB,IAAnBC,CAAAA,aAAmB,MAAnBA,aAAm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C,MAAP,CAAcC,WAAd,CAA0BxB,aAD/B,CAAb,EADW,EAIbiB,aAJa,C","sourcesContent":["import React from 'react';\r\nimport { View, ScrollView,Text } from 'react-native';\r\nimport {connect} from 'react-redux'\r\nimport Icon from 'react-native-vector-icons/FontAwesome';\r\nimport SearchBar from '../SearchBar/SearchBar';\r\nimport SearchCard from '../SearchCard/SearchCard';\r\nimport PromptSearch from '../PromptSearch/PromptSearch'\r\n\r\n\r\nconst Home = ({searchResults}) => {\r\n return(\r\n <View style={{flex: 1, backgroundColor:'#eee', margin:0,padding:0}}>\r\n <SearchBar />\r\n <ScrollView style={{marginBottom:10}}>\r\n {searchResults.length ? ( searchResults.map((searchResult, index) => (\r\n <SearchCard \r\n key={index} \r\n title={searchResult.title} \r\n content={searchResult.passage} \r\n url={searchResult.url} \r\n metric={Math.round(searchResult.confidence * 100)} \r\n site={searchResult.site}\r\n />))) : <PromptSearch />}\r\n </ScrollView>\r\n </View> \r\n )\r\n}\r\n\r\nconst HomeContainer = ({searchResults}) => {\r\n return(<Home searchResults={searchResults} />)\r\n}\r\n\r\nHomeContainer.navigationOptions={\r\n title:'검색',\r\n tabBarIcon: ({tintColor}) => (<Icon name=\"search\" color={tintColor} style={{marginLeft:2}} size={20} />),\r\n}\r\n\r\nexport default connect(\r\n ({search})=>({\r\n searchResults:search.result.return_data.searchResults\r\n })\r\n)(HomeContainer);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var RootErrorBoundary=function(_React$Component){(0,_inherits2.default)(RootErrorBoundary,_React$Component);function RootErrorBoundary(){var _this;(0,_classCallCheck2.default)(this,RootErrorBoundary);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(RootErrorBoundary).apply(this,arguments));_this.state={error:null};return _this;}(0,_createClass2.default)(RootErrorBoundary,[{key:\"render\",value:function render(){if(this.state.error){return _react.default.createElement(_View.default,{style:styles.container},_react.default.createElement(_Text.default,{style:styles.warningIcon},\"\\u26A0\\uFE0F\"),_react.default.createElement(_Text.default,{style:[styles.paragraph,{color:'#000'}]},\"A fatal error was encountered while rendering the root component.\"),_react.default.createElement(_Text.default,{style:styles.paragraph},\"Review your application logs for more information, and reload the app when the issue is resolved. In production, your app would have crashed.\"));}else{return this.props.children;}}}],[{key:\"getDerivedStateFromError\",value:function getDerivedStateFromError(error){console.error(error);return{error:error};}}]);return RootErrorBoundary;}(_react.default.Component);exports.default=RootErrorBoundary;var styles=_StyleSheet.default.create({container:{flex:1,alignItems:'center',justifyContent:'center'},paragraph:{marginBottom:10,textAlign:'center',marginHorizontal:30,maxWidth:350,fontSize:15,color:'#888'},warningIcon:{fontSize:40,marginBottom:20}});","map":{"version":3,"sources":["../../src/launch/RootErrorBoundary.web.tsx"],"names":[],"mappings":"6nBAAA,oD,+PAWqB,CAAA,iB,uFAArB,4BAAA,gE,0HACE,MAAA,KAAA,CAAQ,CACN,KAAK,CAAE,IADD,CAAR,CADF,aA6BC,C,kFAlBO,CACJ,GAAI,KAAK,KAAL,CAAW,KAAf,CAAsB,CACpB,MACE,8BAAC,aAAD,EAAM,KAAK,CAAE,MAAM,CAAC,SAApB,EACE,6BAAC,aAAD,EAAM,KAAK,CAAE,MAAM,CAAC,WAApB,iBADF,CAEE,6BAAC,aAAD,EAAM,KAAK,CAAE,CAAC,MAAM,CAAC,SAAR,CAAmB,CAAE,KAAK,CAAE,MAAT,CAAnB,CAAb,sEAFF,CAKE,6BAAC,aAAD,EAAM,KAAK,CAAE,MAAM,CAAC,SAApB,kJALF,CADF,CAYD,CAbD,IAaO,CACL,MAAO,MAAK,KAAL,CAAW,QAAlB,CACD,CACF,C,4EAvB+B,K,CAAK,CAEnC,OAAO,CAAC,KAAR,CAAc,KAAd,EACA,MAAO,CAAE,KAAK,CAAL,KAAF,CAAP,CACD,C,+BAT4C,eAAM,S,oCA+BrD,GAAM,CAAA,MAAM,CAAG,oBAAW,MAAX,CAAkB,CAC/B,SAAS,CAAE,CACT,IAAI,CAAE,CADG,CAET,UAAU,CAAE,QAFH,CAGT,cAAc,CAAE,QAHP,CADoB,CAM/B,SAAS,CAAE,CACT,YAAY,CAAE,EADL,CAET,SAAS,CAAE,QAFF,CAGT,gBAAgB,CAAE,EAHT,CAIT,QAAQ,CAAE,GAJD,CAKT,QAAQ,CAAE,EALD,CAMT,KAAK,CAAE,MANE,CANoB,CAc/B,WAAW,CAAE,CACX,QAAQ,CAAE,EADC,CAEX,YAAY,CAAE,EAFH,CAdkB,CAAlB,CAAf","sourcesContent":["import React from 'react';\nimport { StyleSheet, Text, View } from 'react-native';\n\ntype Props = {\n children: React.ReactNode;\n};\n\ntype State = {\n error: Error | null;\n};\n\nexport default class RootErrorBoundary extends React.Component<Props, State> {\n state = {\n error: null,\n };\n\n static getDerivedStateFromError(error) {\n // Update state so the next render will show the fallback UI.\n console.error(error);\n return { error };\n }\n\n render() {\n if (this.state.error) {\n return (\n <View style={styles.container}>\n <Text style={styles.warningIcon}>⚠️</Text>\n <Text style={[styles.paragraph, { color: '#000' }]}>\n A fatal error was encountered while rendering the root component.\n </Text>\n <Text style={styles.paragraph}>\n Review your application logs for more information, and reload the app when the issue is\n resolved. In production, your app would have crashed.\n </Text>\n </View>\n );\n } else {\n return this.props.children;\n }\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n paragraph: {\n marginBottom: 10,\n textAlign: 'center',\n marginHorizontal: 30,\n maxWidth: 350,\n fontSize: 15,\n color: '#888',\n },\n warningIcon: {\n fontSize: 40,\n marginBottom: 20,\n },\n});\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.setCustomSourceTransformer=setCustomSourceTransformer;exports.default=resolveAssetSource;exports.pickScale=void 0;var _NativeModules=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeModules\"));var _AssetRegistry=require(\"./AssetRegistry\");var _AssetSourceResolver=_interopRequireDefault(require(\"./AssetSourceResolver\"));var _customSourceTransformer;var _serverURL;var _scriptURL;var _sourceCodeScriptURL;function getSourceCodeScriptURL(){if(_sourceCodeScriptURL){return _sourceCodeScriptURL;}var sourceCode=nativeExtensions&&nativeExtensions.SourceCode;if(!sourceCode){sourceCode=_NativeModules.default&&_NativeModules.default.SourceCode;}_sourceCodeScriptURL=sourceCode.scriptURL;return _sourceCodeScriptURL;}function getDevServerURL(){if(_serverURL===undefined){var sourceCodeScriptURL=getSourceCodeScriptURL();var match=sourceCodeScriptURL&&sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);if(match){_serverURL=match[0];}else{_serverURL=null;}}return _serverURL;}function _coerceLocalScriptURL(scriptURL){if(scriptURL){if(scriptURL.startsWith('assets://')){return null;}scriptURL=scriptURL.substring(0,scriptURL.lastIndexOf('/')+1);if(!scriptURL.includes('://')){scriptURL='file://'+scriptURL;}}return null;}function getScriptURL(){if(_scriptURL===undefined){_scriptURL=_coerceLocalScriptURL(getSourceCodeScriptURL());}return _scriptURL;}function setCustomSourceTransformer(transformer){_customSourceTransformer=transformer;}function resolveAssetSource(source){if(typeof source==='object'){return source;}var asset=(0,_AssetRegistry.getAssetByID)(source);if(!asset){return undefined;}var resolver=new _AssetSourceResolver.default(getDevServerURL(),getScriptURL(),asset);if(_customSourceTransformer){return _customSourceTransformer(resolver);}return resolver.defaultAsset();}Object.defineProperty(resolveAssetSource,'setCustomSourceTransformer',{get:function get(){return setCustomSourceTransformer;}});var pickScale=_AssetSourceResolver.default.pickScale;exports.pickScale=pickScale;","map":{"version":3,"sources":["../src/resolveAssetSource.web.ts"],"names":[],"mappings":"wWACA,8CAEA,kFAIA,GAAI,CAAA,wBAAJ,CACA,GAAI,CAAA,UAAJ,CACA,GAAI,CAAA,UAAJ,CACA,GAAI,CAAA,oBAAJ,CAEA,QAAS,CAAA,sBAAT,EAA+B,CAC7B,GAAI,oBAAJ,CAA0B,CACxB,MAAO,CAAA,oBAAP,CACD,CAED,GAAI,CAAA,UAAU,CAAG,gBAAgB,EAAI,gBAAgB,CAAC,UAAtD,CACA,GAAI,CAAC,UAAL,CAAiB,CACf,UAAU,CAAG,wBAAiB,uBAAc,UAA5C,CACD,CACD,oBAAoB,CAAG,UAAU,CAAC,SAAlC,CACA,MAAO,CAAA,oBAAP,CACD,CAED,QAAS,CAAA,eAAT,EAAwB,CACtB,GAAI,UAAU,GAAK,SAAnB,CAA8B,CAC5B,GAAM,CAAA,mBAAmB,CAAG,sBAAsB,EAAlD,CACA,GAAM,CAAA,KAAK,CAAG,mBAAmB,EAAI,mBAAmB,CAAC,KAApB,CAA0B,mBAA1B,CAArC,CACA,GAAI,KAAJ,CAAW,CAET,UAAU,CAAG,KAAK,CAAC,CAAD,CAAlB,CACD,CAHD,IAGO,CAEL,UAAU,CAAG,IAAb,CACD,CACF,CACD,MAAO,CAAA,UAAP,CACD,CAED,QAAS,CAAA,qBAAT,CAA+B,SAA/B,CAAmE,CACjE,GAAI,SAAJ,CAAe,CACb,GAAI,SAAS,CAAC,UAAV,CAAqB,WAArB,CAAJ,CAAuC,CAErC,MAAO,KAAP,CACD,CACD,SAAS,CAAG,SAAS,CAAC,SAAV,CAAoB,CAApB,CAAuB,SAAS,CAAC,WAAV,CAAsB,GAAtB,EAA6B,CAApD,CAAZ,CACA,GAAI,CAAC,SAAS,CAAC,QAAV,CAAmB,KAAnB,CAAL,CAAgC,CAG9B,SAAS,CAAG,UAAY,SAAxB,CACD,CACF,CACD,MAAO,KAAP,CACD,CAED,QAAS,CAAA,YAAT,EAAqB,CACnB,GAAI,UAAU,GAAK,SAAnB,CAA8B,CAC5B,UAAU,CAAG,qBAAqB,CAAC,sBAAsB,EAAvB,CAAlC,CACD,CACD,MAAO,CAAA,UAAP,CACD,CAEK,QAAU,CAAA,0BAAV,CACJ,WADI,CAC+D,CAEnE,wBAAwB,CAAG,WAA3B,CACD,CAMa,QAAU,CAAA,kBAAV,CAA6B,MAA7B,CAAwC,CACpD,GAAI,MAAO,CAAA,MAAP,GAAkB,QAAtB,CAAgC,CAC9B,MAAO,CAAA,MAAP,CACD,CAED,GAAM,CAAA,KAAK,CAAG,gCAAa,MAAb,CAAd,CACA,GAAI,CAAC,KAAL,CAAY,CACV,MAAO,CAAA,SAAP,CACD,CAED,GAAM,CAAA,QAAQ,CAAG,GAAI,6BAAJ,CAAwB,eAAe,EAAvC,CAA2C,YAAY,EAAvD,CAA2D,KAA3D,CAAjB,CACA,GAAI,wBAAJ,CAA8B,CAC5B,MAAO,CAAA,wBAAwB,CAAC,QAAD,CAA/B,CACD,CACD,MAAO,CAAA,QAAQ,CAAC,YAAT,EAAP,CACD,CAED,MAAM,CAAC,cAAP,CAAsB,kBAAtB,CAA0C,4BAA1C,CAAwE,CACtE,GADsE,eACnE,CACD,MAAO,CAAA,0BAAP,CACD,CAHqE,CAAxE,E,GAMe,CAAA,S,CAAc,4B,CAAd,S","sourcesContent":["import { NativeModules } from 'react-native';\nimport { getAssetByID } from './AssetRegistry';\n\nimport AssetSourceResolver, { ResolvedAssetSource } from './AssetSourceResolver';\n\ndeclare var nativeExtensions: any;\n\nlet _customSourceTransformer;\nlet _serverURL: string | undefined | null;\nlet _scriptURL: string | undefined | null;\nlet _sourceCodeScriptURL: string | undefined | null;\n\nfunction getSourceCodeScriptURL(): string | undefined | null {\n if (_sourceCodeScriptURL) {\n return _sourceCodeScriptURL;\n }\n\n let sourceCode = nativeExtensions && nativeExtensions.SourceCode;\n if (!sourceCode) {\n sourceCode = NativeModules && NativeModules.SourceCode;\n }\n _sourceCodeScriptURL = sourceCode.scriptURL;\n return _sourceCodeScriptURL;\n}\n\nfunction getDevServerURL(): string | null {\n if (_serverURL === undefined) {\n const sourceCodeScriptURL = getSourceCodeScriptURL();\n const match = sourceCodeScriptURL && sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);\n if (match) {\n // jsBundle was loaded from network\n _serverURL = match[0];\n } else {\n // jsBundle was loaded from file\n _serverURL = null;\n }\n }\n return _serverURL;\n}\n\nfunction _coerceLocalScriptURL(scriptURL: string | undefined | null): string | null {\n if (scriptURL) {\n if (scriptURL.startsWith('assets://')) {\n // android: running from within assets, no offline path to use\n return null;\n }\n scriptURL = scriptURL.substring(0, scriptURL.lastIndexOf('/') + 1);\n if (!scriptURL.includes('://')) {\n // Add file protocol in case we have an absolute file path and not a URL.\n // This shouldn't really be necessary. scriptURL should be a URL.\n scriptURL = 'file://' + scriptURL;\n }\n }\n return null;\n}\n\nfunction getScriptURL(): string | null {\n if (_scriptURL === undefined) {\n _scriptURL = _coerceLocalScriptURL(getSourceCodeScriptURL());\n }\n return _scriptURL;\n}\n\nexport function setCustomSourceTransformer(\n transformer: (resolver: AssetSourceResolver) => ResolvedAssetSource\n): void {\n _customSourceTransformer = transformer;\n}\n\n/**\n * `source` is either a number (opaque type returned by require('./foo.png'))\n * or an `ImageSource` like { uri: '<http location || file path>' }\n */\nexport default function resolveAssetSource(source: any): ResolvedAssetSource | undefined {\n if (typeof source === 'object') {\n return source;\n }\n\n const asset = getAssetByID(source);\n if (!asset) {\n return undefined;\n }\n\n const resolver = new AssetSourceResolver(getDevServerURL(), getScriptURL(), asset);\n if (_customSourceTransformer) {\n return _customSourceTransformer(resolver);\n }\n return resolver.defaultAsset();\n}\n\nObject.defineProperty(resolveAssetSource, 'setCustomSourceTransformer', {\n get() {\n return setCustomSourceTransformer;\n },\n});\n\nexport const { pickScale } = AssetSourceResolver;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var getBoundingClientRect=function getBoundingClientRect(node){if(node){var isElement=node.nodeType===1;if(isElement&&typeof node.getBoundingClientRect==='function'){return node.getBoundingClientRect();}}};var _default=getBoundingClientRect;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/getBoundingClientRect/index.js"],"names":["getBoundingClientRect","node","isElement","nodeType"],"mappings":"gFAUA,GAAIA,CAAAA,qBAAqB,CAAG,QAASA,CAAAA,qBAAT,CAA+BC,IAA/B,CAAqC,CAC/D,GAAIA,IAAJ,CAAU,CACR,GAAIC,CAAAA,SAAS,CAAGD,IAAI,CAACE,QAAL,GAAkB,CAAlC,CAGA,GAAID,SAAS,EAAI,MAAOD,CAAAA,IAAI,CAACD,qBAAZ,GAAsC,UAAvD,CAAmE,CACjE,MAAOC,CAAAA,IAAI,CAACD,qBAAL,EAAP,CACD,CACF,CACF,CATD,C,aAWeA,qB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n/* global HTMLElement */\nvar getBoundingClientRect = function getBoundingClientRect(node) {\n if (node) {\n var isElement = node.nodeType === 1;\n /* Node.ELEMENT_NODE */\n\n if (isElement && typeof node.getBoundingClientRect === 'function') {\n return node.getBoundingClientRect();\n }\n }\n};\n\nexport default getBoundingClientRect;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _uaParserJs=_interopRequireDefault(require(\"ua-parser-js\"));var _v=_interopRequireDefault(require(\"uuid/v4\"));var parser=new _uaParserJs.default();var ID_KEY='EXPO_CONSTANTS_INSTALLATION_ID';var _sessionId=(0,_v.default)();var _default={get name(){return'ExponentConstants';},get appOwnership(){return'expo';},get installationId(){var installationId;try{installationId=localStorage.getItem(ID_KEY);if(installationId==null||typeof installationId!=='string'){installationId=(0,_v.default)();localStorage.setItem(ID_KEY,installationId);}}catch(error){installationId=_sessionId;}finally{return installationId;}},get sessionId(){return _sessionId;},get platform(){return{web:_ExecutionEnvironment.canUseDOM?(0,_uaParserJs.default)(navigator.userAgent):undefined};},get isHeadless(){return false;},get isDevice(){return true;},get isDetached(){return false;},get expoVersion(){return this.manifest.sdkVersion||null;},get linkingUri(){if(_ExecutionEnvironment.canUseDOM){return location.origin+location.pathname;}else{return'';}},get expoRuntimeVersion(){return this.expoVersion;},get deviceName(){var _parser$getResult=parser.getResult(),browser=_parser$getResult.browser,engine=_parser$getResult.engine,OS=_parser$getResult.os;return browser.name||engine.name||OS.name||undefined;},get nativeAppVersion(){return null;},get nativeBuildVersion(){return null;},get systemFonts(){return[];},get statusBarHeight(){return 0;},get deviceYearClass(){return null;},get manifest(){return process.env.APP_MANIFEST||{};},get experienceUrl(){if(_ExecutionEnvironment.canUseDOM){return location.origin+location.pathname;}else{return'';}},get debugMode(){return __DEV__;},getWebViewUserAgentAsync:function getWebViewUserAgentAsync(){return _regenerator.default.async(function getWebViewUserAgentAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:if(!_ExecutionEnvironment.canUseDOM){_context.next=4;break;}return _context.abrupt(\"return\",navigator.userAgent);case 4:return _context.abrupt(\"return\",null);case 5:case\"end\":return _context.stop();}}});}};exports.default=_default;","map":{"version":3,"sources":["../src/ExponentConstants.web.ts"],"names":[],"mappings":"kPAAA,mEACA,gEACA,kDAIA,GAAM,CAAA,MAAM,CAAG,GAAI,oBAAJ,EAAf,CACA,GAAM,CAAA,MAAM,CAAG,gCAAf,CAQA,GAAM,CAAA,UAAU,CAAG,gBAAnB,C,aAEe,CACb,GAAI,CAAA,IAAJ,EAAQ,CACN,MAAO,mBAAP,CACD,CAHY,CAIb,GAAI,CAAA,YAAJ,EAAgB,CACd,MAAO,MAAP,CACD,CANY,CAOb,GAAI,CAAA,cAAJ,EAAkB,CAChB,GAAI,CAAA,cAAJ,CACA,GAAI,CACF,cAAc,CAAG,YAAY,CAAC,OAAb,CAAqB,MAArB,CAAjB,CACA,GAAI,cAAc,EAAI,IAAlB,EAA0B,MAAO,CAAA,cAAP,GAA0B,QAAxD,CAAkE,CAChE,cAAc,CAAG,gBAAjB,CACA,YAAY,CAAC,OAAb,CAAqB,MAArB,CAA6B,cAA7B,EACD,CACF,CAAC,MAAO,KAAP,CAAc,CACd,cAAc,CAAG,UAAjB,CACD,CARD,OAQU,CACR,MAAO,CAAA,cAAP,CACD,CACF,CApBY,CAqBb,GAAI,CAAA,SAAJ,EAAa,CACX,MAAO,CAAA,UAAP,CACD,CAvBY,CAwBb,GAAI,CAAA,QAAJ,EAAY,CACV,MAAO,CAAE,GAAG,CAAE,gCAAY,wBAAS,SAAS,CAAC,SAAnB,CAAZ,CAA4C,SAAnD,CAAP,CACD,CA1BY,CA2Bb,GAAI,CAAA,UAAJ,EAAc,CACZ,MAAO,MAAP,CACD,CA7BY,CA8Bb,GAAI,CAAA,QAAJ,EAAY,CAEV,MAAO,KAAP,CACD,CAjCY,CAkCb,GAAI,CAAA,UAAJ,EAAc,CACZ,MAAO,MAAP,CACD,CApCY,CAqCb,GAAI,CAAA,WAAJ,EAAe,CACb,MAAO,MAAK,QAAL,CAAc,UAAd,EAA4B,IAAnC,CACD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CA4FF,IA5FE,iD","sourcesContent":["import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport UAParser from 'ua-parser-js';\nimport uuidv4 from 'uuid/v4';\n\nimport { PlatformManifest, WebManifest, NativeConstants } from './Constants.types';\n\nconst parser = new UAParser();\nconst ID_KEY = 'EXPO_CONSTANTS_INSTALLATION_ID';\n\ndeclare var __DEV__: boolean;\ndeclare var process: { env: any };\ndeclare var navigator: Navigator;\ndeclare var location: Location;\ndeclare var localStorage: Storage;\n\nconst _sessionId = uuidv4();\n\nexport default {\n get name(): string {\n return 'ExponentConstants';\n },\n get appOwnership(): 'expo' {\n return 'expo';\n },\n get installationId(): string {\n let installationId;\n try {\n installationId = localStorage.getItem(ID_KEY);\n if (installationId == null || typeof installationId !== 'string') {\n installationId = uuidv4();\n localStorage.setItem(ID_KEY, installationId as string);\n }\n } catch (error) {\n installationId = _sessionId;\n } finally {\n return installationId;\n }\n },\n get sessionId(): string {\n return _sessionId;\n },\n get platform(): PlatformManifest {\n return { web: canUseDOM ? UAParser(navigator.userAgent) : undefined };\n },\n get isHeadless(): false {\n return false;\n },\n get isDevice(): true {\n // TODO: Bacon: Possibly want to add information regarding simulators\n return true;\n },\n get isDetached(): false {\n return false;\n },\n get expoVersion(): string | null {\n return this.manifest.sdkVersion || null;\n },\n get linkingUri(): string {\n if (canUseDOM) {\n // On native this is `exp://`\n return location.origin + location.pathname;\n } else {\n return '';\n }\n },\n get expoRuntimeVersion(): string | null {\n return this.expoVersion;\n },\n get deviceName(): string | undefined {\n const { browser, engine, os: OS } = parser.getResult();\n\n return browser.name || engine.name || OS.name || undefined;\n },\n get nativeAppVersion(): null {\n return null;\n },\n get nativeBuildVersion(): null {\n return null;\n },\n get systemFonts(): string[] {\n // TODO: Bacon: Maybe possible.\n return [];\n },\n get statusBarHeight(): number {\n return 0;\n },\n get deviceYearClass(): number | null {\n // TODO: Bacon: The android version isn't very accurate either, maybe we could try and guess this value.\n return null;\n },\n get manifest(): WebManifest {\n // This is defined by @expo/webpack-config.\n // If your site is bundled with a different config then you may not have access to the app.json automatically.\n return process.env.APP_MANIFEST || {};\n },\n get experienceUrl(): string {\n if (canUseDOM) {\n return location.origin + location.pathname;\n } else {\n return '';\n }\n },\n get debugMode(): boolean {\n return __DEV__;\n },\n async getWebViewUserAgentAsync(): Promise<string | null> {\n if (canUseDOM) {\n return navigator.userAgent;\n } else {\n return null;\n }\n },\n} as NativeConstants;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _invariant=_interopRequireDefault(require(\"invariant\"));var EventTypes=['url'];var listeners=[];function _validateURL(url){(0,_invariant.default)(typeof url==='string',\"Invalid URL: should be a string. Instead found: \"+url);(0,_invariant.default)(url,'Invalid URL: cannot be empty');}var Linking=function(){function Linking(){(0,_classCallCheck2.default)(this,Linking);}(0,_createClass2.default)(Linking,[{key:\"addEventListener\",value:function addEventListener(type,listener){(0,_invariant.default)(EventTypes.indexOf(type)!==-1,\"Linking.addEventListener(): \"+type+\" is not a valid event\");var nativeListener=function nativeListener(nativeEvent){return listener({url:window.location.href,nativeEvent:nativeEvent});};listeners.push({listener:listener,nativeListener:nativeListener});window.addEventListener('message',nativeListener,false);}},{key:\"removeEventListener\",value:function removeEventListener(type,listener){(0,_invariant.default)(EventTypes.indexOf(type)!==-1,\"Linking.removeEventListener(): \"+type+\" is not a valid event.\");var listenerIndex=listeners.findIndex(function(pair){return pair.listener===listener;});(0,_invariant.default)(listenerIndex!==-1,'Linking.removeEventListener(): cannot remove an unregistered event listener.');var nativeListener=listeners[listenerIndex].nativeListener;window.removeEventListener('message',nativeListener,false);listeners.splice(listenerIndex,1);}},{key:\"canOpenURL\",value:function canOpenURL(url){return _regenerator.default.async(function canOpenURL$(_context){while(1){switch(_context.prev=_context.next){case 0:_validateURL(url);return _context.abrupt(\"return\",true);case 2:case\"end\":return _context.stop();}}});}},{key:\"getInitialURL\",value:function getInitialURL(){return _regenerator.default.async(function getInitialURL$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:return _context2.abrupt(\"return\",window.location.href);case 1:case\"end\":return _context2.stop();}}});}},{key:\"openURL\",value:function openURL(url){return _regenerator.default.async(function openURL$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_validateURL(url);window.location.href=url;case 2:case\"end\":return _context3.stop();}}});}}]);return Linking;}();var _default=new Linking();exports.default=_default;","map":{"version":3,"sources":["../../src/Linking/LinkingModule.web.ts"],"names":[],"mappings":"waAAA,4DAIA,GAAM,CAAA,UAAU,CAAG,CAAC,KAAD,CAAnB,CAEA,GAAM,CAAA,SAAS,CAAwE,EAAvF,CAEA,QAAS,CAAA,YAAT,CAAsB,GAAtB,CAAiC,CAC/B,uBAAU,MAAO,CAAA,GAAP,GAAe,QAAzB,oDAAsF,GAAtF,EACA,uBAAU,GAAV,CAAe,8BAAf,EACD,C,GAGK,CAAA,O,sKACa,I,CAAa,Q,CAAqB,CACjD,uBACE,UAAU,CAAC,OAAX,CAAmB,IAAnB,IAA6B,CAAC,CADhC,gCAEiC,IAFjC,0BAIA,GAAM,CAAA,cAAc,CAAsB,QAApC,CAAA,cAAoC,CAAA,WAAW,QACnD,CAAA,QAAQ,CAAC,CAAE,GAAG,CAAE,MAAM,CAAC,QAAP,CAAgB,IAAvB,CAA6B,WAAW,CAAX,WAA7B,CAAD,CAD2C,EAArD,CAEA,SAAS,CAAC,IAAV,CAAe,CAAE,QAAQ,CAAR,QAAF,CAAY,cAAc,CAAd,cAAZ,CAAf,EACA,MAAM,CAAC,gBAAP,CAAwB,SAAxB,CAAmC,cAAnC,CAAmD,KAAnD,EACD,C,gEAEmB,I,CAAa,Q,CAAqB,CACpD,uBACE,UAAU,CAAC,OAAX,CAAmB,IAAnB,IAA6B,CAAC,CADhC,mCAEoC,IAFpC,2BAIA,GAAM,CAAA,aAAa,CAAG,SAAS,CAAC,SAAV,CAAoB,SAAA,IAAI,QAAI,CAAA,IAAI,CAAC,QAAL,GAAkB,QAAtB,EAAxB,CAAtB,CACA,uBACE,aAAa,GAAK,CAAC,CADrB,CAEE,8EAFF,EAIA,GAAM,CAAA,cAAc,CAAG,SAAS,CAAC,aAAD,CAAT,CAAyB,cAAhD,CACA,MAAM,CAAC,mBAAP,CAA2B,SAA3B,CAAsC,cAAtC,CAAsD,KAAtD,EACA,SAAS,CAAC,MAAV,CAAiB,aAAjB,CAAgC,CAAhC,EACD,C,8CAEgB,G,uHACf,YAAY,CAAC,GAAD,CAAZ,C,gCACO,I,kQAIA,MAAM,CAAC,QAAP,CAAgB,I,yFAGX,G,uHACZ,YAAY,CAAC,GAAD,CAAZ,CACA,MAAM,CAAC,QAAP,CAAgB,IAAhB,CAAuB,GAAvB,C,mFAIW,GAAI,CAAA,OAAJ,E","sourcesContent":["import invariant from 'invariant';\n\nimport { URLListener, NativeURLListener } from './Linking.types';\n\nconst EventTypes = ['url'];\n\nconst listeners: Array<{ listener: URLListener; nativeListener: NativeURLListener }> = [];\n\nfunction _validateURL(url: string): void {\n invariant(typeof url === 'string', `Invalid URL: should be a string. Instead found: ${url}`);\n invariant(url, 'Invalid URL: cannot be empty');\n}\n\n// TODO: Bacon: For better parity this should extend EventEmitter like React Native.\nclass Linking {\n addEventListener(type: 'url', listener: URLListener): void {\n invariant(\n EventTypes.indexOf(type) !== -1,\n `Linking.addEventListener(): ${type} is not a valid event`\n );\n const nativeListener: NativeURLListener = nativeEvent =>\n listener({ url: window.location.href, nativeEvent });\n listeners.push({ listener, nativeListener });\n window.addEventListener('message', nativeListener, false);\n }\n\n removeEventListener(type: 'url', listener: URLListener): void {\n invariant(\n EventTypes.indexOf(type) !== -1,\n `Linking.removeEventListener(): ${type} is not a valid event.`\n );\n const listenerIndex = listeners.findIndex(pair => pair.listener === listener);\n invariant(\n listenerIndex !== -1,\n 'Linking.removeEventListener(): cannot remove an unregistered event listener.'\n );\n const nativeListener = listeners[listenerIndex].nativeListener;\n window.removeEventListener('message', nativeListener, false);\n listeners.splice(listenerIndex, 1);\n }\n\n async canOpenURL(url: string): Promise<boolean> {\n _validateURL(url);\n return true;\n }\n\n async getInitialURL(): Promise<string> {\n return window.location.href;\n }\n\n async openURL(url: string): Promise<void> {\n _validateURL(url);\n window.location.href = url;\n }\n}\n\nexport default new Linking();\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedMultiplication=function(_AnimatedWithChildren){_inheritsLoose(AnimatedMultiplication,_AnimatedWithChildren);function AnimatedMultiplication(a,b){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._a=typeof a==='number'?new _AnimatedValue.default(a):a;_this._b=typeof b==='number'?new _AnimatedValue.default(b):b;return _this;}var _proto=AnimatedMultiplication.prototype;_proto.__makeNative=function __makeNative(){this._a.__makeNative();this._b.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.__getValue=function __getValue(){return this._a.__getValue()*this._b.__getValue();};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.__attach=function __attach(){this._a.__addChild(this);this._b.__addChild(this);};_proto.__detach=function __detach(){this._a.__removeChild(this);this._b.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'multiplication',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]};};return AnimatedMultiplication;}(_AnimatedWithChildren2.default);var _default=AnimatedMultiplication;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedMultiplication.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedMultiplication","_AnimatedWithChildren","a","b","_this","call","_a","AnimatedValue","_b","_proto","__makeNative","__getValue","interpolate","config","AnimatedInterpolation","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,sEACA,qFALA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAOvL,GAAIM,CAAAA,sBAAsB,CAE1B,SAAUC,qBAAV,CAAiC,CAC/BT,cAAc,CAACQ,sBAAD,CAAyBC,qBAAzB,CAAd,CAEA,QAASD,CAAAA,sBAAT,CAAgCE,CAAhC,CAAmCC,CAAnC,CAAsC,CACpC,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,GAAoC,IAA5C,CACAD,KAAK,CAACE,EAAN,CAAW,MAAOJ,CAAAA,CAAP,GAAa,QAAb,CAAwB,GAAIK,uBAAJ,CAAkBL,CAAlB,CAAxB,CAA+CA,CAA1D,CACAE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,CAAC,KAAKf,EAAL,CAAQgB,cAAR,EAAD,CAA2B,KAAKd,EAAL,CAAQc,cAAR,EAA3B,CAFF,CAAP,CAID,CALD,CAOA,MAAOtB,CAAAA,sBAAP,CACD,CApDD,CAoDEuB,8BApDF,CAFA,C,aAwDevB,sB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedMultiplication =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedMultiplication, _AnimatedWithChildren);\n\n function AnimatedMultiplication(a, b) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n _this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n return _this;\n }\n\n var _proto = AnimatedMultiplication.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n this._b.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._a.__getValue() * this._b.__getValue();\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n\n this._b.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n this._b.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'multiplication',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n };\n\n return AnimatedMultiplication;\n}(AnimatedWithChildren);\n\nexport default AnimatedMultiplication;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _InteractionManager=_interopRequireDefault(require(\"react-native-web/dist/exports/InteractionManager\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _reactNativeSvg=require(\"react-native-svg\");var interpolate=_interopRequireWildcard(require(\"d3-interpolate-path\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var AnimatedPath=function(_Component){(0,_inherits2.default)(AnimatedPath,_Component);function AnimatedPath(props){var _this;(0,_classCallCheck2.default)(this,AnimatedPath);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedPath).call(this,props));_this.state={d:props.d};return _this;}(0,_createClass2.default)(AnimatedPath,[{key:\"componentDidUpdate\",value:function componentDidUpdate(props){var _this$props=this.props,newD=_this$props.d,animate=_this$props.animate;var oldD=props.d;this.newD=newD;if(newD===oldD){return;}if(!animate||newD===null||oldD===null){return;}this.newD=newD;this.interpolator=interpolate.interpolatePath(oldD,newD);this._animate();}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){cancelAnimationFrame(this.animation);this._clearInteraction();}},{key:\"_animate\",value:function _animate(start){var _this2=this;cancelAnimationFrame(this.animation);this.animation=requestAnimationFrame(function(timestamp){if(!start){_this2._clearInteraction();_this2.handle=_InteractionManager.default.createInteractionHandle();start=timestamp;}var delta=(timestamp-start)/_this2.props.animationDuration;if(delta>1){_this2.component.setNativeProps({d:_this2.newD});_this2._clearInteraction();return;}var d=_this2.interpolator(delta);_this2.component.setNativeProps({d:d});_this2.setState(_this2.state,function(){_this2._animate(start);});});}},{key:\"_clearInteraction\",value:function _clearInteraction(){if(this.handle){_InteractionManager.default.clearInteractionHandle(this.handle);this.handle=null;}}},{key:\"render\",value:function render(){var _this3=this;return _react.default.createElement(_reactNativeSvg.Path,(0,_extends2.default)({ref:function ref(_ref){return _this3.component=_ref;}},this.props,{d:this.props.animate?this.state.d:this.props.d}));}}]);return AnimatedPath;}(_react.Component);AnimatedPath.propTypes=_objectSpread({animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,renderPlaceholder:_propTypes.default.func},_reactNativeSvg.Path.propTypes);AnimatedPath.defaultProps={animate:false,animationDuration:300,renderPlaceholder:function renderPlaceholder(){return null;}};var _default=AnimatedPath;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/animated-path.js"],"names":["AnimatedPath","props","state","d","newD","animate","oldD","interpolator","interpolate","interpolatePath","_animate","cancelAnimationFrame","animation","_clearInteraction","start","requestAnimationFrame","timestamp","handle","InteractionManager","createInteractionHandle","delta","animationDuration","component","setNativeProps","setState","clearInteractionHandle","ref","Component","propTypes","PropTypes","bool","number","renderPlaceholder","func","Path","defaultProps"],"mappings":"g4BAAA,qD,4GAEA,6DACA,gDACA,wE,4xBAEMA,CAAAA,Y,sEACF,sBAAYC,KAAZ,CAAmB,2DACf,wGAAMA,KAAN,GAEA,MAAKC,KAAL,CAAa,CAAEC,CAAC,CAAEF,KAAK,CAACE,CAAX,CAAb,CAHe,aAIlB,C,oGAEkBF,K,CAAO,iBACO,KAAKA,KADZ,CACXG,IADW,aACdD,CADc,CACLE,OADK,aACLA,OADK,IAEXC,CAAAA,IAFW,CAEFL,KAFE,CAEdE,CAFc,CAItB,KAAKC,IAAL,CAAYA,IAAZ,CAEA,GAAIA,IAAI,GAAKE,IAAb,CAAmB,CACf,OACH,CAED,GAAI,CAACD,OAAD,EAAYD,IAAI,GAAK,IAArB,EAA6BE,IAAI,GAAK,IAA1C,CAAgD,CAC5C,OACH,CAED,KAAKF,IAAL,CAAYA,IAAZ,CACA,KAAKG,YAAL,CAAoBC,WAAW,CAACC,eAAZ,CAA4BH,IAA5B,CAAkCF,IAAlC,CAApB,CAEA,KAAKM,QAAL,GACH,C,mEAEsB,CACnBC,oBAAoB,CAAC,KAAKC,SAAN,CAApB,CACA,KAAKC,iBAAL,GACH,C,0CAEQC,K,CAAO,iBACZH,oBAAoB,CAAC,KAAKC,SAAN,CAApB,CACA,KAAKA,SAAL,CAAiBG,qBAAqB,CAAC,SAACC,SAAD,CAAe,CAClD,GAAI,CAACF,KAAL,CAAY,CACR,MAAI,CAACD,iBAAL,GACA,MAAI,CAACI,MAAL,CAAcC,4BAAmBC,uBAAnB,EAAd,CAEAL,KAAK,CAAGE,SAAR,CACH,CAGD,GAAMI,CAAAA,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CAAM,KAAN,EAHK,CAA5B,C,aAMehC,Y","sourcesContent":["import React, { Component } from 'react'\nimport { InteractionManager } from 'react-native'\nimport PropTypes from 'prop-types'\nimport { Path } from 'react-native-svg'\nimport * as interpolate from 'd3-interpolate-path'\n\nclass AnimatedPath extends Component {\n constructor(props) {\n super(props)\n\n this.state = { d: props.d }\n }\n\n componentDidUpdate(props) {\n const { d: newD, animate } = this.props\n const { d: oldD } = props\n\n this.newD = newD\n\n if (newD === oldD) {\n return\n }\n\n if (!animate || newD === null || oldD === null) {\n return\n }\n\n this.newD = newD\n this.interpolator = interpolate.interpolatePath(oldD, newD)\n\n this._animate()\n }\n\n componentWillUnmount() {\n cancelAnimationFrame(this.animation)\n this._clearInteraction()\n }\n\n _animate(start) {\n cancelAnimationFrame(this.animation)\n this.animation = requestAnimationFrame((timestamp) => {\n if (!start) {\n this._clearInteraction()\n this.handle = InteractionManager.createInteractionHandle()\n\n start = timestamp\n }\n\n // Get the delta on how far long in our animation we are.\n const delta = (timestamp - start) / this.props.animationDuration\n\n // If we're above 1 then our animation should be complete.\n if (delta > 1) {\n // Just to be safe set our final value to the new graph path.\n this.component.setNativeProps({ d: this.newD })\n // Stop our animation loop.\n this._clearInteraction()\n return\n }\n\n const d = this.interpolator(delta)\n this.component.setNativeProps({ d })\n // console.log(this.interpolator)\n // this.tween && console.log(this.tween.tween(delta))\n // Tween the SVG path value according to what delta we're currently at.\n\n // Update our state with the new tween value and then jump back into\n // this loop.\n this.setState(this.state, () => {\n this._animate(start)\n })\n })\n }\n\n _clearInteraction() {\n if (this.handle) {\n InteractionManager.clearInteractionHandle(this.handle)\n this.handle = null\n }\n }\n\n render() {\n return (\n <Path\n ref={(ref) => (this.component = ref)}\n {...this.props}\n d={this.props.animate ? this.state.d : this.props.d}\n />\n )\n }\n}\n\nAnimatedPath.propTypes = {\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n renderPlaceholder: PropTypes.func,\n ...Path.propTypes,\n}\n\nAnimatedPath.defaultProps = {\n animate: false,\n animationDuration: 300,\n renderPlaceholder: () => null,\n}\n\nexport default AnimatedPath\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.prefixInlineStyles=exports.default=void 0;var _createPrefixer=_interopRequireDefault(require(\"inline-style-prefixer/lib/createPrefixer\"));var _static=_interopRequireDefault(require(\"./static\"));var prefixAll=(0,_createPrefixer.default)(_static.default);var _default=prefixAll;exports.default=_default;var prefixInlineStyles=function prefixInlineStyles(style){var prefixedStyles=prefixAll(style);Object.keys(prefixedStyles).forEach(function(prop){var value=prefixedStyles[prop];if(Array.isArray(value)){prefixedStyles[prop]=value[value.length-1];}});return prefixedStyles;};exports.prefixInlineStyles=prefixInlineStyles;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/prefixStyles/index.js"],"names":["prefixAll","staticData","prefixInlineStyles","style","prefixedStyles","Object","keys","forEach","prop","value","Array","isArray","length"],"mappings":"8LAQA,gGACA,wDACA,GAAIA,CAAAA,SAAS,CAAG,4BAAeC,eAAf,CAAhB,C,aACeD,S,0BACR,GAAIE,CAAAA,kBAAkB,CAAG,QAASA,CAAAA,kBAAT,CAA4BC,KAA5B,CAAmC,CACjE,GAAIC,CAAAA,cAAc,CAAGJ,SAAS,CAACG,KAAD,CAA9B,CAGAE,MAAM,CAACC,IAAP,CAAYF,cAAZ,EAA4BG,OAA5B,CAAoC,SAAUC,IAAV,CAAgB,CAClD,GAAIC,CAAAA,KAAK,CAAGL,cAAc,CAACI,IAAD,CAA1B,CAEA,GAAIE,KAAK,CAACC,OAAN,CAAcF,KAAd,CAAJ,CAA0B,CACxBL,cAAc,CAACI,IAAD,CAAd,CAAuBC,KAAK,CAACA,KAAK,CAACG,MAAN,CAAe,CAAhB,CAA5B,CACD,CACF,CAND,EAOA,MAAOR,CAAAA,cAAP,CACD,CAZM,C","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createPrefixer from 'inline-style-prefixer/lib/createPrefixer';\nimport staticData from './static';\nvar prefixAll = createPrefixer(staticData);\nexport default prefixAll;\nexport var prefixInlineStyles = function prefixInlineStyles(style) {\n var prefixedStyles = prefixAll(style); // React@15 removed undocumented support for fallback values in\n // inline-styles. Revert array values to the standard CSS value\n\n Object.keys(prefixedStyles).forEach(function (prop) {\n var value = prefixedStyles[prop];\n\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1];\n }\n });\n return prefixedStyles;\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyLayout=_interopRequireDefault(require(\"../../modules/applyLayout\"));var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _propTypes=require(\"prop-types\");var _react=require(\"react\");var _createElement=_interopRequireDefault(require(\"../createElement\"));var _css=_interopRequireDefault(require(\"../StyleSheet/css\"));var _warning=_interopRequireDefault(require(\"fbjs/lib/warning\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _TextPropTypes=_interopRequireDefault(require(\"./TextPropTypes\"));function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var Text=function(_Component){_inheritsLoose(Text,_Component);function Text(){return _Component.apply(this,arguments)||this;}var _proto=Text.prototype;_proto.getChildContext=function getChildContext(){return{isInAParentText:true};};_proto.render=function render(){var _this$props=this.props,dir=_this$props.dir,numberOfLines=_this$props.numberOfLines,onPress=_this$props.onPress,selectable=_this$props.selectable,style=_this$props.style,adjustsFontSizeToFit=_this$props.adjustsFontSizeToFit,allowFontScaling=_this$props.allowFontScaling,ellipsizeMode=_this$props.ellipsizeMode,lineBreakMode=_this$props.lineBreakMode,maxFontSizeMultiplier=_this$props.maxFontSizeMultiplier,minimumFontScale=_this$props.minimumFontScale,onLayout=_this$props.onLayout,onLongPress=_this$props.onLongPress,pressRetentionOffset=_this$props.pressRetentionOffset,selectionColor=_this$props.selectionColor,suppressHighlighting=_this$props.suppressHighlighting,textBreakStrategy=_this$props.textBreakStrategy,tvParallaxProperties=_this$props.tvParallaxProperties,otherProps=_objectWithoutPropertiesLoose(_this$props,[\"dir\",\"numberOfLines\",\"onPress\",\"selectable\",\"style\",\"adjustsFontSizeToFit\",\"allowFontScaling\",\"ellipsizeMode\",\"lineBreakMode\",\"maxFontSizeMultiplier\",\"minimumFontScale\",\"onLayout\",\"onLongPress\",\"pressRetentionOffset\",\"selectionColor\",\"suppressHighlighting\",\"textBreakStrategy\",\"tvParallaxProperties\"]);var isInAParentText=this.context.isInAParentText;if(process.env.NODE_ENV!=='production'){(0,_warning.default)(this.props.className==null,'Using the \"className\" prop on <Text> is deprecated.');}if(onPress){otherProps.accessible=true;otherProps.onClick=this._createPressHandler(onPress);otherProps.onKeyDown=this._createEnterHandler(onPress);}otherProps.classList=[this.props.className,classes.text,this.context.isInAParentText===true&&classes.textHasAncestor,numberOfLines===1&&classes.textOneLine,numberOfLines>1&&classes.textMultiLine];otherProps.dir=dir!==undefined?dir:'auto';otherProps.style=[style,numberOfLines>1&&{WebkitLineClamp:numberOfLines},selectable===false&&styles.notSelectable,onPress&&styles.pressable];var component=isInAParentText?'span':'div';return(0,_createElement.default)(component,otherProps);};_proto._createEnterHandler=function _createEnterHandler(fn){return function(e){if(e.keyCode===13){fn&&fn(e);}};};_proto._createPressHandler=function _createPressHandler(fn){return function(e){e.stopPropagation();fn&&fn(e);};};return Text;}(_react.Component);Text.displayName='Text';Text.childContextTypes={isInAParentText:_propTypes.bool};Text.contextTypes={isInAParentText:_propTypes.bool};Text.propTypes=process.env.NODE_ENV!==\"production\"?_TextPropTypes.default:{};var classes=_css.default.create({text:{border:'0 solid black',boxSizing:'border-box',color:'black',display:'inline',font:'14px System',margin:0,padding:0,whiteSpace:'pre-wrap',wordWrap:'break-word'},textHasAncestor:{color:'inherit',font:'inherit',whiteSpace:'inherit'},textOneLine:{maxWidth:'100%',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'},textMultiLine:{display:'-webkit-box',maxWidth:'100%',overflow:'hidden',textOverflow:'ellipsis',WebkitBoxOrient:'vertical'}});var styles=_StyleSheet.default.create({notSelectable:{userSelect:'none'},pressable:{cursor:'pointer'}});var _default=(0,_applyLayout.default)((0,_applyNativeMethods.default)(Text));exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Text/index.js"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","Object","keys","key","i","length","indexOf","_inheritsLoose","subClass","superClass","prototype","create","constructor","__proto__","Text","_Component","apply","arguments","_proto","getChildContext","isInAParentText","render","_this$props","props","dir","numberOfLines","onPress","selectable","style","adjustsFontSizeToFit","allowFontScaling","ellipsizeMode","lineBreakMode","maxFontSizeMultiplier","minimumFontScale","onLayout","onLongPress","pressRetentionOffset","selectionColor","suppressHighlighting","textBreakStrategy","tvParallaxProperties","otherProps","context","process","env","NODE_ENV","className","accessible","onClick","_createPressHandler","onKeyDown","_createEnterHandler","classList","classes","text","textHasAncestor","textOneLine","textMultiLine","undefined","WebkitLineClamp","styles","notSelectable","pressable","component","fn","e","keyCode","stopPropagation","Component","displayName","childContextTypes","bool","contextTypes","propTypes","TextPropTypes","css","border","boxSizing","color","display","font","margin","padding","whiteSpace","wordWrap","maxWidth","overflow","textOverflow","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QAAQ,CAAE,MADC,CAEXC,QAAQ,CAAE,QAFC,CAGXC,YAAY,CAAE,UAHH,CAIXJ,UAAU,CAAE,QAJD,CAjBU,CAwBvB1B,aAAa,CAAE,CACbsB,OAAO,CAAE,aADI,CAEbM,QAAQ,CAAE,MAFG,CAGbC,QAAQ,CAAE,QAHG,CAIbC,YAAY,CAAE,UAJD,CAKbC,eAAe,CAAE,UALJ,CAxBQ,CAAX,CAAd,CAgCA,GAAI5B,CAAAA,MAAM,CAAG6B,oBAAW/E,MAAX,CAAkB,CAC7BmD,aAAa,CAAE,CACb6B,UAAU,CAAE,MADC,CADc,CAI7B5B,SAAS,CAAE,CACT6B,MAAM,CAAE,SADC,CAJkB,CAAlB,CAAb,C,aAQe,yBAAY,gCAAmB9E,IAAnB,CAAZ,C","sourcesContent":["function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyLayout from '../../modules/applyLayout';\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport { bool } from 'prop-types';\nimport { Component } from 'react';\nimport createElement from '../createElement';\nimport css from '../StyleSheet/css';\nimport warning from 'fbjs/lib/warning';\nimport StyleSheet from '../StyleSheet';\nimport TextPropTypes from './TextPropTypes';\n\nvar Text =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(Text, _Component);\n\n function Text() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Text.prototype;\n\n _proto.getChildContext = function getChildContext() {\n return {\n isInAParentText: true\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n dir = _this$props.dir,\n numberOfLines = _this$props.numberOfLines,\n onPress = _this$props.onPress,\n selectable = _this$props.selectable,\n style = _this$props.style,\n adjustsFontSizeToFit = _this$props.adjustsFontSizeToFit,\n allowFontScaling = _this$props.allowFontScaling,\n ellipsizeMode = _this$props.ellipsizeMode,\n lineBreakMode = _this$props.lineBreakMode,\n maxFontSizeMultiplier = _this$props.maxFontSizeMultiplier,\n minimumFontScale = _this$props.minimumFontScale,\n onLayout = _this$props.onLayout,\n onLongPress = _this$props.onLongPress,\n pressRetentionOffset = _this$props.pressRetentionOffset,\n selectionColor = _this$props.selectionColor,\n suppressHighlighting = _this$props.suppressHighlighting,\n textBreakStrategy = _this$props.textBreakStrategy,\n tvParallaxProperties = _this$props.tvParallaxProperties,\n otherProps = _objectWithoutPropertiesLoose(_this$props, [\"dir\", \"numberOfLines\", \"onPress\", \"selectable\", \"style\", \"adjustsFontSizeToFit\", \"allowFontScaling\", \"ellipsizeMode\", \"lineBreakMode\", \"maxFontSizeMultiplier\", \"minimumFontScale\", \"onLayout\", \"onLongPress\", \"pressRetentionOffset\", \"selectionColor\", \"suppressHighlighting\", \"textBreakStrategy\", \"tvParallaxProperties\"]);\n\n var isInAParentText = this.context.isInAParentText;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(this.props.className == null, 'Using the \"className\" prop on <Text> is deprecated.');\n }\n\n if (onPress) {\n otherProps.accessible = true;\n otherProps.onClick = this._createPressHandler(onPress);\n otherProps.onKeyDown = this._createEnterHandler(onPress);\n }\n\n otherProps.classList = [this.props.className, classes.text, this.context.isInAParentText === true && classes.textHasAncestor, numberOfLines === 1 && classes.textOneLine, numberOfLines > 1 && classes.textMultiLine]; // allow browsers to automatically infer the language writing direction\n\n otherProps.dir = dir !== undefined ? dir : 'auto';\n otherProps.style = [style, numberOfLines > 1 && {\n WebkitLineClamp: numberOfLines\n }, selectable === false && styles.notSelectable, onPress && styles.pressable];\n var component = isInAParentText ? 'span' : 'div';\n return createElement(component, otherProps);\n };\n\n _proto._createEnterHandler = function _createEnterHandler(fn) {\n return function (e) {\n if (e.keyCode === 13) {\n fn && fn(e);\n }\n };\n };\n\n _proto._createPressHandler = function _createPressHandler(fn) {\n return function (e) {\n e.stopPropagation();\n fn && fn(e);\n };\n };\n\n return Text;\n}(Component);\n\nText.displayName = 'Text';\nText.childContextTypes = {\n isInAParentText: bool\n};\nText.contextTypes = {\n isInAParentText: bool\n};\nText.propTypes = process.env.NODE_ENV !== \"production\" ? TextPropTypes : {};\nvar classes = css.create({\n text: {\n border: '0 solid black',\n boxSizing: 'border-box',\n color: 'black',\n display: 'inline',\n font: '14px System',\n margin: 0,\n padding: 0,\n whiteSpace: 'pre-wrap',\n wordWrap: 'break-word'\n },\n textHasAncestor: {\n color: 'inherit',\n font: 'inherit',\n whiteSpace: 'inherit'\n },\n textOneLine: {\n maxWidth: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n },\n // See #13\n textMultiLine: {\n display: '-webkit-box',\n maxWidth: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n WebkitBoxOrient: 'vertical'\n }\n});\nvar styles = StyleSheet.create({\n notSelectable: {\n userSelect: 'none'\n },\n pressable: {\n cursor: 'pointer'\n }\n});\nexport default applyLayout(applyNativeMethods(Text));"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _core=require(\"@react-navigation/core\");var FAR_FAR_AWAY=3000;var ResourceSavingSceneView=function(_React$PureComponent){(0,_inherits2.default)(ResourceSavingSceneView,_React$PureComponent);(0,_createClass2.default)(ResourceSavingSceneView,null,[{key:\"getDerivedStateFromProps\",value:function getDerivedStateFromProps(nextProps,prevState){if(nextProps.isFocused&&!prevState.awake){return{awake:true};}else{return null;}}}]);function ResourceSavingSceneView(props){var _this;(0,_classCallCheck2.default)(this,ResourceSavingSceneView);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ResourceSavingSceneView).call(this));_this._mustAlwaysBeVisible=function(){return _this.props.animationEnabled||_this.props.swipeEnabled;};_this.state={awake:props.lazy?props.isFocused:true};return _this;}(0,_createClass2.default)(ResourceSavingSceneView,[{key:\"render\",value:function render(){var awake=this.state.awake;var _this$props=this.props,isFocused=_this$props.isFocused,childNavigation=_this$props.childNavigation,removeClippedSubviews=_this$props.removeClippedSubviews,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"isFocused\",\"childNavigation\",\"removeClippedSubviews\"]);return _react.default.createElement(_View.default,{style:styles.container,collapsable:false,removeClippedSubviews:_Platform.default.OS==='android'?removeClippedSubviews:!isFocused&&removeClippedSubviews},_react.default.createElement(_View.default,{style:this._mustAlwaysBeVisible()||isFocused?styles.innerAttached:styles.innerDetached},awake?_react.default.createElement(_core.SceneView,(0,_extends2.default)({},rest,{navigation:childNavigation})):null));}}]);return ResourceSavingSceneView;}(_react.default.PureComponent);var styles=_StyleSheet.default.create({container:{flex:1,overflow:'hidden'},innerAttached:{flex:1},innerDetached:{flex:1,top:FAR_FAR_AWAY}});var _default=ResourceSavingSceneView;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/ResourceSavingSceneView.js"],"names":["FAR_FAR_AWAY","ResourceSavingSceneView","nextProps","prevState","isFocused","awake","props","_mustAlwaysBeVisible","animationEnabled","swipeEnabled","state","lazy","childNavigation","removeClippedSubviews","rest","styles","container","Platform","OS","innerAttached","innerDetached","React","PureComponent","StyleSheet","create","flex","overflow","top"],"mappings":"6zBAAA,oD,oQAEA,4CAEA,GAAMA,CAAAA,YAAY,CAAG,IAArB,C,GAEMC,CAAAA,uB,qOAC4BC,S,CAAWC,S,CAAW,CACpD,GAAID,SAAS,CAACE,SAAV,EAAuB,CAACD,SAAS,CAACE,KAAtC,CAA6C,CAC3C,MAAO,CAAEA,KAAK,CAAE,IAAT,CAAP,CACD,CAFD,IAEO,CACL,MAAO,KAAP,CACD,CACF,C,IAED,iCAAYC,KAAZ,CAAmB,sEACjB,qHADiB,MAwBnBC,oBAxBmB,CAwBI,UAAM,CAC3B,MAAO,OAAKD,KAAL,CAAWE,gBAAX,EAA+B,MAAKF,KAAL,CAAWG,YAAjD,CACD,CA1BkB,CAGjB,MAAKC,KAAL,CAAa,CACXL,KAAK,CAAEC,KAAK,CAACK,IAAN,CAAaL,KAAK,CAACF,SAAnB,CAA+B,IAD3B,CAAb,CAHiB,aAMlB,C,wFAEQ,IACCC,CAAAA,KADD,CACW,KAAKK,KADhB,CACCL,KADD,iBAOH,KAAKC,KAPF,CAGLF,SAHK,aAGLA,SAHK,CAILQ,eAJK,aAILA,eAJK,CAKLC,qBALK,aAKLA,qBALK,CAMFC,IANE,4GASP,MAAO,8BAAC,aAAD,EAAM,KAAK,CAAEC,MAAM,CAACC,SAApB,CAA+B,WAAW,CAAE,KAA5C,CAAmD,qBAAqB,CAAEC,kBAASC,EAAT,GAAgB,SAAhB,CAA4BL,qBAA5B,CAAoD,CAACT,SAAD,EAAcS,qBAA5I,EACH,6BAAC,aAAD,EAAM,KAAK,CAAE,KAAKN,oBAAL,IAA+BH,SAA/B,CAA2CW,MAAM,CAACI,aAAlD,CAAkEJ,MAAM,CAACK,aAAtF,EACGf,KAAK,CAAG,6BAAC,eAAD,0BAAeS,IAAf,EAAqB,UAAU,CAAEF,eAAjC,GAAH,CAA0D,IADlE,CADG,CAAP,CAKD,C,qCA/BmCS,eAAMC,a,EAsC5C,GAAMP,CAAAA,MAAM,CAAGQ,oBAAWC,MAAX,CAAkB,CAC/BR,SAAS,CAAE,CACTS,IAAI,CAAE,CADG,CAETC,QAAQ,CAAE,QAFD,CADoB,CAK/BP,aAAa,CAAE,CACbM,IAAI,CAAE,CADO,CALgB,CAQ/BL,aAAa,CAAE,CACbK,IAAI,CAAE,CADO,CAEbE,GAAG,CAAE3B,YAFQ,CARgB,CAAlB,CAAf,C,aAceC,uB","sourcesContent":["import React from 'react';\nimport { Platform, StyleSheet, View } from 'react-native';\nimport { SceneView } from '@react-navigation/core';\n\nconst FAR_FAR_AWAY = 3000; // this should be big enough to move the whole view out of its container\n\nclass ResourceSavingSceneView extends React.PureComponent {\n static getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.isFocused && !prevState.awake) {\n return { awake: true };\n } else {\n return null;\n }\n }\n\n constructor(props) {\n super();\n\n this.state = {\n awake: props.lazy ? props.isFocused : true\n };\n }\n\n render() {\n const { awake } = this.state;\n const {\n isFocused,\n childNavigation,\n removeClippedSubviews,\n ...rest\n } = this.props;\n\n return <View style={styles.container} collapsable={false} removeClippedSubviews={Platform.OS === 'android' ? removeClippedSubviews : !isFocused && removeClippedSubviews}>\n <View style={this._mustAlwaysBeVisible() || isFocused ? styles.innerAttached : styles.innerDetached}>\n {awake ? <SceneView {...rest} navigation={childNavigation} /> : null}\n </View>\n </View>;\n }\n\n _mustAlwaysBeVisible = () => {\n return this.props.animationEnabled || this.props.swipeEnabled;\n };\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n overflow: 'hidden'\n },\n innerAttached: {\n flex: 1\n },\n innerDetached: {\n flex: 1,\n top: FAR_FAR_AWAY\n }\n});\n\nexport default ResourceSavingSceneView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var Platform={OS:_Platform.default.OS};var _default=Platform;exports.default=_default;","map":{"version":3,"sources":["../src/Platform.ts"],"names":[],"mappings":"2PAEA,GAAM,CAAA,QAAQ,CAAG,CACf,EAAE,CAAE,kBAAoB,EADT,CAAjB,C,aAIe,Q","sourcesContent":["import { Platform as ReactNativePlatform } from 'react-native';\n\nconst Platform = {\n OS: ReactNativePlatform.OS,\n};\n\nexport default Platform;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.allow=allow;exports.allowAsync=allowAsync;exports.lockAsync=lockAsync;exports.lockPlatformAsync=lockPlatformAsync;exports.unlockAsync=unlockAsync;exports.getOrientationAsync=getOrientationAsync;exports.getOrientationLockAsync=getOrientationLockAsync;exports.getPlatformOrientationLockAsync=getPlatformOrientationLockAsync;exports.supportsOrientationLockAsync=supportsOrientationLockAsync;exports.doesSupportAsync=doesSupportAsync;exports.addOrientationChangeListener=addOrientationChangeListener;exports.removeOrientationChangeListeners=removeOrientationChangeListeners;exports.removeOrientationChangeListener=removeOrientationChangeListener;Object.defineProperty(exports,\"Orientation\",{enumerable:true,get:function get(){return _ScreenOrientation.Orientation;}});Object.defineProperty(exports,\"OrientationLock\",{enumerable:true,get:function get(){return _ScreenOrientation.OrientationLock;}});Object.defineProperty(exports,\"SizeClassIOS\",{enumerable:true,get:function get(){return _ScreenOrientation.SizeClassIOS;}});Object.defineProperty(exports,\"WebOrientationLock\",{enumerable:true,get:function get(){return _ScreenOrientation.WebOrientationLock;}});var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _core=require(\"@unimodules/core\");var _ExpoScreenOrientation=_interopRequireDefault(require(\"./ExpoScreenOrientation\"));var _ScreenOrientation=require(\"./ScreenOrientation.types\");var _orientationChangeEmitter=new _core.EventEmitter(_ExpoScreenOrientation.default);var _orientationChangeSubscribers=[];var _lastOrientationLock=_ScreenOrientation.OrientationLock.UNKNOWN;function allow(orientationLock){console.warn(\"'ScreenOrientation.allow' is deprecated in favour of 'ScreenOrientation.lockAsync' and will be removed in SDK 35 or later\");lockAsync(orientationLock);}function allowAsync(orientationLock){return _regenerator.default.async(function allowAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:console.warn(\"'ScreenOrientation.allowAsync' is deprecated in favour of 'ScreenOrientation.lockAsync'\");_context.next=3;return _regenerator.default.awrap(lockAsync(orientationLock));case 3:case\"end\":return _context.stop();}}});}function lockAsync(orientationLock){var orientationLocks;return _regenerator.default.async(function lockAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(_ExpoScreenOrientation.default.lockAsync){_context2.next=2;break;}throw new _core.UnavailabilityError('ScreenOrientation','lockAsync');case 2:orientationLocks=Object.values(_ScreenOrientation.OrientationLock);if(orientationLocks.includes(orientationLock)){_context2.next=5;break;}throw new TypeError(\"Invalid Orientation Lock: \"+orientationLock);case 5:if(!(orientationLock===_ScreenOrientation.OrientationLock.OTHER)){_context2.next=7;break;}return _context2.abrupt(\"return\");case 7:_context2.next=9;return _regenerator.default.awrap(_ExpoScreenOrientation.default.lockAsync(orientationLock));case 9:_lastOrientationLock=orientationLock;case 10:case\"end\":return _context2.stop();}}});}function lockPlatformAsync(options){var screenOrientationConstantAndroid,screenOrientationArrayIOS,screenOrientationLockWeb,platformOrientationParam,orientations,_iterator,_isArray,_i,_ref,_orientation,webOrientationLocks;return _regenerator.default.async(function lockPlatformAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:if(_ExpoScreenOrientation.default.lockPlatformAsync){_context3.next=2;break;}throw new _core.UnavailabilityError('ScreenOrientation','lockPlatformAsync');case 2:screenOrientationConstantAndroid=options.screenOrientationConstantAndroid,screenOrientationArrayIOS=options.screenOrientationArrayIOS,screenOrientationLockWeb=options.screenOrientationLockWeb;if(!(_core.Platform.OS==='android'&&screenOrientationConstantAndroid)){_context3.next=9;break;}if(!isNaN(screenOrientationConstantAndroid)){_context3.next=6;break;}throw new TypeError(\"lockPlatformAsync Android platform: screenOrientationConstantAndroid cannot be called with \"+screenOrientationConstantAndroid);case 6:platformOrientationParam=screenOrientationConstantAndroid;_context3.next=37;break;case 9:if(!(_core.Platform.OS==='ios'&&screenOrientationArrayIOS)){_context3.next=32;break;}if(Array.isArray(screenOrientationArrayIOS)){_context3.next=12;break;}throw new TypeError(\"lockPlatformAsync iOS platform: screenOrientationArrayIOS cannot be called with \"+screenOrientationArrayIOS);case 12:orientations=Object.values(_ScreenOrientation.Orientation);_iterator=screenOrientationArrayIOS,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();case 14:if(!_isArray){_context3.next=20;break;}if(!(_i>=_iterator.length)){_context3.next=17;break;}return _context3.abrupt(\"break\",29);case 17:_ref=_iterator[_i++];_context3.next=24;break;case 20:_i=_iterator.next();if(!_i.done){_context3.next=23;break;}return _context3.abrupt(\"break\",29);case 23:_ref=_i.value;case 24:_orientation=_ref;if(orientations.includes(_orientation)){_context3.next=27;break;}throw new TypeError(\"lockPlatformAsync iOS platform: \"+_orientation+\" is not a valid Orientation\");case 27:_context3.next=14;break;case 29:platformOrientationParam=screenOrientationArrayIOS;_context3.next=37;break;case 32:if(!(_core.Platform.OS==='web'&&screenOrientationLockWeb)){_context3.next=37;break;}webOrientationLocks=Object.values(_ScreenOrientation.WebOrientationLock);if(webOrientationLocks.includes(screenOrientationLockWeb)){_context3.next=36;break;}throw new TypeError(\"Invalid Web Orientation Lock: \"+screenOrientationLockWeb);case 36:platformOrientationParam=screenOrientationLockWeb;case 37:if(platformOrientationParam){_context3.next=39;break;}throw new TypeError('lockPlatformAsync cannot be called with undefined option properties');case 39:_context3.next=41;return _regenerator.default.awrap(_ExpoScreenOrientation.default.lockPlatformAsync(platformOrientationParam));case 41:_lastOrientationLock=_ScreenOrientation.OrientationLock.OTHER;case 42:case\"end\":return _context3.stop();}}});}function unlockAsync(){return _regenerator.default.async(function unlockAsync$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:if(_ExpoScreenOrientation.default.unlockAsync){_context4.next=2;break;}throw new _core.UnavailabilityError('ScreenOrientation','unlockAsync');case 2:_context4.next=4;return _regenerator.default.awrap(_ExpoScreenOrientation.default.unlockAsync());case 4:case\"end\":return _context4.stop();}}});}function getOrientationAsync(){return _regenerator.default.async(function getOrientationAsync$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:if(_ExpoScreenOrientation.default.getOrientationAsync){_context5.next=2;break;}throw new _core.UnavailabilityError('ScreenOrientation','getOrientationAsync');case 2:_context5.next=4;return _regenerator.default.awrap(_ExpoScreenOrientation.default.getOrientationAsync());case 4:return _context5.abrupt(\"return\",_context5.sent);case 5:case\"end\":return _context5.stop();}}});}function getOrientationLockAsync(){return _regenerator.default.async(function getOrientationLockAsync$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:if(_ExpoScreenOrientation.default.getOrientationLockAsync){_context6.next=2;break;}return _context6.abrupt(\"return\",_lastOrientationLock);case 2:_context6.next=4;return _regenerator.default.awrap(_ExpoScreenOrientation.default.getOrientationLockAsync());case 4:return _context6.abrupt(\"return\",_context6.sent);case 5:case\"end\":return _context6.stop();}}});}function getPlatformOrientationLockAsync(){var platformOrientationLock;return _regenerator.default.async(function getPlatformOrientationLockAsync$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_context7.next=2;return _regenerator.default.awrap(_ExpoScreenOrientation.default.getPlatformOrientationLockAsync());case 2:platformOrientationLock=_context7.sent;if(!(_core.Platform.OS==='android')){_context7.next=7;break;}return _context7.abrupt(\"return\",{screenOrientationConstantAndroid:platformOrientationLock});case 7:if(!(_core.Platform.OS==='ios')){_context7.next=11;break;}return _context7.abrupt(\"return\",{screenOrientationArrayIOS:platformOrientationLock});case 11:if(!(_core.Platform.OS==='web')){_context7.next=15;break;}return _context7.abrupt(\"return\",{screenOrientationLockWeb:platformOrientationLock});case 15:return _context7.abrupt(\"return\",{});case 16:case\"end\":return _context7.stop();}}});}function supportsOrientationLockAsync(orientationLock){var orientationLocks;return _regenerator.default.async(function supportsOrientationLockAsync$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:if(_ExpoScreenOrientation.default.supportsOrientationLockAsync){_context8.next=2;break;}throw new _core.UnavailabilityError('ScreenOrientation','supportsOrientationLockAsync');case 2:orientationLocks=Object.values(_ScreenOrientation.OrientationLock);if(orientationLocks.includes(orientationLock)){_context8.next=5;break;}throw new TypeError(\"Invalid Orientation Lock: \"+orientationLock);case 5:_context8.next=7;return _regenerator.default.awrap(_ExpoScreenOrientation.default.supportsOrientationLockAsync(orientationLock));case 7:return _context8.abrupt(\"return\",_context8.sent);case 8:case\"end\":return _context8.stop();}}});}function doesSupportAsync(orientationLock){return _regenerator.default.async(function doesSupportAsync$(_context9){while(1){switch(_context9.prev=_context9.next){case 0:console.warn(\"'ScreenOrientation.doesSupportAsync' is deprecated in favour of 'ScreenOrientation.supportsOrientationLockAsync'\");_context9.next=3;return _regenerator.default.awrap(supportsOrientationLockAsync(orientationLock));case 3:return _context9.abrupt(\"return\",_context9.sent);case 4:case\"end\":return _context9.stop();}}});}function getEventName(){return _core.Platform.OS==='ios'||_core.Platform.OS==='web'?'expoDidUpdateDimensions':'didUpdateDimensions';}function addOrientationChangeListener(listener){if(typeof listener!=='function'){throw new TypeError(\"addOrientationChangeListener cannot be called with \"+listener);}var subscription=_orientationChangeEmitter.addListener(getEventName(),function _callee(update){var orientationInfo,orientationLock,_ref2,_ref3;return _regenerator.default.async(function _callee$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:if(!(_core.Platform.OS==='ios'||_core.Platform.OS==='web')){_context10.next=5;break;}orientationLock=update.orientationLock;orientationInfo=update.orientationInfo;_context10.next=11;break;case 5:_context10.next=7;return _regenerator.default.awrap(Promise.all([getOrientationLockAsync(),getOrientationAsync()]));case 7:_ref2=_context10.sent;_ref3=(0,_slicedToArray2.default)(_ref2,2);orientationLock=_ref3[0];orientationInfo=_ref3[1];case 11:listener({orientationInfo:orientationInfo,orientationLock:orientationLock});case 12:case\"end\":return _context10.stop();}}});});_orientationChangeSubscribers.push(subscription);return subscription;}function removeOrientationChangeListeners(){var i=_orientationChangeSubscribers.length;while(i--){var subscriber=_orientationChangeSubscribers[i];subscriber.remove();_orientationChangeSubscribers.pop();}}function removeOrientationChangeListener(subscription){if(!subscription||!subscription.remove){throw new TypeError(\"Must pass in a valid subscription\");}subscription.remove();_orientationChangeSubscribers=_orientationChangeSubscribers.filter(function(sub){return sub!==subscription;});}","map":{"version":3,"sources":["../../src/ScreenOrientation/ScreenOrientation.ts"],"names":[],"mappings":"i8CAAA,sCAEA,sFACA,4DAsBA,GAAM,CAAA,yBAAyB,CAAG,GAAI,mBAAJ,CAAiB,8BAAjB,CAAlC,CACA,GAAI,CAAA,6BAA6B,CAAmB,EAApD,CAEA,GAAI,CAAA,oBAAoB,CAAoB,mCAAgB,OAA5D,CAEM,QAAU,CAAA,KAAV,CAAgB,eAAhB,CAAgD,CACpD,OAAO,CAAC,IAAR,CACE,2HADF,EAGA,SAAS,CAAC,eAAD,CAAT,CACD,CAEM,QAAe,CAAA,UAAf,CAA0B,eAA1B,uHACL,OAAO,CAAC,IA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,CAAD,CAAhD,CACA,UAAU,CAAC,MAAX,GAGA,6BAA6B,CAAC,GAA9B,GACD,CACF,CAEK,QAAU,CAAA,+BAAV,CAA0C,YAA1C,CAAoE,CACxE,GAAI,CAAC,YAAD,EAAiB,CAAC,YAAY,CAAC,MAAnC,CAA2C,CACzC,KAAM,IAAI,CAAA,SAAJ,qCAAN,CACD,CACD,YAAY,CAAC,MAAb,GACA,6BAA6B,CAAG,6BAA6B,CAAC,MAA9B,CAAqC,SAAA,GAAG,QAAI,CAAA,GAAG,GAAK,YAAZ,EAAxC,CAAhC,CACD","sourcesContent":["import { EventEmitter, Platform, Subscription, UnavailabilityError } from '@unimodules/core';\n\nimport ExpoScreenOrientation from './ExpoScreenOrientation';\nimport {\n Orientation,\n OrientationChangeEvent,\n OrientationChangeListener,\n OrientationInfo,\n OrientationLock,\n PlatformOrientationInfo,\n SizeClassIOS,\n WebOrientationLock,\n} from './ScreenOrientation.types';\n\nexport {\n Orientation,\n OrientationLock,\n SizeClassIOS,\n OrientationInfo,\n PlatformOrientationInfo,\n OrientationChangeListener,\n OrientationChangeEvent,\n WebOrientationLock,\n};\n\nconst _orientationChangeEmitter = new EventEmitter(ExpoScreenOrientation);\nlet _orientationChangeSubscribers: Subscription[] = [];\n\nlet _lastOrientationLock: OrientationLock = OrientationLock.UNKNOWN;\n\nexport function allow(orientationLock: OrientationLock): void {\n console.warn(\n \"'ScreenOrientation.allow' is deprecated in favour of 'ScreenOrientation.lockAsync' and will be removed in SDK 35 or later\"\n );\n lockAsync(orientationLock);\n}\n\nexport async function allowAsync(orientationLock: OrientationLock): Promise<void> {\n console.warn(\n \"'ScreenOrientation.allowAsync' is deprecated in favour of 'ScreenOrientation.lockAsync'\"\n );\n await lockAsync(orientationLock);\n}\n\nexport async function lockAsync(orientationLock: OrientationLock): Promise<void> {\n if (!ExpoScreenOrientation.lockAsync) {\n throw new UnavailabilityError('ScreenOrientation', 'lockAsync');\n }\n\n const orientationLocks = Object.values(OrientationLock);\n if (!orientationLocks.includes(orientationLock)) {\n throw new TypeError(`Invalid Orientation Lock: ${orientationLock}`);\n }\n\n if (orientationLock === OrientationLock.OTHER) {\n return;\n }\n\n await ExpoScreenOrientation.lockAsync(orientationLock);\n _lastOrientationLock = orientationLock;\n}\n\nexport async function lockPlatformAsync(options: PlatformOrientationInfo): Promise<void> {\n if (!ExpoScreenOrientation.lockPlatformAsync) {\n throw new UnavailabilityError('ScreenOrientation', 'lockPlatformAsync');\n }\n\n const {\n screenOrientationConstantAndroid,\n screenOrientationArrayIOS,\n screenOrientationLockWeb,\n } = options;\n let platformOrientationParam: any;\n if (Platform.OS === 'android' && screenOrientationConstantAndroid) {\n if (isNaN(screenOrientationConstantAndroid)) {\n throw new TypeError(\n `lockPlatformAsync Android platform: screenOrientationConstantAndroid cannot be called with ${screenOrientationConstantAndroid}`\n );\n }\n platformOrientationParam = screenOrientationConstantAndroid;\n } else if (Platform.OS === 'ios' && screenOrientationArrayIOS) {\n if (!Array.isArray(screenOrientationArrayIOS)) {\n throw new TypeError(\n `lockPlatformAsync iOS platform: screenOrientationArrayIOS cannot be called with ${screenOrientationArrayIOS}`\n );\n }\n\n const orientations = Object.values(Orientation);\n for (let orientation of screenOrientationArrayIOS) {\n if (!orientations.includes(orientation)) {\n throw new TypeError(\n `lockPlatformAsync iOS platform: ${orientation} is not a valid Orientation`\n );\n }\n }\n platformOrientationParam = screenOrientationArrayIOS;\n } else if (Platform.OS === 'web' && screenOrientationLockWeb) {\n const webOrientationLocks = Object.values(WebOrientationLock);\n if (!webOrientationLocks.includes(screenOrientationLockWeb)) {\n throw new TypeError(`Invalid Web Orientation Lock: ${screenOrientationLockWeb}`);\n }\n platformOrientationParam = screenOrientationLockWeb;\n }\n\n if (!platformOrientationParam) {\n throw new TypeError('lockPlatformAsync cannot be called with undefined option properties');\n }\n await ExpoScreenOrientation.lockPlatformAsync(platformOrientationParam);\n _lastOrientationLock = OrientationLock.OTHER;\n}\n\nexport async function unlockAsync(): Promise<void> {\n if (!ExpoScreenOrientation.unlockAsync) {\n throw new UnavailabilityError('ScreenOrientation', 'unlockAsync');\n }\n await ExpoScreenOrientation.unlockAsync();\n}\n\nexport async function getOrientationAsync(): Promise<OrientationInfo> {\n if (!ExpoScreenOrientation.getOrientationAsync) {\n throw new UnavailabilityError('ScreenOrientation', 'getOrientationAsync');\n }\n return await ExpoScreenOrientation.getOrientationAsync();\n}\n\nexport async function getOrientationLockAsync(): Promise<OrientationLock> {\n if (!ExpoScreenOrientation.getOrientationLockAsync) {\n return _lastOrientationLock;\n }\n return await ExpoScreenOrientation.getOrientationLockAsync();\n}\n\nexport async function getPlatformOrientationLockAsync(): Promise<PlatformOrientationInfo> {\n const platformOrientationLock = await ExpoScreenOrientation.getPlatformOrientationLockAsync();\n if (Platform.OS === 'android') {\n return {\n screenOrientationConstantAndroid: platformOrientationLock,\n };\n } else if (Platform.OS === 'ios') {\n return {\n screenOrientationArrayIOS: platformOrientationLock,\n };\n } else if (Platform.OS === 'web') {\n return {\n screenOrientationLockWeb: platformOrientationLock,\n };\n } else {\n return {};\n }\n}\n\nexport async function supportsOrientationLockAsync(\n orientationLock: OrientationLock\n): Promise<boolean> {\n if (!ExpoScreenOrientation.supportsOrientationLockAsync) {\n throw new UnavailabilityError('ScreenOrientation', 'supportsOrientationLockAsync');\n }\n\n const orientationLocks = Object.values(OrientationLock);\n if (!orientationLocks.includes(orientationLock)) {\n throw new TypeError(`Invalid Orientation Lock: ${orientationLock}`);\n }\n\n return await ExpoScreenOrientation.supportsOrientationLockAsync(orientationLock);\n}\n\nexport async function doesSupportAsync(orientationLock: OrientationLock): Promise<boolean> {\n console.warn(\n \"'ScreenOrientation.doesSupportAsync' is deprecated in favour of 'ScreenOrientation.supportsOrientationLockAsync'\"\n );\n return await supportsOrientationLockAsync(orientationLock);\n}\n\n// Determine the event name lazily so Jest can set up mocks in advance\nfunction getEventName(): string {\n return Platform.OS === 'ios' || Platform.OS === 'web'\n ? 'expoDidUpdateDimensions'\n : 'didUpdateDimensions';\n}\n\n// We rely on RN to emit `didUpdateDimensions`\n// If this method no longer works, it's possible that the underlying RN implementation has changed\n// see https://github.com/facebook/react-native/blob/c31f79fe478b882540d7fd31ee37b53ddbd60a17/ReactAndroid/src/main/java/com/facebook/react/modules/deviceinfo/DeviceInfoModule.java#L90\nexport function addOrientationChangeListener(listener: OrientationChangeListener): Subscription {\n if (typeof listener !== 'function') {\n throw new TypeError(`addOrientationChangeListener cannot be called with ${listener}`);\n }\n const subscription = _orientationChangeEmitter.addListener(\n getEventName(),\n async (update: OrientationChangeEvent) => {\n let orientationInfo, orientationLock;\n if (Platform.OS === 'ios' || Platform.OS === 'web') {\n // For iOS, RN relies on statusBarOrientation (deprecated) to emit `didUpdateDimensions` event, so we emit our own `expoDidUpdateDimensions` event instead\n orientationLock = update.orientationLock;\n orientationInfo = update.orientationInfo;\n } else {\n // We rely on the RN Dimensions to emit the `didUpdateDimensions` event on Android\n [orientationLock, orientationInfo] = await Promise.all([\n getOrientationLockAsync(),\n getOrientationAsync(),\n ]);\n }\n listener({ orientationInfo, orientationLock });\n }\n );\n _orientationChangeSubscribers.push(subscription);\n return subscription;\n}\n\n// We need to keep track of our own subscribers because EventEmitter uses a shared subscriber\n// from NativeEventEmitter that is registered to the same eventTypes as us. Directly calling\n// removeAllListeners(eventName) will remove other module's subscribers.\nexport function removeOrientationChangeListeners(): void {\n // Remove listener by subscription instead of eventType to avoid clobbering Dimension module's subscription of didUpdateDimensions\n let i = _orientationChangeSubscribers.length;\n while (i--) {\n const subscriber = _orientationChangeSubscribers[i];\n subscriber.remove();\n\n // remove after a successful unsubscribe\n _orientationChangeSubscribers.pop();\n }\n}\n\nexport function removeOrientationChangeListener(subscription: Subscription): void {\n if (!subscription || !subscription.remove) {\n throw new TypeError(`Must pass in a valid subscription`);\n }\n subscription.remove();\n _orientationChangeSubscribers = _orientationChangeSubscribers.filter(sub => sub !== subscription);\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var EventSubscription=function(){function EventSubscription(subscriber){this.subscriber=subscriber;}var _proto=EventSubscription.prototype;_proto.remove=function remove(){this.subscriber.removeSubscription(this);};return EventSubscription;}();var _default=EventSubscription;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/emitter/EventSubscription.js"],"names":["EventSubscription","subscriber","_proto","prototype","remove","removeSubscription"],"mappings":"AASA,a,gFAMA,GAAIA,CAAAA,iBAAiB,CAErB,UAAY,CAKV,QAASA,CAAAA,iBAAT,CAA2BC,UAA3B,CAAuC,CACrC,KAAKA,UAAL,CAAkBA,UAAlB,CACD,CAMD,GAAIC,CAAAA,MAAM,CAAGF,iBAAiB,CAACG,SAA/B,CAEAD,MAAM,CAACE,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,KAAKH,UAAL,CAAgBI,kBAAhB,CAAmC,IAAnC,EACD,CAFD,CAIA,MAAOL,CAAAA,iBAAP,CACD,CApBD,EAFA,C,aAwBeA,iB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule EventSubscription\n * \n */\n'use strict';\n\n/**\n * EventSubscription represents a subscription to a particular event. It can\n * remove its own subscription.\n */\nvar EventSubscription =\n/*#__PURE__*/\nfunction () {\n /**\n * @param {EventSubscriptionVendor} subscriber the subscriber that controls\n * this subscription.\n */\n function EventSubscription(subscriber) {\n this.subscriber = subscriber;\n }\n /**\n * Removes this subscription from the subscriber that controls it.\n */\n\n\n var _proto = EventSubscription.prototype;\n\n _proto.remove = function remove() {\n this.subscriber.removeSubscription(this);\n };\n\n return EventSubscription;\n}();\n\nexport default EventSubscription;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"(function(global,undefined){\"use strict\";if(global.setImmediate){return;}var nextHandle=1;var tasksByHandle={};var currentlyRunningATask=false;var doc=global.document;var registerImmediate;function setImmediate(callback){if(typeof callback!==\"function\"){callback=new Function(\"\"+callback);}var args=new Array(arguments.length-1);for(var i=0;i<args.length;i++){args[i]=arguments[i+1];}var task={callback:callback,args:args};tasksByHandle[nextHandle]=task;registerImmediate(nextHandle);return nextHandle++;}function clearImmediate(handle){delete tasksByHandle[handle];}function run(task){var callback=task.callback;var args=task.args;switch(args.length){case 0:callback();break;case 1:callback(args[0]);break;case 2:callback(args[0],args[1]);break;case 3:callback(args[0],args[1],args[2]);break;default:callback.apply(undefined,args);break;}}function runIfPresent(handle){if(currentlyRunningATask){setTimeout(runIfPresent,0,handle);}else{var task=tasksByHandle[handle];if(task){currentlyRunningATask=true;try{run(task);}finally{clearImmediate(handle);currentlyRunningATask=false;}}}}function installNextTickImplementation(){registerImmediate=function registerImmediate(handle){process.nextTick(function(){runIfPresent(handle);});};}function canUsePostMessage(){if(global.postMessage&&!global.importScripts){var postMessageIsAsynchronous=true;var oldOnMessage=global.onmessage;global.onmessage=function(){postMessageIsAsynchronous=false;};global.postMessage(\"\",\"*\");global.onmessage=oldOnMessage;return postMessageIsAsynchronous;}}function installPostMessageImplementation(){var messagePrefix=\"setImmediate$\"+Math.random()+\"$\";var onGlobalMessage=function onGlobalMessage(event){if(event.source===global&&typeof event.data===\"string\"&&event.data.indexOf(messagePrefix)===0){runIfPresent(+event.data.slice(messagePrefix.length));}};if(global.addEventListener){global.addEventListener(\"message\",onGlobalMessage,false);}else{global.attachEvent(\"onmessage\",onGlobalMessage);}registerImmediate=function registerImmediate(handle){global.postMessage(messagePrefix+handle,\"*\");};}function installMessageChannelImplementation(){var channel=new MessageChannel();channel.port1.onmessage=function(event){var handle=event.data;runIfPresent(handle);};registerImmediate=function registerImmediate(handle){channel.port2.postMessage(handle);};}function installReadyStateChangeImplementation(){var html=doc.documentElement;registerImmediate=function registerImmediate(handle){var script=doc.createElement(\"script\");script.onreadystatechange=function(){runIfPresent(handle);script.onreadystatechange=null;html.removeChild(script);script=null;};html.appendChild(script);};}function installSetTimeoutImplementation(){registerImmediate=function registerImmediate(handle){setTimeout(runIfPresent,0,handle);};}var attachTo=Object.getPrototypeOf&&Object.getPrototypeOf(global);attachTo=attachTo&&attachTo.setTimeout?attachTo:global;if({}.toString.call(global.process)===\"[object process]\"){installNextTickImplementation();}else if(canUsePostMessage()){installPostMessageImplementation();}else if(global.MessageChannel){installMessageChannelImplementation();}else if(doc&&\"onreadystatechange\"in doc.createElement(\"script\")){installReadyStateChangeImplementation();}else{installSetTimeoutImplementation();}attachTo.setImmediate=setImmediate;attachTo.clearImmediate=clearImmediate;})(typeof self===\"undefined\"?typeof global===\"undefined\"?this:global:self);","map":{"version":3,"sources":["C:/Users/bluej/AppData/Roaming/npm/node_modules/expo-cli/node_modules/setimmediate/setImmediate.js"],"names":["global","undefined","setImmediate","nextHandle","tasksByHandle","currentlyRunningATask","doc","document","registerImmediate","callback","Function","args","Array","arguments","length","i","task","clearImmediate","handle","run","apply","runIfPresent","setTimeout","installNextTickImplementation","process","nextTick","canUsePostMessage","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","installPostMessageImplementation","messagePrefix","Math","random","onGlobalMessage","event","source","data","indexOf","slice","addEventListener","attachEvent","installMessageChannelImplementation","channel","MessageChannel","port1","port2","installReadyStateChangeImplementation","html","documentElement","script","createElement","onreadystatechange","removeChild","appendChild","installSetTimeoutImplementation","attachTo","Object","getPrototypeOf","toString","call","self"],"mappings":"AAAC,UAAUA,MAAV,CAAkBC,SAAlB,CAA6B,CAC1B,aAEA,GAAID,MAAM,CAACE,YAAX,CAAyB,CACrB,OACH,CAED,GAAIC,CAAAA,UAAU,CAAG,CAAjB,CACA,GAAIC,CAAAA,aAAa,CAAG,EAApB,CACA,GAAIC,CAAAA,qBAAqB,CAAG,KAA5B,CACA,GAAIC,CAAAA,GAAG,CAAGN,MAAM,CAACO,QAAjB,CACA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yLC,MAAO8C,CAAAA,IAAP,GAAgB,WAAhB,CAA8B,MAAO/D,CAAAA,MAAP,GAAkB,WAAlB,CAAgC,IAAhC,CAAuCA,MAArE,CAA8E+D,IAzL/E,CAAD","sourcesContent":["(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted\n // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\n var script = doc.createElement(\"script\");\n script.onreadystatechange = function () {\n runIfPresent(handle);\n script.onreadystatechange = null;\n html.removeChild(script);\n script = null;\n };\n html.appendChild(script);\n };\n }\n\n function installSetTimeoutImplementation() {\n registerImmediate = function(handle) {\n setTimeout(runIfPresent, 0, handle);\n };\n }\n\n // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live.\n var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);\n attachTo = attachTo && attachTo.setTimeout ? attachTo : global;\n\n // Don't get fooled by e.g. browserify environments.\n if ({}.toString.call(global.process) === \"[object process]\") {\n // For Node.js before 0.9\n installNextTickImplementation();\n\n } else if (canUsePostMessage()) {\n // For non-IE10 modern browsers\n installPostMessageImplementation();\n\n } else if (global.MessageChannel) {\n // For web workers, where supported\n installMessageChannelImplementation();\n\n } else if (doc && \"onreadystatechange\" in doc.createElement(\"script\")) {\n // For IE 6–8\n installReadyStateChangeImplementation();\n\n } else {\n // For older browsers\n installSetTimeoutImplementation();\n }\n\n attachTo.setImmediate = setImmediate;\n attachTo.clearImmediate = clearImmediate;\n}(typeof self === \"undefined\" ? typeof global === \"undefined\" ? this : global : self));\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var emptyObject={};var objects={};var prefix='r';var uniqueID=1;var createKey=function createKey(id){return prefix+\"-\"+id;};var ReactNativePropRegistry=function(){function ReactNativePropRegistry(){}ReactNativePropRegistry.register=function register(object){var id=uniqueID++;if(process.env.NODE_ENV!=='production'){Object.freeze(object);}var key=createKey(id);objects[key]=object;return id;};ReactNativePropRegistry.getByID=function getByID(id){if(!id){return emptyObject;}var key=createKey(id);var object=objects[key];if(!object){console.warn('Invalid style with id `'+id+'`. Skipping ...');return emptyObject;}return object;};return ReactNativePropRegistry;}();exports.default=ReactNativePropRegistry;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ReactNativePropRegistry/index.js"],"names":["emptyObject","objects","prefix","uniqueID","createKey","id","ReactNativePropRegistry","register","object","process","env","NODE_ENV","Object","freeze","key","getByID","console","warn"],"mappings":"gFASA,GAAIA,CAAAA,WAAW,CAAG,EAAlB,CACA,GAAIC,CAAAA,OAAO,CAAG,EAAd,CACA,GAAIC,CAAAA,MAAM,CAAG,GAAb,CACA,GAAIC,CAAAA,QAAQ,CAAG,CAAf,CAEA,GAAIC,CAAAA,SAAS,CAAG,QAASA,CAAAA,SAAT,CAAmBC,EAAnB,CAAuB,CACrC,MAAOH,CAAAA,MAAM,CAAG,GAAT,CAAeG,EAAtB,CACD,CAFD,CAIA,GAAIC,CAAAA,uBAAuB,CAE3B,UAAY,CACV,QAASA,CAAAA,uBAAT,EAAmC,CAAE,CAErCA,uBAAuB,CAACC,QAAxB,CAAmC,QAASA,CAAAA,QAAT,CAAkBC,MAAlB,CAA0B,CAC3D,GAAIH,CAAAA,EAAE,CAAGF,QAAQ,EAAjB,CAEA,GAAIM,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzCC,MAAM,CAACC,MAAP,CAAcL,MAAd,EACD,CAED,GAAIM,CAAAA,GAAG,CAAGV,SAAS,CAACC,EAAD,CAAnB,CACAJ,OAAO,CAACa,GAAD,CAAP,CAAeN,MAAf,CACA,MAAOH,CAAAA,EAAP,CACD,CAVD,CAYAC,uBAAuB,CAACS,OAAxB,CAAkC,QAASA,CAAAA,OAAT,CAAiBV,EAAjB,CAAqB,CACrD,GAAI,CAACA,EAAL,CAAS,CAGP,MAAOL,CAAAA,WAAP,CACD,CAED,GAAIc,CAAAA,GAAG,CAAGV,SAAS,CAACC,EAAD,CAAnB,CACA,GAAIG,CAAAA,MAAM,CAAGP,OAAO,CAACa,GAAD,CAApB,CAEA,GAAI,CAACN,MAAL,CAAa,CACXQ,OAAO,CAACC,IAAR,CAAa,0BAA4BZ,EAA5B,CAAiC,iBAA9C,EACA,MAAOL,CAAAA,WAAP,CACD,CAED,MAAOQ,CAAAA,MAAP,CACD,CAhBD,CAkBA,MAAOF,CAAAA,uBAAP,CACD,CAlCD,EAFA,C","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar emptyObject = {};\nvar objects = {};\nvar prefix = 'r';\nvar uniqueID = 1;\n\nvar createKey = function createKey(id) {\n return prefix + \"-\" + id;\n};\n\nvar ReactNativePropRegistry =\n/*#__PURE__*/\nfunction () {\n function ReactNativePropRegistry() {}\n\n ReactNativePropRegistry.register = function register(object) {\n var id = uniqueID++;\n\n if (process.env.NODE_ENV !== 'production') {\n Object.freeze(object);\n }\n\n var key = createKey(id);\n objects[key] = object;\n return id;\n };\n\n ReactNativePropRegistry.getByID = function getByID(id) {\n if (!id) {\n // Used in the style={[condition && id]} pattern,\n // we want it to be a no-op when the value is false or null\n return emptyObject;\n }\n\n var key = createKey(id);\n var object = objects[key];\n\n if (!object) {\n console.warn('Invalid style with id `' + id + '`. Skipping ...');\n return emptyObject;\n }\n\n return object;\n };\n\n return ReactNativePropRegistry;\n}();\n\nexport { ReactNativePropRegistry as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _GenericTouchable=_interopRequireDefault(require(\"./GenericTouchable\"));var _react=_interopRequireDefault(require(\"react\"));var TouchableWithoutFeedback=function TouchableWithoutFeedback(props){return _react.default.createElement(_GenericTouchable.default,props);};TouchableWithoutFeedback.defaultProps=_GenericTouchable.default.defaultProps;TouchableWithoutFeedback.propTypes=_GenericTouchable.default.publicPropTypes;var _default=TouchableWithoutFeedback;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/touchables/TouchableWithoutFeedback.js"],"names":["TouchableWithoutFeedback","props","defaultProps","GenericTouchable","propTypes","publicPropTypes"],"mappings":"mKAAA,4EACA,oDAEA,GAAMA,CAAAA,wBAAwB,CAAG,QAA3BA,CAAAA,wBAA2B,CAAAC,KAAK,QAAI,8BAAC,yBAAD,CAAsBA,KAAtB,CAAJ,EAAtC,CAEAD,wBAAwB,CAACE,YAAzB,CAAwCC,0BAAiBD,YAAzD,CAEAF,wBAAwB,CAACI,SAAzB,CAAqCD,0BAAiBE,eAAtD,C,aAEeL,wB","sourcesContent":["import GenericTouchable from './GenericTouchable';\nimport React from 'react';\n\nconst TouchableWithoutFeedback = props => <GenericTouchable {...props} />;\n\nTouchableWithoutFeedback.defaultProps = GenericTouchable.defaultProps;\n\nTouchableWithoutFeedback.propTypes = GenericTouchable.publicPropTypes;\n\nexport default TouchableWithoutFeedback;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedCall=createAnimatedCall;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _get2=_interopRequireDefault(require(\"@babel/runtime/helpers/get\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _ReanimatedEventEmitter=_interopRequireDefault(require(\"../ReanimatedEventEmitter\"));var _val=require(\"../val\");var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var NODE_MAPPING=new Map();function listener(data){var node=NODE_MAPPING.get(data.id);node&&node._callback(data.args);}var AnimatedCall=function(_AnimatedNode){(0,_inherits2.default)(AnimatedCall,_AnimatedNode);function AnimatedCall(args,jsFunction){var _this;(0,_classCallCheck2.default)(this,AnimatedCall);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedCall).call(this,{type:'call',input:args.map(function(n){return n.__nodeID;})},args));_this._callback=jsFunction;_this._args=args;return _this;}(0,_createClass2.default)(AnimatedCall,[{key:\"__attach\",value:function __attach(){(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedCall.prototype),\"__attach\",this).call(this);NODE_MAPPING.set(this.__nodeID,this);if(NODE_MAPPING.size===1){_ReanimatedEventEmitter.default.addListener('onReanimatedCall',listener);}}},{key:\"__detach\",value:function __detach(){NODE_MAPPING.delete(this.__nodeID);if(NODE_MAPPING.size===0){_ReanimatedEventEmitter.default.removeAllListeners('onReanimatedCall');}(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedCall.prototype),\"__detach\",this).call(this);}},{key:\"__onEvaluate\",value:function __onEvaluate(){this._callback(this._args.map(_val.val));return 0;}}]);return AnimatedCall;}(_AnimatedNode2.default);function createAnimatedCall(args,func){return new AnimatedCall(args,func);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedCall.js"],"names":["NODE_MAPPING","Map","listener","data","node","get","id","_callback","args","AnimatedCall","jsFunction","type","input","map","n","__nodeID","_args","set","size","ReanimatedEventEmitter","addListener","delete","removeAllListeners","val","AnimatedNode","createAnimatedCall","func"],"mappings":"4tBAAA,yFACA,2BACA,qEAEA,GAAMA,CAAAA,YAAY,CAAG,GAAIC,CAAAA,GAAJ,EAArB,CAEA,QAASC,CAAAA,QAAT,CAAkBC,IAAlB,CAAwB,CACtB,GAAMC,CAAAA,IAAI,CAAGJ,YAAY,CAACK,GAAb,CAAiBF,IAAI,CAACG,EAAtB,CAAb,CACAF,IAAI,EAAIA,IAAI,CAACG,SAAL,CAAeJ,IAAI,CAACK,IAApB,CAAR,CACD,C,GAEKC,CAAAA,Y,4EAIJ,sBAAYD,IAAZ,CAAkBE,UAAlB,CAA8B,2DAC5B,wGAAM,CAAEC,IAAI,CAAE,MAAR,CAAgBC,KAAK,CAAEJ,IAAI,CAACK,GAAL,CAAS,SAAAC,CAAC,QAAIA,CAAAA,CAAC,CAACC,QAAN,EAAV,CAAvB,CAAN,CAA0DP,IAA1D,GACA,MAAKD,SAAL,CAAiBG,UAAjB,CACA,MAAKM,KAAL,CAAaR,IAAb,CAH4B,aAI7B,C,iFAEU,CACT,mGACAR,YAAY,CAACiB,GAAb,CAAiB,KAAKF,QAAtB,CAAgC,IAAhC,EACA,GAAIf,YAAY,CAACkB,IAAb,GAAsB,CAA1B,CAA6B,CAC3BC,gCAAuBC,WAAvB,CAAmC,kBAAnC,CAAuDlB,QAAvD,EACD,CACF,C,2CAEU,CACTF,YAAY,CAACqB,MAAb,CAAoB,KAAKN,QAAzB,EACA,GAAIf,YAAY,CAACkB,IAAb,GAAsB,CAA1B,CAA6B,CAC3BC,gCAAuBG,kBAAvB,CAA0C,kBAA1C,EACD,CACD,mGACD,C,mDAEc,CACb,KAAKf,SAAL,CAAe,KAAKS,KAAL,CAAWH,GAAX,CAAeU,QAAf,CAAf,EACA,MAAO,EAAP,CACD,C,0BA7BwBC,sB,EAgCpB,QAASC,CAAAA,kBAAT,CAA4BjB,IAA5B,CAAkCkB,IAAlC,CAAwC,CAC7C,MAAO,IAAIjB,CAAAA,YAAJ,CAAiBD,IAAjB,CAAuBkB,IAAvB,CAAP,CACD","sourcesContent":["import ReanimatedEventEmitter from '../ReanimatedEventEmitter';\nimport { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\n\nconst NODE_MAPPING = new Map();\n\nfunction listener(data) {\n const node = NODE_MAPPING.get(data.id);\n node && node._callback(data.args);\n}\n\nclass AnimatedCall extends AnimatedNode {\n _callback;\n _args;\n\n constructor(args, jsFunction) {\n super({ type: 'call', input: args.map(n => n.__nodeID) }, args);\n this._callback = jsFunction;\n this._args = args;\n }\n\n __attach() {\n super.__attach();\n NODE_MAPPING.set(this.__nodeID, this);\n if (NODE_MAPPING.size === 1) {\n ReanimatedEventEmitter.addListener('onReanimatedCall', listener);\n }\n }\n\n __detach() {\n NODE_MAPPING.delete(this.__nodeID);\n if (NODE_MAPPING.size === 0) {\n ReanimatedEventEmitter.removeAllListeners('onReanimatedCall');\n }\n super.__detach();\n }\n\n __onEvaluate() {\n this._callback(this._args.map(val));\n return 0;\n }\n}\n\nexport function createAnimatedCall(args, func) {\n return new AnimatedCall(args, func);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _InteractionManager=_interopRequireDefault(require(\"../../../exports/InteractionManager\"));var Batchinator=function(){function Batchinator(callback,delayMS){this._delay=delayMS;this._callback=callback;}var _proto=Batchinator.prototype;_proto.dispose=function dispose(options){if(options===void 0){options={abort:false};}if(this._taskHandle){this._taskHandle.cancel();if(!options.abort){this._callback();}this._taskHandle=null;}};_proto.schedule=function schedule(){var _this=this;if(this._taskHandle){return;}var timeoutHandle=setTimeout(function(){_this._taskHandle=_InteractionManager.default.runAfterInteractions(function(){_this._taskHandle=null;_this._callback();});},this._delay);this._taskHandle={cancel:function cancel(){return clearTimeout(timeoutHandle);}};};return Batchinator;}();var _default=Batchinator;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Batchinator/index.js"],"names":["Batchinator","callback","delayMS","_delay","_callback","_proto","prototype","dispose","options","abort","_taskHandle","cancel","schedule","_this","timeoutHandle","setTimeout","InteractionManager","runAfterInteractions","clearTimeout"],"mappings":"mKAQA,+FAwBA,GAAIA,CAAAA,WAAW,CAEf,UAAY,CACV,QAASA,CAAAA,WAAT,CAAqBC,QAArB,CAA+BC,OAA/B,CAAwC,CACtC,KAAKC,MAAL,CAAcD,OAAd,CACA,KAAKE,SAAL,CAAiBH,QAAjB,CACD,CASD,GAAII,CAAAA,MAAM,CAAGL,WAAW,CAACM,SAAzB,CAEAD,MAAM,CAACE,OAAP,CAAiB,QAASA,CAAAA,OAAT,CAAiBC,OAAjB,CAA0B,CACzC,GAAIA,OAAO,GAAK,IAAK,EAArB,CAAwB,CACtBA,OAAO,CAAG,CACRC,KAAK,CAAE,KADC,CAAV,CAGD,CAED,GAAI,KAAKC,WAAT,CAAsB,CACpB,KAAKA,WAAL,CAAiBC,MAAjB,GAEA,GAAI,CAACH,OAAO,CAACC,KAAb,CAAoB,CAClB,KAAKL,SAAL,GACD,CAED,KAAKM,WAAL,CAAmB,IAAnB,CACD,CACF,CAhBD,CAkBAL,MAAM,CAACO,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,GAAIC,CAAAA,KAAK,CAAG,IAAZ,CAEA,GAAI,KAAKH,WAAT,CAAsB,CACpB,OACD,CAED,GAAII,CAAAA,aAAa,CAAGC,UAAU,CAAC,UAAY,CACzCF,KAAK,CAACH,WAAN,CAAoBM,4BAAmBC,oBAAnB,CAAwC,UAAY,CAGtEJ,KAAK,CAACH,WAAN,CAAoB,IAApB,CAEAG,KAAK,CAACT,SAAN,GACD,CANmB,CAApB,CAOD,CAR6B,CAQ3B,KAAKD,MARsB,CAA9B,CASA,KAAKO,WAAL,CAAmB,CACjBC,MAAM,CAAE,QAASA,CAAAA,MAAT,EAAkB,CACxB,MAAOO,CAAAA,YAAY,CAACJ,aAAD,CAAnB,CACD,CAHgB,CAAnB,CAKD,CArBD,CAuBA,MAAOd,CAAAA,WAAP,CACD,CAzDD,EAFA,C,aA6DeA,W","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport InteractionManager from '../../../exports/InteractionManager';\n/**\n * A simple class for batching up invocations of a low-pri callback. A timeout is set to run the\n * callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,\n * InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri\n * interactions are done running.\n *\n * Make sure to cleanup with dispose(). Example:\n *\n * class Widget extends React.Component {\n * _batchedSave: new Batchinator(() => this._saveState, 1000);\n * _saveSate() {\n * // save this.state to disk\n * }\n * componentDidUpdate() {\n * this._batchedSave.schedule();\n * }\n * componentWillUnmount() {\n * this._batchedSave.dispose();\n * }\n * ...\n * }\n */\n\nvar Batchinator =\n/*#__PURE__*/\nfunction () {\n function Batchinator(callback, delayMS) {\n this._delay = delayMS;\n this._callback = callback;\n }\n /*\n * Cleanup any pending tasks.\n *\n * By default, if there is a pending task the callback is run immediately. Set the option abort to\n * true to not call the callback if it was pending.\n */\n\n\n var _proto = Batchinator.prototype;\n\n _proto.dispose = function dispose(options) {\n if (options === void 0) {\n options = {\n abort: false\n };\n }\n\n if (this._taskHandle) {\n this._taskHandle.cancel();\n\n if (!options.abort) {\n this._callback();\n }\n\n this._taskHandle = null;\n }\n };\n\n _proto.schedule = function schedule() {\n var _this = this;\n\n if (this._taskHandle) {\n return;\n }\n\n var timeoutHandle = setTimeout(function () {\n _this._taskHandle = InteractionManager.runAfterInteractions(function () {\n // Note that we clear the handle before invoking the callback so that if the callback calls\n // schedule again, it will actually schedule another task.\n _this._taskHandle = null;\n\n _this._callback();\n });\n }, this._delay);\n this._taskHandle = {\n cancel: function cancel() {\n return clearTimeout(timeoutHandle);\n }\n };\n };\n\n return Batchinator;\n}();\n\nexport default Batchinator;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _color=_interopRequireDefault(require(\"color\"));var _Icon=_interopRequireDefault(require(\"../Icon\"));var _theming=require(\"../../core/theming\");var _colors=require(\"../../styles/colors\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Avatar/AvatarIcon.tsx\";var defaultSize=64;var Avatar=function(_React$Component){(0,_inherits2.default)(Avatar,_React$Component);function Avatar(){(0,_classCallCheck2.default)(this,Avatar);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Avatar).apply(this,arguments));}(0,_createClass2.default)(Avatar,[{key:\"render\",value:function render(){var _this$props=this.props,icon=_this$props.icon,_this$props$size=_this$props.size,size=_this$props$size===void 0?defaultSize:_this$props$size,style=_this$props.style,theme=_this$props.theme;var _ref=_StyleSheet.default.flatten(style)||{},_ref$backgroundColor=_ref.backgroundColor,backgroundColor=_ref$backgroundColor===void 0?theme.colors.primary:_ref$backgroundColor,restStyle=(0,_objectWithoutProperties2.default)(_ref,[\"backgroundColor\"]);var textColor=this.props.color||((0,_color.default)(backgroundColor).isLight()?'rgba(0, 0, 0, .54)':_colors.white);return React.createElement(_View.default,{style:[{width:size,height:size,borderRadius:size/2,backgroundColor:backgroundColor},styles.container,restStyle],__source:{fileName:_jsxFileName,lineNumber:68}},React.createElement(_Icon.default,{source:icon,color:textColor,size:size*0.6,__source:{fileName:_jsxFileName,lineNumber:80}}));}}]);return Avatar;}(React.Component);Avatar.displayName='Avatar.Icon';Avatar.defaultProps={size:defaultSize};var styles=_StyleSheet.default.create({container:{justifyContent:'center',alignItems:'center'}});var _default=(0,_theming.withTheme)(Avatar);exports.default=_default;","map":{"version":3,"sources":["AvatarIcon.tsx"],"names":["defaultSize","Avatar","React","Component","displayName","defaultProps","size","icon","style","theme","backgroundColor","restStyle","StyleSheet","textColor","color","width","height","borderRadius","styles","container","justifyContent","alignItems","withTheme"],"mappings":"k0BAAA,oD,4KAEA,oDACA,qDACA,2CACA,2C,4GAIA,GAAMA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AA,CAAA,CAZF,CADF,C,qBAhBiBJ,KAAK,CAACC,S,CAArBF,CAAAA,M,CACGG,WADHH,CACiB,aADjBA,CAAAA,M,CAGGI,YAHHJ,CAGkB,CACpBK,IAAI,CADgB,WAAA,CAHlBL,CAmCN,GAAMiB,CAAAA,MAAM,CAAGN,oBAAAA,MAAAA,CAAkB,CAC/BO,SAAS,CAAE,CACTC,cAAc,CADL,QAAA,CAETC,UAAU,CAHd,QACa,CADoB,CAAlBT,CAAf,C,aAOeU,uBAAf,MAAeA,C","sourcesContent":["import * as React from 'react';\nimport { View, ViewStyle, StyleSheet, StyleProp } from 'react-native';\nimport color from 'color';\nimport Icon from '../Icon';\nimport { withTheme } from '../../core/theming';\nimport { white } from '../../styles/colors';\nimport { Theme } from '../../types';\nimport { IconSource } from './../Icon';\n\nconst defaultSize = 64;\n\ntype Props = {\n /**\n * Icon to display for the `Avatar`.\n */\n icon: IconSource;\n /**\n * Size of the avatar.\n */\n size?: number;\n /**\n * Custom color for the icon.\n */\n color?: string;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * Avatars can be used to represent people in a graphical way.\n *\n * <div class=\"screenshots\">\n * <figure>\n * <img class=\"medium\" src=\"screenshots/avatar-icon.png\" />\n * </figure>\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Avatar } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Avatar.Icon size={24} icon=\"folder\" />\n * );\n * ```\n */\nclass Avatar extends React.Component<Props> {\n static displayName = 'Avatar.Icon';\n\n static defaultProps = {\n size: defaultSize,\n };\n\n render() {\n const { icon, size = defaultSize, style, theme } = this.props;\n\n const { backgroundColor = theme.colors.primary, ...restStyle } =\n StyleSheet.flatten(style) || {};\n const textColor =\n this.props.color ||\n (color(backgroundColor).isLight() ? 'rgba(0, 0, 0, .54)' : white);\n\n return (\n <View\n style={[\n {\n width: size,\n height: size,\n borderRadius: size / 2,\n backgroundColor,\n },\n styles.container,\n restStyle,\n ]}\n >\n <Icon source={icon} color={textColor} size={size * 0.6} />\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n justifyContent: 'center',\n alignItems: 'center',\n },\n});\n\nexport default withTheme(Avatar);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.setParams=exports.navigate=exports.init=exports.back=exports.SET_PARAMS=exports.NAVIGATE=exports.INIT=exports.BACK=void 0;var BACK='Navigation/BACK';exports.BACK=BACK;var INIT='Navigation/INIT';exports.INIT=INIT;var NAVIGATE='Navigation/NAVIGATE';exports.NAVIGATE=NAVIGATE;var SET_PARAMS='Navigation/SET_PARAMS';exports.SET_PARAMS=SET_PARAMS;var back=function back(){var payload=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return{type:BACK,key:payload.key,immediate:payload.immediate};};exports.back=back;var init=function init(){var payload=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var action={type:INIT};if(payload.params){action.params=payload.params;}return action;};exports.init=init;var navigate=function navigate(payload){var action={type:NAVIGATE,routeName:payload.routeName};if(payload.params){action.params=payload.params;}if(payload.action){action.action=payload.action;}if(payload.key){action.key=payload.key;}return action;};exports.navigate=navigate;var setParams=function setParams(payload){return{type:SET_PARAMS,key:payload.key,params:payload.params,preserveFocus:true};};exports.setParams=setParams;","map":{"version":3,"sources":["NavigationActions.js"],"names":["BACK","INIT","NAVIGATE","SET_PARAMS","back","payload","type","key","immediate","init","action","navigate","routeName","setParams","params","preserveFocus"],"mappings":"2LACO,GAAMA,CAAAA,IAAI,CAAV,iBAAA,C,kBACA,GAAMC,CAAAA,IAAI,CAAV,iBAAA,C,kBACA,GAAMC,CAAAA,QAAQ,CAAd,qBAAA,C,0BACA,GAAMC,CAAAA,UAAU,CAAhB,uBAAA,C,8BAGA,GAAMC,CAAAA,IAAI,CAAJA,QAAAA,CAAAA,IAAAA,EAAO,CAAA,GAACC,CAA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AAAA,CAAY,OAAZA,CAAmB,CAAA,MAAK,CACnCP,IAAI,CAD+B,UAAA,CAEnCC,GAAG,CAAEF,OAAO,CAFuB,GAAA,CAGnCS,MAAM,CAAET,OAAO,CAHoB,MAAA,CAInCU,aAAa,CAJiB,IAAK,CAAL,CAAzB,CAAA,C","sourcesContent":["// Action constants\nexport const BACK = 'Navigation/BACK';\nexport const INIT = 'Navigation/INIT';\nexport const NAVIGATE = 'Navigation/NAVIGATE';\nexport const SET_PARAMS = 'Navigation/SET_PARAMS';\n\n// Action creators\nexport const back = (payload = {}) => ({\n type: BACK,\n key: payload.key,\n immediate: payload.immediate,\n});\n\nexport const init = (payload = {}) => {\n const action = {\n type: INIT,\n };\n if (payload.params) {\n action.params = payload.params;\n }\n return action;\n};\n\nexport const navigate = payload => {\n const action = {\n type: NAVIGATE,\n routeName: payload.routeName,\n };\n if (payload.params) {\n action.params = payload.params;\n }\n if (payload.action) {\n action.action = payload.action;\n }\n if (payload.key) {\n action.key = payload.key;\n }\n return action;\n};\n\nexport const setParams = payload => ({\n type: SET_PARAMS,\n key: payload.key,\n params: payload.params,\n preserveFocus: true,\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _MaterialIcons=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf\"));var _MaterialIcons2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json\"));var _default=(0,_createIconSet.default)(_MaterialIcons2.default,'material',_MaterialIcons.default);exports.default=_default;","map":{"version":3,"sources":["../src/MaterialIcons.ts"],"names":[],"mappings":"mKAAA,sEACA,iHACA,uH,aAEe,2BAAc,uBAAd,CAAwB,UAAxB,CAAoC,sBAApC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json';\n\nexport default createIconSet(glyphMap, 'material', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var React=_interopRequireWildcard(require(\"react\"));var _default=React.createContext(undefined);exports.default=_default;","map":{"version":3,"sources":["NavigationContext.ts"],"names":["React"],"mappings":"qKAAA,oD,aAGeA,KAAK,CAALA,aAAAA,CAAf,SAAeA,C","sourcesContent":["import * as React from 'react';\n\n// Change undefined to null in next major version bump\nexport default React.createContext(undefined);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createMultiStyleIconSet;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function createMultiStyleIconSet(styles){var optionsInput=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var styleNames=Object.keys(styles);if(styleNames.length===0){throw new Error('You need to add at least one style');}var options=_objectSpread({defaultStyle:styleNames[0],fallbackFamily:function fallbackFamily(_unused){return styleNames[0];},glyphValidator:function glyphValidator(_unused,__unused){return true;}},optionsInput);var iconSets=styleNames.reduce(function(acc,name){var style=styles[name];acc[name]=(0,_createIconSet.default)(style.glyphMap||{},style.fontFamily||'',style.fontFile||'',style.fontStyle||{});return acc;},{});function styleFromProps(props){return Object.keys(props).reduce(function(result,propName){return styleNames.indexOf(propName)!==-1&&props[propName]===true?propName:result;},options.defaultStyle);}function getIconSetForProps(props){var name=props.name;var style=styleFromProps(props);if(options.glyphValidator(name,style))return iconSets[style];var family=options.fallbackFamily(name);if(styleNames.indexOf(family)===-1){return options.defaultStyle;}return iconSets[family];}function selectIconClass(iconSet,iconClass){return iconClass.length>0?iconSet[iconClass]:iconSet;}function reduceProps(props){return Object.keys(props).reduce(function(acc,prop){if(styleNames.indexOf(prop)===-1){acc[prop]=props[prop];}return acc;},{});}function getStyledIconSet(style){var name=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'';if(styleNames.indexOf(style)===-1){return iconSets[options.defaultStyle];}return!name?iconSets[styleFromProps((0,_defineProperty2.default)({},style,true))]:getIconSetForProps((0,_defineProperty2.default)({name:name},style,true));}function getFontFamily(){var style=arguments.length>0&&arguments[0]!==undefined?arguments[0]:options.defaultStyle;return getStyledIconSet(style).getFontFamily();}function getRawGlyphMap(){var style=arguments.length>0&&arguments[0]!==undefined?arguments[0]:options.defaultStyle;return getStyledIconSet(style).getRawGlyphMap();}function hasIcon(name){var style=arguments.length>1&&arguments[1]!==undefined?arguments[1]:options.defaultStyle;return options.glyphValidator(name,style);}function createStyledIconClass(){var selectClass=arguments.length>0&&arguments[0]!==undefined?arguments[0]:'';var IconClass=function(_PureComponent){(0,_inherits2.default)(IconClass,_PureComponent);function IconClass(){(0,_classCallCheck2.default)(this,IconClass);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(IconClass).apply(this,arguments));}(0,_createClass2.default)(IconClass,[{key:\"render\",value:function render(){var selectedIconSet=getIconSetForProps(this.props);var SelectedIconClass=selectIconClass(selectedIconSet,selectClass);var props=reduceProps(this.props);return _react.default.createElement(SelectedIconClass,props);}}]);return IconClass;}(_react.PureComponent);IconClass.propTypes=styleNames.reduce(function(acc,name){acc[name]=_propTypes.default.bool;return acc;},{});IconClass.defaultProps=styleNames.reduce(function(acc,name){acc[name]=false;return acc;},{});IconClass.font=Object.values(styles).reduce(function(acc,style){acc[style.fontFamily]=style.fontFile;return acc;},{});IconClass.StyledIconSet=getStyledIconSet;IconClass.getFontFamily=getFontFamily;IconClass.getRawGlyphMap=getRawGlyphMap;IconClass.hasIcon=hasIcon;return IconClass;}var Icon=createStyledIconClass();Icon.Button=createStyledIconClass('Button');return Icon;}","map":{"version":3,"sources":["../src/createMultiStyleIconSet.ts"],"names":[],"mappings":"i0BAAA,qDACA,6DAEA,sE,yxBAac,QAAU,CAAA,uBAAV,CACZ,MADY,CAEK,IAAjB,CAAA,YAAiB,2DAAF,EAAE,CAEjB,GAAM,CAAA,UAAU,CAAG,MAAM,CAAC,IAAP,CAAY,MAAZ,CAAnB,CAEA,GAAI,UAAU,CAAC,MAAX,GAAsB,CAA1B,CAA6B,CAC3B,KAAM,IAAI,CAAA,KAAJ,CAAU,oCAAV,CAAN,CACD,CAED,GAAM,CAA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GX,EAHW,CAAP,CAOA,SAAA,CAAA,aAAA,CAAgB,gBAAhB,CACA,SAAA,CAAA,aAAA,CAAgB,aAAhB,CACA,SAAA,CAAA,cAAA,CAAiB,cAAjB,CACA,SAAA,CAAA,OAAA,CAAU,OAAV,CAWT,MAAO,CAAA,SAAP,CACD,CAED,GAAM,CAAA,IAAI,CAAG,qBAAqB,EAAlC,CACA,IAAI,CAAC,MAAL,CAAc,qBAAqB,CAAC,QAAD,CAAnC,CACA,MAAO,CAAA,IAAP,CACD","sourcesContent":["import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\n\nimport createIconSet from './createIconSet';\n\ntype FontStyle = {\n fontFamily: string;\n fontFile: any;\n glyphMap: any;\n fontStyle: any;\n};\n\ntype FontStyles = {\n [key: string]: FontStyle;\n};\n\nexport default function createMultiStyleIconSet(\n styles: FontStyles,\n optionsInput = {}\n): any {\n const styleNames = Object.keys(styles);\n\n if (styleNames.length === 0) {\n throw new Error('You need to add at least one style');\n }\n\n const options = {\n defaultStyle: styleNames[0],\n fallbackFamily: (_unused: any) => styleNames[0],\n glyphValidator: (_unused: any, __unused: any) => true,\n ...optionsInput,\n };\n\n const iconSets = styleNames.reduce((acc, name) => {\n const style = styles[name];\n\n acc[name] = createIconSet(\n style.glyphMap || {},\n style.fontFamily || '',\n style.fontFile || '',\n style.fontStyle || {}\n );\n\n return acc;\n }, {});\n\n function styleFromProps(props) {\n return Object.keys(props).reduce(\n (result, propName) =>\n styleNames.indexOf(propName) !== -1 && props[propName] === true\n ? propName\n : result,\n options.defaultStyle\n );\n }\n\n function getIconSetForProps(props) {\n const { name } = props;\n const style = styleFromProps(props);\n\n if (options.glyphValidator(name, style)) return iconSets[style];\n\n const family = options.fallbackFamily(name);\n\n if (styleNames.indexOf(family) === -1) {\n return options.defaultStyle;\n }\n\n return iconSets[family];\n }\n\n function selectIconClass(iconSet, iconClass) {\n return iconClass.length > 0 ? iconSet[iconClass] : iconSet;\n }\n\n function reduceProps(props) {\n return Object.keys(props).reduce((acc, prop) => {\n if (styleNames.indexOf(prop) === -1) {\n acc[prop] = props[prop];\n }\n\n return acc;\n }, {});\n }\n\n function getStyledIconSet(style, name = '') {\n if (styleNames.indexOf(style) === -1) {\n return iconSets[options.defaultStyle];\n }\n\n return !name\n ? iconSets[styleFromProps({ [style]: true })]\n : getIconSetForProps({ name, [style]: true });\n }\n\n function getFontFamily(style = options.defaultStyle) {\n return getStyledIconSet(style).getFontFamily();\n }\n\n function getRawGlyphMap(style = options.defaultStyle) {\n return getStyledIconSet(style).getRawGlyphMap();\n }\n\n function hasIcon(name, style = options.defaultStyle) {\n return options.glyphValidator(name, style);\n }\n\n function createStyledIconClass(selectClass = '') {\n class IconClass extends PureComponent {\n static propTypes = styleNames.reduce((acc, name) => {\n acc[name] = PropTypes.bool;\n return acc;\n }, {});\n\n static defaultProps = styleNames.reduce((acc, name) => {\n acc[name] = false;\n return acc;\n }, {});\n\n static font = Object.values(styles).reduce((acc, style) => {\n acc[style.fontFamily] = style.fontFile;\n return acc;\n }, {});\n\n static Button: any;\n\n static StyledIconSet = getStyledIconSet;\n static getFontFamily = getFontFamily;\n static getRawGlyphMap = getRawGlyphMap;\n static hasIcon = hasIcon;\n\n render() {\n const selectedIconSet = getIconSetForProps(this.props);\n const SelectedIconClass = selectIconClass(selectedIconSet, selectClass);\n const props = reduceProps(this.props);\n\n return React.createElement(SelectedIconClass, props);\n }\n }\n\n return IconClass;\n }\n\n const Icon = createStyledIconClass();\n Icon.Button = createStyledIconClass('Button');\n return Icon;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var initialURL=_ExecutionEnvironment.canUseDOM?window.location.href:'';var Linking={addEventListener:function addEventListener(){},removeEventListener:function removeEventListener(){},canOpenURL:function canOpenURL(){return Promise.resolve(true);},getInitialURL:function getInitialURL(){return Promise.resolve(initialURL);},openURL:function openURL(url){try{open(url);return Promise.resolve();}catch(e){return Promise.reject(e);}},_validateURL:function _validateURL(url){(0,_invariant.default)(typeof url==='string','Invalid URL: should be a string. Was: '+url);(0,_invariant.default)(url,'Invalid URL: cannot be empty');}};var open=function open(url){if(_ExecutionEnvironment.canUseDOM){window.location=new URL(url,window.location).toString();}};var _default=Linking;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Linking/index.js"],"names":["initialURL","canUseDOM","window","location","href","Linking","addEventListener","removeEventListener","canOpenURL","Promise","resolve","getInitialURL","openURL","url","open","e","reject","_validateURL","URL","toString"],"mappings":"mKASA,mEACA,qEACA,GAAIA,CAAAA,UAAU,CAAGC,gCAAYC,MAAM,CAACC,QAAP,CAAgBC,IAA5B,CAAmC,EAApD,CACA,GAAIC,CAAAA,OAAO,CAAG,CACZC,gBAAgB,CAAE,QAASA,CAAAA,gBAAT,EAA4B,CAAE,CADpC,CAEZC,mBAAmB,CAAE,QAASA,CAAAA,mBAAT,EAA+B,CAAE,CAF1C,CAGZC,UAAU,CAAE,QAASA,CAAAA,UAAT,EAAsB,CAChC,MAAOC,CAAAA,OAAO,CAACC,OAAR,CAAgB,IAAhB,CAAP,CACD,CALW,CAMZC,aAAa,CAAE,QAASA,CAAAA,aAAT,EAAyB,CACtC,MAAOF,CAAAA,OAAO,CAACC,OAAR,CAAgBV,UAAhB,CAAP,CACD,CARW,CASZY,OAAO,CAAE,QAASA,CAAAA,OAAT,CAAiBC,GAAjB,CAAsB,CAC7B,GAAI,CACFC,IAAI,CAACD,GAAD,CAAJ,CACA,MAAOJ,CAAAA,OAAO,CAACC,OAAR,EAAP,CACD,CAAC,MAAOK,CAAP,CAAU,CACV,MAAON,CAAAA,OAAO,CAACO,MAAR,CAAeD,CAAf,CAAP,CACD,CACF,CAhBW,CAiBZE,YAAY,CAAE,QAASA,CAAAA,YAAT,CAAsBJ,GAAtB,CAA2B,CACvC,uBAAU,MAAOA,CAAAA,GAAP,GAAe,QAAzB,CAAmC,yCAA2CA,GAA9E,EACA,uBAAUA,GAAV,CAAe,8BAAf,EACD,CApBW,CAAd,CAuBA,GAAIC,CAAAA,IAAI,CAAG,QAASA,CAAAA,IAAT,CAAcD,GAAd,CAAmB,CAC5B,GAAIZ,+BAAJ,CAAe,CACbC,MAAM,CAACC,QAAP,CAAkB,GAAIe,CAAAA,GAAJ,CAAQL,GAAR,CAAaX,MAAM,CAACC,QAApB,EAA8BgB,QAA9B,EAAlB,CACD,CACF,CAJD,C,aAMed,O","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport invariant from 'fbjs/lib/invariant';\nvar initialURL = canUseDOM ? window.location.href : '';\nvar Linking = {\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n canOpenURL: function canOpenURL() {\n return Promise.resolve(true);\n },\n getInitialURL: function getInitialURL() {\n return Promise.resolve(initialURL);\n },\n openURL: function openURL(url) {\n try {\n open(url);\n return Promise.resolve();\n } catch (e) {\n return Promise.reject(e);\n }\n },\n _validateURL: function _validateURL(url) {\n invariant(typeof url === 'string', 'Invalid URL: should be a string. Was: ' + url);\n invariant(url, 'Invalid URL: cannot be empty');\n }\n};\n\nvar open = function open(url) {\n if (canUseDOM) {\n window.location = new URL(url, window.location).toString();\n }\n};\n\nexport default Linking;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _theming=require(\"../../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Typography/Text.tsx\";var Text=function(_React$Component){(0,_inherits2.default)(Text,_React$Component);function Text(){(0,_classCallCheck2.default)(this,Text);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Text).apply(this,arguments));}(0,_createClass2.default)(Text,[{key:\"setNativeProps\",value:function setNativeProps(args){return this.root&&this.root.setNativeProps(args);}},{key:\"render\",value:function render(){var _this=this;var _this$props=this.props,style=_this$props.style,theme=_this$props.theme,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\",\"theme\"]);return React.createElement(_Text.default,(0,_extends2.default)({},rest,{ref:function ref(c){_this.root=c;},style:[(0,_objectSpread2.default)({},theme.fonts.regular,{color:theme.colors.text,textAlign:'left'}),style],__source:{fileName:_jsxFileName,lineNumber:35}}));}}]);return Text;}(React.Component);var _default=(0,_theming.withTheme)(Text);exports.default=_default;","map":{"version":3,"sources":["Text.tsx"],"names":["Text","React","Component","args","style","theme","rest","color","textAlign","withTheme"],"mappings":"4+BAAA,oD,gFAEA,2C,0GAkBMA,GAAAA,CAAAA,I,oUAMWG,I,CAAc,CAC3B,MAAO,MAAA,IAAA,EAAa,KAAA,IAAA,CAAA,cAAA,CAApB,IAAoB,CAApB,C,wCAGO,CAAA,GAAA,CAAA,KAAA,CAAA,IAAA,CAAA,GAAA,CAAA,WAAA,CAC2B,KAD3B,KAAA,CACCC,KADD,CAAA,WAAA,CAAA,KAAA,CACQC,KADR,CAAA,WAAA,CAAA,KAAA,CACkBC,IADlB,CAAA,sCAAA,WAAA,CAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,CAGP,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAEE,GAAG,CAAE,QAAA,CAAA,GAAA,CAAA,CAAA,CAAK,CACR,KAAI,CAAJ,IAAA,CAAA,CAAA,CAHJ,CAAA,CAKE,KAAK,CAAE,CAAA,2BAAA,EAAA,CAEAD,KAAK,CAALA,KAAAA,CAFA,OAAA,CAAA,CAGHE,KAAK,CAAEF,KAAK,CAALA,MAAAA,CAHJ,IAAA,CAIHG,SAAS,CAJN,MAAA,CAAA,CAAA,CALT,KAKS,CALT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,C,mBAbeP,KAAK,CAACC,S,CAAnBF,C,aAgCSS,uBAAf,IAAeA,C","sourcesContent":["import * as React from 'react';\nimport { Text as NativeText, TextStyle, StyleProp } from 'react-native';\nimport { withTheme } from '../../core/theming';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof NativeText> & {\n style?: StyleProp<TextStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n// @component-group Typography\n\n/**\n * Text component which follows styles from the theme.\n *\n * @extends Text props https://facebook.github.io/react-native/docs/text.html#props\n */\nclass Text extends React.Component<Props> {\n private root: NativeText | undefined | null;\n\n /**\n * @internal\n */\n setNativeProps(args: Object) {\n return this.root && this.root.setNativeProps(args);\n }\n\n render() {\n const { style, theme, ...rest } = this.props;\n\n return (\n <NativeText\n {...rest}\n ref={c => {\n this.root = c;\n }}\n style={[\n {\n ...theme.fonts.regular,\n color: theme.colors.text,\n textAlign: 'left',\n },\n style,\n ]}\n />\n );\n }\n}\n\nexport default withTheme(Text);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=registerRootComponent;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var React=_interopRequireWildcard(require(\"react\"));var _AppRegistry=_interopRequireDefault(require(\"react-native-web/dist/exports/AppRegistry\"));var _withExpoRoot=_interopRequireDefault(require(\"./withExpoRoot\"));function registerRootComponent(component){var App=(0,_withExpoRoot.default)(component);var RootComponent=function RootComponent(props){return React.createElement(App,(0,_extends2.default)({exp:{}},props));};_AppRegistry.default.registerComponent('main',function(){return RootComponent;});var rootTag=document.getElementById('root')||document.getElementById('main');_AppRegistry.default.runApplication('main',{rootTag:rootTag});}","map":{"version":3,"sources":["../../src/launch/registerRootComponent.web.tsx"],"names":[],"mappings":"uVAAA,oD,8FAGA,oEAGc,QAAU,CAAA,qBAAV,CACZ,SADY,CACqB,CAEjC,GAAM,CAAA,GAAG,CAAG,0BAAa,SAAb,CAAZ,CACA,GAAM,CAAA,aAAa,CAAgB,QAA7B,CAAA,aAA6B,CAAA,KAAK,QAAI,qBAAC,GAAD,wBAAK,GAAG,CAAE,EAAV,EAAkB,KAAlB,EAAJ,EAAxC,CACA,qBAAY,iBAAZ,CAA8B,MAA9B,CAAsC,iBAAM,CAAA,aAAN,EAAtC,EACA,GAAM,CAAA,OAAO,CAAG,QAAQ,CAAC,cAAT,CAAwB,MAAxB,GAAmC,QAAQ,CAAC,cAAT,CAAwB,MAAxB,CAAnD,CACA,qBAAY,cAAZ,CAA2B,MAA3B,CAAmC,CAAE,OAAO,CAAP,OAAF,CAAnC,EACD","sourcesContent":["import * as React from 'react';\nimport { AppRegistry } from 'react-native';\n\nimport withExpoRoot from './withExpoRoot';\nimport { InitialProps } from './withExpoRoot.types';\n\nexport default function registerRootComponent<P extends InitialProps>(\n component: React.ComponentType<P>\n): void {\n const App = withExpoRoot(component);\n const RootComponent: React.FC<P> = props => <App exp={{}} {...props} />;\n AppRegistry.registerComponent('main', () => RootComponent);\n const rootTag = document.getElementById('root') || document.getElementById('main');\n AppRegistry.runApplication('main', { rootTag });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=renderApplication;exports.getApplication=getApplication;var _AppContainer=_interopRequireDefault(require(\"./AppContainer\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _hydrate=_interopRequireDefault(require(\"../../modules/hydrate\"));var _render=_interopRequireDefault(require(\"../render\"));var _styleResolver=_interopRequireDefault(require(\"../StyleSheet/styleResolver\"));var _react=_interopRequireDefault(require(\"react\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}var renderFn=process.env.NODE_ENV!=='production'?_render.default:_hydrate.default;function renderApplication(RootComponent,initialProps,rootTag,WrapperComponent,callback){(0,_invariant.default)(rootTag,'Expect to have a valid rootTag, instead got ',rootTag);renderFn(_react.default.createElement(_AppContainer.default,{WrapperComponent:WrapperComponent,rootTag:rootTag},_react.default.createElement(RootComponent,initialProps)),rootTag,callback);}function getApplication(RootComponent,initialProps,WrapperComponent){var element=_react.default.createElement(_AppContainer.default,{WrapperComponent:WrapperComponent,rootTag:{}},_react.default.createElement(RootComponent,initialProps));var getStyleElement=function getStyleElement(props){var sheet=_styleResolver.default.getStyleSheet();return _react.default.createElement(\"style\",_extends({},props,{dangerouslySetInnerHTML:{__html:sheet.textContent},id:sheet.id}));};return{element:element,getStyleElement:getStyleElement};}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/AppRegistry/renderApplication.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","renderFn","process","env","NODE_ENV","render","hydrate","renderApplication","RootComponent","initialProps","rootTag","WrapperComponent","callback","React","createElement","AppContainer","getApplication","element","getStyleElement","props","sheet","styleResolver","getStyleSheet","dangerouslySetInnerHTML","__html","textContent","id"],"mappings":"oNAWA,oEACA,qEACA,sEACA,yDACA,kFACA,oDAhBA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAiB7T,GAAIQ,CAAAA,QAAQ,CAAGC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwCC,eAAxC,CAAiDC,gBAAhE,CACe,QAASC,CAAAA,iBAAT,CAA2BC,aAA3B,CAA0CC,YAA1C,CAAwDC,OAAxD,CAAiEC,gBAAjE,CAAmFC,QAAnF,CAA6F,CAC1G,uBAAUF,OAAV,CAAmB,8CAAnB,CAAmEA,OAAnE,EACAT,QAAQ,CAACY,eAAMC,aAAN,CAAoBC,qBAApB,CAAkC,CACzCJ,gBAAgB,CAAEA,gBADuB,CAEzCD,OAAO,CAAEA,OAFgC,CAAlC,CAGNG,eAAMC,aAAN,CAAoBN,aAApB,CAAmCC,YAAnC,CAHM,CAAD,CAG8CC,OAH9C,CAGuDE,QAHvD,CAAR,CAID,CACM,QAASI,CAAAA,cAAT,CAAwBR,aAAxB,CAAuCC,YAAvC,CAAqDE,gBAArD,CAAuE,CAC5E,GAAIM,CAAAA,OAAO,CAAGJ,eAAMC,aAAN,CAAoBC,qBAApB,CAAkC,CAC9CJ,gBAAgB,CAAEA,gBAD4B,CAE9CD,OAAO,CAAE,EAFqC,CAAlC,CAGXG,eAAMC,aAAN,CAAoBN,aAApB,CAAmCC,YAAnC,CAHW,CAAd,CAKA,GAAIS,CAAAA,eAAe,CAAG,QAASA,CAAAA,eAAT,CAAyBC,KAAzB,CAAgC,CACpD,GAAIC,CAAAA,KAAK,CAAGC,uBAAcC,aAAd,EAAZ,CACA,MAAOT,gBAAMC,aAAN,CAAoB,OAApB,CAA6B1B,QAAQ,CAAC,EAAD,CAAK+B,KAAL,CAAY,CACtDI,uBAAuB,CAAE,CACvBC,MAAM,CAAEJ,KAAK,CAACK,WADS,CAD6B,CAItDC,EAAE,CAAEN,KAAK,CAACM,EAJ4C,CAAZ,CAArC,CAAP,CAMD,CARD,CAUA,MAAO,CACLT,OAAO,CAAEA,OADJ,CAELC,eAAe,CAAEA,eAFZ,CAAP,CAID","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AppContainer from './AppContainer';\nimport invariant from 'fbjs/lib/invariant';\nimport hydrate from '../../modules/hydrate';\nimport render from '../render';\nimport styleResolver from '../StyleSheet/styleResolver';\nimport React from 'react';\nvar renderFn = process.env.NODE_ENV !== 'production' ? render : hydrate;\nexport default function renderApplication(RootComponent, initialProps, rootTag, WrapperComponent, callback) {\n invariant(rootTag, 'Expect to have a valid rootTag, instead got ', rootTag);\n renderFn(React.createElement(AppContainer, {\n WrapperComponent: WrapperComponent,\n rootTag: rootTag\n }, React.createElement(RootComponent, initialProps)), rootTag, callback);\n}\nexport function getApplication(RootComponent, initialProps, WrapperComponent) {\n var element = React.createElement(AppContainer, {\n WrapperComponent: WrapperComponent,\n rootTag: {}\n }, React.createElement(RootComponent, initialProps)); // Don't escape CSS text\n\n var getStyleElement = function getStyleElement(props) {\n var sheet = styleResolver.getStyleSheet();\n return React.createElement(\"style\", _extends({}, props, {\n dangerouslySetInnerHTML: {\n __html: sheet.textContent\n },\n id: sheet.id\n }));\n };\n\n return {\n element: element,\n getStyleElement: getStyleElement\n };\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"PureNativeButton\",{enumerable:true,get:function get(){return _GestureHandlerButton.default;}});exports.BorderlessButton=exports.RectButton=exports.BaseButton=exports.RawButton=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireDefault(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _processColor=_interopRequireDefault(require(\"react-native-web/dist/exports/processColor\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _createNativeWrapper=_interopRequireDefault(require(\"./createNativeWrapper\"));var _GestureHandlerButton=_interopRequireDefault(require(\"./GestureHandlerButton\"));var _State=_interopRequireDefault(require(\"./State\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var RawButton=(0,_createNativeWrapper.default)(_GestureHandlerButton.default,{shouldCancelWhenOutside:false,shouldActivateOnStart:false});exports.RawButton=RawButton;var BaseButton=function(_React$Component){(0,_inherits2.default)(BaseButton,_React$Component);function BaseButton(props){var _this;(0,_classCallCheck2.default)(this,BaseButton);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(BaseButton).call(this,props));_this._handleEvent=function(_ref){var nativeEvent=_ref.nativeEvent;var state=nativeEvent.state,oldState=nativeEvent.oldState,pointerInside=nativeEvent.pointerInside;var active=pointerInside&&state===_State.default.ACTIVE;if(active!==_this._lastActive&&_this.props.onActiveStateChange){_this.props.onActiveStateChange(active);}if(oldState===_State.default.ACTIVE&&state!==_State.default.CANCELLED&&_this._lastActive&&_this.props.onPress){_this.props.onPress(active);}_this._lastActive=active;};_this._onHandlerStateChange=function(e){_this.props.onHandlerStateChange&&_this.props.onHandlerStateChange(e);_this._handleEvent(e);};_this._onGestureEvent=function(e){_this.props.onGestureEvent&&_this.props.onGestureEvent(e);_this._handleEvent(e);};_this._lastActive=false;return _this;}(0,_createClass2.default)(BaseButton,[{key:\"render\",value:function render(){var _this$props=this.props,style=_this$props.style,rippleColor=_this$props.rippleColor,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\",\"rippleColor\"]);return _react.default.createElement(RawButton,(0,_extends2.default)({style:[{overflow:'hidden'},style],rippleColor:(0,_processColor.default)(rippleColor)},rest,{onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._onHandlerStateChange}));}}]);return BaseButton;}(_react.default.Component);exports.BaseButton=BaseButton;BaseButton.propTypes=_objectSpread({},RawButton.propTypes,{onPress:_propTypes.default.func,onActiveStateChange:_propTypes.default.func});var AnimatedBaseButton=_Animated.default.createAnimatedComponent(BaseButton);var btnStyles=_StyleSheet.default.create({underlay:{position:'absolute',left:0,right:0,bottom:0,top:0}});var RectButton=function(_React$Component2){(0,_inherits2.default)(RectButton,_React$Component2);function RectButton(props){var _this2;(0,_classCallCheck2.default)(this,RectButton);_this2=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(RectButton).call(this,props));_this2._onActiveStateChange=function(active){if(_Platform.default.OS!=='android'){_this2._opacity.setValue(active?_this2.props.activeOpacity:0);}_this2.props.onActiveStateChange&&_this2.props.onActiveStateChange(active);};_this2._opacity=new _Animated.default.Value(0);return _this2;}(0,_createClass2.default)(RectButton,[{key:\"render\",value:function render(){var _this$props2=this.props,children=_this$props2.children,rest=(0,_objectWithoutProperties2.default)(_this$props2,[\"children\"]);return _react.default.createElement(BaseButton,(0,_extends2.default)({},rest,{onActiveStateChange:this._onActiveStateChange}),_react.default.createElement(_Animated.default.View,{style:[btnStyles.underlay,{opacity:this._opacity},{backgroundColor:this.props.underlayColor}]}),children);}}]);return RectButton;}(_react.default.Component);exports.RectButton=RectButton;RectButton.propTypes=BaseButton.propTypes;RectButton.defaultProps={activeOpacity:0.105,underlayColor:'black'};var BorderlessButton=function(_React$Component3){(0,_inherits2.default)(BorderlessButton,_React$Component3);function BorderlessButton(props){var _this3;(0,_classCallCheck2.default)(this,BorderlessButton);_this3=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(BorderlessButton).call(this,props));_this3._onActiveStateChange=function(active){if(_Platform.default.OS!=='android'){_this3._opacity.setValue(active?_this3.props.activeOpacity:1);}_this3.props.onActiveStateChange&&_this3.props.onActiveStateChange(active);};_this3._opacity=new _Animated.default.Value(1);return _this3;}(0,_createClass2.default)(BorderlessButton,[{key:\"render\",value:function render(){var _this$props3=this.props,children=_this$props3.children,style=_this$props3.style,rest=(0,_objectWithoutProperties2.default)(_this$props3,[\"children\",\"style\"]);return _react.default.createElement(AnimatedBaseButton,(0,_extends2.default)({},rest,{onActiveStateChange:this._onActiveStateChange,style:[style,_Platform.default.OS==='ios'&&{opacity:this._opacity}]}),children);}}]);return BorderlessButton;}(_react.default.Component);exports.BorderlessButton=BorderlessButton;BorderlessButton.propTypes=_objectSpread({},BaseButton.propTypes,{borderless:_propTypes.default.bool});BorderlessButton.defaultProps={activeOpacity:0.3,borderless:true};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/GestureButtons.js"],"names":["RawButton","GestureHandlerButton","shouldCancelWhenOutside","shouldActivateOnStart","BaseButton","props","_handleEvent","nativeEvent","state","oldState","pointerInside","active","State","ACTIVE","_lastActive","onActiveStateChange","CANCELLED","onPress","_onHandlerStateChange","e","onHandlerStateChange","_onGestureEvent","onGestureEvent","style","rippleColor","rest","overflow","React","Component","propTypes","PropTypes","func","AnimatedBaseButton","Animated","createAnimatedComponent","btnStyles","StyleSheet","create","underlay","position","left","right","bottom","top","RectButton","_onActiveStateChange","Platform","OS","_opacity","setValue","activeOpacity","Value","children","opacity","backgroundColor","underlayColor","defaultProps","BorderlessButton","borderless","bool"],"mappings":"0lCAAA,6DACA,oD,4WAGA,kFACA,oFACA,sD,yxBAEO,GAAMA,CAAAA,SAAS,CAAG,iCAAoBC,6BAApB,CAA0C,CACjEC,uBAAuB,CAAE,KADwC,CAEjEC,qBAAqB,CAAE,KAF0C,CAA1C,CAAlB,C,+BAOMC,CAAAA,U,gFAOX,oBAAYC,KAAZ,CAAmB,yDACjB,sGAAMA,KAAN,GADiB,MAKnBC,YALmB,CAKJ,cAAqB,IAAlBC,CAAAA,WAAkB,MAAlBA,WAAkB,IAC1BC,CAAAA,KAD0B,CACSD,WADT,CAC1BC,KAD0B,CACnBC,QADmB,CACSF,WADT,CACnBE,QADmB,CACTC,aADS,CACSH,WADT,CACTG,aADS,CAElC,GAAMC,CAAAA,MAAM,CAAGD,aAAa,EAAIF,KAAK,GAAKI,eAAMC,MAAhD,CAEA,GAAIF,MAAM,GAAK,MAAKG,WAAhB,EAA+B,MAAKT,KAAL,CAAWU,mBAA9C,CAAmE,CACjE,MAAKV,KAAL,CAAWU,mBAAX,CAA+BJ,MAA/B,EACD,CAED,GACEF,QAAQ,GAAKG,eAAMC,MAAnB,EACAL,KAAK,GAAKI,eAAMI,SADhB,EAEA,MAAKF,WAFL,EAGA,MAAKT,KAAL,CAAWY,OAJb,CAKE,CACA,MAAKZ,KAAL,CAAWY,OAAX,CAAmBN,MAAnB,EACD,CAED,MA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OAAK7C,KAAL,CAAWU,mBAAX,EAAkC,OAAKV,KAAL,CAAWU,mBAAX,CAA+BJ,MAA/B,CAAlC,CACD,CAXkB,CAEjB,OAAKqC,QAAL,CAAgB,GAAIf,mBAASkB,KAAb,CAAmB,CAAnB,CAAhB,CAFiB,cAGlB,C,iFAUQ,kBAC8B,KAAK9C,KADnC,CACC+C,QADD,cACCA,QADD,CACW7B,KADX,cACWA,KADX,CACqBE,IADrB,0EAGP,MACE,8BAAC,kBAAD,0BACMA,IADN,EAEE,mBAAmB,CAAE,KAAKoB,oBAF5B,CAGE,KAAK,CAAE,CAACtB,KAAD,CAAQuB,kBAASC,EAAT,GAAgB,KAAhB,EAAyB,CAAEM,OAAO,CAAE,KAAKL,QAAhB,CAAjC,CAHT,GAIGI,QAJH,CADF,CAQD,C,8BAnCmCzB,eAAMC,S,4CAA/B6B,gB,CACJ5B,S,kBACFzB,UAAU,CAACyB,S,EACd6B,UAAU,CAAE5B,mBAAU6B,I,GAHbF,gB,CAMJD,Y,CAAe,CACpBN,aAAa,CAAE,GADK,CAEpBQ,UAAU,CAAE,IAFQ,C","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Animated, Platform, processColor, StyleSheet } from 'react-native';\n\nimport createNativeWrapper from './createNativeWrapper';\nimport GestureHandlerButton from './GestureHandlerButton';\nimport State from './State';\n\nexport const RawButton = createNativeWrapper(GestureHandlerButton, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: false,\n});\n\n/* Buttons */\n\nexport class BaseButton extends React.Component {\n static propTypes = {\n ...RawButton.propTypes,\n onPress: PropTypes.func,\n onActiveStateChange: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n this._lastActive = false;\n }\n\n _handleEvent = ({ nativeEvent }) => {\n const { state, oldState, pointerInside } = nativeEvent;\n const active = pointerInside && state === State.ACTIVE;\n\n if (active !== this._lastActive && this.props.onActiveStateChange) {\n this.props.onActiveStateChange(active);\n }\n\n if (\n oldState === State.ACTIVE &&\n state !== State.CANCELLED &&\n this._lastActive &&\n this.props.onPress\n ) {\n this.props.onPress(active);\n }\n\n this._lastActive = active;\n };\n\n // Normally, the parent would execute it's handler first,\n // then forward the event to listeners. However, here our handler\n // is virtually only forwarding events to listeners, so we reverse the order\n // to keep the proper order of the callbacks (from \"raw\" ones to \"processed\").\n _onHandlerStateChange = e => {\n this.props.onHandlerStateChange && this.props.onHandlerStateChange(e);\n this._handleEvent(e);\n };\n\n _onGestureEvent = e => {\n this.props.onGestureEvent && this.props.onGestureEvent(e);\n this._handleEvent(e);\n };\n\n render() {\n const { style, rippleColor, ...rest } = this.props;\n\n return (\n <RawButton\n style={[{ overflow: 'hidden' }, style]}\n rippleColor={processColor(rippleColor)}\n {...rest}\n onGestureEvent={this._onGestureEvent}\n onHandlerStateChange={this._onHandlerStateChange}\n />\n );\n }\n}\n\nconst AnimatedBaseButton = Animated.createAnimatedComponent(BaseButton);\n\nconst btnStyles = StyleSheet.create({\n underlay: {\n position: 'absolute',\n left: 0,\n right: 0,\n bottom: 0,\n top: 0,\n },\n});\n\nexport class RectButton extends React.Component {\n static propTypes = BaseButton.propTypes;\n\n static defaultProps = {\n activeOpacity: 0.105,\n underlayColor: 'black',\n };\n\n constructor(props) {\n super(props);\n this._opacity = new Animated.Value(0);\n }\n\n _onActiveStateChange = active => {\n if (Platform.OS !== 'android') {\n this._opacity.setValue(active ? this.props.activeOpacity : 0);\n }\n\n this.props.onActiveStateChange && this.props.onActiveStateChange(active);\n };\n\n render() {\n const { children, ...rest } = this.props;\n\n return (\n <BaseButton {...rest} onActiveStateChange={this._onActiveStateChange}>\n <Animated.View\n style={[\n btnStyles.underlay,\n { opacity: this._opacity },\n { backgroundColor: this.props.underlayColor },\n ]}\n />\n {children}\n </BaseButton>\n );\n }\n}\n\nexport class BorderlessButton extends React.Component {\n static propTypes = {\n ...BaseButton.propTypes,\n borderless: PropTypes.bool,\n };\n\n static defaultProps = {\n activeOpacity: 0.3,\n borderless: true,\n };\n\n constructor(props) {\n super(props);\n this._opacity = new Animated.Value(1);\n }\n\n _onActiveStateChange = active => {\n if (Platform.OS !== 'android') {\n this._opacity.setValue(active ? this.props.activeOpacity : 1);\n }\n\n this.props.onActiveStateChange && this.props.onActiveStateChange(active);\n };\n\n render() {\n const { children, style, ...rest } = this.props;\n\n return (\n <AnimatedBaseButton\n {...rest}\n onActiveStateChange={this._onActiveStateChange}\n style={[style, Platform.OS === 'ios' && { opacity: this._opacity }]}>\n {children}\n </AnimatedBaseButton>\n );\n }\n}\n\nexport { default as PureNativeButton } from './GestureHandlerButton';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _reactNativeReanimated=_interopRequireDefault(require(\"react-native-reanimated\"));var _TabBarItem=_interopRequireDefault(require(\"./TabBarItem\"));var _TabBarIndicator=_interopRequireDefault(require(\"./TabBarIndicator\"));var _memoize=_interopRequireDefault(require(\"./memoize\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/TabBar.tsx\";var TabBar=function(_React$Component){(0,_inherits2.default)(TabBar,_React$Component);function TabBar(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabBar);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabBar)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={layout:{width:0,height:0},tabWidths:{}};_this.measuredTabWidths={};_this.scrollAmount=new _reactNativeReanimated.default.Value(0);_this.getFlattenedTabWidth=function(style){var tabStyle=_StyleSheet.default.flatten(style);return tabStyle?tabStyle.width:undefined;};_this.getComputedTabWidth=function(index,layout,routes,scrollEnabled,tabWidths,flattenedWidth){if(flattenedWidth==='auto'){return tabWidths[routes[index].key]||0;}switch(typeof flattenedWidth){case'number':return flattenedWidth;case'string':if(flattenedWidth.endsWith('%')){var width=parseFloat(flattenedWidth);if(Number.isFinite(width)){return layout.width*(width/100);}}}if(scrollEnabled){return layout.width/5*2;}return layout.width/routes.length;};_this.getMemoizedTabWidthGettter=(0,_memoize.default)(function(layout,routes,scrollEnabled,tabWidths,flattenedWidth){return function(i){return _this.getComputedTabWidth(i,layout,routes,scrollEnabled,tabWidths,flattenedWidth);};});_this.getMaxScrollDistance=function(tabBarWidth,layoutWidth){return tabBarWidth-layoutWidth;};_this.getTabBarWidth=function(props,state){var layout=state.layout,tabWidths=state.tabWidths;var scrollEnabled=props.scrollEnabled,tabStyle=props.tabStyle;var routes=props.navigationState.routes;return routes.reduce(function(acc,_,i){return acc+_this.getComputedTabWidth(i,layout,routes,scrollEnabled,tabWidths,_this.getFlattenedTabWidth(tabStyle));},0);};_this.normalizeScrollValue=function(props,state,value){var layout=state.layout;var tabBarWidth=_this.getTabBarWidth(props,state);var maxDistance=_this.getMaxScrollDistance(tabBarWidth,layout.width);var scrollValue=Math.max(Math.min(value,maxDistance),0);if(_Platform.default.OS==='android'&&_I18nManager.default.isRTL){return maxDistance-scrollValue;}return scrollValue;};_this.getScrollAmount=function(props,state,index){var layout=state.layout,tabWidths=state.tabWidths;var scrollEnabled=props.scrollEnabled,tabStyle=props.tabStyle;var routes=props.navigationState.routes;var centerDistance=Array.from({length:index+1}).reduce(function(total,_,i){var tabWidth=_this.getComputedTabWidth(i,layout,routes,scrollEnabled,tabWidths,_this.getFlattenedTabWidth(tabStyle));return total+(index===i?tabWidth/2:tabWidth);},0);var scrollAmount=centerDistance-layout.width/2;return _this.normalizeScrollValue(props,state,scrollAmount);};_this.resetScroll=function(index){if(_this.props.scrollEnabled){_this.scrollView&&_this.scrollView.scrollTo({x:_this.getScrollAmount(_this.props,_this.state,index),animated:true});}};_this.handleLayout=function(e){var _e$nativeEvent$layout=e.nativeEvent.layout,height=_e$nativeEvent$layout.height,width=_e$nativeEvent$layout.width;if(_this.state.layout.width===width&&_this.state.layout.height===height){return;}_this.setState({layout:{height:height,width:width}});};_this.getTranslateX=(0,_memoize.default)(function(scrollAmount,maxScrollDistance){return _reactNativeReanimated.default.multiply(_Platform.default.OS==='android'&&_I18nManager.default.isRTL?_reactNativeReanimated.default.sub(maxScrollDistance,scrollAmount):scrollAmount,_I18nManager.default.isRTL?1:-1);});return _this;}(0,_createClass2.default)(TabBar,[{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps,prevState){var navigationState=this.props.navigationState;var _this$state=this.state,layout=_this$state.layout,tabWidths=_this$state.tabWidths;if(prevProps.navigationState.routes.length!==navigationState.routes.length||prevProps.navigationState.index!==navigationState.index||prevState.layout.width!==layout.width||prevState.tabWidths!==tabWidths){if(this.getFlattenedTabWidth(this.props.tabStyle)==='auto'&&!(layout.width&&navigationState.routes.every(function(r){return typeof tabWidths[r.key]==='number';}))){return;}this.resetScroll(navigationState.index);}}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,position=_this$props.position,navigationState=_this$props.navigationState,jumpTo=_this$props.jumpTo,scrollEnabled=_this$props.scrollEnabled,bounces=_this$props.bounces,getAccessibilityLabel=_this$props.getAccessibilityLabel,getAccessible=_this$props.getAccessible,getLabelText=_this$props.getLabelText,getTestID=_this$props.getTestID,renderBadge=_this$props.renderBadge,renderIcon=_this$props.renderIcon,renderLabel=_this$props.renderLabel,activeColor=_this$props.activeColor,inactiveColor=_this$props.inactiveColor,pressColor=_this$props.pressColor,pressOpacity=_this$props.pressOpacity,onTabPress=_this$props.onTabPress,onTabLongPress=_this$props.onTabLongPress,tabStyle=_this$props.tabStyle,labelStyle=_this$props.labelStyle,indicatorStyle=_this$props.indicatorStyle,contentContainerStyle=_this$props.contentContainerStyle,style=_this$props.style,indicatorContainerStyle=_this$props.indicatorContainerStyle;var _this$state2=this.state,layout=_this$state2.layout,tabWidths=_this$state2.tabWidths;var routes=navigationState.routes;var isWidthDynamic=this.getFlattenedTabWidth(tabStyle)==='auto';var tabBarWidth=this.getTabBarWidth(this.props,this.state);var tabBarWidthPercent=routes.length*40+\"%\";var translateX=this.getTranslateX(this.scrollAmount,this.getMaxScrollDistance(tabBarWidth,layout.width));return React.createElement(_reactNativeReanimated.default.View,{onLayout:this.handleLayout,style:[styles.tabBar,style],__source:{fileName:_jsxFileName,lineNumber:331}},React.createElement(_reactNativeReanimated.default.View,{pointerEvents:\"none\",style:[styles.indicatorContainer,scrollEnabled?{transform:[{translateX:translateX}]}:null,tabBarWidth?{width:tabBarWidth}:scrollEnabled?{width:tabBarWidthPercent}:null,indicatorContainerStyle],__source:{fileName:_jsxFileName,lineNumber:335}},this.props.renderIndicator({position:position,layout:layout,navigationState:navigationState,jumpTo:jumpTo,width:isWidthDynamic?'auto':100/routes.length+\"%\",style:indicatorStyle,getTabWidth:this.getMemoizedTabWidthGettter(layout,routes,scrollEnabled,tabWidths,this.getFlattenedTabWidth(tabStyle))})),React.createElement(_View.default,{style:styles.scroll,__source:{fileName:_jsxFileName,lineNumber:364}},React.createElement(_reactNativeReanimated.default.ScrollView,{horizontal:true,keyboardShouldPersistTaps:\"handled\",scrollEnabled:scrollEnabled,bounces:bounces,alwaysBounceHorizontal:false,scrollsToTop:false,showsHorizontalScrollIndicator:false,automaticallyAdjustContentInsets:false,overScrollMode:\"never\",contentContainerStyle:[styles.tabContent,scrollEnabled?{width:tabBarWidth||tabBarWidthPercent}:styles.container,contentContainerStyle],scrollEventThrottle:16,onScroll:_reactNativeReanimated.default.event([{nativeEvent:{contentOffset:{x:this.scrollAmount}}}]),ref:function ref(el){_this2.scrollView=el&&el.getNode();},__source:{fileName:_jsxFileName,lineNumber:365}},routes.map(function(route){return React.createElement(_TabBarItem.default,{onLayout:isWidthDynamic?function(e){_this2.measuredTabWidths[route.key]=e.nativeEvent.layout.width;if(routes.every(function(r){return typeof _this2.measuredTabWidths[r.key]==='number';})){_this2.setState({tabWidths:(0,_objectSpread2.default)({},_this2.measuredTabWidths)});}}:undefined,key:route.key,position:position,route:route,navigationState:navigationState,getAccessibilityLabel:getAccessibilityLabel,getAccessible:getAccessible,getLabelText:getLabelText,getTestID:getTestID,renderBadge:renderBadge,renderIcon:renderIcon,renderLabel:renderLabel,activeColor:activeColor,inactiveColor:inactiveColor,pressColor:pressColor,pressOpacity:pressOpacity,onPress:function onPress(){var event={route:route,defaultPrevented:false,preventDefault:function preventDefault(){event.defaultPrevented=true;}};onTabPress&&onTabPress(event);if(event.defaultPrevented){return;}_this2.props.jumpTo(route.key);},onLongPress:function onLongPress(){return onTabLongPress&&onTabLongPress({route:route});},labelStyle:labelStyle,style:tabStyle,__source:{fileName:_jsxFileName,lineNumber:396}});}))));}}]);return TabBar;}(React.Component);exports.default=TabBar;TabBar.defaultProps={getLabelText:function getLabelText(_ref){var route=_ref.route;return typeof route.title==='string'?route.title.toUpperCase():route.title;},getAccessible:function getAccessible(_ref2){var route=_ref2.route;return typeof route.accessible!=='undefined'?route.accessible:true;},getAccessibilityLabel:function getAccessibilityLabel(_ref3){var route=_ref3.route;return typeof route.accessibilityLabel==='string'?route.accessibilityLabel:typeof route.title==='string'?route.title:undefined;},getTestID:function getTestID(_ref4){var route=_ref4.route;return route.testID;},renderIndicator:function renderIndicator(props){return React.createElement(_TabBarIndicator.default,(0,_extends2.default)({},props,{__source:{fileName:_jsxFileName,lineNumber:84}}));}};var styles=_StyleSheet.default.create({container:{flex:1},scroll:{overflow:'scroll'},tabBar:{backgroundColor:'#2196f3',elevation:4,shadowColor:'black',shadowOpacity:0.1,shadowRadius:_StyleSheet.default.hairlineWidth,shadowOffset:{height:_StyleSheet.default.hairlineWidth,width:0},zIndex:1},tabContent:{flexDirection:'row',flexWrap:'nowrap'},indicatorContainer:{position:'absolute',top:0,left:0,right:0,bottom:0}});","map":{"version":3,"sources":["TabBar.tsx"],"names":["TabBar","React","Component","defaultProps","getLabelText","route","getAccessible","getAccessibilityLabel","getTestID","renderIndicator","state","layout","width","height","tabWidths","prevProps","prevState","navigationState","r","measuredTabWidths","scrollAmount","Animated","getFlattenedTabWidth","tabStyle","StyleSheet","getComputedTabWidth","flattenedWidth","routes","parseFloat","Number","getMemoizedTabWidthGettter","memoize","getMaxScrollDistance","tabBarWidth","getTabBarWidth","scrollEnabled","props","acc","normalizeScrollValue","maxDistance","scrollValue","Math","Platform","I18nManager","getScrollAmount","centerDistance","Array","length","index","tabWidth","total","resetScroll","x","animated","handleLayout","e","getTranslateX","position","jumpTo","bounces","renderBadge","renderIcon","renderLabel","activeColor","inactiveColor","pressColor","pressOpacity","onTabPress","onTabLongPress","labelStyle","indicatorStyle","contentContainerStyle","style","indicatorContainerStyle","isWidthDynamic","tabBarWidthPercent","translateX","styles","transform","getTabWidth","nativeEvent","contentOffset","el","event","defaultPrevented","preventDefault","container","flex","scroll","overflow","tabBar","backgroundColor","elevation","shadowColor","shadowOpacity","shadowRadius","shadowOffset","zIndex","tabContent","flexDirection","flexWrap","indicatorContainer","top","left","right","bottom"],"mappings":"43BAAA,oD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vB,CAJuB,CAO/BC,MAAM,CAAE,CACNC,eAAe,CADT,SAAA,CAENC,SAAS,CAFH,CAAA,CAGNC,WAAW,CAHL,OAAA,CAINC,aAAa,CAJP,GAAA,CAKNC,YAAY,CAAEvE,oBALR,aAAA,CAMNwE,YAAY,CAAE,CACZnF,MAAM,CAAEW,oBADI,aAAA,CAEZZ,KAAK,CARD,CAMQ,CANR,CAUNqF,MAAM,CAjBuB,CAOvB,CAPuB,CAmB/BC,UAAU,CAAE,CACVC,aAAa,CADH,KAAA,CAEVC,QAAQ,CArBqB,QAmBnB,CAnBmB,CAuB/BC,kBAAkB,CAAE,CAClB5C,QAAQ,CADU,UAAA,CAElB6C,GAAG,CAFe,CAAA,CAGlBC,IAAI,CAHc,CAAA,CAIlBC,KAAK,CAJa,CAAA,CAKlBC,MAAM,CA5BV,CAuBsB,CAvBW,CAAlBjF,CAAf","sourcesContent":["import * as React from 'react';\nimport {\n StyleSheet,\n View,\n ScrollView,\n StyleProp,\n ViewStyle,\n TextStyle,\n LayoutChangeEvent,\n I18nManager,\n Platform,\n} from 'react-native';\nimport Animated from 'react-native-reanimated';\nimport TabBarItem from './TabBarItem';\nimport TabBarIndicator, { Props as IndicatorProps } from './TabBarIndicator';\nimport memoize from './memoize';\nimport {\n Route,\n Scene,\n SceneRendererProps,\n NavigationState,\n Layout,\n Event,\n} from './types';\n\nexport type Props<T extends Route> = SceneRendererProps & {\n navigationState: NavigationState<T>;\n scrollEnabled?: boolean;\n bounces?: boolean;\n activeColor?: string;\n inactiveColor?: string;\n pressColor?: string;\n pressOpacity?: number;\n getLabelText: (scene: Scene<T>) => string | undefined;\n getAccessible: (scene: Scene<T>) => boolean | undefined;\n getAccessibilityLabel: (scene: Scene<T>) => string | undefined;\n getTestID: (scene: Scene<T>) => string | undefined;\n renderLabel?: (\n scene: Scene<T> & {\n focused: boolean;\n color: string;\n }\n ) => React.ReactNode;\n renderIcon?: (\n scene: Scene<T> & {\n focused: boolean;\n color: string;\n }\n ) => React.ReactNode;\n renderBadge?: (scene: Scene<T>) => React.ReactNode;\n renderIndicator: (props: IndicatorProps<T>) => React.ReactNode;\n onTabPress?: (scene: Scene<T> & Event) => void;\n onTabLongPress?: (scene: Scene<T>) => void;\n tabStyle?: StyleProp<ViewStyle>;\n indicatorStyle?: StyleProp<ViewStyle>;\n indicatorContainerStyle?: StyleProp<ViewStyle>;\n labelStyle?: StyleProp<TextStyle>;\n contentContainerStyle?: StyleProp<ViewStyle>;\n style?: StyleProp<ViewStyle>;\n};\n\ntype State = {\n layout: Layout;\n tabWidths: { [key: string]: number };\n};\n\nexport default class TabBar<T extends Route> extends React.Component<\n Props<T>,\n State\n> {\n static defaultProps = {\n getLabelText: ({ route }: Scene<Route>) =>\n typeof route.title === 'string' ? route.title.toUpperCase() : route.title,\n getAccessible: ({ route }: Scene<Route>) =>\n typeof route.accessible !== 'undefined' ? route.accessible : true,\n getAccessibilityLabel: ({ route }: Scene<Route>) =>\n typeof route.accessibilityLabel === 'string'\n ? route.accessibilityLabel\n : typeof route.title === 'string'\n ? route.title\n : undefined,\n getTestID: ({ route }: Scene<Route>) => route.testID,\n renderIndicator: (props: IndicatorProps<Route>) => (\n <TabBarIndicator {...props} />\n ),\n };\n\n state: State = {\n layout: { width: 0, height: 0 },\n tabWidths: {},\n };\n\n componentDidUpdate(prevProps: Props<T>, prevState: State) {\n const { navigationState } = this.props;\n const { layout, tabWidths } = this.state;\n\n if (\n prevProps.navigationState.routes.length !==\n navigationState.routes.length ||\n prevProps.navigationState.index !== navigationState.index ||\n prevState.layout.width !== layout.width ||\n prevState.tabWidths !== tabWidths\n ) {\n if (\n this.getFlattenedTabWidth(this.props.tabStyle) === 'auto' &&\n !(\n layout.width &&\n navigationState.routes.every(\n r => typeof tabWidths[r.key] === 'number'\n )\n )\n ) {\n // When tab width is dynamic, only adjust the scroll once we have all tab widths and layout\n return;\n }\n\n this.resetScroll(navigationState.index);\n }\n }\n\n // to store the layout.width of each tab\n // when all onLayout's are fired, this would be set in state\n private measuredTabWidths: { [key: string]: number } = {};\n\n private scrollAmount = new Animated.Value(0);\n\n private scrollView: ScrollView | undefined;\n\n private getFlattenedTabWidth = (style: StyleProp<ViewStyle>) => {\n const tabStyle = StyleSheet.flatten(style);\n\n return tabStyle ? tabStyle.width : undefined;\n };\n\n private getComputedTabWidth = (\n index: number,\n layout: Layout,\n routes: Route[],\n scrollEnabled: boolean | undefined,\n tabWidths: { [key: string]: number },\n flattenedWidth: string | number | undefined\n ) => {\n if (flattenedWidth === 'auto') {\n return tabWidths[routes[index].key] || 0;\n }\n\n switch (typeof flattenedWidth) {\n case 'number':\n return flattenedWidth;\n case 'string':\n if (flattenedWidth.endsWith('%')) {\n const width = parseFloat(flattenedWidth);\n if (Number.isFinite(width)) {\n return layout.width * (width / 100);\n }\n }\n }\n\n if (scrollEnabled) {\n return (layout.width / 5) * 2;\n }\n\n return layout.width / routes.length;\n };\n\n private getMemoizedTabWidthGettter = memoize(\n (\n layout: Layout,\n routes: Route[],\n scrollEnabled: boolean | undefined,\n tabWidths: { [key: string]: number },\n flattenedWidth: string | number | undefined\n ) => (i: number) =>\n this.getComputedTabWidth(\n i,\n layout,\n routes,\n scrollEnabled,\n tabWidths,\n flattenedWidth\n )\n );\n\n private getMaxScrollDistance = (tabBarWidth: number, layoutWidth: number) =>\n tabBarWidth - layoutWidth;\n\n private getTabBarWidth = (props: Props<T>, state: State) => {\n const { layout, tabWidths } = state;\n const { scrollEnabled, tabStyle } = props;\n const { routes } = props.navigationState;\n\n return routes.reduce<number>(\n (acc, _, i) =>\n acc +\n this.getComputedTabWidth(\n i,\n layout,\n routes,\n scrollEnabled,\n tabWidths,\n this.getFlattenedTabWidth(tabStyle)\n ),\n 0\n );\n };\n\n private normalizeScrollValue = (\n props: Props<T>,\n state: State,\n value: number\n ) => {\n const { layout } = state;\n const tabBarWidth = this.getTabBarWidth(props, state);\n const maxDistance = this.getMaxScrollDistance(tabBarWidth, layout.width);\n const scrollValue = Math.max(Math.min(value, maxDistance), 0);\n\n if (Platform.OS === 'android' && I18nManager.isRTL) {\n // On Android, scroll value is not applied in reverse in RTL\n // so we need to manually adjust it to apply correct value\n return maxDistance - scrollValue;\n }\n\n return scrollValue;\n };\n\n private getScrollAmount = (props: Props<T>, state: State, index: number) => {\n const { layout, tabWidths } = state;\n const { scrollEnabled, tabStyle } = props;\n const { routes } = props.navigationState;\n\n const centerDistance = Array.from({ length: index + 1 }).reduce<number>(\n (total, _, i) => {\n const tabWidth = this.getComputedTabWidth(\n i,\n layout,\n routes,\n scrollEnabled,\n tabWidths,\n this.getFlattenedTabWidth(tabStyle)\n );\n\n // To get the current index centered we adjust scroll amount by width of indexes\n // 0 through (i - 1) and add half the width of current index i\n return total + (index === i ? tabWidth / 2 : tabWidth);\n },\n 0\n );\n\n const scrollAmount = centerDistance - layout.width / 2;\n\n return this.normalizeScrollValue(props, state, scrollAmount);\n };\n\n private resetScroll = (index: number) => {\n if (this.props.scrollEnabled) {\n this.scrollView &&\n this.scrollView.scrollTo({\n x: this.getScrollAmount(this.props, this.state, index),\n animated: true,\n });\n }\n };\n\n private handleLayout = (e: LayoutChangeEvent) => {\n const { height, width } = e.nativeEvent.layout;\n\n if (\n this.state.layout.width === width &&\n this.state.layout.height === height\n ) {\n return;\n }\n\n this.setState({\n layout: {\n height,\n width,\n },\n });\n };\n\n private getTranslateX = memoize(\n (scrollAmount: Animated.Node<number>, maxScrollDistance: number) =>\n Animated.multiply(\n Platform.OS === 'android' && I18nManager.isRTL\n ? Animated.sub(maxScrollDistance, scrollAmount)\n : scrollAmount,\n I18nManager.isRTL ? 1 : -1\n )\n );\n\n render() {\n const {\n position,\n navigationState,\n jumpTo,\n scrollEnabled,\n bounces,\n getAccessibilityLabel,\n getAccessible,\n getLabelText,\n getTestID,\n renderBadge,\n renderIcon,\n renderLabel,\n activeColor,\n inactiveColor,\n pressColor,\n pressOpacity,\n onTabPress,\n onTabLongPress,\n tabStyle,\n labelStyle,\n indicatorStyle,\n contentContainerStyle,\n style,\n indicatorContainerStyle,\n } = this.props;\n const { layout, tabWidths } = this.state;\n const { routes } = navigationState;\n\n const isWidthDynamic = this.getFlattenedTabWidth(tabStyle) === 'auto';\n const tabBarWidth = this.getTabBarWidth(this.props, this.state);\n const tabBarWidthPercent = `${routes.length * 40}%`;\n const translateX = this.getTranslateX(\n this.scrollAmount,\n this.getMaxScrollDistance(tabBarWidth, layout.width)\n );\n\n return (\n <Animated.View\n onLayout={this.handleLayout}\n style={[styles.tabBar, style]}\n >\n <Animated.View\n pointerEvents=\"none\"\n style={[\n styles.indicatorContainer,\n scrollEnabled ? { transform: [{ translateX }] as any } : null,\n tabBarWidth\n ? { width: tabBarWidth }\n : scrollEnabled\n ? { width: tabBarWidthPercent }\n : null,\n indicatorContainerStyle,\n ]}\n >\n {this.props.renderIndicator({\n position,\n layout,\n navigationState,\n jumpTo,\n width: isWidthDynamic ? 'auto' : `${100 / routes.length}%`,\n style: indicatorStyle,\n getTabWidth: this.getMemoizedTabWidthGettter(\n layout,\n routes,\n scrollEnabled,\n tabWidths,\n this.getFlattenedTabWidth(tabStyle)\n ),\n })}\n </Animated.View>\n <View style={styles.scroll}>\n <Animated.ScrollView\n horizontal\n keyboardShouldPersistTaps=\"handled\"\n scrollEnabled={scrollEnabled}\n bounces={bounces}\n alwaysBounceHorizontal={false}\n scrollsToTop={false}\n showsHorizontalScrollIndicator={false}\n automaticallyAdjustContentInsets={false}\n overScrollMode=\"never\"\n contentContainerStyle={[\n styles.tabContent,\n scrollEnabled\n ? { width: tabBarWidth || tabBarWidthPercent }\n : styles.container,\n contentContainerStyle,\n ]}\n scrollEventThrottle={16}\n onScroll={Animated.event([\n {\n nativeEvent: {\n contentOffset: { x: this.scrollAmount },\n },\n },\n ])}\n ref={el => {\n // @ts-ignore\n this.scrollView = el && el.getNode();\n }}\n >\n {routes.map((route: T) => (\n <TabBarItem\n onLayout={\n isWidthDynamic\n ? e => {\n this.measuredTabWidths[route.key] =\n e.nativeEvent.layout.width;\n\n // When we have measured widths for all of the tabs, we should updates the state\n // We avoid doing separate setState for each layout since it triggers multiple renders and slows down app\n if (\n routes.every(\n r =>\n typeof this.measuredTabWidths[r.key] === 'number'\n )\n ) {\n this.setState({\n tabWidths: { ...this.measuredTabWidths },\n });\n }\n }\n : undefined\n }\n key={route.key}\n position={position}\n route={route}\n navigationState={navigationState}\n getAccessibilityLabel={getAccessibilityLabel}\n getAccessible={getAccessible}\n getLabelText={getLabelText}\n getTestID={getTestID}\n renderBadge={renderBadge}\n renderIcon={renderIcon}\n renderLabel={renderLabel}\n activeColor={activeColor}\n inactiveColor={inactiveColor}\n pressColor={pressColor}\n pressOpacity={pressOpacity}\n onPress={() => {\n const event: Scene<T> & Event = {\n route,\n defaultPrevented: false,\n preventDefault: () => {\n event.defaultPrevented = true;\n },\n };\n\n onTabPress && onTabPress(event);\n\n if (event.defaultPrevented) {\n return;\n }\n\n this.props.jumpTo(route.key);\n }}\n onLongPress={() => onTabLongPress && onTabLongPress({ route })}\n labelStyle={labelStyle}\n style={tabStyle}\n />\n ))}\n </Animated.ScrollView>\n </View>\n </Animated.View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n scroll: {\n overflow: 'scroll',\n },\n tabBar: {\n backgroundColor: '#2196f3',\n elevation: 4,\n shadowColor: 'black',\n shadowOpacity: 0.1,\n shadowRadius: StyleSheet.hairlineWidth,\n shadowOffset: {\n height: StyleSheet.hairlineWidth,\n width: 0,\n },\n zIndex: 1,\n },\n tabContent: {\n flexDirection: 'row',\n flexWrap: 'nowrap',\n },\n indicatorContainer: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"if('serviceWorker'in navigator){window.addEventListener('load',function(){navigator.serviceWorker.register('/expo-service-worker.js',{scope:'/'}).then(function(info){}).catch(function(error){console.info('Failed to register service-worker',error);});});}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/web-build/register-service-worker.js"],"names":["navigator","window","addEventListener","serviceWorker","register","scope","then","info","catch","error","console"],"mappings":"AAEA,GAAI,iBAAmBA,CAAAA,SAAvB,CAAkC,CAChCC,MAAM,CAACC,gBAAP,CAAwB,MAAxB,CAAgC,UAAW,CACzCF,SAAS,CAACG,aAAV,CACGC,QADH,CACY,yBADZ,CACuC,CAAEC,KAAK,CAAE,GAAT,CADvC,EAEGC,IAFH,CAEQ,SAASC,IAAT,CAAe,CAEpB,CAJH,EAKGC,KALH,CAKS,SAASC,KAAT,CAAgB,CACrBC,OAAO,CAACH,IAAR,CAAa,mCAAb,CAAkDE,KAAlD,EACD,CAPH,EAQD,CATD,EAUD","sourcesContent":["/* eslint-env browser */\n\nif ('serviceWorker' in navigator) {\n window.addEventListener('load', function() {\n navigator.serviceWorker\n .register('/expo-service-worker.js', { scope: '/' })\n .then(function(info) {\n // console.info('Registered service-worker', info);\n })\n .catch(function(error) {\n console.info('Failed to register service-worker', error);\n });\n });\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var SplashScreen=_interopRequireWildcard(require(\"./SplashScreen\"));var AppLoading=function(_React$Component){(0,_inherits2.default)(AppLoading,_React$Component);function AppLoading(props){var _this;(0,_classCallCheck2.default)(this,AppLoading);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AppLoading).call(this,props));SplashScreen.preventAutoHide();return _this;}(0,_createClass2.default)(AppLoading,[{key:\"componentWillUnmount\",value:function componentWillUnmount(){if(this.props.autoHideSplash===undefined||this.props.autoHideSplash){if(global.__E2E__){SplashScreen.hide();}else{setTimeout(function(){SplashScreen.hide();},200);}}}},{key:\"render\",value:function render(){return null;}}]);return AppLoading;}(_react.default.Component);exports.default=AppLoading;","map":{"version":3,"sources":["../../src/launch/AppLoadingNativeWrapper.tsx"],"names":[],"mappings":"ktBAAA,oDACA,oE,GAMqB,CAAA,U,gFACnB,oBAAY,KAAZ,CAAwB,yDACtB,sGAAM,KAAN,GACA,YAAY,CAAC,eAAb,GAFsB,aAGvB,C,uGAEmB,CAClB,GAAI,KAAK,KAAL,CAAW,cAAX,GAA8B,SAA9B,EAA2C,KAAK,KAAL,CAAW,cAA1D,CAA0E,CAExE,GAAI,MAAM,CAAC,OAAX,CAAoB,CAClB,YAAY,CAAC,IAAb,GACD,CAFD,IAEO,CACL,UAAU,CAAC,UAAK,CACd,YAAY,CAAC,IAAb,GACD,CAFS,CAEP,GAFO,CAAV,CAGD,CACF,CACF,C,uCAEK,CACJ,MAAO,KAAP,CACD,C,wBArBqC,eAAM,S","sourcesContent":["import React from 'react';\nimport * as SplashScreen from './SplashScreen';\n\ntype Props = {\n autoHideSplash?: boolean;\n};\n\nexport default class AppLoading extends React.Component<Props> {\n constructor(props: Props) {\n super(props);\n SplashScreen.preventAutoHide();\n }\n\n componentWillUnmount() {\n if (this.props.autoHideSplash === undefined || this.props.autoHideSplash) {\n // Hide immediately in E2E tests\n if (global.__E2E__) {\n SplashScreen.hide();\n } else {\n setTimeout(() => {\n SplashScreen.hide();\n }, 200);\n }\n }\n }\n\n render() {\n return null;\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _bezier2=_interopRequireDefault(require(\"./bezier\"));var _ease;var Easing=function(){function Easing(){}Easing.step0=function step0(n){return n>0?1:0;};Easing.step1=function step1(n){return n>=1?1:0;};Easing.linear=function linear(t){return t;};Easing.ease=function ease(t){if(!_ease){_ease=Easing.bezier(0.42,0,1,1);}return _ease(t);};Easing.quad=function quad(t){return t*t;};Easing.cubic=function cubic(t){return t*t*t;};Easing.poly=function poly(n){return function(t){return Math.pow(t,n);};};Easing.sin=function sin(t){return 1-Math.cos(t*Math.PI/2);};Easing.circle=function circle(t){return 1-Math.sqrt(1-t*t);};Easing.exp=function exp(t){return Math.pow(2,10*(t-1));};Easing.elastic=function elastic(bounciness){if(bounciness===void 0){bounciness=1;}var p=bounciness*Math.PI;return function(t){return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};};Easing.back=function back(s){if(s===undefined){s=1.70158;}return function(t){return t*t*((s+1)*t-s);};};Easing.bounce=function bounce(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){t-=1.5/2.75;return 7.5625*t*t+0.75;}if(t<2.5/2.75){t-=2.25/2.75;return 7.5625*t*t+0.9375;}t-=2.625/2.75;return 7.5625*t*t+0.984375;};Easing.bezier=function bezier(x1,y1,x2,y2){return(0,_bezier2.default)(x1,y1,x2,y2);};Easing.in=function _in(easing){return easing;};Easing.out=function out(easing){return function(t){return 1-easing(1-t);};};Easing.inOut=function inOut(easing){return function(t){if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};};return Easing;}();var _default=Easing;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/Easing.js"],"names":["_ease","Easing","step0","n","step1","linear","t","ease","bezier","quad","cubic","poly","Math","pow","sin","cos","PI","circle","sqrt","exp","elastic","bounciness","p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pC,MAAO,UAAU3B,CAAV,CAAa,CAClB,GAAIA,CAAC,CAAG,GAAR,CAAa,CACX,MAAO2B,CAAAA,MAAM,CAAC3B,CAAC,CAAG,CAAL,CAAN,CAAgB,CAAvB,CACD,CAED,MAAO,GAAI2B,MAAM,CAAC,CAAC,EAAI3B,CAAL,EAAU,CAAX,CAAN,CAAsB,CAAjC,CACD,CAND,CAOD,CARD,CAUA,MAAOL,CAAAA,MAAP,CACD,CA9ND,EAFA,C,aAkOeA,M","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nimport _bezier from './bezier';\n\nvar _ease;\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\n\n\nvar Easing =\n/*#__PURE__*/\nfunction () {\n function Easing() {}\n\n /**\n * A stepping function, returns 1 for any positive value of `n`.\n */\n Easing.step0 = function step0(n) {\n return n > 0 ? 1 : 0;\n }\n /**\n * A stepping function, returns 1 if `n` is greater than or equal to 1.\n */\n ;\n\n Easing.step1 = function step1(n) {\n return n >= 1 ? 1 : 0;\n }\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n ;\n\n Easing.linear = function linear(t) {\n return t;\n }\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n ;\n\n Easing.ease = function ease(t) {\n if (!_ease) {\n _ease = Easing.bezier(0.42, 0, 1, 1);\n }\n\n return _ease(t);\n }\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n ;\n\n Easing.quad = function quad(t) {\n return t * t;\n }\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n ;\n\n Easing.cubic = function cubic(t) {\n return t * t * t;\n }\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n ;\n\n Easing.poly = function poly(n) {\n return function (t) {\n return Math.pow(t, n);\n };\n }\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n ;\n\n Easing.sin = function sin(t) {\n return 1 - Math.cos(t * Math.PI / 2);\n }\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n ;\n\n Easing.circle = function circle(t) {\n return 1 - Math.sqrt(1 - t * t);\n }\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n ;\n\n Easing.exp = function exp(t) {\n return Math.pow(2, 10 * (t - 1));\n }\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n ;\n\n Easing.elastic = function elastic(bounciness) {\n if (bounciness === void 0) {\n bounciness = 1;\n }\n\n var p = bounciness * Math.PI;\n return function (t) {\n return 1 - Math.pow(Math.cos(t * Math.PI / 2), 3) * Math.cos(t * p);\n };\n }\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\n ;\n\n Easing.back = function back(s) {\n if (s === undefined) {\n s = 1.70158;\n }\n\n return function (t) {\n return t * t * ((s + 1) * t - s);\n };\n }\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n ;\n\n Easing.bounce = function bounce(t) {\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n t -= 1.5 / 2.75;\n return 7.5625 * t * t + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n t -= 2.25 / 2.75;\n return 7.5625 * t * t + 0.9375;\n }\n\n t -= 2.625 / 2.75;\n return 7.5625 * t * t + 0.984375;\n }\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n ;\n\n Easing.bezier = function bezier(x1, y1, x2, y2) {\n return _bezier(x1, y1, x2, y2);\n }\n /**\n * Runs an easing function forwards.\n */\n ;\n\n Easing.in = function _in(easing) {\n return easing;\n }\n /**\n * Runs an easing function backwards.\n */\n ;\n\n Easing.out = function out(easing) {\n return function (t) {\n return 1 - easing(1 - t);\n };\n }\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n ;\n\n Easing.inOut = function inOut(easing) {\n return function (t) {\n if (t < 0.5) {\n return easing(t * 2) / 2;\n }\n\n return 1 - easing((1 - t) * 2) / 2;\n };\n };\n\n return Easing;\n}();\n\nexport default Easing;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"TabView\",{enumerable:true,get:function get(){return _TabView.default;}});Object.defineProperty(exports,\"TabBar\",{enumerable:true,get:function get(){return _TabBar.default;}});Object.defineProperty(exports,\"SceneMap\",{enumerable:true,get:function get(){return _SceneMap.default;}});Object.defineProperty(exports,\"Route\",{enumerable:true,get:function get(){return _types.Route;}});Object.defineProperty(exports,\"NavigationState\",{enumerable:true,get:function get(){return _types.NavigationState;}});Object.defineProperty(exports,\"SceneRendererProps\",{enumerable:true,get:function get(){return _types.SceneRendererProps;}});var _TabView=_interopRequireDefault(require(\"./TabView\"));var _TabBar=_interopRequireDefault(require(\"./TabBar\"));var _SceneMap=_interopRequireDefault(require(\"./SceneMap\"));var _types=require(\"./types\");","map":{"version":3,"sources":["index.tsx"],"names":[],"mappings":"wxBAAA,0DACA,wDACA,4DAEA","sourcesContent":["export { default as TabView } from './TabView';\nexport { default as TabBar } from './TabBar';\nexport { default as SceneMap } from './SceneMap';\n\nexport { Route, NavigationState, SceneRendererProps } from './types';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _normalizeCssColor=_interopRequireDefault(require(\"normalize-css-color\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var linear=function linear(t){return t;};function createInterpolation(config){if(config.outputRange&&typeof config.outputRange[0]==='string'){return createInterpolationFromStringOutputRange(config);}var outputRange=config.outputRange;checkInfiniteRange('outputRange',outputRange);var inputRange=config.inputRange;checkInfiniteRange('inputRange',inputRange);checkValidInputRange(inputRange);(0,_invariant.default)(inputRange.length===outputRange.length,'inputRange ('+inputRange.length+') and outputRange ('+outputRange.length+') must have the same length');var easing=config.easing||linear;var extrapolateLeft='extend';if(config.extrapolateLeft!==undefined){extrapolateLeft=config.extrapolateLeft;}else if(config.extrapolate!==undefined){extrapolateLeft=config.extrapolate;}var extrapolateRight='extend';if(config.extrapolateRight!==undefined){extrapolateRight=config.extrapolateRight;}else if(config.extrapolate!==undefined){extrapolateRight=config.extrapolate;}return function(input){(0,_invariant.default)(typeof input==='number','Cannot interpolation an input which is not a number');var range=findRange(input,inputRange);return interpolate(input,inputRange[range],inputRange[range+1],outputRange[range],outputRange[range+1],easing,extrapolateLeft,extrapolateRight);};}function interpolate(input,inputMin,inputMax,outputMin,outputMax,easing,extrapolateLeft,extrapolateRight){var result=input;if(result<inputMin){if(extrapolateLeft==='identity'){return result;}else if(extrapolateLeft==='clamp'){result=inputMin;}else if(extrapolateLeft==='extend'){}}if(result>inputMax){if(extrapolateRight==='identity'){return result;}else if(extrapolateRight==='clamp'){result=inputMax;}else if(extrapolateRight==='extend'){}}if(outputMin===outputMax){return outputMin;}if(inputMin===inputMax){if(input<=inputMin){return outputMin;}return outputMax;}if(inputMin===-Infinity){result=-result;}else if(inputMax===Infinity){result=result-inputMin;}else{result=(result-inputMin)/(inputMax-inputMin);}result=easing(result);if(outputMin===-Infinity){result=-result;}else if(outputMax===Infinity){result=result+outputMin;}else{result=result*(outputMax-outputMin)+outputMin;}return result;}function colorToRgba(input){var int32Color=(0,_normalizeCssColor.default)(input);if(int32Color===null){return input;}int32Color=int32Color||0;var r=(int32Color&0xff000000)>>>24;var g=(int32Color&0x00ff0000)>>>16;var b=(int32Color&0x0000ff00)>>>8;var a=(int32Color&0x000000ff)/255;return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+a+\")\";}var stringShapeRegex=/[0-9\\.-]+/g;function createInterpolationFromStringOutputRange(config){var outputRange=config.outputRange;(0,_invariant.default)(outputRange.length>=2,'Bad output range');outputRange=outputRange.map(colorToRgba);checkPattern(outputRange);var outputRanges=outputRange[0].match(stringShapeRegex).map(function(){return[];});outputRange.forEach(function(value){value.match(stringShapeRegex).forEach(function(number,i){outputRanges[i].push(+number);});});var interpolations=outputRange[0].match(stringShapeRegex).map(function(value,i){return createInterpolation(_objectSpread({},config,{outputRange:outputRanges[i]}));});var shouldRound=isRgbOrRgba(outputRange[0]);return function(input){var i=0;return outputRange[0].replace(stringShapeRegex,function(){var val=+interpolations[i++](input);var rounded=shouldRound&&i<4?Math.round(val):Math.round(val*1000)/1000;return String(rounded);});};}function isRgbOrRgba(range){return typeof range==='string'&&range.startsWith('rgb');}function checkPattern(arr){var pattern=arr[0].replace(stringShapeRegex,'');for(var i=1;i<arr.length;++i){(0,_invariant.default)(pattern===arr[i].replace(stringShapeRegex,''),'invalid pattern '+arr[0]+' and '+arr[i]);}}function findRange(input,inputRange){var i;for(i=1;i<inputRange.length-1;++i){if(inputRange[i]>=input){break;}}return i-1;}function checkValidInputRange(arr){(0,_invariant.default)(arr.length>=2,'inputRange must have at least 2 elements');for(var i=1;i<arr.length;++i){(0,_invariant.default)(arr[i]>=arr[i-1],'inputRange must be monotonically increasing '+arr);}}function checkInfiniteRange(name,arr){(0,_invariant.default)(arr.length>=2,name+' must have at least 2 elements');(0,_invariant.default)(arr.length!==2||arr[0]!==-Infinity||arr[1]!==Infinity,name+'cannot be ]-infinity;+infinity[ '+arr);}var AnimatedInterpolation=function(_AnimatedWithChildren){_inheritsLoose(AnimatedInterpolation,_AnimatedWithChildren);function AnimatedInterpolation(parent,config){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._parent=parent;_this._config=config;_this._interpolation=createInterpolation(config);return _this;}var _proto=AnimatedInterpolation.prototype;_proto.__makeNative=function __makeNative(){this._parent.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.__getValue=function __getValue(){var parentValue=this._parent.__getValue();(0,_invariant.default)(typeof parentValue==='number','Cannot interpolate an input which is not a number.');return this._interpolation(parentValue);};_proto.interpolate=function interpolate(config){return new AnimatedInterpolation(this,config);};_proto.__attach=function __attach(){this._parent.__addChild(this);};_proto.__detach=function __detach(){this._parent.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__transformDataType=function __transformDataType(range){return range.map(function(value){if(typeof value!=='string'){return value;}if(/deg$/.test(value)){var degrees=parseFloat(value)||0;var radians=degrees*Math.PI/180.0;return radians;}else{return parseFloat(value)||0;}});};_proto.__getNativeConfig=function __getNativeConfig(){if(process.env.NODE_ENV!=='production'){_NativeAnimatedHelper.default.validateInterpolation(this._config);}return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||'extend',extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||'extend',type:'interpolation'};};return AnimatedInterpolation;}(_AnimatedWithChildren2.default);AnimatedInterpolation.__createInterpolation=createInterpolation;var _default=AnimatedInterpolation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedInterpolation.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","_objectSpread","target","i","arguments","length","source","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","linear","t","createInterpolation","config","outputRange","createInterpolationFromStringOutputRange","checkInfiniteRange","inputRange","checkValidInputRange","easing","extrapolateLeft","undefined","extrapolate","extrapolateRight","input","range","findRange","interpolate","inputMin","inputMax","outputMin","outputMax","result","Infinity","colorToRgba","int32Color","r","g","b","a","stringShapeRegex","map","checkPattern","outputRanges","match","number","push","interpolations","shouldRound","isRgbOrRgba","replace","val","rounded","Math","round","String","startsWith","arr","pattern","name","AnimatedInterpolation","_AnimatedWithChildren","parent","_this","call","_parent","_config","_interpolation","_proto","__makeNative","__getValue","parentValue","__attach","__addChild","__detach","__removeChild","__transformDataType","test","degrees","parseFloat","radians","PI","__getNativeConfig","process","env","NODE_ENV","NativeAnimatedHelper","validateInterpolation","type","AnimatedWithChildren","__createInterpolation"],"mappings":"AAWA,a,mKAQA,oEACA,qFACA,qFACA,qEACA,8EAVA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAEvL,QAASM,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA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AOA,CAAAA,KAAP,GAAiB,QAArB,CAA+B,CAC7B,MAAOA,CAAAA,KAAP,CACD,CAED,GAAI,OAAOuE,IAAP,CAAYvE,KAAZ,CAAJ,CAAwB,CACtB,GAAIwE,CAAAA,OAAO,CAAGC,UAAU,CAACzE,KAAD,CAAV,EAAqB,CAAnC,CACA,GAAI0E,CAAAA,OAAO,CAAGF,OAAO,CAAGzB,IAAI,CAAC4B,EAAf,CAAoB,KAAlC,CACA,MAAOD,CAAAA,OAAP,CACD,CAJD,IAIO,CAEL,MAAOD,CAAAA,UAAU,CAACzE,KAAD,CAAV,EAAqB,CAA5B,CACD,CACF,CAbM,CAAP,CAcD,CAjBD,CAmBA8D,MAAM,CAACc,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,GAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzCC,8BAAqBC,qBAArB,CAA2C,KAAKrB,OAAhD,EACD,CAED,MAAO,CACLjD,UAAU,CAAE,KAAKiD,OAAL,CAAajD,UADpB,CAGLH,WAAW,CAAE,KAAK8D,mBAAL,CAAyB,KAAKV,OAAL,CAAapD,WAAtC,CAHR,CAILM,eAAe,CAAE,KAAK8C,OAAL,CAAa9C,eAAb,EAAgC,KAAK8C,OAAL,CAAa5C,WAA7C,EAA4D,QAJxE,CAKLC,gBAAgB,CAAE,KAAK2C,OAAL,CAAa3C,gBAAb,EAAiC,KAAK2C,OAAL,CAAa5C,WAA9C,EAA6D,QAL1E,CAMLkE,IAAI,CAAE,eAND,CAAP,CAQD,CAbD,CAeA,MAAO5B,CAAAA,qBAAP,CACD,CA9ED,CA8EE6B,8BA9EF,CAFA,CAkFA7B,qBAAqB,CAAC8B,qBAAtB,CAA8C9E,mBAA9C,C,aACegD,qB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n\n/* eslint no-bitwise: 0 */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport invariant from 'fbjs/lib/invariant';\nimport normalizeColor from 'normalize-css-color';\n\nvar linear = function linear(t) {\n return t;\n};\n/**\n * Very handy helper to map input ranges to output ranges with an easing\n * function and custom behavior outside of the ranges.\n */\n\n\nfunction createInterpolation(config) {\n if (config.outputRange && typeof config.outputRange[0] === 'string') {\n return createInterpolationFromStringOutputRange(config);\n }\n\n var outputRange = config.outputRange;\n checkInfiniteRange('outputRange', outputRange);\n var inputRange = config.inputRange;\n checkInfiniteRange('inputRange', inputRange);\n checkValidInputRange(inputRange);\n invariant(inputRange.length === outputRange.length, 'inputRange (' + inputRange.length + ') and outputRange (' + outputRange.length + ') must have the same length');\n var easing = config.easing || linear;\n var extrapolateLeft = 'extend';\n\n if (config.extrapolateLeft !== undefined) {\n extrapolateLeft = config.extrapolateLeft;\n } else if (config.extrapolate !== undefined) {\n extrapolateLeft = config.extrapolate;\n }\n\n var extrapolateRight = 'extend';\n\n if (config.extrapolateRight !== undefined) {\n extrapolateRight = config.extrapolateRight;\n } else if (config.extrapolate !== undefined) {\n extrapolateRight = config.extrapolate;\n }\n\n return function (input) {\n invariant(typeof input === 'number', 'Cannot interpolation an input which is not a number');\n var range = findRange(input, inputRange);\n return interpolate(input, inputRange[range], inputRange[range + 1], outputRange[range], outputRange[range + 1], easing, extrapolateLeft, extrapolateRight);\n };\n}\n\nfunction interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight) {\n var result = input; // Extrapolate\n\n if (result < inputMin) {\n if (extrapolateLeft === 'identity') {\n return result;\n } else if (extrapolateLeft === 'clamp') {\n result = inputMin;\n } else if (extrapolateLeft === 'extend') {// noop\n }\n }\n\n if (result > inputMax) {\n if (extrapolateRight === 'identity') {\n return result;\n } else if (extrapolateRight === 'clamp') {\n result = inputMax;\n } else if (extrapolateRight === 'extend') {// noop\n }\n }\n\n if (outputMin === outputMax) {\n return outputMin;\n }\n\n if (inputMin === inputMax) {\n if (input <= inputMin) {\n return outputMin;\n }\n\n return outputMax;\n } // Input Range\n\n\n if (inputMin === -Infinity) {\n result = -result;\n } else if (inputMax === Infinity) {\n result = result - inputMin;\n } else {\n result = (result - inputMin) / (inputMax - inputMin);\n } // Easing\n\n\n result = easing(result); // Output Range\n\n if (outputMin === -Infinity) {\n result = -result;\n } else if (outputMax === Infinity) {\n result = result + outputMin;\n } else {\n result = result * (outputMax - outputMin) + outputMin;\n }\n\n return result;\n}\n\nfunction colorToRgba(input) {\n var int32Color = normalizeColor(input);\n\n if (int32Color === null) {\n return input;\n }\n\n int32Color = int32Color || 0;\n var r = (int32Color & 0xff000000) >>> 24;\n var g = (int32Color & 0x00ff0000) >>> 16;\n var b = (int32Color & 0x0000ff00) >>> 8;\n var a = (int32Color & 0x000000ff) / 255;\n return \"rgba(\" + r + \", \" + g + \", \" + b + \", \" + a + \")\";\n}\n\nvar stringShapeRegex = /[0-9\\.-]+/g;\n/**\n * Supports string shapes by extracting numbers so new values can be computed,\n * and recombines those values into new strings of the same shape. Supports\n * things like:\n *\n * rgba(123, 42, 99, 0.36) // colors\n * -45deg // values with units\n */\n\nfunction createInterpolationFromStringOutputRange(config) {\n var outputRange = config.outputRange;\n invariant(outputRange.length >= 2, 'Bad output range');\n outputRange = outputRange.map(colorToRgba);\n checkPattern(outputRange); // ['rgba(0, 100, 200, 0)', 'rgba(50, 150, 250, 0.5)']\n // ->\n // [\n // [0, 50],\n // [100, 150],\n // [200, 250],\n // [0, 0.5],\n // ]\n\n /* $FlowFixMe(>=0.18.0): `outputRange[0].match()` can return `null`. Need to\n * guard against this possibility.\n */\n\n var outputRanges = outputRange[0].match(stringShapeRegex).map(function () {\n return [];\n });\n outputRange.forEach(function (value) {\n /* $FlowFixMe(>=0.18.0): `value.match()` can return `null`. Need to guard\n * against this possibility.\n */\n value.match(stringShapeRegex).forEach(function (number, i) {\n outputRanges[i].push(+number);\n });\n });\n /* $FlowFixMe(>=0.18.0): `outputRange[0].match()` can return `null`. Need to\n * guard against this possibility.\n */\n\n var interpolations = outputRange[0].match(stringShapeRegex).map(function (value, i) {\n return createInterpolation(_objectSpread({}, config, {\n outputRange: outputRanges[i]\n }));\n }); // rgba requires that the r,g,b are integers.... so we want to round them, but we *dont* want to\n // round the opacity (4th column).\n\n var shouldRound = isRgbOrRgba(outputRange[0]);\n return function (input) {\n var i = 0; // 'rgba(0, 100, 200, 0)'\n // ->\n // 'rgba(${interpolations[0](input)}, ${interpolations[1](input)}, ...'\n\n return outputRange[0].replace(stringShapeRegex, function () {\n var val = +interpolations[i++](input);\n var rounded = shouldRound && i < 4 ? Math.round(val) : Math.round(val * 1000) / 1000;\n return String(rounded);\n });\n };\n}\n\nfunction isRgbOrRgba(range) {\n return typeof range === 'string' && range.startsWith('rgb');\n}\n\nfunction checkPattern(arr) {\n var pattern = arr[0].replace(stringShapeRegex, '');\n\n for (var i = 1; i < arr.length; ++i) {\n invariant(pattern === arr[i].replace(stringShapeRegex, ''), 'invalid pattern ' + arr[0] + ' and ' + arr[i]);\n }\n}\n\nfunction findRange(input, inputRange) {\n var i;\n\n for (i = 1; i < inputRange.length - 1; ++i) {\n if (inputRange[i] >= input) {\n break;\n }\n }\n\n return i - 1;\n}\n\nfunction checkValidInputRange(arr) {\n invariant(arr.length >= 2, 'inputRange must have at least 2 elements');\n\n for (var i = 1; i < arr.length; ++i) {\n invariant(arr[i] >= arr[i - 1],\n /* $FlowFixMe(>=0.13.0) - In the addition expression below this comment,\n * one or both of the operands may be something that doesn't cleanly\n * convert to a string, like undefined, null, and object, etc. If you really\n * mean this implicit string conversion, you can do something like\n * String(myThing)\n */\n 'inputRange must be monotonically increasing ' + arr);\n }\n}\n\nfunction checkInfiniteRange(name, arr) {\n invariant(arr.length >= 2, name + ' must have at least 2 elements');\n invariant(arr.length !== 2 || arr[0] !== -Infinity || arr[1] !== Infinity,\n /* $FlowFixMe(>=0.13.0) - In the addition expression below this comment,\n * one or both of the operands may be something that doesn't cleanly convert\n * to a string, like undefined, null, and object, etc. If you really mean\n * this implicit string conversion, you can do something like\n * String(myThing)\n */\n name + 'cannot be ]-infinity;+infinity[ ' + arr);\n}\n\nvar AnimatedInterpolation =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedInterpolation, _AnimatedWithChildren);\n\n // Export for testing.\n function AnimatedInterpolation(parent, config) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._parent = parent;\n _this._config = config;\n _this._interpolation = createInterpolation(config);\n return _this;\n }\n\n var _proto = AnimatedInterpolation.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._parent.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n var parentValue = this._parent.__getValue();\n\n invariant(typeof parentValue === 'number', 'Cannot interpolate an input which is not a number.');\n return this._interpolation(parentValue);\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._parent.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._parent.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__transformDataType = function __transformDataType(range) {\n // Change the string array type to number array\n // So we can reuse the same logic in iOS and Android platform\n return range.map(function (value) {\n if (typeof value !== 'string') {\n return value;\n }\n\n if (/deg$/.test(value)) {\n var degrees = parseFloat(value) || 0;\n var radians = degrees * Math.PI / 180.0;\n return radians;\n } else {\n // Assume radians\n return parseFloat(value) || 0;\n }\n });\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n if (process.env.NODE_ENV !== 'production') {\n NativeAnimatedHelper.validateInterpolation(this._config);\n }\n\n return {\n inputRange: this._config.inputRange,\n // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here\n outputRange: this.__transformDataType(this._config.outputRange),\n extrapolateLeft: this._config.extrapolateLeft || this._config.extrapolate || 'extend',\n extrapolateRight: this._config.extrapolateRight || this._config.extrapolate || 'extend',\n type: 'interpolation'\n };\n };\n\n return AnimatedInterpolation;\n}(AnimatedWithChildren);\n\nAnimatedInterpolation.__createInterpolation = createInterpolation;\nexport default AnimatedInterpolation;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _react=_interopRequireDefault(require(\"react\"));var _ScrollView=_interopRequireDefault(require(\"react-native-web/dist/exports/ScrollView\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _FlatList=_interopRequireDefault(require(\"react-native-web/dist/exports/FlatList\"));var _SectionList=_interopRequireDefault(require(\"react-native-web/dist/exports/SectionList\"));var _RefreshControl=_interopRequireDefault(require(\"react-native-web/dist/exports/RefreshControl\"));var _reactNativeGestureHandler=require(\"react-native-gesture-handler\");var _createNavigationAwareScrollable=_interopRequireDefault(require(\"./createNavigationAwareScrollable\"));var _invariant=_interopRequireDefault(require(\"./utils/invariant\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var WrappedScrollView;if(_Platform.default.OS==='android'){WrappedScrollView=(0,_createNavigationAwareScrollable.default)(_ScrollView.default);}else{WrappedScrollView=(0,_createNavigationAwareScrollable.default)(_reactNativeGestureHandler.ScrollView);}function propsMaybeWithRefreshControl(props){var onRefresh=props.onRefresh;if(onRefresh){(0,_invariant.default)(typeof props.refreshing==='boolean','`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `'+JSON.stringify(props.refreshing)+'`');return _objectSpread({},props,{refreshControl:props.refreshControl==null?_react.default.createElement(_RefreshControl.default,{refreshing:props.refreshing,onRefresh:onRefresh,progressViewOffset:props.progressViewOffset}):props.refreshControl});}else{return props;}}var WrappedFlatList=_react.default.forwardRef(function(props,ref){return _react.default.createElement(_FlatList.default,(0,_extends2.default)({ref:ref},props,{renderScrollComponent:function renderScrollComponent(props){return _react.default.createElement(WrappedScrollView,propsMaybeWithRefreshControl(props));}}));});var WrappedSectionList=_react.default.forwardRef(function(props,ref){return _react.default.createElement(_SectionList.default,(0,_extends2.default)({ref:ref},props,{renderScrollComponent:function renderScrollComponent(props){return _react.default.createElement(WrappedScrollView,propsMaybeWithRefreshControl(props));}}));});module.exports={ScrollView:WrappedScrollView,FlatList:WrappedFlatList,SectionList:WrappedSectionList};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/Scrollables.js"],"names":["WrappedScrollView","Platform","OS","ScrollView","GHScrollView","propsMaybeWithRefreshControl","props","onRefresh","refreshing","JSON","stringify","refreshControl","progressViewOffset","WrappedFlatList","React","forwardRef","ref","WrappedSectionList","module","exports","FlatList","SectionList"],"mappings":"iQAAA,oD,8cAEA,uEACA,0GACA,oE,yxBAEA,GAAIA,CAAAA,iBAAJ,CACA,GAAIC,kBAASC,EAAT,GAAgB,SAApB,CAA+B,CAI7BF,iBAAiB,CAAG,6CAAgCG,mBAAhC,CAApB,CACD,CALD,IAKO,CACLH,iBAAiB,CAAG,6CAAgCI,qCAAhC,CAApB,CACD,CAED,QAASC,CAAAA,4BAAT,CAAsCC,KAAtC,CAA6C,CAC3C,GAAMC,CAAAA,SAAS,CAAGD,KAAK,CAACC,SAAxB,CACA,GAAIA,SAAJ,CAAe,CACb,uBAAU,MAAOD,CAAAA,KAAK,CAACE,UAAb,GAA4B,SAAtC,CAAiD,oFAAsFC,IAAI,CAACC,SAAL,CAAeJ,KAAK,CAACE,UAArB,CAAtF,CAAyH,GAA1K,EACA,wBACKF,KADL,EAEEK,cAAc,CAAEL,KAAK,CAACK,cAAN,EAAwB,IAAxB,CAA+B,6BAAC,uBAAD,EAAgB,UAAU,CAAEL,KAAK,CAACE,UAAlC,CAA8C,SAAS,CAAED,SAAzD,CAAoE,kBAAkB,CAAED,KAAK,CAACM,kBAA9F,EAA/B,CAAsJN,KAAK,CAACK,cAF9K,GAID,CAND,IAMO,CACL,MAAOL,CAAAA,KAAP,CACD,CACF,CAED,GAAMO,CAAAA,eAAe,CAAGC,eAAMC,UAAN,CAAiB,SAACT,KAAD,CAAQU,GAAR,QAAgB,8BAAC,iBAAD,wBAAU,GAAG,CAAEA,GAAf,EAAwBV,KAAxB,EAA+B,qBAAqB,CAAE,+BAAAA,KAAK,QAAI,8BAAC,iBAAD,CAAuBD,4BAA4B,CAACC,KAAD,CAAnD,CAAJ,EAA3D,GAAhB,EAAjB,CAAxB,CAEA,GAAMW,CAAAA,kBAAkB,CAAGH,eAAMC,UAAN,CAAiB,SAACT,KAAD,CAAQU,GAAR,QAAgB,8BAAC,oBAAD,wBAAa,GAAG,CAAEA,GAAlB,EAA2BV,KAA3B,EAAkC,qBAAqB,CAAE,+BAAAA,KAAK,QAAI,8BAAC,iBAAD,CAAuBD,4BAA4B,CAACC,KAAD,CAAnD,CAAJ,EAA9D,GAAhB,EAAjB,CAA3B,CAGAY,MAAM,CAACC,OAAP,CAAiB,CACfhB,UAAU,CAAEH,iBADG,CAEfoB,QAAQ,CAAEP,eAFK,CAGfQ,WAAW,CAAEJ,kBAHE,CAAjB","sourcesContent":["import React from 'react';\nimport { ScrollView, Platform, FlatList, SectionList, RefreshControl } from 'react-native';\nimport { ScrollView as GHScrollView } from 'react-native-gesture-handler';\nimport createNavigationAwareScrollable from './createNavigationAwareScrollable';\nimport invariant from './utils/invariant';\n\nlet WrappedScrollView;\nif (Platform.OS === 'android') {\n // @todo: use GHScrollView again when\n // https://github.com/kmagiera/react-native-gesture-handler/issues/560 has\n // been fixed.\n WrappedScrollView = createNavigationAwareScrollable(ScrollView);\n} else {\n WrappedScrollView = createNavigationAwareScrollable(GHScrollView);\n}\n\nfunction propsMaybeWithRefreshControl(props) {\n const onRefresh = props.onRefresh;\n if (onRefresh) {\n invariant(typeof props.refreshing === 'boolean', '`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `' + JSON.stringify(props.refreshing) + '`');\n return {\n ...props,\n refreshControl: props.refreshControl == null ? <RefreshControl refreshing={props.refreshing} onRefresh={onRefresh} progressViewOffset={props.progressViewOffset} /> : props.refreshControl\n };\n } else {\n return props;\n }\n}\n\nconst WrappedFlatList = React.forwardRef((props, ref) => <FlatList ref={ref} {...props} renderScrollComponent={props => <WrappedScrollView {...propsMaybeWithRefreshControl(props)} />} />);\n\nconst WrappedSectionList = React.forwardRef((props, ref) => <SectionList ref={ref} {...props} renderScrollComponent={props => <WrappedScrollView {...propsMaybeWithRefreshControl(props)} />} />);\n\n// eslint-disable-next-line import/no-commonjs\nmodule.exports = {\n ScrollView: WrappedScrollView,\n FlatList: WrappedFlatList,\n SectionList: WrappedSectionList\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedEvent=createAnimatedEvent;exports.default=void 0;var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _findNodeHandle=_interopRequireDefault(require(\"react-native-web/dist/exports/findNodeHandle\"));var _ReanimatedModule=_interopRequireDefault(require(\"../ReanimatedModule\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedAlways=require(\"./AnimatedAlways\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _createEventObjectProxyPolyfill=_interopRequireDefault(require(\"./createEventObjectProxyPolyfill\"));function sanitizeArgMapping(argMapping){var eventMappings=[];var alwaysNodes=[];var getNode=function getNode(node){if(_Platform.default.OS==='web'){return node;}return node.__nodeID;};var traverse=function traverse(value,path){if(value instanceof _AnimatedValue.default){eventMappings.push(path.concat(getNode(value)));}else if(typeof value==='object'&&value.__val){eventMappings.push(path.concat(getNode(value.__val)));}else if(typeof value==='function'){var node=new _AnimatedValue.default(0);alwaysNodes.push((0,_AnimatedAlways.createAnimatedAlways)(value(node)));eventMappings.push(path.concat(getNode(node)));}else if(typeof value==='object'){for(var key in value){traverse(value[key],path.concat(key));}}};(0,_invariant.default)(argMapping[0]&&argMapping[0].nativeEvent,'Native driven events only support animated values contained inside `nativeEvent`.');var ev=argMapping[0].nativeEvent;if(typeof ev==='object'){traverse(ev,[]);}else if(typeof ev==='function'){var proxyHandler={get:function get(target,name){if(name==='__isProxy'){return true;}if(!target[name]&&name!=='__val'){target[name]=new Proxy({},proxyHandler);}return target[name];},set:function set(target,prop,value){if(prop==='__val'){target[prop]=value;}}};var proxy=typeof Proxy==='function'?new Proxy({},proxyHandler):(0,_createEventObjectProxyPolyfill.default)();alwaysNodes.push((0,_AnimatedAlways.createAnimatedAlways)(ev(proxy)));traverse(proxy,[]);}return{eventMappings:eventMappings,alwaysNodes:alwaysNodes};}var AnimatedEvent=function(_AnimatedNode){(0,_inherits2.default)(AnimatedEvent,_AnimatedNode);function AnimatedEvent(argMapping){var _this;var config=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,_classCallCheck2.default)(this,AnimatedEvent);var _sanitizeArgMapping=sanitizeArgMapping(argMapping),eventMappings=_sanitizeArgMapping.eventMappings,alwaysNodes=_sanitizeArgMapping.alwaysNodes;_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedEvent).call(this,{type:'event',argMapping:eventMappings}));_this.__isNative=true;_this._alwaysNodes=alwaysNodes;if(_Platform.default.OS==='web'){_this._argMapping=eventMappings;_this.__getHandler=function(){return function(_ref){var nativeEvent=_ref.nativeEvent;for(var _iterator=_this._argMapping,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\"]();;){var _ref4;if(_isArray){if(_i>=_iterator.length)break;_ref4=_iterator[_i++];}else{_i=_iterator.next();if(_i.done)break;_ref4=_i.value;}var _ref5=_ref4;var _ref3=(0,_slicedToArray2.default)(_ref5,2);var _key=_ref3[0];var _value=_ref3[1];if(_key in nativeEvent)_value.setValue(nativeEvent[_key]);}};};}return _this;}(0,_createClass2.default)(AnimatedEvent,[{key:\"attachEvent\",value:function attachEvent(viewRef,eventName){for(var i=0;i<this._alwaysNodes.length;i++){this._alwaysNodes[i].__attach();}this.__attach();var viewTag=(0,_findNodeHandle.default)(viewRef);_ReanimatedModule.default.attachEvent(viewTag,eventName,this.__nodeID);}},{key:\"__onEvaluate\",value:function __onEvaluate(){return 0;}},{key:\"detachEvent\",value:function detachEvent(viewRef,eventName){for(var i=0;i<this._alwaysNodes.length;i++){this._alwaysNodes[i].isNativelyInitialized()&&this._alwaysNodes[i].__detach();}var viewTag=(0,_findNodeHandle.default)(viewRef);_ReanimatedModule.default.detachEvent(viewTag,eventName,this.__nodeID);this.__detach();}}]);return AnimatedEvent;}(_AnimatedNode2.default);exports.default=AnimatedEvent;function createAnimatedEvent(argMapping,config){return new AnimatedEvent(argMapping,config);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedEvent.js"],"names":["sanitizeArgMapping","argMapping","eventMappings","alwaysNodes","getNode","node","Platform","OS","__nodeID","traverse","value","path","InternalAnimatedValue","push","concat","__val","key","nativeEvent","ev","proxyHandler","get","target","name","Proxy","set","prop","proxy","AnimatedEvent","config","type","__isNative","_alwaysNodes","_argMapping","__getHandler","setValue","viewRef","eventName","i","length","__attach","viewTag","ReanimatedModule","attachEvent","isNativelyInitialized","__detach","detachEvent","AnimatedNode","createAnimatedEvent"],"mappings":"q8BACA,6EAEA,qEACA,sEACA,gDAEA,qEACA,wGAEA,QAASA,CAAAA,kBAAT,CAA4BC,UAA5B,CAAwC,CAGtC,GAAMC,CAAAA,aAAa,CAAG,EAAtB,CACA,GAAMC,CAAAA,WAAW,CAAG,EAApB,CAEA,GAAMC,CAAAA,OAAO,CAAG,QAAVA,CAAA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YAAL,CAAkBM,CAAlB,EAAqBO,QAArB,EADF,CAED,CACD,GAAMJ,CAAAA,OAAO,CAAG,4BAAeL,OAAf,CAAhB,CACAM,0BAAiBI,WAAjB,CAA6BL,OAA7B,CAAsCJ,SAAtC,CAAiD,KAAK5B,QAAtD,EACA,KAAKoC,QAAL,GACD,C,2BA3CwCE,sB,gCA8CpC,QAASC,CAAAA,mBAAT,CAA6B9C,UAA7B,CAAyC2B,MAAzC,CAAiD,CACtD,MAAO,IAAID,CAAAA,aAAJ,CAAkB1B,UAAlB,CAA8B2B,MAA9B,CAAP,CACD","sourcesContent":["import { Platform, findNodeHandle } from 'react-native';\nimport ReanimatedModule from '../ReanimatedModule';\n\nimport AnimatedNode from './AnimatedNode';\nimport InternalAnimatedValue from './AnimatedValue';\nimport { createAnimatedAlways } from './AnimatedAlways';\n\nimport invariant from 'fbjs/lib/invariant';\nimport createEventObjectProxyPolyfill from './createEventObjectProxyPolyfill';\n\nfunction sanitizeArgMapping(argMapping) {\n // Find animated values in `argMapping` and create an array representing their\n // key path inside the `nativeEvent` object. Ex.: ['contentOffset', 'x'].\n const eventMappings = [];\n const alwaysNodes = [];\n\n const getNode = node => {\n if (Platform.OS === 'web') {\n return node;\n }\n return node.__nodeID;\n };\n\n const traverse = (value, path) => {\n if (value instanceof InternalAnimatedValue) {\n eventMappings.push(path.concat(getNode(value)));\n } else if (typeof value === 'object' && value.__val) {\n eventMappings.push(path.concat(getNode(value.__val)));\n } else if (typeof value === 'function') {\n const node = new InternalAnimatedValue(0);\n alwaysNodes.push(createAnimatedAlways(value(node)));\n eventMappings.push(path.concat(getNode(node)));\n } else if (typeof value === 'object') {\n for (const key in value) {\n traverse(value[key], path.concat(key));\n }\n }\n };\n\n invariant(\n argMapping[0] && argMapping[0].nativeEvent,\n 'Native driven events only support animated values contained inside `nativeEvent`.'\n );\n\n // Assume that the event containing `nativeEvent` is always the first argument.\n const ev = argMapping[0].nativeEvent;\n if (typeof ev === 'object') {\n traverse(ev, []);\n } else if (typeof ev === 'function') {\n const proxyHandler = {\n get: function(target, name) {\n if (name === '__isProxy') {\n return true;\n }\n if (!target[name] && name !== '__val') {\n target[name] = new Proxy({}, proxyHandler);\n }\n return target[name];\n },\n set: function(target, prop, value) {\n if (prop === '__val') {\n target[prop] = value;\n }\n },\n };\n\n const proxy =\n typeof Proxy === 'function'\n ? new Proxy({}, proxyHandler)\n : createEventObjectProxyPolyfill();\n alwaysNodes.push(createAnimatedAlways(ev(proxy)));\n traverse(proxy, []);\n }\n\n return { eventMappings, alwaysNodes };\n}\n\nexport default class AnimatedEvent extends AnimatedNode {\n constructor(argMapping, config = {}) {\n const { eventMappings, alwaysNodes } = sanitizeArgMapping(argMapping);\n super({ type: 'event', argMapping: eventMappings });\n this._alwaysNodes = alwaysNodes;\n if (Platform.OS === 'web') {\n this._argMapping = eventMappings;\n this.__getHandler = () => {\n return ({ nativeEvent }) => {\n for (const [key, value] of this._argMapping) {\n if (key in nativeEvent) value.setValue(nativeEvent[key]);\n }\n };\n };\n }\n }\n\n // The below field is a temporary workaround to make AnimatedEvent object be recognized\n // as Animated.event event callback and therefore filtered out from being send over the\n // bridge which was causing the object to be frozen in JS.\n __isNative = true;\n\n attachEvent(viewRef, eventName) {\n for (let i = 0; i < this._alwaysNodes.length; i++) {\n this._alwaysNodes[i].__attach();\n }\n this.__attach();\n const viewTag = findNodeHandle(viewRef);\n ReanimatedModule.attachEvent(viewTag, eventName, this.__nodeID);\n }\n\n __onEvaluate() {\n return 0;\n }\n\n detachEvent(viewRef, eventName) {\n for (let i = 0; i < this._alwaysNodes.length; i++) {\n this._alwaysNodes[i].isNativelyInitialized() &&\n this._alwaysNodes[i].__detach();\n }\n const viewTag = findNodeHandle(viewRef);\n ReanimatedModule.detachEvent(viewTag, eventName, this.__nodeID);\n this.__detach();\n }\n}\n\nexport function createAnimatedEvent(argMapping, config) {\n return new AnimatedEvent(argMapping, config);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var resets=['html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}','body{margin:0;}','button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}','input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,'+'input::-webkit-search-cancel-button,input::-webkit-search-decoration,'+'input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}'];var _default=resets;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/initialRules.js"],"names":["resets"],"mappings":"gFAQA,GAAIA,CAAAA,MAAM,CAAG,CACb,0GADa,CAC+F,iBAD/F,CAEb,uEAFa,CAE4D,qEAAuE,uEAAvE,CAAiJ,8FAF7M,CAAb,C,aAGeA,M","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar resets = [// minimal top-level reset\n'html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}', 'body{margin:0;}', // minimal form pseudo-element reset\n'button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}', 'input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,' + 'input::-webkit-search-cancel-button,input::-webkit-search-decoration,' + 'input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}'];\nexport default resets;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=shadow;var Colors=_interopRequireWildcard(require(\"./colors\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var SHADOW_COLOR=Colors.black;var SHADOW_OPACITY=0.24;function shadow(){var elevation=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;if(elevation instanceof _Animated.default.Value){var inputRange=[0,1,2,3,8,24];return{shadowColor:SHADOW_COLOR,shadowOffset:{width:new _Animated.default.Value(0),height:elevation.interpolate({inputRange:inputRange,outputRange:[0,0.5,0.75,2,7,23]})},shadowOpacity:new _Animated.default.Value(SHADOW_OPACITY),shadowRadius:elevation.interpolate({inputRange:inputRange,outputRange:[0,0.75,1.5,3,8,24]})};}else{if(elevation===0){return{};}var height,radius;switch(elevation){case 1:height=0.5;radius=0.75;break;case 2:height=0.75;radius=1.5;break;default:height=elevation-1;radius=elevation;}return{shadowColor:SHADOW_COLOR,shadowOffset:{width:0,height:height},shadowOpacity:SHADOW_OPACITY,shadowRadius:radius};}}","map":{"version":3,"sources":["shadow.tsx"],"names":["SHADOW_COLOR","Colors","SHADOW_OPACITY","elevation","Animated","inputRange","shadowColor","shadowOffset","width","height","outputRange","shadowOpacity","shadowRadius","radius"],"mappings":"wPAAA,wD,wFAGA,GAAMA,CAAAA,YAAY,CAAGC,MAAM,CAA3B,KAAA,CACA,GAAMC,CAAAA,cAAc,CAApB,IAAA,CAEe,QAAA,CAAA,MAAA,EAAwD,CAAxCC,GAAAA,CAAAA,SAAwC,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CAAH,CAArCA,CAC7B,GAAIA,SAAS,WAAYC,mBAAzB,KAAA,CAAyC,CACvC,GAAMC,CAAAA,UAAU,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAnB,EAAmB,CAAnB,CAEA,MAAO,CACLC,WAAW,CADN,YAAA,CAELC,YAAY,CAAE,CACZC,KAAK,CAAE,GAAIJ,mBAAJ,KAAA,CADK,CACL,CADK,CAEZK,MAAM,CAAEN,SAAS,CAATA,WAAAA,CAAsB,CAC5BE,UAAU,CADkB,UAAA,CAE5BK,WAAW,CAAE,CAAA,CAAA,CAAA,GAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CANZ,EAMY,CAFe,CAAtBP,CAFI,CAFT,CASLQ,aAAa,CAAE,GAAIP,mBAAJ,KAAA,CATV,cASU,CATV,CAULQ,YAAY,CAAET,SAAS,CAATA,WAAAA,CAAsB,CAClCE,UAAU,CADwB,UAAA,CAElCK,WAAW,CAAE,CAAA,CAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAZjB,EAYiB,CAFqB,CAAtBP,CAVT,CAAP,CAHF,CAAA,IAkBO,CACL,GAAIA,SAAS,GAAb,CAAA,CAAqB,CACnB,MAAA,EAAA,CAGF,IAAA,CAAA,MAAA,CAAA,MAAA,CACA,OAAA,SAAA,EACE,IAAA,EAAA,CACEM,MAAM,CAANA,GAAAA,CACAI,MAAM,CAANA,IAAAA,CACA,MACF,IAAA,EAAA,CACEJ,MAAM,CAANA,IAAAA,CACAI,MAAM,CAANA,GAAAA,CACA,MACF,QACEJ,MAAM,CAAGN,SAAS,CAAlBM,CAAAA,CACAI,MAAM,CAXV,SAWIA,CAXJ,CAcA,MAAO,CACLP,WAAW,CADN,YAAA,CAELC,YAAY,CAAE,CACZC,KAAK,CADO,CAAA,CAEZC,MAAM,CAJH,MAES,CAFT,CAMLE,aAAa,CANR,cAAA,CAOLC,YAAY,CAPd,MAAO,CAAP,CAUH,CAAA","sourcesContent":["import * as Colors from './colors';\nimport { Animated } from 'react-native';\n\nconst SHADOW_COLOR = Colors.black;\nconst SHADOW_OPACITY = 0.24;\n\nexport default function shadow(elevation: number | Animated.Value = 0) {\n if (elevation instanceof Animated.Value) {\n const inputRange = [0, 1, 2, 3, 8, 24];\n\n return {\n shadowColor: SHADOW_COLOR,\n shadowOffset: {\n width: new Animated.Value(0),\n height: elevation.interpolate({\n inputRange,\n outputRange: [0, 0.5, 0.75, 2, 7, 23],\n }),\n },\n shadowOpacity: new Animated.Value(SHADOW_OPACITY),\n shadowRadius: elevation.interpolate({\n inputRange,\n outputRange: [0, 0.75, 1.5, 3, 8, 24],\n }),\n };\n } else {\n if (elevation === 0) {\n return {};\n }\n\n let height, radius;\n switch (elevation) {\n case 1:\n height = 0.5;\n radius = 0.75;\n break;\n case 2:\n height = 0.75;\n radius = 1.5;\n break;\n default:\n height = elevation - 1;\n radius = elevation;\n }\n\n return {\n shadowColor: SHADOW_COLOR,\n shadowOffset: {\n width: 0,\n height,\n },\n shadowOpacity: SHADOW_OPACITY,\n shadowRadius: radius,\n };\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var React=_interopRequireWildcard(require(\"react\"));var _default=React.createContext('light');exports.default=_default;","map":{"version":3,"sources":["ThemeContext.ts"],"names":["React"],"mappings":"qKAAA,oD,aAIeA,KAAK,CAALA,aAAAA,CAAf,OAAeA,C","sourcesContent":["import * as React from 'react';\n\n// Only light and dark are supported currently. Arbitrary theming not available.\nexport type ThemeContextType = 'light' | 'dark';\nexport default React.createContext<ThemeContextType>('light');\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});require(\"./Asset.fx\");var _Asset2=require(\"./Asset\");Object.keys(_Asset2).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _Asset2[key];}});});","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"yDAAA,sBAEA","sourcesContent":["import './Asset.fx';\n\nexport * from './Asset';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var dataUriPattern=/^data:/;var ImageUriCache=function(){function ImageUriCache(){}ImageUriCache.has=function has(uri){var entries=ImageUriCache._entries;var isDataUri=dataUriPattern.test(uri);return isDataUri||Boolean(entries[uri]);};ImageUriCache.add=function add(uri){var entries=ImageUriCache._entries;var lastUsedTimestamp=Date.now();if(entries[uri]){entries[uri].lastUsedTimestamp=lastUsedTimestamp;entries[uri].refCount+=1;}else{entries[uri]={lastUsedTimestamp:lastUsedTimestamp,refCount:1};}};ImageUriCache.remove=function remove(uri){var entries=ImageUriCache._entries;if(entries[uri]){entries[uri].refCount-=1;}ImageUriCache._cleanUpIfNeeded();};ImageUriCache._cleanUpIfNeeded=function _cleanUpIfNeeded(){var entries=ImageUriCache._entries;var imageUris=Object.keys(entries);if(imageUris.length+1>ImageUriCache._maximumEntries){var leastRecentlyUsedKey;var leastRecentlyUsedEntry;imageUris.forEach(function(uri){var entry=entries[uri];if((!leastRecentlyUsedEntry||entry.lastUsedTimestamp<leastRecentlyUsedEntry.lastUsedTimestamp)&&entry.refCount===0){leastRecentlyUsedKey=uri;leastRecentlyUsedEntry=entry;}});if(leastRecentlyUsedKey){delete entries[leastRecentlyUsedKey];}}};return ImageUriCache;}();exports.default=ImageUriCache;ImageUriCache._maximumEntries=256;ImageUriCache._entries={};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Image/ImageUriCache.js"],"names":["dataUriPattern","ImageUriCache","has","uri","entries","_entries","isDataUri","test","Boolean","add","lastUsedTimestamp","Date","now","refCount","remove","_cleanUpIfNeeded","imageUris","Object","keys","length","_maximumEntries","leastRecentlyUsedKey","leastRecentlyUsedEntry","forEach","entry"],"mappings":"gFAQA,GAAIA,CAAAA,cAAc,CAAG,QAArB,CAEA,GAAIC,CAAAA,aAAa,CAEjB,UAAY,CACV,QAASA,CAAAA,aAAT,EAAyB,CAAE,CAE3BA,aAAa,CAACC,GAAd,CAAoB,QAASA,CAAAA,GAAT,CAAaC,GAAb,CAAkB,CACpC,G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CACxD,GAAIC,CAAAA,oBAAJ,CACA,GAAIC,CAAAA,sBAAJ,CACAN,SAAS,CAACO,OAAV,CAAkB,SAAUpB,GAAV,CAAe,CAC/B,GAAIqB,CAAAA,KAAK,CAAGpB,OAAO,CAACD,GAAD,CAAnB,CAEA,GAAI,CAAC,CAACmB,sBAAD,EAA2BE,KAAK,CAACd,iBAAN,CAA0BY,sBAAsB,CAACZ,iBAA7E,GAAmGc,KAAK,CAACX,QAAN,GAAmB,CAA1H,CAA6H,CAC3HQ,oBAAoB,CAAGlB,GAAvB,CACAmB,sBAAsB,CAAGE,KAAzB,CACD,CACF,CAPD,EASA,GAAIH,oBAAJ,CAA0B,CACxB,MAAOjB,CAAAA,OAAO,CAACiB,oBAAD,CAAd,CACD,CACF,CACF,CApBD,CAsBA,MAAOpB,CAAAA,aAAP,CACD,CA1DD,EAFA,C,8BA8DAA,aAAa,CAACmB,eAAd,CAAgC,GAAhC,CACAnB,aAAa,CAACI,QAAd,CAAyB,EAAzB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar dataUriPattern = /^data:/;\n\nvar ImageUriCache =\n/*#__PURE__*/\nfunction () {\n function ImageUriCache() {}\n\n ImageUriCache.has = function has(uri) {\n var entries = ImageUriCache._entries;\n var isDataUri = dataUriPattern.test(uri);\n return isDataUri || Boolean(entries[uri]);\n };\n\n ImageUriCache.add = function add(uri) {\n var entries = ImageUriCache._entries;\n var lastUsedTimestamp = Date.now();\n\n if (entries[uri]) {\n entries[uri].lastUsedTimestamp = lastUsedTimestamp;\n entries[uri].refCount += 1;\n } else {\n entries[uri] = {\n lastUsedTimestamp: lastUsedTimestamp,\n refCount: 1\n };\n }\n };\n\n ImageUriCache.remove = function remove(uri) {\n var entries = ImageUriCache._entries;\n\n if (entries[uri]) {\n entries[uri].refCount -= 1;\n } // Free up entries when the cache is \"full\"\n\n\n ImageUriCache._cleanUpIfNeeded();\n };\n\n ImageUriCache._cleanUpIfNeeded = function _cleanUpIfNeeded() {\n var entries = ImageUriCache._entries;\n var imageUris = Object.keys(entries);\n\n if (imageUris.length + 1 > ImageUriCache._maximumEntries) {\n var leastRecentlyUsedKey;\n var leastRecentlyUsedEntry;\n imageUris.forEach(function (uri) {\n var entry = entries[uri];\n\n if ((!leastRecentlyUsedEntry || entry.lastUsedTimestamp < leastRecentlyUsedEntry.lastUsedTimestamp) && entry.refCount === 0) {\n leastRecentlyUsedKey = uri;\n leastRecentlyUsedEntry = entry;\n }\n });\n\n if (leastRecentlyUsedKey) {\n delete entries[leastRecentlyUsedKey];\n }\n }\n };\n\n return ImageUriCache;\n}();\n\nImageUriCache._maximumEntries = 256;\nImageUriCache._entries = {};\nexport { ImageUriCache as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedDivision=function(_AnimatedWithChildren){_inheritsLoose(AnimatedDivision,_AnimatedWithChildren);function AnimatedDivision(a,b){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._a=typeof a==='number'?new _AnimatedValue.default(a):a;_this._b=typeof b==='number'?new _AnimatedValue.default(b):b;return _this;}var _proto=AnimatedDivision.prototype;_proto.__makeNative=function __makeNative(){this._a.__makeNative();this._b.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.__getValue=function __getValue(){var a=this._a.__getValue();var b=this._b.__getValue();if(b===0){console.error('Detected division by zero in AnimatedDivision');}return a/b;};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.__attach=function __attach(){this._a.__addChild(this);this._b.__addChild(this);};_proto.__detach=function __detach(){this._a.__removeChild(this);this._b.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'division',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]};};return AnimatedDivision;}(_AnimatedWithChildren2.default);var _default=AnimatedDivision;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedDivision.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedDivision","_AnimatedWithChildren","a","b","_this","call","_a","AnimatedValue","_b","_proto","__makeNative","__getValue","console","error","interpolate","config","AnimatedInterpolation","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,sEACA,qFALA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAOvL,GAAIM,CAAAA,gBAAgB,CAEpB,SAAUC,qBAAV,CAAiC,CAC/BT,cAAc,CAACQ,gBAAD,CAAmBC,qBAAnB,CAAd,CAEA,QAASD,CAAAA,gBAAT,CAA0BE,CAA1B,CAA6BC,CAA7B,CAAgC,CAC9B,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,GAAoC,IAA5C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B,CACpC,KAAKb,EAAL,CAAQc,aAAR,CAAsB,IAAtB,EAEA,KAAKZ,EAAL,CAAQY,aAAR,CAAsB,IAAtB,EAEAnB,qBAAqB,CAACN,SAAtB,CAAgCwB,QAAhC,CAAyCd,IAAzC,CAA8C,IAA9C,EACD,CAND,CAQAI,MAAM,CAACY,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,MAAO,CACLC,IAAI,CAAE,UADD,CAELC,KAAK,CAAE,CAAC,KAAKjB,EAAL,CAAQkB,cAAR,EAAD,CAA2B,KAAKhB,EAAL,CAAQgB,cAAR,EAA3B,CAFF,CAAP,CAID,CALD,CAOA,MAAOxB,CAAAA,gBAAP,CACD,CA5DD,CA4DEyB,8BA5DF,CAFA,C,aAgEezB,gB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedDivision =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedDivision, _AnimatedWithChildren);\n\n function AnimatedDivision(a, b) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n _this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n return _this;\n }\n\n var _proto = AnimatedDivision.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n this._b.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n var a = this._a.__getValue();\n\n var b = this._b.__getValue();\n\n if (b === 0) {\n console.error('Detected division by zero in AnimatedDivision');\n }\n\n return a / b;\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n\n this._b.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n this._b.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'division',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n };\n\n return AnimatedDivision;\n}(AnimatedWithChildren);\n\nexport default AnimatedDivision;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var canUseDOM=!!(typeof window!=='undefined'&&window.document&&window.document.createElement);var ExecutionEnvironment={canUseDOM:canUseDOM,canUseWorkers:typeof Worker!=='undefined',canUseEventListeners:canUseDOM&&!!(window.addEventListener||window.attachEvent),canUseViewport:canUseDOM&&!!window.screen,isInWorker:!canUseDOM};module.exports=ExecutionEnvironment;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/ExecutionEnvironment.js"],"names":["canUseDOM","window","document","createElement","ExecutionEnvironment","canUseWorkers","Worker","canUseEventListeners","addEventListener","attachEvent","canUseViewport","screen","isInWorker","module","exports"],"mappings":"AAOA,aAEA,GAAIA,CAAAA,SAAS,CAAG,CAAC,EAAE,MAAOC,CAAAA,MAAP,GAAkB,WAAlB,EAAiCA,MAAM,CAACC,QAAxC,EAAoDD,MAAM,CAACC,QAAP,CAAgBC,aAAtE,CAAjB,CAQA,GAAIC,CAAAA,oBAAoB,CAAG,CACzBJ,SAAS,CAAEA,SADc,CAEzBK,aAAa,CAAE,MAAOC,CAAAA,MAAP,GAAkB,WAFR,CAGzBC,oBAAoB,CAAEP,SAAS,EAAI,CAAC,EAAEC,MAAM,CAACO,gBAAP,EAA2BP,MAAM,CAACQ,WAApC,CAHX,CAIzBC,cAAc,CAAEV,SAAS,EAAI,CAAC,CAACC,MAAM,CAACU,MAJb,CAKzBC,UAAU,CAAE,CAACZ,SALY,CAA3B,CAQAa,MAAM,CAACC,OAAP,CAAiBV,oBAAjB","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\n\nvar ExecutionEnvironment = {\n canUseDOM: canUseDOM,\n canUseWorkers: typeof Worker !== 'undefined',\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n canUseViewport: canUseDOM && !!window.screen,\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\nmodule.exports = ExecutionEnvironment;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.readTest=void 0;var _test=_interopRequireDefault(require(\"../assets/test.json\"));var _filter=_interopRequireDefault(require(\"./filter\"));var readTest=function readTest(){var testResult=_test.default;return(0,_filter.default)(testResult);};exports.readTest=readTest;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/lib/readTest.js"],"names":["readTest","testResult","test"],"mappings":"oKAAA,iEACA,wDAEO,GAAMA,CAAAA,QAAQ,CAAG,QAAXA,CAAAA,QAAW,EAAM,CAC1B,GAAIC,CAAAA,UAAU,CAAGC,aAAjB,CACA,MAAO,oBAAOD,UAAP,CAAP,CACH,CAHM,C","sourcesContent":["import test from '../assets/test.json'\r\nimport filter from './filter';\r\n\r\nexport const readTest = () => {\r\n let testResult = test;\r\n return filter(testResult);\r\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"TouchableNativeFeedback\",{enumerable:true,get:function get(){return _TouchableNativeFeedback.default;}});Object.defineProperty(exports,\"TouchableWithoutFeedback\",{enumerable:true,get:function get(){return _TouchableWithoutFeedback.default;}});Object.defineProperty(exports,\"TouchableOpacity\",{enumerable:true,get:function get(){return _TouchableOpacity.default;}});Object.defineProperty(exports,\"TouchableHighlight\",{enumerable:true,get:function get(){return _TouchableHighlight.default;}});var _TouchableNativeFeedback=_interopRequireDefault(require(\"./TouchableNativeFeedback\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"./TouchableWithoutFeedback\"));var _TouchableOpacity=_interopRequireDefault(require(\"./TouchableOpacity\"));var _TouchableHighlight=_interopRequireDefault(require(\"./TouchableHighlight\"));","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/touchables/index.js"],"names":[],"mappings":"spBAAA,0FACA,4FAGA,4EACA","sourcesContent":["export { default as TouchableNativeFeedback } from './TouchableNativeFeedback';\nexport {\n default as TouchableWithoutFeedback,\n} from './TouchableWithoutFeedback';\nexport { default as TouchableOpacity } from './TouchableOpacity';\nexport { default as TouchableHighlight } from './TouchableHighlight';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.CardTitle=exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _theming=require(\"../../core/theming\");var _Caption=_interopRequireDefault(require(\"./../Typography/Caption\"));var _Title=_interopRequireDefault(require(\"./../Typography/Title\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Card/CardTitle.tsx\";var LEFT_SIZE=40;var CardTitle=function(_React$Component){(0,_inherits2.default)(CardTitle,_React$Component);function CardTitle(){(0,_classCallCheck2.default)(this,CardTitle);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(CardTitle).apply(this,arguments));}(0,_createClass2.default)(CardTitle,[{key:\"render\",value:function render(){var _this$props=this.props,left=_this$props.left,leftStyle=_this$props.leftStyle,right=_this$props.right,rightStyle=_this$props.rightStyle,subtitle=_this$props.subtitle,subtitleStyle=_this$props.subtitleStyle,style=_this$props.style,title=_this$props.title,titleStyle=_this$props.titleStyle;return React.createElement(_View.default,{style:[styles.container,{height:subtitle||left||right?72:50},style],__source:{fileName:_jsxFileName,lineNumber:106}},left?React.createElement(_View.default,{style:[styles.left,leftStyle],__source:{fileName:_jsxFileName,lineNumber:114}},left({size:LEFT_SIZE})):null,React.createElement(_View.default,{style:[styles.titles],__source:{fileName:_jsxFileName,lineNumber:121}},title?React.createElement(_Title.default,{style:[styles.title,{marginBottom:subtitle?0:2},titleStyle],numberOfLines:1,__source:{fileName:_jsxFileName,lineNumber:123}},title):null,subtitle?React.createElement(_Caption.default,{style:[styles.subtitle,subtitleStyle],numberOfLines:1,__source:{fileName:_jsxFileName,lineNumber:136}},subtitle):null),React.createElement(_View.default,{style:rightStyle,__source:{fileName:_jsxFileName,lineNumber:142}},right?right({size:24}):null));}}]);return CardTitle;}(React.Component);exports.CardTitle=CardTitle;CardTitle.displayName='Card.Title';var styles=_StyleSheet.default.create({container:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',paddingLeft:16},left:{justifyContent:'center',marginRight:16,height:LEFT_SIZE,width:LEFT_SIZE},titles:{flex:1,flexDirection:'column',justifyContent:'center',height:50},title:{minHeight:30},subtitle:{minHeight:20,marginVertical:0}});var _default=(0,_theming.withTheme)(CardTitle);exports.default=_default;","map":{"version":3,"sources":["CardTitle.tsx"],"names":["LEFT_SIZE","CardTitle","React","Component","displayName","left","leftStyle","right","rightStyle","subtitle","subtitleStyle","style","title","titleStyle","styles","height","size","marginBottom","StyleSheet","container","flexDirection","alignItems","justifyContent","paddingLeft","marginRight","width","titles","flex","minHeight","marginVertical","withTheme"],"mappings":"ouBAAA,oD,4KASA,2CACA,wEACA,oE,yGAmDA,GAAMA,CAAAA,SAAS,CAAf,EAAA,CA0BMC,GAAAA,CAAAA,S,8UAGK,CAAA,GAAA,CAAA,WAAA,CAWH,KAXG,KAAA,CAELI,IAFK,CAAA,WAAA,CAAA,IAAA,CAGLC,SAHK,CAAA,WAAA,CAAA,SAAA,CAILC,KAJK,CAAA,WAAA,CAAA,KAAA,CAKLC,UALK,CAAA,WAAA,CAAA,UAAA,CAMLC,QANK,CAAA,WAAA,CAAA,QAAA,CAOLC,aAPK,CAAA,WAAA,CAAA,aAAA,CAQLC,KARK,CAAA,WAAA,CAAA,KAAA,CASLC,KATK,CAAA,WAAA,CAAA,KAAA,CAULC,UAVK,CAAA,WAAA,CAAA,UAAA,CAaP,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,CACE,KAAK,CAAE,CACLC,MAAM,CADD,SAAA,CAEL,CAAEC,MAAM,CAAEN,QAAQ,EAARA,IAAAA,EAAAA,KAAAA,CAAAA,EAAAA,CAFL,EAEL,CAFK,CADT,KACS,CADT,CAAA,QAAA,C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C,CAAES,IAAI,CAAf,EAAS,CAAD,CAAR,CArCnC,IAqCI,CApCF,CADF,C,wBAhBoBd,KAAK,CAACC,S,CAAxBF,C,4BAAAA,S,CACGG,WADHH,CACiB,YADjBA,CA2DN,GAAMa,CAAAA,MAAM,CAAGI,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,aAAa,CADJ,KAAA,CAETC,UAAU,CAFD,QAAA,CAGTC,cAAc,CAHL,eAAA,CAITC,WAAW,CALkB,EACpB,CADoB,CAQ/BlB,IAAI,CAAE,CACJiB,cAAc,CADV,QAAA,CAEJE,WAAW,CAFP,EAAA,CAGJT,MAAM,CAHF,SAAA,CAIJU,KAAK,CAZwB,SAQzB,CARyB,CAe/BC,MAAM,CAAE,CACNC,IAAI,CADE,CAAA,CAENP,aAAa,CAFP,QAAA,CAGNE,cAAc,CAHR,QAAA,CAINP,MAAM,CAnBuB,EAevB,CAfuB,CAsB/BH,KAAK,CAAE,CACLgB,SAAS,CAvBoB,EAsBxB,CAtBwB,CA0B/BnB,QAAQ,CAAE,CACRmB,SAAS,CADD,EAAA,CAERC,cAAc,CA5BlB,CA0BY,CA1BqB,CAAlBX,CAAf,C,aAgCeY,uBAAf,SAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n StyleProp,\n StyleSheet,\n TextStyle,\n View,\n ViewStyle,\n} from 'react-native';\n\nimport { withTheme } from '../../core/theming';\nimport Caption from './../Typography/Caption';\nimport Title from './../Typography/Title';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof View> & {\n /**\n * Text for the title. Note that this will only accept a string or `<Text>`-based node.\n */\n title: React.ReactNode;\n /**\n * Style for the title.\n */\n titleStyle?: StyleProp<TextStyle>;\n /**\n * Text for the subtitle. Note that this will only accept a string or `<Text>`-based node.\n */\n subtitle?: React.ReactNode;\n /**\n * Style for the subtitle.\n */\n subtitleStyle?: StyleProp<TextStyle>;\n /**\n * Callback which returns a React element to display on the left side.\n */\n left?: (props: { size: number }) => React.ReactNode;\n /**\n * Style for the left element wrapper.\n */\n leftStyle?: StyleProp<ViewStyle>;\n /**\n * Callback which returns a React element to display on the right side.\n */\n right?: (props: { size: number }) => React.ReactNode;\n /**\n * Style for the right element wrapper.\n */\n rightStyle?: StyleProp<ViewStyle>;\n /**\n * @internal\n */\n index?: number;\n /**\n * @internal\n */\n total?: number;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\nconst LEFT_SIZE = 40;\n\n/**\n * A component to show a title, subtitle and an avatar inside a Card.\n *\n * <div class=\"screenshots\">\n * <img class=\"medium\" src=\"screenshots/card-title-1.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Avatar, Card, IconButton } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Card.Title\n * title=\"Card Title\"\n * subtitle=\"Card Subtitle\"\n * left={(props) => <Avatar.Icon {...props} icon=\"folder\" />}\n * right={(props) => <IconButton {...props} icon=\"more-vert\" onPress={() => {}} />}\n * />\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass CardTitle extends React.Component<Props> {\n static displayName = 'Card.Title';\n\n render() {\n const {\n left,\n leftStyle,\n right,\n rightStyle,\n subtitle,\n subtitleStyle,\n style,\n title,\n titleStyle,\n } = this.props;\n\n return (\n <View\n style={[\n styles.container,\n { height: subtitle || left || right ? 72 : 50 },\n style,\n ]}\n >\n {left ? (\n <View style={[styles.left, leftStyle]}>\n {left({\n size: LEFT_SIZE,\n })}\n </View>\n ) : null}\n\n <View style={[styles.titles]}>\n {title ? (\n <Title\n style={[\n styles.title,\n { marginBottom: subtitle ? 0 : 2 },\n titleStyle,\n ]}\n numberOfLines={1}\n >\n {title}\n </Title>\n ) : null}\n\n {subtitle ? (\n <Caption style={[styles.subtitle, subtitleStyle]} numberOfLines={1}>\n {subtitle}\n </Caption>\n ) : null}\n </View>\n\n <View style={rightStyle}>{right ? right({ size: 24 }) : null}</View>\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n paddingLeft: 16,\n },\n\n left: {\n justifyContent: 'center',\n marginRight: 16,\n height: LEFT_SIZE,\n width: LEFT_SIZE,\n },\n\n titles: {\n flex: 1,\n flexDirection: 'column',\n justifyContent: 'center',\n height: 50,\n },\n\n title: {\n minHeight: 30,\n },\n\n subtitle: {\n minHeight: 20,\n marginVertical: 0,\n },\n});\n\nexport default withTheme(CardTitle);\n\n// @component-docs ignore-next-line\nexport { CardTitle };\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedConcat=createAnimatedConcat;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedBlock=require(\"../core/AnimatedBlock\");var _val=require(\"../val\");var AnimatedConcat=function(_AnimatedNode){(0,_inherits2.default)(AnimatedConcat,_AnimatedNode);function AnimatedConcat(input){var _this;(0,_classCallCheck2.default)(this,AnimatedConcat);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedConcat).call(this,{type:'concat',input:input.map(function(n){return n.__nodeID;})},input));_this._input=input;return _this;}(0,_createClass2.default)(AnimatedConcat,[{key:\"__onEvaluate\",value:function __onEvaluate(){return this._input.reduce(function(prev,current){return prev+(0,_val.val)(current);},'');}}]);return AnimatedConcat;}(_AnimatedNode2.default);function createAnimatedConcat(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return new AnimatedConcat(args.map(_AnimatedBlock.adapt));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedConcat.js"],"names":["AnimatedConcat","input","type","map","n","__nodeID","_input","reduce","prev","current","AnimatedNode","createAnimatedConcat","args","adapt"],"mappings":"wpBAAA,qEACA,oDACA,2B,GAEMA,CAAAA,c,8EACJ,wBAAYC,KAAZ,CAAmB,6DACjB,0GAAM,CAAEC,IAAI,CAAE,QAAR,CAAkBD,KAAK,CAAEA,KAAK,CAACE,GAAN,CAAU,SAAAC,CAAC,QAAIA,CAAAA,CAAC,CAACC,QAAN,EAAX,CAAzB,CAAN,CAA6DJ,KAA7D,GACA,MAAKK,MAAL,CAAcL,KAAd,CAFiB,aAGlB,C,2FAEc,CACb,MAAO,MAAKK,MAAL,CAAYC,MAAZ,CAAmB,SAACC,IAAD,CAAOC,OAAP,QAAmBD,CAAAA,IAAI,CAAG,aAAIC,OAAJ,CAA1B,EAAnB,CAA2D,EAA3D,CAAP,CACD,C,4BAR0BC,sB,EAWtB,QAASC,CAAAA,oBAAT,EAAuC,+BAANC,IAAM,0CAANA,IAAM,wBAC5C,MAAO,IAAIZ,CAAAA,cAAJ,CAAmBY,IAAI,CAACT,GAAL,CAASU,oBAAT,CAAnB,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { adapt } from '../core/AnimatedBlock';\nimport { val } from '../val';\n\nclass AnimatedConcat extends AnimatedNode {\n constructor(input) {\n super({ type: 'concat', input: input.map(n => n.__nodeID) }, input);\n this._input = input;\n }\n\n __onEvaluate() {\n return this._input.reduce((prev, current) => prev + val(current), '');\n }\n}\n\nexport function createAnimatedConcat(...args) {\n return new AnimatedConcat(args.map(adapt));\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _MaterialCommunityIcons=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf\"));var _MaterialCommunityIcons2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json\"));var _default=(0,_createIconSet.default)(_MaterialCommunityIcons2.default,'material-community',_MaterialCommunityIcons.default);exports.default=_default;","map":{"version":3,"sources":["../src/MaterialCommunityIcons.ts"],"names":[],"mappings":"mKAAA,sEACA,mIACA,yI,aAEe,2BAAc,gCAAd,CAAwB,oBAAxB,CAA8C,+BAA9C,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json';\n\nexport default createIconSet(glyphMap, 'material-community', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}(function(){try{if(typeof setTimeout==='function'){cachedSetTimeout=setTimeout;}else{cachedSetTimeout=defaultSetTimout;}}catch(e){cachedSetTimeout=defaultSetTimout;}try{if(typeof clearTimeout==='function'){cachedClearTimeout=clearTimeout;}else{cachedClearTimeout=defaultClearTimeout;}}catch(e){cachedClearTimeout=defaultClearTimeout;}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0);}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0);}try{return cachedSetTimeout(fun,0);}catch(e){try{return cachedSetTimeout.call(null,fun,0);}catch(e){return cachedSetTimeout.call(this,fun,0);}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker);}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker);}try{return cachedClearTimeout(marker);}catch(e){try{return cachedClearTimeout.call(null,marker);}catch(e){return cachedClearTimeout.call(this,marker);}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return;}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue);}else{queueIndex=-1;}if(queue.length){drainQueue();}}function drainQueue(){if(draining){return;}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run();}}queueIndex=-1;len=queue.length;}currentQueue=null;draining=false;runClearTimeout(timeout);}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i];}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue);}};function Item(fun,array){this.fun=fun;this.array=array;}Item.prototype.run=function(){this.fun.apply(null,this.array);};process.title='browser';process.browser=true;process.env={};process.argv=[];process.version='';process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[];};process.binding=function(name){throw new Error('process.binding is not supported');};process.cwd=function(){return'/';};process.chdir=function(dir){throw new Error('process.chdir is not supported');};process.umask=function(){return 0;};","map":{"version":3,"sources":["C:/Users/bluej/AppData/Roaming/npm/node_modules/expo-cli/node_modules/process/browser.js"],"names":["process","module","exports","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","Error","defaultClearTimeout","setTimeout","e","clearTimeout","runTimeout","fun","call","runClearTimeout","marker","queue","draining","currentQueue","queueIndex","cleanUpNextTick","length","concat","drainQueue","timeout","len","run","nextTick","args","Array","arguments","i","push","Item","array","prototype","apply","title","browser","env","argv","version","versions","noop","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","name","binding","cwd","chdir","dir","umask"],"mappings":"AACA,GAAIA,CAAAA,OAAO,CAAGC,MAAM,CAACC,OAAP,CAAiB,EAA/B,CAOA,GAAIC,CAAAA,gBAAJ,CACA,GAAIC,CAAAA,kBAAJ,CAEA,QAASC,CAAAA,gBAAT,EAA4B,CACxB,KAAM,IAAIC,CAAAA,KAAJ,CAAU,iCAAV,CAAN,CACH,CACD,QAASC,CAAAA,mBAAT,EAAgC,CAC5B,KAAM,IAAID,CAAAA,KAAJ,CAAU,mCAAV,CAAN,CACH,CACA,WAAY,CACT,GAAI,CACA,GAAI,MAAOE,CAAAA,UAAP,GAAsB,UAA1B,CAAsC,CAClCL,gBAAgB,CAAGK,UAAnB,CACH,CAFD,IAEO,CACHL,gBAAgB,CAAGE,gBAAnB,CACH,CACJ,CAAC,MAAOI,CAAP,CAAU,CACRN,gBAAgB,CAAGE,gBAAnB,CACH,CACD,GAAI,CACA,GAAI,MAAOK,CAAAA,YAAP,GAAwB,UAA5B,CAAwC,CACpCN,kBAAkB,CAAGM,YAArB,CACH,CAFD,IAEO,CACHN,kBAAkB,CAAGG,mBAArB,CACH,CACJ,CAAC,MAAOE,CAAP,CAAU,CACRL,kBAAkB,CAAGG,mBAArB,CACH,CACJ,CAnBA,GAAD,CAoBA,QAASI,CAAAA,UAAT,CAAoBC,GAApB,CAAyB,CACrB,GAAIT,gBAAgB,GAAKK,UAAzB,CAAqC,CAEjC,MAAOA,CAAAA,UAAU,CAACI,GAAD,CAAM,CAAN,CAAjB,CACH,CAED,GAAI,CAACT,gBAAgB,GAAKE,gBAArB,EAAyC,CAACF,gBAA3C,GAAgEK,UAApE,CAAgF,CAC5EL,gBAAgB,CAAGK,UAAnB,CACA,MAAOA,CAAAA,UAAU,CAACI,GAAD,CAAM,CAAN,CAAjB,CACH,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IAAIhD,CAAAA,KAAJ,CAAU,kCAAV,CAAN,CACH,CAFD,CAIAN,OAAO,CAACwD,GAAR,CAAc,UAAY,CAAE,MAAO,GAAP,CAAY,CAAxC,CACAxD,OAAO,CAACyD,KAAR,CAAgB,SAAUC,GAAV,CAAe,CAC3B,KAAM,IAAIpD,CAAAA,KAAJ,CAAU,gCAAV,CAAN,CACH,CAFD,CAGAN,OAAO,CAAC2D,KAAR,CAAgB,UAAW,CAAE,MAAO,EAAP,CAAW,CAAxC","sourcesContent":["// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _color=_interopRequireDefault(require(\"color\"));var _colors=require(\"./colors\");var _fonts=_interopRequireDefault(require(\"./fonts\"));var DefaultTheme={dark:false,roundness:4,colors:{primary:'#6200ee',accent:'#03dac4',background:'#f6f6f6',surface:_colors.white,error:'#B00020',text:_colors.black,onBackground:'#000000',onSurface:'#000000',disabled:(0,_color.default)(_colors.black).alpha(0.26).rgb().string(),placeholder:(0,_color.default)(_colors.black).alpha(0.54).rgb().string(),backdrop:(0,_color.default)(_colors.black).alpha(0.5).rgb().string(),notification:_colors.pinkA400},fonts:(0,_fonts.default)(),animation:{scale:1.0}};var _default=DefaultTheme;exports.default=_default;","map":{"version":3,"sources":["DefaultTheme.tsx"],"names":["DefaultTheme","dark","roundness","colors","primary","accent","background","surface","error","text","onBackground","onSurface","disabled","color","placeholder","backdrop","notification","fonts","animation","scale"],"mappings":"mKAAA,oDACA,gCACA,sDAIA,GAAMA,CAAAA,YAAmB,CAAG,CAC1BC,IAAI,CADsB,KAAA,CAE1BC,SAAS,CAFiB,CAAA,CAG1BC,MAAM,CAAE,CACNC,OAAO,CADD,SAAA,CAENC,MAAM,CAFA,SAAA,CAGNC,UAAU,CAHJ,SAAA,CAINC,OAAO,CAJD,aAAA,CAKNC,KAAK,CALC,SAAA,CAMNC,IAAI,CANE,aAAA,CAONC,YAAY,CAPN,SAAA,CAQNC,SAAS,CARH,SAAA,CASNC,QAAQ,CAAEC,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,IAAAA,EAAAA,GAAAA,GATJ,MASIA,EATJ,CAaNC,WAAW,CAAED,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,IAAAA,EAAAA,GAAAA,GAbP,MAaOA,EAbP,CAiBNE,QAAQ,CAAEF,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,GAAAA,EAAAA,GAAAA,GAjBJ,MAiBIA,EAjBJ,CAqBNG,YAAY,CAxBY,gBAGlB,CAHkB,CA0B1BC,KAAK,CA1BqB,oBAAA,CA2B1BC,SAAS,CAAE,CACTC,KAAK,CA5BT,GA2Ba,CA3Be,CAA5B,C,aAgCA,Y","sourcesContent":["import color from 'color';\nimport { black, white, pinkA400 } from './colors';\nimport configureFonts from './fonts';\n\nimport { Theme } from '../types';\n\nconst DefaultTheme: Theme = {\n dark: false,\n roundness: 4,\n colors: {\n primary: '#6200ee',\n accent: '#03dac4',\n background: '#f6f6f6',\n surface: white,\n error: '#B00020',\n text: black,\n onBackground: '#000000',\n onSurface: '#000000',\n disabled: color(black)\n .alpha(0.26)\n .rgb()\n .string(),\n placeholder: color(black)\n .alpha(0.54)\n .rgb()\n .string(),\n backdrop: color(black)\n .alpha(0.5)\n .rgb()\n .string(),\n notification: pinkA400,\n },\n fonts: configureFonts(),\n animation: {\n scale: 1.0,\n },\n};\n\nexport default DefaultTheme;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _backgroundClip=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/backgroundClip\"));var _crossFade=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/crossFade\"));var _cursor=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/cursor\"));var _filter=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/filter\"));var _flex=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/flex\"));var _flexboxIE=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/flexboxIE\"));var _flexboxOld=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/flexboxOld\"));var _gradient=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/gradient\"));var _imageSet=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/imageSet\"));var _position=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/position\"));var _sizing=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/sizing\"));var _transition=_interopRequireDefault(require(\"inline-style-prefixer/lib/plugins/transition\"));var w=['Webkit'];var m=['Moz'];var ms=['ms'];var wm=['Webkit','Moz'];var wms=['Webkit','ms'];var wmms=['Webkit','Moz','ms'];var _default={plugins:[_backgroundClip.default,_crossFade.default,_cursor.default,_filter.default,_flex.default,_flexboxIE.default,_flexboxOld.default,_gradient.default,_imageSet.default,_position.default,_sizing.default,_transition.default],prefixMap:{animation:w,animationDelay:w,animationDirection:w,animationFillMode:w,animationDuration:w,animationIterationCount:w,animationName:w,animationPlayState:w,animationTimingFunction:w,appearance:wm,userSelect:wmms,textEmphasisPosition:w,textEmphasis:w,textEmphasisStyle:w,textEmphasisColor:w,boxDecorationBreak:w,clipPath:w,maskImage:w,maskMode:w,maskRepeat:w,maskPosition:w,maskClip:w,maskOrigin:w,maskSize:w,maskComposite:w,mask:w,maskBorderSource:w,maskBorderMode:w,maskBorderSlice:w,maskBorderWidth:w,maskBorderOutset:w,maskBorderRepeat:w,maskBorder:w,maskType:w,textDecorationStyle:w,textDecorationSkip:w,textDecorationLine:w,textDecorationColor:w,filter:w,fontFeatureSettings:w,breakAfter:wmms,breakBefore:wmms,breakInside:wmms,columnCount:wm,columnFill:wm,columnGap:wm,columnRule:wm,columnRuleColor:wm,columnRuleStyle:wm,columnRuleWidth:wm,columns:wm,columnSpan:wm,columnWidth:wm,writingMode:wms,flex:wms,flexBasis:w,flexDirection:wms,flexGrow:w,flexFlow:wms,flexShrink:w,flexWrap:wms,alignContent:w,alignItems:w,alignSelf:w,justifyContent:w,order:w,transform:w,transformOrigin:w,transformOriginX:w,transformOriginY:w,backfaceVisibility:w,perspective:w,perspectiveOrigin:w,transformStyle:w,transformOriginZ:w,backdropFilter:w,fontKerning:w,scrollSnapType:wms,scrollSnapPointsX:wms,scrollSnapPointsY:wms,scrollSnapDestination:wms,scrollSnapCoordinate:wms,shapeImageThreshold:w,shapeImageMargin:w,shapeImageOutside:w,hyphens:wmms,flowInto:wms,flowFrom:wms,regionFragment:wms,textOrientation:w,textAlignLast:m,tabSize:m,wrapFlow:ms,wrapThrough:ms,wrapMargin:ms,touchAction:ms,gridTemplateColumns:ms,gridTemplateRows:ms,gridTemplateAreas:ms,gridTemplate:ms,gridAutoColumns:ms,gridAutoRows:ms,gridAutoFlow:ms,grid:ms,gridRowStart:ms,gridColumnStart:ms,gridRowEnd:ms,gridRow:ms,gridColumn:ms,gridColumnEnd:ms,gridColumnGap:ms,gridRowGap:ms,gridArea:ms,gridGap:ms,textSizeAdjust:['ms','Webkit'],borderImage:w,borderImageOutset:w,borderImageRepeat:w,borderImageSlice:w,borderImageSource:w,borderImageWidth:w,transitionDelay:w,transitionDuration:w,transitionProperty:w,transitionTimingFunction:w}};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/prefixStyles/static.js"],"names":["w","m","ms","wm","wms","wmms","plugins","backgroundClip","crossFade","cursor","filter","flex","flexboxIE","flexboxOld","gradient","imageSet","position","sizing","transition","prefixMap","animation","animationDelay","animationDirection","animationFillMode","animationDuration","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","userSelect","textEmphasisPosition","textEmphasis","textEmphasisStyle","textEmphasisColor","boxDecorationBreak","clipPath","maskImage","maskMode","maskRepeat","maskPosition","maskClip","maskOrigin","maskSize","maskComposite","mask","maskBorderSource","maskBorderMode","maskBorderSlice","maskBorderWidth","maskBorderOutset","maskBorderRepeat","maskBorder","maskType","textDecorationStyle","textDecorationSkip","textDecorationLine","textDecorationColor","fontFeatureSettings","breakAfter","breakBefore","breakInside","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columns","columnSpan","columnWidth","writingMode","flexBasis","flexDirection","flexGrow","flexFlow","flexShrink","flexWrap","alignContent","alignItems","alignSelf","justifyContent","order","transform","transformOrigin","transformOriginX","transformOriginY","backfaceVisibility","perspective","perspectiveOrigin","transformStyle","transformOriginZ","backdropFilter","fontKerning","scrollSnapType","scrollSnapPointsX","scrollSnapPointsY","scrollSnapDestination","scrollSnapCoordinate","shapeImageThreshold","shapeImageMargin","shapeImageOutside","hyphens","flowInto","flowFrom","regionFragment","textOrientation","textAlignLast","tabSize","wrapFlow","wrapThrough","wrapMargin","touchAction","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridTemplate","gridAutoColumns","gridAutoRows","gridAutoFlow","grid","gridRowStart","gridColumnStart","gridRowEnd","gridRow","gridColumn","gridColumnEnd","gridColumnGap","gridRowGap","gridArea","gridGap","textSizeAdjust","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],"mappings":"mKAAA,wGACA,8FACA,wFACA,wFACA,oFACA,8FACA,gGACA,4FACA,4FACA,4FACA,wFACA,gGACA,GAAIA,CAAAA,CAAC,CAAG,CAAC,QAAD,CAAR,CACA,GAAIC,CAAAA,CAAC,CAAG,CAAC,KAAD,CAAR,CACA,G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tH,EAvGL,CAwGTuH,IAAI,CAAEvH,EAxGG,CAyGTwH,YAAY,CAAExH,EAzGL,CA0GTyH,eAAe,CAAEzH,EA1GR,CA2GT0H,UAAU,CAAE1H,EA3GH,CA4GT2H,OAAO,CAAE3H,EA5GA,CA6GT4H,UAAU,CAAE5H,EA7GH,CA8GT6H,aAAa,CAAE7H,EA9GN,CA+GT8H,aAAa,CAAE9H,EA/GN,CAgHT+H,UAAU,CAAE/H,EAhHH,CAiHTgI,QAAQ,CAAEhI,EAjHD,CAkHTiI,OAAO,CAAEjI,EAlHA,CAmHTkI,cAAc,CAAE,CAAC,IAAD,CAAO,QAAP,CAnHP,CAoHTC,WAAW,CAAErI,CApHJ,CAqHTsI,iBAAiB,CAAEtI,CArHV,CAsHTuI,iBAAiB,CAAEvI,CAtHV,CAuHTwI,gBAAgB,CAAExI,CAvHT,CAwHTyI,iBAAiB,CAAEzI,CAxHV,CAyHT0I,gBAAgB,CAAE1I,CAzHT,CA0HT2I,eAAe,CAAE3I,CA1HR,CA2HT4I,kBAAkB,CAAE5I,CA3HX,CA4HT6I,kBAAkB,CAAE7I,CA5HX,CA6HT8I,wBAAwB,CAAE9I,CA7HjB,CAFE,C","sourcesContent":["import backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip';\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade';\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor';\nimport filter from 'inline-style-prefixer/lib/plugins/filter';\nimport flex from 'inline-style-prefixer/lib/plugins/flex';\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE';\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld';\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient';\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet';\nimport position from 'inline-style-prefixer/lib/plugins/position';\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing';\nimport transition from 'inline-style-prefixer/lib/plugins/transition';\nvar w = ['Webkit'];\nvar m = ['Moz'];\nvar ms = ['ms'];\nvar wm = ['Webkit', 'Moz'];\nvar wms = ['Webkit', 'ms'];\nvar wmms = ['Webkit', 'Moz', 'ms'];\nexport default {\n plugins: [backgroundClip, crossFade, cursor, filter, flex, flexboxIE, flexboxOld, gradient, imageSet, position, sizing, transition],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n gridTemplateColumns: ms,\n gridTemplateRows: ms,\n gridTemplateAreas: ms,\n gridTemplate: ms,\n gridAutoColumns: ms,\n gridAutoRows: ms,\n gridAutoFlow: ms,\n grid: ms,\n gridRowStart: ms,\n gridColumnStart: ms,\n gridRowEnd: ms,\n gridRow: ms,\n gridColumn: ms,\n gridColumnEnd: ms,\n gridColumnGap: ms,\n gridRowGap: ms,\n gridArea: ms,\n gridGap: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w\n }\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var _getScreenForRouteName=_interopRequireDefault(require(\"./getScreenForRouteName\"));var _createConfigGetter=_interopRequireDefault(require(\"./createConfigGetter\"));var NavigationActions=_interopRequireWildcard(require(\"../NavigationActions\"));var SwitchActions=_interopRequireWildcard(require(\"./SwitchActions\"));var _validateRouteConfigMap=_interopRequireDefault(require(\"./validateRouteConfigMap\"));var _pathUtils=require(\"./pathUtils\");var defaultActionCreators=function defaultActionCreators(){return{};};var _default=function _default(routeConfigs){var config=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,_validateRouteConfigMap.default)(routeConfigs);var order=config.order||Object.keys(routeConfigs);var getCustomActionCreators=config.getCustomActionCreators||defaultActionCreators;var initialRouteParams=config.initialRouteParams;var initialRouteName=config.initialRouteName||order[0];var backBehavior=config.backBehavior||'none';var resetOnBlur=config.hasOwnProperty('resetOnBlur')?config.resetOnBlur:true;var initialRouteIndex=order.indexOf(initialRouteName);if(initialRouteIndex===-1){throw new Error(\"Invalid initialRouteName '\"+initialRouteName+\"'.\"+(\"Should be one of \"+order.map(function(n){return\"\\\"\"+n+\"\\\"\";}).join(', ')));}var childRouters={};order.forEach(function(routeName){childRouters[routeName]=null;var screen=(0,_getScreenForRouteName.default)(routeConfigs,routeName);if(screen.router){childRouters[routeName]=screen.router;}});function getParamsForRoute(routeName,params){var routeConfig=routeConfigs[routeName];if(routeConfig&&routeConfig.params){return(0,_objectSpread2.default)({},routeConfig.params,params);}else{return params;}}var _createPathParser=(0,_pathUtils.createPathParser)(childRouters,routeConfigs,config),getPathAndParamsForRoute=_createPathParser.getPathAndParamsForRoute,_getActionForPathAndParams=_createPathParser.getActionForPathAndParams;function resetChildRoute(routeName){var initialParams=routeName===initialRouteName?initialRouteParams:undefined;var params=getParamsForRoute(routeName,initialParams);var childRouter=childRouters[routeName];if(childRouter){var childAction=NavigationActions.init();return(0,_objectSpread2.default)({},childRouter.getStateForAction(childAction),{key:routeName,routeName:routeName,params:params});}return{key:routeName,routeName:routeName,params:params};}function getNextState(action,prevState,possibleNextState){function updateNextStateHistory(nextState){if(backBehavior!=='history'){return nextState;}var nextRouteKeyHistory=prevState?prevState.routeKeyHistory:[];if(action.type===NavigationActions.NAVIGATE){nextRouteKeyHistory=(0,_toConsumableArray2.default)(nextRouteKeyHistory);var keyToAdd=nextState.routes[nextState.index].key;nextRouteKeyHistory=nextRouteKeyHistory.filter(function(k){return k!==keyToAdd;});nextRouteKeyHistory.push(keyToAdd);}else if(action.type===NavigationActions.BACK){nextRouteKeyHistory=(0,_toConsumableArray2.default)(nextRouteKeyHistory);nextRouteKeyHistory.pop();}return(0,_objectSpread2.default)({},nextState,{routeKeyHistory:nextRouteKeyHistory});}var nextState=possibleNextState;if(prevState&&prevState.index!==possibleNextState.index&&resetOnBlur){var prevRouteName=prevState.routes[prevState.index].routeName;var nextRoutes=(0,_toConsumableArray2.default)(possibleNextState.routes);nextRoutes[prevState.index]=resetChildRoute(prevRouteName);nextState=(0,_objectSpread2.default)({},possibleNextState,{routes:nextRoutes});}return updateNextStateHistory(nextState);}function getInitialState(){var routes=order.map(resetChildRoute);var initialState={routes:routes,index:initialRouteIndex,isTransitioning:false};if(backBehavior==='history'){var initialKey=routes[initialRouteIndex].key;initialState['routeKeyHistory']=[initialKey];}return initialState;}return{childRouters:childRouters,getActionCreators:function getActionCreators(route,stateKey){return getCustomActionCreators(route,stateKey);},getStateForAction:function getStateForAction(action,inputState){var prevState=inputState?(0,_objectSpread2.default)({},inputState):inputState;var state=inputState||getInitialState();var activeChildIndex=state.index;if(action.type===NavigationActions.INIT){var params=action.params;if(params){state.routes=state.routes.map(function(route){return(0,_objectSpread2.default)({},route,{params:(0,_objectSpread2.default)({},route.params,params,route.routeName===initialRouteName?initialRouteParams:null)});});}}if(action.type===SwitchActions.JUMP_TO&&(action.key==null||action.key===state.key)){var _params=action.params;var _index=state.routes.findIndex(function(route){return route.routeName===action.routeName;});if(_index===-1){throw new Error(\"There is no route named '\"+action.routeName+\"' in the navigator with the key '\"+action.key+\"'.\\n\"+(\"Must be one of: \"+state.routes.map(function(route){return\"'\"+route.routeName+\"'\";}).join(',')));}return getNextState(action,prevState,(0,_objectSpread2.default)({},state,{routes:_params?state.routes.map(function(route,i){return i===_index?(0,_objectSpread2.default)({},route,{params:(0,_objectSpread2.default)({},route.params,_params)}):route;}):state.routes,index:_index}));}var activeChildLastState=state.routes[state.index];var activeChildRouter=childRouters[order[state.index]];if(activeChildRouter){var activeChildState=activeChildRouter.getStateForAction(action,activeChildLastState);if(!activeChildState&&inputState){return null;}if(activeChildState&&activeChildState!==activeChildLastState){var _routes=(0,_toConsumableArray2.default)(state.routes);_routes[state.index]=activeChildState;return getNextState(action,prevState,(0,_objectSpread2.default)({},state,{routes:_routes}));}}var isBackEligible=action.key==null||action.key===activeChildLastState.key;if(action.type===NavigationActions.BACK){if(isBackEligible&&backBehavior==='initialRoute'){activeChildIndex=initialRouteIndex;}else if(isBackEligible&&backBehavior==='order'){activeChildIndex=Math.max(0,activeChildIndex-1);}else if(isBackEligible&&backBehavior==='history'&&state.routeKeyHistory.length>1){var routeKey=state.routeKeyHistory[state.routeKeyHistory.length-2];activeChildIndex=order.indexOf(routeKey);}else{return state;}}var didNavigate=false;if(action.type===NavigationActions.NAVIGATE){didNavigate=!!order.find(function(childId,i){if(childId===action.routeName){activeChildIndex=i;return true;}return false;});if(didNavigate){var childState=state.routes[activeChildIndex];var childRouter=childRouters[action.routeName];var newChildState=childState;if(action.action&&childRouter){var childStateUpdate=childRouter.getStateForAction(action.action,childState);if(childStateUpdate){newChildState=childStateUpdate;}}if(action.params){newChildState=(0,_objectSpread2.default)({},newChildState,{params:(0,_objectSpread2.default)({},newChildState.params||{},action.params)});}if(newChildState!==childState){var _routes2=(0,_toConsumableArray2.default)(state.routes);_routes2[activeChildIndex]=newChildState;var nextState=(0,_objectSpread2.default)({},state,{routes:_routes2,index:activeChildIndex});return getNextState(action,prevState,nextState);}else if(newChildState===childState&&state.index===activeChildIndex&&prevState){return null;}}}if(action.type===NavigationActions.SET_PARAMS){var key=action.key;var lastRoute=state.routes.find(function(route){return route.key===key;});if(lastRoute){var _params2=(0,_objectSpread2.default)({},lastRoute.params,action.params);var _routes3=(0,_toConsumableArray2.default)(state.routes);_routes3[state.routes.indexOf(lastRoute)]=(0,_objectSpread2.default)({},lastRoute,{params:_params2});return getNextState(action,prevState,(0,_objectSpread2.default)({},state,{routes:_routes3}));}}if(activeChildIndex!==state.index){return getNextState(action,prevState,(0,_objectSpread2.default)({},state,{index:activeChildIndex}));}else if(didNavigate&&!inputState){return state;}else if(didNavigate){return(0,_objectSpread2.default)({},state);}var index=state.index;var routes=state.routes;order.find(function(childId,i){var childRouter=childRouters[childId];if(i===index){return false;}var childState=routes[i];if(childRouter){childState=childRouter.getStateForAction(action,childState);}if(!childState){index=i;return true;}if(childState!==routes[i]){routes=(0,_toConsumableArray2.default)(routes);routes[i]=childState;index=i;return true;}return false;});if(action.preserveFocus){index=state.index;}if(index!==state.index||routes!==state.routes){return getNextState(action,prevState,(0,_objectSpread2.default)({},state,{index:index,routes:routes}));}return state;},getComponentForState:function getComponentForState(state){var routeName=state.routes[state.index].routeName;(0,_invariant.default)(routeName,\"There is no route defined for index \"+state.index+\". Check that\\n that you passed in a navigation state with a valid tab/screen index.\");var childRouter=childRouters[routeName];if(childRouter){return childRouter.getComponentForState(state.routes[state.index]);}return(0,_getScreenForRouteName.default)(routeConfigs,routeName);},getComponentForRouteName:function getComponentForRouteName(routeName){return(0,_getScreenForRouteName.default)(routeConfigs,routeName);},getPathAndParamsForState:function getPathAndParamsForState(state){var route=state.routes[state.index];return getPathAndParamsForRoute(route);},getActionForPathAndParams:function getActionForPathAndParams(path,params){return _getActionForPathAndParams(path,params);},getScreenOptions:(0,_createConfigGetter.default)(routeConfigs,config.defaultNavigationOptions)};};exports.default=_default;","map":{"version":3,"sources":["SwitchRouter.js"],"names":["defaultActionCreators","config","validateRouteConfigMap","order","Object","getCustomActionCreators","initialRouteParams","initialRouteName","backBehavior","resetOnBlur","initialRouteIndex","childRouters","screen","getScreenForRouteName","routeConfig","routeConfigs","getPathAndParamsForRoute","getActionForPathAndParams","createPathParser","initialParams","routeName","params","getParamsForRoute","childRouter","childAction","NavigationActions","key","nextRouteKeyHistory","prevState","action","keyToAdd","nextState","k","routeKeyHistory","possibleNextState","prevRouteName","nextRoutes","resetChildRoute","routes","updateNextStateHistory","initialState","index","isTransitioning","initialKey","getActionCreators","getStateForAction","inputState","state","getInitialState","activeChildIndex","route","SwitchActions","getNextState","i","activeChildLastState","activeChildRouter","activeChildState","isBackEligible","Math","routeKey","didNavigate","childId","childState","newChildState","childStateUpdate","lastRoute","getComponentForState","invariant","getComponentForRouteName","getPathAndParamsForState","getScreenOptions","createConfigGetter"],"mappings":"sbAAA,qEACA,sFACA,gFAEA,+EACA,sEACA,wFACA,sCAEA,GAAMA,CAAAA,qBAAqB,CAArBA,QAAAA,CAAAA,qBAAAA,EAAwB,CAAA,MAAA,EAAA,CAA9B,CAAA,C,aAEe,kBAAA,YAAA,CAA+B,CAAhBC,GAAAA,CAAAA,MAAgB,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CAAP,EAATA,CAE5BC,oCAAAA,YAAAA,EAEA,GAAMC,CAAAA,KAAK,CAAGF,MAAM,CAANA,KAAAA,EAAgBG,MAAM,CAANA,IAAAA,CAA9B,YAA8BA,CAA9B,CAEA,GAAMC,CAAAA,uBAAuB,CAC3BJ,MAAM,CAANA,uBAAAA,EADF,qBAAA,CAGA,GAAMK,CAAAA,kBAAkB,CAAGL,MAAM,CAAjC,kBAAA,CACA,GAAMM,CAAAA,gBAAgB,CAAGN,MAAM,CAANA,gBAAAA,EAA2BE,KAAK,CAAzD,CAAyD,CAAzD,CACA,GAAMK,CAAAA,YAAY,CAAGP,MAAM,CAANA,YAAAA,EAArB,MAAA,CACA,GAAMQ,CAAAA,WAAW,CAAGR,MAAM,CAANA,cAAAA,CAAAA,aAAAA,EAChBA,MAAM,CADUA,WAAAA,CAApB,IAAA,CAIA,GAAMS,CAAAA,iBAAiB,CAAGP,KAAK,CAALA,OAAAA,CAA1B,gBAA0BA,CAA1B,CACA,GAAIO,iBAAiB,GAAK,CAA1B,CAAA,CAA8B,CAC5B,KAAM,IAAA,CAAA,K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,EAKA,GAAM5C,CAAAA,WAAW,CAAGZ,YAAY,CAAhC,SAAgC,CAAhC,CACA,GAAA,WAAA,CAAiB,CACf,MAAOY,CAAAA,WAAW,CAAXA,oBAAAA,CAAiCwB,KAAK,CAALA,MAAAA,CAAaA,KAAK,CAA1D,KAAwCA,CAAjCxB,CAAP,CAEF,OAAOV,mCAAqB,YAArBA,CAAP,SAAOA,CAAP,CA7PG,CAAA,CAgQLuD,wBAhQK,CAAA,QAAA,CAAA,wBAAA,CAAA,SAAA,CAgQ+B,CAClC,MAAOvD,mCAAqB,YAArBA,CAAP,SAAOA,CAAP,CAjQG,CAAA,CAoQLwD,wBApQK,CAAA,QAAA,CAAA,wBAAA,CAAA,KAAA,CAoQ2B,CAC9B,GAAMnB,CAAAA,KAAK,CAAGH,KAAK,CAALA,MAAAA,CAAaA,KAAK,CAAhC,KAAcA,CAAd,CACA,MAAO/B,CAAAA,wBAAwB,CAA/B,KAA+B,CAA/B,CAtQG,CAAA,CAyQLC,yBAzQK,CAAA,QAAA,CAAA,yBAAA,CAAA,IAAA,CAAA,MAAA,CAyQmC,CACtC,MAAOA,CAAAA,0BAAyB,CAAA,IAAA,CAAhC,MAAgC,CAAhC,CA1QG,CAAA,CA6QLqD,gBAAgB,CAAEC,gCAAkB,YAAlBA,CAEhBtE,MAAM,CA/QV,wBA6QoBsE,CA7Qb,CAAP,CA3HF,C","sourcesContent":["import invariant from '../utils/invariant';\nimport getScreenForRouteName from './getScreenForRouteName';\nimport createConfigGetter from './createConfigGetter';\n\nimport * as NavigationActions from '../NavigationActions';\nimport * as SwitchActions from './SwitchActions';\nimport validateRouteConfigMap from './validateRouteConfigMap';\nimport { createPathParser } from './pathUtils';\n\nconst defaultActionCreators = () => ({});\n\nexport default (routeConfigs, config = {}) => {\n // Fail fast on invalid route definitions\n validateRouteConfigMap(routeConfigs);\n\n const order = config.order || Object.keys(routeConfigs);\n\n const getCustomActionCreators =\n config.getCustomActionCreators || defaultActionCreators;\n\n const initialRouteParams = config.initialRouteParams;\n const initialRouteName = config.initialRouteName || order[0];\n const backBehavior = config.backBehavior || 'none';\n const resetOnBlur = config.hasOwnProperty('resetOnBlur')\n ? config.resetOnBlur\n : true;\n\n const initialRouteIndex = order.indexOf(initialRouteName);\n if (initialRouteIndex === -1) {\n throw new Error(\n `Invalid initialRouteName '${initialRouteName}'.` +\n `Should be one of ${order.map(n => `\"${n}\"`).join(', ')}`\n );\n }\n\n const childRouters = {};\n order.forEach(routeName => {\n childRouters[routeName] = null;\n const screen = getScreenForRouteName(routeConfigs, routeName);\n if (screen.router) {\n childRouters[routeName] = screen.router;\n }\n });\n\n function getParamsForRoute(routeName, params) {\n let routeConfig = routeConfigs[routeName];\n if (routeConfig && routeConfig.params) {\n return { ...routeConfig.params, ...params };\n } else {\n return params;\n }\n }\n\n const {\n getPathAndParamsForRoute,\n getActionForPathAndParams,\n } = createPathParser(childRouters, routeConfigs, config);\n\n function resetChildRoute(routeName) {\n let initialParams =\n routeName === initialRouteName ? initialRouteParams : undefined;\n // note(brentvatne): merging initialRouteParams *on top* of default params\n // on the route seems incorrect but it's consistent with existing behavior\n // in stackrouter\n let params = getParamsForRoute(routeName, initialParams);\n const childRouter = childRouters[routeName];\n if (childRouter) {\n const childAction = NavigationActions.init();\n return {\n ...childRouter.getStateForAction(childAction),\n key: routeName,\n routeName,\n params,\n };\n }\n return {\n key: routeName,\n routeName,\n params,\n };\n }\n\n function getNextState(action, prevState, possibleNextState) {\n function updateNextStateHistory(nextState) {\n if (backBehavior !== 'history') {\n return nextState;\n }\n let nextRouteKeyHistory = prevState ? prevState.routeKeyHistory : [];\n if (action.type === NavigationActions.NAVIGATE) {\n nextRouteKeyHistory = [...nextRouteKeyHistory]; // copy\n const keyToAdd = nextState.routes[nextState.index].key;\n nextRouteKeyHistory = nextRouteKeyHistory.filter(k => k !== keyToAdd); // dedup\n nextRouteKeyHistory.push(keyToAdd);\n } else if (action.type === NavigationActions.BACK) {\n nextRouteKeyHistory = [...nextRouteKeyHistory]; // copy\n nextRouteKeyHistory.pop();\n }\n return {\n ...nextState,\n routeKeyHistory: nextRouteKeyHistory,\n };\n }\n\n let nextState = possibleNextState;\n if (\n prevState &&\n prevState.index !== possibleNextState.index &&\n resetOnBlur\n ) {\n const prevRouteName = prevState.routes[prevState.index].routeName;\n const nextRoutes = [...possibleNextState.routes];\n nextRoutes[prevState.index] = resetChildRoute(prevRouteName);\n nextState = {\n ...possibleNextState,\n routes: nextRoutes,\n };\n }\n return updateNextStateHistory(nextState);\n }\n\n function getInitialState() {\n const routes = order.map(resetChildRoute);\n const initialState = {\n routes,\n index: initialRouteIndex,\n isTransitioning: false,\n };\n if (backBehavior === 'history') {\n const initialKey = routes[initialRouteIndex].key;\n initialState['routeKeyHistory'] = [initialKey];\n }\n return initialState;\n }\n\n return {\n childRouters,\n\n getActionCreators(route, stateKey) {\n return getCustomActionCreators(route, stateKey);\n },\n\n getStateForAction(action, inputState) {\n let prevState = inputState ? { ...inputState } : inputState;\n let state = inputState || getInitialState();\n let activeChildIndex = state.index;\n\n if (action.type === NavigationActions.INIT) {\n // NOTE(brentvatne): this seems weird... why are we merging these\n // params into child routes?\n // ---------------------------------------------------------------\n // Merge any params from the action into all the child routes\n const { params } = action;\n if (params) {\n state.routes = state.routes.map(route => ({\n ...route,\n params: {\n ...route.params,\n ...params,\n ...(route.routeName === initialRouteName\n ? initialRouteParams\n : null),\n },\n }));\n }\n }\n\n if (\n action.type === SwitchActions.JUMP_TO &&\n (action.key == null || action.key === state.key)\n ) {\n const { params } = action;\n const index = state.routes.findIndex(\n route => route.routeName === action.routeName\n );\n\n if (index === -1) {\n throw new Error(\n `There is no route named '${\n action.routeName\n }' in the navigator with the key '${action.key}'.\\n` +\n `Must be one of: ${state.routes\n .map(route => `'${route.routeName}'`)\n .join(',')}`\n );\n }\n\n return getNextState(action, prevState, {\n ...state,\n routes: params\n ? state.routes.map((route, i) =>\n i === index\n ? {\n ...route,\n params: {\n ...route.params,\n ...params,\n },\n }\n : route\n )\n : state.routes,\n index,\n });\n }\n\n // Let the current child handle it\n const activeChildLastState = state.routes[state.index];\n const activeChildRouter = childRouters[order[state.index]];\n if (activeChildRouter) {\n const activeChildState = activeChildRouter.getStateForAction(\n action,\n activeChildLastState\n );\n if (!activeChildState && inputState) {\n return null;\n }\n if (activeChildState && activeChildState !== activeChildLastState) {\n const routes = [...state.routes];\n routes[state.index] = activeChildState;\n return getNextState(action, prevState, {\n ...state,\n routes,\n });\n }\n }\n\n // Handle tab changing. Do this after letting the current tab try to\n // handle the action, to allow inner children to change first\n const isBackEligible =\n action.key == null || action.key === activeChildLastState.key;\n if (action.type === NavigationActions.BACK) {\n if (isBackEligible && backBehavior === 'initialRoute') {\n activeChildIndex = initialRouteIndex;\n } else if (isBackEligible && backBehavior === 'order') {\n activeChildIndex = Math.max(0, activeChildIndex - 1);\n }\n // The history contains current route, so we can only go back\n // if there is more than one item in the history\n else if (\n isBackEligible &&\n backBehavior === 'history' &&\n state.routeKeyHistory.length > 1\n ) {\n const routeKey =\n state.routeKeyHistory[state.routeKeyHistory.length - 2];\n activeChildIndex = order.indexOf(routeKey);\n } else {\n return state;\n }\n }\n\n let didNavigate = false;\n if (action.type === NavigationActions.NAVIGATE) {\n didNavigate = !!order.find((childId, i) => {\n if (childId === action.routeName) {\n activeChildIndex = i;\n return true;\n }\n return false;\n });\n if (didNavigate) {\n const childState = state.routes[activeChildIndex];\n const childRouter = childRouters[action.routeName];\n let newChildState = childState;\n\n if (action.action && childRouter) {\n const childStateUpdate = childRouter.getStateForAction(\n action.action,\n childState\n );\n if (childStateUpdate) {\n newChildState = childStateUpdate;\n }\n }\n\n if (action.params) {\n newChildState = {\n ...newChildState,\n params: {\n ...(newChildState.params || {}),\n ...action.params,\n },\n };\n }\n\n if (newChildState !== childState) {\n const routes = [...state.routes];\n routes[activeChildIndex] = newChildState;\n const nextState = {\n ...state,\n routes,\n index: activeChildIndex,\n };\n return getNextState(action, prevState, nextState);\n } else if (\n newChildState === childState &&\n state.index === activeChildIndex &&\n prevState\n ) {\n return null;\n }\n }\n }\n\n if (action.type === NavigationActions.SET_PARAMS) {\n const key = action.key;\n const lastRoute = state.routes.find(route => route.key === key);\n if (lastRoute) {\n const params = {\n ...lastRoute.params,\n ...action.params,\n };\n const routes = [...state.routes];\n routes[state.routes.indexOf(lastRoute)] = {\n ...lastRoute,\n params,\n };\n return getNextState(action, prevState, {\n ...state,\n routes,\n });\n }\n }\n\n if (activeChildIndex !== state.index) {\n return getNextState(action, prevState, {\n ...state,\n index: activeChildIndex,\n });\n } else if (didNavigate && !inputState) {\n return state;\n } else if (didNavigate) {\n return { ...state };\n }\n\n // Let other children handle it and switch to the first child that returns a new state\n let index = state.index;\n let routes = state.routes;\n order.find((childId, i) => {\n const childRouter = childRouters[childId];\n if (i === index) {\n return false;\n }\n let childState = routes[i];\n if (childRouter) {\n childState = childRouter.getStateForAction(action, childState);\n }\n if (!childState) {\n index = i;\n return true;\n }\n if (childState !== routes[i]) {\n routes = [...routes];\n routes[i] = childState;\n index = i;\n return true;\n }\n return false;\n });\n\n // Nested routers can be updated after switching children with actions such as SET_PARAMS\n // and COMPLETE_TRANSITION.\n if (action.preserveFocus) {\n index = state.index;\n }\n\n if (index !== state.index || routes !== state.routes) {\n return getNextState(action, prevState, {\n ...state,\n index,\n routes,\n });\n }\n return state;\n },\n\n getComponentForState(state) {\n const routeName = state.routes[state.index].routeName;\n invariant(\n routeName,\n `There is no route defined for index ${state.index}. Check that\n that you passed in a navigation state with a valid tab/screen index.`\n );\n const childRouter = childRouters[routeName];\n if (childRouter) {\n return childRouter.getComponentForState(state.routes[state.index]);\n }\n return getScreenForRouteName(routeConfigs, routeName);\n },\n\n getComponentForRouteName(routeName) {\n return getScreenForRouteName(routeConfigs, routeName);\n },\n\n getPathAndParamsForState(state) {\n const route = state.routes[state.index];\n return getPathAndParamsForRoute(route);\n },\n\n getActionForPathAndParams(path, params) {\n return getActionForPathAndParams(path, params);\n },\n\n getScreenOptions: createConfigGetter(\n routeConfigs,\n config.defaultNavigationOptions\n ),\n };\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.clock=exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _get2=_interopRequireDefault(require(\"@babel/runtime/helpers/get\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var AnimatedMainClock=function(_InternalAnimatedValu){(0,_inherits2.default)(AnimatedMainClock,_InternalAnimatedValu);function AnimatedMainClock(){var _this;(0,_classCallCheck2.default)(this,AnimatedMainClock);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedMainClock).call(this,{type:'MAIN_CLOCK'}));_this._runFrame=function(){_this._updateValue(0);if(_this.__children.length>0){_this._frameCallback=requestAnimationFrame(_this._runFrame);}};return _this;}(0,_createClass2.default)(AnimatedMainClock,[{key:\"__onEvaluate\",value:function __onEvaluate(){return+new Date();}},{key:\"__attach\",value:function __attach(){(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedMainClock.prototype),\"__attach\",this).call(this);if(!this._frameCallback){this._frameCallback=requestAnimationFrame(this._runFrame);}}},{key:\"__detach\",value:function __detach(){if(this._frameCallback){cancelAnimationFrame(this._frameCallback);this._frameCallback=null;}(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedMainClock.prototype),\"__detach\",this).call(this);}}]);return AnimatedMainClock;}(_AnimatedValue.default);var mainClock=new AnimatedMainClock();var AnimatedClock=function(_AnimatedNode){(0,_inherits2.default)(AnimatedClock,_AnimatedNode);function AnimatedClock(){(0,_classCallCheck2.default)(this,AnimatedClock);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedClock).call(this,{type:'clock'}));}(0,_createClass2.default)(AnimatedClock,[{key:\"__onEvaluate\",value:function __onEvaluate(){return(0,_val.val)(mainClock);}},{key:\"__attach\",value:function __attach(){(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedClock.prototype),\"__attach\",this).call(this);if(this._started&&!this._attached){mainClock.__addChild(this);}this._attached=true;}},{key:\"__detach\",value:function __detach(){if(this._started&&this._attached){mainClock.__removeChild(this);}this._attached=false;(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedClock.prototype),\"__detach\",this).call(this);}},{key:\"start\",value:function start(){if(!this._started&&this._attached){mainClock.__addChild(this);}this._started=true;}},{key:\"stop\",value:function stop(){if(this._started&&this._attached){mainClock.__removeChild(this);}this._started=false;}},{key:\"isStarted\",value:function isStarted(){return this._started;}}]);return AnimatedClock;}(_AnimatedNode2.default);exports.default=AnimatedClock;var clock=mainClock;exports.clock=clock;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedClock.js"],"names":["AnimatedMainClock","type","_runFrame","_updateValue","__children","length","_frameCallback","requestAnimationFrame","Date","cancelAnimationFrame","InternalAnimatedValue","mainClock","AnimatedClock","_started","_attached","__addChild","__removeChild","AnimatedNode","clock"],"mappings":"mtBAAA,sEACA,qEACA,2B,GAEMA,CAAAA,iB,iGAGJ,4BAAc,gEACZ,6GAAM,CAAEC,IAAI,CAAE,YAAR,CAAN,GADY,MAQdC,SARc,CAQF,UAAM,CAChB,MAAKC,YAAL,CAAkB,CAAlB,EACA,GAAI,MAAKC,UAAL,CAAgBC,MAAhB,CAAyB,CAA7B,CAAgC,CA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CACD,C,2BA5CwCI,sB,gCA+C3C,GAAMC,CAAAA,KAAK,CAAGP,SAAd,C","sourcesContent":["import InternalAnimatedValue from './AnimatedValue';\nimport AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedMainClock extends InternalAnimatedValue {\n _frameCallback;\n\n constructor() {\n super({ type: 'MAIN_CLOCK' });\n }\n\n __onEvaluate() {\n return +new Date();\n }\n\n _runFrame = () => {\n this._updateValue(0);\n if (this.__children.length > 0) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n };\n\n __attach() {\n super.__attach();\n if (!this._frameCallback) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n }\n\n __detach() {\n if (this._frameCallback) {\n cancelAnimationFrame(this._frameCallback);\n this._frameCallback = null;\n }\n super.__detach();\n }\n}\n\nconst mainClock = new AnimatedMainClock();\n\nexport default class AnimatedClock extends AnimatedNode {\n _started;\n _attached;\n\n constructor() {\n super({ type: 'clock' });\n }\n\n __onEvaluate() {\n return val(mainClock);\n }\n\n __attach() {\n super.__attach();\n if (this._started && !this._attached) {\n mainClock.__addChild(this);\n }\n this._attached = true;\n }\n\n __detach() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n this._attached = false;\n super.__detach();\n }\n\n start() {\n if (!this._started && this._attached) {\n mainClock.__addChild(this);\n }\n this._started = true;\n }\n\n stop() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n this._started = false;\n }\n\n isStarted() {\n return this._started;\n }\n}\n\nconst clock = mainClock;\nexport { clock };\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.selectAssetSource=selectAssetSource;exports.resolveUri=resolveUri;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _core=require(\"@unimodules/core\");var _pathBrowserify=_interopRequireDefault(require(\"path-browserify\"));var _PixelRatio=_interopRequireDefault(require(\"react-native-web/dist/exports/PixelRatio\"));var _urlParse=_interopRequireDefault(require(\"url-parse\"));var _AssetSourceResolver=_interopRequireDefault(require(\"./AssetSourceResolver\"));var _PlatformUtils=require(\"./PlatformUtils\");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var assetMapOverride=(0,_PlatformUtils.getManifest)().assetMapOverride;function selectAssetSource(meta){if(assetMapOverride&&assetMapOverride.hasOwnProperty(meta.hash)){meta=_objectSpread({},meta,{},assetMapOverride[meta.hash]);}var scale=_AssetSourceResolver.default.pickScale(meta.scales,_PixelRatio.default.get());var index=meta.scales.findIndex(function(s){return s===scale;});var hash=meta.fileHashes?meta.fileHashes[index]||meta.fileHashes[0]:meta.hash;var uri=meta.fileUris?meta.fileUris[index]||meta.fileUris[0]:meta.uri;if(uri){return{uri:resolveUri(uri),hash:hash};}var assetUrlOverride=(0,_PlatformUtils.getManifest)().assetUrlOverride;if(assetUrlOverride){var _uri=_pathBrowserify.default.join(assetUrlOverride,hash);return{uri:resolveUri(_uri),hash:hash};}var fileScale=scale===1?'':\"@\"+scale+\"x\";var fileExtension=meta.type?\".\"+encodeURIComponent(meta.type):'';var suffix=\"/\"+encodeURIComponent(meta.name)+fileScale+fileExtension+\"?platform=\"+encodeURIComponent(_core.Platform.OS)+\"&hash=\"+encodeURIComponent(meta.hash);if(/^https?:\\/\\//.test(meta.httpServerLocation)){var _uri2=meta.httpServerLocation+suffix;return{uri:_uri2,hash:hash};}if((0,_PlatformUtils.getManifest)().developer){var baseUrl=new _urlParse.default((0,_PlatformUtils.getManifest)().bundleUrl);baseUrl.set('pathname',meta.httpServerLocation+suffix);return{uri:baseUrl.href,hash:hash};}return{uri:\"https://d1wp6m56sqw74a.cloudfront.net/~assets/\"+encodeURIComponent(hash),hash:hash};}function resolveUri(uri){if(!_PlatformUtils.manifestBaseUrl){return uri;}var _ref=new _urlParse.default(uri),protocol=_ref.protocol;if(protocol!==''){return uri;}var baseUrl=new _urlParse.default(_PlatformUtils.manifestBaseUrl);var resolvedPath=uri.startsWith('/')?uri:_pathBrowserify.default.join(baseUrl.pathname,uri);baseUrl.set('pathname',resolvedPath);return baseUrl.href;}","map":{"version":3,"sources":["../src/AssetSources.ts"],"names":[],"mappings":"oTAAA,sCACA,uE,4FAEA,2DACA,kFAEA,8C,yxBAqBA,GAAM,CAAA,gBAAgB,CAAG,iCAAc,gBAAvC,CAQM,QAAU,CAAA,iBAAV,CAA4B,IAA5B,CAA+C,CAEnD,GAAI,gBAAgB,EAAI,gBAAgB,CAAC,cAAjB,CAAgC,IAAI,CAAC,IAArC,CAAxB,CAAoE,CAClE,IAAI,kBAAQ,IAAR,IAAiB,gBAAgB,CAAC,IAAI,CAAC,IAAN,CAAjC,CAAJ,CACD,CAID,GAAM,CAAA,KAAK,CAAG,6BAAoB,SAApB,CAA8B,IAAI,CAAC,MAAnC,CAA2C,oBAAW,GAAX,EAA3C,CAAd,CACA,GAAM,CAAA,KAAK,CAAG,IAAI,CAAC,MAAL,CAAY,SAAZ,CAAsB,SAAA,CAAC,QAAI,CAAA,CAAC,GAAK,KAAV,EAAvB,CAAd,CACA,GAAM,CAAA,IAAI,CAAG,IAAI,CAAC,UAAL,CAAkB,IAAI,CAAC,UAAL,CAAgB,KAAhB,GAA0B,IAAI,CAAC,UAAL,CAAgB,CAAhB,CA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CACA,OAAO,CAAC,GAAR,CAAY,UAAZ,CAAwB,IAAI,CAAC,kBAAL,CAA0B,MAAlD,EACA,MAAO,CAAE,GAAG,CAAE,OAAO,CAAC,IAAf,CAAqB,IAAI,CAAJ,IAArB,CAAP,CACD,CAGD,MAAO,CACL,GAAG,kDAAmD,kBAAkB,CAAC,IAAD,CADnE,CAEL,IAAI,CAAJ,IAFK,CAAP,CAID,CAOK,QAAU,CAAA,UAAV,CAAqB,GAArB,CAAgC,CACpC,GAAI,CAAC,8BAAL,CAAsB,CACpB,MAAO,CAAA,GAAP,CACD,CAHmC,SAKf,GAAI,kBAAJ,CAAQ,GAAR,CALe,CAK5B,QAL4B,MAK5B,QAL4B,CAMpC,GAAI,QAAQ,GAAK,EAAjB,CAAqB,CACnB,MAAO,CAAA,GAAP,CACD,CAED,GAAM,CAAA,OAAO,CAAG,GAAI,kBAAJ,CAAQ,8BAAR,CAAhB,CACA,GAAM,CAAA,YAAY,CAAG,GAAG,CAAC,UAAJ,CAAe,GAAf,EAAsB,GAAtB,CAA4B,wBAAK,IAAL,CAAU,OAAO,CAAC,QAAlB,CAA4B,GAA5B,CAAjD,CACA,OAAO,CAAC,GAAR,CAAY,UAAZ,CAAwB,YAAxB,EACA,MAAO,CAAA,OAAO,CAAC,IAAf,CACD","sourcesContent":["import { Platform } from '@unimodules/core';\nimport path from 'path-browserify';\nimport { PixelRatio } from 'react-native';\nimport URL from 'url-parse';\nimport AssetSourceResolver from './AssetSourceResolver';\n\nimport { manifestBaseUrl, getManifest } from './PlatformUtils';\n\nexport type AssetMetadata = {\n hash: string;\n name: string;\n type: string;\n width?: number;\n height?: number;\n scales: number[];\n httpServerLocation: string;\n uri?: string;\n fileHashes?: string[];\n fileUris?: string[];\n};\n\nexport type AssetSource = {\n uri: string;\n hash: string;\n};\n\n// Fast lookup check if asset map has any overrides in the manifest\nconst assetMapOverride = getManifest().assetMapOverride;\n\n/**\n * Selects the best file for the given asset (ex: choosing the best scale for images) and returns\n * a { uri, hash } pair for the specific asset file.\n *\n * If the asset isn't an image with multiple scales, the first file is selected.\n */\nexport function selectAssetSource(meta: AssetMetadata): AssetSource {\n // Override with the asset map in manifest if available\n if (assetMapOverride && assetMapOverride.hasOwnProperty(meta.hash)) {\n meta = { ...meta, ...assetMapOverride[meta.hash] };\n }\n\n // This logic is based on that of AssetSourceResolver, with additional support for file hashes and\n // explicitly provided URIs\n const scale = AssetSourceResolver.pickScale(meta.scales, PixelRatio.get());\n const index = meta.scales.findIndex(s => s === scale);\n const hash = meta.fileHashes ? meta.fileHashes[index] || meta.fileHashes[0] : meta.hash;\n\n // Allow asset processors to directly provide the URL to load\n const uri = meta.fileUris ? meta.fileUris[index] || meta.fileUris[0] : meta.uri;\n if (uri) {\n return { uri: resolveUri(uri), hash };\n }\n\n // Check if the assetUrl was overridden in the manifest\n const assetUrlOverride = getManifest().assetUrlOverride;\n if (assetUrlOverride) {\n const uri = path.join(assetUrlOverride, hash);\n return { uri: resolveUri(uri), hash };\n }\n\n const fileScale = scale === 1 ? '' : `@${scale}x`;\n const fileExtension = meta.type ? `.${encodeURIComponent(meta.type)}` : '';\n const suffix = `/${encodeURIComponent(\n meta.name\n )}${fileScale}${fileExtension}?platform=${encodeURIComponent(\n Platform.OS\n )}&hash=${encodeURIComponent(meta.hash)}`;\n\n // For assets with a specified absolute URL, we use the existing origin instead of prepending the\n // development server or production CDN URL origin\n if (/^https?:\\/\\//.test(meta.httpServerLocation)) {\n const uri = meta.httpServerLocation + suffix;\n return { uri, hash };\n }\n\n // For assets during development, we use the development server's URL origin\n if (getManifest().developer) {\n const baseUrl = new URL(getManifest().bundleUrl);\n baseUrl.set('pathname', meta.httpServerLocation + suffix);\n return { uri: baseUrl.href, hash };\n }\n\n // Production CDN URIs are based on each asset file hash\n return {\n uri: `https://d1wp6m56sqw74a.cloudfront.net/~assets/${encodeURIComponent(hash)}`,\n hash,\n };\n}\n\n/**\n * Resolves the given URI to an absolute URI. If the given URI is already an absolute URI, it is\n * simply returned. Otherwise, if it is a relative URI, it is resolved relative to the manifest's\n * base URI.\n */\nexport function resolveUri(uri: string): string {\n if (!manifestBaseUrl) {\n return uri;\n }\n\n const { protocol } = new URL(uri);\n if (protocol !== '') {\n return uri;\n }\n\n const baseUrl = new URL(manifestBaseUrl);\n const resolvedPath = uri.startsWith('/') ? uri : path.join(baseUrl.pathname, uri);\n baseUrl.set('pathname', resolvedPath);\n return baseUrl.href;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports._TESTING_ONLY_normalize_keys=_TESTING_ONLY_normalize_keys;exports.generateKey=generateKey;var uniqueBaseId=\"id-\"+Date.now();var uuidCount=0;function _TESTING_ONLY_normalize_keys(){uniqueBaseId=\"id\";uuidCount=0;}function generateKey(){return uniqueBaseId+\"-\"+uuidCount++;}","map":{"version":3,"sources":["KeyGenerator.ts"],"names":["uniqueBaseId","Date","uuidCount"],"mappings":"2JAAA,GAAIA,CAAAA,YAAoB,CAAA,MAASC,IAAI,CAArC,GAAiCA,EAAjC,CACA,GAAIC,CAAAA,SAAiB,CAArB,CAAA,CAEO,QAAA,CAAA,4BAAA,EAA8C,CACnDF,YAAY,CAAZA,IAAAA,CACAE,SAAS,CAATA,CAAAA,CAGF,CAAO,QAAA,CAAA,WAAA,EAA+B,CACpC,MAAUF,CAAAA,YAAV,CAAA,GAAUA,CAAgBE,SAA1B,EAAA,CACD","sourcesContent":["let uniqueBaseId: string = `id-${Date.now()}`;\nlet uuidCount: number = 0;\n\nexport function _TESTING_ONLY_normalize_keys(): void {\n uniqueBaseId = `id`;\n uuidCount = 0;\n}\n\nexport function generateKey(): string {\n return `${uniqueBaseId}-${uuidCount++}`;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.openDatabase=void 0;var _global=global,openDatabase=_global.openDatabase;exports.openDatabase=openDatabase;var _default={openDatabase:openDatabase};exports.default=_default;","map":{"version":3,"sources":["../src/SQLite.web.ts"],"names":[],"mappings":"iHAAgC,M,CAAjB,Y,SAAA,Y,gDACA,CAAE,YAAY,CAAZ,YAAF,C","sourcesContent":["export const { openDatabase } = global;\nexport default { openDatabase };\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.guardPermission=guardPermission;exports.getExponentPushTokenAsync=getExponentPushTokenAsync;exports.getDevicePushTokenAsync=getDevicePushTokenAsync;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _core=require(\"@unimodules/core\");var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));function guardPermission(){if(!('Notification'in window)){throw new Error('The Notification API is not available on this device.');}if(!navigator.serviceWorker){throw new Error('Notifications cannot be used because the service worker API is not supported on this device. This might also happen because your web page does not support HTTPS.');}if(Notification.permission!=='granted'){throw new Error('Cannot use Notifications without permissions. Please request permissions with `expo-permissions`');}}function getExponentPushTokenAsync(){var data,experienceId,tokenArguments,response;return _regenerator.default.async(function getExponentPushTokenAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:if(!(!_expoConstants.default.manifest.owner||!_expoConstants.default.manifest.slug)){_context.next=2;break;}throw new _core.CodedError('E_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG','You must provide `owner` and `slug` in `app.json` to use push notifications on web. Learn more: https://docs.expo.io/versions/latest/guides/using-vapid/.');case 2:_context.next=4;return _regenerator.default.awrap(_subscribeUserToPushAsync());case 4:data=_context.sent;experienceId=\"@\"+_expoConstants.default.manifest.owner+\"/\"+_expoConstants.default.manifest.slug;tokenArguments={deviceId:_expoConstants.default.installationId,experienceId:experienceId,appId:experienceId,deviceToken:JSON.stringify(data),type:'web'};_context.next=9;return _regenerator.default.awrap(fetch('https://exp.host/--/api/v2/push/getExpoPushToken',{method:'POST',body:JSON.stringify(tokenArguments)}).then(function(response){if(!response.ok){throw new Error(response.statusText);}return response;}).then(function(response){return response.json();}).catch(function(error){throw new _core.CodedError('E_NOTIFICATIONS_TOKEN_REGISTRATION_FAILED','The device was unable to register for remote notifications with Expo. ('+error+')');}));case 9:response=_context.sent;return _context.abrupt(\"return\",response.data.expoPushToken);case 11:case\"end\":return _context.stop();}}});}function getDevicePushTokenAsync(){var data;return _regenerator.default.async(function getDevicePushTokenAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_context2.next=2;return _regenerator.default.awrap(_subscribeUserToPushAsync());case 2:data=_context2.sent;return _context2.abrupt(\"return\",{type:_Platform.default.OS,data:data});case 4:case\"end\":return _context2.stop();}}});}function _subscribeUserToPushAsync(){var registration,subscribeOptions,pushSubscription,pushSubscriptionJson,subscriptionObject,notificationIcon;return _regenerator.default.async(function _subscribeUserToPushAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:if(!(!_expoConstants.default.manifest.notification||!_expoConstants.default.manifest.notification.vapidPublicKey)){_context3.next=2;break;}throw new _core.CodedError('E_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG','You must provide `notification.vapidPublicKey` in `app.json` to use push notifications on web. Learn more: https://docs.expo.io/versions/latest/guides/using-vapid/.');case 2:guardPermission();_context3.next=5;return _regenerator.default.awrap(navigator.serviceWorker.register('/expo-service-worker.js'));case 5:registration=_context3.sent;_context3.next=8;return _regenerator.default.awrap(navigator.serviceWorker.ready);case 8:if(registration.active){_context3.next=10;break;}throw new Error('Notifications might not be working because the service worker API is not active.');case 10:subscribeOptions={userVisibleOnly:true,applicationServerKey:_urlBase64ToUint8Array(_expoConstants.default.manifest.notification.vapidPublicKey)};_context3.next=13;return _regenerator.default.awrap(registration.pushManager.subscribe(subscribeOptions).catch(function(error){throw new _core.CodedError('E_NOTIFICATIONS_PUSH_WEB_TOKEN_REGISTRATION_FAILED','The device was unable to register for remote notifications with the browser endpoint. ('+error+')');}));case 13:pushSubscription=_context3.sent;pushSubscriptionJson=pushSubscription.toJSON();subscriptionObject={endpoint:pushSubscriptionJson.endpoint,keys:{p256dh:pushSubscriptionJson.keys.p256dh,auth:pushSubscriptionJson.keys.auth}};notificationIcon=(_expoConstants.default.manifest.notification||{}).icon;_context3.next=19;return _regenerator.default.awrap(registration.active.postMessage(JSON.stringify({fromExpoWebClient:{notificationIcon:notificationIcon}})));case 19:return _context3.abrupt(\"return\",subscriptionObject);case 20:case\"end\":return _context3.stop();}}});}function _urlBase64ToUint8Array(base64String){var padding='='.repeat((4-base64String.length%4)%4);var base64=(base64String+padding).replace(/-/g,'+').replace(/_/g,'/');var rawData=window.atob(base64);var outputArray=new Uint8Array(rawData.length);for(var i=0;i<rawData.length;++i){outputArray[i]=rawData.charCodeAt(i);}return outputArray;}","map":{"version":3,"sources":["../../src/Notifications/ExponentNotificationsHelper.web.ts"],"names":[],"mappings":"uXAAA,sCACA,qE,wFAGM,QAAU,CAAA,eAAV,EAAyB,CAC7B,GAAI,EAAE,gBAAkB,CAAA,MAApB,CAAJ,CAAiC,CAC/B,KAAM,IAAI,CAAA,KAAJ,CAAU,uDAAV,CAAN,CACD,CACD,GAAI,CAAC,SAAS,CAAC,aAAf,CAA8B,CAC5B,KAAM,IAAI,CAAA,KAAJ,CACJ,mKADI,CAAN,CAGD,CACD,GAAI,YAAY,CAAC,UAAb,GAA4B,SAAhC,CAA2C,CACzC,KAAM,IAAI,CAAA,KAAJ,CACJ,kGADI,CAAN,CAGD,CACF,CAEM,QAAe,CAAA,yBAAf,0LACD,CAAC,uBAAU,QAAV,CAAmB,KAApB,EAA6B,CAAC,uBAAU,QAAV,CAAmB,IADhD,+BAEG,IAAI,iBAAJ,CACJ,yCADI,CAEJ,2JAFI,CAFH,0DAQc,yBAAyB,EARvC,SAQC,IARD,eASC,YATD,KASoB,uBAAU,QAAV,CAAmB,KATvC,KASgD,uBAAU,QAA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GAA1D,CAAf,CAEA,GAAM,CAAA,OAAO,CAAG,MAAM,CAAC,IAAP,CAAY,MAAZ,CAAhB,CACA,GAAM,CAAA,WAAW,CAAG,GAAI,CAAA,UAAJ,CAAe,OAAO,CAAC,MAAvB,CAApB,CAEA,IAAK,GAAI,CAAA,CAAC,CAAG,CAAb,CAAgB,CAAC,CAAG,OAAO,CAAC,MAA5B,CAAoC,EAAE,CAAtC,CAAyC,CACvC,WAAW,CAAC,CAAD,CAAX,CAAiB,OAAO,CAAC,UAAR,CAAmB,CAAnB,CAAjB,CACD,CACD,MAAO,CAAA,WAAP,CACD","sourcesContent":["import { CodedError } from '@unimodules/core';\nimport Constants from 'expo-constants';\nimport { Platform } from 'react-native';\n\nexport function guardPermission() {\n if (!('Notification' in window)) {\n throw new Error('The Notification API is not available on this device.');\n }\n if (!navigator.serviceWorker) {\n throw new Error(\n 'Notifications cannot be used because the service worker API is not supported on this device. This might also happen because your web page does not support HTTPS.'\n );\n }\n if (Notification.permission !== 'granted') {\n throw new Error(\n 'Cannot use Notifications without permissions. Please request permissions with `expo-permissions`'\n );\n }\n}\n\nexport async function getExponentPushTokenAsync(): Promise<string> {\n if (!Constants.manifest.owner || !Constants.manifest.slug) {\n throw new CodedError(\n 'E_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG',\n 'You must provide `owner` and `slug` in `app.json` to use push notifications on web. Learn more: https://docs.expo.io/versions/latest/guides/using-vapid/.'\n );\n }\n\n const data = await _subscribeUserToPushAsync();\n const experienceId = `@${Constants.manifest.owner}/${Constants.manifest.slug}`;\n const tokenArguments: { [key: string]: string } = {\n deviceId: Constants.installationId,\n experienceId,\n // Also uses `experienceId` for `appId` because there's no `appId` for web.\n appId: experienceId,\n deviceToken: JSON.stringify(data),\n type: 'web',\n };\n\n const response = await fetch('https://exp.host/--/api/v2/push/getExpoPushToken', {\n method: 'POST',\n body: JSON.stringify(tokenArguments),\n })\n .then(response => {\n if (!response.ok) {\n throw new Error(response.statusText);\n }\n return response;\n })\n .then(response => response.json())\n .catch(error => {\n throw new CodedError(\n 'E_NOTIFICATIONS_TOKEN_REGISTRATION_FAILED',\n 'The device was unable to register for remote notifications with Expo. (' + error + ')'\n );\n });\n\n return response.data.expoPushToken;\n}\n\nexport async function getDevicePushTokenAsync(): Promise<{ type: string; data: Object }> {\n const data = await _subscribeUserToPushAsync();\n return { type: Platform.OS, data };\n}\n\nasync function _subscribeUserToPushAsync(): Promise<Object> {\n if (!Constants.manifest.notification || !Constants.manifest.notification.vapidPublicKey) {\n throw new CodedError(\n 'E_NOTIFICATIONS_PUSH_WEB_MISSING_CONFIG',\n 'You must provide `notification.vapidPublicKey` in `app.json` to use push notifications on web. Learn more: https://docs.expo.io/versions/latest/guides/using-vapid/.'\n );\n }\n guardPermission();\n\n const registration = await navigator.serviceWorker.register('/expo-service-worker.js');\n await navigator.serviceWorker.ready;\n\n if (!registration.active) {\n throw new Error(\n 'Notifications might not be working because the service worker API is not active.'\n );\n }\n\n const subscribeOptions = {\n userVisibleOnly: true,\n applicationServerKey: _urlBase64ToUint8Array(Constants.manifest.notification.vapidPublicKey),\n };\n const pushSubscription = await registration.pushManager\n .subscribe(subscribeOptions)\n .catch(error => {\n throw new CodedError(\n 'E_NOTIFICATIONS_PUSH_WEB_TOKEN_REGISTRATION_FAILED',\n 'The device was unable to register for remote notifications with the browser endpoint. (' +\n error +\n ')'\n );\n });\n const pushSubscriptionJson = pushSubscription.toJSON();\n\n const subscriptionObject = {\n endpoint: pushSubscriptionJson.endpoint,\n keys: {\n p256dh: pushSubscriptionJson.keys!.p256dh,\n auth: pushSubscriptionJson.keys!.auth,\n },\n };\n\n // Store notification icon string in service worker.\n // This message is received by `/expo-service-worker.js`.\n // We wrap it with `fromExpoWebClient` to make sure other message\n // will not override content such as `notificationIcon`.\n // https://stackoverflow.com/a/35729334/2603230\n let notificationIcon = (Constants.manifest.notification || {}).icon;\n await registration.active.postMessage(\n JSON.stringify({ fromExpoWebClient: { notificationIcon } })\n );\n\n return subscriptionObject;\n}\n\n// https://github.com/web-push-libs/web-push#using-vapid-key-for-applicationserverkey\nfunction _urlBase64ToUint8Array(base64String: string): Uint8Array {\n const padding = '='.repeat((4 - (base64String.length % 4)) % 4);\n const base64 = (base64String + padding).replace(/-/g, '+').replace(/_/g, '/');\n\n const rawData = window.atob(base64);\n const outputArray = new Uint8Array(rawData.length);\n\n for (let i = 0; i < rawData.length; ++i) {\n outputArray[i] = rawData.charCodeAt(i);\n }\n return outputArray;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=deprecate;var _compareVersions=_interopRequireDefault(require(\"compare-versions\"));var _reactNativeAdapter=require(\"@unimodules/react-native-adapter\");var postedWarnings={};function deprecate(library,deprecatedAPI){var options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var currentVersion=options.currentVersion,versionToRemove=options.versionToRemove,replacement=options.replacement;var code=codeFromLibrary(library);var key=code+\":\"+deprecatedAPI+\":\"+replacement;if(!postedWarnings[key]){postedWarnings[key]=true;}if(!currentVersion||!versionToRemove||(0,_compareVersions.default)(currentVersion,versionToRemove)>=0){var _message=\"`\"+deprecatedAPI+\"` has been removed\";if(versionToRemove){_message=_message+\" as of version \\\"\"+versionToRemove+\"\\\"\";}if(replacement&&replacement.length){_message=_message+\" please migrate to: `\"+replacement+\"`\";}throw new _reactNativeAdapter.CodedError(\"ERR_DEPRECATED_API\",prependLibrary(library,_message));}var message=\"`\"+deprecatedAPI+\"` has been deprecated\";if(replacement&&replacement.length){message=message+\" in favor of `\"+replacement+\"`\";}if(versionToRemove&&versionToRemove.length){message=message+\" and will be removed in version \\\"\"+versionToRemove+\"\\\"\";}console.warn(prependLibrary(library,message));}function prependLibrary(library,message){return library+\": \"+message;}function codeFromLibrary(library){var code=library.replace(/[-.]/g,'_').toUpperCase();return code;}","map":{"version":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ED,QAAS,CAAA,cAAT,CAAwB,OAAxB,CAAyC,OAAzC,CAAwD,CACtD,MAAU,CAAA,OAAV,MAAsB,OAAtB,CACD,CAOD,QAAS,CAAA,eAAT,CAAyB,OAAzB,CAAwC,CACtC,GAAM,CAAA,IAAI,CAAG,OAAO,CAAC,OAAR,CAAgB,OAAhB,CAAyB,GAAzB,EAA8B,WAA9B,EAAb,CACA,MAAO,CAAA,IAAP,CACD","sourcesContent":["import compareVersions from 'compare-versions';\nimport { CodedError } from '@unimodules/react-native-adapter';\n\nconst postedWarnings: { [key: string]: boolean } = {};\n\n/**\n * Used for deprecating values and throwing an error if a given version of Expo has passed.\n */\nexport default function deprecate(\n library: string,\n deprecatedAPI: string,\n options: {\n replacement?: string;\n currentVersion?: string;\n versionToRemove?: string;\n } = {}\n): void {\n const { currentVersion, versionToRemove, replacement } = options;\n const code = codeFromLibrary(library);\n const key = `${code}:${deprecatedAPI}:${replacement}`;\n if (!postedWarnings[key]) {\n postedWarnings[key] = true;\n }\n\n if (\n !currentVersion ||\n !versionToRemove ||\n compareVersions(currentVersion, versionToRemove) >= 0\n ) {\n let message = `\\`${deprecatedAPI}\\` has been removed`;\n if (versionToRemove) {\n message = `${message} as of version \"${versionToRemove}\"`;\n }\n if (replacement && replacement.length) {\n message = `${message} please migrate to: \\`${replacement}\\``;\n }\n\n throw new CodedError(`ERR_DEPRECATED_API`, prependLibrary(library, message));\n }\n\n let message = `\\`${deprecatedAPI}\\` has been deprecated`;\n if (replacement && replacement.length) {\n message = `${message} in favor of \\`${replacement}\\``;\n }\n if (versionToRemove && versionToRemove.length) {\n message = `${message} and will be removed in version \"${versionToRemove}\"`;\n }\n console.warn(prependLibrary(library, message));\n}\n\nfunction prependLibrary(library: string, message: string): string {\n return `${library}: ${message}`;\n}\n\n/**\n * Transform format:\n * Expo.AR -> EXPO_AR\n * expo-ar -> EXPO_AR\n */\nfunction codeFromLibrary(library: string): string {\n const code = library.replace(/[-.]/g, '_').toUpperCase();\n return code;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _reactNativeReanimated=_interopRequireWildcard(require(\"react-native-reanimated\"));var _memoize=_interopRequireDefault(require(\"./memoize\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/TabBarIndicator.tsx\";var interpolate=_reactNativeReanimated.default.interpolate,multiply=_reactNativeReanimated.default.multiply,Extrapolate=_reactNativeReanimated.default.Extrapolate;var TabBarIndicator=function(_React$Component){(0,_inherits2.default)(TabBarIndicator,_React$Component);function TabBarIndicator(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabBarIndicator);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabBarIndicator)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.fadeInIndicator=function(){var _this$props=_this.props,navigationState=_this$props.navigationState,layout=_this$props.layout,width=_this$props.width,getTabWidth=_this$props.getTabWidth;if(!_this.isIndicatorShown&&width==='auto'&&layout.width&&navigationState.routes.every(function(_,i){return getTabWidth(i);})){_this.isIndicatorShown=true;_reactNativeReanimated.default.timing(_this.opacity,{duration:150,toValue:1,easing:_reactNativeReanimated.Easing.in(_reactNativeReanimated.Easing.linear)}).start();}};_this.isIndicatorShown=false;_this.opacity=new _reactNativeReanimated.default.Value(_this.props.width==='auto'?0:1);_this.getTranslateX=(0,_memoize.default)(function(position,routes,getTabWidth){var inputRange=routes.map(function(_,i){return i;});var outputRange=routes.reduce(function(acc,_,i){if(i===0)return[0];return[].concat((0,_toConsumableArray2.default)(acc),[acc[i-1]+getTabWidth(i-1)]);},[]);var transalteX=interpolate(position,{inputRange:inputRange,outputRange:outputRange,extrapolate:Extrapolate.CLAMP});return multiply(transalteX,_I18nManager.default.isRTL?-1:1);});_this.getWidth=(0,_memoize.default)(function(position,routes,getTabWidth){var inputRange=routes.map(function(_,i){return i;});var outputRange=inputRange.map(getTabWidth);return interpolate(position,{inputRange:inputRange,outputRange:outputRange,extrapolate:Extrapolate.CLAMP});});return _this;}(0,_createClass2.default)(TabBarIndicator,[{key:\"componentDidMount\",value:function componentDidMount(){this.fadeInIndicator();}},{key:\"componentDidUpdate\",value:function componentDidUpdate(){this.fadeInIndicator();}},{key:\"render\",value:function render(){var _this$props2=this.props,position=_this$props2.position,navigationState=_this$props2.navigationState,getTabWidth=_this$props2.getTabWidth,width=_this$props2.width,style=_this$props2.style,layout=_this$props2.layout;var routes=navigationState.routes;var translateX=routes.length>1?this.getTranslateX(position,routes,getTabWidth):0;var indicatorWidth=width==='auto'?routes.length>1?this.getWidth(position,routes,getTabWidth):getTabWidth(0):width;return React.createElement(_reactNativeReanimated.default.View,{style:[styles.indicator,{width:indicatorWidth},layout.width?{transform:[{translateX:translateX}]}:{left:100/routes.length*navigationState.index+\"%\"},width==='auto'?{opacity:this.opacity}:null,style],__source:{fileName:_jsxFileName,lineNumber:117}});}}]);return TabBarIndicator;}(React.Component);exports.default=TabBarIndicator;var styles=_StyleSheet.default.create({indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}});","map":{"version":3,"sources":["TabBarIndicator.tsx"],"names":["interpolate","multiply","Extrapolate","Animated","TabBarIndicator","React","fadeInIndicator","navigationState","layout","width","getTabWidth","duration","toValue","easing","Easing","isIndicatorShown","opacity","getTranslateX","memoize","inputRange","routes","outputRange","i","acc","transalteX","extrapolate","I18nManager","getWidth","position","style","translateX","indicatorWidth","styles","transform","left","StyleSheet","indicator","backgroundColor","bottom","right","height"],"mappings":"szBAAA,oD,0LAEA,uFAEA,0D,iGAYQA,GAAAA,CAAAA,W,CAAuCG,+BAAvCH,WAAAA,CAAaC,Q,CAA0BE,+BAA1BF,QAAbD,CAAuBE,W,CAAgBC,+BAAhBD,WAAvBF,CAEaI,GAAAA,CAAAA,e,sdAWXE,e,CAAkB,UAAM,CAAA,GAAA,CAAA,WAAA,CAC0B,KAAA,CAD1B,KAAA,CACtBC,eADsB,CAAA,WAAA,CAAA,eAAA,CACLC,MADK,CAAA,WAAA,CAAA,MAAA,CACGC,KADH,CAAA,WAAA,CAAA,KAAA,CACUC,WADV,CAAA,WAAA,CAAA,WAAA,CAG9B,GACE,CAAC,KAAA,CAAD,gBAAA,EACAD,KAAK,GADL,MAAA,EAEAD,MAAM,CAFN,KAAA,EAIAD,eAAe,CAAfA,MAAAA,CAAAA,KAAAA,CAA6B,SAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAUG,CAAAA,WAAW,CAArB,CAAqB,CAArB,CAL/B,CAKEH,CALF,CAME,CACA,KAAA,CAAA,gBAAA,CAAA,IAAA,CAEAJ,+BAAAA,MAAAA,CAAgB,KAAA,CAAhBA,OAAAA,CAA8B,CAC5BQ,QAAQ,CADoB,GAAA,CAE5BC,OAAO,CAFqB,CAAA,CAG5BC,MAAM,CAAEC,8BAAAA,EAAAA,CAAUA,8BAHpBX,MAGUW,CAHoB,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AMd,MAAM,CAAb,MAAC,CAAuBb,eAAe,CAA5C,KAAM,CAPX,GAOD,CAPC,CAQLE,KAAK,GAALA,MAAAA,CAAmB,CAAEO,OAAO,CAAE,KAA9BP,OAAmB,CAAnBA,CARK,IAAA,CADT,KACS,CADT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,GACE,CAAA,CAAA,CADF,C,8BAjG0DJ,KAAK,CAA9CD,S,CAAAA,C,gCAmHrB,GAAM4B,CAAAA,MAAM,CAAGG,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,eAAe,CADN,SAAA,CAETT,QAAQ,CAFC,UAAA,CAGTM,IAAI,CAHK,CAAA,CAITI,MAAM,CAJG,CAAA,CAKTC,KAAK,CALI,CAAA,CAMTC,MAAM,CAPV,CACa,CADoB,CAAlBL,CAAf","sourcesContent":["import * as React from 'react';\nimport { StyleSheet, I18nManager, StyleProp, ViewStyle } from 'react-native';\nimport Animated, { Easing } from 'react-native-reanimated';\n\nimport memoize from './memoize';\nimport { Route, SceneRendererProps, NavigationState } from './types';\n\nexport type GetTabWidth = (index: number) => number;\n\nexport type Props<T extends Route> = SceneRendererProps & {\n navigationState: NavigationState<T>;\n width: string;\n style?: StyleProp<ViewStyle>;\n getTabWidth: GetTabWidth;\n};\n\nconst { interpolate, multiply, Extrapolate } = Animated;\n\nexport default class TabBarIndicator<T extends Route> extends React.Component<\n Props<T>\n> {\n componentDidMount() {\n this.fadeInIndicator();\n }\n\n componentDidUpdate() {\n this.fadeInIndicator();\n }\n\n private fadeInIndicator = () => {\n const { navigationState, layout, width, getTabWidth } = this.props;\n\n if (\n !this.isIndicatorShown &&\n width === 'auto' &&\n layout.width &&\n // We should fade-in the indicator when we have widths for all the tab items\n navigationState.routes.every((_, i) => getTabWidth(i))\n ) {\n this.isIndicatorShown = true;\n\n Animated.timing(this.opacity, {\n duration: 150,\n toValue: 1,\n easing: Easing.in(Easing.linear),\n }).start();\n }\n };\n\n private isIndicatorShown = false;\n\n private opacity = new Animated.Value(this.props.width === 'auto' ? 0 : 1);\n\n private getTranslateX = memoize(\n (\n position: Animated.Node<number>,\n routes: Route[],\n getTabWidth: GetTabWidth\n ) => {\n const inputRange = routes.map((_, i) => i);\n\n // every index contains widths at all previous indices\n const outputRange = routes.reduce<number[]>((acc, _, i) => {\n if (i === 0) return [0];\n return [...acc, acc[i - 1] + getTabWidth(i - 1)];\n }, []);\n\n const transalteX = interpolate(position, {\n inputRange,\n outputRange,\n extrapolate: Extrapolate.CLAMP,\n });\n\n return multiply(transalteX, I18nManager.isRTL ? -1 : 1);\n }\n );\n\n private getWidth = memoize(\n (\n position: Animated.Node<number>,\n routes: Route[],\n getTabWidth: GetTabWidth\n ) => {\n const inputRange = routes.map((_, i) => i);\n const outputRange = inputRange.map(getTabWidth);\n\n return interpolate(position, {\n inputRange,\n outputRange,\n extrapolate: Extrapolate.CLAMP,\n });\n }\n );\n\n render() {\n const {\n position,\n navigationState,\n getTabWidth,\n width,\n style,\n layout,\n } = this.props;\n const { routes } = navigationState;\n\n const translateX =\n routes.length > 1 ? this.getTranslateX(position, routes, getTabWidth) : 0;\n\n const indicatorWidth =\n width === 'auto'\n ? routes.length > 1\n ? this.getWidth(position, routes, getTabWidth)\n : getTabWidth(0)\n : width;\n\n return (\n <Animated.View\n style={[\n styles.indicator,\n // If layout is not available, use `left` property for positioning the indicator\n // This avoids rendering delay until we are able to calculate translateX\n { width: indicatorWidth },\n layout.width\n ? { transform: [{ translateX }] as any }\n : { left: `${(100 / routes.length) * navigationState.index}%` },\n width === 'auto' ? { opacity: this.opacity } : null,\n style,\n ]}\n />\n );\n }\n}\n\nconst styles = StyleSheet.create({\n indicator: {\n backgroundColor: '#ffeb3b',\n position: 'absolute',\n left: 0,\n bottom: 0,\n right: 0,\n height: 2,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var twoArgumentPooler=function twoArgumentPooler(a1,a2){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2);return instance;}else{return new Klass(a1,a2);}};var standardReleaser=function standardReleaser(instance){var Klass=this;instance.destructor();if(Klass.instancePool.length<Klass.poolSize){Klass.instancePool.push(instance);}};var DEFAULT_POOL_SIZE=10;var DEFAULT_POOLER=twoArgumentPooler;var addPoolingTo=function addPoolingTo(CopyConstructor,pooler){var NewKlass=CopyConstructor;NewKlass.instancePool=[];NewKlass.getPooled=pooler||DEFAULT_POOLER;if(!NewKlass.poolSize){NewKlass.poolSize=DEFAULT_POOL_SIZE;}NewKlass.release=standardReleaser;return NewKlass;};var PooledClass={addPoolingTo:addPoolingTo,twoArgumentPooler:twoArgumentPooler};var _default=PooledClass;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/PooledClass/index.js"],"names":["twoArgumentPooler","a1","a2","Klass","instancePool","length","instance","pop","call","standardReleaser","destructor","poolSize","push","DEFAULT_POOL_SIZE","DEFAULT_POOLER","addPoolingTo","CopyConstructor","pooler","NewKlass","getPooled","release","PooledClass"],"mappings":"mKAUA,qEAEA,GAAIA,CAAAA,iBAAiB,CAAG,QAASA,CAAAA,iBAAT,CAA2BC,EAA3B,CAA+BC,EAA/B,CAAmC,CACzD,GAAIC,CAAAA,KAAK,CAAG,IAAZ,CAEA,GAAIA,KAAK,CAACC,YAAN,CAAmBC,MAAvB,CAA+B,CAC7B,GAAIC,CAAAA,QAAQ,CAAGH,KAAK,CAACC,YAAN,CAAmBG,GAAnB,EAAf,CACAJ,KAAK,CAACK,IAAN,CAAWF,QAAX,CAAqBL,EAArB,CAAyBC,EAAzB,EACA,MAAOI,CAAAA,QAAP,CACD,CAJD,IAIO,CACL,MAAO,IAAIH,CAAAA,KAAJ,CAAUF,EAAV,CAAcC,EAAd,CAAP,CACD,CACF,CAVD,CAYA,GAAIO,CAAAA,gBAAgB,CAAG,QAASA,CAAAA,gBAAT,CAA0BH,QAA1B,CAAoC,CACzD,GAAIH,CAAAA,KAAK,CAAG,IAAZ,CACAG,QAAQ,CAACI,UAAT,GAEA,GAAIP,KAAK,CAACC,YAAN,CAAmBC,MAAnB,CAA4BF,KAAK,CAACQ,QAAtC,CAAgD,CAC9CR,KAAK,CAACC,YAAN,CAAmBQ,IAAnB,CAAwBN,QAAxB,EACD,CACF,CAPD,CASA,GAAIO,CAAAA,iBAAiB,CAAG,EAAxB,CACA,GAAIC,CAAAA,cAAc,CAAGd,iBAArB,CAWA,GAAIe,CAAAA,YAAY,CAAG,QAASA,CAAAA,YAAT,CAAsBC,eAAtB,CAAuCC,MAAvC,CAA+C,CAGhE,GAAIC,CAAAA,QAAQ,CAAGF,eAAf,CACAE,QAAQ,CAACd,YAAT,CAAwB,EAAxB,CACAc,QAAQ,CAACC,SAAT,CAAqBF,MAAM,EAAIH,cAA/B,CAEA,GAAI,CAACI,QAAQ,CAACP,QAAd,CAAwB,CACtBO,QAAQ,CAACP,QAAT,CAAoBE,iBAApB,CACD,CAEDK,QAAQ,CAACE,OAAT,CAAmBX,gBAAnB,CACA,MAAOS,CAAAA,QAAP,CACD,CAbD,CAeA,GAAIG,CAAAA,WAAW,CAAG,CAChBN,YAAY,CAAEA,YADE,CAEhBf,iBAAiB,CAAEA,iBAFH,CAAlB,C,aAIeqB,W","sourcesContent":["/* eslint-disable */\n\n/**\n * Copyright 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * From React 16.0.0\n */\nimport invariant from 'fbjs/lib/invariant';\n\nvar twoArgumentPooler = function twoArgumentPooler(a1, a2) {\n var Klass = this;\n\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar standardReleaser = function standardReleaser(instance) {\n var Klass = this;\n instance.destructor();\n\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = twoArgumentPooler;\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\n\nvar addPoolingTo = function addPoolingTo(CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n twoArgumentPooler: twoArgumentPooler\n};\nexport default PooledClass;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var _ThemeContext=_interopRequireDefault(require(\"../views/ThemeContext\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-core/src/navigators/createNavigator.js\";function createNavigator(NavigatorView,router,navigationConfig){var Navigator=function(_React$Component){(0,_inherits2.default)(Navigator,_React$Component);function Navigator(props,context){var _this;(0,_classCallCheck2.default)(this,Navigator);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Navigator).call(this,props,context));_this.state={descriptors:{},screenProps:_this.props.screenProps,theme:context,themeContext:context};return _this;}(0,_createClass2.default)(Navigator,[{key:\"componentDidUpdate\",value:function componentDidUpdate(){if(this.context!==this.state.themeContext){this.setState({themeContext:this.context});}}},{key:\"render\",value:function render(){return _react.default.createElement(NavigatorView,(0,_extends2.default)({},this.props,{screenProps:this.state.screenProps,navigation:this.props.navigation,navigationConfig:navigationConfig,descriptors:this.state.descriptors,__source:{fileName:_jsxFileName,lineNumber:80}}));}}],[{key:\"getDerivedStateFromProps\",value:function getDerivedStateFromProps(nextProps,currentState){var prevDescriptors=currentState.descriptors;var navigation=nextProps.navigation,screenProps=nextProps.screenProps;(0,_invariant.default)(navigation!=null,'The navigation prop is missing for this navigator. In react-navigation 3 you must set up your app container directly. More info: https://reactnavigation.org/docs/en/app-containers.html');var state=navigation.state;var routes=state.routes;if(typeof routes==='undefined'){throw new TypeError('No \"routes\" found in navigation state. Did you try to pass the navigation prop of a React component to a Navigator child? See https://reactnavigation.org/docs/en/custom-navigators.html#navigator-navigation-prop');}var descriptors=routes.reduce(function(acc,route){if(prevDescriptors&&prevDescriptors[route.key]&&route===prevDescriptors[route.key].state&&screenProps===currentState.screenProps&&currentState.themeContext===currentState.theme){acc[route.key]=prevDescriptors[route.key];return acc;}var getComponent=router.getComponentForRouteName.bind(null,route.routeName);var childNavigation=navigation.getChildNavigation(route.key);var options=router.getScreenOptions(childNavigation,screenProps,currentState.themeContext);acc[route.key]={key:route.key,getComponent:getComponent,options:options,state:route,navigation:childNavigation};return acc;},{});return{descriptors:descriptors,screenProps:screenProps,theme:state.themeContext};}}]);return Navigator;}(_react.default.Component);Navigator.contextType=_ThemeContext.default;Navigator.router=router;Navigator.navigationOptions=navigationConfig.navigationOptions;return Navigator;}var _default=createNavigator;exports.default=_default;","map":{"version":3,"sources":["createNavigator.js"],"names":["Navigator","React","navigationConfig","descriptors","screenProps","theme","themeContext","prevDescriptors","currentState","navigation","nextProps","invariant","state","routes","route","acc","getComponent","router","childNavigation","options","key"],"mappings":"6sBAAA,oDACA,qEACA,2E,4GAEA,QAAA,CAAA,eAAA,CAAA,aAAA,CAAA,MAAA,CAAA,gBAAA,CAAkE,CAAA,GAC1DA,CAAAA,SAD0D,CAAA,SAAA,gBAAA,CAAA,CAAA,uBAAA,SAAA,CAAA,gBAAA,EAM9D,QAAA,CAAA,SAAA,CAAA,KAAA,CAAA,OAAA,CAA4B,CAAA,GAAA,CAAA,KAAA,CAAA,6BAAA,IAAA,CAAA,SAAA,EAC1B,KAAA,CAAA,wCAAA,IAAA,CAAA,6BAAA,SAAA,EAAA,IAAA,CAAA,IAAA,CAAA,KAAA,CAAA,OAAA,CAAA,CAAA,CAEA,KAAA,CAAA,KAAA,CAAa,CACXG,WAAW,CADA,EAAA,CAEXC,WAAW,CAAE,KAAA,CAAA,KAAA,CAFF,WAAA,CAGXC,KAAK,CAHM,OAAA,CAIXC,YAAY,CAJd,OAAa,CAAb,CAH0B,MAAA,CAAA,KAAA,CANkC,2BAAA,SAAA,CAAA,CAAA,CAAA,GAAA,CAAA,oBAAA,CAAA,KAAA,CAAA,QAAA,CAAA,kBAAA,EAkEzC,CACnB,GAAI,KAAA,OAAA,GAAiB,KAAA,KAAA,CAArB,YAAA,CAA8C,CAE5C,KAAA,QAAA,CAAc,CAAEA,YAAY,CAAE,KAA9B,OAAc,CAAd,EAEH,CAvE6D,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,KAAA,CAAA,QAAA,CAAA,MAAA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,CAAHA,CAAiBR,eAAe,CAACO,KAAK,CAAtCC,GAAgC,CAAhCA,CACA,MAAA,CAAA,GAAA,CAEF,IAAMC,CAAAA,YAAY,CAAGC,MAAM,CAANA,wBAAAA,CAAAA,IAAAA,CAAAA,IAAAA,CAEnBH,KAAK,CAFP,SAAqBG,CAArB,CAIA,GAAMC,CAAAA,eAAe,CAAGT,UAAU,CAAVA,kBAAAA,CAA8BK,KAAK,CAA3D,GAAwBL,CAAxB,CACA,GAAMU,CAAAA,OAAO,CAAGF,MAAM,CAANA,gBAAAA,CAAAA,eAAAA,CAAAA,WAAAA,CAGdT,YAAY,CAHd,YAAgBS,CAAhB,CAKAF,GAAG,CAACD,KAAK,CAATC,GAAG,CAAHA,CAAiB,CACfK,GAAG,CAAEN,KAAK,CADK,GAAA,CAEfE,YAAY,CAFG,YAAA,CAGfG,OAAO,CAHQ,OAAA,CAIfP,KAAK,CAJU,KAAA,CAKfH,UAAU,CALZM,eAAiB,CAAjBA,CAOA,MAAA,CAAA,GAAA,CA5BkBF,CAAAA,CAApB,EAAoBA,CAApB,CA+BA,MAAO,CAAEV,WAAW,CAAb,WAAA,CAAeC,WAAW,CAA1B,WAAA,CAA4BC,KAAK,CAAEO,KAAK,CAA/C,YAAO,CAAP,CA/D4D,CAAA,CAAA,CAAA,EAAA,MAAA,CAAA,SAAA,CAAA,CAAA,CACxCX,eADwC,SAAA,CAAA,CAC1DD,SAD0D,CAAA,WAC1DA,CAD0D,qBAC1DA,CAAAA,SAD0D,CAAA,MAC1DA,CAD0D,MAC1DA,CAAAA,SAD0D,CAAA,iBAC1DA,CAGuBE,gBAAgB,CAJmB,iBAC1DF,CAqFN,MAAA,CAAA,SAAA,CAGF,C,aAAA,e","sourcesContent":["import React from 'react';\nimport invariant from '../utils/invariant';\nimport ThemeContext from '../views/ThemeContext';\n\nfunction createNavigator(NavigatorView, router, navigationConfig) {\n class Navigator extends React.Component {\n static contextType = ThemeContext;\n static router = router;\n static navigationOptions = navigationConfig.navigationOptions;\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n descriptors: {},\n screenProps: this.props.screenProps,\n theme: context,\n themeContext: context,\n };\n }\n\n static getDerivedStateFromProps(nextProps, currentState) {\n const prevDescriptors = currentState.descriptors;\n const { navigation, screenProps } = nextProps;\n invariant(\n navigation != null,\n 'The navigation prop is missing for this navigator. In react-navigation 3 you must set up your app container directly. More info: https://reactnavigation.org/docs/en/app-containers.html'\n );\n const { state } = navigation;\n const { routes } = state;\n if (typeof routes === 'undefined') {\n throw new TypeError(\n 'No \"routes\" found in navigation state. Did you try to pass the navigation prop of a React component to a Navigator child? See https://reactnavigation.org/docs/en/custom-navigators.html#navigator-navigation-prop'\n );\n }\n\n const descriptors = routes.reduce((acc, route) => {\n if (\n prevDescriptors &&\n prevDescriptors[route.key] &&\n route === prevDescriptors[route.key].state &&\n screenProps === currentState.screenProps &&\n currentState.themeContext === currentState.theme\n ) {\n acc[route.key] = prevDescriptors[route.key];\n return acc;\n }\n const getComponent = router.getComponentForRouteName.bind(\n null,\n route.routeName\n );\n const childNavigation = navigation.getChildNavigation(route.key);\n const options = router.getScreenOptions(\n childNavigation,\n screenProps,\n currentState.themeContext\n );\n acc[route.key] = {\n key: route.key,\n getComponent,\n options,\n state: route,\n navigation: childNavigation,\n };\n return acc;\n }, {});\n\n return { descriptors, screenProps, theme: state.themeContext };\n }\n\n componentDidUpdate() {\n if (this.context !== this.state.themeContext) {\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({ themeContext: this.context });\n }\n }\n\n render() {\n return (\n <NavigatorView\n {...this.props}\n screenProps={this.state.screenProps}\n navigation={this.props.navigation}\n navigationConfig={navigationConfig}\n descriptors={this.state.descriptors}\n />\n );\n }\n }\n\n return Navigator;\n}\n\nexport default createNavigator;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"EventEmitter\",{enumerable:true,get:function get(){return _EventEmitter.EventEmitter;}});Object.defineProperty(exports,\"NativeModulesProxy\",{enumerable:true,get:function get(){return _NativeModulesProxy.default;}});Object.defineProperty(exports,\"requireNativeViewManager\",{enumerable:true,get:function get(){return _NativeViewManagerAdapter.requireNativeViewManager;}});Object.defineProperty(exports,\"Platform\",{enumerable:true,get:function get(){return _Platform.default;}});Object.defineProperty(exports,\"SyntheticPlatformEmitter\",{enumerable:true,get:function get(){return _SyntheticPlatformEmitter.default;}});Object.defineProperty(exports,\"RCTDeviceEventEmitter\",{enumerable:true,get:function get(){return _nativeEmitters.RCTDeviceEventEmitter;}});Object.defineProperty(exports,\"CodedError\",{enumerable:true,get:function get(){return _CodedError.CodedError;}});Object.defineProperty(exports,\"UnavailabilityError\",{enumerable:true,get:function get(){return _UnavailabilityError.UnavailabilityError;}});var _EventEmitter=require(\"./EventEmitter\");var _NativeModulesProxy=_interopRequireDefault(require(\"./NativeModulesProxy\"));var _NativeViewManagerAdapter=require(\"./NativeViewManagerAdapter\");var _Platform=_interopRequireDefault(require(\"./Platform\"));var _SyntheticPlatformEmitter=_interopRequireDefault(require(\"./SyntheticPlatformEmitter\"));var _nativeEmitters=require(\"./nativeEmitters\");var _CodedError=require(\"./errors/CodedError\");var _UnavailabilityError=require(\"./errors/UnavailabilityError\");","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"wpCAAA,4CACA,gFACA,oEACA,4DACA,4FAGA,gDAEA,+CACA","sourcesContent":["import { EventEmitter, Subscription } from './EventEmitter';\nimport NativeModulesProxy from './NativeModulesProxy';\nimport { requireNativeViewManager } from './NativeViewManagerAdapter';\nimport Platform from './Platform';\nimport SyntheticPlatformEmitter from './SyntheticPlatformEmitter';\n\n// RCTDeviceEventEmitter pending https://github.com/necolas/react-native-web/pull/1402\nimport { RCTDeviceEventEmitter } from './nativeEmitters';\n\nimport { CodedError } from './errors/CodedError';\nimport { UnavailabilityError } from './errors/UnavailabilityError';\n\nexport {\n RCTDeviceEventEmitter,\n EventEmitter,\n NativeModulesProxy,\n Platform,\n Subscription,\n SyntheticPlatformEmitter,\n requireNativeViewManager,\n // Errors\n CodedError,\n UnavailabilityError,\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.registerAsset=registerAsset;exports.getAssetByID=getAssetByID;var assets=[];function registerAsset(asset){return assets.push(asset);}function getAssetByID(assetId){return assets[assetId-1];}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AssetRegistry/index.js"],"names":["assets","registerAsset","asset","push","getAssetByID","assetId"],"mappings":"+HAQA,GAAIA,CAAAA,MAAM,CAAG,EAAb,CACO,QAASC,CAAAA,aAAT,CAAuBC,KAAvB,CAA8B,CAGnC,MAAOF,CAAAA,MAAM,CAACG,IAAP,CAAYD,KAAZ,CAAP,CACD,CACM,QAASE,CAAAA,YAAT,CAAsBC,OAAtB,CAA+B,CACpC,MAAOL,CAAAA,MAAM,CAACK,OAAO,CAAG,CAAX,CAAb,CACD","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar assets = [];\nexport function registerAsset(asset) {\n // `push` returns new array length, so the first asset will\n // get id 1 (not 0) to make the value truthy\n return assets.push(asset);\n}\nexport function getAssetByID(assetId) {\n return assets[assetId - 1];\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"RCTEventEmitter\",{enumerable:true,get:function get(){return _EventEmitter.default;}});Object.defineProperty(exports,\"RCTDeviceEventEmitter\",{enumerable:true,get:function get(){return _RCTDeviceEventEmitter.default;}});var _EventEmitter=_interopRequireDefault(require(\"react-native-web/dist/vendor/react-native/emitter/EventEmitter\"));var _RCTDeviceEventEmitter=_interopRequireDefault(require(\"react-native-web/dist/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter\"));","map":{"version":3,"sources":["../src/nativeEmitters.web.ts"],"names":[],"mappings":"qYAAA,oHACA","sourcesContent":["import RCTEventEmitter from 'react-native-web/dist/vendor/react-native/emitter/EventEmitter';\nimport RCTDeviceEventEmitter from 'react-native-web/dist/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter';\n\nexport { RCTEventEmitter, RCTDeviceEventEmitter };\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _redux=require(\"redux\");var _reduxThunk=_interopRequireDefault(require(\"redux-thunk\"));var _search=_interopRequireDefault(require(\"./search\"));var store=(0,_redux.combineReducers)({search:_search.default});var _default=(0,_redux.createStore)(store,(0,_redux.applyMiddleware)(_reduxThunk.default));exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/reducers/Store.js"],"names":["store","search","ReduxThunk"],"mappings":"mKAAA,4BACA,+DACA,wDAEA,GAAMA,CAAAA,KAAK,CAAG,2BAAgB,CAAEC,MAAM,CAANA,eAAF,CAAhB,CAAd,C,aAEe,uBAAYD,KAAZ,CAAmB,2BAAgBE,mBAAhB,CAAnB,C","sourcesContent":["import { createStore, combineReducers, applyMiddleware } from 'redux';\r\nimport ReduxThunk from 'redux-thunk'\r\nimport search from './search';\r\n \r\nconst store = combineReducers({ search }); \r\n \r\nexport default createStore(store, applyMiddleware(ReduxThunk) );"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedSet=createAnimatedSet;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var _AnimatedBlock=require(\"../core/AnimatedBlock\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var AnimatedSet=function(_AnimatedNode){(0,_inherits2.default)(AnimatedSet,_AnimatedNode);function AnimatedSet(what,value){var _this;(0,_classCallCheck2.default)(this,AnimatedSet);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedSet).call(this,{type:'set',what:what.__nodeID,value:value.__nodeID},[value]));(0,_invariant.default)(!what._constant,'Value to be set cannot be constant');_this._what=what;_this._value=value;return _this;}(0,_createClass2.default)(AnimatedSet,[{key:\"__onEvaluate\",value:function __onEvaluate(){var newValue=(0,_val.val)(this._value);this._what._updateValue(newValue);return newValue;}}]);return AnimatedSet;}(_AnimatedNode2.default);function createAnimatedSet(what,value){return new AnimatedSet(what,(0,_AnimatedBlock.adapt)(value));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedSet.js"],"names":["AnimatedSet","what","value","type","__nodeID","_constant","_what","_value","newValue","_updateValue","AnimatedNode","createAnimatedSet"],"mappings":"kpBAAA,qEACA,2BACA,oDAEA,qE,GAEMA,CAAAA,W,2EAIJ,qBAAYC,IAAZ,CAAkBC,KAAlB,CAAyB,0DACvB,uGAAM,CAAEC,IAAI,CAAE,KAAR,CAAeF,IAAI,CAAEA,IAAI,CAACG,QAA1B,CAAoCF,KAAK,CAAEA,KAAK,CAACE,QAAjD,CAAN,CAAmE,CAACF,KAAD,CAAnE,GACA,uBAAU,CAACD,IAAI,CAACI,SAAhB,CAA2B,oCAA3B,EACA,MAAKC,KAAL,CAAaL,IAAb,CACA,MAAKM,MAAL,CAAcL,KAAd,CAJuB,aAKxB,C,wFAEc,CACb,GAAMM,CAAAA,QAAQ,CAAG,aAAI,KAAKD,MAAT,CAAjB,CACA,KAAKD,KAAL,CAAWG,YAAX,CAAwBD,QAAxB,EACA,MAAOA,CAAAA,QAAP,CACD,C,yBAfuBE,sB,EAkBnB,QAASC,CAAAA,iBAAT,CAA2BV,IAA3B,CAAiCC,KAAjC,CAAwC,CAC7C,MAAO,IAAIF,CAAAA,WAAJ,CAAgBC,IAAhB,CAAsB,yBAAMC,KAAN,CAAtB,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\nimport { adapt } from '../core/AnimatedBlock';\n\nimport invariant from 'fbjs/lib/invariant';\n\nclass AnimatedSet extends AnimatedNode {\n _what;\n _value;\n\n constructor(what, value) {\n super({ type: 'set', what: what.__nodeID, value: value.__nodeID }, [value]);\n invariant(!what._constant, 'Value to be set cannot be constant');\n this._what = what;\n this._value = value;\n }\n\n __onEvaluate() {\n const newValue = val(this._value);\n this._what._updateValue(newValue);\n return newValue;\n }\n}\n\nexport function createAnimatedSet(what, value) {\n return new AnimatedSet(what, adapt(value));\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"module.exports=function(originalModule){if(!originalModule.webpackPolyfill){var module=Object.create(originalModule);if(!module.children)module.children=[];Object.defineProperty(module,\"loaded\",{enumerable:true,get:function get(){return module.l;}});Object.defineProperty(module,\"id\",{enumerable:true,get:function get(){return module.i;}});Object.defineProperty(module,\"exports\",{enumerable:true});module.webpackPolyfill=1;}return module;};","map":{"version":3,"sources":["C:/Users/bluej/AppData/Roaming/npm/node_modules/expo-cli/node_modules/webpack/buildin/harmony-module.js"],"names":["module","exports","originalModule","webpackPolyfill","Object","create","children","defineProperty","enumerable","get","l","i"],"mappings":"AAAAA,MAAM,CAACC,OAAP,CAAiB,SAASC,cAAT,CAAyB,CACzC,GAAI,CAACA,cAAc,CAACC,eAApB,CAAqC,CACpC,GAAIH,CAAAA,MAAM,CAAGI,MAAM,CAACC,MAAP,CAAcH,cAAd,CAAb,CAEA,GAAI,CAACF,MAAM,CAACM,QAAZ,CAAsBN,MAAM,CAACM,QAAP,CAAkB,EAAlB,CACtBF,MAAM,CAACG,cAAP,CAAsBP,MAAtB,CAA8B,QAA9B,CAAwC,CACvCQ,UAAU,CAAE,IAD2B,CAEvCC,GAAG,CAAE,cAAW,CACf,MAAOT,CAAAA,MAAM,CAACU,CAAd,CACA,CAJsC,CAAxC,EAMAN,MAAM,CAACG,cAAP,CAAsBP,MAAtB,CAA8B,IAA9B,CAAoC,CACnCQ,UAAU,CAAE,IADuB,CAEnCC,GAAG,CAAE,cAAW,CACf,MAAOT,CAAAA,MAAM,CAACW,CAAd,CACA,CAJkC,CAApC,EAMAP,MAAM,CAACG,cAAP,CAAsBP,MAAtB,CAA8B,SAA9B,CAAyC,CACxCQ,UAAU,CAAE,IAD4B,CAAzC,EAGAR,MAAM,CAACG,eAAP,CAAyB,CAAzB,CACA,CACD,MAAOH,CAAAA,MAAP,CACA,CAvBD","sourcesContent":["module.exports = function(originalModule) {\n\tif (!originalModule.webpackPolyfill) {\n\t\tvar module = Object.create(originalModule);\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"exports\", {\n\t\t\tenumerable: true\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Icon=_interopRequireWildcard(require(\"./Icon\"));var _theming=require(\"../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/CrossFadeIcon.tsx\";var CrossFadeIcon=function(_React$Component){(0,_inherits2.default)(CrossFadeIcon,_React$Component);function CrossFadeIcon(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,CrossFadeIcon);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(CrossFadeIcon)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={currentIcon:_this.props.source,previousIcon:null,fade:new _Animated.default.Value(1)};return _this;}(0,_createClass2.default)(CrossFadeIcon,[{key:\"componentDidUpdate\",value:function componentDidUpdate(_,prevState){var previousIcon=this.state.previousIcon;var scale=this.props.theme.animation.scale;if(!(0,_Icon.isValidIcon)(previousIcon)||(0,_Icon.isEqualIcon)(previousIcon,prevState.previousIcon)){return;}this.state.fade.setValue(1);_Animated.default.timing(this.state.fade,{duration:scale*200,toValue:0}).start();}},{key:\"render\",value:function render(){var _this$props=this.props,color=_this$props.color,size=_this$props.size;var opacityPrev=this.state.fade;var opacityNext=this.state.previousIcon?this.state.fade.interpolate({inputRange:[0,1],outputRange:[1,0]}):1;var rotatePrev=this.state.fade.interpolate({inputRange:[0,1],outputRange:['-90deg','0deg']});var rotateNext=this.state.previousIcon?this.state.fade.interpolate({inputRange:[0,1],outputRange:['0deg','-180deg']}):'0deg';return React.createElement(_View.default,{style:[styles.content,{height:size,width:size}],__source:{fileName:_jsxFileName,lineNumber:97}},this.state.previousIcon?React.createElement(_Animated.default.View,{style:[styles.icon,{opacity:opacityPrev,transform:[{rotate:rotatePrev}]}],__source:{fileName:_jsxFileName,lineNumber:107}},React.createElement(_Icon.default,{source:this.state.previousIcon,size:size,color:color,__source:{fileName:_jsxFileName,lineNumber:116}})):null,React.createElement(_Animated.default.View,{style:[styles.icon,{opacity:opacityNext,transform:[{rotate:rotateNext}]}],__source:{fileName:_jsxFileName,lineNumber:119}},React.createElement(_Icon.default,{source:this.state.currentIcon,size:size,color:color,__source:{fileName:_jsxFileName,lineNumber:128}})));}}],[{key:\"getDerivedStateFromProps\",value:function getDerivedStateFromProps(nextProps,nextState){if(nextState.currentIcon===nextProps.source){return null;}return{currentIcon:nextProps.source,previousIcon:nextState.currentIcon};}}]);return CrossFadeIcon;}(React.Component);var _default=(0,_theming.withTheme)(CrossFadeIcon);exports.default=_default;var styles=_StyleSheet.default.create({content:{alignItems:'center',justifyContent:'center'},icon:{position:'absolute',top:0,left:0,right:0,bottom:0}});","map":{"version":3,"sources":["CrossFadeIcon.tsx"],"names":["CrossFadeIcon","React","Component","nextProps","nextState","currentIcon","previousIcon","state","fade","Animated","_","prevState","scale","isValidIcon","isEqualIcon","duration","toValue","color","size","opacityPrev","opacityNext","inputRange","outputRange","rotatePrev","rotateNext","styles","height","width","opacity","transform","rotate","withTheme","StyleSheet","content","alignItems","justifyContent","icon","position","top","left","right","bottom"],"mappings":"ktBAAA,oD,oQAEA,qDAEA,wC,wGA4BMA,GAAAA,CAAAA,a,8cAYJO,K,CAAe,CACbF,WAAW,CAAE,KAAA,CAAA,KAAA,CADA,MAAA,CAEbC,YAAY,CAFC,IAAA,CAGbE,IAAI,CAAE,GAAIC,mBAAJ,KAAA,CAHO,CAGP,CAHO,C,oHAMIC,C,CAAUC,S,CAAkB,CAAA,GACrCL,CAAAA,YADqC,CACpB,KADoB,KACpB,CADoB,YAAA,CAAA,GAI5BM,CAAAA,KAJ4B,CAMzC,KANyC,KAMzC,CANyC,KAMzC,CANyC,SAMzC,CANyC,KAAA,CAQ7C,GACE,CAACC,sBAAD,YAACA,CAAD,EACAC,sBAAW,YAAXA,CAA0BH,SAAS,CAFrC,YAEEG,CAFF,CAGE,CACA,OAGF,MAAA,KAAA,CAAA,IAAA,CAAA,QAAA,CAAA,CAAA,EAEAL,kBAAAA,MAAAA,CAAgB,KAAA,KAAA,CAAhBA,IAAAA,CAAiC,CAC/BM,QAAQ,CAAEH,KAAK,CADgB,GAAA,CAE/BI,OAAO,CAFTP,CAAiC,CAAjCA,EAAAA,KAAAA,G,wCAMO,CAAA,GAAA,CAAA,WAAA,CACiB,KADjB,KAAA,CACCQ,KADD,CAAA,WAAA,CAAA,KAAA,CACQC,IADR,CAAA,WAAA,CAAA,IAAA,CAEP,GAAMC,CAAAA,WAAW,CAAG,KAAA,KAAA,CAApB,IAAA,CACA,GAAMC,CAAAA,WAAW,CAAG,KAAA,KAAA,CAAA,YAAA,CAChB,KAAA,KAAA,CAAA,IAAA,CAAA,WAAA,CAA4B,CAC1BC,UAAU,CAAE,CAAA,CAAA,CADc,CACd,CADc,CAE1BC,WAAW,CAAE,CAAA,CAAA,CAHC,CAGD,CAFa,CAA5B,CADgB,CAApB,CAAA,CAOA,GAAMC,CAAAA,UAAU,CAAG,KAAA,K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IAAA,CAEL,CACEG,OAAO,CADT,WAAA,CAEEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAL1B,UAKkB,CAAD,CAFb,CAFK,CADT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,CASE,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,CAAM,MAAM,CAAE,KAAA,KAAA,CAAd,WAAA,CAAsC,IAAI,CAA1C,IAAA,CAAkD,KAAK,CAAvD,KAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAhCN,GAgCM,CAAA,CAAA,CATF,CAtBF,CADF,C,6EA9D8B3B,S,CAAkBC,S,CAAkB,CAClE,GAAIA,SAAS,CAATA,WAAAA,GAA0BD,SAAS,CAAvC,MAAA,CAAgD,CAC9C,MAAA,KAAA,CAGF,OAAO,CACLE,WAAW,CAAEF,SAAS,CADjB,MAAA,CAELG,YAAY,CAAEF,SAAS,CAFzB,WAAO,CAAP,C,4BANwBH,KAAK,CAACC,S,CAA5BF,C,aAsGS+B,uBAAf,aAAeA,C,0BAEf,GAAMN,CAAAA,MAAM,CAAGO,oBAAAA,MAAAA,CAAkB,CAC/BC,OAAO,CAAE,CACPC,UAAU,CADH,QAAA,CAEPC,cAAc,CAHe,QACtB,CADsB,CAK/BC,IAAI,CAAE,CACJC,QAAQ,CADJ,UAAA,CAEJC,GAAG,CAFC,CAAA,CAGJC,IAAI,CAHA,CAAA,CAIJC,KAAK,CAJD,CAAA,CAKJC,MAAM,CAVV,CAKQ,CALyB,CAAlBT,CAAf","sourcesContent":["import * as React from 'react';\nimport { Animated, StyleSheet, View } from 'react-native';\nimport Icon, { isValidIcon, isEqualIcon, IconSource } from './Icon';\n\nimport { withTheme } from '../core/theming';\nimport { Theme } from '../types';\n\ntype Props = {\n /**\n * Icon to display for the `CrossFadeIcon`.\n */\n source: IconSource;\n /**\n * Color of the icon.\n */\n color: string;\n /**\n * Size of the icon.\n */\n size: number;\n /**\n * @optional\n */\n theme: Theme;\n};\n\ntype State = {\n currentIcon: IconSource;\n previousIcon: IconSource | null;\n fade: Animated.Value;\n};\n\nclass CrossFadeIcon extends React.Component<Props, State> {\n static getDerivedStateFromProps(nextProps: Props, nextState: State) {\n if (nextState.currentIcon === nextProps.source) {\n return null;\n }\n\n return {\n currentIcon: nextProps.source,\n previousIcon: nextState.currentIcon,\n };\n }\n\n state: State = {\n currentIcon: this.props.source,\n previousIcon: null,\n fade: new Animated.Value(1),\n };\n\n componentDidUpdate(_: Props, prevState: State) {\n const { previousIcon } = this.state;\n const {\n theme: {\n animation: { scale },\n },\n } = this.props;\n\n if (\n !isValidIcon(previousIcon) ||\n isEqualIcon(previousIcon, prevState.previousIcon)\n ) {\n return;\n }\n\n this.state.fade.setValue(1);\n\n Animated.timing(this.state.fade, {\n duration: scale * 200,\n toValue: 0,\n }).start();\n }\n\n render() {\n const { color, size } = this.props;\n const opacityPrev = this.state.fade;\n const opacityNext = this.state.previousIcon\n ? this.state.fade.interpolate({\n inputRange: [0, 1],\n outputRange: [1, 0],\n })\n : 1;\n\n const rotatePrev = this.state.fade.interpolate({\n inputRange: [0, 1],\n outputRange: ['-90deg', '0deg'],\n });\n\n const rotateNext = this.state.previousIcon\n ? this.state.fade.interpolate({\n inputRange: [0, 1],\n outputRange: ['0deg', '-180deg'],\n })\n : '0deg';\n\n return (\n <View\n style={[\n styles.content,\n {\n height: size,\n width: size,\n },\n ]}\n >\n {this.state.previousIcon ? (\n <Animated.View\n style={[\n styles.icon,\n {\n opacity: opacityPrev,\n transform: [{ rotate: rotatePrev }],\n },\n ]}\n >\n <Icon source={this.state.previousIcon} size={size} color={color} />\n </Animated.View>\n ) : null}\n <Animated.View\n style={[\n styles.icon,\n {\n opacity: opacityNext,\n transform: [{ rotate: rotateNext }],\n },\n ]}\n >\n <Icon source={this.state.currentIcon} size={size} color={color} />\n </Animated.View>\n </View>\n );\n }\n}\n\nexport default withTheme(CrossFadeIcon);\n\nconst styles = StyleSheet.create({\n content: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n icon: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimationPropTypes=_interopRequireDefault(require(\"../../modules/AnimationPropTypes\"));var _BorderPropTypes=_interopRequireDefault(require(\"../../modules/BorderPropTypes\"));var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _ImageResizeMode=_interopRequireDefault(require(\"./ImageResizeMode\"));var _InteractionPropTypes=_interopRequireDefault(require(\"../../modules/InteractionPropTypes\"));var _LayoutPropTypes=_interopRequireDefault(require(\"../../modules/LayoutPropTypes\"));var _ShadowPropTypes=_interopRequireDefault(require(\"../../modules/ShadowPropTypes\"));var _TransformPropTypes=_interopRequireDefault(require(\"../../modules/TransformPropTypes\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var ImageStylePropTypes=_objectSpread({},_AnimationPropTypes.default,_BorderPropTypes.default,_InteractionPropTypes.default,_LayoutPropTypes.default,_ShadowPropTypes.default,_TransformPropTypes.default,{backgroundColor:_ColorPropType.default,opacity:_propTypes.number,resizeMode:(0,_propTypes.oneOf)(Object.keys(_ImageResizeMode.default)),tintColor:_ColorPropType.default,overlayColor:_propTypes.string,boxShadow:_propTypes.string,filter:_propTypes.string});var _default=ImageStylePropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Image/ImageStylePropTypes.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","ImageStylePropTypes","AnimationPropTypes","BorderPropTypes","InteractionPropTypes","LayoutPropTypes","ShadowPropTypes","TransformPropTypes","backgroundColor","ColorPropType","opacity","number","resizeMode","ImageResizeMode","tintColor","overlayColor","string","boxShadow"],"mappings":"mKAaA,4FACA,sFACA,uEACA,0EACA,gGACA,sFACA,sFACA,4FACA,qCArBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7E,EAAiF,CAAC,MAAOf,CAAAA,MAAP,CAAgB,CAEje,QAASgB,CAAAA,eAAT,CAAyBC,GAAzB,CAA8BF,GAA9B,CAAmCG,KAAnC,CAA0C,CAAE,GAAIH,GAAG,GAAIE,CAAAA,GAAX,CAAgB,CAAEX,MAAM,CAACa,cAAP,CAAsBF,GAAtB,CAA2BF,GAA3B,CAAgC,CAAEG,KAAK,CAAEA,KAAT,CAAgBL,UAAU,CAAE,IAA5B,CAAkCO,YAAY,CAAE,IAAhD,CAAsDC,QAAQ,CAAE,IAAhE,CAAhC,EAA0G,CAA5H,IAAkI,CAAEJ,GAAG,CAACF,GAAD,CAAH,CAAWG,KAAX,CAAmB,CAAC,MAAOD,CAAAA,GAAP,CAAa,CAqBjN,GAAIK,CAAAA,mBAAmB,CAAGvB,aAAa,CAAC,EAAD,CAAKwB,2BAAL,CAAyBC,wBAAzB,CAA0CC,6BAA1C,CAAgEC,wBAAhE,CAAiFC,wBAAjF,CAAkGC,2BAAlG,CAAsH,CAC3JC,eAAe,CAAEC,sBAD0I,CAE3JC,OAAO,CAAEC,iBAFkJ,CAG3JC,UAAU,CAAE,qBAAM3B,MAAM,CAACC,IAAP,CAAY2B,wBAAZ,CAAN,CAH+I,CAI3JC,SAAS,CAAEL,sBAJgJ,CAS3JM,YAAY,CAAEC,iBAT6I,CAc3JC,SAAS,CAAED,iBAdgJ,CAe3J3B,MAAM,CAAE2B,iBAfmJ,CAAtH,CAAvC,C,aAkBef,mB","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AnimationPropTypes from '../../modules/AnimationPropTypes';\nimport BorderPropTypes from '../../modules/BorderPropTypes';\nimport ColorPropType from '../ColorPropType';\nimport ImageResizeMode from './ImageResizeMode';\nimport InteractionPropTypes from '../../modules/InteractionPropTypes';\nimport LayoutPropTypes from '../../modules/LayoutPropTypes';\nimport ShadowPropTypes from '../../modules/ShadowPropTypes';\nimport TransformPropTypes from '../../modules/TransformPropTypes';\nimport { number, oneOf, string } from 'prop-types';\n\nvar ImageStylePropTypes = _objectSpread({}, AnimationPropTypes, BorderPropTypes, InteractionPropTypes, LayoutPropTypes, ShadowPropTypes, TransformPropTypes, {\n backgroundColor: ColorPropType,\n opacity: number,\n resizeMode: oneOf(Object.keys(ImageResizeMode)),\n tintColor: ColorPropType,\n\n /**\n * @platform unsupported\n */\n overlayColor: string,\n\n /**\n * @platform web\n */\n boxShadow: string,\n filter: string\n});\n\nexport default ImageStylePropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var g;g=function(){return this;}();try{g=g||new Function(\"return this\")();}catch(e){if(typeof window===\"object\")g=window;}module.exports=g;","map":{"version":3,"sources":["C:/Users/bluej/AppData/Roaming/npm/node_modules/expo-cli/node_modules/webpack/buildin/global.js"],"names":["g","Function","e","window","module","exports"],"mappings":"AAAA,GAAIA,CAAAA,CAAJ,CAGAA,CAAC,CAAI,UAAW,CACf,MAAO,KAAP,CACA,CAFG,EAAJ,CAIA,GAAI,CAEHA,CAAC,CAAGA,CAAC,EAAI,GAAIC,CAAAA,QAAJ,CAAa,aAAb,GAAT,CACA,CAAC,MAAOC,CAAP,CAAU,CAEX,GAAI,MAAOC,CAAAA,MAAP,GAAkB,QAAtB,CAAgCH,CAAC,CAAGG,MAAJ,CAChC,CAMDC,MAAM,CAACC,OAAP,CAAiBL,CAAjB","sourcesContent":["var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _default=_View.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/node_modules/react-native-safe-area-view/index.web.js"],"names":["View"],"mappings":"mKAAA,oD,6FAGeA,a","sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\n\nexport default View;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var throwError=function throwError(message,page){throw new Error(message+\". See https://reactnavigation.org/docs/\"+page+\".html for more details.\");};module.exports={get createNavigationContainer(){throw new Error('`createNavigationContainer()` has been removed. Use `createAppContainer()` instead. You can also import createAppContainer directly from `@react-navigation/native`.');},get createStackNavigator(){throwError('`createStackNavigator()` has been moved to `react-navigation-stack`','stack-navigator');},get createBottomTabNavigator(){throwError('`createBottomTabNavigator()` has been moved to `react-navigation-tabs`','bottom-tab-navigator');},get createMaterialTopTabNavigator(){throwError('`createMaterialTopTabNavigator()` has been moved to `react-navigation-tabs`','material-top-tab-navigator');},get createDrawerNavigator(){throwError('`createDrawerNavigator()` has been moved to `react-navigation-drawer`','drawer-navigator');},get StackGestureContext(){throwError('`StackGestureContext` has been moved to `react-navigation-stack`','stack-navigator');},get DrawerGestureContext(){throwError('`DrawerGestureContext` has been moved to `react-navigation-drawer`','stack-navigator');},get DrawerRouter(){throwError('`DrawerRouter` has been moved to `react-navigation-drawer`','drawer-navigator');},get DrawerActions(){throwError('`DrawerActions` has been moved to `react-navigation-drawer`','drawer-navigator');},get Transitioner(){throwError('`Transitioner` has been removed.','stack-navigator');},get StackView(){throwError('`StackView` has been removed','stack-navigator');},get StackViewCard(){throwError('`StackViewCard` has been removed','stack-navigator');},get StackViewTransitionConfigs(){throwError('`StackViewTransitionConfigs` has been removed','stack-navigator');},get Header(){throwError('`Header` has been moved to `react-navigation-stack`','stack-navigator');},get HeaderTitle(){throwError('`HeaderTitle` has been moved to `react-navigation-stack`','stack-navigator');},get HeaderBackButton(){throwError('`HeaderBackButton` has been moved to `react-navigation-stack`','stack-navigator');},get HeaderStyleInterpolator(){throwError('`HeaderStyleInterpolator` has been removed','stack-navigator');},get DrawerView(){throwError('`createStackNavigator()` has been moved to `react-navigation-drawer`','stack-navigator');},get DrawerItems(){throwError('`DrawerItems` has been moved to `react-navigation-drawer`','drawer-navigator');},get DrawerSidebar(){throwError('`DrawerSidebar` has been moved to `react-navigation-drawer`','drawer-navigator');},get BottomTabBar(){throwError('`BottomTabBar` has been moved to `react-navigation-tabs`','bottom-tab-navigator');},get MaterialTopTabBar(){throwError('`MaterialTopTabBar` has been moved to `react-navigation-tabs`','material-top-tab-navigator');}};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-navigation/src/deprecations.js"],"names":["throwError","message","page","Error","module","exports","createNavigationContainer","createStackNavigator","createBottomTabNavigator","createMaterialTopTabNavigator","createDrawerNavigator","StackGestureContext","DrawerGestureContext","DrawerRouter","DrawerActions","Transitioner","StackView","StackViewCard","StackViewTransitionConfigs","Header","HeaderTitle","H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f,GAAIgB,CAAAA,SAAJ,EAAgB,CACdhB,UAAU,CAAC,8BAAD,CAAiC,iBAAjC,CAAV,CACD,CA1Ec,CA4Ef,GAAIiB,CAAAA,aAAJ,EAAoB,CAClBjB,UAAU,CAAC,kCAAD,CAAqC,iBAArC,CAAV,CACD,CA9Ec,CAgFf,GAAIkB,CAAAA,0BAAJ,EAAiC,CAC/BlB,UAAU,CACR,+CADQ,CAER,iBAFQ,CAAV,CAID,CArFc,CAwFf,GAAImB,CAAAA,MAAJ,EAAa,CACXnB,UAAU,CACR,qDADQ,CAER,iBAFQ,CAAV,CAID,CA7Fc,CA+Ff,GAAIoB,CAAAA,WAAJ,EAAkB,CAChBpB,UAAU,CACR,0DADQ,CAER,iBAFQ,CAAV,CAID,CApGc,CAsGf,GAAIqB,CAAAA,gBAAJ,EAAuB,CACrBrB,UAAU,CACR,+DADQ,CAER,iBAFQ,CAAV,CAID,CA3Gc,CA6Gf,GAAIsB,CAAAA,uBAAJ,EAA8B,CAC5BtB,UAAU,CAAC,4CAAD,CAA+C,iBAA/C,CAAV,CACD,CA/Gc,CAkHf,GAAIuB,CAAAA,UAAJ,EAAiB,CACfvB,UAAU,CACR,sEADQ,CAER,iBAFQ,CAAV,CAID,CAvHc,CAyHf,GAAIwB,CAAAA,WAAJ,EAAkB,CAChBxB,UAAU,CACR,2DADQ,CAER,kBAFQ,CAAV,CAID,CA9Hc,CAgIf,GAAIyB,CAAAA,aAAJ,EAAoB,CAClBzB,UAAU,CACR,6DADQ,CAER,kBAFQ,CAAV,CAID,CArIc,CAwIf,GAAI0B,CAAAA,YAAJ,EAAmB,CACjB1B,UAAU,CACR,0DADQ,CAER,sBAFQ,CAAV,CAID,CA7Ic,CA+If,GAAI2B,CAAAA,iBAAJ,EAAwB,CACtB3B,UAAU,CACR,+DADQ,CAER,4BAFQ,CAAV,CAID,CApJc,CAAjB","sourcesContent":["/* eslint-disable getter-return, import/no-commonjs */\n\nconst throwError = (message, page) => {\n throw new Error(\n `${message}. See https://reactnavigation.org/docs/${page}.html for more details.`\n );\n};\n\nmodule.exports = {\n get createNavigationContainer() {\n throw new Error(\n '`createNavigationContainer()` has been removed. Use `createAppContainer()` instead. You can also import createAppContainer directly from `@react-navigation/native`.'\n );\n },\n\n get createStackNavigator() {\n throwError(\n '`createStackNavigator()` has been moved to `react-navigation-stack`',\n 'stack-navigator'\n );\n },\n\n get createBottomTabNavigator() {\n throwError(\n '`createBottomTabNavigator()` has been moved to `react-navigation-tabs`',\n 'bottom-tab-navigator'\n );\n },\n\n get createMaterialTopTabNavigator() {\n throwError(\n '`createMaterialTopTabNavigator()` has been moved to `react-navigation-tabs`',\n 'material-top-tab-navigator'\n );\n },\n\n get createDrawerNavigator() {\n throwError(\n '`createDrawerNavigator()` has been moved to `react-navigation-drawer`',\n 'drawer-navigator'\n );\n },\n\n // Gesture contexts\n\n get StackGestureContext() {\n throwError(\n '`StackGestureContext` has been moved to `react-navigation-stack`',\n 'stack-navigator'\n );\n },\n\n get DrawerGestureContext() {\n throwError(\n '`DrawerGestureContext` has been moved to `react-navigation-drawer`',\n 'stack-navigator'\n );\n },\n\n // Routers and Actions\n\n get DrawerRouter() {\n throwError(\n '`DrawerRouter` has been moved to `react-navigation-drawer`',\n 'drawer-navigator'\n );\n },\n\n get DrawerActions() {\n throwError(\n '`DrawerActions` has been moved to `react-navigation-drawer`',\n 'drawer-navigator'\n );\n },\n\n // Views\n get Transitioner() {\n throwError('`Transitioner` has been removed.', 'stack-navigator');\n },\n\n get StackView() {\n throwError('`StackView` has been removed', 'stack-navigator');\n },\n\n get StackViewCard() {\n throwError('`StackViewCard` has been removed', 'stack-navigator');\n },\n\n get StackViewTransitionConfigs() {\n throwError(\n '`StackViewTransitionConfigs` has been removed',\n 'stack-navigator'\n );\n },\n\n // Header\n get Header() {\n throwError(\n '`Header` has been moved to `react-navigation-stack`',\n 'stack-navigator'\n );\n },\n\n get HeaderTitle() {\n throwError(\n '`HeaderTitle` has been moved to `react-navigation-stack`',\n 'stack-navigator'\n );\n },\n\n get HeaderBackButton() {\n throwError(\n '`HeaderBackButton` has been moved to `react-navigation-stack`',\n 'stack-navigator'\n );\n },\n\n get HeaderStyleInterpolator() {\n throwError('`HeaderStyleInterpolator` has been removed', 'stack-navigator');\n },\n\n // DrawerView\n get DrawerView() {\n throwError(\n '`createStackNavigator()` has been moved to `react-navigation-drawer`',\n 'stack-navigator'\n );\n },\n\n get DrawerItems() {\n throwError(\n '`DrawerItems` has been moved to `react-navigation-drawer`',\n 'drawer-navigator'\n );\n },\n\n get DrawerSidebar() {\n throwError(\n '`DrawerSidebar` has been moved to `react-navigation-drawer`',\n 'drawer-navigator'\n );\n },\n\n // Tabs\n get BottomTabBar() {\n throwError(\n '`BottomTabBar` has been moved to `react-navigation-tabs`',\n 'bottom-tab-navigator'\n );\n },\n\n get MaterialTopTabBar() {\n throwError(\n '`MaterialTopTabBar` has been moved to `react-navigation-tabs`',\n 'material-top-tab-navigator'\n );\n },\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.isImageType=isImageType;exports.getImageInfoAsync=getImageInfoAsync;var _AssetUris=require(\"./AssetUris\");function isImageType(type){return /^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(type);}function getImageInfoAsync(url){return new Promise(function(resolve,reject){var img=new Image();img.onerror=reject;img.onload=function(){resolve({name:(0,_AssetUris.getFilename)(url),width:img.naturalWidth,height:img.naturalHeight});};img.src=url;});}","map":{"version":3,"sources":["../src/ImageAssets.ts"],"names":[],"mappings":"qIACA,sCAQM,QAAU,CAAA,WAAV,CAAsB,IAAtB,CAAkC,CACtC,MAAO,uCAAsC,IAAtC,CAA2C,IAA3C,CAAP,CACD,CAEK,QAAU,CAAA,iBAAV,CAA4B,GAA5B,CAAuC,CAC3C,MAAO,IAAI,CAAA,OAAJ,CAAY,SAAC,OAAD,CAAU,MAAV,CAAoB,CACrC,GAAM,CAAA,GAAG,CAAG,GAAI,CAAA,KAAJ,EAAZ,CACA,GAAG,CAAC,OAAJ,CAAc,MAAd,CACA,GAAG,CAAC,MAAJ,CAAa,UAAK,CAChB,OAAO,CAAC,CACN,IAAI,CAAE,2BAAY,GAAZ,CADA,CAEN,KAAK,CAAE,GAAG,CAAC,YAFL,CAGN,MAAM,CAAE,GAAG,CAAC,aAHN,CAAD,CAAP,CAKD,CAND,CAOA,GAAG,CAAC,GAAJ,CAAU,GAAV,CACD,CAXM,CAAP,CAYD","sourcesContent":["/* eslint-env browser */\nimport { getFilename } from './AssetUris';\n\ntype ImageInfo = {\n name: string;\n width: number;\n height: number;\n};\n\nexport function isImageType(type: string): boolean {\n return /^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(type);\n}\n\nexport function getImageInfoAsync(url: string): Promise<ImageInfo> {\n return new Promise((resolve, reject) => {\n const img = new Image();\n img.onerror = reject;\n img.onload = () => {\n resolve({\n name: getFilename(url),\n width: img.naturalWidth,\n height: img.naturalHeight,\n });\n };\n img.src = url;\n });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _normalizeColor=_interopRequireDefault(require(\"../../modules/normalizeColor\"));var colorPropType=function colorPropType(isRequired,props,propName,componentName,location,propFullName){var color=props[propName];if(color===undefined||color===null){if(isRequired){return new Error('Required '+location+' `'+(propFullName||propName)+'` was not specified in `'+componentName+'`.');}return;}if(typeof color==='number'){return;}if((0,_normalizeColor.default)(color)===null){return new Error('Invalid '+location+' `'+(propFullName||propName)+'` supplied to `'+componentName+'`: '+color+'\\n'+\"Valid color formats are\\n - '#f0f' (#rgb)\\n - '#f0fc' (#rgba)\\n - '#ff00ff' (#rrggbb)\\n - '#ff00ff00' (#rrggbbaa)\\n - 'rgb(255, 255, 255)'\\n - 'rgba(255, 255, 255, 1.0)'\\n - 'hsl(360, 100%, 100%)'\\n - 'hsla(360, 100%, 100%, 1.0)'\\n - 'transparent'\\n - 'red'\\n - 0xff00ff00 (0xrrggbbaa)\\n\");}};var ColorPropType;if(process.env.NODE_ENV!=='production'){ColorPropType=colorPropType.bind(null,false);ColorPropType.isRequired=colorPropType.bind(null,true);}else{ColorPropType=function ColorPropType(){};}var _default=ColorPropType;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ColorPropType/index.js"],"names":["colorPropType","isRequired","props","propName","componentName","location","propFullName","color","undefined","Error","ColorPropType","process","env","NODE_ENV","bind"],"mappings":"mKASA,oFAEA,GAAIA,CAAAA,aAAa,CAAG,QAASA,CAAAA,aAAT,CAAuBC,UAAvB,CAAmCC,KAAnC,CAA0CC,QAA1C,CAAoDC,aAApD,CAAmEC,QAAnE,CAA6EC,YAA7E,CAA2F,CAC7G,GAAIC,CAAAA,KAAK,CAAGL,KAAK,CAACC,QAAD,CAAjB,CAEA,GAAII,KAAK,GAAKC,SAAV,EAAuBD,KAAK,GAAK,IAArC,CAA2C,CACzC,GAAIN,UAAJ,CAAgB,CACd,MAAO,IAAIQ,CAAAA,KAAJ,CAAU,YAAcJ,QAAd,CAAyB,IAAzB,EAAiCC,YAAY,EAAIH,QAAjD,EAA6D,0BAA7D,CAA0FC,aAA1F,CAA0G,IAApH,CAAP,CACD,CAED,OACD,CAED,GAAI,MAAOG,CAAAA,KAAP,GAAiB,QAArB,CAA+B,CAI7B,OACD,CAED,GAAI,4BAAeA,KAAf,IAA0B,IAA9B,CAAoC,CAClC,MAAO,IAAIE,CAAAA,KAAJ,CAAU,WAAaJ,QAAb,CAAwB,IAAxB,EAAgCC,YAAY,EAAIH,QAAhD,EAA4D,iBAA5D,CAAgFC,aAAhF,CAAgG,KAAhG,CAAwGG,KAAxG,CAAgH,IAAhH,CAAuH,4SAAjI,CAAP,CACD,CACF,CArBD,CAuBA,GAAIG,CAAAA,aAAJ,CAEA,GAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzCH,aAAa,CAAGV,aAAa,CAACc,IAAd,CAAmB,IAAnB,CAAyB,KAAzB,CAAhB,CAGAJ,aAAa,CAACT,UAAd,CAA2BD,aAAa,CAACc,IAAd,CAAmB,IAAnB,CAAyB,IAAzB,CAA3B,CAGD,CAPD,IAOO,CACLJ,aAAa,CAAG,QAASA,CAAAA,aAAT,EAAyB,CAAE,CAA3C,CACD,C,aAEcA,a","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport normalizeColor from '../../modules/normalizeColor';\n\nvar colorPropType = function colorPropType(isRequired, props, propName, componentName, location, propFullName) {\n var color = props[propName];\n\n if (color === undefined || color === null) {\n if (isRequired) {\n return new Error('Required ' + location + ' `' + (propFullName || propName) + '` was not specified in `' + componentName + '`.');\n }\n\n return;\n }\n\n if (typeof color === 'number') {\n // Developers should not use a number, but we are using the prop type\n // both for user provided colors and for transformed ones. This isn't ideal\n // and should be fixed but will do for now...\n return;\n }\n\n if (normalizeColor(color) === null) {\n return new Error('Invalid ' + location + ' `' + (propFullName || propName) + '` supplied to `' + componentName + '`: ' + color + '\\n' + \"Valid color formats are\\n - '#f0f' (#rgb)\\n - '#f0fc' (#rgba)\\n - '#ff00ff' (#rrggbb)\\n - '#ff00ff00' (#rrggbbaa)\\n - 'rgb(255, 255, 255)'\\n - 'rgba(255, 255, 255, 1.0)'\\n - 'hsl(360, 100%, 100%)'\\n - 'hsla(360, 100%, 100%, 1.0)'\\n - 'transparent'\\n - 'red'\\n - 0xff00ff00 (0xrrggbbaa)\\n\");\n }\n};\n\nvar ColorPropType;\n\nif (process.env.NODE_ENV !== 'production') {\n ColorPropType = colorPropType.bind(null, false\n /* isRequired */\n );\n ColorPropType.isRequired = colorPropType.bind(null, true\n /* isRequired */\n );\n} else {\n ColorPropType = function ColorPropType() {};\n}\n\nexport default ColorPropType;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedStartClock=createAnimatedStartClock;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedClock=_interopRequireDefault(require(\"./AnimatedClock\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var AnimatedStartClock=function(_AnimatedNode){(0,_inherits2.default)(AnimatedStartClock,_AnimatedNode);function AnimatedStartClock(clockNode){var _this;(0,_classCallCheck2.default)(this,AnimatedStartClock);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedStartClock).call(this,{type:'clockStart',clock:clockNode.__nodeID}));(0,_invariant.default)(clockNode instanceof _AnimatedClock.default,'Node is not of an AnimatedClock type');_this._clockNode=clockNode;return _this;}(0,_createClass2.default)(AnimatedStartClock,[{key:\"__onEvaluate\",value:function __onEvaluate(){this._clockNode.start();return 0;}}]);return AnimatedStartClock;}(_AnimatedNode2.default);function createAnimatedStartClock(clock){return new AnimatedStartClock(clock);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedStartClock.js"],"names":["AnimatedStartClock","clockNode","type","clock","__nodeID","AnimatedClock","_clockNode","start","AnimatedNode","createAnimatedStartClock"],"mappings":"gqBAAA,qEACA,sEACA,qE,GAEMA,CAAAA,kB,kFAGJ,4BAAYC,SAAZ,CAAuB,iEACrB,8GAAM,CAAEC,IAAI,CAAE,YAAR,CAAsBC,KAAK,CAAEF,SAAS,CAACG,QAAvC,CAAN,GACA,uBACEH,SAAS,WAAYI,uBADvB,CAEE,sCAFF,EAIA,MAAKC,UAAL,CAAkBL,SAAlB,CANqB,aAOtB,C,+FAEc,CACb,KAAKK,UAAL,CAAgBC,KAAhB,GACA,MAAO,EAAP,CACD,C,gCAf8BC,sB,EAkB1B,QAASC,CAAAA,wBAAT,CAAkCN,KAAlC,CAAyC,CAC9C,MAAO,IAAIH,CAAAA,kBAAJ,CAAuBG,KAAvB,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport invariant from 'fbjs/lib/invariant';\n\nclass AnimatedStartClock extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n super({ type: 'clockStart', clock: clockNode.__nodeID });\n invariant(\n clockNode instanceof AnimatedClock,\n 'Node is not of an AnimatedClock type'\n );\n this._clockNode = clockNode;\n }\n\n __onEvaluate() {\n this._clockNode.start();\n return 0;\n }\n}\n\nexport function createAnimatedStartClock(clock) {\n return new AnimatedStartClock(clock);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.SYSTEM_FONT_STACK=exports.MONOSPACE_FONT_STACK=exports.STYLE_SHORT_FORM_EXPANSIONS=exports.STYLE_GROUPS=exports.STYLE_ELEMENT_ID=void 0;var STYLE_ELEMENT_ID='react-native-stylesheet';exports.STYLE_ELEMENT_ID=STYLE_ELEMENT_ID;var STYLE_GROUPS={reset:0,modality:0.1,classicReset:0.5,classic:1,atomic:2.2,custom:{borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,marginHorizontal:2.1,marginVertical:2.1,paddingHorizontal:2.1,paddingVertical:2.1}};exports.STYLE_GROUPS=STYLE_GROUPS;var STYLE_SHORT_FORM_EXPANSIONS={borderColor:['borderTopColor','borderRightColor','borderBottomColor','borderLeftColor'],borderRadius:['borderTopLeftRadius','borderTopRightRadius','borderBottomRightRadius','borderBottomLeftRadius'],borderStyle:['borderTopStyle','borderRightStyle','borderBottomStyle','borderLeftStyle'],borderWidth:['borderTopWidth','borderRightWidth','borderBottomWidth','borderLeftWidth'],margin:['marginTop','marginRight','marginBottom','marginLeft'],marginHorizontal:['marginRight','marginLeft'],marginVertical:['marginTop','marginBottom'],overflow:['overflowX','overflowY'],overscrollBehavior:['overscrollBehaviorX','overscrollBehaviorY'],padding:['paddingTop','paddingRight','paddingBottom','paddingLeft'],paddingHorizontal:['paddingRight','paddingLeft'],paddingVertical:['paddingTop','paddingBottom']};exports.STYLE_SHORT_FORM_EXPANSIONS=STYLE_SHORT_FORM_EXPANSIONS;var MONOSPACE_FONT_STACK='monospace,monospace';exports.MONOSPACE_FONT_STACK=MONOSPACE_FONT_STACK;var SYSTEM_FONT_STACK='system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Ubuntu,\"Helvetica Neue\",sans-serif';exports.SYSTEM_FONT_STACK=SYSTEM_FONT_STACK;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/constants.js"],"names":["STYLE_ELEMENT_ID","STYLE_GROUPS","reset","modality","classicReset","classic","atomic","custom","borderColor","borderRadius","borderStyle","borderWidth","display","flex","margin","overflow","overscrollBehavior","padding","marginHorizontal","marginVertical","paddingHorizontal","paddingVertical","STYLE_SHORT_FORM_EXPANSIONS","MONOSPACE_FONT_STACK","SYSTEM_FONT_STACK"],"mappings":"yMAQO,GAAIA,CAAAA,gBAAgB,CAAG,yBAAvB,C,0CACA,GAAIC,CAAAA,YAAY,CAAG,CACxBC,KAAK,CAAE,CADiB,CAExBC,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,CAAgD,aAAhD,CAV8B,CAWvCG,iBAAiB,CAAE,CAAC,cAAD,CAAiB,aAAjB,CAXoB,CAYvCC,eAAe,CAAE,CAAC,YAAD,CAAe,eAAf,CAZsB,CAAlC,C,gEAcA,GAAIE,CAAAA,oBAAoB,CAAG,qBAA3B,C,kDACA,GAAIC,CAAAA,iBAAiB,CAAG,iGAAxB,C","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nexport var STYLE_ELEMENT_ID = 'react-native-stylesheet';\nexport var STYLE_GROUPS = {\n reset: 0,\n modality: 0.1,\n classicReset: 0.5,\n classic: 1,\n atomic: 2.2,\n custom: {\n borderColor: 2,\n borderRadius: 2,\n borderStyle: 2,\n borderWidth: 2,\n display: 2,\n flex: 2,\n margin: 2,\n overflow: 2,\n overscrollBehavior: 2,\n padding: 2,\n marginHorizontal: 2.1,\n marginVertical: 2.1,\n paddingHorizontal: 2.1,\n paddingVertical: 2.1\n }\n};\nexport var STYLE_SHORT_FORM_EXPANSIONS = {\n borderColor: ['borderTopColor', 'borderRightColor', 'borderBottomColor', 'borderLeftColor'],\n borderRadius: ['borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomRightRadius', 'borderBottomLeftRadius'],\n borderStyle: ['borderTopStyle', 'borderRightStyle', 'borderBottomStyle', 'borderLeftStyle'],\n borderWidth: ['borderTopWidth', 'borderRightWidth', 'borderBottomWidth', 'borderLeftWidth'],\n margin: ['marginTop', 'marginRight', 'marginBottom', 'marginLeft'],\n marginHorizontal: ['marginRight', 'marginLeft'],\n marginVertical: ['marginTop', 'marginBottom'],\n overflow: ['overflowX', 'overflowY'],\n overscrollBehavior: ['overscrollBehaviorX', 'overscrollBehaviorY'],\n padding: ['paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft'],\n paddingHorizontal: ['paddingRight', 'paddingLeft'],\n paddingVertical: ['paddingTop', 'paddingBottom']\n};\nexport var MONOSPACE_FONT_STACK = 'monospace,monospace';\nexport var SYSTEM_FONT_STACK = 'system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Ubuntu,\"Helvetica Neue\",sans-serif';"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _I18nManager=_interopRequireDefault(require(\"../I18nManager\"));var _multiplyStyleLengthValue=_interopRequireDefault(require(\"../../modules/multiplyStyleLengthValue\"));var emptyObject={};var borderTopLeftRadius='borderTopLeftRadius';var borderTopRightRadius='borderTopRightRadius';var borderBottomLeftRadius='borderBottomLeftRadius';var borderBottomRightRadius='borderBottomRightRadius';var borderLeftColor='borderLeftColor';var borderLeftStyle='borderLeftStyle';var borderLeftWidth='borderLeftWidth';var borderRightColor='borderRightColor';var borderRightStyle='borderRightStyle';var borderRightWidth='borderRightWidth';var right='right';var marginLeft='marginLeft';var marginRight='marginRight';var paddingLeft='paddingLeft';var paddingRight='paddingRight';var left='left';var PROPERTIES_FLIP={borderTopLeftRadius:borderTopRightRadius,borderTopRightRadius:borderTopLeftRadius,borderBottomLeftRadius:borderBottomRightRadius,borderBottomRightRadius:borderBottomLeftRadius,borderLeftColor:borderRightColor,borderLeftStyle:borderRightStyle,borderLeftWidth:borderRightWidth,borderRightColor:borderLeftColor,borderRightStyle:borderLeftStyle,borderRightWidth:borderLeftWidth,left:right,marginLeft:marginRight,marginRight:marginLeft,paddingLeft:paddingRight,paddingRight:paddingLeft,right:left};var PROPERTIES_I18N={borderTopStartRadius:borderTopLeftRadius,borderTopEndRadius:borderTopRightRadius,borderBottomStartRadius:borderBottomLeftRadius,borderBottomEndRadius:borderBottomRightRadius,borderStartColor:borderLeftColor,borderStartStyle:borderLeftStyle,borderStartWidth:borderLeftWidth,borderEndColor:borderRightColor,borderEndStyle:borderRightStyle,borderEndWidth:borderRightWidth,end:right,marginStart:marginLeft,marginEnd:marginRight,paddingStart:paddingLeft,paddingEnd:paddingRight,start:left};var PROPERTIES_VALUE={clear:true,float:true,textAlign:true};var additiveInverse=function additiveInverse(value){return(0,_multiplyStyleLengthValue.default)(value,-1);};var i18nStyle=function i18nStyle(originalStyle){var doLeftAndRightSwapInRTL=_I18nManager.default.doLeftAndRightSwapInRTL,isRTL=_I18nManager.default.isRTL;var style=originalStyle||emptyObject;var frozenProps={};var nextStyle={};for(var originalProp in style){if(!Object.prototype.hasOwnProperty.call(style,originalProp)){continue;}var originalValue=style[originalProp];var prop=originalProp;var value=originalValue;if(PROPERTIES_I18N.hasOwnProperty(originalProp)){var convertedProp=PROPERTIES_I18N[originalProp];prop=isRTL?PROPERTIES_FLIP[convertedProp]:convertedProp;}else if(isRTL&&doLeftAndRightSwapInRTL&&PROPERTIES_FLIP[originalProp]){prop=PROPERTIES_FLIP[originalProp];}if(PROPERTIES_VALUE.hasOwnProperty(originalProp)){if(originalValue==='start'){value=isRTL?'right':'left';}else if(originalValue==='end'){value=isRTL?'left':'right';}else if(isRTL&&doLeftAndRightSwapInRTL){if(originalValue==='left'){value='right';}else if(originalValue==='right'){value='left';}}}if(prop==='transitionProperty'){if(PROPERTIES_I18N.hasOwnProperty(value)){var convertedValue=PROPERTIES_I18N[originalValue];value=isRTL?PROPERTIES_FLIP[convertedValue]:convertedValue;}else if(isRTL&&doLeftAndRightSwapInRTL&&PROPERTIES_FLIP[originalValue]){value=PROPERTIES_FLIP[originalValue];}}if(isRTL&&prop==='textShadowOffset'){nextStyle[prop]=value;nextStyle[prop].width=additiveInverse(value.width);}else if(!frozenProps[prop]){nextStyle[prop]=value;}if(PROPERTIES_I18N[originalProp]){frozenProps[prop]=true;}}return nextStyle;};var _default=i18nStyle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/i18nStyle.js"],"names":["emptyObject","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","right","marginLeft","marginRight","paddingLeft","paddingRight","left","PROPERTIES_FLIP","PROPERTIES_I18N","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartColor","borderStartStyle","borderStartWidth","borderEndColor","borderEndStyle","borderEndWidth","end","marginStart","marginEnd","paddingStart","paddingEnd","start","PROPERTIES_VALUE","clear","float","textAlign","additiveInverse","value","i18nStyle","originalStyle","doLeftAndRightSwapInRTL","I18nManager","isRTL","style","frozenProps","nextStyle","originalProp","Object","prototype","hasOwnProperty","call","originalValue","prop","convertedProp","convertedValue","width"],"mappings":"mKAQA,mEACA,wGACA,GAAIA,CAAAA,WAAW,CAAG,EAAlB,CACA,GAAIC,CAAAA,mBAAmB,CAAG,qBAA1B,CACA,GAAIC,CAAAA,oBAAoB,CAAG,sBAA3B,CACA,GAAIC,CAAAA,sBAAsB,CAAG,wBAA7B,CACA,GAAIC,CAAAA,uBAAuB,CAAG,yBAA9B,CACA,GAAIC,CAAAA,eAAe,CAAG,iBAAtB,CACA,GAAIC,CAAAA,eAAe,CAAG,iBAAtB,CACA,GAAIC,CAAAA,eAAe,CAAG,iBAAtB,CACA,GAAIC,CAAAA,gBAAgB,CAAG,kBAAvB,CACA,GAAIC,CAAAA,gBAAgB,CAAG,kBAAvB,CACA,GAAIC,CAAAA,gBAAgB,CAAG,kBAAvB,CACA,GAAIC,CAAAA,KAAK,CAAG,OAAZ,CACA,GAAIC,CAAAA,UAAU,CAAG,YAAjB,CACA,GAAIC,CAAAA,WAAW,CAAG,aAAlB,CACA,GAAIC,CAAAA,WAAW,CAAG,aAAlB,CACA,GAAIC,CAAAA,YAAY,CAAG,cAAnB,CACA,GAAIC,CAAAA,IAAI,CAAG,MAAX,CAEA,GAAIC,CAAAA,eAAe,CAAG,CACpBhB,mBAAmB,CAAEC,oBADD,CAEpBA,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AAIF,uBAAb,CAAsC,CAC3C,GAAIW,aAAa,GAAK,MAAtB,CAA8B,CAC5Bd,KAAK,CAAG,OAAR,CACD,CAFD,IAEO,IAAIc,aAAa,GAAK,OAAtB,CAA+B,CACpCd,KAAK,CAAG,MAAR,CACD,CACF,CACF,CAGD,GAAIe,IAAI,GAAK,oBAAb,CAAmC,CAEjC,GAAIrC,eAAe,CAACkC,cAAhB,CAA+BZ,KAA/B,CAAJ,CAA2C,CAEzC,GAAIiB,CAAAA,cAAc,CAAGvC,eAAe,CAACoC,aAAD,CAApC,CACAd,KAAK,CAAGK,KAAK,CAAG5B,eAAe,CAACwC,cAAD,CAAlB,CAAqCA,cAAlD,CACD,CAJD,IAIO,IAAIZ,KAAK,EAAIF,uBAAT,EAAoC1B,eAAe,CAACqC,aAAD,CAAvD,CAAwE,CAC7Ed,KAAK,CAAGvB,eAAe,CAACqC,aAAD,CAAvB,CACD,CACF,CAGD,GAAIT,KAAK,EAAIU,IAAI,GAAK,kBAAtB,CAA0C,CACxCP,SAAS,CAACO,IAAD,CAAT,CAAkBf,KAAlB,CACAQ,SAAS,CAACO,IAAD,CAAT,CAAgBG,KAAhB,CAAwBnB,eAAe,CAACC,KAAK,CAACkB,KAAP,CAAvC,CACD,CAHD,IAGO,IAAI,CAACX,WAAW,CAACQ,IAAD,CAAhB,CAAwB,CAC7BP,SAAS,CAACO,IAAD,CAAT,CAAkBf,KAAlB,CACD,CAED,GAAItB,eAAe,CAAC+B,YAAD,CAAnB,CAAmC,CACjCF,WAAW,CAACQ,IAAD,CAAX,CAAoB,IAApB,CACD,CACF,CAED,MAAOP,CAAAA,SAAP,CACD,CAjED,C,aAmEeP,S","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport I18nManager from '../I18nManager';\nimport multiplyStyleLengthValue from '../../modules/multiplyStyleLengthValue';\nvar emptyObject = {};\nvar borderTopLeftRadius = 'borderTopLeftRadius';\nvar borderTopRightRadius = 'borderTopRightRadius';\nvar borderBottomLeftRadius = 'borderBottomLeftRadius';\nvar borderBottomRightRadius = 'borderBottomRightRadius';\nvar borderLeftColor = 'borderLeftColor';\nvar borderLeftStyle = 'borderLeftStyle';\nvar borderLeftWidth = 'borderLeftWidth';\nvar borderRightColor = 'borderRightColor';\nvar borderRightStyle = 'borderRightStyle';\nvar borderRightWidth = 'borderRightWidth';\nvar right = 'right';\nvar marginLeft = 'marginLeft';\nvar marginRight = 'marginRight';\nvar paddingLeft = 'paddingLeft';\nvar paddingRight = 'paddingRight';\nvar left = 'left'; // Map of LTR property names to their BiDi equivalent.\n\nvar PROPERTIES_FLIP = {\n borderTopLeftRadius: borderTopRightRadius,\n borderTopRightRadius: borderTopLeftRadius,\n borderBottomLeftRadius: borderBottomRightRadius,\n borderBottomRightRadius: borderBottomLeftRadius,\n borderLeftColor: borderRightColor,\n borderLeftStyle: borderRightStyle,\n borderLeftWidth: borderRightWidth,\n borderRightColor: borderLeftColor,\n borderRightStyle: borderLeftStyle,\n borderRightWidth: borderLeftWidth,\n left: right,\n marginLeft: marginRight,\n marginRight: marginLeft,\n paddingLeft: paddingRight,\n paddingRight: paddingLeft,\n right: left\n}; // Map of I18N property names to their LTR equivalent.\n\nvar PROPERTIES_I18N = {\n borderTopStartRadius: borderTopLeftRadius,\n borderTopEndRadius: borderTopRightRadius,\n borderBottomStartRadius: borderBottomLeftRadius,\n borderBottomEndRadius: borderBottomRightRadius,\n borderStartColor: borderLeftColor,\n borderStartStyle: borderLeftStyle,\n borderStartWidth: borderLeftWidth,\n borderEndColor: borderRightColor,\n borderEndStyle: borderRightStyle,\n borderEndWidth: borderRightWidth,\n end: right,\n marginStart: marginLeft,\n marginEnd: marginRight,\n paddingStart: paddingLeft,\n paddingEnd: paddingRight,\n start: left\n};\nvar PROPERTIES_VALUE = {\n clear: true,\n float: true,\n textAlign: true\n}; // Invert the sign of a numeric-like value\n\nvar additiveInverse = function additiveInverse(value) {\n return multiplyStyleLengthValue(value, -1);\n};\n\nvar i18nStyle = function i18nStyle(originalStyle) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var style = originalStyle || emptyObject;\n var frozenProps = {};\n var nextStyle = {};\n\n for (var originalProp in style) {\n if (!Object.prototype.hasOwnProperty.call(style, originalProp)) {\n continue;\n }\n\n var originalValue = style[originalProp];\n var prop = originalProp;\n var value = originalValue; // BiDi flip properties\n\n if (PROPERTIES_I18N.hasOwnProperty(originalProp)) {\n // convert start/end\n var convertedProp = PROPERTIES_I18N[originalProp];\n prop = isRTL ? PROPERTIES_FLIP[convertedProp] : convertedProp;\n } else if (isRTL && doLeftAndRightSwapInRTL && PROPERTIES_FLIP[originalProp]) {\n prop = PROPERTIES_FLIP[originalProp];\n } // BiDi flip values\n\n\n if (PROPERTIES_VALUE.hasOwnProperty(originalProp)) {\n if (originalValue === 'start') {\n value = isRTL ? 'right' : 'left';\n } else if (originalValue === 'end') {\n value = isRTL ? 'left' : 'right';\n } else if (isRTL && doLeftAndRightSwapInRTL) {\n if (originalValue === 'left') {\n value = 'right';\n } else if (originalValue === 'right') {\n value = 'left';\n }\n }\n } // BiDi flip transitionProperty value\n\n\n if (prop === 'transitionProperty') {\n // BiDi flip properties\n if (PROPERTIES_I18N.hasOwnProperty(value)) {\n // convert start/end\n var convertedValue = PROPERTIES_I18N[originalValue];\n value = isRTL ? PROPERTIES_FLIP[convertedValue] : convertedValue;\n } else if (isRTL && doLeftAndRightSwapInRTL && PROPERTIES_FLIP[originalValue]) {\n value = PROPERTIES_FLIP[originalValue];\n }\n } // Create finalized style\n\n\n if (isRTL && prop === 'textShadowOffset') {\n nextStyle[prop] = value;\n nextStyle[prop].width = additiveInverse(value.width);\n } else if (!frozenProps[prop]) {\n nextStyle[prop] = value;\n }\n\n if (PROPERTIES_I18N[originalProp]) {\n frozenProps[prop] = true;\n }\n }\n\n return nextStyle;\n};\n\nexport default i18nStyle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _propTypes=require(\"prop-types\");var _react=_interopRequireWildcard(require(\"react\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var RefreshControl=function(_Component){_inheritsLoose(RefreshControl,_Component);function RefreshControl(){return _Component.apply(this,arguments)||this;}var _proto=RefreshControl.prototype;_proto.render=function render(){var _this$props=this.props,colors=_this$props.colors,enabled=_this$props.enabled,onRefresh=_this$props.onRefresh,progressBackgroundColor=_this$props.progressBackgroundColor,progressViewOffset=_this$props.progressViewOffset,refreshing=_this$props.refreshing,size=_this$props.size,tintColor=_this$props.tintColor,title=_this$props.title,titleColor=_this$props.titleColor,rest=_objectWithoutPropertiesLoose(_this$props,[\"colors\",\"enabled\",\"onRefresh\",\"progressBackgroundColor\",\"progressViewOffset\",\"refreshing\",\"size\",\"tintColor\",\"title\",\"titleColor\"]);return _react.default.createElement(_View.default,rest);};return RefreshControl;}(_react.Component);RefreshControl.propTypes=process.env.NODE_ENV!==\"production\"?_objectSpread({},_ViewPropTypes.default,{colors:(0,_propTypes.arrayOf)(_ColorPropType.default),enabled:_propTypes.bool,onRefresh:_propTypes.func,progressBackgroundColor:_ColorPropType.default,progressViewOffset:_propTypes.number,refreshing:_propTypes.bool.isRequired,size:(0,_propTypes.oneOf)([0,1]),tintColor:_ColorPropType.default,title:_propTypes.string,titleColor:_ColorPropType.default}):{};var _default=RefreshControl;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/RefreshControl/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_inheritsLoose","subClass","superClass","prototype","create","constructor","__proto__","RefreshControl","_Component","apply","_proto","render","_this$props","props","colors","enabled","onRefresh","progressBackgroundColor","progressViewOffset","refreshing","size","tintColor","title","titleColor","rest","React","createElement","View","Component","propTypes","process","env","NODE_ENV","ViewPropTypes","ColorPropType","bool","func","number","isRequired","string"],"mappings":"wPAiBA,uEACA,qDACA,uEACA,qCACA,qDArBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,C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UAN7B,CAOIC,IAAI,CAAGR,WAAW,CAACQ,IAPvB,CAQIC,SAAS,CAAGT,WAAW,CAACS,SAR5B,CASIC,KAAK,CAAGV,WAAW,CAACU,KATxB,CAUIC,UAAU,CAAGX,WAAW,CAACW,UAV7B,CAWIC,IAAI,CAAG5B,6BAA6B,CAACgB,WAAD,CAAc,CAAC,QAAD,CAAW,SAAX,CAAsB,WAAtB,CAAmC,yBAAnC,CAA8D,oBAA9D,CAAoF,YAApF,CAAkG,MAAlG,CAA0G,WAA1G,CAAuH,OAAvH,CAAgI,YAAhI,CAAd,CAXxC,CAaA,MAAOa,gBAAMC,aAAN,CAAoBC,aAApB,CAA0BH,IAA1B,CAAP,CACD,CAfD,CAiBA,MAAOjB,CAAAA,cAAP,CACD,CA3BD,CA2BEqB,gBA3BF,CAFA,CA+BArB,cAAc,CAACsB,SAAf,CAA2BC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwC3D,aAAa,CAAC,EAAD,CAAK4D,sBAAL,CAAoB,CAClGnB,MAAM,CAAE,uBAAQoB,sBAAR,CAD0F,CAElGnB,OAAO,CAAEoB,eAFyF,CAGlGnB,SAAS,CAAEoB,eAHuF,CAIlGnB,uBAAuB,CAAEiB,sBAJyE,CAKlGhB,kBAAkB,CAAEmB,iBAL8E,CAMlGlB,UAAU,CAAEgB,gBAAKG,UANiF,CAOlGlB,IAAI,CAAE,qBAAM,CAAC,CAAD,CAAI,CAAJ,CAAN,CAP4F,CAQlGC,SAAS,CAAEa,sBARuF,CASlGZ,KAAK,CAAEiB,iBAT2F,CAUlGhB,UAAU,CAAEW,sBAVsF,CAApB,CAArD,CAWtB,EAXL,C,aAYe3B,c","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../ColorPropType';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport { arrayOf, bool, func, number, oneOf, string } from 'prop-types';\nimport React, { Component } from 'react';\n\nvar RefreshControl =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(RefreshControl, _Component);\n\n function RefreshControl() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = RefreshControl.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n colors = _this$props.colors,\n enabled = _this$props.enabled,\n onRefresh = _this$props.onRefresh,\n progressBackgroundColor = _this$props.progressBackgroundColor,\n progressViewOffset = _this$props.progressViewOffset,\n refreshing = _this$props.refreshing,\n size = _this$props.size,\n tintColor = _this$props.tintColor,\n title = _this$props.title,\n titleColor = _this$props.titleColor,\n rest = _objectWithoutPropertiesLoose(_this$props, [\"colors\", \"enabled\", \"onRefresh\", \"progressBackgroundColor\", \"progressViewOffset\", \"refreshing\", \"size\", \"tintColor\", \"title\", \"titleColor\"]);\n\n return React.createElement(View, rest);\n };\n\n return RefreshControl;\n}(Component);\n\nRefreshControl.propTypes = process.env.NODE_ENV !== \"production\" ? _objectSpread({}, ViewPropTypes, {\n colors: arrayOf(ColorPropType),\n enabled: bool,\n onRefresh: func,\n progressBackgroundColor: ColorPropType,\n progressViewOffset: number,\n refreshing: bool.isRequired,\n size: oneOf([0, 1]),\n tintColor: ColorPropType,\n title: string,\n titleColor: ColorPropType\n}) : {};\nexport default RefreshControl;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedWithChildren=function(_AnimatedNode){_inheritsLoose(AnimatedWithChildren,_AnimatedNode);function AnimatedWithChildren(){var _this;_this=_AnimatedNode.call(this)||this;_this._children=[];return _this;}var _proto=AnimatedWithChildren.prototype;_proto.__makeNative=function __makeNative(){if(!this.__isNative){this.__isNative=true;for(var _iterator=this._children,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\"]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++];}else{_i=_iterator.next();if(_i.done)break;_ref=_i.value;}var child=_ref;child.__makeNative();_NativeAnimatedHelper.default.API.connectAnimatedNodes(this.__getNativeTag(),child.__getNativeTag());}}};_proto.__addChild=function __addChild(child){if(this._children.length===0){this.__attach();}this._children.push(child);if(this.__isNative){child.__makeNative();_NativeAnimatedHelper.default.API.connectAnimatedNodes(this.__getNativeTag(),child.__getNativeTag());}};_proto.__removeChild=function __removeChild(child){var index=this._children.indexOf(child);if(index===-1){console.warn(\"Trying to remove a child that doesn't exist\");return;}if(this.__isNative&&child.__isNative){_NativeAnimatedHelper.default.API.disconnectAnimatedNodes(this.__getNativeTag(),child.__getNativeTag());}this._children.splice(index,1);if(this._children.length===0){this.__detach();}};_proto.__getChildren=function __getChildren(){return this._children;};return AnimatedWithChildren;}(_AnimatedNode2.default);var _default=AnimatedWithChildren;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedWithChildren.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedWithChildren","_AnimatedNode","_this","call","_children","_proto","__makeNative","__isNative","_iterator","_isArray","Array","isArray","_i","Symbol","iterator","_ref","length","next","done","value","child","NativeAnimatedHelper","API","connectAnimatedNodes","__getNativeTag","__addChild","__attach","push","__removeChild","index","indexOf","console","warn","disconnectAnimatedNodes","splice","__detach","__getChildren","AnimatedNode"],"mappings":"AASA,a,mKAIA,qEACA,qFAHA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAKvL,GAAIM,CAAAA,oBAAoB,CAExB,SAAUC,aAAV,CAAyB,CACvBT,cAAc,CAACQ,oBAAD,CAAuBC,aAAvB,CAAd,CAEA,QAASD,CAAAA,oBAAT,EAAgC,CAC9B,GAAIE,CAAAA,KAAJ,CAEAA,KAAK,CAAGD,aAAa,CAACE,IAAd,CAAmB,IAAnB,GAA4B,IAApC,CACAD,KAAK,CAACE,SAAN,CAAkB,EAAlB,CACA,MAAOF,CAAAA,KAAP,CACD,CAED,GAAIG,CAAAA,MAAM,CAAGL,oBAAoB,CAACL,SAAl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AN,EAArE,EACD,CACF,CAbD,CAeAnB,MAAM,CAACuB,aAAP,CAAuB,QAASA,CAAAA,aAAT,CAAuBR,KAAvB,CAA8B,CACnD,GAAIS,CAAAA,KAAK,CAAG,KAAKzB,SAAL,CAAe0B,OAAf,CAAuBV,KAAvB,CAAZ,CAEA,GAAIS,KAAK,GAAK,CAAC,CAAf,CAAkB,CAChBE,OAAO,CAACC,IAAR,CAAa,6CAAb,EACA,OACD,CAED,GAAI,KAAKzB,UAAL,EAAmBa,KAAK,CAACb,UAA7B,CAAyC,CACvCc,8BAAqBC,GAArB,CAAyBW,uBAAzB,CAAiD,KAAKT,cAAL,EAAjD,CAAwEJ,KAAK,CAACI,cAAN,EAAxE,EACD,CAED,KAAKpB,SAAL,CAAe8B,MAAf,CAAsBL,KAAtB,CAA6B,CAA7B,EAEA,GAAI,KAAKzB,SAAL,CAAeY,MAAf,GAA0B,CAA9B,CAAiC,CAC/B,KAAKmB,QAAL,GACD,CACF,CAjBD,CAmBA9B,MAAM,CAAC+B,aAAP,CAAuB,QAASA,CAAAA,aAAT,EAAyB,CAC9C,MAAO,MAAKhC,SAAZ,CACD,CAFD,CAIA,MAAOJ,CAAAA,oBAAP,CACD,CA7ED,CA6EEqC,sBA7EF,CAFA,C,aAiFerC,oB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedNode from './AnimatedNode';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\n\nvar AnimatedWithChildren =\n/*#__PURE__*/\nfunction (_AnimatedNode) {\n _inheritsLoose(AnimatedWithChildren, _AnimatedNode);\n\n function AnimatedWithChildren() {\n var _this;\n\n _this = _AnimatedNode.call(this) || this;\n _this._children = [];\n return _this;\n }\n\n var _proto = AnimatedWithChildren.prototype;\n\n _proto.__makeNative = function __makeNative() {\n if (!this.__isNative) {\n this.__isNative = true;\n\n for (var _iterator = this._children, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var child = _ref;\n\n child.__makeNative();\n\n NativeAnimatedHelper.API.connectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());\n }\n }\n };\n\n _proto.__addChild = function __addChild(child) {\n if (this._children.length === 0) {\n this.__attach();\n }\n\n this._children.push(child);\n\n if (this.__isNative) {\n // Only accept \"native\" animated nodes as children\n child.__makeNative();\n\n NativeAnimatedHelper.API.connectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());\n }\n };\n\n _proto.__removeChild = function __removeChild(child) {\n var index = this._children.indexOf(child);\n\n if (index === -1) {\n console.warn(\"Trying to remove a child that doesn't exist\");\n return;\n }\n\n if (this.__isNative && child.__isNative) {\n NativeAnimatedHelper.API.disconnectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());\n }\n\n this._children.splice(index, 1);\n\n if (this._children.length === 0) {\n this.__detach();\n }\n };\n\n _proto.__getChildren = function __getChildren() {\n return this._children;\n };\n\n return AnimatedWithChildren;\n}(AnimatedNode);\n\nexport default AnimatedWithChildren;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.cyan100=exports.cyan50=exports.lightBlueA700=exports.lightBlueA400=exports.lightBlueA200=exports.lightBlueA100=exports.lightBlue900=exports.lightBlue800=exports.lightBlue700=exports.lightBlue600=exports.lightBlue500=exports.lightBlue400=exports.lightBlue300=exports.lightBlue200=exports.lightBlue100=exports.lightBlue50=exports.blueA700=exports.blueA400=exports.blueA200=exports.blueA100=exports.blue900=exports.blue800=exports.blue700=exports.blue600=exports.blue500=exports.blue400=exports.blue300=exports.blue200=exports.blue100=exports.blue50=exports.indigoA700=exports.indigoA400=exports.indigoA200=exports.indigoA100=exports.indigo900=exports.indigo800=exports.indigo700=exports.indigo600=exports.indigo500=exports.indigo400=exports.indigo300=exports.indigo200=exports.indigo100=exports.indigo50=exports.deepPurpleA700=exports.deepPurpleA400=exports.deepPurpleA200=exports.deepPurpleA100=exports.deepPurple900=exports.deepPurple800=exports.deepPurple700=exports.deepPurple600=exports.deepPurple500=exports.deepPurple400=exports.deepPurple300=exports.deepPurple200=exports.deepPurple100=exports.deepPurple50=exports.purpleA700=exports.purpleA400=exports.purpleA200=exports.purpleA100=exports.purple900=exports.purple800=exports.purple700=exports.purple600=exports.purple500=exports.purple400=exports.purple300=exports.purple200=exports.purple100=exports.purple50=exports.pinkA700=exports.pinkA400=exports.pinkA200=exports.pinkA100=exports.pink900=exports.pink800=exports.pink700=exports.pink600=exports.pink500=exports.pink400=exports.pink300=exports.pink200=exports.pink100=exports.pink50=exports.redA700=exports.redA400=exports.redA200=exports.redA100=exports.red900=exports.red800=exports.red700=exports.red600=exports.red500=exports.red400=exports.red300=exports.red200=exports.red100=exports.red50=void 0;exports.orange300=exports.orange200=exports.orange100=exports.orange50=exports.amberA700=exports.amberA400=exports.amberA200=exports.amberA100=exports.amber900=exports.amber800=exports.amber700=exports.amber600=exports.amber500=exports.amber400=exports.amber300=exports.amber200=exports.amber100=exports.amber50=exports.yellowA700=exports.yellowA400=exports.yellowA200=exports.yellowA100=exports.yellow900=exports.yellow800=exports.yellow700=exports.yellow600=exports.yellow500=exports.yellow400=exports.yellow300=exports.yellow200=exports.yellow100=exports.yellow50=exports.limeA700=exports.limeA400=exports.limeA200=exports.limeA100=exports.lime900=exports.lime800=exports.lime700=exports.lime600=exports.lime500=exports.lime400=exports.lime300=exports.lime200=exports.lime100=exports.lime50=exports.lightGreenA700=exports.lightGreenA400=exports.lightGreenA200=exports.lightGreenA100=exports.lightGreen900=exports.lightGreen800=exports.lightGreen700=exports.lightGreen600=exports.lightGreen500=exports.lightGreen400=exports.lightGreen300=exports.lightGreen200=exports.lightGreen100=exports.lightGreen50=exports.greenA700=exports.greenA400=exports.greenA200=exports.greenA100=exports.green900=exports.green800=exports.green700=exports.green600=exports.green500=exports.green400=exports.green300=exports.green200=exports.green100=exports.green50=exports.tealA700=exports.tealA400=exports.tealA200=exports.tealA100=exports.teal900=exports.teal800=exports.teal700=exports.teal600=exports.teal500=exports.teal400=exports.teal300=exports.teal200=exports.teal100=exports.teal50=exports.cyanA700=exports.cyanA400=exports.cyanA200=exports.cyanA100=exports.cyan900=exports.cyan800=exports.cyan700=exports.cyan600=exports.cyan500=exports.cyan400=exports.cyan300=exports.cyan200=void 0;exports.white=exports.black=exports.grey900=exports.grey800=exports.grey700=exports.grey600=exports.grey500=exports.grey400=exports.grey300=exports.grey200=exports.grey100=exports.grey50=exports.blueGrey900=exports.blueGrey800=exports.blueGrey700=exports.blueGrey600=exports.blueGrey500=exports.blueGrey400=exports.blueGrey300=exports.blueGrey200=exports.blueGrey100=exports.blueGrey50=exports.brown900=exports.brown800=exports.brown700=exports.brown600=exports.brown500=exports.brown400=exports.brown300=exports.brown200=exports.brown100=exports.brown50=exports.deepOrangeA700=exports.deepOrangeA400=exports.deepOrangeA200=exports.deepOrangeA100=exports.deepOrange900=exports.deepOrange800=exports.deepOrange700=exports.deepOrange600=exports.deepOrange500=exports.deepOrange400=exports.deepOrange300=exports.deepOrange200=exports.deepOrange100=exports.deepOrange50=exports.orangeA700=exports.orangeA400=exports.orangeA200=exports.orangeA100=exports.orange900=exports.orange800=exports.orange700=exports.orange600=exports.orange500=exports.orange400=void 0;var red50='#ffebee';exports.red50=red50;var red100='#ffcdd2';exports.red100=red100;var red200='#ef9a9a';exports.red200=red200;var red300='#e57373';exports.red300=red300;var red400='#ef5350';exports.red400=red400;var red500='#f44336';exports.red500=red500;var red600='#e53935';exports.red600=red600;var red700='#d32f2f';exports.red700=red700;var red800='#c62828';exports.red800=red800;var red900='#b71c1c';exports.red900=red900;var redA100='#ff8a80';exports.redA100=redA100;var redA200='#ff5252';exports.redA200=redA200;var redA400='#ff1744';exports.redA400=redA400;var redA700='#d50000';exports.redA700=redA700;var pink50='#fce4ec';exports.pink50=pink50;var pink100='#f8bbd0';exports.pink100=pink100;var pink200='#f48fb1';exports.pink200=pink200;var pink300='#f06292';exports.pink300=pink300;var pink400='#ec407a';exports.pink400=pink400;var pink500='#e91e63';exports.pink500=pink500;var pink600='#d81b60';exports.pink600=pink600;var pink700='#c2185b';exports.pink700=pink700;var pink800='#ad1457';exports.pink800=pink800;var pink900='#880e4f';exports.pink900=pink900;var pinkA100='#ff80ab';exports.pinkA100=pinkA100;var pinkA200='#ff4081';exports.pinkA200=pinkA200;var pinkA400='#f50057';exports.pinkA400=pinkA400;var pinkA700='#c51162';exports.pinkA700=pinkA700;var purple50='#f3e5f5';exports.purple50=purple50;var purple100='#e1bee7';exports.purple100=purple100;var purple200='#ce93d8';exports.purple200=purple200;var purple300='#ba68c8';exports.purple300=purple300;var purple400='#ab47bc';exports.purple400=purple400;var purple500='#9c27b0';exports.purple500=purple500;var purple600='#8e24aa';exports.purple600=purple600;var purple700='#7b1fa2';exports.purple700=purple700;var purple800='#6a1b9a';exports.purple800=purple800;var purple900='#4a148c';exports.purple900=purple900;var purpleA100='#ea80fc';exports.purpleA100=purpleA100;var purpleA200='#e040fb';exports.purpleA200=purpleA200;var purpleA400='#d500f9';exports.purpleA400=purpleA400;var purpleA700='#aa00ff';exports.purpleA700=purpleA700;var deepPurple50='#ede7f6';exports.deepPurple50=deepPurple50;var deepPurple100='#d1c4e9';exports.deepPurple100=deepPurple100;var deepPurple200='#b39ddb';exports.deepPurple200=deepPurple200;var deepPurple300='#9575cd';exports.deepPurple300=deepPurple300;var deepPurple400='#7e57c2';exports.deepPurple400=deepPurple400;var deepPurple500='#673ab7';exports.deepPurple500=deepPurple500;var deepPurple600='#5e35b1';exports.deepPurple600=deepPurple600;var deepPurple700='#512da8';exports.deepPurple700=deepPurple700;var deepPurple800='#4527a0';exports.deepPurple800=deepPurple800;var deepPurple900='#311b92';exports.deepPurple900=deepPurple900;var deepPurpleA100='#b388ff';exports.deepPurpleA100=deepPurpleA100;var deepPurpleA200='#7c4dff';exports.deepPurpleA200=deepPurpleA200;var deepPurpleA400='#651fff';exports.deepPurpleA400=deepPurpleA400;var deepPurpleA700='#6200ea';exports.deepPurpleA700=deepPurpleA700;var indigo50='#e8eaf6';exports.indigo50=indigo50;var indigo100='#c5cae9';exports.indigo100=indigo100;var indigo200='#9fa8da';exports.indigo200=indigo200;var indigo300='#7986cb';exports.indigo300=indigo300;var indigo400='#5c6bc0';exports.indigo400=indigo400;var indigo500='#3f51b5';exports.indigo500=indigo500;var indigo600='#3949ab';exports.indigo600=indigo600;var indigo700='#303f9f';exports.indigo700=indigo700;var indigo800='#283593';exports.indigo800=indigo800;var indigo900='#1a237e';exports.indigo900=indigo900;var indigoA100='#8c9eff';exports.indigoA100=indigoA100;var indigoA200='#536dfe';exports.indigoA200=indigoA200;var indigoA400='#3d5afe';exports.indigoA400=indigoA400;var indigoA700='#304ffe';exports.indigoA700=indigoA700;var blue50='#e3f2fd';exports.blue50=blue50;var blue100='#bbdefb';exports.blue100=blue100;var blue200='#90caf9';exports.blue200=blue200;var blue300='#64b5f6';exports.blue300=blue300;var blue400='#42a5f5';exports.blue400=blue400;var blue500='#2196f3';exports.blue500=blue500;var blue600='#1e88e5';exports.blue600=blue600;var blue700='#1976d2';exports.blue700=blue700;var blue800='#1565c0';exports.blue800=blue800;var blue900='#0d47a1';exports.blue900=blue900;var blueA100='#82b1ff';exports.blueA100=blueA100;var blueA200='#448aff';exports.blueA200=blueA200;var blueA400='#2979ff';exports.blueA400=blueA400;var blueA700='#2962ff';exports.blueA700=blueA700;var lightBlue50='#e1f5fe';exports.lightBlue50=lightBlue50;var lightBlue100='#b3e5fc';exports.lightBlue100=lightBlue100;var lightBlue200='#81d4fa';exports.lightBlue200=lightBlue200;var lightBlue300='#4fc3f7';exports.lightBlue300=lightBlue300;var lightBlue400='#29b6f6';exports.lightBlue400=lightBlue400;var lightBlue500='#03a9f4';exports.lightBlue500=lightBlue500;var lightBlue600='#039be5';exports.lightBlue600=lightBlue600;var lightBlue700='#0288d1';exports.lightBlue700=lightBlue700;var lightBlue800='#0277bd';exports.lightBlue800=lightBlue800;var lightBlue900='#01579b';exports.lightBlue900=lightBlue900;var lightBlueA100='#80d8ff';exports.lightBlueA100=lightBlueA100;var lightBlueA200='#40c4ff';exports.lightBlueA200=lightBlueA200;var lightBlueA400='#00b0ff';exports.lightBlueA400=lightBlueA400;var lightBlueA700='#0091ea';exports.lightBlueA700=lightBlueA700;var cyan50='#e0f7fa';exports.cyan50=cyan50;var cyan100='#b2ebf2';exports.cyan100=cyan100;var cyan200='#80deea';exports.cyan200=cyan200;var cyan300='#4dd0e1';exports.cyan300=cyan300;var cyan400='#26c6da';exports.cyan400=cyan400;var cyan500='#00bcd4';exports.cyan500=cyan500;var cyan600='#00acc1';exports.cyan600=cyan600;var cyan700='#0097a7';exports.cyan700=cyan700;var cyan800='#00838f';exports.cyan800=cyan800;var cyan900='#006064';exports.cyan900=cyan900;var cyanA100='#84ffff';exports.cyanA100=cyanA100;var cyanA200='#18ffff';exports.cyanA200=cyanA200;var cyanA400='#00e5ff';exports.cyanA400=cyanA400;var cyanA700='#00b8d4';exports.cyanA700=cyanA700;var teal50='#e0f2f1';exports.teal50=teal50;var teal100='#b2dfdb';exports.teal100=teal100;var teal200='#80cbc4';exports.teal200=teal200;var teal300='#4db6ac';exports.teal300=teal300;var teal400='#26a69a';exports.teal400=teal400;var teal500='#009688';exports.teal500=teal500;var teal600='#00897b';exports.teal600=teal600;var teal700='#00796b';exports.teal700=teal700;var teal800='#00695c';exports.teal800=teal800;var teal900='#004d40';exports.teal900=teal900;var tealA100='#a7ffeb';exports.tealA100=tealA100;var tealA200='#64ffda';exports.tealA200=tealA200;var tealA400='#1de9b6';exports.tealA400=tealA400;var tealA700='#00bfa5';exports.tealA700=tealA700;var green50='#e8f5e9';exports.green50=green50;var green100='#c8e6c9';exports.green100=green100;var green200='#a5d6a7';exports.green200=green200;var green300='#81c784';exports.green300=green300;var green400='#66bb6a';exports.green400=green400;var green500='#4caf50';exports.green500=green500;var green600='#43a047';exports.green600=green600;var green700='#388e3c';exports.green700=green700;var green800='#2e7d32';exports.green800=green800;var green900='#1b5e20';exports.green900=green900;var greenA100='#b9f6ca';exports.greenA100=greenA100;var greenA200='#69f0ae';exports.greenA200=greenA200;var greenA400='#00e676';exports.greenA400=greenA400;var greenA700='#00c853';exports.greenA700=greenA700;var lightGreen50='#f1f8e9';exports.lightGreen50=lightGreen50;var lightGreen100='#dcedc8';exports.lightGreen100=lightGreen100;var lightGreen200='#c5e1a5';exports.lightGreen200=lightGreen200;var lightGreen300='#aed581';exports.lightGreen300=lightGreen300;var lightGreen400='#9ccc65';exports.lightGreen400=lightGreen400;var lightGreen500='#8bc34a';exports.lightGreen500=lightGreen500;var lightGreen600='#7cb342';exports.lightGreen600=lightGreen600;var lightGreen700='#689f38';exports.lightGreen700=lightGreen700;var lightGreen800='#558b2f';exports.lightGreen800=lightGreen800;var lightGreen900='#33691e';exports.lightGreen900=lightGreen900;var lightGreenA100='#ccff90';exports.lightGreenA100=lightGreenA100;var lightGreenA200='#b2ff59';exports.lightGreenA200=lightGreenA200;var lightGreenA400='#76ff03';exports.lightGreenA400=lightGreenA400;var lightGreenA700='#64dd17';exports.lightGreenA700=lightGreenA700;var lime50='#f9fbe7';exports.lime50=lime50;var lime100='#f0f4c3';exports.lime100=lime100;var lime200='#e6ee9c';exports.lime200=lime200;var lime300='#dce775';exports.lime300=lime300;var lime400='#d4e157';exports.lime400=lime400;var lime500='#cddc39';exports.lime500=lime500;var lime600='#c0ca33';exports.lime600=lime600;var lime700='#afb42b';exports.lime700=lime700;var lime800='#9e9d24';exports.lime800=lime800;var lime900='#827717';exports.lime900=lime900;var limeA100='#f4ff81';exports.limeA100=limeA100;var limeA200='#eeff41';exports.limeA200=limeA200;var limeA400='#c6ff00';exports.limeA400=limeA400;var limeA700='#aeea00';exports.limeA700=limeA700;var yellow50='#fffde7';exports.yellow50=yellow50;var yellow100='#fff9c4';exports.yellow100=yellow100;var yellow200='#fff59d';exports.yellow200=yellow200;var yellow300='#fff176';exports.yellow300=yellow300;var yellow400='#ffee58';exports.yellow400=yellow400;var yellow500='#ffeb3b';exports.yellow500=yellow500;var yellow600='#fdd835';exports.yellow600=yellow600;var yellow700='#fbc02d';exports.yellow700=yellow700;var yellow800='#f9a825';exports.yellow800=yellow800;var yellow900='#f57f17';exports.yellow900=yellow900;var yellowA100='#ffff8d';exports.yellowA100=yellowA100;var yellowA200='#ffff00';exports.yellowA200=yellowA200;var yellowA400='#ffea00';exports.yellowA400=yellowA400;var yellowA700='#ffd600';exports.yellowA700=yellowA700;var amber50='#fff8e1';exports.amber50=amber50;var amber100='#ffecb3';exports.amber100=amber100;var amber200='#ffe082';exports.amber200=amber200;var amber300='#ffd54f';exports.amber300=amber300;var amber400='#ffca28';exports.amber400=amber400;var amber500='#ffc107';exports.amber500=amber500;var amber600='#ffb300';exports.amber600=amber600;var amber700='#ffa000';exports.amber700=amber700;var amber800='#ff8f00';exports.amber800=amber800;var amber900='#ff6f00';exports.amber900=amber900;var amberA100='#ffe57f';exports.amberA100=amberA100;var amberA200='#ffd740';exports.amberA200=amberA200;var amberA400='#ffc400';exports.amberA400=amberA400;var amberA700='#ffab00';exports.amberA700=amberA700;var orange50='#fff3e0';exports.orange50=orange50;var orange100='#ffe0b2';exports.orange100=orange100;var orange200='#ffcc80';exports.orange200=orange200;var orange300='#ffb74d';exports.orange300=orange300;var orange400='#ffa726';exports.orange400=orange400;var orange500='#ff9800';exports.orange500=orange500;var orange600='#fb8c00';exports.orange600=orange600;var orange700='#f57c00';exports.orange700=orange700;var orange800='#ef6c00';exports.orange800=orange800;var orange900='#e65100';exports.orange900=orange900;var orangeA100='#ffd180';exports.orangeA100=orangeA100;var orangeA200='#ffab40';exports.orangeA200=orangeA200;var orangeA400='#ff9100';exports.orangeA400=orangeA400;var orangeA700='#ff6d00';exports.orangeA700=orangeA700;var deepOrange50='#fbe9e7';exports.deepOrange50=deepOrange50;var deepOrange100='#ffccbc';exports.deepOrange100=deepOrange100;var deepOrange200='#ffab91';exports.deepOrange200=deepOrange200;var deepOrange300='#ff8a65';exports.deepOrange300=deepOrange300;var deepOrange400='#ff7043';exports.deepOrange400=deepOrange400;var deepOrange500='#ff5722';exports.deepOrange500=deepOrange500;var deepOrange600='#f4511e';exports.deepOrange600=deepOrange600;var deepOrange700='#e64a19';exports.deepOrange700=deepOrange700;var deepOrange800='#d84315';exports.deepOrange800=deepOrange800;var deepOrange900='#bf360c';exports.deepOrange900=deepOrange900;var deepOrangeA100='#ff9e80';exports.deepOrangeA100=deepOrangeA100;var deepOrangeA200='#ff6e40';exports.deepOrangeA200=deepOrangeA200;var deepOrangeA400='#ff3d00';exports.deepOrangeA400=deepOrangeA400;var deepOrangeA700='#dd2c00';exports.deepOrangeA700=deepOrangeA700;var brown50='#efebe9';exports.brown50=brown50;var brown100='#d7ccc8';exports.brown100=brown100;var brown200='#bcaaa4';exports.brown200=brown200;var brown300='#a1887f';exports.brown300=brown300;var brown400='#8d6e63';exports.brown400=brown400;var brown500='#795548';exports.brown500=brown500;var brown600='#6d4c41';exports.brown600=brown600;var brown700='#5d4037';exports.brown700=brown700;var brown800='#4e342e';exports.brown800=brown800;var brown900='#3e2723';exports.brown900=brown900;var blueGrey50='#eceff1';exports.blueGrey50=blueGrey50;var blueGrey100='#cfd8dc';exports.blueGrey100=blueGrey100;var blueGrey200='#b0bec5';exports.blueGrey200=blueGrey200;var blueGrey300='#90a4ae';exports.blueGrey300=blueGrey300;var blueGrey400='#78909c';exports.blueGrey400=blueGrey400;var blueGrey500='#607d8b';exports.blueGrey500=blueGrey500;var blueGrey600='#546e7a';exports.blueGrey600=blueGrey600;var blueGrey700='#455a64';exports.blueGrey700=blueGrey700;var blueGrey800='#37474f';exports.blueGrey800=blueGrey800;var blueGrey900='#263238';exports.blueGrey900=blueGrey900;var grey50='#fafafa';exports.grey50=grey50;var grey100='#f5f5f5';exports.grey100=grey100;var grey200='#eeeeee';exports.grey200=grey200;var grey300='#e0e0e0';exports.grey300=grey300;var grey400='#bdbdbd';exports.grey400=grey400;var grey500='#9e9e9e';exports.grey500=grey500;var grey600='#757575';exports.grey600=grey600;var grey700='#616161';exports.grey700=grey700;var grey800='#424242';exports.grey800=grey800;var grey900='#212121';exports.grey900=grey900;var black='#000000';exports.black=black;var white='#ffffff';exports.white=white;","map":{"version":3,"sources":["colors.tsx"],"names":["red50","red100","red200","red300","red400","red500","red600","red700","red800","red900","redA100","redA200","redA400","redA700","pink50","pink100","pink200","pink300","pink400","pink500","pink600","pink700","pink800","pink900","pinkA100","pinkA200","pinkA400","pinkA700","purple50","purple100","purple200","purple300","purple400","purple500","purple600","purple700","purple800","purple900","purpleA100","purpleA200","purpleA400","purpleA700","deepPurple50","deepPurple100","deepPurple200","deepPurple300","deepPurple400","deepPurple500","deepPurple600","deepPurple700","deepPurple800","deepPurple900","deepPurpleA100","deepPurpleA200","deepPurpleA400","deepPurpleA700","indigo50","indigo100","indigo200","indigo300","indigo400","indigo500","indigo600","indigo700","indigo800","indigo900","indigoA100","indigoA200","indigoA400","indigoA700","blue50","blue100","blue200","blue300","blue400","blue500","blue600","blue700","blue800","blue900","blueA100","blueA200","blueA400","blueA700","lightBlue50","lightBlue100","lightBlue200","lightBlue300","lightBlue400","lightBlue500","lightBlue600","lightBlue700","lightBlue800","lightBlue900","lightBlueA100","lightBlueA200","lightBlueA400","lightBlueA700","cyan50","cyan100","cyan200","cyan300","cyan400","cyan500","cyan600","cyan700","cyan800","cyan900","cyanA100","cyanA200","cyanA400","cyanA700","teal50","teal100","teal200","teal300","teal400","teal500","teal600","teal700","teal800","teal900","tealA100","tealA200","tealA400","tealA700","green50","green100","green200","green300","green400","green500","green600","green700","green800","green900","greenA100","greenA200","greenA400","greenA700","lightGreen50","lightGreen100","lightGreen200","lightGreen300","lightGreen400","lightGreen500","lightGreen600","lightGreen700","lightGreen800","lightGreen900","lightGreenA100","lightGreenA200","lightGreenA400","lightGreenA700","lime50","lime100","lime200","lime300","lime400","lime500","lime600","lime700","lime800","lime900","limeA100","limeA200","limeA400","limeA700","yellow50","yellow100","yellow200","yellow300","yellow400","yellow500","yellow600","yellow700","yellow800","yellow900","yellowA100","yellowA200","yellowA400","yellowA700","amber50","amber100","amber200","amber300","amber400","amber500","amber600","amber700","amber800","amber900","amberA100","amberA200","amberA400","amberA700","orange50","orange100","orange200","orange300","orange400","orange500","orange600","orange700","orange800","orange900","orangeA100","orangeA200","orangeA400","orangeA700","deepOrange50","deepOrange100","deepOrange200","deepOrange300","deepOrange400","deepOrange500","deepOrange600","deepOrange700","deepOrange800","deepOrange900","deepOrangeA100","deepOrangeA200","deepOrangeA400","deepOrangeA700","brown50","brown100","brown200","brown300","brown400","brown500","brown600","brown700","brown800","brown900","blueGrey50","blueGrey100","blueGrey200","blueGrey300","blueGrey400","blueGrey500","blueGrey600","blueGrey700","blueGrey800","blueGrey900","grey50","grey100","grey200","grey300","grey400","grey500","grey600","grey700","grey800","grey900","black","white"],"mappings":"ymJAAO,GAAMA,CAAAA,KAAK,CAAX,SAAA,C,oBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC,CAAAA,MAAM,CAAZ,SAAA,C,sBACA,GAAMC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,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBACA,GAAMC,CAAAA,OAAO,CAAb,SAAA,C,wBAEA,GAAMC,CAAAA,KAAK,CAAX,SAAA,C,oBACA,GAAMC,CAAAA,KAAK,CAAX,SAAA,C","sourcesContent":["export const red50 = '#ffebee';\nexport const red100 = '#ffcdd2';\nexport const red200 = '#ef9a9a';\nexport const red300 = '#e57373';\nexport const red400 = '#ef5350';\nexport const red500 = '#f44336';\nexport const red600 = '#e53935';\nexport const red700 = '#d32f2f';\nexport const red800 = '#c62828';\nexport const red900 = '#b71c1c';\nexport const redA100 = '#ff8a80';\nexport const redA200 = '#ff5252';\nexport const redA400 = '#ff1744';\nexport const redA700 = '#d50000';\n\nexport const pink50 = '#fce4ec';\nexport const pink100 = '#f8bbd0';\nexport const pink200 = '#f48fb1';\nexport const pink300 = '#f06292';\nexport const pink400 = '#ec407a';\nexport const pink500 = '#e91e63';\nexport const pink600 = '#d81b60';\nexport const pink700 = '#c2185b';\nexport const pink800 = '#ad1457';\nexport const pink900 = '#880e4f';\nexport const pinkA100 = '#ff80ab';\nexport const pinkA200 = '#ff4081';\nexport const pinkA400 = '#f50057';\nexport const pinkA700 = '#c51162';\n\nexport const purple50 = '#f3e5f5';\nexport const purple100 = '#e1bee7';\nexport const purple200 = '#ce93d8';\nexport const purple300 = '#ba68c8';\nexport const purple400 = '#ab47bc';\nexport const purple500 = '#9c27b0';\nexport const purple600 = '#8e24aa';\nexport const purple700 = '#7b1fa2';\nexport const purple800 = '#6a1b9a';\nexport const purple900 = '#4a148c';\nexport const purpleA100 = '#ea80fc';\nexport const purpleA200 = '#e040fb';\nexport const purpleA400 = '#d500f9';\nexport const purpleA700 = '#aa00ff';\n\nexport const deepPurple50 = '#ede7f6';\nexport const deepPurple100 = '#d1c4e9';\nexport const deepPurple200 = '#b39ddb';\nexport const deepPurple300 = '#9575cd';\nexport const deepPurple400 = '#7e57c2';\nexport const deepPurple500 = '#673ab7';\nexport const deepPurple600 = '#5e35b1';\nexport const deepPurple700 = '#512da8';\nexport const deepPurple800 = '#4527a0';\nexport const deepPurple900 = '#311b92';\nexport const deepPurpleA100 = '#b388ff';\nexport const deepPurpleA200 = '#7c4dff';\nexport const deepPurpleA400 = '#651fff';\nexport const deepPurpleA700 = '#6200ea';\n\nexport const indigo50 = '#e8eaf6';\nexport const indigo100 = '#c5cae9';\nexport const indigo200 = '#9fa8da';\nexport const indigo300 = '#7986cb';\nexport const indigo400 = '#5c6bc0';\nexport const indigo500 = '#3f51b5';\nexport const indigo600 = '#3949ab';\nexport const indigo700 = '#303f9f';\nexport const indigo800 = '#283593';\nexport const indigo900 = '#1a237e';\nexport const indigoA100 = '#8c9eff';\nexport const indigoA200 = '#536dfe';\nexport const indigoA400 = '#3d5afe';\nexport const indigoA700 = '#304ffe';\n\nexport const blue50 = '#e3f2fd';\nexport const blue100 = '#bbdefb';\nexport const blue200 = '#90caf9';\nexport const blue300 = '#64b5f6';\nexport const blue400 = '#42a5f5';\nexport const blue500 = '#2196f3';\nexport const blue600 = '#1e88e5';\nexport const blue700 = '#1976d2';\nexport const blue800 = '#1565c0';\nexport const blue900 = '#0d47a1';\nexport const blueA100 = '#82b1ff';\nexport const blueA200 = '#448aff';\nexport const blueA400 = '#2979ff';\nexport const blueA700 = '#2962ff';\n\nexport const lightBlue50 = '#e1f5fe';\nexport const lightBlue100 = '#b3e5fc';\nexport const lightBlue200 = '#81d4fa';\nexport const lightBlue300 = '#4fc3f7';\nexport const lightBlue400 = '#29b6f6';\nexport const lightBlue500 = '#03a9f4';\nexport const lightBlue600 = '#039be5';\nexport const lightBlue700 = '#0288d1';\nexport const lightBlue800 = '#0277bd';\nexport const lightBlue900 = '#01579b';\nexport const lightBlueA100 = '#80d8ff';\nexport const lightBlueA200 = '#40c4ff';\nexport const lightBlueA400 = '#00b0ff';\nexport const lightBlueA700 = '#0091ea';\n\nexport const cyan50 = '#e0f7fa';\nexport const cyan100 = '#b2ebf2';\nexport const cyan200 = '#80deea';\nexport const cyan300 = '#4dd0e1';\nexport const cyan400 = '#26c6da';\nexport const cyan500 = '#00bcd4';\nexport const cyan600 = '#00acc1';\nexport const cyan700 = '#0097a7';\nexport const cyan800 = '#00838f';\nexport const cyan900 = '#006064';\nexport const cyanA100 = '#84ffff';\nexport const cyanA200 = '#18ffff';\nexport const cyanA400 = '#00e5ff';\nexport const cyanA700 = '#00b8d4';\n\nexport const teal50 = '#e0f2f1';\nexport const teal100 = '#b2dfdb';\nexport const teal200 = '#80cbc4';\nexport const teal300 = '#4db6ac';\nexport const teal400 = '#26a69a';\nexport const teal500 = '#009688';\nexport const teal600 = '#00897b';\nexport const teal700 = '#00796b';\nexport const teal800 = '#00695c';\nexport const teal900 = '#004d40';\nexport const tealA100 = '#a7ffeb';\nexport const tealA200 = '#64ffda';\nexport const tealA400 = '#1de9b6';\nexport const tealA700 = '#00bfa5';\n\nexport const green50 = '#e8f5e9';\nexport const green100 = '#c8e6c9';\nexport const green200 = '#a5d6a7';\nexport const green300 = '#81c784';\nexport const green400 = '#66bb6a';\nexport const green500 = '#4caf50';\nexport const green600 = '#43a047';\nexport const green700 = '#388e3c';\nexport const green800 = '#2e7d32';\nexport const green900 = '#1b5e20';\nexport const greenA100 = '#b9f6ca';\nexport const greenA200 = '#69f0ae';\nexport const greenA400 = '#00e676';\nexport const greenA700 = '#00c853';\n\nexport const lightGreen50 = '#f1f8e9';\nexport const lightGreen100 = '#dcedc8';\nexport const lightGreen200 = '#c5e1a5';\nexport const lightGreen300 = '#aed581';\nexport const lightGreen400 = '#9ccc65';\nexport const lightGreen500 = '#8bc34a';\nexport const lightGreen600 = '#7cb342';\nexport const lightGreen700 = '#689f38';\nexport const lightGreen800 = '#558b2f';\nexport const lightGreen900 = '#33691e';\nexport const lightGreenA100 = '#ccff90';\nexport const lightGreenA200 = '#b2ff59';\nexport const lightGreenA400 = '#76ff03';\nexport const lightGreenA700 = '#64dd17';\n\nexport const lime50 = '#f9fbe7';\nexport const lime100 = '#f0f4c3';\nexport const lime200 = '#e6ee9c';\nexport const lime300 = '#dce775';\nexport const lime400 = '#d4e157';\nexport const lime500 = '#cddc39';\nexport const lime600 = '#c0ca33';\nexport const lime700 = '#afb42b';\nexport const lime800 = '#9e9d24';\nexport const lime900 = '#827717';\nexport const limeA100 = '#f4ff81';\nexport const limeA200 = '#eeff41';\nexport const limeA400 = '#c6ff00';\nexport const limeA700 = '#aeea00';\n\nexport const yellow50 = '#fffde7';\nexport const yellow100 = '#fff9c4';\nexport const yellow200 = '#fff59d';\nexport const yellow300 = '#fff176';\nexport const yellow400 = '#ffee58';\nexport const yellow500 = '#ffeb3b';\nexport const yellow600 = '#fdd835';\nexport const yellow700 = '#fbc02d';\nexport const yellow800 = '#f9a825';\nexport const yellow900 = '#f57f17';\nexport const yellowA100 = '#ffff8d';\nexport const yellowA200 = '#ffff00';\nexport const yellowA400 = '#ffea00';\nexport const yellowA700 = '#ffd600';\n\nexport const amber50 = '#fff8e1';\nexport const amber100 = '#ffecb3';\nexport const amber200 = '#ffe082';\nexport const amber300 = '#ffd54f';\nexport const amber400 = '#ffca28';\nexport const amber500 = '#ffc107';\nexport const amber600 = '#ffb300';\nexport const amber700 = '#ffa000';\nexport const amber800 = '#ff8f00';\nexport const amber900 = '#ff6f00';\nexport const amberA100 = '#ffe57f';\nexport const amberA200 = '#ffd740';\nexport const amberA400 = '#ffc400';\nexport const amberA700 = '#ffab00';\n\nexport const orange50 = '#fff3e0';\nexport const orange100 = '#ffe0b2';\nexport const orange200 = '#ffcc80';\nexport const orange300 = '#ffb74d';\nexport const orange400 = '#ffa726';\nexport const orange500 = '#ff9800';\nexport const orange600 = '#fb8c00';\nexport const orange700 = '#f57c00';\nexport const orange800 = '#ef6c00';\nexport const orange900 = '#e65100';\nexport const orangeA100 = '#ffd180';\nexport const orangeA200 = '#ffab40';\nexport const orangeA400 = '#ff9100';\nexport const orangeA700 = '#ff6d00';\n\nexport const deepOrange50 = '#fbe9e7';\nexport const deepOrange100 = '#ffccbc';\nexport const deepOrange200 = '#ffab91';\nexport const deepOrange300 = '#ff8a65';\nexport const deepOrange400 = '#ff7043';\nexport const deepOrange500 = '#ff5722';\nexport const deepOrange600 = '#f4511e';\nexport const deepOrange700 = '#e64a19';\nexport const deepOrange800 = '#d84315';\nexport const deepOrange900 = '#bf360c';\nexport const deepOrangeA100 = '#ff9e80';\nexport const deepOrangeA200 = '#ff6e40';\nexport const deepOrangeA400 = '#ff3d00';\nexport const deepOrangeA700 = '#dd2c00';\n\nexport const brown50 = '#efebe9';\nexport const brown100 = '#d7ccc8';\nexport const brown200 = '#bcaaa4';\nexport const brown300 = '#a1887f';\nexport const brown400 = '#8d6e63';\nexport const brown500 = '#795548';\nexport const brown600 = '#6d4c41';\nexport const brown700 = '#5d4037';\nexport const brown800 = '#4e342e';\nexport const brown900 = '#3e2723';\n\nexport const blueGrey50 = '#eceff1';\nexport const blueGrey100 = '#cfd8dc';\nexport const blueGrey200 = '#b0bec5';\nexport const blueGrey300 = '#90a4ae';\nexport const blueGrey400 = '#78909c';\nexport const blueGrey500 = '#607d8b';\nexport const blueGrey600 = '#546e7a';\nexport const blueGrey700 = '#455a64';\nexport const blueGrey800 = '#37474f';\nexport const blueGrey900 = '#263238';\n\nexport const grey50 = '#fafafa';\nexport const grey100 = '#f5f5f5';\nexport const grey200 = '#eeeeee';\nexport const grey300 = '#e0e0e0';\nexport const grey400 = '#bdbdbd';\nexport const grey500 = '#9e9e9e';\nexport const grey600 = '#757575';\nexport const grey700 = '#616161';\nexport const grey800 = '#424242';\nexport const grey900 = '#212121';\n\nexport const black = '#000000';\nexport const white = '#ffffff';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.WebOrientation=exports.WebOrientationLock=exports.SizeClassIOS=exports.OrientationLock=exports.Orientation=void 0;var Orientation;exports.Orientation=Orientation;(function(Orientation){Orientation[\"UNKNOWN\"]=\"UNKNOWN\";Orientation[\"PORTRAIT\"]=\"PORTRAIT\";Orientation[\"PORTRAIT_UP\"]=\"PORTRAIT_UP\";Orientation[\"PORTRAIT_DOWN\"]=\"PORTRAIT_DOWN\";Orientation[\"LANDSCAPE\"]=\"LANDSCAPE\";Orientation[\"LANDSCAPE_LEFT\"]=\"LANDSCAPE_LEFT\";Orientation[\"LANDSCAPE_RIGHT\"]=\"LANDSCAPE_RIGHT\";})(Orientation||(exports.Orientation=Orientation={}));var OrientationLock;exports.OrientationLock=OrientationLock;(function(OrientationLock){OrientationLock[\"DEFAULT\"]=\"DEFAULT\";OrientationLock[\"ALL\"]=\"ALL\";OrientationLock[\"PORTRAIT\"]=\"PORTRAIT\";OrientationLock[\"PORTRAIT_UP\"]=\"PORTRAIT_UP\";OrientationLock[\"PORTRAIT_DOWN\"]=\"PORTRAIT_DOWN\";OrientationLock[\"LANDSCAPE\"]=\"LANDSCAPE\";OrientationLock[\"LANDSCAPE_LEFT\"]=\"LANDSCAPE_LEFT\";OrientationLock[\"LANDSCAPE_RIGHT\"]=\"LANDSCAPE_RIGHT\";OrientationLock[\"OTHER\"]=\"OTHER\";OrientationLock[\"UNKNOWN\"]=\"UNKNOWN\";OrientationLock[\"ALL_BUT_UPSIDE_DOWN\"]=\"ALL_BUT_UPSIDE_DOWN\";})(OrientationLock||(exports.OrientationLock=OrientationLock={}));var SizeClassIOS;exports.SizeClassIOS=SizeClassIOS;(function(SizeClassIOS){SizeClassIOS[\"REGULAR\"]=\"REGULAR\";SizeClassIOS[\"COMPACT\"]=\"COMPACT\";SizeClassIOS[\"UNKNOWN\"]=\"UNKNOWN\";})(SizeClassIOS||(exports.SizeClassIOS=SizeClassIOS={}));var WebOrientationLock;exports.WebOrientationLock=WebOrientationLock;(function(WebOrientationLock){WebOrientationLock[\"PORTRAIT_PRIMARY\"]=\"portrait-primary\";WebOrientationLock[\"PORTRAIT_SECONDARY\"]=\"portrait-secondary\";WebOrientationLock[\"PORTRAIT\"]=\"portrait\";WebOrientationLock[\"LANDSCAPE_PRIMARY\"]=\"landscape-primary\";WebOrientationLock[\"LANDSCAPE_SECONDARY\"]=\"landscape-secondary\";WebOrientationLock[\"LANDSCAPE\"]=\"landscape\";WebOrientationLock[\"ANY\"]=\"any\";WebOrientationLock[\"NATURAL\"]=\"natural\";WebOrientationLock[\"UNKNOWN\"]=\"unknown\";})(WebOrientationLock||(exports.WebOrientationLock=WebOrientationLock={}));var WebOrientation;exports.WebOrientation=WebOrientation;(function(WebOrientation){WebOrientation[\"PORTRAIT_PRIMARY\"]=\"portrait-primary\";WebOrientation[\"PORTRAIT_SECONDARY\"]=\"portrait-secondary\";WebOrientation[\"LANDSCAPE_PRIMARY\"]=\"landscape-primary\";WebOrientation[\"LANDSCAPE_SECONDARY\"]=\"landscape-secondary\";})(WebOrientation||(exports.WebOrientation=WebOrientation={}));","map":{"version":3,"sources":["../../src/ScreenOrientation/ScreenOrientation.types.ts"],"names":[],"mappings":"mLAAA,GAAY,CAAA,WAAZ,C,gCAAA,CAAA,SAAY,WAAZ,CAAuB,CACrB,WAAA,CAAA,SAAA,CAAA,CAAA,SAAA,CACA,WAAA,CAAA,UAAA,CAAA,CAAA,UAAA,CACA,WAAA,CAAA,aAAA,CAAA,CAAA,aAAA,CACA,WAAA,CAAA,eAAA,CAAA,CAAA,eAAA,CACA,WAAA,CAAA,WAAA,CAAA,CAAA,WAAA,CACA,WAAA,CAAA,gBAAA,CAAA,CAAA,gBAAA,CACA,WAAA,CAAA,iBAAA,CAAA,CAAA,iBAAA,CACD,CARD,EAAY,WAAW,uBAAX,WAAW,CAAA,EAAA,CAAvB,EAUA,GAAY,CAAA,eAAZ,C,wCAAA,CAAA,SAAY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AVD,EAAY,kBAAkB,8BAAlB,kBAAkB,CAAA,EAAA,CAA9B,EAYA,GAAY,CAAA,cAAZ,C,sCAAA,CAAA,SAAY,cAAZ,CAA0B,CACxB,cAAA,CAAA,kBAAA,CAAA,CAAA,kBAAA,CACA,cAAA,CAAA,oBAAA,CAAA,CAAA,oBAAA,CACA,cAAA,CAAA,mBAAA,CAAA,CAAA,mBAAA,CACA,cAAA,CAAA,qBAAA,CAAA,CAAA,qBAAA,CACD,CALD,EAAY,cAAc,0BAAd,cAAc,CAAA,EAAA,CAA1B","sourcesContent":["export enum Orientation {\n UNKNOWN = 'UNKNOWN',\n PORTRAIT = 'PORTRAIT',\n PORTRAIT_UP = 'PORTRAIT_UP',\n PORTRAIT_DOWN = 'PORTRAIT_DOWN',\n LANDSCAPE = 'LANDSCAPE',\n LANDSCAPE_LEFT = 'LANDSCAPE_LEFT',\n LANDSCAPE_RIGHT = 'LANDSCAPE_RIGHT',\n}\n\nexport enum OrientationLock {\n DEFAULT = 'DEFAULT',\n ALL = 'ALL',\n PORTRAIT = 'PORTRAIT',\n PORTRAIT_UP = 'PORTRAIT_UP',\n PORTRAIT_DOWN = 'PORTRAIT_DOWN',\n LANDSCAPE = 'LANDSCAPE',\n LANDSCAPE_LEFT = 'LANDSCAPE_LEFT',\n LANDSCAPE_RIGHT = 'LANDSCAPE_RIGHT',\n OTHER = 'OTHER',\n UNKNOWN = 'UNKNOWN',\n ALL_BUT_UPSIDE_DOWN = 'ALL_BUT_UPSIDE_DOWN', // deprecated\n}\n\nexport enum SizeClassIOS {\n REGULAR = 'REGULAR',\n COMPACT = 'COMPACT',\n UNKNOWN = 'UNKNOWN',\n}\n\nexport enum WebOrientationLock {\n PORTRAIT_PRIMARY = 'portrait-primary',\n PORTRAIT_SECONDARY = 'portrait-secondary',\n PORTRAIT = 'portrait',\n LANDSCAPE_PRIMARY = 'landscape-primary',\n LANDSCAPE_SECONDARY = 'landscape-secondary',\n LANDSCAPE = 'landscape',\n ANY = 'any',\n NATURAL = 'natural',\n UNKNOWN = 'unknown',\n}\n\nexport enum WebOrientation {\n PORTRAIT_PRIMARY = 'portrait-primary',\n PORTRAIT_SECONDARY = 'portrait-secondary',\n LANDSCAPE_PRIMARY = 'landscape-primary',\n LANDSCAPE_SECONDARY = 'landscape-secondary',\n}\n\nexport type OrientationInfo = {\n orientation: Orientation;\n verticalSizeClass?: SizeClassIOS;\n horizontalSizeClass?: SizeClassIOS;\n};\n\nexport type PlatformOrientationInfo = {\n screenOrientationConstantAndroid?: number;\n screenOrientationArrayIOS?: Orientation[];\n screenOrientationLockWeb?: WebOrientationLock;\n};\n\nexport type OrientationChangeListener = (event: OrientationChangeEvent) => void;\n\nexport type OrientationChangeEvent = {\n orientationLock: OrientationLock;\n orientationInfo: OrientationInfo;\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _AntDesign=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/AntDesign.ttf\"));var _AntDesign2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/AntDesign.json\"));var _default=(0,_createIconSet.default)(_AntDesign2.default,'anticon',_AntDesign.default);exports.default=_default;","map":{"version":3,"sources":["../src/AntDesign.ts"],"names":[],"mappings":"mKAAA,sEACA,yGACA,+G,aAEe,2BAAc,mBAAd,CAAwB,SAAxB,CAAmC,kBAAnC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/AntDesign.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/AntDesign.json';\n\nexport default createIconSet(glyphMap, 'anticon', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"Easing\",{enumerable:true,get:function get(){return _Easing.default;}});Object.defineProperty(exports,\"Transition\",{enumerable:true,get:function get(){return _Transitioning.Transition;}});Object.defineProperty(exports,\"Transitioning\",{enumerable:true,get:function get(){return _Transitioning.Transitioning;}});Object.defineProperty(exports,\"createTransitioningComponent\",{enumerable:true,get:function get(){return _Transitioning.createTransitioningComponent;}});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _Image=_interopRequireDefault(require(\"react-native-web/dist/exports/Image\"));var _ScrollView=_interopRequireDefault(require(\"react-native-web/dist/exports/ScrollView\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Easing=_interopRequireDefault(require(\"./Easing\"));var _AnimatedClock=_interopRequireDefault(require(\"./core/AnimatedClock\"));var _AnimatedValue=_interopRequireDefault(require(\"./core/AnimatedValue\"));var _AnimatedNode=_interopRequireDefault(require(\"./core/AnimatedNode\"));var _AnimatedCode=_interopRequireDefault(require(\"./core/AnimatedCode\"));var base=_interopRequireWildcard(require(\"./base\"));var derived=_interopRequireWildcard(require(\"./derived\"));var _createAnimatedComponent=_interopRequireDefault(require(\"./createAnimatedComponent\"));var _decay=_interopRequireDefault(require(\"./animations/decay\"));var _timing=_interopRequireDefault(require(\"./animations/timing\"));var _spring=_interopRequireDefault(require(\"./animations/spring\"));var _TimingAnimation=_interopRequireDefault(require(\"./animations/TimingAnimation\"));var _SpringAnimation=_interopRequireDefault(require(\"./animations/SpringAnimation\"));var _DecayAnimation=_interopRequireDefault(require(\"./animations/DecayAnimation\"));var _ConfigHelper=require(\"./ConfigHelper\");var _backwardCompatibleAnimWrapper=_interopRequireDefault(require(\"./animations/backwardCompatibleAnimWrapper\"));var _Transitioning=require(\"./Transitioning\");var _SpringUtils=_interopRequireDefault(require(\"./animations/SpringUtils\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var Animated=_objectSpread({View:(0,_createAnimatedComponent.default)(_View.default),Text:(0,_createAnimatedComponent.default)(_Text.default),Image:(0,_createAnimatedComponent.default)(_Image.default),ScrollView:(0,_createAnimatedComponent.default)(_ScrollView.default),Code:_AnimatedCode.default,createAnimatedComponent:_createAnimatedComponent.default,Clock:_AnimatedClock.default,Value:_AnimatedValue.default,Node:_AnimatedNode.default},base,{},derived,{decay:(0,_backwardCompatibleAnimWrapper.default)(_decay.default,_DecayAnimation.default),timing:(0,_backwardCompatibleAnimWrapper.default)(_timing.default,_TimingAnimation.default),spring:(0,_backwardCompatibleAnimWrapper.default)(_spring.default,_SpringAnimation.default),SpringUtils:_SpringUtils.default,addWhitelistedNativeProps:_ConfigHelper.addWhitelistedNativeProps,addWhitelistedUIProps:_ConfigHelper.addWhitelistedUIProps});var _default=Animated;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/Animated.js"],"names":["Animated","View","Text","Image","ScrollView","Code","AnimatedCode","createAnimatedComponent","Clock","AnimatedClock","Value","AnimatedValue","Node","AnimatedNode","base","derived","decay","DecayAnimation","timing","TimingAnimation","spring","SpringAnimation","SpringUtils","addWhitelistedNativeProps","addWhitelistedUIProps"],"mappings":"gpCACA,wDACA,2EACA,2EACA,yEACA,yEACA,oDACA,0DACA,0FACA,iEACA,mEACA,mEACA,qFACA,qFACA,mFACA,4CAIA,iHACA,8CAKA,6E,yxBAEA,GAAMA,CAAAA,QAAQ,gBAEZC,IAAI,CAAE,qCAAwBA,aAAxB,CAFM,CAGZC,IAAI,CAAE,qCAAwBA,aAAxB,CAHM,CAIZC,KAAK,CAAE,qCAAwBA,cAAxB,CAJK,CAKZC,UAAU,CAAE,qCAAwBA,mBAAxB,CALA,CAMZC,IAAI,CAAEC,qBANM,CAOZC,uBAAuB,CAAvBA,gCAPY,CAUZC,KAAK,CAAEC,sBAVK,CAWZC,KAAK,CAAEC,sBAXK,CAYZC,IAAI,CAAEC,qBAZM,EAeTC,IAfS,IAgBTC,OAhBS,EAmBZC,KAAK,CAAE,2CAA8BA,cAA9B,CAAqCC,uBAArC,CAnBK,CAoBZC,MAAM,CAAE,2CAA8BA,eAA9B,CAAsCC,wBAAtC,CApBI,CAqBZC,MAAM,CAAE,2CAA8BA,eAA9B,CAAsCC,wBAAtC,CArBI,CAsBZC,WAAW,CAAXA,oBAtBY,CAyBZC,yBAAyB,CAAzBA,uCAzBY,CA0BZC,qBAAqB,CAArBA,mCA1BY,EAAd,C,aA6BexB,Q","sourcesContent":["import { Image, ScrollView, Text, View } from 'react-native';\nimport Easing from './Easing';\nimport AnimatedClock from './core/AnimatedClock';\nimport AnimatedValue from './core/AnimatedValue';\nimport AnimatedNode from './core/AnimatedNode';\nimport AnimatedCode from './core/AnimatedCode';\nimport * as base from './base';\nimport * as derived from './derived';\nimport createAnimatedComponent from './createAnimatedComponent';\nimport decay from './animations/decay';\nimport timing from './animations/timing';\nimport spring from './animations/spring';\nimport TimingAnimation from './animations/TimingAnimation';\nimport SpringAnimation from './animations/SpringAnimation';\nimport DecayAnimation from './animations/DecayAnimation';\nimport {\n addWhitelistedNativeProps,\n addWhitelistedUIProps,\n} from './ConfigHelper';\nimport backwardCompatibleAnimWrapper from './animations/backwardCompatibleAnimWrapper';\nimport {\n Transition,\n Transitioning,\n createTransitioningComponent,\n} from './Transitioning';\nimport SpringUtils from './animations/SpringUtils';\n\nconst Animated = {\n // components\n View: createAnimatedComponent(View),\n Text: createAnimatedComponent(Text),\n Image: createAnimatedComponent(Image),\n ScrollView: createAnimatedComponent(ScrollView),\n Code: AnimatedCode,\n createAnimatedComponent,\n\n // classes\n Clock: AnimatedClock,\n Value: AnimatedValue,\n Node: AnimatedNode,\n\n // operations\n ...base,\n ...derived,\n\n // animations\n decay: backwardCompatibleAnimWrapper(decay, DecayAnimation),\n timing: backwardCompatibleAnimWrapper(timing, TimingAnimation),\n spring: backwardCompatibleAnimWrapper(spring, SpringAnimation),\n SpringUtils,\n\n // configuration\n addWhitelistedNativeProps,\n addWhitelistedUIProps,\n};\n\nexport default Animated;\n\nexport { Easing, Transitioning, Transition, createTransitioningComponent };\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _reactDom=require(\"react-dom\");var _default=_reactDom.unmountComponentAtNode;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/unmountComponentAtNode/index.js"],"names":["unmountComponentAtNode"],"mappings":"gFAQA,mC,aACeA,gC","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { unmountComponentAtNode } from 'react-dom';\nexport default unmountComponentAtNode;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function createStrictShapeTypeChecker(shapeTypes){function checkType(isRequired,props,propName,componentName,location){if(!props[propName]){if(isRequired){(0,_invariant.default)(false,\"Required object `\"+propName+\"` was not specified in `\"+componentName+\"`.\");}return;}var propValue=props[propName];var propType=typeof propValue;var locationName=location||'(unknown)';if(propType!=='object'){(0,_invariant.default)(false,\"Invalid \"+locationName+\" `\"+propName+\"` of type `\"+propType+\"` \"+(\"supplied to `\"+componentName+\"`, expected `object`.\"));}var allKeys=_objectSpread({},props[propName],shapeTypes);for(var _len=arguments.length,rest=new Array(_len>5?_len-5:0),_key=5;_key<_len;_key++){rest[_key-5]=arguments[_key];}for(var _key2 in allKeys){var checker=shapeTypes[_key2];if(!checker){(0,_invariant.default)(false,\"Invalid props.\"+propName+\" key `\"+_key2+\"` supplied to `\"+componentName+\"`.\"+'\\nBad object: '+JSON.stringify(props[propName],null,' ')+'\\nValid keys: '+JSON.stringify(Object.keys(shapeTypes),null,' '));}var error=checker.apply(void 0,[propValue,_key2,componentName,location].concat(rest));if(error){(0,_invariant.default)(false,error.message+'\\nBad object: '+JSON.stringify(props[propName],null,' '));}}}function chainedCheckType(props,propName,componentName,location){for(var _len2=arguments.length,rest=new Array(_len2>4?_len2-4:0),_key3=4;_key3<_len2;_key3++){rest[_key3-4]=arguments[_key3];}return checkType.apply(void 0,[false,props,propName,componentName,location].concat(rest));}chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType;}var _default=createStrictShapeTypeChecker;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/createStrictShapeTypeChecker/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","createStrictShapeTypeChecker","shapeTypes","checkType","isRequired","props","propName","componentName","location","propValue","propType","locationName","allKeys","_len","rest","Array","_key","_key2","checker","JSON","stringify","error","apply","message","chainedCheckType","_len2","_key3","bind"],"mappings":"mKAYA,qEAZA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7E,EAAiF,CAAC,MAAOf,CAAAA,MAAP,CAAgB,CAEje,QAASgB,CAAAA,eAAT,CAAyBC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BnB,KAA1B,CAAiCC,QAAjC,CAA2CC,aAA3C,CAA0DC,QAA1D,CAAoE,CAClE,IAAK,GAAIiB,CAAAA,KAAK,CAAG5C,SAAS,CAACC,MAAtB,CAA8BgC,IAAI,CAAG,GAAIC,CAAAA,KAAJ,CAAUU,KAAK,CAAG,CAAR,CAAYA,KAAK,CAAG,CAApB,CAAwB,CAAlC,CAArC,CAA2EC,KAAK,CAAG,CAAxF,CAA2FA,KAAK,CAAGD,KAAnG,CAA0GC,KAAK,EAA/G,CAAmH,CACjHZ,IAAI,CAACY,KAAK,CAAG,CAAT,CAAJ,CAAkB7C,SAAS,CAAC6C,KAAD,CAA3B,CACD,CAED,MAAOvB,CAAAA,SAAS,CAACmB,KAAV,CAAgB,IAAK,EAArB,CAAwB,CAAC,KAAD,CAAQjB,KAAR,CAAeC,QAAf,CAAyBC,aAAzB,CAAwCC,QAAxC,EAAkDpB,MAAlD,CAAyD0B,IAAzD,CAAxB,CAAP,CACD,CAEDU,gBAAgB,CAACpB,UAAjB,CAA8BD,SAAS,CAACwB,IAAV,CAAe,IAAf,CAAqB,IAArB,CAA9B,CACA,MAAOH,CAAAA,gBAAP,CACD,C,aAEcvB,4B","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\n\nfunction createStrictShapeTypeChecker(shapeTypes) {\n function checkType(isRequired, props, propName, componentName, location) {\n if (!props[propName]) {\n if (isRequired) {\n invariant(false, \"Required object `\" + propName + \"` was not specified in `\" + componentName + \"`.\");\n }\n\n return;\n }\n\n var propValue = props[propName];\n var propType = typeof propValue;\n var locationName = location || '(unknown)';\n\n if (propType !== 'object') {\n invariant(false, \"Invalid \" + locationName + \" `\" + propName + \"` of type `\" + propType + \"` \" + (\"supplied to `\" + componentName + \"`, expected `object`.\"));\n } // We need to check all keys in case some are required but missing from\n // props.\n\n\n var allKeys = _objectSpread({}, props[propName], shapeTypes);\n\n for (var _len = arguments.length, rest = new Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {\n rest[_key - 5] = arguments[_key];\n }\n\n for (var _key2 in allKeys) {\n var checker = shapeTypes[_key2];\n\n if (!checker) {\n invariant(false, \"Invalid props.\" + propName + \" key `\" + _key2 + \"` supplied to `\" + componentName + \"`.\" + '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));\n }\n\n var error = checker.apply(void 0, [propValue, _key2, componentName, location].concat(rest));\n\n if (error) {\n invariant(false, error.message + '\\nBad object: ' + JSON.stringify(props[propName], null, ' '));\n }\n }\n }\n\n function chainedCheckType(props, propName, componentName, location) {\n for (var _len2 = arguments.length, rest = new Array(_len2 > 4 ? _len2 - 4 : 0), _key3 = 4; _key3 < _len2; _key3++) {\n rest[_key3 - 4] = arguments[_key3];\n }\n\n return checkType.apply(void 0, [false, props, propName, componentName, location].concat(rest));\n }\n\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n}\n\nexport default createStrictShapeTypeChecker;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedDebug=createAnimatedDebug;var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _val=require(\"../val\");var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedBlock=require(\"./AnimatedBlock\");var _AnimatedCall=require(\"./AnimatedCall\");var AnimatedDebug=function(_AnimatedNode){(0,_inherits2.default)(AnimatedDebug,_AnimatedNode);function AnimatedDebug(message,value){var _this;(0,_classCallCheck2.default)(this,AnimatedDebug);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedDebug).call(this,{type:'debug',message:message,value:value.__nodeID},[value]));_this._message=message;_this._value=value;return _this;}(0,_createClass2.default)(AnimatedDebug,[{key:\"__onEvaluate\",value:function __onEvaluate(){var value=(0,_val.val)(this._value);console.log(this._message,value);return value;}}]);return AnimatedDebug;}(_AnimatedNode2.default);function createAnimatedDebug(message,value){if(__DEV__){var runningInRemoteDebugger=typeof atob!=='undefined';var runningInExpoShell=global.Expo&&global.Expo.Constants.appOwnership!=='standalone';if(runningInRemoteDebugger||runningInExpoShell){return(0,_AnimatedBlock.createAnimatedBlock)([(0,_AnimatedCall.createAnimatedCall)([value],function(_ref){var _ref2=(0,_slicedToArray2.default)(_ref,1),a=_ref2[0];return console.log(message+\" \"+a);}),value]);}else{return new AnimatedDebug(message,(0,_AnimatedBlock.adapt)(value));}}return value;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedDebug.js"],"names":["AnimatedDebug","message","value","type","__nodeID","_message","_value","console","log","AnimatedNode","createAnimatedDebug","__DEV__","runningInRemoteDebugger","atob","runningInExpoShell","global","Expo","Constants","appOwnership","a"],"mappings":"kvBAAA,2BACA,qEACA,8CACA,4C,GAEMA,CAAAA,a,6EAIJ,uBAAYC,OAAZ,CAAqBC,KAArB,CAA4B,4DAC1B,yGAAM,CAAEC,IAAI,CAAE,OAAR,CAAiBF,OAAO,CAAPA,OAAjB,CAA0BC,KAAK,CAAEA,KAAK,CAACE,QAAvC,CAAN,CAAyD,CAACF,KAAD,CAAzD,GACA,MAAKG,QAAL,CAAgBJ,OAAhB,CACA,MAAKK,MAAL,CAAcJ,KAAd,CAH0B,aAI3B,C,0FAEc,CACb,GAAMA,CAAAA,KAAK,CAAG,aAAI,KAAKI,MAAT,CAAd,CACAC,OAAO,CAACC,GAAR,CAAY,KAAKH,QAAjB,CAA2BH,KAA3B,EACA,MAAOA,CAAAA,KAAP,CACD,C,2BAdyBO,sB,EAiBrB,QAASC,CAAAA,mBAAT,CAA6BT,OAA7B,CAAsCC,KAAtC,CAA6C,CAClD,GAAIS,OAAJ,CAAa,CACX,GAAMC,CAAAA,uBAAuB,CAAG,MAAOC,CAAAA,IAAP,GAAgB,WAAhD,CAIA,GAAMC,CAAAA,kBAAkB,CACtBC,MAAM,CAACC,IAAP,EAAeD,MAAM,CAACC,IAAP,CAAYC,SAAZ,CAAsBC,YAAtB,GAAuC,YADxD,CAGA,GAAIN,uBAAuB,EAAIE,kBAA/B,CAAmD,CAGjD,MAAO,uCAAM,CACX,qCAAK,CAACZ,KAAD,CAAL,CAAc,6DAAEiB,CAAF,gBAASZ,CAAAA,OAAO,CAACC,GAAR,CAAeP,OAAf,KAA0BkB,CAA1B,CAAT,EAAd,CADW,CAEXjB,KAFW,CAAN,CAAP,CAID,CAPD,IAOO,CACL,MAAO,IAAIF,CAAAA,aAAJ,CAAkBC,OAAlB,CAA2B,yBAAMC,KAAN,CAA3B,CAAP,CACD,CACF,CAED,MAAOA,CAAAA,KAAP,CACD","sourcesContent":["import { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\nimport { createAnimatedBlock as block, adapt } from './AnimatedBlock';\nimport { createAnimatedCall as call } from './AnimatedCall';\n\nclass AnimatedDebug extends AnimatedNode {\n _message;\n _value;\n\n constructor(message, value) {\n super({ type: 'debug', message, value: value.__nodeID }, [value]);\n this._message = message;\n this._value = value;\n }\n\n __onEvaluate() {\n const value = val(this._value);\n console.log(this._message, value);\n return value;\n }\n}\n\nexport function createAnimatedDebug(message, value) {\n if (__DEV__) {\n const runningInRemoteDebugger = typeof atob !== 'undefined';\n // hack to detect if app is running in remote debugger\n // https://stackoverflow.com/questions/39022216\n\n const runningInExpoShell =\n global.Expo && global.Expo.Constants.appOwnership !== 'standalone';\n\n if (runningInRemoteDebugger || runningInExpoShell) {\n // When running in expo or remote debugger we use JS console.log to output variables\n // otherwise we output to the native console using native debug node\n return block([\n call([value], ([a]) => console.log(`${message} ${a}`)),\n value,\n ]);\n } else {\n return new AnimatedDebug(message, adapt(value));\n }\n }\n // Debugging is disabled in PROD\n return value;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=withDimensions;exports.isOrientationLandscape=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Dimensions=_interopRequireDefault(require(\"react-native-web/dist/exports/Dimensions\"));var _hoistNonReactStatics=_interopRequireDefault(require(\"hoist-non-react-statics\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/utils/withDimensions.tsx\";var isOrientationLandscape=function isOrientationLandscape(_ref){var width=_ref.width,height=_ref.height;return width>height;};exports.isOrientationLandscape=isOrientationLandscape;function withDimensions(WrappedComponent){var _Dimensions$get=_Dimensions.default.get('window'),width=_Dimensions$get.width,height=_Dimensions$get.height;var EnhancedComponent=function(_React$Component){(0,_inherits2.default)(EnhancedComponent,_React$Component);function EnhancedComponent(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,EnhancedComponent);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(EnhancedComponent)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={dimensions:{width:width,height:height},isLandscape:isOrientationLandscape({width:width,height:height})};_this.handleOrientationChange=function(_ref2){var window=_ref2.window;var isLandscape=isOrientationLandscape(window);_this.setState({isLandscape:isLandscape});};return _this;}(0,_createClass2.default)(EnhancedComponent,[{key:\"componentDidMount\",value:function componentDidMount(){_Dimensions.default.addEventListener('change',this.handleOrientationChange);}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){_Dimensions.default.removeEventListener('change',this.handleOrientationChange);}},{key:\"render\",value:function render(){return React.createElement(WrappedComponent,(0,_extends2.default)({},this.props,this.state,{__source:{fileName:_jsxFileName,lineNumber:46}}));}}]);return EnhancedComponent;}(React.Component);EnhancedComponent.displayName=\"withDimensions(\"+WrappedComponent.displayName+\")\";return(0,_hoistNonReactStatics.default)(EnhancedComponent,WrappedComponent);}","map":{"version":3,"sources":["withDimensions.tsx"],"names":["isOrientationLandscape","width","height","Dimensions","EnhancedComponent","React","WrappedComponent","dimensions","isLandscape","window","hoistNonReactStatic"],"mappings":"g1BAAA,oD,4FAE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CAAD,CAF7B,CANmE,CAAA,KAAA,CAAA,uBAAA,CAmBjD,SAAA,KAAA,CAAwC,CAArCO,GAAAA,CAAAA,MAAqC,CAAA,KAAA,CAArCA,MAAAA,CAC3B,GAAMD,CAAAA,WAAW,CAAGR,sBAAsB,CAA1C,MAA0C,CAA1C,CACA,KAAA,CAAA,QAAA,CAAc,CAAEQ,WAAW,CAA3B,WAAc,CAAd,EArByE,CAAA,CAAA,MAAA,CAAA,KAAA,CAAA,2BAAA,iBAAA,CAAA,CAAA,CAAA,GAAA,CAAA,mBAAA,CAAA,KAAA,CAAA,QAAA,CAAA,iBAAA,EAWvD,CAClBL,oBAAAA,gBAAAA,CAAAA,QAAAA,CAAsC,KAAtCA,uBAAAA,EAZyE,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,sBAAA,CAAA,KAAA,CAAA,QAAA,CAAA,oBAAA,EAepD,CACrBA,oBAAAA,mBAAAA,CAAAA,QAAAA,CAAyC,KAAzCA,uBAAAA,EAhByE,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,KAAA,CAAA,QAAA,CAAA,MAAA,EAwBlE,CAEP,MAAO,CAAA,KAAA,CAAA,aAAA,CAAA,gBAAA,CAAA,sBAAA,EAAA,CAAsB,KAAtB,KAAA,CAAsC,KAAtC,KAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAP,EAAO,CAAA,CAAA,CAAA,CAAP,CA1ByE,CAAA,CAAA,CAAA,EAAA,MAAA,CAAA,iBAAA,CAAA,CAAA,CAG7CE,KAAK,CAHwC,SAAA,CAAA,CAGvED,iBAHuE,CAAA,WAGvEA,CAHuE,kBAIpCE,gBAAgB,CAJoB,WAAA,CAAA,GAGvEF,CA4BN,MAAOM,kCAAmB,iBAAnBA,CAAP,gBAAOA,CAAP,CACD","sourcesContent":["import * as React from 'react';\nimport { Dimensions, ScaledSize } from 'react-native';\nimport hoistNonReactStatic from 'hoist-non-react-statics';\n\ntype DimensionsType = {\n width: number;\n height: number;\n};\n\ntype InjectedProps = {\n dimensions: DimensionsType;\n isLandscape: boolean;\n};\n\nexport const isOrientationLandscape = ({ width, height }: DimensionsType) =>\n width > height;\n\nexport default function withDimensions<Props extends InjectedProps>(\n WrappedComponent: React.ComponentType<Props>\n): React.ComponentType<Pick<Props, Exclude<keyof Props, keyof InjectedProps>>> {\n const { width, height } = Dimensions.get('window');\n\n class EnhancedComponent extends React.Component {\n static displayName = `withDimensions(${WrappedComponent.displayName})`;\n\n state = {\n dimensions: { width, height },\n isLandscape: isOrientationLandscape({ width, height }),\n };\n\n componentDidMount() {\n Dimensions.addEventListener('change', this.handleOrientationChange);\n }\n\n componentWillUnmount() {\n Dimensions.removeEventListener('change', this.handleOrientationChange);\n }\n\n handleOrientationChange = ({ window }: { window: ScaledSize }) => {\n const isLandscape = isOrientationLandscape(window);\n this.setState({ isLandscape });\n };\n\n render() {\n // @ts-ignore\n return <WrappedComponent {...this.props} {...this.state} />;\n }\n }\n\n // @ts-ignore\n return hoistNonReactStatic(EnhancedComponent, WrappedComponent);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});var _AssetRegistry=require(\"react-native-web/dist/modules/AssetRegistry\");Object.keys(_AssetRegistry).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _AssetRegistry[key];}});});","map":{"version":3,"sources":["../src/AssetRegistry.web.ts"],"names":[],"mappings":"yDAAA","sourcesContent":["export * from 'react-native-web/dist/modules/AssetRegistry';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.getEmbeddedAssetUri=getEmbeddedAssetUri;function getEmbeddedAssetUri(hash,type){return null;}","map":{"version":3,"sources":["../src/EmbeddedAssets.web.ts"],"names":[],"mappings":"yGAAM,QAAU,CAAA,mBAAV,CAA8B,IAA9B,CAA4C,IAA5C,CAA+D,CAEnE,MAAO,KAAP,CACD","sourcesContent":["export function getEmbeddedAssetUri(hash: string, type: string | null): string | null {\n // noop on web\n return null;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=normalizeValueWithProperty;var _unitlessNumbers=_interopRequireDefault(require(\"../../modules/unitlessNumbers\"));var _normalizeColor=_interopRequireDefault(require(\"../../modules/normalizeColor\"));var colorProps={backgroundColor:true,borderColor:true,borderTopColor:true,borderRightColor:true,borderBottomColor:true,borderLeftColor:true,color:true,shadowColor:true,textDecorationColor:true,textShadowColor:true};function normalizeValueWithProperty(value,property){var returnValue=value;if((property==null||!_unitlessNumbers.default[property])&&typeof value==='number'){returnValue=value+\"px\";}else if(property!=null&&colorProps[property]){returnValue=(0,_normalizeColor.default)(value);}return returnValue;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/normalizeValueWithProperty.js"],"names":["colorProps","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","color","shadowColor","textDecorationColor","textShadowColor","normalizeValueWithProperty","value","property","returnValue","unitlessNumbers"],"mappings":"uLAQA,sFACA,oFACA,GAAIA,CAAAA,UAAU,CAAG,CACfC,eAAe,CAAE,IADF,CAEfC,WAAW,CAAE,IAFE,CAGfC,cAAc,CAAE,IAHD,CAIfC,gBAAgB,CAAE,IAJH,CAKfC,iBAAiB,CAAE,IALJ,CAMfC,eAAe,CAAE,IANF,CAOfC,KAAK,CAAE,IAPQ,CAQfC,WAAW,CAAE,IARE,CASfC,mBAAmB,CAAE,IATN,CAUfC,eAAe,CAAE,IAVF,CAAjB,CAYe,QAASC,CAAAA,0BAAT,CAAoCC,KAApC,CAA2CC,QAA3C,CAAqD,CAClE,GAAIC,CAAAA,WAAW,CAAGF,KAAlB,CAEA,GAAI,CAACC,QAAQ,EAAI,IAAZ,EAAoB,CAACE,yBAAgBF,QAAhB,CAAtB,GAAoD,MAAOD,CAAAA,KAAP,GAAiB,QAAzE,CAAmF,CACjFE,WAAW,CAAGF,KAAK,CAAG,IAAtB,CACD,CAFD,IAEO,IAAIC,QAAQ,EAAI,IAAZ,EAAoBb,UAAU,CAACa,QAAD,CAAlC,CAA8C,CACnDC,WAAW,CAAG,4BAAeF,KAAf,CAAd,CACD,CAED,MAAOE,CAAAA,WAAP,CACD","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport unitlessNumbers from '../../modules/unitlessNumbers';\nimport normalizeColor from '../../modules/normalizeColor';\nvar colorProps = {\n backgroundColor: true,\n borderColor: true,\n borderTopColor: true,\n borderRightColor: true,\n borderBottomColor: true,\n borderLeftColor: true,\n color: true,\n shadowColor: true,\n textDecorationColor: true,\n textShadowColor: true\n};\nexport default function normalizeValueWithProperty(value, property) {\n var returnValue = value;\n\n if ((property == null || !unitlessNumbers[property]) && typeof value === 'number') {\n returnValue = value + \"px\";\n } else if (property != null && colorProps[property]) {\n returnValue = normalizeColor(value);\n }\n\n return returnValue;\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ViewPropTypes=_interopRequireDefault(require(\"../View/ViewPropTypes\"));var _default=_ViewPropTypes.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ViewPropTypes/index.js"],"names":["ViewPropTypes"],"mappings":"mKAAA,4E,aACeA,sB","sourcesContent":["import ViewPropTypes from '../View/ViewPropTypes';\nexport default ViewPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AccessibilityUtil=_interopRequireDefault(require(\"../AccessibilityUtil\"));var _css=_interopRequireDefault(require(\"../../exports/StyleSheet/css\"));var _StyleSheet=_interopRequireDefault(require(\"../../exports/StyleSheet\"));var _styleResolver2=_interopRequireDefault(require(\"../../exports/StyleSheet/styleResolver\"));var _constants=require(\"../../exports/StyleSheet/constants\");function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}var emptyObject={};var classes=_css.default.create({reset:{backgroundColor:'transparent',color:'inherit',font:'inherit',listStyle:'none',margin:0,textAlign:'inherit',textDecoration:'none'},cursor:{cursor:'pointer'}},_constants.STYLE_GROUPS.classicReset);var pointerEventsStyles=_StyleSheet.default.create({auto:{pointerEvents:'auto'},'box-none':{pointerEvents:'box-none'},'box-only':{pointerEvents:'box-only'},none:{pointerEvents:'none'}});var defaultStyleResolver=function defaultStyleResolver(style,classList){return _styleResolver2.default.resolve(style,classList);};var createDOMProps=function createDOMProps(component,props,styleResolver){if(!styleResolver){styleResolver=defaultStyleResolver;}if(!props){props=emptyObject;}var _props=props,accessibilityLabel=_props.accessibilityLabel,accessibilityLiveRegion=_props.accessibilityLiveRegion,accessibilityStates=_props.accessibilityStates,classList=_props.classList,deprecatedClassName=_props.className,importantForAccessibility=_props.importantForAccessibility,nativeID=_props.nativeID,placeholderTextColor=_props.placeholderTextColor,pointerEvents=_props.pointerEvents,providedStyle=_props.style,testID=_props.testID,accessible=_props.accessible,accessibilityComponentType=_props.accessibilityComponentType,accessibilityRole=_props.accessibilityRole,accessibilityTraits=_props.accessibilityTraits,domProps=_objectWithoutPropertiesLoose(_props,[\"accessibilityLabel\",\"accessibilityLiveRegion\",\"accessibilityStates\",\"classList\",\"className\",\"importantForAccessibility\",\"nativeID\",\"placeholderTextColor\",\"pointerEvents\",\"style\",\"testID\",\"accessible\",\"accessibilityComponentType\",\"accessibilityRole\",\"accessibilityTraits\"]);var disabled=_AccessibilityUtil.default.isDisabled(props);var role=_AccessibilityUtil.default.propsToAriaRole(props);if(importantForAccessibility==='no-hide-descendants'){domProps['aria-hidden']=true;}if(accessibilityLabel&&accessibilityLabel.constructor===String){domProps['aria-label']=accessibilityLabel;}if(accessibilityLiveRegion&&accessibilityLiveRegion.constructor===String){domProps['aria-live']=accessibilityLiveRegion==='none'?'off':accessibilityLiveRegion;}if(Array.isArray(accessibilityStates)){for(var i=0;i<accessibilityStates.length;i+=1){domProps[\"aria-\"+accessibilityStates[i]]=true;}}if(role&&role.constructor===String){domProps.role=role;}if(disabled){domProps['aria-disabled']=disabled;domProps.disabled=disabled;}var focusable=!disabled&&importantForAccessibility!=='no'&&importantForAccessibility!=='no-hide-descendants';if(role==='link'||component==='a'||component==='button'||component==='input'||component==='select'||component==='textarea'){if(accessible===false||!focusable){domProps.tabIndex='-1';}else{domProps['data-focusable']=true;}}else if(_AccessibilityUtil.default.buttonLikeRoles[role]||role==='textbox'){if(accessible!==false&&focusable){domProps['data-focusable']=true;domProps.tabIndex='0';}}else{if(accessible===true&&focusable){domProps['data-focusable']=true;domProps.tabIndex='0';}}var reactNativeStyle=_StyleSheet.default.compose(pointerEvents&&pointerEventsStyles[pointerEvents],_StyleSheet.default.compose(providedStyle,placeholderTextColor&&{placeholderTextColor:placeholderTextColor}));var needsCursor=(role==='button'||role==='link')&&!disabled;var needsReset=component==='a'||component==='button'||component==='li'||component==='ul'||role==='heading';var finalClassList=[deprecatedClassName,needsReset&&classes.reset,needsCursor&&classes.cursor,classList];var _styleResolver=styleResolver(reactNativeStyle,finalClassList),className=_styleResolver.className,style=_styleResolver.style;if(className!=null&&className!==''){domProps.className=className;}if(style){domProps.style=style;}if(nativeID&&nativeID.constructor===String){domProps.id=nativeID;}if(component==='a'&&domProps.target==='_blank'){domProps.rel=(domProps.rel||'')+\" noopener noreferrer\";}if(testID&&testID.constructor===String){domProps['data-testid']=testID;}return domProps;};var _default=createDOMProps;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/createDOMProps/index.js"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","Object","keys","key","i","length","indexOf","emptyObject","classes","css","create","reset","backgroundColor","color","font","listStyle","margin","textAlign","textDecoration","cursor","STYLE_GROUPS","classicReset","pointerEventsStyles","StyleSheet","auto","pointerEvents","none","defaultStyleResolver","style","classList","styleResolver","resolve","createDOMProps","component","props","_props","accessibilityLabel","accessibilityLiveRegion","accessibilityStates","deprecatedClassName","className","importantForAccessibility","nativeID","placeholderTextColor","providedStyle","testID","accessible","accessibilityComponentType","accessibilityRole","accessibilityTraits","domProps","disabled","AccessibilityUtil","isDisabled","role","propsToAriaRole","constructor","String","Array","isArray","focusable","tabIndex","buttonLikeRoles","reactNativeStyle","compose","needsCursor","needsReset","finalClassList","_styleResolver","id","rel"],"mappings":"mKAUA,+EACA,yEACA,4EACA,8FACA,6DAdA,QAASA,CAAAA,6BAAT,CAAuCC,MAAvC,CAA+CC,QAA/C,CAAyD,CAAE,GAAID,MAAM,EAAI,IAAd,CAAoB,MAAO,EAAP,CAAW,GAAIE,CAAAA,MAAM,CAAG,EAAb,CAAiB,GAAIC,CAAAA,UAAU,CAAGC,MAAM,CAACC,IAAP,CAAYL,MAAZ,CAAjB,CAAsC,GAAIM,CAAAA,GAAJ,CAASC,CAAT,CAAY,IAAKA,CAAC,CAAG,CAAT,CAAYA,CAAC,CAAGJ,UAAU,CAACK,MAA3B,CAAmCD,CAAC,EAApC,CAAwC,CAAED,GAAG,CAAGH,UAAU,CAACI,CAAD,CAAhB,CAAqB,GAAIN,QAAQ,CAACQ,O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AAQ,CAACV,SAAT,CAAqBA,SAArB,CACD,CAED,GAAIZ,KAAJ,CAAW,CACTsB,QAAQ,CAACtB,KAAT,CAAiBA,KAAjB,CACD,CAID,GAAIc,QAAQ,EAAIA,QAAQ,CAACc,WAAT,GAAyBC,MAAzC,CAAiD,CAC/CP,QAAQ,CAACmB,EAAT,CAAc3B,QAAd,CACD,CAMD,GAAIT,SAAS,GAAK,GAAd,EAAqBiB,QAAQ,CAACnD,MAAT,GAAoB,QAA7C,CAAuD,CACrDmD,QAAQ,CAACoB,GAAT,CAAe,CAACpB,QAAQ,CAACoB,GAAT,EAAgB,EAAjB,EAAuB,sBAAtC,CACD,CAGD,GAAIzB,MAAM,EAAIA,MAAM,CAACW,WAAP,GAAuBC,MAArC,CAA6C,CAC3CP,QAAQ,CAAC,aAAD,CAAR,CAA0BL,MAA1B,CACD,CAED,MAAOK,CAAAA,QAAP,CACD,CA3HD,C,aA6HelB,c","sourcesContent":["function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AccessibilityUtil from '../AccessibilityUtil';\nimport css from '../../exports/StyleSheet/css';\nimport StyleSheet from '../../exports/StyleSheet';\nimport styleResolver from '../../exports/StyleSheet/styleResolver';\nimport { STYLE_GROUPS } from '../../exports/StyleSheet/constants';\nvar emptyObject = {}; // Reset styles for heading, link, and list DOM elements\n\nvar classes = css.create({\n reset: {\n backgroundColor: 'transparent',\n color: 'inherit',\n font: 'inherit',\n listStyle: 'none',\n margin: 0,\n textAlign: 'inherit',\n textDecoration: 'none'\n },\n cursor: {\n cursor: 'pointer'\n }\n}, STYLE_GROUPS.classicReset);\nvar pointerEventsStyles = StyleSheet.create({\n auto: {\n pointerEvents: 'auto'\n },\n 'box-none': {\n pointerEvents: 'box-none'\n },\n 'box-only': {\n pointerEvents: 'box-only'\n },\n none: {\n pointerEvents: 'none'\n }\n});\n\nvar defaultStyleResolver = function defaultStyleResolver(style, classList) {\n return styleResolver.resolve(style, classList);\n};\n\nvar createDOMProps = function createDOMProps(component, props, styleResolver) {\n if (!styleResolver) {\n styleResolver = defaultStyleResolver;\n }\n\n if (!props) {\n props = emptyObject;\n }\n\n var _props = props,\n accessibilityLabel = _props.accessibilityLabel,\n accessibilityLiveRegion = _props.accessibilityLiveRegion,\n accessibilityStates = _props.accessibilityStates,\n classList = _props.classList,\n deprecatedClassName = _props.className,\n importantForAccessibility = _props.importantForAccessibility,\n nativeID = _props.nativeID,\n placeholderTextColor = _props.placeholderTextColor,\n pointerEvents = _props.pointerEvents,\n providedStyle = _props.style,\n testID = _props.testID,\n accessible = _props.accessible,\n accessibilityComponentType = _props.accessibilityComponentType,\n accessibilityRole = _props.accessibilityRole,\n accessibilityTraits = _props.accessibilityTraits,\n domProps = _objectWithoutPropertiesLoose(_props, [\"accessibilityLabel\", \"accessibilityLiveRegion\", \"accessibilityStates\", \"classList\", \"className\", \"importantForAccessibility\", \"nativeID\", \"placeholderTextColor\", \"pointerEvents\", \"style\", \"testID\", \"accessible\", \"accessibilityComponentType\", \"accessibilityRole\", \"accessibilityTraits\"]);\n\n var disabled = AccessibilityUtil.isDisabled(props);\n var role = AccessibilityUtil.propsToAriaRole(props); // GENERAL ACCESSIBILITY\n\n if (importantForAccessibility === 'no-hide-descendants') {\n domProps['aria-hidden'] = true;\n }\n\n if (accessibilityLabel && accessibilityLabel.constructor === String) {\n domProps['aria-label'] = accessibilityLabel;\n }\n\n if (accessibilityLiveRegion && accessibilityLiveRegion.constructor === String) {\n domProps['aria-live'] = accessibilityLiveRegion === 'none' ? 'off' : accessibilityLiveRegion;\n }\n\n if (Array.isArray(accessibilityStates)) {\n for (var i = 0; i < accessibilityStates.length; i += 1) {\n domProps[\"aria-\" + accessibilityStates[i]] = true;\n }\n }\n\n if (role && role.constructor === String) {\n domProps.role = role;\n } // DISABLED\n\n\n if (disabled) {\n domProps['aria-disabled'] = disabled;\n domProps.disabled = disabled;\n } // FOCUS\n // Assume that 'link' is focusable by default (uses <a>).\n // Assume that 'button' is not (uses <div role='button'>) but must be treated as such.\n\n\n var focusable = !disabled && importantForAccessibility !== 'no' && importantForAccessibility !== 'no-hide-descendants';\n\n if (role === 'link' || component === 'a' || component === 'button' || component === 'input' || component === 'select' || component === 'textarea') {\n if (accessible === false || !focusable) {\n domProps.tabIndex = '-1';\n } else {\n domProps['data-focusable'] = true;\n }\n } else if (AccessibilityUtil.buttonLikeRoles[role] || role === 'textbox') {\n if (accessible !== false && focusable) {\n domProps['data-focusable'] = true;\n domProps.tabIndex = '0';\n }\n } else {\n if (accessible === true && focusable) {\n domProps['data-focusable'] = true;\n domProps.tabIndex = '0';\n }\n } // STYLE\n\n\n var reactNativeStyle = StyleSheet.compose(pointerEvents && pointerEventsStyles[pointerEvents], StyleSheet.compose(providedStyle, placeholderTextColor && {\n placeholderTextColor: placeholderTextColor\n })); // Additional style resets for interactive elements\n\n var needsCursor = (role === 'button' || role === 'link') && !disabled;\n var needsReset = component === 'a' || component === 'button' || component === 'li' || component === 'ul' || role === 'heading'; // Classic CSS styles\n\n var finalClassList = [deprecatedClassName, needsReset && classes.reset, needsCursor && classes.cursor, classList]; // Resolve styles\n\n var _styleResolver = styleResolver(reactNativeStyle, finalClassList),\n className = _styleResolver.className,\n style = _styleResolver.style;\n\n if (className != null && className !== '') {\n domProps.className = className;\n }\n\n if (style) {\n domProps.style = style;\n } // OTHER\n // Native element ID\n\n\n if (nativeID && nativeID.constructor === String) {\n domProps.id = nativeID;\n } // Link security\n // https://mathiasbynens.github.io/rel-noopener/\n // Note: using \"noreferrer\" doesn't impact referrer tracking for https\n // transfers (i.e., from https to https).\n\n\n if (component === 'a' && domProps.target === '_blank') {\n domProps.rel = (domProps.rel || '') + \" noopener noreferrer\";\n } // Automated test IDs\n\n\n if (testID && testID.constructor === String) {\n domProps['data-testid'] = testID;\n }\n\n return domProps;\n};\n\nexport default createDOMProps;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.CardCover=exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Image=_interopRequireDefault(require(\"react-native-web/dist/exports/Image\"));var _theming=require(\"../../core/theming\");var _colors=require(\"../../styles/colors\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Card/CardCover.tsx\";var CardCover=function(_React$Component){(0,_inherits2.default)(CardCover,_React$Component);function CardCover(){(0,_classCallCheck2.default)(this,CardCover);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(CardCover).apply(this,arguments));}(0,_createClass2.default)(CardCover,[{key:\"render\",value:function render(){var _this$props=this.props,index=_this$props.index,total=_this$props.total,style=_this$props.style,theme=_this$props.theme,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"index\",\"total\",\"style\",\"theme\"]);var roundness=theme.roundness;var coverStyle;if(index===0){if(total===1){coverStyle={borderRadius:roundness};}else{coverStyle={borderTopLeftRadius:roundness,borderTopRightRadius:roundness};}}else if(typeof total==='number'&&index===total-1){coverStyle={borderBottomLeftRadius:roundness};}return React.createElement(_View.default,{style:[styles.container,coverStyle,style],__source:{fileName:_jsxFileName,lineNumber:69}},React.createElement(_Image.default,(0,_extends2.default)({},rest,{style:[styles.image,coverStyle],__source:{fileName:_jsxFileName,lineNumber:70}})));}}]);return CardCover;}(React.Component);exports.CardCover=CardCover;CardCover.displayName='Card.Cover';var styles=_StyleSheet.default.create({container:{height:195,backgroundColor:_colors.grey200,overflow:'hidden'},image:{flex:1,height:undefined,width:undefined,padding:16,justifyContent:'flex-end',resizeMode:'cover'}});var _default=(0,_theming.withTheme)(CardCover);exports.default=_default;","map":{"version":3,"sources":["CardCover.tsx"],"names":["CardCover","React","Component","displayName","index","total","style","theme","rest","roundness","coverStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","styles","StyleSheet","container","height","backgroundColor","overflow","image","flex","width","padding","justifyContent","resizeMode","withTheme"],"mappings":"o6BAAA,oD,8PAEA,2CACA,2C,yGAsCMA,GAAAA,CAAAA,S,8UAGK,CAAA,GAAA,CAAA,WAAA,CACyC,KADzC,KAAA,CACCI,KADD,CAAA,WAAA,CAAA,KAAA,CACQC,KADR,CAAA,WAAA,CAAA,KAAA,CACeC,KADf,CAAA,WAAA,CAAA,KAAA,CACsBC,KADtB,CAAA,WAAA,CAAA,KAAA,CACgCC,IADhC,CAAA,sCAAA,WAAA,CAAA,CAAA,OAAA,CAAA,OAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,CAAA,GAECC,CAAAA,SAFD,CAEeF,KAFf,CAAA,SAAA,CAIP,GAAA,CAAA,UAAA,CAEA,GAAIH,KAAK,GAAT,CAAA,CAAiB,CACf,GAAIC,KAAK,GAAT,CAAA,CAAiB,CACfK,U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le, Image, StyleProp } from 'react-native';\nimport { withTheme } from '../../core/theming';\nimport { grey200 } from '../../styles/colors';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof Image> & {\n /**\n * @internal\n */\n index?: number;\n /**\n * @internal\n */\n total?: number;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * A component to show a cover image inside a Card.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Card } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Card>\n * <Card.Cover source={{ uri: 'https://picsum.photos/700' }} />\n * </Card>\n * );\n *\n * export default MyComponent;\n * ```\n *\n * @extends Image props https://facebook.github.io/react-native/docs/image.html#props\n */\nclass CardCover extends React.Component<Props> {\n static displayName = 'Card.Cover';\n\n render() {\n const { index, total, style, theme, ...rest } = this.props;\n const { roundness } = theme;\n\n let coverStyle;\n\n if (index === 0) {\n if (total === 1) {\n coverStyle = {\n borderRadius: roundness,\n };\n } else {\n coverStyle = {\n borderTopLeftRadius: roundness,\n borderTopRightRadius: roundness,\n };\n }\n } else if (typeof total === 'number' && index === total - 1) {\n coverStyle = {\n borderBottomLeftRadius: roundness,\n };\n }\n\n return (\n <View style={[styles.container, coverStyle, style]}>\n <Image {...rest} style={[styles.image, coverStyle]} />\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n height: 195,\n backgroundColor: grey200,\n overflow: 'hidden',\n },\n image: {\n flex: 1,\n height: undefined,\n width: undefined,\n padding: 16,\n justifyContent: 'flex-end',\n resizeMode: 'cover',\n },\n});\n\nexport default withTheme(CardCover);\n\n// @component-docs ignore-next-line\nexport { CardCover };\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _AppRegistry=_interopRequireDefault(require(\"react-native-web/dist/exports/AppRegistry\"));_AppRegistry.default;var originalWarn=console.warn;console.warn=function warn(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}if(args.length>0&&typeof args[0]==='string'&&(/^Require cycle: .*node_modules/.test(args[0])||/Use UIManager\\.getViewManagerConfig\\('LottieAnimationView'\\) instead\\./.test(args[0])||/ReactNative\\.NativeModules\\.LottieAnimationView\\.getConstants/.test(args[0]))){return;}originalWarn.apply(console,args);};var originalError=console.error;console.error=function error(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2];}if(args.length>0&&typeof args[0]==='string'&&/^Warning: .* has been extracted/.test(args[0])){return;}originalError.apply(console,args);};","map":{"version":3,"sources":["../../src/environment/muteWarnings.fx.ts"],"names":[],"mappings":"iLAIA,qBAMA,GAAM,CAAA,YAAY,CAAG,OAAO,CAAC,IAA7B,CACA,OAAO,CAAC,IAAR,CAAe,QAAS,CAAA,IAAT,EAAqB,+BAAJ,IAAI,0CAAJ,IAAI,wBAClC,GACE,IAAI,CAAC,MAAL,CAAc,CAAd,EACA,MAAO,CAAA,IAAI,CAAC,CAAD,CAAX,GAAmB,QADnB,GAEC,iCAAiC,IAAjC,CAAsC,IAAI,CAAC,CAAD,CAA1C,GACC,yEAAyE,IAAzE,CAA8E,IAAI,CAAC,CAAD,CAAlF,CADD,EAEC,gEAAgE,IAAhE,CAAqE,IAAI,CAAC,CAAD,CAAzE,CAJF,CADF,CAME,CACA,OACD,CACD,YAAY,CAAC,KAAb,CAAmB,OAAnB,CAA4B,IAA5B,EACD,CAXD,CAaA,GAAM,CAAA,aAAa,CAAG,OAAO,CAAC,KAA9B,CACA,OAAO,CAAC,KAAR,CAAgB,QAAS,CAAA,KAAT,EAAsB,gCAAJ,IAAI,+CAAJ,IAAI,0BACpC,GACE,IAAI,CAAC,MAAL,CAAc,CAAd,EACA,MAAO,CAAA,IAAI,CAAC,CAAD,CAAX,GAAmB,QADnB,EAEA,kCAAkC,IAAlC,CAAuC,IAAI,CAAC,CAAD,CAA3C,CAHF,CAIE,CACA,OACD,CACD,aAAa,CAAC,KAAd,CAAoB,OAApB,CAA6B,IAA7B,EACD,CATD","sourcesContent":["// AppRegistry transitively installs YellowBox as a side effect, which overrides various console\n// methods that we need to set up before we override them\nimport { AppRegistry } from 'react-native';\n\nAppRegistry; // eslint-disable-line no-unused-expressions\n\n// NOTE(2018-10-29): temporarily filter out cyclic dependency warnings here since they are noisy and\n// each warning symbolicates a stack trace, which is slow when there are many warnings\n// NOTE(2019-05-27): temporarily filter out LottieAnimationView warnings triggered by\n// unmaintained react-native-safe-module dependency.\nconst originalWarn = console.warn;\nconsole.warn = function warn(...args) {\n if (\n args.length > 0 &&\n typeof args[0] === 'string' &&\n (/^Require cycle: .*node_modules/.test(args[0]) ||\n /Use UIManager\\.getViewManagerConfig\\('LottieAnimationView'\\) instead\\./.test(args[0]) ||\n /ReactNative\\.NativeModules\\.LottieAnimationView\\.getConstants/.test(args[0]))\n ) {\n return;\n }\n originalWarn.apply(console, args);\n};\n\nconst originalError = console.error;\nconsole.error = function error(...args) {\n if (\n args.length > 0 &&\n typeof args[0] === 'string' &&\n /^Warning: .* has been extracted/.test(args[0])\n ) {\n return;\n }\n originalError.apply(console, args);\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _withNavigation=_interopRequireDefault(require(\"./withNavigation\"));var EventNameToPropName={willFocus:'onWillFocus',didFocus:'onDidFocus',willBlur:'onWillBlur',didBlur:'onDidBlur'};var EventNames=Object.keys(EventNameToPropName);var NavigationEvents=function(_React$Component){(0,_inherits2.default)(NavigationEvents,_React$Component);function NavigationEvents(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,NavigationEvents);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(NavigationEvents)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.getPropListener=function(eventName){return _this.props[EventNameToPropName[eventName]];};return _this;}(0,_createClass2.default)(NavigationEvents,[{key:\"componentDidMount\",value:function componentDidMount(){var _this2=this;this.subscriptions={};EventNames.forEach(function(eventName){_this2.subscriptions[eventName]=_this2.props.navigation.addListener(eventName,function(){var propListener=_this2.getPropListener(eventName);return propListener&&propListener.apply(void 0,arguments);});});}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){var _this3=this;EventNames.forEach(function(eventName){_this3.subscriptions[eventName].remove();});}},{key:\"render\",value:function render(){return null;}}]);return NavigationEvents;}(_react.default.Component);var _default=(0,_withNavigation.default)(NavigationEvents);exports.default=_default;","map":{"version":3,"sources":["NavigationEvents.js"],"names":["EventNameToPropName","willFocus","didFocus","willBlur","didBlur","EventNames","Object","NavigationEvents","React","Component","getPropListener","propListener","withNavigation"],"mappings":"6nBAAA,oDACA,wEAEA,GAAMA,CAAAA,mBAAmB,CAAG,CAC1BC,SAAS,CADiB,aAAA,CAE1BC,QAAQ,CAFkB,YAAA,CAG1BC,QAAQ,CAHkB,YAAA,CAI1BC,OAAO,CAJT,WAA4B,CAA5B,CAOA,GAAMC,CAAAA,UAAU,CAAGC,MAAM,CAANA,IAAAA,CAAnB,mBAAmBA,CAAnB,CAEMC,GAAAA,CAAAA,gB,0dACJG,e,CAAkB,SAAA,SAAA,CAAS,CAAA,MAAI,CAAA,KAAA,CAAA,KAAA,CAAWV,mBAAmB,CAAlC,SAAkC,CAA9B,CAAJ,C,uHAEP,CAAA,GAAA,CAAA,MAAA,CAAA,IAAA,CAClB,KAAA,aAAA,CAAA,EAAA,CAKAK,UAAU,CAAVA,OAAAA,CAAmB,SAAA,SAAA,CAAa,CAC9B,MAAI,CAAJ,aAAA,CAAA,SAAA,EAAgC,MAAI,CAAJ,KAAA,CAAA,UAAA,CAAA,WAAA,CAAA,SAAA,CAE9B,UAAa,CACX,GAAMM,CAAAA,YAAY,CAAG,MAAI,CAAJ,eAAA,CAArB,SAAqB,CAArB,CACA,MAAOA,CAAAA,YAAY,EAAIA,YAAY,CAAZA,KAAAA,CAAAA,IAAAA,EAAAA,CAAvB,SAAuBA,CAAvB,CAJJ,CAAgC,CAAhC,CADFN,CAAAA,E,oEAWqB,CAAA,GAAA,CAAA,MAAA,CAAA,IAAA,CACrBA,UAAU,CAAVA,OAAAA,CAAmB,SAAA,SAAA,CAAa,CAC9B,MAAI,CAAJ,aAAA,CAAA,SAAA,EAAA,MAAA,GADFA,CAAAA,E,wCAKO,CACP,MAAA,KAAA,C,+BA3B2BG,eAAMC,S,CAA/BF,C,aA+BSK,4BAAf,gBAAeA,C","sourcesContent":["import React from 'react';\nimport withNavigation from './withNavigation';\n\nconst EventNameToPropName = {\n willFocus: 'onWillFocus',\n didFocus: 'onDidFocus',\n willBlur: 'onWillBlur',\n didBlur: 'onDidBlur',\n};\n\nconst EventNames = Object.keys(EventNameToPropName);\n\nclass NavigationEvents extends React.Component {\n getPropListener = eventName => this.props[EventNameToPropName[eventName]];\n\n componentDidMount() {\n this.subscriptions = {};\n\n // We register all navigation listeners on mount to ensure listener stability across re-render\n // A former implementation was replacing (removing/adding) listeners on all update (if prop provided)\n // but there were issues (see https://github.com/react-navigation/react-navigation/issues/5058)\n EventNames.forEach(eventName => {\n this.subscriptions[eventName] = this.props.navigation.addListener(\n eventName,\n (...args) => {\n const propListener = this.getPropListener(eventName);\n return propListener && propListener(...args);\n }\n );\n });\n }\n\n componentWillUnmount() {\n EventNames.forEach(eventName => {\n this.subscriptions[eventName].remove();\n });\n }\n\n render() {\n return null;\n }\n}\n\nexport default withNavigation(NavigationEvents);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createOrReuseStyleNode=createOrReuseStyleNode;exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedTransform=require(\"./AnimatedTransform\");var _areEqual=_interopRequireDefault(require(\"fbjs/lib/areEqual\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function sanitizeStyle(inputStyle){var style={};for(var key in inputStyle){var value=inputStyle[key];if(value instanceof _AnimatedNode2.default){style[key]=value.__nodeID;}}return style;}function createOrReuseStyleNode(style,oldNode){style=_StyleSheet.default.flatten(style)||{};if(style.transform){style=_objectSpread({},style,{transform:(0,_AnimatedTransform.createOrReuseTransformNode)(style.transform,oldNode&&oldNode._style.transform)});}var config=sanitizeStyle(style);if(oldNode&&(0,_areEqual.default)(config,oldNode._config)){return oldNode;}return new AnimatedStyle(style,config);}var AnimatedStyle=function(_AnimatedNode){(0,_inherits2.default)(AnimatedStyle,_AnimatedNode);function AnimatedStyle(style,config){var _this;(0,_classCallCheck2.default)(this,AnimatedStyle);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedStyle).call(this,{type:'style',style:config},Object.values(style)));_this._config=config;_this._style=style;return _this;}(0,_createClass2.default)(AnimatedStyle,[{key:\"_walkStyleAndGetAnimatedValues\",value:function _walkStyleAndGetAnimatedValues(style){var updatedStyle={};for(var key in style){var value=style[key];if(value instanceof _AnimatedNode2.default){updatedStyle[key]=value.__getValue();}else if(value&&!Array.isArray(value)&&typeof value==='object'){updatedStyle[key]=this._walkStyleAndGetAnimatedValues(value);}}return updatedStyle;}},{key:\"__onEvaluate\",value:function __onEvaluate(){return this._walkStyleAndGetAnimatedValues(this._style);}}]);return AnimatedStyle;}(_AnimatedNode2.default);exports.default=AnimatedStyle;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedStyle.js"],"names":["sanitizeStyle","inputStyle","style","key","value","AnimatedNode","__nodeID","createOrReuseStyleNode","oldNode","StyleSheet","flatten","transform","_style","config","_config","AnimatedStyle","type","Object","values","updatedStyle","__getValue","Array","isArray","_walkStyleAndGetAnimatedValues"],"mappings":"62BAEA,qEACA,sDAEA,mE,yxBAEA,QAASA,CAAAA,aAAT,CAAuBC,UAAvB,CAAmC,CACjC,GAAMC,CAAAA,KAAK,CAA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,KAAK,CAACC,GAAD,CAAnB,CACA,GAAIC,KAAK,WAAYC,uBAArB,CAAmC,CACjCc,YAAY,CAAChB,GAAD,CAAZ,CAAoBC,KAAK,CAACgB,UAAN,EAApB,CACD,CAFD,IAEO,IAAIhB,KAAK,EAAI,CAACiB,KAAK,CAACC,OAAN,CAAclB,KAAd,CAAV,EAAkC,MAAOA,CAAAA,KAAP,GAAiB,QAAvD,CAAiE,CAEtEe,YAAY,CAAChB,GAAD,CAAZ,CAAoB,KAAKoB,8BAAL,CAAoCnB,KAApC,CAApB,CACD,CACF,CACD,MAAOe,CAAAA,YAAP,CACD,C,mDAEc,CACb,MAAO,MAAKI,8BAAL,CAAoC,KAAKX,MAAzC,CAAP,CACD,C,2BAvBwCP,sB","sourcesContent":["import { StyleSheet } from 'react-native';\n\nimport AnimatedNode from './AnimatedNode';\nimport { createOrReuseTransformNode } from './AnimatedTransform';\n\nimport deepEqual from 'fbjs/lib/areEqual';\n\nfunction sanitizeStyle(inputStyle) {\n const style = {};\n for (const key in inputStyle) {\n const value = inputStyle[key];\n if (value instanceof AnimatedNode) {\n style[key] = value.__nodeID;\n }\n }\n return style;\n}\n\nexport function createOrReuseStyleNode(style, oldNode) {\n style = StyleSheet.flatten(style) || {};\n if (style.transform) {\n style = {\n ...style,\n transform: createOrReuseTransformNode(\n style.transform,\n oldNode && oldNode._style.transform\n ),\n };\n }\n const config = sanitizeStyle(style);\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedStyle(style, config);\n}\n\n/**\n * AnimatedStyle should never be directly instantiated, use createOrReuseStyleNode\n * in order to make a new instance of this node.\n */\nexport default class AnimatedStyle extends AnimatedNode {\n constructor(style, config) {\n super({ type: 'style', style: config }, Object.values(style));\n this._config = config;\n this._style = style;\n }\n\n _walkStyleAndGetAnimatedValues(style) {\n const updatedStyle = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);\n }\n }\n return updatedStyle;\n }\n\n __onEvaluate() {\n return this._walkStyleAndGetAnimatedValues(this._style);\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var array=_interopRequireWildcard(require(\"d3-array\"));var scale=_interopRequireWildcard(require(\"d3-scale\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvg=require(\"react-native-svg\");var _animatedPath=_interopRequireDefault(require(\"./animated-path\"));var AreaStack=function(_PureComponent){(0,_inherits2.default)(AreaStack,_PureComponent);function AreaStack(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,AreaStack);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(AreaStack)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={height:0,width:0};return _this;}(0,_createClass2.default)(AreaStack,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,data=_this$props.data,keys=_this$props.keys,colors=_this$props.colors,animate=_this$props.animate,animationDuration=_this$props.animationDuration,style=_this$props.style,curve=_this$props.curve,numberOfTicks=_this$props.numberOfTicks,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.top,top=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.bottom,bottom=_this$props$contentIn3===void 0?0:_this$props$contentIn3,_this$props$contentIn4=_this$props$contentIn.left,left=_this$props$contentIn4===void 0?0:_this$props$contentIn4,_this$props$contentIn5=_this$props$contentIn.right,right=_this$props$contentIn5===void 0?0:_this$props$contentIn5,gridMin=_this$props.gridMin,gridMax=_this$props.gridMax,children=_this$props.children,offset=_this$props.offset,order=_this$props.order,svgs=_this$props.svgs,xAccessor=_this$props.xAccessor,xScale=_this$props.xScale,clampY=_this$props.clampY,clampX=_this$props.clampX;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var series=shape.stack().keys(keys).order(order).offset(offset)(data);var yValues=array.merge(array.merge(series));var xValues=data.map(function(item,index){return xAccessor({item:item,index:index});});var yExtent=array.extent([].concat((0,_toConsumableArray2.default)(yValues),[gridMin,gridMax]));var xExtent=array.extent(xValues);var _this$props2=this.props,_this$props2$yMin=_this$props2.yMin,yMin=_this$props2$yMin===void 0?yExtent[0]:_this$props2$yMin,_this$props2$yMax=_this$props2.yMax,yMax=_this$props2$yMax===void 0?yExtent[1]:_this$props2$yMax,_this$props2$xMin=_this$props2.xMin,xMin=_this$props2$xMin===void 0?xExtent[0]:_this$props2$xMin,_this$props2$xMax=_this$props2.xMax,xMax=_this$props2$xMax===void 0?xExtent[1]:_this$props2$xMax;var y=scale.scaleLinear().domain([yMin,yMax]).range([height-bottom,top]).clamp(clampY);var x=xScale().domain([xMin,xMax]).range([left,width-right]).clamp(clampX);var ticks=y.ticks(numberOfTicks);var areas=series.map(function(serie,index){var path=shape.area().x(function(d,index){return x(xAccessor({item:d.data,index:index}));}).y0(function(d){return y(d[0]);}).y1(function(d){return y(d[1]);}).curve(curve)(data.map(function(_,index){return serie[index];}));return{path:path,key:keys[index],color:colors[index]};});var extraProps={x:x,y:y,width:width,height:height,ticks:ticks,areas:areas};return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.Svg,{style:{height:height,width:width}},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),areas.map(function(area,index){return _react.default.createElement(_animatedPath.default,(0,_extends2.default)({key:area.key,fill:area.color},svgs[index],{animate:animate,animationDuration:animationDuration,d:area.path}));}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}))));}}],[{key:\"extractDataPoints\",value:function extractDataPoints(data,keys){var order=arguments.length>2&&arguments[2]!==undefined?arguments[2]:shape.stackOrderNone;var offset=arguments.length>3&&arguments[3]!==undefined?arguments[3]:shape.stackOffsetNone;var series=shape.stack().keys(keys).order(order).offset(offset)(data);return array.merge(array.merge(series));}}]);return AreaStack;}(_react.PureComponent);AreaStack.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.object).isRequired,keys:_propTypes.default.arrayOf(_propTypes.default.string).isRequired,colors:_propTypes.default.arrayOf(_propTypes.default.string).isRequired,svgs:_propTypes.default.arrayOf(_propTypes.default.object),offset:_propTypes.default.func,order:_propTypes.default.func,style:_propTypes.default.any,animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,contentInset:_propTypes.default.shape({top:_propTypes.default.number,left:_propTypes.default.number,right:_propTypes.default.number,bottom:_propTypes.default.number}),numberOfTicks:_propTypes.default.number,showGrid:_propTypes.default.bool,xScale:_propTypes.default.func,xAccessor:_propTypes.default.func,yMin:_propTypes.default.any,yMax:_propTypes.default.any,xMin:_propTypes.default.any,xMax:_propTypes.default.any,clampX:_propTypes.default.bool,clampY:_propTypes.default.bool};AreaStack.defaultProps={curve:shape.curveLinear,offset:shape.stackOffsetNone,order:shape.stackOrderNone,svgs:[],strokeWidth:2,contentInset:{},numberOfTicks:10,showGrid:true,xScale:scale.scaleLinear,xAccessor:function xAccessor(_ref){var index=_ref.index;return index;}};var _default=AreaStack;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/stacked-area-chart.js"],"names":["AreaStack","state","height","width","event","nativeEvent","layout","setState","props","data","keys","colors","animate","animationDuration","style","curve","numberOfTicks","contentInset","top","bottom","left","right","gridMin","gridMax","children","offset","order","svgs","xAccessor","xScale","clampY","clampX","length","series","shape","stack","yValues","array","merge","xValues","map","item","index","yExtent","extent","xExtent","yMin","yMax","xMin","xMax","y","scale","scaleLinear","domain","range","clamp","x","ticks","areas","serie","path","area","d","y0","y1","_","key","color","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","stackOrderNone","stackOffsetNone","PureComponent","propTypes","PropTypes","arrayOf","object","isRequired","string","func","any","bool","number","showGrid","defaultProps","curveLinear","strokeWidth"],"mappings":"s4BAAA,6DACA,uDACA,uDACA,uDACA,qD,gFAEA,gDACA,qE,GAEMA,CAAAA,S,0bAYFC,K,CAAQ,CACJC,MAAM,CAAE,CADJ,CAEJC,KAAK,CAAE,CAFH,C,8FAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAGLC,MAHK,CAGKJ,MAHL,uBAGKA,MAHL,CAGaC,KAHb,uBAGaA,KAHb,CAMb,KAAKI,QAAL,CAAc,CAAEL,MA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O,IA1BA,CAAtB,CA6BAvF,SAAS,CAAC0F,YAAV,CAAyB,CACrB3E,KAAK,CAAEmB,KAAK,CAACyD,WADQ,CAErBlE,MAAM,CAAES,KAAK,CAAC2C,eAFO,CAGrBnD,KAAK,CAAEQ,KAAK,CAAC0C,cAHQ,CAIrBjD,IAAI,CAAE,EAJe,CAKrBiE,WAAW,CAAE,CALQ,CAMrB3E,YAAY,CAAE,EANO,CAOrBD,aAAa,CAAE,EAPM,CAQrByE,QAAQ,CAAE,IARW,CASrB5D,MAAM,CAAEsB,KAAK,CAACC,WATO,CAUrBxB,SAAS,CAAE,4BAAGc,CAAAA,KAAH,MAAGA,KAAH,OAAeA,CAAAA,KAAf,EAVU,CAAzB,C,aAae1C,S","sourcesContent":["import PropTypes from 'prop-types'\nimport * as array from 'd3-array'\nimport * as scale from 'd3-scale'\nimport * as shape from 'd3-shape'\nimport React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport { Svg } from 'react-native-svg'\nimport Path from './animated-path'\n\nclass AreaStack extends PureComponent {\n static extractDataPoints(data, keys, order = shape.stackOrderNone, offset = shape.stackOffsetNone) {\n const series = shape\n .stack()\n .keys(keys)\n .order(order)\n .offset(offset)(data)\n\n //double merge arrays to extract just the values\n return array.merge(array.merge(series))\n }\n\n state = {\n height: 0,\n width: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n render() {\n const {\n data,\n keys,\n colors,\n animate,\n animationDuration,\n style,\n curve,\n numberOfTicks,\n contentInset: { top = 0, bottom = 0, left = 0, right = 0 },\n gridMin,\n gridMax,\n children,\n offset,\n order,\n svgs,\n xAccessor,\n xScale,\n clampY,\n clampX,\n } = this.props\n\n const { height, width } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const series = shape\n .stack()\n .keys(keys)\n .order(order)\n .offset(offset)(data)\n\n //double merge arrays to extract just the yValues\n const yValues = array.merge(array.merge(series))\n const xValues = data.map((item, index) => xAccessor({ item, index }))\n\n const yExtent = array.extent([...yValues, gridMin, gridMax])\n const xExtent = array.extent(xValues)\n\n const { yMin = yExtent[0], yMax = yExtent[1], xMin = xExtent[0], xMax = xExtent[1] } = this.props\n\n //invert range to support svg coordinate system\n const y = scale\n .scaleLinear()\n .domain([yMin, yMax])\n .range([height - bottom, top])\n .clamp(clampY)\n\n const x = xScale()\n .domain([xMin, xMax])\n .range([left, width - right])\n .clamp(clampX)\n\n const ticks = y.ticks(numberOfTicks)\n\n const areas = series.map((serie, index) => {\n const path = shape\n .area()\n .x((d, index) => x(xAccessor({ item: d.data, index })))\n .y0((d) => y(d[0]))\n .y1((d) => y(d[1]))\n .curve(curve)(data.map((_, index) => serie[index]))\n\n return {\n path,\n key: keys[index],\n color: colors[index],\n }\n })\n\n const extraProps = {\n x,\n y,\n width,\n height,\n ticks,\n areas,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n {areas.map((area, index) => (\n <Path\n key={area.key}\n fill={area.color}\n {...svgs[index]}\n animate={animate}\n animationDuration={animationDuration}\n d={area.path}\n />\n ))}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nAreaStack.propTypes = {\n data: PropTypes.arrayOf(PropTypes.object).isRequired,\n keys: PropTypes.arrayOf(PropTypes.string).isRequired,\n colors: PropTypes.arrayOf(PropTypes.string).isRequired,\n svgs: PropTypes.arrayOf(PropTypes.object),\n offset: PropTypes.func,\n order: PropTypes.func,\n style: PropTypes.any,\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n contentInset: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n }),\n numberOfTicks: PropTypes.number,\n showGrid: PropTypes.bool,\n xScale: PropTypes.func,\n xAccessor: PropTypes.func,\n\n yMin: PropTypes.any,\n yMax: PropTypes.any,\n xMin: PropTypes.any,\n xMax: PropTypes.any,\n clampX: PropTypes.bool,\n clampY: PropTypes.bool,\n}\n\nAreaStack.defaultProps = {\n curve: shape.curveLinear,\n offset: shape.stackOffsetNone,\n order: shape.stackOrderNone,\n svgs: [],\n strokeWidth: 2,\n contentInset: {},\n numberOfTicks: 10,\n showGrid: true,\n xScale: scale.scaleLinear,\n xAccessor: ({ index }) => index,\n}\n\nexport default AreaStack\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _color=_interopRequireDefault(require(\"color\"));var _DefaultTheme=_interopRequireDefault(require(\"./DefaultTheme\"));var _colors=require(\"./colors\");var DarkTheme=(0,_objectSpread2.default)({},_DefaultTheme.default,{dark:true,mode:'adaptive',colors:(0,_objectSpread2.default)({},_DefaultTheme.default.colors,{primary:'#BB86FC',accent:'#03dac6',background:'#121212',surface:'#121212',error:'#CF6679',onBackground:'#FFFFFF',onSurface:'#FFFFFF',text:_colors.white,disabled:(0,_color.default)(_colors.white).alpha(0.38).rgb().string(),placeholder:(0,_color.default)(_colors.white).alpha(0.54).rgb().string(),backdrop:(0,_color.default)(_colors.black).alpha(0.5).rgb().string(),notification:_colors.pinkA100})});var _default=DarkTheme;exports.default=_default;","map":{"version":3,"sources":["DarkTheme.tsx"],"names":["DarkTheme","dark","mode","colors","DefaultTheme","primary","accent","background","surface","error","onBackground","onSurface","text","disabled","color","placeholder","backdrop","notification"],"mappings":"6PAAA,oDACA,oEACA,gCAGA,GAAMA,CAAAA,SAAgB,CAAA,2BAAA,EAAA,CAAA,qBAAA,CAAA,CAEpBC,IAAI,CAFgB,IAAA,CAGpBC,IAAI,CAHgB,UAAA,CAIpBC,MAAM,CAAA,2BAAA,EAAA,CACDC,sBADC,MAAA,CAAA,CAEJC,OAAO,CAFH,SAAA,CAGJC,MAAM,CAHF,SAAA,CAIJC,UAAU,CAJN,SAAA,CAKJC,OAAO,CALH,SAAA,CAMJC,KAAK,CAND,SAAA,CAOJC,YAAY,CAPR,SAAA,CAQJC,SAAS,CARL,SAAA,CASJC,IAAI,CATA,aAAA,CAUJC,QAAQ,CAAEC,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,IAAAA,EAAAA,GAAAA,GAVN,MAUMA,EAVN,CAcJC,WAAW,CAAED,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,IAAAA,EAAAA,GAAAA,GAdT,MAcSA,EAdT,CAkBJE,QAAQ,CAAEF,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,GAAAA,EAAAA,GAAAA,GAlBN,MAkBMA,EAlBN,CAsBJG,YAAY,CA1BhB,gBAIQ,CAAA,CAJc,CAAA,CAAtB,C,aA8BA,S","sourcesContent":["import color from 'color';\nimport DefaultTheme from './DefaultTheme';\nimport { black, white, pinkA100 } from './colors';\nimport { Theme } from '../types';\n\nconst DarkTheme: Theme = {\n ...DefaultTheme,\n dark: true,\n mode: 'adaptive',\n colors: {\n ...DefaultTheme.colors,\n primary: '#BB86FC',\n accent: '#03dac6',\n background: '#121212',\n surface: '#121212',\n error: '#CF6679',\n onBackground: '#FFFFFF',\n onSurface: '#FFFFFF',\n text: white,\n disabled: color(white)\n .alpha(0.38)\n .rgb()\n .string(),\n placeholder: color(white)\n .alpha(0.54)\n .rgb()\n .string(),\n backdrop: color(black)\n .alpha(0.5)\n .rgb()\n .string(),\n notification: pinkA100,\n },\n};\n\nexport default DarkTheme;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=require(\"prop-types\");var cursorEnum=['auto','default','none','context-menu','help','pointer','progress','wait','cell','crosshair','text','vertical-text','alias','copy','move','no-drop','not-allowed','e-resize','n-resize','ne-resize','nw-resize','s-resize','se-resize','sw-resize','w-resize','ew-resize','ns-resize','nesw-resize','nwse-resize','col-resize','row-resize','all-scroll','zoom-in','zoom-out','grab','grabbing '];var touchActionEnum=['auto','inherit','manipulation','none','pan-down','pan-left','pan-right','pan-up','pan-x','pan-y','pinch-zoom'];var userSelectEnum=['auto','text','none','contain','all'];var InteractionPropTypes={cursor:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.oneOf)(cursorEnum)]),touchAction:(0,_propTypes.oneOf)(touchActionEnum),userSelect:(0,_propTypes.oneOf)(userSelectEnum),willChange:_propTypes.string};var _default=InteractionPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/InteractionPropTypes/index.js"],"names":["cursorEnum","touchActionEnum","userSelectEnum","InteractionPropTypes","cursor","string","touchAction","userSelect","willChange"],"mappings":"gFAQA,qCACA,GAAIA,CAAAA,UAAU,CAAG,CAAC,MAAD,CAAS,SAAT,CAAoB,MAApB,CAA4B,cAA5B,CAA4C,MAA5C,CAAoD,SAApD,CAA+D,UAA/D,CAA2E,MAA3E,CAAmF,MAAnF,CAA2F,WAA3F,CAAwG,MAAxG,CAAgH,eAAhH,CAAiI,OAAjI,CAA0I,MAA1I,CAAkJ,MAAlJ,CAA0J,SAA1J,CAAqK,aAArK,CAAoL,UAApL,CAAgM,UAAhM,CAA4M,WAA5M,CAAyN,WAAzN,CAAsO,UAAtO,CAAkP,WAAlP,CAA+P,WAA/P,CAA4Q,UAA5Q,CAAwR,WAAxR,CAAqS,WAArS,CAAkT,aAAlT,CAAiU,aAAjU,CAAgV,YAAhV,CAA8V,YAA9V,CAA4W,YAA5W,CAA0X,SAA1X,CAAqY,UAArY,CAAiZ,MAAjZ,CAAyZ,WAAzZ,CAAjB,CACA,GAAIC,CAAAA,eAAe,CAAG,CAAC,MAAD,CAAS,SAAT,CAAoB,cAApB,CAAoC,MAApC,CAA4C,UAA5C,CAAwD,UAAxD,CAAoE,WAApE,CAAiF,QAAjF,CAA2F,OAA3F,CAAoG,OAApG,CAA6G,YAA7G,CAAtB,CACA,GAAIC,CAAAA,cAAc,CAAG,CAAC,MAAD,CAAS,MAAT,CAAiB,MAAjB,CAAyB,SAAzB,CAAoC,KAApC,CAArB,CACA,GAAIC,CAAAA,oBAAoB,CAAG,CAEzBC,MAAM,CAAE,yBAAU,CAACC,iBAAD,CAAS,qBAAML,UAAN,CAAT,CAAV,CAFiB,CAIzBM,WAAW,CAAE,qBAAML,eAAN,CAJY,CAMzBM,UAAU,CAAE,qBAAML,cAAN,CANa,CAOzBM,UAAU,CAAEH,iBAPa,CAA3B,C,aASeF,oB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { oneOf, oneOfType, string } from 'prop-types';\nvar cursorEnum = ['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll', 'zoom-in', 'zoom-out', 'grab', 'grabbing '];\nvar touchActionEnum = ['auto', 'inherit', 'manipulation', 'none', 'pan-down', 'pan-left', 'pan-right', 'pan-up', 'pan-x', 'pan-y', 'pinch-zoom'];\nvar userSelectEnum = ['auto', 'text', 'none', 'contain', 'all'];\nvar InteractionPropTypes = {\n // https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#Formal_syntax\n cursor: oneOfType([string, oneOf(cursorEnum)]),\n // https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action#Formal_syntax\n touchAction: oneOf(touchActionEnum),\n // https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#Formal_syntax_2\n userSelect: oneOf(userSelectEnum),\n willChange: string\n};\nexport default InteractionPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _View=_interopRequireDefault(require(\"../View\"));var _propTypes=require(\"prop-types\");var _react=_interopRequireWildcard(require(\"react\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AppContainer=function(_Component){_inheritsLoose(AppContainer,_Component);function AppContainer(){var _this;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=_Component.call.apply(_Component,[this].concat(args))||this;_this.state={mainKey:1};return _this;}var _proto=AppContainer.prototype;_proto.getChildContext=function getChildContext(){return{rootTag:this.props.rootTag};};_proto.render=function render(){var _this$props=this.props,children=_this$props.children,WrapperComponent=_this$props.WrapperComponent;var innerView=_react.default.createElement(_View.default,{children:children,key:this.state.mainKey,pointerEvents:\"box-none\",style:styles.appContainer});if(WrapperComponent){innerView=_react.default.createElement(WrapperComponent,null,innerView);}return _react.default.createElement(_View.default,{pointerEvents:\"box-none\",style:styles.appContainer},innerView);};return AppContainer;}(_react.Component);exports.default=AppContainer;AppContainer.childContextTypes={rootTag:_propTypes.any};AppContainer.propTypes=process.env.NODE_ENV!==\"production\"?{WrapperComponent:_propTypes.any,children:_propTypes.node,rootTag:_propTypes.any.isRequired}:{};var styles=_StyleSheet.default.create({appContainer:{flex:1}});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/AppRegistry/AppContainer.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AppContainer","_Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","mainKey","_proto","getChildContext","rootTag","props","render","_this$props","children","WrapperComponent","innerView","React","createElement","View","key","pointerEvents","style","styles","appContainer","Component","childContextTypes","any","propTypes","process","env","NODE_ENV","node","isRequired","StyleSheet","flex"],"mappings":"wPAWA,iEACA,qDACA,qCACA,qDAdA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAgBvL,GAAIM,CAAAA,YAAY,CAEhB,SAAUC,UAAV,CAAsB,CACpBT,cAAc,CAACQ,YAAD,CAAeC,UAAf,CAAd,CAEA,QAASD,CAAAA,YAAT,EAAwB,CACtB,GAAIE,CAAAA,KAAJ,CAEA,IAAK,GAAIC,CAAAA,IAAI,CAAGC,SAAS,CAACC,MAArB,CAA6BC,IAAI,CAAG,GAAIC,CAAAA,KAAJ,CAAUJ,IAAV,CAApC,CAAqDK,IAAI,CAAG,CAAjE,CAAoEA,IAAI,CAAGL,IAA3E,CAAiFK,IAAI,EAArF,CAAyF,CACvFF,IAAI,CAACE,IAAD,CAAJ,CAAaJ,SAAS,CAACI,IAAD,CAAtB,CACD,CAEDN,KAAK,CAAGD,UAAU,CAACQ,IAAX,CAAgBC,KAAhB,CAAsBT,UAAtB,CAAkC,CAAC,IAAD,EAAOU,MAAP,CAAcL,IAAd,CAAlC,GAA0D,IAAlE,CACAJ,KAAK,CAACU,KAAN,CAAc,CACZC,OAAO,CAAE,CADG,CAA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eAAIM,UAHkD,CAAxC,CAIrB,EAJJ,CAKA,GAAIV,CAAAA,MAAM,CAAGW,oBAAW3C,MAAX,CAAkB,CAC7BiC,YAAY,CAAE,CACZW,IAAI,CAAE,CADM,CADe,CAAlB,CAAb","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nimport { any, node } from 'prop-types';\nimport React, { Component } from 'react';\n\nvar AppContainer =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(AppContainer, _Component);\n\n function AppContainer() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.state = {\n mainKey: 1\n };\n return _this;\n }\n\n var _proto = AppContainer.prototype;\n\n _proto.getChildContext = function getChildContext() {\n return {\n rootTag: this.props.rootTag\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n WrapperComponent = _this$props.WrapperComponent;\n var innerView = React.createElement(View, {\n children: children,\n key: this.state.mainKey,\n pointerEvents: \"box-none\",\n style: styles.appContainer\n });\n\n if (WrapperComponent) {\n innerView = React.createElement(WrapperComponent, null, innerView);\n }\n\n return React.createElement(View, {\n pointerEvents: \"box-none\",\n style: styles.appContainer\n }, innerView);\n };\n\n return AppContainer;\n}(Component);\n\nAppContainer.childContextTypes = {\n rootTag: any\n};\nexport { AppContainer as default };\nAppContainer.propTypes = process.env.NODE_ENV !== \"production\" ? {\n WrapperComponent: any,\n children: node,\n rootTag: any.isRequired\n} : {};\nvar styles = StyleSheet.create({\n appContainer: {\n flex: 1\n }\n});"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));var _InteractionManager=_interopRequireDefault(require(\"../../../../exports/InteractionManager\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var NativeAnimatedAPI=_NativeAnimatedHelper.default.API;var _uniqueId=1;function _flush(rootNode){var animatedStyles=new Set();function findAnimatedStyles(node){if(typeof node.update==='function'){animatedStyles.add(node);}else{node.__getChildren().forEach(findAnimatedStyles);}}findAnimatedStyles(rootNode);animatedStyles.forEach(function(animatedStyle){return animatedStyle.update();});}var AnimatedValue=function(_AnimatedWithChildren){_inheritsLoose(AnimatedValue,_AnimatedWithChildren);function AnimatedValue(value){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._startingValue=_this._value=value;_this._offset=0;_this._animation=null;_this._listeners={};return _this;}var _proto=AnimatedValue.prototype;_proto.__detach=function __detach(){this.stopAnimation();_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getValue=function __getValue(){return this._value+this._offset;};_proto.__makeNative=function __makeNative(){_AnimatedWithChildren.prototype.__makeNative.call(this);if(Object.keys(this._listeners).length){this._startListeningToNativeValueUpdates();}};_proto.setValue=function setValue(value){if(this._animation){this._animation.stop();this._animation=null;}this._updateValue(value,!this.__isNative);if(this.__isNative){NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(),value);}};_proto.setOffset=function setOffset(offset){this._offset=offset;if(this.__isNative){NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(),offset);}};_proto.flattenOffset=function flattenOffset(){this._value+=this._offset;this._offset=0;if(this.__isNative){NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());}};_proto.extractOffset=function extractOffset(){this._offset+=this._value;this._value=0;if(this.__isNative){NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());}};_proto.addListener=function addListener(callback){var id=String(_uniqueId++);this._listeners[id]=callback;if(this.__isNative){this._startListeningToNativeValueUpdates();}return id;};_proto.removeListener=function removeListener(id){delete this._listeners[id];if(this.__isNative&&Object.keys(this._listeners).length===0){this._stopListeningForNativeValueUpdates();}};_proto.removeAllListeners=function removeAllListeners(){this._listeners={};if(this.__isNative){this._stopListeningForNativeValueUpdates();}};_proto._startListeningToNativeValueUpdates=function _startListeningToNativeValueUpdates(){var _this2=this;if(this.__nativeAnimatedValueListener){return;}NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag());this.__nativeAnimatedValueListener=_NativeAnimatedHelper.default.nativeEventEmitter.addListener('onAnimatedValueUpdate',function(data){if(data.tag!==_this2.__getNativeTag()){return;}_this2._updateValue(data.value,false);});};_proto._stopListeningForNativeValueUpdates=function _stopListeningForNativeValueUpdates(){if(!this.__nativeAnimatedValueListener){return;}this.__nativeAnimatedValueListener.remove();this.__nativeAnimatedValueListener=null;NativeAnimatedAPI.stopListeningToAnimatedNodeValue(this.__getNativeTag());};_proto.stopAnimation=function stopAnimation(callback){this.stopTracking();this._animation&&this._animation.stop();this._animation=null;callback&&callback(this.__getValue());};_proto.resetAnimation=function resetAnimation(callback){this.stopAnimation(callback);this._value=this._startingValue;};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.animate=function animate(animation,callback){var _this3=this;var handle=null;if(animation.__isInteraction){handle=_InteractionManager.default.createInteractionHandle();}var previousAnimation=this._animation;this._animation&&this._animation.stop();this._animation=animation;animation.start(this._value,function(value){_this3._updateValue(value,true);},function(result){_this3._animation=null;if(handle!==null){_InteractionManager.default.clearInteractionHandle(handle);}callback&&callback(result);},previousAnimation,this);};_proto.stopTracking=function stopTracking(){this._tracking&&this._tracking.__detach();this._tracking=null;};_proto.track=function track(tracking){this.stopTracking();this._tracking=tracking;};_proto._updateValue=function _updateValue(value,flush){this._value=value;if(flush){_flush(this);}for(var _key in this._listeners){this._listeners[_key]({value:this.__getValue()});}};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'value',value:this._value,offset:this._offset};};return AnimatedValue;}(_AnimatedWithChildren2.default);var _default=AnimatedValue;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedValue.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","NativeAnimatedAPI","NativeAnimatedHelper","API","_uniqueId","_flush","rootNode","animatedStyles","Set","findAnimatedStyles","node","update","add","__getChildren","forEach","animatedStyle","AnimatedValue","_AnimatedWithChildren","value","_this","call","_startingValue","_value","_offset","_animation","_listeners","_proto","__detach","stopAnimation","__getValue","__makeNative","keys","length","_startListeningToNativeValueUpdates","setValue","stop","_updateValue","__isNative","setAnimatedNodeValue","__getNativeTag","setOffset","offset","setAnimatedNodeOffset","flattenOffset","flattenAnimatedNodeOffset","extractOffset","extractAnimatedNodeOffset","addListener","callback","id","String","removeListener","_stopListeningForNativeValueUpdates","removeAllListeners","_this2","__nativeAnimatedValueListener","startListeningToAnimatedNodeValue","nativeEventEmitter","data","tag","remove","stopListeningToAnimatedNodeValue","stopTracking","resetAnimation","interpolate","config","AnimatedInterpolation","animate","animation","_this3","handle","__isInteraction","InteractionManager","createInteractionHandle","previousAnimation","start","result","clearInteractionHandle","_tracking","track","tracking","flush","_key","__getNativeConfig","type","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,qFACA,kGACA,qFANA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA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AT,CAAsBlB,KAAtB,CAA6B+D,KAA7B,CAAoC,CACxD,KAAK3D,MAAL,CAAcJ,KAAd,CAEA,GAAI+D,KAAJ,CAAW,CACT5E,MAAM,CAAC,IAAD,CAAN,CACD,CAED,IAAK,GAAI6E,CAAAA,IAAT,GAAiB,MAAKzD,UAAtB,CAAkC,CAChC,KAAKA,UAAL,CAAgByD,IAAhB,EAAsB,CACpBhE,KAAK,CAAE,KAAKW,UAAL,EADa,CAAtB,EAGD,CACF,CAZD,CAcAH,MAAM,CAACyD,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,MAAO,CACLC,IAAI,CAAE,OADD,CAELlE,KAAK,CAAE,KAAKI,MAFP,CAGLmB,MAAM,CAAE,KAAKlB,OAHR,CAAP,CAKD,CAND,CAQA,MAAOP,CAAAA,aAAP,CACD,CAvSD,CAuSEqE,8BAvSF,CAFA,C,aA2SerE,a","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport InteractionManager from '../../../../exports/InteractionManager';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nvar NativeAnimatedAPI = NativeAnimatedHelper.API;\nvar _uniqueId = 1;\n/**\n * Animated works by building a directed acyclic graph of dependencies\n * transparently when you render your Animated components.\n *\n * new Animated.Value(0)\n * .interpolate() .interpolate() new Animated.Value(1)\n * opacity translateY scale\n * style transform\n * View#234 style\n * View#123\n *\n * A) Top Down phase\n * When an Animated.Value is updated, we recursively go down through this\n * graph in order to find leaf nodes: the views that we flag as needing\n * an update.\n *\n * B) Bottom Up phase\n * When a view is flagged as needing an update, we recursively go back up\n * in order to build the new value that it needs. The reason why we need\n * this two-phases process is to deal with composite props such as\n * transform which can receive values from multiple parents.\n */\n\nfunction _flush(rootNode) {\n var animatedStyles = new Set();\n\n function findAnimatedStyles(node) {\n if (typeof node.update === 'function') {\n animatedStyles.add(node);\n } else {\n node.__getChildren().forEach(findAnimatedStyles);\n }\n }\n\n findAnimatedStyles(rootNode);\n animatedStyles.forEach(function (animatedStyle) {\n return animatedStyle.update();\n });\n}\n/**\n * Standard value for driving animations. One `Animated.Value` can drive\n * multiple properties in a synchronized fashion, but can only be driven by one\n * mechanism at a time. Using a new mechanism (e.g. starting a new animation,\n * or calling `setValue`) will stop any previous ones.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html\n */\n\n\nvar AnimatedValue =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedValue, _AnimatedWithChildren);\n\n function AnimatedValue(value) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._startingValue = _this._value = value;\n _this._offset = 0;\n _this._animation = null;\n _this._listeners = {};\n return _this;\n }\n\n var _proto = AnimatedValue.prototype;\n\n _proto.__detach = function __detach() {\n this.stopAnimation();\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._value + this._offset;\n };\n\n _proto.__makeNative = function __makeNative() {\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n\n if (Object.keys(this._listeners).length) {\n this._startListeningToNativeValueUpdates();\n }\n }\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#setvalue\n */\n ;\n\n _proto.setValue = function setValue(value) {\n if (this._animation) {\n this._animation.stop();\n\n this._animation = null;\n }\n\n this._updateValue(value, !this.__isNative\n /* don't perform a flush for natively driven values */\n );\n\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value);\n }\n }\n /**\n * Sets an offset that is applied on top of whatever value is set, whether via\n * `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#setoffset\n */\n ;\n\n _proto.setOffset = function setOffset(offset) {\n this._offset = offset;\n\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);\n }\n }\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#flattenoffset\n */\n ;\n\n _proto.flattenOffset = function flattenOffset() {\n this._value += this._offset;\n this._offset = 0;\n\n if (this.__isNative) {\n NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n /**\n * Sets the offset value to the base value, and resets the base value to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#extractoffset\n */\n ;\n\n _proto.extractOffset = function extractOffset() {\n this._offset += this._value;\n this._value = 0;\n\n if (this.__isNative) {\n NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to\n * synchronously read the value because it might be driven natively.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#addlistener\n */\n ;\n\n _proto.addListener = function addListener(callback) {\n var id = String(_uniqueId++);\n this._listeners[id] = callback;\n\n if (this.__isNative) {\n this._startListeningToNativeValueUpdates();\n }\n\n return id;\n }\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#removelistener\n */\n ;\n\n _proto.removeListener = function removeListener(id) {\n delete this._listeners[id];\n\n if (this.__isNative && Object.keys(this._listeners).length === 0) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n /**\n * Remove all registered listeners.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#removealllisteners\n */\n ;\n\n _proto.removeAllListeners = function removeAllListeners() {\n this._listeners = {};\n\n if (this.__isNative) {\n this._stopListeningForNativeValueUpdates();\n }\n };\n\n _proto._startListeningToNativeValueUpdates = function _startListeningToNativeValueUpdates() {\n var _this2 = this;\n\n if (this.__nativeAnimatedValueListener) {\n return;\n }\n\n NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag());\n this.__nativeAnimatedValueListener = NativeAnimatedHelper.nativeEventEmitter.addListener('onAnimatedValueUpdate', function (data) {\n if (data.tag !== _this2.__getNativeTag()) {\n return;\n }\n\n _this2._updateValue(data.value, false\n /* flush */\n );\n });\n };\n\n _proto._stopListeningForNativeValueUpdates = function _stopListeningForNativeValueUpdates() {\n if (!this.__nativeAnimatedValueListener) {\n return;\n }\n\n this.__nativeAnimatedValueListener.remove();\n\n this.__nativeAnimatedValueListener = null;\n NativeAnimatedAPI.stopListeningToAnimatedNodeValue(this.__getNativeTag());\n }\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#stopanimation\n */\n ;\n\n _proto.stopAnimation = function stopAnimation(callback) {\n this.stopTracking();\n this._animation && this._animation.stop();\n this._animation = null;\n callback && callback(this.__getValue());\n }\n /**\n * Stops any animation and resets the value to its original.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#resetanimation\n */\n ;\n\n _proto.resetAnimation = function resetAnimation(callback) {\n this.stopAnimation(callback);\n this._value = this._startingValue;\n }\n /**\n * Interpolates the value before updating the property, e.g. mapping 0-1 to\n * 0-10.\n */\n ;\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n /**\n * Typically only used internally, but could be used by a custom Animation\n * class.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#animate\n */\n ;\n\n _proto.animate = function animate(animation, callback) {\n var _this3 = this;\n\n var handle = null;\n\n if (animation.__isInteraction) {\n handle = InteractionManager.createInteractionHandle();\n }\n\n var previousAnimation = this._animation;\n this._animation && this._animation.stop();\n this._animation = animation;\n animation.start(this._value, function (value) {\n // Natively driven animations will never call into that callback, therefore we can always\n // pass flush = true to allow the updated value to propagate to native with setNativeProps\n _this3._updateValue(value, true\n /* flush */\n );\n }, function (result) {\n _this3._animation = null;\n\n if (handle !== null) {\n InteractionManager.clearInteractionHandle(handle);\n }\n\n callback && callback(result);\n }, previousAnimation, this);\n }\n /**\n * Typically only used internally.\n */\n ;\n\n _proto.stopTracking = function stopTracking() {\n this._tracking && this._tracking.__detach();\n this._tracking = null;\n }\n /**\n * Typically only used internally.\n */\n ;\n\n _proto.track = function track(tracking) {\n this.stopTracking();\n this._tracking = tracking;\n };\n\n _proto._updateValue = function _updateValue(value, flush) {\n this._value = value;\n\n if (flush) {\n _flush(this);\n }\n\n for (var _key in this._listeners) {\n this._listeners[_key]({\n value: this.__getValue()\n });\n }\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'value',\n value: this._value,\n offset: this._offset\n };\n };\n\n return AnimatedValue;\n}(AnimatedWithChildren);\n\nexport default AnimatedValue;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _TextInput=_interopRequireDefault(require(\"react-native-web/dist/exports/TextInput\"));var _Keyboard=_interopRequireDefault(require(\"react-native-web/dist/exports/Keyboard\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _reactNativeGestureHandler=require(\"react-native-gesture-handler\");var _reactNativeReanimated=_interopRequireWildcard(require(\"react-native-reanimated\"));var _memoize=_interopRequireDefault(require(\"./memoize\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/Pager.tsx\";var Clock=_reactNativeReanimated.default.Clock,Value=_reactNativeReanimated.default.Value,onChange=_reactNativeReanimated.default.onChange,and=_reactNativeReanimated.default.and,abs=_reactNativeReanimated.default.abs,add=_reactNativeReanimated.default.add,block=_reactNativeReanimated.default.block,call=_reactNativeReanimated.default.call,ceil=_reactNativeReanimated.default.ceil,clockRunning=_reactNativeReanimated.default.clockRunning,cond=_reactNativeReanimated.default.cond,divide=_reactNativeReanimated.default.divide,eq=_reactNativeReanimated.default.eq,event=_reactNativeReanimated.default.event,floor=_reactNativeReanimated.default.floor,greaterThan=_reactNativeReanimated.default.greaterThan,lessThan=_reactNativeReanimated.default.lessThan,max=_reactNativeReanimated.default.max,min=_reactNativeReanimated.default.min,multiply=_reactNativeReanimated.default.multiply,neq=_reactNativeReanimated.default.neq,not=_reactNativeReanimated.default.not,round=_reactNativeReanimated.default.round,set=_reactNativeReanimated.default.set,spring=_reactNativeReanimated.default.spring,startClock=_reactNativeReanimated.default.startClock,stopClock=_reactNativeReanimated.default.stopClock,sub=_reactNativeReanimated.default.sub,timing=_reactNativeReanimated.default.timing;var TRUE=1;var FALSE=0;var NOOP=0;var UNSET=-1;var DIRECTION_LEFT=1;var DIRECTION_RIGHT=-1;var SWIPE_DISTANCE_MINIMUM=20;var SWIPE_VELOCITY_IMPACT=0.2;var SPRING_CONFIG={stiffness:1000,damping:500,mass:3,overshootClamping:true,restDisplacementThreshold:0.01,restSpeedThreshold:0.01};var SPRING_VELOCITY_SCALE=1;var TIMING_CONFIG={duration:200,easing:_reactNativeReanimated.Easing.out(_reactNativeReanimated.Easing.cubic)};var Pager=function(_React$Component){(0,_inherits2.default)(Pager,_React$Component);function Pager(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Pager);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Pager)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.clock=new Clock();_this.velocityX=new Value(0);_this.gestureX=new Value(0);_this.gestureState=new Value(_reactNativeGestureHandler.State.UNDETERMINED);_this.offsetX=new Value(0);_this.progress=new Value(_this.props.navigationState.index*_this.props.layout.width*DIRECTION_RIGHT);_this.index=new Value(_this.props.navigationState.index);_this.nextIndex=new Value(UNSET);_this.lastEnteredIndex=new Value(_this.props.navigationState.index);_this.isSwiping=new Value(FALSE);_this.isSwipeGesture=new Value(FALSE);_this.indexAtSwipeEnd=new Value(_this.props.navigationState.index);_this.routesLength=new Value(_this.props.navigationState.routes.length);_this.layoutWidth=new Value(_this.props.layout.width);_this.swipeVelocityImpact=new Value(_this.props.swipeVelocityImpact!==undefined?_this.props.swipeVelocityImpact:SWIPE_VELOCITY_IMPACT);_this.springVelocityScale=new Value(_this.props.springVelocityScale!==undefined?_this.props.springVelocityScale:SPRING_VELOCITY_SCALE);_this.position=cond(_this.layoutWidth,divide(multiply(_this.progress,-1),_this.layoutWidth),_this.index);_this.springConfig={damping:new Value(_this.props.springConfig.damping!==undefined?_this.props.springConfig.damping:SPRING_CONFIG.damping),mass:new Value(_this.props.springConfig.mass!==undefined?_this.props.springConfig.mass:SPRING_CONFIG.mass),stiffness:new Value(_this.props.springConfig.stiffness!==undefined?_this.props.springConfig.stiffness:SPRING_CONFIG.stiffness),restSpeedThreshold:new Value(_this.props.springConfig.restSpeedThreshold!==undefined?_this.props.springConfig.restSpeedThreshold:SPRING_CONFIG.restSpeedThreshold),restDisplacementThreshold:new Value(_this.props.springConfig.restDisplacementThreshold!==undefined?_this.props.springConfig.restDisplacementThreshold:SPRING_CONFIG.restDisplacementThreshold)};_this.timingConfig={duration:new Value(_this.props.timingConfig.duration!==undefined?_this.props.timingConfig.duration:TIMING_CONFIG.duration)};_this.initialVelocityForSpring=new Value(0);_this.currentIndexValue=_this.props.navigationState.index;_this.pendingIndexValue=undefined;_this.previouslyFocusedTextInput=null;_this.enterListeners=[];_this.jumpToIndex=function(index){_this.isSwipeGesture.setValue(FALSE);_this.nextIndex.setValue(index);};_this.jumpTo=function(key){var _this$props=_this.props,navigationState=_this$props.navigationState,keyboardDismissMode=_this$props.keyboardDismissMode,onIndexChange=_this$props.onIndexChange;var index=navigationState.routes.findIndex(function(route){return route.key===key;});if(navigationState.index===index){_this.jumpToIndex(index);}else{onIndexChange(index);if(keyboardDismissMode==='auto'){_Keyboard.default.dismiss();}}};_this.addListener=function(type,listener){switch(type){case'enter':_this.enterListeners.push(listener);break;}};_this.removeListener=function(type,listener){switch(type){case'enter':{var _index=_this.enterListeners.indexOf(listener);if(_index>-1){_this.enterListeners.splice(_index,1);}break;}}};_this.handleEnteredIndexChange=function(_ref){var _ref2=(0,_slicedToArray2.default)(_ref,1),value=_ref2[0];var index=Math.max(0,Math.min(value,_this.props.navigationState.routes.length-1));_this.enterListeners.forEach(function(listener){return listener(index);});};_this.transitionTo=function(index){var toValue=new Value(0);var frameTime=new Value(0);var state={position:_this.progress,time:new Value(0),finished:new Value(FALSE)};return block([cond(clockRunning(_this.clock),NOOP,[set(toValue,multiply(index,_this.layoutWidth,DIRECTION_RIGHT)),set(frameTime,0),set(state.time,0),set(state.finished,FALSE),set(_this.index,index)]),cond(_this.isSwipeGesture,[cond(not(clockRunning(_this.clock)),_I18nManager.default.isRTL?set(_this.initialVelocityForSpring,multiply(-1,_this.velocityX,_this.springVelocityScale)):set(_this.initialVelocityForSpring,multiply(_this.velocityX,_this.springVelocityScale))),spring(_this.clock,(0,_objectSpread2.default)({},state,{velocity:_this.initialVelocityForSpring}),(0,_objectSpread2.default)({},SPRING_CONFIG,_this.springConfig,{toValue:toValue}))],timing(_this.clock,(0,_objectSpread2.default)({},state,{frameTime:frameTime}),(0,_objectSpread2.default)({},TIMING_CONFIG,_this.timingConfig,{toValue:toValue}))),cond(not(clockRunning(_this.clock)),startClock(_this.clock)),cond(state.finished,[set(_this.isSwipeGesture,FALSE),set(_this.gestureX,0),set(_this.velocityX,0),stopClock(_this.clock)])]);};_this.handleGestureEvent=event([{nativeEvent:{translationX:_this.gestureX,velocityX:_this.velocityX,state:_this.gestureState}}]);_this.extrapolatedPosition=add(_this.gestureX,multiply(_this.velocityX,_this.swipeVelocityImpact));_this.translateX=block([onChange(_this.index,call([_this.index],function(_ref3){var _ref4=(0,_slicedToArray2.default)(_ref3,1),value=_ref4[0];_this.currentIndexValue=value;if(value!==_this.props.navigationState.index){_this.props.onIndexChange(value);_this.pendingIndexValue=value;_this.forceUpdate();}})),onChange(_this.position,cond(_I18nManager.default.isRTL?lessThan(_this.gestureX,0):greaterThan(_this.gestureX,0),cond(neq(floor(_this.position),_this.lastEnteredIndex),[set(_this.lastEnteredIndex,floor(_this.position)),call([floor(_this.position)],_this.handleEnteredIndexChange)]),cond(neq(ceil(_this.position),_this.lastEnteredIndex),[set(_this.lastEnteredIndex,ceil(_this.position)),call([ceil(_this.position)],_this.handleEnteredIndexChange)]))),onChange(_this.isSwiping,call([_this.isSwiping,_this.indexAtSwipeEnd,_this.index],function(_ref5){var _ref6=(0,_slicedToArray2.default)(_ref5,3),isSwiping=_ref6[0],indexAtSwipeEnd=_ref6[1],currentIndex=_ref6[2];var _this$props2=_this.props,keyboardDismissMode=_this$props2.keyboardDismissMode,onSwipeStart=_this$props2.onSwipeStart,onSwipeEnd=_this$props2.onSwipeEnd;if(isSwiping===TRUE){onSwipeStart&&onSwipeStart();if(keyboardDismissMode==='auto'){var input=_TextInput.default.State.currentlyFocusedField();_TextInput.default.State.blurTextInput(input);_this.previouslyFocusedTextInput=input;}else if(keyboardDismissMode==='on-drag'){_Keyboard.default.dismiss();}}else{onSwipeEnd&&onSwipeEnd();if(keyboardDismissMode==='auto'){if(indexAtSwipeEnd===currentIndex){var _input=_this.previouslyFocusedTextInput;if(_input){_TextInput.default.State.focusTextInput(_input);}}_this.previouslyFocusedTextInput=null;}}})),onChange(_this.nextIndex,cond(neq(_this.nextIndex,UNSET),[cond(clockRunning(_this.clock),stopClock(_this.clock)),set(_this.gestureX,0),set(_this.index,_this.nextIndex),set(_this.nextIndex,UNSET)])),cond(eq(_this.gestureState,_reactNativeGestureHandler.State.ACTIVE),[cond(_this.isSwiping,NOOP,[set(_this.isSwiping,TRUE),set(_this.isSwipeGesture,TRUE),set(_this.offsetX,_this.progress)]),set(_this.progress,_I18nManager.default.isRTL?sub(_this.offsetX,_this.gestureX):add(_this.offsetX,_this.gestureX)),stopClock(_this.clock)],[set(_this.isSwiping,FALSE),set(_this.indexAtSwipeEnd,_this.index),_this.transitionTo(cond(and(greaterThan(abs(_this.gestureX),SWIPE_DISTANCE_MINIMUM),greaterThan(abs(_this.extrapolatedPosition),divide(_this.layoutWidth,2))),round(min(max(0,sub(_this.index,cond(greaterThan(_this.extrapolatedPosition,0),_I18nManager.default.isRTL?DIRECTION_RIGHT:DIRECTION_LEFT,_I18nManager.default.isRTL?DIRECTION_LEFT:DIRECTION_RIGHT))),sub(_this.routesLength,1))),_this.index))]),_this.progress]);_this.getTranslateX=(0,_memoize.default)(function(layoutWidth,routesLength,translateX){return multiply(min(max(multiply(layoutWidth,sub(routesLength,1),DIRECTION_RIGHT),translateX),0),_I18nManager.default.isRTL?-1:1);});return _this;}(0,_createClass2.default)(Pager,[{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps){var _this$props3=this.props,navigationState=_this$props3.navigationState,layout=_this$props3.layout,swipeVelocityImpact=_this$props3.swipeVelocityImpact,springVelocityScale=_this$props3.springVelocityScale,springConfig=_this$props3.springConfig,timingConfig=_this$props3.timingConfig;var index=navigationState.index,routes=navigationState.routes;if(index!==prevProps.navigationState.index&&index!==this.currentIndexValue||typeof this.pendingIndexValue==='number'&&index!==this.pendingIndexValue){this.jumpToIndex(index);}this.pendingIndexValue=undefined;if(prevProps.navigationState.routes.length!==routes.length){this.routesLength.setValue(routes.length);}if(prevProps.layout.width!==layout.width){this.progress.setValue(-index*layout.width);this.layoutWidth.setValue(layout.width);}if(prevProps.swipeVelocityImpact!==swipeVelocityImpact){this.swipeVelocityImpact.setValue(swipeVelocityImpact!==undefined?swipeVelocityImpact:SWIPE_VELOCITY_IMPACT);}if(prevProps.springVelocityScale!==springVelocityScale){this.springVelocityScale.setValue(springVelocityScale!==undefined?springVelocityScale:SPRING_VELOCITY_SCALE);}if(prevProps.springConfig!==springConfig){this.springConfig.damping.setValue(springConfig.damping!==undefined?springConfig.damping:SPRING_CONFIG.damping);this.springConfig.mass.setValue(springConfig.mass!==undefined?springConfig.mass:SPRING_CONFIG.mass);this.springConfig.stiffness.setValue(springConfig.stiffness!==undefined?springConfig.stiffness:SPRING_CONFIG.stiffness);this.springConfig.restSpeedThreshold.setValue(springConfig.restSpeedThreshold!==undefined?springConfig.restSpeedThreshold:SPRING_CONFIG.restSpeedThreshold);this.springConfig.restDisplacementThreshold.setValue(springConfig.restDisplacementThreshold!==undefined?springConfig.restDisplacementThreshold:SPRING_CONFIG.restDisplacementThreshold);}if(prevProps.timingConfig!==timingConfig){this.timingConfig.duration.setValue(timingConfig.duration!==undefined?timingConfig.duration:TIMING_CONFIG.duration);}}},{key:\"render\",value:function render(){var _this2=this;var _this$props4=this.props,layout=_this$props4.layout,navigationState=_this$props4.navigationState,swipeEnabled=_this$props4.swipeEnabled,children=_this$props4.children,removeClippedSubviews=_this$props4.removeClippedSubviews,gestureHandlerProps=_this$props4.gestureHandlerProps;var translateX=this.getTranslateX(this.layoutWidth,this.routesLength,this.translateX);return children({position:this.position,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function render(children){return React.createElement(_reactNativeGestureHandler.PanGestureHandler,(0,_extends2.default)({enabled:layout.width!==0&&swipeEnabled,onGestureEvent:_this2.handleGestureEvent,onHandlerStateChange:_this2.handleGestureEvent,activeOffsetX:[-SWIPE_DISTANCE_MINIMUM,SWIPE_DISTANCE_MINIMUM],failOffsetY:[-SWIPE_DISTANCE_MINIMUM,SWIPE_DISTANCE_MINIMUM]},gestureHandlerProps,{__source:{fileName:_jsxFileName,lineNumber:659}}),React.createElement(_reactNativeReanimated.default.View,{removeClippedSubviews:removeClippedSubviews,style:[styles.container,layout.width?{width:layout.width*navigationState.routes.length,transform:[{translateX:translateX}]}:null],__source:{fileName:_jsxFileName,lineNumber:667}},children));}});}}]);return Pager;}(React.Component);exports.default=Pager;Pager.defaultProps={swipeVelocityImpact:SWIPE_VELOCITY_IMPACT,springVelocityScale:SPRING_VELOCITY_SCALE};var styles=_StyleSheet.default.create({container:{flex:1,flexDirection:'row'}});","map":{"version":3,"sources":["Pager.tsx"],"names":["Clock","Value","onChange","and","abs","add","block","call","ceil","clockRunning","cond","divide","eq","event","floor","greaterThan","lessThan","max","min","multiply","neq","not","round","set","spring","startClock","stopClock","sub","timing","Animated","TRUE","FALSE","NOOP","UNSET","DIRECTION_LEFT","DIRECTION_RIGHT","SWIPE_DISTANCE_MINIMUM","SWIPE_VELOCITY_IMPACT","SPRING_CONFIG","stiffness","damping","mass","overshootClamping","restDisplacementThreshold","restSpeedThreshold","SPRING_VELOCITY_SCALE","TIMING_CONFIG","duration","easing","Easing","Pager","React","Component","defaultProps","swipeVelocityImpact","springVelocityScale","prevProps","navigationState","layout","springConfig","timingConfig","index","routes","clock","velocityX","gestureX","gestureState","State","offsetX","progress","nextIndex","lastEnteredIndex","isSwiping","isSwipeGesture","indexAtSwipeEnd","routesLength","layoutWidth","position","initialVelocityForSpring","currentIndexValue","pendingIndexValue","undefined","previouslyFocusedTextInput","enterListeners","jumpToIndex","jumpTo","keyboardDismissMode","onIndexChange","route","Keyboard","addListener","removeListener","handleEnteredIndexChange","value","Math","listener","transitionTo","toValue","frameTime","state","time","finished","I18nManager","velocity","handleGestureEvent","nativeEvent","translationX","extrapolatedPosition","translateX","currentIndex","onSwipeStart","onSwipeEnd","input","TextInput","getTranslateX","memoize","swipeEnabled","children","removeClippedSubviews","gestureHandlerProps","render","styles","width","transform","StyleSheet","container","flex","flexDirection"],"mappings":"w9BAAA,oD,4WAEA,uEACA,uFACA,0D,uFAqCEA,GAAAA,CAAAA,K,CA6BE6B,+BA7BF7B,KAAAA,CACAC,K,CA4BE4B,+BA5BF5B,KADAD,CAEAE,Q,CA2BE2B,+BA3BF3B,QAFAF,CAGAG,G,CA0BE0B,+BA1BF1B,GAHAH,CAIAI,G,CAyBEyB,+BAzBFzB,GAJAJ,CAKAK,G,CAwBEwB,+BAxBFxB,GALAL,CAMAM,K,CAuBEuB,+BAvBFvB,KANAN,CAOAO,I,CAsBEsB,+BAtBFtB,IAPAP,CAQAQ,I,CAqBEqB,+BArBFrB,IARAR,CASAS,Y,CAoBEoB,+BApBFpB,YATAT,CAUAU,I,CAmBEmB,+BAnBFnB,IAVAV,CAWAW,M,CAkBEkB,+BAlBFlB,MAXAX,CAYAY,E,CAiBEiB,+BAjBFjB,EAZAZ,CAaAa,K,CAgBEgB,+BAhBFhB,KAbAb,CAcAc,K,CAeEe,+BAfFf,KAdAd,CAeAe,W,CAcEc,+BAdFd,WAfAf,CAgBAgB,Q,CAaEa,+BAbFb,QAhBAhB,CAiBAiB,G,CAYEY,+BAZFZ,GAjBAjB,CAkBAkB,G,CAWEW,+BAXFX,GAlBAlB,CAmBAmB,Q,CAUEU,+BAVFV,QAnBAnB,CAoBAoB,G,CASES,+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D,SAAA,CAEL/D,MAAM,CAANA,KAAAA,CACI,CACEgE,KAAK,CAAEhE,MAAM,CAANA,KAAAA,CAAeD,eAAe,CAAfA,MAAAA,CADxB,MAAA,CAEEkE,SAAS,CAAE,CAAC,CAAEf,UAAU,CAH9BlD,UAGkB,CAAD,CAFb,CADJA,CAJJ,IAES,CAFT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,CATY,QASZ,CARF,CADc,CALlB,CAAgB,CAAD,CAAf,C,oBAxiBgDP,KAAK,CAACC,S,CAArCF,C,sBAAAA,K,CACZG,YADYH,CACG,CACpBI,mBAAmB,CADC,qBAAA,CAEpBC,mBAAmB,CAHFL,qBACG,CADHA,CA0kBrB,GAAMuE,CAAAA,MAAM,CAAGG,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,IAAI,CADK,CAAA,CAETC,aAAa,CAHjB,KACa,CADoB,CAAlBH,CAAf","sourcesContent":["import * as React from 'react';\nimport { StyleSheet, TextInput, Keyboard, I18nManager } from 'react-native';\nimport { PanGestureHandler, State } from 'react-native-gesture-handler';\nimport Animated, { Easing } from 'react-native-reanimated';\nimport memoize from './memoize';\n\nimport {\n Layout,\n NavigationState,\n Route,\n Listener,\n PagerCommonProps,\n EventEmitterProps,\n} from './types';\n\ntype Binary = 0 | 1;\n\ntype Props<T extends Route> = PagerCommonProps & {\n onIndexChange: (index: number) => void;\n navigationState: NavigationState<T>;\n layout: Layout;\n // Clip unfocused views to improve memory usage\n // Don't enable this on iOS where this is buggy and views don't re-appear\n removeClippedSubviews?: boolean;\n children: (\n props: EventEmitterProps & {\n // Animated value which represents the state of current index\n // It can include fractional digits as it represents the intermediate value\n position: Animated.Node<number>;\n // Function to actually render the content of the pager\n // The parent component takes care of rendering\n render: (children: React.ReactNode) => React.ReactNode;\n // Callback to call when switching the tab\n // The tab switch animation is performed even if the index in state is unchanged\n jumpTo: (key: string) => void;\n }\n ) => React.ReactNode;\n gestureHandlerProps: React.ComponentProps<typeof PanGestureHandler>;\n};\n\nconst {\n Clock,\n Value,\n onChange,\n and,\n abs,\n add,\n block,\n call,\n ceil,\n clockRunning,\n cond,\n divide,\n eq,\n event,\n floor,\n greaterThan,\n lessThan,\n max,\n min,\n multiply,\n neq,\n not,\n round,\n set,\n spring,\n startClock,\n stopClock,\n sub,\n timing,\n} = Animated;\n\nconst TRUE = 1;\nconst FALSE = 0;\nconst NOOP = 0;\nconst UNSET = -1;\n\nconst DIRECTION_LEFT = 1;\nconst DIRECTION_RIGHT = -1;\n\nconst SWIPE_DISTANCE_MINIMUM = 20;\n\nconst SWIPE_VELOCITY_IMPACT = 0.2;\n\nconst SPRING_CONFIG = {\n stiffness: 1000,\n damping: 500,\n mass: 3,\n overshootClamping: true,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 0.01,\n};\n\nconst SPRING_VELOCITY_SCALE = 1;\n\nconst TIMING_CONFIG = {\n duration: 200,\n easing: Easing.out(Easing.cubic),\n};\n\nexport default class Pager<T extends Route> extends React.Component<Props<T>> {\n static defaultProps = {\n swipeVelocityImpact: SWIPE_VELOCITY_IMPACT,\n springVelocityScale: SPRING_VELOCITY_SCALE,\n };\n\n componentDidUpdate(prevProps: Props<T>) {\n const {\n navigationState,\n layout,\n swipeVelocityImpact,\n springVelocityScale,\n springConfig,\n timingConfig,\n } = this.props;\n const { index, routes } = navigationState;\n\n if (\n // Check for index in state to avoid unintended transition if component updates during swipe\n (index !== prevProps.navigationState.index &&\n index !== this.currentIndexValue) ||\n // Check if the user updated the index correctly after an update\n (typeof this.pendingIndexValue === 'number' &&\n index !== this.pendingIndexValue)\n ) {\n // Index in user's state is different from the index being tracked\n this.jumpToIndex(index);\n }\n\n // Reset the pending index\n this.pendingIndexValue = undefined;\n\n // Update our mappings of animated nodes when props change\n if (prevProps.navigationState.routes.length !== routes.length) {\n this.routesLength.setValue(routes.length);\n }\n\n if (prevProps.layout.width !== layout.width) {\n this.progress.setValue(-index * layout.width);\n this.layoutWidth.setValue(layout.width);\n }\n\n if (prevProps.swipeVelocityImpact !== swipeVelocityImpact) {\n this.swipeVelocityImpact.setValue(\n swipeVelocityImpact !== undefined\n ? swipeVelocityImpact\n : SWIPE_VELOCITY_IMPACT\n );\n }\n\n if (prevProps.springVelocityScale !== springVelocityScale) {\n this.springVelocityScale.setValue(\n springVelocityScale !== undefined\n ? springVelocityScale\n : SPRING_VELOCITY_SCALE\n );\n }\n\n if (prevProps.springConfig !== springConfig) {\n this.springConfig.damping.setValue(\n springConfig.damping !== undefined\n ? springConfig.damping\n : SPRING_CONFIG.damping\n );\n\n this.springConfig.mass.setValue(\n springConfig.mass !== undefined ? springConfig.mass : SPRING_CONFIG.mass\n );\n\n this.springConfig.stiffness.setValue(\n springConfig.stiffness !== undefined\n ? springConfig.stiffness\n : SPRING_CONFIG.stiffness\n );\n\n this.springConfig.restSpeedThreshold.setValue(\n springConfig.restSpeedThreshold !== undefined\n ? springConfig.restSpeedThreshold\n : SPRING_CONFIG.restSpeedThreshold\n );\n\n this.springConfig.restDisplacementThreshold.setValue(\n springConfig.restDisplacementThreshold !== undefined\n ? springConfig.restDisplacementThreshold\n : SPRING_CONFIG.restDisplacementThreshold\n );\n }\n\n if (prevProps.timingConfig !== timingConfig) {\n this.timingConfig.duration.setValue(\n timingConfig.duration !== undefined\n ? timingConfig.duration\n : TIMING_CONFIG.duration\n );\n }\n }\n\n // Clock used for tab transition animations\n private clock = new Clock();\n\n // Current state of the gesture\n private velocityX = new Value(0);\n private gestureX = new Value(0);\n private gestureState = new Value(State.UNDETERMINED);\n private offsetX = new Value(0);\n\n // Current progress of the page (translateX value)\n private progress = new Value(\n // Initial value is based on the index and page width\n this.props.navigationState.index * this.props.layout.width * DIRECTION_RIGHT\n );\n\n // Initial index of the tabs\n private index = new Value(this.props.navigationState.index);\n\n // Next index of the tabs, updated for navigation from outside (tab press, state update)\n private nextIndex: Animated.Value<number> = new Value(UNSET);\n\n // Scene that was last entered\n private lastEnteredIndex = new Value(this.props.navigationState.index);\n\n // Whether the user is currently dragging the screen\n private isSwiping: Animated.Value<Binary> = new Value(FALSE);\n\n // Whether the update was due to swipe gesture\n // This controls whether the transition will use a spring or timing animation\n // Remember to set it before transition needs to occur\n private isSwipeGesture: Animated.Value<Binary> = new Value(FALSE);\n\n // Track the index value when a swipe gesture has ended\n // This lets us know if a gesture end triggered a tab switch or not\n private indexAtSwipeEnd: Animated.Value<number> = new Value(\n this.props.navigationState.index\n );\n\n // Mappings to some prop values\n // We use them in animation calculations, so we need live animated nodes\n private routesLength = new Value(this.props.navigationState.routes.length);\n private layoutWidth = new Value(this.props.layout.width);\n\n // Determines how relevant is a velocity while calculating next position while swiping\n private swipeVelocityImpact = new Value(\n this.props.swipeVelocityImpact !== undefined\n ? this.props.swipeVelocityImpact\n : SWIPE_VELOCITY_IMPACT\n );\n\n private springVelocityScale = new Value(\n this.props.springVelocityScale !== undefined\n ? this.props.springVelocityScale\n : SPRING_VELOCITY_SCALE\n );\n\n // The position value represent the position of the pager on a scale of 0 - routes.length-1\n // It is calculated based on the translate value and layout width\n // If we don't have the layout yet, we should return the current index\n private position = cond(\n this.layoutWidth,\n divide(multiply(this.progress, -1), this.layoutWidth),\n this.index\n );\n\n // Animation configuration\n private springConfig = {\n damping: new Value(\n this.props.springConfig.damping !== undefined\n ? this.props.springConfig.damping\n : SPRING_CONFIG.damping\n ),\n mass: new Value(\n this.props.springConfig.mass !== undefined\n ? this.props.springConfig.mass\n : SPRING_CONFIG.mass\n ),\n stiffness: new Value(\n this.props.springConfig.stiffness !== undefined\n ? this.props.springConfig.stiffness\n : SPRING_CONFIG.stiffness\n ),\n restSpeedThreshold: new Value(\n this.props.springConfig.restSpeedThreshold !== undefined\n ? this.props.springConfig.restSpeedThreshold\n : SPRING_CONFIG.restSpeedThreshold\n ),\n restDisplacementThreshold: new Value(\n this.props.springConfig.restDisplacementThreshold !== undefined\n ? this.props.springConfig.restDisplacementThreshold\n : SPRING_CONFIG.restDisplacementThreshold\n ),\n };\n\n private timingConfig = {\n duration: new Value(\n this.props.timingConfig.duration !== undefined\n ? this.props.timingConfig.duration\n : TIMING_CONFIG.duration\n ),\n };\n\n // The reason for using this value instead of simply passing `this._velocity`\n // into a spring animation is that we need to reverse it if we're using RTL mode.\n // Also, it's not possible to pass multiplied value there, because\n // value passed to STATE of spring (the first argument) has to be Animated.Value\n // and it's not allowed to pass other nodes there. The result of multiplying is not an\n // Animated.Value. So this value is being updated on each start of spring animation.\n private initialVelocityForSpring = new Value(0);\n\n // The current index change caused by the pager's animation\n // The pager is used as a controlled component\n // We need to keep track of the index to determine when to trigger animation\n // The state will change at various points, we should only respond when we are out of sync\n // This will ensure smoother animation and avoid weird glitches\n private currentIndexValue = this.props.navigationState.index;\n\n // The pending index value as result of state update caused by swipe gesture\n // We need to set it when state changes from inside this component\n // It also needs to be reset right after componentDidUpdate fires\n private pendingIndexValue: number | undefined = undefined;\n\n // Numeric id of the previously focused text input\n // When a gesture didn't change the tab, we can restore the focused input with this\n private previouslyFocusedTextInput: number | null = null;\n\n // Listeners for the entered screen\n private enterListeners: Listener[] = [];\n\n private jumpToIndex = (index: number) => {\n // If the index changed, we need to trigger a tab switch\n this.isSwipeGesture.setValue(FALSE);\n this.nextIndex.setValue(index);\n };\n\n private jumpTo = (key: string) => {\n const { navigationState, keyboardDismissMode, onIndexChange } = this.props;\n\n const index = navigationState.routes.findIndex(route => route.key === key);\n\n // A tab switch might occur when we're in the middle of a transition\n // In that case, the index might be same as before\n // So we conditionally make the pager to update the position\n if (navigationState.index === index) {\n this.jumpToIndex(index);\n } else {\n onIndexChange(index);\n\n // When the index changes, the focused input will no longer be in current tab\n // So we should dismiss the keyboard\n if (keyboardDismissMode === 'auto') {\n Keyboard.dismiss();\n }\n }\n };\n\n private addListener = (type: 'enter', listener: Listener) => {\n switch (type) {\n case 'enter':\n this.enterListeners.push(listener);\n break;\n }\n };\n\n private removeListener = (type: 'enter', listener: Listener) => {\n switch (type) {\n case 'enter': {\n const index = this.enterListeners.indexOf(listener);\n\n if (index > -1) {\n this.enterListeners.splice(index, 1);\n }\n\n break;\n }\n }\n };\n\n private handleEnteredIndexChange = ([value]: readonly number[]) => {\n const index = Math.max(\n 0,\n Math.min(value, this.props.navigationState.routes.length - 1)\n );\n\n this.enterListeners.forEach(listener => listener(index));\n };\n\n private transitionTo = (index: Animated.Node<number>) => {\n const toValue = new Value(0);\n const frameTime = new Value(0);\n\n const state = {\n position: this.progress,\n time: new Value(0),\n finished: new Value(FALSE),\n };\n\n return block([\n cond(clockRunning(this.clock), NOOP, [\n // Animation wasn't running before\n // Set the initial values and start the clock\n set(toValue, multiply(index, this.layoutWidth, DIRECTION_RIGHT)),\n set(frameTime, 0),\n set(state.time, 0),\n set(state.finished, FALSE),\n set(this.index, index),\n ]),\n cond(\n this.isSwipeGesture,\n // Animate the values with a spring for swipe\n [\n cond(\n not(clockRunning(this.clock)),\n I18nManager.isRTL\n ? set(\n this.initialVelocityForSpring,\n multiply(-1, this.velocityX, this.springVelocityScale)\n )\n : set(\n this.initialVelocityForSpring,\n multiply(this.velocityX, this.springVelocityScale)\n )\n ),\n spring(\n this.clock,\n { ...state, velocity: this.initialVelocityForSpring },\n { ...SPRING_CONFIG, ...this.springConfig, toValue }\n ),\n ],\n // Otherwise use a timing animation for faster switching\n timing(\n this.clock,\n { ...state, frameTime },\n { ...TIMING_CONFIG, ...this.timingConfig, toValue }\n )\n ),\n cond(not(clockRunning(this.clock)), startClock(this.clock)),\n cond(state.finished, [\n // Reset values\n set(this.isSwipeGesture, FALSE),\n set(this.gestureX, 0),\n set(this.velocityX, 0),\n // When the animation finishes, stop the clock\n stopClock(this.clock),\n ]),\n ]);\n };\n\n private handleGestureEvent = event([\n {\n nativeEvent: {\n translationX: this.gestureX,\n velocityX: this.velocityX,\n state: this.gestureState,\n },\n },\n ]);\n\n private extrapolatedPosition = add(\n this.gestureX,\n multiply(this.velocityX, this.swipeVelocityImpact)\n );\n\n private translateX = block([\n onChange(\n this.index,\n call([this.index], ([value]) => {\n this.currentIndexValue = value;\n\n // Without this check, the pager can go to an infinite update <-> animate loop for sync updates\n if (value !== this.props.navigationState.index) {\n // If the index changed, and previous animation has finished, update state\n this.props.onIndexChange(value);\n\n this.pendingIndexValue = value;\n\n // Force componentDidUpdate to fire, whether user does a setState or not\n // This allows us to detect when the user drops the update and revert back\n // It's necessary to make sure that the state stays in sync\n this.forceUpdate();\n }\n })\n ),\n onChange(\n this.position,\n // Listen to updates in the position to detect when we enter a screen\n // This is useful for things such as lazy loading when index change will fire too late\n cond(\n I18nManager.isRTL\n ? lessThan(this.gestureX, 0)\n : greaterThan(this.gestureX, 0),\n // Based on the direction of the gesture, determine if we're entering the previous or next screen\n cond(neq(floor(this.position), this.lastEnteredIndex), [\n set(this.lastEnteredIndex, floor(this.position)),\n call([floor(this.position)], this.handleEnteredIndexChange),\n ]),\n cond(neq(ceil(this.position), this.lastEnteredIndex), [\n set(this.lastEnteredIndex, ceil(this.position)),\n call([ceil(this.position)], this.handleEnteredIndexChange),\n ])\n )\n ),\n onChange(\n this.isSwiping,\n // Listen to updates for this value only when it changes\n // Without `onChange`, this will fire even if the value didn't change\n // We don't want to call the listeners if the value didn't change\n call(\n [this.isSwiping, this.indexAtSwipeEnd, this.index],\n ([isSwiping, indexAtSwipeEnd, currentIndex]: readonly number[]) => {\n const { keyboardDismissMode, onSwipeStart, onSwipeEnd } = this.props;\n\n if (isSwiping === TRUE) {\n onSwipeStart && onSwipeStart();\n\n if (keyboardDismissMode === 'auto') {\n const input = TextInput.State.currentlyFocusedField();\n\n // When a gesture begins, blur the currently focused input\n TextInput.State.blurTextInput(input);\n\n // Store the id of this input so we can refocus it if gesture was cancelled\n this.previouslyFocusedTextInput = input;\n } else if (keyboardDismissMode === 'on-drag') {\n Keyboard.dismiss();\n }\n } else {\n onSwipeEnd && onSwipeEnd();\n\n if (keyboardDismissMode === 'auto') {\n if (indexAtSwipeEnd === currentIndex) {\n // The index didn't change, we should restore the focus of text input\n const input = this.previouslyFocusedTextInput;\n\n if (input) {\n TextInput.State.focusTextInput(input);\n }\n }\n\n this.previouslyFocusedTextInput = null;\n }\n }\n }\n )\n ),\n onChange(\n this.nextIndex,\n cond(neq(this.nextIndex, UNSET), [\n // Stop any running animations\n cond(clockRunning(this.clock), stopClock(this.clock)),\n set(this.gestureX, 0),\n // Update the index to trigger the transition\n set(this.index, this.nextIndex),\n set(this.nextIndex, UNSET),\n ])\n ),\n cond(\n eq(this.gestureState, State.ACTIVE),\n [\n cond(this.isSwiping, NOOP, [\n // We weren't dragging before, set it to true\n set(this.isSwiping, TRUE),\n set(this.isSwipeGesture, TRUE),\n // Also update the drag offset to the last progress\n set(this.offsetX, this.progress),\n ]),\n // Update progress with previous offset + gesture distance\n set(\n this.progress,\n I18nManager.isRTL\n ? sub(this.offsetX, this.gestureX)\n : add(this.offsetX, this.gestureX)\n ),\n // Stop animations while we're dragging\n stopClock(this.clock),\n ],\n [\n set(this.isSwiping, FALSE),\n set(this.indexAtSwipeEnd, this.index),\n this.transitionTo(\n cond(\n and(\n // We should consider velocity and gesture distance only when a swipe ends\n // The gestureX value will be non-zero when swipe has happened\n // We check against a minimum distance instead of 0 because `activeOffsetX` doesn't seem to be respected on Android\n // For other factors such as state update, the velocity and gesture distance don't matter\n greaterThan(abs(this.gestureX), SWIPE_DISTANCE_MINIMUM),\n greaterThan(\n abs(this.extrapolatedPosition),\n divide(this.layoutWidth, 2)\n )\n ),\n // For swipe gesture, to calculate the index, determine direction and add to index\n // When the user swipes towards the left, we transition to the next tab\n // When the user swipes towards the right, we transition to the previous tab\n round(\n min(\n max(\n 0,\n sub(\n this.index,\n cond(\n greaterThan(this.extrapolatedPosition, 0),\n I18nManager.isRTL ? DIRECTION_RIGHT : DIRECTION_LEFT,\n I18nManager.isRTL ? DIRECTION_LEFT : DIRECTION_RIGHT\n )\n )\n ),\n sub(this.routesLength, 1)\n )\n ),\n // Index didn't change/changed due to state update\n this.index\n )\n ),\n ]\n ),\n this.progress,\n ]);\n\n private getTranslateX = memoize(\n (\n layoutWidth: Animated.Node<number>,\n routesLength: Animated.Node<number>,\n translateX: Animated.Node<number>\n ) =>\n multiply(\n // Make sure that the translation doesn't exceed the bounds to prevent overscrolling\n min(\n max(\n multiply(layoutWidth, sub(routesLength, 1), DIRECTION_RIGHT),\n translateX\n ),\n 0\n ),\n I18nManager.isRTL ? -1 : 1\n )\n );\n\n render() {\n const {\n layout,\n navigationState,\n swipeEnabled,\n children,\n removeClippedSubviews,\n gestureHandlerProps,\n } = this.props;\n\n const translateX = this.getTranslateX(\n this.layoutWidth,\n this.routesLength,\n this.translateX\n );\n\n return children({\n position: this.position,\n addListener: this.addListener,\n removeListener: this.removeListener,\n jumpTo: this.jumpTo,\n render: children => (\n <PanGestureHandler\n enabled={layout.width !== 0 && swipeEnabled}\n onGestureEvent={this.handleGestureEvent}\n onHandlerStateChange={this.handleGestureEvent}\n activeOffsetX={[-SWIPE_DISTANCE_MINIMUM, SWIPE_DISTANCE_MINIMUM]}\n failOffsetY={[-SWIPE_DISTANCE_MINIMUM, SWIPE_DISTANCE_MINIMUM]}\n {...gestureHandlerProps}\n >\n <Animated.View\n removeClippedSubviews={removeClippedSubviews}\n style={[\n styles.container,\n layout.width\n ? {\n width: layout.width * navigationState.routes.length,\n transform: [{ translateX }] as any,\n }\n : null,\n ]}\n >\n {children}\n </Animated.View>\n </PanGestureHandler>\n ),\n });\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n flexDirection: 'row',\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _stackedBarChart=_interopRequireDefault(require(\"./stacked-bar-chart\"));var _stackedBarGrouped=_interopRequireDefault(require(\"./stacked-bar-grouped\"));var StackedBarChartGate=function StackedBarChartGate(props){var data=props.data;if(data[0]&&data[0].hasOwnProperty('data')){return _react.default.createElement(_stackedBarGrouped.default,props);}return _react.default.createElement(_stackedBarChart.default,props);};var _default=StackedBarChartGate;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/stacked-bar-chart/index.js"],"names":["StackedBarChartGate","props","data","hasOwnProperty"],"mappings":"mKAAA,oDACA,4EACA,gFAEA,GAAMA,CAAAA,mBAAmB,CAAG,QAAtBA,CAAAA,mBAAsB,CAACC,KAAD,CAAW,IAC3BC,CAAAA,IAD2B,CAClBD,KADkB,CAC3BC,IAD2B,CAGnC,GAAIA,IAAI,CAAC,CAAD,CAAJ,EAAWA,IAAI,CAAC,CAAD,CAAJ,CAAQC,cAAR,CAAuB,MAAvB,CAAf,CAA+C,CAC3C,MAAO,8BAAC,0BAAD,CAA4BF,KAA5B,CAAP,CACH,CAED,MAAO,8BAAC,wBAAD,CAAqBA,KAArB,CAAP,CACH,CARD,C,aAUeD,mB","sourcesContent":["import React from 'react'\nimport StackedBarChart from './stacked-bar-chart'\nimport StackedBarChartGrouped from './stacked-bar-grouped'\n\nconst StackedBarChartGate = (props) => {\n const { data } = props\n\n if (data[0] && data[0].hasOwnProperty('data')) {\n return <StackedBarChartGrouped {...props} />\n }\n\n return <StackedBarChart {...props} />\n}\n\nexport default StackedBarChartGate\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.enableExpoCliLogging=enableExpoCliLogging;exports.disableExpoCliLogging=disableExpoCliLogging;function enableExpoCliLogging(){console.warn('Expo.Logs.enableExpoCliLogging: is not supported on web');}function disableExpoCliLogging(){console.warn('Expo.Logs.disableExpoCliLogging: is not supported on web');}","map":{"version":3,"sources":["../../src/logs/Logs.web.ts"],"names":[],"mappings":"+JAAM,QAAU,CAAA,oBAAV,EAA8B,CAClC,OAAO,CAAC,IAAR,CAAa,yDAAb,EACD,CACK,QAAU,CAAA,qBAAV,EAA+B,CACnC,OAAO,CAAC,IAAR,CAAa,0DAAb,EACD","sourcesContent":["export function enableExpoCliLogging(): void {\n console.warn('Expo.Logs.enableExpoCliLogging: is not supported on web');\n}\nexport function disableExpoCliLogging(): void {\n console.warn('Expo.Logs.disableExpoCliLogging: is not supported on web');\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var _getScreenForRouteName=_interopRequireDefault(require(\"./getScreenForRouteName\"));var _validateScreenOptions=_interopRequireDefault(require(\"./validateScreenOptions\"));function applyConfig(configurer,navigationOptions,configProps){if(typeof configurer==='function'){return(0,_objectSpread2.default)({},navigationOptions,configurer((0,_objectSpread2.default)({},configProps,{navigationOptions:navigationOptions})));}if(typeof configurer==='object'){return(0,_objectSpread2.default)({},navigationOptions,configurer);}return navigationOptions;}var _default=function _default(routeConfigs,navigatorScreenConfig){return function(navigation,screenProps,theme){var state=navigation.state;var route=state;(0,_invariant.default)(route.routeName&&typeof route.routeName==='string','Cannot get config because the route does not have a routeName.');var Component=(0,_getScreenForRouteName.default)(routeConfigs,route.routeName);var routeConfig=routeConfigs[route.routeName];var routeScreenConfig=routeConfig===Component?null:routeConfig.navigationOptions;var componentScreenConfig=Component.navigationOptions;var configOptions={navigation:navigation,screenProps:screenProps||{},theme:theme};var outputConfig=applyConfig(navigatorScreenConfig,{},configOptions);outputConfig=applyConfig(componentScreenConfig,outputConfig,configOptions);outputConfig=applyConfig(routeScreenConfig,outputConfig,configOptions);(0,_validateScreenOptions.default)(outputConfig,route);return outputConfig;};};exports.default=_default;","map":{"version":3,"sources":["createConfigGetter.js"],"names":["configurer","navigationOptions","state","navigation","route","invariant","Component","getScreenForRouteName","routeConfig","routeConfigs","routeScreenConfig","componentScreenConfig","configOptions","screenProps","theme","outputConfig","applyConfig","validateScreenOptions"],"mappings":"6PAAA,qEAEA,sFACA,sFAEA,QAAA,CAAA,WAAA,CAAA,UAAA,CAAA,iBAAA,CAAA,WAAA,CAAiE,CAC/D,GAAI,MAAA,CAAA,UAAA,GAAJ,UAAA,CAAsC,CACpC,MAAA,2BAAA,EAAA,CAAA,iBAAA,CAEKA,UAAU,CAAA,2BAAA,EAAA,CAAA,WAAA,CAAA,CAEXC,iBAAiB,CAJrB,iBAEe,CAAA,CAAA,CAFf,CAAA,CAQF,IAAI,MAAA,CAAA,UAAA,GAAJ,QAAA,CAAoC,CAClC,MAAA,2BAAA,EAAA,CAAA,iBAAA,CAAA,UAAA,CAAA,CAKF,OAAA,CAAA,iBAAA,CAGF,C,aAAe,kBAAA,YAAA,CAAA,qBAAA,CAAA,CAAA,MAAyC,UAAA,UAAA,CAAA,WAAA,CAAA,KAAA,CAInD,CAAA,GACKC,CAAAA,KADL,CACeC,UADf,CAAA,KAAA,CAEH,GAAMC,CAAAA,KAAK,CAAX,KAAA,CAEAC,uBACED,KAAK,CAALA,SAAAA,EAAmB,MAAOA,CAAAA,KAAK,CAAZ,SAAA,GADZ,QAATC,CAAAA,gEAAAA,EAKA,GAAMC,CAAAA,SAAS,CAAGC,mCAAqB,YAArBA,CAAoCH,KAAK,CAA3D,SAAkBG,CAAlB,CAEA,GAAMC,CAAAA,WAAW,CAAGC,YAAY,CAACL,KAAK,CAAtC,SAAgC,CAAhC,CAEA,GAAMM,CAAAA,iBAAiB,CACrBF,WAAW,GAAXA,SAAAA,CAAAA,IAAAA,CAAmCA,WAAW,CADhD,iBAAA,CAEA,GAAMG,CAAAA,qBAAqB,CAAGL,SAAS,CAAvC,iBAAA,CAEA,GAAMM,CAAAA,aAAa,CAAG,CAAET,UAAU,CAAZ,UAAA,CAAcU,WAAW,CAAEA,WAAW,EAAtC,EAAA,CAA8CC,KAAK,CAAzE,KAAsB,CAAtB,CAEA,GAAIC,CAAAA,YAAY,CAAGC,WAAW,CAAA,qBAAA,CAAA,EAAA,CAA9B,aAA8B,CAA9B,CACAD,YAAY,CAAGC,WAAW,CAAA,qBAAA,CAAA,YAAA,CAA1BD,aAA0B,CAA1BA,CAKAA,YAAY,CAAGC,WAAW,CAAA,iBAAA,CAAA,YAAA,CAA1BD,aAA0B,CAA1BA,CAEAE,mCAAqB,YAArBA,CAAAA,KAAAA,EAEA,MAAA,CAAA,YAAA,CAjCa,CAAA,CAAf,C","sourcesContent":["import invariant from '../utils/invariant';\n\nimport getScreenForRouteName from './getScreenForRouteName';\nimport validateScreenOptions from './validateScreenOptions';\n\nfunction applyConfig(configurer, navigationOptions, configProps) {\n if (typeof configurer === 'function') {\n return {\n ...navigationOptions,\n ...configurer({\n ...configProps,\n navigationOptions,\n }),\n };\n }\n if (typeof configurer === 'object') {\n return {\n ...navigationOptions,\n ...configurer,\n };\n }\n return navigationOptions;\n}\n\nexport default (routeConfigs, navigatorScreenConfig) => (\n navigation,\n screenProps,\n theme\n) => {\n const { state } = navigation;\n const route = state;\n\n invariant(\n route.routeName && typeof route.routeName === 'string',\n 'Cannot get config because the route does not have a routeName.'\n );\n\n const Component = getScreenForRouteName(routeConfigs, route.routeName);\n\n const routeConfig = routeConfigs[route.routeName];\n\n const routeScreenConfig =\n routeConfig === Component ? null : routeConfig.navigationOptions;\n const componentScreenConfig = Component.navigationOptions;\n\n const configOptions = { navigation, screenProps: screenProps || {}, theme };\n\n let outputConfig = applyConfig(navigatorScreenConfig, {}, configOptions);\n outputConfig = applyConfig(\n componentScreenConfig,\n outputConfig,\n configOptions\n );\n outputConfig = applyConfig(routeScreenConfig, outputConfig, configOptions);\n\n validateScreenOptions(outputConfig, route);\n\n return outputConfig;\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var _uniqueId=1;var AnimatedValueXY=function(_AnimatedWithChildren){_inheritsLoose(AnimatedValueXY,_AnimatedWithChildren);function AnimatedValueXY(valueIn){var _this;_this=_AnimatedWithChildren.call(this)||this;var value=valueIn||{x:0,y:0};if(typeof value.x==='number'&&typeof value.y==='number'){_this.x=new _AnimatedValue.default(value.x);_this.y=new _AnimatedValue.default(value.y);}else{(0,_invariant.default)(value.x instanceof _AnimatedValue.default&&value.y instanceof _AnimatedValue.default,'AnimatedValueXY must be initialized with an object of numbers or '+'AnimatedValues.');_this.x=value.x;_this.y=value.y;}_this._listeners={};return _this;}var _proto=AnimatedValueXY.prototype;_proto.setValue=function setValue(value){this.x.setValue(value.x);this.y.setValue(value.y);};_proto.setOffset=function setOffset(offset){this.x.setOffset(offset.x);this.y.setOffset(offset.y);};_proto.flattenOffset=function flattenOffset(){this.x.flattenOffset();this.y.flattenOffset();};_proto.extractOffset=function extractOffset(){this.x.extractOffset();this.y.extractOffset();};_proto.__getValue=function __getValue(){return{x:this.x.__getValue(),y:this.y.__getValue()};};_proto.resetAnimation=function resetAnimation(callback){this.x.resetAnimation();this.y.resetAnimation();callback&&callback(this.__getValue());};_proto.stopAnimation=function stopAnimation(callback){this.x.stopAnimation();this.y.stopAnimation();callback&&callback(this.__getValue());};_proto.addListener=function addListener(callback){var _this2=this;var id=String(_uniqueId++);var jointCallback=function jointCallback(_ref){var number=_ref.value;callback(_this2.__getValue());};this._listeners[id]={x:this.x.addListener(jointCallback),y:this.y.addListener(jointCallback)};return id;};_proto.removeListener=function removeListener(id){this.x.removeListener(this._listeners[id].x);this.y.removeListener(this._listeners[id].y);delete this._listeners[id];};_proto.removeAllListeners=function removeAllListeners(){this.x.removeAllListeners();this.y.removeAllListeners();this._listeners={};};_proto.getLayout=function getLayout(){return{left:this.x,top:this.y};};_proto.getTranslateTransform=function getTranslateTransform(){return[{translateX:this.x},{translateY:this.y}];};return AnimatedValueXY;}(_AnimatedWithChildren2.default);var _default=AnimatedValueXY;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedValueXY.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","_uniqueId","AnimatedValueXY","_AnimatedWithChildren","valueIn","_this","call","value","x","y","AnimatedValue","_listeners","_proto","setValue","setOffset","offset","flattenOffset","extractOffset","__getValue","resetAnimation","callback","stopAnimation","addListener","_this2","id","String","jointCallback","_ref","number","removeListener","removeAllListeners","getLayout","left","top","getTranslateTransform","translateX","translateY","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sEACA,qFACA,qEAJA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAKvL,GAAIM,CAAAA,SAAS,CAAG,CAAhB,CAQA,GAAIC,CAAAA,eAAe,CAEnB,SAAUC,qBAAV,CAAiC,CAC/BV,cAAc,CAACS,eAAD,CAAkBC,qBAAlB,CAAd,CAEA,QAASD,CAAAA,eAAT,CAAyBE,OAAzB,CAAkC,CAChC,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGF,qBAAqB,CAACG,IAAtB,CAA2B,IAA3B,GAAoC,IAA5C,C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AAE,KAAKA,CAAL,CAAOc,WAAP,CAAmBI,aAAnB,CADiB,CAEpBjB,CAAC,CAAE,KAAKA,CAAL,CAAOa,WAAP,CAAmBI,aAAnB,CAFiB,CAAtB,CAIA,MAAOF,CAAAA,EAAP,CACD,CAfD,CAwBAZ,MAAM,CAACiB,cAAP,CAAwB,QAASA,CAAAA,cAAT,CAAwBL,EAAxB,CAA4B,CAClD,KAAKhB,CAAL,CAAOqB,cAAP,CAAsB,KAAKlB,UAAL,CAAgBa,EAAhB,EAAoBhB,CAA1C,EACA,KAAKC,CAAL,CAAOoB,cAAP,CAAsB,KAAKlB,UAAL,CAAgBa,EAAhB,EAAoBf,CAA1C,EACA,MAAO,MAAKE,UAAL,CAAgBa,EAAhB,CAAP,CACD,CAJD,CAYAZ,MAAM,CAACkB,kBAAP,CAA4B,QAASA,CAAAA,kBAAT,EAA8B,CACxD,KAAKtB,CAAL,CAAOsB,kBAAP,GACA,KAAKrB,CAAL,CAAOqB,kBAAP,GACA,KAAKnB,UAAL,CAAkB,EAAlB,CACD,CAJD,CAYAC,MAAM,CAACmB,SAAP,CAAmB,QAASA,CAAAA,SAAT,EAAqB,CACtC,MAAO,CACLC,IAAI,CAAE,KAAKxB,CADN,CAELyB,GAAG,CAAE,KAAKxB,CAFL,CAAP,CAID,CALD,CAaAG,MAAM,CAACsB,qBAAP,CAA+B,QAASA,CAAAA,qBAAT,EAAiC,CAC9D,MAAO,CAAC,CACNC,UAAU,CAAE,KAAK3B,CADX,CAAD,CAEJ,CACD4B,UAAU,CAAE,KAAK3B,CADhB,CAFI,CAAP,CAKD,CAND,CAQA,MAAOP,CAAAA,eAAP,CACD,CA7LD,CA6LEmC,8BA7LF,CAFA,C,aAiMenC,e","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport invariant from 'fbjs/lib/invariant';\nvar _uniqueId = 1;\n/**\n * 2D Value for driving 2D animations, such as pan gestures. Almost identical\n * API to normal `Animated.Value`, but multiplexed.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html\n */\n\nvar AnimatedValueXY =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedValueXY, _AnimatedWithChildren);\n\n function AnimatedValueXY(valueIn) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n var value = valueIn || {\n x: 0,\n y: 0\n }; // fixme: shouldn't need `: any`\n\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n _this.x = new AnimatedValue(value.x);\n _this.y = new AnimatedValue(value.y);\n } else {\n invariant(value.x instanceof AnimatedValue && value.y instanceof AnimatedValue, 'AnimatedValueXY must be initialized with an object of numbers or ' + 'AnimatedValues.');\n _this.x = value.x;\n _this.y = value.y;\n }\n\n _this._listeners = {};\n return _this;\n }\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#setvalue\n */\n\n\n var _proto = AnimatedValueXY.prototype;\n\n _proto.setValue = function setValue(value) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#setoffset\n */\n ;\n\n _proto.setOffset = function setOffset(offset) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#flattenoffset\n */\n ;\n\n _proto.flattenOffset = function flattenOffset() {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#extractoffset\n */\n ;\n\n _proto.extractOffset = function extractOffset() {\n this.x.extractOffset();\n this.y.extractOffset();\n };\n\n _proto.__getValue = function __getValue() {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue()\n };\n }\n /**\n * Stops any animation and resets the value to its original.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#resetanimation\n */\n ;\n\n _proto.resetAnimation = function resetAnimation(callback) {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n }\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#stopanimation\n */\n ;\n\n _proto.stopAnimation = function stopAnimation(callback) {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n }\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#addlistener\n */\n ;\n\n _proto.addListener = function addListener(callback) {\n var _this2 = this;\n\n var id = String(_uniqueId++);\n\n var jointCallback = function jointCallback(_ref) {\n var number = _ref.value;\n callback(_this2.__getValue());\n };\n\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback)\n };\n return id;\n }\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#removelistener\n */\n ;\n\n _proto.removeListener = function removeListener(id) {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n }\n /**\n * Remove all registered listeners.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#removealllisteners\n */\n ;\n\n _proto.removeAllListeners = function removeAllListeners() {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n }\n /**\n * Converts `{x, y}` into `{left, top}` for use in style.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#getlayout\n */\n ;\n\n _proto.getLayout = function getLayout() {\n return {\n left: this.x,\n top: this.y\n };\n }\n /**\n * Converts `{x, y}` into a useable translation transform.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#gettranslatetransform\n */\n ;\n\n _proto.getTranslateTransform = function getTranslateTransform() {\n return [{\n translateX: this.x\n }, {\n translateY: this.y\n }];\n };\n\n return AnimatedValueXY;\n}(AnimatedWithChildren);\n\nexport default AnimatedValueXY;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=SceneMap;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/SceneMap.tsx\";var SceneComponent=function(_React$PureComponent){(0,_inherits2.default)(SceneComponent,_React$PureComponent);function SceneComponent(){(0,_classCallCheck2.default)(this,SceneComponent);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(SceneComponent).apply(this,arguments));}(0,_createClass2.default)(SceneComponent,[{key:\"render\",value:function render(){var _this$props=this.props,component=_this$props.component,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"component\"]);return React.createElement(component,rest);}}]);return SceneComponent;}(React.PureComponent);function SceneMap(scenes){return function(_ref){var route=_ref.route,jumpTo=_ref.jumpTo,position=_ref.position;return React.createElement(SceneComponent,{key:route.key,component:scenes[route.key],route:route,jumpTo:jumpTo,position:position,__source:{fileName:_jsxFileName,lineNumber:16}});};}","map":{"version":3,"sources":["SceneMap.tsx"],"names":["SceneComponent","React","PureComponent","component","rest","route","jumpTo","position","scenes"],"mappings":"o0BAAA,oD,0FAEMA,GAAAA,CAAAA,c,+WAGK,CAAA,GAAA,CAAA,WAAA,CACwB,KADxB,KAAA,CACCG,SADD,CAAA,WAAA,CAAA,SAAA,CACeC,IADf,CAAA,sCAAA,WAAA,CAAA,CAAA,WAAA,CAAA,CAAA,CAEP,MAAOH,CAAAA,KAAK,CAALA,aAAAA,CAAAA,SAAAA,CAAP,IAAOA,CAAP,C,6BAHMA,KAAK,CAACC,a,CAFVF,CASS,QAAA,CAAA,QAAA,CAAA,MAAA,CAEZ,CACD,MAAO,UAAA,IAAA,CAAA,CAAA,GAAGK,CAAAA,KAAH,CAAA,IAAA,CAAA,KAAA,CAAUC,MAAV,CAAA,IAAA,CAAA,MAAA,CAAkBC,QAAlB,CAAA,IAAA,CAAA,QAAA,CAAA,MACL,CAAA,KAAA,CAAA,aAAA,CAAA,cAAA,CAAA,CACE,GAAG,CAAEF,KAAK,CADZ,GAAA,CAEE,SAAS,CAAEG,MAAM,CAACH,KAAK,CAFzB,GAEmB,CAFnB,CAGE,KAAK,CAHP,KAAA,CAIE,MAAM,CAJR,MAAA,CAKE,QAAQ,CALV,QAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADK,EACL,CAAA,CAAA,CADK,CAAP,CAAA,CASD","sourcesContent":["import * as React from 'react';\n\nclass SceneComponent<\n T extends { component: React.ComponentType<any> }\n> extends React.PureComponent<T> {\n render() {\n const { component, ...rest } = this.props;\n return React.createElement(component, rest);\n }\n}\n\nexport default function SceneMap<T extends any>(scenes: {\n [key: string]: React.ComponentType<T>;\n}) {\n return ({ route, jumpTo, position }: T) => (\n <SceneComponent\n key={route.key}\n component={scenes[route.key]}\n route={route}\n jumpTo={jumpTo}\n position={position}\n />\n );\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.CodedError=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _wrapNativeSuper2=_interopRequireDefault(require(\"@babel/runtime/helpers/wrapNativeSuper\"));var CodedError=function(_Error){(0,_inherits2.default)(CodedError,_Error);function CodedError(code,message){var _this;(0,_classCallCheck2.default)(this,CodedError);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(CodedError).call(this,message));_this.code=code;return _this;}return CodedError;}((0,_wrapNativeSuper2.default)(Error));exports.CodedError=CodedError;","map":{"version":3,"sources":["../../src/errors/CodedError.ts"],"names":[],"mappings":"2oBAKa,CAAA,U,4DAIX,oBAAY,IAAZ,CAA0B,OAA1B,CAAyC,yDACvC,sGAAM,OAAN,GACA,MAAK,IAAL,CAAY,IAAZ,CAFuC,aAGxC,C,kDAP6B,K","sourcesContent":["/**\n * A general error class that should be used for all errors in Expo modules.\n * Guarantees a `code` field that can be used to differentiate between different\n * types of errors without further subclassing Error.\n */\nexport class CodedError extends Error {\n code: string;\n info?: any;\n\n constructor(code: string, message: string) {\n super(message);\n this.code = code;\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=require(\"react\");function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var StatusBar=function(_Component){_inheritsLoose(StatusBar,_Component);function StatusBar(){return _Component.apply(this,arguments)||this;}StatusBar.setBackgroundColor=function setBackgroundColor(){};StatusBar.setBarStyle=function setBarStyle(){};StatusBar.setHidden=function setHidden(){};StatusBar.setNetworkActivityIndicatorVisible=function setNetworkActivityIndicatorVisible(){};StatusBar.setTranslucent=function setTranslucent(){};var _proto=StatusBar.prototype;_proto.render=function render(){return null;};return StatusBar;}(_react.Component);exports.default=StatusBar;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StatusBar/index.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","StatusBar","_Component","apply","arguments","setBackgroundColor","setBarStyle","setHidden","setNetworkActivityIndicatorVisible","setTranslucent","_proto","render","Component"],"mappings":"gFAUA,4BAVA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAYvL,GAAIM,CAAAA,SAAS,CAEb,SAAUC,UAAV,CAAsB,CACpBT,cAAc,CAACQ,SAAD,CAAYC,UAAZ,CAAd,CAEA,QAASD,CAAAA,SAAT,EAAqB,CACnB,MAAOC,CAAAA,UAAU,CAACC,KAAX,CAAiB,IAAjB,CAAuBC,SAAvB,GAAqC,IAA5C,CACD,CAEDH,SAAS,CAACI,kBAAV,CAA+B,QAASA,CAAAA,kBAAT,EAA8B,CAAE,CAA/D,CAEAJ,SAAS,CAACK,WAAV,CAAwB,QAASA,CAAAA,WAAT,EAAuB,CAAE,CAAjD,CAEAL,SAAS,CAACM,SAAV,CAAsB,QAASA,CAAAA,SAAT,EAAqB,CAAE,CAA7C,CAEAN,SAAS,CAACO,kCAAV,CAA+C,QAASA,CAAAA,kCAAT,EAA8C,CAAE,CAA/F,CAEAP,SAAS,CAACQ,cAAV,CAA2B,QAASA,CAAAA,cAAT,EAA0B,CAAE,CAAvD,CAEA,GAAIC,CAAAA,MAAM,CAAGT,SAAS,CAACL,SAAvB,CAEAc,MAAM,CAACC,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,MAAO,KAAP,CACD,CAFD,CAIA,MAAOV,CAAAA,SAAP,CACD,CAxBD,CAwBEW,gBAxBF,CAFA,C","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { Component } from 'react';\n\nvar StatusBar =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(StatusBar, _Component);\n\n function StatusBar() {\n return _Component.apply(this, arguments) || this;\n }\n\n StatusBar.setBackgroundColor = function setBackgroundColor() {};\n\n StatusBar.setBarStyle = function setBarStyle() {};\n\n StatusBar.setHidden = function setHidden() {};\n\n StatusBar.setNetworkActivityIndicatorVisible = function setNetworkActivityIndicatorVisible() {};\n\n StatusBar.setTranslucent = function setTranslucent() {};\n\n var _proto = StatusBar.prototype;\n\n _proto.render = function render() {\n return null;\n };\n\n return StatusBar;\n}(Component);\n\nexport { StatusBar as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _reactNativeTabView=require(\"react-native-tab-view\");var _reactNativeReanimated=_interopRequireDefault(require(\"react-native-reanimated\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/views/MaterialTopTabBar.tsx\";var TabBarTop=function(_React$PureComponent){(0,_inherits2.default)(TabBarTop,_React$PureComponent);function TabBarTop(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabBarTop);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabBarTop)).call.apply(_getPrototypeOf2,[this].concat(args)));_this._renderLabel=function(_ref){var route=_ref.route,focused=_ref.focused,color=_ref.color;var _this$props=_this.props,showLabel=_this$props.showLabel,upperCaseLabel=_this$props.upperCaseLabel,labelStyle=_this$props.labelStyle,allowFontScaling=_this$props.allowFontScaling;if(showLabel===false){return null;}var label=_this.props.getLabelText({route:route});if(typeof label==='string'){return React.createElement(_reactNativeReanimated.default.Text,{style:[styles.label,{color:color},labelStyle],allowFontScaling:allowFontScaling,__source:{fileName:_jsxFileName,lineNumber:38}},upperCaseLabel?label.toUpperCase():label);}if(typeof label==='function'){return label({focused:focused,tintColor:color});}return label;};_this._renderIcon=function(_ref2){var route=_ref2.route,focused=_ref2.focused,color=_ref2.color;var _this$props2=_this.props,renderIcon=_this$props2.renderIcon,showIcon=_this$props2.showIcon,iconStyle=_this$props2.iconStyle;if(showIcon===false){return null;}return React.createElement(_View.default,{style:[styles.icon,iconStyle],__source:{fileName:_jsxFileName,lineNumber:62}},renderIcon({route:route,focused:focused,tintColor:color}));};return _this;}(0,_createClass2.default)(TabBarTop,[{key:\"render\",value:function render(){var _this$props3=this.props,navigation=_this$props3.navigation,activeTintColor=_this$props3.activeTintColor,inactiveTintColor=_this$props3.inactiveTintColor,renderIcon=_this$props3.renderIcon,getLabelText=_this$props3.getLabelText,allowFontScaling=_this$props3.allowFontScaling,showLabel=_this$props3.showLabel,showIcon=_this$props3.showIcon,upperCaseLabel=_this$props3.upperCaseLabel,tabBarPosition=_this$props3.tabBarPosition,screenProps=_this$props3.screenProps,iconStyle=_this$props3.iconStyle,rest=(0,_objectWithoutProperties2.default)(_this$props3,[\"navigation\",\"activeTintColor\",\"inactiveTintColor\",\"renderIcon\",\"getLabelText\",\"allowFontScaling\",\"showLabel\",\"showIcon\",\"upperCaseLabel\",\"tabBarPosition\",\"screenProps\",\"iconStyle\"]);return React.createElement(_reactNativeTabView.TabBar,(0,_extends2.default)({},rest,{activeColor:activeTintColor,inactiveColor:inactiveTintColor,navigationState:navigation.state,renderIcon:this._renderIcon,renderLabel:this._renderLabel,__source:{fileName:_jsxFileName,lineNumber:92}}));}}]);return TabBarTop;}(React.PureComponent);exports.default=TabBarTop;TabBarTop.defaultProps={activeTintColor:'rgba(255, 255, 255, 1)',inactiveTintColor:'rgba(255, 255, 255, 0.7)',showIcon:false,showLabel:true,upperCaseLabel:true,allowFontScaling:true};var styles=_StyleSheet.default.create({icon:{height:24,width:24},label:{textAlign:'center',fontSize:13,margin:4,backgroundColor:'transparent'}});","map":{"version":3,"sources":["MaterialTopTabBar.tsx"],"names":["TabBarTop","React","PureComponent","defaultProps","activeTintColor","inactiveTintColor","showIcon","showLabel","upperCaseLabel","allowFontScaling","_renderLabel","route","focused","color","labelStyle","label","styles","tintColor","_renderIcon","renderIcon","iconStyle","navigation","getLabelText","tabBarPosition","screenProps","rest","StyleSheet","icon","height","width","textAlign","fontSize","margin","backgroundColor"],"mappings":"k5BAAA,oD,4KAEA,yDACA,sF,0GAMqBA,GAAAA,CAAAA,S,scAYnBU,Y,CAAe,SAAA,IAAA,CAAsC,CAAnCC,GAAAA,CAAAA,KAAmC,CAAA,IAAA,CAAnCA,KAAAA,CAAOC,OAA4B,CAAA,IAAA,CAA5BA,OAAPD,CAAgBE,KAAmB,CAAA,IAAA,CAAnBA,KAAhBF,CAAmC,GAAA,CAAA,WAAA,CAM/C,KAAA,CAN+C,KAAA,CAEjDJ,SAFiD,CAAA,WAAA,CAAA,SAAA,CAGjDC,cAHiD,CAAA,WAAA,CAAA,cAAA,CAIjDM,UAJiD,CAAA,WAAA,CAAA,UAAA,CAKjDL,gBALiD,CAAA,WAAA,CAAA,gBAAA,CAQnD,GAAIF,SAAS,GAAb,KAAA,CAAyB,CACvB,MAAA,KAAA,CAGF,IAAMQ,CAAAA,KAAK,CAAG,KAAA,CAAA,KAAA,CAAA,YAAA,CAAwB,CAAEJ,KAAK,CAA7C,KAAsC,CAAxB,CAAd,CAEA,GAAI,MAAA,CAAA,KAAA,GAAJ,QAAA,CAA+B,CAC7B,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,+BAAA,IAAA,CAAA,CACE,KAAK,CAAE,CAACK,MAAM,CAAP,KAAA,CAAe,CAAEH,KAAK,CAAtB,KAAe,CAAf,CADT,UACS,CADT,CAEE,gBAAgB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AAS,CADJ,QAAA,CAELC,QAAQ,CAFH,EAAA,CAGLC,MAAM,CAHD,CAAA,CAILC,eAAe,CATnB,aAKS,CALwB,CAAlBP,CAAf","sourcesContent":["import * as React from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { TabBar } from 'react-native-tab-view';\nimport Animated from 'react-native-reanimated';\nimport { NavigationRoute } from 'react-navigation';\nimport { MaterialTabBarProps } from '../types';\n\ntype Scene = { route: NavigationRoute; focused: boolean; color: string };\n\nexport default class TabBarTop extends React.PureComponent<\n MaterialTabBarProps\n> {\n static defaultProps = {\n activeTintColor: 'rgba(255, 255, 255, 1)',\n inactiveTintColor: 'rgba(255, 255, 255, 0.7)',\n showIcon: false,\n showLabel: true,\n upperCaseLabel: true,\n allowFontScaling: true,\n };\n\n _renderLabel = ({ route, focused, color }: Scene) => {\n const {\n showLabel,\n upperCaseLabel,\n labelStyle,\n allowFontScaling,\n } = this.props;\n\n if (showLabel === false) {\n return null;\n }\n\n const label = this.props.getLabelText({ route });\n\n if (typeof label === 'string') {\n return (\n <Animated.Text\n style={[styles.label, { color }, labelStyle]}\n allowFontScaling={allowFontScaling}\n >\n {upperCaseLabel ? label.toUpperCase() : label}\n </Animated.Text>\n );\n }\n\n if (typeof label === 'function') {\n return label({ focused, tintColor: color });\n }\n\n return label;\n };\n\n _renderIcon = ({ route, focused, color }: Scene) => {\n const { renderIcon, showIcon, iconStyle } = this.props;\n\n if (showIcon === false) {\n return null;\n }\n\n return (\n <View style={[styles.icon, iconStyle]}>\n {renderIcon({\n route,\n focused,\n tintColor: color,\n })}\n </View>\n );\n };\n\n render() {\n const {\n navigation,\n activeTintColor,\n inactiveTintColor,\n /* eslint-disable @typescript-eslint/no-unused-vars */\n renderIcon,\n getLabelText,\n allowFontScaling,\n showLabel,\n showIcon,\n upperCaseLabel,\n tabBarPosition,\n screenProps,\n iconStyle,\n /* eslint-enable @typescript-eslint/no-unused-vars */\n ...rest\n } = this.props;\n\n return (\n <TabBar\n {...rest}\n activeColor={activeTintColor}\n inactiveColor={inactiveTintColor}\n navigationState={navigation.state}\n renderIcon={this._renderIcon}\n renderLabel={this._renderLabel}\n />\n );\n }\n}\n\nconst styles = StyleSheet.create({\n icon: {\n height: 24,\n width: 24,\n },\n label: {\n textAlign: 'center',\n fontSize: 13,\n margin: 4,\n backgroundColor: 'transparent',\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=withExpoRoot;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _RootErrorBoundary=_interopRequireDefault(require(\"./RootErrorBoundary\"));function withExpoRoot(AppRootComponent){return function(_React$Component){(0,_inherits2.default)(ExpoRootComponent,_React$Component);function ExpoRootComponent(){(0,_classCallCheck2.default)(this,ExpoRootComponent);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ExpoRootComponent).apply(this,arguments));}(0,_createClass2.default)(ExpoRootComponent,[{key:\"render\",value:function render(){if(__DEV__){return React.createElement(_RootErrorBoundary.default,null,React.createElement(AppRootComponent,this.props));}else{return React.createElement(AppRootComponent,this.props);}}}]);return ExpoRootComponent;}(React.Component);}","map":{"version":3,"sources":["../../src/launch/withExpoRoot.web.tsx"],"names":[],"mappings":"wtBAAA,oDAEA,8EAGc,QAAU,CAAA,YAAV,CACZ,gBADY,CAC4B,CAExC,4XACQ,CACJ,GAAI,OAAJ,CAAa,CACX,MACE,qBAAC,0BAAD,MACE,oBAAC,gBAAD,CAAsB,KAAK,KAA3B,CADF,CADF,CAKD,CAND,IAMO,CACL,MAAO,qBAAC,gBAAD,CAAsB,KAAK,KAA3B,CAAP,CACD,CACF,CAXH,+BAAuC,KAAK,CAAC,SAA7C,EAaD","sourcesContent":["import * as React from 'react';\n\nimport RootErrorBoundary from './RootErrorBoundary';\nimport { InitialProps } from './withExpoRoot.types';\n\nexport default function withExpoRoot<P extends InitialProps>(\n AppRootComponent: React.ComponentType<P>\n): React.ComponentClass<P> {\n return class ExpoRootComponent extends React.Component<P> {\n render() {\n if (__DEV__) {\n return (\n <RootErrorBoundary>\n <AppRootComponent {...this.props} />\n </RootErrorBoundary>\n );\n } else {\n return <AppRootComponent {...this.props} />;\n }\n }\n };\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"module.exports=function(module){if(!module.webpackPolyfill){module.deprecate=function(){};module.paths=[];if(!module.children)module.children=[];Object.defineProperty(module,\"loaded\",{enumerable:true,get:function get(){return module.l;}});Object.defineProperty(module,\"id\",{enumerable:true,get:function get(){return module.i;}});module.webpackPolyfill=1;}return module;};","map":{"version":3,"sources":["C:/Users/bluej/AppData/Roaming/npm/node_modules/expo-cli/node_modules/webpack/buildin/module.js"],"names":["module","exports","webpackPolyfill","deprecate","paths","children","Object","defineProperty","enumerable","get","l","i"],"mappings":"AAAAA,MAAM,CAACC,OAAP,CAAiB,SAASD,MAAT,CAAiB,CACjC,GAAI,CAACA,MAAM,CAACE,eAAZ,CAA6B,CAC5BF,MAAM,CAACG,SAAP,CAAmB,UAAW,CAAE,CAAhC,CACAH,MAAM,CAACI,KAAP,CAAe,EAAf,CAEA,GAAI,CAACJ,MAAM,CAACK,QAAZ,CAAsBL,MAAM,CAACK,QAAP,CAAkB,EAAlB,CACtBC,MAAM,CAACC,cAAP,CAAsBP,MAAtB,CAA8B,QAA9B,CAAwC,CACvCQ,UAAU,CAAE,IAD2B,CAEvCC,GAAG,CAAE,cAAW,CACf,MAAOT,CAAAA,MAAM,CAACU,CAAd,CACA,CAJsC,CAAxC,EAMAJ,MAAM,CAACC,cAAP,CAAsBP,MAAtB,CAA8B,IAA9B,CAAoC,CACnCQ,UAAU,CAAE,IADuB,CAEnCC,GAAG,CAAE,cAAW,CACf,MAAOT,CAAAA,MAAM,CAACW,CAAd,CACA,CAJkC,CAApC,EAMAX,MAAM,CAACE,eAAP,CAAyB,CAAzB,CACA,CACD,MAAOF,CAAAA,MAAP,CACA,CArBD","sourcesContent":["module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../../modules/UnimplementedView\"));var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"../../../exports/View\"));var _VirtualizedList=_interopRequireDefault(require(\"../VirtualizedList\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var defaultProps=_objectSpread({},_VirtualizedList.default.defaultProps,{numColumns:1});var FlatList=function(_React$PureComponent){_inheritsLoose(FlatList,_React$PureComponent);var _proto=FlatList.prototype;_proto.scrollToEnd=function scrollToEnd(params){if(this._listRef){this._listRef.scrollToEnd(params);}};_proto.scrollToIndex=function scrollToIndex(params){if(this._listRef){this._listRef.scrollToIndex(params);}};_proto.scrollToItem=function scrollToItem(params){if(this._listRef){this._listRef.scrollToItem(params);}};_proto.scrollToOffset=function scrollToOffset(params){if(this._listRef){this._listRef.scrollToOffset(params);}};_proto.recordInteraction=function recordInteraction(){if(this._listRef){this._listRef.recordInteraction();}};_proto.flashScrollIndicators=function flashScrollIndicators(){if(this._listRef){this._listRef.flashScrollIndicators();}};_proto.getScrollResponder=function getScrollResponder(){if(this._listRef){return this._listRef.getScrollResponder();}};_proto.getScrollableNode=function getScrollableNode(){if(this._listRef){return this._listRef.getScrollableNode();}};_proto.setNativeProps=function setNativeProps(props){if(this._listRef){this._listRef.setNativeProps(props);}};_proto.UNSAFE_componentWillMount=function UNSAFE_componentWillMount(){this._checkProps(this.props);};_proto.UNSAFE_componentWillReceiveProps=function UNSAFE_componentWillReceiveProps(nextProps){(0,_invariant.default)(nextProps.numColumns===this.props.numColumns,'Changing numColumns on the fly is not supported. Change the key prop on FlatList when '+'changing the number of columns to force a fresh render of the component.');(0,_invariant.default)(nextProps.onViewableItemsChanged===this.props.onViewableItemsChanged,'Changing onViewableItemsChanged on the fly is not supported');(0,_invariant.default)(nextProps.viewabilityConfig===this.props.viewabilityConfig,'Changing viewabilityConfig on the fly is not supported');(0,_invariant.default)(nextProps.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,'Changing viewabilityConfigCallbackPairs on the fly is not supported');this._checkProps(nextProps);};function FlatList(props){var _this;_this=_React$PureComponent.call(this,props)||this;_this._hasWarnedLegacy=false;_this._virtualizedListPairs=[];_this._captureRef=function(ref){_this._listRef=ref;};_this._getItem=function(data,index){var numColumns=_this.props.numColumns;if(numColumns>1){var ret=[];for(var kk=0;kk<numColumns;kk++){var _item=data[index*numColumns+kk];_item&&ret.push(_item);}return ret;}else{return data[index];}};_this._getItemCount=function(data){return data?Math.ceil(data.length/_this.props.numColumns):0;};_this._keyExtractor=function(items,index){var _this$props=_this.props,keyExtractor=_this$props.keyExtractor,numColumns=_this$props.numColumns;if(numColumns>1){(0,_invariant.default)(Array.isArray(items),'FlatList: Encountered internal consistency error, expected each item to consist of an '+'array with 1-%s columns; instead, received a single item.',numColumns);return items.map(function(it,kk){return keyExtractor(it,index*numColumns+kk);}).join(':');}else{return keyExtractor(items,index);}};_this._renderItem=function(info){var _this$props2=_this.props,renderItem=_this$props2.renderItem,numColumns=_this$props2.numColumns,columnWrapperStyle=_this$props2.columnWrapperStyle;if(numColumns>1){var _item2=info.item,_index=info.index;(0,_invariant.default)(Array.isArray(_item2),'Expected array of items with numColumns > 1');return _react.default.createElement(_View.default,{style:[{flexDirection:'row'},columnWrapperStyle]},_item2.map(function(it,kk){var element=renderItem({item:it,index:_index*numColumns+kk,separators:info.separators});return element&&_react.default.cloneElement(element,{key:kk});}));}else{return renderItem(info);}};if(_this.props.viewabilityConfigCallbackPairs){_this._virtualizedListPairs=_this.props.viewabilityConfigCallbackPairs.map(function(pair){return{viewabilityConfig:pair.viewabilityConfig,onViewableItemsChanged:_this._createOnViewableItemsChanged(pair.onViewableItemsChanged)};});}else if(_this.props.onViewableItemsChanged){_this._virtualizedListPairs.push({viewabilityConfig:_this.props.viewabilityConfig,onViewableItemsChanged:_this._createOnViewableItemsChanged(_this.props.onViewableItemsChanged)});}return _this;}_proto._checkProps=function _checkProps(props){var getItem=props.getItem,getItemCount=props.getItemCount,horizontal=props.horizontal,legacyImplementation=props.legacyImplementation,numColumns=props.numColumns,columnWrapperStyle=props.columnWrapperStyle,onViewableItemsChanged=props.onViewableItemsChanged,viewabilityConfigCallbackPairs=props.viewabilityConfigCallbackPairs;(0,_invariant.default)(!getItem&&!getItemCount,'FlatList does not support custom data formats.');if(numColumns>1){(0,_invariant.default)(!horizontal,'numColumns does not support horizontal.');}else{(0,_invariant.default)(!columnWrapperStyle,'columnWrapperStyle not supported for single column lists');}if(legacyImplementation){(0,_invariant.default)(numColumns===1,'Legacy list does not support multiple columns.');if(!this._hasWarnedLegacy){console.warn('FlatList: Using legacyImplementation - some features not supported and performance '+'may suffer');this._hasWarnedLegacy=true;}}(0,_invariant.default)(!(onViewableItemsChanged&&viewabilityConfigCallbackPairs),'FlatList does not support setting both onViewableItemsChanged and '+'viewabilityConfigCallbackPairs.');};_proto._pushMultiColumnViewable=function _pushMultiColumnViewable(arr,v){var _this$props3=this.props,numColumns=_this$props3.numColumns,keyExtractor=_this$props3.keyExtractor;v.item.forEach(function(item,ii){(0,_invariant.default)(v.index!=null,'Missing index!');var index=v.index*numColumns+ii;arr.push(_objectSpread({},v,{item:item,key:keyExtractor(item,index),index:index}));});};_proto._createOnViewableItemsChanged=function _createOnViewableItemsChanged(onViewableItemsChanged){var _this2=this;return function(info){var numColumns=_this2.props.numColumns;if(onViewableItemsChanged){if(numColumns>1){var changed=[];var viewableItems=[];info.viewableItems.forEach(function(v){return _this2._pushMultiColumnViewable(viewableItems,v);});info.changed.forEach(function(v){return _this2._pushMultiColumnViewable(changed,v);});onViewableItemsChanged({viewableItems:viewableItems,changed:changed});}else{onViewableItemsChanged(info);}}};};_proto.render=function render(){if(this.props.legacyImplementation){return _react.default.createElement(_UnimplementedView.default,_extends({},this.props,{items:this.props.data,ref:this._captureRef}));}else{return _react.default.createElement(_VirtualizedList.default,_extends({},this.props,{renderItem:this._renderItem,getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs}));}};return FlatList;}(_react.default.PureComponent);FlatList.defaultProps=defaultProps;var _default=FlatList;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/FlatList/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_inheritsLoose","subClass","superClass","create","constructor","__proto__","_objectSpread","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","defaultProps","VirtualizedList","numColumns","FlatList","_React$PureComponent","_proto","scrollToEnd","params","_listRef","scrollToIndex","scrollToItem","scrollToOffset","recordInteraction","flashScrollIndicators","getScrollResponder","getScrollableNode","setNativeProps","props","UNSAFE_componentWillMount","_checkProps","UNSAFE_componentWillReceiveProps","nextProps","onViewableItemsChanged","viewabilityConfig","viewabilityConfigCallbackPairs","_this","_hasWarnedLegacy","_virtualizedListPairs","_captureRef","ref","_getItem","data","index","ret","kk","_item","push","_getItemCount","Math","ceil","_keyExtractor","items","_this$props","keyExtractor","Array","isArray","map","it","join","_renderItem","info","_this$props2","renderItem","columnWrapperStyle","_item2","item","_index","React","createElement","View","style","flexDirection","element","separators","cloneElement","pair","_createOnViewableItemsChanged","getItem","getItemCount","horizontal","legacyImplementation","console","warn","_pushMultiColumnViewable","arr","v","_this$props3","ii","_this2","changed","viewableItems","render","UnimplementedView","PureComponent"],"mappings":"mKAiBA,6FACA,oDACA,mEACA,2EACA,qEArBA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CA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8B,CAAE,KAAKG,qBAN8B,CAAjB,CAA7C,CAAP,CAQD,CACF,CAxBD,CA0BA,MAAOxB,CAAAA,QAAP,CACD,CAvTD,CAuTEsD,eAAM0B,aAvTR,CAFA,CA2TAhF,QAAQ,CAACH,YAAT,CAAwBA,YAAxB,C,aACeG,Q","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport UnimplementedView from '../../../modules/UnimplementedView';\nimport React from 'react';\nimport View from '../../../exports/View';\nimport VirtualizedList from '../VirtualizedList';\nimport invariant from 'fbjs/lib/invariant';\n\nvar defaultProps = _objectSpread({}, VirtualizedList.defaultProps, {\n numColumns: 1\n});\n\n/**\n * A performant interface for rendering simple, flat lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Optional horizontal mode.\n * - Configurable viewability callbacks.\n * - Header support.\n * - Footer support.\n * - Separator support.\n * - Pull to Refresh.\n * - Scroll loading.\n * - ScrollToIndex support.\n *\n * If you need section support, use [`<SectionList>`](docs/sectionlist.html).\n *\n * Minimal Example:\n *\n * <FlatList\n * data={[{key: 'a'}, {key: 'b'}]}\n * renderItem={({item}) => <Text>{item.key}</Text>}\n * />\n *\n * More complex, multi-select example demonstrating `PureComponent` usage for perf optimization and avoiding bugs.\n *\n * - By binding the `onPressItem` handler, the props will remain `===` and `PureComponent` will\n * prevent wasteful re-renders unless the actual `id`, `selected`, or `title` props change, even\n * if the components rendered in `MyListItem` did not have such optimizations.\n * - By passing `extraData={this.state}` to `FlatList` we make sure `FlatList` itself will re-render\n * when the `state.selected` changes. Without setting this prop, `FlatList` would not know it\n * needs to re-render any items because it is also a `PureComponent` and the prop comparison will\n * not show any changes.\n * - `keyExtractor` tells the list to use the `id`s for the react keys instead of the default `key` property.\n *\n *\n * class MyListItem extends React.PureComponent {\n * _onPress = () => {\n * this.props.onPressItem(this.props.id);\n * };\n *\n * render() {\n * const textColor = this.props.selected ? \"red\" : \"black\";\n * return (\n * <TouchableOpacity onPress={this._onPress}>\n * <View>\n * <Text style={{ color: textColor }}>\n * {this.props.title}\n * </Text>\n * </View>\n * </TouchableOpacity>\n * );\n * }\n * }\n *\n * class MultiSelectList extends React.PureComponent {\n * state = {selected: (new Map(): Map<string, boolean>)};\n *\n * _keyExtractor = (item, index) => item.id;\n *\n * _onPressItem = (id: string) => {\n * // updater functions are preferred for transactional updates\n * this.setState((state) => {\n * // copy the map rather than modifying state.\n * const selected = new Map(state.selected);\n * selected.set(id, !selected.get(id)); // toggle\n * return {selected};\n * });\n * };\n *\n * _renderItem = ({item}) => (\n * <MyListItem\n * id={item.id}\n * onPressItem={this._onPressItem}\n * selected={!!this.state.selected.get(item.id)}\n * title={item.title}\n * />\n * );\n *\n * render() {\n * return (\n * <FlatList\n * data={this.props.data}\n * extraData={this.state}\n * keyExtractor={this._keyExtractor}\n * renderItem={this._renderItem}\n * />\n * );\n * }\n * }\n *\n * This is a convenience wrapper around [`<VirtualizedList>`](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.\n */\nvar FlatList =\n/*#__PURE__*/\nfunction (_React$PureComponent) {\n _inheritsLoose(FlatList, _React$PureComponent);\n\n var _proto = FlatList.prototype;\n\n /**\n * Scrolls to the end of the content. May be janky without `getItemLayout` prop.\n */\n _proto.scrollToEnd = function scrollToEnd(params) {\n if (this._listRef) {\n this._listRef.scrollToEnd(params);\n }\n }\n /**\n * Scrolls to the item at the specified index such that it is positioned in the viewable area\n * such that `viewPosition` 0 places it at the top, 1 at the bottom, and 0.5 centered in the\n * middle. `viewOffset` is a fixed number of pixels to offset the final target position.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n ;\n\n _proto.scrollToIndex = function scrollToIndex(params) {\n if (this._listRef) {\n this._listRef.scrollToIndex(params);\n }\n }\n /**\n * Requires linear scan through data - use `scrollToIndex` instead if possible.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n ;\n\n _proto.scrollToItem = function scrollToItem(params) {\n if (this._listRef) {\n this._listRef.scrollToItem(params);\n }\n }\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Check out [scrollToOffset](docs/virtualizedlist.html#scrolltooffset) of VirtualizedList\n */\n ;\n\n _proto.scrollToOffset = function scrollToOffset(params) {\n if (this._listRef) {\n this._listRef.scrollToOffset(params);\n }\n }\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n ;\n\n _proto.recordInteraction = function recordInteraction() {\n if (this._listRef) {\n this._listRef.recordInteraction();\n }\n }\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n ;\n\n _proto.flashScrollIndicators = function flashScrollIndicators() {\n if (this._listRef) {\n this._listRef.flashScrollIndicators();\n }\n }\n /**\n * Provides a handle to the underlying scroll responder.\n */\n ;\n\n _proto.getScrollResponder = function getScrollResponder() {\n if (this._listRef) {\n return this._listRef.getScrollResponder();\n }\n };\n\n _proto.getScrollableNode = function getScrollableNode() {\n if (this._listRef) {\n return this._listRef.getScrollableNode();\n }\n };\n\n _proto.setNativeProps = function setNativeProps(props) {\n if (this._listRef) {\n this._listRef.setNativeProps(props);\n }\n };\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n this._checkProps(this.props);\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n invariant(nextProps.numColumns === this.props.numColumns, 'Changing numColumns on the fly is not supported. Change the key prop on FlatList when ' + 'changing the number of columns to force a fresh render of the component.');\n invariant(nextProps.onViewableItemsChanged === this.props.onViewableItemsChanged, 'Changing onViewableItemsChanged on the fly is not supported');\n invariant(nextProps.viewabilityConfig === this.props.viewabilityConfig, 'Changing viewabilityConfig on the fly is not supported');\n invariant(nextProps.viewabilityConfigCallbackPairs === this.props.viewabilityConfigCallbackPairs, 'Changing viewabilityConfigCallbackPairs on the fly is not supported');\n\n this._checkProps(nextProps);\n };\n\n function FlatList(props) {\n var _this;\n\n _this = _React$PureComponent.call(this, props) || this;\n _this._hasWarnedLegacy = false;\n _this._virtualizedListPairs = [];\n\n _this._captureRef = function (ref) {\n _this._listRef = ref;\n };\n\n _this._getItem = function (data, index) {\n var numColumns = _this.props.numColumns;\n\n if (numColumns > 1) {\n var ret = [];\n\n for (var kk = 0; kk < numColumns; kk++) {\n var _item = data[index * numColumns + kk];\n _item && ret.push(_item);\n }\n\n return ret;\n } else {\n return data[index];\n }\n };\n\n _this._getItemCount = function (data) {\n return data ? Math.ceil(data.length / _this.props.numColumns) : 0;\n };\n\n _this._keyExtractor = function (items, index) {\n var _this$props = _this.props,\n keyExtractor = _this$props.keyExtractor,\n numColumns = _this$props.numColumns;\n\n if (numColumns > 1) {\n invariant(Array.isArray(items), 'FlatList: Encountered internal consistency error, expected each item to consist of an ' + 'array with 1-%s columns; instead, received a single item.', numColumns);\n return items.map(function (it, kk) {\n return keyExtractor(it, index * numColumns + kk);\n }).join(':');\n } else {\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n return keyExtractor(items, index);\n }\n };\n\n _this._renderItem = function (info) {\n var _this$props2 = _this.props,\n renderItem = _this$props2.renderItem,\n numColumns = _this$props2.numColumns,\n columnWrapperStyle = _this$props2.columnWrapperStyle;\n\n if (numColumns > 1) {\n var _item2 = info.item,\n _index = info.index;\n invariant(Array.isArray(_item2), 'Expected array of items with numColumns > 1');\n return React.createElement(View, {\n style: [{\n flexDirection: 'row'\n }, columnWrapperStyle]\n }, _item2.map(function (it, kk) {\n var element = renderItem({\n item: it,\n index: _index * numColumns + kk,\n separators: info.separators\n });\n return element && React.cloneElement(element, {\n key: kk\n });\n }));\n } else {\n return renderItem(info);\n }\n };\n\n if (_this.props.viewabilityConfigCallbackPairs) {\n _this._virtualizedListPairs = _this.props.viewabilityConfigCallbackPairs.map(function (pair) {\n return {\n viewabilityConfig: pair.viewabilityConfig,\n onViewableItemsChanged: _this._createOnViewableItemsChanged(pair.onViewableItemsChanged)\n };\n });\n } else if (_this.props.onViewableItemsChanged) {\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n _this._virtualizedListPairs.push({\n viewabilityConfig: _this.props.viewabilityConfig,\n onViewableItemsChanged: _this._createOnViewableItemsChanged(_this.props.onViewableItemsChanged)\n });\n }\n\n return _this;\n }\n\n _proto._checkProps = function _checkProps(props) {\n var getItem = props.getItem,\n getItemCount = props.getItemCount,\n horizontal = props.horizontal,\n legacyImplementation = props.legacyImplementation,\n numColumns = props.numColumns,\n columnWrapperStyle = props.columnWrapperStyle,\n onViewableItemsChanged = props.onViewableItemsChanged,\n viewabilityConfigCallbackPairs = props.viewabilityConfigCallbackPairs;\n invariant(!getItem && !getItemCount, 'FlatList does not support custom data formats.');\n\n if (numColumns > 1) {\n invariant(!horizontal, 'numColumns does not support horizontal.');\n } else {\n invariant(!columnWrapperStyle, 'columnWrapperStyle not supported for single column lists');\n }\n\n if (legacyImplementation) {\n invariant(numColumns === 1, 'Legacy list does not support multiple columns.'); // Warning: may not have full feature parity and is meant more for debugging and performance\n // comparison.\n\n if (!this._hasWarnedLegacy) {\n console.warn('FlatList: Using legacyImplementation - some features not supported and performance ' + 'may suffer');\n this._hasWarnedLegacy = true;\n }\n }\n\n invariant(!(onViewableItemsChanged && viewabilityConfigCallbackPairs), 'FlatList does not support setting both onViewableItemsChanged and ' + 'viewabilityConfigCallbackPairs.');\n };\n\n _proto._pushMultiColumnViewable = function _pushMultiColumnViewable(arr, v) {\n var _this$props3 = this.props,\n numColumns = _this$props3.numColumns,\n keyExtractor = _this$props3.keyExtractor;\n v.item.forEach(function (item, ii) {\n invariant(v.index != null, 'Missing index!');\n var index = v.index * numColumns + ii;\n arr.push(_objectSpread({}, v, {\n item: item,\n key: keyExtractor(item, index),\n index: index\n }));\n });\n };\n\n _proto._createOnViewableItemsChanged = function _createOnViewableItemsChanged(onViewableItemsChanged) {\n var _this2 = this;\n\n return function (info) {\n var numColumns = _this2.props.numColumns;\n\n if (onViewableItemsChanged) {\n if (numColumns > 1) {\n var changed = [];\n var viewableItems = [];\n info.viewableItems.forEach(function (v) {\n return _this2._pushMultiColumnViewable(viewableItems, v);\n });\n info.changed.forEach(function (v) {\n return _this2._pushMultiColumnViewable(changed, v);\n });\n onViewableItemsChanged({\n viewableItems: viewableItems,\n changed: changed\n });\n } else {\n onViewableItemsChanged(info);\n }\n }\n };\n };\n\n _proto.render = function render() {\n if (this.props.legacyImplementation) {\n return (\n /* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.66 was deployed. To see the error delete\n * this comment and run Flow. */\n React.createElement(UnimplementedView, _extends({}, this.props, {\n /* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses\n * an error found when Flow v0.66 was deployed. To see the error\n * delete this comment and run Flow. */\n items: this.props.data,\n ref: this._captureRef\n }))\n );\n } else {\n return React.createElement(VirtualizedList, _extends({}, this.props, {\n renderItem: this._renderItem,\n getItem: this._getItem,\n getItemCount: this._getItemCount,\n keyExtractor: this._keyExtractor,\n ref: this._captureRef,\n viewabilityConfigCallbackPairs: this._virtualizedListPairs\n }));\n }\n };\n\n return FlatList;\n}(React.PureComponent);\n\nFlatList.defaultProps = defaultProps;\nexport default FlatList;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _color=_interopRequireDefault(require(\"color\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _theming=require(\"../core/theming\");var _colors=require(\"../styles/colors\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Divider.tsx\";var Divider=function(_React$Component){(0,_inherits2.default)(Divider,_React$Component);function Divider(){(0,_classCallCheck2.default)(this,Divider);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Divider).apply(this,arguments));}(0,_createClass2.default)(Divider,[{key:\"render\",value:function render(){var _this$props=this.props,inset=_this$props.inset,style=_this$props.style,theme=_this$props.theme,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"inset\",\"style\",\"theme\"]);var isDarkTheme=theme.dark;return React.createElement(_View.default,(0,_extends2.default)({},rest,{style:[isDarkTheme?styles.dark:styles.light,inset&&styles.inset,style],__source:{fileName:_jsxFileName,lineNumber:46}}));}}]);return Divider;}(React.Component);var styles=_StyleSheet.default.create({light:{backgroundColor:(0,_color.default)(_colors.black).alpha(0.12).rgb().string(),height:_StyleSheet.default.hairlineWidth},dark:{backgroundColor:(0,_color.default)(_colors.white).alpha(0.12).rgb().string(),height:_StyleSheet.default.hairlineWidth},inset:{marginLeft:72}});var _default=(0,_theming.withTheme)(Divider);exports.default=_default;","map":{"version":3,"sources":["Divider.tsx"],"names":["Divider","React","Component","inset","style","theme","rest","isDarkTheme","styles","StyleSheet","light","backgroundColor","color","height","dark","marginLeft","withTheme"],"mappings":"k5BAAA,oDACA,oD,4KAEA,wCACA,wC,kGAoCMA,GAAAA,CAAAA,O,oUACK,CAAA,GAAA,CAAA,WAAA,CACkC,KADlC,KAAA,CACCG,KADD,CAAA,WAAA,CAAA,KAAA,CACQC,KADR,CAAA,WAAA,CAAA,KAAA,CACeC,KADf,CAAA,WAAA,CAAA,KAAA,CACyBC,IADzB,CAAA,sCAAA,WAAA,CAAA,CAAA,OAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,CAAA,GAEOC,CAAAA,WAFP,CAEuBF,KAFvB,CAAA,IAAA,CAGP,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAEE,KAAK,CAAE,CACLE,WAAW,CAAGC,MAAM,CAAT,IAAA,CAAiBA,MAAM,CAD7B,KAAA,CAELL,KAAK,EAAIK,MAAM,CAFV,KAAA,CAFT,KAES,CAFT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,C,sBAJkBP,KAAK,CAACC,S,CAAtBF,CAiBN,GAAMQ,CAAAA,MAAM,CAAGC,oBAAAA,MAAAA,CAAkB,CAC/BC,KAAK,CAAE,CACLC,eAAe,CAAEC,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,IAAAA,EAAAA,GAAAA,GADZ,MACYA,EADZ,CAKLC,MAAM,CAAEJ,oBANqB,aACxB,CADwB,CAQ/BK,IAAI,CAAE,CACJH,eAAe,CAAEC,mBAAAA,aAAAA,EAAAA,KAAAA,CAAAA,IAAAA,EAAAA,GAAAA,GADb,MACaA,EADb,CAKJC,MAAM,CAAEJ,oBAbqB,aAQzB,CARyB,CAe/BN,KAAK,CAAE,CACLY,UAAU,CAhBd,EAeS,CAfwB,CAAlBN,CAAf,C,aAoBeO,uBAAf,OAAeA,C","sourcesContent":["import * as React from 'react';\nimport color from 'color';\nimport { StyleSheet, View, ViewStyle, StyleProp } from 'react-native';\nimport { withTheme } from '../core/theming';\nimport { black, white } from '../styles/colors';\nimport { Theme, $RemoveChildren } from '../types';\n\ntype Props = $RemoveChildren<typeof View> & {\n /**\n * Whether divider has a left inset.\n */\n inset?: boolean;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * A divider is a thin, lightweight separator that groups content in lists and page layouts.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { View } from 'react-native';\n * import { Divider, Text } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <View>\n * <Text>Apple</Text>\n * <Divider />\n * <Text>Orange</Text>\n * <Divider />\n * </View>\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass Divider extends React.Component<Props> {\n render() {\n const { inset, style, theme, ...rest } = this.props;\n const { dark: isDarkTheme } = theme;\n return (\n <View\n {...rest}\n style={[\n isDarkTheme ? styles.dark : styles.light,\n inset && styles.inset,\n style,\n ]}\n />\n );\n }\n}\n\nconst styles = StyleSheet.create({\n light: {\n backgroundColor: color(black)\n .alpha(0.12)\n .rgb()\n .string(),\n height: StyleSheet.hairlineWidth,\n },\n dark: {\n backgroundColor: color(white)\n .alpha(0.12)\n .rgb()\n .string(),\n height: StyleSheet.hairlineWidth,\n },\n inset: {\n marginLeft: 72,\n },\n});\n\nexport default withTheme(Divider);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.isEqualIcon=exports.isValidIcon=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var React=_interopRequireWildcard(require(\"react\"));var _Image=_interopRequireDefault(require(\"react-native-web/dist/exports/Image\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _settings=require(\"../core/settings\");var _MaterialCommunityIcon=require(\"./MaterialCommunityIcon\");var _theming=require(\"../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Icon.tsx\";var isImageSource=function isImageSource(source){return typeof source==='object'&&source!==null&&Object.prototype.hasOwnProperty.call(source,'uri')&&typeof source.uri==='string'||typeof source==='number'||_Platform.default.OS==='web'&&typeof source==='string'&&(source.startsWith('data:image')||/\\.(bmp|jpg|jpeg|png|gif|svg)$/.test(source));};var getIconId=function getIconId(source){if(typeof source==='object'&&source!==null&&Object.prototype.hasOwnProperty.call(source,'uri')&&typeof source.uri==='string'){return source.uri;}return source;};var isValidIcon=function isValidIcon(source){return typeof source==='string'||isImageSource(source);};exports.isValidIcon=isValidIcon;var isEqualIcon=function isEqualIcon(a,b){return a===b||getIconId(a)===getIconId(b);};exports.isEqualIcon=isEqualIcon;var Icon=function Icon(_ref){var source=_ref.source,color=_ref.color,size=_ref.size,theme=_ref.theme,rest=(0,_objectWithoutProperties2.default)(_ref,[\"source\",\"color\",\"size\",\"theme\"]);var direction=typeof source==='object'&&source.direction&&source.source?source.direction==='auto'?_I18nManager.default.isRTL?'rtl':'ltr':source.direction:null;var s=typeof source==='object'&&source.direction&&source.source?source.source:source;var iconColor=color||theme.colors.text;if(isImageSource(s)){return React.createElement(_Image.default,(0,_extends2.default)({},rest,{source:s,style:[{transform:[{scaleX:direction==='rtl'?-1:1}]},{width:size,height:size,tintColor:color,resizeMode:'contain'}]},_MaterialCommunityIcon.accessibilityProps,{__source:{fileName:_jsxFileName,lineNumber:86}}));}else if(typeof s==='string'){return React.createElement(_settings.Consumer,{__source:{fileName:_jsxFileName,lineNumber:106}},function(_ref2){var icon=_ref2.icon;return icon({name:s,color:iconColor,size:size,direction:direction});});}else if(typeof s==='function'){return s({color:iconColor,size:size,direction:direction});}return null;};var _default=(0,_theming.withTheme)(Icon);exports.default=_default;","map":{"version":3,"sources":["Icon.tsx"],"names":["isImageSource","source","Object","Platform","getIconId","isValidIcon","isEqualIcon","a","Icon","color","size","theme","rest","direction","I18nManager","s","iconColor","transform","scaleX","width","height","tintColor","resizeMode","icon","name","withTheme"],"mappings":"geAAA,oD,wQAOA,0CACA,8DACA,wC,+FAwBA,GAAMA,CAAAA,aAAa,CAAbA,QAAAA,CAAAA,aAAAA,CAAgB,MAAhBA,CAAgB,CAAA,MAEnB,OAAA,CAAA,MAAA,GAAA,QAAA,EACCC,MAAM,GADP,IAAA,EAEEC,MAAM,CAANA,SAAAA,CAAAA,cAAAA,CAAAA,IAAAA,CAAAA,MAAAA,CAAAA,KAAAA,CAFF,EAGG,MAAOD,CAAAA,MAAM,CAAb,GAAA,GAHJ,QAAC,EAKD,MAAA,CAAA,MAAA,GALA,QAAC,EAOAE,kBAAAA,EAAAA,GAAAA,KAAAA,EACC,MAAA,CAAA,MAAA,GADDA,QAAAA,GAEEF,MAAM,CAANA,UAAAA,CAAAA,YAAAA,GACC,gCAAA,IAAA,CAZgB,MAYhB,CAHHE,CATmB,CAAtB,CAAA,CAcA,GAAMC,CAAAA,SAAS,CAATA,QAAAA,CAAAA,SAAAA,CAAY,MAAZA,CAA6B,CACjC,GACE,MAAA,CAAA,MAAA,GAAA,QAAA,EACAH,MAAM,GADN,IAAA,EAECC,MAAM,CAANA,SAAAA,CAAAA,cAAAA,CAAAA,IAAAA,CAAAA,MAAAA,CAAAA,KAAAA,CAFD,EAGE,MAAOD,CAAAA,MAAM,CAAb,GAAA,GAJJ,QAAA,CAKE,CACA,MAAOA,CAAAA,MAAM,CAAb,GAAA,CAGF,OAAA,CAAA,MAAA,CAVF,CAAA,CAaO,GAAMI,CAAAA,WAAW,CAAXA,QAAAA,CAAAA,WAAAA,CAAc,MAAdA,CAAc,CAAA,MACzB,OAAA,CAAA,MAAA,GAAA,QAAA,EAA8BL,aAAa,CADlB,MACkB,CADlB,CAApB,CAAA,C,gCAGA,GAAMM,CAAAA,WAAW,CAAXA,QAAAA,CAAAA,W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KAAAA,CAAsB,CAAtBA,CAAAA,CAFnB,CAES,CAAD,CADb,CADK,CAKL,CACEM,KAAK,CADP,IAAA,CAEEC,MAAM,CAFR,IAAA,CAGEC,SAAS,CAHX,KAAA,CAIEC,UAAU,CAZhB,SAQI,CALK,CAHT,CAAA,CAAA,yCAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,CADF,CAAA,IAoBO,IAAI,MAAA,CAAA,CAAA,GAAJ,QAAA,CAA2B,CAChC,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,kBAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,CACG,SAAA,KAAA,CAAc,CAAXC,GAAAA,CAAAA,IAAW,CAAA,KAAA,CAAXA,IAAAA,CACF,MAAOA,CAAAA,IAAI,CAAC,CACVC,IAAI,CADM,CAAA,CAEVf,KAAK,CAFK,SAAA,CAGVC,IAAI,CAHM,IAAA,CAIVG,SAAS,CAJX,SAAY,CAAD,CAAX,CAHN,CACE,CADF,CADK,CAAA,IAaA,IAAI,MAAA,CAAA,CAAA,GAAJ,UAAA,CAA6B,CAClC,MAAOE,CAAAA,CAAC,CAAC,CAAEN,KAAK,CAAP,SAAA,CAAoBC,IAAI,CAAxB,IAAA,CAA0BG,SAAS,CAA5C,SAAS,CAAD,CAAR,CAGF,OAAA,KAAA,CAtDF,CAAA,C,aAyDeY,uBAAf,IAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n Image,\n I18nManager,\n Platform,\n ImageSourcePropType,\n} from 'react-native';\nimport { Consumer as SettingsConsumer } from '../core/settings';\nimport { accessibilityProps } from './MaterialCommunityIcon';\nimport { withTheme } from '../core/theming';\nimport { Theme } from '../types';\n\ntype IconSourceBase = string | ImageSourcePropType;\n\nexport type IconSource =\n | IconSourceBase\n | Readonly<{ source: IconSourceBase; direction: 'rtl' | 'ltr' | 'auto' }>\n | ((props: IconProps & { color: string }) => React.ReactNode);\n\ntype IconProps = {\n size: number;\n allowFontScaling?: boolean;\n};\n\ntype Props = IconProps & {\n color?: string;\n source: any;\n /**\n * @optional\n */\n theme: Theme;\n};\n\nconst isImageSource = (source: any) =>\n // source is an object with uri\n (typeof source === 'object' &&\n source !== null &&\n (Object.prototype.hasOwnProperty.call(source, 'uri') &&\n typeof source.uri === 'string')) ||\n // source is a module, e.g. - require('image')\n typeof source === 'number' ||\n // image url on web\n (Platform.OS === 'web' &&\n typeof source === 'string' &&\n (source.startsWith('data:image') ||\n /\\.(bmp|jpg|jpeg|png|gif|svg)$/.test(source)));\n\nconst getIconId = (source: any) => {\n if (\n typeof source === 'object' &&\n source !== null &&\n (Object.prototype.hasOwnProperty.call(source, 'uri') &&\n typeof source.uri === 'string')\n ) {\n return source.uri;\n }\n\n return source;\n};\n\nexport const isValidIcon = (source: any) =>\n typeof source === 'string' || isImageSource(source);\n\nexport const isEqualIcon = (a: any, b: any) =>\n a === b || getIconId(a) === getIconId(b);\n\nconst Icon = ({ source, color, size, theme, ...rest }: Props) => {\n const direction =\n // @ts-ignore\n typeof source === 'object' && source.direction && source.source\n ? source.direction === 'auto'\n ? I18nManager.isRTL\n ? 'rtl'\n : 'ltr'\n : source.direction\n : null;\n const s =\n // @ts-ignore\n typeof source === 'object' && source.direction && source.source\n ? source.source\n : source;\n const iconColor = color || theme.colors.text;\n\n if (isImageSource(s)) {\n return (\n <Image\n {...rest}\n source={s}\n style={[\n {\n transform: [{ scaleX: direction === 'rtl' ? -1 : 1 }],\n },\n // eslint-disable-next-line react-native/no-inline-styles\n {\n width: size,\n height: size,\n tintColor: color,\n resizeMode: 'contain',\n },\n ]}\n {...accessibilityProps}\n />\n );\n } else if (typeof s === 'string') {\n return (\n <SettingsConsumer>\n {({ icon }) => {\n return icon({\n name: s,\n color: iconColor,\n size,\n direction,\n });\n }}\n </SettingsConsumer>\n );\n } else if (typeof s === 'function') {\n return s({ color: iconColor, size, direction });\n }\n\n return null;\n};\n\nexport default withTheme(Icon);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableWithoutFeedback\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var RNGestureHandlerButton=function(_React$Component){(0,_inherits2.default)(RNGestureHandlerButton,_React$Component);function RNGestureHandlerButton(){(0,_classCallCheck2.default)(this,RNGestureHandlerButton);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(RNGestureHandlerButton).apply(this,arguments));}(0,_createClass2.default)(RNGestureHandlerButton,[{key:\"render\",value:function render(){var _this$props=this.props,children=_this$props.children,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"children\"]);return _react.default.createElement(_TouchableWithoutFeedback.default,(0,_extends2.default)({accessibilityRole:\"button\"},rest),_react.default.createElement(_View.default,null,children));}}]);return RNGestureHandlerButton;}(_react.default.Component);exports.default=RNGestureHandlerButton;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/GestureHandlerButton.web.js"],"names":["RNGestureHandlerButton","props","children","rest","React","Component"],"mappings":"6zBAAA,oD,2MAGqBA,CAAAA,sB,+YACV,iBACuB,KAAKC,KAD5B,CACCC,QADD,aACCA,QADD,CACcC,IADd,iEAGP,MACE,8BAAC,iCAAD,wBAA0B,iBAAiB,CAAC,QAA5C,EAAyDA,IAAzD,EACE,6BAAC,aAAD,MAAOD,QAAP,CADF,CADF,CAKD,C,oCATiDE,eAAMC,S","sourcesContent":["import React from 'react';\nimport { TouchableWithoutFeedback, View } from 'react-native';\n\nexport default class RNGestureHandlerButton extends React.Component {\n render() {\n const { children, ...rest } = this.props;\n\n return (\n <TouchableWithoutFeedback accessibilityRole=\"button\" {...rest}>\n <View>{children}</View>\n </TouchableWithoutFeedback>\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var EventSubscriptionVendor=function(){function EventSubscriptionVendor(){this._subscriptionsForType={};this._currentSubscription=null;}var _proto=EventSubscriptionVendor.prototype;_proto.addSubscription=function addSubscription(eventType,subscription){(0,_invariant.default)(subscription.subscriber===this,'The subscriber of the subscription is incorrectly set.');if(!this._subscriptionsForType[eventType]){this._subscriptionsForType[eventType]=[];}var key=this._subscriptionsForType[eventType].length;this._subscriptionsForType[eventType].push(subscription);subscription.eventType=eventType;subscription.key=key;return subscription;};_proto.removeAllSubscriptions=function removeAllSubscriptions(eventType){if(eventType===undefined){this._subscriptionsForType={};}else{delete this._subscriptionsForType[eventType];}};_proto.removeSubscription=function removeSubscription(subscription){var eventType=subscription.eventType;var key=subscription.key;var subscriptionsForType=this._subscriptionsForType[eventType];if(subscriptionsForType){delete subscriptionsForType[key];}};_proto.getSubscriptionsForType=function getSubscriptionsForType(eventType){return this._subscriptionsForType[eventType];};return EventSubscriptionVendor;}();var _default=EventSubscriptionVendor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/emitter/EventSubscriptionVendor.js"],"names":["EventSubscriptionVendor","_subscriptionsForType","_currentSubscription","_proto","prototype","addSubscription","eventType","subscription","subscriber","key","length","push","removeAllSubscriptions","undefined","removeSubscription","subscriptionsForType","getSubscriptionsForType"],"mappings":"AASA,a,mKAEA,qEAMA,GAAIA,CAAAA,uBAAuB,CAE3B,UAAY,CACV,QAASA,CAAAA,uBAAT,EAAmC,CACjC,KAAKC,qBAAL,CAA6B,EAA7B,CACA,KAAKC,oBAAL,CAA4B,IAA5B,CACD,CASD,GAAIC,CAAAA,MAAM,CAAGH,uBAAuB,CAACI,SAArC,CAEAD,MAAM,CAACE,eAAP,CAAyB,QAASA,CAAAA,eAAT,CAAyBC,SAAzB,CAAoCC,YAApC,CAAkD,CACzE,uBAAUA,YAAY,CAACC,UAAb,GAA4B,IAAtC,CAA4C,wDAA5C,EAEA,GAAI,CAAC,KAAKP,qBAAL,CAA2BK,SAA3B,CAAL,CAA4C,CAC1C,KAAKL,qBAAL,CAA2BK,SAA3B,EAAwC,EAAxC,CACD,CAED,GAAIG,CAAAA,GAAG,CAAG,KAAKR,qBAAL,CAA2BK,SAA3B,EAAsCI,MAAhD,CAEA,KAAKT,qBAAL,CAA2BK,SAA3B,EAAsCK,IAAtC,CAA2CJ,YAA3C,EAEAA,YAAY,CAACD,SAAb,CAAyBA,SAAzB,CACAC,YAAY,CAACE,GAAb,CAAmBA,GAAnB,CACA,MAAOF,CAAAA,YAAP,CACD,CAdD,CAuBAJ,MAAM,CAACS,sBAAP,CAAgC,QAASA,CAAAA,sBAAT,CAAgCN,SAAhC,CAA2C,CACzE,GAAIA,SAAS,GAAKO,SAAlB,CAA6B,CAC3B,KAAKZ,qBAAL,CAA6B,EAA7B,CACD,CAFD,IAEO,CACL,MAAO,MAAKA,qBAAL,CAA2BK,SAA3B,CAAP,CACD,CACF,CAND,CAeAH,MAAM,CAACW,kBAAP,CAA4B,QAASA,CAAAA,kBAAT,CAA4BP,YAA5B,CAA0C,CACpE,GAAID,CAAAA,SAAS,CAAGC,YAAY,CAACD,SAA7B,CACA,GAAIG,CAAAA,GAAG,CAAGF,YAAY,CAACE,GAAvB,CACA,GAAIM,CAAAA,oBAAoB,CAAG,KAAKd,qBAAL,CAA2BK,SAA3B,CAA3B,CAEA,GAAIS,oBAAJ,CAA0B,CACxB,MAAOA,CAAAA,oBAAoB,CAACN,GAAD,CAA3B,CACD,CACF,CARD,CAuBAN,MAAM,CAACa,uBAAP,CAAiC,QAASA,CAAAA,uBAAT,CAAiCV,SAAjC,CAA4C,CAC3E,MAAO,MAAKL,qBAAL,CAA2BK,SAA3B,CAAP,CACD,CAFD,CAIA,MAAON,CAAAA,uBAAP,CACD,CAjFD,EAFA,C,aAqFeA,uB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule EventSubscriptionVendor\n * \n */\n'use strict';\n\nimport invariant from 'fbjs/lib/invariant';\n\n/**\n * EventSubscriptionVendor stores a set of EventSubscriptions that are\n * subscribed to a particular event type.\n */\nvar EventSubscriptionVendor =\n/*#__PURE__*/\nfunction () {\n function EventSubscriptionVendor() {\n this._subscriptionsForType = {};\n this._currentSubscription = null;\n }\n /**\n * Adds a subscription keyed by an event type.\n *\n * @param {string} eventType\n * @param {EventSubscription} subscription\n */\n\n\n var _proto = EventSubscriptionVendor.prototype;\n\n _proto.addSubscription = function addSubscription(eventType, subscription) {\n invariant(subscription.subscriber === this, 'The subscriber of the subscription is incorrectly set.');\n\n if (!this._subscriptionsForType[eventType]) {\n this._subscriptionsForType[eventType] = [];\n }\n\n var key = this._subscriptionsForType[eventType].length;\n\n this._subscriptionsForType[eventType].push(subscription);\n\n subscription.eventType = eventType;\n subscription.key = key;\n return subscription;\n }\n /**\n * Removes a bulk set of the subscriptions.\n *\n * @param {?string} eventType - Optional name of the event type whose\n * registered supscriptions to remove, if null remove all subscriptions.\n */\n ;\n\n _proto.removeAllSubscriptions = function removeAllSubscriptions(eventType) {\n if (eventType === undefined) {\n this._subscriptionsForType = {};\n } else {\n delete this._subscriptionsForType[eventType];\n }\n }\n /**\n * Removes a specific subscription. Instead of calling this function, call\n * `subscription.remove()` directly.\n *\n * @param {object} subscription\n */\n ;\n\n _proto.removeSubscription = function removeSubscription(subscription) {\n var eventType = subscription.eventType;\n var key = subscription.key;\n var subscriptionsForType = this._subscriptionsForType[eventType];\n\n if (subscriptionsForType) {\n delete subscriptionsForType[key];\n }\n }\n /**\n * Returns the array of subscriptions that are currently registered for the\n * given event type.\n *\n * Note: This array can be potentially sparse as subscriptions are deleted\n * from it when they are removed.\n *\n * TODO: This returns a nullable array. wat?\n *\n * @param {string} eventType\n * @returns {?array}\n */\n ;\n\n _proto.getSubscriptionsForType = function getSubscriptionsForType(eventType) {\n return this._subscriptionsForType[eventType];\n };\n\n return EventSubscriptionVendor;\n}();\n\nexport default EventSubscriptionVendor;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createEventObjectProxyPolyfill;function createEventObjectProxyPolyfill(){var nodesMap={translationX:{},translationY:{},state:{},oldState:{},absoluteX:{},absoluteY:{},x:{},y:{},velocityX:{},velocityY:{},scale:{},focalX:{},focalY:{},rotation:{},anchorX:{},anchorY:{},velocity:{},numberOfPointers:{},layout:{x:{},y:{},width:{},height:{}},contentOffset:{y:{},x:{}},layoutMeasurement:{width:{},height:{}},contentSize:{width:{},height:{}},zoomScale:{},contentInset:{right:{},top:{},left:{},bottom:{}}};var traverse=function traverse(obj){for(var key in obj){obj[key].__isProxy=true;traverse(obj[key]);}};traverse(nodesMap);return nodesMap;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/createEventObjectProxyPolyfill.js"],"names":["createEventObjectProxyPolyfill","nodesMap","translationX","translationY","state","oldState","absoluteX","absoluteY","x","y","velocityX","velocityY","scale","focalX","focalY","rotation","anchorX","anchorY","velocity","numberOfPointers","layout","width","height","contentOffset","layoutMeasurement","contentSize","zoomScale","contentInset","right","top","left","bottom","traverse","obj","key","__isProxy"],"mappings":"wGAKe,QAASA,CAAAA,8BAAT,EAA0C,CACvD,GAAMC,CAAAA,QAAQ,CAAG,CAEfC,YAAY,CAAE,EAFC,CAGfC,YAAY,CAAE,EAHC,CAIfC,KAAK,CAAE,EAJQ,CAKfC,QAAQ,CAAE,EALK,CAMfC,SAAS,CAAE,EANI,CAOfC,SAAS,CAAE,EAPI,CAQfC,CAAC,CAAE,EARY,CASfC,CAAC,CAAE,EATY,CAUfC,SAAS,CAAE,EAVI,CAWfC,SAAS,CAAE,EAXI,CAYfC,KAAK,CAAE,EAZQ,CAafC,MAAM,CAAE,EAbO,CAcfC,MAAM,CAAE,EAdO,CAefC,QAAQ,CAAE,EAfK,CAgBfC,OAAO,CAAE,EAhBM,CAiBfC,OAAO,CAAE,EAjBM,CAkBfC,QAAQ,CAAE,EAlBK,CAmBfC,gBAAgB,CAAE,EAnBH,CAqBfC,MAAM,CAAE,CAAEZ,CAAC,CAAE,EAAL,CAASC,CAAC,CAAE,EAAZ,CAAgBY,KAAK,CAAE,EAAvB,CAA2BC,MAAM,CAAE,EAAnC,CArBO,CAuBfC,aAAa,CAAE,CAAEd,CAAC,CAAE,EAAL,CAASD,CAAC,CAAE,EAAZ,CAvBA,CAwBfgB,iBAAiB,CAAE,CAAEH,KAAK,CAAE,EAAT,CAAaC,MAAM,CAAE,EAArB,CAxBJ,CAyBfG,WAAW,CAAE,CAAEJ,KAAK,CAAE,EAAT,CAAaC,MAAM,CAAE,EAArB,CAzBE,CA0BfI,SAAS,CAAE,EA1BI,CA2BfC,YAAY,CAAE,CAAEC,KAAK,CAAE,EAAT,CAAaC,GAAG,CAAE,EAAlB,CAAsBC,IAAI,CAAE,EAA5B,CAAgCC,MAAM,CAAE,EAAxC,CA3BC,CAAjB,CA6BA,GAAMC,CAAAA,QAAQ,CAAG,QAAXA,CAAAA,QAAW,CAAAC,GAAG,CAAI,CACtB,IAAK,GAAIC,CAAAA,GAAT,GAAgBD,CAAAA,GAAhB,CAAqB,CACnBA,GAAG,CAACC,GAAD,CAAH,CAASC,SAAT,CAAqB,IAArB,CACAH,QAAQ,CAACC,GAAG,CAACC,GAAD,CAAJ,CAAR,CACD,CACF,CALD,CAMAF,QAAQ,CAAC/B,QAAD,CAAR,CACA,MAAOA,CAAAA,QAAP,CACD","sourcesContent":["// JSC on Android and iOS 8 & 9 does not support proxies.\n// The below workaround provides a proxy-like functionality for event data by\n// creating an object which contains predefined fields for the most commonly\n// used event attributes. If your app uses even attribute which is not listed\n// here please submit a PR to add that and we will merge it right away\nexport default function createEventObjectProxyPolyfill() {\n const nodesMap = {\n // Gesture handlers-related event\n translationX: {},\n translationY: {},\n state: {},\n oldState: {},\n absoluteX: {},\n absoluteY: {},\n x: {},\n y: {},\n velocityX: {},\n velocityY: {},\n scale: {},\n focalX: {},\n focalY: {},\n rotation: {},\n anchorX: {},\n anchorY: {},\n velocity: {},\n numberOfPointers: {},\n // onLayour-related event\n layout: { x: {}, y: {}, width: {}, height: {} },\n // ScrollView event\n contentOffset: { y: {}, x: {} },\n layoutMeasurement: { width: {}, height: {} },\n contentSize: { width: {}, height: {} },\n zoomScale: {},\n contentInset: { right: {}, top: {}, left: {}, bottom: {} },\n };\n const traverse = obj => {\n for (let key in obj) {\n obj[key].__isProxy = true;\n traverse(obj[key]);\n }\n };\n traverse(nodesMap);\n return nodesMap;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _TextInput=_interopRequireDefault(require(\"react-native-web/dist/exports/TextInput\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _color=_interopRequireDefault(require(\"color\"));var _IconButton=_interopRequireDefault(require(\"./IconButton\"));var _Surface=_interopRequireDefault(require(\"./Surface\"));var _theming=require(\"../core/theming\");var _MaterialCommunityIcon=_interopRequireDefault(require(\"./MaterialCommunityIcon\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Searchbar.tsx\";var Searchbar=function(_React$Component){(0,_inherits2.default)(Searchbar,_React$Component);function Searchbar(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Searchbar);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Searchbar)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.handleClearPress=function(){_this.clear();_this.props.onChangeText&&_this.props.onChangeText('');};return _this;}(0,_createClass2.default)(Searchbar,[{key:\"setNativeProps\",value:function setNativeProps(args){return this.root&&this.root.setNativeProps(args);}},{key:\"isFocused\",value:function isFocused(){return this.root&&this.root.isFocused();}},{key:\"clear\",value:function clear(){return this.root&&this.root.clear();}},{key:\"focus\",value:function focus(){return this.root&&this.root.focus();}},{key:\"blur\",value:function blur(){return this.root&&this.root.blur();}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,placeholder=_this$props.placeholder,onIconPress=_this$props.onIconPress,icon=_this$props.icon,value=_this$props.value,theme=_this$props.theme,style=_this$props.style,customIconColor=_this$props.iconColor,clearIcon=_this$props.clearIcon,inputStyle=_this$props.inputStyle,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"placeholder\",\"onIconPress\",\"icon\",\"value\",\"theme\",\"style\",\"iconColor\",\"clearIcon\",\"inputStyle\"]);var colors=theme.colors,roundness=theme.roundness,dark=theme.dark,fonts=theme.fonts;var textColor=colors.text;var font=fonts.regular;var iconColor=customIconColor||(dark?textColor:(0,_color.default)(textColor).alpha(0.54).rgb().string());var rippleColor=(0,_color.default)(textColor).alpha(0.32).rgb().string();return React.createElement(_Surface.default,{style:[{borderRadius:roundness,elevation:4},styles.container,style],__source:{fileName:_jsxFileName,lineNumber:162}},React.createElement(_IconButton.default,{borderless:true,rippleColor:rippleColor,onPress:onIconPress,color:iconColor,icon:icon||function(_ref){var size=_ref.size,color=_ref.color;return React.createElement(_MaterialCommunityIcon.default,{name:\"magnify\",color:color,size:size,direction:_I18nManager.default.isRTL?'rtl':'ltr',__source:{fileName:_jsxFileName,lineNumber:177}});},__source:{fileName:_jsxFileName,lineNumber:169}}),React.createElement(_TextInput.default,(0,_extends2.default)({style:[styles.input,(0,_objectSpread2.default)({color:textColor},font),inputStyle],placeholder:placeholder||'',placeholderTextColor:colors.placeholder,selectionColor:colors.primary,underlineColorAndroid:\"transparent\",returnKeyType:\"search\",keyboardAppearance:dark?'dark':'light',accessibilityTraits:\"search\",accessibilityRole:\"search\",ref:function ref(c){_this2.root=c;},value:value},rest,{__source:{fileName:_jsxFileName,lineNumber:186}})),React.createElement(_IconButton.default,{borderless:true,disabled:!value,color:value?iconColor:'rgba(255, 255, 255, 0)',rippleColor:rippleColor,onPress:this.handleClearPress,icon:clearIcon||function(_ref2){var size=_ref2.size,color=_ref2.color;return React.createElement(_MaterialCommunityIcon.default,{name:\"close\",color:color,size:size,direction:_I18nManager.default.isRTL?'rtl':'ltr',__source:{fileName:_jsxFileName,lineNumber:211}});},accessibilityTraits:\"button\",accessibilityComponentType:\"button\",accessibilityRole:\"button\",__source:{fileName:_jsxFileName,lineNumber:202}}));}}]);return Searchbar;}(React.Component);var styles=_StyleSheet.default.create({container:{flexDirection:'row',alignItems:'center'},input:{flex:1,fontSize:18,paddingLeft:8,alignSelf:'stretch',textAlign:_I18nManager.default.isRTL?'right':'left',minWidth:0}});var _default=(0,_theming.withTheme)(Searchbar);exports.default=_default;","map":{"version":3,"sources":["Searchbar.tsx"],"names":["Searchbar","React","Component","handleClearPress","args","placeholder","onIconPress","icon","value","theme","style","customIconColor","clearIcon","inputStyle","rest","colors","roundness","dark","fonts","textColor","font","iconColor","color","rippleColor","borderRadius","elevation","styles","size","I18nManager","StyleSheet","container","flexDirection","alignItems","input","flex","fontSize","paddingLeft","alignSelf","textAlign","minWidth","withTheme"],"mappings":"4+BAAA,oD,oRAUA,oDACA,gEACA,0DACA,wCAGA,sF,oGAyEMA,GAAAA,CAAAA,S,8bACIG,gB,CAAmB,UAAM,CAC/B,KAAA,CAAA,KAAA,GACA,KAAA,CAAA,KAAA,CAAA,YAAA,EAA2B,KAAA,CAAA,KAAA,CAAA,YAAA,CAA3B,EAA2B,CAA3B,C,yGAOiBC,I,CAAc,CAC/B,MAAO,MAAA,IAAA,EAAa,KAAA,IAAA,CAAA,cAAA,CAApB,IAAoB,CAApB,C,8CAMU,CACV,MAAO,MAAA,IAAA,EAAa,KAAA,IAAA,CAApB,SAAoB,EAApB,C,sCAMM,CACN,MAAO,MAAA,IAAA,EAAa,KAAA,IAAA,CAApB,KAAoB,EAApB,C,sCAMM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,CAAGG,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,aAAa,CADJ,KAAA,CAETC,UAAU,CAHmB,QACpB,CADoB,CAK/BC,KAAK,CAAE,CACLC,IAAI,CADC,CAAA,CAELC,QAAQ,CAFH,EAAA,CAGLC,WAAW,CAHN,CAAA,CAILC,SAAS,CAJJ,SAAA,CAKLC,SAAS,CAAEV,qBAAAA,KAAAA,CAAAA,OAAAA,CALN,MAAA,CAMLW,QAAQ,CAXZ,CAKS,CALwB,CAAlBV,CAAf,C,aAeeW,uBAAf,SAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n StyleSheet,\n StyleProp,\n TextInput,\n I18nManager,\n ViewStyle,\n TextStyle,\n} from 'react-native';\n\nimport color from 'color';\nimport IconButton from './IconButton';\nimport Surface from './Surface';\nimport { withTheme } from '../core/theming';\nimport { Theme } from '../types';\nimport { IconSource } from './Icon';\nimport MaterialCommunityIcon from './MaterialCommunityIcon';\n\ntype Props = React.ComponentProps<typeof TextInput> & {\n /**\n * Hint text shown when the input is empty.\n */\n placeholder?: string;\n /**\n * The value of the text input.\n */\n value: string;\n /**\n * Icon name for the left icon button (see `onIconPress`).\n */\n icon?: IconSource;\n /**\n * Callback that is called when the text input's text changes.\n */\n onChangeText?: (query: string) => void;\n /**\n * Callback to execute if we want the left icon to act as button.\n */\n onIconPress?: () => void;\n /**\n * Set style of the TextInput component inside the searchbar\n */\n inputStyle?: StyleProp<TextStyle>;\n style?: StyleProp<ViewStyle>;\n\n /**\n * @optional\n */\n theme: Theme;\n /**\n * Custom color for icon, default will be derived from theme\n */\n iconColor?: string;\n /**\n * Custom icon for clear button, default will be icon close\n */\n clearIcon?: IconSource;\n};\n\n/**\n * Searchbar is a simple input box where users can type search queries.\n *\n * <div class=\"screenshots\">\n * <img class=\"medium\" src=\"screenshots/searchbar.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Searchbar } from 'react-native-paper';\n *\n * export default class MyComponent extends React.Component {\n * state = {\n * firstQuery: '',\n * };\n *\n * render() {\n * const { firstQuery } = this.state;\n * return (\n * <Searchbar\n * placeholder=\"Search\"\n * onChangeText={query => { this.setState({ firstQuery: query }); }}\n * value={firstQuery}\n * />\n * );\n * }\n * }\n * ```\n */\nclass Searchbar extends React.Component<Props> {\n private handleClearPress = () => {\n this.clear();\n this.props.onChangeText && this.props.onChangeText('');\n };\n\n private root: TextInput | undefined | null;\n\n /**\n * @internal\n */ setNativeProps(args: Object) {\n return this.root && this.root.setNativeProps(args);\n }\n\n /**\n * Returns `true` if the input is currently focused, `false` otherwise.\n */\n isFocused() {\n return this.root && this.root.isFocused();\n }\n\n /**\n * Removes all text from the TextInput.\n */\n clear() {\n return this.root && this.root.clear();\n }\n\n /**\n * Focuses the input.\n */\n focus() {\n return this.root && this.root.focus();\n }\n\n /**\n * Removes focus from the input.\n */\n blur() {\n return this.root && this.root.blur();\n }\n\n render() {\n const {\n placeholder,\n onIconPress,\n icon,\n value,\n theme,\n style,\n iconColor: customIconColor,\n clearIcon,\n inputStyle,\n ...rest\n } = this.props;\n const { colors, roundness, dark, fonts } = theme;\n const textColor = colors.text;\n const font = fonts.regular;\n const iconColor =\n customIconColor ||\n (dark\n ? textColor\n : color(textColor)\n .alpha(0.54)\n .rgb()\n .string());\n const rippleColor = color(textColor)\n .alpha(0.32)\n .rgb()\n .string();\n\n return (\n <Surface\n style={[\n { borderRadius: roundness, elevation: 4 },\n styles.container,\n style,\n ]}\n >\n <IconButton\n borderless\n rippleColor={rippleColor}\n onPress={onIconPress}\n color={iconColor}\n icon={\n icon ||\n (({ size, color }) => (\n <MaterialCommunityIcon\n name=\"magnify\"\n color={color}\n size={size}\n direction={I18nManager.isRTL ? 'rtl' : 'ltr'}\n />\n ))\n }\n />\n <TextInput\n style={[styles.input, { color: textColor, ...font }, inputStyle]}\n placeholder={placeholder || ''}\n placeholderTextColor={colors.placeholder}\n selectionColor={colors.primary}\n underlineColorAndroid=\"transparent\"\n returnKeyType=\"search\"\n keyboardAppearance={dark ? 'dark' : 'light'}\n accessibilityTraits=\"search\"\n accessibilityRole=\"search\"\n ref={c => {\n this.root = c;\n }}\n value={value}\n {...rest}\n />\n <IconButton\n borderless\n disabled={!value}\n color={value ? iconColor : 'rgba(255, 255, 255, 0)'}\n rippleColor={rippleColor}\n onPress={this.handleClearPress}\n icon={\n clearIcon ||\n (({ size, color }) => (\n <MaterialCommunityIcon\n name=\"close\"\n color={color}\n size={size}\n direction={I18nManager.isRTL ? 'rtl' : 'ltr'}\n />\n ))\n }\n accessibilityTraits=\"button\"\n accessibilityComponentType=\"button\"\n accessibilityRole=\"button\"\n />\n </Surface>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n alignItems: 'center',\n },\n input: {\n flex: 1,\n fontSize: 18,\n paddingLeft: 8,\n alignSelf: 'stretch',\n textAlign: I18nManager.isRTL ? 'right' : 'left',\n minWidth: 0,\n },\n});\n\nexport default withTheme(Searchbar);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createOrderedCSSStyleSheet;var slice=Array.prototype.slice;function createOrderedCSSStyleSheet(sheet){var groups={};var selectors={};if(sheet!=null){var group;slice.call(sheet.cssRules).forEach(function(cssRule,i){var cssText=cssRule.cssText;if(cssText.indexOf('stylesheet-group')>-1){group=decodeGroupRule(cssRule);groups[group]={start:i,rules:[cssText]};}else{var selectorText=getSelectorText(cssText);if(selectorText!=null){selectors[selectorText]=true;groups[group].rules.push(cssText);}}});}function sheetInsert(sheet,group,text){var orderedGroups=getOrderedGroups(groups);var groupIndex=orderedGroups.indexOf(group);var nextGroupIndex=groupIndex+1;var nextGroup=orderedGroups[nextGroupIndex];var position=nextGroup!=null&&groups[nextGroup].start!=null?groups[nextGroup].start:sheet.cssRules.length;var isInserted=insertRuleAt(sheet,text,position);if(isInserted){if(groups[group].start==null){groups[group].start=position;}for(var i=nextGroupIndex;i<orderedGroups.length;i+=1){var groupNumber=orderedGroups[i];var previousStart=groups[groupNumber].start;groups[groupNumber].start=previousStart+1;}}return isInserted;}var OrderedCSSStyleSheet={getTextContent:function getTextContent(){return getOrderedGroups(groups).map(function(group){var rules=groups[group].rules;return rules.join('\\n');}).join('\\n');},insert:function insert(cssText,groupValue){var group=Number(groupValue);if(groups[group]==null){var markerRule=encodeGroupRule(group);groups[group]={start:null,rules:[markerRule]};if(sheet!=null){sheetInsert(sheet,group,markerRule);}}var selectorText=getSelectorText(cssText);if(selectorText!=null&&selectors[selectorText]==null){selectors[selectorText]=true;groups[group].rules.push(cssText);if(sheet!=null){var isInserted=sheetInsert(sheet,group,cssText);if(!isInserted){groups[group].rules.pop();}}}}};return OrderedCSSStyleSheet;}function encodeGroupRule(group){return\"[stylesheet-group=\\\"\"+group+\"\\\"]{}\";}function decodeGroupRule(cssRule){return Number(cssRule.selectorText.split(/[\"']/)[1]);}function getOrderedGroups(obj){return Object.keys(obj).map(Number).sort(function(a,b){return a>b?1:-1;});}var pattern=/\\s*([,])\\s*/g;function getSelectorText(cssText){var selector=cssText.split('{')[0].trim();return selector!==''?selector.replace(pattern,'$1'):null;}function insertRuleAt(root,cssText,position){try{root.insertRule(cssText,position);return true;}catch(e){return false;}}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/createOrderedCSSStyleSheet.js"],"names":["slice","Array","prototype","createOrderedCSSStyleSheet","sheet","groups","selectors","group","call","cssRules","forEach","cssRule","i","cssText","indexOf","decodeGroupRule","start","rules","selectorText","getSelectorText","push","sheetInsert","text","orderedGroups","getOrderedGroups","groupIndex","nextGroupIndex","nextGroup","position","length","isInserted","insertRuleAt","groupNumber","previousStart","OrderedCSSStyleSheet","getTextContent","map","join","insert","groupValue","Number","markerRule","encodeGroupRule","pop","split","obj","Object","keys","sort","a","b","pattern","selector","trim","replace","root","insertRule","e"],"mappings":"oGAQA,GA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CAA2B,MAA3B,EAAmC,CAAnC,CAAD,CAAb,CACD,CAED,QAASpB,CAAAA,gBAAT,CAA0BqB,GAA1B,CAA+B,CAC7B,MAAOC,CAAAA,MAAM,CAACC,IAAP,CAAYF,GAAZ,EAAiBT,GAAjB,CAAqBI,MAArB,EAA6BQ,IAA7B,CAAkC,SAAUC,CAAV,CAAaC,CAAb,CAAgB,CACvD,MAAOD,CAAAA,CAAC,CAAGC,CAAJ,CAAQ,CAAR,CAAY,CAAC,CAApB,CACD,CAFM,CAAP,CAGD,CAED,GAAIC,CAAAA,OAAO,CAAG,cAAd,CAEA,QAAShC,CAAAA,eAAT,CAAyBN,OAAzB,CAAkC,CAChC,GAAIuC,CAAAA,QAAQ,CAAGvC,OAAO,CAAC+B,KAAR,CAAc,GAAd,EAAmB,CAAnB,EAAsBS,IAAtB,EAAf,CACA,MAAOD,CAAAA,QAAQ,GAAK,EAAb,CAAkBA,QAAQ,CAACE,OAAT,CAAiBH,OAAjB,CAA0B,IAA1B,CAAlB,CAAoD,IAA3D,CACD,CAED,QAASpB,CAAAA,YAAT,CAAsBwB,IAAtB,CAA4B1C,OAA5B,CAAqCe,QAArC,CAA+C,CAC7C,GAAI,CAEF2B,IAAI,CAACC,UAAL,CAAgB3C,OAAhB,CAAyBe,QAAzB,EACA,MAAO,KAAP,CACD,CAAC,MAAO6B,CAAP,CAAU,CAGV,MAAO,MAAP,CACD,CACF","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar slice = Array.prototype.slice;\n/**\n * Order-based insertion of CSS.\n *\n * Each rule is associated with a numerically defined group.\n * Groups are ordered within the style sheet according to their number, with the\n * lowest first.\n *\n * Groups are implemented using marker rules. The selector of the first rule of\n * each group is used only to encode the group number for hydration. An\n * alternative implementation could rely on CSSMediaRule, allowing groups to be\n * treated as a sub-sheet, but the Edge implementation of CSSMediaRule is\n * broken.\n * https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule\n * https://gist.github.com/necolas/aa0c37846ad6bd3b05b727b959e82674\n */\n\nexport default function createOrderedCSSStyleSheet(sheet) {\n var groups = {};\n var selectors = {};\n /**\n * Hydrate approximate record from any existing rules in the sheet.\n */\n\n if (sheet != null) {\n var group;\n slice.call(sheet.cssRules).forEach(function (cssRule, i) {\n var cssText = cssRule.cssText; // Create record of existing selectors and rules\n\n if (cssText.indexOf('stylesheet-group') > -1) {\n group = decodeGroupRule(cssRule);\n groups[group] = {\n start: i,\n rules: [cssText]\n };\n } else {\n var selectorText = getSelectorText(cssText);\n\n if (selectorText != null) {\n selectors[selectorText] = true;\n groups[group].rules.push(cssText);\n }\n }\n });\n }\n\n function sheetInsert(sheet, group, text) {\n var orderedGroups = getOrderedGroups(groups);\n var groupIndex = orderedGroups.indexOf(group);\n var nextGroupIndex = groupIndex + 1;\n var nextGroup = orderedGroups[nextGroupIndex]; // Insert rule before the next group, or at the end of the stylesheet\n\n var position = nextGroup != null && groups[nextGroup].start != null ? groups[nextGroup].start : sheet.cssRules.length;\n var isInserted = insertRuleAt(sheet, text, position);\n\n if (isInserted) {\n // Set the starting index of the new group\n if (groups[group].start == null) {\n groups[group].start = position;\n } // Increment the starting index of all subsequent groups\n\n\n for (var i = nextGroupIndex; i < orderedGroups.length; i += 1) {\n var groupNumber = orderedGroups[i];\n var previousStart = groups[groupNumber].start;\n groups[groupNumber].start = previousStart + 1;\n }\n }\n\n return isInserted;\n }\n\n var OrderedCSSStyleSheet = {\n /**\n * The textContent of the style sheet.\n */\n getTextContent: function getTextContent() {\n return getOrderedGroups(groups).map(function (group) {\n var rules = groups[group].rules;\n return rules.join('\\n');\n }).join('\\n');\n },\n\n /**\n * Insert a rule into the style sheet\n */\n insert: function insert(cssText, groupValue) {\n var group = Number(groupValue); // Create a new group.\n\n if (groups[group] == null) {\n var markerRule = encodeGroupRule(group); // Create the internal record.\n\n groups[group] = {\n start: null,\n rules: [markerRule]\n }; // Update CSSOM.\n\n if (sheet != null) {\n sheetInsert(sheet, group, markerRule);\n }\n } // selectorText is more reliable than cssText for insertion checks. The\n // browser excludes vendor-prefixed properties and rewrites certain values\n // making cssText more likely to be different from what was inserted.\n\n\n var selectorText = getSelectorText(cssText);\n\n if (selectorText != null && selectors[selectorText] == null) {\n // Update the internal records.\n selectors[selectorText] = true;\n groups[group].rules.push(cssText); // Update CSSOM.\n\n if (sheet != null) {\n var isInserted = sheetInsert(sheet, group, cssText);\n\n if (!isInserted) {\n // Revert internal record change if a rule was rejected (e.g.,\n // unrecognized pseudo-selector)\n groups[group].rules.pop();\n }\n }\n }\n }\n };\n return OrderedCSSStyleSheet;\n}\n/**\n * Helper functions\n */\n\nfunction encodeGroupRule(group) {\n return \"[stylesheet-group=\\\"\" + group + \"\\\"]{}\";\n}\n\nfunction decodeGroupRule(cssRule) {\n return Number(cssRule.selectorText.split(/[\"']/)[1]);\n}\n\nfunction getOrderedGroups(obj) {\n return Object.keys(obj).map(Number).sort(function (a, b) {\n return a > b ? 1 : -1;\n });\n}\n\nvar pattern = /\\s*([,])\\s*/g;\n\nfunction getSelectorText(cssText) {\n var selector = cssText.split('{')[0].trim();\n return selector !== '' ? selector.replace(pattern, '$1') : null;\n}\n\nfunction insertRuleAt(root, cssText, position) {\n try {\n // $FlowFixMe: Flow is missing CSSOM types needed to type 'root'.\n root.insertRule(cssText, position);\n return true;\n } catch (e) {\n // JSDOM doesn't support `CSSSMediaRule#insertRule`.\n // Also ignore errors that occur from attempting to insert vendor-prefixed selectors.\n return false;\n }\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.Pattern=exports.Marker=exports.Mask=exports.Use=exports.TextPath=exports.TSpan=exports.Text=exports.Symbol=exports.Svg=exports.Stop=exports.Rect=exports.RadialGradient=exports.Polyline=exports.Polygon=exports.Path=exports.LinearGradient=exports.Line=exports.Image=exports.G=exports.Ellipse=exports.Defs=exports.ClipPath=exports.Circle=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _createElement=_interopRequireDefault(require(\"react-native-web/dist/exports/createElement\"));var _resolve=require(\"./lib/resolve\");var _react=require(\"react\");function prepare(props){var translate=props.translate,scale=props.scale,rotation=props.rotation,skewX=props.skewX,skewY=props.skewY,originX=props.originX,originY=props.originY,fontFamily=props.fontFamily,fontSize=props.fontSize,fontWeight=props.fontWeight,fontStyle=props.fontStyle,style=props.style,forwardedRef=props.forwardedRef,clean=(0,_objectWithoutProperties2.default)(props,[\"translate\",\"scale\",\"rotation\",\"skewX\",\"skewY\",\"originX\",\"originY\",\"fontFamily\",\"fontSize\",\"fontWeight\",\"fontStyle\",\"style\",\"forwardedRef\"]);var transform=[];if(originX!=null||originY!=null){transform.push(\"translate(\"+(originX||0)+\", \"+(originY||0)+\")\");}if(translate!=null){transform.push(\"translate(\"+translate+\")\");}if(scale!=null){transform.push(\"scale(\"+scale+\")\");}if(rotation!=null){transform.push(\"rotate(\"+rotation+\")\");}if(skewX!=null){transform.push(\"skewX(\"+skewX+\")\");}if(skewY!=null){transform.push(\"skewY(\"+skewY+\")\");}if(originX!=null||originY!=null){transform.push(\"translate(\"+(-originX||0)+\", \"+(-originY||0)+\")\");}if(transform.length){clean.transform=transform.join(' ');}if(forwardedRef){clean.ref=forwardedRef;}var styles={};if(fontFamily!=null){styles.fontFamily=fontFamily;}if(fontSize!=null){styles.fontSize=fontSize;}if(fontWeight!=null){styles.fontWeight=fontWeight;}if(fontStyle!=null){styles.fontStyle=fontStyle;}clean.style=(0,_resolve.resolve)(style,styles);return clean;}var Circle=function(_Component){(0,_inherits2.default)(Circle,_Component);function Circle(){(0,_classCallCheck2.default)(this,Circle);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Circle).apply(this,arguments));}(0,_createClass2.default)(Circle,[{key:\"render\",value:function render(){return(0,_createElement.default)('circle',prepare(this.props));}}]);return Circle;}(_react.Component);exports.Circle=Circle;var ClipPath=function(_Component2){(0,_inherits2.default)(ClipPath,_Component2);function ClipPath(){(0,_classCallCheck2.default)(this,ClipPath);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ClipPath).apply(this,arguments));}(0,_createClass2.default)(ClipPath,[{key:\"render\",value:function render(){return(0,_createElement.default)('clipPath',prepare(this.props));}}]);return ClipPath;}(_react.Component);exports.ClipPath=ClipPath;var Defs=function(_Component3){(0,_inherits2.default)(Defs,_Component3);function Defs(){(0,_classCallCheck2.default)(this,Defs);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Defs).apply(this,arguments));}(0,_createClass2.default)(Defs,[{key:\"render\",value:function render(){return(0,_createElement.default)('defs',prepare(this.props));}}]);return Defs;}(_react.Component);exports.Defs=Defs;var Ellipse=function(_Component4){(0,_inherits2.default)(Ellipse,_Component4);function Ellipse(){(0,_classCallCheck2.default)(this,Ellipse);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Ellipse).apply(this,arguments));}(0,_createClass2.default)(Ellipse,[{key:\"render\",value:function render(){return(0,_createElement.default)('ellipse',prepare(this.props));}}]);return Ellipse;}(_react.Component);exports.Ellipse=Ellipse;var G=function(_Component5){(0,_inherits2.default)(G,_Component5);function G(){(0,_classCallCheck2.default)(this,G);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(G).apply(this,arguments));}(0,_createClass2.default)(G,[{key:\"render\",value:function render(){var _this$props=this.props,x=_this$props.x,y=_this$props.y,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"x\",\"y\"]);if((x||y)&&!rest.translate){rest.translate=(x||0)+\", \"+(y||0);}return(0,_createElement.default)('g',prepare(rest));}}]);return G;}(_react.Component);exports.G=G;var Image=function(_Component6){(0,_inherits2.default)(Image,_Component6);function Image(){(0,_classCallCheck2.default)(this,Image);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Image).apply(this,arguments));}(0,_createClass2.default)(Image,[{key:\"render\",value:function render(){return(0,_createElement.default)('image',prepare(this.props));}}]);return Image;}(_react.Component);exports.Image=Image;var Line=function(_Component7){(0,_inherits2.default)(Line,_Component7);function Line(){(0,_classCallCheck2.default)(this,Line);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Line).apply(this,arguments));}(0,_createClass2.default)(Line,[{key:\"render\",value:function render(){return(0,_createElement.default)('line',prepare(this.props));}}]);return Line;}(_react.Component);exports.Line=Line;var LinearGradient=function(_Component8){(0,_inherits2.default)(LinearGradient,_Component8);function LinearGradient(){(0,_classCallCheck2.default)(this,LinearGradient);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(LinearGradient).apply(this,arguments));}(0,_createClass2.default)(LinearGradient,[{key:\"render\",value:function render(){return(0,_createElement.default)('linearGradient',prepare(this.props));}}]);return LinearGradient;}(_react.Component);exports.LinearGradient=LinearGradient;var Path=function(_Component9){(0,_inherits2.default)(Path,_Component9);function Path(){(0,_classCallCheck2.default)(this,Path);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Path).apply(this,arguments));}(0,_createClass2.default)(Path,[{key:\"render\",value:function render(){return(0,_createElement.default)('path',prepare(this.props));}}]);return Path;}(_react.Component);exports.Path=Path;var Polygon=function(_Component10){(0,_inherits2.default)(Polygon,_Component10);function Polygon(){(0,_classCallCheck2.default)(this,Polygon);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Polygon).apply(this,arguments));}(0,_createClass2.default)(Polygon,[{key:\"render\",value:function render(){return(0,_createElement.default)('polygon',prepare(this.props));}}]);return Polygon;}(_react.Component);exports.Polygon=Polygon;var Polyline=function(_Component11){(0,_inherits2.default)(Polyline,_Component11);function Polyline(){(0,_classCallCheck2.default)(this,Polyline);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Polyline).apply(this,arguments));}(0,_createClass2.default)(Polyline,[{key:\"render\",value:function render(){return(0,_createElement.default)('polyline',prepare(this.props));}}]);return Polyline;}(_react.Component);exports.Polyline=Polyline;var RadialGradient=function(_Component12){(0,_inherits2.default)(RadialGradient,_Component12);function RadialGradient(){(0,_classCallCheck2.default)(this,RadialGradient);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(RadialGradient).apply(this,arguments));}(0,_createClass2.default)(RadialGradient,[{key:\"render\",value:function render(){return(0,_createElement.default)('radialGradient',prepare(this.props));}}]);return RadialGradient;}(_react.Component);exports.RadialGradient=RadialGradient;var Rect=function(_Component13){(0,_inherits2.default)(Rect,_Component13);function Rect(){(0,_classCallCheck2.default)(this,Rect);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Rect).apply(this,arguments));}(0,_createClass2.default)(Rect,[{key:\"render\",value:function render(){return(0,_createElement.default)('rect',prepare(this.props));}}]);return Rect;}(_react.Component);exports.Rect=Rect;var Stop=function(_Component14){(0,_inherits2.default)(Stop,_Component14);function Stop(){(0,_classCallCheck2.default)(this,Stop);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Stop).apply(this,arguments));}(0,_createClass2.default)(Stop,[{key:\"render\",value:function render(){return(0,_createElement.default)('stop',prepare(this.props));}}]);return Stop;}(_react.Component);exports.Stop=Stop;var Svg=function(_Component15){(0,_inherits2.default)(Svg,_Component15);function Svg(){(0,_classCallCheck2.default)(this,Svg);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Svg).apply(this,arguments));}(0,_createClass2.default)(Svg,[{key:\"render\",value:function render(){return(0,_createElement.default)('svg',prepare(this.props));}}]);return Svg;}(_react.Component);exports.Svg=Svg;var Symbol=function(_Component16){(0,_inherits2.default)(Symbol,_Component16);function Symbol(){(0,_classCallCheck2.default)(this,Symbol);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Symbol).apply(this,arguments));}(0,_createClass2.default)(Symbol,[{key:\"render\",value:function render(){return(0,_createElement.default)('symbol',prepare(this.props));}}]);return Symbol;}(_react.Component);exports.Symbol=Symbol;var Text=function(_Component17){(0,_inherits2.default)(Text,_Component17);function Text(){(0,_classCallCheck2.default)(this,Text);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Text).apply(this,arguments));}(0,_createClass2.default)(Text,[{key:\"render\",value:function render(){return(0,_createElement.default)('text',prepare(this.props));}}]);return Text;}(_react.Component);exports.Text=Text;var TSpan=function(_Component18){(0,_inherits2.default)(TSpan,_Component18);function TSpan(){(0,_classCallCheck2.default)(this,TSpan);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TSpan).apply(this,arguments));}(0,_createClass2.default)(TSpan,[{key:\"render\",value:function render(){return(0,_createElement.default)('tspan',prepare(this.props));}}]);return TSpan;}(_react.Component);exports.TSpan=TSpan;var TextPath=function(_Component19){(0,_inherits2.default)(TextPath,_Component19);function TextPath(){(0,_classCallCheck2.default)(this,TextPath);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TextPath).apply(this,arguments));}(0,_createClass2.default)(TextPath,[{key:\"render\",value:function render(){return(0,_createElement.default)('textPath',prepare(this.props));}}]);return TextPath;}(_react.Component);exports.TextPath=TextPath;var Use=function(_Component20){(0,_inherits2.default)(Use,_Component20);function Use(){(0,_classCallCheck2.default)(this,Use);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Use).apply(this,arguments));}(0,_createClass2.default)(Use,[{key:\"render\",value:function render(){return(0,_createElement.default)('use',prepare(this.props));}}]);return Use;}(_react.Component);exports.Use=Use;var Mask=function(_Component21){(0,_inherits2.default)(Mask,_Component21);function Mask(){(0,_classCallCheck2.default)(this,Mask);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Mask).apply(this,arguments));}(0,_createClass2.default)(Mask,[{key:\"render\",value:function render(){return(0,_createElement.default)('mask',prepare(this.props));}}]);return Mask;}(_react.Component);exports.Mask=Mask;var Marker=function(_Component22){(0,_inherits2.default)(Marker,_Component22);function Marker(){(0,_classCallCheck2.default)(this,Marker);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Marker).apply(this,arguments));}(0,_createClass2.default)(Marker,[{key:\"render\",value:function render(){return(0,_createElement.default)('marker',prepare(this.props));}}]);return Marker;}(_react.Component);exports.Marker=Marker;var Pattern=function(_Component23){(0,_inherits2.default)(Pattern,_Component23);function Pattern(){(0,_classCallCheck2.default)(this,Pattern);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Pattern).apply(this,arguments));}(0,_createClass2.default)(Pattern,[{key:\"render\",value:function render(){return(0,_createElement.default)('pattern',prepare(this.props));}}]);return Pattern;}(_react.Component);exports.Pattern=Pattern;var _default=Svg;exports.default=_default;","map":{"version":3,"sources":["ReactNativeSVG.web.ts"],"names":["translate","scale","rotation","skewX","skewY","originX","originY","fontFamily","fontSize","fontWeight","fontStyle","style","forwardedRef","clean","props","transform","styles","resolve","Circle","createElement","prepare","ClipPath","Defs","Ellipse","G","x","y","rest","Image","Line","LinearGradient","Path","Polygon","Polyline","RadialGradient","Rect","Stop","Svg","Symbol","Text","TSpan","TextPath","Use","Mask","Marker","Pattern"],"mappings":"o9BAAA,gH,kGACA,sCACA,4BAWA,QAAA,CAAA,OAAA,CAAA,KAAA,CAAwB,CAAA,GAEpBA,CAAAA,SAFoB,CAgBlBc,KAhBkB,CAAA,SAA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MA,GAAa0B,CAAAA,OAAb,CAAA,SAAA,YAAA,CAAA,CAAA,uBAAA,OAAA,CAAA,YAAA,EAAA,QAAA,CAAA,OAAA,EAAA,CAAA,6BAAA,IAAA,CAAA,OAAA,EAAA,MAAA,wCAAA,IAAA,CAAA,6BAAA,OAAA,EAAA,KAAA,CAAA,IAAA,CAAA,SAAA,CAAA,CAAA,CAAA,2BAAA,OAAA,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,KAAA,CAAA,QAAA,CAAA,MAAA,EACW,CACP,MAAO1B,2BAAa,SAAbA,CAAyBC,OAAO,CAAC,KAAxC,KAAuC,CAAhCD,CAAP,CAFJ,CAAA,CAAA,CAAA,EAAA,MAAA,CAAA,OAAA,CAAA,CAAA,CAAA,gBAAA,CAAA,C,qCAMA,G","sourcesContent":["import { createElement } from 'react-native-web';\nimport { resolve } from './lib/resolve';\nimport { Component } from 'react';\nimport { NumberProp } from './lib/extract/types';\n\n/**\n * `react-native-svg` supports additional props that aren't defined in the spec.\n * This function replaces them in a spec conforming manner.\n *\n * @param {Object} props Properties given to us.\n * @returns {Object} Cleaned object.\n * @private\n */\nfunction prepare(props) {\n const {\n translate,\n scale,\n rotation,\n skewX,\n skewY,\n originX,\n originY,\n fontFamily,\n fontSize,\n fontWeight,\n fontStyle,\n style,\n forwardedRef,\n ...clean\n } = props;\n\n const transform = [];\n\n if (originX != null || originY != null) {\n transform.push(`translate(${originX || 0}, ${originY || 0})`);\n }\n if (translate != null) {\n transform.push(`translate(${translate})`);\n }\n if (scale != null) {\n transform.push(`scale(${scale})`);\n }\n // rotation maps to rotate, not to collide with the text rotate attribute (which acts per glyph rather than block)\n if (rotation != null) {\n transform.push(`rotate(${rotation})`);\n }\n if (skewX != null) {\n transform.push(`skewX(${skewX})`);\n }\n if (skewY != null) {\n transform.push(`skewY(${skewY})`);\n }\n if (originX != null || originY != null) {\n transform.push(`translate(${-originX || 0}, ${-originY || 0})`);\n }\n\n if (transform.length) {\n clean.transform = transform.join(' ');\n }\n\n if (forwardedRef) {\n clean.ref = forwardedRef;\n }\n\n const styles: {\n fontStyle?: string;\n fontFamily?: string;\n fontSize?: NumberProp;\n fontWeight?: NumberProp;\n } = {};\n\n if (fontFamily != null) {\n styles.fontFamily = fontFamily;\n }\n if (fontSize != null) {\n styles.fontSize = fontSize;\n }\n if (fontWeight != null) {\n styles.fontWeight = fontWeight;\n }\n if (fontStyle != null) {\n styles.fontStyle = fontStyle;\n }\n\n clean.style = resolve(style, styles);\n\n return clean;\n}\n\nexport class Circle extends Component {\n render() {\n return createElement('circle', prepare(this.props));\n }\n}\n\nexport class ClipPath extends Component {\n render() {\n return createElement('clipPath', prepare(this.props));\n }\n}\n\nexport class Defs extends Component {\n render() {\n return createElement('defs', prepare(this.props));\n }\n}\n\nexport class Ellipse extends Component {\n render() {\n return createElement('ellipse', prepare(this.props));\n }\n}\n\nexport class G extends Component<{\n x?: NumberProp;\n y?: NumberProp;\n translate?: string;\n}> {\n render() {\n const { x, y, ...rest } = this.props;\n\n if ((x || y) && !rest.translate) {\n rest.translate = `${x || 0}, ${y || 0}`;\n }\n\n return createElement('g', prepare(rest));\n }\n}\n\nexport class Image extends Component {\n render() {\n return createElement('image', prepare(this.props));\n }\n}\n\nexport class Line extends Component {\n render() {\n return createElement('line', prepare(this.props));\n }\n}\n\nexport class LinearGradient extends Component {\n render() {\n return createElement('linearGradient', prepare(this.props));\n }\n}\n\nexport class Path extends Component {\n render() {\n return createElement('path', prepare(this.props));\n }\n}\n\nexport class Polygon extends Component {\n render() {\n return createElement('polygon', prepare(this.props));\n }\n}\n\nexport class Polyline extends Component {\n render() {\n return createElement('polyline', prepare(this.props));\n }\n}\n\nexport class RadialGradient extends Component {\n render() {\n return createElement('radialGradient', prepare(this.props));\n }\n}\n\nexport class Rect extends Component {\n render() {\n return createElement('rect', prepare(this.props));\n }\n}\n\nexport class Stop extends Component {\n render() {\n return createElement('stop', prepare(this.props));\n }\n}\n\nexport class Svg extends Component {\n render() {\n return createElement('svg', prepare(this.props));\n }\n}\n\nexport class Symbol extends Component {\n render() {\n return createElement('symbol', prepare(this.props));\n }\n}\n\nexport class Text extends Component {\n render() {\n return createElement('text', prepare(this.props));\n }\n}\n\nexport class TSpan extends Component {\n render() {\n return createElement('tspan', prepare(this.props));\n }\n}\n\nexport class TextPath extends Component {\n render() {\n return createElement('textPath', prepare(this.props));\n }\n}\n\nexport class Use extends Component {\n render() {\n return createElement('use', prepare(this.props));\n }\n}\n\nexport class Mask extends Component {\n render() {\n return createElement('mask', prepare(this.props));\n }\n}\n\nexport class Marker extends Component {\n render() {\n return createElement('marker', prepare(this.props));\n }\n}\n\nexport class Pattern extends Component {\n render() {\n return createElement('pattern', prepare(this.props));\n }\n}\n\nexport default Svg;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.useScreens=useScreens;exports.screensEnabled=screensEnabled;exports.NativeScreenContainer=exports.NativeScreen=exports.ScreenContainer=exports.Screen=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _debounce=_interopRequireDefault(require(\"debounce\"));var _react=_interopRequireDefault(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _shouldUseScreens=true;function useScreens(){var shouldUseScreens=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;if(shouldUseScreens){console.warn('react-native-screens is not fully supported on this platform yet.');}_shouldUseScreens=shouldUseScreens;}function screensEnabled(){return _shouldUseScreens;}function isAnimatedValue(value){return value&&value.__getValue&&value.addListener;}function isPropTruthy(prop){var activeValue=prop;if(isAnimatedValue(prop)){activeValue=prop.__getValue();}return!!activeValue;}var Screen=function(_React$Component){(0,_inherits2.default)(Screen,_React$Component);function Screen(props){var _this;(0,_classCallCheck2.default)(this,Screen);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Screen).call(this,props));_this.listenerId=null;_this._addListener=function(possibleListener){if(_this.listenerId)throw new Error('Screen: Attempting to observe an animated value while another value is already observed.');if(isAnimatedValue(possibleListener)){_this.listenerId=possibleListener.addListener(_this._onAnimatedValueUpdated);}};_this._removeListener=function(possibleListener){if(isAnimatedValue(possibleListener)){possibleListener.removeListener(_this.listenerId);_this.listenerId=null;}};_this._onAnimatedValueUpdated=function(_ref){var value=_ref.value;_this._updateDisplay(!!value);};_this._updateDisplay=function(isActive){if(isActive===undefined){isActive=isPropTruthy(_this.props.active);}var display=isActive?'flex':'none';_this.setNativeProps({style:{display:display}});};_this.setNativeProps=function(nativeProps){if(_this._view){_this._view.setNativeProps(nativeProps);}};_this._setRef=function(view){_this._view=view;_this._updateDisplay();};_this._onAnimatedValueUpdated=(0,_debounce.default)(_this._onAnimatedValueUpdated,10);_this._addListener(props.active);return _this;}(0,_createClass2.default)(Screen,[{key:\"componentWillUnmount\",value:function componentWillUnmount(){this._removeListener(this.props.active);}},{key:\"shouldComponentUpdate\",value:function shouldComponentUpdate(_ref2){var nextActive=_ref2.active;var active=this.props.active;if(nextActive!==active){this._removeListener(active);this._addListener(nextActive);this._updateDisplay(isPropTruthy(nextActive));return false;}return true;}},{key:\"render\",value:function render(){return _react.default.createElement(_Animated.default.View,(0,_extends2.default)({},this.props,{ref:this._setRef}));}}]);return Screen;}(_react.default.Component);exports.Screen=Screen;Screen.defaultProps={active:true};var ScreenContainer=_View.default;exports.ScreenContainer=ScreenContainer;var NativeScreen=_View.default;exports.NativeScreen=NativeScreen;var NativeScreenContainer=_View.default;exports.NativeScreenContainer=NativeScreenContainer;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-screens/src/screens.web.js"],"names":["_shouldUseScreens","useScreens","shouldUseScreens","console","warn","screensEnabled","isAnimatedValue","value","__getValue","addListener","isPropTruthy","prop","activeValue","Screen","props","listenerId","_addListener","possibleListener","Error","_onAnimatedValueUpdated","_removeListener","removeListener","_updateDisplay","isActive","undefined","active","display","setNativeProps","style","nativeProps","_view","_setRef","view","nextActive","React","Component","defaultProps","ScreenContainer","View","NativeScreen","NativeScreenContainer"],"mappings":"21BAAA,0DACA,oD,wKAGA,GAAIA,CAAAA,iBAAiB,CAAG,IAAxB,CAEO,QAASC,CAAAA,UAAT,EAA6C,IAAzBC,CAAAA,gBAAyB,2DAAN,IAAM,CAClD,GAAIA,gBAAJ,CAAsB,CACpBC,OAAO,CAACC,IAAR,CACE,mEADF,EAGD,CACDJ,iBAAiB,CAAGE,gBAApB,CACD,CAEM,QAASG,CAAAA,cAAT,EAA0B,CAC/B,MAAOL,CAAAA,iBAAP,CACD,CAED,QAASM,CAAAA,eAAT,CAAyBC,KAAzB,CAAgC,CAC9B,MAAOA,CAAAA,KAAK,EAAIA,KAAK,CAACC,UAAf,EAA6BD,KAAK,CAACE,WAA1C,CACD,CAED,QAASC,CAAAA,YAAT,CAAsBC,IAAtB,CAA4B,CAC1B,GAAIC,CAAAA,WAAW,CAAGD,IAAlB,CACA,GAAIL,eAAe,CAACK,IAAD,CAAnB,CAA2B,CACzBC,WAAW,CAAGD,IAAI,CAACH,UAAL,EAAd,CACD,CAED,MAAO,CAAC,CAACI,WAAT,CACD,C,GAEYC,CAAAA,M,4EAOX,gBAAYC,KAAZ,CAAmB,qDACjB,kGAAMA,KAAN,GADiB,MAFnBC,UAEmB,CAFN,IAEM,OAWnBC,YAXmB,CAWJ,SAAAC,gBA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,MAAxB,EAJiB,aAKlB,C,mGAEsB,CACrB,KAAKL,eAAL,CAAqB,KAAKN,KAAL,CAAWW,MAAhC,EACD,C,0EAqB6C,IAAdQ,CAAAA,UAAc,OAAtBR,MAAsB,IACpCA,CAAAA,MADoC,CACzB,KAAKX,KADoB,CACpCW,MADoC,CAE5C,GAAIQ,UAAU,GAAKR,MAAnB,CAA2B,CACzB,KAAKL,eAAL,CAAqBK,MAArB,EACA,KAAKT,YAAL,CAAkBiB,UAAlB,EACA,KAAKX,cAAL,CAAoBZ,YAAY,CAACuB,UAAD,CAAhC,EACA,MAAO,MAAP,CACD,CACD,MAAO,KAAP,CACD,C,uCAyBQ,CACP,MAAO,8BAAC,iBAAD,CAAU,IAAV,0BAAmB,KAAKnB,KAAxB,EAA+B,GAAG,CAAE,KAAKiB,OAAzC,GAAP,CACD,C,oBAzEyBG,eAAMC,S,wBAArBtB,M,CACJuB,Y,CAAe,CACpBX,MAAM,CAAE,IADY,C,CA2EjB,GAAMY,CAAAA,eAAe,CAAGC,aAAxB,C,wCAEA,GAAMC,CAAAA,YAAY,CAAGD,aAArB,C,kCAEA,GAAME,CAAAA,qBAAqB,CAAGF,aAA9B,C","sourcesContent":["import debounce from 'debounce';\nimport React from 'react';\nimport { Animated, View } from 'react-native';\n\nlet _shouldUseScreens = true;\n\nexport function useScreens(shouldUseScreens = true) {\n if (shouldUseScreens) {\n console.warn(\n 'react-native-screens is not fully supported on this platform yet.'\n );\n }\n _shouldUseScreens = shouldUseScreens;\n}\n\nexport function screensEnabled() {\n return _shouldUseScreens;\n}\n\nfunction isAnimatedValue(value) {\n return value && value.__getValue && value.addListener;\n}\n\nfunction isPropTruthy(prop) {\n let activeValue = prop;\n if (isAnimatedValue(prop)) {\n activeValue = prop.__getValue();\n }\n\n return !!activeValue;\n}\n\nexport class Screen extends React.Component {\n static defaultProps = {\n active: true,\n };\n\n listenerId = null;\n\n constructor(props) {\n super(props);\n\n this._onAnimatedValueUpdated = debounce(this._onAnimatedValueUpdated, 10);\n this._addListener(props.active);\n }\n\n componentWillUnmount() {\n this._removeListener(this.props.active);\n }\n\n _addListener = possibleListener => {\n if (this.listenerId)\n throw new Error(\n 'Screen: Attempting to observe an animated value while another value is already observed.'\n );\n if (isAnimatedValue(possibleListener)) {\n this.listenerId = possibleListener.addListener(\n this._onAnimatedValueUpdated\n );\n }\n };\n\n _removeListener = possibleListener => {\n if (isAnimatedValue(possibleListener)) {\n possibleListener.removeListener(this.listenerId);\n this.listenerId = null;\n }\n };\n\n shouldComponentUpdate({ active: nextActive }) {\n const { active } = this.props;\n if (nextActive !== active) {\n this._removeListener(active);\n this._addListener(nextActive);\n this._updateDisplay(isPropTruthy(nextActive));\n return false;\n }\n return true;\n }\n\n _onAnimatedValueUpdated = ({ value }) => {\n this._updateDisplay(!!value);\n };\n\n _updateDisplay = isActive => {\n if (isActive === undefined) {\n isActive = isPropTruthy(this.props.active);\n }\n const display = isActive ? 'flex' : 'none';\n this.setNativeProps({ style: { display } });\n };\n\n setNativeProps = nativeProps => {\n if (this._view) {\n this._view.setNativeProps(nativeProps);\n }\n };\n\n _setRef = view => {\n this._view = view;\n this._updateDisplay();\n };\n\n render() {\n return <Animated.View {...this.props} ref={this._setRef} />;\n }\n}\n\nexport const ScreenContainer = View;\n\nexport const NativeScreen = View;\n\nexport const NativeScreenContainer = View;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createStrictShapeTypeChecker=_interopRequireDefault(require(\"../createStrictShapeTypeChecker\"));var _StyleSheet=_interopRequireDefault(require(\"../../exports/StyleSheet\"));function StyleSheetPropType(shape){var shapePropType=(0,_createStrictShapeTypeChecker.default)(shape);return function(props,propName,componentName,location){var newProps=props;if(props[propName]){newProps={};var flatStyle=_StyleSheet.default.flatten(props[propName]);var nextStyle=Object.keys(flatStyle).reduce(function(acc,curr){if(curr.indexOf('--')!==0){acc[curr]=flatStyle[curr];}return acc;},{});newProps[propName]=nextStyle;}for(var _len=arguments.length,rest=new Array(_len>4?_len-4:0),_key=4;_key<_len;_key++){rest[_key-4]=arguments[_key];}return shapePropType.apply(void 0,[newProps,propName,componentName,location].concat(rest));};}var _default=StyleSheetPropType;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/StyleSheetPropType/index.js"],"names":["StyleSheetPropType","shape","shapePropType","props","propName","componentName","location","newProps","flatStyle","StyleSheet","flatten","nextStyle","Object","keys","reduce","acc","curr","indexOf","_len","arguments","length","rest","Array","_key","apply","concat"],"mappings":"mKASA,qGACA,4EAEA,QAASA,CAAAA,kBAAT,CAA4BC,KAA5B,CAAmC,CACjC,GAAIC,CAAAA,aAAa,CAAG,0CAA6BD,KAA7B,CAApB,CACA,MAAO,UAAUE,KAAV,CAAiBC,QAAjB,CAA2BC,aAA3B,CAA0CC,QAA1C,CAAoD,CACzD,GAAIC,CAAAA,QAAQ,CAAGJ,KAAf,CAEA,GAAIA,KAAK,CAACC,QAAD,CAAT,CAAqB,CAEnBG,QAAQ,CAAG,EAAX,CACA,GAAIC,CAAAA,SAAS,CAAGC,oBAAWC,OAAX,CAAmBP,KAAK,CAACC,QAAD,CAAxB,CAAhB,CAEA,GAAIO,CAAAA,SAAS,CAAGC,MAAM,CAACC,IAAP,CAAYL,SAAZ,EAAuBM,MAAvB,CAA8B,SAAUC,GAAV,CAAeC,IAAf,CAAqB,CACjE,GAAIA,IAAI,CAACC,OAAL,CAAa,IAAb,IAAuB,CAA3B,CAA8B,CAC5BF,GAAG,CAACC,IAAD,CAAH,CAAYR,SAAS,CAACQ,IAAD,CAArB,CACD,CAED,MAAOD,CAAAA,GAAP,CACD,CANe,CAMb,EANa,CAAhB,CAOAR,QAAQ,CAACH,QAAD,CAAR,CAAqBO,SAArB,CACD,CAED,IAAK,GAAIO,CAAAA,IAAI,CAAGC,SAAS,CAACC,MAArB,CAA6BC,IAAI,CAAG,GAAIC,CAAAA,KAAJ,CAAUJ,IAAI,CAAG,CAAP,CAAWA,IAAI,CAAG,CAAlB,CAAsB,CAAhC,CAApC,CAAwEK,IAAI,CAAG,CAApF,CAAuFA,IAAI,CAAGL,IAA9F,CAAoGK,IAAI,EAAxG,CAA4G,CAC1GF,IAAI,CAACE,IAAI,CAAG,CAAR,CAAJ,CAAiBJ,SAAS,CAACI,IAAD,CAA1B,CACD,CAED,MAAOrB,CAAAA,aAAa,CAACsB,KAAd,CAAoB,IAAK,EAAzB,CAA4B,CAACjB,QAAD,CAAWH,QAAX,CAAqBC,aAArB,CAAoCC,QAApC,EAA8CmB,MAA9C,CAAqDJ,IAArD,CAA5B,CAAP,CACD,CAvBD,CAwBD,C,aAEcrB,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createStrictShapeTypeChecker from '../createStrictShapeTypeChecker';\nimport StyleSheet from '../../exports/StyleSheet';\n\nfunction StyleSheetPropType(shape) {\n var shapePropType = createStrictShapeTypeChecker(shape);\n return function (props, propName, componentName, location) {\n var newProps = props;\n\n if (props[propName]) {\n // Just make a dummy prop object with only the flattened style\n newProps = {};\n var flatStyle = StyleSheet.flatten(props[propName]); // Remove custom properties from check\n\n var nextStyle = Object.keys(flatStyle).reduce(function (acc, curr) {\n if (curr.indexOf('--') !== 0) {\n acc[curr] = flatStyle[curr];\n }\n\n return acc;\n }, {});\n newProps[propName] = nextStyle;\n }\n\n for (var _len = arguments.length, rest = new Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) {\n rest[_key - 4] = arguments[_key];\n }\n\n return shapePropType.apply(void 0, [newProps, propName, componentName, location].concat(rest));\n };\n}\n\nexport default StyleSheetPropType;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AccessibilityUtil=_interopRequireDefault(require(\"../../modules/AccessibilityUtil\"));var _createDOMProps=_interopRequireDefault(require(\"../../modules/createDOMProps\"));var _unstableNativeDependencies=require(\"react-dom/unstable-native-dependencies\");var _normalizeNativeEvent=_interopRequireDefault(require(\"../../modules/normalizeNativeEvent\"));var _react=_interopRequireDefault(require(\"react\"));var _ResponderEventPlugin=_interopRequireDefault(require(\"../../modules/ResponderEventPlugin\"));(0,_unstableNativeDependencies.injectEventPluginsByName)({ResponderEventPlugin:_ResponderEventPlugin.default});var isModifiedEvent=function isModifiedEvent(event){return!!(event.metaKey||event.altKey||event.ctrlKey||event.shiftKey);};var eventHandlerNames={onBlur:true,onClick:true,onClickCapture:true,onContextMenu:true,onFocus:true,onResponderRelease:true,onTouchCancel:true,onTouchCancelCapture:true,onTouchEnd:true,onTouchEndCapture:true,onTouchMove:true,onTouchMoveCapture:true,onTouchStart:true,onTouchStartCapture:true};var adjustProps=function adjustProps(domProps){var onClick=domProps.onClick,onResponderRelease=domProps.onResponderRelease,role=domProps.role;var isButtonLikeRole=_AccessibilityUtil.default.buttonLikeRoles[role];var isDisabled=_AccessibilityUtil.default.isDisabled(domProps);var isLinkRole=role==='link';Object.keys(domProps).forEach(function(propName){var prop=domProps[propName];var isEventHandler=typeof prop==='function'&&eventHandlerNames[propName];if(isEventHandler){if(isButtonLikeRole&&isDisabled){domProps[propName]=undefined;}else{domProps[propName]=function(e){e.nativeEvent=(0,_normalizeNativeEvent.default)(e.nativeEvent);return prop(e);};}}});if(isLinkRole&&onResponderRelease){domProps.onClick=function(e){if(!e.isDefaultPrevented()&&!isModifiedEvent(e.nativeEvent)&&!domProps.target){e.preventDefault();}};}if(isButtonLikeRole&&!isDisabled){domProps.onKeyPress=function(e){if(!e.isDefaultPrevented()&&(e.which===13||e.which===32)){e.preventDefault();if(onClick){onClick(e);}}};}};var createElement=function createElement(component,props){var accessibilityComponent;if(component&&component.constructor===String){accessibilityComponent=_AccessibilityUtil.default.propsToAccessibilityComponent(props);}var Component=accessibilityComponent||component;var domProps=(0,_createDOMProps.default)(Component,props);adjustProps(domProps);for(var _len=arguments.length,children=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){children[_key-2]=arguments[_key];}return _react.default.createElement.apply(_react.default,[Component,domProps].concat(children));};var _default=createElement;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/createElement/index.js"],"names":["ResponderEventPlugin","isModifiedEvent","event","metaKey","altKey","ctrlKey","shiftKey","eventHandlerNames","onBlur","onClick","onClickCapture","onContextMenu","onFocus","onResponderRelease","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","adjustProps","domProps","role","isButtonLikeRole","AccessibilityUtil","buttonLikeRoles","isDisabled","isLinkRole","Object","keys","forEach","propName","prop","isEventHandler","undefined","e","nativeEvent","isDefaultPrevented","target","preventDefault","onKeyPress","which","createElement","component","props","accessibilityComponent","constructor","String","propsToAccessibilityComponent","Component","_len","arguments","length","children","Array","_key","React","apply","concat"],"mappings":"mKAQA,0FACA,oFACA,kFACA,gGACA,oDACA,gGACA,yDAAyB,CACvBA,oBAAoB,CAAEA,6BADC,CAAzB,EAIA,GAAIC,CAAAA,eAAe,CAAG,QAASA,CAAAA,eAAT,CAAyBC,KAAzB,CAAgC,CACpD,MAAO,CAAC,EAAEA,KAAK,CAACC,OAAN,EAAiBD,KAAK,CAACE,MAAvB,EAAiCF,KAAK,CAACG,OAAvC,EAAkDH,KAAK,CAACI,QAA1D,CAAR,CACD,CAFD,CAWA,GAAIC,CAAAA,iBAAiB,CAAG,CACtBC,MAAM,CAAE,IADc,CAEtBC,OAAO,CAAE,IAFa,CAGtBC,cAAc,CAAE,IAHM,C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UJ,IAAI,CAAG,CAAP,CAAWA,IAAI,CAAG,CAAlB,CAAsB,CAAhC,CAAxC,CAA4EK,IAAI,CAAG,CAAxF,CAA2FA,IAAI,CAAGL,IAAlG,CAAwGK,IAAI,EAA5G,CAAgH,CAC9GF,QAAQ,CAACE,IAAI,CAAG,CAAR,CAAR,CAAqBJ,SAAS,CAACI,IAAD,CAA9B,CACD,CAED,MAAOC,gBAAMd,aAAN,CAAoBe,KAApB,CAA0BD,cAA1B,CAAiC,CAACP,SAAD,CAAY5B,QAAZ,EAAsBqC,MAAtB,CAA6BL,QAA7B,CAAjC,CAAP,CACD,CAjBD,C,aAmBeX,a","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AccessibilityUtil from '../../modules/AccessibilityUtil';\nimport createDOMProps from '../../modules/createDOMProps';\nimport { injectEventPluginsByName } from 'react-dom/unstable-native-dependencies';\nimport normalizeNativeEvent from '../../modules/normalizeNativeEvent';\nimport React from 'react';\nimport ResponderEventPlugin from '../../modules/ResponderEventPlugin';\ninjectEventPluginsByName({\n ResponderEventPlugin: ResponderEventPlugin\n});\n\nvar isModifiedEvent = function isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n};\n/**\n * Ensure event handlers receive an event of the expected shape. The 'button'\n * role – for accessibility reasons and functional equivalence to the native\n * button element – must also support synthetic keyboard activation of onclick,\n * and remove event handlers when disabled.\n */\n\n\nvar eventHandlerNames = {\n onBlur: true,\n onClick: true,\n onClickCapture: true,\n onContextMenu: true,\n onFocus: true,\n onResponderRelease: true,\n onTouchCancel: true,\n onTouchCancelCapture: true,\n onTouchEnd: true,\n onTouchEndCapture: true,\n onTouchMove: true,\n onTouchMoveCapture: true,\n onTouchStart: true,\n onTouchStartCapture: true\n};\n\nvar adjustProps = function adjustProps(domProps) {\n var onClick = domProps.onClick,\n onResponderRelease = domProps.onResponderRelease,\n role = domProps.role;\n var isButtonLikeRole = AccessibilityUtil.buttonLikeRoles[role];\n var isDisabled = AccessibilityUtil.isDisabled(domProps);\n var isLinkRole = role === 'link';\n Object.keys(domProps).forEach(function (propName) {\n var prop = domProps[propName];\n var isEventHandler = typeof prop === 'function' && eventHandlerNames[propName];\n\n if (isEventHandler) {\n if (isButtonLikeRole && isDisabled) {\n domProps[propName] = undefined;\n } else {\n // TODO: move this out of the render path\n domProps[propName] = function (e) {\n e.nativeEvent = normalizeNativeEvent(e.nativeEvent);\n return prop(e);\n };\n }\n }\n }); // Cancel click events if the responder system is being used on a link\n // element. Click events are not an expected part of the React Native API,\n // and browsers dispatch click events that cannot otherwise be cancelled from\n // preceding mouse events in the responder system.\n\n if (isLinkRole && onResponderRelease) {\n domProps.onClick = function (e) {\n if (!e.isDefaultPrevented() && !isModifiedEvent(e.nativeEvent) && !domProps.target) {\n e.preventDefault();\n }\n };\n } // Button-like roles should trigger 'onClick' if SPACE or ENTER keys are pressed.\n\n\n if (isButtonLikeRole && !isDisabled) {\n domProps.onKeyPress = function (e) {\n if (!e.isDefaultPrevented() && (e.which === 13 || e.which === 32)) {\n e.preventDefault();\n\n if (onClick) {\n onClick(e);\n }\n }\n };\n }\n};\n\nvar createElement = function createElement(component, props) {\n // use equivalent platform elements where possible\n var accessibilityComponent;\n\n if (component && component.constructor === String) {\n accessibilityComponent = AccessibilityUtil.propsToAccessibilityComponent(props);\n }\n\n var Component = accessibilityComponent || component;\n var domProps = createDOMProps(Component, props);\n adjustProps(domProps);\n\n for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n children[_key - 2] = arguments[_key];\n }\n\n return React.createElement.apply(React, [Component, domProps].concat(children));\n};\n\nexport default createElement;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../modules/UnimplementedView\"));var _default=_UnimplementedView.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ToolbarAndroid/index.js"],"names":["UnimplementedView"],"mappings":"mKAAA,0F,aACeA,0B","sourcesContent":["import UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var CSS_UNIT_RE=/^[+-]?\\d*(?:\\.\\d+)?(?:[Ee][+-]?\\d+)?(%|\\w*)/;var getUnit=function getUnit(str){return str.match(CSS_UNIT_RE)[1];};var isNumeric=function isNumeric(n){return!isNaN(parseFloat(n))&&isFinite(n);};var multiplyStyleLengthValue=function multiplyStyleLengthValue(value,multiple){if(typeof value==='string'){var number=parseFloat(value)*multiple;var unit=getUnit(value);return\"\"+number+unit;}else if(isNumeric(value)){return value*multiple;}};var _default=multiplyStyleLengthValue;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/multiplyStyleLengthValue/index.js"],"names":["CSS_UNIT_RE","getUnit","str","match","isNumeric","n","isNaN","parseFloat","isFinite","multiplyStyleLengthValue","value","multiple","number","unit"],"mappings":"gFAQA,GAAIA,CAAAA,WAAW,CAAG,6CAAlB,CAEA,GAAIC,CAAAA,OAAO,CAAG,QAASA,CAAAA,OAAT,CAAiBC,GAAjB,CAAsB,CAClC,MAAOA,CAAAA,GAAG,CAACC,KAAJ,CAAUH,WAAV,EAAuB,CAAvB,CAAP,CACD,CAFD,CAIA,GAAII,CAAAA,SAAS,CAAG,QAASA,CAAAA,SAAT,CAAmBC,CAAnB,CAAsB,CACpC,MAAO,CAACC,KAAK,CAACC,UAAU,CAACF,CAAD,CAAX,CAAN,EAAyBG,QAAQ,CAACH,CAAD,CAAxC,CACD,CAFD,CAIA,GAAII,CAAAA,wBAAwB,CAAG,QAASA,CAAAA,wBAAT,CAAkCC,KAAlC,CAAyCC,QAAzC,CAAmD,CAChF,GAAI,MAAOD,CAAAA,KAAP,GAAiB,QAArB,CAA+B,CAC7B,GAAIE,CAAAA,MAAM,CAAGL,UAAU,CAACG,KAAD,CAAV,CAAoBC,QAAjC,CACA,GAAIE,CAAAA,IAAI,CAAGZ,OAAO,CAACS,KAAD,CAAlB,CACA,MAAO,GAAKE,MAAL,CAAcC,IAArB,CACD,CAJD,IAIO,IAAIT,SAAS,CAACM,KAAD,CAAb,CAAsB,CAC3B,MAAOA,CAAAA,KAAK,CAAGC,QAAf,CACD,CACF,CARD,C,aAUeF,wB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar CSS_UNIT_RE = /^[+-]?\\d*(?:\\.\\d+)?(?:[Ee][+-]?\\d+)?(%|\\w*)/;\n\nvar getUnit = function getUnit(str) {\n return str.match(CSS_UNIT_RE)[1];\n};\n\nvar isNumeric = function isNumeric(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n};\n\nvar multiplyStyleLengthValue = function multiplyStyleLengthValue(value, multiple) {\n if (typeof value === 'string') {\n var number = parseFloat(value) * multiple;\n var unit = getUnit(value);\n return \"\" + number + unit;\n } else if (isNumeric(value)) {\n return value * multiple;\n }\n};\n\nexport default multiplyStyleLengthValue;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _react=_interopRequireWildcard(require(\"react\"));var _Surface=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Surface\"));var _Text=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Text\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactRedux=require(\"react-redux\");var _PromptSearchRate=_interopRequireDefault(require(\"../PromptSearch/PromptSearchRate\"));var SentenceInfo=function SentenceInfo(props){return _react.default.createElement(_View.default,null,_react.default.createElement(_Text.default,{style:[styles.infoText,{color:props.color}]},props.info),_react.default.createElement(_Text.default,{style:[styles.Text,{color:props.color}]},props.Text));};var RateSentence=function RateSentence(_ref){var originalText=_ref.originalText,fixedText=_ref.fixedText,keywordText=_ref.keywordText;var _useState=(0,_react.useState)(0),_useState2=(0,_slicedToArray2.default)(_useState,2),count=_useState2[0],setCount=_useState2[1];var calCount=function calCount(){if(count>1||!keywordText)setCount(0);else setCount(count+1);};return _react.default.createElement(_Surface.default,{style:styles.surface,onTouchStart:calCount},keywordText?_react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_View.default,null,count==0&&_react.default.createElement(SentenceInfo,{Text:originalText,info:'원래 검색 문장',color:'#B71C1C'}),count==1&&_react.default.createElement(SentenceInfo,{Text:fixedText,info:'맞춤법 교정 문장',color:'#2196F3'}),count==2&&_react.default.createElement(SentenceInfo,{Text:keywordText,info:'키워드 교정 문장',color:'#00a676'})),_react.default.createElement(_View.default,{style:{flexDirection:'column-reverse',height:50}},_react.default.createElement(_Text.default,null,\"\\uB20C\\uB7EC\\uC11C \\uBCC0\\uD654 \\uACFC\\uC815\\uC744 \\uC9C0\\uCF1C\\uBCF4\\uC138\\uC694!\"))):_react.default.createElement(_PromptSearchRate.default,null));};var styles=_StyleSheet.default.create({surface:{padding:8,flex:0.3,width:'95%',alignItems:'center',justifyContent:'center',elevation:2,marginTop:10},Text:{fontSize:25,textAlign:'center'},infoText:{fontSize:20,textAlign:'center'}});var RateSentenceContainer=function RateSentenceContainer(_ref2){var originalText=_ref2.originalText,fixedText=_ref2.fixedText,keywordText=_ref2.keywordText;return _react.default.createElement(RateSentence,{originalText:originalText,fixedText:fixedText,keywordText:keywordText});};var _default=(0,_reactRedux.connect)(function(_ref3){var search=_ref3.search;return{originalText:search.result.return_data.originalText,fixedText:search.result.return_data.fixedText,keywordText:search.result.return_data.keywordText};})(RateSentenceContainer);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/RateSentence/RateSentence.js"],"names":["SentenceInfo","props","styles","infoText","color","info","Text","RateSentence","originalText","fixedText","keywordText","count","setCount","calCount","surface","flexDirection","height","StyleSheet","create","padding","flex","width","alignItems","justifyContent","elevation","marginTop","fontSize","textAlign","RateSentenceContainer","search","result","return_data"],"mappings":"oVAAA,qD,mXAGA,uCACA,0FAEA,GAAMA,CAAAA,YAAY,CAAG,QAAfA,CAAAA,YAAe,CAACC,KAAD,QACjB,8BAAC,aAAD,MACI,6BAAC,aAAD,EAAM,KAAK,CAAE,CAACC,MAAM,CAACC,QAAR,CAAiB,CAACC,KAAK,CAACH,KAAK,CAACG,KAAb,CAAjB,CAAb,EAAsDH,KAAK,CAACI,IAA5D,CADJ,CAEI,6BAAC,aAAD,EAAM,KAAK,CAAE,CAACH,MAAM,CAACI,IAAR,CAAa,CAACF,KAAK,CAACH,KAAK,CAACG,KAAb,CAAb,CAAb,EAAiDH,KAAK,CAACK,IAAvD,CAFJ,CADiB,EAArB,CAOA,GAAMC,CAAAA,YAAY,CAAG,QAAfA,CAAAA,YAAe,MAA6C,IAA3CC,CAAAA,YAA2C,MAA3CA,YAA2C,CAA7BC,SAA6B,MAA7BA,SAA6B,CAAlBC,WAAkB,MAAlBA,WAAkB,eACnC,oBAAS,CAAT,CADmC,qDACtDC,KADsD,eAChDC,QADgD,eAG9D,GAAMC,CAAAA,QAAQ,CAAG,QAAXA,CAAAA,QAAW,EAAM,CACnB,GAAGF,KAAK,CAAG,CAAR,EAAa,CAACD,WAAjB,CAA8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C,CAAAA,qBAAqB,CAAG,QAAxBA,CAAAA,qBAAwB,WAAGpB,CAAAA,YAAH,OAAGA,YAAH,CAAiBC,SAAjB,OAAiBA,SAAjB,CAA4BC,WAA5B,OAA4BA,WAA5B,OAC1B,8BAAC,YAAD,EAAc,YAAY,CAAEF,YAA5B,CAA0C,SAAS,CAAEC,SAArD,CAAgE,WAAW,CAAEC,WAA7E,EAD0B,EAA9B,C,aAIe,wBACX,mBAAEmB,CAAAA,MAAF,OAAEA,MAAF,OAAa,CACTrB,YAAY,CAAEqB,MAAM,CAACC,MAAP,CAAcC,WAAd,CAA0BvB,YAD/B,CAETC,SAAS,CAAEoB,MAAM,CAACC,MAAP,CAAcC,WAAd,CAA0BtB,SAF5B,CAGTC,WAAW,CAAEmB,MAAM,CAACC,MAAP,CAAcC,WAAd,CAA0BrB,WAH9B,CAAb,EADW,EAMbkB,qBANa,C","sourcesContent":["import React,{ useState } from 'react';\r\nimport { Surface, Text } from 'react-native-paper';\r\nimport { StyleSheet,View } from 'react-native';\r\nimport {connect} from 'react-redux';\r\nimport PromptSearchRate from '../PromptSearch/PromptSearchRate';\r\n\r\nconst SentenceInfo = (props) => (\r\n <View>\r\n <Text style={[styles.infoText,{color:props.color}]} >{props.info}</Text>\r\n <Text style={[styles.Text,{color:props.color}]}>{props.Text}</Text>\r\n </View> \r\n)\r\n\r\nconst RateSentence = ({originalText, fixedText, keywordText }) => {\r\n const [ count,setCount ] = useState(0);\r\n\r\n const calCount = () => {\r\n if(count > 1 || !keywordText) setCount(0);\r\n else setCount(count+1);\r\n }\r\n\r\n return (\r\n <Surface style={styles.surface} onTouchStart={calCount} >\r\n { keywordText ?\r\n <>\r\n <View>\r\n {count == 0 && ( <SentenceInfo Text={originalText} info={'원래 검색 문장'} color={'#B71C1C'} />) }\r\n {count == 1 && ( <SentenceInfo Text={fixedText} info={'맞춤법 교정 문장'} color={'#2196F3'} />) }\r\n {count == 2 && ( <SentenceInfo Text={keywordText} info={'키워드 교정 문장'} color={'#00a676'} />) }\r\n </View> \r\n <View style={{flexDirection:'column-reverse', height:50}}>\r\n <Text >눌러서 변화 과정을 지켜보세요!</Text>\r\n </View>\r\n \r\n </>\r\n : <PromptSearchRate />\r\n }\r\n \r\n </Surface>\r\n )\r\n}\r\n\r\n const styles = StyleSheet.create({\r\n surface: {\r\n padding: 8,\r\n flex: 0.3,\r\n width: '95%',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n elevation: 2,\r\n marginTop: 10\r\n },\r\n Text:{\r\n fontSize: 25,\r\n textAlign:'center'\r\n },\r\n infoText:{\r\n fontSize: 20,\r\n textAlign:'center'\r\n }\r\n});\r\n\r\n\r\nconst RateSentenceContainer = ( {originalText, fixedText, keywordText } ) => (\r\n <RateSentence originalText={originalText} fixedText={fixedText} keywordText={keywordText} />\r\n);\r\n\r\nexport default connect(\r\n ({search})=>({\r\n originalText: search.result.return_data.originalText,\r\n fixedText: search.result.return_data.fixedText,\r\n keywordText: search.result.return_data.keywordText\r\n })\r\n)(RateSentenceContainer);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _Text=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Text\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _default=PromptSearchRate=function PromptSearchRate(){return _react.default.createElement(_View.default,{style:{alignItems:'center'}},_react.default.createElement(_Text.default,{style:styles.Text},\"\\uC544\\uC9C1\\uAE4C\\uC9C0 \\uAC80\\uC0C9\"),_react.default.createElement(_Text.default,{style:styles.Text},\"\\uACB0\\uACFC\\uAC00 \\uC5C6\\uC2B5\\uB2C8\\uB2E4!\"));};exports.default=_default;var styles=_StyleSheet.default.create({Text:{fontSize:20,color:'#123422'}});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/PromptSearch/PromptSearchRate.js"],"names":["PromptSearchRate","alignItems","styles","Text","StyleSheet","create","fontSize","color"],"mappings":"mKAAA,oD,+RAIeA,gBAAgB,CAAG,kCAC9B,8BAAC,aAAD,EAAM,KAAK,CAAE,CAACC,UAAU,CAAC,QAAZ,CAAb,EACI,6BAAC,aAAD,EAAO,KAAK,CAAEC,MAAM,CAACC,IAArB,0CADJ,CAEI,6BAAC,aAAD,EAAO,KAAK,CAAED,MAAM,CAACC,IAArB,iDAFJ,CAD8B,E,0BAQlC,GAAMD,CAAAA,MAAM,CAAGE,oBAAWC,MAAX,CAAkB,CAC7BF,IAAI,CAAC,CACDG,QAAQ,CAAE,EADT,CAEDC,KAAK,CAAE,SAFN,CADwB,CAAlB,CAAf","sourcesContent":["import React from 'react';\r\nimport { Text } from 'react-native-paper';\r\nimport { StyleSheet,View } from 'react-native';\r\n\r\nexport default PromptSearchRate = () => (\r\n <View style={{alignItems:'center'}}>\r\n <Text style={styles.Text}>아직까지 검색</Text>\r\n <Text style={styles.Text}>결과가 없습니다!</Text>\r\n </View>\r\n)\r\n\r\n\r\nconst styles = StyleSheet.create({\r\n Text:{\r\n fontSize: 20,\r\n color: '#123422'\r\n },\r\n\r\n});"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _View=_interopRequireDefault(require(\"../../exports/View\"));var _react=_interopRequireWildcard(require(\"react\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var UnimplementedView=function(_Component){_inheritsLoose(UnimplementedView,_Component);function UnimplementedView(){return _Component.apply(this,arguments)||this;}var _proto=UnimplementedView.prototype;_proto.setNativeProps=function setNativeProps(){};_proto.render=function render(){return _react.default.createElement(_View.default,{style:[unimplementedViewStyles,this.props.style]},this.props.children);};return UnimplementedView;}(_react.Component);var unimplementedViewStyles=process.env.NODE_ENV!=='production'?{alignSelf:'flex-start',borderColor:'red',borderWidth:1}:{};var _default=UnimplementedView;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/UnimplementedView/index.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","UnimplementedView","_Component","apply","arguments","_proto","setNativeProps","render","React","createElement","View","style","unimplementedViewStyles","props","children","Component","process","env","NODE_ENV","alignSelf","borderColor","borderWidth"],"mappings":"wPAUA,gEACA,qDAXA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAkBvL,GAAIM,CAAAA,iBAAiB,CAErB,SAAUC,UAAV,CAAsB,CACpBT,cAAc,CAACQ,iBAAD,CAAoBC,UAApB,CAAd,CAEA,QAASD,CAAAA,iBAAT,EAA6B,CAC3B,MAAOC,CAAAA,UAAU,CAACC,KAAX,CAAiB,IAAjB,CAAuBC,SAAvB,GAAqC,IAA5C,CACD,CAED,GAAIC,CAAAA,MAAM,CAAGJ,iBAAiB,CAACL,SAA/B,CAEAS,MAAM,CAACC,cAAP,CAAwB,QAASA,CAAAA,cAAT,EAA0B,CAGjD,CAHD,CAKAD,MAAM,CAACE,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,MAAOC,gBAAMC,aAAN,CAAoBC,aAApB,CAA0B,CAC/BC,KAAK,CAAE,CAACC,uBAAD,CAA0B,KAAKC,KAAL,CAAWF,KAArC,CADwB,CAA1B,CAEJ,KAAKE,KAAL,CAAWC,QAFP,CAAP,CAGD,CAJD,CAMA,MAAOb,CAAAA,iBAAP,CACD,CArBD,CAqBEc,gBArBF,CAFA,CAyBA,GAAIH,CAAAA,uBAAuB,CAAGI,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwC,CACpEC,SAAS,CAAE,YADyD,CAEpEC,WAAW,CAAE,KAFuD,CAGpEC,WAAW,CAAE,CAHuD,CAAxC,CAI1B,EAJJ,C,aAKepB,iB","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport View from '../../exports/View';\nimport React, { Component } from 'react';\n/**\n * Common implementation for a simple stubbed view.\n */\n\n/* eslint-disable react/prop-types */\n\nvar UnimplementedView =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(UnimplementedView, _Component);\n\n function UnimplementedView() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = UnimplementedView.prototype;\n\n _proto.setNativeProps = function setNativeProps() {// Do nothing.\n // This method is required in order to use this view as a Touchable* child.\n // See ensureComponentIsNative.js for more info\n };\n\n _proto.render = function render() {\n return React.createElement(View, {\n style: [unimplementedViewStyles, this.props.style]\n }, this.props.children);\n };\n\n return UnimplementedView;\n}(Component);\n\nvar unimplementedViewStyles = process.env.NODE_ENV !== 'production' ? {\n alignSelf: 'flex-start',\n borderColor: 'red',\n borderWidth: 1\n} : {};\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var ensureComponentIsNative=function ensureComponentIsNative(component){(0,_invariant.default)(component&&typeof component.setNativeProps==='function','Touchable child must either be native or forward setNativeProps to a native component');};var _default=ensureComponentIsNative;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ensureComponentIsNative/index.js"],"names":["ensureComponentIsNative","component","setNativeProps"],"mappings":"mKAQA,qEAEA,GAAIA,CAAAA,uBAAuB,CAAG,QAASA,CAAAA,uBAAT,CAAiCC,SAAjC,CAA4C,CACxE,uBAAUA,SAAS,EAAI,MAAOA,CAAAA,SAAS,CAACC,cAAjB,GAAoC,UAA3D,CAAuE,uFAAvE,EACD,CAFD,C,aAIeF,uB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\n\nvar ensureComponentIsNative = function ensureComponentIsNative(component) {\n invariant(component && typeof component.setNativeProps === 'function', 'Touchable child must either be native or forward setNativeProps to a native component');\n};\n\nexport default ensureComponentIsNative;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports._TESTING_ONLY_reset_container_count=_TESTING_ONLY_reset_container_count;exports.default=createNavigationContainer;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _react=_interopRequireDefault(require(\"react\"));var _Linking=_interopRequireDefault(require(\"react-native-web/dist/exports/Linking\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _BackHandler=_interopRequireDefault(require(\"react-native-web/dist/exports/BackHandler\"));var _core=require(\"@react-navigation/core\");var _invariant=_interopRequireDefault(require(\"./utils/invariant\"));var _docsUrl=_interopRequireDefault(require(\"./utils/docsUrl\"));var urlToPathAndParams=_core.pathUtils.urlToPathAndParams;function isStateful(props){return!props.navigation;}function validateProps(props){if(props.persistenceKey){console.warn('You passed persistenceKey prop to a navigator. '+'The persistenceKey prop was replaced by a more flexible persistence mechanism, '+'please see the navigation state persistence docs for more information. '+'Passing the persistenceKey prop is a no-op.');}if(isStateful(props)){return;}var navigation=props.navigation,screenProps=props.screenProps,persistNavigationState=props.persistNavigationState,loadNavigationState=props.loadNavigationState,theme=props.theme,containerProps=(0,_objectWithoutProperties2.default)(props,[\"navigation\",\"screenProps\",\"persistNavigationState\",\"loadNavigationState\",\"theme\"]);var keys=Object.keys(containerProps);if(keys.length!==0){throw new Error('This navigator has both navigation and container props, so it is '+(\"unclear if it should own its own state. Remove props: \\\"\"+keys.join(', ')+\"\\\" \")+'if the navigator should get its state from the navigation prop. If the '+'navigator should maintain its own state, do not pass a navigation prop.');}(0,_invariant.default)(persistNavigationState===undefined&&loadNavigationState===undefined||typeof persistNavigationState==='function'&&typeof loadNavigationState==='function','both persistNavigationState and loadNavigationState must either be undefined, or be functions');}var _statefulContainerCount=0;function _TESTING_ONLY_reset_container_count(){_statefulContainerCount=0;}var _reactNavigationIsHydratingState=false;function createNavigationContainer(Component){var NavigationContainer=function(_React$Component){(0,_inherits2.default)(NavigationContainer,_React$Component);(0,_createClass2.default)(NavigationContainer,null,[{key:\"getDerivedStateFromProps\",value:function getDerivedStateFromProps(nextProps){validateProps(nextProps);return null;}}]);function NavigationContainer(props){var _this;(0,_classCallCheck2.default)(this,NavigationContainer);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(NavigationContainer).call(this,props));_this.subs=null;_this._actionEventSubscribers=new Set();_this._handleOpenURL=function(_ref){var url=_ref.url;var _this$props=_this.props,enableURLHandling=_this$props.enableURLHandling,uriPrefix=_this$props.uriPrefix;if(enableURLHandling===false){return;}var parsedUrl=urlToPathAndParams(url,uriPrefix);if(parsedUrl){var path=parsedUrl.path,params=parsedUrl.params;var action=Component.router.getActionForPathAndParams(path,params);if(action){_this.dispatch(action);}}};_this._persistNavigationState=function _callee(nav){var persistNavigationState;return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:persistNavigationState=_this.props.persistNavigationState;if(!persistNavigationState){_context.next=10;break;}_context.prev=2;_context.next=5;return _regenerator.default.awrap(persistNavigationState(nav));case 5:_context.next=10;break;case 7:_context.prev=7;_context.t0=_context[\"catch\"](2);console.warn('Uncaught exception while calling persistNavigationState()! You should handle exceptions thrown from persistNavigationState(), ignoring them may result in undefined behavior.');case 10:case\"end\":return _context.stop();}}},null,null,[[2,7]]);};_this.dispatch=function(action){if(_this.props.navigation){return _this.props.navigation.dispatch(action);}_this._navState=_this._navState||_this.state.nav;var lastNavState=_this._navState;(0,_invariant.default)(lastNavState,'should be set in constructor if stateful');var reducedState=Component.router.getStateForAction(action,lastNavState);var navState=reducedState===null?lastNavState:reducedState;var dispatchActionEvents=function dispatchActionEvents(){_this._actionEventSubscribers.forEach(function(subscriber){return subscriber({type:'action',action:action,state:navState,lastState:lastNavState});});};if(reducedState===null){dispatchActionEvents();return true;}if(navState!==lastNavState){_this._navState=navState;_this.setState({nav:navState},function(){_this._onNavigationStateChange(lastNavState,navState,action);dispatchActionEvents();_this._persistNavigationState(navState);});return true;}dispatchActionEvents();return false;};_this._getScreenProps=function(){return _this.props.screenProps;};_this._getTheme=function(){if(_this.props.theme==='light'||_this.props.theme==='dark'){return _this.props.theme;}else if(_this.props.theme==='no-preference'){return'light';}else{console.warn(\"Invalid theme provided: \"+_this.props.theme+\". Only 'light' and 'dark' are supported. Falling back to 'light'\");return'light';}};validateProps(props);_this._initialAction=_core.NavigationActions.init();if(_this._isStateful()&&_BackHandler.default&&typeof _BackHandler.default.addEventListener==='function'){_this.subs=_BackHandler.default.addEventListener('hardwareBackPress',function(){if(!_this._isMounted){_this.subs&&_this.subs.remove();}else{return _this.dispatch(_core.NavigationActions.back());}});}_this.state={nav:_this._isStateful()&&!props.loadNavigationState?Component.router.getStateForAction(_this._initialAction):null};return _this;}(0,_createClass2.default)(NavigationContainer,[{key:\"_renderLoading\",value:function _renderLoading(){return this.props.renderLoadingExperimental?this.props.renderLoadingExperimental():null;}},{key:\"_isStateful\",value:function _isStateful(){return isStateful(this.props);}},{key:\"_onNavigationStateChange\",value:function _onNavigationStateChange(prevNav,nav,action){if(typeof this.props.onNavigationStateChange==='undefined'&&this._isStateful()&&!!process.env.REACT_NAV_LOGGING){if(console.group){console.group('Navigation Dispatch: ');console.log('Action: ',action);console.log('New State: ',nav);console.log('Last State: ',prevNav);console.groupEnd();}else{console.log('Navigation Dispatch: ',{action:action,newState:nav,lastState:prevNav});}return;}if(typeof this.props.onNavigationStateChange==='function'){this.props.onNavigationStateChange(prevNav,nav,action);}}},{key:\"componentDidUpdate\",value:function componentDidUpdate(){if(this._navState===this.state.nav){this._navState=null;}}},{key:\"componentDidMount\",value:function componentDidMount(){var _this2=this;var parsedUrl,userProvidedStartupState,_ref2,action,startupState,_parsedUrl,path,params,urlAction,dispatchActions;return _regenerator.default.async(function componentDidMount$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:this._isMounted=true;if(this._isStateful()){_context2.next=3;break;}return _context2.abrupt(\"return\");case 3:if(__DEV__&&!this.props.detached){if(_statefulContainerCount>0){if(_Platform.default.OS==='ios'){console.warn(\"You should only render one navigator explicitly in your app, and other navigators should be rendered by including them in that navigator. Full details at: \"+(0,_docsUrl.default)('common-mistakes.html#explicitly-rendering-more-than-one-navigator'));}}}_statefulContainerCount++;_Linking.default.addEventListener('url',this._handleOpenURL);parsedUrl=null;userProvidedStartupState=null;if(!(this.props.enableURLHandling!==false)){_context2.next=14;break;}_context2.next=11;return _regenerator.default.awrap(this.getStartupParams());case 11:_ref2=_context2.sent;parsedUrl=_ref2.parsedUrl;userProvidedStartupState=_ref2.userProvidedStartupState;case 14:action=this._initialAction;startupState=this.state.nav;if(!startupState&&!userProvidedStartupState){!!process.env.REACT_NAV_LOGGING&&console.log('Init new Navigation State');startupState=Component.router.getStateForAction(action);}if(userProvidedStartupState){startupState=userProvidedStartupState;_reactNavigationIsHydratingState=true;}if(parsedUrl){_parsedUrl=parsedUrl,path=_parsedUrl.path,params=_parsedUrl.params;urlAction=Component.router.getActionForPathAndParams(path,params);if(urlAction){!!process.env.REACT_NAV_LOGGING&&console.log('Applying Navigation Action for Initial URL:',parsedUrl);action=urlAction;startupState=Component.router.getStateForAction(urlAction,startupState);}}dispatchActions=function dispatchActions(){return _this2._actionEventSubscribers.forEach(function(subscriber){return subscriber({type:'action',action:action,state:_this2.state.nav,lastState:null});});};if(!(startupState===this.state.nav)){_context2.next=23;break;}dispatchActions();return _context2.abrupt(\"return\");case 23:this.setState({nav:startupState},function(){_reactNavigationIsHydratingState=false;dispatchActions();});case 24:case\"end\":return _context2.stop();}}},null,this);}},{key:\"getStartupParams\",value:function getStartupParams(){var _this$props2,uriPrefix,loadNavigationState,url,loadedNavState,_ref3,_ref4;return _regenerator.default.async(function getStartupParams$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_this$props2=this.props,uriPrefix=_this$props2.uriPrefix,loadNavigationState=_this$props2.loadNavigationState;_context3.prev=1;_context3.next=4;return _regenerator.default.awrap(Promise.all([_Linking.default.getInitialURL(),loadNavigationState&&loadNavigationState()]));case 4:_ref3=_context3.sent;_ref4=(0,_slicedToArray2.default)(_ref3,2);url=_ref4[0];loadedNavState=_ref4[1];_context3.next=12;break;case 10:_context3.prev=10;_context3.t0=_context3[\"catch\"](1);case 12:return _context3.abrupt(\"return\",{parsedUrl:url&&urlToPathAndParams(url,uriPrefix),userProvidedStartupState:loadedNavState});case 13:case\"end\":return _context3.stop();}}},null,this,[[1,10]]);}},{key:\"componentDidCatch\",value:function componentDidCatch(e){if(_reactNavigationIsHydratingState){_reactNavigationIsHydratingState=false;console.warn('Uncaught exception while starting app from persisted navigation state! Trying to render again with a fresh navigation state...');this.dispatch(_core.NavigationActions.init());}else{throw e;}}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this._isMounted=false;_Linking.default.removeEventListener('url',this._handleOpenURL);this.subs&&this.subs.remove();if(this._isStateful()){_statefulContainerCount--;}}},{key:\"render\",value:function render(){var _this3=this;var navigation=this.props.navigation;if(this._isStateful()){var navState=this.state.nav;if(!navState){return this._renderLoading();}if(!this._navigation||this._navigation.state!==navState){this._navigation=(0,_core.getNavigation)(Component.router,navState,this.dispatch,this._actionEventSubscribers,this._getScreenProps,function(){return _this3._navigation;});}navigation=this._navigation;}(0,_invariant.default)(navigation,'failed to get navigation');return _react.default.createElement(_core.ThemeProvider,{value:this._getTheme()},_react.default.createElement(_core.NavigationProvider,{value:navigation},_react.default.createElement(Component,(0,_extends2.default)({},this.props,{navigation:navigation}))));}}]);return NavigationContainer;}(_react.default.Component);NavigationContainer.router=Component.router;NavigationContainer.navigationOptions=null;NavigationContainer.defaultProps={theme:'light'};return NavigationContainer;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/createAppContainer.js"],"names":["urlToPathAndParams","pathUtils","isStateful","props","navigation","validateProps","persistenceKey","console","warn","screenProps","persistNavigationState","loadNavigationState","theme","containerProps","keys","Object","length","Error","join","undefined","_statefulContainerCount","_TESTING_ONLY_reset_container_count","_reactNavigationIsHydratingState","createNavigationContainer","Component","NavigationContainer","nextProps","subs","_actionEventSubscribers","Set","_handleOpenURL","url","enableURLHandling","uriPrefix","parsedUrl","path","params","action","router","getActionForPathAndParams","dispatch","_persistNavigationState","nav","_navState","state","lastNavState","reducedState","getStateForAction","navState","dispatchActionEvents","forEach","subscriber","type","lastState","setState","_onNavigationStateChange","_getScreenProps","_getTheme","_initialAction","NavigationActions","init","_isStateful","BackHandler","addEventListener","_isMounted","remove","back","renderLoadingExperimental","prevNav","onNavigationStateChange","process","env","REACT_NAV_LOGGING","group","log","groupEnd","newState","__DEV__","detached","Platform","OS","Linking","userProvidedStartupState","getStartupParams","startupState","urlAction","dispatchActions","Promise","all","getInitialURL","loadedNavState","e","removeEventListener","_renderLoading","_navigation","React","navigationOptions","defaultProps"],"mappings":"2kCAAA,oD,4QAEA,4CACA,oEACA,gE,GAEQA,CAAAA,kB,CAAuBC,e,CAAvBD,kB,CAER,QAASE,CAAAA,UAAT,CAAoBC,KAApB,CAA2B,CACzB,MAAO,CAACA,KAAK,CAACC,UAAd,CACD,CAED,QAASC,CAAAA,aAAT,CAAuBF,KAAvB,CAA8B,CAC5B,GAAIA,KAAK,CAACG,cAAV,CAA0B,CACxBC,OAAO,CAACC,IAAR,CAAa,kDAAoD,iFAApD,CAAwI,yEAAxI,CAAoN,6CAAjO,EACD,CACD,GAAIN,UAAU,CAACC,KAAD,CAAd,CAAuB,CACrB,OACD,CAN2B,GAS1BC,CAAAA,UAT0B,CAexBD,KAfwB,CAS1BC,UAT0B,CAU1BK,WAV0B,CAexBN,KAfwB,CAU1BM,WAV0B,CAW1BC,sBAX0B,CAexBP,KAfwB,CAW1BO,sBAX0B,CAY1BC,mBAZ0B,CAexBR,KAfwB,CAY1BQ,mBAZ0B,CAa1BC,KAb0B,CAexBT,KAfwB,CAa1BS,KAb0B,CAcvBC,cAduB,uCAexBV,KAfwB,sFAkB5B,GAAMW,CAAAA,IAAI,CAAGC,MAAM,CAACD,IAAP,CAAY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AAO,8BAAC,mBAAD,EAAe,KAAK,CAAE,KAAKqD,SAAL,EAAtB,EACH,6BAAC,wBAAD,EAAoB,KAAK,CAAErD,UAA3B,EACE,6BAAC,SAAD,0BAAe,KAAKD,KAApB,EAA2B,UAAU,CAAEC,UAAvC,GADF,CADG,CAAP,CAKD,CApSwD,iCACzB2F,eAAMvE,SADmB,EACrDC,mBADqD,CAIlDa,MAJkD,CAIzCd,SAAS,CAACc,MAJ+B,CACrDb,mBADqD,CAKlDuE,iBALkD,CAK9B,IAL8B,CACrDvE,mBADqD,CAOlDwE,YAPkD,CAOnC,CACpBrF,KAAK,CAAE,OADa,CAPmC,CAuS3D,MAAOa,CAAAA,mBAAP,CACD","sourcesContent":["import React from 'react';\nimport { Linking, Platform, BackHandler } from 'react-native';\nimport { NavigationActions, ThemeProvider, pathUtils, getNavigation, NavigationProvider } from '@react-navigation/core';\nimport invariant from './utils/invariant';\nimport docsUrl from './utils/docsUrl';\n\nconst { urlToPathAndParams } = pathUtils;\n\nfunction isStateful(props) {\n return !props.navigation;\n}\n\nfunction validateProps(props) {\n if (props.persistenceKey) {\n console.warn('You passed persistenceKey prop to a navigator. ' + 'The persistenceKey prop was replaced by a more flexible persistence mechanism, ' + 'please see the navigation state persistence docs for more information. ' + 'Passing the persistenceKey prop is a no-op.');\n }\n if (isStateful(props)) {\n return;\n }\n /* eslint-disable no-unused-vars */\n const {\n navigation,\n screenProps,\n persistNavigationState,\n loadNavigationState,\n theme,\n ...containerProps\n } = props;\n /* eslint-enable no-unused-vars */\n\n const keys = Object.keys(containerProps);\n\n if (keys.length !== 0) {\n throw new Error('This navigator has both navigation and container props, so it is ' + `unclear if it should own its own state. Remove props: \"${keys.join(', ')}\" ` + 'if the navigator should get its state from the navigation prop. If the ' + 'navigator should maintain its own state, do not pass a navigation prop.');\n }\n invariant(persistNavigationState === undefined && loadNavigationState === undefined || typeof persistNavigationState === 'function' && typeof loadNavigationState === 'function', 'both persistNavigationState and loadNavigationState must either be undefined, or be functions');\n}\n\n// Track the number of stateful container instances. Warn if >0 and not using the\n// detached prop to explicitly acknowledge the behavior. We should deprecated implicit\n// stateful navigation containers in a future release and require a provider style pattern\n// instead in order to eliminate confusion entirely.\nlet _statefulContainerCount = 0;\nexport function _TESTING_ONLY_reset_container_count() {\n _statefulContainerCount = 0;\n}\n\n// We keep a global flag to catch errors during the state persistence hydrating scenario.\n// The innermost navigator who catches the error will dispatch a new init action.\nlet _reactNavigationIsHydratingState = false;\n// Unfortunate to use global state here, but it seems necessesary for the time\n// being. There seems to be some problems with cascading componentDidCatch\n// handlers. Ideally the inner non-stateful navigator catches the error and\n// re-throws it, to be caught by the top-level stateful navigator.\n\n/**\n * Create an HOC that injects the navigation and manages the navigation state\n * in case it's not passed from above.\n * This allows to use e.g. the StackNavigator and TabNavigator as root-level\n * components.\n */\nexport default function createNavigationContainer(Component) {\n class NavigationContainer extends React.Component {\n subs = null;\n\n static router = Component.router;\n static navigationOptions = null;\n\n static defaultProps = {\n theme: 'light'\n };\n\n static getDerivedStateFromProps(nextProps) {\n validateProps(nextProps);\n return null;\n }\n\n _actionEventSubscribers = new Set();\n\n constructor(props) {\n super(props);\n\n validateProps(props);\n\n this._initialAction = NavigationActions.init();\n\n if (this._isStateful() && BackHandler && typeof BackHandler.addEventListener === 'function') {\n this.subs = BackHandler.addEventListener('hardwareBackPress', () => {\n if (!this._isMounted) {\n this.subs && this.subs.remove();\n } else {\n // dispatch returns true if the action results in a state change,\n // and false otherwise. This maps well to what BackHandler expects\n // from a callback -- true if handled, false if not handled\n return this.dispatch(NavigationActions.back());\n }\n });\n }\n\n this.state = {\n nav: this._isStateful() && !props.loadNavigationState ? Component.router.getStateForAction(this._initialAction) : null\n };\n }\n\n _renderLoading() {\n return this.props.renderLoadingExperimental ? this.props.renderLoadingExperimental() : null;\n }\n\n _isStateful() {\n return isStateful(this.props);\n }\n\n _handleOpenURL = ({ url }) => {\n const { enableURLHandling, uriPrefix } = this.props;\n if (enableURLHandling === false) {\n return;\n }\n const parsedUrl = urlToPathAndParams(url, uriPrefix);\n if (parsedUrl) {\n const { path, params } = parsedUrl;\n const action = Component.router.getActionForPathAndParams(path, params);\n if (action) {\n this.dispatch(action);\n }\n }\n };\n\n _onNavigationStateChange(prevNav, nav, action) {\n if (typeof this.props.onNavigationStateChange === 'undefined' && this._isStateful() && !!process.env.REACT_NAV_LOGGING) {\n if (console.group) {\n console.group('Navigation Dispatch: ');\n console.log('Action: ', action);\n console.log('New State: ', nav);\n console.log('Last State: ', prevNav);\n console.groupEnd();\n } else {\n console.log('Navigation Dispatch: ', {\n action,\n newState: nav,\n lastState: prevNav\n });\n }\n return;\n }\n\n if (typeof this.props.onNavigationStateChange === 'function') {\n this.props.onNavigationStateChange(prevNav, nav, action);\n }\n }\n\n componentDidUpdate() {\n // Clear cached _navState every tick\n if (this._navState === this.state.nav) {\n this._navState = null;\n }\n }\n\n async componentDidMount() {\n this._isMounted = true;\n if (!this._isStateful()) {\n return;\n }\n\n if (__DEV__ && !this.props.detached) {\n if (_statefulContainerCount > 0) {\n // Temporarily only show this on iOS due to this issue:\n // https://github.com/react-navigation/react-navigation/issues/4196#issuecomment-390827829\n if (Platform.OS === 'ios') {\n console.warn(`You should only render one navigator explicitly in your app, and other navigators should be rendered by including them in that navigator. Full details at: ${docsUrl('common-mistakes.html#explicitly-rendering-more-than-one-navigator')}`);\n }\n }\n }\n _statefulContainerCount++;\n Linking.addEventListener('url', this._handleOpenURL);\n\n // Pull out anything that can impact state\n let parsedUrl = null;\n let userProvidedStartupState = null;\n if (this.props.enableURLHandling !== false) {\n ({\n parsedUrl,\n userProvidedStartupState\n } = await this.getStartupParams());\n }\n\n // Initialize state. This must be done *after* any async code\n // so we don't end up with a different value for this.state.nav\n // due to changes while async function was resolving\n let action = this._initialAction;\n let startupState = this.state.nav;\n if (!startupState && !userProvidedStartupState) {\n !!process.env.REACT_NAV_LOGGING && console.log('Init new Navigation State');\n startupState = Component.router.getStateForAction(action);\n }\n\n // Pull user-provided persisted state\n if (userProvidedStartupState) {\n startupState = userProvidedStartupState;\n _reactNavigationIsHydratingState = true;\n }\n\n // Pull state out of URL\n if (parsedUrl) {\n const { path, params } = parsedUrl;\n const urlAction = Component.router.getActionForPathAndParams(path, params);\n if (urlAction) {\n !!process.env.REACT_NAV_LOGGING && console.log('Applying Navigation Action for Initial URL:', parsedUrl);\n action = urlAction;\n startupState = Component.router.getStateForAction(urlAction, startupState);\n }\n }\n\n const dispatchActions = () => this._actionEventSubscribers.forEach(subscriber => subscriber({\n type: 'action',\n action,\n state: this.state.nav,\n lastState: null\n }));\n\n if (startupState === this.state.nav) {\n dispatchActions();\n return;\n }\n\n // eslint-disable-next-line react/no-did-mount-set-state\n this.setState({ nav: startupState }, () => {\n _reactNavigationIsHydratingState = false;\n dispatchActions();\n });\n }\n\n async getStartupParams() {\n const { uriPrefix, loadNavigationState } = this.props;\n let url, loadedNavState;\n try {\n [url, loadedNavState] = await Promise.all([Linking.getInitialURL(), loadNavigationState && loadNavigationState()]);\n } catch (err) {\n // ignore\n }\n return {\n parsedUrl: url && urlToPathAndParams(url, uriPrefix),\n userProvidedStartupState: loadedNavState\n };\n }\n\n componentDidCatch(e) {\n if (_reactNavigationIsHydratingState) {\n _reactNavigationIsHydratingState = false;\n console.warn('Uncaught exception while starting app from persisted navigation state! Trying to render again with a fresh navigation state...');\n this.dispatch(NavigationActions.init());\n } else {\n throw e;\n }\n }\n\n _persistNavigationState = async nav => {\n const { persistNavigationState } = this.props;\n if (persistNavigationState) {\n try {\n await persistNavigationState(nav);\n } catch (err) {\n console.warn('Uncaught exception while calling persistNavigationState()! You should handle exceptions thrown from persistNavigationState(), ignoring them may result in undefined behavior.');\n }\n }\n };\n\n componentWillUnmount() {\n this._isMounted = false;\n Linking.removeEventListener('url', this._handleOpenURL);\n this.subs && this.subs.remove();\n\n if (this._isStateful()) {\n _statefulContainerCount--;\n }\n }\n\n // Per-tick temporary storage for state.nav\n\n dispatch = action => {\n if (this.props.navigation) {\n return this.props.navigation.dispatch(action);\n }\n\n // navState will have the most up-to-date value, because setState sometimes behaves asyncronously\n this._navState = this._navState || this.state.nav;\n const lastNavState = this._navState;\n invariant(lastNavState, 'should be set in constructor if stateful');\n const reducedState = Component.router.getStateForAction(action, lastNavState);\n const navState = reducedState === null ? lastNavState : reducedState;\n\n const dispatchActionEvents = () => {\n this._actionEventSubscribers.forEach(subscriber => subscriber({\n type: 'action',\n action,\n state: navState,\n lastState: lastNavState\n }));\n };\n\n if (reducedState === null) {\n // The router will return null when action has been handled and the state hasn't changed.\n // dispatch returns true when something has been handled.\n dispatchActionEvents();\n return true;\n }\n\n if (navState !== lastNavState) {\n // Cache updates to state.nav during the tick to ensure that subsequent calls will not discard this change\n this._navState = navState;\n this.setState({ nav: navState }, () => {\n this._onNavigationStateChange(lastNavState, navState, action);\n dispatchActionEvents();\n this._persistNavigationState(navState);\n });\n return true;\n }\n\n dispatchActionEvents();\n return false;\n };\n\n _getScreenProps = () => this.props.screenProps;\n\n _getTheme = () => {\n if (this.props.theme === 'light' || this.props.theme === 'dark') {\n return this.props.theme;\n } else if (this.props.theme === 'no-preference') {\n return 'light';\n } else {\n console.warn(`Invalid theme provided: ${this.props.theme}. Only 'light' and 'dark' are supported. Falling back to 'light'`);\n return 'light';\n }\n };\n\n render() {\n let navigation = this.props.navigation;\n if (this._isStateful()) {\n const navState = this.state.nav;\n if (!navState) {\n return this._renderLoading();\n }\n if (!this._navigation || this._navigation.state !== navState) {\n this._navigation = getNavigation(Component.router, navState, this.dispatch, this._actionEventSubscribers, this._getScreenProps, () => this._navigation);\n }\n navigation = this._navigation;\n }\n invariant(navigation, 'failed to get navigation');\n\n return <ThemeProvider value={this._getTheme()}>\n <NavigationProvider value={navigation}>\n <Component {...this.props} navigation={navigation} />\n </NavigationProvider>\n </ThemeProvider>;\n }\n }\n\n return NavigationContainer;\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var ensurePositiveDelayProps=function ensurePositiveDelayProps(props){(0,_invariant.default)(!(props.delayPressIn<0||props.delayPressOut<0||props.delayLongPress<0),'Touchable components cannot have negative delay properties');};var _default=ensurePositiveDelayProps;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Touchable/ensurePositiveDelayProps.js"],"names":["ensurePositiveDelayProps","props","delayPressIn","delayPressOut","delayLongPress"],"mappings":"mKAQA,qEAEA,GAAIA,CAAAA,wBAAwB,CAAG,QAASA,CAAAA,wBAAT,CAAkCC,KAAlC,CAAyC,CACtE,uBAAU,EAAEA,KAAK,CAACC,YAAN,CAAqB,CAArB,EAA0BD,KAAK,CAACE,aAAN,CAAsB,CAAhD,EAAqDF,KAAK,CAACG,cAAN,CAAuB,CAA9E,CAAV,CAA4F,4DAA5F,EACD,CAFD,C,aAIeJ,wB","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\n\nvar ensurePositiveDelayProps = function ensurePositiveDelayProps(props) {\n invariant(!(props.delayPressIn < 0 || props.delayPressOut < 0 || props.delayLongPress < 0), 'Touchable components cannot have negative delay properties');\n};\n\nexport default ensurePositiveDelayProps;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _arrayFindIndex=_interopRequireDefault(require(\"array-find-index\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if(\"value\"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor;}var isPrefixed=_ExecutionEnvironment.canUseDOM&&!document.hasOwnProperty('hidden')&&document.hasOwnProperty('webkitHidden');var EVENT_TYPES=['change','memoryWarning'];var VISIBILITY_CHANGE_EVENT=isPrefixed?'webkitvisibilitychange':'visibilitychange';var VISIBILITY_STATE_PROPERTY=isPrefixed?'webkitVisibilityState':'visibilityState';var AppStates={BACKGROUND:'background',ACTIVE:'active'};var listeners=[];var AppState=function(){function AppState(){}AppState.addEventListener=function addEventListener(type,handler){if(AppState.isAvailable){(0,_invariant.default)(EVENT_TYPES.indexOf(type)!==-1,'Trying to subscribe to unknown event: \"%s\"',type);if(type==='change'){var callback=function callback(){return handler(AppState.currentState);};listeners.push([handler,callback]);document.addEventListener(VISIBILITY_CHANGE_EVENT,callback,false);}}};AppState.removeEventListener=function removeEventListener(type,handler){if(AppState.isAvailable){(0,_invariant.default)(EVENT_TYPES.indexOf(type)!==-1,'Trying to remove listener for unknown event: \"%s\"',type);if(type==='change'){var listenerIndex=(0,_arrayFindIndex.default)(listeners,function(pair){return pair[0]===handler;});(0,_invariant.default)(listenerIndex!==-1,'Trying to remove AppState listener for unregistered handler');var callback=listeners[listenerIndex][1];document.removeEventListener(VISIBILITY_CHANGE_EVENT,callback,false);listeners.splice(listenerIndex,1);}}};_createClass(AppState,null,[{key:\"currentState\",get:function get(){if(!AppState.isAvailable){return AppStates.ACTIVE;}switch(document[VISIBILITY_STATE_PROPERTY]){case'hidden':case'prerender':case'unloaded':return AppStates.BACKGROUND;default:return AppStates.ACTIVE;}}}]);return AppState;}();exports.default=AppState;AppState.isAvailable=_ExecutionEnvironment.canUseDOM&&document[VISIBILITY_STATE_PROPERTY];","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/AppState/index.js"],"names":["_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","Constructor","protoProps","staticProps","prototype","isPrefixed","canUseDOM","document","hasOwnProperty","EVENT_TYPES","VISIBILITY_CHANGE_EVENT","VISIBILITY_STATE_PROPERTY","AppStates","BACKGROUND","ACTIVE","listeners","AppState","addEventListener","type","handler","isAvailable","indexOf","callback","currentState","push","removeEventListener","listenerIndex","pair","splice","get"],"mappings":"mKAaA,mEACA,wEACA,qEAfA,QAASA,CAAAA,iBAAT,CAA2BC,MAA3B,CAAmCC,KAAnC,CAA0C,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGD,KAAK,CAACE,MAA1B,CAAkCD,CAAC,EAAnC,CAAuC,CAAE,GAAIE,CAAAA,UAAU,CAAGH,KAAK,CAACC,CAAD,CAAtB,CAA2BE,UAAU,CAACC,UAAX,CAAwBD,UAAU,CAACC,UAAX,EAAyB,KAAjD,CAAwDD,UAAU,CAACE,YAAX,CAA0B,IAA1B,CAAgC,GAAI,SAAWF,CAAAA,UAAf,CAA2BA,UAAU,CAACG,QAAX,CAAsB,IAAtB,CAA4BC,MAAM,CAACC,cAAP,CAAsBT,MAAtB,CAA8BI,UAAU,CAACM,GAAzC,CAA8CN,UAA9C,EAA4D,CAAE,CAE7T,QAASO,CAAAA,YAAT,CAAsBC,WAAtB,CAAmCC,UAAnC,CAA+CC,WAA/C,CAA4D,CAAE,GAAID,UAAJ,CAAgBd,iBAAiB,CAACa,WAAW,CAACG,SAAb,CAAwBF,UAAxB,CAAjB,CAAsD,GAAIC,WAAJ,CAAiBf,iBAAiB,CAACa,WAAD,CAAcE,WAAd,CAAjB,CAA6C,MAAOF,CAAAA,WAAP,CAAqB,CAevN,GAAII,CAAAA,UAAU,CAAGC,iCAAa,CAACC,QAAQ,CAAC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AC,CAAzC,CAA4C,mDAA5C,CAAiGA,IAAjG,EAEA,GAAIA,IAAI,GAAK,QAAb,CAAuB,CACrB,GAAIQ,CAAAA,aAAa,CAAG,4BAAUX,SAAV,CAAqB,SAAUY,IAAV,CAAgB,CACvD,MAAOA,CAAAA,IAAI,CAAC,CAAD,CAAJ,GAAYR,OAAnB,CACD,CAFmB,CAApB,CAGA,uBAAUO,aAAa,GAAK,CAAC,CAA7B,CAAgC,6DAAhC,EACA,GAAIJ,CAAAA,QAAQ,CAAGP,SAAS,CAACW,aAAD,CAAT,CAAyB,CAAzB,CAAf,CACAnB,QAAQ,CAACkB,mBAAT,CAA6Bf,uBAA7B,CAAsDY,QAAtD,CAAgE,KAAhE,EACAP,SAAS,CAACa,MAAV,CAAiBF,aAAjB,CAAgC,CAAhC,EACD,CACF,CACF,CAdD,CAgBA1B,YAAY,CAACgB,QAAD,CAAW,IAAX,CAAiB,CAAC,CAC5BjB,GAAG,CAAE,cADuB,CAE5B8B,GAAG,CAAE,QAASA,CAAAA,GAAT,EAAe,CAClB,GAAI,CAACb,QAAQ,CAACI,WAAd,CAA2B,CACzB,MAAOR,CAAAA,SAAS,CAACE,MAAjB,CACD,CAED,OAAQP,QAAQ,CAACI,yBAAD,CAAhB,EACE,IAAK,QAAL,CACA,IAAK,WAAL,CACA,IAAK,UAAL,CACE,MAAOC,CAAAA,SAAS,CAACC,UAAjB,CAEF,QACE,MAAOD,CAAAA,SAAS,CAACE,MAAjB,CAPJ,CASD,CAhB2B,CAAD,CAAjB,CAAZ,CAmBA,MAAOE,CAAAA,QAAP,CACD,CAtDD,EAFA,C,yBA0DAA,QAAQ,CAACI,WAAT,CAAuBd,iCAAaC,QAAQ,CAACI,yBAAD,CAA5C","sourcesContent":["function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport findIndex from 'array-find-index';\nimport invariant from 'fbjs/lib/invariant'; // Android 4.4 browser\n\nvar isPrefixed = canUseDOM && !document.hasOwnProperty('hidden') && document.hasOwnProperty('webkitHidden');\nvar EVENT_TYPES = ['change', 'memoryWarning'];\nvar VISIBILITY_CHANGE_EVENT = isPrefixed ? 'webkitvisibilitychange' : 'visibilitychange';\nvar VISIBILITY_STATE_PROPERTY = isPrefixed ? 'webkitVisibilityState' : 'visibilityState';\nvar AppStates = {\n BACKGROUND: 'background',\n ACTIVE: 'active'\n};\nvar listeners = [];\n\nvar AppState =\n/*#__PURE__*/\nfunction () {\n function AppState() {}\n\n AppState.addEventListener = function addEventListener(type, handler) {\n if (AppState.isAvailable) {\n invariant(EVENT_TYPES.indexOf(type) !== -1, 'Trying to subscribe to unknown event: \"%s\"', type);\n\n if (type === 'change') {\n var callback = function callback() {\n return handler(AppState.currentState);\n };\n\n listeners.push([handler, callback]);\n document.addEventListener(VISIBILITY_CHANGE_EVENT, callback, false);\n }\n }\n };\n\n AppState.removeEventListener = function removeEventListener(type, handler) {\n if (AppState.isAvailable) {\n invariant(EVENT_TYPES.indexOf(type) !== -1, 'Trying to remove listener for unknown event: \"%s\"', type);\n\n if (type === 'change') {\n var listenerIndex = findIndex(listeners, function (pair) {\n return pair[0] === handler;\n });\n invariant(listenerIndex !== -1, 'Trying to remove AppState listener for unregistered handler');\n var callback = listeners[listenerIndex][1];\n document.removeEventListener(VISIBILITY_CHANGE_EVENT, callback, false);\n listeners.splice(listenerIndex, 1);\n }\n }\n };\n\n _createClass(AppState, null, [{\n key: \"currentState\",\n get: function get() {\n if (!AppState.isAvailable) {\n return AppStates.ACTIVE;\n }\n\n switch (document[VISIBILITY_STATE_PROPERTY]) {\n case 'hidden':\n case 'prerender':\n case 'unloaded':\n return AppStates.BACKGROUND;\n\n default:\n return AppStates.ACTIVE;\n }\n }\n }]);\n\n return AppState;\n}();\n\nAppState.isAvailable = canUseDOM && document[VISIBILITY_STATE_PROPERTY];\nexport { AppState as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var buttonLikeRoles={button:true,menuitem:true};var _default=buttonLikeRoles;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AccessibilityUtil/buttonLikeRoles.js"],"names":["buttonLikeRoles","button","menuitem"],"mappings":"gFAQA,GAAIA,CAAAA,eAAe,CAAG,CAEpBC,MAAM,CAAE,IAFY,CAMpBC,QAAQ,CAAE,IANU,CAAtB,C,aAQeF,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar buttonLikeRoles = {\n // ARIA button behaves like native 'button' element\n button: true,\n // ARIA menuitem responds to Enter/Space like a button. Spec requires AT to\n // ignore ARIA roles of any children.\n // https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus\n menuitem: true\n};\nexport default buttonLikeRoles;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"function stiffnessFromOrigamiValue(oValue){return(oValue-30)*3.62+194;}function dampingFromOrigamiValue(oValue){return(oValue-8)*3+25;}function fromOrigamiTensionAndFriction(tension,friction){return{stiffness:stiffnessFromOrigamiValue(tension),damping:dampingFromOrigamiValue(friction)};}function fromBouncinessAndSpeed(bounciness,speed){function normalize(value,startValue,endValue){return(value-startValue)/(endValue-startValue);}function projectNormal(n,start,end){return start+n*(end-start);}function linearInterpolation(t,start,end){return t*end+(1-t)*start;}function quadraticOutInterpolation(t,start,end){return linearInterpolation(2*t-t*t,start,end);}function b3Friction1(x){return 0.0007*Math.pow(x,3)-0.031*Math.pow(x,2)+0.64*x+1.28;}function b3Friction2(x){return 0.000044*Math.pow(x,3)-0.006*Math.pow(x,2)+0.36*x+2;}function b3Friction3(x){return 0.00000045*Math.pow(x,3)-0.000332*Math.pow(x,2)+0.1078*x+5.84;}function b3Nobounce(tension){if(tension<=18){return b3Friction1(tension);}else if(tension>18&&tension<=44){return b3Friction2(tension);}else{return b3Friction3(tension);}}var b=normalize(bounciness/1.7,0,20);b=projectNormal(b,0,0.8);var s=normalize(speed/1.7,0,20);var bouncyTension=projectNormal(s,0.5,200);var bouncyFriction=quadraticOutInterpolation(b,b3Nobounce(bouncyTension),0.01);return{stiffness:stiffnessFromOrigamiValue(bouncyTension),damping:dampingFromOrigamiValue(bouncyFriction)};}module.exports={fromOrigamiTensionAndFriction:fromOrigamiTensionAndFriction,fromBouncinessAndSpeed:fromBouncinessAndSpeed};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/SpringConfig.js"],"names":["stiffnessFromOrigamiValue","oValue","dampingFromOrigamiValue","fromOrigamiTensionAndFriction","tension","friction","stiffness","damping","fromBouncinessAndSpeed","bounciness","speed","normalize","value","startValue","endValue","projectNormal","n","start","end","linearInterpolation","t","quadraticOutInterpolation","b3Friction1","x","Math","pow","b3Friction2","b3Friction3","b3Nobounce","b","s","bouncyTension","bouncyFriction","module","exports"],"mappings":"AAAA,QAASA,CAAAA,yBAAT,CAAmCC,MAAnC,CAA2C,CACzC,MAAO,CAACA,MAAM,CAAG,EAAV,EAAgB,IAAhB,CAAuB,GAA9B,CACD,CAED,QAASC,CAAAA,uBAAT,CAAiCD,MAAjC,CAAyC,CACvC,MAAO,CAACA,MAAM,CAAG,CAAV,EAAe,CAAf,CAAm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AAEL,uBAAuB,CAAC8B,cAAD,CAF3B,CAAP,CAID,CAEDC,MAAM,CAACC,OAAP,CAAiB,CACf/B,6BAA6B,CAA7BA,6BADe,CAEfK,sBAAsB,CAAtBA,sBAFe,CAAjB","sourcesContent":["function stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction fromOrigamiTensionAndFriction(tension, friction) {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction),\n };\n}\n\nfunction fromBouncinessAndSpeed(bounciness, speed) {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return (\n 0.00000045 * Math.pow(x, 3) -\n 0.000332 * Math.pow(x, 2) +\n 0.1078 * x +\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n var b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n var s = normalize(speed / 1.7, 0, 20);\n var bouncyTension = projectNormal(s, 0.5, 200);\n var bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01\n );\n\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction),\n };\n}\n\nmodule.exports = {\n fromOrigamiTensionAndFriction,\n fromBouncinessAndSpeed,\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableWithoutFeedback\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _color=_interopRequireDefault(require(\"color\"));var _theming=require(\"../../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/TouchableRipple/index.tsx\";var TouchableRipple=function(_React$Component){(0,_inherits2.default)(TouchableRipple,_React$Component);function TouchableRipple(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TouchableRipple);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TouchableRipple)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.handlePressIn=function(e){var _this$props=_this.props,centered=_this$props.centered,rippleColor=_this$props.rippleColor,onPressIn=_this$props.onPressIn,theme=_this$props.theme;onPressIn&&onPressIn(e);var dark=theme.dark,colors=theme.colors;var calculatedRippleColor=rippleColor||(0,_color.default)(colors.text).alpha(dark?0.32:0.2).rgb().string();var button=e.currentTarget;var style=window.getComputedStyle(button);var dimensions=button.getBoundingClientRect();var touchX;var touchY;if(centered){touchX=dimensions.width/2;touchY=dimensions.height/2;}else{var startX=e.nativeEvent.touches?e.nativeEvent.touches[0].pageX:e.pageX;var startY=e.nativeEvent.touches?e.nativeEvent.touches[0].pageY:e.pageY;touchX=startX-dimensions.left;touchY=startY-dimensions.top;}var size=centered?Math.min(dimensions.width,dimensions.height)*1.25:Math.max(dimensions.width,dimensions.height)*2;var container=document.createElement('span');container.setAttribute('data-paper-ripple','');(0,_extends2.default)(container.style,{position:'absolute',pointerEvents:'none',top:'0',left:'0',right:'0',bottom:'0',borderTopLeftRadius:style.borderTopLeftRadius,borderTopRightRadius:style.borderTopRightRadius,borderBottomRightRadius:style.borderBottomRightRadius,borderBottomLeftRadius:style.borderBottomLeftRadius,overflow:centered?'visible':'hidden'});var ripple=document.createElement('span');(0,_extends2.default)(ripple.style,{position:'absolute',pointerEvents:'none',backgroundColor:calculatedRippleColor,borderRadius:'50%',transitionProperty:'transform opacity',transitionDuration:Math.min(size*1.5,350)+\"ms\",transitionTimingFunction:'linear',transformOrigin:'center',transform:'translate3d(-50%, -50%, 0) scale3d(0.1, 0.1, 0.1)',opacity:'0.5',left:touchX+\"px\",top:touchY+\"px\",width:size+\"px\",height:size+\"px\"});container.appendChild(ripple);button.appendChild(container);requestAnimationFrame(function(){requestAnimationFrame(function(){(0,_extends2.default)(ripple.style,{transform:'translate3d(-50%, -50%, 0) scale3d(1, 1, 1)',opacity:'1'});});});};_this.handlePressOut=function(e){_this.props.onPressOut&&_this.props.onPressOut(e);var containers=e.currentTarget.querySelectorAll('[data-paper-ripple]');requestAnimationFrame(function(){requestAnimationFrame(function(){containers.forEach(function(container){var ripple=container.firstChild;(0,_extends2.default)(ripple.style,{transitionDuration:'250ms',opacity:0});setTimeout(function(){var parentNode=container.parentNode;if(parentNode){parentNode.removeChild(container);}},500);});});});};return _this;}(0,_createClass2.default)(TouchableRipple,[{key:\"render\",value:function render(){var _this$props2=this.props,style=_this$props2.style,background=_this$props2.background,borderless=_this$props2.borderless,disabledProp=_this$props2.disabled,rippleColor=_this$props2.rippleColor,underlayColor=_this$props2.underlayColor,children=_this$props2.children,theme=_this$props2.theme,rest=(0,_objectWithoutProperties2.default)(_this$props2,[\"style\",\"background\",\"borderless\",\"disabled\",\"rippleColor\",\"underlayColor\",\"children\",\"theme\"]);var disabled=disabledProp||!this.props.onPress;return React.createElement(_TouchableWithoutFeedback.default,(0,_extends2.default)({},rest,{onPressIn:this.handlePressIn,onPressOut:this.handlePressOut,disabled:disabled,__source:{fileName:_jsxFileName,lineNumber:246}}),React.createElement(_View.default,{style:[styles.touchable,borderless&&styles.borderless,style],__source:{fileName:_jsxFileName,lineNumber:252}},React.Children.only(children)));}}]);return TouchableRipple;}(React.Component);TouchableRipple.defaultProps={borderless:false};TouchableRipple.supported=true;var styles=_StyleSheet.default.create({touchable:{position:'relative'},borderless:{overflow:'hidden'}});var _default=(0,_theming.withTheme)(TouchableRipple);exports.default=_default;","map":{"version":3,"sources":["index.tsx"],"names":["TouchableRipple","React","Component","defaultProps","borderless","supported","handlePressIn","centered","rippleColor","onPressIn","theme","dark","colors","calculatedRippleColor","color","button","e","style","window","dimensions","touchX","touchY","startX","startY","size","Math","container","document","position","pointerEvents","top","left","right","bottom","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","overflow","ripple","backgroundColor","borderRadius","transitionProperty","transitionDuration","transitionTimingFunction","transformOrigin","transform","opacity","width","height","requestAnimationFrame","handlePressOut","containers","setTimeout","parentNode","background","disabledProp","underlayColor","children","rest","disabled","styles","StyleSheet","touchable","withTheme"],"mappings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A,CAAA,GAAA,CAAA,CAAA,CAGG5D,KAAK,CAALA,QAAAA,CAAAA,IAAAA,CAVP,QAUOA,CAHH,CANF,CADF,C,8BApK0BA,KAAK,CAACC,S,CAA9BF,CAAAA,e,CACGG,YADHH,CACkB,CACpBI,UAAU,CADU,KAAA,CADlBJ,CAAAA,e,CAQGK,SARHL,CAQe,IARfA,CAqLN,GAAM6D,CAAAA,MAAM,CAAGC,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTnC,QAAQ,CAFqB,UACpB,CADoB,CAI/BxB,UAAU,CAAE,CACVkC,QAAQ,CALZ,QAIc,CAJmB,CAAlBwB,CAAf,C,aASeE,uBAAf,eAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n TouchableWithoutFeedback,\n View,\n ViewStyle,\n StyleSheet,\n StyleProp,\n} from 'react-native';\nimport color from 'color';\nimport { withTheme } from '../../core/theming';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof TouchableWithoutFeedback> & {\n /**\n * Whether to render the ripple outside the view bounds.\n */\n borderless?: boolean;\n /**\n * Type of background drawabale to display the feedback (Android).\n * https://facebook.github.io/react-native/docs/touchablenativefeedback.html#background\n */\n background?: Object;\n /**\n * Whether to start the ripple at the center (Web).\n */\n centered?: boolean;\n /**\n * Whether to prevent interaction with the touchable.\n */\n disabled?: boolean;\n /**\n * Function to execute on press. If not set, will cause the touchable to be disabled.\n */\n onPress?: () => void | null;\n /**\n * Function to execute on long press.\n */\n onLongPress?: () => void;\n /**\n * Color of the ripple effect (Android >= 5.0 and Web).\n */\n rippleColor?: string;\n /**\n * Color of the underlay for the highlight effect (Android < 5.0 and iOS).\n */\n underlayColor?: string;\n /**\n * Content of the `TouchableRipple`.\n */\n children: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * A wrapper for views that should respond to touches.\n * Provides a material \"ink ripple\" interaction effect for supported platforms (>= Android Lollipop).\n * On unsupported platforms, it falls back to a highlight effect.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { View } from 'react-native';\n * import { Text, TouchableRipple } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <TouchableRipple\n * onPress={() => console.log('Pressed')}\n * rippleColor=\"rgba(0, 0, 0, .32)\"\n * >\n * <Text>Press me</Text>\n * </TouchableRipple>\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass TouchableRipple extends React.Component<Props> {\n static defaultProps = {\n borderless: false,\n };\n\n /**\n * Whether ripple effect is supported.\n */\n static supported = true;\n\n private handlePressIn = (e: any) => {\n const { centered, rippleColor, onPressIn, theme } = this.props;\n\n onPressIn && onPressIn(e);\n\n const { dark, colors } = theme;\n const calculatedRippleColor =\n rippleColor ||\n color(colors.text)\n .alpha(dark ? 0.32 : 0.2)\n .rgb()\n .string();\n\n const button = e.currentTarget;\n const style = window.getComputedStyle(button);\n const dimensions = button.getBoundingClientRect();\n\n let touchX;\n let touchY;\n\n if (centered) {\n touchX = dimensions.width / 2;\n touchY = dimensions.height / 2;\n } else {\n const startX = e.nativeEvent.touches\n ? e.nativeEvent.touches[0].pageX\n : e.pageX;\n const startY = e.nativeEvent.touches\n ? e.nativeEvent.touches[0].pageY\n : e.pageY;\n\n touchX = startX - dimensions.left;\n touchY = startY - dimensions.top;\n }\n\n // Get the size of the button to determine how big the ripple should be\n const size = centered\n ? // If ripple is always centered, we don't need to make it too big\n Math.min(dimensions.width, dimensions.height) * 1.25\n : // Otherwise make it twice as big so clicking on one end spreads ripple to other\n Math.max(dimensions.width, dimensions.height) * 2;\n\n // Create a container for our ripple effect so we don't need to change the parent's style\n const container = document.createElement('span');\n\n container.setAttribute('data-paper-ripple', '');\n\n Object.assign(container.style, {\n position: 'absolute',\n pointerEvents: 'none',\n top: '0',\n left: '0',\n right: '0',\n bottom: '0',\n borderTopLeftRadius: style.borderTopLeftRadius,\n borderTopRightRadius: style.borderTopRightRadius,\n borderBottomRightRadius: style.borderBottomRightRadius,\n borderBottomLeftRadius: style.borderBottomLeftRadius,\n overflow: centered ? 'visible' : 'hidden',\n });\n\n // Create span to show the ripple effect\n const ripple = document.createElement('span');\n\n Object.assign(ripple.style, {\n position: 'absolute',\n pointerEvents: 'none',\n backgroundColor: calculatedRippleColor,\n borderRadius: '50%',\n\n /* Transition configuration */\n transitionProperty: 'transform opacity',\n transitionDuration: `${Math.min(size * 1.5, 350)}ms`,\n transitionTimingFunction: 'linear',\n transformOrigin: 'center',\n\n /* We'll animate these properties */\n transform: 'translate3d(-50%, -50%, 0) scale3d(0.1, 0.1, 0.1)',\n opacity: '0.5',\n\n // Position the ripple where cursor was\n left: `${touchX}px`,\n top: `${touchY}px`,\n width: `${size}px`,\n height: `${size}px`,\n });\n\n // Finally, append it to DOM\n container.appendChild(ripple);\n button.appendChild(container);\n\n // rAF runs in the same frame as the event handler\n // Use double rAF to ensure the transition class is added in next frame\n // This will make sure that the transition animation is triggered\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n Object.assign(ripple.style, {\n transform: 'translate3d(-50%, -50%, 0) scale3d(1, 1, 1)',\n opacity: '1',\n });\n });\n });\n };\n\n private handlePressOut = (e: any) => {\n this.props.onPressOut && this.props.onPressOut(e);\n\n const containers = e.currentTarget.querySelectorAll(\n '[data-paper-ripple]'\n ) as HTMLElement[];\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n containers.forEach(container => {\n // @ts-ignore\n const ripple = container.firstChild;\n\n // @ts-ignore\n Object.assign(ripple.style, {\n transitionDuration: '250ms',\n opacity: 0,\n });\n\n // Finally remove the span after the transition\n setTimeout(() => {\n // @ts-ignore\n const { parentNode } = container;\n\n if (parentNode) {\n parentNode.removeChild(container);\n }\n }, 500);\n });\n });\n });\n };\n\n render() {\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const {\n style,\n background,\n borderless,\n disabled: disabledProp,\n rippleColor,\n underlayColor,\n children,\n theme,\n ...rest\n } = this.props;\n /* eslint-enable @typescript-eslint/no-unused-vars */\n\n const disabled = disabledProp || !this.props.onPress;\n\n return (\n <TouchableWithoutFeedback\n {...rest}\n onPressIn={this.handlePressIn}\n onPressOut={this.handlePressOut}\n disabled={disabled}\n >\n <View\n style={[styles.touchable, borderless && styles.borderless, style]}\n >\n {React.Children.only(children)}\n </View>\n </TouchableWithoutFeedback>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n touchable: {\n position: 'relative',\n },\n borderless: {\n overflow: 'hidden',\n },\n});\n\nexport default withTheme(TouchableRipple);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _reactIs=require(\"react-is\");var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));function validateRouteConfigMap(routeConfigs){var routeNames=Object.keys(routeConfigs);(0,_invariant.default)(routeNames.length>0,'Please specify at least one route when configuring a navigator.');routeNames.forEach(function(routeName){var routeConfig=routeConfigs[routeName];var screenComponent=getScreenComponent(routeConfig);if(!screenComponent||!(0,_reactIs.isValidElementType)(screenComponent)&&!routeConfig.getScreen){throw new Error(\"The component for route '\"+routeName+\"' must be a React component. For example:\\n\\nimport MyScreen from './MyScreen';\\n...\\n\"+routeName+\": MyScreen,\\n}\\n\\nYou can also use a navigator:\\n\\nimport MyNavigator from './MyNavigator';\\n...\\n\"+routeName+\": MyNavigator,\\n}\");}if(routeConfig.screen&&routeConfig.getScreen){throw new Error(\"Route '\"+routeName+\"' should declare a screen or a getScreen, not both.\");}});}function getScreenComponent(routeConfig){if(!routeConfig){return null;}return routeConfig.screen?routeConfig.screen:routeConfig;}var _default=validateRouteConfigMap;exports.default=_default;","map":{"version":3,"sources":["validateRouteConfigMap.js"],"names":["routeNames","Object","invariant","routeConfig","routeConfigs","screenComponent","getScreenComponent","isValidElementType"],"mappings":"mKAAA,iCAEA,qEAMA,QAAA,CAAA,sBAAA,CAAA,YAAA,CAA8C,CAC5C,GAAMA,CAAAA,UAAU,CAAGC,MAAM,CAANA,IAAAA,CAAnB,YAAmBA,CAAnB,CACAC,uBACEF,UAAU,CAAVA,MAAAA,CADO,CAATE,CAAAA,iEAAAA,EAKAF,UAAU,CAAVA,OAAAA,CAAmB,SAAA,SAAA,CAAa,CAC9B,GAAMG,CAAAA,WAAW,CAAGC,YAAY,CAAhC,SAAgC,CAAhC,CACA,GAAMC,CAAAA,eAAe,CAAGC,kBAAkB,CAA1C,WAA0C,CAA1C,CAEA,GACE,CAAA,eAAA,EACC,CAACC,gCAAD,eAACA,CAAD,EAAwC,CAACJ,WAAW,CAFvD,SAAA,CAGE,CACA,KAAM,IAAA,CAAA,KAAA,CAAA,4BAAA,SAAA,CAAA,wFAAA,CAAA,SAAA,CAAA,oGAAA,CAAA,SAAA,CAAN,mBAAM,CAAN,CAeF,IAAIA,WAAW,CAAXA,MAAAA,EAAsBA,WAAW,CAArC,SAAA,CAAiD,CAC/C,KAAM,IAAA,CAAA,KAAA,CAAA,UAAA,SAAA,CAAN,qDAAM,CAAN,CAIH,CA5BDH,CAAAA,EA+BF,SAAA,CAAA,kBAAA,CAAA,WAAA,CAAyC,CACvC,GAAI,CAAJ,WAAA,CAAkB,CAChB,MAAA,KAAA,CAGF,OAAOG,CAAAA,WAAW,CAAXA,MAAAA,CAAqBA,WAAW,CAAhCA,MAAAA,CAAP,WAAA,CAGF,C,aAAA,sB","sourcesContent":["import { isValidElementType } from 'react-is';\n\nimport invariant from '../utils/invariant';\n\n/**\n * Make sure the config passed e.g. to StackRouter, TabRouter has\n * the correct format, and throw a clear error if it doesn't.\n */\nfunction validateRouteConfigMap(routeConfigs) {\n const routeNames = Object.keys(routeConfigs);\n invariant(\n routeNames.length > 0,\n 'Please specify at least one route when configuring a navigator.'\n );\n\n routeNames.forEach(routeName => {\n const routeConfig = routeConfigs[routeName];\n const screenComponent = getScreenComponent(routeConfig);\n\n if (\n !screenComponent ||\n (!isValidElementType(screenComponent) && !routeConfig.getScreen)\n ) {\n throw new Error(`The component for route '${routeName}' must be a React component. For example:\n\nimport MyScreen from './MyScreen';\n...\n${routeName}: MyScreen,\n}\n\nYou can also use a navigator:\n\nimport MyNavigator from './MyNavigator';\n...\n${routeName}: MyNavigator,\n}`);\n }\n\n if (routeConfig.screen && routeConfig.getScreen) {\n throw new Error(\n `Route '${routeName}' should declare a screen or a getScreen, not both.`\n );\n }\n });\n}\n\nfunction getScreenComponent(routeConfig) {\n if (!routeConfig) {\n return null;\n }\n\n return routeConfig.screen ? routeConfig.screen : routeConfig;\n}\n\nexport default validateRouteConfigMap;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimationPropTypes=_interopRequireDefault(require(\"../../modules/AnimationPropTypes\"));var _BorderPropTypes=_interopRequireDefault(require(\"../../modules/BorderPropTypes\"));var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _InteractionPropTypes=_interopRequireDefault(require(\"../../modules/InteractionPropTypes\"));var _LayoutPropTypes=_interopRequireDefault(require(\"../../modules/LayoutPropTypes\"));var _ShadowPropTypes=_interopRequireDefault(require(\"../../modules/ShadowPropTypes\"));var _TransformPropTypes=_interopRequireDefault(require(\"../../modules/TransformPropTypes\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var stringOrNumber=(0,_propTypes.oneOfType)([_propTypes.string,_propTypes.number]);var overscrollBehaviorType=(0,_propTypes.oneOf)(['auto','contain','none']);var ViewStylePropTypes=_objectSpread({},_AnimationPropTypes.default,_BorderPropTypes.default,_InteractionPropTypes.default,_LayoutPropTypes.default,_ShadowPropTypes.default,_TransformPropTypes.default,{backgroundColor:_ColorPropType.default,opacity:_propTypes.number,elevation:_propTypes.number,backdropFilter:_propTypes.string,backgroundAttachment:_propTypes.string,backgroundBlendMode:_propTypes.string,backgroundClip:_propTypes.string,backgroundImage:_propTypes.string,backgroundOrigin:(0,_propTypes.oneOf)(['border-box','content-box','padding-box']),backgroundPosition:_propTypes.string,backgroundRepeat:_propTypes.string,backgroundSize:_propTypes.string,boxShadow:_propTypes.string,clip:_propTypes.string,filter:_propTypes.string,outlineColor:_ColorPropType.default,outlineOffset:stringOrNumber,outlineStyle:_propTypes.string,outlineWidth:stringOrNumber,overscrollBehavior:overscrollBehaviorType,overscrollBehaviorX:overscrollBehaviorType,overscrollBehaviorY:overscrollBehaviorType,scrollbarWidth:(0,_propTypes.oneOf)(['auto','none']),scrollSnapAlign:_propTypes.string,scrollSnapType:_propTypes.string,WebkitMaskImage:_propTypes.string,WebkitOverflowScrolling:(0,_propTypes.oneOf)(['auto','touch'])});var _default=ViewStylePropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/View/ViewStylePropTypes.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","stringOrNumber","string","number","overscrollBehaviorType","ViewStylePropTypes","AnimationPropTypes","BorderPropTypes","InteractionPropTypes","LayoutPropTypes","ShadowPropTypes","TransformPropTypes","backgroundColor","ColorPropType","opacity","elevation","backdropFilter","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundImage","backgroundOrigin","backgroundPosition","backgroundRepeat","backgroundSize","boxShadow","clip","outlineColor","outlineOffset","outlineStyle","outlineWidth","overscrollBehavior","overscrollBehaviorX","overscrollBehaviorY","scrollbarWidth","scrollSnapAlign","scrollSnapType","WebkitMaskImage","WebkitOverflowScrolling"],"mappings":"mKAaA,4FACA,sFACA,uEACA,gGACA,sFACA,sFACA,4FACA,qCApBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,CAApB,CAAf,CAA4C,CAA7E,EAAiF,CAAC,MAAOf,CAAAA,MAAP,CAAgB,CAEje,QAASgB,CAAAA,eAAT,CAAyBC,GAAzB,CAA8BF,GAA9B,CAAmCG,KAAnC,CAA0C,CAAE,GAAIH,GAAG,GAAIE,CAAAA,GAAX,CAAgB,CAAEX,MAAM,CAACa,cAAP,CAAsBF,GAAtB,CAA2B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1J4B,YAAY,CAAE7B,cA3B4I,CA4B1J8B,kBAAkB,CAAE3B,sBA5BsI,CA6B1J4B,mBAAmB,CAAE5B,sBA7BqI,CA8B1J6B,mBAAmB,CAAE7B,sBA9BqI,CA+B1J8B,cAAc,CAAE,qBAAM,CAAC,MAAD,CAAS,MAAT,CAAN,CA/B0I,CAgC1JC,eAAe,CAAEjC,iBAhCyI,CAiC1JkC,cAAc,CAAElC,iBAjC0I,CAkC1JmC,eAAe,CAAEnC,iBAlCyI,CAmC1JoC,uBAAuB,CAAE,qBAAM,CAAC,MAAD,CAAS,OAAT,CAAN,CAnCiI,CAAtH,CAAtC,C,aAsCejC,kB","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AnimationPropTypes from '../../modules/AnimationPropTypes';\nimport BorderPropTypes from '../../modules/BorderPropTypes';\nimport ColorPropType from '../ColorPropType';\nimport InteractionPropTypes from '../../modules/InteractionPropTypes';\nimport LayoutPropTypes from '../../modules/LayoutPropTypes';\nimport ShadowPropTypes from '../../modules/ShadowPropTypes';\nimport TransformPropTypes from '../../modules/TransformPropTypes';\nimport { number, oneOf, oneOfType, string } from 'prop-types';\nvar stringOrNumber = oneOfType([string, number]);\nvar overscrollBehaviorType = oneOf(['auto', 'contain', 'none']);\n\nvar ViewStylePropTypes = _objectSpread({}, AnimationPropTypes, BorderPropTypes, InteractionPropTypes, LayoutPropTypes, ShadowPropTypes, TransformPropTypes, {\n backgroundColor: ColorPropType,\n opacity: number,\n\n /**\n * @platform unsupported\n */\n elevation: number,\n\n /**\n * @platform web\n */\n backdropFilter: string,\n backgroundAttachment: string,\n backgroundBlendMode: string,\n backgroundClip: string,\n backgroundImage: string,\n backgroundOrigin: oneOf(['border-box', 'content-box', 'padding-box']),\n backgroundPosition: string,\n backgroundRepeat: string,\n backgroundSize: string,\n boxShadow: string,\n clip: string,\n filter: string,\n outlineColor: ColorPropType,\n outlineOffset: stringOrNumber,\n outlineStyle: string,\n outlineWidth: stringOrNumber,\n overscrollBehavior: overscrollBehaviorType,\n overscrollBehaviorX: overscrollBehaviorType,\n overscrollBehaviorY: overscrollBehaviorType,\n scrollbarWidth: oneOf(['auto', 'none']),\n scrollSnapAlign: string,\n scrollSnapType: string,\n WebkitMaskImage: string,\n WebkitOverflowScrolling: oneOf(['auto', 'touch'])\n});\n\nexport default ViewStylePropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;function murmurhash2_32_gc(str,seed){var l=str.length,h=seed^l,i=0,k;while(l>=4){k=str.charCodeAt(i)&0xff|(str.charCodeAt(++i)&0xff)<<8|(str.charCodeAt(++i)&0xff)<<16|(str.charCodeAt(++i)&0xff)<<24;k=(k&0xffff)*0x5bd1e995+(((k>>>16)*0x5bd1e995&0xffff)<<16);k^=k>>>24;k=(k&0xffff)*0x5bd1e995+(((k>>>16)*0x5bd1e995&0xffff)<<16);h=(h&0xffff)*0x5bd1e995+(((h>>>16)*0x5bd1e995&0xffff)<<16)^k;l-=4;++i;}switch(l){case 3:h^=(str.charCodeAt(i+2)&0xff)<<16;case 2:h^=(str.charCodeAt(i+1)&0xff)<<8;case 1:h^=str.charCodeAt(i)&0xff;h=(h&0xffff)*0x5bd1e995+(((h>>>16)*0x5bd1e995&0xffff)<<16);}h^=h>>>13;h=(h&0xffff)*0x5bd1e995+(((h>>>16)*0x5bd1e995&0xffff)<<16);h^=h>>>15;return h>>>0;}var hash=function hash(str){return murmurhash2_32_gc(str,1).toString(36);};var _default=hash;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/hash/index.js"],"names":["murmurhash2_32_gc","str","seed","l","length","h","i","k","charCodeAt","hash","toString"],"mappings":"gFAcA,QAASA,CAAAA,iBAAT,CAA2BC,GAA3B,CAAgCC,IAAhC,CAAsC,CACpC,GAAIC,CAAAA,CAAC,CAAGF,GAAG,CAACG,MAAZ,CACIC,CAAC,CAAGH,IAAI,CAAGC,CADf,CAEIG,CAAC,CAAG,CAFR,CAGIC,CAHJ,CAKA,MAAOJ,CAAC,EAAI,CAAZ,CAAe,CACbI,CAAC,CAAGN,GAAG,CAACO,UAAJ,CAAeF,CAAf,EAAoB,IAApB,CAA2B,CAACL,GAAG,CAACO,UAAJ,CAAe,EAAEF,CAAjB,EAAsB,IAAvB,GAAgC,CAA3D,CAA+D,CAACL,GAAG,CAACO,UAAJ,CAAe,EAAEF,CAAjB,EAAsB,IAAvB,GAAgC,EAA/F,CAAoG,CAACL,GAAG,CAACO,UAAJ,CAAe,EAAEF,CAAjB,EAAsB,IAAvB,GAAgC,EAAxI,CACAC,CAAC,CAAG,CAACA,CAAC,CAAG,MAAL,EAAe,UAAf,EAA6B,CAAC,CAACA,CAAC,GAAK,EAAP,EAAa,UAAb,CAA0B,MAA3B,GAAsC,EAAnE,CAAJ,CACAA,CAAC,EAAIA,CAAC,GAAK,EAAX,CACAA,CAAC,CAAG,CAACA,CAAC,CAAG,MAAL,EAAe,UAAf,EAA6B,CAAC,CAACA,CAAC,GAAK,EAAP,EAAa,UAAb,CAA0B,MAA3B,GAAsC,EAAnE,CAAJ,CACAF,CAAC,CAAG,CAACA,CAAC,CAAG,MAAL,EAAe,UAAf,EAA6B,CAAC,CAACA,CAAC,GAAK,EAAP,EAAa,UAAb,CAA0B,MAA3B,GAAsC,EAAnE,EAAyEE,CAA7E,CACAJ,CAAC,EAAI,CAAL,CACA,EAAEG,CAAF,CACD,CAED,OAAQH,CAAR,EACE,IAAK,EAAL,CACEE,CAAC,EAAI,CAACJ,GAAG,CAACO,UAAJ,CAAeF,CAAC,CAAG,CAAnB,EAAwB,IAAzB,GAAkC,EAAvC,CAEF,IAAK,EAAL,CACED,CAAC,EAAI,CAACJ,GAAG,CAACO,UAAJ,CAAeF,CAAC,CAAG,CAAnB,EAAwB,IAAzB,GAAkC,CAAvC,CAEF,IAAK,EAAL,CACED,CAAC,EAAIJ,GAAG,CAACO,UAAJ,CAAeF,CAAf,EAAoB,IAAzB,CACAD,CAAC,CAAG,CAACA,CAAC,CAAG,MAAL,EAAe,UAAf,EAA6B,CAAC,CAACA,CAAC,GAAK,EAAP,EAAa,UAAb,CAA0B,MAA3B,GAAsC,EAAnE,CAAJ,CATJ,CAYAA,CAAC,EAAIA,CAAC,GAAK,EAAX,CACAA,CAAC,CAAG,CAACA,CAAC,CAAG,MAAL,EAAe,UAAf,EAA6B,CAAC,CAACA,CAAC,GAAK,EAAP,EAAa,UAAb,CAA0B,MAA3B,GAAsC,EAAnE,CAAJ,CACAA,CAAC,EAAIA,CAAC,GAAK,EAAX,CACA,MAAOA,CAAAA,CAAC,GAAK,CAAb,CACD,CAED,GAAII,CAAAA,IAAI,CAAG,QAASA,CAAAA,IAAT,CAAcR,GAAd,CAAmB,CAC5B,MAAOD,CAAAA,iBAAiB,CAACC,GAAD,CAAM,CAAN,CAAjB,CAA0BS,QAA1B,CAAmC,EAAnC,CAAP,CACD,CAFD,C,aAIeD,I","sourcesContent":["/* eslint-disable */\n\n/**\n * JS Implementation of MurmurHash2\n *\n * @author <a href=\"mailto:gary.court@gmail.com\">Gary Court</a>\n * @see http://github.com/garycourt/murmurhash-js\n * @author <a href=\"mailto:aappleby@gmail.com\">Austin Appleby</a>\n * @see http://sites.google.com/site/murmurhash/\n *\n * @param {string} str ASCII only\n * @param {number} seed Positive integer only\n * @return {number} 32-bit positive integer hash\n */\nfunction murmurhash2_32_gc(str, seed) {\n var l = str.length,\n h = seed ^ l,\n i = 0,\n k;\n\n while (l >= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n k ^= k >>> 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16) ^ k;\n l -= 4;\n ++i;\n }\n\n switch (l) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n }\n\n h ^= h >>> 13;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h ^= h >>> 15;\n return h >>> 0;\n}\n\nvar hash = function hash(str) {\n return murmurhash2_32_gc(str, 1).toString(36);\n};\n\nexport default hash;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default={};exports.default=_default;","map":{"version":3,"sources":["../src/NativeModulesProxy.web.ts"],"names":[],"mappings":"6FAAe,E","sourcesContent":["export default {};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _getChildEventSubscriber=_interopRequireDefault(require(\"./getChildEventSubscriber\"));var _getChildRouter=_interopRequireDefault(require(\"./getChildRouter\"));var _getNavigationActionCreators=_interopRequireDefault(require(\"./routers/getNavigationActionCreators\"));var _getChildrenNavigationCache=_interopRequireDefault(require(\"./getChildrenNavigationCache\"));var createParamGetter=function createParamGetter(route){return function(paramName,defaultValue){var params=route.params;if(params&&paramName in params){return params[paramName];}return defaultValue;};};function _getChildNavigation(navigation,childKey,getCurrentParentNavigation){var children=(0,_getChildrenNavigationCache.default)(navigation);var childRoute=navigation.state.routes.find(function(r){return r.key===childKey;});if(!childRoute){return null;}if(children[childKey]&&children[childKey].state===childRoute){return children[childKey];}var childRouter=(0,_getChildRouter.default)(navigation.router,childRoute.routeName);var focusedGrandChildRoute=childRoute.routes&&typeof childRoute.index==='number'?childRoute.routes[childRoute.index]:null;var actionCreators=(0,_objectSpread2.default)({},navigation.actions,navigation.router.getActionCreators(childRoute,navigation.state.key),childRouter?childRouter.getActionCreators(focusedGrandChildRoute,childRoute.key):{},(0,_getNavigationActionCreators.default)(childRoute));var actionHelpers={};Object.keys(actionCreators).forEach(function(actionName){actionHelpers[actionName]=function(){var actionCreator=actionCreators[actionName];var action=actionCreator.apply(void 0,arguments);return navigation.dispatch(action);};});var _isFirstRouteInParent=true;var parentNavigation=getCurrentParentNavigation();if(parentNavigation){_isFirstRouteInParent=parentNavigation.state.routes.indexOf(childRoute)===0;}if(children[childKey]&&children[childKey].isFirstRouteInParent()===_isFirstRouteInParent){children[childKey]=(0,_objectSpread2.default)({},children[childKey],actionHelpers,{state:childRoute,router:childRouter,actions:actionCreators,getParam:createParamGetter(childRoute)});return children[childKey];}else{var childSubscriber=(0,_getChildEventSubscriber.default)(navigation.addListener,childKey);children[childKey]=(0,_objectSpread2.default)({},actionHelpers,{state:childRoute,router:childRouter,actions:actionCreators,getParam:createParamGetter(childRoute),getChildNavigation:function getChildNavigation(grandChildKey){return _getChildNavigation(children[childKey],grandChildKey,function(){var nav=getCurrentParentNavigation();return nav&&nav.getChildNavigation(childKey);});},isFocused:function isFocused(){var currentNavigation=getCurrentParentNavigation();if(!currentNavigation){return false;}var _currentNavigation$st=currentNavigation.state,routes=_currentNavigation$st.routes,index=_currentNavigation$st.index;if(!currentNavigation.isFocused()){return false;}if(routes[index].key===childKey){return true;}return false;},isFirstRouteInParent:function isFirstRouteInParent(){return _isFirstRouteInParent;},dispatch:navigation.dispatch,getScreenProps:navigation.getScreenProps,dangerouslyGetParent:getCurrentParentNavigation,addListener:childSubscriber.addListener,emit:childSubscriber.emit});return children[childKey];}}var _default=_getChildNavigation;exports.default=_default;","map":{"version":3,"sources":["getChildNavigation.js"],"names":["createParamGetter","params","route","paramName","children","getChildrenNavigationCache","childRoute","navigation","r","childRouter","getChildRouter","focusedGrandChildRoute","actionCreators","getNavigationActionCreators","actionHelpers","Object","actionCreator","action","isFirstRouteInParent","parentNavigation","getCurrentParentNavigation","state","router","actions","getParam","childSubscriber","getChildEventSubscriber","getChildNavigation","nav","isFocused","currentNavigation","routes","index","dispatch","getScreenProps","dangerouslyGetParent","addListener","emit"],"mappings":"6PAAA,0FACA,wEACA,0GACA,gGAEA,GAAMA,CAAAA,iBAAiB,CAAjBA,QAAAA,CAAAA,iBAAAA,CAAoB,KAApBA,CAAyB,CAAA,MAAI,UAAA,SAAA,CAAA,YAAA,CAA6B,CAC9D,GAAMC,CAAAA,MAAM,CAAGC,KAAK,CAApB,MAAA,CAEA,GAAID,MAAM,EAAIE,SAAS,GAAvB,CAAA,MAAA,CAAmC,CACjC,MAAOF,CAAAA,MAAM,CAAb,SAAa,CAAb,CAGF,OAAA,CAAA,YAAA,CAP6B,CAAA,CAA/B,CAAA,CAUA,QAAA,CAAA,mBAAA,CAAA,UAAA,CAAA,QAAA,CAAA,0BAAA,CAA8E,CAC5E,GAAMG,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AC/BA,CAAAA,mBAAkB,CAACvB,QAAQ,CAAT,QAAS,CAAT,CAAA,aAAA,CAAoC,UAAM,CAC1D,GAAMwB,CAAAA,GAAG,CAAGR,0BAAZ,EAAA,CACA,MAAOQ,CAAAA,GAAG,EAAIA,GAAG,CAAHA,kBAAAA,CAAd,QAAcA,CAAd,CAH6B,CACb,CADa,CARnCxB,CAAAA,CAcEyB,SAAS,CAAE,QAAA,CAAA,SAAA,EAAM,CACf,GAAMC,CAAAA,iBAAiB,CAAGV,0BAA1B,EAAA,CACA,GAAI,CAAJ,iBAAA,CAAwB,CACtB,MAAA,MAAA,CAHa,IAAA,CAAA,qBAAA,CAKWU,iBAAiB,CAL5B,KAAA,CAKPC,MALO,CAAA,qBAAA,CAAA,MAAA,CAKCC,KALD,CAAA,qBAAA,CAAA,KAAA,CAMf,GAAI,CAACF,iBAAiB,CAAtB,SAAKA,EAAL,CAAoC,CAClC,MAAA,MAAA,CAEF,IAAIC,MAAM,CAANA,KAAM,CAANA,CAAAA,GAAAA,GAAJ,QAAA,CAAoC,CAClC,MAAA,KAAA,CAEF,OAAA,MAAA,CA1BJ3B,CAAAA,CA4BEc,oBAAoB,CAAE,QAAA,CAAA,oBAAA,EAAA,CAAA,MAAA,CAAA,qBAAA,CA5BxBd,CAAAA,CA6BE6B,QAAQ,CAAE1B,UAAU,CA7BtBH,QAAAA,CA8BE8B,cAAc,CAAE3B,UAAU,CA9B5BH,cAAAA,CA+BE+B,oBAAoB,CA/BtB/B,0BAAAA,CAgCEgC,WAAW,CAAEX,eAAe,CAhC9BrB,WAAAA,CAiCEiC,IAAI,CAAEZ,eAAe,CAjCvBrB,IAAAA,CAAAA,CAAAA,CAmCA,MAAOA,CAAAA,QAAQ,CAAf,QAAe,CAAf,CAEH,CAED,C,aAAA,mB","sourcesContent":["import getChildEventSubscriber from './getChildEventSubscriber';\nimport getChildRouter from './getChildRouter';\nimport getNavigationActionCreators from './routers/getNavigationActionCreators';\nimport getChildrenNavigationCache from './getChildrenNavigationCache';\n\nconst createParamGetter = route => (paramName, defaultValue) => {\n const params = route.params;\n\n if (params && paramName in params) {\n return params[paramName];\n }\n\n return defaultValue;\n};\n\nfunction getChildNavigation(navigation, childKey, getCurrentParentNavigation) {\n const children = getChildrenNavigationCache(navigation);\n const childRoute = navigation.state.routes.find(r => r.key === childKey);\n\n if (!childRoute) {\n return null;\n }\n\n if (children[childKey] && children[childKey].state === childRoute) {\n return children[childKey];\n }\n\n const childRouter = getChildRouter(navigation.router, childRoute.routeName);\n\n // If the route has children, we'll use this to pass in to the action creators\n // for the childRouter so that any action that depends on the active route will\n // behave as expected. We don't explicitly require that routers implement routes\n // and index properties, but if we did then we would put an invariant here to\n // ensure that a focusedGrandChildRoute exists if childRouter is defined.\n const focusedGrandChildRoute =\n childRoute.routes && typeof childRoute.index === 'number'\n ? childRoute.routes[childRoute.index]\n : null;\n\n const actionCreators = {\n ...navigation.actions,\n ...navigation.router.getActionCreators(childRoute, navigation.state.key),\n ...(childRouter\n ? childRouter.getActionCreators(focusedGrandChildRoute, childRoute.key)\n : {}),\n ...getNavigationActionCreators(childRoute),\n };\n\n const actionHelpers = {};\n Object.keys(actionCreators).forEach(actionName => {\n actionHelpers[actionName] = (...args) => {\n const actionCreator = actionCreators[actionName];\n const action = actionCreator(...args);\n return navigation.dispatch(action);\n };\n });\n\n let isFirstRouteInParent = true;\n\n const parentNavigation = getCurrentParentNavigation();\n\n if (parentNavigation) {\n isFirstRouteInParent =\n parentNavigation.state.routes.indexOf(childRoute) === 0;\n }\n\n if (\n children[childKey] &&\n children[childKey].isFirstRouteInParent() === isFirstRouteInParent\n ) {\n children[childKey] = {\n ...children[childKey],\n ...actionHelpers,\n state: childRoute,\n router: childRouter,\n actions: actionCreators,\n getParam: createParamGetter(childRoute),\n };\n return children[childKey];\n } else {\n const childSubscriber = getChildEventSubscriber(\n navigation.addListener,\n childKey\n );\n\n children[childKey] = {\n ...actionHelpers,\n\n state: childRoute,\n router: childRouter,\n actions: actionCreators,\n getParam: createParamGetter(childRoute),\n\n getChildNavigation: grandChildKey =>\n getChildNavigation(children[childKey], grandChildKey, () => {\n const nav = getCurrentParentNavigation();\n return nav && nav.getChildNavigation(childKey);\n }),\n\n isFocused: () => {\n const currentNavigation = getCurrentParentNavigation();\n if (!currentNavigation) {\n return false;\n }\n const { routes, index } = currentNavigation.state;\n if (!currentNavigation.isFocused()) {\n return false;\n }\n if (routes[index].key === childKey) {\n return true;\n }\n return false;\n },\n isFirstRouteInParent: () => isFirstRouteInParent,\n dispatch: navigation.dispatch,\n getScreenProps: navigation.getScreenProps,\n dangerouslyGetParent: getCurrentParentNavigation,\n addListener: childSubscriber.addListener,\n emit: childSubscriber.emit,\n };\n return children[childKey];\n }\n}\n\nexport default getChildNavigation;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedModulo=function(_AnimatedWithChildren){_inheritsLoose(AnimatedModulo,_AnimatedWithChildren);function AnimatedModulo(a,modulus){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._a=a;_this._modulus=modulus;return _this;}var _proto=AnimatedModulo.prototype;_proto.__makeNative=function __makeNative(){this._a.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.__getValue=function __getValue(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus;};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.__attach=function __attach(){this._a.__addChild(this);};_proto.__detach=function __detach(){this._a.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'modulus',input:this._a.__getNativeTag(),modulus:this._modulus};};return AnimatedModulo;}(_AnimatedWithChildren2.default);var _default=AnimatedModulo;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedModulo.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedModulo","_AnimatedWithChildren","a","modulus","_this","call","_a","_modulus","_proto","__makeNative","__getValue","interpolate","config","AnimatedInterpolation","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,qFAJA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAMvL,GAAIM,CAAAA,cAAc,CAElB,SAAUC,qBAAV,CAAiC,CAC/BT,cAAc,CAACQ,cAAD,CAAiBC,qBAAjB,CAAd,CAEA,QAASD,CAAAA,cAAT,CAAwBE,CAAxB,CAA2BC,OAA3B,CAAoC,CAClC,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,GAAoC,IAA5C,CACAD,KAAK,CAACE,EAAN,CAAWJ,CAAX,CACAE,KAAK,CAACG,QAAN,CAAiBJ,OAAjB,CACA,MAAOC,CAAAA,KAAP,CACD,CAED,GAAII,CAAAA,MAAM,CAAGR,cAAc,CAACL,SAA5B,CAEAa,MAAM,CAACC,YAAP,CAAsB,QAASA,CAAAA,YAAT,EAAwB,CAC5C,KAAKH,EAAL,CAAQG,YAAR,GAEAR,qBAAqB,CAACN,SAAtB,CAAgCc,YAAhC,CAA6CJ,IAA7C,CAAkD,IAAlD,EACD,CAJD,CAMAG,MAAM,CAACE,UAAP,CAAoB,QAASA,CAAAA,UAAT,EAAsB,CACxC,MAAO,CAAC,KAAKJ,EAAL,CAAQI,UAAR,GAAuB,KAAKH,QAA5B,CAAuC,KAAKA,QAA7C,EAAyD,KAAKA,QAArE,CACD,CAFD,CAIAC,MAAM,CAACG,WAAP,CAAqB,QAASA,CAAAA,WAAT,CAAqBC,MAArB,CAA6B,CAChD,MAAO,IAAIC,+BAAJ,CAA0B,IAA1B,CAAgCD,MAAhC,CAAP,CACD,CAFD,CAIAJ,MAAM,CAACM,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKR,EAAL,CAAQS,UAAR,CAAmB,IAAnB,EACD,CAFD,CAIAP,MAAM,CAACQ,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKV,EAAL,CAAQW,aAAR,CAAsB,IAAtB,EAEAhB,qBAAqB,CAACN,SAAtB,CAAgCqB,QAAhC,CAAyCX,IAAzC,CAA8C,IAA9C,EACD,CAJD,CAMAG,MAAM,CAACU,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,MAAO,CACLC,IAAI,CAAE,SADD,CAELC,KAAK,CAAE,KAAKd,EAAL,CAAQe,cAAR,EAFF,CAGLlB,OAAO,CAAE,KAAKI,QAHT,CAAP,CAKD,CAND,CAQA,MAAOP,CAAAA,cAAP,CACD,CA/CD,CA+CEsB,8BA/CF,CAFA,C,aAmDetB,c","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedModulo =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedModulo, _AnimatedWithChildren);\n\n function AnimatedModulo(a, modulus) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = a;\n _this._modulus = modulus;\n return _this;\n }\n\n var _proto = AnimatedModulo.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n };\n\n return AnimatedModulo;\n}(AnimatedWithChildren);\n\nexport default AnimatedModulo;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _barChart=_interopRequireDefault(require(\"./bar-chart\"));var _barChartGrouped=_interopRequireDefault(require(\"./bar-chart-grouped\"));var BarChartGate=function BarChartGate(props){var data=props.data;if(data[0]&&data[0].hasOwnProperty('data')){return _react.default.createElement(_barChartGrouped.default,props);}return _react.default.createElement(_barChart.default,props);};var _default=BarChartGate;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/bar-chart/index.js"],"names":["BarChartGate","props","data","hasOwnProperty"],"mappings":"mKAAA,oDACA,6DACA,4EAEA,GAAMA,CAAAA,YAAY,CAAG,QAAfA,CAAAA,YAAe,CAACC,KAAD,CAAW,IACpBC,CAAAA,IADoB,CACXD,KADW,CACpBC,IADoB,CAG5B,GAAIA,IAAI,CAAC,CAAD,CAAJ,EAAWA,IAAI,CAAC,CAAD,CAAJ,CAAQC,cAAR,CAAuB,MAAvB,CAAf,CAA+C,CAC3C,MAAO,8BAAC,wBAAD,CAAqBF,KAArB,CAAP,CACH,CAED,MAAO,8BAAC,iBAAD,CAAcA,KAAd,CAAP,CACH,CARD,C,aAUeD,Y","sourcesContent":["import React from 'react'\nimport BarChart from './bar-chart'\nimport BarChartGrouped from './bar-chart-grouped'\n\nconst BarChartGate = (props) => {\n const { data } = props\n\n if (data[0] && data[0].hasOwnProperty('data')) {\n return <BarChartGrouped {...props} />\n }\n\n return <BarChart {...props} />\n}\n\nexport default BarChartGate\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _default={get name(){return'ExponentUpdates';},reload:function reload(){return _regenerator.default.async(function reload$(_context){while(1){switch(_context.prev=_context.next){case 0:location.reload(true);case 1:case\"end\":return _context.stop();}}});},reloadFromCache:function reloadFromCache(){return _regenerator.default.async(function reloadFromCache$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:location.reload(false);case 1:case\"end\":return _context2.stop();}}});}};exports.default=_default;","map":{"version":3,"sources":["../../src/Updates/ExponentUpdates.web.ts"],"names":[],"mappings":"+PAAe,CACb,GAAI,CAAA,IAAJ,EAAQ,CACN,MAAO,iBAAP,CACD,CAHY,CAIP,MAJO,oIAKX,QAAQ,CAAC,MAAT,CAAgB,IAAhB,EALW,+CAOP,eAPO,yJAQX,QAAQ,CAAC,MAAT,CAAgB,KAAhB,EARW,gD","sourcesContent":["export default {\n get name(): string {\n return 'ExponentUpdates';\n },\n async reload(): Promise<void> {\n location.reload(true);\n },\n async reloadFromCache(): Promise<void> {\n location.reload(false);\n },\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _base=require(\"./../base\");var _InternalAnimatedValue=_interopRequireDefault(require(\"./../core/InternalAnimatedValue\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function stiffnessFromOrigamiValue(oValue){return(oValue-30)*3.62+194;}function dampingFromOrigamiValue(oValue){return(oValue-8)*3+25;}function stiffnessFromOrigamiNode(oValue){return(0,_base.add)((0,_base.multiply)((0,_base.sub)(oValue,30),3.62),194);}function dampingFromOrigamiNode(oValue){return(0,_base.add)((0,_base.multiply)((0,_base.sub)(oValue,8),3),25);}function makeConfigFromOrigamiTensionAndFriction(prevConfig){var tension=prevConfig.tension,friction=prevConfig.friction,rest=(0,_objectWithoutProperties2.default)(prevConfig,[\"tension\",\"friction\"]);return _objectSpread({},rest,{stiffness:typeof tension==='number'?stiffnessFromOrigamiValue(tension):stiffnessFromOrigamiNode(tension),damping:typeof friction==='number'?dampingFromOrigamiValue(friction):dampingFromOrigamiNode(friction)});}function makeConfigFromBouncinessAndSpeed(prevConfig){var bounciness=prevConfig.bounciness,speed=prevConfig.speed,rest=(0,_objectWithoutProperties2.default)(prevConfig,[\"bounciness\",\"speed\"]);if(typeof bounciness==='number'&&typeof speed==='number'){return fromBouncinessAndSpeedNumbers(bounciness,speed,rest);}return fromBouncinessAndSpeedNodes(bounciness,speed,rest);}function fromBouncinessAndSpeedNodes(bounciness,speed,rest){function normalize(value,startValue,endValue){return(0,_base.divide)((0,_base.sub)(value,startValue),(0,_base.sub)(endValue,startValue));}function projectNormal(n,start,end){return(0,_base.add)(start,(0,_base.multiply)(n,(0,_base.sub)(end,start)));}function linearInterpolation(t,start,end){return(0,_base.add)((0,_base.multiply)(t,end),(0,_base.multiply)((0,_base.sub)(1,t),start));}function quadraticOutInterpolation(t,start,end){return linearInterpolation((0,_base.sub)((0,_base.multiply)(2,t),(0,_base.multiply)(t,t)),start,end);}function b3Friction1(x){return(0,_base.add)((0,_base.sub)((0,_base.multiply)(0.0007,(0,_base.pow)(x,3)),(0,_base.multiply)(0.031,(0,_base.pow)(x,2))),(0,_base.multiply)(0.64,x),1.28);}function b3Friction2(x){return(0,_base.add)((0,_base.sub)((0,_base.multiply)(0.000044,(0,_base.pow)(x,3)),(0,_base.multiply)(0.006,(0,_base.pow)(x,2))),(0,_base.multiply)(0.36,x),2);}function b3Friction3(x){return(0,_base.add)((0,_base.sub)((0,_base.multiply)(0.00000045,(0,_base.pow)(x,3)),(0,_base.multiply)(0.000332,(0,_base.pow)(x,2))),(0,_base.multiply)(0.1078,x),5.84);}function b3Nobounce(tension){return(0,_base.cond)((0,_base.lessOrEq)(tension,18),b3Friction1(tension),(0,_base.cond)((0,_base.and)((0,_base.greaterThan)(tension,18),(0,_base.lessOrEq)(tension,44)),b3Friction2(tension),b3Friction3(tension)));}var b=normalize((0,_base.divide)(bounciness,1.7),0,20);b=projectNormal(b,0,0.8);var s=normalize((0,_base.divide)(speed,1.7),0,20);var bouncyTension=projectNormal(s,0.5,200);var bouncyFriction=quadraticOutInterpolation(b,b3Nobounce(bouncyTension),0.01);return _objectSpread({},rest,{stiffness:stiffnessFromOrigamiNode(bouncyTension),damping:dampingFromOrigamiNode(bouncyFriction)});}function fromBouncinessAndSpeedNumbers(bounciness,speed,rest){function normalize(value,startValue,endValue){return(value-startValue)/(endValue-startValue);}function projectNormal(n,start,end){return start+n*(end-start);}function linearInterpolation(t,start,end){return t*end+(1-t)*start;}function quadraticOutInterpolation(t,start,end){return linearInterpolation(2*t-t*t,start,end);}function b3Friction1(x){return 0.0007*Math.pow(x,3)-0.031*Math.pow(x,2)+0.64*x+1.28;}function b3Friction2(x){return 0.000044*Math.pow(x,3)-0.006*Math.pow(x,2)+0.36*x+2;}function b3Friction3(x){return 0.00000045*Math.pow(x,3)-0.000332*Math.pow(x,2)+0.1078*x+5.84;}function b3Nobounce(tension){if(tension<=18){return b3Friction1(tension);}else if(tension>18&&tension<=44){return b3Friction2(tension);}else{return b3Friction3(tension);}}var b=normalize(bounciness/1.7,0,20);b=projectNormal(b,0,0.8);var s=normalize(speed/1.7,0,20);var bouncyTension=projectNormal(s,0.5,200);var bouncyFriction=quadraticOutInterpolation(b,b3Nobounce(bouncyTension),0.01);return _objectSpread({},rest,{stiffness:stiffnessFromOrigamiValue(bouncyTension),damping:dampingFromOrigamiValue(bouncyFriction)});}function makeDefaultConfig(){return{stiffness:new _InternalAnimatedValue.default(100),mass:new _InternalAnimatedValue.default(1),damping:new _InternalAnimatedValue.default(10),overshootClamping:false,restSpeedThreshold:0.001,restDisplacementThreshold:0.001,toValue:new _InternalAnimatedValue.default(0)};}var _default={makeDefaultConfig:makeDefaultConfig,makeConfigFromBouncinessAndSpeed:makeConfigFromBouncinessAndSpeed,makeConfigFromOrigamiTensionAndFriction:makeConfigFromOrigamiTensionAndFriction};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/SpringUtils.js"],"names":["stiffnessFromOrigamiValue","oValue","dampingFromOrigamiValue","stiffnessFromOrigamiNode","dampingFromOrigamiNode","makeConfigFromOrigamiTensionAndFriction","prevConfig","tension","friction","rest","stiffness","damping","makeConfigFromBouncinessAndSpeed","bounciness","speed","fromBouncinessAndSpeedNumbers","fromBouncinessAndSpeedNodes","normalize","value","startValue","endValue","projectNormal","n","start","end","linearInterpolation","t","quadraticOutInterpolation","b3Friction1","x","b3Friction2","b3Friction3","b3Nobounce","b","s","bouncyTension","bouncyFriction","Math","pow","makeDefaultConfig","AnimatedValue","mass","overshootClamping","restSpeedThreshold","restDisplacementThreshold","toValue"],"mappings":"iXAAA,+BAWA,8F,yxBAEA,QAASA,CAAAA,yBAAT,CAAmCC,MAAnC,CAA2C,CACzC,MAAO,CAACA,MAAM,CAAG,EAAV,EAAgB,IAAhB,CAAuB,GAA9B,CACD,CAED,QAASC,CAAAA,uBAAT,CAAiCD,MAAjC,CAAyC,CACvC,MAAO,CAACA,MAAM,CAAG,CAAV,EAAe,CAAf,CAAmB,EAA1B,CACD,CAED,QAASE,CAAAA,wBAAT,CAAkCF,MAAlC,CAA0C,CACxC,MAAO,cAAI,mBAAS,cAAIA,MAAJ,CAAY,EAAZ,CAAT,CAA0B,IAA1B,CAAJ,CAAqC,GAArC,CAAP,CACD,CAED,QAASG,CAAAA,sBAAT,CAAgCH,MAAhC,CAAwC,CACtC,MAAO,cAAI,mBAAS,cAAIA,MAAJ,CAAY,CAAZ,CAAT,CAAyB,CAAzB,CAAJ,CAAiC,EAAjC,CAAP,CACD,CAED,QAASI,CAAAA,uCAAT,CAAiDC,UAAjD,CAA6D,IACnDC,CAAAA,OADmD,CACpBD,UADoB,CACnDC,OADmD,CAC1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A,gCAFa,CAGbP,uCAAuC,CAAvCA,uCAHa,C","sourcesContent":["import {\n cond,\n sub,\n divide,\n multiply,\n add,\n pow,\n lessOrEq,\n and,\n greaterThan,\n} from './../base';\nimport AnimatedValue from './../core/InternalAnimatedValue';\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction stiffnessFromOrigamiNode(oValue) {\n return add(multiply(sub(oValue, 30), 3.62), 194);\n}\n\nfunction dampingFromOrigamiNode(oValue) {\n return add(multiply(sub(oValue, 8), 3), 25);\n}\n\nfunction makeConfigFromOrigamiTensionAndFriction(prevConfig) {\n const { tension, friction, ...rest } = prevConfig;\n return {\n ...rest,\n stiffness:\n typeof tension === 'number'\n ? stiffnessFromOrigamiValue(tension)\n : stiffnessFromOrigamiNode(tension),\n damping:\n typeof friction === 'number'\n ? dampingFromOrigamiValue(friction)\n : dampingFromOrigamiNode(friction),\n };\n}\n\nfunction makeConfigFromBouncinessAndSpeed(prevConfig) {\n const { bounciness, speed, ...rest } = prevConfig;\n if (typeof bounciness === 'number' && typeof speed === 'number') {\n return fromBouncinessAndSpeedNumbers(bounciness, speed, rest);\n }\n return fromBouncinessAndSpeedNodes(bounciness, speed, rest);\n}\n\nfunction fromBouncinessAndSpeedNodes(bounciness, speed, rest) {\n function normalize(value, startValue, endValue) {\n return divide(sub(value, startValue), sub(endValue, startValue));\n }\n\n function projectNormal(n, start, end) {\n return add(start, multiply(n, sub(end, start)));\n }\n\n function linearInterpolation(t, start, end) {\n return add(multiply(t, end), multiply(sub(1, t), start));\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(sub(multiply(2, t), multiply(t, t)), start, end);\n }\n\n function b3Friction1(x) {\n return add(\n sub(multiply(0.0007, pow(x, 3)), multiply(0.031, pow(x, 2))),\n multiply(0.64, x),\n 1.28\n );\n }\n\n function b3Friction2(x) {\n return add(\n sub(multiply(0.000044, pow(x, 3)), multiply(0.006, pow(x, 2))),\n multiply(0.36, x),\n 2\n );\n }\n\n function b3Friction3(x) {\n return add(\n sub(multiply(0.00000045, pow(x, 3)), multiply(0.000332, pow(x, 2))),\n multiply(0.1078, x),\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n return cond(\n lessOrEq(tension, 18),\n b3Friction1(tension),\n cond(\n and(greaterThan(tension, 18), lessOrEq(tension, 44)),\n b3Friction2(tension),\n b3Friction3(tension)\n )\n );\n }\n\n let b = normalize(divide(bounciness, 1.7), 0, 20);\n b = projectNormal(b, 0, 0.8);\n let s = normalize(divide(speed, 1.7), 0, 20);\n let bouncyTension = projectNormal(s, 0.5, 200);\n let bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01\n );\n return {\n ...rest,\n stiffness: stiffnessFromOrigamiNode(bouncyTension),\n damping: dampingFromOrigamiNode(bouncyFriction),\n };\n}\n\nfunction fromBouncinessAndSpeedNumbers(bounciness, speed, rest) {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return (\n 0.00000045 * Math.pow(x, 3) -\n 0.000332 * Math.pow(x, 2) +\n 0.1078 * x +\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n let b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n const s = normalize(speed / 1.7, 0, 20);\n const bouncyTension = projectNormal(s, 0.5, 200);\n const bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01\n );\n\n return {\n ...rest,\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction),\n };\n}\n\nfunction makeDefaultConfig() {\n return {\n stiffness: new AnimatedValue(100),\n mass: new AnimatedValue(1),\n damping: new AnimatedValue(10),\n overshootClamping: false,\n restSpeedThreshold: 0.001,\n restDisplacementThreshold: 0.001,\n toValue: new AnimatedValue(0),\n };\n}\n\nexport default {\n makeDefaultConfig,\n makeConfigFromBouncinessAndSpeed,\n makeConfigFromOrigamiTensionAndFriction,\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _getBoundingClientRect=_interopRequireDefault(require(\"../getBoundingClientRect\"));var emptyArray=[];var emptyFunction=function emptyFunction(){};var normalizeTouches=function normalizeTouches(touches){if(!touches){return emptyArray;}return Array.prototype.slice.call(touches).map(function(touch){var identifier=touch.identifier>20?touch.identifier%20:touch.identifier;var rect;return{_normalized:true,clientX:touch.clientX,clientY:touch.clientY,force:touch.force,get locationX(){rect=rect||(0,_getBoundingClientRect.default)(touch.target);if(rect){return touch.pageX-rect.left;}},get locationY(){rect=rect||(0,_getBoundingClientRect.default)(touch.target);if(rect){return touch.pageY-rect.top;}},identifier:identifier,pageX:touch.pageX,pageY:touch.pageY,radiusX:touch.radiusX,radiusY:touch.radiusY,rotationAngle:touch.rotationAngle,screenX:touch.screenX,screenY:touch.screenY,target:touch.target,timestamp:Date.now()};});};function normalizeTouchEvent(nativeEvent){var changedTouches=normalizeTouches(nativeEvent.changedTouches);var touches=normalizeTouches(nativeEvent.touches);var preventDefault=typeof nativeEvent.preventDefault==='function'?nativeEvent.preventDefault.bind(nativeEvent):emptyFunction;var stopImmediatePropagation=typeof nativeEvent.stopImmediatePropagation==='function'?nativeEvent.stopImmediatePropagation.bind(nativeEvent):emptyFunction;var stopPropagation=typeof nativeEvent.stopPropagation==='function'?nativeEvent.stopPropagation.bind(nativeEvent):emptyFunction;var singleChangedTouch=changedTouches[0];var event={_normalized:true,bubbles:nativeEvent.bubbles,cancelable:nativeEvent.cancelable,changedTouches:changedTouches,defaultPrevented:nativeEvent.defaultPrevented,identifier:singleChangedTouch?singleChangedTouch.identifier:undefined,get locationX(){return singleChangedTouch?singleChangedTouch.locationX:undefined;},get locationY(){return singleChangedTouch?singleChangedTouch.locationY:undefined;},pageX:singleChangedTouch?singleChangedTouch.pageX:nativeEvent.pageX,pageY:singleChangedTouch?singleChangedTouch.pageY:nativeEvent.pageY,preventDefault:preventDefault,stopImmediatePropagation:stopImmediatePropagation,stopPropagation:stopPropagation,target:nativeEvent.target,timestamp:Date.now(),touches:touches,type:nativeEvent.type,which:nativeEvent.which};return event;}function normalizeMouseEvent(nativeEvent){var rect;var touches=[{_normalized:true,clientX:nativeEvent.clientX,clientY:nativeEvent.clientY,force:nativeEvent.force,identifier:0,get locationX(){rect=rect||(0,_getBoundingClientRect.default)(nativeEvent.target);if(rect){return nativeEvent.pageX-rect.left;}},get locationY(){rect=rect||(0,_getBoundingClientRect.default)(nativeEvent.target);if(rect){return nativeEvent.pageY-rect.top;}},pageX:nativeEvent.pageX,pageY:nativeEvent.pageY,screenX:nativeEvent.screenX,screenY:nativeEvent.screenY,target:nativeEvent.target,timestamp:Date.now()}];var preventDefault=typeof nativeEvent.preventDefault==='function'?nativeEvent.preventDefault.bind(nativeEvent):emptyFunction;var stopImmediatePropagation=typeof nativeEvent.stopImmediatePropagation==='function'?nativeEvent.stopImmediatePropagation.bind(nativeEvent):emptyFunction;var stopPropagation=typeof nativeEvent.stopPropagation==='function'?nativeEvent.stopPropagation.bind(nativeEvent):emptyFunction;return{_normalized:true,bubbles:nativeEvent.bubbles,cancelable:nativeEvent.cancelable,changedTouches:touches,defaultPrevented:nativeEvent.defaultPrevented,identifier:touches[0].identifier,get locationX(){return touches[0].locationX;},get locationY(){return touches[0].locationY;},pageX:nativeEvent.pageX,pageY:nativeEvent.pageY,preventDefault:preventDefault,stopImmediatePropagation:stopImmediatePropagation,stopPropagation:stopPropagation,target:nativeEvent.target,timestamp:touches[0].timestamp,touches:nativeEvent.type==='mouseup'?emptyArray:touches,type:nativeEvent.type,which:nativeEvent.which};}function normalizeNativeEvent(nativeEvent){if(!nativeEvent||nativeEvent._normalized){return nativeEvent;}var eventType=nativeEvent.type||'';var mouse=eventType.indexOf('mouse')>=0;if(mouse){return normalizeMouseEvent(nativeEvent);}else{return normalizeTouchEvent(nativeEvent);}}var _default=normalizeNativeEvent;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/normalizeNativeEvent/index.js"],"names":["emptyArray","emptyFunction","normalizeTouches","touches","Array","prototype","slice","call","map","touch","identifier","rect","_normalized","clientX","clientY","force","locationX","target","pageX","left","locationY","pageY","top","radiusX","radiusY","rotationAngle","screenX","screenY","timestamp","Date","now","normalizeTouchEvent","nativeEvent","changedTouches","preventDefault","bind","stopImmediatePropagation","stopPropagation","singleChangedTouch","event","bubbles","cancelable","defaultPrevented","undefined","type","which","normalizeMouseEvent","normalizeNativeEvent","eventType","mouse","indexOf"],"mappings":"mKAQA,uFACA,GAAIA,CAAAA,UAAU,CAAG,EAAjB,CAEA,GAAIC,CAAAA,aAAa,CAAG,QAASA,CAAAA,aAAT,EAAyB,CAAE,CAA/C,CAGA,GAAIC,CAAAA,gBAAgB,CAAG,QAASA,CAAAA,gBAAT,CAA0BC,OAA1B,CAAmC,CACxD,GAAI,CAACA,OAAL,CAAc,CACZ,MAAOH,CAAAA,UAAP,CACD,CAED,MAAOI,CAAAA,KA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AgB,CACd,MAAOjB,CAAAA,OAAO,CAAC,CAAD,CAAP,CAAWiB,SAAlB,CACD,CAdI,CAgBLF,KAAK,CAAEc,WAAW,CAACd,KAhBd,CAiBLG,KAAK,CAAEW,WAAW,CAACX,KAjBd,CAkBLa,cAAc,CAAEA,cAlBX,CAmBLE,wBAAwB,CAAEA,wBAnBrB,CAoBLC,eAAe,CAAEA,eApBZ,CAqBLpB,MAAM,CAAEe,WAAW,CAACf,MArBf,CAsBLW,SAAS,CAAEzB,OAAO,CAAC,CAAD,CAAP,CAAWyB,SAtBjB,CAuBLzB,OAAO,CAAE6B,WAAW,CAACY,IAAZ,GAAqB,SAArB,CAAiC5C,UAAjC,CAA8CG,OAvBlD,CAwBLyC,IAAI,CAAEZ,WAAW,CAACY,IAxBb,CAyBLC,KAAK,CAAEb,WAAW,CAACa,KAzBd,CAAP,CA2BD,CAGD,QAASE,CAAAA,oBAAT,CAA8Bf,WAA9B,CAA2C,CACzC,GAAI,CAACA,WAAD,EAAgBA,WAAW,CAACpB,WAAhC,CAA6C,CAC3C,MAAOoB,CAAAA,WAAP,CACD,CAED,GAAIgB,CAAAA,SAAS,CAAGhB,WAAW,CAACY,IAAZ,EAAoB,EAApC,CACA,GAAIK,CAAAA,KAAK,CAAGD,SAAS,CAACE,OAAV,CAAkB,OAAlB,GAA8B,CAA1C,CAEA,GAAID,KAAJ,CAAW,CACT,MAAOH,CAAAA,mBAAmB,CAACd,WAAD,CAA1B,CACD,CAFD,IAEO,CACL,MAAOD,CAAAA,mBAAmB,CAACC,WAAD,CAA1B,CACD,CACF,C,aAEce,oB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport getBoundingClientRect from '../getBoundingClientRect';\nvar emptyArray = [];\n\nvar emptyFunction = function emptyFunction() {}; // Mobile Safari re-uses touch objects, so we copy the properties we want and normalize the identifier\n\n\nvar normalizeTouches = function normalizeTouches(touches) {\n if (!touches) {\n return emptyArray;\n }\n\n return Array.prototype.slice.call(touches).map(function (touch) {\n var identifier = touch.identifier > 20 ? touch.identifier % 20 : touch.identifier;\n var rect;\n return {\n _normalized: true,\n clientX: touch.clientX,\n clientY: touch.clientY,\n force: touch.force,\n\n get locationX() {\n rect = rect || getBoundingClientRect(touch.target);\n\n if (rect) {\n return touch.pageX - rect.left;\n }\n },\n\n get locationY() {\n rect = rect || getBoundingClientRect(touch.target);\n\n if (rect) {\n return touch.pageY - rect.top;\n }\n },\n\n identifier: identifier,\n pageX: touch.pageX,\n pageY: touch.pageY,\n radiusX: touch.radiusX,\n radiusY: touch.radiusY,\n rotationAngle: touch.rotationAngle,\n screenX: touch.screenX,\n screenY: touch.screenY,\n target: touch.target,\n // normalize the timestamp\n // https://stackoverflow.com/questions/26177087/ios-8-mobile-safari-wrong-timestamp-on-touch-events\n timestamp: Date.now()\n };\n });\n};\n\nfunction normalizeTouchEvent(nativeEvent) {\n var changedTouches = normalizeTouches(nativeEvent.changedTouches);\n var touches = normalizeTouches(nativeEvent.touches);\n var preventDefault = typeof nativeEvent.preventDefault === 'function' ? nativeEvent.preventDefault.bind(nativeEvent) : emptyFunction;\n var stopImmediatePropagation = typeof nativeEvent.stopImmediatePropagation === 'function' ? nativeEvent.stopImmediatePropagation.bind(nativeEvent) : emptyFunction;\n var stopPropagation = typeof nativeEvent.stopPropagation === 'function' ? nativeEvent.stopPropagation.bind(nativeEvent) : emptyFunction;\n var singleChangedTouch = changedTouches[0];\n var event = {\n _normalized: true,\n bubbles: nativeEvent.bubbles,\n cancelable: nativeEvent.cancelable,\n changedTouches: changedTouches,\n defaultPrevented: nativeEvent.defaultPrevented,\n identifier: singleChangedTouch ? singleChangedTouch.identifier : undefined,\n\n get locationX() {\n return singleChangedTouch ? singleChangedTouch.locationX : undefined;\n },\n\n get locationY() {\n return singleChangedTouch ? singleChangedTouch.locationY : undefined;\n },\n\n pageX: singleChangedTouch ? singleChangedTouch.pageX : nativeEvent.pageX,\n pageY: singleChangedTouch ? singleChangedTouch.pageY : nativeEvent.pageY,\n preventDefault: preventDefault,\n stopImmediatePropagation: stopImmediatePropagation,\n stopPropagation: stopPropagation,\n target: nativeEvent.target,\n // normalize the timestamp\n // https://stackoverflow.com/questions/26177087/ios-8-mobile-safari-wrong-timestamp-on-touch-events\n timestamp: Date.now(),\n touches: touches,\n type: nativeEvent.type,\n which: nativeEvent.which\n };\n return event;\n}\n\nfunction normalizeMouseEvent(nativeEvent) {\n var rect;\n var touches = [{\n _normalized: true,\n clientX: nativeEvent.clientX,\n clientY: nativeEvent.clientY,\n force: nativeEvent.force,\n identifier: 0,\n\n get locationX() {\n rect = rect || getBoundingClientRect(nativeEvent.target);\n\n if (rect) {\n return nativeEvent.pageX - rect.left;\n }\n },\n\n get locationY() {\n rect = rect || getBoundingClientRect(nativeEvent.target);\n\n if (rect) {\n return nativeEvent.pageY - rect.top;\n }\n },\n\n pageX: nativeEvent.pageX,\n pageY: nativeEvent.pageY,\n screenX: nativeEvent.screenX,\n screenY: nativeEvent.screenY,\n target: nativeEvent.target,\n timestamp: Date.now()\n }];\n var preventDefault = typeof nativeEvent.preventDefault === 'function' ? nativeEvent.preventDefault.bind(nativeEvent) : emptyFunction;\n var stopImmediatePropagation = typeof nativeEvent.stopImmediatePropagation === 'function' ? nativeEvent.stopImmediatePropagation.bind(nativeEvent) : emptyFunction;\n var stopPropagation = typeof nativeEvent.stopPropagation === 'function' ? nativeEvent.stopPropagation.bind(nativeEvent) : emptyFunction;\n return {\n _normalized: true,\n bubbles: nativeEvent.bubbles,\n cancelable: nativeEvent.cancelable,\n changedTouches: touches,\n defaultPrevented: nativeEvent.defaultPrevented,\n identifier: touches[0].identifier,\n\n get locationX() {\n return touches[0].locationX;\n },\n\n get locationY() {\n return touches[0].locationY;\n },\n\n pageX: nativeEvent.pageX,\n pageY: nativeEvent.pageY,\n preventDefault: preventDefault,\n stopImmediatePropagation: stopImmediatePropagation,\n stopPropagation: stopPropagation,\n target: nativeEvent.target,\n timestamp: touches[0].timestamp,\n touches: nativeEvent.type === 'mouseup' ? emptyArray : touches,\n type: nativeEvent.type,\n which: nativeEvent.which\n };\n} // TODO: how to best handle keyboard events?\n\n\nfunction normalizeNativeEvent(nativeEvent) {\n if (!nativeEvent || nativeEvent._normalized) {\n return nativeEvent;\n }\n\n var eventType = nativeEvent.type || '';\n var mouse = eventType.indexOf('mouse') >= 0;\n\n if (mouse) {\n return normalizeMouseEvent(nativeEvent);\n } else {\n return normalizeTouchEvent(nativeEvent);\n }\n}\n\nexport default normalizeNativeEvent;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';Object.defineProperty(exports,\"__esModule\",{value:true});exports.fromOrigamiTensionAndFriction=fromOrigamiTensionAndFriction;exports.fromBouncinessAndSpeed=fromBouncinessAndSpeed;exports.default=void 0;function stiffnessFromOrigamiValue(oValue){return(oValue-30)*3.62+194;}function dampingFromOrigamiValue(oValue){return(oValue-8)*3+25;}function fromOrigamiTensionAndFriction(tension,friction){return{stiffness:stiffnessFromOrigamiValue(tension),damping:dampingFromOrigamiValue(friction)};}function fromBouncinessAndSpeed(bounciness,speed){function normalize(value,startValue,endValue){return(value-startValue)/(endValue-startValue);}function projectNormal(n,start,end){return start+n*(end-start);}function linearInterpolation(t,start,end){return t*end+(1-t)*start;}function quadraticOutInterpolation(t,start,end){return linearInterpolation(2*t-t*t,start,end);}function b3Friction1(x){return 0.0007*Math.pow(x,3)-0.031*Math.pow(x,2)+0.64*x+1.28;}function b3Friction2(x){return 0.000044*Math.pow(x,3)-0.006*Math.pow(x,2)+0.36*x+2;}function b3Friction3(x){return 0.00000045*Math.pow(x,3)-0.000332*Math.pow(x,2)+0.1078*x+5.84;}function b3Nobounce(tension){if(tension<=18){return b3Friction1(tension);}else if(tension>18&&tension<=44){return b3Friction2(tension);}else{return b3Friction3(tension);}}var b=normalize(bounciness/1.7,0,20);b=projectNormal(b,0,0.8);var s=normalize(speed/1.7,0,20);var bouncyTension=projectNormal(s,0.5,200);var bouncyFriction=quadraticOutInterpolation(b,b3Nobounce(bouncyTension),0.01);return{stiffness:stiffnessFromOrigamiValue(bouncyTension),damping:dampingFromOrigamiValue(bouncyFriction)};}var _default={fromOrigamiTensionAndFriction:fromOrigamiTensionAndFriction,fromBouncinessAndSpeed:fromBouncinessAndSpeed};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/SpringConfig.js"],"names":["stiffnessFromOrigamiValue","oValue","dampingFromOrigamiValue","fromOrigamiTensionAndFriction","tension","friction","stiffness","damping","fromBouncinessAndSpeed","bounciness","speed","normalize","value","startValue","endValue","projectNormal","n","start","end","linearInterpolation","t","quadraticOutInterpolation","b3Friction1","x","Math","pow","b3Friction2","b3Friction3","b3Nobounce","b","s","bouncyTension","bouncyFriction"],"mappings":"AAQA,a,0MAEA,QAASA,CAAAA,yBAAT,CAAmCC,MAAnC,CAA2C,CACzC,MAAO,CAACA,MAAM,CAAG,EAAV,EAAgB,IAAhB,CAAuB,GAA9B,CACD,CAED,QAASC,CAAAA,uBAAT,CAAiCD,MAAjC,CAAyC,CACvC,MAAO,CAACA,MAAM,CAAG,CAAV,EAAe,CAAf,CAAmB,EAA1B,CACD,CAED,QAASE,CAAAA,6BAAT,CAAuCC,OAAvC,CAAgDC,QAAhD,CAA0D,CACxD,MAAO,CACLC,SAAS,CAAEN,yBAAyB,CAACI,OAAD,CAD/B,CAELG,OAAO,CAAEL,uBAAuB,CAACG,QAAD,CAF3B,CAAP,CAID,CAED,QAASG,CAAAA,sBAAT,CAAgCC,UAAhC,CAA4CC,KAA5C,CAAmD,CACjD,QAASC,CAAAA,SAAT,CAAmBC,KAAnB,CAA0BC,UAA1B,CAAsCC,QAAtC,CAAgD,CAC9C,MAAO,CAACF,KAAK,CAAGC,UAAT,GAAwBC,QAAQ,CAAGD,UAAnC,CAAP,CACD,CAED,QAASE,C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,EAAI,EAAf,CAAmB,CACjB,MAAOkB,CAAAA,WAAW,CAAClB,OAAD,CAAlB,CACD,CAFD,IAEO,IAAIA,OAAO,CAAG,EAAV,EAAgBA,OAAO,EAAI,EAA/B,CAAmC,CACxC,MAAOsB,CAAAA,WAAW,CAACtB,OAAD,CAAlB,CACD,CAFM,IAEA,CACL,MAAOuB,CAAAA,WAAW,CAACvB,OAAD,CAAlB,CACD,CACF,CAED,GAAIyB,CAAAA,CAAC,CAAGlB,SAAS,CAACF,UAAU,CAAG,GAAd,CAAmB,CAAnB,CAAsB,EAAtB,CAAjB,CACAoB,CAAC,CAAGd,aAAa,CAACc,CAAD,CAAI,CAAJ,CAAO,GAAP,CAAjB,CACA,GAAIC,CAAAA,CAAC,CAAGnB,SAAS,CAACD,KAAK,CAAG,GAAT,CAAc,CAAd,CAAiB,EAAjB,CAAjB,CACA,GAAIqB,CAAAA,aAAa,CAAGhB,aAAa,CAACe,CAAD,CAAI,GAAJ,CAAS,GAAT,CAAjC,CACA,GAAIE,CAAAA,cAAc,CAAGX,yBAAyB,CAACQ,CAAD,CAAID,UAAU,CAACG,aAAD,CAAd,CAA+B,IAA/B,CAA9C,CACA,MAAO,CACLzB,SAAS,CAAEN,yBAAyB,CAAC+B,aAAD,CAD/B,CAELxB,OAAO,CAAEL,uBAAuB,CAAC8B,cAAD,CAF3B,CAAP,CAID,C,aAGc,CACb7B,6BAA6B,CAAEA,6BADlB,CAEbK,sBAAsB,CAAEA,sBAFX,C","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction fromOrigamiTensionAndFriction(tension, friction) {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction)\n };\n}\n\nfunction fromBouncinessAndSpeed(bounciness, speed) {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return 0.00000045 * Math.pow(x, 3) - 0.000332 * Math.pow(x, 2) + 0.1078 * x + 5.84;\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n var b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n var s = normalize(speed / 1.7, 0, 20);\n var bouncyTension = projectNormal(s, 0.5, 200);\n var bouncyFriction = quadraticOutInterpolation(b, b3Nobounce(bouncyTension), 0.01);\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction)\n };\n}\n\nexport { fromOrigamiTensionAndFriction, fromBouncinessAndSpeed };\nexport default {\n fromOrigamiTensionAndFriction: fromOrigamiTensionAndFriction,\n fromBouncinessAndSpeed: fromBouncinessAndSpeed\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedImplementation=_interopRequireDefault(require(\"../../vendor/react-native/Animated/AnimatedImplementation\"));var _Image=_interopRequireDefault(require(\"../Image\"));var _ScrollView=_interopRequireDefault(require(\"../ScrollView\"));var _Text=_interopRequireDefault(require(\"../Text\"));var _View=_interopRequireDefault(require(\"../View\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var Animated=_objectSpread({},_AnimatedImplementation.default,{Image:_AnimatedImplementation.default.createAnimatedComponent(_Image.default),ScrollView:_AnimatedImplementation.default.createAnimatedComponent(_ScrollView.default),View:_AnimatedImplementation.default.createAnimatedComponent(_View.default),Text:_AnimatedImplementation.default.createAnimatedComponent(_Text.default)});var _default=Animated;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Animated/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","Animated","AnimatedImplementation","Image","createAnimatedComponent","ScrollView","View","Text"],"mappings":"mKAYA,yHACA,uDACA,iEACA,qDACA,qDAhBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAu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C,CAHiD,CAIvDC,IAAI,CAAEL,gCAAuBE,uBAAvB,CAA+CG,aAA/C,CAJiD,CAA7B,CAA5B,C,aAOeN,Q","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AnimatedImplementation from '../../vendor/react-native/Animated/AnimatedImplementation';\nimport Image from '../Image';\nimport ScrollView from '../ScrollView';\nimport Text from '../Text';\nimport View from '../View';\n\nvar Animated = _objectSpread({}, AnimatedImplementation, {\n Image: AnimatedImplementation.createAnimatedComponent(Image),\n ScrollView: AnimatedImplementation.createAnimatedComponent(ScrollView),\n View: AnimatedImplementation.createAnimatedComponent(View),\n Text: AnimatedImplementation.createAnimatedComponent(Text)\n});\n\nexport default Animated;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _invariant=_interopRequireDefault(require(\"invariant\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Keyboard=_interopRequireDefault(require(\"react-native-web/dist/exports/Keyboard\"));var _StatusBar=_interopRequireDefault(require(\"react-native-web/dist/exports/StatusBar\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _GestureHandler=require(\"./GestureHandler\");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var DRAG_TOSS=0.05;var IDLE='Idle';var DRAGGING='Dragging';var SETTLING='Settling';var DrawerLayout=function(_Component){(0,_inherits2.default)(DrawerLayout,_Component);function DrawerLayout(_props,context){var _this;(0,_classCallCheck2.default)(this,DrawerLayout);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(DrawerLayout).call(this,_props,context));_this._accessibilityIsModalView=_react.default.createRef();_this._pointerEventsView=_react.default.createRef();_this._panGestureHandler=_react.default.createRef();_this._drawerShown=false;_this._updateAnimatedEvent=function(props,state){var drawerPosition=props.drawerPosition,drawerWidth=props.drawerWidth,drawerType=props.drawerType;var dragXValue=state.dragX,touchXValue=state.touchX,drawerTranslation=state.drawerTranslation,containerWidth=state.containerWidth;var dragX=dragXValue;var touchX=touchXValue;if(drawerPosition!=='left'){dragX=_Animated.default.multiply(new _Animated.default.Value(-1),dragXValue);touchX=_Animated.default.add(new _Animated.default.Value(containerWidth),_Animated.default.multiply(new _Animated.default.Value(-1),touchXValue));touchXValue.setValue(containerWidth);}else{touchXValue.setValue(0);}var translationX=dragX;if(drawerType==='front'){var startPositionX=_Animated.default.add(touchX,_Animated.default.multiply(new _Animated.default.Value(-1),dragX));var dragOffsetFromOnStartPosition=startPositionX.interpolate({inputRange:[drawerWidth-1,drawerWidth,drawerWidth+1],outputRange:[0,0,1]});translationX=_Animated.default.add(dragX,dragOffsetFromOnStartPosition);}_this._openValue=_Animated.default.add(translationX,drawerTranslation).interpolate({inputRange:[0,drawerWidth],outputRange:[0,1],extrapolate:'clamp'});_this._onGestureEvent=_Animated.default.event([{nativeEvent:{translationX:dragXValue,x:touchXValue}}],{useNativeDriver:props.useNativeAnimations});};_this._handleContainerLayout=function(_ref){var nativeEvent=_ref.nativeEvent;_this.setState({containerWidth:nativeEvent.layout.width});};_this._emitStateChanged=function(newState,drawerWillShow){_this.props.onDrawerStateChanged&&_this.props.onDrawerStateChanged(newState,drawerWillShow);};_this._openingHandlerStateChange=function(_ref2){var nativeEvent=_ref2.nativeEvent;if(nativeEvent.oldState===_GestureHandler.State.ACTIVE){_this._handleRelease(nativeEvent);}else if(nativeEvent.state===_GestureHandler.State.ACTIVE){_this._emitStateChanged(DRAGGING,false);if(_this.props.keyboardDismissMode==='on-drag'){_Keyboard.default.dismiss();}if(_this.props.hideStatusBar){_StatusBar.default.setHidden(true,_this.props.statusBarAnimation||'slide');}}};_this._onTapHandlerStateChange=function(_ref3){var nativeEvent=_ref3.nativeEvent;if(_this._drawerShown&&nativeEvent.oldState===_GestureHandler.State.ACTIVE&&_this.props.drawerLockMode!=='locked-open'){_this.closeDrawer();}};_this._handleRelease=function(nativeEvent){var _this$props=_this.props,drawerWidth=_this$props.drawerWidth,drawerPosition=_this$props.drawerPosition,drawerType=_this$props.drawerType;var containerWidth=_this.state.containerWidth;var dragX=nativeEvent.translationX,velocityX=nativeEvent.velocityX,touchX=nativeEvent.x;if(drawerPosition!=='left'){dragX=-dragX;touchX=containerWidth-touchX;velocityX=-velocityX;}var gestureStartX=touchX-dragX;var dragOffsetBasedOnStart=0;if(drawerType==='front'){dragOffsetBasedOnStart=gestureStartX>drawerWidth?gestureStartX-drawerWidth:0;}var startOffsetX=dragX+dragOffsetBasedOnStart+(_this._drawerShown?drawerWidth:0);var projOffsetX=startOffsetX+DRAG_TOSS*velocityX;var shouldOpen=projOffsetX>drawerWidth/2;if(shouldOpen){_this._animateDrawer(startOffsetX,drawerWidth,velocityX);}else{_this._animateDrawer(startOffsetX,0,velocityX);}};_this._updateShowing=function(showing){_this._drawerShown=showing;_this._accessibilityIsModalView.current&&_this._accessibilityIsModalView.current.setNativeProps({accessibilityViewIsModal:showing});_this._pointerEventsView.current&&_this._pointerEventsView.current.setNativeProps({pointerEvents:showing?'auto':'none'});var _this$props2=_this.props,drawerPosition=_this$props2.drawerPosition,minSwipeDistance=_this$props2.minSwipeDistance,edgeWidth=_this$props2.edgeWidth;var fromLeft=drawerPosition==='left';var gestureOrientation=(fromLeft?1:-1)*(_this._drawerShown?-1:1);var hitSlop=fromLeft?{left:0,width:showing?undefined:edgeWidth}:{right:0,width:showing?undefined:edgeWidth};_this._panGestureHandler.current&&_this._panGestureHandler.current.setNativeProps({hitSlop:hitSlop,activeOffsetX:gestureOrientation*minSwipeDistance});};_this._animateDrawer=function(fromValue,toValue,velocity){_this.state.dragX.setValue(0);_this.state.touchX.setValue(_this.props.drawerPosition==='left'?0:_this.state.containerWidth);if(fromValue!==undefined){var nextFramePosition=fromValue;if(_this.props.useNativeAnimations){if(fromValue<toValue&&velocity>0){nextFramePosition=Math.min(fromValue+velocity/60.0,toValue);}else if(fromValue>toValue&&velocity<0){nextFramePosition=Math.max(fromValue+velocity/60.0,toValue);}}_this.state.drawerTranslation.setValue(nextFramePosition);}var willShow=toValue!==0;_this._updateShowing(willShow);_this._emitStateChanged(SETTLING,willShow);if(_this.props.hideStatusBar){_StatusBar.default.setHidden(willShow,_this.props.statusBarAnimation||'slide');}_Animated.default.spring(_this.state.drawerTranslation,{velocity:velocity,bounciness:0,toValue:toValue,useNativeDriver:_this.props.useNativeAnimations}).start(function(_ref4){var finished=_ref4.finished;if(finished){_this._emitStateChanged(IDLE,willShow);if(willShow){_this.props.onDrawerOpen&&_this.props.onDrawerOpen();}else{_this.props.onDrawerClose&&_this.props.onDrawerClose();}}});};_this.openDrawer=function(){var options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_this._animateDrawer(undefined,_this.props.drawerWidth,options.velocity?options.velocity:0);_this.forceUpdate();};_this.closeDrawer=function(){var options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_this._animateDrawer(undefined,0,options.velocity?options.velocity:0);_this.forceUpdate();};_this._renderOverlay=function(){(0,_invariant.default)(_this._openValue,'should be set');var overlayOpacity=_this._openValue.interpolate({inputRange:[0,1],outputRange:[0,0.7],extrapolate:'clamp'});var dynamicOverlayStyles={opacity:overlayOpacity,backgroundColor:_this.props.overlayColor};return _react.default.createElement(_GestureHandler.TapGestureHandler,{onHandlerStateChange:_this._onTapHandlerStateChange},_react.default.createElement(_Animated.default.View,{pointerEvents:_this._drawerShown?'auto':'none',ref:_this._pointerEventsView,style:[styles.overlay,dynamicOverlayStyles]}));};_this._renderDrawer=function(){var _this$props3=_this.props,drawerBackgroundColor=_this$props3.drawerBackgroundColor,drawerWidth=_this$props3.drawerWidth,drawerPosition=_this$props3.drawerPosition,drawerType=_this$props3.drawerType,drawerContainerStyle=_this$props3.drawerContainerStyle,contentContainerStyle=_this$props3.contentContainerStyle;var fromLeft=drawerPosition==='left';var drawerSlide=drawerType!=='back';var containerSlide=drawerType!=='front';var reverseContentDirection=_I18nManager.default.isRTL?fromLeft:!fromLeft;var dynamicDrawerStyles={backgroundColor:drawerBackgroundColor,width:drawerWidth};var openValue=_this._openValue;(0,_invariant.default)(openValue,'should be set');var containerStyles;if(containerSlide){var containerTranslateX=openValue.interpolate({inputRange:[0,1],outputRange:fromLeft?[0,drawerWidth]:[0,-drawerWidth],extrapolate:'clamp'});containerStyles={transform:[{translateX:containerTranslateX}]};}var drawerTranslateX=0;if(drawerSlide){var closedDrawerOffset=fromLeft?-drawerWidth:drawerWidth;drawerTranslateX=openValue.interpolate({inputRange:[0,1],outputRange:[closedDrawerOffset,0],extrapolate:'clamp'});}var drawerStyles={transform:[{translateX:drawerTranslateX}],flexDirection:reverseContentDirection?'row-reverse':'row'};return _react.default.createElement(_Animated.default.View,{style:styles.main,onLayout:_this._handleContainerLayout},_react.default.createElement(_Animated.default.View,{style:[drawerType==='front'?styles.containerOnBack:styles.containerInFront,containerStyles,contentContainerStyle]},typeof _this.props.children==='function'?_this.props.children(_this._openValue):_this.props.children,_this._renderOverlay()),_react.default.createElement(_Animated.default.View,{pointerEvents:\"box-none\",ref:_this._accessibilityIsModalView,accessibilityViewIsModal:_this._drawerShown,style:[styles.drawerContainer,drawerStyles,drawerContainerStyle]},_react.default.createElement(_View.default,{style:dynamicDrawerStyles},_this.props.renderNavigationView(_this._openValue))));};_this._setPanGestureRef=function(ref){_this._panGestureHandler.current=ref;_this.props.onGestureRef&&_this.props.onGestureRef(ref);};var _dragX=new _Animated.default.Value(0);var _touchX=new _Animated.default.Value(0);var _drawerTranslation=new _Animated.default.Value(0);_this.state={dragX:_dragX,touchX:_touchX,drawerTranslation:_drawerTranslation,containerWidth:0};_this._updateAnimatedEvent(_props,_this.state);return _this;}(0,_createClass2.default)(DrawerLayout,[{key:\"componentWillUpdate\",value:function componentWillUpdate(props,state){if(this.props.drawerPosition!==props.drawerPosition||this.props.drawerWidth!==props.drawerWidth||this.props.drawerType!==props.drawerType||this.state.containerWidth!==state.containerWidth){this._updateAnimatedEvent(props,state);}}},{key:\"render\",value:function render(){var _this$props4=this.props,drawerPosition=_this$props4.drawerPosition,drawerLockMode=_this$props4.drawerLockMode,edgeWidth=_this$props4.edgeWidth,minSwipeDistance=_this$props4.minSwipeDistance;var fromLeft=drawerPosition==='left';var gestureOrientation=(fromLeft?1:-1)*(this._drawerShown?-1:1);var hitSlop=fromLeft?{left:0,width:this._drawerShown?undefined:edgeWidth}:{right:0,width:this._drawerShown?undefined:edgeWidth};return _react.default.createElement(_GestureHandler.PanGestureHandler,{ref:this._setPanGestureRef,hitSlop:hitSlop,activeOffsetX:gestureOrientation*minSwipeDistance,failOffsetY:[-15,15],onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._openingHandlerStateChange,enabled:drawerLockMode!=='locked-closed'&&drawerLockMode!=='locked-open'},this._renderDrawer());}}]);return DrawerLayout;}(_react.Component);exports.default=DrawerLayout;DrawerLayout.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:true,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'black',drawerLockMode:'unlocked'};DrawerLayout.positions={Left:'left',Right:'right'};var styles=_StyleSheet.default.create({drawerContainer:_objectSpread({},_StyleSheet.default.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:_objectSpread({},_StyleSheet.default.absoluteFillObject,{zIndex:1002}),containerOnBack:_objectSpread({},_StyleSheet.default.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:_objectSpread({},_StyleSheet.default.absoluteFillObject,{zIndex:1000})});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/DrawerLayout.js"],"names":["DRAG_TOSS","IDLE","DRAGGING","SETTLING","DrawerLayout","props","context","_accessibilityIsModalView","React","createRef","_pointerEventsView","_panGestureHandler","_drawerShown","_updateAnimatedEvent","state","drawerPosition","drawerWidth","drawerType","dragXValue","dragX","touchXValue","touchX","drawerTranslation","containerWidth","Animated","multiply","Value","add","setValue","translationX","startPositionX","dragOffsetFromOnStartPosition","interpolate","inputRange","outputRange","_openValue","extrapolate","_onGestureEvent","event","nativeEvent","x","useNativeDriver","useNativeAnimations","_handleContainerLayout","setState","layout","width","_emitStateChanged","newState","drawerWillShow","onDrawerStateChanged","_openingHandlerStateChange","oldState","State","ACTIVE","_handleRelease","keyboardDismissMode","Keyboard","dismiss","hideStatusBar","StatusBar","setHidden","statusBarAnimation","_onTapHandlerStateChange","drawerLockMode","closeDrawer","velocityX","gestureStartX","dragOffsetBasedOnStart","startOffsetX","projOffsetX","shouldOpen","_animateDrawer","_updateShowing","showing","current","setNativeProps","accessibilityViewIsModal","pointerEvents","minSwipeDistance","edgeWidth","fromLeft","gestureOrientation","hitSlop","left","undefined","right","activeOffsetX","fromValue","toValue","velocity","nextFramePosition","Math","min","max","willShow","spring","bounciness","start","finished","onDrawerOpen","onDrawerClose","openDrawer","options","forceUpdate","_renderOverlay","overlayOpacity","dynamicOverlayStyles","opacity","backgroundColor","overlayColor","styles","overlay","_renderDrawer","drawerBackgroundColor","drawerContainerStyle","contentContainerStyle","drawerSlide","containerSlide","reverseContentDirection","I18nManager","isRTL","dynamicDrawerStyles","openValue","containerStyles","containerTranslateX","transform","translateX","drawerTranslateX","closedDrawerOffset","drawerStyles","flexDirection","main","containerOnBack","containerInFront","children","drawerContainer","renderNavigationView","_setPanGestureRef","ref","onGestureRef","Component","defaultProps","positions","Left","Right","StyleSheet","create","absoluteFillObject","zIndex","flex","overflow"],"mappings":"gzBAUA,qDACA,4D,ohBAUA,gD,yxBAEA,GAAMA,CAAAA,SAAS,CAAG,IAAlB,CAEA,GAAMC,CAAAA,IAAI,CAAG,MAAb,CACA,GAAMC,CAAAA,QAAQ,CAAG,UAAjB,CACA,GAAMC,CAAAA,QAAQ,CAAG,UAAjB,C,GA6CqBC,CAAAA,Y,sEAuBnB,sBAA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,CAbyB,CAkB/BvC,OAAO,kBACFkC,oBAAWE,kBADT,EAELC,MAAM,CAAE,IAFH,EAlBwB,CAAlB,CAAf","sourcesContent":["// @flow\n\n// This component is based on RN's DrawerLayoutAndroid API\n//\n// It perhaps deserves to be put in a separate repo, but since it relies\n// on react-native-gesture-handler library which isn't very popular at the\n// moment I decided to keep it here for the time being. It will allow us\n// to move faster and fix issues that may arise in gesture handler library\n// that could be found when using the drawer component\n\nimport React, { Component } from 'react';\nimport invariant from 'invariant';\nimport {\n Animated,\n StyleSheet,\n View,\n Keyboard,\n StatusBar,\n I18nManager,\n} from 'react-native';\n\nimport { PanGestureHandler, TapGestureHandler, State } from './GestureHandler';\n\nconst DRAG_TOSS = 0.05;\n\nconst IDLE = 'Idle';\nconst DRAGGING = 'Dragging';\nconst SETTLING = 'Settling';\n\nexport type PropType = {\n children: any,\n drawerBackgroundColor?: string,\n drawerPosition: 'left' | 'right',\n drawerLockMode?: 'unlocked' | 'locked-closed' | 'locked-open',\n drawerWidth: number,\n keyboardDismissMode?: 'none' | 'on-drag',\n onDrawerClose?: Function,\n onDrawerOpen?: Function,\n onDrawerStateChanged?: Function,\n renderNavigationView: (progressAnimatedValue: any) => any,\n useNativeAnimations: boolean,\n\n // brand new properties\n drawerType: 'front' | 'back' | 'slide',\n edgeWidth: number,\n minSwipeDistance: number,\n hideStatusBar?: boolean,\n statusBarAnimation?: 'slide' | 'none' | 'fade',\n overlayColor: string,\n drawerContainerStyle?: any,\n contentContainerStyle?: any,\n onGestureRef?: Function,\n\n // Properties not yet supported\n // onDrawerSlide?: Function\n};\n\nexport type StateType = {\n dragX: any,\n touchX: any,\n drawerTranslation: any,\n containerWidth: number,\n};\n\nexport type EventType = {\n stopPropagation: Function,\n};\n\nexport type DrawerMovementOptionType = {\n velocity?: number,\n};\n\nexport default class DrawerLayout extends Component<PropType, StateType> {\n static defaultProps = {\n drawerWidth: 200,\n drawerPosition: 'left',\n useNativeAnimations: true,\n drawerType: 'front',\n edgeWidth: 20,\n minSwipeDistance: 3,\n overlayColor: 'black',\n drawerLockMode: 'unlocked',\n };\n\n static positions = {\n Left: 'left',\n Right: 'right',\n };\n _openValue: ?Animated.Interpolation;\n _onGestureEvent: ?Animated.Event;\n _accessibilityIsModalView = React.createRef();\n _pointerEventsView = React.createRef();\n _panGestureHandler = React.createRef();\n _drawerShown = false;\n\n constructor(props: PropType, context: any) {\n super(props, context);\n\n const dragX = new Animated.Value(0);\n const touchX = new Animated.Value(0);\n const drawerTranslation = new Animated.Value(0);\n\n this.state = {\n dragX,\n touchX,\n drawerTranslation,\n containerWidth: 0,\n };\n\n this._updateAnimatedEvent(props, this.state);\n }\n\n componentWillUpdate(props: PropType, state: StateType) {\n if (\n this.props.drawerPosition !== props.drawerPosition ||\n this.props.drawerWidth !== props.drawerWidth ||\n this.props.drawerType !== props.drawerType ||\n this.state.containerWidth !== state.containerWidth\n ) {\n this._updateAnimatedEvent(props, state);\n }\n }\n\n _updateAnimatedEvent = (props: PropType, state: StateType) => {\n // Event definition is based on\n const { drawerPosition, drawerWidth, drawerType } = props;\n const {\n dragX: dragXValue,\n touchX: touchXValue,\n drawerTranslation,\n containerWidth,\n } = state;\n\n let dragX = dragXValue;\n let touchX = touchXValue;\n\n if (drawerPosition !== 'left') {\n // Most of the code is written in a way to handle left-side drawer.\n // In order to handle right-side drawer the only thing we need to\n // do is to reverse events coming from gesture handler in a way they\n // emulate left-side drawer gestures. E.g. dragX is simply -dragX, and\n // touchX is calulcated by subtracing real touchX from the width of the\n // container (such that when touch happens at the right edge the value\n // is simply 0)\n dragX = Animated.multiply(new Animated.Value(-1), dragXValue);\n touchX = Animated.add(\n new Animated.Value(containerWidth),\n Animated.multiply(new Animated.Value(-1), touchXValue)\n );\n touchXValue.setValue(containerWidth);\n } else {\n touchXValue.setValue(0);\n }\n\n // While closing the drawer when user starts gesture outside of its area (in greyed\n // out part of the window), we want the drawer to follow only once finger reaches the\n // edge of the drawer.\n // E.g. on the diagram below drawer is illustrate by X signs and the greyed out area by\n // dots. The touch gesture starts at '*' and moves left, touch path is indicated by\n // an arrow pointing left\n // 1) +---------------+ 2) +---------------+ 3) +---------------+ 4) +---------------+\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|.<-*..| |XXXXXXXX|<--*..| |XXXXX|<-----*..|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // +---------------+ +---------------+ +---------------+ +---------------+\n //\n // For the above to work properly we define animated value that will keep start position\n // of the gesture. Then we use that value to calculate how much we need to subtract from\n // the dragX. If the gesture started on the greyed out area we take the distance from the\n // edge of the drawer to the start position. Otherwise we don't subtract at all and the\n // drawer be pulled back as soon as you start the pan.\n //\n // This is used only when drawerType is \"front\"\n //\n let translationX = dragX;\n if (drawerType === 'front') {\n const startPositionX = Animated.add(\n touchX,\n Animated.multiply(new Animated.Value(-1), dragX)\n );\n\n const dragOffsetFromOnStartPosition = startPositionX.interpolate({\n inputRange: [drawerWidth - 1, drawerWidth, drawerWidth + 1],\n outputRange: [0, 0, 1],\n });\n translationX = Animated.add(dragX, dragOffsetFromOnStartPosition);\n }\n\n this._openValue = Animated.add(translationX, drawerTranslation).interpolate(\n {\n inputRange: [0, drawerWidth],\n outputRange: [0, 1],\n extrapolate: 'clamp',\n }\n );\n\n this._onGestureEvent = Animated.event(\n [{ nativeEvent: { translationX: dragXValue, x: touchXValue } }],\n { useNativeDriver: props.useNativeAnimations }\n );\n };\n\n _handleContainerLayout = ({ nativeEvent }) => {\n this.setState({ containerWidth: nativeEvent.layout.width });\n };\n\n _emitStateChanged = (newState: string, drawerWillShow: boolean) => {\n this.props.onDrawerStateChanged &&\n this.props.onDrawerStateChanged(newState, drawerWillShow);\n };\n\n _openingHandlerStateChange = ({ nativeEvent }) => {\n if (nativeEvent.oldState === State.ACTIVE) {\n this._handleRelease(nativeEvent);\n } else if (nativeEvent.state === State.ACTIVE) {\n this._emitStateChanged(DRAGGING, false);\n if (this.props.keyboardDismissMode === 'on-drag') {\n Keyboard.dismiss();\n }\n if (this.props.hideStatusBar) {\n StatusBar.setHidden(true, this.props.statusBarAnimation || 'slide');\n }\n }\n };\n\n _onTapHandlerStateChange = ({ nativeEvent }) => {\n if (\n this._drawerShown &&\n nativeEvent.oldState === State.ACTIVE &&\n this.props.drawerLockMode !== 'locked-open'\n ) {\n this.closeDrawer();\n }\n };\n\n _handleRelease = nativeEvent => {\n const { drawerWidth, drawerPosition, drawerType } = this.props;\n const { containerWidth } = this.state;\n let { translationX: dragX, velocityX, x: touchX } = nativeEvent;\n\n if (drawerPosition !== 'left') {\n // See description in _updateAnimatedEvent about why events are flipped\n // for right-side drawer\n dragX = -dragX;\n touchX = containerWidth - touchX;\n velocityX = -velocityX;\n }\n\n const gestureStartX = touchX - dragX;\n let dragOffsetBasedOnStart = 0;\n\n if (drawerType === 'front') {\n dragOffsetBasedOnStart =\n gestureStartX > drawerWidth ? gestureStartX - drawerWidth : 0;\n }\n\n const startOffsetX =\n dragX + dragOffsetBasedOnStart + (this._drawerShown ? drawerWidth : 0);\n const projOffsetX = startOffsetX + DRAG_TOSS * velocityX;\n\n const shouldOpen = projOffsetX > drawerWidth / 2;\n\n if (shouldOpen) {\n this._animateDrawer(startOffsetX, drawerWidth, velocityX);\n } else {\n this._animateDrawer(startOffsetX, 0, velocityX);\n }\n };\n\n _updateShowing = (showing: boolean) => {\n this._drawerShown = showing;\n this._accessibilityIsModalView.current &&\n this._accessibilityIsModalView.current.setNativeProps({\n accessibilityViewIsModal: showing,\n });\n this._pointerEventsView.current &&\n this._pointerEventsView.current.setNativeProps({\n pointerEvents: showing ? 'auto' : 'none',\n });\n const { drawerPosition, minSwipeDistance, edgeWidth } = this.props;\n const fromLeft = drawerPosition === 'left';\n // gestureOrientation is 1 if the expected gesture is from left to right and -1 otherwise\n // e.g. when drawer is on the left and is closed we expect left to right gesture, thus\n // orientation will be 1.\n const gestureOrientation =\n (fromLeft ? 1 : -1) * (this._drawerShown ? -1 : 1);\n // When drawer is closed we want the hitSlop to be horizontally shorter\n // than the container size by the value of SLOP. This will make it only\n // activate when gesture happens not further than SLOP away from the edge\n const hitSlop = fromLeft\n ? { left: 0, width: showing ? undefined : edgeWidth }\n : { right: 0, width: showing ? undefined : edgeWidth };\n this._panGestureHandler.current &&\n this._panGestureHandler.current.setNativeProps({\n hitSlop,\n activeOffsetX: gestureOrientation * minSwipeDistance,\n });\n };\n\n _animateDrawer = (fromValue: ?number, toValue: number, velocity: number) => {\n this.state.dragX.setValue(0);\n this.state.touchX.setValue(\n this.props.drawerPosition === 'left' ? 0 : this.state.containerWidth\n );\n\n if (fromValue !== undefined) {\n let nextFramePosition = fromValue;\n if (this.props.useNativeAnimations) {\n // When using native driver, we predict the next position of the animation\n // because it takes one frame of a roundtrip to pass RELEASE event from\n // native driver to JS before we can start animating. Without it, it is more\n // noticable that the frame is dropped.\n if (fromValue < toValue && velocity > 0) {\n nextFramePosition = Math.min(fromValue + velocity / 60.0, toValue);\n } else if (fromValue > toValue && velocity < 0) {\n nextFramePosition = Math.max(fromValue + velocity / 60.0, toValue);\n }\n }\n this.state.drawerTranslation.setValue(nextFramePosition);\n }\n\n const willShow = toValue !== 0;\n this._updateShowing(willShow);\n this._emitStateChanged(SETTLING, willShow);\n if (this.props.hideStatusBar) {\n StatusBar.setHidden(willShow, this.props.statusBarAnimation || 'slide');\n }\n Animated.spring(this.state.drawerTranslation, {\n velocity,\n bounciness: 0,\n toValue,\n useNativeDriver: this.props.useNativeAnimations,\n }).start(({ finished }) => {\n if (finished) {\n this._emitStateChanged(IDLE, willShow);\n if (willShow) {\n this.props.onDrawerOpen && this.props.onDrawerOpen();\n } else {\n this.props.onDrawerClose && this.props.onDrawerClose();\n }\n }\n });\n };\n\n openDrawer = (options: DrawerMovementOptionType = {}) => {\n this._animateDrawer(\n undefined,\n this.props.drawerWidth,\n options.velocity ? options.velocity : 0\n );\n\n // We need to force the update, otherwise the overlay is not rerendered and it would not be clickable\n this.forceUpdate();\n };\n\n closeDrawer = (options: DrawerMovementOptionType = {}) => {\n this._animateDrawer(undefined, 0, options.velocity ? options.velocity : 0);\n\n // We need to force the update, otherwise the overlay is not rerendered and it would be still clickable\n this.forceUpdate();\n };\n\n _renderOverlay = () => {\n /* Overlay styles */\n invariant(this._openValue, 'should be set');\n const overlayOpacity = this._openValue.interpolate({\n inputRange: [0, 1],\n outputRange: [0, 0.7],\n extrapolate: 'clamp',\n });\n const dynamicOverlayStyles = {\n opacity: overlayOpacity,\n backgroundColor: this.props.overlayColor,\n };\n\n return (\n <TapGestureHandler onHandlerStateChange={this._onTapHandlerStateChange}>\n <Animated.View\n pointerEvents={this._drawerShown ? 'auto' : 'none'}\n ref={this._pointerEventsView}\n style={[styles.overlay, dynamicOverlayStyles]}\n />\n </TapGestureHandler>\n );\n };\n\n _renderDrawer = () => {\n const {\n drawerBackgroundColor,\n drawerWidth,\n drawerPosition,\n drawerType,\n drawerContainerStyle,\n contentContainerStyle,\n } = this.props;\n\n const fromLeft = drawerPosition === 'left';\n const drawerSlide = drawerType !== 'back';\n const containerSlide = drawerType !== 'front';\n\n // we rely on row and row-reverse flex directions to position the drawer\n // properly. Apparently for RTL these are flipped which requires us to use\n // the opposite setting for the drawer to appear from left or right according\n // to the drawerPosition prop\n const reverseContentDirection = I18nManager.isRTL ? fromLeft : !fromLeft;\n\n const dynamicDrawerStyles = {\n backgroundColor: drawerBackgroundColor,\n width: drawerWidth,\n };\n const openValue = this._openValue;\n invariant(openValue, 'should be set');\n\n let containerStyles;\n if (containerSlide) {\n const containerTranslateX = openValue.interpolate({\n inputRange: [0, 1],\n outputRange: fromLeft ? [0, drawerWidth] : [0, -drawerWidth],\n extrapolate: 'clamp',\n });\n containerStyles = {\n transform: [{ translateX: containerTranslateX }],\n };\n }\n\n let drawerTranslateX = 0;\n if (drawerSlide) {\n const closedDrawerOffset = fromLeft ? -drawerWidth : drawerWidth;\n drawerTranslateX = openValue.interpolate({\n inputRange: [0, 1],\n outputRange: [closedDrawerOffset, 0],\n extrapolate: 'clamp',\n });\n }\n const drawerStyles = {\n transform: [{ translateX: drawerTranslateX }],\n flexDirection: reverseContentDirection ? 'row-reverse' : 'row',\n };\n\n return (\n <Animated.View style={styles.main} onLayout={this._handleContainerLayout}>\n <Animated.View\n style={[\n drawerType === 'front'\n ? styles.containerOnBack\n : styles.containerInFront,\n containerStyles,\n contentContainerStyle,\n ]}>\n {typeof this.props.children === 'function'\n ? this.props.children(this._openValue)\n : this.props.children}\n {this._renderOverlay()}\n </Animated.View>\n <Animated.View\n pointerEvents=\"box-none\"\n ref={this._accessibilityIsModalView}\n accessibilityViewIsModal={this._drawerShown}\n style={[styles.drawerContainer, drawerStyles, drawerContainerStyle]}>\n <View style={dynamicDrawerStyles}>\n {this.props.renderNavigationView(this._openValue)}\n </View>\n </Animated.View>\n </Animated.View>\n );\n };\n\n _setPanGestureRef = ref => {\n this._panGestureHandler.current = ref;\n this.props.onGestureRef && this.props.onGestureRef(ref);\n };\n\n render() {\n const {\n drawerPosition,\n drawerLockMode,\n edgeWidth,\n minSwipeDistance,\n } = this.props;\n\n const fromLeft = drawerPosition === 'left';\n\n // gestureOrientation is 1 if the expected gesture is from left to right and -1 otherwise\n // e.g. when drawer is on the left and is closed we expect left to right gesture, thus\n // orientation will be 1.\n const gestureOrientation =\n (fromLeft ? 1 : -1) * (this._drawerShown ? -1 : 1);\n\n // When drawer is closed we want the hitSlop to be horizontally shorter\n // than the container size by the value of SLOP. This will make it only\n // activate when gesture happens not further than SLOP away from the edge\n const hitSlop = fromLeft\n ? { left: 0, width: this._drawerShown ? undefined : edgeWidth }\n : { right: 0, width: this._drawerShown ? undefined : edgeWidth };\n\n return (\n <PanGestureHandler\n ref={this._setPanGestureRef}\n hitSlop={hitSlop}\n activeOffsetX={gestureOrientation * minSwipeDistance}\n failOffsetY={[-15, 15]}\n onGestureEvent={this._onGestureEvent}\n onHandlerStateChange={this._openingHandlerStateChange}\n enabled={\n drawerLockMode !== 'locked-closed' && drawerLockMode !== 'locked-open'\n }>\n {this._renderDrawer()}\n </PanGestureHandler>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n drawerContainer: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1001,\n flexDirection: 'row',\n },\n containerInFront: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1002,\n },\n containerOnBack: {\n ...StyleSheet.absoluteFillObject,\n },\n main: {\n flex: 1,\n zIndex: 0,\n overflow: 'hidden',\n },\n overlay: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1000,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _FlatList=_interopRequireDefault(require(\"../../vendor/react-native/FlatList\"));var _default=_FlatList.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/FlatList/index.js"],"names":["FlatList"],"mappings":"mKASA,oF,aACeA,iB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport FlatList from '../../vendor/react-native/FlatList';\nexport default FlatList;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _reactNativeScreens=require(\"react-native-screens\");var _createTabNavigator=_interopRequireDefault(require(\"../utils/createTabNavigator\"));var _BottomTabBar=_interopRequireDefault(require(\"../views/BottomTabBar\"));var _ResourceSavingScene=_interopRequireDefault(require(\"../views/ResourceSavingScene\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/navigators/createBottomTabNavigator.tsx\";var TabNavigationView=function(_React$PureComponent){(0,_inherits2.default)(TabNavigationView,_React$PureComponent);function TabNavigationView(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabNavigationView);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabNavigationView)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={loaded:[_this.props.navigation.state.index]};_this._getButtonComponent=function(_ref){var route=_ref.route;var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var options=descriptor.options;if(options.tabBarButtonComponent){return options.tabBarButtonComponent;}return undefined;};_this._renderTabBar=function(){var _this$props=_this.props,_this$props$tabBarCom=_this$props.tabBarComponent,TabBarComponent=_this$props$tabBarCom===void 0?_BottomTabBar.default:_this$props$tabBarCom,tabBarOptions=_this$props.tabBarOptions,navigation=_this$props.navigation,screenProps=_this$props.screenProps,getLabelText=_this$props.getLabelText,getAccessibilityLabel=_this$props.getAccessibilityLabel,getAccessibilityRole=_this$props.getAccessibilityRole,getAccessibilityStates=_this$props.getAccessibilityStates,getTestID=_this$props.getTestID,renderIcon=_this$props.renderIcon,onTabPress=_this$props.onTabPress,onTabLongPress=_this$props.onTabLongPress;var descriptors=_this.props.descriptors;var state=_this.props.navigation.state;var route=state.routes[state.index];var descriptor=descriptors[route.key];var options=descriptor.options;if(options.tabBarVisible===false){return null;}return React.createElement(TabBarComponent,(0,_extends2.default)({},tabBarOptions,{jumpTo:_this._jumpTo,navigation:navigation,screenProps:screenProps,onTabPress:onTabPress,onTabLongPress:onTabLongPress,getLabelText:getLabelText,getButtonComponent:_this._getButtonComponent,getAccessibilityLabel:getAccessibilityLabel,getAccessibilityRole:getAccessibilityRole,getAccessibilityStates:getAccessibilityStates,getTestID:getTestID,renderIcon:renderIcon,__source:{fileName:_jsxFileName,lineNumber:114}}));};_this._jumpTo=function(key){var _this$props2=_this.props,navigation=_this$props2.navigation,onIndexChange=_this$props2.onIndexChange;var index=navigation.state.routes.findIndex(function(route){return route.key===key;});onIndexChange(index);};return _this;}(0,_createClass2.default)(TabNavigationView,[{key:\"render\",value:function render(){var _this$props3=this.props,navigation=_this$props3.navigation,renderScene=_this$props3.renderScene,lazy=_this$props3.lazy;var routes=navigation.state.routes;var loaded=this.state.loaded;return React.createElement(_View.default,{style:styles.container,__source:{fileName:_jsxFileName,lineNumber:146}},React.createElement(_reactNativeScreens.ScreenContainer,{style:styles.pages,__source:{fileName:_jsxFileName,lineNumber:147}},routes.map(function(route,index){if(lazy&&!loaded.includes(index)){return null;}var isFocused=navigation.state.index===index;return React.createElement(_ResourceSavingScene.default,{key:route.key,style:_StyleSheet.default.absoluteFill,isVisible:isFocused,__source:{fileName:_jsxFileName,lineNumber:157}},renderScene({route:route}));})),this._renderTabBar());}}],[{key:\"getDerivedStateFromProps\",value:function getDerivedStateFromProps(nextProps,prevState){var index=nextProps.navigation.state.index;return{loaded:prevState.loaded.includes(index)?prevState.loaded:[].concat((0,_toConsumableArray2.default)(prevState.loaded),[index])};}}]);return TabNavigationView;}(React.PureComponent);TabNavigationView.defaultProps={lazy:true,getAccessibilityRole:function getAccessibilityRole(){return'button';},getAccessibilityStates:function getAccessibilityStates(_ref2){var focused=_ref2.focused;return focused?['selected']:[];}};var styles=_StyleSheet.default.create({container:{flex:1,overflow:'hidden'},pages:{flex:1}});var _default=(0,_createTabNavigator.default)(TabNavigationView);exports.default=_default;","map":{"version":3,"sources":["createBottomTabNavigator.tsx"],"names":["TabNavigationView","React","PureComponent","defaultProps","lazy","getAccessibilityRole","getAccessibilityStates","focused","nextProps","prevState","index","loaded","state","_getButtonComponent","route","descriptors","descriptor","options","_renderTabBar","TabBarComponent","tabBarOptions","navigation","screenProps","getLabelText","getAccessibilityLabel","getTestID","renderIcon","onTabPress","onTabLongPress","_jumpTo","onIndexChange","renderScene","routes","styles","isFocused","StyleSheet","container","flex","overflow","pages","createTabNavigator"],"mappings":"s4BAAA,oD,4KAUA,wDAEA,uFAGA,2EACA,yF,sHAgCMA,GAAAA,CAAAA,iB,seAsBJY,K,CAAQ,CACND,MAAM,CAAE,CAAC,KAAA,CAAA,KAAA,CAAA,UAAA,CAAA,KAAA,CADH,KACE,CADF,C,OAIRE,mB,CAAsB,SAAA,IAAA,CAA2C,CAAxCC,GAAAA,CAAAA,KAAwC,CAAA,IAAA,CAAxCA,KAAAA,CAAwC,GACvDC,CAAAA,WADuD,CACvC,KAAA,CADuC,KACvC,CADuC,WAAA,CAE/D,GAAMC,CAAAA,UAAU,CAAGD,WAAW,CAACD,KAAK,CAApC,GAA8B,CAA9B,CACA,GAAMG,CAAAA,OAA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C,oBAAoB,CAAE,QAAA,CAAA,oBAAA,EAAA,CAAA,MAAA,QAAA,CAFF,CAAA,CAGpBC,sBAAsB,CAAE,QAAA,CAAA,sBAAA,CAAA,KAAA,CAAA,CAAA,GACtBC,CAAAA,OADsB,CAAA,KAAA,CAAA,OAAA,CAAA,MAIKA,CAAAA,OAAO,CAAG,CAAH,UAAG,CAAH,CAJZ,EAAA,CAHJ,CAAA,CADlBP,CA4HN,GAAMiC,CAAAA,MAAM,CAAGE,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,IAAI,CADK,CAAA,CAETC,QAAQ,CAHqB,QACpB,CADoB,CAK/BC,KAAK,CAAE,CACLF,IAAI,CANR,CAKS,CALwB,CAAlBF,CAAf,C,aAUeK,gCAAf,iBAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n View,\n StyleSheet,\n AccessibilityRole,\n AccessibilityState,\n} from 'react-native';\nimport { NavigationRoute } from 'react-navigation';\n\n// eslint-disable-next-line import/no-unresolved\nimport { ScreenContainer } from 'react-native-screens';\n\nimport createTabNavigator, {\n NavigationViewProps,\n} from '../utils/createTabNavigator';\nimport BottomTabBar from '../views/BottomTabBar';\nimport ResourceSavingScene from '../views/ResourceSavingScene';\nimport {\n NavigationTabProp,\n NavigationBottomTabOptions,\n BottomTabBarOptions,\n SceneDescriptorMap,\n} from '../types';\n\ntype Config = {\n lazy?: boolean;\n tabBarComponent?: React.ComponentType<any>;\n tabBarOptions?: BottomTabBarOptions;\n};\n\ntype Props = NavigationViewProps &\n Config & {\n getAccessibilityRole: (props: {\n route: NavigationRoute;\n }) => AccessibilityRole | undefined;\n getAccessibilityStates: (props: {\n route: NavigationRoute;\n focused: boolean;\n }) => AccessibilityState[];\n navigation: NavigationTabProp;\n descriptors: SceneDescriptorMap;\n screenProps?: unknown;\n };\n\ntype State = {\n loaded: number[];\n};\n\nclass TabNavigationView extends React.PureComponent<Props, State> {\n static defaultProps = {\n lazy: true,\n getAccessibilityRole: (): AccessibilityRole => 'button',\n getAccessibilityStates: ({\n focused,\n }: {\n focused: boolean;\n }): AccessibilityState[] => (focused ? ['selected'] : []),\n };\n\n static getDerivedStateFromProps(nextProps: Props, prevState: State) {\n const { index } = nextProps.navigation.state;\n\n return {\n // Set the current tab to be loaded if it was not loaded before\n loaded: prevState.loaded.includes(index)\n ? prevState.loaded\n : [...prevState.loaded, index],\n };\n }\n\n state = {\n loaded: [this.props.navigation.state.index],\n };\n\n _getButtonComponent = ({ route }: { route: NavigationRoute }) => {\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n if (options.tabBarButtonComponent) {\n return options.tabBarButtonComponent;\n }\n\n return undefined;\n };\n\n _renderTabBar = () => {\n const {\n tabBarComponent: TabBarComponent = BottomTabBar,\n tabBarOptions,\n navigation,\n screenProps,\n getLabelText,\n getAccessibilityLabel,\n getAccessibilityRole,\n getAccessibilityStates,\n getTestID,\n renderIcon,\n onTabPress,\n onTabLongPress,\n } = this.props;\n\n const { descriptors } = this.props;\n const { state } = this.props.navigation;\n const route = state.routes[state.index];\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n if (options.tabBarVisible === false) {\n return null;\n }\n\n return (\n <TabBarComponent\n {...tabBarOptions}\n jumpTo={this._jumpTo}\n navigation={navigation}\n screenProps={screenProps}\n onTabPress={onTabPress}\n onTabLongPress={onTabLongPress}\n getLabelText={getLabelText}\n getButtonComponent={this._getButtonComponent}\n getAccessibilityLabel={getAccessibilityLabel}\n getAccessibilityRole={getAccessibilityRole}\n getAccessibilityStates={getAccessibilityStates}\n getTestID={getTestID}\n renderIcon={renderIcon}\n />\n );\n };\n\n _jumpTo = (key: string) => {\n const { navigation, onIndexChange } = this.props;\n\n const index = navigation.state.routes.findIndex(route => route.key === key);\n\n onIndexChange(index);\n };\n\n render() {\n const { navigation, renderScene, lazy } = this.props;\n const { routes } = navigation.state;\n const { loaded } = this.state;\n\n return (\n <View style={styles.container}>\n <ScreenContainer style={styles.pages}>\n {routes.map((route, index) => {\n if (lazy && !loaded.includes(index)) {\n // Don't render a screen if we've never navigated to it\n return null;\n }\n\n const isFocused = navigation.state.index === index;\n\n return (\n <ResourceSavingScene\n key={route.key}\n style={StyleSheet.absoluteFill}\n isVisible={isFocused}\n >\n {renderScene({ route })}\n </ResourceSavingScene>\n );\n })}\n </ScreenContainer>\n {this._renderTabBar()}\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n overflow: 'hidden',\n },\n pages: {\n flex: 1,\n },\n});\n\nexport default createTabNavigator<Config, NavigationBottomTabOptions, Props>(\n TabNavigationView\n);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";var TouchEventUtils={extractSingleTouch:function extractSingleTouch(nativeEvent){var touches=nativeEvent.touches;var changedTouches=nativeEvent.changedTouches;var hasTouches=touches&&touches.length>0;var hasChangedTouches=changedTouches&&changedTouches.length>0;return!hasTouches&&hasChangedTouches?changedTouches[0]:hasTouches?touches[0]:nativeEvent;}};module.exports=TouchEventUtils;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/TouchEventUtils.js"],"names":["TouchEventUtils","extractSingleTouch","nativeEvent","touches","changedTouches","hasTouches","length","hasChangedTouches","module","exports"],"mappings":"AAAA,aASA,GAAIA,CAAAA,eAAe,CAAG,CAWpBC,kBAAkB,CAAE,QAASA,CAAAA,kBAAT,CAA4BC,WAA5B,CAAyC,CAC3D,GAAIC,CAAAA,OAAO,CAAGD,WAAW,CAACC,OAA1B,CACA,GAAIC,CAAAA,cAAc,CAAGF,WAAW,CAACE,cAAjC,CACA,GAAIC,CAAAA,UAAU,CAAGF,OAAO,EAAIA,OAAO,CAACG,MAAR,CAAiB,CAA7C,CACA,GAAIC,CAAAA,iBAAiB,CAAGH,cAAc,EAAIA,cAAc,CAACE,MAAf,CAAwB,CAAlE,CACA,MAAO,CAACD,UAAD,EAAeE,iBAAf,CAAmCH,cAAc,CAAC,CAAD,CAAjD,CAAuDC,UAAU,CAAGF,OAAO,CAAC,CAAD,CAAV,CAAgBD,WAAxF,CACD,CAjBmB,CAAtB,CAmBAM,MAAM,CAACC,OAAP,CAAiBT,eAAjB","sourcesContent":["\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nvar TouchEventUtils = {\n /**\n * Utility function for common case of extracting out the primary touch from a\n * touch event.\n * - `touchEnd` events usually do not have the `touches` property.\n * http://stackoverflow.com/questions/3666929/\n * mobile-sarai-touchend-event-not-firing-when-last-touch-is-removed\n *\n * @param {Event} nativeEvent Native event that may or may not be a touch.\n * @return {TouchesObject?} an object with pageX and pageY or null.\n */\n extractSingleTouch: function extractSingleTouch(nativeEvent) {\n var touches = nativeEvent.touches;\n var changedTouches = nativeEvent.changedTouches;\n var hasTouches = touches && touches.length > 0;\n var hasChangedTouches = changedTouches && changedTouches.length > 0;\n return !hasTouches && hasChangedTouches ? changedTouches[0] : hasTouches ? touches[0] : nativeEvent;\n }\n};\nmodule.exports = TouchEventUtils;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"Icon\",{enumerable:true,get:function get(){return _AvatarIcon.default;}});Object.defineProperty(exports,\"Image\",{enumerable:true,get:function get(){return _AvatarImage.default;}});Object.defineProperty(exports,\"Text\",{enumerable:true,get:function get(){return _AvatarText.default;}});var _AvatarIcon=_interopRequireDefault(require(\"./AvatarIcon\"));var _AvatarImage=_interopRequireDefault(require(\"./AvatarImage\"));var _AvatarText=_interopRequireDefault(require(\"./AvatarText\"));","map":{"version":3,"sources":["Avatar.tsx"],"names":[],"mappings":"scACA,gEAGA,kEAGA","sourcesContent":["// @component ./AvatarIcon.tsx\nexport { default as Icon } from './AvatarIcon';\n\n// @component ./AvatarImage.tsx\nexport { default as Image } from './AvatarImage';\n\n// @component ./AvatarText.tsx\nexport { default as Text } from './AvatarText';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var scope=typeof global!==\"undefined\"&&global||typeof self!==\"undefined\"&&self||window;var apply=Function.prototype.apply;exports.setTimeout=function(){return new Timeout(apply.call(setTimeout,scope,arguments),clearTimeout);};exports.setInterval=function(){return new Timeout(apply.call(setInterval,scope,arguments),clearInterval);};exports.clearTimeout=exports.clearInterval=function(timeout){if(timeout){timeout.close();}};function Timeout(id,clearFn){this._id=id;this._clearFn=clearFn;}Timeout.prototype.unref=Timeout.prototype.ref=function(){};Timeout.prototype.close=function(){this._clearFn.call(scope,this._id);};exports.enroll=function(item,msecs){clearTimeout(item._idleTimeoutId);item._idleTimeout=msecs;};exports.unenroll=function(item){clearTimeout(item._idleTimeoutId);item._idleTimeout=-1;};exports._unrefActive=exports.active=function(item){clearTimeout(item._idleTimeoutId);var msecs=item._idleTimeout;if(msecs>=0){item._idleTimeoutId=setTimeout(function onTimeout(){if(item._onTimeout)item._onTimeout();},msecs);}};require(\"setimmediate\");exports.setImmediate=typeof self!==\"undefined\"&&self.setImmediate||typeof global!==\"undefined\"&&global.setImmediate||this&&this.setImmediate;exports.clearImmediate=typeof self!==\"undefined\"&&self.clearImmediate||typeof global!==\"undefined\"&&global.clearImmediate||this&&this.clearImmediate;","map":{"version":3,"sources":["C:/Users/bluej/AppData/Roaming/npm/node_modules/expo-cli/node_modules/timers-browserify/main.js"],"names":["scope","global","self","window","apply","Function","prototype","exports","setTimeout","Timeout","call","arguments","clearTimeout","setInterval","clearInterval","timeout","close","id","clearFn","_id","_clearFn","unref","ref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","onTimeout","_onTimeout","require","setImmediate","clearImmediate"],"mappings":"AAAA,GAAIA,CAAAA,KAAK,CAAI,MAAOC,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AKAlB,OAAO,CAACqB,QAAR,CAAmB,SAASJ,IAAT,CAAe,CAChCZ,YAAY,CAACY,IAAI,CAACE,cAAN,CAAZ,CACAF,IAAI,CAACG,YAAL,CAAoB,CAAC,CAArB,CACD,CAHD,CAKApB,OAAO,CAACsB,YAAR,CAAuBtB,OAAO,CAACuB,MAAR,CAAiB,SAASN,IAAT,CAAe,CACrDZ,YAAY,CAACY,IAAI,CAACE,cAAN,CAAZ,CAEA,GAAID,CAAAA,KAAK,CAAGD,IAAI,CAACG,YAAjB,CACA,GAAIF,KAAK,EAAI,CAAb,CAAgB,CACdD,IAAI,CAACE,cAAL,CAAsBlB,UAAU,CAAC,QAASuB,CAAAA,SAAT,EAAqB,CACpD,GAAIP,IAAI,CAACQ,UAAT,CACER,IAAI,CAACQ,UAAL,GACH,CAH+B,CAG7BP,KAH6B,CAAhC,CAID,CACF,CAVD,CAaAQ,OAAO,CAAC,cAAD,CAAP,CAIA1B,OAAO,CAAC2B,YAAR,CAAwB,MAAOhC,CAAAA,IAAP,GAAgB,WAAhB,EAA+BA,IAAI,CAACgC,YAArC,EACC,MAAOjC,CAAAA,MAAP,GAAkB,WAAlB,EAAiCA,MAAM,CAACiC,YADzC,EAEC,MAAQ,KAAKA,YAFrC,CAGA3B,OAAO,CAAC4B,cAAR,CAA0B,MAAOjC,CAAAA,IAAP,GAAgB,WAAhB,EAA+BA,IAAI,CAACiC,cAArC,EACC,MAAOlC,CAAAA,MAAP,GAAkB,WAAlB,EAAiCA,MAAM,CAACkC,cADzC,EAEC,MAAQ,KAAKA,cAFvC","sourcesContent":["var scope = (typeof global !== \"undefined\" && global) ||\n (typeof self !== \"undefined\" && self) ||\n window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\nrequire(\"setimmediate\");\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = (typeof self !== \"undefined\" && self.setImmediate) ||\n (typeof global !== \"undefined\" && global.setImmediate) ||\n (this && this.setImmediate);\nexports.clearImmediate = (typeof self !== \"undefined\" && self.clearImmediate) ||\n (typeof global !== \"undefined\" && global.clearImmediate) ||\n (this && this.clearImmediate);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createOrReuseTransformNode=createOrReuseTransformNode;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _areEqual=_interopRequireDefault(require(\"fbjs/lib/areEqual\"));function sanitizeTransform(inputTransform){var outputTransform=[];inputTransform.forEach(function(transform){for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode2.default){outputTransform.push({property:key,nodeID:value.__nodeID});}else{outputTransform.push({property:key,value:value});}}});return outputTransform;}function extractAnimatedParentNodes(transform){var parents=[];transform.forEach(function(transform){for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode2.default){parents.push(value);}}});return parents;}function createOrReuseTransformNode(transform,oldNode){var config=sanitizeTransform(transform);if(oldNode&&(0,_areEqual.default)(config,oldNode._config)){return oldNode;}return new AnimatedTransform(transform,config);}var AnimatedTransform=function(_AnimatedNode){(0,_inherits2.default)(AnimatedTransform,_AnimatedNode);function AnimatedTransform(transform,config){var _this;(0,_classCallCheck2.default)(this,AnimatedTransform);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedTransform).call(this,{type:'transform',transform:config},extractAnimatedParentNodes(transform)));_this._config=config;_this._transform=transform;return _this;}(0,_createClass2.default)(AnimatedTransform,[{key:\"__onEvaluate\",value:function __onEvaluate(){return this._transform.map(function(transform){var result={};for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode2.default){result[key]=value.__getValue();}}return result;});}}]);return AnimatedTransform;}(_AnimatedNode2.default);","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedTransform.js"],"names":["sanitizeTransform","inputTransform","outputTransform","forEach","transform","key","value","AnimatedNode","push","property","nodeID","__nodeID","extractAnimatedParentNodes","parents","createOrReuseTransformNode","oldNode","config","_config","AnimatedTransform","type","_transform","map","result","__getValue"],"mappings":"oqBAAA,qEAEA,mEAEA,QAASA,CAAAA,iBAAT,CAA2BC,cAA3B,CAA2C,CACzC,GAAMC,CAAAA,eAAe,CAAG,EAAxB,CACAD,cAAc,CAACE,OAAf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gEAC7B,6GACE,CAAEG,IAAI,CAAE,WAAR,CAAqBf,SAAS,CAAEY,MAAhC,CADF,CAEEJ,0BAA0B,CAACR,SAAD,CAF5B,GAIA,MAAKa,OAAL,CAAeD,MAAf,CACA,MAAKI,UAAL,CAAkBhB,SAAlB,CAN6B,aAO9B,C,8FAEc,CACb,MAAO,MAAKgB,UAAL,CAAgBC,GAAhB,CAAoB,SAAAjB,SAAS,CAAI,CACtC,GAAMkB,CAAAA,MAAM,CAAG,EAAf,CACA,IAAK,GAAMjB,CAAAA,GAAX,GAAkBD,CAAAA,SAAlB,CAA6B,CAC3B,GAAME,CAAAA,KAAK,CAAGF,SAAS,CAACC,GAAD,CAAvB,CACA,GAAIC,KAAK,WAAYC,uBAArB,CAAmC,CACjCe,MAAM,CAACjB,GAAD,CAAN,CAAcC,KAAK,CAACiB,UAAN,EAAd,CACD,CACF,CACD,MAAOD,CAAAA,MAAP,CACD,CATM,CAAP,CAUD,C,+BArB6Bf,sB","sourcesContent":["import AnimatedNode from './AnimatedNode';\n\nimport deepEqual from 'fbjs/lib/areEqual';\n\nfunction sanitizeTransform(inputTransform) {\n const outputTransform = [];\n inputTransform.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n outputTransform.push({\n property: key,\n nodeID: value.__nodeID,\n });\n } else {\n outputTransform.push({\n property: key,\n value,\n });\n }\n }\n });\n return outputTransform;\n}\n\nfunction extractAnimatedParentNodes(transform) {\n const parents = [];\n transform.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n parents.push(value);\n }\n }\n });\n return parents;\n}\n\nexport function createOrReuseTransformNode(transform, oldNode) {\n const config = sanitizeTransform(transform);\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedTransform(transform, config);\n}\n\nclass AnimatedTransform extends AnimatedNode {\n constructor(transform, config) {\n super(\n { type: 'transform', transform: config },\n extractAnimatedParentNodes(transform)\n );\n this._config = config;\n this._transform = transform;\n }\n\n __onEvaluate() {\n return this._transform.map(transform => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n }\n }\n return result;\n });\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Image=_interopRequireDefault(require(\"react-native-web/dist/exports/Image\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _theming=require(\"../../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Avatar/AvatarImage.tsx\";var defaultSize=64;var AvatarImage=function(_React$Component){(0,_inherits2.default)(AvatarImage,_React$Component);function AvatarImage(){(0,_classCallCheck2.default)(this,AvatarImage);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AvatarImage).apply(this,arguments));}(0,_createClass2.default)(AvatarImage,[{key:\"render\",value:function render(){var _this$props=this.props,_this$props$size=_this$props.size,size=_this$props$size===void 0?defaultSize:_this$props$size,source=_this$props.source,style=_this$props.style,theme=_this$props.theme;var colors=theme.colors;var _ref=_StyleSheet.default.flatten(style)||{},_ref$backgroundColor=_ref.backgroundColor,backgroundColor=_ref$backgroundColor===void 0?colors.primary:_ref$backgroundColor;return React.createElement(_View.default,{style:[{width:size,height:size,borderRadius:size/2,backgroundColor:backgroundColor},style],__source:{fileName:_jsxFileName,lineNumber:65}},React.createElement(_Image.default,{source:source,style:{width:size,height:size,borderRadius:size/2},__source:{fileName:_jsxFileName,lineNumber:76}}));}}]);return AvatarImage;}(React.Component);AvatarImage.displayName='Avatar.Image';AvatarImage.defaultProps={size:defaultSize};var _default=(0,_theming.withTheme)(AvatarImage);exports.default=_default;","map":{"version":3,"sources":["AvatarImage.tsx"],"names":["defaultSize","AvatarImage","React","Component","displayName","defaultProps","size","source","style","theme","colors","backgroundColor","StyleSheet","width","height","borderRadius","withTheme"],"mappings":"ktBAAA,oD,8PASA,2C,6GAGA,GAAMA,CAAAA,WAAW,CAAjB,EAAA,CAqCMC,GAAAA,CAAAA,W,wVAOK,CAAA,GAAA,CAAA,WAAA,CAC8C,KAD9C,KAAA,CAAA,gBAAA,CAAA,WAAA,CAAA,IAAA,CACCK,IADD,CAAA,gBAAA,GAAA,IAAA,EAAA,CAAA,WAAA,CAAA,gBAAA,CACqBC,MADrB,CAAA,WAAA,CAAA,MAAA,CAC6BC,KAD7B,CAAA,WAAA,CAAA,KAAA,CACoCC,KADpC,CAAA,WAAA,CAAA,KAAA,CAAA,GAECC,CAAAA,MAFD,CAEYD,KAFZ,CAAA,MAAA,CAAA,GAAA,CAAA,IAAA,CAKLG,oBAAAA,OAAAA,CAAAA,KAAAA,GALK,EAAA,CAAA,oBAAA,CAAA,IAAA,CAAA,eAAA,CAICD,eAJD,CAAA,oBAAA,GAAA,IAAA,EAAA,CAImBD,MAAM,CAJzB,OAAA,CAAA,oBAAA,CAOP,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,CACE,KAAK,CAAE,CACL,CACEG,KAAK,CADP,IAAA,CAEEC,MAAM,CAFR,IAAA,CAGEC,YAAY,CAAET,IAAI,CAHpB,CAAA,CAIEK,eAAe,CALZ,eACL,CADK,CADT,KACS,CADT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,EAAA,CAAA,CAAA,CAWE,KAAA,CAAA,aAAA,CAAA,cAAA,CAAA,CACE,MAAM,CADR,MAAA,CAEE,KAAK,CAAE,CAAEE,KAAK,CAAP,IAAA,CAAeC,MAAM,CAArB,IAAA,CAA6BC,YAAY,CAAET,IAAI,CAFxD,CAES,CAFT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAZJ,EAYI,CAAA,CAAA,CAXF,CADF,C,0BAdsBJ,KAAK,CAACC,S,CAA1BF,CAAAA,W,CACGG,WADHH,CACiB,cADjBA,CAAAA,W,CAGGI,YAHHJ,CAGkB,CACpBK,IAAI,CADgB,WAAA,CAHlBL,C,aAmCSe,uBAAf,WAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n Image,\n StyleSheet,\n View,\n ViewStyle,\n StyleProp,\n ImageSourcePropType,\n} from 'react-native';\nimport { withTheme } from '../../core/theming';\nimport { Theme } from '../../types';\n\nconst defaultSize = 64;\n\ntype Props = {\n /**\n * Image to display for the `Avatar`.\n */\n source: ImageSourcePropType;\n /**\n * Size of the avatar.\n */\n size?: number;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * Avatars can be used to represent people in a graphical way.\n *\n * <div class=\"screenshots\">\n * <figure>\n * <img class=\"medium\" src=\"screenshots/avatar-image.png\" />\n * </figure>\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Avatar } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Avatar.Image size={24} source={require('../assets/avatar.png')} />\n * );\n * ```\n */\nclass AvatarImage extends React.Component<Props> {\n static displayName = 'Avatar.Image';\n\n static defaultProps = {\n size: defaultSize,\n };\n\n render() {\n const { size = defaultSize, source, style, theme } = this.props;\n const { colors } = theme;\n\n const { backgroundColor = colors.primary } =\n StyleSheet.flatten(style) || {};\n\n return (\n <View\n style={[\n {\n width: size,\n height: size,\n borderRadius: size / 2,\n backgroundColor,\n },\n style,\n ]}\n >\n <Image\n source={source}\n style={{ width: size, height: size, borderRadius: size / 2 }}\n />\n </View>\n );\n }\n}\n\nexport default withTheme(AvatarImage);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _ViewStylePropTypes=_interopRequireDefault(require(\"../View/ViewStylePropTypes\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var numberOrString=(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]);var TextStylePropTypes=_objectSpread({},_ViewStylePropTypes.default,{color:_ColorPropType.default,fontFamily:_propTypes.string,fontFeatureSettings:_propTypes.string,fontSize:numberOrString,fontStyle:_propTypes.string,fontWeight:_propTypes.string,fontVariant:_propTypes.array,letterSpacing:numberOrString,lineHeight:numberOrString,textAlign:(0,_propTypes.oneOf)(['center','end','inherit','justify','justify-all','left','right','start']),textAlignVertical:_propTypes.string,textDecorationColor:_ColorPropType.default,textDecorationLine:_propTypes.string,textDecorationStyle:_propTypes.string,textShadowColor:_ColorPropType.default,textShadowOffset:(0,_propTypes.shape)({width:_propTypes.number,height:_propTypes.number}),textShadowRadius:_propTypes.number,textTransform:(0,_propTypes.oneOf)(['capitalize','lowercase','none','uppercase']),writingDirection:(0,_propTypes.oneOf)(['auto','ltr','rtl']),textIndent:numberOrString,textOverflow:_propTypes.string,textRendering:(0,_propTypes.oneOf)(['auto','geometricPrecision','optimizeLegibility','optimizeSpeed']),unicodeBidi:(0,_propTypes.oneOf)(['normal','bidi-override','embed','isolate','isolate-override','plaintext']),whiteSpace:_propTypes.string,wordBreak:(0,_propTypes.oneOf)(['normal','break-all','break-word','keep-all']),wordWrap:_propTypes.string,MozOsxFontSmoothing:_propTypes.string,WebkitFontSmoothing:_propTypes.string});var _default=TextStylePropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Text/TextStylePropTypes.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","numberOrString","number","string","TextStylePropTypes","ViewStylePropTypes","color","ColorPropType","fontFamily","fontFeatureSettings","fontSize","fontStyle","fontWeight","fontVariant","array","letterSpacing","lineHeight","textAlign","textAlignVertical","textDecorationColor","textDecorationLine","textDecorationStyle","textShadowColor","textShadowOffset","width","height","textShadowRadius","textTransform","writingDirection","textIndent","textOverflow","textRendering","unicodeBidi","whiteSpace","wordBreak","wordWrap","MozOsxFontSmoothing","WebkitFontSmoothing"],"mappings":"mKAaA,uEACA,sFACA,qCAfA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAA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A/BmD,CAgC7DiC,mBAAmB,CAAEjC,iBAhCwC,CAiC7DkC,mBAAmB,CAAElC,iBAjCwC,CAAzB,CAAtC,C,aAoCeC,kB","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../ColorPropType';\nimport ViewStylePropTypes from '../View/ViewStylePropTypes';\nimport { array, number, oneOf, oneOfType, shape, string } from 'prop-types';\nvar numberOrString = oneOfType([number, string]);\n\nvar TextStylePropTypes = _objectSpread({}, ViewStylePropTypes, {\n color: ColorPropType,\n fontFamily: string,\n fontFeatureSettings: string,\n fontSize: numberOrString,\n fontStyle: string,\n fontWeight: string,\n fontVariant: array,\n letterSpacing: numberOrString,\n lineHeight: numberOrString,\n textAlign: oneOf(['center', 'end', 'inherit', 'justify', 'justify-all', 'left', 'right', 'start']),\n textAlignVertical: string,\n textDecorationColor: ColorPropType,\n textDecorationLine: string,\n textDecorationStyle: string,\n textShadowColor: ColorPropType,\n textShadowOffset: shape({\n width: number,\n height: number\n }),\n textShadowRadius: number,\n textTransform: oneOf(['capitalize', 'lowercase', 'none', 'uppercase']),\n writingDirection: oneOf(['auto', 'ltr', 'rtl']),\n\n /* @platform web */\n textIndent: numberOrString,\n textOverflow: string,\n textRendering: oneOf(['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']),\n unicodeBidi: oneOf(['normal', 'bidi-override', 'embed', 'isolate', 'isolate-override', 'plaintext']),\n whiteSpace: string,\n wordBreak: oneOf(['normal', 'break-all', 'break-word', 'keep-all']),\n wordWrap: string,\n MozOsxFontSmoothing: string,\n WebkitFontSmoothing: string\n});\n\nexport default TextStylePropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=max;var _base=require(\"../base\");var _AnimatedBlock=require(\"../core/AnimatedBlock\");function max(a,b){a=(0,_AnimatedBlock.adapt)(a);b=(0,_AnimatedBlock.adapt)(b);return(0,_base.cond)((0,_base.lessThan)(a,b),b,a);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/max.js"],"names":["max","a","b"],"mappings":"6EAAA,6BACA,oDAEe,QAASA,CAAAA,GAAT,CAAaC,CAAb,CAAgBC,CAAhB,CAAmB,CAChCD,CAAC,CAAG,yBAAMA,CAAN,CAAJ,CACAC,CAAC,CAAG,yBAAMA,CAAN,CAAJ,CACA,MAAO,eAAK,mBAASD,CAAT,CAAYC,CAAZ,CAAL,CAAqBA,CAArB,CAAwBD,CAAxB,CAAP,CACD","sourcesContent":["import { cond, lessThan } from '../base';\nimport { adapt } from '../core/AnimatedBlock';\n\nexport default function max(a, b) {\n a = adapt(a);\n b = adapt(b);\n return cond(lessThan(a, b), b, a);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _EventEmitter2=_interopRequireDefault(require(\"../emitter/EventEmitter\"));var _EventSubscriptionVendor=_interopRequireDefault(require(\"../emitter/EventSubscriptionVendor\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var __DEV__=process.env.NODE_ENV!=='production';function checkNativeEventModule(eventType){if(eventType){if(eventType==='appStateDidChange'||eventType==='memoryWarning'){throw new Error('`'+eventType+'` event should be registered via the AppState module');}}}var RCTDeviceEventEmitter=function(_EventEmitter){_inheritsLoose(RCTDeviceEventEmitter,_EventEmitter);function RCTDeviceEventEmitter(){var _this;var sharedSubscriber=new _EventSubscriptionVendor.default();_this=_EventEmitter.call(this,sharedSubscriber)||this;_this.sharedSubscriber=sharedSubscriber;return _this;}var _proto=RCTDeviceEventEmitter.prototype;_proto.addListener=function addListener(eventType,listener,context){if(__DEV__){checkNativeEventModule(eventType);}return _EventEmitter.prototype.addListener.call(this,eventType,listener,context);};_proto.removeAllListeners=function removeAllListeners(eventType){if(__DEV__){checkNativeEventModule(eventType);}_EventEmitter.prototype.removeAllListeners.call(this,eventType);};_proto.removeSubscription=function removeSubscription(subscription){if(subscription.emitter!==this){subscription.emitter.removeSubscription(subscription);}else{_EventEmitter.prototype.removeSubscription.call(this,subscription);}};return RCTDeviceEventEmitter;}(_EventEmitter2.default);var _default=new RCTDeviceEventEmitter();exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","__DEV__","process","env","NODE_ENV","checkNativeEventModule","eventType","Error","RCTDeviceEventEmitter","_EventEmitter","_this","sharedSubscriber","EventSubscriptionVendor","call","_proto","addListener","listener","context","removeAllListeners","removeSubscription","subscription","emitter","EventEmitter"],"mappings":"AASA,a,mKAIA,8EACA,mGAHA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAA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CAAuC,CACjE,GAAIL,OAAJ,CAAa,CACXI,sBAAsB,CAACC,SAAD,CAAtB,CACD,CAEDG,aAAa,CAACb,SAAd,CAAwBsB,kBAAxB,CAA2CL,IAA3C,CAAgD,IAAhD,CAAsDP,SAAtD,EACD,CAND,CAQAQ,MAAM,CAACK,kBAAP,CAA4B,QAASA,CAAAA,kBAAT,CAA4BC,YAA5B,CAA0C,CACpE,GAAIA,YAAY,CAACC,OAAb,GAAyB,IAA7B,CAAmC,CACjCD,YAAY,CAACC,OAAb,CAAqBF,kBAArB,CAAwCC,YAAxC,EACD,CAFD,IAEO,CACLX,aAAa,CAACb,SAAd,CAAwBuB,kBAAxB,CAA2CN,IAA3C,CAAgD,IAAhD,CAAsDO,YAAtD,EACD,CACF,CAND,CAQA,MAAOZ,CAAAA,qBAAP,CACD,CAvCD,CAuCEc,sBAvCF,CAFA,C,aA2Ce,GAAId,CAAAA,qBAAJ,E","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * \n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport EventEmitter from '../emitter/EventEmitter';\nimport EventSubscriptionVendor from '../emitter/EventSubscriptionVendor';\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nfunction checkNativeEventModule(eventType) {\n if (eventType) {\n if (eventType === 'appStateDidChange' || eventType === 'memoryWarning') {\n throw new Error('`' + eventType + '` event should be registered via the AppState module');\n }\n }\n}\n/**\n * Deprecated - subclass NativeEventEmitter to create granular event modules instead of\n * adding all event listeners directly to RCTDeviceEventEmitter.\n */\n\n\nvar RCTDeviceEventEmitter =\n/*#__PURE__*/\nfunction (_EventEmitter) {\n _inheritsLoose(RCTDeviceEventEmitter, _EventEmitter);\n\n function RCTDeviceEventEmitter() {\n var _this;\n\n var sharedSubscriber = new EventSubscriptionVendor();\n _this = _EventEmitter.call(this, sharedSubscriber) || this;\n _this.sharedSubscriber = sharedSubscriber;\n return _this;\n }\n\n var _proto = RCTDeviceEventEmitter.prototype;\n\n _proto.addListener = function addListener(eventType, listener, context) {\n if (__DEV__) {\n checkNativeEventModule(eventType);\n }\n\n return _EventEmitter.prototype.addListener.call(this, eventType, listener, context);\n };\n\n _proto.removeAllListeners = function removeAllListeners(eventType) {\n if (__DEV__) {\n checkNativeEventModule(eventType);\n }\n\n _EventEmitter.prototype.removeAllListeners.call(this, eventType);\n };\n\n _proto.removeSubscription = function removeSubscription(subscription) {\n if (subscription.emitter !== this) {\n subscription.emitter.removeSubscription(subscription);\n } else {\n _EventEmitter.prototype.removeSubscription.call(this, subscription);\n }\n };\n\n return RCTDeviceEventEmitter;\n}(EventEmitter);\n\nexport default new RCTDeviceEventEmitter();"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _normalizeCssColor=_interopRequireDefault(require(\"normalize-css-color\"));var processColor=function processColor(color){if(color===undefined||color===null){return color;}var int32Color=(0,_normalizeCssColor.default)(color);if(int32Color===undefined||int32Color===null){return undefined;}int32Color=(int32Color<<24|int32Color>>>8)>>>0;return int32Color;};var _default=processColor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/processColor/index.js"],"names":["processColor","color","undefined","int32Color"],"mappings":"mKASA,8EAEA,GAAIA,CAAAA,YAAY,CAAG,QAASA,CAAAA,YAAT,CAAsBC,KAAtB,CAA6B,CAC9C,GAAIA,KAAK,GAAKC,SAAV,EAAuBD,KAAK,GAAK,IAArC,CAA2C,CACzC,MAAOA,CAAAA,KAAP,CACD,CAGD,GAAIE,CAAAA,UAAU,CAAG,+BAAeF,KAAf,CAAjB,CAEA,GAAIE,UAAU,GAAKD,SAAf,EAA4BC,UAAU,GAAK,IAA/C,CAAqD,CACnD,MAAOD,CAAAA,SAAP,CACD,CAEDC,UAAU,CAAG,CAACA,UAAU,EAAI,EAAd,CAAmBA,UAAU,GAAK,CAAnC,IAA0C,CAAvD,CACA,MAAOA,CAAAA,UAAP,CACD,CAdD,C,aAgBeH,Y","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport normalizeColor from 'normalize-css-color';\n\nvar processColor = function processColor(color) {\n if (color === undefined || color === null) {\n return color;\n } // convert number and hex\n\n\n var int32Color = normalizeColor(color);\n\n if (int32Color === undefined || int32Color === null) {\n return undefined;\n }\n\n int32Color = (int32Color << 24 | int32Color >>> 8) >>> 0;\n return int32Color;\n};\n\nexport default processColor;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.UserInterfaceIdiom=exports.AppOwnership=void 0;var AppOwnership;exports.AppOwnership=AppOwnership;(function(AppOwnership){AppOwnership[\"Standalone\"]=\"standalone\";AppOwnership[\"Expo\"]=\"expo\";AppOwnership[\"Guest\"]=\"guest\";})(AppOwnership||(exports.AppOwnership=AppOwnership={}));var UserInterfaceIdiom;exports.UserInterfaceIdiom=UserInterfaceIdiom;(function(UserInterfaceIdiom){UserInterfaceIdiom[\"Handset\"]=\"handset\";UserInterfaceIdiom[\"Tablet\"]=\"tablet\";UserInterfaceIdiom[\"Unsupported\"]=\"unsupported\";})(UserInterfaceIdiom||(exports.UserInterfaceIdiom=UserInterfaceIdiom={}));","map":{"version":3,"sources":["../src/Constants.types.ts"],"names":[],"mappings":"gHAAA,GAAY,CAAA,YAAZ,C,kCAAA,CAAA,SAAY,YAAZ,CAAwB,CACtB,YAAA,CAAA,YAAA,CAAA,CAAA,YAAA,CACA,YAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CACA,YAAA,CAAA,OAAA,CAAA,CAAA,OAAA,CACD,CAJD,EAAY,YAAY,wBAAZ,YAAY,CAAA,EAAA,CAAxB,EAMA,GAAY,CAAA,kBAAZ,C,8CAAA,CAAA,SAAY,kBAAZ,CAA8B,CAC5B,kBAAA,CAAA,SAAA,CAAA,CAAA,SAAA,CACA,kBAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CACA,kBAAA,CAAA,aAAA,CAAA,CAAA,aAAA,CACD,CAJD,EAAY,kBAAkB,8BAAlB,kBAAkB,CAAA,EAAA,CAA9B","sourcesContent":["export enum AppOwnership {\n Standalone = 'standalone',\n Expo = 'expo',\n Guest = 'guest',\n}\n\nexport enum UserInterfaceIdiom {\n Handset = 'handset',\n Tablet = 'tablet',\n Unsupported = 'unsupported',\n}\n\nexport interface IOSManifest {\n buildNumber: string;\n platform: string;\n model: string;\n userInterfaceIdiom: UserInterfaceIdiom;\n systemVersion: string;\n [key: string]: any;\n}\n\nexport interface AndroidManifest {\n versionCode: number;\n [key: string]: any;\n}\n\nexport interface WebManifest {\n [key: string]: any;\n}\n\nexport interface AppManifest {\n name?: string;\n description?: string;\n slug?: string;\n sdkVersion?: string;\n version?: string;\n /** Published Apps Only */\n revisionId?: string;\n orientation?: string;\n primaryColor?: string;\n icon?: string;\n notification?: {\n icon?: string;\n color?: string;\n [key: string]: any;\n };\n loading?: {\n icon?: string;\n [key: string]: any;\n };\n entryPoint?: string;\n packagerOpts?: {\n hostType?: string;\n dev?: boolean;\n strict?: boolean;\n minify?: boolean;\n urlType?: string;\n urlRandomness?: string;\n lanType?: string;\n [key: string]: any;\n };\n xde?: boolean;\n developer?: {\n tool?: string;\n [key: string]: any;\n };\n bundleUrl: string;\n debuggerHost?: string;\n mainModuleName?: string;\n logUrl?: string;\n [key: string]: any;\n}\n\nexport interface PlatformManifest {\n ios?: IOSManifest;\n android?: AndroidManifest;\n web?: WebManifest;\n detach?: {\n scheme?: string;\n [key: string]: any;\n };\n logUrl?: string;\n scheme?: string;\n hostUri?: string;\n developer?: string;\n [key: string]: any;\n}\n\nexport interface NativeConstants {\n name: 'ExponentConstants';\n appOwnership: AppOwnership;\n debugMode: boolean;\n deviceName?: string;\n deviceYearClass: number | null;\n experienceUrl: string;\n // only nullable on web\n expoRuntimeVersion: string | null;\n // only nullable on web\n expoVersion: string | null;\n isDetached?: boolean;\n intentUri?: string;\n installationId: string;\n isDevice: boolean;\n isHeadless: boolean;\n linkingUri: string;\n nativeAppVersion: string | null;\n nativeBuildVersion: string | null;\n manifest: AppManifest;\n sessionId: string;\n statusBarHeight: number;\n systemFonts: string[];\n systemVersion?: number;\n platform?: PlatformManifest;\n [key: string]: any;\n\n getWebViewUserAgentAsync: () => Promise<string | null>;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=getScreenForRouteName;var _reactIs=require(\"react-is\");var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));function getScreenForRouteName(routeConfigs,routeName){var routeConfig=routeConfigs[routeName];if(!routeConfig){throw new Error(\"There is no route defined for key \"+routeName+\".\\n\"+(\"Must be one of: \"+Object.keys(routeConfigs).map(function(a){return\"'\"+a+\"'\";}).join(',')));}if(routeConfig.screen){return routeConfig.screen;}if(typeof routeConfig.getScreen==='function'){var screen=routeConfig.getScreen();(0,_invariant.default)((0,_reactIs.isValidElementType)(screen),\"The getScreen defined for route '\"+routeName+\" didn't return a valid \"+'screen or navigator.\\n\\n'+'Please pass it like this:\\n'+(routeName+\": {\\n getScreen: () => require('./MyScreen').default\\n}\"));return screen;}return routeConfig;}","map":{"version":3,"sources":["getScreenForRouteName.js"],"names":["routeConfig","routeConfigs","Object","screen","invariant","isValidElementType","routeName"],"mappings":"kLAAA,iCAEA,qEAMe,QAAA,CAAA,qBAAA,CAAA,YAAA,CAAA,SAAA,CAAwD,CACrE,GAAMA,CAAAA,WAAW,CAAGC,YAAY,CAAhC,SAAgC,CAAhC,CAEA,GAAI,CAAJ,WAAA,CAAkB,CAChB,KAAM,IAAA,CAAA,KAAA,CACJ,qCAAA,SAAA,CAAA,KAAA,EAAA,mBACqBC,MAAM,CAANA,IAAAA,CAAAA,YAAAA,EAAAA,GAAAA,CACZ,SAAA,CAAA,CAAC,CAAA,MAAA,IAAA,CAAA,CAAA,GAAA,CADWA,CAAAA,EAAAA,IAAAA,CAFvB,GAEuBA,CADrB,CADI,CAAN,CAQF,IAAIF,WAAW,CAAf,MAAA,CAAwB,CACtB,MAAOA,CAAAA,WAAW,CAAlB,MAAA,CAGF,IAAI,MAAOA,CAAAA,WAAW,CAAlB,SAAA,GAAJ,UAAA,CAAiD,CAC/C,GAAMG,CAAAA,MAAM,CAAGH,WAAW,CAA1B,SAAeA,EAAf,CACAI,uBACEC,gCADO,MACPA,CADFD,CAEE,oCAAA,SAAA,CAAA,yBAAA,CAAA,0BAAA,CAAA,6BAAA,EAGKE,SAHL,CAFFF,0DAEE,CAFFA,EAOA,MAAA,CAAA,MAAA,CAGF,OAAA,CAAA,WAAA,CACD","sourcesContent":["import { isValidElementType } from 'react-is';\n\nimport invariant from '../utils/invariant';\n\n/**\n * Simple helper that gets a single screen (React component or navigator)\n * out of the navigator config.\n */\nexport default function getScreenForRouteName(routeConfigs, routeName) {\n const routeConfig = routeConfigs[routeName];\n\n if (!routeConfig) {\n throw new Error(\n `There is no route defined for key ${routeName}.\\n` +\n `Must be one of: ${Object.keys(routeConfigs)\n .map(a => `'${a}'`)\n .join(',')}`\n );\n }\n\n if (routeConfig.screen) {\n return routeConfig.screen;\n }\n\n if (typeof routeConfig.getScreen === 'function') {\n const screen = routeConfig.getScreen();\n invariant(\n isValidElementType(screen),\n `The getScreen defined for route '${routeName} didn't return a valid ` +\n 'screen or navigator.\\n\\n' +\n 'Please pass it like this:\\n' +\n `${routeName}: {\\n getScreen: () => require('./MyScreen').default\\n}`\n );\n return screen;\n }\n\n return routeConfig;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _Animation2=_interopRequireDefault(require(\"./Animation\"));var _NativeAnimatedHelper=require(\"../NativeAnimatedHelper\");function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var DecayAnimation=function(_Animation){_inheritsLoose(DecayAnimation,_Animation);function DecayAnimation(config){var _this;_this=_Animation.call(this)||this;_this._deceleration=config.deceleration!==undefined?config.deceleration:0.998;_this._velocity=config.velocity;_this._useNativeDriver=(0,_NativeAnimatedHelper.shouldUseNativeDriver)(config);_this.__isInteraction=config.isInteraction!==undefined?config.isInteraction:true;_this.__iterations=config.iterations!==undefined?config.iterations:1;return _this;}var _proto=DecayAnimation.prototype;_proto.__getNativeAnimationConfig=function __getNativeAnimationConfig(){return{type:'decay',deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations};};_proto.start=function start(fromValue,onUpdate,onEnd,previousAnimation,animatedValue){this.__active=true;this._lastValue=fromValue;this._fromValue=fromValue;this._onUpdate=onUpdate;this.__onEnd=onEnd;this._startTime=Date.now();if(this._useNativeDriver){this.__startNativeAnimation(animatedValue);}else{this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this));}};_proto.onUpdate=function onUpdate(){var now=Date.now();var value=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(now-this._startTime)));this._onUpdate(value);if(Math.abs(this._lastValue-value)<0.1){this.__debouncedOnEnd({finished:true});return;}this._lastValue=value;if(this.__active){this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this));}};_proto.stop=function stop(){_Animation.prototype.stop.call(this);this.__active=false;global.cancelAnimationFrame(this._animationFrame);this.__debouncedOnEnd({finished:false});};return DecayAnimation;}(_Animation2.default);var _default=DecayAnimation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/animations/DecayAnimation.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","DecayAnimation","_Animation","config","_this","call","_deceleration","deceleration","undefined","_velocity","velocity","_useNativeDriver","__isInteraction","isInteraction","__iterations","iterations","_proto","__getNativeAnimationConfig","type","start","fromValue","onUpdate","onEnd","previousAnimation","animatedValue","__active","_lastValue","_fromValue","_onUpdate","__onEnd","_startTime","Date","now","__startNativeAnimation","_animationFrame","requestAnimationFrame","bind","value","Math","exp","abs","__debouncedOnEnd","finished","stop","global","cancelAnimationFrame","Animation"],"mappings":"AASA,a,mKAIA,+DACA,6DAHA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAKvL,GAAIM,CAAAA,cAAc,CAElB,SAAUC,UAAV,CAAsB,CACpBT,cAAc,CAACQ,cAAD,CAAiBC,UAAjB,CAAd,CAEA,QAASD,CAAAA,cAAT,CAAwBE,MAAxB,CAAgC,CAC9B,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGF,UAAU,CAACG,IAAX,CAAgB,IAAhB,GAAyB,IAAjC,CACAD,KAAK,CAACE,aAAN,CAAsBH,MAAM,CAACI,YAAP,GAAwBC,SAAxB,CAAoCL,MAAM,CAACI,YAA3C,CAA0D,KAAhF,CACAH,KAAK,CAACK,SAAN,CAAkBN,MAAM,CAACO,QAAzB,CACAN,KAAK,CAACO,gBAAN,CAAyB,gDA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,KAAKV,UAAL,CAAkB,KAAKlB,SAAL,EAAkB,EAAI,KAAKH,aAA3B,GAA6C,EAAIgC,IAAI,CAACC,GAAL,CAAS,EAAE,EAAI,KAAKjC,aAAX,GAA6B0B,GAAG,CAAG,KAAKF,UAAxC,CAAT,CAAjD,CAA9B,CAEA,KAAKF,SAAL,CAAeS,KAAf,EAEA,GAAIC,IAAI,CAACE,GAAL,CAAS,KAAKd,UAAL,CAAkBW,KAA3B,EAAoC,GAAxC,CAA6C,CAC3C,KAAKI,gBAAL,CAAsB,CACpBC,QAAQ,CAAE,IADU,CAAtB,EAIA,OACD,CAED,KAAKhB,UAAL,CAAkBW,KAAlB,CAEA,GAAI,KAAKZ,QAAT,CAAmB,CACjB,KAAKS,eAAL,CAAuBC,qBAAqB,CAAC,KAAKd,QAAL,CAAce,IAAd,CAAmB,IAAnB,CAAD,CAA5C,CACD,CACF,CAnBD,CAqBApB,MAAM,CAAC2B,IAAP,CAAc,QAASA,CAAAA,IAAT,EAAgB,CAC5BzC,UAAU,CAACN,SAAX,CAAqB+C,IAArB,CAA0BtC,IAA1B,CAA+B,IAA/B,EAEA,KAAKoB,QAAL,CAAgB,KAAhB,CACAmB,MAAM,CAACC,oBAAP,CAA4B,KAAKX,eAAjC,EAEA,KAAKO,gBAAL,CAAsB,CACpBC,QAAQ,CAAE,KADU,CAAtB,EAGD,CATD,CAWA,MAAOzC,CAAAA,cAAP,CACD,CA1ED,CA0EE6C,mBA1EF,CAFA,C,aA8Ee7C,c","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport Animation from './Animation';\nimport { shouldUseNativeDriver } from '../NativeAnimatedHelper';\n\nvar DecayAnimation =\n/*#__PURE__*/\nfunction (_Animation) {\n _inheritsLoose(DecayAnimation, _Animation);\n\n function DecayAnimation(config) {\n var _this;\n\n _this = _Animation.call(this) || this;\n _this._deceleration = config.deceleration !== undefined ? config.deceleration : 0.998;\n _this._velocity = config.velocity;\n _this._useNativeDriver = shouldUseNativeDriver(config);\n _this.__isInteraction = config.isInteraction !== undefined ? config.isInteraction : true;\n _this.__iterations = config.iterations !== undefined ? config.iterations : 1;\n return _this;\n }\n\n var _proto = DecayAnimation.prototype;\n\n _proto.__getNativeAnimationConfig = function __getNativeAnimationConfig() {\n return {\n type: 'decay',\n deceleration: this._deceleration,\n velocity: this._velocity,\n iterations: this.__iterations\n };\n };\n\n _proto.start = function start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {\n this.__active = true;\n this._lastValue = fromValue;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._startTime = Date.now();\n\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n };\n\n _proto.onUpdate = function onUpdate() {\n var now = Date.now();\n var value = this._fromValue + this._velocity / (1 - this._deceleration) * (1 - Math.exp(-(1 - this._deceleration) * (now - this._startTime)));\n\n this._onUpdate(value);\n\n if (Math.abs(this._lastValue - value) < 0.1) {\n this.__debouncedOnEnd({\n finished: true\n });\n\n return;\n }\n\n this._lastValue = value;\n\n if (this.__active) {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n };\n\n _proto.stop = function stop() {\n _Animation.prototype.stop.call(this);\n\n this.__active = false;\n global.cancelAnimationFrame(this._animationFrame);\n\n this.__debouncedOnEnd({\n finished: false\n });\n };\n\n return DecayAnimation;\n}(Animation);\n\nexport default DecayAnimation;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.addWhitelistedStyleProp=addWhitelistedStyleProp;exports.addWhitelistedTransformProp=addWhitelistedTransformProp;exports.addWhitelistedInterpolationParam=addWhitelistedInterpolationParam;exports.validateStyles=validateStyles;exports.validateTransform=validateTransform;exports.validateInterpolation=validateInterpolation;exports.generateNewNodeTag=generateNewNodeTag;exports.generateNewAnimationId=generateNewAnimationId;exports.assertNativeAnimatedModule=assertNativeAnimatedModule;exports.shouldUseNativeDriver=shouldUseNativeDriver;exports.default=exports.API=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _NativeModules=_interopRequireDefault(require(\"../../../exports/NativeModules\"));var _NativeEventEmitter=_interopRequireDefault(require(\"../NativeEventEmitter\"));var NativeAnimatedModule=_NativeModules.default.NativeAnimatedModule;var __nativeAnimatedNodeTagCount=1;var __nativeAnimationIdCount=1;var nativeEventEmitter;var API={createAnimatedNode:function createAnimatedNode(tag,config){assertNativeAnimatedModule();NativeAnimatedModule.createAnimatedNode(tag,config);},startListeningToAnimatedNodeValue:function startListeningToAnimatedNodeValue(tag){assertNativeAnimatedModule();NativeAnimatedModule.startListeningToAnimatedNodeValue(tag);},stopListeningToAnimatedNodeValue:function stopListeningToAnimatedNodeValue(tag){assertNativeAnimatedModule();NativeAnimatedModule.stopListeningToAnimatedNodeValue(tag);},connectAnimatedNodes:function connectAnimatedNodes(parentTag,childTag){assertNativeAnimatedModule();NativeAnimatedModule.connectAnimatedNodes(parentTag,childTag);},disconnectAnimatedNodes:function disconnectAnimatedNodes(parentTag,childTag){assertNativeAnimatedModule();NativeAnimatedModule.disconnectAnimatedNodes(parentTag,childTag);},startAnimatingNode:function startAnimatingNode(animationId,nodeTag,config,endCallback){assertNativeAnimatedModule();NativeAnimatedModule.startAnimatingNode(animationId,nodeTag,config,endCallback);},stopAnimation:function stopAnimation(animationId){assertNativeAnimatedModule();NativeAnimatedModule.stopAnimation(animationId);},setAnimatedNodeValue:function setAnimatedNodeValue(nodeTag,value){assertNativeAnimatedModule();NativeAnimatedModule.setAnimatedNodeValue(nodeTag,value);},setAnimatedNodeOffset:function setAnimatedNodeOffset(nodeTag,offset){assertNativeAnimatedModule();NativeAnimatedModule.setAnimatedNodeOffset(nodeTag,offset);},flattenAnimatedNodeOffset:function flattenAnimatedNodeOffset(nodeTag){assertNativeAnimatedModule();NativeAnimatedModule.flattenAnimatedNodeOffset(nodeTag);},extractAnimatedNodeOffset:function extractAnimatedNodeOffset(nodeTag){assertNativeAnimatedModule();NativeAnimatedModule.extractAnimatedNodeOffset(nodeTag);},connectAnimatedNodeToView:function connectAnimatedNodeToView(nodeTag,viewTag){assertNativeAnimatedModule();NativeAnimatedModule.connectAnimatedNodeToView(nodeTag,viewTag);},disconnectAnimatedNodeFromView:function disconnectAnimatedNodeFromView(nodeTag,viewTag){assertNativeAnimatedModule();NativeAnimatedModule.disconnectAnimatedNodeFromView(nodeTag,viewTag);},dropAnimatedNode:function dropAnimatedNode(tag){assertNativeAnimatedModule();NativeAnimatedModule.dropAnimatedNode(tag);},addAnimatedEventToView:function addAnimatedEventToView(viewTag,eventName,eventMapping){assertNativeAnimatedModule();NativeAnimatedModule.addAnimatedEventToView(viewTag,eventName,eventMapping);},removeAnimatedEventFromView:function removeAnimatedEventFromView(viewTag,eventName,animatedNodeTag){assertNativeAnimatedModule();NativeAnimatedModule.removeAnimatedEventFromView(viewTag,eventName,animatedNodeTag);}};exports.API=API;var STYLES_WHITELIST={opacity:true,transform:true,shadowOpacity:true,shadowRadius:true,scaleX:true,scaleY:true,translateX:true,translateY:true};var TRANSFORM_WHITELIST={translateX:true,translateY:true,scale:true,scaleX:true,scaleY:true,rotate:true,rotateX:true,rotateY:true,perspective:true};var SUPPORTED_INTERPOLATION_PARAMS={inputRange:true,outputRange:true,extrapolate:true,extrapolateRight:true,extrapolateLeft:true};function addWhitelistedStyleProp(prop){STYLES_WHITELIST[prop]=true;}function addWhitelistedTransformProp(prop){TRANSFORM_WHITELIST[prop]=true;}function addWhitelistedInterpolationParam(param){SUPPORTED_INTERPOLATION_PARAMS[param]=true;}function validateTransform(configs){configs.forEach(function(config){if(!TRANSFORM_WHITELIST.hasOwnProperty(config.property)){throw new Error(\"Property '\"+config.property+\"' is not supported by native animated module\");}});}function validateStyles(styles){for(var key in styles){if(!STYLES_WHITELIST.hasOwnProperty(key)){throw new Error(\"Style property '\"+key+\"' is not supported by native animated module\");}}}function validateInterpolation(config){for(var key in config){if(!SUPPORTED_INTERPOLATION_PARAMS.hasOwnProperty(key)){throw new Error(\"Interpolation property '\"+key+\"' is not supported by native animated module\");}}}function generateNewNodeTag(){return __nativeAnimatedNodeTagCount++;}function generateNewAnimationId(){return __nativeAnimationIdCount++;}function assertNativeAnimatedModule(){(0,_invariant.default)(NativeAnimatedModule,'Native animated module is not available');}var _warnedMissingNativeAnimated=false;function shouldUseNativeDriver(config){if(config.useNativeDriver&&!NativeAnimatedModule){if(!_warnedMissingNativeAnimated){console.warn('Animated: `useNativeDriver` is not supported because the native '+'animated module is missing. Falling back to JS-based animation. To '+'resolve this, add `RCTAnimation` module to this app, or remove '+'`useNativeDriver`. '+'More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420');_warnedMissingNativeAnimated=true;}return false;}return config.useNativeDriver||false;}var NativeAnimatedHelper={API:API,addWhitelistedStyleProp:addWhitelistedStyleProp,addWhitelistedTransformProp:addWhitelistedTransformProp,addWhitelistedInterpolationParam:addWhitelistedInterpolationParam,validateStyles:validateStyles,validateTransform:validateTransform,validateInterpolation:validateInterpolation,generateNewNodeTag:generateNewNodeTag,generateNewAnimationId:generateNewAnimationId,assertNativeAnimatedModule:assertNativeAnimatedModule,shouldUseNativeDriver:shouldUseNativeDriver,get nativeEventEmitter(){if(!nativeEventEmitter){nativeEventEmitter=new _NativeEventEmitter.default(NativeAnimatedModule);}return nativeEventEmitter;}};var _default=NativeAnimatedHelper;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/NativeAnimatedHelper.js"],"names":["NativeAnimatedModule","NativeModules","__nativeAnimatedNodeTagCount","__nativeAnimationIdCount","nativeEventEmitter","API","createAnimatedNode","tag","config","assertNativeAnimatedModule","startListeningToAnimatedNodeValue","stopListeningToAnimatedNodeValue","connectAnimatedNodes","parentTag","childTag","disconnectAnimatedNodes","startAnimatingNode","animationId","nodeTag","endCallback","stopAnimation","setAnimatedNodeValue","value","setAnimatedNodeOffset","offset","flattenAnimatedNodeOffset","extractAnimatedNodeOffset","connectAnimatedNodeToView","viewTag","disconnectAnimatedNodeFromView","dropAnimatedNode","addAnimatedEventToView","eventName","eventMapping","removeAnimatedEventFromView","animatedNodeTag","STYLES_WHITELIST","opacity","transform","shadowOpacity","shadowRadius","scaleX","scaleY","translateX","translateY","TRANSFORM_WHITELIST","scale","rotate","rotateX","rotateY","perspective","SUPPORTED_INTERPOLATION_PARAMS","inputRange","outputRange","extrapolate","extrapolateRight","extrapolateLeft","addWhitelistedStyleProp","prop","addWhitelistedTransformProp","addWhitelistedInterpolationParam","param","validateTransform","configs","forEach","hasOwnProperty","property","Error","validateStyles","styles","key","validateInterpolation","generateNewNodeTag","generateNewAnimationId","_warnedMissingNativeAnimated","shouldUseNativeDriver","useNativeDriver","console","warn","NativeAnimatedHelper","NativeEventEmitter"],"mappings":"AASA,a,6sBAEA,qEACA,qFACA,iFACA,GAAIA,CAAAA,oBAAoB,CAAGC,uBAAcD,oBAAzC,CACA,GAAIE,CAAAA,4BAA4B,CAAG,CAAnC,CAGA,GAAIC,CAAAA,wBAAwB,CAAG,CAA/B,CAGA,GAAIC,CAAAA,kBAAJ,CAMA,GAAIC,CAAAA,GAAG,CAAG,CACRC,kBAAkB,CAAE,QAASA,CAAAA,kBAAT,CAA4BC,GAA5B,CAAiCC,MAAjC,CAAyC,CAC3DC,0BAA0B,GAC1BT,oBAAoB,CAACM,kBAArB,CAAwCC,GAAxC,CAA6CC,MAA7C,EACD,CAJO,CAKRE,iCAAiC,CAAE,QAASA,CA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CAAAA,MAAM,CAACoE,eAAP,EAA0B,KAAjC,CACD,CAED,GAAIG,CAAAA,oBAAoB,CAAG,CACzB1E,GAAG,CAAEA,GADoB,CAEzBoD,uBAAuB,CAAEA,uBAFA,CAGzBE,2BAA2B,CAAEA,2BAHJ,CAIzBC,gCAAgC,CAAEA,gCAJT,CAKzBQ,cAAc,CAAEA,cALS,CAMzBN,iBAAiB,CAAEA,iBANM,CAOzBS,qBAAqB,CAAEA,qBAPE,CAQzBC,kBAAkB,CAAEA,kBARK,CASzBC,sBAAsB,CAAEA,sBATC,CAUzBhE,0BAA0B,CAAEA,0BAVH,CAWzBkE,qBAAqB,CAAEA,qBAXE,CAazB,GAAIvE,CAAAA,kBAAJ,EAAyB,CACvB,GAAI,CAACA,kBAAL,CAAyB,CACvBA,kBAAkB,CAAG,GAAI4E,4BAAJ,CAAuBhF,oBAAvB,CAArB,CACD,CAED,MAAOI,CAAAA,kBAAP,CACD,CAnBwB,CAA3B,C,aAuBe2E,oB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport invariant from 'fbjs/lib/invariant';\nimport NativeModules from '../../../exports/NativeModules';\nimport NativeEventEmitter from '../NativeEventEmitter';\nvar NativeAnimatedModule = NativeModules.NativeAnimatedModule;\nvar __nativeAnimatedNodeTagCount = 1;\n/* used for animated nodes */\n\nvar __nativeAnimationIdCount = 1;\n/* used for started animations */\n\nvar nativeEventEmitter;\n/**\n * Simple wrappers around NativeAnimatedModule to provide flow and autocmplete support for\n * the native module methods\n */\n\nvar API = {\n createAnimatedNode: function createAnimatedNode(tag, config) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.createAnimatedNode(tag, config);\n },\n startListeningToAnimatedNodeValue: function startListeningToAnimatedNodeValue(tag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.startListeningToAnimatedNodeValue(tag);\n },\n stopListeningToAnimatedNodeValue: function stopListeningToAnimatedNodeValue(tag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.stopListeningToAnimatedNodeValue(tag);\n },\n connectAnimatedNodes: function connectAnimatedNodes(parentTag, childTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.connectAnimatedNodes(parentTag, childTag);\n },\n disconnectAnimatedNodes: function disconnectAnimatedNodes(parentTag, childTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.disconnectAnimatedNodes(parentTag, childTag);\n },\n startAnimatingNode: function startAnimatingNode(animationId, nodeTag, config, endCallback) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.startAnimatingNode(animationId, nodeTag, config, endCallback);\n },\n stopAnimation: function stopAnimation(animationId) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.stopAnimation(animationId);\n },\n setAnimatedNodeValue: function setAnimatedNodeValue(nodeTag, value) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.setAnimatedNodeValue(nodeTag, value);\n },\n setAnimatedNodeOffset: function setAnimatedNodeOffset(nodeTag, offset) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.setAnimatedNodeOffset(nodeTag, offset);\n },\n flattenAnimatedNodeOffset: function flattenAnimatedNodeOffset(nodeTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.flattenAnimatedNodeOffset(nodeTag);\n },\n extractAnimatedNodeOffset: function extractAnimatedNodeOffset(nodeTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.extractAnimatedNodeOffset(nodeTag);\n },\n connectAnimatedNodeToView: function connectAnimatedNodeToView(nodeTag, viewTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.connectAnimatedNodeToView(nodeTag, viewTag);\n },\n disconnectAnimatedNodeFromView: function disconnectAnimatedNodeFromView(nodeTag, viewTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.disconnectAnimatedNodeFromView(nodeTag, viewTag);\n },\n dropAnimatedNode: function dropAnimatedNode(tag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.dropAnimatedNode(tag);\n },\n addAnimatedEventToView: function addAnimatedEventToView(viewTag, eventName, eventMapping) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.addAnimatedEventToView(viewTag, eventName, eventMapping);\n },\n removeAnimatedEventFromView: function removeAnimatedEventFromView(viewTag, eventName, animatedNodeTag) {\n assertNativeAnimatedModule();\n NativeAnimatedModule.removeAnimatedEventFromView(viewTag, eventName, animatedNodeTag);\n }\n};\n/**\n * Styles allowed by the native animated implementation.\n *\n * In general native animated implementation should support any numeric property that doesn't need\n * to be updated through the shadow view hierarchy (all non-layout properties).\n */\n\nvar STYLES_WHITELIST = {\n opacity: true,\n transform: true,\n\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true\n};\nvar TRANSFORM_WHITELIST = {\n translateX: true,\n translateY: true,\n scale: true,\n scaleX: true,\n scaleY: true,\n rotate: true,\n rotateX: true,\n rotateY: true,\n perspective: true\n};\nvar SUPPORTED_INTERPOLATION_PARAMS = {\n inputRange: true,\n outputRange: true,\n extrapolate: true,\n extrapolateRight: true,\n extrapolateLeft: true\n};\n\nfunction addWhitelistedStyleProp(prop) {\n STYLES_WHITELIST[prop] = true;\n}\n\nfunction addWhitelistedTransformProp(prop) {\n TRANSFORM_WHITELIST[prop] = true;\n}\n\nfunction addWhitelistedInterpolationParam(param) {\n SUPPORTED_INTERPOLATION_PARAMS[param] = true;\n}\n\nfunction validateTransform(configs) {\n configs.forEach(function (config) {\n if (!TRANSFORM_WHITELIST.hasOwnProperty(config.property)) {\n throw new Error(\"Property '\" + config.property + \"' is not supported by native animated module\");\n }\n });\n}\n\nfunction validateStyles(styles) {\n for (var key in styles) {\n if (!STYLES_WHITELIST.hasOwnProperty(key)) {\n throw new Error(\"Style property '\" + key + \"' is not supported by native animated module\");\n }\n }\n}\n\nfunction validateInterpolation(config) {\n for (var key in config) {\n if (!SUPPORTED_INTERPOLATION_PARAMS.hasOwnProperty(key)) {\n throw new Error(\"Interpolation property '\" + key + \"' is not supported by native animated module\");\n }\n }\n}\n\nfunction generateNewNodeTag() {\n return __nativeAnimatedNodeTagCount++;\n}\n\nfunction generateNewAnimationId() {\n return __nativeAnimationIdCount++;\n}\n\nfunction assertNativeAnimatedModule() {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n}\n\nvar _warnedMissingNativeAnimated = false;\n\nfunction shouldUseNativeDriver(config) {\n if (config.useNativeDriver && !NativeAnimatedModule) {\n if (!_warnedMissingNativeAnimated) {\n console.warn('Animated: `useNativeDriver` is not supported because the native ' + 'animated module is missing. Falling back to JS-based animation. To ' + 'resolve this, add `RCTAnimation` module to this app, or remove ' + '`useNativeDriver`. ' + 'More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420');\n _warnedMissingNativeAnimated = true;\n }\n\n return false;\n }\n\n return config.useNativeDriver || false;\n}\n\nvar NativeAnimatedHelper = {\n API: API,\n addWhitelistedStyleProp: addWhitelistedStyleProp,\n addWhitelistedTransformProp: addWhitelistedTransformProp,\n addWhitelistedInterpolationParam: addWhitelistedInterpolationParam,\n validateStyles: validateStyles,\n validateTransform: validateTransform,\n validateInterpolation: validateInterpolation,\n generateNewNodeTag: generateNewNodeTag,\n generateNewAnimationId: generateNewAnimationId,\n assertNativeAnimatedModule: assertNativeAnimatedModule,\n shouldUseNativeDriver: shouldUseNativeDriver,\n\n get nativeEventEmitter() {\n if (!nativeEventEmitter) {\n nativeEventEmitter = new NativeEventEmitter(NativeAnimatedModule);\n }\n\n return nativeEventEmitter;\n }\n\n};\nexport { API, addWhitelistedStyleProp, addWhitelistedTransformProp, addWhitelistedInterpolationParam, validateStyles, validateTransform, validateInterpolation, generateNewNodeTag, generateNewAnimationId, assertNativeAnimatedModule, shouldUseNativeDriver };\nexport default NativeAnimatedHelper;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=require(\"prop-types\");var OverflowPropType=(0,_propTypes.oneOf)(['auto','hidden','scroll','visible']);var hiddenOrVisible=(0,_propTypes.oneOf)(['hidden','visible']);var numberOrString=(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]);var LayoutPropTypes={alignContent:(0,_propTypes.oneOf)(['center','flex-end','flex-start','space-around','space-between','stretch']),alignItems:(0,_propTypes.oneOf)(['baseline','center','flex-end','flex-start','stretch']),alignSelf:(0,_propTypes.oneOf)(['auto','baseline','center','flex-end','flex-start','stretch']),backfaceVisibility:hiddenOrVisible,borderWidth:numberOrString,borderBottomWidth:numberOrString,borderEndWidth:numberOrString,borderLeftWidth:numberOrString,borderRightWidth:numberOrString,borderStartWidth:numberOrString,borderTopWidth:numberOrString,bottom:numberOrString,boxSizing:_propTypes.string,direction:(0,_propTypes.oneOf)(['inherit','ltr','rtl']),display:_propTypes.string,end:numberOrString,flex:_propTypes.number,flexBasis:numberOrString,flexDirection:(0,_propTypes.oneOf)(['column','column-reverse','row','row-reverse']),flexGrow:_propTypes.number,flexShrink:_propTypes.number,flexWrap:(0,_propTypes.oneOf)(['nowrap','wrap','wrap-reverse']),height:numberOrString,justifyContent:(0,_propTypes.oneOf)(['center','flex-end','flex-start','space-around','space-between','space-evenly']),left:numberOrString,margin:numberOrString,marginBottom:numberOrString,marginHorizontal:numberOrString,marginEnd:numberOrString,marginLeft:numberOrString,marginRight:numberOrString,marginStart:numberOrString,marginTop:numberOrString,marginVertical:numberOrString,maxHeight:numberOrString,maxWidth:numberOrString,minHeight:numberOrString,minWidth:numberOrString,order:_propTypes.number,overflow:OverflowPropType,overflowX:OverflowPropType,overflowY:OverflowPropType,padding:numberOrString,paddingBottom:numberOrString,paddingHorizontal:numberOrString,paddingEnd:numberOrString,paddingLeft:numberOrString,paddingRight:numberOrString,paddingStart:numberOrString,paddingTop:numberOrString,paddingVertical:numberOrString,position:(0,_propTypes.oneOf)(['absolute','fixed','relative','static','sticky']),right:numberOrString,start:numberOrString,top:numberOrString,visibility:hiddenOrVisible,width:numberOrString,zIndex:_propTypes.number,aspectRatio:_propTypes.number,gridAutoColumns:_propTypes.string,gridAutoFlow:_propTypes.string,gridAutoRows:_propTypes.string,gridColumnEnd:_propTypes.string,gridColumnGap:_propTypes.string,gridColumnStart:_propTypes.string,gridRowEnd:_propTypes.string,gridRowGap:_propTypes.string,gridRowStart:_propTypes.string,gridTemplateColumns:_propTypes.string,gridTemplateRows:_propTypes.string,gridTemplateAreas:_propTypes.string};var _default=LayoutPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/LayoutPropTypes/index.js"],"names":["OverflowPropType","hiddenOrVisible","numberOrString","number","string","LayoutPropTypes","alignContent","alignItems","alignSelf","backfaceVisibility","borderWidth","borderBottomWidth","borderEndWidth","borderLeftWidth","borderRightWidth","borderStartWidth","borderTopWidth","bottom","boxSizing","direction","display","end","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","height","justifyContent","left","margin","marginBottom","marginHorizontal","marginEnd","marginLeft","marginRight","marginStart","marginTop","marginVertical","maxHeight","maxWidth","minHeight","minWidth","order","overflow","overflowX","overflowY","padding","paddingBottom","paddingHorizontal","paddingEnd","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","visibility","width","zIndex","aspectRatio","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnEnd","gridColumnGap","gridColumnStart","gridRowEnd","gridRowGap","gridRowStart","gridTemplateColumns","gridTemplateRows","gridTemplateAreas"],"mappings":"gFAQA,qCACA,GAAIA,CAAAA,gBAAgB,CAAG,qBAAM,CAAC,MAAD,CAAS,QAAT,CAAmB,QAAnB,CAA6B,SAA7B,CAAN,CAAvB,CACA,GAAIC,CAAAA,eAAe,CAAG,qBAAM,CAAC,QAAD,CAAW,SAAX,CAAN,CAAtB,CACA,GAAIC,CAAAA,cAAc,CAAG,yBAA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,MAAM,CAAE5D,iBA1DY,CA+DpB6D,WAAW,CAAE7D,iBA/DO,CAoEpB8D,eAAe,CAAE7D,iBApEG,CAqEpB8D,YAAY,CAAE9D,iBArEM,CAsEpB+D,YAAY,CAAE/D,iBAtEM,CAuEpBgE,aAAa,CAAEhE,iBAvEK,CAwEpBiE,aAAa,CAAEjE,iBAxEK,CAyEpBkE,eAAe,CAAElE,iBAzEG,CA0EpBmE,UAAU,CAAEnE,iBA1EQ,CA2EpBoE,UAAU,CAAEpE,iBA3EQ,CA4EpBqE,YAAY,CAAErE,iBA5EM,CA6EpBsE,mBAAmB,CAAEtE,iBA7ED,CA8EpBuE,gBAAgB,CAAEvE,iBA9EE,CA+EpBwE,iBAAiB,CAAExE,iBA/EC,CAAtB,C,aAiFeC,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { number, oneOf, oneOfType, string } from 'prop-types';\nvar OverflowPropType = oneOf(['auto', 'hidden', 'scroll', 'visible']);\nvar hiddenOrVisible = oneOf(['hidden', 'visible']);\nvar numberOrString = oneOfType([number, string]);\nvar LayoutPropTypes = {\n alignContent: oneOf(['center', 'flex-end', 'flex-start', 'space-around', 'space-between', 'stretch']),\n alignItems: oneOf(['baseline', 'center', 'flex-end', 'flex-start', 'stretch']),\n alignSelf: oneOf(['auto', 'baseline', 'center', 'flex-end', 'flex-start', 'stretch']),\n backfaceVisibility: hiddenOrVisible,\n borderWidth: numberOrString,\n borderBottomWidth: numberOrString,\n borderEndWidth: numberOrString,\n borderLeftWidth: numberOrString,\n borderRightWidth: numberOrString,\n borderStartWidth: numberOrString,\n borderTopWidth: numberOrString,\n bottom: numberOrString,\n boxSizing: string,\n direction: oneOf(['inherit', 'ltr', 'rtl']),\n display: string,\n end: numberOrString,\n flex: number,\n flexBasis: numberOrString,\n flexDirection: oneOf(['column', 'column-reverse', 'row', 'row-reverse']),\n flexGrow: number,\n flexShrink: number,\n flexWrap: oneOf(['nowrap', 'wrap', 'wrap-reverse']),\n height: numberOrString,\n justifyContent: oneOf(['center', 'flex-end', 'flex-start', 'space-around', 'space-between', 'space-evenly']),\n left: numberOrString,\n margin: numberOrString,\n marginBottom: numberOrString,\n marginHorizontal: numberOrString,\n marginEnd: numberOrString,\n marginLeft: numberOrString,\n marginRight: numberOrString,\n marginStart: numberOrString,\n marginTop: numberOrString,\n marginVertical: numberOrString,\n maxHeight: numberOrString,\n maxWidth: numberOrString,\n minHeight: numberOrString,\n minWidth: numberOrString,\n order: number,\n overflow: OverflowPropType,\n overflowX: OverflowPropType,\n overflowY: OverflowPropType,\n padding: numberOrString,\n paddingBottom: numberOrString,\n paddingHorizontal: numberOrString,\n paddingEnd: numberOrString,\n paddingLeft: numberOrString,\n paddingRight: numberOrString,\n paddingStart: numberOrString,\n paddingTop: numberOrString,\n paddingVertical: numberOrString,\n position: oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),\n right: numberOrString,\n start: numberOrString,\n top: numberOrString,\n visibility: hiddenOrVisible,\n width: numberOrString,\n zIndex: number,\n\n /**\n * @platform unsupported\n */\n aspectRatio: number,\n\n /**\n * @platform web\n */\n gridAutoColumns: string,\n gridAutoFlow: string,\n gridAutoRows: string,\n gridColumnEnd: string,\n gridColumnGap: string,\n gridColumnStart: string,\n gridRowEnd: string,\n gridRowGap: string,\n gridRowStart: string,\n gridTemplateColumns: string,\n gridTemplateRows: string,\n gridTemplateAreas: string\n};\nexport default LayoutPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _horizontalLine=_interopRequireDefault(require(\"./horizontal-line\"));var _point=_interopRequireDefault(require(\"./point\"));var _tooltip=_interopRequireDefault(require(\"./tooltip\"));var _default={HorizontalLine:_horizontalLine.default,Point:_point.default,Tooltip:_tooltip.default};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/chart-decorators/index.js"],"names":["HorizontalLine","Point","Tooltip"],"mappings":"mKAAA,yEACA,sDACA,0D,aAEe,CACXA,cAAc,CAAdA,uBADW,CAEXC,KAAK,CAALA,cAFW,CAGXC,OAAO,CAAPA,gBAHW,C","sourcesContent":["import HorizontalLine from './horizontal-line'\nimport Point from './point'\nimport Tooltip from './tooltip'\n\nexport default {\n HorizontalLine,\n Point,\n Tooltip,\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var emptyFunction=require(\"./emptyFunction\");function printWarning(format){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key];}var argIndex=0;var message='Warning: '+format.replace(/%s/g,function(){return args[argIndex++];});if(typeof console!=='undefined'){console.error(message);}try{throw new Error(message);}catch(x){}}var warning=process.env.NODE_ENV!==\"production\"?function(condition,format){if(format===undefined){throw new Error('`warning(condition, format, ...args)` requires a warning '+'message argument');}if(!condition){for(var _len2=arguments.length,args=new Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2];}printWarning.apply(void 0,[format].concat(args));}}:emptyFunction;module.exports=warning;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/warning.js"],"names":["emptyFunction","require","printWarning","format","_len","arguments","length","args","Array","_key","argIndex","message","replace","console","error","Error","x","warning","process","env","NODE_ENV","condition","undefined","_len2","_key2","apply","concat","module","exports"],"mappings":"AAOA,aAEA,GAAIA,CAAAA,aAAa,CAAGC,OAAO,mBAA3B,CASA,QAASC,CAAAA,YAAT,CAAsBC,MAAtB,CAA8B,CAC5B,IAAK,GAAIC,CAAAA,IAAI,CAAGC,SAAS,CAACC,MAArB,CAA6BC,IAAI,CAAG,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B,SAAS,CAACmB,KAAD,CAA3B,CACD,CAEDtB,YAAY,CAACuB,KAAb,CAAmB,IAAK,EAAxB,CAA2B,CAACtB,MAAD,EAASuB,MAAT,CAAgBnB,IAAhB,CAA3B,EACD,CACF,CAZa,CAYVP,aAZJ,CAaA2B,MAAM,CAACC,OAAP,CAAiBX,OAAjB","sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar emptyFunction = require(\"./emptyFunction\");\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\n\nfunction printWarning(format) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n}\n\nvar warning = process.env.NODE_ENV !== \"production\" ? function (condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(void 0, [format].concat(args));\n }\n} : emptyFunction;\nmodule.exports = warning;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.useKeepAwake=useKeepAwake;exports.activateKeepAwake=activateKeepAwake;exports.deactivateKeepAwake=deactivateKeepAwake;exports.activate=activate;exports.deactivate=deactivate;exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _ExpoKeepAwake=_interopRequireDefault(require(\"./ExpoKeepAwake\"));var __keepAwakeMountedCount=0;var ExpoKeepAwakeTag='ExpoKeepAwakeDefaultTag';var KeepAwake=function(_React$PureComponent){(0,_inherits2.default)(KeepAwake,_React$PureComponent);function KeepAwake(){(0,_classCallCheck2.default)(this,KeepAwake);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(KeepAwake).apply(this,arguments));}(0,_createClass2.default)(KeepAwake,[{key:\"componentDidMount\",value:function componentDidMount(){console.warn(\"The KeepAwake component has been deprecated in favor of the useKeepAwake hook and will be removed in SDK 35\");__keepAwakeMountedCount++;if(__keepAwakeMountedCount===1){activateKeepAwake();}}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){__keepAwakeMountedCount--;if(__keepAwakeMountedCount===0){deactivateKeepAwake();}}},{key:\"render\",value:function render(){return null;}}]);return KeepAwake;}(_react.default.PureComponent);exports.default=KeepAwake;KeepAwake.activate=function(tag){console.warn(\"The \\\"KeepAwake.activate\\\" static method has been deprecated in favor of the \\\"activateKeepAwake\\\" function exported from expo-keep-awake and will be removed in SDK 35\");activateKeepAwake(tag);};KeepAwake.deactivate=function(tag){console.warn(\"The \\\"KeepAwake.deactivate\\\" static method has been deprecated in favor of the \\\"deactivateKeepAwake\\\" function exported from expo-keep-awake and will be removed in SDK 35\");deactivateKeepAwake(tag);};function useKeepAwake(){var tag=arguments.length>0&&arguments[0]!==undefined?arguments[0]:ExpoKeepAwakeTag;(0,_react.useEffect)(function(){activateKeepAwake(tag);return function(){return deactivateKeepAwake(tag);};},[tag]);}function activateKeepAwake(){var tag=arguments.length>0&&arguments[0]!==undefined?arguments[0]:ExpoKeepAwakeTag;_ExpoKeepAwake.default.activate(tag);}function deactivateKeepAwake(){var tag=arguments.length>0&&arguments[0]!==undefined?arguments[0]:ExpoKeepAwakeTag;_ExpoKeepAwake.default.deactivate(tag);}function activate(tag){console.warn(\"\\\"activate\\\" from expo-keep-awake has been deprecated in favor of \\\"activateKeepAwake\\\" and will be removed in SDK 35\");activateKeepAwake(tag);}function deactivate(tag){console.warn(\"\\\"deactivate\\\" from expo-keep-awake has been deprecated in favor of \\\"deactivateKeepAwake\\\" and will be removed in SDK 35\");deactivateKeepAwake(tag);}","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"w4BAAA,qDACA,sEAIA,GAAI,CAAA,uBAAuB,CAAG,CAA9B,CACA,GAAM,CAAA,gBAAgB,CAAG,yBAAzB,C,GAEqB,CAAA,S,4WAeF,CACf,OAAO,CAAC,IAAR,gHAGA,uBAAuB,GACvB,GAAI,uBAAuB,GAAK,CAAhC,CAAmC,CACjC,iBAAiB,GAClB,CACF,C,mEAEmB,CAClB,uBAAuB,GACvB,GAAI,uBAAuB,GAAK,CAAhC,CAAmC,CACjC,mBAAmB,GACpB,CACF,C,uCAEK,CACJ,MAAO,KAAP,CACD,C,uBAlCoC,eAAM,a,4BACpC,SAAA,CAAA,QAAA,CAAW,SAAC,GAAD,CAAuB,CACvC,OAAO,CAAC,IAAR,4KAGA,iBAAiB,CAAC,GAAD,CAAjB,CACD,CALM,CAOA,SAAA,CAAA,UAAA,CAAa,SAAC,GAAD,CAAuB,CACzC,OAAO,CAAC,IAAR,gLAGA,mBAAmB,CAAC,GAAD,CAAnB,CACD,CALM,CA6BH,QAAU,CAAA,YAAV,EAAqD,IAA9B,CAAA,GAA8B,2DAAhB,gBAAgB,CACzD,qBAAU,UAAK,CACb,iBAAiB,CAAC,GAAD,CAAjB,CACA,MAAO,kBAAM,CAAA,mBAAmB,CAAC,GAAD,CAAzB,EAAP,CACD,CAHD,CAGG,CAAC,GAAD,CAHH,EAID,CAEK,QAAU,CAAA,iBAAV,EAA0D,IAA9B,CAAA,GAA8B,2DAAhB,gBAAgB,CAC9D,uBAAc,QAAd,CAAuB,GAAvB,EACD,CAEK,QAAU,CAAA,mBAAV,EAA4D,IAA9B,CAAA,GAA8B,2DAAhB,gBAAgB,CAChE,uBAAc,UAAd,CAAyB,GAAzB,EACD,CAEK,QAAU,CAAA,QAAV,CAAmB,GAAnB,CAA+B,CACnC,OAAO,CAAC,IAAR,0HAGA,iBAAiB,CAAC,GAAD,CAAjB,CACD,CAEK,QAAU,CAAA,UAAV,CAAqB,GAArB,CAAiC,CACrC,OAAO,CAAC,IAAR,8HAGA,mBAAmB,CAAC,GAAD,CAAnB,CACD","sourcesContent":["import React, { useEffect } from 'react';\nimport ExpoKeepAwake from './ExpoKeepAwake';\n\n// NOTE(brentvatne): in tests this value won't be reset because we can render a component and never\n// unmount it.\nlet __keepAwakeMountedCount = 0;\nconst ExpoKeepAwakeTag = 'ExpoKeepAwakeDefaultTag';\n\nexport default class KeepAwake extends React.PureComponent {\n static activate = (tag?: string): void => {\n console.warn(\n `The \"KeepAwake.activate\" static method has been deprecated in favor of the \"activateKeepAwake\" function exported from expo-keep-awake and will be removed in SDK 35`\n );\n activateKeepAwake(tag);\n };\n\n static deactivate = (tag?: string): void => {\n console.warn(\n `The \"KeepAwake.deactivate\" static method has been deprecated in favor of the \"deactivateKeepAwake\" function exported from expo-keep-awake and will be removed in SDK 35`\n );\n deactivateKeepAwake(tag);\n };\n\n componentDidMount() {\n console.warn(\n `The KeepAwake component has been deprecated in favor of the useKeepAwake hook and will be removed in SDK 35`\n );\n __keepAwakeMountedCount++;\n if (__keepAwakeMountedCount === 1) {\n activateKeepAwake();\n }\n }\n\n componentWillUnmount() {\n __keepAwakeMountedCount--;\n if (__keepAwakeMountedCount === 0) {\n deactivateKeepAwake();\n }\n }\n\n render() {\n return null;\n }\n}\n\nexport function useKeepAwake(tag: string = ExpoKeepAwakeTag): void {\n useEffect(() => {\n activateKeepAwake(tag);\n return () => deactivateKeepAwake(tag);\n }, [tag]);\n}\n\nexport function activateKeepAwake(tag: string = ExpoKeepAwakeTag): void {\n ExpoKeepAwake.activate(tag);\n}\n\nexport function deactivateKeepAwake(tag: string = ExpoKeepAwakeTag): void {\n ExpoKeepAwake.deactivate(tag);\n}\n\nexport function activate(tag?: string): void {\n console.warn(\n `\"activate\" from expo-keep-awake has been deprecated in favor of \"activateKeepAwake\" and will be removed in SDK 35`\n );\n activateKeepAwake(tag);\n}\n\nexport function deactivate(tag?: string): void {\n console.warn(\n `\"deactivate\" from expo-keep-awake has been deprecated in favor of \"deactivateKeepAwake\" and will be removed in SDK 35`\n );\n deactivateKeepAwake(tag);\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default=function _default(obj,key,defaultValue){if(obj.hasOwnProperty(key)&&typeof obj[key]!=='undefined'){return obj;}obj[key]=defaultValue;return obj;};exports.default=_default;","map":{"version":3,"sources":["withDefaultValue.js"],"names":["obj"],"mappings":"6FAAe,kBAAA,GAAA,CAAA,GAAA,CAAA,YAAA,CAA4B,CACzC,GAAIA,GAAG,CAAHA,cAAAA,CAAAA,GAAAA,GAA2B,MAAOA,CAAAA,GAAG,CAAV,GAAU,CAAV,GAA/B,WAAA,CAAgE,CAC9D,MAAA,CAAA,GAAA,CAGFA,CAAAA,GAAG,CAAHA,GAAG,CAAHA,CAAAA,YAAAA,CACA,MAAA,CAAA,GAAA,CANF,C","sourcesContent":["export default (obj, key, defaultValue) => {\n if (obj.hasOwnProperty(key) && typeof obj[key] !== 'undefined') {\n return obj;\n }\n\n obj[key] = defaultValue;\n return obj;\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.computeWindowedRenderLimits=computeWindowedRenderLimits;exports.elementsThatOverlapOffsets=elementsThatOverlapOffsets;exports.newRangeCount=newRangeCount;exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function elementsThatOverlapOffsets(offsets,itemCount,getFrameMetrics){var out=[];var outLength=0;for(var ii=0;ii<itemCount;ii++){var frame=getFrameMetrics(ii);var trailingOffset=frame.offset+frame.length;for(var kk=0;kk<offsets.length;kk++){if(out[kk]==null&&trailingOffset>=offsets[kk]){out[kk]=ii;outLength++;if(kk===offsets.length-1){(0,_invariant.default)(outLength===offsets.length,'bad offsets input, should be in increasing order: %s',JSON.stringify(offsets));return out;}}}}return out;}function newRangeCount(prev,next){return next.last-next.first+1-Math.max(0,1+Math.min(next.last,prev.last)-Math.max(next.first,prev.first));}function computeWindowedRenderLimits(props,prev,getFrameMetricsApprox,scrollMetrics){var data=props.data,getItemCount=props.getItemCount,maxToRenderPerBatch=props.maxToRenderPerBatch,windowSize=props.windowSize;var itemCount=getItemCount(data);if(itemCount===0){return prev;}var offset=scrollMetrics.offset,velocity=scrollMetrics.velocity,visibleLength=scrollMetrics.visibleLength;var visibleBegin=Math.max(0,offset);var visibleEnd=visibleBegin+visibleLength;var overscanLength=(windowSize-1)*visibleLength;var leadFactor=0.5;var fillPreference=velocity>1?'after':velocity<-1?'before':'none';var overscanBegin=Math.max(0,visibleBegin-(1-leadFactor)*overscanLength);var overscanEnd=Math.max(0,visibleEnd+leadFactor*overscanLength);var lastItemOffset=getFrameMetricsApprox(itemCount-1).offset;if(lastItemOffset<overscanBegin){return{first:Math.max(0,itemCount-1-maxToRenderPerBatch),last:itemCount-1};}var _elementsThatOverlapO=elementsThatOverlapOffsets([overscanBegin,visibleBegin,visibleEnd,overscanEnd],props.getItemCount(props.data),getFrameMetricsApprox),overscanFirst=_elementsThatOverlapO[0],first=_elementsThatOverlapO[1],last=_elementsThatOverlapO[2],overscanLast=_elementsThatOverlapO[3];overscanFirst=overscanFirst==null?0:overscanFirst;first=first==null?Math.max(0,overscanFirst):first;overscanLast=overscanLast==null?itemCount-1:overscanLast;last=last==null?Math.min(overscanLast,first+maxToRenderPerBatch-1):last;var visible={first:first,last:last};var newCellCount=newRangeCount(prev,visible);while(true){if(first<=overscanFirst&&last>=overscanLast){break;}var maxNewCells=newCellCount>=maxToRenderPerBatch;var firstWillAddMore=first<=prev.first||first>prev.last;var firstShouldIncrement=first>overscanFirst&&(!maxNewCells||!firstWillAddMore);var lastWillAddMore=last>=prev.last||last<prev.first;var lastShouldIncrement=last<overscanLast&&(!maxNewCells||!lastWillAddMore);if(maxNewCells&&!firstShouldIncrement&&!lastShouldIncrement){break;}if(firstShouldIncrement&&!(fillPreference==='after'&&lastShouldIncrement&&lastWillAddMore)){if(firstWillAddMore){newCellCount++;}first--;}if(lastShouldIncrement&&!(fillPreference==='before'&&firstShouldIncrement&&firstWillAddMore)){if(lastWillAddMore){newCellCount++;}last++;}}if(!(last>=first&&first>=0&&last<itemCount&&first>=overscanFirst&&last<=overscanLast&&first<=visible.first&&last>=visible.last)){throw new Error('Bad window calculation '+JSON.stringify({first:first,last:last,itemCount:itemCount,overscanFirst:overscanFirst,overscanLast:overscanLast,visible:visible}));}return{first:first,last:last};}var VirtualizeUtils={computeWindowedRenderLimits:computeWindowedRenderLimits,elementsThatOverlapOffsets:elementsThatOverlapOffsets,newRangeCount:newRangeCount};var _default=VirtualizeUtils;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/VirtualizeUtils/index.js"],"names":["elementsThatOverlapOffsets","offsets","itemCount","getFrameMetrics","out","outLength","ii","frame","trailingOffset","offset","length","kk","JSON","stringify","newRangeCount","prev","next","last","first","Math","max","min","computeWindowedRenderLimits","props","getFrameMetricsApprox","scrollMetrics","data","getItemCount","maxToRenderPerBatch","windowSize","velocity","visibleLength","visibleBegin","visibleEnd","overscanLength","leadFactor","fillPreference","overscanBegin","overscanEnd","lastItemOffset","_elementsThatOverlapO","overscanFirst","overscanLast","visible","newCellCount","maxNewCells","firstWillAddMore","firstShouldIncrement","lastWillAddMore","lastShouldIncrement","Error","VirtualizeUtils"],"mappings":"qUASA,qEAOA,QAASA,CAAAA,0BAAT,CAAoCC,OAApC,CAA6CC,SAA7C,CAAwDC,eAAxD,CAAyE,CACvE,GAAIC,CAAAA,GAAG,CAAG,EAAV,CACA,GAAIC,CAAAA,SAAS,CAAG,CAAhB,CAEA,IAAK,GAAIC,CAAAA,EAAE,CAAG,CAAd,CAAiBA,EAAE,CAAGJ,SAAtB,CAAiCI,EAAE,EAAnC,CAAuC,CACrC,GAAIC,CAAAA,KAAK,CAAGJ,eAAe,CAACG,EAAD,CAA3B,CACA,GAAIE,CAAAA,cAAc,CAAGD,KAAK,CAACE,MAAN,CAAeF,KAAK,CAACG,MAA1C,CAEA,IAAK,GAAIC,CAAAA,EAAE,CAAG,CAAd,CAAiBA,EAAE,CAAGV,OAAO,CAACS,MAA9B,CAAsCC,EAAE,EAAxC,CAA4C,CAC1C,GAAIP,GAAG,CAACO,EAAD,CAAH,EAAW,IAAX,EAAmBH,cAAc,EAAIP,OAAO,CAACU,EAAD,CAAhD,CAAsD,CACpDP,GAAG,CAACO,EAAD,CAAH,CAAUL,EAAV,CACAD,SAAS,GAET,GAAIM,EAAE,GAAKV,OAAO,CAACS,MAAR,CAAiB,CAA5B,CAA+B,CAC7B,uBAAUL,SAAS,GAAKJ,OAAO,CAACS,MAAhC,CAAwC,sDAAxC,CAAgGE,IAAI,CAACC,SAAL,CAAeZ,OAAf,CAAhG,EACA,MAAOG,CAAAA,GAAP,CACD,CACF,CACF,CACF,CAED,MAAOA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AA+BW,oBAA/B,EAAuDD,gBAAzD,CAA3B,CAAuG,CACrG,GAAIE,eAAJ,CAAqB,CACnBJ,YAAY,GACb,CAED3B,IAAI,GACL,CACF,CAED,GAAI,EAAEA,IAAI,EAAIC,KAAR,EAAiBA,KAAK,EAAI,CAA1B,EAA+BD,IAAI,CAAGf,SAAtC,EAAmDgB,KAAK,EAAIuB,aAA5D,EAA6ExB,IAAI,EAAIyB,YAArF,EAAqGxB,KAAK,EAAIyB,OAAO,CAACzB,KAAtH,EAA+HD,IAAI,EAAI0B,OAAO,CAAC1B,IAAjJ,CAAJ,CAA4J,CAC1J,KAAM,IAAIiC,CAAAA,KAAJ,CAAU,0BAA4BtC,IAAI,CAACC,SAAL,CAAe,CACzDK,KAAK,CAAEA,KADkD,CAEzDD,IAAI,CAAEA,IAFmD,CAGzDf,SAAS,CAAEA,SAH8C,CAIzDuC,aAAa,CAAEA,aAJ0C,CAKzDC,YAAY,CAAEA,YAL2C,CAMzDC,OAAO,CAAEA,OANgD,CAAf,CAAtC,CAAN,CAQD,CAED,MAAO,CACLzB,KAAK,CAAEA,KADF,CAELD,IAAI,CAAEA,IAFD,CAAP,CAID,CAGD,GAAIkC,CAAAA,eAAe,CAAG,CACpB7B,2BAA2B,CAAEA,2BADT,CAEpBtB,0BAA0B,CAAEA,0BAFR,CAGpBc,aAAa,CAAEA,aAHK,CAAtB,C,aAKeqC,e","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport invariant from 'fbjs/lib/invariant';\n/**\n * Used to find the indices of the frames that overlap the given offsets. Useful for finding the\n * items that bound different windows of content, such as the visible area or the buffered overscan\n * area.\n */\n\nfunction elementsThatOverlapOffsets(offsets, itemCount, getFrameMetrics) {\n var out = [];\n var outLength = 0;\n\n for (var ii = 0; ii < itemCount; ii++) {\n var frame = getFrameMetrics(ii);\n var trailingOffset = frame.offset + frame.length;\n\n for (var kk = 0; kk < offsets.length; kk++) {\n if (out[kk] == null && trailingOffset >= offsets[kk]) {\n out[kk] = ii;\n outLength++;\n\n if (kk === offsets.length - 1) {\n invariant(outLength === offsets.length, 'bad offsets input, should be in increasing order: %s', JSON.stringify(offsets));\n return out;\n }\n }\n }\n }\n\n return out;\n}\n/**\n * Computes the number of elements in the `next` range that are new compared to the `prev` range.\n * Handy for calculating how many new items will be rendered when the render window changes so we\n * can restrict the number of new items render at once so that content can appear on the screen\n * faster.\n */\n\n\nfunction newRangeCount(prev, next) {\n return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));\n}\n/**\n * Custom logic for determining which items should be rendered given the current frame and scroll\n * metrics, as well as the previous render state. The algorithm may evolve over time, but generally\n * prioritizes the visible area first, then expands that with overscan regions ahead and behind,\n * biased in the direction of scroll.\n */\n\n\nfunction computeWindowedRenderLimits(props, prev, getFrameMetricsApprox, scrollMetrics) {\n var data = props.data,\n getItemCount = props.getItemCount,\n maxToRenderPerBatch = props.maxToRenderPerBatch,\n windowSize = props.windowSize;\n var itemCount = getItemCount(data);\n\n if (itemCount === 0) {\n return prev;\n }\n\n var offset = scrollMetrics.offset,\n velocity = scrollMetrics.velocity,\n visibleLength = scrollMetrics.visibleLength; // Start with visible area, then compute maximum overscan region by expanding from there, biased\n // in the direction of scroll. Total overscan area is capped, which should cap memory consumption\n // too.\n\n var visibleBegin = Math.max(0, offset);\n var visibleEnd = visibleBegin + visibleLength;\n var overscanLength = (windowSize - 1) * visibleLength; // Considering velocity seems to introduce more churn than it's worth.\n\n var leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));\n\n var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';\n var overscanBegin = Math.max(0, visibleBegin - (1 - leadFactor) * overscanLength);\n var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);\n var lastItemOffset = getFrameMetricsApprox(itemCount - 1).offset;\n\n if (lastItemOffset < overscanBegin) {\n // Entire list is before our overscan window\n return {\n first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),\n last: itemCount - 1\n };\n } // Find the indices that correspond to the items at the render boundaries we're targeting.\n\n\n var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props.getItemCount(props.data), getFrameMetricsApprox),\n overscanFirst = _elementsThatOverlapO[0],\n first = _elementsThatOverlapO[1],\n last = _elementsThatOverlapO[2],\n overscanLast = _elementsThatOverlapO[3];\n\n overscanFirst = overscanFirst == null ? 0 : overscanFirst;\n first = first == null ? Math.max(0, overscanFirst) : first;\n overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;\n last = last == null ? Math.min(overscanLast, first + maxToRenderPerBatch - 1) : last;\n var visible = {\n first: first,\n last: last\n }; // We want to limit the number of new cells we're rendering per batch so that we can fill the\n // content on the screen quickly. If we rendered the entire overscan window at once, the user\n // could be staring at white space for a long time waiting for a bunch of offscreen content to\n // render.\n\n var newCellCount = newRangeCount(prev, visible);\n\n while (true) {\n if (first <= overscanFirst && last >= overscanLast) {\n // If we fill the entire overscan range, we're done.\n break;\n }\n\n var maxNewCells = newCellCount >= maxToRenderPerBatch;\n var firstWillAddMore = first <= prev.first || first > prev.last;\n var firstShouldIncrement = first > overscanFirst && (!maxNewCells || !firstWillAddMore);\n var lastWillAddMore = last >= prev.last || last < prev.first;\n var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);\n\n if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {\n // We only want to stop if we've hit maxNewCells AND we cannot increment first or last\n // without rendering new items. This let's us preserve as many already rendered items as\n // possible, reducing render churn and keeping the rendered overscan range as large as\n // possible.\n break;\n }\n\n if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {\n if (firstWillAddMore) {\n newCellCount++;\n }\n\n first--;\n }\n\n if (lastShouldIncrement && !(fillPreference === 'before' && firstShouldIncrement && firstWillAddMore)) {\n if (lastWillAddMore) {\n newCellCount++;\n }\n\n last++;\n }\n }\n\n if (!(last >= first && first >= 0 && last < itemCount && first >= overscanFirst && last <= overscanLast && first <= visible.first && last >= visible.last)) {\n throw new Error('Bad window calculation ' + JSON.stringify({\n first: first,\n last: last,\n itemCount: itemCount,\n overscanFirst: overscanFirst,\n overscanLast: overscanLast,\n visible: visible\n }));\n }\n\n return {\n first: first,\n last: last\n };\n}\n\nexport { computeWindowedRenderLimits, elementsThatOverlapOffsets, newRangeCount };\nvar VirtualizeUtils = {\n computeWindowedRenderLimits: computeWindowedRenderLimits,\n elementsThatOverlapOffsets: elementsThatOverlapOffsets,\n newRangeCount: newRangeCount\n};\nexport default VirtualizeUtils;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=apisAreAvailable;var _NativeModules=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeModules\"));function apisAreAvailable(){return!!_NativeModules.default.ExponentConstants;}","map":{"version":3,"sources":["../src/apisAreAvailable.ts"],"names":[],"mappings":"+QAEc,QAAU,CAAA,gBAAV,EAA0B,CACtC,MAAO,CAAC,CAAC,uBAAc,iBAAvB,CACD","sourcesContent":["import { NativeModules } from 'react-native';\n\nexport default function apisAreAvailable(): boolean {\n return !!NativeModules.ExponentConstants;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var AnimatedNode=function(){function AnimatedNode(){}var _proto=AnimatedNode.prototype;_proto.__attach=function __attach(){};_proto.__detach=function __detach(){if(this.__isNative&&this.__nativeTag!=null){_NativeAnimatedHelper.default.API.dropAnimatedNode(this.__nativeTag);this.__nativeTag=undefined;}};_proto.__getValue=function __getValue(){};_proto.__getAnimatedValue=function __getAnimatedValue(){return this.__getValue();};_proto.__addChild=function __addChild(child){};_proto.__removeChild=function __removeChild(child){};_proto.__getChildren=function __getChildren(){return[];};_proto.__makeNative=function __makeNative(){if(!this.__isNative){throw new Error('This node cannot be made a \"native\" animated node');}};_proto.__getNativeTag=function __getNativeTag(){_NativeAnimatedHelper.default.assertNativeAnimatedModule();(0,_invariant.default)(this.__isNative,'Attempt to get native tag from node not marked as \"native\"');if(this.__nativeTag==null){var nativeTag=_NativeAnimatedHelper.default.generateNewNodeTag();_NativeAnimatedHelper.default.API.createAnimatedNode(nativeTag,this.__getNativeConfig());this.__nativeTag=nativeTag;}return this.__nativeTag;};_proto.__getNativeConfig=function __getNativeConfig(){throw new Error('This JS animated node type cannot be used as native animated node');};_proto.toJSON=function toJSON(){return this.__getValue();};return AnimatedNode;}();var _default=AnimatedNode;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedNode.js"],"names":["AnimatedNode","_proto","prototype","__attach","__detach","__isNative","__nativeTag","NativeAnimatedHelper","API","dropAnimatedNode","undefined","__getValue","__getAnimatedValue","__addChild","child","__removeChild","__getChildren","__makeNative","Error","__getNativeTag","assertNativeAnimatedModule","nativeTag","generateNewNodeTag","createAnimatedNode","__getNativeConfig","toJSON"],"mappings":"AASA,a,mKAEA,qFACA,qEAGA,GAAIA,CAAAA,YAAY,CAEhB,UAAY,CACV,QAASA,CAAAA,YAAT,EAAwB,CAAE,CAE1B,GAAIC,CAAAA,MAAM,CAAGD,YAAY,CAACE,SAA1B,CAEAD,MAAM,CAACE,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CAAE,CAAxC,CAEAF,MAAM,CAACG,QAAP,CAAkB,Q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CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,KAAM,IAAIN,CAAAA,KAAJ,CAAU,mEAAV,CAAN,CACD,CAFD,CAIAjB,MAAM,CAACwB,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,MAAO,MAAKd,UAAL,EAAP,CACD,CAFD,CAIA,MAAOX,CAAAA,YAAP,CACD,CA1DD,EAFA,C,aA8DeA,Y","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport invariant from 'fbjs/lib/invariant'; // Note(vjeux): this would be better as an interface but flow doesn't\n// support them yet\n\nvar AnimatedNode =\n/*#__PURE__*/\nfunction () {\n function AnimatedNode() {}\n\n var _proto = AnimatedNode.prototype;\n\n _proto.__attach = function __attach() {};\n\n _proto.__detach = function __detach() {\n if (this.__isNative && this.__nativeTag != null) {\n NativeAnimatedHelper.API.dropAnimatedNode(this.__nativeTag);\n this.__nativeTag = undefined;\n }\n };\n\n _proto.__getValue = function __getValue() {};\n\n _proto.__getAnimatedValue = function __getAnimatedValue() {\n return this.__getValue();\n };\n\n _proto.__addChild = function __addChild(child) {};\n\n _proto.__removeChild = function __removeChild(child) {};\n\n _proto.__getChildren = function __getChildren() {\n return [];\n }\n /* Methods and props used by native Animated impl */\n ;\n\n _proto.__makeNative = function __makeNative() {\n if (!this.__isNative) {\n throw new Error('This node cannot be made a \"native\" animated node');\n }\n };\n\n _proto.__getNativeTag = function __getNativeTag() {\n NativeAnimatedHelper.assertNativeAnimatedModule();\n invariant(this.__isNative, 'Attempt to get native tag from node not marked as \"native\"');\n\n if (this.__nativeTag == null) {\n var nativeTag = NativeAnimatedHelper.generateNewNodeTag();\n NativeAnimatedHelper.API.createAnimatedNode(nativeTag, this.__getNativeConfig());\n this.__nativeTag = nativeTag;\n }\n\n return this.__nativeTag;\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n throw new Error('This JS animated node type cannot be used as native animated node');\n };\n\n _proto.toJSON = function toJSON() {\n return this.__getValue();\n };\n\n return AnimatedNode;\n}();\n\nexport default AnimatedNode;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Card/CardActions.tsx\";var CardActions=function(_React$Component){(0,_inherits2.default)(CardActions,_React$Component);function CardActions(){(0,_classCallCheck2.default)(this,CardActions);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(CardActions).apply(this,arguments));}(0,_createClass2.default)(CardActions,[{key:\"render\",value:function render(){return React.createElement(_View.default,(0,_extends2.default)({},this.props,{style:[styles.container,this.props.style],__source:{fileName:_jsxFileName,lineNumber:37}}),React.Children.map(this.props.children,function(child){return React.isValidElement(child)?React.cloneElement(child,{compact:child.props.compact!==false}):child;}));}}]);return CardActions;}(React.Component);CardActions.displayName='Card.Actions';var styles=_StyleSheet.default.create({container:{flexDirection:'row',alignItems:'center',justifyContent:'flex-start',padding:8}});var _default=CardActions;exports.default=_default;","map":{"version":3,"sources":["CardActions.tsx"],"names":["CardActions","React","Component","displayName","styles","compact","child","StyleSheet","container","flexDirection","alignItems","justifyContent","padding"],"mappings":"kyBAAA,oD,uRA+BMA,GAAAA,CAAAA,W,wVAGK,CACP,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,sBAAA,EAAA,CAAU,KAAV,KAAA,CAAA,CAAsB,KAAK,CAAE,CAACI,MAAM,CAAP,SAAA,CAAmB,KAAA,KAAA,CAAhD,KAA6B,CAA7B,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CACGH,KAAK,CAALA,QAAAA,CAAAA,GAAAA,CAAmB,KAAA,KAAA,CAAnBA,QAAAA,CAAwC,SAAA,KAAA,CAAK,CAAA,MAC5CA,CAAAA,KAAK,CAALA,cAAAA,CAAAA,KAAAA,EACIA,KAAK,CAALA,YAAAA,CAAAA,KAAAA,CAA0B,CACxBI,OAAO,CAAEC,KAAK,CAALA,KAAAA,CAAAA,OAAAA,GAFfL,KAC8B,CAA1BA,CADJA,CAD4C,KAAA,CAFlD,CAEKA,CADH,CADF,C,0BAJsBA,KAAK,CAACC,S,CAA1BF,CAAAA,W,CACGG,WADHH,CACiB,cADjBA,CAkBN,GAAMI,CAAAA,MAAM,CAAGG,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,aAAa,CADJ,KAAA,CAETC,UAAU,CAFD,QAAA,CAGTC,cAAc,CAHL,YAAA,CAITC,OAAO,CALX,CACa,CADoB,CAAlBL,CAAf,C,aASA,W","sourcesContent":["import * as React from 'react';\nimport { StyleSheet, StyleProp, View, ViewStyle } from 'react-native';\n\ntype Props = React.ComponentProps<typeof View> & {\n /**\n * Items inside the `CardActions`.\n */\n children: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n};\n\n/**\n * A component to show a list of actions inside a Card.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Button, Card } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Card>\n * <Card.Actions>\n * <Button>Cancel</Button>\n * <Button>Ok</Button>\n * </Card.Actions>\n * </Card>\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass CardActions extends React.Component<Props> {\n static displayName = 'Card.Actions';\n\n render() {\n return (\n <View {...this.props} style={[styles.container, this.props.style]}>\n {React.Children.map(this.props.children, child =>\n React.isValidElement(child)\n ? React.cloneElement(child, {\n compact: child.props.compact !== false,\n })\n : child\n )}\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'flex-start',\n padding: 8,\n },\n});\n\nexport default CardActions;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _TouchableOpacity=_interopRequireDefault(require(\"../TouchableOpacity\"));var _Text=_interopRequireDefault(require(\"../Text\"));var _propTypes=require(\"prop-types\");var _react=_interopRequireWildcard(require(\"react\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var Button=function(_Component){_inheritsLoose(Button,_Component);function Button(){return _Component.apply(this,arguments)||this;}var _proto=Button.prototype;_proto.render=function render(){var _this$props=this.props,accessibilityLabel=_this$props.accessibilityLabel,color=_this$props.color,disabled=_this$props.disabled,onPress=_this$props.onPress,testID=_this$props.testID,title=_this$props.title;return _react.default.createElement(_TouchableOpacity.default,{accessibilityLabel:accessibilityLabel,accessibilityRole:\"button\",disabled:disabled,onPress:onPress,style:[styles.button,color&&{backgroundColor:color},disabled&&styles.buttonDisabled],testID:testID},_react.default.createElement(_Text.default,{style:[styles.text,disabled&&styles.textDisabled]},title));};return Button;}(_react.Component);Button.propTypes=process.env.NODE_ENV!==\"production\"?{accessibilityLabel:_propTypes.string,color:_ColorPropType.default,disabled:_propTypes.bool,onPress:_propTypes.func.isRequired,testID:_propTypes.string,title:_propTypes.string.isRequired}:{};var styles=_StyleSheet.default.create({button:{backgroundColor:'#2196F3',borderRadius:2},text:{color:'#fff',fontWeight:'500',padding:8,textAlign:'center',textTransform:'uppercase'},buttonDisabled:{backgroundColor:'#dfdfdf'},textDisabled:{color:'#a1a1a1'}});var _default=Button;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Button/index.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","Button","_Component","apply","arguments","_proto","render","_this$props","props","accessibilityLabel","color","disabled","onPress","testID","title","React","createElement","TouchableOpacity","accessibilityRole","style","styles","button","backgroundColor","buttonDisabled","Text","text","textDisabled","Component","propTypes","process","env","NODE_ENV","string","ColorPropType","bool","func","isRequired","StyleSheet","borderRadius","fontWeight","padding","textAlign","textTransform"],"mappings":"wPAWA,uEACA,iEACA,6EACA,qDACA,qCACA,qDAhBA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAkBvL,GAAIM,CAAAA,MAAM,CAEV,SAAUC,UAAV,CAAsB,CACpBT,cAAc,CAACQ,MAAD,CAASC,UAAT,CAAd,CAEA,QAASD,CAAAA,MAAT,EAAk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sBAFkD,CAGzDtB,QAAQ,CAAEuB,eAH+C,CAIzDtB,OAAO,CAAEuB,gBAAKC,UAJ2C,CAKzDvB,MAAM,CAAEmB,iBALiD,CAMzDlB,KAAK,CAAEkB,kBAAOI,UAN2C,CAAxC,CAOf,EAPJ,CAQA,GAAIhB,CAAAA,MAAM,CAAGiB,oBAAWvC,MAAX,CAAkB,CAC7BuB,MAAM,CAAE,CACNC,eAAe,CAAE,SADX,CAENgB,YAAY,CAAE,CAFR,CADqB,CAK7Bb,IAAI,CAAE,CACJf,KAAK,CAAE,MADH,CAEJ6B,UAAU,CAAE,KAFR,CAGJC,OAAO,CAAE,CAHL,CAIJC,SAAS,CAAE,QAJP,CAKJC,aAAa,CAAE,WALX,CALuB,CAY7BnB,cAAc,CAAE,CACdD,eAAe,CAAE,SADH,CAZa,CAe7BI,YAAY,CAAE,CACZhB,KAAK,CAAE,SADK,CAfe,CAAlB,CAAb,C,aAmBeT,M","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../ColorPropType';\nimport StyleSheet from '../StyleSheet';\nimport TouchableOpacity from '../TouchableOpacity';\nimport Text from '../Text';\nimport { bool, func, string } from 'prop-types';\nimport React, { Component } from 'react';\n\nvar Button =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(Button, _Component);\n\n function Button() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Button.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n accessibilityLabel = _this$props.accessibilityLabel,\n color = _this$props.color,\n disabled = _this$props.disabled,\n onPress = _this$props.onPress,\n testID = _this$props.testID,\n title = _this$props.title;\n return React.createElement(TouchableOpacity, {\n accessibilityLabel: accessibilityLabel,\n accessibilityRole: \"button\",\n disabled: disabled,\n onPress: onPress,\n style: [styles.button, color && {\n backgroundColor: color\n }, disabled && styles.buttonDisabled],\n testID: testID\n }, React.createElement(Text, {\n style: [styles.text, disabled && styles.textDisabled]\n }, title));\n };\n\n return Button;\n}(Component);\n\nButton.propTypes = process.env.NODE_ENV !== \"production\" ? {\n accessibilityLabel: string,\n color: ColorPropType,\n disabled: bool,\n onPress: func.isRequired,\n testID: string,\n title: string.isRequired\n} : {};\nvar styles = StyleSheet.create({\n button: {\n backgroundColor: '#2196F3',\n borderRadius: 2\n },\n text: {\n color: '#fff',\n fontWeight: '500',\n padding: 8,\n textAlign: 'center',\n textTransform: 'uppercase'\n },\n buttonDisabled: {\n backgroundColor: '#dfdfdf'\n },\n textDisabled: {\n color: '#a1a1a1'\n }\n});\nexport default Button;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createNativeWrapper;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _NativeViewGestureHandler=_interopRequireDefault(require(\"./NativeViewGestureHandler\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var NATIVE_WRAPPER_BIND_BLACKLIST=new Set(['replaceState','isMounted']);var NATIVE_WRAPPER_PROPS_FILTER=['id','minPointers','enabled','waitFor','simultaneousHandlers','shouldCancelWhenOutside','hitSlop','onGestureEvent','onHandlerStateChange','onBegan','onFailed','onCancelled','onActivated','onEnded','shouldActivateOnStart','disallowInterruption','onGestureHandlerEvent','onGestureHandlerStateChange'];function createNativeWrapper(Component){var config=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var ComponentWrapper=function(_React$Component){(0,_inherits2.default)(ComponentWrapper,_React$Component);function ComponentWrapper(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,ComponentWrapper);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(ComponentWrapper)).call.apply(_getPrototypeOf2,[this].concat(args)));_this._refHandler=function(node){var source=node;while(source!=null){for(var _iterator=Object.getOwnPropertyNames(source),_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\":\"@@iterator\"]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++];}else{_i=_iterator.next();if(_i.done)break;_ref=_i.value;}var _methodName=_ref;if(!_methodName.startsWith('_')&&!_methodName.startsWith('component')&&!NATIVE_WRAPPER_BIND_BLACKLIST.has(_methodName)&&typeof source[_methodName]==='function'&&_this[_methodName]===undefined){if(source[_methodName].prototype){_this[_methodName]=source[_methodName].bind(node);}else{_this[_methodName]=source[_methodName];}}}source=Object.getPrototypeOf(source);}};return _this;}(0,_createClass2.default)(ComponentWrapper,[{key:\"render\",value:function render(){var _this2=this;var gestureHandlerProps=Object.keys(this.props).reduce(function(props,key){if(NATIVE_WRAPPER_PROPS_FILTER.indexOf(key)!==-1){props[key]=_this2.props[key];}return props;},_objectSpread({},config));return _react.default.createElement(_NativeViewGestureHandler.default,gestureHandlerProps,_react.default.createElement(Component,(0,_extends2.default)({},this.props,{ref:this._refHandler})));}}]);return ComponentWrapper;}(_react.default.Component);ComponentWrapper.propTypes=_objectSpread({},Component.propTypes);ComponentWrapper.displayName=Component.displayName||'ComponentWrapper';return ComponentWrapper;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/createNativeWrapper.js"],"names":["NATIVE_WRAPPER_BIND_BLACKLIST","Set","NATIVE_WRAPPER_PROPS_FILTER","createNativeWrapper","Component","config","ComponentWrapper","_refHandler","node","source","Object","getOwnPropertyNames","methodName","startsWith","has","undefined","prototype","bind","getPrototypeOf","gestureHandlerProps","keys","props","reduce","key","indexOf","React","propTypes","displayName"],"mappings":"wzBAAA,oDAEA,4F,yxBAEA,GAAMA,CAAAA,6BAA6B,CAAG,GAAIC,CAAAA,GAAJ,CAAQ,CAAC,cAAD,CAAiB,WAAjB,CAAR,CAAtC,CASA,GAAMC,CAAAA,2BAA2B,CAAG,CAClC,IADkC,CAElC,aAFkC,CAGlC,SAHkC,CAIlC,SAJkC,CAKlC,sBALkC,CAMlC,yBANkC,CAOlC,SAPkC,CAQlC,gBARkC,CASlC,sBATkC,CAUlC,SAVkC,CAWlC,UAXkC,CAYlC,aAZkC,CAalC,aAbkC,CAclC,SAdkC,CAelC,uBAfkC,CAgBlC,sBAhBkC,CA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,MAAOF,CAAAA,KAAP,CACD,CANyB,kBAOrBhB,MAPqB,EAA5B,CASA,MACE,8BAAC,iCAAD,CAA8Bc,mBAA9B,CACE,6BAAC,SAAD,0BAAe,KAAKE,KAApB,EAA2B,GAAG,CAAE,KAAKd,WAArC,GADF,CADF,CAKD,CAhD+D,8BACnCkB,eAAMrB,SAD6B,EAC5DE,gBAD4D,CAEzDoB,SAFyD,kBAG3DtB,SAAS,CAACsB,SAHiD,EAC5DpB,gBAD4D,CAMzDqB,WANyD,CAM3CvB,SAAS,CAACuB,WAAV,EAAyB,kBANkB,CAkDlE,MAAOrB,CAAAA,gBAAP,CACD","sourcesContent":["import React from 'react';\n\nimport NativeViewGestureHandler from './NativeViewGestureHandler';\n\nconst NATIVE_WRAPPER_BIND_BLACKLIST = new Set(['replaceState', 'isMounted']);\n\n/*\n * This array should consist of:\n * - All keys in propTypes from NativeGestureHandler\n * (and all keys in GestureHandlerPropTypes)\n * - 'onGestureHandlerEvent'\n * - 'onGestureHandlerStateChange'\n */\nconst NATIVE_WRAPPER_PROPS_FILTER = [\n 'id',\n 'minPointers',\n 'enabled',\n 'waitFor',\n 'simultaneousHandlers',\n 'shouldCancelWhenOutside',\n 'hitSlop',\n 'onGestureEvent',\n 'onHandlerStateChange',\n 'onBegan',\n 'onFailed',\n 'onCancelled',\n 'onActivated',\n 'onEnded',\n 'shouldActivateOnStart',\n 'disallowInterruption',\n 'onGestureHandlerEvent',\n 'onGestureHandlerStateChange',\n];\n\nexport default function createNativeWrapper(Component, config = {}) {\n class ComponentWrapper extends React.Component {\n static propTypes = {\n ...Component.propTypes,\n };\n\n static displayName = Component.displayName || 'ComponentWrapper';\n\n _refHandler = node => {\n // bind native component's methods\n let source = node;\n while (source != null) {\n for (let methodName of Object.getOwnPropertyNames(source)) {\n if (\n !methodName.startsWith('_') && // private methods\n !methodName.startsWith('component') && // lifecycle methods\n !NATIVE_WRAPPER_BIND_BLACKLIST.has(methodName) && // other\n typeof source[methodName] === 'function' &&\n this[methodName] === undefined\n ) {\n if (source[methodName].prototype) {\n // determine if it's not bound already\n this[methodName] = source[methodName].bind(node);\n } else {\n this[methodName] = source[methodName];\n }\n }\n }\n source = Object.getPrototypeOf(source);\n }\n };\n\n render() {\n // filter out props that should be passed to gesture handler wrapper\n const gestureHandlerProps = Object.keys(this.props).reduce(\n (props, key) => {\n if (NATIVE_WRAPPER_PROPS_FILTER.indexOf(key) !== -1) {\n props[key] = this.props[key];\n }\n return props;\n },\n { ...config } // watch out not to modify config\n );\n return (\n <NativeViewGestureHandler {...gestureHandlerProps}>\n <Component {...this.props} ref={this._refHandler} />\n </NativeViewGestureHandler>\n );\n }\n }\n return ComponentWrapper;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _reactNativeSvg=_interopRequireDefault(require(\"react-native-svg\"));var array=_interopRequireWildcard(require(\"d3-array\"));var scale=_interopRequireWildcard(require(\"d3-scale\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _animatedPath=_interopRequireDefault(require(\"../animated-path\"));var StackedBarGrouped=function(_PureComponent){(0,_inherits2.default)(StackedBarGrouped,_PureComponent);function StackedBarGrouped(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,StackedBarGrouped);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(StackedBarGrouped)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={width:0,height:0};_this.coordinatesToPathCommands=function(x0,y0,x1,y1,borderRadius,showTopBorder,showBottomBorder){var commands=[];commands.push({marker:'M',values:[x0,y0]});if(showTopBorder){var topLeft1=[x0+borderRadius,y0];var topLeft2=[x0,y0+borderRadius];commands.push({marker:'L',values:topLeft1});commands.push({marker:'C',values:[].concat(topLeft1,[x0,y0],topLeft2)});commands.push({marker:'L',values:topLeft2});}else{commands.push({marker:'L',values:[x0,y0]});}if(showBottomBorder){var bottomLeft1=[x0,y1-borderRadius];var bottomLeft2=[x0+borderRadius,y1];commands.push({marker:'L',values:bottomLeft1});commands.push({marker:'C',values:[].concat(bottomLeft1,[x0,y1],bottomLeft2)});commands.push({marker:'L',values:bottomLeft2});var bottomRight1=[x1-borderRadius,y1];var bottomRight2=[x1,y1-borderRadius];commands.push({marker:'L',values:bottomRight1});commands.push({marker:'C',values:[].concat(bottomRight1,[x1,y1],bottomRight2)});commands.push({marker:'L',values:bottomRight2});}else{commands.push({marker:'L',values:[x0,y1]});commands.push({marker:'L',values:[x1,y1]});}if(showTopBorder){var topRight1=[x1,y0+borderRadius];var topRight2=[x1-borderRadius,y0];commands.push({marker:'L',values:topRight1});commands.push({marker:'C',values:[].concat(topRight1,[x1,y0],topRight2)});commands.push({marker:'L',values:topRight2});}else{commands.push({marker:'L',values:[x1,y0]});}commands.push({marker:'Z',values:[]});return commands;};_this.commandsToSvgPath=function(commands){return commands.map(function(command){return command.marker+\" \"+command.values.join(',');}).join(' ').trim();};return _this;}(0,_createClass2.default)(StackedBarGrouped,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"calcXScale\",value:function calcXScale(domain){var _this$props=this.props,horizontal=_this$props.horizontal,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.left,left=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.right,right=_this$props$contentIn3===void 0?0:_this$props$contentIn3,spacingInner=_this$props.spacingInner,spacingOuter=_this$props.spacingOuter;var width=this.state.width;if(horizontal){return scale.scaleLinear().domain(domain).range([left,width-right]);}return scale.scaleBand().domain(domain).range([left,width-right]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}},{key:\"calcYScale\",value:function calcYScale(domain){var _this$props2=this.props,horizontal=_this$props2.horizontal,_this$props2$contentI=_this$props2.contentInset,_this$props2$contentI2=_this$props2$contentI.top,top=_this$props2$contentI2===void 0?0:_this$props2$contentI2,_this$props2$contentI3=_this$props2$contentI.bottom,bottom=_this$props2$contentI3===void 0?0:_this$props2$contentI3,spacingInner=_this$props2.spacingInner,spacingOuter=_this$props2.spacingOuter;var height=this.state.height;if(horizontal){return scale.scaleBand().domain(domain).range([top,height-bottom]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}return scale.scaleLinear().domain(domain).range([height-bottom,top]);}},{key:\"calcAreas\",value:function calcAreas(x,y,series){var _this2=this;var _this$props3=this.props,horizontal=_this$props3.horizontal,colors=_this$props3.colors,keys=_this$props3.keys,data=_this$props3.data,initialBorderRadius=_this$props3.borderRadius,innerBarSpace=_this$props3.innerBarSpace;var areas;var barWidth;if(horizontal){barWidth=y.bandwidth()/data.length;areas=series.map(function(stack,stackIndex){return stack.map(function(serie,keyIndex){return serie.map(function(entry,entryIndex){var leftMargin=series.length>1?innerBarSpace/2:0;var path=shape.area().x0(function(d){return x(d[0]);}).x1(function(d){return x(d[1]);}).y(function(d,_index){return(_index===0?y(entryIndex)+barWidth*stackIndex+leftMargin:y(entryIndex)+barWidth+barWidth*stackIndex)-leftMargin;}).defined(function(d){return!isNaN(d[0])&&!isNaN(d[1]);})([entry,entry]);return{path:path,color:colors[stackIndex][keyIndex],key:keys[stackIndex][keyIndex]};});});});}else{barWidth=x.bandwidth()/data.length;areas=series.map(function(stack,stackIndex){return stack.map(function(serie,keyIndex){return serie.map(function(entry,entryIndex){var leftMargin=series.length>1?innerBarSpace/2:0;var x0=x(entryIndex)+barWidth*stackIndex+leftMargin;var x1=x(entryIndex)+barWidth+barWidth*stackIndex-leftMargin;var y0=y(entry[1]);var y1=y(entry[0]);var barHeight=y1-y0;var borderRadius=initialBorderRadius*2>barHeight?barHeight/2:initialBorderRadius;var showTopBorder=keyIndex===stack.length-1;var showBottomBorder=keyIndex===0;var commands=_this2.coordinatesToPathCommands(x0,y0,x1,y1,borderRadius,showTopBorder,showBottomBorder);return{path:_this2.commandsToSvgPath(commands),color:colors[stackIndex][keyIndex],key:keys[stackIndex][keyIndex]};});});});}return array.merge(areas);}},{key:\"calcExtent\",value:function calcExtent(values){var _this$props4=this.props,gridMax=_this$props4.gridMax,gridMin=_this$props4.gridMin;var mergedValues=array.merge(values);return array.extent([].concat((0,_toConsumableArray2.default)(mergedValues),[gridMin,gridMax]));}},{key:\"calcIndexes\",value:function calcIndexes(){var data=this.props.data;return data[0].data.map(function(_,index){return index;});}},{key:\"getSeries\",value:function getSeries(){var _this$props5=this.props,data=_this$props5.data,keys=_this$props5.keys,offset=_this$props5.offset,order=_this$props5.order,valueAccessor=_this$props5.valueAccessor;return data.map(function(obj,index){return shape.stack().keys(keys[index]).value(function(item,key){return valueAccessor({item:item,key:key});}).order(order).offset(offset)(obj.data);});}},{key:\"render\",value:function render(){var _this3=this;var _this$props6=this.props,data=_this$props6.data,animate=_this$props6.animate,animationDuration=_this$props6.animationDuration,style=_this$props6.style,numberOfTicks=_this$props6.numberOfTicks,children=_this$props6.children,horizontal=_this$props6.horizontal;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var series=this.getSeries();var values=array.merge(array.merge(series));var indexes=this.calcIndexes(values);var extent=this.calcExtent(values);var ticks=array.ticks(extent[0],extent[1],numberOfTicks);var xDomain=horizontal?extent:indexes;var yDomain=horizontal?indexes:extent;var x=this.calcXScale(xDomain);var y=this.calcYScale(yDomain);var bandwidth=horizontal?y.bandwidth():x.bandwidth();var stacks=this.calcAreas(x,y,series);var extraProps={x:x,y:y,width:width,height:height,ticks:ticks,data:data,bandwidth:bandwidth};return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this3._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),stacks.map(function(areas,indexStack){var areaIndex=indexStack%data.length;return areas.map(function(bar,indexArea){var keyIndex=indexArea%data[areaIndex].data.length;var key=areaIndex+\"-\"+keyIndex+\"-\"+bar.key;var svg=data[areaIndex].data[keyIndex][bar.key].svg;return _react.default.createElement(_animatedPath.default,(0,_extends2.default)({key:key,fill:bar.color},svg,{d:bar.path,animate:animate,animationDuration:animationDuration}));});}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}))));}}]);return StackedBarGrouped;}(_react.PureComponent);StackedBarGrouped.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.object),keys:_propTypes.default.arrayOf(_propTypes.default.arrayOf(_propTypes.default.string)).isRequired,colors:_propTypes.default.arrayOf(_propTypes.default.arrayOf(_propTypes.default.string)).isRequired,offset:_propTypes.default.func,order:_propTypes.default.func,style:_propTypes.default.any,spacingInner:_propTypes.default.number,spacingOuter:_propTypes.default.number,animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,contentInset:_propTypes.default.shape({top:_propTypes.default.number,left:_propTypes.default.number,right:_propTypes.default.number,bottom:_propTypes.default.number}),gridMin:_propTypes.default.number,gridMax:_propTypes.default.number,valueAccessor:_propTypes.default.func,borderRadius:_propTypes.default.number,innerBarSpace:_propTypes.default.number};StackedBarGrouped.defaultProps={spacingInner:0.05,spacingOuter:0.05,offset:shape.stackOffsetNone,order:shape.stackOrderNone,width:100,height:100,showZeroAxis:true,contentInset:{},numberOfTicks:10,showGrid:true,valueAccessor:function valueAccessor(_ref){var item=_ref.item,key=_ref.key;return item[key];},borderRadius:0,innerBarSpace:0};var _default=StackedBarGrouped;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/stacked-bar-chart/stacked-bar-grouped.js"],"names":["StackedBarGrouped","state","width","height","coordinatesToPathCommands","x0","y0","x1","y1","borderRadius","showTopBorder","showBottomBorder","commands","push","marker","values","topLeft1","topLeft2","bottomLeft1","bottomLeft2","bottomRight1","bottomRight2","topRight1","topRight2","commandsToSvgPath","map","command","join","trim","event","nativeEvent","layout","setState","domain","props","horizontal","contentInset","left","right","spacingInner","spacingOuter","scale","scaleLinear","range","scaleBand","paddingInner","paddingOuter","top","bottom","x","y","series","colors","keys","data","initialBorderRadius","innerBarSpace","areas","barWidth","bandwidth","length","stack","stackIndex","serie","keyIndex","entry","entryIndex","leftMargin","path","shape","area","d","_index","defined","isNaN","color","key","barHeight","array","merge","gridMax","gridMin","mergedValues","extent","_","index","offset","order","valueAccessor","obj","value","item","animate","animationDuration","style","numberOfTicks","children","getSeries","indexes","calcIndexes","calcExtent","ticks","xDomain","yDomain","calcXScale","calcYScale","stacks","calcAreas","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","indexStack","areaIndex","bar","indexArea","svg","PureComponent","propTypes","PropTypes","arrayOf","object","string","isRequired","func","any","number","bool","defaultProps","stackOffsetNone","stackOrderN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CAACgE,eAHe,CAI7B9C,KAAK,CAAElB,KAAK,CAACiE,cAJgB,CAK7BpI,KAAK,CAAE,GALsB,CAM7BC,MAAM,CAAE,GANqB,CAO7BoI,YAAY,CAAE,IAPe,CAQ7BnG,YAAY,CAAE,EARe,CAS7B2D,aAAa,CAAE,EATc,CAU7ByC,QAAQ,CAAE,IAVmB,CAW7BhD,aAAa,CAAE,gCAAGG,CAAAA,IAAH,MAAGA,IAAH,CAASf,GAAT,MAASA,GAAT,OAAmBe,CAAAA,IAAI,CAACf,GAAD,CAAvB,EAXc,CAY7BnE,YAAY,CAAE,CAZe,CAa7B+C,aAAa,CAAE,CAbc,CAAjC,C,aAgBexD,iB","sourcesContent":["import React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport PropTypes from 'prop-types'\nimport Svg from 'react-native-svg'\nimport * as array from 'd3-array'\nimport * as scale from 'd3-scale'\nimport * as shape from 'd3-shape'\nimport Path from '../animated-path'\n\nclass StackedBarGrouped extends PureComponent {\n state = {\n width: 0,\n height: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n calcXScale(domain) {\n const {\n horizontal,\n contentInset: { left = 0, right = 0 },\n spacingInner,\n spacingOuter,\n } = this.props\n\n const { width } = this.state\n\n if (horizontal) {\n return scale\n .scaleLinear()\n .domain(domain)\n .range([left, width - right])\n }\n\n return scale\n .scaleBand()\n .domain(domain)\n .range([left, width - right])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n calcYScale(domain) {\n const {\n horizontal,\n contentInset: { top = 0, bottom = 0 },\n spacingInner,\n spacingOuter,\n } = this.props\n\n const { height } = this.state\n\n if (horizontal) {\n return scale\n .scaleBand()\n .domain(domain)\n .range([top, height - bottom])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n return scale\n .scaleLinear()\n .domain(domain)\n .range([height - bottom, top])\n }\n\n calcAreas(x, y, series) {\n const { horizontal, colors, keys, data, borderRadius: initialBorderRadius, innerBarSpace } = this.props\n let areas\n let barWidth\n\n if (horizontal) {\n barWidth = y.bandwidth() / data.length\n\n areas = series.map((stack, stackIndex) => {\n return stack.map((serie, keyIndex) => {\n return serie.map((entry, entryIndex) => {\n const leftMargin = series.length > 1 ? innerBarSpace / 2 : 0\n\n const path = shape\n .area()\n .x0((d) => x(d[0]))\n .x1((d) => x(d[1]))\n .y(\n (d, _index) =>\n (_index === 0\n ? y(entryIndex) + barWidth * stackIndex + leftMargin\n : y(entryIndex) + barWidth + barWidth * stackIndex) - leftMargin\n )\n .defined((d) => !isNaN(d[0]) && !isNaN(d[1]))([entry, entry])\n\n return {\n path,\n color: colors[stackIndex][keyIndex],\n key: keys[stackIndex][keyIndex],\n }\n })\n })\n })\n } else {\n barWidth = x.bandwidth() / data.length\n\n areas = series.map((stack, stackIndex) => {\n return stack.map((serie, keyIndex) => {\n return serie.map((entry, entryIndex) => {\n const leftMargin = series.length > 1 ? innerBarSpace / 2 : 0\n const x0 = x(entryIndex) + barWidth * stackIndex + leftMargin\n const x1 = x(entryIndex) + barWidth + barWidth * stackIndex - leftMargin\n const y0 = y(entry[1])\n const y1 = y(entry[0])\n const barHeight = y1 - y0\n const borderRadius = initialBorderRadius * 2 > barHeight ? barHeight / 2 : initialBorderRadius\n const showTopBorder = keyIndex === stack.length - 1\n const showBottomBorder = keyIndex === 0\n const commands = this.coordinatesToPathCommands(\n x0,\n y0,\n x1,\n y1,\n borderRadius,\n showTopBorder,\n showBottomBorder\n )\n\n return {\n path: this.commandsToSvgPath(commands),\n color: colors[stackIndex][keyIndex],\n key: keys[stackIndex][keyIndex],\n }\n })\n })\n })\n }\n\n return array.merge(areas)\n }\n\n coordinatesToPathCommands = (x0, y0, x1, y1, borderRadius, showTopBorder, showBottomBorder) => {\n const commands = []\n commands.push({ marker: 'M', values: [x0, y0] })\n\n if (showTopBorder) {\n const topLeft1 = [x0 + borderRadius, y0]\n const topLeft2 = [x0, y0 + borderRadius]\n commands.push({ marker: 'L', values: topLeft1 })\n commands.push({\n marker: 'C',\n values: [...topLeft1, x0, y0, ...topLeft2],\n })\n commands.push({ marker: 'L', values: topLeft2 })\n } else {\n commands.push({ marker: 'L', values: [x0, y0] })\n }\n\n if (showBottomBorder) {\n const bottomLeft1 = [x0, y1 - borderRadius]\n const bottomLeft2 = [x0 + borderRadius, y1]\n commands.push({ marker: 'L', values: bottomLeft1 })\n commands.push({\n marker: 'C',\n values: [...bottomLeft1, x0, y1, ...bottomLeft2],\n })\n commands.push({ marker: 'L', values: bottomLeft2 })\n const bottomRight1 = [x1 - borderRadius, y1]\n const bottomRight2 = [x1, y1 - borderRadius]\n commands.push({ marker: 'L', values: bottomRight1 })\n commands.push({\n marker: 'C',\n values: [...bottomRight1, x1, y1, ...bottomRight2],\n })\n commands.push({ marker: 'L', values: bottomRight2 })\n } else {\n commands.push({ marker: 'L', values: [x0, y1] })\n commands.push({ marker: 'L', values: [x1, y1] })\n }\n\n if (showTopBorder) {\n const topRight1 = [x1, y0 + borderRadius]\n const topRight2 = [x1 - borderRadius, y0]\n\n commands.push({ marker: 'L', values: topRight1 })\n commands.push({\n marker: 'C',\n values: [...topRight1, x1, y0, ...topRight2],\n })\n commands.push({ marker: 'L', values: topRight2 })\n } else {\n commands.push({ marker: 'L', values: [x1, y0] })\n }\n\n commands.push({ marker: 'Z', values: [] })\n\n return commands\n }\n\n commandsToSvgPath = (commands) =>\n commands\n .map((command) => `${command.marker} ${command.values.join(',')}`)\n .join(' ')\n .trim()\n\n calcExtent(values) {\n const { gridMax, gridMin } = this.props\n\n // One more merge for stacked groups\n const mergedValues = array.merge(values)\n\n return array.extent([...mergedValues, gridMin, gridMax])\n }\n\n calcIndexes() {\n const { data } = this.props\n\n // Must return an array with indexes for the number of groups to be shown\n return data[0].data.map((_, index) => index)\n }\n\n getSeries() {\n const { data, keys, offset, order, valueAccessor } = this.props\n\n return data.map((obj, index) =>\n shape\n .stack()\n .keys(keys[index])\n .value((item, key) => valueAccessor({ item, key }))\n .order(order)\n .offset(offset)(obj.data)\n )\n }\n\n render() {\n const { data, animate, animationDuration, style, numberOfTicks, children, horizontal } = this.props\n\n const { height, width } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const series = this.getSeries()\n\n //double merge arrays to extract just the values\n const values = array.merge(array.merge(series))\n const indexes = this.calcIndexes(values)\n\n const extent = this.calcExtent(values)\n const ticks = array.ticks(extent[0], extent[1], numberOfTicks)\n\n const xDomain = horizontal ? extent : indexes\n const yDomain = horizontal ? indexes : extent\n\n const x = this.calcXScale(xDomain)\n const y = this.calcYScale(yDomain)\n\n const bandwidth = horizontal ? y.bandwidth() : x.bandwidth()\n\n const stacks = this.calcAreas(x, y, series)\n\n const extraProps = {\n x,\n y,\n width,\n height,\n ticks,\n data,\n bandwidth,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n {stacks.map((areas, indexStack) => {\n const areaIndex = indexStack % data.length\n\n return areas.map((bar, indexArea) => {\n const keyIndex = indexArea % data[areaIndex].data.length\n const key = `${areaIndex}-${keyIndex}-${bar.key}`\n\n const { svg } = data[areaIndex].data[keyIndex][bar.key]\n\n return (\n <Path\n key={key}\n fill={bar.color}\n {...svg}\n d={bar.path}\n animate={animate}\n animationDuration={animationDuration}\n />\n )\n })\n })}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nStackedBarGrouped.propTypes = {\n data: PropTypes.arrayOf(PropTypes.object),\n keys: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)).isRequired,\n colors: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)).isRequired,\n offset: PropTypes.func,\n order: PropTypes.func,\n style: PropTypes.any,\n spacingInner: PropTypes.number,\n spacingOuter: PropTypes.number,\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n contentInset: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n }),\n gridMin: PropTypes.number,\n gridMax: PropTypes.number,\n valueAccessor: PropTypes.func,\n borderRadius: PropTypes.number,\n innerBarSpace: PropTypes.number,\n}\n\nStackedBarGrouped.defaultProps = {\n spacingInner: 0.05,\n spacingOuter: 0.05,\n offset: shape.stackOffsetNone,\n order: shape.stackOrderNone,\n width: 100,\n height: 100,\n showZeroAxis: true,\n contentInset: {},\n numberOfTicks: 10,\n showGrid: true,\n valueAccessor: ({ item, key }) => item[key],\n borderRadius: 0,\n innerBarSpace: 0,\n}\n\nexport default StackedBarGrouped\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;function emptyFunction(){}var BackHandler={exitApp:emptyFunction,addEventListener:function addEventListener(){return{remove:emptyFunction};},removeEventListener:emptyFunction};var _default=BackHandler;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/BackHandler/index.js"],"names":["emptyFunction","BackHandler","exitApp","addEventListener","remove","removeEventListener"],"mappings":"gFASA,QAASA,CAAAA,aAAT,EAAyB,CAAE,CAE3B,GAAIC,CAAAA,WAAW,CAAG,CAChBC,OAAO,CAAEF,aADO,CAEhBG,gBAAgB,CAAE,QAASA,CAAAA,gBAAT,EAA4B,CAC5C,MAAO,CACLC,MAAM,CAAEJ,aADH,CAAP,CAGD,CANe,CAOhBK,mBAAmB,CAAEL,aAPL,CAAlB,C,aASeC,W","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nfunction emptyFunction() {}\n\nvar BackHandler = {\n exitApp: emptyFunction,\n addEventListener: function addEventListener() {\n return {\n remove: emptyFunction\n };\n },\n removeEventListener: emptyFunction\n};\nexport default BackHandler;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=_default;Object.defineProperty(exports,\"DEFAULT_ICON_COLOR\",{enumerable:true,get:function get(){return _createIconSet.DEFAULT_ICON_COLOR;}});Object.defineProperty(exports,\"DEFAULT_ICON_SIZE\",{enumerable:true,get:function get(){return _createIconSet.DEFAULT_ICON_SIZE;}});var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _react=_interopRequireDefault(require(\"react\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var Font=_interopRequireWildcard(require(\"expo-font\"));var _createIconSet=_interopRequireWildcard(require(\"./vendor/react-native-vector-icons/lib/create-icon-set\"));var _iconButton=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/lib/icon-button\"));function _default(glyphMap,fontName,expoAssetId,fontStyle){var _a;var font=(0,_defineProperty2.default)({},fontName,expoAssetId);var RNVIconComponent=(0,_createIconSet.default)(glyphMap,fontName,null,fontStyle);return _a=function(_React$Component){(0,_inherits2.default)(Icon,_React$Component);function Icon(){var _this;(0,_classCallCheck2.default)(this,Icon);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Icon).apply(this,arguments));_this._mounted=false;_this.state={fontIsLoaded:Font.isLoaded(fontName)};return _this;}(0,_createClass2.default)(Icon,[{key:\"componentDidMount\",value:function componentDidMount(){return _regenerator.default.async(function componentDidMount$(_context){while(1){switch(_context.prev=_context.next){case 0:this._mounted=true;if(this.state.fontIsLoaded){_context.next=5;break;}_context.next=4;return _regenerator.default.awrap(Font.loadAsync(font));case 4:this._mounted&&this.setState({fontIsLoaded:true});case 5:case\"end\":return _context.stop();}}},null,this);}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this._mounted=false;}},{key:\"setNativeProps\",value:function setNativeProps(props){if(this._icon){this._icon.setNativeProps(props);}}},{key:\"render\",value:function render(){var _this2=this;if(!this.state.fontIsLoaded){return _react.default.createElement(_Text.default,null);}return _react.default.createElement(RNVIconComponent,(0,_extends2.default)({ref:function ref(view){_this2._icon=view;}},this.props));}}]);return Icon;}(_react.default.Component),_a.propTypes=RNVIconComponent.propTypes,_a.defaultProps=RNVIconComponent.defaultProps,_a.Button=(0,_iconButton.default)(_a),_a.glyphMap=glyphMap,_a.getRawGlyphMap=function(){return glyphMap;},_a.getFontFamily=function(){return fontName;},_a.loadFont=function(){return Font.loadAsync(font);},_a.font=font,_a;}","map":{"version":3,"sources":["../src/createIconSet.tsx"],"names":[],"mappings":"utCAAA,oD,gFAEA,uDACA,8GACA,sGAOc,kBAAU,QAAV,CAAoB,QAApB,CAA8B,WAA9B,CAA2C,SAA3C,CAA0D,C,OACtE,GAAM,CAAA,IAAI,iCAAM,QAAN,CAAiB,WAAjB,CAAV,CACA,GAAM,CAAA,gBAAgB,CAAG,2BAAc,QAAd,CAAwB,QAAxB,CAAkC,IAAlC,CAAwC,SAAxC,CAAzB,CAEA,MAA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,CAAO,IARhB,CAiDE,EAjDF,CAkDD","sourcesContent":["import React from \"react\";\nimport { Text } from \"react-native\";\nimport * as Font from \"expo-font\";\nimport createIconSet from \"./vendor/react-native-vector-icons/lib/create-icon-set\";\nimport createIconButtonComponent from \"./vendor/react-native-vector-icons/lib/icon-button\";\n\nexport {\n DEFAULT_ICON_COLOR,\n DEFAULT_ICON_SIZE\n} from \"./vendor/react-native-vector-icons/lib/create-icon-set\";\n\nexport default function(glyphMap, fontName, expoAssetId, fontStyle?: any) {\n const font = { [fontName]: expoAssetId };\n const RNVIconComponent = createIconSet(glyphMap, fontName, null, fontStyle);\n\n return class Icon extends React.Component {\n static propTypes = RNVIconComponent.propTypes;\n static defaultProps = RNVIconComponent.defaultProps;\n static Button = createIconButtonComponent(Icon);\n static glyphMap = glyphMap;\n static getRawGlyphMap = () => glyphMap;\n static getFontFamily = () => fontName;\n static loadFont = () => Font.loadAsync(font);\n static font = font;\n\n _mounted = false;\n _icon?: any;\n\n state = {\n fontIsLoaded: Font.isLoaded(fontName)\n };\n\n async componentDidMount() {\n this._mounted = true;\n if (!this.state.fontIsLoaded) {\n await Font.loadAsync(font);\n this._mounted && this.setState({ fontIsLoaded: true });\n }\n }\n\n componentWillUnmount() {\n this._mounted = false;\n }\n\n setNativeProps(props) {\n if (this._icon) {\n this._icon.setNativeProps(props);\n }\n }\n\n render() {\n if (!this.state.fontIsLoaded) {\n return <Text />;\n }\n\n return (\n <RNVIconComponent\n ref={view => {\n this._icon = view;\n }}\n {...this.props}\n />\n );\n }\n };\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _base=require(\"../base\");function useCode(exec,deps){if(typeof _react.default.useEffect==='function'){_react.default.useEffect(function(){if(typeof exec!=='function'){console.warn('useCode() first argument should be a function that returns an animation node.');}var animatedAlways=(0,_base.always)(typeof exec==='function'?exec():exec);animatedAlways.__attach();return function(){animatedAlways.__detach();};},deps);}}var _default=useCode;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/useCode.js"],"names":["useCode","exec","deps","React","useEffect","console","warn","animatedAlways","__attach","__detach"],"mappings":"mKAAA,oDACA,6BAEA,QAASA,CAAAA,OAAT,CAAiBC,IAAjB,CAAuBC,IAAvB,CAA6B,CAC3B,GAAI,MAAOC,gBAAMC,SAAb,GAA2B,UAA/B,CAA2C,CACzCD,eAAMC,SAAN,CAAgB,UAAM,CACpB,GAAI,MAAOH,CAAAA,IAAP,GAAgB,UAApB,CAAgC,CAC9BI,OAAO,CAACC,IAAR,CACE,+EADF,EAGD,CACD,GAAMC,CAAAA,cAAc,CAAG,iBAAO,MAAON,CAAAA,IAAP,GAAgB,UAAhB,CAA6BA,IAAI,EAAjC,CAAsCA,IAA7C,CAAvB,CACAM,cAAc,CAACC,QAAf,GACA,MAAO,WAAM,CACXD,cAAc,CAACE,QAAf,GACD,CAFD,CAGD,CAXD,CAWGP,IAXH,EAYD,CACF,C,aACcF,O","sourcesContent":["import React from 'react';\nimport { always } from '../base';\n\nfunction useCode(exec, deps) {\n if (typeof React.useEffect === 'function') {\n React.useEffect(() => {\n if (typeof exec !== 'function') {\n console.warn(\n 'useCode() first argument should be a function that returns an animation node.'\n );\n }\n const animatedAlways = always(typeof exec === 'function' ? exec() : exec);\n animatedAlways.__attach();\n return () => {\n animatedAlways.__detach();\n };\n }, deps);\n }\n}\nexport default useCode;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var ImageResizeMode={center:'center',contain:'contain',cover:'cover',none:'none',repeat:'repeat',stretch:'stretch'};var _default=ImageResizeMode;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Image/ImageResizeMode.js"],"names":["ImageResizeMode","center","contain","cover","none","repeat","stretch"],"mappings":"gFAAA,GAAIA,CAAAA,eAAe,CAAG,CACpBC,MAAM,CAAE,QADY,CAEpBC,OAAO,CAAE,SAFW,CAGpBC,KAAK,CAAE,OAHa,CAIpBC,IAAI,CAAE,MAJc,CAKpBC,MAAM,CAAE,QALY,CAMpBC,OAAO,CAAE,SANW,CAAtB,C,aAQeN,e","sourcesContent":["var ImageResizeMode = {\n center: 'center',\n contain: 'contain',\n cover: 'cover',\n none: 'none',\n repeat: 'repeat',\n stretch: 'stretch'\n};\nexport default ImageResizeMode;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=getChildRouter;function getChildRouter(router,routeName){if(router.childRouters&&router.childRouters[routeName]){return router.childRouters[routeName];}var Component=router.getComponentForRouteName(routeName);return Component.router;}","map":{"version":3,"sources":["getChildRouter.ts"],"names":["router","Component"],"mappings":"wFAAe,QAAA,CAAA,cAAA,CAAA,MAAA,CAAA,SAAA,CAAwD,CACrE,GAAIA,MAAM,CAANA,YAAAA,EAAuBA,MAAM,CAANA,YAAAA,CAA3B,SAA2BA,CAA3B,CAA2D,CACzD,MAAOA,CAAAA,MAAM,CAANA,YAAAA,CAAP,SAAOA,CAAP,CAGF,IAAMC,CAAAA,SAAS,CAAGD,MAAM,CAANA,wBAAAA,CAAlB,SAAkBA,CAAlB,CAEA,MAAOC,CAAAA,SAAS,CAAhB,MAAA,CACD","sourcesContent":["export default function getChildRouter(router: any, routeName: string) {\n if (router.childRouters && router.childRouters[routeName]) {\n return router.childRouters[routeName];\n }\n\n const Component = router.getComponentForRouteName(routeName);\n\n return Component.router;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _color=_interopRequireDefault(require(\"color\"));var React=_interopRequireWildcard(require(\"react\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _Text=_interopRequireDefault(require(\"./Text\"));var _theming=require(\"../../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Typography/StyledText.tsx\";var StyledText=function(_React$Component){(0,_inherits2.default)(StyledText,_React$Component);function StyledText(){(0,_classCallCheck2.default)(this,StyledText);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(StyledText).apply(this,arguments));}(0,_createClass2.default)(StyledText,[{key:\"render\",value:function render(){var _this$props=this.props,theme=_this$props.theme,alpha=_this$props.alpha,family=_this$props.family,style=_this$props.style,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"theme\",\"alpha\",\"family\",\"style\"]);var textColor=(0,_color.default)(theme.colors.text).alpha(alpha).rgb().string();var font=theme.fonts[family];var writingDirection=_I18nManager.default.isRTL?'rtl':'ltr';return React.createElement(_Text.default,(0,_extends2.default)({},rest,{style:[(0,_objectSpread2.default)({color:textColor},font,{textAlign:'left',writingDirection:writingDirection}),style,this.props.style],__source:{fileName:_jsxFileName,lineNumber:27}}));}}]);return StyledText;}(React.Component);var _default=(0,_theming.withTheme)(StyledText);exports.default=_default;","map":{"version":3,"sources":["StyledText.tsx"],"names":["StyledText","React","Component","theme","alpha","family","style","rest","textColor","color","font","writingDirection","I18nManager","textAlign","withTheme"],"mappings":"4+BAAA,oDACA,oD,8FAGA,oDACA,2C,gHAUMA,GAAAA,CAAAA,U,mVACK,CAAA,GAAA,CAAA,WAAA,CAC0C,KAD1C,KAAA,CACCG,KADD,CAAA,WAAA,CAAA,KAAA,CACQC,KADR,CAAA,WAAA,CAAA,KAAA,CACeC,MADf,CAAA,WAAA,CAAA,MAAA,CACuBC,KADvB,CAAA,WAAA,CAAA,KAAA,CACiCC,IADjC,CAAA,sCAAA,WAAA,CAAA,CAAA,OAAA,CAAA,OAAA,CAAA,QAAA,CAAA,OAAA,CAAA,CAAA,CAEP,GAAMC,CAAAA,SAAS,CAAGC,mBAAMN,KAAK,CAALA,MAAAA,CAANM,IAAAA,EAAAA,KAAAA,CAAAA,KAAAA,EAAAA,GAAAA,GAAlB,MAAkBA,EAAlB,CAIA,GAAMC,CAAAA,IAAI,CAAGP,KAAK,CAALA,KAAAA,CAAb,MAAaA,CAAb,CACA,GAAMQ,CAAAA,gBAAgB,CAAGC,qBAAAA,KAAAA,CAAAA,KAAAA,CAAzB,KAAA,CAEA,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAEE,KAAK,CAAE,CAAA,2BAAA,CACHH,KAAK,CADF,SAAA,CAAA,CAAA,IAAA,CAAA,CACwBI,SAAS,CADjC,MAAA,CAC2CF,gBAAgB,CAD3D,gBAAA,CAAA,CAAA,CAAA,KAAA,CAGL,KAAA,KAAA,CALJ,KAES,CAFT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,C,yBAVqBV,KAAK,CAACC,S,CAAzBF,C,aAuBSc,uBAAf,UAAeA,C","sourcesContent":["import color from 'color';\nimport * as React from 'react';\nimport { I18nManager, StyleProp, TextStyle } from 'react-native';\n\nimport Text from './Text';\nimport { withTheme } from '../../core/theming';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof Text> & {\n alpha: number;\n family: 'regular' | 'medium' | 'light' | 'thin';\n style?: StyleProp<TextStyle>;\n theme: Theme;\n};\n\nclass StyledText extends React.Component<Props> {\n render() {\n const { theme, alpha, family, style, ...rest } = this.props;\n const textColor = color(theme.colors.text)\n .alpha(alpha)\n .rgb()\n .string();\n const font = theme.fonts[family];\n const writingDirection = I18nManager.isRTL ? 'rtl' : 'ltr';\n\n return (\n <Text\n {...rest}\n style={[\n { color: textColor, ...font, textAlign: 'left', writingDirection },\n style,\n this.props.style,\n ]}\n />\n );\n }\n}\n\nexport default withTheme(StyledText);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeReanimated=_interopRequireDefault(require(\"react-native-reanimated\"));var _TabBar=_interopRequireDefault(require(\"./TabBar\"));var _Pager=_interopRequireDefault(require(\"./Pager\"));var _SceneView=_interopRequireDefault(require(\"./SceneView\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/TabView.tsx\";var TabView=function(_React$Component){(0,_inherits2.default)(TabView,_React$Component);function TabView(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabView);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabView)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={layout:(0,_objectSpread2.default)({width:0,height:0},_this.props.initialLayout)};_this.jumpToIndex=function(index){if(index!==_this.props.navigationState.index){_this.props.onIndexChange(index);}};_this.handleLayout=function(e){var _e$nativeEvent$layout=e.nativeEvent.layout,height=_e$nativeEvent$layout.height,width=_e$nativeEvent$layout.width;if(_this.state.layout.width===width&&_this.state.layout.height===height){return;}_this.setState({layout:{height:height,width:width}});};return _this;}(0,_createClass2.default)(TabView,[{key:\"render\",value:function render(){var _this$props=this.props,positionListener=_this$props.position,onSwipeStart=_this$props.onSwipeStart,onSwipeEnd=_this$props.onSwipeEnd,navigationState=_this$props.navigationState,lazy=_this$props.lazy,lazyPreloadDistance=_this$props.lazyPreloadDistance,removeClippedSubviews=_this$props.removeClippedSubviews,keyboardDismissMode=_this$props.keyboardDismissMode,swipeEnabled=_this$props.swipeEnabled,swipeVelocityImpact=_this$props.swipeVelocityImpact,timingConfig=_this$props.timingConfig,springConfig=_this$props.springConfig,tabBarPosition=_this$props.tabBarPosition,renderTabBar=_this$props.renderTabBar,renderScene=_this$props.renderScene,renderLazyPlaceholder=_this$props.renderLazyPlaceholder,sceneContainerStyle=_this$props.sceneContainerStyle,style=_this$props.style,gestureHandlerProps=_this$props.gestureHandlerProps,springVelocityScale=_this$props.springVelocityScale;var layout=this.state.layout;return React.createElement(_View.default,{onLayout:this.handleLayout,style:[styles.pager,style],__source:{fileName:_jsxFileName,lineNumber:125}},React.createElement(_Pager.default,{navigationState:navigationState,layout:layout,keyboardDismissMode:keyboardDismissMode,swipeEnabled:swipeEnabled,swipeVelocityImpact:swipeVelocityImpact,timingConfig:timingConfig,springConfig:springConfig,onSwipeStart:onSwipeStart,onSwipeEnd:onSwipeEnd,onIndexChange:this.jumpToIndex,springVelocityScale:springVelocityScale,removeClippedSubviews:removeClippedSubviews,gestureHandlerProps:gestureHandlerProps,__source:{fileName:_jsxFileName,lineNumber:126}},function(_ref){var position=_ref.position,render=_ref.render,addListener=_ref.addListener,removeListener=_ref.removeListener,jumpTo=_ref.jumpTo;var sceneRendererProps={position:position,layout:layout,jumpTo:jumpTo};return React.createElement(React.Fragment,{__source:{fileName:_jsxFileName,lineNumber:151}},positionListener?React.createElement(_reactNativeReanimated.default.Code,{exec:_reactNativeReanimated.default.set(positionListener,position),__source:{fileName:_jsxFileName,lineNumber:153}}):null,tabBarPosition==='top'&&renderTabBar((0,_objectSpread2.default)({},sceneRendererProps,{navigationState:navigationState})),render(navigationState.routes.map(function(route,i){return React.createElement(_SceneView.default,(0,_extends2.default)({},sceneRendererProps,{addListener:addListener,removeListener:removeListener,key:route.key,index:i,lazy:lazy,lazyPreloadDistance:lazyPreloadDistance,navigationState:navigationState,style:sceneContainerStyle,__source:{fileName:_jsxFileName,lineNumber:165}}),function(_ref2){var loading=_ref2.loading;return loading?renderLazyPlaceholder({route:route}):renderScene((0,_objectSpread2.default)({},sceneRendererProps,{route:route}));});})),tabBarPosition==='bottom'&&renderTabBar((0,_objectSpread2.default)({},sceneRendererProps,{navigationState:navigationState})));}));}}]);return TabView;}(React.Component);exports.default=TabView;TabView.defaultProps={tabBarPosition:'top',renderTabBar:function renderTabBar(props){return React.createElement(_TabBar.default,(0,_extends2.default)({},props,{__source:{fileName:_jsxFileName,lineNumber:58}}));},renderLazyPlaceholder:function renderLazyPlaceholder(){return null;},keyboardDismissMode:'auto',swipeEnabled:true,lazy:false,lazyPreloadDistance:0,removeClippedSubviews:false,springConfig:{},timingConfig:{},gestureHandlerProps:{}};var styles=_StyleSheet.default.create({pager:{flex:1,overflow:'hidden'}});","map":{"version":3,"sources":["TabView.tsx"],"names":["TabView","React","Component","defaultProps","tabBarPosition","renderTabBar","renderLazyPlaceholder","keyboardDismissMode","swipeEnabled","lazy","lazyPreloadDistance","removeClippedSubviews","springConfig","timingConfig","gestureHandlerProps","state","layout","width","height","jumpToIndex","index","handleLayout","e","positionListener","onSwipeStart","onSwipeEnd","navigationState","swipeVelocityImpact","renderScene","sceneContainerStyle","style","springVelocityScale","styles","position","render","addListener","removeListener","jumpTo","sceneRendererProps","Animated","route","loading","StyleSheet","pager","flex","overflow"],"mappings":"43BAAA,oD,4KASA,sFACA,wDACA,sDACA,8D,yFAsCqBA,GAAAA,CAAAA,O,sbAoBnBe,K,CAAQ,CACNC,MAAM,CAAA,2BAAA,CAAIC,KAAK,CAAT,CAAA,CAAcC,MAAM,CAApB,CAAA,CAAA,CAA4B,KAAA,CAAA,KAAA,CAD5B,aACA,CADA,C,OAIAC,W,CAAc,SAAA,KAAA,CAAmB,CACvC,GAAIC,KAAK,GAAK,KAAA,CAAA,KAAA,CAAA,eAAA,CAAd,KAAA,CAAgD,CAC9C,KAAA,CAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAEH,C,QAEOC,Y,CAAe,SAAA,CAAA,CAA0B,CAAA,GAAA,CAAA,qBAAA,CACrBC,CAAC,CAADA,WAAAA,CADqB,MAAA,CACvCJ,MADuC,CAAA,qBAAA,CAAA,MAAA,CAC/BD,KAD+B,CAAA,qBAAA,CAAA,KAAA,CAG/C,GACE,KAAA,CAAA,KAAA,CAAA,MAAA,CAAA,KAAA,GAAA,KAAA,EACA,KAAA,CAAA,KAAA,CAAA,MAAA,CAAA,MAAA,GAFF,MAAA,CAGE,CACA,OAGF,CAAA,KAAA,CAAA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CAAA,KAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADY,EACZ,CAAA,CAAA,CAAA,CADY,CAFM,CAAA,CAKpBC,qBAAqB,CAAE,QAAA,CAAA,qBAAA,EAAA,CAAA,MAAA,KAAA,CALH,CAAA,CAMpBC,mBAAmB,CANC,MAAA,CAOpBC,YAAY,CAPQ,IAAA,CAQpBC,IAAI,CARgB,KAAA,CASpBC,mBAAmB,CATC,CAAA,CAUpBC,qBAAqB,CAVD,KAAA,CAWpBC,YAAY,CAXQ,EAAA,CAYpBC,YAAY,CAZQ,EAAA,CAapBC,mBAAmB,CAjBFd,EAIG,CAJHA,CAuJrB,GAAMgC,CAAAA,MAAM,CAAGU,oBAAAA,MAAAA,CAAkB,CAC/BC,KAAK,CAAE,CACLC,IAAI,CADC,CAAA,CAELC,QAAQ,CAHZ,QACS,CADwB,CAAlBH,CAAf","sourcesContent":["import * as React from 'react';\nimport {\n StyleSheet,\n View,\n StyleProp,\n ViewStyle,\n LayoutChangeEvent,\n} from 'react-native';\nimport { PanGestureHandler } from 'react-native-gesture-handler';\nimport Animated from 'react-native-reanimated';\nimport TabBar, { Props as TabBarProps } from './TabBar';\nimport Pager from './Pager';\nimport SceneView from './SceneView';\nimport {\n Layout,\n NavigationState,\n Route,\n SceneRendererProps,\n PagerCommonProps,\n} from './types';\n\ntype Props<T extends Route> = PagerCommonProps & {\n position?: Animated.Value<number>;\n onIndexChange: (index: number) => void;\n navigationState: NavigationState<T>;\n renderScene: (\n props: SceneRendererProps & {\n route: T;\n }\n ) => React.ReactNode;\n renderLazyPlaceholder: (props: { route: T }) => React.ReactNode;\n renderTabBar: (\n props: SceneRendererProps & {\n navigationState: NavigationState<T>;\n }\n ) => React.ReactNode;\n tabBarPosition: 'top' | 'bottom';\n initialLayout?: { width?: number; height?: number };\n lazy: boolean;\n lazyPreloadDistance: number;\n removeClippedSubviews?: boolean;\n sceneContainerStyle?: StyleProp<ViewStyle>;\n style?: StyleProp<ViewStyle>;\n gestureHandlerProps: React.ComponentProps<typeof PanGestureHandler>;\n};\n\ntype State = {\n layout: Layout;\n};\n\nexport default class TabView<T extends Route> extends React.Component<\n Props<T>,\n State\n> {\n static defaultProps = {\n tabBarPosition: 'top',\n renderTabBar: <P extends Route>(props: TabBarProps<P>) => (\n <TabBar {...props} />\n ),\n renderLazyPlaceholder: () => null,\n keyboardDismissMode: 'auto',\n swipeEnabled: true,\n lazy: false,\n lazyPreloadDistance: 0,\n removeClippedSubviews: false,\n springConfig: {},\n timingConfig: {},\n gestureHandlerProps: {},\n };\n\n state = {\n layout: { width: 0, height: 0, ...this.props.initialLayout },\n };\n\n private jumpToIndex = (index: number) => {\n if (index !== this.props.navigationState.index) {\n this.props.onIndexChange(index);\n }\n };\n\n private handleLayout = (e: LayoutChangeEvent) => {\n const { height, width } = e.nativeEvent.layout;\n\n if (\n this.state.layout.width === width &&\n this.state.layout.height === height\n ) {\n return;\n }\n\n this.setState({\n layout: {\n height,\n width,\n },\n });\n };\n\n render() {\n const {\n position: positionListener,\n onSwipeStart,\n onSwipeEnd,\n navigationState,\n lazy,\n lazyPreloadDistance,\n removeClippedSubviews,\n keyboardDismissMode,\n swipeEnabled,\n swipeVelocityImpact,\n timingConfig,\n springConfig,\n tabBarPosition,\n renderTabBar,\n renderScene,\n renderLazyPlaceholder,\n sceneContainerStyle,\n style,\n gestureHandlerProps,\n springVelocityScale,\n } = this.props;\n const { layout } = this.state;\n\n return (\n <View onLayout={this.handleLayout} style={[styles.pager, style]}>\n <Pager\n navigationState={navigationState}\n layout={layout}\n keyboardDismissMode={keyboardDismissMode}\n swipeEnabled={swipeEnabled}\n swipeVelocityImpact={swipeVelocityImpact}\n timingConfig={timingConfig}\n springConfig={springConfig}\n onSwipeStart={onSwipeStart}\n onSwipeEnd={onSwipeEnd}\n onIndexChange={this.jumpToIndex}\n springVelocityScale={springVelocityScale}\n removeClippedSubviews={removeClippedSubviews}\n gestureHandlerProps={gestureHandlerProps}\n >\n {({ position, render, addListener, removeListener, jumpTo }) => {\n // All of the props here must not change between re-renders\n // This is crucial to optimizing the routes with PureComponent\n const sceneRendererProps = {\n position,\n layout,\n jumpTo,\n };\n\n return (\n <React.Fragment>\n {positionListener ? (\n <Animated.Code\n exec={Animated.set(positionListener, position)}\n />\n ) : null}\n {tabBarPosition === 'top' &&\n renderTabBar({\n ...sceneRendererProps,\n navigationState,\n })}\n {render(\n navigationState.routes.map((route, i) => {\n return (\n <SceneView\n {...sceneRendererProps}\n addListener={addListener}\n removeListener={removeListener}\n key={route.key}\n index={i}\n lazy={lazy}\n lazyPreloadDistance={lazyPreloadDistance}\n navigationState={navigationState}\n style={sceneContainerStyle}\n >\n {({ loading }) =>\n loading\n ? renderLazyPlaceholder({ route })\n : renderScene({\n ...sceneRendererProps,\n route,\n })\n }\n </SceneView>\n );\n })\n )}\n {tabBarPosition === 'bottom' &&\n renderTabBar({\n ...sceneRendererProps,\n navigationState,\n })}\n </React.Fragment>\n );\n }}\n </Pager>\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n pager: {\n flex: 1,\n overflow: 'hidden',\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default={get name(){return'ExponentErrorRecovery';},setRecoveryProps:function setRecoveryProps(){}};exports.default=_default;","map":{"version":3,"sources":["../../src/ErrorRecovery/ExponentErrorRecovery.web.ts"],"names":[],"mappings":"6FAAe,CACb,GAAI,CAAA,IAAJ,EAAQ,CACN,MAAO,uBAAP,CACD,CAHY,CAIb,gBAJa,4BAIG,CAAW,CAJd,C","sourcesContent":["export default {\n get name(): string {\n return 'ExponentErrorRecovery';\n },\n setRecoveryProps(): void {},\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _StyledText=_interopRequireDefault(require(\"./StyledText\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Typography/Paragraph.tsx\";var Paragraph=function Paragraph(props){return React.createElement(_StyledText.default,(0,_extends2.default)({},props,{alpha:0.87,family:\"regular\",style:[styles.text,props.style],__source:{fileName:_jsxFileName,lineNumber:31}}));};var _default=Paragraph;exports.default=_default;var styles=_StyleSheet.default.create({text:{fontSize:14,lineHeight:20,marginVertical:2,letterSpacing:0.25}});","map":{"version":3,"sources":["Paragraph.tsx"],"names":["Paragraph","styles","props","StyleSheet","text","fontSize","lineHeight","marginVertical","letterSpacing"],"mappings":"wUAAA,oD,4FAEA,gE,+GA2BA,GAAMA,CAAAA,SAAS,CAATA,QAAAA,CAAAA,SAAAA,CAAY,KAAZA,CAAY,CAAA,MAChB,CAAA,KAAA,CAAA,aAAA,CAAA,mBAAA,CAAA,sBAAA,EAAA,CAAA,KAAA,CAAA,CAEE,KAAK,CAFP,IAAA,CAGE,MAAM,CAHR,SAAA,CAIE,KAAK,CAAE,CAACC,MAAM,CAAP,IAAA,CAAcC,KAAK,CAJ5B,KAIS,CAJT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADgB,EAChB,CAAA,CAAA,CAAA,CADgB,CAAlB,CAAA,C,aASA,S,0BAEA,GAAMD,CAAAA,MAAM,CAAGE,oBAAAA,MAAAA,CAAkB,CAC/BC,IAAI,CAAE,CACJC,QAAQ,CADJ,EAAA,CAEJC,UAAU,CAFN,EAAA,CAGJC,cAAc,CAHV,CAAA,CAIJC,aAAa,CALjB,IACQ,CADyB,CAAlBL,CAAf","sourcesContent":["import * as React from 'react';\nimport { TextProps, StyleSheet } from 'react-native';\nimport StyledText from './StyledText';\n\ntype Props = TextProps & {\n children: React.ReactNode;\n};\n\n// @component-group Typography\n\n/**\n * Typography component for showing a paragraph.\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/paragraph.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Paragraph } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Paragraph>Paragraph</Paragraph>\n * );\n *\n * export default MyComponent;\n * ```\n */\nconst Paragraph = (props: Props) => (\n <StyledText\n {...props}\n alpha={0.87}\n family=\"regular\"\n style={[styles.text, props.style]}\n />\n);\n\nexport default Paragraph;\n\nconst styles = StyleSheet.create({\n text: {\n fontSize: 14,\n lineHeight: 20,\n marginVertical: 2,\n letterSpacing: 0.25,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.cancelIdleCallback=exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _requestIdleCallback=function _requestIdleCallback(cb,options){return setTimeout(function(){var start=Date.now();cb({didTimeout:false,timeRemaining:function timeRemaining(){return Math.max(0,50-(Date.now()-start));}});},1);};var _cancelIdleCallback=function _cancelIdleCallback(id){clearTimeout(id);};var isSupported=_ExecutionEnvironment.canUseDOM&&typeof window.requestIdleCallback!=='undefined';var requestIdleCallback=isSupported?window.requestIdleCallback:_requestIdleCallback;var cancelIdleCallback=isSupported?window.cancelIdleCallback:_cancelIdleCallback;exports.cancelIdleCallback=cancelIdleCallback;var _default=requestIdleCallback;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/requestIdleCallback/index.js"],"names":["_requestIdleCallback","cb","options","setTimeout","start","Date","now","didTimeout","timeRemaining","Math","max","_cancelIdleCallback","id","clearTimeout","isSupported","canUseDOM","window","requestIdleCallback","cancelIdleCallback"],"mappings":"2GAQA,mEAEA,GAAIA,CAAAA,oBAAoB,CAAG,QAASA,CAAAA,oBAAT,CAA8BC,EAA9B,CAAkCC,OAAlC,CAA2C,CACpE,MAAOC,CAAAA,UAAU,CAAC,UAAY,CAC5B,GAAIC,CAAAA,KAAK,CAAGC,IAAI,CAACC,GAAL,EAAZ,CACAL,EAAE,CAAC,CACDM,UAAU,CAAE,KADX,CAEDC,aAAa,CAAE,QAASA,CAAAA,aAAT,EAAyB,CACtC,MAAOC,CAAAA,IAAI,CAACC,GAAL,CAAS,CAAT,CAAY,IAAML,IAAI,CAACC,GAAL,GAAaF,KAAnB,CAAZ,CAAP,CACD,CAJA,CAAD,CAAF,CAMD,CARgB,CAQd,CARc,CAAjB,CASD,CAVD,CAaA,GAAIO,CAAAA,mBAAmB,CAAG,QAASA,CAAAA,mBAAT,CAA6BC,EAA7B,CAAiC,CACzDC,YAAY,CAACD,EAAD,CAAZ,CACD,CAFD,CAIA,GAAIE,CAAAA,WAAW,CAAGC,iCAAa,MAAOC,CAAAA,MAAM,CAACC,mBAAd,GAAsC,WAArE,CACA,GAAIA,CAAAA,mBAAmB,CAAGH,WAAW,CAAGE,MAAM,CAACC,mBAAV,CAAgCjB,oBAArE,CACA,GAAIkB,CAAAA,kBAAkB,CAAGJ,WAAW,CAAGE,MAAM,CAACE,kBAAV,CAA+BP,mBAAnE,C,2DACeM,mB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\n\nvar _requestIdleCallback = function _requestIdleCallback(cb, options) {\n return setTimeout(function () {\n var start = Date.now();\n cb({\n didTimeout: false,\n timeRemaining: function timeRemaining() {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n}; // $FlowFixMe (TimeoutID type is not recognized by eslint)\n\n\nvar _cancelIdleCallback = function _cancelIdleCallback(id) {\n clearTimeout(id);\n};\n\nvar isSupported = canUseDOM && typeof window.requestIdleCallback !== 'undefined';\nvar requestIdleCallback = isSupported ? window.requestIdleCallback : _requestIdleCallback;\nvar cancelIdleCallback = isSupported ? window.cancelIdleCallback : _cancelIdleCallback;\nexport default requestIdleCallback;\nexport { cancelIdleCallback };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _deepAssign=_interopRequireDefault(require(\"deep-assign\"));var mergeLocalStorageItem=function mergeLocalStorageItem(key,value){var oldValue=window.localStorage.getItem(key);var oldObject=JSON.parse(oldValue);var newObject=JSON.parse(value);var nextValue=JSON.stringify((0,_deepAssign.default)({},oldObject,newObject));window.localStorage.setItem(key,nextValue);};var createPromise=function createPromise(getValue,callback){return new Promise(function(resolve,reject){try{var value=getValue();if(callback){callback(null,value);}resolve(value);}catch(err){if(callback){callback(err);}reject(err);}});};var createPromiseAll=function createPromiseAll(promises,callback,processResult){return Promise.all(promises).then(function(result){var value=processResult?processResult(result):null;callback&&callback(null,value);return Promise.resolve(value);},function(errors){callback&&callback(errors);return Promise.reject(errors);});};var AsyncStorage=function(){function AsyncStorage(){}AsyncStorage.clear=function clear(callback){return createPromise(function(){window.localStorage.clear();},callback);};AsyncStorage.flushGetRequests=function flushGetRequests(){};AsyncStorage.getAllKeys=function getAllKeys(callback){return createPromise(function(){var numberOfKeys=window.localStorage.length;var keys=[];for(var i=0;i<numberOfKeys;i+=1){var key=window.localStorage.key(i);keys.push(key);}return keys;},callback);};AsyncStorage.getItem=function getItem(key,callback){return createPromise(function(){return window.localStorage.getItem(key);},callback);};AsyncStorage.multiGet=function multiGet(keys,callback){var promises=keys.map(function(key){return AsyncStorage.getItem(key);});var processResult=function processResult(result){return result.map(function(value,i){return[keys[i],value];});};return createPromiseAll(promises,callback,processResult);};AsyncStorage.setItem=function setItem(key,value,callback){return createPromise(function(){window.localStorage.setItem(key,value);},callback);};AsyncStorage.multiSet=function multiSet(keyValuePairs,callback){var promises=keyValuePairs.map(function(item){return AsyncStorage.setItem(item[0],item[1]);});return createPromiseAll(promises,callback);};AsyncStorage.mergeItem=function mergeItem(key,value,callback){return createPromise(function(){mergeLocalStorageItem(key,value);},callback);};AsyncStorage.multiMerge=function multiMerge(keyValuePairs,callback){var promises=keyValuePairs.map(function(item){return AsyncStorage.mergeItem(item[0],item[1]);});return createPromiseAll(promises,callback);};AsyncStorage.removeItem=function removeItem(key,callback){return createPromise(function(){return window.localStorage.removeItem(key);},callback);};AsyncStorage.multiRemove=function multiRemove(keys,callback){var promises=keys.map(function(key){return AsyncStorage.removeItem(key);});return createPromiseAll(promises,callback);};return AsyncStorage;}();exports.default=AsyncStorage;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/AsyncStorage/index.js"],"names":["mergeLocalStorageItem","key","value","oldValue","window","localStorage","getItem","oldObject","JSON","parse","newObject","nextValue","stringify","setItem","createPromise","getValue","callback","Promise","resolve","reject","err","createPromiseAll","promises","processResult","all","then","result","errors","AsyncStorage","clear","flushGetRequests","getAllKeys","numberOfKeys","length","keys","i","push","multiGet","map","multiSet","keyValuePairs","item","mergeItem","multiMerge","removeItem","multiRemove"],"mappings":"mKASA,+DAEA,GAAIA,CAAAA,qBAAqB,CAAG,QAASA,CAAAA,qBAAT,CAA+BC,GAA/B,CAAoCC,KAApC,CAA2C,CACrE,GAAIC,CAAAA,QAAQ,CAAGC,MAAM,CAACC,YAAP,CAAoBC,OAApB,CAA4BL,GAA5B,CAAf,CACA,GAAIM,CAAAA,SAAS,CAAGC,IAAI,CAACC,KAAL,CAAWN,QAAX,CAAhB,CACA,GAAIO,CAAAA,SAAS,CAAGF,IAAI,CAACC,KAAL,CAAWP,KAAX,CAAhB,CACA,GAAIS,CAAAA,SAAS,CAAGH,IAAI,CAACI,SAAL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AA/B,CAAyC,CAChE,MAAOF,CAAAA,aAAa,CAAC,UAAY,CAC/Bd,qBAAqB,CAACC,GAAD,CAAMC,KAAN,CAArB,CACD,CAFmB,CAEjBc,QAFiB,CAApB,CAGD,CAJD,CAaAY,YAAY,CAACe,UAAb,CAA0B,QAASA,CAAAA,UAAT,CAAoBH,aAApB,CAAmCxB,QAAnC,CAA6C,CACrE,GAAIM,CAAAA,QAAQ,CAAGkB,aAAa,CAACF,GAAd,CAAkB,SAAUG,IAAV,CAAgB,CAC/C,MAAOb,CAAAA,YAAY,CAACc,SAAb,CAAuBD,IAAI,CAAC,CAAD,CAA3B,CAAgCA,IAAI,CAAC,CAAD,CAApC,CAAP,CACD,CAFc,CAAf,CAGA,MAAOpB,CAAAA,gBAAgB,CAACC,QAAD,CAAWN,QAAX,CAAvB,CACD,CALD,CAWAY,YAAY,CAACgB,UAAb,CAA0B,QAASA,CAAAA,UAAT,CAAoB3C,GAApB,CAAyBe,QAAzB,CAAmC,CAC3D,MAAOF,CAAAA,aAAa,CAAC,UAAY,CAC/B,MAAOV,CAAAA,MAAM,CAACC,YAAP,CAAoBuC,UAApB,CAA+B3C,GAA/B,CAAP,CACD,CAFmB,CAEjBe,QAFiB,CAApB,CAGD,CAJD,CAUAY,YAAY,CAACiB,WAAb,CAA2B,QAASA,CAAAA,WAAT,CAAqBX,IAArB,CAA2BlB,QAA3B,CAAqC,CAC9D,GAAIM,CAAAA,QAAQ,CAAGY,IAAI,CAACI,GAAL,CAAS,SAAUrC,GAAV,CAAe,CACrC,MAAO2B,CAAAA,YAAY,CAACgB,UAAb,CAAwB3C,GAAxB,CAAP,CACD,CAFc,CAAf,CAGA,MAAOoB,CAAAA,gBAAgB,CAACC,QAAD,CAAWN,QAAX,CAAvB,CACD,CALD,CAOA,MAAOY,CAAAA,YAAP,CACD,CAvID,EAFA,C","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport merge from 'deep-assign';\n\nvar mergeLocalStorageItem = function mergeLocalStorageItem(key, value) {\n var oldValue = window.localStorage.getItem(key);\n var oldObject = JSON.parse(oldValue);\n var newObject = JSON.parse(value);\n var nextValue = JSON.stringify(merge({}, oldObject, newObject));\n window.localStorage.setItem(key, nextValue);\n};\n\nvar createPromise = function createPromise(getValue, callback) {\n return new Promise(function (resolve, reject) {\n try {\n var value = getValue();\n\n if (callback) {\n callback(null, value);\n }\n\n resolve(value);\n } catch (err) {\n if (callback) {\n callback(err);\n }\n\n reject(err);\n }\n });\n};\n\nvar createPromiseAll = function createPromiseAll(promises, callback, processResult) {\n return Promise.all(promises).then(function (result) {\n var value = processResult ? processResult(result) : null;\n callback && callback(null, value);\n return Promise.resolve(value);\n }, function (errors) {\n callback && callback(errors);\n return Promise.reject(errors);\n });\n};\n\nvar AsyncStorage =\n/*#__PURE__*/\nfunction () {\n function AsyncStorage() {}\n\n /**\n * Erases *all* AsyncStorage for the domain.\n */\n AsyncStorage.clear = function clear(callback) {\n return createPromise(function () {\n window.localStorage.clear();\n }, callback);\n }\n /**\n * (stub) Flushes any pending requests using a single batch call to get the data.\n */\n ;\n\n AsyncStorage.flushGetRequests = function flushGetRequests() {}\n /**\n * Gets *all* keys known to the app, for all callers, libraries, etc.\n */\n ;\n\n AsyncStorage.getAllKeys = function getAllKeys(callback) {\n return createPromise(function () {\n var numberOfKeys = window.localStorage.length;\n var keys = [];\n\n for (var i = 0; i < numberOfKeys; i += 1) {\n var key = window.localStorage.key(i);\n keys.push(key);\n }\n\n return keys;\n }, callback);\n }\n /**\n * Fetches `key` value.\n */\n ;\n\n AsyncStorage.getItem = function getItem(key, callback) {\n return createPromise(function () {\n return window.localStorage.getItem(key);\n }, callback);\n }\n /**\n * multiGet resolves to an array of key-value pair arrays that matches the\n * input format of multiSet.\n *\n * multiGet(['k1', 'k2']) -> [['k1', 'val1'], ['k2', 'val2']]\n */\n ;\n\n AsyncStorage.multiGet = function multiGet(keys, callback) {\n var promises = keys.map(function (key) {\n return AsyncStorage.getItem(key);\n });\n\n var processResult = function processResult(result) {\n return result.map(function (value, i) {\n return [keys[i], value];\n });\n };\n\n return createPromiseAll(promises, callback, processResult);\n }\n /**\n * Sets `value` for `key`.\n */\n ;\n\n AsyncStorage.setItem = function setItem(key, value, callback) {\n return createPromise(function () {\n window.localStorage.setItem(key, value);\n }, callback);\n }\n /**\n * Takes an array of key-value array pairs.\n * multiSet([['k1', 'val1'], ['k2', 'val2']])\n */\n ;\n\n AsyncStorage.multiSet = function multiSet(keyValuePairs, callback) {\n var promises = keyValuePairs.map(function (item) {\n return AsyncStorage.setItem(item[0], item[1]);\n });\n return createPromiseAll(promises, callback);\n }\n /**\n * Merges existing value with input value, assuming they are stringified JSON.\n */\n ;\n\n AsyncStorage.mergeItem = function mergeItem(key, value, callback) {\n return createPromise(function () {\n mergeLocalStorageItem(key, value);\n }, callback);\n }\n /**\n * Takes an array of key-value array pairs and merges them with existing\n * values, assuming they are stringified JSON.\n *\n * multiMerge([['k1', 'val1'], ['k2', 'val2']])\n */\n ;\n\n AsyncStorage.multiMerge = function multiMerge(keyValuePairs, callback) {\n var promises = keyValuePairs.map(function (item) {\n return AsyncStorage.mergeItem(item[0], item[1]);\n });\n return createPromiseAll(promises, callback);\n }\n /**\n * Removes a `key`\n */\n ;\n\n AsyncStorage.removeItem = function removeItem(key, callback) {\n return createPromise(function () {\n return window.localStorage.removeItem(key);\n }, callback);\n }\n /**\n * Delete all the keys in the `keys` array.\n */\n ;\n\n AsyncStorage.multiRemove = function multiRemove(keys, callback) {\n var promises = keys.map(function (key) {\n return AsyncStorage.removeItem(key);\n });\n return createPromiseAll(promises, callback);\n };\n\n return AsyncStorage;\n}();\n\nexport { AsyncStorage as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=overlay;var _color=_interopRequireDefault(require(\"color\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _DarkTheme=_interopRequireDefault(require(\"./DarkTheme\"));function overlay(){var elevation=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;var surfaceColor=arguments.length>1&&arguments[1]!==undefined?arguments[1]:_DarkTheme.default.colors.surface;if(elevation instanceof _Animated.default.Value){var inputRange=[0,1,2,3,8,24];return elevation.interpolate({inputRange:inputRange,outputRange:inputRange.map(function(elevation){return calculateColor(surfaceColor,elevation);})});}return calculateColor(surfaceColor,elevation);}function calculateColor(surfaceColor,elevation){var overlayTransparency;if(elevation>=1&&elevation<=24){overlayTransparency=elevationOverlayTransparency[elevation];}else if(elevation>24){overlayTransparency=elevationOverlayTransparency[24];}else{overlayTransparency=elevationOverlayTransparency[1];}return(0,_color.default)(surfaceColor).mix((0,_color.default)('white'),overlayTransparency*0.01).hex();}var elevationOverlayTransparency={1:5,2:7,3:8,4:9,5:10,6:11,7:11.5,8:12,9:12.5,10:13,11:13.5,12:14,13:14.25,14:14.5,15:14.75,16:15,17:15.12,18:15.24,19:15.36,20:15.48,21:15.6,22:15.72,23:15.84,24:16};","map":{"version":3,"sources":["overlay.tsx"],"names":["elevation","surfaceColor","DarkTheme","surface","Animated","inputRange","outputRange","calculateColor","overlayTransparency","elevationOverlayTransparency","color"],"mappings":"oKAAA,oD,wFAEA,8DAEe,QAAA,CAAA,OAAA,EAGb,CAFAA,GAAAA,CAAAA,SAEA,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CAFqC,CAArCA,CACAC,GAAAA,CAAAA,YACA,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CADuBC,mBAAAA,MA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CAY7D,GAZ6D,EAAA,CAa7D,GAb6D,KAAA,CAc7D,GAd6D,IAAA,CAe7D,GAf6D,KAAA,CAgB7D,GAhB6D,EAAA,CAiB7D,GAjB6D,KAAA,CAkB7D,GAlB6D,KAAA,CAmB7D,GAnB6D,KAAA,CAoB7D,GApB6D,KAAA,CAqB7D,GArB6D,IAAA,CAsB7D,GAtB6D,KAAA,CAuB7D,GAvB6D,KAAA,CAwB7D,GAxBF,EAA+D,CAA/D","sourcesContent":["import color from 'color';\nimport { Animated } from 'react-native';\nimport DarkTheme from './DarkTheme';\n\nexport default function overlay(\n elevation: number | Animated.Value = 1,\n surfaceColor: string = DarkTheme.colors.surface\n) {\n if (elevation instanceof Animated.Value) {\n const inputRange = [0, 1, 2, 3, 8, 24];\n return elevation.interpolate({\n inputRange,\n outputRange: inputRange.map(elevation => {\n return calculateColor(surfaceColor, elevation);\n }),\n });\n }\n return calculateColor(surfaceColor, elevation);\n}\nfunction calculateColor(surfaceColor: string, elevation: number) {\n let overlayTransparency: number;\n if (elevation >= 1 && elevation <= 24) {\n overlayTransparency = elevationOverlayTransparency[elevation];\n } else if (elevation > 24) {\n overlayTransparency = elevationOverlayTransparency[24];\n } else {\n overlayTransparency = elevationOverlayTransparency[1];\n }\n return color(surfaceColor)\n .mix(color('white'), overlayTransparency * 0.01)\n .hex();\n}\nconst elevationOverlayTransparency: { [id: number]: number } = {\n 1: 5,\n 2: 7,\n 3: 8,\n 4: 9,\n 5: 10,\n 6: 11,\n 7: 11.5,\n 8: 12,\n 9: 12.5,\n 10: 13,\n 11: 13.5,\n 12: 14,\n 13: 14.25,\n 14: 14.5,\n 15: 14.75,\n 16: 15,\n 17: 15.12,\n 18: 15.24,\n 19: 15.36,\n 20: 15.48,\n 21: 15.6,\n 22: 15.72,\n 23: 15.84,\n 24: 16,\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedSet=require(\"../core/AnimatedSet\");var _interpolate2=_interopRequireDefault(require(\"../derived/interpolate\"));var _InternalAnimatedValue=_interopRequireDefault(require(\"./InternalAnimatedValue\"));var _evaluateOnce=require(\"../derived/evaluateOnce\");var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var AnimatedValue=function(_InternalAnimatedValu){(0,_inherits2.default)(AnimatedValue,_InternalAnimatedValu);function AnimatedValue(){(0,_classCallCheck2.default)(this,AnimatedValue);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedValue).apply(this,arguments));}(0,_createClass2.default)(AnimatedValue,[{key:\"setValue\",value:function setValue(value){this.__detachAnimation(this._animation);if(_Platform.default.OS==='web'){this._updateValue(value);}else{(0,_evaluateOnce.evaluateOnce)((0,_AnimatedSet.createAnimatedSet)(this,value),this);}}},{key:\"interpolate\",value:function interpolate(config){return(0,_interpolate2.default)(this,config);}}]);return AnimatedValue;}(_InternalAnimatedValue.default);exports.default=AnimatedValue;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedValue.js"],"names":["AnimatedValue","value","__detachAnimation","_animation","Platform","OS","_updateValue","config","InternalAnimatedValue"],"mappings":"6nBAAA,gDACA,4EACA,sFACA,qD,2FAIqBA,CAAAA,a,+WACVC,K,CAAO,CACd,KAAKC,iBAAL,CAAuB,KAAKC,UAA5B,EACA,GAAIC,kBAASC,EAAT,GAAgB,KAApB,CAA2B,CACzB,KAAKC,YAAL,CAAkBL,KAAlB,EACD,CAFD,IAEO,CACL,+BAAa,mCAAI,IAAJ,CAAUA,KAAV,CAAb,CAA+B,IAA/B,EACD,CACF,C,gDAEWM,M,CAAQ,CAClB,MAAO,0BAAY,IAAZ,CAAkBA,MAAlB,CAAP,CACD,C,2BAZwCC,8B","sourcesContent":["import { createAnimatedSet as set } from '../core/AnimatedSet';\nimport interpolate from '../derived/interpolate';\nimport InternalAnimatedValue from './InternalAnimatedValue';\nimport { evaluateOnce } from '../derived/evaluateOnce';\nimport { Platform } from 'react-native';\n\n// Animated value wrapped with extra methods for omit cycle of dependencies\nexport default class AnimatedValue extends InternalAnimatedValue {\n setValue(value) {\n this.__detachAnimation(this._animation);\n if (Platform.OS === 'web') {\n this._updateValue(value);\n } else {\n evaluateOnce(set(this, value), this);\n }\n }\n\n interpolate(config) {\n return interpolate(this, config);\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedAlways=createAnimatedAlways;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var AnimatedAlways=function(_AnimatedNode){(0,_inherits2.default)(AnimatedAlways,_AnimatedNode);function AnimatedAlways(what){var _this;(0,_classCallCheck2.default)(this,AnimatedAlways);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedAlways).call(this,{type:'always',what:what.__nodeID},[what]));_this._what=what;return _this;}(0,_createClass2.default)(AnimatedAlways,[{key:\"update\",value:function update(){this.__getValue();}},{key:\"__onEvaluate\",value:function __onEvaluate(){(0,_val.val)(this._what);return 0;}}]);return AnimatedAlways;}(_AnimatedNode2.default);function createAnimatedAlways(item){return new AnimatedAlways(item);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedAlways.js"],"names":["AnimatedAlways","what","type","__nodeID","_what","__getValue","AnimatedNode","createAnimatedAlways","item"],"mappings":"wpBAAA,qEACA,2B,GAEMA,CAAAA,c,8EAGJ,wBAAYC,IAAZ,CAAkB,6DAChB,0GAAM,CAAEC,IAAI,CAAE,QAAR,CAAkBD,IAAI,CAAEA,IAAI,CAACE,QAA7B,CAAN,CAA+C,CAACF,IAAD,CAA/C,GACA,MAAKG,KAAL,CAAaH,IAAb,CAFgB,aAGjB,C,+EAEQ,CACP,KAAKI,UAAL,GACD,C,mDAEc,CACb,aAAI,KAAKD,KAAT,EACA,MAAO,EAAP,CACD,C,4BAf0BE,sB,EAkBtB,QAASC,CAAAA,oBAAT,CAA8BC,IAA9B,CAAoC,CACzC,MAAO,IAAIR,CAAAA,cAAJ,CAAmBQ,IAAnB,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedAlways extends AnimatedNode {\n _what;\n\n constructor(what) {\n super({ type: 'always', what: what.__nodeID }, [what]);\n this._what = what;\n }\n\n update() {\n this.__getValue();\n }\n\n __onEvaluate() {\n val(this._what);\n return 0;\n }\n}\n\nexport function createAnimatedAlways(item) {\n return new AnimatedAlways(item);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.Consumer=exports.Provider=void 0;var React=_interopRequireWildcard(require(\"react\"));var _MaterialCommunityIcon=_interopRequireDefault(require(\"../components/MaterialCommunityIcon\"));var _React$createContext=React.createContext({icon:_MaterialCommunityIcon.default}),Provider=_React$createContext.Provider,Consumer=_React$createContext.Consumer;exports.Consumer=Consumer;exports.Provider=Provider;","map":{"version":3,"sources":["settings.tsx"],"names":["Provider","Consumer","React","icon"],"mappings":"0QAAA,oDACA,kG,yBAQsCE,KAAK,CAALA,aAAAA,CAA8B,CAClEC,IAAI,CADgCD,8BAA8B,CAA9BA,C,CAAvBF,Q,sBAAAA,Q,CAAUC,Q,sBAAAA,Q","sourcesContent":["import * as React from 'react';\nimport MaterialCommunityIcon, {\n IconProps,\n} from '../components/MaterialCommunityIcon';\n\nexport type Settings = {\n icon: ({ name, color, size, direction }: IconProps) => React.ReactNode;\n};\n\nexport const { Provider, Consumer } = React.createContext<Settings>({\n icon: MaterialCommunityIcon,\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Card/CardContent.tsx\";var CardContent=function(_React$Component){(0,_inherits2.default)(CardContent,_React$Component);function CardContent(){(0,_classCallCheck2.default)(this,CardContent);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(CardContent).apply(this,arguments));}(0,_createClass2.default)(CardContent,[{key:\"render\",value:function render(){var _this$props=this.props,index=_this$props.index,total=_this$props.total,siblings=_this$props.siblings,style=_this$props.style,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"index\",\"total\",\"siblings\",\"style\"]);var cover='withTheme(CardCover)';var title='withTheme(CardTitle)';var contentStyle,prev,next;if(typeof index==='number'&&siblings){prev=siblings[index-1];next=siblings[index+1];}if(prev===cover&&next===cover||prev===title&&next===title||total===1){contentStyle=styles.only;}else if(index===0){if(next===cover||next===title){contentStyle=styles.only;}else{contentStyle=styles.first;}}else if(typeof total==='number'&&index===total-1){if(prev===cover||prev===title){contentStyle=styles.only;}else{contentStyle=styles.last;}}else if(prev===cover||prev===title){contentStyle=styles.first;}else if(next===cover||next===title){contentStyle=styles.last;}return React.createElement(_View.default,(0,_extends2.default)({},rest,{style:[styles.container,contentStyle,style],__source:{fileName:_jsxFileName,lineNumber:83}}));}}]);return CardContent;}(React.Component);CardContent.displayName='Card.Content';var styles=_StyleSheet.default.create({container:{paddingHorizontal:16},first:{paddingTop:16},last:{paddingBottom:16},only:{paddingVertical:16}});var _default=CardContent;exports.default=_default;","map":{"version":3,"sources":["CardContent.tsx"],"names":["CardContent","React","Component","displayName","index","total","siblings","style","rest","cover","title","prev","next","contentStyle","styles","StyleSheet","container","paddingHorizontal","first","paddingTop","last","paddingBottom","only","paddingVertical"],"mappings":"k5BAAA,oD,uRA2CMA,GAAAA,CAAAA,W,wVAGK,CAAA,GAAA,CAAA,WAAA,CAC4C,KAD5C,KAAA,CACCI,KADD,CAAA,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IAAIF,IAAI,GAAJA,KAAAA,EAAkBA,IAAI,GAA1B,KAAA,CAAsC,CAC3CE,YAAY,CAAGC,MAAM,CAArBD,KAAAA,CADK,CAAA,IAEA,IAAID,IAAI,GAAJA,KAAAA,EAAkBA,IAAI,GAA1B,KAAA,CAAsC,CAC3CC,YAAY,CAAGC,MAAM,CAArBD,IAAAA,CAGF,OAAO,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAAgB,KAAK,CAAE,CAACC,MAAM,CAAP,SAAA,CAAA,YAAA,CAAvB,KAAuB,CAAvB,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAP,EAAO,CAAA,CAAA,CAAA,CAAP,C,0BAvCsBb,KAAK,CAACC,S,CAA1BF,CAAAA,W,CACGG,WADHH,CACiB,cADjBA,CA2CN,GAAMc,CAAAA,MAAM,CAAGC,oBAAAA,MAAAA,CAAkB,CAC/BC,SAAS,CAAE,CACTC,iBAAiB,CAFY,EACpB,CADoB,CAI/BC,KAAK,CAAE,CACLC,UAAU,CALmB,EAIxB,CAJwB,CAO/BC,IAAI,CAAE,CACJC,aAAa,CARgB,EAOzB,CAPyB,CAU/BC,IAAI,CAAE,CACJC,eAAe,CAXnB,EAUQ,CAVyB,CAAlBR,CAAf,C,aAeA,W","sourcesContent":["import * as React from 'react';\nimport { StyleSheet, StyleProp, View, ViewStyle } from 'react-native';\n\ntype Props = React.ComponentProps<typeof View> & {\n /**\n * Items inside the `Card.Content`.\n */\n children: React.ReactNode;\n /**\n * @internal\n */\n index?: number;\n /**\n * @internal\n */\n total?: number;\n /**\n * @internal\n */\n siblings?: Array<string>;\n style?: StyleProp<ViewStyle>;\n};\n\n/**\n * A component to show content inside a Card.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Card, Title, Paragraph } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Card>\n * <Card.Content>\n * <Title>Card title</Title>\n * <Paragraph>Card content</Paragraph>\n * </Card.Content>\n * </Card>\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass CardContent extends React.Component<Props> {\n static displayName = 'Card.Content';\n\n render() {\n const { index, total, siblings, style, ...rest } = this.props;\n const cover = 'withTheme(CardCover)';\n const title = 'withTheme(CardTitle)';\n\n let contentStyle, prev, next;\n\n if (typeof index === 'number' && siblings) {\n prev = siblings[index - 1];\n next = siblings[index + 1];\n }\n\n if (\n (prev === cover && next === cover) ||\n (prev === title && next === title) ||\n total === 1\n ) {\n contentStyle = styles.only;\n } else if (index === 0) {\n if (next === cover || next === title) {\n contentStyle = styles.only;\n } else {\n contentStyle = styles.first;\n }\n } else if (typeof total === 'number' && index === total - 1) {\n if (prev === cover || prev === title) {\n contentStyle = styles.only;\n } else {\n contentStyle = styles.last;\n }\n } else if (prev === cover || prev === title) {\n contentStyle = styles.first;\n } else if (next === cover || next === title) {\n contentStyle = styles.last;\n }\n\n return <View {...rest} style={[styles.container, contentStyle, style]} />;\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n paddingHorizontal: 16,\n },\n first: {\n paddingTop: 16,\n },\n last: {\n paddingBottom: 16,\n },\n only: {\n paddingVertical: 16,\n },\n});\n\nexport default CardContent;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _color=_interopRequireDefault(require(\"color\"));var _ActivityIndicator=_interopRequireDefault(require(\"./ActivityIndicator\"));var _Icon=_interopRequireDefault(require(\"./Icon\"));var _Surface=_interopRequireDefault(require(\"./Surface\"));var _Text=_interopRequireDefault(require(\"./Typography/Text\"));var _TouchableRipple=_interopRequireDefault(require(\"./TouchableRipple\"));var _colors=require(\"../styles/colors\");var _theming=require(\"../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Button.tsx\";var Button=function(_React$Component){(0,_inherits2.default)(Button,_React$Component);function Button(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Button);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Button)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={elevation:new _Animated.default.Value(_this.props.mode==='contained'?2:0)};_this.handlePressIn=function(){if(_this.props.mode==='contained'){_Animated.default.timing(_this.state.elevation,{toValue:8,duration:200}).start();}};_this.handlePressOut=function(){if(_this.props.mode==='contained'){_Animated.default.timing(_this.state.elevation,{toValue:2,duration:150}).start();}};return _this;}(0,_createClass2.default)(Button,[{key:\"render\",value:function render(){var _this$props=this.props,disabled=_this$props.disabled,compact=_this$props.compact,mode=_this$props.mode,dark=_this$props.dark,loading=_this$props.loading,icon=_this$props.icon,buttonColor=_this$props.color,children=_this$props.children,uppercase=_this$props.uppercase,accessibilityLabel=_this$props.accessibilityLabel,onPress=_this$props.onPress,style=_this$props.style,theme=_this$props.theme,contentStyle=_this$props.contentStyle,labelStyle=_this$props.labelStyle,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"disabled\",\"compact\",\"mode\",\"dark\",\"loading\",\"icon\",\"color\",\"children\",\"uppercase\",\"accessibilityLabel\",\"onPress\",\"style\",\"theme\",\"contentStyle\",\"labelStyle\"]);var colors=theme.colors,roundness=theme.roundness;var font=theme.fonts.medium;var backgroundColor,borderColor,textColor,borderWidth;if(mode==='contained'){if(disabled){backgroundColor=(0,_color.default)(theme.dark?_colors.white:_colors.black).alpha(0.12).rgb().string();}else if(buttonColor){backgroundColor=buttonColor;}else{backgroundColor=colors.primary;}}else{backgroundColor='transparent';}if(mode==='outlined'){borderColor=(0,_color.default)(theme.dark?_colors.white:_colors.black).alpha(0.29).rgb().string();borderWidth=_StyleSheet.default.hairlineWidth;}else{borderColor='transparent';borderWidth=0;}if(disabled){textColor=(0,_color.default)(theme.dark?_colors.white:_colors.black).alpha(0.32).rgb().string();}else if(mode==='contained'){var isDark;if(typeof dark==='boolean'){isDark=dark;}else{isDark=backgroundColor==='transparent'?false:!(0,_color.default)(backgroundColor).isLight();}textColor=isDark?_colors.white:_colors.black;}else if(buttonColor){textColor=buttonColor;}else{textColor=colors.primary;}var rippleColor=(0,_color.default)(textColor).alpha(0.32).rgb().string();var buttonStyle={backgroundColor:backgroundColor,borderColor:borderColor,borderWidth:borderWidth,borderRadius:roundness};var touchableStyle={borderRadius:style?_StyleSheet.default.flatten(style).borderRadius||roundness:roundness};var textStyle=(0,_objectSpread2.default)({color:textColor},font);var elevation=disabled||mode!=='contained'?0:this.state.elevation;return React.createElement(_Surface.default,(0,_extends2.default)({},rest,{style:[styles.button,compact&&styles.compact,{elevation:elevation},buttonStyle,style],__source:{fileName:_jsxFileName,lineNumber:244}}),React.createElement(_TouchableRipple.default,{borderless:true,delayPressIn:0,onPress:onPress,onPressIn:this.handlePressIn,onPressOut:this.handlePressOut,accessibilityLabel:accessibilityLabel,accessibilityTraits:disabled?['button','disabled']:'button',accessibilityComponentType:\"button\",accessibilityRole:\"button\",accessibilityStates:disabled?['disabled']:[],disabled:disabled,rippleColor:rippleColor,style:touchableStyle,__source:{fileName:_jsxFileName,lineNumber:254}},React.createElement(_View.default,{style:[styles.content,contentStyle],__source:{fileName:_jsxFileName,lineNumber:269}},icon&&loading!==true?React.createElement(_View.default,{style:styles.icon,__source:{fileName:_jsxFileName,lineNumber:271}},React.createElement(_Icon.default,{source:icon,size:16,color:textColor,__source:{fileName:_jsxFileName,lineNumber:272}})):null,loading?React.createElement(_ActivityIndicator.default,{size:16,color:textColor,style:styles.icon,__source:{fileName:_jsxFileName,lineNumber:276}}):null,React.createElement(_Text.default,{numberOfLines:1,style:[styles.label,compact&&styles.compactLabel,uppercase&&styles.uppercaseLabel,textStyle,font,labelStyle],__source:{fileName:_jsxFileName,lineNumber:282}},children))));}}]);return Button;}(React.Component);Button.defaultProps={mode:'text',uppercase:true};var styles=_StyleSheet.default.create({button:{minWidth:64,borderStyle:'solid'},compact:{minWidth:'auto'},content:{flexDirection:'row',alignItems:'center',justifyContent:'center'},icon:{width:16,marginLeft:12,marginRight:-4},label:{textAlign:'center',letterSpacing:1,marginVertical:9,marginHorizontal:16},compactLabel:{marginHorizontal:8},uppercaseLabel:{textTransform:'uppercase'}});var _default=(0,_theming.withTheme)(Button);exports.default=_default;","map":{"version":3,"sources":["Button.tsx"],"names":["Button","React","Component","defaultProps","mode","uppercase","state","elevation","Animated","handlePressIn","toValue","duration","handlePressOut","disabled","compact","dark","loading","icon","buttonColor","children","accessibilityLabel","onPress","style","theme","contentStyle","labelStyle","rest","colors","roundness","font","backgroundColor","color","borderColor","borderWidth","StyleSheet","textColor","isDark","rippleColor","buttonStyle","borderRadius","touchableStyle","textStyle","styles","button","minWidth","borderStyle","content","flexDirection","alignItems","justifyContent","width","marginLeft","marginRight","label","textA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AAA,CAEPC,UAAU,CAFH,QAAA,CAGPC,cAAc,CAXe,QAQtB,CARsB,CAa/BhC,IAAI,CAAE,CACJiC,KAAK,CADD,EAAA,CAEJC,UAAU,CAFN,EAAA,CAGJC,WAAW,CAAE,CAhBgB,CAazB,CAbyB,CAkB/BC,KAAK,CAAE,CACLC,SAAS,CADJ,QAAA,CAELC,aAAa,CAFR,CAAA,CAGLC,cAAc,CAHT,CAAA,CAILC,gBAAgB,CAtBa,EAkBxB,CAlBwB,CAwB/BC,YAAY,CAAE,CACZD,gBAAgB,CAzBa,CAwBjB,CAxBiB,CA2B/BE,cAAc,CAAE,CACdC,aAAa,CA5BjB,WA2BkB,CA3Be,CAAlB1B,CAAf,C,aAgCe2B,uBAAf,MAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n Animated,\n View,\n ViewStyle,\n StyleSheet,\n StyleProp,\n TextStyle,\n} from 'react-native';\nimport color from 'color';\n\nimport ActivityIndicator from './ActivityIndicator';\nimport Icon, { IconSource } from './Icon';\nimport Surface from './Surface';\nimport Text from './Typography/Text';\nimport TouchableRipple from './TouchableRipple';\nimport { black, white } from '../styles/colors';\nimport { withTheme } from '../core/theming';\n\nimport { Theme } from '../types';\n\ntype Props = React.ComponentProps<typeof Surface> & {\n /**\n * Mode of the button. You can change the mode to adjust the styling to give it desired emphasis.\n * - `text` - flat button without background or outline (low emphasis)\n * - `outlined` - button with an outline (medium emphasis)\n * - `contained` - button with a background color and elevation shadow (high emphasis)\n */\n mode?: 'text' | 'outlined' | 'contained';\n /**\n * Whether the color is a dark color. A dark button will render light text and vice-versa. Only applicable for `contained` mode.\n */\n dark?: boolean;\n /**\n * Use a compact look, useful for `text` buttons in a row.\n */\n compact?: boolean;\n /**\n * Custom text color for flat button, or background color for contained button.\n */\n color?: string;\n /**\n * Whether to show a loading indicator.\n */\n loading?: boolean;\n /**\n * Icon to display for the `Button`.\n */\n icon?: IconSource;\n /**\n * Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch.\n */\n disabled?: boolean;\n /**\n * Label text of the button.\n */\n children: React.ReactNode;\n /**\n * Make the label text uppercased. Note that this won't work if you pass React elements as children.\n */\n uppercase?: boolean;\n /**\n * Accessibility label for the button. This is read by the screen reader when the user taps the button.\n */\n accessibilityLabel?: string;\n /**\n * Function to execute on press.\n */\n onPress?: () => void;\n /**\n * Style of button's inner content.\n * Use this prop to apply custom height and width.\n */\n contentStyle?: StyleProp<ViewStyle>;\n style?: StyleProp<ViewStyle>;\n /**\n * Style for the button text.\n */\n labelStyle?: StyleProp<TextStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\ntype State = {\n elevation: Animated.Value;\n};\n\n/**\n * A button is component that the user can press to trigger an action.\n *\n * <div class=\"screenshots\">\n * <figure>\n * <img src=\"screenshots/button-1.png\" />\n * <figcaption>Text button</figcaption>\n * </figure>\n * <figure>\n * <img src=\"screenshots/button-2.png\" />\n * <figcaption>Outlined button</figcaption>\n * </figure>\n * <figure>\n * <img src=\"screenshots/button-3.png\" />\n * <figcaption>Contained button</figcaption>\n * </figure>\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Button } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Button icon=\"camera\" mode=\"contained\" onPress={() => console.log('Pressed')}>\n * Press me\n * </Button>\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass Button extends React.Component<Props, State> {\n static defaultProps: Partial<Props> = {\n mode: 'text',\n uppercase: true,\n };\n\n state = {\n elevation: new Animated.Value(this.props.mode === 'contained' ? 2 : 0),\n };\n\n private handlePressIn = () => {\n if (this.props.mode === 'contained') {\n Animated.timing(this.state.elevation, {\n toValue: 8,\n duration: 200,\n }).start();\n }\n };\n\n private handlePressOut = () => {\n if (this.props.mode === 'contained') {\n Animated.timing(this.state.elevation, {\n toValue: 2,\n duration: 150,\n }).start();\n }\n };\n\n render() {\n const {\n disabled,\n compact,\n mode,\n dark,\n loading,\n icon,\n color: buttonColor,\n children,\n uppercase,\n accessibilityLabel,\n onPress,\n style,\n theme,\n contentStyle,\n labelStyle,\n ...rest\n } = this.props;\n const { colors, roundness } = theme;\n const font = theme.fonts.medium;\n\n let backgroundColor, borderColor, textColor, borderWidth;\n\n if (mode === 'contained') {\n if (disabled) {\n backgroundColor = color(theme.dark ? white : black)\n .alpha(0.12)\n .rgb()\n .string();\n } else if (buttonColor) {\n backgroundColor = buttonColor;\n } else {\n backgroundColor = colors.primary;\n }\n } else {\n backgroundColor = 'transparent';\n }\n\n if (mode === 'outlined') {\n borderColor = color(theme.dark ? white : black)\n .alpha(0.29)\n .rgb()\n .string();\n borderWidth = StyleSheet.hairlineWidth;\n } else {\n borderColor = 'transparent';\n borderWidth = 0;\n }\n\n if (disabled) {\n textColor = color(theme.dark ? white : black)\n .alpha(0.32)\n .rgb()\n .string();\n } else if (mode === 'contained') {\n let isDark;\n\n if (typeof dark === 'boolean') {\n isDark = dark;\n } else {\n isDark =\n backgroundColor === 'transparent'\n ? false\n : !color(backgroundColor).isLight();\n }\n\n textColor = isDark ? white : black;\n } else if (buttonColor) {\n textColor = buttonColor;\n } else {\n textColor = colors.primary;\n }\n\n const rippleColor = color(textColor)\n .alpha(0.32)\n .rgb()\n .string();\n const buttonStyle = {\n backgroundColor,\n borderColor,\n borderWidth,\n borderRadius: roundness,\n };\n const touchableStyle = {\n borderRadius: style\n ? StyleSheet.flatten(style).borderRadius || roundness\n : roundness,\n };\n const textStyle = { color: textColor, ...font };\n const elevation =\n disabled || mode !== 'contained' ? 0 : this.state.elevation;\n\n return (\n <Surface\n {...rest}\n style={[\n styles.button,\n compact && styles.compact,\n { elevation } as ViewStyle,\n buttonStyle,\n style,\n ]}\n >\n <TouchableRipple\n borderless\n delayPressIn={0}\n onPress={onPress}\n onPressIn={this.handlePressIn}\n onPressOut={this.handlePressOut}\n accessibilityLabel={accessibilityLabel}\n accessibilityTraits={disabled ? ['button', 'disabled'] : 'button'}\n accessibilityComponentType=\"button\"\n accessibilityRole=\"button\"\n accessibilityStates={disabled ? ['disabled'] : []}\n disabled={disabled}\n rippleColor={rippleColor}\n style={touchableStyle}\n >\n <View style={[styles.content, contentStyle]}>\n {icon && loading !== true ? (\n <View style={styles.icon}>\n <Icon source={icon} size={16} color={textColor} />\n </View>\n ) : null}\n {loading ? (\n <ActivityIndicator\n size={16}\n color={textColor}\n style={styles.icon}\n />\n ) : null}\n <Text\n numberOfLines={1}\n style={[\n styles.label,\n compact && styles.compactLabel,\n uppercase && styles.uppercaseLabel,\n textStyle,\n font,\n labelStyle,\n ]}\n >\n {children}\n </Text>\n </View>\n </TouchableRipple>\n </Surface>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n button: {\n minWidth: 64,\n borderStyle: 'solid',\n },\n compact: {\n minWidth: 'auto',\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n },\n icon: {\n width: 16,\n marginLeft: 12,\n marginRight: -4,\n },\n label: {\n textAlign: 'center',\n letterSpacing: 1,\n marginVertical: 9,\n marginHorizontal: 16,\n },\n compactLabel: {\n marginHorizontal: 8,\n },\n uppercaseLabel: {\n textTransform: 'uppercase',\n },\n});\n\nexport default withTheme(Button);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=diff;var _base=require(\"../base\");var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));function diff(v){var stash=new _InternalAnimatedValue.default(0);var prev=new _InternalAnimatedValue.default();return(0,_base.block)([(0,_base.set)(stash,(0,_base.cond)((0,_base.defined)(prev),(0,_base.sub)(v,prev),0)),(0,_base.set)(prev,v),stash]);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/diff.js"],"names":["diff","v","stash","AnimatedValue","prev"],"mappings":"iKAAA,6BACA,4FAEe,QAASA,CAAAA,IAAT,CAAcC,CAAd,CAAiB,CAC9B,GAAMC,CAAAA,KAAK,CAAG,GAAIC,+BAAJ,CAAkB,CAAlB,CAAd,CACA,GAAMC,CAAAA,IAAI,CAAG,GAAID,+BAAJ,EAAb,CACA,MAAO,gBAAM,CACX,cAAID,KAAJ,CAAW,eAAK,kBAAQE,IAAR,CAAL,CAAoB,cAAIH,CAAJ,CAAOG,IAAP,CAApB,CAAkC,CAAlC,CAAX,CADW,CAEX,cAAIA,IAAJ,CAAUH,CAAV,CAFW,CAGXC,KAHW,CAAN,CAAP,CAKD","sourcesContent":["import { cond, block, defined, sub, set } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nexport default function diff(v) {\n const stash = new AnimatedValue(0);\n const prev = new AnimatedValue();\n return block([\n set(stash, cond(defined(prev), sub(v, prev), 0)),\n set(prev, v),\n stash,\n ]);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.ScreenContainer=exports.Screen=exports.Easing=exports.Animated=exports.DeviceMotion=exports.Stripe=exports.Branch=exports.Lottie=void 0;var Lottie=null;exports.Lottie=Lottie;var Branch=null;exports.Branch=Branch;var Stripe=null;exports.Stripe=Stripe;var DeviceMotion=null;exports.DeviceMotion=DeviceMotion;var Animated=null;exports.Animated=Animated;var Easing=null;exports.Easing=Easing;var Screen=null;exports.Screen=Screen;var ScreenContainer=null;exports.ScreenContainer=ScreenContainer;var _default={Lottie:Lottie,Branch:Branch,Stripe:Stripe,DeviceMotion:DeviceMotion,Animated:Animated,Easing:Easing,Screen:Screen,ScreenContainer:ScreenContainer};exports.default=_default;","map":{"version":3,"sources":["../src/DangerZone.web.ts"],"names":[],"mappings":"yNAAO,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,YAAY,CAAG,IAArB,C,kCACA,GAAM,CAAA,QAAQ,CAAG,IAAjB,C,0BACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,eAAe,CAAG,IAAxB,C,qDAEQ,CACb,MAAM,CAAN,MADa,CAEb,MAAM,CAAN,MAFa,CAGb,MAAM,CAAN,MAHa,CAIb,YAAY,CAAZ,YAJa,CAKb,QAAQ,CAAR,QALa,CAMb,MAAM,CAAN,MANa,CAOb,MAAM,CAAN,MAPa,CAQb,eAAe,CAAf,eARa,C","sourcesContent":["export const Lottie = null;\nexport const Branch = null;\nexport const Stripe = null;\nexport const DeviceMotion = null;\nexport const Animated = null;\nexport const Easing = null;\nexport const Screen = null;\nexport const ScreenContainer = null;\n\nexport default {\n Lottie,\n Branch,\n Stripe,\n DeviceMotion,\n Animated,\n Easing,\n Screen,\n ScreenContainer,\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createTabBarItemIOSComponent;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));function createTabBarItemIOSComponent(IconNamePropType,getImageSource){return function(_PureComponent){(0,_inherits2.default)(TabBarItemIOS,_PureComponent);function TabBarItemIOS(){(0,_classCallCheck2.default)(this,TabBarItemIOS);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TabBarItemIOS).apply(this,arguments));}(0,_createClass2.default)(TabBarItemIOS,[{key:\"render\",value:function render(){return null;}}]);return TabBarItemIOS;}(_react.PureComponent);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/tab-bar-item-ios.web.js"],"names":["createTabBarItemIOSComponent","IconNamePropType","getImageSource","PureComponent"],"mappings":"wuBACA,qDAEe,QAASA,CAAAA,4BAAT,CAAsCC,gBAAtC,CAAwDC,cAAxD,CAAwE,CACrF,oWACW,CACP,MAAO,KAAP,CACD,CAHH,2BAAmCC,oBAAnC,EAKD","sourcesContent":["/* eslint-disable react/no-unused-prop-types */\nimport React, { PureComponent } from 'react';\n\nexport default function createTabBarItemIOSComponent(IconNamePropType, getImageSource) {\n return class TabBarItemIOS extends PureComponent {\n render() {\n return null;\n }\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _NavigationContext=_interopRequireDefault(require(\"./NavigationContext\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-core/src/views/SceneView.js\";var SceneView=function(_React$PureComponent){(0,_inherits2.default)(SceneView,_React$PureComponent);function SceneView(){(0,_classCallCheck2.default)(this,SceneView);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(SceneView).apply(this,arguments));}(0,_createClass2.default)(SceneView,[{key:\"render\",value:function render(){var _this$props=this.props,screenProps=_this$props.screenProps,Component=_this$props.component,navigation=_this$props.navigation;return _react.default.createElement(_NavigationContext.default.Provider,{value:navigation,__source:{fileName:_jsxFileName,lineNumber:8}},_react.default.createElement(Component,{screenProps:screenProps,navigation:navigation,__source:{fileName:_jsxFileName,lineNumber:9}}));}}]);return SceneView;}(_react.default.PureComponent);exports.default=SceneView;","map":{"version":3,"sources":["SceneView.js"],"names":["SceneView","React","screenProps","Component","navigation"],"mappings":"6nBAAA,oDACA,8E,iGAEqBA,GAAAA,CAAAA,S,sVACV,CAAA,GAAA,CAAA,WAAA,CACmD,KADnD,KAAA,CACCE,WADD,CAAA,WAAA,CAAA,WAAA,CACyBC,SADzB,CAAA,WAAA,CAAA,SAAA,CACoCC,UADpC,CAAA,WAAA,CAAA,UAAA,CAEP,MACE,gBAAA,aAAA,CAAA,2BAAA,QAAA,CAAA,CAA4B,KAAK,CAAjC,UAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,CAAA,CAAA,CAAA,CACE,eAAA,aAAA,CAAA,SAAA,CAAA,CAAW,WAAW,CAAtB,WAAA,CAAqC,UAAU,CAA/C,UAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAFJ,CAEI,CAAA,CAAA,CADF,CADF,C,wBAHmCH,eAAlBD,a,CAAAA,C","sourcesContent":["import React from 'react';\nimport NavigationContext from './NavigationContext';\n\nexport default class SceneView extends React.PureComponent {\n render() {\n const { screenProps, component: Component, navigation } = this.props;\n return (\n <NavigationContext.Provider value={navigation}>\n <Component screenProps={screenProps} navigation={navigation} />\n </NavigationContext.Provider>\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _StyledText=_interopRequireDefault(require(\"./StyledText\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Typography/Title.tsx\";var Title=function Title(props){return React.createElement(_StyledText.default,(0,_extends2.default)({},props,{alpha:0.87,family:\"medium\",style:[styles.text,props.style],__source:{fileName:_jsxFileName,lineNumber:31}}));};var _default=Title;exports.default=_default;var styles=_StyleSheet.default.create({text:{fontSize:20,lineHeight:30,marginVertical:2,letterSpacing:0.15}});","map":{"version":3,"sources":["Title.tsx"],"names":["Title","styles","props","StyleSheet","text","fontSize","lineHeight","marginVertical","letterSpacing"],"mappings":"wUAAA,oD,4FAEA,gE,2GA2BA,GAAMA,CAAAA,KAAK,CAALA,QAAAA,CAAAA,KAAAA,CAAQ,KAARA,CAAQ,CAAA,MACZ,CAAA,KAAA,CAAA,aAAA,CAAA,mBAAA,CAAA,sBAAA,EAAA,CAAA,KAAA,CAAA,CAEE,KAAK,CAFP,IAAA,CAGE,MAAM,CAHR,QAAA,CAIE,KAAK,CAAE,CAACC,MAAM,CAAP,IAAA,CAAcC,KAAK,CAJ5B,KAIS,CAJT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADY,EACZ,CAAA,CAAA,CAAA,CADY,CAAd,CAAA,C,aASA,K,0BAEA,GAAMD,CAAAA,MAAM,CAAGE,oBAAAA,MAAAA,CAAkB,CAC/BC,IAAI,CAAE,CACJC,QAAQ,CADJ,EAAA,CAEJC,UAAU,CAFN,EAAA,CAGJC,cAAc,CAHV,CAAA,CAIJC,aAAa,CALjB,IACQ,CADyB,CAAlBL,CAAf","sourcesContent":["import * as React from 'react';\nimport { Text, StyleSheet } from 'react-native';\nimport StyledText from './StyledText';\n\ntype Props = React.ComponentProps<typeof Text> & {\n children: React.ReactNode;\n};\n\n// @component-group Typography\n\n/**\n * Typography component for showing a title.\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/title.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Title } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Title>Title</Title>\n * );\n *\n * export default MyComponent;\n * ```\n */\nconst Title = (props: Props) => (\n <StyledText\n {...props}\n alpha={0.87}\n family=\"medium\"\n style={[styles.text, props.style]}\n />\n);\n\nexport default Title;\n\nconst styles = StyleSheet.create({\n text: {\n fontSize: 20,\n lineHeight: 30,\n marginVertical: 2,\n letterSpacing: 0.15,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.downloadAsync=downloadAsync;exports.getManifest=getManifest;exports.manifestBaseUrl=exports.IS_MANAGED_ENV=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var IS_MANAGED_ENV=false;exports.IS_MANAGED_ENV=IS_MANAGED_ENV;var manifestBaseUrl=null;exports.manifestBaseUrl=manifestBaseUrl;function downloadAsync(uri,hash,type,name){return _regenerator.default.async(function downloadAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:return _context.abrupt(\"return\",uri);case 1:case\"end\":return _context.stop();}}});}function getManifest(){return{};}","map":{"version":3,"sources":["../src/PlatformUtils.web.ts"],"names":[],"mappings":"qVAAO,GAAM,CAAA,cAAc,CAAG,KAAvB,C,sCAGA,GAAM,CAAA,eAAe,CAAG,IAAxB,C,wCAEA,QAAe,CAAA,aAAf,CAA6B,GAA7B,CAAkC,IAAlC,CAAwC,IAAxC,CAA8C,IAA9C,0JACE,GADF,gDAID,QAAU,CAAA,WAAV,EAAqB,CACzB,MAAO,EAAP,CACD","sourcesContent":["export const IS_MANAGED_ENV = false;\n\n// Compute manifest base URL if available\nexport const manifestBaseUrl = null;\n\nexport async function downloadAsync(uri, hash, type, name): Promise<string> {\n return uri;\n}\n\nexport function getManifest() {\n return {};\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var validateFormat=function validateFormat(){};if(process.env!=='production'){validateFormat=function validateFormat(format){if(format===undefined){throw new Error('invariant requires an error message argument');}};}function invariant(condition,format,a,b,c,d,e,f){validateFormat(format);if(!condition){var error;if(format===undefined){error=new Error('Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.');}else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++];}));error.name='Invariant Violation';}error.framesToPop=1;throw error;}}module.exports=invariant;","map":{"version":3,"sources":["invariant.js"],"names":["validateFormat","process","format","error","args","argIndex","module"],"mappings":"AAaA,GAAIA,CAAAA,cAAc,CAAG,QAAA,CAAA,cAAA,EAAW,CAAhC,CAAA,CAEA,GAAIC,OAAO,CAAPA,GAAAA,GAAJ,YAAA,CAAkC,CAChCD,cAAc,CAAG,QAAA,CAAA,cAAA,CAAA,MAAA,CAAiB,CAChC,GAAIE,MAAM,GAAV,SAAA,CAA0B,CACxB,KAAM,IAAA,CAAA,KAAA,CAAN,8CAAM,CAAN,CAEH,CAJDF,CAAAA,CAOF,SAAA,CAAA,SAAA,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAwD,CACtDA,cAAc,CAAdA,MAAc,CAAdA,CAEA,GAAI,CAAJ,SAAA,CAAgB,CACd,GAAA,CAAA,KAAA,CACA,GAAIE,MAAM,GAAV,SAAA,CAA0B,CACxBC,KAAK,CAAG,GAAA,CAAA,KAAA,CAARA,+HAAQ,CAARA,CADF,CAAA,IAIO,CACL,GAAIC,CAAAA,IAAI,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAX,CAAW,CAAX,CACA,GAAIC,CAAAA,QAAQ,CAAZ,CAAA,CACAF,KAAK,CAAG,GAAA,CAAA,KAAA,CACND,MAAM,CAANA,OAAAA,CAAAA,KAAAA,CAAsB,UAAW,CAC/B,MAAOE,CAAAA,IAAI,CAACC,QAAZ,EAAW,CAAX,CAFJF,CACED,CADM,CAARC,CAKAA,KAAK,CAALA,IAAAA,CAAAA,qBAAAA,CAGFA,CAAAA,KAAK,CAALA,WAAAA,CAAAA,CAAAA,CACA,KAAA,CAAA,KAAA,CAEH,CAEDG,CAAAA,MAAM,CAANA,OAAAA,CAAAA,SAAAA","sourcesContent":["/* eslint-disable import/no-commonjs */\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function() {};\n\nif (process.env !== 'production') {\n validateFormat = function(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() {\n return args[argIndex++];\n })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _normalizeNativeEvent=_interopRequireDefault(require(\"../normalizeNativeEvent\"));var _unstableNativeDependencies=_interopRequireDefault(require(\"react-dom/unstable-native-dependencies\"));var ResponderEventPlugin=_unstableNativeDependencies.default.ResponderEventPlugin,ResponderTouchHistoryStore=_unstableNativeDependencies.default.ResponderTouchHistoryStore;if(!ResponderEventPlugin.eventTypes.responderMove.dependencies){var topMouseDown='topMouseDown';var topMouseMove='topMouseMove';var topMouseUp='topMouseUp';var topScroll='topScroll';var topSelectionChange='topSelectionChange';var topTouchCancel='topTouchCancel';var topTouchEnd='topTouchEnd';var topTouchMove='topTouchMove';var topTouchStart='topTouchStart';var endDependencies=[topTouchCancel,topTouchEnd,topMouseUp];var moveDependencies=[topTouchMove,topMouseMove];var startDependencies=[topTouchStart,topMouseDown];ResponderEventPlugin.eventTypes.responderMove.dependencies=moveDependencies;ResponderEventPlugin.eventTypes.responderEnd.dependencies=endDependencies;ResponderEventPlugin.eventTypes.responderStart.dependencies=startDependencies;ResponderEventPlugin.eventTypes.responderRelease.dependencies=endDependencies;ResponderEventPlugin.eventTypes.responderTerminationRequest.dependencies=[];ResponderEventPlugin.eventTypes.responderGrant.dependencies=[];ResponderEventPlugin.eventTypes.responderReject.dependencies=[];ResponderEventPlugin.eventTypes.responderTerminate.dependencies=[];ResponderEventPlugin.eventTypes.moveShouldSetResponder.dependencies=moveDependencies;ResponderEventPlugin.eventTypes.selectionChangeShouldSetResponder.dependencies=[topSelectionChange];ResponderEventPlugin.eventTypes.scrollShouldSetResponder.dependencies=[topScroll];ResponderEventPlugin.eventTypes.startShouldSetResponder.dependencies=startDependencies;}var lastActiveTouchTimestamp=null;var EMULATED_MOUSE_THERSHOLD_MS=1000;var originalExtractEvents=ResponderEventPlugin.extractEvents;ResponderEventPlugin.extractEvents=function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var hasActiveTouches=ResponderTouchHistoryStore.touchHistory.numberActiveTouches>0;var eventType=nativeEvent.type;var shouldSkipMouseAfterTouch=false;if(eventType.indexOf('touch')>-1){lastActiveTouchTimestamp=Date.now();}else if(lastActiveTouchTimestamp&&eventType.indexOf('mouse')>-1){var now=Date.now();shouldSkipMouseAfterTouch=now-lastActiveTouchTimestamp<EMULATED_MOUSE_THERSHOLD_MS;}if((eventType==='mousemove'||eventType==='mouseup')&&!hasActiveTouches||nativeEvent.button===1||nativeEvent.button===2||shouldSkipMouseAfterTouch){return;}var normalizedEvent=(0,_normalizeNativeEvent.default)(nativeEvent);return originalExtractEvents.call(ResponderEventPlugin,topLevelType,targetInst,normalizedEvent,nativeEventTarget);};var _default=ResponderEventPlugin;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ResponderEventPlugin/index.js"],"names":["ResponderEventPlugin","ReactDOMUnstableNativeDependencies","ResponderTouchHistoryStore","eventTypes","responderMove","dependencies","topMouseDown","topMouseMove","topMouseUp","topScroll","topSelectionChange","topTouchCancel","topTouchEnd","topTouchMove","topTouchStart","endDependencies","moveDependencies","startDependencies","responderEnd","responderStart","responderRelease","responderTerminationRequest","responderGrant","responderReject","responderTerminate","moveShouldSetResponder","selectionChangeShouldSetResponder","scrollShouldSetResponder","startShouldSetResponder","lastActiveTouchTimestamp","EMULATED_MOUSE_THERSHOLD_MS","originalExtractEvents","extractEvents","topLevelType","targetInst","nativeEvent","nativeEventTarget","hasActiveTouches","touchHistory","numberActiveTouches","eventType","type","shouldSkipMouseAfterTouch","indexOf","Date","now","button","normalizedEvent","call"],"mappings":"mKASA,qFACA,0GACA,GAAIA,CAAAA,oBAAoB,CAAGC,oCAAmCD,oBAA9D,CACIE,0BAA0B,CAAGD,oCAAmCC,0BADpE,CAMA,GAAI,CAACF,oBAAoB,CAACG,UAArB,CAAgCC,aAAhC,CAA8CC,YAAnD,CAAiE,CAC/D,GAAIC,CAAAA,YAAY,CAAG,cAAnB,CACA,GAAIC,CAAAA,YAAY,CAAG,cAAnB,CACA,GAAIC,CAAAA,UAAU,CAAG,YAAjB,CACA,GAAIC,CAAAA,SAA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AiDiC,YAAjD,CAA+DC,UAA/D,CAA2Ea,eAA3E,CAA4FX,iBAA5F,CAAP,CACD,CAvBD,C,aAyBepC,oB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n// based on https://github.com/facebook/react/pull/4303/files\nimport normalizeNativeEvent from '../normalizeNativeEvent';\nimport ReactDOMUnstableNativeDependencies from 'react-dom/unstable-native-dependencies';\nvar ResponderEventPlugin = ReactDOMUnstableNativeDependencies.ResponderEventPlugin,\n ResponderTouchHistoryStore = ReactDOMUnstableNativeDependencies.ResponderTouchHistoryStore; // On older versions of React (< 16.4) we have to inject the dependencies in\n// order for the plugin to work properly in the browser. This version still\n// uses `top*` strings to identify the internal event names.\n// https://github.com/facebook/react/pull/12629\n\nif (!ResponderEventPlugin.eventTypes.responderMove.dependencies) {\n var topMouseDown = 'topMouseDown';\n var topMouseMove = 'topMouseMove';\n var topMouseUp = 'topMouseUp';\n var topScroll = 'topScroll';\n var topSelectionChange = 'topSelectionChange';\n var topTouchCancel = 'topTouchCancel';\n var topTouchEnd = 'topTouchEnd';\n var topTouchMove = 'topTouchMove';\n var topTouchStart = 'topTouchStart';\n var endDependencies = [topTouchCancel, topTouchEnd, topMouseUp];\n var moveDependencies = [topTouchMove, topMouseMove];\n var startDependencies = [topTouchStart, topMouseDown];\n /**\n * Setup ResponderEventPlugin dependencies\n */\n\n ResponderEventPlugin.eventTypes.responderMove.dependencies = moveDependencies;\n ResponderEventPlugin.eventTypes.responderEnd.dependencies = endDependencies;\n ResponderEventPlugin.eventTypes.responderStart.dependencies = startDependencies;\n ResponderEventPlugin.eventTypes.responderRelease.dependencies = endDependencies;\n ResponderEventPlugin.eventTypes.responderTerminationRequest.dependencies = [];\n ResponderEventPlugin.eventTypes.responderGrant.dependencies = [];\n ResponderEventPlugin.eventTypes.responderReject.dependencies = [];\n ResponderEventPlugin.eventTypes.responderTerminate.dependencies = [];\n ResponderEventPlugin.eventTypes.moveShouldSetResponder.dependencies = moveDependencies;\n ResponderEventPlugin.eventTypes.selectionChangeShouldSetResponder.dependencies = [topSelectionChange];\n ResponderEventPlugin.eventTypes.scrollShouldSetResponder.dependencies = [topScroll];\n ResponderEventPlugin.eventTypes.startShouldSetResponder.dependencies = startDependencies;\n}\n\nvar lastActiveTouchTimestamp = null; // The length of time after a touch that we ignore the browser's emulated mouse events\n// https://developer.mozilla.org/en-US/docs/Web/API/Touch_events/Using_Touch_Events\n\nvar EMULATED_MOUSE_THERSHOLD_MS = 1000;\nvar originalExtractEvents = ResponderEventPlugin.extractEvents;\n\nResponderEventPlugin.extractEvents = function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var hasActiveTouches = ResponderTouchHistoryStore.touchHistory.numberActiveTouches > 0;\n var eventType = nativeEvent.type;\n var shouldSkipMouseAfterTouch = false;\n\n if (eventType.indexOf('touch') > -1) {\n lastActiveTouchTimestamp = Date.now();\n } else if (lastActiveTouchTimestamp && eventType.indexOf('mouse') > -1) {\n var now = Date.now();\n shouldSkipMouseAfterTouch = now - lastActiveTouchTimestamp < EMULATED_MOUSE_THERSHOLD_MS;\n }\n\n if ( // Filter out mousemove and mouseup events when a touch hasn't started yet\n (eventType === 'mousemove' || eventType === 'mouseup') && !hasActiveTouches || // Filter out events from wheel/middle and right click.\n nativeEvent.button === 1 || nativeEvent.button === 2 || // Filter out mouse events that browsers dispatch immediately after touch events end\n // Prevents the REP from calling handlers twice for touch interactions.\n // See #802 and #932.\n shouldSkipMouseAfterTouch) {\n return;\n }\n\n var normalizedEvent = normalizeNativeEvent(nativeEvent);\n return originalExtractEvents.call(ResponderEventPlugin, topLevelType, targetInst, normalizedEvent, nativeEventTarget);\n};\n\nexport default ResponderEventPlugin;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=require(\"prop-types\");var animationDirectionEnum=['alternate','alternate-reverse','normal','reverse'];var animationFillModeEnum=['none','forwards','backwards','both'];var animationPlayStateEnum=['paused','running'];var AnimationPropTypes={animationDelay:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)]),animationDirection:(0,_propTypes.oneOfType)([(0,_propTypes.oneOf)(animationDirectionEnum),(0,_propTypes.arrayOf)(animationDirectionEnum)]),animationDuration:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)]),animationFillMode:(0,_propTypes.oneOfType)([(0,_propTypes.oneOf)(animationFillModeEnum),(0,_propTypes.arrayOf)(animationFillModeEnum)]),animationIterationCount:(0,_propTypes.oneOfType)([_propTypes.number,(0,_propTypes.oneOf)(['infinite']),(0,_propTypes.arrayOf)((0,_propTypes.oneOfType)([_propTypes.number,(0,_propTypes.oneOf)(['infinite'])]))]),animationKeyframes:(0,_propTypes.oneOfType)([_propTypes.string,_propTypes.object,(0,_propTypes.arrayOf)((0,_propTypes.oneOfType)([_propTypes.string,_propTypes.object]))]),animationPlayState:(0,_propTypes.oneOfType)([(0,_propTypes.oneOf)(animationPlayStateEnum),(0,_propTypes.arrayOf)(animationPlayStateEnum)]),animationTimingFunction:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)]),transitionDelay:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)]),transitionDuration:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)]),transitionProperty:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)]),transitionTimingFunction:(0,_propTypes.oneOfType)([_propTypes.string,(0,_propTypes.arrayOf)(_propTypes.string)])};var _default=AnimationPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AnimationPropTypes/index.js"],"names":["animationDirectionEnum","animationFillModeEnum","animationPlayStateEnum","AnimationPropTypes","animationDelay","string","animationDirection","animationDuration","animationFillMode","animationIterationCount","number","animationKeyframes","object","animationPlayState","animationTimingFunction","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],"mappings":"gFAQA,qCACA,GAAIA,CAAAA,sBAAsB,CAAG,CAAC,WAAD,CAAc,mBAAd,CAAmC,QAAnC,CAA6C,SAA7C,CAA7B,CACA,GAAIC,CAAAA,qBAAqB,CAAG,CAAC,MAAD,CAAS,UAAT,CAAqB,WAArB,CAAkC,MAAlC,CAA5B,CACA,GAAIC,CAAAA,sBAAsB,CAAG,CAAC,QAAD,CAAW,SAAX,CAA7B,CACA,GAAIC,CAAAA,kBAAkB,CAAG,CACvBC,cAAc,CAAE,yBAAU,CAACC,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CADO,CAEvBC,kBAAkB,CAAE,yBAAU,CAAC,qBAAMN,sBAAN,CAAD,CAAgC,uBAAQA,sBAAR,CAAhC,CAAV,CAFG,CAGvBO,iBAAiB,CAAE,yBAAU,CAACF,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CAHI,CAIvBG,iBAAiB,CAAE,yBAAU,CAAC,qBAAMP,qBAAN,CAAD,CAA+B,uBAAQA,qBAAR,CAA/B,CAAV,CAJI,CAKvBQ,uBAAuB,CAAE,yBAAU,CAACC,iBAAD,CAAS,qBAAM,CAAC,UAAD,CAAN,CAAT,CAA8B,uBAAQ,yBAAU,CAACA,iBAAD,CAAS,qBAAM,CAAC,UAAD,CAAN,CAAT,CAAV,CAAR,CAA9B,CAAV,CALF,CAMvBC,kBAAkB,CAAE,yBAAU,CAACN,iBAAD,CAASO,iBAAT,CAAiB,uBAAQ,yBAAU,CAACP,iBAAD,CAASO,iBAAT,CAAV,CAAR,CAAjB,CAAV,CANG,CAOvBC,kBAAkB,CAAE,yBAAU,CAAC,qBAAMX,sBAAN,CAAD,CAAgC,uBAAQA,sBAAR,CAAhC,CAAV,CAPG,CAQvBY,uBAAuB,CAAE,yBAAU,CAACT,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CARF,CASvBU,eAAe,CAAE,yBAAU,CAACV,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CATM,CAUvBW,kBAAkB,CAAE,yBAAU,CAACX,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CAVG,CAWvBY,kBAAkB,CAAE,yBAAU,CAACZ,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CAXG,CAYvBa,wBAAwB,CAAE,yBAAU,CAACb,iBAAD,CAAS,uBAAQA,iBAAR,CAAT,CAAV,CAZH,CAAzB,C,aAceF,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { arrayOf, number, object, oneOf, oneOfType, string } from 'prop-types';\nvar animationDirectionEnum = ['alternate', 'alternate-reverse', 'normal', 'reverse'];\nvar animationFillModeEnum = ['none', 'forwards', 'backwards', 'both'];\nvar animationPlayStateEnum = ['paused', 'running'];\nvar AnimationPropTypes = {\n animationDelay: oneOfType([string, arrayOf(string)]),\n animationDirection: oneOfType([oneOf(animationDirectionEnum), arrayOf(animationDirectionEnum)]),\n animationDuration: oneOfType([string, arrayOf(string)]),\n animationFillMode: oneOfType([oneOf(animationFillModeEnum), arrayOf(animationFillModeEnum)]),\n animationIterationCount: oneOfType([number, oneOf(['infinite']), arrayOf(oneOfType([number, oneOf(['infinite'])]))]),\n animationKeyframes: oneOfType([string, object, arrayOf(oneOfType([string, object]))]),\n animationPlayState: oneOfType([oneOf(animationPlayStateEnum), arrayOf(animationPlayStateEnum)]),\n animationTimingFunction: oneOfType([string, arrayOf(string)]),\n transitionDelay: oneOfType([string, arrayOf(string)]),\n transitionDuration: oneOfType([string, arrayOf(string)]),\n transitionProperty: oneOfType([string, arrayOf(string)]),\n transitionTimingFunction: oneOfType([string, arrayOf(string)])\n};\nexport default AnimationPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=getChildEventSubscriber;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));function getChildEventSubscriber(addListener,key){var initialLastFocusEvent=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'didBlur';var actionSubscribers=new Set();var willFocusSubscribers=new Set();var didFocusSubscribers=new Set();var willBlurSubscribers=new Set();var didBlurSubscribers=new Set();var refocusSubscribers=new Set();var removeAll=function removeAll(){[actionSubscribers,willFocusSubscribers,didFocusSubscribers,willBlurSubscribers,didBlurSubscribers,refocusSubscribers].forEach(function(set){return set.clear();});upstreamSubscribers.forEach(function(subs){return subs&&subs.remove();});};var getChildSubscribers=function getChildSubscribers(evtName){switch(evtName){case'action':return actionSubscribers;case'willFocus':return willFocusSubscribers;case'didFocus':return didFocusSubscribers;case'willBlur':return willBlurSubscribers;case'didBlur':return didBlurSubscribers;case'refocus':return refocusSubscribers;default:return null;}};var _emit=function emit(type,payload){var payloadWithType=(0,_objectSpread2.default)({},payload,{type:type});var subscribers=getChildSubscribers(type);subscribers&&subscribers.forEach(function(subs){subs(payloadWithType);});};var lastFocusEvent=initialLastFocusEvent;var upstreamEvents=['willFocus','didFocus','willBlur','didBlur','refocus','action'];var upstreamSubscribers=upstreamEvents.map(function(eventName){return addListener(eventName,function(payload){if(eventName==='refocus'){_emit(eventName,payload);return;}var state=payload.state,lastState=payload.lastState,action=payload.action;var lastRoutes=lastState&&lastState.routes;var routes=state&&state.routes;var focusKey=routes&&routes[state.index].key;var isChildFocused=focusKey===key;var lastRoute=lastRoutes&&lastRoutes.find(function(route){return route.key===key;});var newRoute=routes&&routes.find(function(route){return route.key===key;});var childPayload={context:key+\":\"+action.type+\"_\"+(payload.context||'Root'),state:newRoute,lastState:lastRoute,action:action,type:eventName};var isTransitioning=!!state&&state.isTransitioning;var previouslylastFocusEvent=lastFocusEvent;if(lastFocusEvent==='didBlur'){if(eventName==='willFocus'&&isChildFocused){_emit(lastFocusEvent='willFocus',childPayload);}else if(eventName==='action'&&isChildFocused){_emit(lastFocusEvent='willFocus',childPayload);}}if(lastFocusEvent==='willFocus'){if(eventName==='didFocus'&&isChildFocused&&!isTransitioning){_emit(lastFocusEvent='didFocus',childPayload);}else if(eventName==='action'&&isChildFocused&&!isTransitioning){_emit(lastFocusEvent='didFocus',childPayload);}}if(lastFocusEvent==='didFocus'){if(!isChildFocused){_emit(lastFocusEvent='willBlur',childPayload);}else if(eventName==='willBlur'){_emit(lastFocusEvent='willBlur',childPayload);}else if(eventName==='action'&&previouslylastFocusEvent==='didFocus'){_emit('action',childPayload);}}if(lastFocusEvent==='willBlur'){if(eventName==='action'&&!isChildFocused&&!isTransitioning){_emit(lastFocusEvent='didBlur',childPayload);}else if(eventName==='didBlur'){_emit(lastFocusEvent='didBlur',childPayload);}else if(eventName==='action'&&isChildFocused&&!isTransitioning){_emit(lastFocusEvent='didFocus',childPayload);}else if(eventName==='action'&&isChildFocused&&isTransitioning){_emit(lastFocusEvent='willFocus',childPayload);}}if(lastFocusEvent==='didBlur'&&!newRoute){removeAll();}});});return{addListener:function addListener(eventName,eventHandler){var subscribers=getChildSubscribers(eventName);if(!subscribers){throw new Error(\"Invalid event name \\\"\"+eventName+\"\\\"\");}subscribers.add(eventHandler);var remove=function remove(){subscribers.delete(eventHandler);};return{remove:remove};},emit:function emit(eventName,payload){if(eventName!=='refocus'){console.error(\"navigation.emit only supports the 'refocus' event currently.\");return;}_emit(eventName,payload);}};}","map":{"version":3,"sources":["getChildEventSubscriber.js"],"names":["initialLastFocusEvent","actionSubscribers","willFocusSubscribers","didFocusSubscribers","willBlurSubscribers","didBlurSubscribers","refocusSubscribers","removeAll","set","upstreamSubscribers","subs","getChildSubscribers","emit","payloadWithType","type","subscribers","lastFocusEvent","upstreamEvents","addListener","eventName","state","lastState","action","payload","lastRoutes","routes","focusKey","isChildFocused","lastRoute","route","newRoute","childPayload","context","key","isTransitioning","previouslylastFocusEvent","remove","console"],"mappings":"oLAMA,0FAAe,QAAA,CAAA,uBAAA,CAAA,WAAA,CAAA,GAAA,CAIb,CADAA,GAAAA,CAAAA,qBACA,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CADwB,SAAxBA,CAEA,GAAMC,CAAAA,iBAAiB,CAAG,GAA1B,CAAA,GAA0B,EAA1B,CACA,GAAMC,CAAAA,oBAAoB,CAAG,GAA7B,CAAA,GAA6B,EAA7B,CACA,GAAMC,CAAAA,mBAAmB,CAAG,GAA5B,CAAA,GAA4B,EAA5B,CACA,GAAMC,CAAAA,mBAAmB,CAAG,GAA5B,CAAA,GAA4B,EAA5B,CACA,GAAMC,CAAAA,kBAAkB,CAAG,GAA3B,CAAA,GAA2B,EAA3B,CACA,GAAMC,CAAAA,kBAAkB,CAAG,GAA3B,CAAA,GAA2B,EAA3B,CAEA,GAAMC,CAAAA,SAAS,CAATA,QAAAA,CAAAA,SAAAA,EAAkB,CACtB,CAAA,iBAAA,CAAA,oBAAA,CAAA,mBAAA,CAAA,mBAAA,CAAA,kBAAA,CAAA,kBAAA,EAAA,OAAA,CAOU,SAAA,GAAA,CAAG,CAAA,MAAIC,CAAAA,GAAG,CAAP,KAAIA,EAAJ,CAPb,CAAA,EASAC,mBAAmB,CAAnBA,OAAAA,CAA4B,SAAA,IAAA,CAAI,CAAA,MAAIC,CAAAA,IAAI,EAAIA,IAAI,CAAhB,MAAYA,EAAZ,CAAhCD,CAAAA,EAVF,CAAA,CAaA,GAAME,CAAAA,mBAAmB,CAAnBA,QAAAA,CAAAA,mBAAAA,CAAsB,OAAtBA,CAAiC,CACrC,OAAA,OAAA,EACE,IAAA,QAAA,CACE,MAAA,CAAA,iBAAA,CACF,IA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AI,CAAJA,CAEH,CAED,IAAII,cAAc,GAAdA,SAAAA,EAAgC,CAApC,QAAA,CAA+C,CAC7CT,SAAS,GAEZ,CAhGqD,CAC3C,CAD2C,CAAxD,CAA4BU,CAA5B,CAmGA,MAAO,CACLC,WADK,CAAA,QAAA,CAAA,WAAA,CAAA,SAAA,CAAA,YAAA,CACgC,CACnC,GAAMH,CAAAA,WAAW,CAAGJ,mBAAmB,CAAvC,SAAuC,CAAvC,CACA,GAAI,CAAJ,WAAA,CAAkB,CAChB,KAAM,IAAA,CAAA,KAAA,CAAA,wBAAA,SAAA,CAAN,IAAM,CAAN,CAEFI,CAAAA,WAAW,CAAXA,GAAAA,CAAAA,YAAAA,EACA,GAAMqB,CAAAA,MAAM,CAANA,QAAAA,CAAAA,MAAAA,EAAe,CACnBrB,WAAW,CAAXA,MAAAA,CAAAA,YAAAA,EADF,CAAA,CAGA,MAAO,CAAEqB,MAAM,CAAf,MAAO,CAAP,CAVG,CAAA,CAYLxB,IAZK,CAAA,QAAA,CAAA,IAAA,CAAA,SAAA,CAAA,OAAA,CAYoB,CACvB,GAAIO,SAAS,GAAb,SAAA,CAA6B,CAC3BkB,OAAO,CAAPA,KAAAA,CAAAA,8DAAAA,EAGA,OAEFzB,CAAAA,KAAI,CAAA,SAAA,CAAJA,OAAI,CAAJA,CAnBJ,CAAO,CAAP,CAsBD","sourcesContent":["/*\n * This is used to extract one children's worth of events from a stream of navigation action events\n *\n * Based on the 'action' events that get fired for this navigation state, this utility will fire\n * focus and blur events for this child\n */\nexport default function getChildEventSubscriber(\n addListener,\n key,\n initialLastFocusEvent = 'didBlur'\n) {\n const actionSubscribers = new Set();\n const willFocusSubscribers = new Set();\n const didFocusSubscribers = new Set();\n const willBlurSubscribers = new Set();\n const didBlurSubscribers = new Set();\n const refocusSubscribers = new Set();\n\n const removeAll = () => {\n [\n actionSubscribers,\n willFocusSubscribers,\n didFocusSubscribers,\n willBlurSubscribers,\n didBlurSubscribers,\n refocusSubscribers,\n ].forEach(set => set.clear());\n\n upstreamSubscribers.forEach(subs => subs && subs.remove());\n };\n\n const getChildSubscribers = evtName => {\n switch (evtName) {\n case 'action':\n return actionSubscribers;\n case 'willFocus':\n return willFocusSubscribers;\n case 'didFocus':\n return didFocusSubscribers;\n case 'willBlur':\n return willBlurSubscribers;\n case 'didBlur':\n return didBlurSubscribers;\n case 'refocus':\n return refocusSubscribers;\n default:\n return null;\n }\n };\n\n const emit = (type, payload) => {\n const payloadWithType = { ...payload, type };\n const subscribers = getChildSubscribers(type);\n subscribers &&\n subscribers.forEach(subs => {\n subs(payloadWithType);\n });\n };\n\n // lastFocusEvent keeps track of focus state for one route. First we assume\n // we are blurred. If we are focused on initialization, the first 'action'\n // event will cause onFocus+willFocus events because we had previously been\n // considered blurred\n let lastFocusEvent = initialLastFocusEvent;\n\n const upstreamEvents = [\n 'willFocus',\n 'didFocus',\n 'willBlur',\n 'didBlur',\n 'refocus',\n 'action',\n ];\n\n const upstreamSubscribers = upstreamEvents.map(eventName =>\n addListener(eventName, payload => {\n if (eventName === 'refocus') {\n emit(eventName, payload);\n return;\n }\n\n const { state, lastState, action } = payload;\n const lastRoutes = lastState && lastState.routes;\n const routes = state && state.routes;\n\n // const lastFocusKey =\n // lastState && lastState.routes && lastState.routes[lastState.index].key;\n const focusKey = routes && routes[state.index].key;\n\n const isChildFocused = focusKey === key;\n const lastRoute =\n lastRoutes && lastRoutes.find(route => route.key === key);\n const newRoute = routes && routes.find(route => route.key === key);\n const childPayload = {\n context: `${key}:${action.type}_${payload.context || 'Root'}`,\n state: newRoute,\n lastState: lastRoute,\n action,\n type: eventName,\n };\n const isTransitioning = !!state && state.isTransitioning;\n\n const previouslylastFocusEvent = lastFocusEvent;\n\n if (lastFocusEvent === 'didBlur') {\n // The child is currently blurred. Look for willFocus conditions\n if (eventName === 'willFocus' && isChildFocused) {\n emit((lastFocusEvent = 'willFocus'), childPayload);\n } else if (eventName === 'action' && isChildFocused) {\n emit((lastFocusEvent = 'willFocus'), childPayload);\n }\n }\n if (lastFocusEvent === 'willFocus') {\n // We are currently mid-focus. Look for didFocus conditions.\n // If state.isTransitioning is false, this child event happens immediately after willFocus\n if (eventName === 'didFocus' && isChildFocused && !isTransitioning) {\n emit((lastFocusEvent = 'didFocus'), childPayload);\n } else if (\n eventName === 'action' &&\n isChildFocused &&\n !isTransitioning\n ) {\n emit((lastFocusEvent = 'didFocus'), childPayload);\n }\n }\n\n if (lastFocusEvent === 'didFocus') {\n // The child is currently focused. Look for blurring events\n if (!isChildFocused) {\n // The child is no longer focused within this navigation state\n emit((lastFocusEvent = 'willBlur'), childPayload);\n } else if (eventName === 'willBlur') {\n // The parent is getting a willBlur event\n emit((lastFocusEvent = 'willBlur'), childPayload);\n } else if (\n eventName === 'action' &&\n previouslylastFocusEvent === 'didFocus'\n ) {\n // While focused, pass action events to children for grandchildren focus\n emit('action', childPayload);\n }\n }\n\n if (lastFocusEvent === 'willBlur') {\n // The child is mid-blur. Wait for transition to end\n if (eventName === 'action' && !isChildFocused && !isTransitioning) {\n // The child is done blurring because transitioning is over, or isTransitioning\n // never began and didBlur fires immediately after willBlur\n emit((lastFocusEvent = 'didBlur'), childPayload);\n } else if (eventName === 'didBlur') {\n // Pass through the parent didBlur event if it happens\n emit((lastFocusEvent = 'didBlur'), childPayload);\n } else if (\n eventName === 'action' &&\n isChildFocused &&\n !isTransitioning\n ) {\n emit((lastFocusEvent = 'didFocus'), childPayload);\n } else if (\n eventName === 'action' &&\n isChildFocused &&\n isTransitioning\n ) {\n emit((lastFocusEvent = 'willFocus'), childPayload);\n }\n }\n\n if (lastFocusEvent === 'didBlur' && !newRoute) {\n removeAll();\n }\n })\n );\n\n return {\n addListener(eventName, eventHandler) {\n const subscribers = getChildSubscribers(eventName);\n if (!subscribers) {\n throw new Error(`Invalid event name \"${eventName}\"`);\n }\n subscribers.add(eventHandler);\n const remove = () => {\n subscribers.delete(eventHandler);\n };\n return { remove };\n },\n emit(eventName, payload) {\n if (eventName !== 'refocus') {\n console.error(\n `navigation.emit only supports the 'refocus' event currently.`\n );\n return;\n }\n emit(eventName, payload);\n },\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedAddition=function(_AnimatedWithChildren){_inheritsLoose(AnimatedAddition,_AnimatedWithChildren);function AnimatedAddition(a,b){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._a=typeof a==='number'?new _AnimatedValue.default(a):a;_this._b=typeof b==='number'?new _AnimatedValue.default(b):b;return _this;}var _proto=AnimatedAddition.prototype;_proto.__makeNative=function __makeNative(){this._a.__makeNative();this._b.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.__getValue=function __getValue(){return this._a.__getValue()+this._b.__getValue();};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.__attach=function __attach(){this._a.__addChild(this);this._b.__addChild(this);};_proto.__detach=function __detach(){this._a.__removeChild(this);this._b.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'addition',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]};};return AnimatedAddition;}(_AnimatedWithChildren2.default);var _default=AnimatedAddition;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedAddition.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedAddition","_AnimatedWithChildren","a","b","_this","call","_a","AnimatedValue","_b","_proto","__makeNative","__getValue","interpolate","config","AnimatedInterpolation","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,sEACA,qFALA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAOvL,GAAIM,CAAAA,gBAAgB,CAEpB,SAAUC,qBAAV,CAAiC,CAC/BT,cAAc,CAACQ,gBAAD,CAAmBC,qBAAnB,CAAd,CAEA,QAASD,CAAAA,gBAAT,CAA0BE,CAA1B,CAA6BC,CAA7B,CAAgC,CAC9B,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,GAAoC,IAA5C,CACAD,KAAK,CAACE,EAAN,CAAW,MAAOJ,CAAAA,CAAP,GAAa,QAAb,CAAwB,GAAIK,uBAAJ,CAAkBL,CAAlB,CAAxB,CAA+CA,CAA1D,CACAE,KAAK,CAACI,EAAN,CAAW,MAAOL,CAAAA,CAAP,GAAa,QAAb,CAAwB,GAAII,uBAAJ,CAAkBJ,CAAlB,CAAxB,CAA+CA,CAA1D,CACA,MAAOC,CAAAA,KAAP,CACD,CAED,GAAIK,CAAAA,MAAM,CAAGT,gBAAgB,CAACL,SAA9B,CAEAc,MAAM,CAACC,YAAP,CAAsB,QAASA,CAAAA,YAAT,EAAwB,CAC5C,KAAKJ,EAAL,CAAQI,YAAR,GAEA,KAAKF,EAAL,CAAQE,YAAR,GAEAT,qBAAqB,CAACN,SAAtB,CAAgCe,YAAhC,CAA6CL,IAA7C,CAAkD,IAAlD,EACD,CAND,CAQAI,MAAM,CAACE,UAAP,CAAoB,QAASA,CAAAA,UAAT,EAAsB,CACxC,MAAO,MAAKL,EAAL,CAAQK,UAAR,GAAuB,KAAKH,EAAL,CAAQG,UAAR,EAA9B,CACD,CAFD,CAIAF,MAAM,CAACG,WAAP,CAAqB,QAASA,CAAAA,WAAT,CAAqBC,MAArB,CAA6B,CAChD,MAAO,IAAIC,+BAAJ,CAA0B,IAA1B,CAAgCD,MAAhC,CAAP,CACD,CAFD,CAIAJ,MAAM,CAACM,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKT,EAAL,CAAQU,UAAR,CAAmB,IAAnB,EAEA,KAAKR,EAAL,CAAQQ,UAAR,CAAmB,IAAnB,EACD,CAJD,CAMAP,MAAM,CAACQ,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKX,EAAL,CAAQY,aAAR,CAAsB,IAAtB,EAEA,KAAKV,EAAL,CAAQU,aAAR,CAAsB,IAAtB,EAEAjB,qBAAqB,CAACN,SAAtB,CAAgCsB,QAAhC,CAAyCZ,IAAzC,CAA8C,IAA9C,EACD,CAND,CAQAI,MAAM,CAACU,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,MAAO,CACLC,IAAI,CAAE,UADD,CAELC,KAAK,CAAE,CAAC,KAAKf,EAAL,CAAQgB,cAAR,EAAD,CAA2B,KAAKd,EAAL,CAAQc,cAAR,EAA3B,CAFF,CAAP,CAID,CALD,CAOA,MAAOtB,CAAAA,gBAAP,CACD,CApDD,CAoDEuB,8BApDF,CAFA,C,aAwDevB,gB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedAddition =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedAddition, _AnimatedWithChildren);\n\n function AnimatedAddition(a, b) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n _this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n return _this;\n }\n\n var _proto = AnimatedAddition.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n this._b.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._a.__getValue() + this._b.__getValue();\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n\n this._b.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n this._b.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'addition',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n };\n\n return AnimatedAddition;\n}(AnimatedWithChildren);\n\nexport default AnimatedAddition;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _EmitterSubscription=_interopRequireDefault(require(\"./EmitterSubscription\"));var _EventSubscriptionVendor=_interopRequireDefault(require(\"./EventSubscriptionVendor\"));var _emptyFunction=_interopRequireDefault(require(\"fbjs/lib/emptyFunction\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var EventEmitter=function(){function EventEmitter(subscriber){this._subscriber=subscriber||new _EventSubscriptionVendor.default();}var _proto=EventEmitter.prototype;_proto.addListener=function addListener(eventType,listener,context){return this._subscriber.addSubscription(eventType,new _EmitterSubscription.default(this,this._subscriber,listener,context));};_proto.once=function once(eventType,listener,context){var _this=this;return this.addListener(eventType,function(){_this.removeCurrentListener();for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}listener.apply(context,args);});};_proto.removeAllListeners=function removeAllListeners(eventType){this._subscriber.removeAllSubscriptions(eventType);};_proto.removeCurrentListener=function removeCurrentListener(){(0,_invariant.default)(!!this._currentSubscription,'Not in an emitting cycle; there is no current subscription');this.removeSubscription(this._currentSubscription);};_proto.removeSubscription=function removeSubscription(subscription){(0,_invariant.default)(subscription.emitter===this,'Subscription does not belong to this emitter.');this._subscriber.removeSubscription(subscription);};_proto.listeners=function listeners(eventType){var subscriptions=this._subscriber.getSubscriptionsForType(eventType);return subscriptions?subscriptions.filter(_emptyFunction.default.thatReturnsTrue).map(function(subscription){return subscription.listener;}):[];};_proto.emit=function emit(eventType){var subscriptions=this._subscriber.getSubscriptionsForType(eventType);if(subscriptions){for(var i=0,l=subscriptions.length;i<l;i++){var subscription=subscriptions[i];if(subscription){this._currentSubscription=subscription;subscription.listener.apply(subscription.context,Array.prototype.slice.call(arguments,1));}}this._currentSubscription=null;}};_proto.removeListener=function removeListener(eventType,listener){var subscriptions=this._subscriber.getSubscriptionsForType(eventType);if(subscriptions){for(var i=0,l=subscriptions.length;i<l;i++){var subscription=subscriptions[i];if(subscription&&subscription.listener===listener){subscription.remove();}}}};return EventEmitter;}();var _default=EventEmitter;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/emitter/EventEmitter.js"],"names":["EventEmitter","subscriber","_subscriber","EventSubscriptionVendor","_proto","prototype","addListener","eventType","listener","context","addSubscription","EmitterSubscription","once","_this","removeCurrentListener","_len","arguments","length","args","Array","_key","apply","removeAllListeners","removeAllSubscriptions","_currentSubscription","removeSubscription","subscription","emitter","listeners","subscriptions","getSubscriptionsForType","filter","emptyFunction","thatReturnsTrue","map","emit","i","l","slice","call","removeListener","remove"],"mappings":"AAUA,a,mKAEA,kFACA,0FACA,6EACA,qEAeA,GAAIA,CAAAA,YAAY,CAEhB,UAAY,CAOV,QAASA,CAAAA,YAAT,CAAsBC,UAAtB,CAAkC,CAChC,KAAKC,WAAL,CAAmBD,UAAU,EAAI,GAAIE,iCAAJ,EAAjC,CACD,CAiBD,GAAIC,CAAAA,MAAM,CAAGJ,YAAY,CAACK,SAA1B,CAEAD,MAAM,CAACE,WAAP,CAAqB,QAASA,CAAAA,WAAT,CAAqBC,SAArB,CAAgCC,QAAhC,CAA0CC,OAA1C,CAAmD,CACtE,MAAO,MAAKP,WAAL,CAAiBQ,eAAjB,CAAiCH,SAAjC,CAA4C,GAAII,6BAAJ,CAAwB,IAAxB,CAA8B,KAAKT,WAAnC,CAAgDM,QAAhD,CAA0DC,OAA1D,CAA5C,CAAP,CACD,CAFD,CAeAL,MAAM,CAACQ,IAAP,CAAc,QAASA,CAAAA,IAAT,CAAcL,SAAd,CAAyBC,QAAzB,CAAmCC,OAAnC,CAA4C,CACxD,GAAII,CAAAA,KAAK,CAAG,IAAZ,CAEA,MAAO,MAAKP,WAAL,CAAiBC,SAAjB,CAA4B,UAAY,CAC7CM,KAAK,CAACC,qBAAN,GAEA,IAAK,GAAIC,CAAAA,IAAI,CAAGC,SAAS,CAACC,MAArB,CAA6BC,IAAI,CAAG,GAAIC,CAAAA,KAAJ,CAAUJ,IAAV,CAApC,CAAqDK,IAAI,CAAG,CAAjE,CAAoEA,IAAI,CAAGL,IAA3E,CAAiFK,IAAI,EAArF,CAAyF,CACvFF,IAAI,CAACE,IAAD,CAAJ,CAAaJ,SAAS,CAACI,IAAD,CA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AAC,CAAGR,aAAa,CAACZ,MAAlC,CAA0CmB,CAAC,CAAGC,CAA9C,CAAiDD,CAAC,EAAlD,CAAsD,CACpD,GAAIV,CAAAA,YAAY,CAAGG,aAAa,CAACO,CAAD,CAAhC,CAEA,GAAIV,YAAJ,CAAkB,CAChB,KAAKF,oBAAL,CAA4BE,YAA5B,CACAA,YAAY,CAAClB,QAAb,CAAsBa,KAAtB,CAA4BK,YAAY,CAACjB,OAAzC,CAAkDU,KAAK,CAACd,SAAN,CAAgBiC,KAAhB,CAAsBC,IAAtB,CAA2BvB,SAA3B,CAAsC,CAAtC,CAAlD,EACD,CACF,CAED,KAAKQ,oBAAL,CAA4B,IAA5B,CACD,CACF,CAfD,CA+BApB,MAAM,CAACoC,cAAP,CAAwB,QAASA,CAAAA,cAAT,CAAwBjC,SAAxB,CAAmCC,QAAnC,CAA6C,CACnE,GAAIqB,CAAAA,aAAa,CAAG,KAAK3B,WAAL,CAAiB4B,uBAAjB,CAAyCvB,SAAzC,CAApB,CAEA,GAAIsB,aAAJ,CAAmB,CACjB,IAAK,GAAIO,CAAAA,CAAC,CAAG,CAAR,CAAWC,CAAC,CAAGR,aAAa,CAACZ,MAAlC,CAA0CmB,CAAC,CAAGC,CAA9C,CAAiDD,CAAC,EAAlD,CAAsD,CACpD,GAAIV,CAAAA,YAAY,CAAGG,aAAa,CAACO,CAAD,CAAhC,CAGA,GAAIV,YAAY,EAAIA,YAAY,CAAClB,QAAb,GAA0BA,QAA9C,CAAwD,CACtDkB,YAAY,CAACe,MAAb,GACD,CACF,CACF,CACF,CAbD,CAeA,MAAOzC,CAAAA,YAAP,CACD,CAzLD,EAFA,C,aA6LeA,Y","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule EventEmitter\n * \n * @typecheck\n */\n'use strict';\n\nimport EmitterSubscription from './EmitterSubscription';\nimport EventSubscriptionVendor from './EventSubscriptionVendor';\nimport emptyFunction from 'fbjs/lib/emptyFunction';\nimport invariant from 'fbjs/lib/invariant';\n/**\n * @class EventEmitter\n * @description\n * An EventEmitter is responsible for managing a set of listeners and publishing\n * events to them when it is told that such events happened. In addition to the\n * data for the given event it also sends a event control object which allows\n * the listeners/handlers to prevent the default behavior of the given event.\n *\n * The emitter is designed to be generic enough to support all the different\n * contexts in which one might want to emit events. It is a simple multicast\n * mechanism on top of which extra functionality can be composed. For example, a\n * more advanced emitter may use an EventHolder and EventFactory.\n */\n\nvar EventEmitter =\n/*#__PURE__*/\nfunction () {\n /**\n * @constructor\n *\n * @param {EventSubscriptionVendor} subscriber - Optional subscriber instance\n * to use. If omitted, a new subscriber will be created for the emitter.\n */\n function EventEmitter(subscriber) {\n this._subscriber = subscriber || new EventSubscriptionVendor();\n }\n /**\n * Adds a listener to be invoked when events of the specified type are\n * emitted. An optional calling context may be provided. The data arguments\n * emitted will be passed to the listener function.\n *\n * TODO: Annotate the listener arg's type. This is tricky because listeners\n * can be invoked with varargs.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n\n\n var _proto = EventEmitter.prototype;\n\n _proto.addListener = function addListener(eventType, listener, context) {\n return this._subscriber.addSubscription(eventType, new EmitterSubscription(this, this._subscriber, listener, context));\n }\n /**\n * Similar to addListener, except that the listener is removed after it is\n * invoked once.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke only once when the\n * specified event is emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n ;\n\n _proto.once = function once(eventType, listener, context) {\n var _this = this;\n\n return this.addListener(eventType, function () {\n _this.removeCurrentListener();\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listener.apply(context, args);\n });\n }\n /**\n * Removes all of the registered listeners, including those registered as\n * listener maps.\n *\n * @param {?string} eventType - Optional name of the event whose registered\n * listeners to remove\n */\n ;\n\n _proto.removeAllListeners = function removeAllListeners(eventType) {\n this._subscriber.removeAllSubscriptions(eventType);\n }\n /**\n * Provides an API that can be called during an eventing cycle to remove the\n * last listener that was invoked. This allows a developer to provide an event\n * object that can remove the listener (or listener map) during the\n * invocation.\n *\n * If it is called when not inside of an emitting cycle it will throw.\n *\n * @throws {Error} When called not during an eventing cycle\n *\n * @example\n * var subscription = emitter.addListenerMap({\n * someEvent: function(data, event) {\n * console.log(data);\n * emitter.removeCurrentListener();\n * }\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n * emitter.emit('someEvent', 'def'); // does not log anything\n */\n ;\n\n _proto.removeCurrentListener = function removeCurrentListener() {\n invariant(!!this._currentSubscription, 'Not in an emitting cycle; there is no current subscription');\n this.removeSubscription(this._currentSubscription);\n }\n /**\n * Removes a specific subscription. Called by the `remove()` method of the\n * subscription itself to ensure any necessary cleanup is performed.\n */\n ;\n\n _proto.removeSubscription = function removeSubscription(subscription) {\n invariant(subscription.emitter === this, 'Subscription does not belong to this emitter.');\n\n this._subscriber.removeSubscription(subscription);\n }\n /**\n * Returns an array of listeners that are currently registered for the given\n * event.\n *\n * @param {string} eventType - Name of the event to query\n * @returns {array}\n */\n ;\n\n _proto.listeners = function listeners(eventType) {\n var subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n\n return subscriptions ? subscriptions.filter(emptyFunction.thatReturnsTrue).map(function (subscription) {\n return subscription.listener;\n }) : [];\n }\n /**\n * Emits an event of the given type with the given data. All handlers of that\n * particular type will be notified.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {...*} Arbitrary arguments to be passed to each registered listener\n *\n * @example\n * emitter.addListener('someEvent', function(message) {\n * console.log(message);\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n */\n ;\n\n _proto.emit = function emit(eventType) {\n var subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n\n if (subscriptions) {\n for (var i = 0, l = subscriptions.length; i < l; i++) {\n var subscription = subscriptions[i]; // The subscription may have been removed during this event loop.\n\n if (subscription) {\n this._currentSubscription = subscription;\n subscription.listener.apply(subscription.context, Array.prototype.slice.call(arguments, 1));\n }\n }\n\n this._currentSubscription = null;\n }\n }\n /**\n * Removes the given listener for event of specific type.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n *\n * @example\n * emitter.removeListener('someEvent', function(message) {\n * console.log(message);\n * }); // removes the listener if already registered\n *\n */\n ;\n\n _proto.removeListener = function removeListener(eventType, listener) {\n var subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n\n if (subscriptions) {\n for (var i = 0, l = subscriptions.length; i < l; i++) {\n var subscription = subscriptions[i]; // The subscription may have been removed during this event loop.\n // its listener matches the listener in method parameters\n\n if (subscription && subscription.listener === listener) {\n subscription.remove();\n }\n }\n }\n };\n\n return EventEmitter;\n}();\n\nexport default EventEmitter;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _performanceNow=_interopRequireDefault(require(\"fbjs/lib/performanceNow\"));var _warning=_interopRequireDefault(require(\"fbjs/lib/warning\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var Info=function Info(){this.any_blank_count=0;this.any_blank_ms=0;this.any_blank_speed_sum=0;this.mostly_blank_count=0;this.mostly_blank_ms=0;this.pixels_blank=0;this.pixels_sampled=0;this.pixels_scrolled=0;this.total_time_spent=0;this.sample_count=0;};var DEBUG=false;var _listeners=[];var _minSampleCount=10;var _sampleRate=DEBUG?1:null;var FillRateHelper=function(){FillRateHelper.addListener=function addListener(callback){(0,_warning.default)(_sampleRate!==null,'Call `FillRateHelper.setSampleRate` before `addListener`.');_listeners.push(callback);return{remove:function remove(){_listeners=_listeners.filter(function(listener){return callback!==listener;});}};};FillRateHelper.setSampleRate=function setSampleRate(sampleRate){_sampleRate=sampleRate;};FillRateHelper.setMinSampleCount=function setMinSampleCount(minSampleCount){_minSampleCount=minSampleCount;};function FillRateHelper(getFrameMetrics){this._anyBlankStartTime=null;this._enabled=false;this._info=new Info();this._mostlyBlankStartTime=null;this._samplesStartTime=null;this._getFrameMetrics=getFrameMetrics;this._enabled=(_sampleRate||0)>Math.random();this._resetData();}var _proto=FillRateHelper.prototype;_proto.activate=function activate(){if(this._enabled&&this._samplesStartTime==null){DEBUG&&console.debug('FillRateHelper: activate');this._samplesStartTime=(0,_performanceNow.default)();}};_proto.deactivateAndFlush=function deactivateAndFlush(){if(!this._enabled){return;}var start=this._samplesStartTime;if(start==null){DEBUG&&console.debug('FillRateHelper: bail on deactivate with no start time');return;}if(this._info.sample_count<_minSampleCount){this._resetData();return;}var total_time_spent=(0,_performanceNow.default)()-start;var info=_objectSpread({},this._info,{total_time_spent:total_time_spent});if(DEBUG){var derived={avg_blankness:this._info.pixels_blank/this._info.pixels_sampled,avg_speed:this._info.pixels_scrolled/(total_time_spent/1000),avg_speed_when_any_blank:this._info.any_blank_speed_sum/this._info.any_blank_count,any_blank_per_min:this._info.any_blank_count/(total_time_spent/1000/60),any_blank_time_frac:this._info.any_blank_ms/total_time_spent,mostly_blank_per_min:this._info.mostly_blank_count/(total_time_spent/1000/60),mostly_blank_time_frac:this._info.mostly_blank_ms/total_time_spent};for(var key in derived){derived[key]=Math.round(1000*derived[key])/1000;}console.debug('FillRateHelper deactivateAndFlush: ',{derived:derived,info:info});}_listeners.forEach(function(listener){return listener(info);});this._resetData();};_proto.computeBlankness=function computeBlankness(props,state,scrollMetrics){if(!this._enabled||props.getItemCount(props.data)===0||this._samplesStartTime==null){return 0;}var dOffset=scrollMetrics.dOffset,offset=scrollMetrics.offset,velocity=scrollMetrics.velocity,visibleLength=scrollMetrics.visibleLength;this._info.sample_count++;this._info.pixels_sampled+=Math.round(visibleLength);this._info.pixels_scrolled+=Math.round(Math.abs(dOffset));var scrollSpeed=Math.round(Math.abs(velocity)*1000);var now=(0,_performanceNow.default)();if(this._anyBlankStartTime!=null){this._info.any_blank_ms+=now-this._anyBlankStartTime;}this._anyBlankStartTime=null;if(this._mostlyBlankStartTime!=null){this._info.mostly_blank_ms+=now-this._mostlyBlankStartTime;}this._mostlyBlankStartTime=null;var blankTop=0;var first=state.first;var firstFrame=this._getFrameMetrics(first);while(first<=state.last&&(!firstFrame||!firstFrame.inLayout)){firstFrame=this._getFrameMetrics(first);first++;}if(firstFrame&&first>0){blankTop=Math.min(visibleLength,Math.max(0,firstFrame.offset-offset));}var blankBottom=0;var last=state.last;var lastFrame=this._getFrameMetrics(last);while(last>=state.first&&(!lastFrame||!lastFrame.inLayout)){lastFrame=this._getFrameMetrics(last);last--;}if(lastFrame&&last<props.getItemCount(props.data)-1){var bottomEdge=lastFrame.offset+lastFrame.length;blankBottom=Math.min(visibleLength,Math.max(0,offset+visibleLength-bottomEdge));}var pixels_blank=Math.round(blankTop+blankBottom);var blankness=pixels_blank/visibleLength;if(blankness>0){this._anyBlankStartTime=now;this._info.any_blank_speed_sum+=scrollSpeed;this._info.any_blank_count++;this._info.pixels_blank+=pixels_blank;if(blankness>0.5){this._mostlyBlankStartTime=now;this._info.mostly_blank_count++;}}else if(scrollSpeed<0.01||Math.abs(dOffset)<1){this.deactivateAndFlush();}return blankness;};_proto.enabled=function enabled(){return this._enabled;};_proto._resetData=function _resetData(){this._anyBlankStartTime=null;this._info=new Info();this._mostlyBlankStartTime=null;this._samplesStartTime=null;};return FillRateHelper;}();var _default=FillRateHelper;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/FillRateHelper/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","Info","any_blank_count","any_blank_ms","any_blank_speed_sum","mostly_blank_count","mostly_blank_ms","pixels_blank","pixels_sampled","pixels_scrolled","total_time_spent","sample_count","DEBUG","_listeners","_minSampleCount","_sampleRate","FillRateHelper","addListener","callback","push","remove","listener","setSampleRate","sampleRate","setMinSampleCount","minSampleCount","getFrameMetrics","_anyBlankStartTime","_enabled","_info","_mostlyBlankStartTime","_samplesStartTime","_getFrameMetrics","Math","random","_resetData","_proto","prototype","activate","console","debug","deactivateAndFlush","start","info","derived","avg_blankness","avg_speed","avg_speed_when_any_blank","any_blank_per_min","any_blank_time_frac","mostly_blank_per_min","mostly_blank_time_frac","round","computeBlankness","props","state","scrollMetrics","getItemCount","data","dOffset","offset","velocity","visibleLength","abs","scrollSpeed","now","blankTop","first","firstFrame","last","inLayout","min","max","blankBottom","lastFrame","bottomEdge","blankness","enabled"],"mappings":"mKAaA,+EACA,iEAdA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UA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D,KAAKlB,kBAAL,GACD,CAED,MAAOmC,CAAAA,SAAP,CACD,CAjFD,CAmFAxC,MAAM,CAACyC,OAAP,CAAiB,QAASA,CAAAA,OAAT,EAAmB,CAClC,MAAO,MAAKjD,QAAZ,CACD,CAFD,CAIAQ,MAAM,CAACD,UAAP,CAAoB,QAASA,CAAAA,UAAT,EAAsB,CACxC,KAAKR,kBAAL,CAA0B,IAA1B,CACA,KAAKE,KAAL,CAAa,GAAI5B,CAAAA,IAAJ,EAAb,CACA,KAAK6B,qBAAL,CAA6B,IAA7B,CACA,KAAKC,iBAAL,CAAyB,IAAzB,CACD,CALD,CAOA,MAAOf,CAAAA,cAAP,CACD,CAhMD,EAFA,C,aAoMeA,c","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport performanceNow from 'fbjs/lib/performanceNow';\nimport warning from 'fbjs/lib/warning';\n\nvar Info = function Info() {\n this.any_blank_count = 0;\n this.any_blank_ms = 0;\n this.any_blank_speed_sum = 0;\n this.mostly_blank_count = 0;\n this.mostly_blank_ms = 0;\n this.pixels_blank = 0;\n this.pixels_sampled = 0;\n this.pixels_scrolled = 0;\n this.total_time_spent = 0;\n this.sample_count = 0;\n};\n\nvar DEBUG = false;\nvar _listeners = [];\nvar _minSampleCount = 10;\n\nvar _sampleRate = DEBUG ? 1 : null;\n/**\n * A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.\n * By default the sampling rate is set to zero and this will do nothing. If you want to collect\n * samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.\n *\n * Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with\n * `SceneTracker.getActiveScene` to determine the context of the events.\n */\n\n\nvar FillRateHelper =\n/*#__PURE__*/\nfunction () {\n FillRateHelper.addListener = function addListener(callback) {\n warning(_sampleRate !== null, 'Call `FillRateHelper.setSampleRate` before `addListener`.');\n\n _listeners.push(callback);\n\n return {\n remove: function remove() {\n _listeners = _listeners.filter(function (listener) {\n return callback !== listener;\n });\n }\n };\n };\n\n FillRateHelper.setSampleRate = function setSampleRate(sampleRate) {\n _sampleRate = sampleRate;\n };\n\n FillRateHelper.setMinSampleCount = function setMinSampleCount(minSampleCount) {\n _minSampleCount = minSampleCount;\n };\n\n function FillRateHelper(getFrameMetrics) {\n this._anyBlankStartTime = null;\n this._enabled = false;\n this._info = new Info();\n this._mostlyBlankStartTime = null;\n this._samplesStartTime = null;\n this._getFrameMetrics = getFrameMetrics;\n this._enabled = (_sampleRate || 0) > Math.random();\n\n this._resetData();\n }\n\n var _proto = FillRateHelper.prototype;\n\n _proto.activate = function activate() {\n if (this._enabled && this._samplesStartTime == null) {\n DEBUG && console.debug('FillRateHelper: activate');\n this._samplesStartTime = performanceNow();\n }\n };\n\n _proto.deactivateAndFlush = function deactivateAndFlush() {\n if (!this._enabled) {\n return;\n }\n\n var start = this._samplesStartTime; // const for flow\n\n if (start == null) {\n DEBUG && console.debug('FillRateHelper: bail on deactivate with no start time');\n return;\n }\n\n if (this._info.sample_count < _minSampleCount) {\n // Don't bother with under-sampled events.\n this._resetData();\n\n return;\n }\n\n var total_time_spent = performanceNow() - start;\n\n var info = _objectSpread({}, this._info, {\n total_time_spent: total_time_spent\n });\n\n if (DEBUG) {\n var derived = {\n avg_blankness: this._info.pixels_blank / this._info.pixels_sampled,\n avg_speed: this._info.pixels_scrolled / (total_time_spent / 1000),\n avg_speed_when_any_blank: this._info.any_blank_speed_sum / this._info.any_blank_count,\n any_blank_per_min: this._info.any_blank_count / (total_time_spent / 1000 / 60),\n any_blank_time_frac: this._info.any_blank_ms / total_time_spent,\n mostly_blank_per_min: this._info.mostly_blank_count / (total_time_spent / 1000 / 60),\n mostly_blank_time_frac: this._info.mostly_blank_ms / total_time_spent\n };\n\n for (var key in derived) {\n derived[key] = Math.round(1000 * derived[key]) / 1000;\n }\n\n console.debug('FillRateHelper deactivateAndFlush: ', {\n derived: derived,\n info: info\n });\n }\n\n _listeners.forEach(function (listener) {\n return listener(info);\n });\n\n this._resetData();\n };\n\n _proto.computeBlankness = function computeBlankness(props, state, scrollMetrics) {\n if (!this._enabled || props.getItemCount(props.data) === 0 || this._samplesStartTime == null) {\n return 0;\n }\n\n var dOffset = scrollMetrics.dOffset,\n offset = scrollMetrics.offset,\n velocity = scrollMetrics.velocity,\n visibleLength = scrollMetrics.visibleLength; // Denominator metrics that we track for all events - most of the time there is no blankness and\n // we want to capture that.\n\n this._info.sample_count++;\n this._info.pixels_sampled += Math.round(visibleLength);\n this._info.pixels_scrolled += Math.round(Math.abs(dOffset));\n var scrollSpeed = Math.round(Math.abs(velocity) * 1000); // px / sec\n // Whether blank now or not, record the elapsed time blank if we were blank last time.\n\n var now = performanceNow();\n\n if (this._anyBlankStartTime != null) {\n this._info.any_blank_ms += now - this._anyBlankStartTime;\n }\n\n this._anyBlankStartTime = null;\n\n if (this._mostlyBlankStartTime != null) {\n this._info.mostly_blank_ms += now - this._mostlyBlankStartTime;\n }\n\n this._mostlyBlankStartTime = null;\n var blankTop = 0;\n var first = state.first;\n\n var firstFrame = this._getFrameMetrics(first);\n\n while (first <= state.last && (!firstFrame || !firstFrame.inLayout)) {\n firstFrame = this._getFrameMetrics(first);\n first++;\n } // Only count blankTop if we aren't rendering the first item, otherwise we will count the header\n // as blank.\n\n\n if (firstFrame && first > 0) {\n blankTop = Math.min(visibleLength, Math.max(0, firstFrame.offset - offset));\n }\n\n var blankBottom = 0;\n var last = state.last;\n\n var lastFrame = this._getFrameMetrics(last);\n\n while (last >= state.first && (!lastFrame || !lastFrame.inLayout)) {\n lastFrame = this._getFrameMetrics(last);\n last--;\n } // Only count blankBottom if we aren't rendering the last item, otherwise we will count the\n // footer as blank.\n\n\n if (lastFrame && last < props.getItemCount(props.data) - 1) {\n var bottomEdge = lastFrame.offset + lastFrame.length;\n blankBottom = Math.min(visibleLength, Math.max(0, offset + visibleLength - bottomEdge));\n }\n\n var pixels_blank = Math.round(blankTop + blankBottom);\n var blankness = pixels_blank / visibleLength;\n\n if (blankness > 0) {\n this._anyBlankStartTime = now;\n this._info.any_blank_speed_sum += scrollSpeed;\n this._info.any_blank_count++;\n this._info.pixels_blank += pixels_blank;\n\n if (blankness > 0.5) {\n this._mostlyBlankStartTime = now;\n this._info.mostly_blank_count++;\n }\n } else if (scrollSpeed < 0.01 || Math.abs(dOffset) < 1) {\n this.deactivateAndFlush();\n }\n\n return blankness;\n };\n\n _proto.enabled = function enabled() {\n return this._enabled;\n };\n\n _proto._resetData = function _resetData() {\n this._anyBlankStartTime = null;\n this._info = new Info();\n this._mostlyBlankStartTime = null;\n this._samplesStartTime = null;\n };\n\n return FillRateHelper;\n}();\n\nexport default FillRateHelper;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _SimpleLineIcons=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf\"));var _SimpleLineIcons2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json\"));var _default=(0,_createIconSet.default)(_SimpleLineIcons2.default,'simple-line-icons',_SimpleLineIcons.default);exports.default=_default;","map":{"version":3,"sources":["../src/SimpleLineIcons.ts"],"names":[],"mappings":"mKAAA,sEACA,qHACA,2H,aAEe,2BAAc,yBAAd,CAAwB,mBAAxB,CAA6C,wBAA7C,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json';\n\nexport default createIconSet(glyphMap, 'simple-line-icons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"AntDesign\",{enumerable:true,get:function get(){return _AntDesign.default;}});Object.defineProperty(exports,\"Entypo\",{enumerable:true,get:function get(){return _Entypo.default;}});Object.defineProperty(exports,\"EvilIcons\",{enumerable:true,get:function get(){return _EvilIcons.default;}});Object.defineProperty(exports,\"Feather\",{enumerable:true,get:function get(){return _Feather.default;}});Object.defineProperty(exports,\"FontAwesome\",{enumerable:true,get:function get(){return _FontAwesome.default;}});Object.defineProperty(exports,\"FontAwesome5\",{enumerable:true,get:function get(){return _FontAwesome2.default;}});Object.defineProperty(exports,\"Foundation\",{enumerable:true,get:function get(){return _Foundation.default;}});Object.defineProperty(exports,\"Ionicons\",{enumerable:true,get:function get(){return _Ionicons.default;}});Object.defineProperty(exports,\"MaterialCommunityIcons\",{enumerable:true,get:function get(){return _MaterialCommunityIcons.default;}});Object.defineProperty(exports,\"MaterialIcons\",{enumerable:true,get:function get(){return _MaterialIcons.default;}});Object.defineProperty(exports,\"Octicons\",{enumerable:true,get:function get(){return _Octicons.default;}});Object.defineProperty(exports,\"SimpleLineIcons\",{enumerable:true,get:function get(){return _SimpleLineIcons.default;}});Object.defineProperty(exports,\"Zocial\",{enumerable:true,get:function get(){return _Zocial.default;}});Object.defineProperty(exports,\"createMultiStyleIconSet\",{enumerable:true,get:function get(){return _createMultiStyleIconSet.default;}});Object.defineProperty(exports,\"createIconSet\",{enumerable:true,get:function get(){return _createIconSet.default;}});Object.defineProperty(exports,\"createIconSetFromFontello\",{enumerable:true,get:function get(){return _createIconSetFromFontello.default;}});Object.defineProperty(exports,\"createIconSetFromIcoMoon\",{enumerable:true,get:function get(){return _createIconSetFromIcoMoon.default;}});Object.defineProperty(exports,\"createMu\",{enumerable:true,get:function get(){return _createIconSetFromIcoMoon.default;}});var _AntDesign=_interopRequireDefault(require(\"./AntDesign\"));var _Entypo=_interopRequireDefault(require(\"./Entypo\"));var _EvilIcons=_interopRequireDefault(require(\"./EvilIcons\"));var _Feather=_interopRequireDefault(require(\"./Feather\"));var _FontAwesome=_interopRequireDefault(require(\"./FontAwesome\"));var _FontAwesome2=_interopRequireDefault(require(\"./FontAwesome5\"));var _Foundation=_interopRequireDefault(require(\"./Foundation\"));var _Ionicons=_interopRequireDefault(require(\"./Ionicons\"));var _MaterialCommunityIcons=_interopRequireDefault(require(\"./MaterialCommunityIcons\"));var _MaterialIcons=_interopRequireDefault(require(\"./MaterialIcons\"));var _Octicons=_interopRequireDefault(require(\"./Octicons\"));var _SimpleLineIcons=_interopRequireDefault(require(\"./SimpleLineIcons\"));var _Zocial=_interopRequireDefault(require(\"./Zocial\"));var _createMultiStyleIconSet=_interopRequireDefault(require(\"./createMultiStyleIconSet\"));var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _createIconSetFromFontello=_interopRequireDefault(require(\"./createIconSetFromFontello\"));var _createIconSetFromIcoMoon=_interopRequireDefault(require(\"./createIconSetFromIcoMoon\"));","map":{"version":3,"sources":["../src/Icons.ts"],"names":[],"mappings":"0rEAAA,8DACA,wDACA,8DACA,0DACA,kEACA,oEACA,gEACA,4DACA,wFACA,sEACA,4DACA,0EACA,wDACA,0FACA,sEACA,8FAGA","sourcesContent":["export { default as AntDesign } from './AntDesign';\nexport { default as Entypo } from './Entypo';\nexport { default as EvilIcons } from './EvilIcons';\nexport { default as Feather } from './Feather';\nexport { default as FontAwesome } from './FontAwesome';\nexport { default as FontAwesome5 } from './FontAwesome5';\nexport { default as Foundation } from './Foundation';\nexport { default as Ionicons } from './Ionicons';\nexport { default as MaterialCommunityIcons } from './MaterialCommunityIcons';\nexport { default as MaterialIcons } from './MaterialIcons';\nexport { default as Octicons } from './Octicons';\nexport { default as SimpleLineIcons } from './SimpleLineIcons';\nexport { default as Zocial } from './Zocial';\nexport { default as createMultiStyleIconSet } from './createMultiStyleIconSet';\nexport { default as createIconSet } from './createIconSet';\nexport {\n default as createIconSetFromFontello,\n} from './createIconSetFromFontello';\nexport {\n default as createIconSetFromIcoMoon,\n} from './createIconSetFromIcoMoon';\nexport { default as createMu } from './createIconSetFromIcoMoon';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _GenericTouchable=_interopRequireWildcard(require(\"./GenericTouchable\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var TouchableHighlight=function(_Component){(0,_inherits2.default)(TouchableHighlight,_Component);function TouchableHighlight(props){var _this;(0,_classCallCheck2.default)(this,TouchableHighlight);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TouchableHighlight).call(this,props));_this.showUnderlay=function(){if(!_this.hasPressHandler()){return;}_this.setState({extraChildStyle:{opacity:_this.props.activeOpacity},extraUnderlayStyle:{backgroundColor:_this.props.underlayColor}});_this.props.onShowUnderlay&&_this.props.onShowUnderlay();};_this.hasPressHandler=function(){return _this.props.onPress||_this.props.onPressIn||_this.props.onPressOut||_this.props.onLongPress;};_this.hideUnderlay=function(){_this.setState({extraChildStyle:null,extraUnderlayStyle:null});_this.props.onHideUnderlay&&_this.props.onHideUnderlay();};_this.onStateChange=function(from,to){if(to===_GenericTouchable.TOUCHABLE_STATE.BEGAN){_this.showUnderlay();}else if(to===_GenericTouchable.TOUCHABLE_STATE.UNDETERMINED||to===_GenericTouchable.TOUCHABLE_STATE.MOVED_OUTSIDE){_this.hideUnderlay();}};_this.state={extraChildStyle:null,extraUnderlayStyle:null};return _this;}(0,_createClass2.default)(TouchableHighlight,[{key:\"renderChildren\",value:function renderChildren(){if(!this.props.children){return _react.default.createElement(_View.default,null);}var child=_react.default.Children.only(this.props.children);return _react.default.cloneElement(child,{style:_StyleSheet.default.compose(child.props.style,this.state.extraChildStyle)});}},{key:\"render\",value:function render(){var _this$props=this.props,_this$props$style=_this$props.style,style=_this$props$style===void 0?{}:_this$props$style,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\"]);var extraUnderlayStyle=this.state.extraUnderlayStyle;return _react.default.createElement(_GenericTouchable.default,(0,_extends2.default)({},rest,{style:[style,extraUnderlayStyle],onStateChange:this.onStateChange}),this.renderChildren());}}]);return TouchableHighlight;}(_react.Component);exports.default=TouchableHighlight;TouchableHighlight.defaultProps=_objectSpread({},_GenericTouchable.default.defaultProps,{activeOpacity:0.85,delayPressOut:100,underlayColor:'black'});TouchableHighlight.propTypes=_objectSpread({},_GenericTouchable.default.publicPropTypes,{activeOpacity:_propTypes.default.number,underlayColor:_propTypes.default.string,style:_propTypes.default.any,onShowUnderlay:_propTypes.default.func,onHideUnderlay:_propTypes.default.func});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/touchables/TouchableHighlight.js"],"names":["TouchableHighlight","props","showUnderlay","hasPressHandler","setState","extraChildStyle","opacity","activeOpacity","extraUnderlayStyle","backgroundColor","underlayColor","onShowUnderlay","onPress","onPressIn","onPressOut","onLongPress","hideUnderlay","onHideUnderlay","onStateChange","from","to","TOUCHABLE_STATE","BEGAN","UNDETERMINED","MOVED_OUTSIDE","state","children","child","React","Children","only","cloneElement","style","StyleSheet","compose","rest","renderChildren","Component","defaultProps","GenericTouchable","delayPressOut","propTypes","publicPropTypes","PropTypes","number","string","any","func"],"mappings":"g/BAAA,qDACA,6E,4KAEA,6D,4xBAKqBA,CAAAA,kB,4EAiBnB,4BAAYC,KAAZ,CAAmB,iEACjB,8GAAMA,KAAN,GADiB,MASnBC,YATmB,CASJ,UAAM,CACnB,GAAI,CAAC,MAAKC,eAAL,EAAL,CAA6B,CAC3B,OACD,C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,CAC/BK,KAAK,CAAEC,oBAAWC,OAAX,CACLP,KAAK,CAAC1B,KAAN,CAAY+B,KADP,CAEL,KAAKP,KAAL,CAAWpB,eAFN,CADwB,CAA1B,CAAP,CAMD,C,uCAaQ,iBACyB,KAAKJ,KAD9B,+BACC+B,KADD,CACCA,KADD,4BACS,EADT,mBACgBG,IADhB,iEAEC3B,CAAAA,kBAFD,CAEwB,KAAKiB,KAF7B,CAECjB,kBAFD,CAGP,MACE,8BAAC,yBAAD,0BACM2B,IADN,EAEE,KAAK,CAAE,CAACH,KAAD,CAAQxB,kBAAR,CAFT,CAGE,aAAa,CAAE,KAAKU,aAHtB,GAIG,KAAKkB,cAAL,EAJH,CADF,CAQD,C,gCA3F6CC,gB,qCAA3BrC,kB,CACZsC,Y,kBACFC,0BAAiBD,Y,EACpB/B,aAAa,CAAE,I,CACfiC,aAAa,CAAE,G,CACf9B,aAAa,CAAE,O,GALEV,kB,CAQZyC,S,kBACFF,0BAAiBG,e,EACpBnC,aAAa,CAAEoC,mBAAUC,M,CACzBlC,aAAa,CAAEiC,mBAAUE,M,CACzBb,KAAK,CAAEW,mBAAUG,G,CACjBnC,cAAc,CAAEgC,mBAAUI,I,CAC1B9B,cAAc,CAAE0B,mBAAUI,I","sourcesContent":["import React, { Component } from 'react';\nimport GenericTouchable, { TOUCHABLE_STATE } from './GenericTouchable';\nimport { StyleSheet, View } from 'react-native';\nimport PropTypes from 'prop-types';\n\n/**\n * TouchableHighlight follows RN's implementation\n */\nexport default class TouchableHighlight extends Component {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.85,\n delayPressOut: 100,\n underlayColor: 'black',\n };\n\n static propTypes = {\n ...GenericTouchable.publicPropTypes,\n activeOpacity: PropTypes.number,\n underlayColor: PropTypes.string,\n style: PropTypes.any,\n onShowUnderlay: PropTypes.func,\n onHideUnderlay: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n extraChildStyle: null,\n extraUnderlayStyle: null,\n };\n }\n\n // Copied from RN\n showUnderlay = () => {\n if (!this.hasPressHandler()) {\n return;\n }\n this.setState({\n extraChildStyle: {\n opacity: this.props.activeOpacity,\n },\n extraUnderlayStyle: {\n backgroundColor: this.props.underlayColor,\n },\n });\n this.props.onShowUnderlay && this.props.onShowUnderlay();\n };\n\n hasPressHandler = () =>\n this.props.onPress ||\n this.props.onPressIn ||\n this.props.onPressOut ||\n this.props.onLongPress;\n\n hideUnderlay = () => {\n this.setState({\n extraChildStyle: null,\n extraUnderlayStyle: null,\n });\n this.props.onHideUnderlay && this.props.onHideUnderlay();\n };\n\n renderChildren() {\n if (!this.props.children) {\n return <View />;\n }\n\n const child = React.Children.only(this.props.children);\n return React.cloneElement(child, {\n style: StyleSheet.compose(\n child.props.style,\n this.state.extraChildStyle\n ),\n });\n }\n\n onStateChange = (from, to) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.showUnderlay();\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.hideUnderlay();\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n const { extraUnderlayStyle } = this.state;\n return (\n <GenericTouchable\n {...rest}\n style={[style, extraUnderlayStyle]}\n onStateChange={this.onStateChange}>\n {this.renderChildren()}\n </GenericTouchable>\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=diffClamp;var _base=require(\"../base\");var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));var _min=_interopRequireDefault(require(\"./min\"));var _max=_interopRequireDefault(require(\"./max\"));var _diff=_interopRequireDefault(require(\"./diff\"));function diffClamp(a,minVal,maxVal){var value=new _InternalAnimatedValue.default();return(0,_base.set)(value,(0,_min.default)((0,_max.default)((0,_base.add)((0,_base.cond)((0,_base.defined)(value),value,a),(0,_diff.default)(a)),minVal),maxVal));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/diffClamp.js"],"names":["diffClamp","a","minVal","maxVal","value","AnimatedValue"],"mappings":"sKAAA,6BACA,4FACA,kDACA,kDACA,oDAEe,QAASA,CAAAA,SAAT,CAAmBC,CAAnB,CAAsBC,MAAtB,CAA8BC,MAA9B,CAAsC,CACnD,GAAMC,CAAAA,KAAK,CAAG,GAAIC,+BAAJ,EAAd,CACA,MAAO,cACLD,KADK,CAEL,iBAAI,iBAAI,cAAI,eAAK,kBAAQA,KAAR,CAAL,CAAqBA,KAArB,CAA4BH,CAA5B,CAAJ,CAAoC,kBAAKA,CAAL,CAApC,CAAJ,CAAkDC,MAAlD,CAAJ,CAA+DC,MAA/D,CAFK,CAAP,CAID","sourcesContent":["import { cond, defined, set, add } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\nimport min from './min';\nimport max from './max';\nimport diff from './diff';\n\nexport default function diffClamp(a, minVal, maxVal) {\n const value = new AnimatedValue();\n return set(\n value,\n min(max(add(cond(defined(value), value, a), diff(a)), minVal), maxVal)\n );\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _TouchableItem=_interopRequireDefault(require(\"./TouchableItem\"));var _reactNativeReanimated=_interopRequireDefault(require(\"react-native-reanimated\"));var _memoize=_interopRequireDefault(require(\"./memoize\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/TabBarItem.tsx\";var DEFAULT_ACTIVE_COLOR='rgba(255, 255, 255, 1)';var DEFAULT_INACTIVE_COLOR='rgba(255, 255, 255, 0.7)';var TabBarItem=function(_React$Component){(0,_inherits2.default)(TabBarItem,_React$Component);function TabBarItem(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabBarItem);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabBarItem)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.getActiveOpacity=(0,_memoize.default)(function(position,routes,tabIndex){if(routes.length>1){var inputRange=routes.map(function(_,i){return i;});return _reactNativeReanimated.default.interpolate(position,{inputRange:inputRange,outputRange:inputRange.map(function(i){return i===tabIndex?1:0;})});}else{return 1;}});_this.getInactiveOpacity=(0,_memoize.default)(function(position,routes,tabIndex){if(routes.length>1){var inputRange=routes.map(function(_,i){return i;});return _reactNativeReanimated.default.interpolate(position,{inputRange:inputRange,outputRange:inputRange.map(function(i){return i===tabIndex?0:1;})});}else{return 0;}});return _this;}(0,_createClass2.default)(TabBarItem,[{key:\"render\",value:function render(){var _this$props=this.props,route=_this$props.route,position=_this$props.position,navigationState=_this$props.navigationState,renderLabelPassed=_this$props.renderLabel,renderIcon=_this$props.renderIcon,renderBadge=_this$props.renderBadge,getLabelText=_this$props.getLabelText,getTestID=_this$props.getTestID,getAccessibilityLabel=_this$props.getAccessibilityLabel,getAccessible=_this$props.getAccessible,_this$props$activeCol=_this$props.activeColor,activeColor=_this$props$activeCol===void 0?DEFAULT_ACTIVE_COLOR:_this$props$activeCol,_this$props$inactiveC=_this$props.inactiveColor,inactiveColor=_this$props$inactiveC===void 0?DEFAULT_INACTIVE_COLOR:_this$props$inactiveC,pressColor=_this$props.pressColor,pressOpacity=_this$props.pressOpacity,labelStyle=_this$props.labelStyle,style=_this$props.style,onLayout=_this$props.onLayout,onPress=_this$props.onPress,onLongPress=_this$props.onLongPress;var tabIndex=navigationState.routes.indexOf(route);var isFocused=navigationState.index===tabIndex;var activeOpacity=this.getActiveOpacity(position,navigationState.routes,tabIndex);var inactiveOpacity=this.getInactiveOpacity(position,navigationState.routes,tabIndex);var icon=null;var label=null;if(renderIcon){var activeIcon=renderIcon({route:route,focused:true,color:activeColor});var inactiveIcon=renderIcon({route:route,focused:false,color:inactiveColor});if(inactiveIcon!=null&&activeIcon!=null){icon=React.createElement(_View.default,{style:styles.icon,__source:{fileName:_jsxFileName,lineNumber:133}},React.createElement(_reactNativeReanimated.default.View,{style:{opacity:inactiveOpacity},__source:{fileName:_jsxFileName,lineNumber:134}},inactiveIcon),React.createElement(_reactNativeReanimated.default.View,{style:[_StyleSheet.default.absoluteFill,{opacity:activeOpacity}],__source:{fileName:_jsxFileName,lineNumber:137}},activeIcon));}}var renderLabel=renderLabelPassed!==undefined?renderLabelPassed:function(_ref){var route=_ref.route,color=_ref.color;var labelText=getLabelText({route:route});if(typeof labelText==='string'){return React.createElement(_reactNativeReanimated.default.Text,{style:[styles.label,icon?{marginTop:0}:null,{color:color},labelStyle],__source:{fileName:_jsxFileName,lineNumber:155}},labelText);}return labelText;};if(renderLabel){var activeLabel=renderLabel({route:route,focused:true,color:activeColor});var inactiveLabel=renderLabel({route:route,focused:false,color:inactiveColor});label=React.createElement(_View.default,{__source:{fileName:_jsxFileName,lineNumber:185}},React.createElement(_reactNativeReanimated.default.View,{style:{opacity:inactiveOpacity},__source:{fileName:_jsxFileName,lineNumber:186}},inactiveLabel),React.createElement(_reactNativeReanimated.default.View,{style:[_StyleSheet.default.absoluteFill,{opacity:activeOpacity}],__source:{fileName:_jsxFileName,lineNumber:189}},activeLabel));}var tabStyle=_StyleSheet.default.flatten(style);var isWidthSet=tabStyle&&tabStyle.width!==undefined;var tabContainerStyle=isWidthSet?null:{flex:1};var scene={route:route};var accessibilityLabel=getAccessibilityLabel(scene);accessibilityLabel=typeof accessibilityLabel!=='undefined'?accessibilityLabel:getLabelText(scene);var badge=renderBadge?renderBadge(scene):null;return React.createElement(_TouchableItem.default,{borderless:true,testID:getTestID(scene),accessible:getAccessible(scene),accessibilityLabel:accessibilityLabel,accessibilityTraits:isFocused?['button','selected']:'button',accessibilityComponentType:\"button\",accessibilityRole:\"button\",accessibilityStates:isFocused?['selected']:[],pressColor:pressColor,pressOpacity:pressOpacity,delayPressIn:0,onLayout:onLayout,onPress:onPress,onLongPress:onLongPress,style:tabContainerStyle,__source:{fileName:_jsxFileName,lineNumber:214}},React.createElement(_View.default,{pointerEvents:\"none\",style:[styles.item,tabStyle],__source:{fileName:_jsxFileName,lineNumber:231}},icon,label,badge!=null?React.createElement(_View.default,{style:styles.badge,__source:{fileName:_jsxFileName,lineNumber:234}},badge):null));}}]);return TabBarItem;}(React.Component);exports.default=TabBarItem;var styles=_StyleSheet.default.create({label:{margin:4,backgroundColor:'transparent'},icon:{margin:2},item:{flex:1,alignItems:'center',justifyContent:'center',padding:10,minHeight:48},badge:{position:'absolute',top:0,right:0}});","map":{"version":3,"sources":["TabBarItem.tsx"],"names":["DEFAULT_ACTIVE_COLOR","DEFAULT_INACTIVE_COLOR","TabBarItem","React","getActiveOpacity","memoize","routes","inputRange","Animated","outputRange","i","getInactiveOpacity","route","position","navigationState","renderLabelPassed","renderIcon","renderBadge","getLabelText","getTestID","getAccessibilityLabel","getAccessible","activeColor","inactiveColor","pressColor","pressOpacity","labelStyle","style","onLayout","onPress","onLongPress","tabIndex","isFocused","activeOpacity","inactiveOpacity","icon","label","activeIcon","focused","color","inactiveIcon","styles","opacity","StyleSheet","renderLabel","labelText","marginTop","activeLabel","inactiveLabel","tabStyle","isWidthSet","tabContainerStyle","flex","scene","accessibilityLabel","badge","margin","backgroundColor","item","alignItems","justifyContent","padding","minHeight","top","right"],"mappings":"ktBAAA,oD,4KASA,sEAEA,sFACA,0D,4FAgCA,GAAMA,CAAAA,oBAAoB,CAA1B,wBAAA,CACA,GAAMC,CAAAA,sBAAsB,CAA5B,0BAAA,CAEqBC,GAAAA,CAAAA,U,kcAGXE,gB,CAAmBC,qBACzB,SAAA,QAAA,CAAA,MAAA,CAAA,QAAA,CAAwE,CACtE,GAAIC,MAAM,CAANA,MAAAA,CAAJ,CAAA,CAAuB,CACrB,GAAMC,CAAAA,UAAU,CAAGD,MAAM,CAANA,GAAAA,CAAW,SAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAA9B,CAAmBA,CAAnB,CAEA,MAAOE,gCAAAA,WAAAA,CAAAA,QAAAA,CAA+B,CACpCD,UAAU,CAD0B,UAAA,CAEpCE,WAAW,CAAEF,UAAU,CAAVA,GAAAA,CAAe,SAAA,CAAA,CAAC,CAAA,MAAKG,CAAAA,CAAC,GAADA,QAAAA,CAAAA,CAAAA,CAAL,CAAA,CAF/B,CAEeH,CAFuB,CAA/BC,CAAP,CAHF,CAAA,IAOO,CACL,MAAA,EAAA,CAEH,CAZ+B,CAAPH,C,OAenBM,kB,CAAqBN,qBAAQ,SAAA,QAAA,CAAA,MAAA,CAAA,QAAA,CAAgC,CACnE,GAAIC,MAAM,CAANA,MAAAA,CAAJ,CAAA,CAAuB,CACrB,GAAMC,CAAAA,UAAU,CAAGD,MAAM,CAANA,GAAAA,CAAW,SAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAA9B,CAAmBA,CAAnB,CAEA,MAAOE,gCAAAA,WAAAA,CAAAA,QAAAA,CAA+B,CACpCD,UAAU,CAD0B,UAAA,CAEpCE,WAAW,CAAEF,UAAU,CAAVA,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zB,CARyB,CAe/BP,KAAK,CAAE,CACL1C,QAAQ,CADH,UAAA,CAELkD,GAAG,CAFE,CAAA,CAGLC,KAAK,CAlBT,CAeS,CAfwB,CAAlBrB,CAAf","sourcesContent":["import * as React from 'react';\nimport {\n StyleSheet,\n View,\n StyleProp,\n LayoutChangeEvent,\n TextStyle,\n ViewStyle,\n} from 'react-native';\nimport TouchableItem from './TouchableItem';\nimport { Scene, Route, NavigationState } from './types';\nimport Animated from 'react-native-reanimated';\nimport memoize from './memoize';\n\ntype Props<T extends Route> = {\n position: Animated.Node<number>;\n route: T;\n navigationState: NavigationState<T>;\n activeColor?: string;\n inactiveColor?: string;\n pressColor?: string;\n pressOpacity?: number;\n getLabelText: (scene: Scene<T>) => string | undefined;\n getAccessible: (scene: Scene<T>) => boolean | undefined;\n getAccessibilityLabel: (scene: Scene<T>) => string | undefined;\n getTestID: (scene: Scene<T>) => string | undefined;\n renderLabel?: (scene: {\n route: T;\n focused: boolean;\n color: string;\n }) => React.ReactNode;\n renderIcon?: (scene: {\n route: T;\n focused: boolean;\n color: string;\n }) => React.ReactNode;\n renderBadge?: (scene: Scene<T>) => React.ReactNode;\n onLayout?: (event: LayoutChangeEvent) => void;\n onPress: () => void;\n onLongPress: () => void;\n labelStyle?: StyleProp<TextStyle>;\n style: StyleProp<ViewStyle>;\n};\n\nconst DEFAULT_ACTIVE_COLOR = 'rgba(255, 255, 255, 1)';\nconst DEFAULT_INACTIVE_COLOR = 'rgba(255, 255, 255, 0.7)';\n\nexport default class TabBarItem<T extends Route> extends React.Component<\n Props<T>\n> {\n private getActiveOpacity = memoize(\n (position: Animated.Node<number>, routes: Route[], tabIndex: number) => {\n if (routes.length > 1) {\n const inputRange = routes.map((_, i) => i);\n\n return Animated.interpolate(position, {\n inputRange,\n outputRange: inputRange.map(i => (i === tabIndex ? 1 : 0)),\n });\n } else {\n return 1;\n }\n }\n );\n\n private getInactiveOpacity = memoize((position, routes, tabIndex) => {\n if (routes.length > 1) {\n const inputRange = routes.map((_: Route, i: number) => i);\n\n return Animated.interpolate(position, {\n inputRange,\n outputRange: inputRange.map((i: number) => (i === tabIndex ? 0 : 1)),\n });\n } else {\n return 0;\n }\n });\n\n render() {\n const {\n route,\n position,\n navigationState,\n renderLabel: renderLabelPassed,\n renderIcon,\n renderBadge,\n getLabelText,\n getTestID,\n getAccessibilityLabel,\n getAccessible,\n activeColor = DEFAULT_ACTIVE_COLOR,\n inactiveColor = DEFAULT_INACTIVE_COLOR,\n pressColor,\n pressOpacity,\n labelStyle,\n style,\n onLayout,\n onPress,\n onLongPress,\n } = this.props;\n\n const tabIndex = navigationState.routes.indexOf(route);\n const isFocused = navigationState.index === tabIndex;\n\n const activeOpacity = this.getActiveOpacity(\n position,\n navigationState.routes,\n tabIndex\n );\n const inactiveOpacity = this.getInactiveOpacity(\n position,\n navigationState.routes,\n tabIndex\n );\n\n let icon: React.ReactNode | null = null;\n let label: React.ReactNode | null = null;\n\n if (renderIcon) {\n const activeIcon = renderIcon({\n route,\n focused: true,\n color: activeColor,\n });\n const inactiveIcon = renderIcon({\n route,\n focused: false,\n color: inactiveColor,\n });\n\n if (inactiveIcon != null && activeIcon != null) {\n icon = (\n <View style={styles.icon}>\n <Animated.View style={{ opacity: inactiveOpacity }}>\n {inactiveIcon}\n </Animated.View>\n <Animated.View\n style={[StyleSheet.absoluteFill, { opacity: activeOpacity }]}\n >\n {activeIcon}\n </Animated.View>\n </View>\n );\n }\n }\n\n const renderLabel =\n renderLabelPassed !== undefined\n ? renderLabelPassed\n : ({ route, color }: { route: T; color: string }) => {\n const labelText = getLabelText({ route });\n\n if (typeof labelText === 'string') {\n return (\n <Animated.Text\n style={[\n styles.label,\n // eslint-disable-next-line react-native/no-inline-styles\n icon ? { marginTop: 0 } : null,\n { color },\n labelStyle,\n ]}\n >\n {labelText}\n </Animated.Text>\n );\n }\n\n return labelText;\n };\n\n if (renderLabel) {\n const activeLabel = renderLabel({\n route,\n focused: true,\n color: activeColor,\n });\n const inactiveLabel = renderLabel({\n route,\n focused: false,\n color: inactiveColor,\n });\n\n label = (\n <View>\n <Animated.View style={{ opacity: inactiveOpacity }}>\n {inactiveLabel}\n </Animated.View>\n <Animated.View\n style={[StyleSheet.absoluteFill, { opacity: activeOpacity }]}\n >\n {activeLabel}\n </Animated.View>\n </View>\n );\n }\n\n const tabStyle = StyleSheet.flatten(style);\n const isWidthSet = tabStyle && tabStyle.width !== undefined;\n const tabContainerStyle: ViewStyle | null = isWidthSet ? null : { flex: 1 };\n\n const scene = { route };\n\n let accessibilityLabel = getAccessibilityLabel(scene);\n\n accessibilityLabel =\n typeof accessibilityLabel !== 'undefined'\n ? accessibilityLabel\n : getLabelText(scene);\n\n const badge = renderBadge ? renderBadge(scene) : null;\n\n return (\n <TouchableItem\n borderless\n testID={getTestID(scene)}\n accessible={getAccessible(scene)}\n accessibilityLabel={accessibilityLabel}\n accessibilityTraits={isFocused ? ['button', 'selected'] : 'button'}\n accessibilityComponentType=\"button\"\n accessibilityRole=\"button\"\n accessibilityStates={isFocused ? ['selected'] : []}\n pressColor={pressColor}\n pressOpacity={pressOpacity}\n delayPressIn={0}\n onLayout={onLayout}\n onPress={onPress}\n onLongPress={onLongPress}\n style={tabContainerStyle}\n >\n <View pointerEvents=\"none\" style={[styles.item, tabStyle]}>\n {icon}\n {label}\n {badge != null ? <View style={styles.badge}>{badge}</View> : null}\n </View>\n </TouchableItem>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n label: {\n margin: 4,\n backgroundColor: 'transparent',\n },\n icon: {\n margin: 2,\n },\n item: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n padding: 10,\n minHeight: 48,\n },\n badge: {\n position: 'absolute',\n top: 0,\n right: 0,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _EventSubscription2=_interopRequireDefault(require(\"./EventSubscription\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var EmitterSubscription=function(_EventSubscription){_inheritsLoose(EmitterSubscription,_EventSubscription);function EmitterSubscription(emitter,subscriber,listener,context){var _this;_this=_EventSubscription.call(this,subscriber)||this;_this.emitter=emitter;_this.listener=listener;_this.context=context;return _this;}var _proto=EmitterSubscription.prototype;_proto.remove=function remove(){this.emitter.removeSubscription(this);};return EmitterSubscription;}(_EventSubscription2.default);var _default=EmitterSubscription;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/emitter/EmitterSubscription.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","EmitterSubscription","_EventSubscription","emitter","subscriber","listener","context","_this","call","_proto","remove","removeSubscription","EventSubscription"],"mappings":"AASA,a,mKAIA,+EAFA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAOvL,GAAIM,CAAAA,mBAAmB,CAEvB,SAAUC,kBAAV,CAA8B,CAC5BT,cAAc,CAACQ,mBAAD,CAAsBC,kBAAtB,CAAd,CAYA,QAASD,CAAAA,mBAAT,CAA6BE,OAA7B,CAAsCC,UAAtC,CAAkDC,QAAlD,CAA4DC,OAA5D,CAAqE,CACnE,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGL,kBAAkB,CAACM,IAAnB,CAAwB,IAAxB,CAA8BJ,UAA9B,GAA6C,IAArD,CACAG,KAAK,CAACJ,OAAN,CAAgBA,OAAhB,CACAI,KAAK,CAACF,QAAN,CAAiBA,QAAjB,CACAE,KAAK,CAACD,OAAN,CAAgBA,OAAhB,CACA,MAAOC,CAAAA,KAAP,CACD,CASD,GAAIE,CAAAA,MAAM,CAAGR,mBAAmB,CAACL,SAAjC,CAEAa,MAAM,CAACC,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,KAAKP,OAAL,CAAaQ,kBAAb,CAAgC,IAAhC,EACD,CAFD,CAIA,MAAOV,CAAAA,mBAAP,CACD,CArCD,CAqCEW,2BArCF,CAFA,C,aAyCeX,mB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule EmitterSubscription\n * \n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport EventSubscription from './EventSubscription';\n\n/**\n * EmitterSubscription represents a subscription with listener and context data.\n */\nvar EmitterSubscription =\n/*#__PURE__*/\nfunction (_EventSubscription) {\n _inheritsLoose(EmitterSubscription, _EventSubscription);\n\n /**\n * @param {EventEmitter} emitter - The event emitter that registered this\n * subscription\n * @param {EventSubscriptionVendor} subscriber - The subscriber that controls\n * this subscription\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n function EmitterSubscription(emitter, subscriber, listener, context) {\n var _this;\n\n _this = _EventSubscription.call(this, subscriber) || this;\n _this.emitter = emitter;\n _this.listener = listener;\n _this.context = context;\n return _this;\n }\n /**\n * Removes this subscription from the emitter that registered it.\n * Note: we're overriding the `remove()` method of EventSubscription here\n * but deliberately not calling `super.remove()` as the responsibility\n * for removing the subscription lies with the EventEmitter.\n */\n\n\n var _proto = EmitterSubscription.prototype;\n\n _proto.remove = function remove() {\n this.emitter.removeSubscription(this);\n };\n\n return EmitterSubscription;\n}(EventSubscription);\n\nexport default EmitterSubscription;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var isDisabled=function isDisabled(props){return props.disabled||Array.isArray(props.accessibilityStates)&&props.accessibilityStates.indexOf('disabled')>-1;};var _default=isDisabled;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AccessibilityUtil/isDisabled.js"],"names":["isDisabled","props","disabled","Array","isArray","accessibilityStates","indexOf"],"mappings":"gFAQA,GAAIA,CAAAA,UAAU,CAAG,QAASA,CAAAA,UAAT,CAAoBC,KAApB,CAA2B,CAC1C,MAAOA,CAAAA,KAAK,CAACC,QAAN,EAAkBC,KAAK,CAACC,OAAN,CAAcH,KAAK,CAACI,mBAApB,GAA4CJ,KAAK,CAACI,mBAAN,CAA0BC,OAA1B,CAAkC,UAAlC,EAAgD,CAAC,CAAtH,CACD,CAFD,C,aAIeN,U","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar isDisabled = function isDisabled(props) {\n return props.disabled || Array.isArray(props.accessibilityStates) && props.accessibilityStates.indexOf('disabled') > -1;\n};\n\nexport default isDisabled;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _Animation2=_interopRequireDefault(require(\"./Animation\"));var _decay=_interopRequireDefault(require(\"./decay\"));var _base=require(\"../base\");var _AnimatedClock=_interopRequireDefault(require(\"../core/AnimatedClock\"));var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));var DecayAnimation=function(_Animation){(0,_inherits2.default)(DecayAnimation,_Animation);function DecayAnimation(config){var _this;(0,_classCallCheck2.default)(this,DecayAnimation);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(DecayAnimation).call(this));_this._deceleration=config.deceleration!==undefined?config.deceleration:0.998;_this._velocity=config.velocity;return _this;}(0,_createClass2.default)(DecayAnimation,[{key:\"start\",value:function start(value){this._clock=new _AnimatedClock.default();var state={finished:new _InternalAnimatedValue.default(0),velocity:new _InternalAnimatedValue.default(this._velocity),position:value,time:new _InternalAnimatedValue.default(0)};var config={deceleration:this._deceleration};return(0,_base.block)([(0,_base.cond)((0,_base.clockRunning)(this._clock),0,[(0,_base.startClock)(this._clock)]),(0,_decay.default)(this._clock,state,config),(0,_base.cond)(state.finished,(0,_base.stopClock)(this._clock))]);}},{key:\"stop\",value:function stop(){}}],[{key:\"getDefaultState\",value:function getDefaultState(){return{position:new _InternalAnimatedValue.default(0),finished:new _InternalAnimatedValue.default(0),time:new _InternalAnimatedValue.default(0),velocity:new _InternalAnimatedValue.default(0)};}}]);return DecayAnimation;}(_Animation2.default);var _default=DecayAnimation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/DecayAnimation.js"],"names":["DecayAnimation","config","_deceleration","deceleration","undefined","_velocity","velocity","value","_clock","Clock","state","finished","AnimatedValue","position","time","Animation"],"mappings":"6nBAAA,+DAEA,sDACA,6BACA,4EACA,4F,GAEMA,CAAAA,c,wEACJ,wBAAYC,MAAZ,CAAoB,6DAClB,4GACA,MAAKC,aAAL,CACED,MAAM,CAACE,YAAP,GAAwBC,SAAxB,CAAoCH,MAAM,CAACE,YAA3C,CAA0D,KAD5D,CAEA,MAAKE,SAAL,CAAiBJ,MAAM,CAACK,QAAxB,CAJkB,aAKnB,C,4EAEKC,K,CAAO,CACX,KAAKC,MAAL,CAAc,GAAIC,uBAAJ,EAAd,CACA,GAAMC,CAAAA,KAAK,CAAG,CACZC,QAAQ,CAAE,GAAIC,+BAAJ,CAAkB,CAAlB,CADE,CAEZN,QAAQ,CAAE,GAAIM,+BAAJ,CAAkB,KAAKP,SAAvB,CAFE,CAGZQ,QAAQ,CAAEN,KAHE,CAIZO,IAAI,CAAE,GAAIF,+BAAJ,CAAkB,CAAlB,CAJM,CAAd,CAOA,GAAMX,CAAAA,MAAM,CAAG,CACbE,YAAY,CAAE,KAAKD,aADN,CAAf,CAIA,MAAO,gBAAM,CACX,eAAK,uBAAa,KAAKM,MAAlB,CAAL,CAAgC,CAAhC,CAAmC,CAAC,qBAAW,KAAKA,MAAhB,CAAD,CAAnC,CADW,CAEX,mBAAM,KAAKA,MAAX,CAAmBE,KAAnB,CAA0BT,MAA1B,CAFW,CAGX,eAAKS,KAAK,CAACC,QAAX,CAAqB,oBAAU,KAAKH,MAAf,CAArB,CAHW,CAAN,CAAP,CAKD,C,mCAEM,CAEN,C,2DACwB,CACvB,MAAO,CACLK,QAAQ,CAAE,GAAID,+BAAJ,CAAkB,CAAlB,CADL,CAELD,QAAQ,CAAE,GAAIC,+BAAJ,CAAkB,CAAlB,CAFL,CAGLE,IAAI,CAAE,GAAIF,+BAAJ,CAAkB,CAAlB,CAHD,CAILN,QAAQ,CAAE,GAAIM,+BAAJ,CAAkB,CAAlB,CAJL,CAAP,CAMD,C,4BAtC0BG,mB,eAyCdf,c","sourcesContent":["import Animation from './Animation';\n\nimport decay from './decay';\nimport { block, clockRunning, startClock, stopClock, cond } from '../base';\nimport Clock from '../core/AnimatedClock';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nclass DecayAnimation extends Animation {\n constructor(config) {\n super();\n this._deceleration =\n config.deceleration !== undefined ? config.deceleration : 0.998;\n this._velocity = config.velocity;\n }\n\n start(value) {\n this._clock = new Clock();\n const state = {\n finished: new AnimatedValue(0),\n velocity: new AnimatedValue(this._velocity),\n position: value,\n time: new AnimatedValue(0),\n };\n\n const config = {\n deceleration: this._deceleration,\n };\n\n return block([\n cond(clockRunning(this._clock), 0, [startClock(this._clock)]),\n decay(this._clock, state, config),\n cond(state.finished, stopClock(this._clock)),\n ]);\n }\n\n stop() {\n // not implemented yet\n }\n static getDefaultState() {\n return {\n position: new AnimatedValue(0),\n finished: new AnimatedValue(0),\n time: new AnimatedValue(0),\n velocity: new AnimatedValue(0),\n };\n }\n}\n\nexport default DecayAnimation;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../../modules/UnimplementedView\"));var _Platform=_interopRequireDefault(require(\"../../../exports/Platform\"));var _react=_interopRequireDefault(require(\"react\"));var _ScrollView=_interopRequireDefault(require(\"../../../exports/ScrollView\"));var _VirtualizedSectionList=_interopRequireDefault(require(\"../VirtualizedSectionList\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var defaultProps=_objectSpread({},_VirtualizedSectionList.default.defaultProps,{stickySectionHeadersEnabled:_Platform.default.OS==='ios'});var SectionList=function(_React$PureComponent){_inheritsLoose(SectionList,_React$PureComponent);function SectionList(){var _this;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=_React$PureComponent.call.apply(_React$PureComponent,[this].concat(args))||this;_this._captureRef=function(ref){_this._wrapperListRef=ref;};return _this;}var _proto=SectionList.prototype;_proto.scrollToLocation=function scrollToLocation(params){this._wrapperListRef.scrollToLocation(params);};_proto.recordInteraction=function recordInteraction(){var listRef=this._wrapperListRef&&this._wrapperListRef.getListRef();listRef&&listRef.recordInteraction();};_proto.flashScrollIndicators=function flashScrollIndicators(){var listRef=this._wrapperListRef&&this._wrapperListRef.getListRef();listRef&&listRef.flashScrollIndicators();};_proto.getScrollResponder=function getScrollResponder(){var listRef=this._wrapperListRef&&this._wrapperListRef.getListRef();if(listRef){return listRef.getScrollResponder();}};_proto.getScrollableNode=function getScrollableNode(){var listRef=this._wrapperListRef&&this._wrapperListRef.getListRef();if(listRef){return listRef.getScrollableNode();}};_proto.setNativeProps=function setNativeProps(props){var listRef=this._wrapperListRef&&this._wrapperListRef.getListRef();if(listRef){listRef.setNativeProps(props);}};_proto.render=function render(){var List=this.props.legacyImplementation?_UnimplementedView.default:_VirtualizedSectionList.default;return _react.default.createElement(List,_extends({},this.props,{ref:this._captureRef}));};return SectionList;}(_react.default.PureComponent);SectionList.defaultProps=defaultProps;var _default=SectionList;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/SectionList/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_inheritsLoose","subClass","superClass","create","constructor","__proto__","_objectSpread","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","defaultProps","VirtualizedSectionList","stickySectionHeadersEnabled","Platform","OS","SectionList","_React$PureComponent","_this","_len","args","Array","_key","_captureRef","ref","_wrapperListRef","_proto","scrollToLocation","params","recordInteraction","listRef","getListRef","flashScrollIndicators","getScrollResponder","getScrollableNode","setNativeProps","props","render","List","legacyImplementation","UnimplementedView","React","createElement","PureComponent"],"mappings":"mKAiBA,6FACA,2EACA,oDACA,+EACA,yFArBA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAE7T,QAASQ,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACL,SAAT,CAAqBR,MAAM,CAACe,MAAP,CAAcD,UAAU,CAACN,SAAzB,CAArB,CAA0DK,QAAQ,CAACL,SAAT,CAAmBQ,WAAnB,CAAiCH,QAAjC,CAA2CA,QAA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O6B,gBAAMC,aAAN,CAAoBJ,IAApB,CAA0B9D,QAAQ,CAAC,EAAD,CAAK,KAAK4D,KAAV,CAAiB,CACxDZ,GAAG,CAAE,KAAKD,WAD8C,CAAjB,CAAlC,CAAP,CAGD,CATD,CAWA,MAAOP,CAAAA,WAAP,CACD,CAtGD,CAsGEyB,eAAME,aAtGR,CAFA,CA0GA3B,WAAW,CAACL,YAAZ,CAA2BA,YAA3B,C,aACeK,W","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport UnimplementedView from '../../../modules/UnimplementedView';\nimport Platform from '../../../exports/Platform';\nimport React from 'react';\nimport ScrollView from '../../../exports/ScrollView';\nimport VirtualizedSectionList from '../VirtualizedSectionList';\n\nvar defaultProps = _objectSpread({}, VirtualizedSectionList.defaultProps, {\n stickySectionHeadersEnabled: Platform.OS === 'ios'\n});\n\n/**\n * A performant interface for rendering sectioned lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Configurable viewability callbacks.\n * - List header support.\n * - List footer support.\n * - Item separator support.\n * - Section header support.\n * - Section separator support.\n * - Heterogeneous data and item rendering support.\n * - Pull to Refresh.\n * - Scroll loading.\n *\n * If you don't need section support and want a simpler interface, use\n * [`<FlatList>`](/react-native/docs/flatlist.html).\n *\n * Simple Examples:\n *\n * <SectionList\n * renderItem={({item}) => <ListItem title={item} />}\n * renderSectionHeader={({section}) => <Header title={section.title} />}\n * sections={[ // homogeneous rendering between sections\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * ]}\n * />\n *\n * <SectionList\n * sections={[ // heterogeneous rendering between sections\n * {data: [...], renderItem: ...},\n * {data: [...], renderItem: ...},\n * {data: [...], renderItem: ...},\n * ]}\n * />\n *\n * This is a convenience wrapper around [`<VirtualizedList>`](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate and momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n */\nvar SectionList =\n/*#__PURE__*/\nfunction (_React$PureComponent) {\n _inheritsLoose(SectionList, _React$PureComponent);\n\n function SectionList() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$PureComponent.call.apply(_React$PureComponent, [this].concat(args)) || this;\n\n _this._captureRef = function (ref) {\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n _this._wrapperListRef = ref;\n };\n\n return _this;\n }\n\n var _proto = SectionList.prototype;\n\n /**\n * Scrolls to the item at the specified `sectionIndex` and `itemIndex` (within the section)\n * positioned in the viewable area such that `viewPosition` 0 places it at the top (and may be\n * covered by a sticky header), 1 at the bottom, and 0.5 centered in the middle. `viewOffset` is a\n * fixed number of pixels to offset the final target position, e.g. to compensate for sticky\n * headers.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n _proto.scrollToLocation = function scrollToLocation(params) {\n this._wrapperListRef.scrollToLocation(params);\n }\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n ;\n\n _proto.recordInteraction = function recordInteraction() {\n var listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n\n listRef && listRef.recordInteraction();\n }\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n ;\n\n _proto.flashScrollIndicators = function flashScrollIndicators() {\n var listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n\n listRef && listRef.flashScrollIndicators();\n }\n /**\n * Provides a handle to the underlying scroll responder.\n */\n ;\n\n _proto.getScrollResponder = function getScrollResponder() {\n var listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n\n if (listRef) {\n return listRef.getScrollResponder();\n }\n };\n\n _proto.getScrollableNode = function getScrollableNode() {\n var listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n\n if (listRef) {\n return listRef.getScrollableNode();\n }\n };\n\n _proto.setNativeProps = function setNativeProps(props) {\n var listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n\n if (listRef) {\n listRef.setNativeProps(props);\n }\n };\n\n _proto.render = function render() {\n var List = this.props.legacyImplementation ? UnimplementedView : VirtualizedSectionList;\n /* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.66 was deployed. To see the error delete this\n * comment and run Flow. */\n\n return React.createElement(List, _extends({}, this.props, {\n ref: this._captureRef\n }));\n };\n\n return SectionList;\n}(React.PureComponent);\n\nSectionList.defaultProps = defaultProps;\nexport default SectionList;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedFunction=createAnimatedFunction;var _construct2=_interopRequireDefault(require(\"@babel/runtime/helpers/construct\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedCallFunc=require(\"./AnimatedCallFunc\");var _AnimatedParam=require(\"./AnimatedParam\");var _val=require(\"../val\");var AnimatedFunction=function(_AnimatedNode){(0,_inherits2.default)(AnimatedFunction,_AnimatedNode);function AnimatedFunction(what){var _this;(0,_classCallCheck2.default)(this,AnimatedFunction);for(var _len=arguments.length,params=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){params[_key-1]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedFunction).call(this,{type:'func',what:what.__nodeID},[what].concat(params)));_this._what=what;_this.__attach();return _this;}(0,_createClass2.default)(AnimatedFunction,[{key:\"__onEvaluate\",value:function __onEvaluate(){return(0,_val.val)(this._what);}}]);return AnimatedFunction;}(_AnimatedNode2.default);function createAnimatedFunction(cb){var params=new Array(cb.length);for(var i=0;i<params.length;i++){params[i]=(0,_AnimatedParam.createAnimatedParam)();}var what=cb.apply(void 0,params);var func=(0,_construct2.default)(AnimatedFunction,[what].concat(params));return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2];}if(args.length!==params.length){throw new Error('Parameter mismatch when calling reanimated function. Expected '+params.length+' parameters, got '+args.length+'.');}return(0,_AnimatedCallFunc.createAnimatedCallFunc)(func,args,params);};}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedFunction.js"],"names":["AnimatedFunction","what","params","type","__nodeID","_what","__attach","AnimatedNode","createAnimatedFunction","cb","Array","length","i","func","args","Error"],"mappings":"gvBAAA,qEACA,oDACA,8CACA,2B,GAEMA,CAAAA,gB,gFAGJ,0BAAYC,IAAZ,CAA6B,6FAARC,MAAQ,qDAARA,MAAQ,0BAC3B,4GACE,CACEC,IAAI,CAAE,MADR,CAEEF,IAAI,CAAEA,IAAI,CAACG,QAFb,CADF,EAKGH,IALH,SAKYC,MALZ,IAOA,MAAKG,KAAL,CAAaJ,IAAb,CACA,MAAKK,QAAL,GAT2B,aAU5B,C,6FAEc,CACb,MAAO,aAAI,KAAKD,KAAT,CAAP,CACD,C,8BAjB4BE,sB,EAoBxB,QAASC,CAAAA,sBAAT,CAAgCC,EAAhC,CAAoC,CACzC,GAAMP,CAAAA,MAAM,CAAG,GAAIQ,CAAAA,KAAJ,CAAUD,EAAE,CAACE,MAAb,CAAf,CACA,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGV,MAAM,CAACS,MAA3B,CAAmCC,CAAC,EAApC,CAAwC,CACtCV,MAAM,CAACU,CAAD,CAAN,CAAY,wCAAZ,CACD,CACD,GAAMX,CAAAA,IAAI,CAAGQ,EAAE,MAAF,QAAMP,MAAN,CAAb,CACA,GAAMW,CAAAA,IAAI,yBAAOb,gBAAP,EAAwBC,IAAxB,SAAiCC,MAAjC,EAAV,CACA,MAAO,WAAa,gCAATY,IAAS,+CAATA,IAAS,0BAClB,GAAIA,IAAI,CAACH,MAAL,GAAgBT,MAAM,CAACS,MAA3B,CAAmC,CACjC,KAAM,IAAII,CAAAA,KAAJ,CACJ,iEACEb,MAAM,CAACS,MADT,CAEE,mBAFF,CAGEG,IAAI,CAACH,MAHP,CAIE,GALE,CAAN,CAOD,CACD,MAAO,6CAAuBE,IAAvB,CAA6BC,IAA7B,CAAmCZ,MAAnC,CAAP,CACD,CAXD,CAYD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { createAnimatedCallFunc } from './AnimatedCallFunc';\nimport { createAnimatedParam } from './AnimatedParam';\nimport { val } from '../val';\n\nclass AnimatedFunction extends AnimatedNode {\n _what;\n\n constructor(what, ...params) {\n super(\n {\n type: 'func',\n what: what.__nodeID,\n },\n [what, ...params]\n );\n this._what = what;\n this.__attach();\n }\n\n __onEvaluate() {\n return val(this._what);\n }\n}\n\nexport function createAnimatedFunction(cb) {\n const params = new Array(cb.length);\n for (let i = 0; i < params.length; i++) {\n params[i] = createAnimatedParam();\n }\n const what = cb(...params);\n const func = new AnimatedFunction(what, ...params);\n return (...args) => {\n if (args.length !== params.length) {\n throw new Error(\n 'Parameter mismatch when calling reanimated function. Expected ' +\n params.length +\n ' parameters, got ' +\n args.length +\n '.'\n );\n }\n return createAnimatedCallFunc(func, args, params);\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createNavigationAwareScrollable;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _hoistNonReactStatics=_interopRequireDefault(require(\"hoist-non-react-statics\"));var _core=require(\"@react-navigation/core\");function createNavigationAwareScrollable(Component){var _class,_temp;var ComponentWithNavigationScrolling=(0,_core.withNavigation)((_temp=_class=function(_React$PureComponent){(0,_inherits2.default)(_class,_React$PureComponent);function _class(){(0,_classCallCheck2.default)(this,_class);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf3.default)(_class).apply(this,arguments));}(0,_createClass2.default)(_class,[{key:\"componentDidMount\",value:function componentDidMount(){var _this=this;this._subscription=this.props.navigation.addListener('refocus',function(){var scrollableNode=_this.getNode();if(_this.props.navigation.isFocused()&&scrollableNode!==null){if(scrollableNode.scrollToTop!=null){scrollableNode.scrollToTop();}else if(scrollableNode.scrollTo!=null){scrollableNode.scrollTo({y:0});}else if(scrollableNode.scrollResponderScrollTo!=null){scrollableNode.scrollResponderScrollTo({y:0});}}});}},{key:\"getNode\",value:function getNode(){if(this._scrollRef===null){return null;}if(this._scrollRef.getScrollResponder){return this._scrollRef.getScrollResponder();}else if(this._scrollRef.getNode){return this._scrollRef.getNode();}else{return this._scrollRef;}}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){if(this._subscription!=null){this._subscription.remove();}}},{key:\"render\",value:function render(){var _this2=this;return _react.default.createElement(Component,(0,_extends2.default)({ref:function ref(view){_this2._scrollRef=view;}},this.props));}}]);return _class;}(_react.default.PureComponent),_class.displayName=\"withNavigationScrolling(\"+(Component.displayName||Component.name)+\")\",_temp));var NavigationAwareScrollable=function(_React$PureComponent2){(0,_inherits2.default)(NavigationAwareScrollable,_React$PureComponent2);function NavigationAwareScrollable(){var _getPrototypeOf2;var _this3;(0,_classCallCheck2.default)(this,NavigationAwareScrollable);for(var _len=arguments.length,_args=new Array(_len),_key=0;_key<_len;_key++){_args[_key]=arguments[_key];}_this3=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(NavigationAwareScrollable)).call.apply(_getPrototypeOf2,[this].concat(_args)));_this3._captureRef=function(view){_this3._innerRef=view;_this3.props.onRef&&_this3.props.onRef(view);};_this3.setNativeProps=function(){var _this3$_innerRef$getN;return(_this3$_innerRef$getN=_this3._innerRef.getNode()).setNativeProps.apply(_this3$_innerRef$getN,arguments);};_this3.getScrollResponder=function(){var _this3$_innerRef$getN2;return(_this3$_innerRef$getN2=_this3._innerRef.getNode()).getScrollResponder.apply(_this3$_innerRef$getN2,arguments);};_this3.getScrollableNode=function(){var _this3$_innerRef$getN3;return(_this3$_innerRef$getN3=_this3._innerRef.getNode()).getScrollableNode.apply(_this3$_innerRef$getN3,arguments);};_this3.getInnerViewNode=function(){var _this3$_innerRef$getN4;return(_this3$_innerRef$getN4=_this3._innerRef.getNode()).getInnerViewNode.apply(_this3$_innerRef$getN4,arguments);};_this3.scrollTo=function(){var _this3$_innerRef$getN5;return(_this3$_innerRef$getN5=_this3._innerRef.getNode()).scrollTo.apply(_this3$_innerRef$getN5,arguments);};_this3.scrollToEnd=function(){var _this3$_innerRef$getN6;return(_this3$_innerRef$getN6=_this3._innerRef.getNode()).scrollToEnd.apply(_this3$_innerRef$getN6,arguments);};_this3.scrollWithoutAnimationTo=function(){var _this3$_innerRef$getN7;return(_this3$_innerRef$getN7=_this3._innerRef.getNode()).scrollWithoutAnimationTo.apply(_this3$_innerRef$getN7,arguments);};_this3.flashScrollIndicators=function(){var _this3$_innerRef$getN8;return(_this3$_innerRef$getN8=_this3._innerRef.getNode()).flashScrollIndicators.apply(_this3$_innerRef$getN8,arguments);};return _this3;}(0,_createClass2.default)(NavigationAwareScrollable,[{key:\"render\",value:function render(){return _react.default.createElement(ComponentWithNavigationScrolling,(0,_extends2.default)({},this.props,{onRef:this._captureRef}));}}]);return NavigationAwareScrollable;}(_react.default.PureComponent);NavigationAwareScrollable.displayName=\"NavigationAwareScrollable(\"+(Component.displayName||Component.name)+\")\";return(0,_hoistNonReactStatics.default)(NavigationAwareScrollable,Component);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/createNavigationAwareScrollable.js"],"names":["createNavigationAwareScrollable","Component","ComponentWithNavigationScrolling","_subscription","props","navigation","addListener","scrollableNode","getNode","isFocused","scrollToTop","scrollTo","y","scrollResponderScrollTo","_scrollRef","getScrollResponder","remove","view","React","PureComponent","displayName","name","NavigationAwareScrollable","_captureRef","_innerRef","onRef","setNativeProps","getScrollableNode","getInnerViewNode","scrollToEnd","scrollWithoutAnimationTo","flashScrollIndicators"],"mappings":"suBAAA,oDACA,qFACA,4CAEe,QAASA,CAAAA,+BAAT,CAAyCC,SAAzC,CAAoD,kBACjE,GAAMC,CAAAA,gCAAgC,CAAG,mYAGnB,gBAClB,KAAKC,aAAL,CAAqB,KAAKC,KAAL,CAAWC,UAAX,CAAsBC,WAAtB,CAAkC,SAAlC,CAA6C,UAAM,CACtE,GAAMC,CAAAA,cAAc,CAAG,KAAI,CAACC,OAAL,EAAvB,CACA,GAAI,KAAI,CAACJ,KAAL,CAAWC,UAAX,CAAsBI,SAAtB,IAAqCF,cAAc,GAAK,IAA5D,CAAkE,CAChE,GAAIA,cAAc,CAACG,WAAf,EAA8B,IAAlC,CAAwC,CACtCH,cAAc,CAACG,WAAf,GACD,CAFD,IAEO,IAAIH,cAAc,CAACI,QAAf,EAA2B,IAA/B,CAAqC,CAC1CJ,cAAc,CAACI,QAAf,CAAwB,CAAEC,CAAC,CAAE,CAAL,CAAxB,EACD,CAFM,IAEA,IAAIL,cAAc,CAACM,uBAAf,EAA0C,IAA9C,CAAoD,CACzDN,cAAc,CAACM,uBAAf,CAAuC,CAAED,CAA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BA9D+D,CA8D3C,UAAa,4BAC/B,MAAO,+BAAKH,SAAL,CAAehB,OAAf,IAAyBmB,iBAAzB,wCAAP,CACD,CAhE8D,QAkE/DC,gBAlE+D,CAkE5C,UAAa,4BAC9B,MAAO,+BAAKJ,SAAL,CAAehB,OAAf,IAAyBoB,gBAAzB,wCAAP,CACD,CApE8D,QAsE/DjB,QAtE+D,CAsEpD,UAAa,4BACtB,MAAO,+BAAKa,SAAL,CAAehB,OAAf,IAAyBG,QAAzB,wCAAP,CACD,CAxE8D,QA0E/DkB,WA1E+D,CA0EjD,UAAa,4BACzB,MAAO,+BAAKL,SAAL,CAAehB,OAAf,IAAyBqB,WAAzB,wCAAP,CACD,CA5E8D,QA8E/DC,wBA9E+D,CA8EpC,UAAa,4BACtC,MAAO,+BAAKN,SAAL,CAAehB,OAAf,IAAyBsB,wBAAzB,wCAAP,CACD,CAhF8D,QAkF/DC,qBAlF+D,CAkFvC,UAAa,4BACnC,MAAO,+BAAKP,SAAL,CAAehB,OAAf,IAAyBuB,qBAAzB,wCAAP,CACD,CApF8D,0GAsFtD,CACP,MAAO,8BAAC,gCAAD,0BAAsC,KAAK3B,KAA3C,EAAkD,KAAK,CAAE,KAAKmB,WAA9D,GAAP,CACD,CAxF8D,uCA8CzBL,eAAMC,aA9CmB,EA8C3DG,yBA9C2D,CA+CxDF,WA/CwD,+BA+CbnB,SAAS,CAACmB,WAAV,EAAyBnB,SAAS,CAACoB,IA/CtB,MA2FjE,MAAO,kCAAaC,yBAAb,CAAwCrB,SAAxC,CAAP,CACD","sourcesContent":["import React from 'react';\nimport hoistStatics from 'hoist-non-react-statics';\nimport { withNavigation } from '@react-navigation/core';\n\nexport default function createNavigationAwareScrollable(Component) {\n const ComponentWithNavigationScrolling = withNavigation(class extends React.PureComponent {\n static displayName = `withNavigationScrolling(${Component.displayName || Component.name})`;\n\n componentDidMount() {\n this._subscription = this.props.navigation.addListener('refocus', () => {\n const scrollableNode = this.getNode();\n if (this.props.navigation.isFocused() && scrollableNode !== null) {\n if (scrollableNode.scrollToTop != null) {\n scrollableNode.scrollToTop();\n } else if (scrollableNode.scrollTo != null) {\n scrollableNode.scrollTo({ y: 0 });\n } else if (scrollableNode.scrollResponderScrollTo != null) {\n scrollableNode.scrollResponderScrollTo({ y: 0 });\n }\n }\n });\n }\n\n getNode() {\n if (this._scrollRef === null) {\n return null;\n }\n\n if (this._scrollRef.getScrollResponder) {\n return this._scrollRef.getScrollResponder();\n } else if (this._scrollRef.getNode) {\n return this._scrollRef.getNode();\n } else {\n return this._scrollRef;\n }\n }\n\n componentWillUnmount() {\n if (this._subscription != null) {\n this._subscription.remove();\n }\n }\n\n render() {\n return <Component ref={view => {\n this._scrollRef = view;\n }} {...this.props} />;\n }\n });\n\n class NavigationAwareScrollable extends React.PureComponent {\n static displayName = `NavigationAwareScrollable(${Component.displayName || Component.name})`;\n\n _captureRef = view => {\n this._innerRef = view;\n this.props.onRef && this.props.onRef(view);\n };\n\n setNativeProps = (...args) => {\n return this._innerRef.getNode().setNativeProps(...args);\n };\n\n getScrollResponder = (...args) => {\n return this._innerRef.getNode().getScrollResponder(...args);\n };\n\n getScrollableNode = (...args) => {\n return this._innerRef.getNode().getScrollableNode(...args);\n };\n\n getInnerViewNode = (...args) => {\n return this._innerRef.getNode().getInnerViewNode(...args);\n };\n\n scrollTo = (...args) => {\n return this._innerRef.getNode().scrollTo(...args);\n };\n\n scrollToEnd = (...args) => {\n return this._innerRef.getNode().scrollToEnd(...args);\n };\n\n scrollWithoutAnimationTo = (...args) => {\n return this._innerRef.getNode().scrollWithoutAnimationTo(...args);\n };\n\n flashScrollIndicators = (...args) => {\n return this._innerRef.getNode().flashScrollIndicators(...args);\n };\n\n render() {\n return <ComponentWithNavigationScrolling {...this.props} onRef={this._captureRef} />;\n }\n }\n\n return hoistStatics(NavigationAwareScrollable, Component);\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.completeTransition=exports.replace=exports.reset=exports.push=exports.popToTop=exports.pop=exports.COMPLETE_TRANSITION=exports.REPLACE=exports.RESET=exports.PUSH=exports.POP_TO_TOP=exports.POP=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var POP='Navigation/POP';exports.POP=POP;var POP_TO_TOP='Navigation/POP_TO_TOP';exports.POP_TO_TOP=POP_TO_TOP;var PUSH='Navigation/PUSH';exports.PUSH=PUSH;var RESET='Navigation/RESET';exports.RESET=RESET;var REPLACE='Navigation/REPLACE';exports.REPLACE=REPLACE;var COMPLETE_TRANSITION='Navigation/COMPLETE_TRANSITION';exports.COMPLETE_TRANSITION=COMPLETE_TRANSITION;var pop=function pop(payload){return(0,_objectSpread2.default)({type:POP},payload);};exports.pop=pop;var popToTop=function popToTop(payload){return(0,_objectSpread2.default)({type:POP_TO_TOP},payload);};exports.popToTop=popToTop;var push=function push(payload){return(0,_objectSpread2.default)({type:PUSH},payload);};exports.push=push;var reset=function reset(payload){return(0,_objectSpread2.default)({type:RESET,key:null},payload);};exports.reset=reset;var replace=function replace(payload){return(0,_objectSpread2.default)({type:REPLACE},payload);};exports.replace=replace;var completeTransition=function completeTransition(payload){return(0,_objectSpread2.default)({type:COMPLETE_TRANSITION,preserveFocus:true},payload);};exports.completeTransition=completeTransition;","map":{"version":3,"sources":["StackActions.js"],"names":["POP","POP_TO_TOP","PUSH","RESET","REPLACE","COMPLETE_TRANSITION","pop","type","popToTop","push","reset","key","replace","completeTransition","preserveFocus"],"mappings":"4VAAA,0FAAO,GAAMA,CAAAA,GAAG,CAAT,gBAAA,C,gBACA,GAAMC,CAAAA,UAAU,CAAhB,uBAAA,C,8BACA,GAAMC,CAAAA,IAAI,CAAV,iBAAA,C,kBACA,GAAMC,CAAAA,KAAK,CAAX,kBAAA,C,oBACA,GAAMC,CAAAA,OAAO,CAAb,oBAAA,C,wBACA,GAAMC,CAAAA,mBAAmB,CAAzB,gCAAA,C,gDAEA,GAAMC,CAAAA,GAAG,CAAHA,QAAAA,CAAAA,GAAAA,CAAM,OAANA,CAAa,CAAA,MAAA,2BAAA,CACxBC,IAAI,CADoB,GAAA,CAAA,CAAA,OAAA,CAAA,CAAnB,CAAA,C,gBAKA,GAAMC,CAAAA,QAAQ,CAARA,QAAAA,CAAAA,QAAAA,CAAW,OAAXA,CAAkB,CAAA,MAAA,2BAAA,CAC7BD,IAAI,CADyB,UAAA,CAAA,CAAA,OAAA,CAAA,CAAxB,CAAA,C,0BAKA,GAAME,CAAAA,IAAI,CAAJA,QAAAA,CAAAA,IAAAA,CAAO,OAAPA,CAAc,CAAA,MAAA,2BAAA,CACzBF,IAAI,CADqB,IAAA,CAAA,CAAA,OAAA,CAAA,CAApB,CAAA,C,kBAKA,GAAMG,CAAAA,KAAK,CAALA,QAAAA,CAAAA,KAAAA,CAAQ,OAARA,CAAe,CAAA,MAAA,2BAAA,CAC1BH,IAAI,CADsB,KAAA,CAE1BI,GAAG,CAFuB,IAAA,CAAA,CAAA,OAAA,CAAA,CAArB,CAAA,C,oBAMA,GAAMC,CAAAA,OAAO,CAAPA,QAAAA,CAAAA,OAAAA,CAAU,OAAVA,CAAiB,CAAA,MAAA,2BAAA,CAC5BL,IAAI,CADwB,OAAA,CAAA,CAAA,OAAA,CAAA,CAAvB,CAAA,C,wBAKA,GAAMM,CAAAA,kBAAkB,CAAlBA,QAAAA,CAAAA,kBAAAA,CAAqB,OAArBA,CAA4B,CAAA,MAAA,2BAAA,CACvCN,IAAI,CADmC,mBAAA,CAEvCO,aAAa,CAF0B,IAAA,CAAA,CAAA,OAAA,CAAA,CAAlC,CAAA,C","sourcesContent":["export const POP = 'Navigation/POP';\nexport const POP_TO_TOP = 'Navigation/POP_TO_TOP';\nexport const PUSH = 'Navigation/PUSH';\nexport const RESET = 'Navigation/RESET';\nexport const REPLACE = 'Navigation/REPLACE';\nexport const COMPLETE_TRANSITION = 'Navigation/COMPLETE_TRANSITION';\n\nexport const pop = payload => ({\n type: POP,\n ...payload,\n});\n\nexport const popToTop = payload => ({\n type: POP_TO_TOP,\n ...payload,\n});\n\nexport const push = payload => ({\n type: PUSH,\n ...payload,\n});\n\nexport const reset = payload => ({\n type: RESET,\n key: null,\n ...payload,\n});\n\nexport const replace = payload => ({\n type: REPLACE,\n ...payload,\n});\n\nexport const completeTransition = payload => ({\n type: COMPLETE_TRANSITION,\n preserveFocus: true,\n ...payload,\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedCallFunc=createAnimatedCallFunc;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedBlock=require(\"./AnimatedBlock\");var _val=require(\"../val\");var AnimatedCallFunc=function(_AnimatedNode){(0,_inherits2.default)(AnimatedCallFunc,_AnimatedNode);function AnimatedCallFunc(what,args,params){var _this;(0,_classCallCheck2.default)(this,AnimatedCallFunc);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedCallFunc).call(this,{type:'callfunc',what:what.__nodeID,args:args.map(function(n){return n.__nodeID;}),params:params.map(function(n){return n.__nodeID;})},(0,_toConsumableArray2.default)(args)));_this._what=what;_this._args=args;_this._params=params;return _this;}(0,_createClass2.default)(AnimatedCallFunc,[{key:\"beginContext\",value:function beginContext(){var _this2=this;this._params.forEach(function(param,index){param.beginContext(_this2._args[index]);});}},{key:\"endContext\",value:function endContext(){this._params.forEach(function(param,index){param.endContext();});}},{key:\"__onEvaluate\",value:function __onEvaluate(){this.beginContext();var value=(0,_val.val)(this._what);this.endContext();return value;}}]);return AnimatedCallFunc;}(_AnimatedNode2.default);function createAnimatedCallFunc(proc,args,params){return new AnimatedCallFunc(proc,args.map(function(p){return(0,_AnimatedBlock.adapt)(p);}),params);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedCallFunc.js"],"names":["AnimatedCallFunc","what","args","params","type","__nodeID","map","n","_what","_args","_params","forEach","param","index","beginContext","endContext","value","AnimatedNode","createAnimatedCallFunc","proc","p"],"mappings":"gwBAAA,qEACA,8CACA,2B,GAEMA,CAAAA,gB,gFAIJ,0BAAYC,IAAZ,CAAkBC,IAAlB,CAAwBC,MAAxB,CAAgC,+DAC9B,4GACE,CACEC,IAAI,CAAE,UADR,CAEEH,IAAI,CAAEA,IAAI,CAACI,QAFb,CAGEH,IAAI,CAAEA,IAAI,CAACI,GAAL,CAAS,SAAAC,CAAC,QAAIA,CAAAA,CAAC,CAACF,QAAN,EAAV,CAHR,CAIEF,MAAM,CAAEA,MAAM,CAACG,GAAP,CAAW,SAAAC,CAAC,QAAIA,CAAAA,CAAC,CAACF,QAAN,EAAZ,CAJV,CADF,iCAOMH,IAPN,IASA,MAAKM,KAAL,CAAaP,IAAb,CACA,MAAKQ,KAAL,CAAaP,IAAb,CACA,MAAKQ,OAAL,CAAeP,MAAf,CAZ8B,aAa/B,C,6FAEc,iBACb,KAAKO,OAAL,CAAaC,OAAb,CAAqB,SAACC,KAAD,CAAQC,KAAR,CAAkB,CACrCD,KAAK,CAACE,YAAN,CAAmB,MAAI,CAACL,KAAL,CAAWI,KAAX,CAAnB,EACD,CAFD,EAGD,C,+CAEY,CACX,KAAKH,OAAL,CAAaC,OAAb,CAAqB,SAACC,KAAD,CAAQC,KAAR,CAAkB,CACrCD,KAAK,CAACG,UAAN,GACD,CAFD,EAGD,C,mDAEc,CACb,KAAKD,YAAL,GACA,GAAME,CAAAA,KAAK,CAAG,aAAI,KAAKR,KAAT,CAAd,CACA,KAAKO,UAAL,GACA,MAAOC,CAAAA,KAAP,CACD,C,8BApC4BC,sB,EAuCxB,QAASC,CAAAA,sBAAT,CAAgCC,IAAhC,CAAsCjB,IAAtC,CAA4CC,MAA5C,CAAoD,CACzD,MAAO,IAAIH,CAAAA,gBAAJ,CAAqBmB,IAArB,CAA2BjB,IAAI,CAACI,GAAL,CAAS,SAAAc,CAAC,QAAI,yBAAMA,CAAN,CAAJ,EAAV,CAA3B,CAAoDjB,MAApD,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { adapt } from './AnimatedBlock';\nimport { val } from '../val';\n\nclass AnimatedCallFunc extends AnimatedNode {\n _what;\n _args;\n _params;\n constructor(what, args, params) {\n super(\n {\n type: 'callfunc',\n what: what.__nodeID,\n args: args.map(n => n.__nodeID),\n params: params.map(n => n.__nodeID),\n },\n [...args]\n );\n this._what = what;\n this._args = args;\n this._params = params;\n }\n\n beginContext() {\n this._params.forEach((param, index) => {\n param.beginContext(this._args[index]);\n });\n }\n\n endContext() {\n this._params.forEach((param, index) => {\n param.endContext();\n });\n }\n\n __onEvaluate() {\n this.beginContext();\n const value = val(this._what);\n this.endContext();\n return value;\n }\n}\n\nexport function createAnimatedCallFunc(proc, args, params) {\n return new AnimatedCallFunc(proc, args.map(p => adapt(p)), params);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var d3Scale=_interopRequireWildcard(require(\"d3-scale\"));var array=_interopRequireWildcard(require(\"d3-array\"));var _reactNativeSvg=_interopRequireWildcard(require(\"react-native-svg\"));var XAxis=function(_PureComponent){(0,_inherits2.default)(XAxis,_PureComponent);function XAxis(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,XAxis);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(XAxis)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={width:0,height:0};return _this;}(0,_createClass2.default)(XAxis,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,width=_event$nativeEvent$la.width,height=_event$nativeEvent$la.height;if(width!==this.state.width){this.setState({width:width,height:height});}}},{key:\"_getX\",value:function _getX(domain){var _this$props=this.props,scale=_this$props.scale,spacingInner=_this$props.spacingInner,spacingOuter=_this$props.spacingOuter,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.left,left=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.right,right=_this$props$contentIn3===void 0?0:_this$props$contentIn3;var width=this.state.width;var x=scale().domain(domain).range([left,width-right]);if(scale===d3Scale.scaleBand){x.paddingInner([spacingInner]).paddingOuter([spacingOuter]);return function(value){return x(value)+x.bandwidth()/2;};}return x;}},{key:\"render\",value:function render(){var _this2=this;var _this$props2=this.props,style=_this$props2.style,scale=_this$props2.scale,data=_this$props2.data,xAccessor=_this$props2.xAccessor,formatLabel=_this$props2.formatLabel,numberOfTicks=_this$props2.numberOfTicks,svg=_this$props2.svg,children=_this$props2.children,min=_this$props2.min,max=_this$props2.max;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var values=data.map(function(item,index){return xAccessor({item:item,index:index});});var extent=array.extent(values);var domain=scale===d3Scale.scaleBand?values:[min||extent[0],max||extent[1]];var x=this._getX(domain);var ticks=numberOfTicks?x.ticks(numberOfTicks):values;var extraProps={x:x,ticks:ticks,width:width,height:height,formatLabel:formatLabel};return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flexGrow:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},_react.default.createElement(_Text.default,{style:{opacity:0,fontSize:svg.fontSize}},formatLabel(ticks[0],0)),height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{position:'absolute',top:0,left:0,height:height,width:width}},_react.default.createElement(_reactNativeSvg.G,null,_react.default.Children.map(children,function(child){return _react.default.cloneElement(child,extraProps);}),width>0&&ticks.map(function(value,index){var _ref=data[index]||{},_ref$svg=_ref.svg,valueSvg=_ref$svg===void 0?{}:_ref$svg;return _react.default.createElement(_reactNativeSvg.Text,(0,_extends2.default)({textAnchor:'middle',originX:x(value),alignmentBaseline:'hanging'},svg,valueSvg,{key:index,x:x(value)}),formatLabel(value,index));})))));}}]);return XAxis;}(_react.PureComponent);XAxis.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.object])).isRequired,spacingInner:_propTypes.default.number,spacingOuter:_propTypes.default.number,formatLabel:_propTypes.default.func,contentInset:_propTypes.default.shape({left:_propTypes.default.number,right:_propTypes.default.number}),scale:_propTypes.default.oneOf([d3Scale.scaleTime,d3Scale.scaleLinear,d3Scale.scaleBand]),numberOfTicks:_propTypes.default.number,xAccessor:_propTypes.default.func,svg:_propTypes.default.object,min:_propTypes.default.any,max:_propTypes.default.any};XAxis.defaultProps={spacingInner:0.05,spacingOuter:0.05,contentInset:{},svg:{},xAccessor:function xAccessor(_ref2){var index=_ref2.index;return index;},scale:d3Scale.scaleLinear,formatLabel:function formatLabel(value){return value;}};var _default=XAxis;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/x-axis.js"],"names":["XAxis","state","width","height","event","nativeEvent","layout","setState","domain","props","scale","spacingInner","spacingOuter","contentInset","left","right","x","range","d3Scale","scaleBand","paddingInner","paddingOuter","value","bandwidth","style","data","xAccessor","formatLabel","numberOfTicks","svg","children","min","max","length","values","map","item","index","extent","array","_getX","ticks","extraProps","flexGrow","_onLayout","opacity","fontSize","position","top","React","Children","child","cloneElement","valueSvg","PureComponent","propTypes","PropTypes","arrayOf","oneOfType","number","object","isRequired","func","shape","oneOf","scaleTime","scaleLinear","any","defaultProps"],"mappings":"kyBAAA,qDACA,6D,gKAEA,yDACA,uDACA,yE,GAEMA,CAAAA,K,0aACFC,K,CAAQ,CACJC,KAAK,CAAE,CADH,CAEJC,MAAM,CAAE,CAFJ,C,0FAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAGLC,MAHK,CAGKJ,KAHL,uBAGKA,KAHL,CAGYC,MAHZ,uBAGYA,MAHZ,CAOb,GAAID,KAAK,GAAK,KAAKD,KAAL,CAAWC,KAAzB,CAAgC,CAC5B,KAAKK,QAAL,CAAc,CAAEL,KAAK,CAALA,KAAF,CAASC,MAAM,CAANA,MAAT,CAAd,EACH,CACJ,C,oCAEKK,M,CAAQ,iBAMN,KAAKC,KANC,CAENC,KAFM,aAENA,KAFM,CAGNC,YAHM,aAGNA,YAHM,CAINC,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D,OAAO,CAACC,SAAjD,CAAhB,CATO,CAUdS,aAAa,CAAE4B,mBAAUG,MAVX,CAWdjC,SAAS,CAAE8B,mBAAUM,IAXP,CAYdjC,GAAG,CAAE2B,mBAAUI,MAZD,CAad7B,GAAG,CAAEyB,mBAAUW,GAbD,CAcdnC,GAAG,CAAEwB,mBAAUW,GAdD,CAAlB,CAiBAnE,KAAK,CAACoE,YAAN,CAAqB,CACjBzD,YAAY,CAAE,IADG,CAEjBC,YAAY,CAAE,IAFG,CAGjBC,YAAY,CAAE,EAHG,CAIjBgB,GAAG,CAAE,EAJY,CAKjBH,SAAS,CAAE,6BAAGW,CAAAA,KAAH,OAAGA,KAAH,OAAeA,CAAAA,KAAf,EALM,CAMjB3B,KAAK,CAAEQ,OAAO,CAACgD,WANE,CAOjBvC,WAAW,CAAE,qBAACL,KAAD,QAAWA,CAAAA,KAAX,EAPI,CAArB,C,aAUetB,K","sourcesContent":["import React, { PureComponent } from 'react'\nimport PropTypes from 'prop-types'\nimport { Text, View } from 'react-native'\nimport * as d3Scale from 'd3-scale'\nimport * as array from 'd3-array'\nimport Svg, { G, Text as SVGText } from 'react-native-svg'\n\nclass XAxis extends PureComponent {\n state = {\n width: 0,\n height: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { width, height },\n },\n } = event\n\n if (width !== this.state.width) {\n this.setState({ width, height })\n }\n }\n\n _getX(domain) {\n const {\n scale,\n spacingInner,\n spacingOuter,\n contentInset: { left = 0, right = 0 },\n } = this.props\n\n const { width } = this.state\n\n const x = scale()\n .domain(domain)\n .range([left, width - right])\n\n if (scale === d3Scale.scaleBand) {\n x.paddingInner([spacingInner]).paddingOuter([spacingOuter])\n\n //add half a bar to center label\n return (value) => x(value) + x.bandwidth() / 2\n }\n\n return x\n }\n\n render() {\n const { style, scale, data, xAccessor, formatLabel, numberOfTicks, svg, children, min, max } = this.props\n\n const { height, width } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const values = data.map((item, index) => xAccessor({ item, index }))\n const extent = array.extent(values)\n const domain = scale === d3Scale.scaleBand ? values : [min || extent[0], max || extent[1]]\n\n const x = this._getX(domain)\n const ticks = numberOfTicks ? x.ticks(numberOfTicks) : values\n\n const extraProps = {\n x,\n ticks,\n width,\n height,\n formatLabel,\n }\n\n return (\n <View style={style}>\n <View style={{ flexGrow: 1 }} onLayout={(event) => this._onLayout(event)}>\n {/*invisible text to allow for parent resizing*/}\n <Text style={{ opacity: 0, fontSize: svg.fontSize }}>{formatLabel(ticks[0], 0)}</Text>\n {height > 0 && width > 0 && (\n <Svg\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n height,\n width,\n }}\n >\n <G>\n {React.Children.map(children, (child) => {\n return React.cloneElement(child, extraProps)\n })}\n {// don't render labels if width isn't measured yet,\n // causes rendering issues\n width > 0 &&\n ticks.map((value, index) => {\n const { svg: valueSvg = {} } = data[index] || {}\n\n return (\n <SVGText\n textAnchor={'middle'}\n originX={x(value)}\n alignmentBaseline={'hanging'}\n {...svg}\n {...valueSvg}\n key={index}\n x={x(value)}\n >\n {formatLabel(value, index)}\n </SVGText>\n )\n })}\n </G>\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nXAxis.propTypes = {\n data: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.object])).isRequired,\n spacingInner: PropTypes.number,\n spacingOuter: PropTypes.number,\n formatLabel: PropTypes.func,\n contentInset: PropTypes.shape({\n left: PropTypes.number,\n right: PropTypes.number,\n }),\n scale: PropTypes.oneOf([d3Scale.scaleTime, d3Scale.scaleLinear, d3Scale.scaleBand]),\n numberOfTicks: PropTypes.number,\n xAccessor: PropTypes.func,\n svg: PropTypes.object,\n min: PropTypes.any,\n max: PropTypes.any,\n}\n\nXAxis.defaultProps = {\n spacingInner: 0.05,\n spacingOuter: 0.05,\n contentInset: {},\n svg: {},\n xAccessor: ({ index }) => index,\n scale: d3Scale.scaleLinear,\n formatLabel: (value) => value,\n}\n\nexport default XAxis\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.setRecoveryProps=setRecoveryProps;var _core=require(\"@unimodules/core\");var _ExponentErrorRecovery=_interopRequireDefault(require(\"./ExponentErrorRecovery\"));function setRecoveryProps(props){if(!_ExponentErrorRecovery.default.setRecoveryProps){throw new _core.UnavailabilityError('ErrorRecovery','setRecoveryProps');}_ExponentErrorRecovery.default.setRecoveryProps(props);}","map":{"version":3,"sources":["../../src/ErrorRecovery/ErrorRecovery.ts"],"names":[],"mappings":"sLAAA,sCACA,sFAEM,QAAU,CAAA,gBAAV,CAA2B,KAA3B,CAAwD,CAC5D,GAAI,CAAC,+BAAsB,gBAA3B,CAA6C,CAC3C,KAAM,IAAI,0BAAJ,CAAwB,eAAxB,CAAyC,kBAAzC,CAAN,CACD,CAED,+BAAsB,gBAAtB,CAAuC,KAAvC,EACD","sourcesContent":["import { UnavailabilityError } from '@unimodules/core';\nimport ExponentErrorRecovery from './ExponentErrorRecovery';\n\nexport function setRecoveryProps(props: { [key: string]: any }): void {\n if (!ExponentErrorRecovery.setRecoveryProps) {\n throw new UnavailabilityError('ErrorRecovery', 'setRecoveryProps');\n }\n\n ExponentErrorRecovery.setRecoveryProps(props);\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedValue=_interopRequireDefault(require(\"../nodes/AnimatedValue\"));var _AnimatedValueXY=_interopRequireDefault(require(\"../nodes/AnimatedValueXY\"));var _Animation2=_interopRequireDefault(require(\"./Animation\"));var _SpringConfig=_interopRequireDefault(require(\"../SpringConfig\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _NativeAnimatedHelper=require(\"../NativeAnimatedHelper\");function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function withDefault(value,defaultValue){if(value===undefined||value===null){return defaultValue;}return value;}var SpringAnimation=function(_Animation){_inheritsLoose(SpringAnimation,_Animation);function SpringAnimation(config){var _this;_this=_Animation.call(this)||this;_this._overshootClamping=withDefault(config.overshootClamping,false);_this._restDisplacementThreshold=withDefault(config.restDisplacementThreshold,0.001);_this._restSpeedThreshold=withDefault(config.restSpeedThreshold,0.001);_this._initialVelocity=withDefault(config.velocity,0);_this._lastVelocity=withDefault(config.velocity,0);_this._toValue=config.toValue;_this._delay=withDefault(config.delay,0);_this._useNativeDriver=(0,_NativeAnimatedHelper.shouldUseNativeDriver)(config);_this.__isInteraction=config.isInteraction!==undefined?config.isInteraction:true;_this.__iterations=config.iterations!==undefined?config.iterations:1;if(config.stiffness!==undefined||config.damping!==undefined||config.mass!==undefined){(0,_invariant.default)(config.bounciness===undefined&&config.speed===undefined&&config.tension===undefined&&config.friction===undefined,'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');_this._stiffness=withDefault(config.stiffness,100);_this._damping=withDefault(config.damping,10);_this._mass=withDefault(config.mass,1);}else if(config.bounciness!==undefined||config.speed!==undefined){(0,_invariant.default)(config.tension===undefined&&config.friction===undefined&&config.stiffness===undefined&&config.damping===undefined&&config.mass===undefined,'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');var springConfig=_SpringConfig.default.fromBouncinessAndSpeed(withDefault(config.bounciness,8),withDefault(config.speed,12));_this._stiffness=springConfig.stiffness;_this._damping=springConfig.damping;_this._mass=1;}else{var _springConfig=_SpringConfig.default.fromOrigamiTensionAndFriction(withDefault(config.tension,40),withDefault(config.friction,7));_this._stiffness=_springConfig.stiffness;_this._damping=_springConfig.damping;_this._mass=1;}(0,_invariant.default)(_this._stiffness>0,'Stiffness value must be greater than 0');(0,_invariant.default)(_this._damping>0,'Damping value must be greater than 0');(0,_invariant.default)(_this._mass>0,'Mass value must be greater than 0');return _this;}var _proto=SpringAnimation.prototype;_proto.__getNativeAnimationConfig=function __getNativeAnimationConfig(){return{type:'spring',overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:withDefault(this._initialVelocity,this._lastVelocity),toValue:this._toValue,iterations:this.__iterations};};_proto.start=function start(fromValue,onUpdate,onEnd,previousAnimation,animatedValue){var _this2=this;this.__active=true;this._startPosition=fromValue;this._lastPosition=this._startPosition;this._onUpdate=onUpdate;this.__onEnd=onEnd;this._lastTime=Date.now();this._frameTime=0.0;if(previousAnimation instanceof SpringAnimation){var internalState=previousAnimation.getInternalState();this._lastPosition=internalState.lastPosition;this._lastVelocity=internalState.lastVelocity;this._initialVelocity=this._lastVelocity;this._lastTime=internalState.lastTime;}var start=function start(){if(_this2._useNativeDriver){_this2.__startNativeAnimation(animatedValue);}else{_this2.onUpdate();}};if(this._delay){this._timeout=setTimeout(start,this._delay);}else{start();}};_proto.getInternalState=function getInternalState(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime};};_proto.onUpdate=function onUpdate(){var MAX_STEPS=64;var now=Date.now();if(now>this._lastTime+MAX_STEPS){now=this._lastTime+MAX_STEPS;}var deltaTime=(now-this._lastTime)/1000;this._frameTime+=deltaTime;var c=this._damping;var m=this._mass;var k=this._stiffness;var v0=-this._initialVelocity;var zeta=c/(2*Math.sqrt(k*m));var omega0=Math.sqrt(k/m);var omega1=omega0*Math.sqrt(1.0-zeta*zeta);var x0=this._toValue-this._startPosition;var position=0.0;var velocity=0.0;var t=this._frameTime;if(zeta<1){var envelope=Math.exp(-zeta*omega0*t);position=this._toValue-envelope*((v0+zeta*omega0*x0)/omega1*Math.sin(omega1*t)+x0*Math.cos(omega1*t));velocity=zeta*omega0*envelope*(Math.sin(omega1*t)*(v0+zeta*omega0*x0)/omega1+x0*Math.cos(omega1*t))-envelope*(Math.cos(omega1*t)*(v0+zeta*omega0*x0)-omega1*x0*Math.sin(omega1*t));}else{var _envelope=Math.exp(-omega0*t);position=this._toValue-_envelope*(x0+(v0+omega0*x0)*t);velocity=_envelope*(v0*(t*omega0-1)+t*x0*(omega0*omega0));}this._lastTime=now;this._lastPosition=position;this._lastVelocity=velocity;this._onUpdate(position);if(!this.__active){return;}var isOvershooting=false;if(this._overshootClamping&&this._stiffness!==0){if(this._startPosition<this._toValue){isOvershooting=position>this._toValue;}else{isOvershooting=position<this._toValue;}}var isVelocity=Math.abs(velocity)<=this._restSpeedThreshold;var isDisplacement=true;if(this._stiffness!==0){isDisplacement=Math.abs(this._toValue-position)<=this._restDisplacementThreshold;}if(isOvershooting||isVelocity&&isDisplacement){if(this._stiffness!==0){this._lastPosition=this._toValue;this._lastVelocity=0;this._onUpdate(this._toValue);}this.__debouncedOnEnd({finished:true});return;}this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this));};_proto.stop=function stop(){_Animation.prototype.stop.call(this);this.__active=false;clearTimeout(this._timeout);global.cancelAnimationFrame(this._animationFrame);this.__debouncedOnEnd({finished:false});};return SpringAnimation;}(_Animation2.default);var _default=SpringAnimation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/animations/SpringAnimation.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","withDefault","value","defaultValue","undefined","SpringAnimation","_Animation","config","_this","call","_overshootClamping","overshootClamping","_restDisplacementThreshold","restDisplacementThreshold","_restSpeedThreshold","restSpeedThreshold","_initialVelocity","velocity","_lastVelocity","_toValue","toValue","_delay","delay","_useNativeDriver","__isInteraction","isInteraction","__iterations","iterations","stiffness","damping","mass","bounciness","speed","tension","friction","_stiffness","_damping","_mass","springConfig","SpringConfig","fromBouncinessAndSpeed","_springConfig","fromOrigamiTensionAndFriction","_proto","__getNativeAnimationConfig","type","initialVelocity","start","fromValue","onUpdate","onEnd","previousAnimation","animatedValue","_this2","__active","_startPosition","_lastPosition","_onUpdate","__onEnd","_lastTime","Date","now","_frameTime","internalState","getInternalState","lastPosition","lastVelocity","lastTime","__startNativeAnimation","_timeout","setTimeout","MAX_STEPS","deltaTime","c","m","k","v0","zeta","Math","sqrt","omega0","omega1","x0","position","t","envelope","exp","sin","cos","_envelope","isOvershooting","isVelocity","abs","isDisplacement","__debouncedOnEnd","finished","_animationFrame","requestAnimationFrame","bind","stop","clearTimeout","global","cancelAnimationFrame","Animation"],"mappings":"AASA,a,mKAIA,6EACA,iFACA,+DACA,qEACA,qEACA,6DAPA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CASvL,QAASM,CAAAA,WAAT,CAAqBC,KAArB,CAA4BC,YAA5B,CAA0C,CACxC,GAAID,KAAK,GAAKE,SAAV,EAAuBF,KAAK,GAAK,IAArC,CAA2C,CACzC,MAAOC,CAAAA,YAAP,CACD,CAED,MAAOD,CAAAA,KAAP,CACD,CAED,GAAIG,CAAAA,eAAe,CAEnB,SAAUC,UAAV,CAAsB,CACpBb,cAAc,CAACY,eAAD,CAAkBC,UAAlB,CAAd,CAEA,QAASD,CAAAA,eAAT,CAAyBE,MAAzB,CAAiC,CAC/B,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGF,UAAU,CAACG,IAAX,CAAgB,IAAhB,GAAyB,IAAjC,CACAD,KAAK,CAACE,kBAAN,CAA2BT,WAAW,CAACM,MAAM,CAACI,iBAAR,CAA2B,KAA3B,CAAtC,CACAH,KAAK,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AA,cAAc,CAAG,IAArB,CAEA,GAAI,KAAK1D,UAAL,GAAoB,CAAxB,CAA2B,CACzB0D,cAAc,CAAGf,IAAI,CAACc,GAAL,CAAS,KAAKzE,QAAL,CAAgBgE,QAAzB,GAAsC,KAAKvE,0BAA5D,CACD,CAED,GAAI8E,cAAc,EAAIC,UAAU,EAAIE,cAApC,CAAoD,CAClD,GAAI,KAAK1D,UAAL,GAAoB,CAAxB,CAA2B,CAEzB,KAAKqB,aAAL,CAAqB,KAAKrC,QAA1B,CACA,KAAKD,aAAL,CAAqB,CAArB,CAEA,KAAKuC,SAAL,CAAe,KAAKtC,QAApB,EACD,CAED,KAAK2E,gBAAL,CAAsB,CACpBC,QAAQ,CAAE,IADU,CAAtB,EAIA,OACD,CAED,KAAKC,eAAL,CAAuBC,qBAAqB,CAAC,KAAKhD,QAAL,CAAciD,IAAd,CAAmB,IAAnB,CAAD,CAA5C,CACD,CA5FD,CA8FAvD,MAAM,CAACwD,IAAP,CAAc,QAASA,CAAAA,IAAT,EAAgB,CAC5B7F,UAAU,CAACV,SAAX,CAAqBuG,IAArB,CAA0B1F,IAA1B,CAA+B,IAA/B,EAEA,KAAK6C,QAAL,CAAgB,KAAhB,CACA8C,YAAY,CAAC,KAAK/B,QAAN,CAAZ,CACAgC,MAAM,CAACC,oBAAP,CAA4B,KAAKN,eAAjC,EAEA,KAAKF,gBAAL,CAAsB,CACpBC,QAAQ,CAAE,KADU,CAAtB,EAGD,CAVD,CAYA,MAAO1F,CAAAA,eAAP,CACD,CA7OD,CA6OEkG,mBA7OF,CAFA,C,aAiPelG,e","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedValue from '../nodes/AnimatedValue';\nimport AnimatedValueXY from '../nodes/AnimatedValueXY';\nimport Animation from './Animation';\nimport SpringConfig from '../SpringConfig';\nimport invariant from 'fbjs/lib/invariant';\nimport { shouldUseNativeDriver } from '../NativeAnimatedHelper';\n\nfunction withDefault(value, defaultValue) {\n if (value === undefined || value === null) {\n return defaultValue;\n }\n\n return value;\n}\n\nvar SpringAnimation =\n/*#__PURE__*/\nfunction (_Animation) {\n _inheritsLoose(SpringAnimation, _Animation);\n\n function SpringAnimation(config) {\n var _this;\n\n _this = _Animation.call(this) || this;\n _this._overshootClamping = withDefault(config.overshootClamping, false);\n _this._restDisplacementThreshold = withDefault(config.restDisplacementThreshold, 0.001);\n _this._restSpeedThreshold = withDefault(config.restSpeedThreshold, 0.001);\n _this._initialVelocity = withDefault(config.velocity, 0);\n _this._lastVelocity = withDefault(config.velocity, 0);\n _this._toValue = config.toValue;\n _this._delay = withDefault(config.delay, 0);\n _this._useNativeDriver = shouldUseNativeDriver(config);\n _this.__isInteraction = config.isInteraction !== undefined ? config.isInteraction : true;\n _this.__iterations = config.iterations !== undefined ? config.iterations : 1;\n\n if (config.stiffness !== undefined || config.damping !== undefined || config.mass !== undefined) {\n invariant(config.bounciness === undefined && config.speed === undefined && config.tension === undefined && config.friction === undefined, 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');\n _this._stiffness = withDefault(config.stiffness, 100);\n _this._damping = withDefault(config.damping, 10);\n _this._mass = withDefault(config.mass, 1);\n } else if (config.bounciness !== undefined || config.speed !== undefined) {\n // Convert the origami bounciness/speed values to stiffness/damping\n // We assume mass is 1.\n invariant(config.tension === undefined && config.friction === undefined && config.stiffness === undefined && config.damping === undefined && config.mass === undefined, 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');\n var springConfig = SpringConfig.fromBouncinessAndSpeed(withDefault(config.bounciness, 8), withDefault(config.speed, 12));\n _this._stiffness = springConfig.stiffness;\n _this._damping = springConfig.damping;\n _this._mass = 1;\n } else {\n // Convert the origami tension/friction values to stiffness/damping\n // We assume mass is 1.\n var _springConfig = SpringConfig.fromOrigamiTensionAndFriction(withDefault(config.tension, 40), withDefault(config.friction, 7));\n\n _this._stiffness = _springConfig.stiffness;\n _this._damping = _springConfig.damping;\n _this._mass = 1;\n }\n\n invariant(_this._stiffness > 0, 'Stiffness value must be greater than 0');\n invariant(_this._damping > 0, 'Damping value must be greater than 0');\n invariant(_this._mass > 0, 'Mass value must be greater than 0');\n return _this;\n }\n\n var _proto = SpringAnimation.prototype;\n\n _proto.__getNativeAnimationConfig = function __getNativeAnimationConfig() {\n return {\n type: 'spring',\n overshootClamping: this._overshootClamping,\n restDisplacementThreshold: this._restDisplacementThreshold,\n restSpeedThreshold: this._restSpeedThreshold,\n stiffness: this._stiffness,\n damping: this._damping,\n mass: this._mass,\n initialVelocity: withDefault(this._initialVelocity, this._lastVelocity),\n toValue: this._toValue,\n iterations: this.__iterations\n };\n };\n\n _proto.start = function start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {\n var _this2 = this;\n\n this.__active = true;\n this._startPosition = fromValue;\n this._lastPosition = this._startPosition;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._lastTime = Date.now();\n this._frameTime = 0.0;\n\n if (previousAnimation instanceof SpringAnimation) {\n var internalState = previousAnimation.getInternalState();\n this._lastPosition = internalState.lastPosition;\n this._lastVelocity = internalState.lastVelocity; // Set the initial velocity to the last velocity\n\n this._initialVelocity = this._lastVelocity;\n this._lastTime = internalState.lastTime;\n }\n\n var start = function start() {\n if (_this2._useNativeDriver) {\n _this2.__startNativeAnimation(animatedValue);\n } else {\n _this2.onUpdate();\n }\n }; // If this._delay is more than 0, we start after the timeout.\n\n\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n };\n\n _proto.getInternalState = function getInternalState() {\n return {\n lastPosition: this._lastPosition,\n lastVelocity: this._lastVelocity,\n lastTime: this._lastTime\n };\n }\n /**\n * This spring model is based off of a damped harmonic oscillator\n * (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).\n *\n * We use the closed form of the second order differential equation:\n *\n * x'' + (2ζ⍵_0)x' + ⍵^2x = 0\n *\n * where\n * ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),\n * ζ = c / 2√mk (damping ratio),\n * c = damping constant\n * k = stiffness\n * m = mass\n *\n * The derivation of the closed form is described in detail here:\n * http://planetmath.org/sites/default/files/texpdf/39745.pdf\n *\n * This algorithm happens to match the algorithm used by CASpringAnimation,\n * a QuartzCore (iOS) API that creates spring animations.\n */\n ;\n\n _proto.onUpdate = function onUpdate() {\n // If for some reason we lost a lot of frames (e.g. process large payload or\n // stopped in the debugger), we only advance by 4 frames worth of\n // computation and will continue on the next frame. It's better to have it\n // running at faster speed than jumping to the end.\n var MAX_STEPS = 64;\n var now = Date.now();\n\n if (now > this._lastTime + MAX_STEPS) {\n now = this._lastTime + MAX_STEPS;\n }\n\n var deltaTime = (now - this._lastTime) / 1000;\n this._frameTime += deltaTime;\n var c = this._damping;\n var m = this._mass;\n var k = this._stiffness;\n var v0 = -this._initialVelocity;\n var zeta = c / (2 * Math.sqrt(k * m)); // damping ratio\n\n var omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)\n\n var omega1 = omega0 * Math.sqrt(1.0 - zeta * zeta); // exponential decay\n\n var x0 = this._toValue - this._startPosition; // calculate the oscillation from x0 = 1 to x = 0\n\n var position = 0.0;\n var velocity = 0.0;\n var t = this._frameTime;\n\n if (zeta < 1) {\n // Under damped\n var envelope = Math.exp(-zeta * omega0 * t);\n position = this._toValue - envelope * ((v0 + zeta * omega0 * x0) / omega1 * Math.sin(omega1 * t) + x0 * Math.cos(omega1 * t)); // This looks crazy -- it's actually just the derivative of the\n // oscillation function\n\n velocity = zeta * omega0 * envelope * (Math.sin(omega1 * t) * (v0 + zeta * omega0 * x0) / omega1 + x0 * Math.cos(omega1 * t)) - envelope * (Math.cos(omega1 * t) * (v0 + zeta * omega0 * x0) - omega1 * x0 * Math.sin(omega1 * t));\n } else {\n // Critically damped\n var _envelope = Math.exp(-omega0 * t);\n\n position = this._toValue - _envelope * (x0 + (v0 + omega0 * x0) * t);\n velocity = _envelope * (v0 * (t * omega0 - 1) + t * x0 * (omega0 * omega0));\n }\n\n this._lastTime = now;\n this._lastPosition = position;\n this._lastVelocity = velocity;\n\n this._onUpdate(position);\n\n if (!this.__active) {\n // a listener might have stopped us in _onUpdate\n return;\n } // Conditions for stopping the spring animation\n\n\n var isOvershooting = false;\n\n if (this._overshootClamping && this._stiffness !== 0) {\n if (this._startPosition < this._toValue) {\n isOvershooting = position > this._toValue;\n } else {\n isOvershooting = position < this._toValue;\n }\n }\n\n var isVelocity = Math.abs(velocity) <= this._restSpeedThreshold;\n\n var isDisplacement = true;\n\n if (this._stiffness !== 0) {\n isDisplacement = Math.abs(this._toValue - position) <= this._restDisplacementThreshold;\n }\n\n if (isOvershooting || isVelocity && isDisplacement) {\n if (this._stiffness !== 0) {\n // Ensure that we end up with a round value\n this._lastPosition = this._toValue;\n this._lastVelocity = 0;\n\n this._onUpdate(this._toValue);\n }\n\n this.__debouncedOnEnd({\n finished: true\n });\n\n return;\n }\n\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n };\n\n _proto.stop = function stop() {\n _Animation.prototype.stop.call(this);\n\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n\n this.__debouncedOnEnd({\n finished: false\n });\n };\n\n return SpringAnimation;\n}(Animation);\n\nexport default SpringAnimation;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableWithoutFeedback\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _CardContent=_interopRequireDefault(require(\"./CardContent\"));var _CardActions=_interopRequireDefault(require(\"./CardActions\"));var _CardCover=_interopRequireDefault(require(\"./CardCover\"));var _CardTitle=_interopRequireDefault(require(\"./CardTitle\"));var _Surface=_interopRequireDefault(require(\"../Surface\"));var _theming=require(\"../../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Card/Card.tsx\";var Card=function(_React$Component){(0,_inherits2.default)(Card,_React$Component);function Card(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Card);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Card)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={elevation:new _Animated.default.Value(_this.props.elevation)};_this.handlePressIn=function(){_Animated.default.timing(_this.state.elevation,{toValue:8,duration:150}).start();};_this.handlePressOut=function(){_Animated.default.timing(_this.state.elevation,{toValue:_this.props.elevation,duration:150}).start();};return _this;}(0,_createClass2.default)(Card,[{key:\"render\",value:function render(){var _this$props=this.props,children=_this$props.children,cardElevation=_this$props.elevation,onLongPress=_this$props.onLongPress,onPress=_this$props.onPress,style=_this$props.style,theme=_this$props.theme,testID=_this$props.testID,accessible=_this$props.accessible,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"children\",\"elevation\",\"onLongPress\",\"onPress\",\"style\",\"theme\",\"testID\",\"accessible\"]);var elevation=this.state.elevation;var roundness=theme.roundness;var total=React.Children.count(children);var siblings=React.Children.map(children,function(child){return React.isValidElement(child)&&child.type?child.type.displayName:null;});return React.createElement(_Surface.default,(0,_extends2.default)({style:[{borderRadius:roundness,elevation:elevation},style]},rest,{__source:{fileName:_jsxFileName,lineNumber:143}}),React.createElement(_TouchableWithoutFeedback.default,{delayPressIn:0,disabled:!(onPress||onLongPress),onLongPress:onLongPress,onPress:onPress,onPressIn:onPress?this.handlePressIn:undefined,onPressOut:onPress?this.handlePressOut:undefined,testID:testID,accessible:accessible,__source:{fileName:_jsxFileName,lineNumber:147}},React.createElement(_View.default,{style:styles.innerContainer,__source:{fileName:_jsxFileName,lineNumber:157}},React.Children.map(children,function(child,index){return React.isValidElement(child)?React.cloneElement(child,{index:index,total:total,siblings:siblings}):child;}))));}}]);return Card;}(React.Component);Card.Content=_CardContent.default;Card.Actions=_CardActions.default;Card.Cover=_CardCover.default;Card.Title=_CardTitle.default;Card.defaultProps={elevation:1};var styles=_StyleSheet.default.create({innerContainer:{flexGrow:1}});var _default=(0,_theming.withTheme)(Card);exports.default=_default;","map":{"version":3,"sources":["Card.tsx"],"names":["Card","React","Component","Content","CardContent","Actions","CardActions","Cover","CardCover","Title","CardTitle","defaultProps","elevation","state","Animated","handlePressIn","toValue","duration","handlePressOut","children","cardElevation","onLongPress","onPress","style","theme","testID","accessible","rest","roundness","total","siblings","child","borderRadius","styles","index","StyleSheet","innerContainer","flexGrow","withTheme"],"mappings":"k5BAAA,oD,4XASA,kEACA,kEAEA,8DAEA,8DACA,2DACA,2C,oGAsEMA,GAAAA,CAAAA,I,0a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KAAK,CADmB,KAAA,CAExBL,KAAK,CAFmB,KAAA,CAGxBC,QAAQ,CAJd7B,QAC8B,CAA1BA,CADJA,CAD4B,KAAA,CAhBtC,CAgBSA,CADH,CAVF,CAJF,CADF,C,mBAvDeA,KAAK,CAACC,S,CAAnBF,CAAAA,I,CAEGG,OAFHH,CAEaI,oBAFbJ,CAAAA,I,CAIGK,OAJHL,CAIaM,oBAJbN,CAAAA,I,CAMGO,KANHP,CAMWQ,kBANXR,CAAAA,I,CAQGS,KARHT,CAQWU,kBARXV,CAAAA,I,CAUGW,YAVHX,CAUkB,CACpBY,SAAS,CADW,CAAA,CAVlBZ,CAuFN,GAAMiC,CAAAA,MAAM,CAAGE,oBAAAA,MAAAA,CAAkB,CAC/BC,cAAc,CAAE,CACdC,QAAQ,CAFZ,CACkB,CADe,CAAlBF,CAAf,C,aAMeG,uBAAf,IAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n StyleProp,\n StyleSheet,\n Animated,\n TouchableWithoutFeedback,\n View,\n ViewStyle,\n} from 'react-native';\nimport CardContent from './CardContent';\nimport CardActions from './CardActions';\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport CardCover, { CardCover as _CardCover } from './CardCover';\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport CardTitle, { CardTitle as _CardTitle } from './CardTitle';\nimport Surface from '../Surface';\nimport { withTheme } from '../../core/theming';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof Surface> & {\n /**\n * Resting elevation of the card which controls the drop shadow.\n */\n elevation?: number;\n /**\n * Function to execute on long press.\n */\n onLongPress?: () => void;\n /**\n * Function to execute on press.\n */\n onPress?: () => void;\n /**\n * Content of the `Card`.\n */\n children: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n /**\n * Pass down testID from card props to touchable\n */\n testID?: string;\n /**\n * Pass down accessible from card props to touchable\n */\n accessible?: boolean;\n};\n\ntype State = {\n elevation: Animated.Value;\n};\n\n/**\n * A card is a sheet of material that serves as an entry point to more detailed information.\n *\n * <div class=\"screenshots\">\n * <img class=\"medium\" src=\"screenshots/card-1.png\" />\n * <img class=\"medium\" src=\"screenshots/card-2.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Avatar, Button, Card, Title, Paragraph } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Card>\n * <Card.Title title=\"Card Title\" subtitle=\"Card Subtitle\" left={(props) => <Avatar.Icon {...props} icon=\"folder\" />} />\n * <Card.Content>\n * <Title>Card title</Title>\n * <Paragraph>Card content</Paragraph>\n * </Card.Content>\n * <Card.Cover source={{ uri: 'https://picsum.photos/700' }} />\n * <Card.Actions>\n * <Button>Cancel</Button>\n * <Button>Ok</Button>\n * </Card.Actions>\n * </Card>\n * );\n *\n * export default MyComponent;\n * ```\n */\nclass Card extends React.Component<Props, State> {\n // @component ./CardContent.tsx\n static Content = CardContent;\n // @component ./CardActions.tsx\n static Actions = CardActions;\n // @component ./CardCover.tsx\n static Cover = CardCover;\n // @component ./CardTitle.tsx\n static Title = CardTitle;\n\n static defaultProps = {\n elevation: 1,\n };\n\n state = {\n // @ts-ignore\n elevation: new Animated.Value(this.props.elevation),\n };\n\n private handlePressIn = () => {\n Animated.timing(this.state.elevation, {\n toValue: 8,\n duration: 150,\n }).start();\n };\n\n private handlePressOut = () => {\n Animated.timing(this.state.elevation, {\n // @ts-ignore\n toValue: this.props.elevation,\n duration: 150,\n }).start();\n };\n\n render() {\n const {\n children,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n elevation: cardElevation,\n onLongPress,\n onPress,\n style,\n theme,\n testID,\n accessible,\n ...rest\n } = this.props;\n const { elevation } = this.state;\n const { roundness } = theme;\n const total = React.Children.count(children);\n const siblings = React.Children.map(children, child =>\n React.isValidElement(child) && child.type\n ? (child.type as any).displayName\n : null\n );\n return (\n <Surface\n style={[{ borderRadius: roundness, elevation }, style]}\n {...rest}\n >\n <TouchableWithoutFeedback\n delayPressIn={0}\n disabled={!(onPress || onLongPress)}\n onLongPress={onLongPress}\n onPress={onPress}\n onPressIn={onPress ? this.handlePressIn : undefined}\n onPressOut={onPress ? this.handlePressOut : undefined}\n testID={testID}\n accessible={accessible}\n >\n <View style={styles.innerContainer}>\n {React.Children.map(children, (child, index) =>\n React.isValidElement(child)\n ? React.cloneElement(child, {\n index,\n total,\n siblings,\n })\n : child\n )}\n </View>\n </TouchableWithoutFeedback>\n </Surface>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n innerContainer: {\n flexGrow: 1,\n },\n});\n\nexport default withTheme(Card);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _expo=require(\"expo\");var _expoKeepAwake=require(\"expo-keep-awake\");var _App=_interopRequireDefault(require(\"../../App\"));if(__DEV__){(0,_expoKeepAwake.activateKeepAwake)();}(0,_expo.registerRootComponent)(_App.default);","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/expo/AppEntry.js"],"names":["__DEV__","App"],"mappings":"mFAAA,0BACA,8CAEA,sDAEA,GAAIA,OAAJ,CAAa,CACX,uCACD,CAED,gCAAsBC,YAAtB","sourcesContent":["import { registerRootComponent } from 'expo';\nimport { activateKeepAwake } from 'expo-keep-awake';\n\nimport App from '../../App';\n\nif (__DEV__) {\n activateKeepAwake();\n}\n\nregisterRootComponent(App);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.accessibilityProps=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var React=_interopRequireWildcard(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/MaterialCommunityIcon.tsx\";var MaterialCommunityIcons;try{MaterialCommunityIcons=require(\"@expo/vector-icons/MaterialCommunityIcons\").default;}catch(e){if(global.__expo&&global.__expo.Icon&&global.__expo.Icon.MaterialCommunityIcons){MaterialCommunityIcons=global.__expo.Icon.MaterialCommunityIcons;}else{var isErrorLogged=false;MaterialCommunityIcons=function MaterialCommunityIcons(_ref){var name=_ref.name,color=_ref.color,size=_ref.size,rest=(0,_objectWithoutProperties2.default)(_ref,[\"name\",\"color\",\"size\"]);if(!isErrorLogged){if(!/(Cannot find module|Module not found|Cannot resolve module)/.test(e.message)){console.error(e);}console.warn(\"Tried to use the icon '\"+name+\"' in a component from 'react-native-paper', but 'react-native-vector-icons' could not be loaded.\",\"To remove this warning, try installing 'react-native-vector-icons' or use another method to specify icon: https://callstack.github.io/react-native-paper/icons.html.\");isErrorLogged=true;}return React.createElement(_Text.default,(0,_extends2.default)({},rest,{style:[styles.icon,{color:color,fontSize:size}],pointerEvents:\"none\",__source:{fileName:_jsxFileName,lineNumber:55}}),\"\\u25A1\");};}}var accessibilityProps=_Platform.default.OS==='web'?{role:'img',focusable:false}:{accessibilityElementsHidden:true,importantForAccessibility:'no-hide-descendants'};exports.accessibilityProps=accessibilityProps;var defaultIcon=function defaultIcon(_ref2){var name=_ref2.name,color=_ref2.color,size=_ref2.size,direction=_ref2.direction;return React.createElement(MaterialCommunityIcons,(0,_extends2.default)({name:name,color:color,size:size,style:[{transform:[{scaleX:direction==='rtl'?-1:1}]},styles.icon],pointerEvents:\"none\"},accessibilityProps,{__source:{fileName:_jsxFileName,lineNumber:79}}));};var styles=_StyleSheet.default.create({icon:{backgroundColor:'transparent'}});var _default=defaultIcon;exports.default=_default;","map":{"version":3,"sources":["MaterialCommunityIcon.tsx"],"names":["MaterialCommunityIcons","require","global","isErrorLogged","name","color","size","rest","e","console","styles","fontSize","accessibilityProps","Platform","role","focusable","accessibilityElementsHidden","importantForAccessibility","defaultIcon","direction","transform","scaleX","StyleSheet","icon","backgroundColor"],"mappings":"mdAAA,oD,oXAUA,GAAA,CAAA,sBAAA,CAEA,GAAI,CAEFA,sBAAsB,CAAGC,OAAAA,6CAAAA,CAAzBD,OAAAA,CAEA,OAAA,CAAA,CAAU,CACV,GAEEE,MAAM,CAANA,MAAAA,EAEAA,MAAM,CAANA,MAAAA,CAFAA,IAAAA,EAIAA,MAAM,CAANA,MAAAA,CAAAA,IAAAA,CANF,sBAAA,CAOE,CAIAF,sBAAsB,CAAGE,MAAM,CAANA,MAAAA,CAAAA,IAAAA,CAAzBF,sBAAAA,CAXF,CAAA,IAYO,CACL,GAAIG,CAAAA,aAAa,CAAjB,KAAA,CAIAH,sBAAsB,CAAG,QAAA,CAAA,sBAAA,CAAA,IAAA,CAAoC,CAAjCI,GAAAA,CAAAA,IAAiC,CAAA,IAAA,CAAjCA,IAAAA,CAAMC,KAA2B,CAAA,IAAA,CAA3BA,KAAND,CAAaE,IAAoB,CAAA,IAAA,CAApBA,IAAbF,CAAsBG,IAAW,CAAA,sCAAA,IAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,MAAA,CAAA,CAAjCH,CAE1B,GAAI,CAAJ,aAAA,CAAoB,CAClB,GACE,CAAC,8DAAA,IAAA,CACCI,CAAC,CAFL,OACG,CADH,CAIE,CACAC,OAAO,CAAPA,KAAAA,CAAAA,CAAAA,EAGFA,CAAAA,OAAO,CAAPA,IAAAA,CAAAA,0BAAAA,IAAAA,CAAAA,kGAAAA,CAAAA,sKAAAA,EAKAN,aAAa,CAAbA,IAAAA,CAGF,OACE,CAAA,KAAA,CAAA,aAAA,CAAA,aAAA,CAAA,sBAAA,EAAA,CAAA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IAAI,CAAE,CACJC,eAAe,CAFnB,aACQ,CADyB,CAAlBF,CAAf,C,aAMA,W","sourcesContent":["import * as React from 'react';\nimport { StyleSheet, Text, Platform } from 'react-native';\n\nexport type IconProps = {\n name: string;\n color: string;\n size: number;\n direction: 'rtl' | 'ltr';\n};\n\nlet MaterialCommunityIcons: any;\n\ntry {\n // Optionally require vector-icons\n MaterialCommunityIcons = require('react-native-vector-icons/MaterialCommunityIcons')\n .default;\n} catch (e) {\n if (\n // @ts-ignore\n global.__expo &&\n // @ts-ignore\n global.__expo.Icon &&\n // @ts-ignore\n global.__expo.Icon.MaterialCommunityIcons\n ) {\n // Snack doesn't properly bundle vector icons from subpath\n // Use icons from the __expo global if available\n // @ts-ignore\n MaterialCommunityIcons = global.__expo.Icon.MaterialCommunityIcons;\n } else {\n let isErrorLogged = false;\n\n // Fallback component for icons\n // @ts-ignore\n MaterialCommunityIcons = ({ name, color, size, ...rest }) => {\n /* eslint-disable no-console */\n if (!isErrorLogged) {\n if (\n !/(Cannot find module|Module not found|Cannot resolve module)/.test(\n e.message\n )\n ) {\n console.error(e);\n }\n\n console.warn(\n `Tried to use the icon '${name}' in a component from 'react-native-paper', but 'react-native-vector-icons' could not be loaded.`,\n `To remove this warning, try installing 'react-native-vector-icons' or use another method to specify icon: https://callstack.github.io/react-native-paper/icons.html.`\n );\n\n isErrorLogged = true;\n }\n\n return (\n <Text\n {...rest}\n style={[styles.icon, { color, fontSize: size }]}\n pointerEvents=\"none\"\n >\n\n </Text>\n );\n };\n }\n}\n\nexport const accessibilityProps =\n Platform.OS === 'web'\n ? {\n role: 'img',\n focusable: false,\n }\n : {\n accessibilityElementsHidden: true,\n importantForAccessibility: 'no-hide-descendants' as 'no-hide-descendants',\n };\n\nconst defaultIcon = ({ name, color, size, direction }: IconProps) => (\n <MaterialCommunityIcons\n name={name}\n color={color}\n size={size}\n style={[\n {\n transform: [{ scaleX: direction === 'rtl' ? -1 : 1 }],\n },\n styles.icon,\n ]}\n pointerEvents=\"none\"\n {...accessibilityProps}\n />\n);\n\nconst styles = StyleSheet.create({\n icon: {\n backgroundColor: 'transparent',\n },\n});\n\nexport default defaultIcon;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _color=_interopRequireDefault(require(\"color\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _AnimatedText=_interopRequireDefault(require(\"./Typography/AnimatedText\"));var _theming=require(\"../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/HelperText.tsx\";var HelperText=function(_React$PureComponent){(0,_inherits2.default)(HelperText,_React$PureComponent);function HelperText(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,HelperText);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(HelperText)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={shown:new _Animated.default.Value(_this.props.visible?1:0),textHeight:0};_this.showText=function(){_Animated.default.timing(_this.state.shown,{toValue:1,duration:150,useNativeDriver:true}).start();};_this.hideText=function(){_Animated.default.timing(_this.state.shown,{toValue:0,duration:180,useNativeDriver:true}).start();};_this.handleTextLayout=function(e){_this.props.onLayout&&_this.props.onLayout(e);_this.setState({textHeight:e.nativeEvent.layout.height});};return _this;}(0,_createClass2.default)(HelperText,[{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps,prevState){if(prevProps.visible!==this.props.visible||prevState.textHeight!==this.state.textHeight){if(this.props.visible){this.showText();}else{this.hideText();}}}},{key:\"render\",value:function render(){var _this$props=this.props,style=_this$props.style,type=_this$props.type,visible=_this$props.visible,theme=_this$props.theme,onLayout=_this$props.onLayout,padding=_this$props.padding,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\",\"type\",\"visible\",\"theme\",\"onLayout\",\"padding\"]);var colors=theme.colors,dark=theme.dark;var textColor=this.props.type==='error'?colors.error:(0,_color.default)(colors.text).alpha(dark?0.7:0.54).rgb().string();return React.createElement(_AnimatedText.default,(0,_extends2.default)({onLayout:this.handleTextLayout,style:[styles.text,padding!=='none'?styles.padding:{},{color:textColor,opacity:this.state.shown,transform:visible&&type==='error'?[{translateY:this.state.shown.interpolate({inputRange:[0,1],outputRange:[-this.state.textHeight/2,0]})}]:[]},style]},rest,{__source:{fileName:_jsxFileName,lineNumber:158}}),this.props.children);}}]);return HelperText;}(React.PureComponent);HelperText.defaultProps={type:'info',padding:'normal',visible:true};var styles=_StyleSheet.default.create({text:{fontSize:12,paddingVertical:4},padding:{paddingHorizontal:12}});var _default=(0,_theming.withTheme)(HelperText);exports.default=_default;","map":{"version":3,"sources":["HelperText.tsx"],"names":["HelperText","React","PureComponent","defaultProps","type","padding","visible","state","shown","Animated","textHeight","prevProps","prevState","showText","toValue","duration","useNativeDriver","hideText","handleTextLayout","e","style","theme","onLayout","rest","colors","dark","textColor","color","styles","opacity","transform","translateY","inputRange","outputRange","StyleSheet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T,KAES,CAFT,CAAA,CAAA,IAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAwBG,KAAA,KAAA,CAzBL,QACE,CADF,C,yBArEqBL,KAAK,CAACC,a,CAAzBF,CAAAA,U,CACGG,YADHH,CACkC,CACpCI,IAAI,CADgC,MAAA,CAEpCC,OAAO,CAF6B,QAAA,CAGpCC,OAAO,CAH6B,IAAA,CADlCN,CAoGN,GAAM4B,CAAAA,MAAM,CAAGM,oBAAAA,MAAAA,CAAkB,CAC/BC,IAAI,CAAE,CACJC,QAAQ,CADJ,EAAA,CAEJC,eAAe,CAHc,CACzB,CADyB,CAK/BhC,OAAO,CAAE,CACPiC,iBAAiB,CANrB,EAKW,CALsB,CAAlBJ,CAAf,C,aAUeK,uBAAf,UAAeA,C","sourcesContent":["import * as React from 'react';\nimport color from 'color';\nimport {\n Animated,\n StyleSheet,\n StyleProp,\n TextStyle,\n LayoutChangeEvent,\n} from 'react-native';\nimport AnimatedText from './Typography/AnimatedText';\nimport { withTheme } from '../core/theming';\nimport { Theme, $Omit } from '../types';\n\ntype Props = $Omit<\n $Omit<React.ComponentProps<typeof Animated.Text>, 'padding'>,\n 'type'\n> & {\n /**\n * Type of the helper text.\n */\n type: 'error' | 'info';\n /**\n * Whether to display the helper text.\n */\n visible?: boolean;\n /**\n * Whether to apply padding to the helper text.\n */\n padding?: 'none' | 'normal';\n /**\n * Text content of the HelperText.\n */\n children: React.ReactNode;\n style?: StyleProp<TextStyle>;\n /**\n * @optional\n */\n theme: Theme;\n /**\n * TestID used for testing purposes\n */\n testID?: string;\n};\n\ntype State = {\n shown: Animated.Value;\n textHeight: number;\n};\n\n/**\n * Helper text is used in conjuction with input elements to provide additional hints for the user.\n *\n * <div class=\"screenshots\">\n * <img class=\"medium\" src=\"screenshots/helper-text.gif\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { View } from 'react-native';\n * import { HelperText, TextInput } from 'react-native-paper';\n *\n * export default class MyComponent extends React.Component {\n * state = {\n * text: ''\n * };\n *\n * render(){\n * return (\n * <View>\n * <TextInput\n * label=\"Email\"\n * value={this.state.text}\n * onChangeText={text => this.setState({ text })}\n * />\n * <HelperText\n * type=\"error\"\n * visible={!this.state.text.includes('@')}\n * >\n * Email address is invalid!\n * </HelperText>\n * </View>\n * );\n * }\n * }\n * ```\n */\nclass HelperText extends React.PureComponent<Props, State> {\n static defaultProps: Partial<Props> = {\n type: 'info',\n padding: 'normal',\n visible: true,\n };\n\n state = {\n shown: new Animated.Value(this.props.visible ? 1 : 0),\n textHeight: 0,\n };\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n if (\n prevProps.visible !== this.props.visible ||\n prevState.textHeight !== this.state.textHeight\n ) {\n if (this.props.visible) {\n this.showText();\n } else {\n this.hideText();\n }\n }\n }\n\n private showText = () => {\n Animated.timing(this.state.shown, {\n toValue: 1,\n duration: 150,\n useNativeDriver: true,\n }).start();\n };\n\n private hideText = () => {\n Animated.timing(this.state.shown, {\n toValue: 0,\n duration: 180,\n useNativeDriver: true,\n }).start();\n };\n\n private handleTextLayout = (e: LayoutChangeEvent) => {\n this.props.onLayout && this.props.onLayout(e);\n this.setState({\n textHeight: e.nativeEvent.layout.height,\n });\n };\n\n render() {\n const {\n style,\n type,\n visible,\n theme,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLayout,\n padding,\n ...rest\n } = this.props;\n const { colors, dark } = theme;\n\n const textColor =\n this.props.type === 'error'\n ? colors.error\n : color(colors.text)\n .alpha(dark ? 0.7 : 0.54)\n .rgb()\n .string();\n\n return (\n <AnimatedText\n onLayout={this.handleTextLayout}\n style={[\n styles.text,\n padding !== 'none' ? styles.padding : {},\n {\n color: textColor,\n opacity: this.state.shown,\n transform:\n visible && type === 'error'\n ? [\n {\n translateY: this.state.shown.interpolate({\n inputRange: [0, 1],\n outputRange: [-this.state.textHeight / 2, 0],\n }),\n },\n ]\n : [],\n },\n style,\n ]}\n {...rest}\n >\n {this.props.children}\n </AnimatedText>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n text: {\n fontSize: 12,\n paddingVertical: 4,\n },\n padding: {\n paddingHorizontal: 12,\n },\n});\n\nexport default withTheme(HelperText);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.WebView=exports.takeSnapshotAsync=exports.Svg=exports.MapView=exports.Icon=exports.GestureHandler=exports.WebBrowser=exports.TaskManager=exports.SQLite=exports.Speech=exports.SMS=exports.Sharing=exports.Sensors=exports.MagnetometerUncalibrated=exports.Magnetometer=exports.Gyroscope=exports.Barometer=exports.Accelerometer=exports.SecureStore=exports.Random=exports.Pedometer=exports.Print=exports.Permissions=exports.MediaLibrary=exports.MailComposer=exports.Location=exports.Localization=exports.LocalAuthentication=exports.LinearGradient=exports.KeepAwake=exports.IntentLauncherAndroid=exports.IntentLauncher=exports.ImagePicker=exports.ImageManipulator=exports.Haptics=exports.Haptic=exports.Google=exports.GoogleSignIn=exports.GLView=exports.GL=exports.Font=exports.FileSystem=exports.Facebook=exports.FaceDetector=exports.DocumentPicker=exports.Crypto=exports.Contacts=exports.Constants=exports.Camera=exports.Calendar=exports.Brightness=exports.BlurView=exports.BarCodeScanner=exports.BackgroundFetch=exports.Video=exports.Audio=exports.Asset=exports.AppAuth=exports.Segment=exports.Amplitude=exports.FacebookAds=exports.PublisherBanner=exports.Transitioning=exports.Transition=exports.Easing=exports.Animated=exports.AdMobRewarded=exports.AdMobInterstitial=exports.AdMobBanner=void 0;var AdMobBanner=null;exports.AdMobBanner=AdMobBanner;var AdMobInterstitial=null;exports.AdMobInterstitial=AdMobInterstitial;var AdMobRewarded=null;exports.AdMobRewarded=AdMobRewarded;var Animated=null;exports.Animated=Animated;var Easing=null;exports.Easing=Easing;var Transition=null;exports.Transition=Transition;var Transitioning=null;exports.Transitioning=Transitioning;var PublisherBanner=null;exports.PublisherBanner=PublisherBanner;var FacebookAds=null;exports.FacebookAds=FacebookAds;var Amplitude=null;exports.Amplitude=Amplitude;var Segment=null;exports.Segment=Segment;var AppAuth=null;exports.AppAuth=AppAuth;var Asset=null;exports.Asset=Asset;var Audio=null;exports.Audio=Audio;var Video=null;exports.Video=Video;var BackgroundFetch=null;exports.BackgroundFetch=BackgroundFetch;var BarCodeScanner=null;exports.BarCodeScanner=BarCodeScanner;var BlurView=null;exports.BlurView=BlurView;var Brightness=null;exports.Brightness=Brightness;var Calendar=null;exports.Calendar=Calendar;var Camera=null;exports.Camera=Camera;var Constants=null;exports.Constants=Constants;var Contacts=null;exports.Contacts=Contacts;var Crypto=null;exports.Crypto=Crypto;var DocumentPicker=null;exports.DocumentPicker=DocumentPicker;var FaceDetector=null;exports.FaceDetector=FaceDetector;var Facebook=null;exports.Facebook=Facebook;var FileSystem=null;exports.FileSystem=FileSystem;var Font=null;exports.Font=Font;var GL=null;exports.GL=GL;var GLView=null;exports.GLView=GLView;var GoogleSignIn=null;exports.GoogleSignIn=GoogleSignIn;var Google=null;exports.Google=Google;var Haptic=null;exports.Haptic=Haptic;var Haptics=null;exports.Haptics=Haptics;var ImageManipulator=null;exports.ImageManipulator=ImageManipulator;var ImagePicker=null;exports.ImagePicker=ImagePicker;var IntentLauncher=null;exports.IntentLauncher=IntentLauncher;var IntentLauncherAndroid=null;exports.IntentLauncherAndroid=IntentLauncherAndroid;var KeepAwake=null;exports.KeepAwake=KeepAwake;var LinearGradient=null;exports.LinearGradient=LinearGradient;var LocalAuthentication=null;exports.LocalAuthentication=LocalAuthentication;var Localization=null;exports.Localization=Localization;var Location=null;exports.Location=Location;var MailComposer=null;exports.MailComposer=MailComposer;var MediaLibrary=null;exports.MediaLibrary=MediaLibrary;var Permissions=null;exports.Permissions=Permissions;var Print=null;exports.Print=Print;var Pedometer=null;exports.Pedometer=Pedometer;var Random=null;exports.Random=Random;var SecureStore=null;exports.SecureStore=SecureStore;var Accelerometer=null;exports.Accelerometer=Accelerometer;var Barometer=null;exports.Barometer=Barometer;var Gyroscope=null;exports.Gyroscope=Gyroscope;var Magnetometer=null;exports.Magnetometer=Magnetometer;var MagnetometerUncalibrated=null;exports.MagnetometerUncalibrated=MagnetometerUncalibrated;var Sensors=null;exports.Sensors=Sensors;var Sharing=null;exports.Sharing=Sharing;var SMS=null;exports.SMS=SMS;var Speech=null;exports.Speech=Speech;var SQLite=null;exports.SQLite=SQLite;var TaskManager=null;exports.TaskManager=TaskManager;var WebBrowser=null;exports.WebBrowser=WebBrowser;var GestureHandler=null;exports.GestureHandler=GestureHandler;var Icon=null;exports.Icon=Icon;var MapView=null;exports.MapView=MapView;var Svg=null;exports.Svg=Svg;var takeSnapshotAsync=null;exports.takeSnapshotAsync=takeSnapshotAsync;var WebView=null;exports.WebView=WebView;","map":{"version":3,"sources":["../src/removed.web.ts"],"names":[],"mappings":"60CAGO,GAAM,CAAA,WAAW,CAAG,IAApB,C,gCACA,GAAM,CAAA,iBAAiB,CAAG,IAA1B,C,4CACA,GAAM,CAAA,aAAa,CAAG,IAAtB,C,oCACA,GAAM,CAAA,QAAQ,CAAG,IAAjB,C,0BACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,UAAU,CAAG,IAAnB,C,8BACA,GAAM,CAAA,aAAa,CAAG,IAAtB,C,oCACA,GAAM,CAAA,eAAe,CAAG,IAAxB,C,wCACA,GAAM,CAAA,WAAW,CAAG,IAApB,C,gCACA,GAAM,CAAA,SAAS,CAAG,IAAlB,C,4BACA,GAAM,CAAA,OAAO,CAAG,IAAhB,C,wBACA,GAAM,CAAA,OAAO,CAAG,IAAhB,C,wBACA,GAAM,CAAA,KAAK,CAAG,IAAd,C,oBACA,GAAM,CAAA,KAAK,CAAG,IAAd,C,oBACA,GAAM,CAAA,KAAK,CAAG,IAAd,C,oBACA,GAAM,CAAA,eAAe,CAAG,IAAxB,C,wCACA,GAAM,CAAA,cAAc,CAAG,IAAvB,C,sCACA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CAAA,SAAS,CAAG,IAAlB,C,4BACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,WAAW,CAAG,IAApB,C,gCACA,GAAM,CAAA,aAAa,CAAG,IAAtB,C,oCACA,GAAM,CAAA,SAAS,CAAG,IAAlB,C,4BACA,GAAM,CAAA,SAAS,CAAG,IAAlB,C,4BACA,GAAM,CAAA,YAAY,CAAG,IAArB,C,kCACA,GAAM,CAAA,wBAAwB,CAAG,IAAjC,C,0DACA,GAAM,CAAA,OAAO,CAAG,IAAhB,C,wBACA,GAAM,CAAA,OAAO,CAAG,IAAhB,C,wBACA,GAAM,CAAA,GAAG,CAAG,IAAZ,C,gBACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,MAAM,CAAG,IAAf,C,sBACA,GAAM,CAAA,WAAW,CAAG,IAApB,C,gCACA,GAAM,CAAA,UAAU,CAAG,IAAnB,C,8BACA,GAAM,CAAA,cAAc,CAAG,IAAvB,C,sCACA,GAAM,CAAA,IAAI,CAAG,IAAb,C,kBACA,GAAM,CAAA,OAAO,CAAG,IAAhB,C,wBACA,GAAM,CAAA,GAAG,CAAG,IAAZ,C,gBACA,GAAM,CAAA,iBAAiB,CAAG,IAA1B,C,4CACA,GAAM,CAAA,OAAO,CAAG,IAAhB,C","sourcesContent":["// Importing these modules from the 'expo' package was deprecated in SDK 33.\n// Please import them from the individual unimodule package instead.\n\nexport const AdMobBanner = null;\nexport const AdMobInterstitial = null;\nexport const AdMobRewarded = null;\nexport const Animated = null;\nexport const Easing = null;\nexport const Transition = null;\nexport const Transitioning = null;\nexport const PublisherBanner = null;\nexport const FacebookAds = null;\nexport const Amplitude = null;\nexport const Segment = null;\nexport const AppAuth = null;\nexport const Asset = null;\nexport const Audio = null;\nexport const Video = null;\nexport const BackgroundFetch = null;\nexport const BarCodeScanner = null;\nexport const BlurView = null;\nexport const Brightness = null;\nexport const Calendar = null;\nexport const Camera = null;\nexport const Constants = null;\nexport const Contacts = null;\nexport const Crypto = null;\nexport const DocumentPicker = null;\nexport const FaceDetector = null;\nexport const Facebook = null;\nexport const FileSystem = null;\nexport const Font = null;\nexport const GL = null;\nexport const GLView = null;\nexport const GoogleSignIn = null;\nexport const Google = null;\nexport const Haptic = null;\nexport const Haptics = null;\nexport const ImageManipulator = null;\nexport const ImagePicker = null;\nexport const IntentLauncher = null;\nexport const IntentLauncherAndroid = null;\nexport const KeepAwake = null;\nexport const LinearGradient = null;\nexport const LocalAuthentication = null;\nexport const Localization = null;\nexport const Location = null;\nexport const MailComposer = null;\nexport const MediaLibrary = null;\nexport const Permissions = null;\nexport const Print = null;\nexport const Pedometer = null;\nexport const Random = null;\nexport const SecureStore = null;\nexport const Accelerometer = null;\nexport const Barometer = null;\nexport const Gyroscope = null;\nexport const Magnetometer = null;\nexport const MagnetometerUncalibrated = null;\nexport const Sensors = null;\nexport const Sharing = null;\nexport const SMS = null;\nexport const Speech = null;\nexport const SQLite = null;\nexport const TaskManager = null;\nexport const WebBrowser = null;\nexport const GestureHandler = null;\nexport const Icon = null;\nexport const MapView = null;\nexport const Svg = null;\nexport const takeSnapshotAsync = null;\nexport const WebView = null;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var SQLite=_interopRequireWildcard(require(\"expo-sqlite\"));var sqlite={};var db=(0,SQLite.openDatabase)(\"score.db\");db.transaction(function(tx){tx.executeSql(\"CREATE TABLE IF NOT EXISTS district (id int AUTO_INCREMENT,score int, PRIMARY KEY (id));\");});sqlite.insert=function(score){db.transaction(function(tx){tx.executeSql(\"INSERT INTO district (score) VALUES (\"+score+\");\");});};sqlite.select=function(){return new Promise(function(resolve,rejects){db.transaction(function(tx){tx.executeSql(\"SELECT score FROM district WHERE 1 ORDER BY id DESC LIMIT 5;\",[],function(tx,result){resolve(result.rows._array);},function(err){console.log(\"err -> \",err);});});});};module.exports=sqlite;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/lib/sqlite.js"],"names":["sqlite","db","transaction","tx","executeSql","insert","score","select","Promise","resolve","rejects","result","rows","_array","err","console","log","module","exports"],"mappings":"qFAAA,2DAIA,GAAIA,CAAAA,MAAM,CAAG,EAAb,CACA,GAAIC,CAAAA,EAAE,CAAG,wBAAa,UAAb,CAAT,CACAA,EAAE,CAACC,WAAH,CAAgB,SAAEC,EAAF,CAAU,CACtBA,EAAE,CAACC,UAAH,6FACH,CAFD,EAIAJ,MAAM,CAACK,MAAP,CAAgB,SAAEC,KAAF,CAAa,CACzBL,EAAE,CAACC,WAAH,CAAgB,SAAEC,EAAF,CAAU,CACtBA,EAAE,CAACC,UAAH,yCAAuDE,KAAvD,OACH,CAFD,EAGH,CAJD,CAOAN,MAAM,CAACO,MAAP,CAAgB,UAAO,CACnB,MAAO,IAAIC,CAAAA,OAAJ,CAAa,SAACC,OAAD,CAAUC,OAAV,CAAoB,CACpCT,EAAE,CAACC,WAAH,CAAgB,SAAEC,EAAF,CAAU,CACtBA,EAAE,CAACC,UAAH,gEAA+E,EAA/E,CAAmF,SAAED,EAAF,CAAMQ,MAAN,CAAkB,CACjGF,OAAO,CAACE,MAAM,CAACC,IAAP,CAAYC,MAAb,CAAP,CACH,CAFD,CAEG,SAAEC,GAAF,CAAS,CACRC,OAAO,CAACC,GAAR,CAAY,SAAZ,CAAsBF,GAAtB,EACH,CAJD,EAKH,CAND,EAOH,CARM,CAAP,CAUH,CAXD,CAaAG,MAAM,CAACC,OAAP,CAAiBlB,MAAjB","sourcesContent":["import * as SQLite from 'expo-sqlite';\r\nimport { openDatabase,transaction,executeSql } from 'expo-sqlite';\r\n\r\n\r\nlet sqlite = {};\r\nlet db = openDatabase(\"score.db\");\r\ndb.transaction( ( tx ) => {\r\n tx.executeSql(`CREATE TABLE IF NOT EXISTS district (id int AUTO_INCREMENT,score int, PRIMARY KEY (id));`);\r\n});\r\n\r\nsqlite.insert = ( score ) => {\r\n db.transaction( ( tx ) => {\r\n tx.executeSql( `INSERT INTO district (score) VALUES (${score});` );\r\n });\r\n}\r\n\r\n\r\nsqlite.select = ( ) => {\r\n return new Promise( (resolve ,rejects)=>{\r\n db.transaction( ( tx ) => {\r\n tx.executeSql( `SELECT score FROM district WHERE 1 ORDER BY id DESC LIMIT 5;`, [], ( tx, result ) => {\r\n resolve(result.rows._array);\r\n }, ( err )=>{\r\n console.log(\"err -> \",err);\r\n });\r\n });\r\n })\r\n \r\n}\r\n\r\nmodule.exports = sqlite;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _ActivityIndicator=_interopRequireDefault(require(\"react-native-web/dist/exports/ActivityIndicator\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Dimensions=_interopRequireDefault(require(\"react-native-web/dist/exports/Dimensions\"));var _Modal=_interopRequireDefault(require(\"react-native-web/dist/exports/Modal\"));var Loading=function Loading(){return _react.default.createElement(_Modal.default,{transparent:true,animationType:'none'},_react.default.createElement(_View.default,{style:styles.container},_react.default.createElement(_ActivityIndicator.default,{size:80,color:\"#ffffff\",style:styles.icon})));};var styles=_StyleSheet.default.create({container:{zIndex:2,height:_Dimensions.default.get('window').height+50,width:'100%',display:'flex',alignItems:'center',justifyContent:'center',backgroundColor:'rgba(15,15,15,0.7)'},icon:{paddingBottom:100}});var _default=Loading;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/Loading/Loading.js"],"names":["Loading","styles","container","icon","StyleSheet","create","zIndex","height","Dimensions","get","width","display","alignItems","justifyContent","backgroundColor","paddingBottom"],"mappings":"mKAAA,oD,ocAGA,GAAMA,CAAAA,OAAO,CAAG,QAAVA,CAAAA,OAAU,EAAM,CAClB,MACI,8BAAC,cAAD,EAAO,WAAW,CAAE,IAApB,CAA0B,aAAa,CAAE,MAAzC,EACI,6BAAC,aAAD,EAAM,KAAK,CAAEC,MAAM,CAACC,SAApB,EAA+B,6BAAC,0BAAD,EAAmB,IAAI,CAAE,EAAzB,CAA6B,KAAK,CAAC,SAAnC,CAA6C,KAAK,CAAED,MAAM,CAACE,IAA3D,EAA/B,CADJ,CADJ,CAKH,CAND,CAQA,GAAMF,CAAAA,MAAM,CAAGG,oBAAWC,MAAX,CAAkB,CAC/BH,SAAS,CAAE,CACTI,MAAM,CAAE,CADC,CAETC,MAAM,CAAEC,oBAAWC,GAAX,CAAe,QAAf,EAAyBF,MAAzB,CAAkC,EAFjC,CAGTG,KAAK,CAAE,MAHE,CAITC,OAAO,CAAE,MAJA,CAKTC,UAAU,CAAE,QALH,CAMTC,cAAc,CAAC,QANN,CAOTC,eAAe,CAAE,oBAPR,CADoB,CAU/BX,IAAI,CAAC,CACHY,aAAa,CAAE,GADZ,CAV0B,CAAlB,CAAf,C,aAgBef,O","sourcesContent":["import React from 'react';\r\nimport {View,ActivityIndicator,StyleSheet,Dimensions, Modal} from 'react-native'\r\n\r\nconst Loading = () => {\r\n return (\r\n <Modal transparent={true} animationType={'none'}>\r\n <View style={styles.container}><ActivityIndicator size={80} color=\"#ffffff\" style={styles.icon} /></View>\r\n </Modal>\r\n )\r\n}\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n zIndex: 2,\r\n height: Dimensions.get('window').height + 50,\r\n width: '100%',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent:'center',\r\n backgroundColor: 'rgba(15,15,15,0.7)',\r\n },\r\n icon:{\r\n paddingBottom: 100,\r\n }\r\n});\r\n\r\n\r\nexport default Loading;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=timing;var _base=require(\"../base\");function timing(clock,state,config){var lastTime=(0,_base.cond)(state.time,state.time,clock);var frameTime=(0,_base.add)(state.frameTime,(0,_base.sub)(clock,lastTime));var progress=config.easing((0,_base.divide)(state.frameTime,config.duration));var distanceLeft=(0,_base.sub)(config.toValue,state.position);var fullDistance=(0,_base.divide)(distanceLeft,(0,_base.sub)(1,progress));var startPosition=(0,_base.sub)(config.toValue,fullDistance);var nextProgress=config.easing((0,_base.divide)(frameTime,config.duration));var nextPosition=(0,_base.add)(startPosition,(0,_base.multiply)(fullDistance,nextProgress));return(0,_base.block)([(0,_base.cond)((0,_base.greaterOrEq)(frameTime,config.duration),[(0,_base.set)(state.position,config.toValue),(0,_base.set)(state.finished,1)],(0,_base.set)(state.position,nextPosition)),(0,_base.set)(state.frameTime,frameTime),(0,_base.set)(state.time,clock)]);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/timing.js"],"names":["timing","clock","state","config","lastTime","time","frameTime","progress","easing","duration","distanceLeft","toValue","position","fullDistance","startPosition","nextProgress","nextPosition","finished"],"mappings":"gFAAA,6BAWe,QAASA,CAAAA,MAAT,CAAgBC,KAAhB,CAAuBC,KAAvB,CAA8BC,MAA9B,CAAsC,CACnD,GAAMC,CAAAA,QAAQ,CAAG,eAAKF,KAAK,CAACG,IAAX,CAAiBH,KAAK,CAACG,IAAvB,CAA6BJ,KAA7B,CAAjB,CACA,GAAMK,CAAAA,SAAS,CAAG,cAAIJ,KAAK,CAACI,SAAV,CAAqB,cAAIL,KAAJ,CAAWG,QAAX,CAArB,CAAlB,CAEA,GAAMG,CAAAA,QAAQ,CAAGJ,MAAM,CAACK,MAAP,CAAc,iBAAON,KAAK,CAACI,SAAb,CAAwBH,MAAM,CAACM,QAA/B,CAAd,CAAjB,CACA,GAAMC,CAAAA,YAAY,CAAG,cAAIP,MAAM,CAACQ,OAAX,CAAoBT,KAAK,CAACU,QAA1B,CAArB,CACA,GAAMC,CAAAA,YAAY,CAAG,iBAAOH,YAAP,CAAqB,cAAI,CAAJ,CAAOH,QAAP,CAArB,CAArB,CACA,GAAMO,CAAAA,aAAa,CAAG,cAAIX,MAAM,CAACQ,OAAX,CAAoBE,YAApB,CAAtB,CACA,GAAME,CAAAA,YAAY,CAAGZ,MAAM,CAACK,MAAP,CAAc,iBAAOF,SAAP,CAAkBH,MAAM,CAACM,QAAzB,CAAd,CAArB,CACA,GAAMO,CAAAA,YAAY,CAAG,cAAIF,aAAJ,CAAmB,mBAASD,YAAT,CAAuBE,YAAvB,CAAnB,CAArB,CAEA,MAAO,gBAAM,CACX,eACE,sBAAYT,SAAZ,CAAuBH,MAAM,CAACM,QAA9B,CADF,CAEE,CAAC,cAAIP,KAAK,CAACU,QAAV,CAAoBT,MAAM,CAACQ,OAA3B,CAAD,CAAsC,cAAIT,KAAK,CAACe,QAAV,CAAoB,CAApB,CAAtC,CAFF,CAGE,cAAIf,KAAK,CAACU,QAAV,CAAoBI,YAApB,CAHF,CADW,CAMX,cAAId,KAAK,CAACI,SAAV,CAAqBA,SAArB,CANW,CAOX,cAAIJ,KAAK,CAACG,IAAV,CAAgBJ,KAAhB,CAPW,CAAN,CAAP,CASD","sourcesContent":["import {\n cond,\n sub,\n divide,\n multiply,\n add,\n block,\n set,\n greaterOrEq,\n} from '../base';\n\nexport default function timing(clock, state, config) {\n const lastTime = cond(state.time, state.time, clock);\n const frameTime = add(state.frameTime, sub(clock, lastTime));\n\n const progress = config.easing(divide(state.frameTime, config.duration));\n const distanceLeft = sub(config.toValue, state.position);\n const fullDistance = divide(distanceLeft, sub(1, progress));\n const startPosition = sub(config.toValue, fullDistance);\n const nextProgress = config.easing(divide(frameTime, config.duration));\n const nextPosition = add(startPosition, multiply(fullDistance, nextProgress));\n\n return block([\n cond(\n greaterOrEq(frameTime, config.duration),\n [set(state.position, config.toValue), set(state.finished, 1)],\n set(state.position, nextPosition)\n ),\n set(state.frameTime, frameTime),\n set(state.time, clock),\n ]);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=floor;var _base=require(\"../base\");function floor(a){return(0,_base.round)((0,_base.sub)(a,0.5-1e-8));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/floor.js"],"names":["floor","a"],"mappings":"+EAAA,6BAEe,QAASA,CAAAA,KAAT,CAAeC,CAAf,CAAkB,CAC/B,MAAO,gBAAM,cAAIA,CAAJ,CAAO,IAAM,IAAb,CAAN,CAAP,CACD","sourcesContent":["import { sub, round } from '../base';\n\nexport default function floor(a) {\n return round(sub(a, 0.5 - 1e-8));\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.resolve=resolve;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));function resolve(styleProp,cleanedProps){if(styleProp){return _StyleSheet.default?[styleProp,cleanedProps]:styleProp[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]?Object.assign.apply(Object,[{}].concat((0,_toConsumableArray2.default)(styleProp),[cleanedProps])):(0,_extends2.default)({},styleProp,cleanedProps);}else{return cleanedProps;}}","map":{"version":3,"sources":["resolve.ts"],"names":["StyleSheet","styleProp","Symbol","Object"],"mappings":"oPAAA,oG,4FAGO,QAAA,CAAA,OAAA,CAAA,SAAA,CAAA,YAAA,CAA0C,CAC/C,GAAA,SAAA,CAAe,CACb,MAAOA,qBACH,CAAA,SAAA,CADa,YACb,CADGA,CAGLC,SAAS,CAAA,MAAA,CAAA,MAAA,GAAA,UAAA,4BAACC,MAAM,CAAP,QAAA,cAATD,YAAS,CAATA,CACEE,MAAM,CAANA,MAAAA,CAAAA,KAAAA,CAAAA,MAAAA,CAAM,CAAA,EAAA,EAAA,MAAA,CAAA,gCAAA,SAAA,CAAA,CAAA,CADRF,YACQ,CAAA,CAANE,CADFF,CAEE,sBAAA,EAAA,CAAA,SAAA,CALJ,YAKI,CALJ,CADF,CAAA,IAOO,CACL,MAAA,CAAA,YAAA,CAEH,CAAA","sourcesContent":["import { StyleSheet } from 'react-native-web';\n\n// Kept in separate file, to avoid name collision with Symbol element\nexport function resolve(styleProp, cleanedProps) {\n if (styleProp) {\n return StyleSheet\n ? [styleProp, cleanedProps]\n : // Compatibility for arrays of styles in plain react web\n styleProp[Symbol.iterator]\n ? Object.assign({}, ...styleProp, cleanedProps)\n : Object.assign({}, styleProp, cleanedProps);\n } else {\n return cleanedProps;\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _reactNativeTabView=require(\"react-native-tab-view\");var _createTabNavigator=_interopRequireDefault(require(\"../utils/createTabNavigator\"));var _MaterialTopTabBar=_interopRequireDefault(require(\"../views/MaterialTopTabBar\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/navigators/createMaterialTopTabNavigator.tsx\";var MaterialTabView=function(_React$PureComponent){(0,_inherits2.default)(MaterialTabView,_React$PureComponent);function MaterialTabView(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,MaterialTabView);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(MaterialTabView)).call.apply(_getPrototypeOf2,[this].concat(args)));_this._renderLazyPlaceholder=function(props){var LazyPlaceholder=_this.props.lazyPlaceholderComponent;if(LazyPlaceholder!=null){return React.createElement(LazyPlaceholder,(0,_extends2.default)({},props,{__source:{fileName:_jsxFileName,lineNumber:49}}));}return null;};_this._renderTabBar=function(props){var state=_this.props.navigation.state;var route=state.routes[state.index];var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var options=descriptor.options;var tabBarVisible=options.tabBarVisible==null?true:options.tabBarVisible;var _this$props=_this.props,navigation=_this$props.navigation,getLabelText=_this$props.getLabelText,getAccessibilityLabel=_this$props.getAccessibilityLabel,getTestID=_this$props.getTestID,renderIcon=_this$props.renderIcon,onTabPress=_this$props.onTabPress,onTabLongPress=_this$props.onTabLongPress,_this$props$tabBarCom=_this$props.tabBarComponent,TabBarComponent=_this$props$tabBarCom===void 0?_MaterialTopTabBar.default:_this$props$tabBarCom,tabBarPosition=_this$props.tabBarPosition,tabBarOptions=_this$props.tabBarOptions,screenProps=_this$props.screenProps;if(TabBarComponent===null||!tabBarVisible){return null;}return React.createElement(TabBarComponent,(0,_extends2.default)({},tabBarOptions,props,{tabBarPosition:tabBarPosition,screenProps:screenProps,navigation:navigation,getLabelText:getLabelText,getAccessibilityLabel:getAccessibilityLabel,getTestID:getTestID,renderIcon:renderIcon,onTabPress:onTabPress,onTabLongPress:onTabLongPress,__source:{fileName:_jsxFileName,lineNumber:84}}));};return _this;}(0,_createClass2.default)(MaterialTabView,[{key:\"render\",value:function render(){var _this$props2=this.props,getLabelText=_this$props2.getLabelText,getAccessibilityLabel=_this$props2.getAccessibilityLabel,getTestID=_this$props2.getTestID,renderIcon=_this$props2.renderIcon,onTabPress=_this$props2.onTabPress,onTabLongPress=_this$props2.onTabLongPress,screenProps=_this$props2.screenProps,lazyPlaceholderComponent=_this$props2.lazyPlaceholderComponent,tabBarComponent=_this$props2.tabBarComponent,tabBarOptions=_this$props2.tabBarOptions,navigation=_this$props2.navigation,descriptors=_this$props2.descriptors,rest=(0,_objectWithoutProperties2.default)(_this$props2,[\"getLabelText\",\"getAccessibilityLabel\",\"getTestID\",\"renderIcon\",\"onTabPress\",\"onTabLongPress\",\"screenProps\",\"lazyPlaceholderComponent\",\"tabBarComponent\",\"tabBarOptions\",\"navigation\",\"descriptors\"]);var state=navigation.state;var route=state.routes[state.index];var descriptor=descriptors[route.key];var options=descriptor.options;var swipeEnabled=options.swipeEnabled==null?this.props.swipeEnabled:options.swipeEnabled;if(typeof swipeEnabled==='function'){swipeEnabled=swipeEnabled(state);}return React.createElement(_reactNativeTabView.TabView,(0,_extends2.default)({},rest,{navigationState:navigation.state,swipeEnabled:swipeEnabled,renderTabBar:this._renderTabBar,renderLazyPlaceholder:this._renderLazyPlaceholder,__source:{fileName:_jsxFileName,lineNumber:136}}));}}]);return MaterialTabView;}(React.PureComponent);var _default=(0,_createTabNavigator.default)(MaterialTabView);exports.default=_default;","map":{"version":3,"sources":["createMaterialTopTabNavigator.tsx"],"names":["MaterialTabView","React","PureComponent","_renderLazyPlaceholder","LazyPlaceholder","_renderTabBar","state","route","descriptors","descriptor","options","tabBarVisible","navigation","getLabelText","getAccessibilityLabel","getTestID","renderIcon","onTabPress","onTabLongPress","TabBarComponent","tabBarPosition","tabBarOptions","screenProps","lazyPlaceholderComponent","tabBarComponent","rest","swipeEnabled","createTabNavigator"],"mappings":"k5BAAA,oDAEA,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,CAAA,sCAAA,YAAA,CAAA,CAAA,cAAA,CAAA,uBAAA,CAAA,WAAA,CAAA,YAAA,CAAA,YAAA,CAAA,gBAAA,CAAA,aAAA,CAAA,0BAAA,CAAA,iBAAA,CAAA,eAAA,CAAA,YAAA,CAAA,aAAA,CAAA,CAAA,CAAA,GAmBCnB,CAAAA,KAnBD,CAmBWM,UAnBX,CAAA,KAAA,CAoBP,GAAML,CAAAA,KAAK,CAAGD,KAAK,CAALA,MAAAA,CAAaA,KAAK,CAAhC,KAAcA,CAAd,CAEA,GAAMG,CAAAA,UAAU,CAAGD,WAAW,CAACD,KAAK,CAApC,GAA8B,CAA9B,CACA,GAAMG,CAAAA,OAAO,CAAGD,UAAU,CAA1B,OAAA,CAEA,GAAIiB,CAAAA,YAAY,CAEdhB,OAAO,CAAPA,YAAAA,EAAAA,IAAAA,CACI,KAAA,KAAA,CADJA,YAAAA,CAEKA,OAAD,CAJN,YAAA,CAMA,GAAI,MAAA,CAAA,YAAA,GAAJ,UAAA,CAAwC,CACtCgB,YAAY,CAAGA,YAAY,CAA3BA,KAA2B,CAA3BA,CAGF,OACE,CAAA,KAAA,CAAA,aAAA,CAAA,2BAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAEE,eAAe,CAAEd,UAAU,CAF7B,KAAA,CAGE,YAAY,CAHd,YAAA,CAIE,YAAY,CAAE,KAJhB,aAAA,CAKE,qBAAqB,CAAE,KALzB,sBAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,GACE,CAAA,CAAA,CAAA,CADF,C,8BA3F0BX,KAAK,CAACC,a,CAA9BF,C,aAuGS2B,gCAAf,eAAeA,C","sourcesContent":["import * as React from 'react';\nimport { StyleProp, ViewStyle } from 'react-native';\nimport { TabView, SceneRendererProps } from 'react-native-tab-view';\nimport createTabNavigator, {\n NavigationViewProps,\n} from '../utils/createTabNavigator';\nimport MaterialTopTabBar from '../views/MaterialTopTabBar';\nimport {\n NavigationTabProp,\n NavigationMaterialTabOptions,\n MaterialTabBarOptions,\n SceneDescriptorMap,\n} from '../types';\n\ntype Route = {\n key: string;\n routeName: string;\n};\n\ntype Config = {\n keyboardDismissMode?: 'none' | 'on-drag';\n swipeEnabled?: boolean;\n swipeDistanceThreshold?: number;\n swipeVelocityThreshold?: number;\n initialLayout?: { width?: number; height?: number };\n lazy?: boolean;\n lazyPlaceholderComponent?: React.ComponentType<{ route: Route }>;\n tabBarComponent?: React.ComponentType<any>;\n tabBarOptions?: MaterialTabBarOptions;\n tabBarPosition?: 'top' | 'bottom';\n sceneContainerStyle?: StyleProp<ViewStyle>;\n style?: StyleProp<ViewStyle>;\n};\n\ntype Props = NavigationViewProps &\n Config & {\n onSwipeStart?: () => void;\n onSwipeEnd?: () => void;\n navigation: NavigationTabProp;\n descriptors: SceneDescriptorMap;\n screenProps?: unknown;\n };\n\nclass MaterialTabView extends React.PureComponent<Props> {\n _renderLazyPlaceholder = (props: { route: Route }) => {\n const { lazyPlaceholderComponent: LazyPlaceholder } = this.props;\n\n if (LazyPlaceholder != null) {\n return <LazyPlaceholder {...props} />;\n }\n\n return null;\n };\n\n _renderTabBar = (props: SceneRendererProps) => {\n const { state } = this.props.navigation;\n const route = state.routes[state.index];\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n const tabBarVisible =\n options.tabBarVisible == null ? true : options.tabBarVisible;\n\n const {\n navigation,\n getLabelText,\n getAccessibilityLabel,\n getTestID,\n renderIcon,\n onTabPress,\n onTabLongPress,\n tabBarComponent: TabBarComponent = MaterialTopTabBar,\n tabBarPosition,\n tabBarOptions,\n screenProps,\n } = this.props;\n\n if (TabBarComponent === null || !tabBarVisible) {\n return null;\n }\n\n return (\n <TabBarComponent\n {...tabBarOptions}\n {...props}\n tabBarPosition={tabBarPosition}\n screenProps={screenProps}\n navigation={navigation}\n getLabelText={getLabelText}\n getAccessibilityLabel={getAccessibilityLabel}\n getTestID={getTestID}\n renderIcon={renderIcon}\n onTabPress={onTabPress}\n onTabLongPress={onTabLongPress}\n />\n );\n };\n\n render() {\n const {\n /* eslint-disable @typescript-eslint/no-unused-vars */\n getLabelText,\n getAccessibilityLabel,\n getTestID,\n renderIcon,\n onTabPress,\n onTabLongPress,\n screenProps,\n lazyPlaceholderComponent,\n tabBarComponent,\n tabBarOptions,\n /* eslint-enable @typescript-eslint/no-unused-vars */\n navigation,\n descriptors,\n ...rest\n } = this.props;\n\n const { state } = navigation;\n const route = state.routes[state.index];\n\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n let swipeEnabled =\n // @ts-ignore\n options.swipeEnabled == null\n ? this.props.swipeEnabled\n : (options as any).swipeEnabled;\n\n if (typeof swipeEnabled === 'function') {\n swipeEnabled = swipeEnabled(state);\n }\n\n return (\n <TabView\n {...rest}\n navigationState={navigation.state}\n swipeEnabled={swipeEnabled}\n renderTabBar={this._renderTabBar}\n renderLazyPlaceholder={this._renderLazyPlaceholder}\n />\n );\n }\n}\n\nexport default createTabNavigator<Config, NavigationMaterialTabOptions, Props>(\n MaterialTabView\n);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _Zocial=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/Zocial.ttf\"));var _Zocial2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/Zocial.json\"));var _default=(0,_createIconSet.default)(_Zocial2.default,'zocial',_Zocial.default);exports.default=_default;","map":{"version":3,"sources":["../src/Zocial.ts"],"names":[],"mappings":"mKAAA,sEACA,mGACA,yG,aAEe,2BAAc,gBAAd,CAAwB,QAAxB,CAAkC,eAAlC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Zocial.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Zocial.json';\n\nexport default createIconSet(glyphMap, 'zocial', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _EdgeInsetsPropType=_interopRequireDefault(require(\"../EdgeInsetsPropType\"));var _StyleSheetPropType=_interopRequireDefault(require(\"../../modules/StyleSheetPropType\"));var _ViewStylePropTypes=_interopRequireDefault(require(\"./ViewStylePropTypes\"));var _propTypes=require(\"prop-types\");var stylePropType=(0,_StyleSheetPropType.default)(_ViewStylePropTypes.default);var ViewPropTypes={accessibilityComponentType:_propTypes.string,accessibilityLabel:_propTypes.string,accessibilityLiveRegion:(0,_propTypes.oneOf)(['assertive','none','polite']),accessibilityRole:_propTypes.string,accessibilityStates:(0,_propTypes.arrayOf)((0,_propTypes.oneOf)(['disabled','selected','busy','checked','expanded','grabbed','invalid','pressed'])),accessibilityTraits:(0,_propTypes.oneOfType)([_propTypes.array,_propTypes.string]),accessible:_propTypes.bool,children:_propTypes.any,hitSlop:_EdgeInsetsPropType.default,importantForAccessibility:(0,_propTypes.oneOf)(['auto','no','no-hide-descendants','yes']),nativeID:_propTypes.string,onBlur:_propTypes.func,onClick:_propTypes.func,onClickCapture:_propTypes.func,onFocus:_propTypes.func,onLayout:_propTypes.func,onMoveShouldSetResponder:_propTypes.func,onMoveShouldSetResponderCapture:_propTypes.func,onResponderGrant:_propTypes.func,onResponderMove:_propTypes.func,onResponderReject:_propTypes.func,onResponderRelease:_propTypes.func,onResponderTerminate:_propTypes.func,onResponderTerminationRequest:_propTypes.func,onStartShouldSetResponder:_propTypes.func,onStartShouldSetResponderCapture:_propTypes.func,onTouchCancel:_propTypes.func,onTouchCancelCapture:_propTypes.func,onTouchEnd:_propTypes.func,onTouchEndCapture:_propTypes.func,onTouchMove:_propTypes.func,onTouchMoveCapture:_propTypes.func,onTouchStart:_propTypes.func,onTouchStartCapture:_propTypes.func,pointerEvents:(0,_propTypes.oneOf)(['auto','box-none','box-only','none']),style:stylePropType,testID:_propTypes.string,onContextMenu:_propTypes.func,itemID:_propTypes.string,itemRef:_propTypes.string,itemProp:_propTypes.string,itemScope:_propTypes.string,itemType:_propTypes.string,accessibilityViewIsModal:_propTypes.bool,collapsable:_propTypes.bool,needsOffscreenAlphaCompositing:_propTypes.bool,onAccessibilityTap:_propTypes.func,onMagicTap:_propTypes.func,removeClippedSubviews:_propTypes.bool,renderToHardwareTextureAndroid:_propTypes.bool,shouldRasterizeIOS:_propTypes.bool,tvParallaxProperties:_propTypes.object};var _default=ViewPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/View/ViewPropTypes.js"],"names":["stylePropType","ViewStylePropTypes","ViewPropTypes","accessibilityComponentType","string","accessibilityLabel","accessibilityLiveRegion","accessibilityRole","accessibilityStates","accessibilityTraits","array","accessible","bool","children","any","hitSlop","EdgeInsetsPropType","importantForAccessibility","nativeID","onBlur","func","onClick","onClickCapture","onFocus","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderTerminate","onResponderTerminationRequest","onStartShouldSetResponder","onStartShouldSetResponderCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","pointerEvents","style","testID","onContextMenu","itemID","itemRef","itemProp","itemScope","itemType","accessibilityViewIsModal","collapsable","needsOffscreenAlphaCompositing","onAccessibilityTap","onMagicTap","removeClippedSubviews","renderToHardwareTextureAndroid","shouldRasterizeIOS","tvParallaxProperties","object"],"mappings":"mKASA,iFACA,4FACA,gFACA,qCACA,GAAIA,CAAAA,aAAa,CAAG,gCAAmBC,2BAAnB,CAApB,CACA,GAAIC,CAAAA,aAAa,CAA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nB,eAjCK,CAkClBoB,kBAAkB,CAAEpB,eAlCF,CAmClBqB,YAAY,CAAErB,eAnCI,CAoClBsB,mBAAmB,CAAEtB,eApCH,CAqClBuB,aAAa,CAAE,qBAAM,CAAC,MAAD,CAAS,UAAT,CAAqB,UAArB,CAAiC,MAAjC,CAAN,CArCG,CAsClBC,KAAK,CAAE5C,aAtCW,CAuClB6C,MAAM,CAAEzC,iBAvCU,CAyClB0C,aAAa,CAAE1B,eAzCG,CA0ClB2B,MAAM,CAAE3C,iBA1CU,CA2ClB4C,OAAO,CAAE5C,iBA3CS,CA4ClB6C,QAAQ,CAAE7C,iBA5CQ,CA6ClB8C,SAAS,CAAE9C,iBA7CO,CA8ClB+C,QAAQ,CAAE/C,iBA9CQ,CAgDlBgD,wBAAwB,CAAExC,eAhDR,CAiDlByC,WAAW,CAAEzC,eAjDK,CAkDlB0C,8BAA8B,CAAE1C,eAlDd,CAmDlB2C,kBAAkB,CAAEnC,eAnDF,CAoDlBoC,UAAU,CAAEpC,eApDM,CAqDlBqC,qBAAqB,CAAE7C,eArDL,CAsDlB8C,8BAA8B,CAAE9C,eAtDd,CAuDlB+C,kBAAkB,CAAE/C,eAvDF,CAwDlBgD,oBAAoB,CAAEC,iBAxDJ,CAApB,C,aA0De3D,a","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport EdgeInsetsPropType from '../EdgeInsetsPropType';\nimport StyleSheetPropType from '../../modules/StyleSheetPropType';\nimport ViewStylePropTypes from './ViewStylePropTypes';\nimport { any, array, arrayOf, bool, func, object, oneOf, oneOfType, string } from 'prop-types';\nvar stylePropType = StyleSheetPropType(ViewStylePropTypes);\nvar ViewPropTypes = {\n accessibilityComponentType: string,\n accessibilityLabel: string,\n accessibilityLiveRegion: oneOf(['assertive', 'none', 'polite']),\n accessibilityRole: string,\n accessibilityStates: arrayOf(oneOf(['disabled', 'selected',\n /* web-only */\n 'busy', 'checked', 'expanded', 'grabbed', 'invalid', 'pressed'])),\n accessibilityTraits: oneOfType([array, string]),\n accessible: bool,\n children: any,\n hitSlop: EdgeInsetsPropType,\n importantForAccessibility: oneOf(['auto', 'no', 'no-hide-descendants', 'yes']),\n nativeID: string,\n onBlur: func,\n onClick: func,\n onClickCapture: func,\n onFocus: func,\n onLayout: func,\n onMoveShouldSetResponder: func,\n onMoveShouldSetResponderCapture: func,\n onResponderGrant: func,\n onResponderMove: func,\n onResponderReject: func,\n onResponderRelease: func,\n onResponderTerminate: func,\n onResponderTerminationRequest: func,\n onStartShouldSetResponder: func,\n onStartShouldSetResponderCapture: func,\n onTouchCancel: func,\n onTouchCancelCapture: func,\n onTouchEnd: func,\n onTouchEndCapture: func,\n onTouchMove: func,\n onTouchMoveCapture: func,\n onTouchStart: func,\n onTouchStartCapture: func,\n pointerEvents: oneOf(['auto', 'box-none', 'box-only', 'none']),\n style: stylePropType,\n testID: string,\n // web extensions\n onContextMenu: func,\n itemID: string,\n itemRef: string,\n itemProp: string,\n itemScope: string,\n itemType: string,\n // compatibility with React Native\n accessibilityViewIsModal: bool,\n collapsable: bool,\n needsOffscreenAlphaCompositing: bool,\n onAccessibilityTap: func,\n onMagicTap: func,\n removeClippedSubviews: bool,\n renderToHardwareTextureAndroid: bool,\n shouldRasterizeIOS: bool,\n tvParallaxProperties: object\n};\nexport default ViewPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableWithoutFeedback\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Keyboard=_interopRequireDefault(require(\"react-native-web/dist/exports/Keyboard\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _reactNativeSafeAreaView=_interopRequireDefault(require(\"react-native-safe-area-view\"));var _reactNavigation=require(\"react-navigation\");var _CrossFadeIcon=_interopRequireDefault(require(\"./CrossFadeIcon\"));var _withDimensions=_interopRequireDefault(require(\"../utils/withDimensions\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/views/BottomTabBar.tsx\";var majorVersion=parseInt(_Platform.default.Version,10);var isIos=_Platform.default.OS==='ios';var isIOS11=majorVersion>=11&&isIos;var DEFAULT_MAX_TAB_ITEM_WIDTH=125;var TouchableWithoutFeedbackWrapper=function(_React$Component){(0,_inherits2.default)(TouchableWithoutFeedbackWrapper,_React$Component);function TouchableWithoutFeedbackWrapper(){(0,_classCallCheck2.default)(this,TouchableWithoutFeedbackWrapper);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf3.default)(TouchableWithoutFeedbackWrapper).apply(this,arguments));}(0,_createClass2.default)(TouchableWithoutFeedbackWrapper,[{key:\"render\",value:function render(){var _this$props=this.props,route=_this$props.route,focused=_this$props.focused,onPress=_this$props.onPress,onLongPress=_this$props.onLongPress,testID=_this$props.testID,accessibilityLabel=_this$props.accessibilityLabel,accessibilityRole=_this$props.accessibilityRole,accessibilityStates=_this$props.accessibilityStates,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"route\",\"focused\",\"onPress\",\"onLongPress\",\"testID\",\"accessibilityLabel\",\"accessibilityRole\",\"accessibilityStates\"]);return _react.default.createElement(_TouchableWithoutFeedback.default,{onPress:onPress,onLongPress:onLongPress,testID:testID,hitSlop:{left:15,right:15,top:0,bottom:5},accessibilityLabel:accessibilityLabel,accessibilityRole:accessibilityRole,accessibilityStates:accessibilityStates,__source:{fileName:_jsxFileName,lineNumber:49}},_react.default.createElement(_View.default,(0,_extends2.default)({},rest,{__source:{fileName:_jsxFileName,lineNumber:58}})));}}]);return TouchableWithoutFeedbackWrapper;}(_react.default.Component);var TabBarBottom=function(_React$Component2){(0,_inherits2.default)(TabBarBottom,_React$Component2);function TabBarBottom(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TabBarBottom);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TabBarBottom)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={layout:{height:0,width:0},keyboard:false,visible:new _Animated.default.Value(1)};_this._handleKeyboardShow=function(){return _this.setState({keyboard:true},function(){return _Animated.default.timing(_this.state.visible,{toValue:0,duration:150,useNativeDriver:true}).start();});};_this._handleKeyboardHide=function(){return _Animated.default.timing(_this.state.visible,{toValue:1,duration:100,useNativeDriver:true}).start(function(){_this.setState({keyboard:false});});};_this._handleLayout=function(e){var layout=_this.state.layout;var _e$nativeEvent$layout=e.nativeEvent.layout,height=_e$nativeEvent$layout.height,width=_e$nativeEvent$layout.width;if(height===layout.height&&width===layout.width){return;}_this.setState({layout:{height:height,width:width}});};_this._getActiveTintColor=function(){var activeTintColor=_this.props.activeTintColor;if(!activeTintColor){return;}else if(typeof activeTintColor==='string'){return activeTintColor;}return activeTintColor[_this.context];};_this._getInactiveTintColor=function(){var inactiveTintColor=_this.props.inactiveTintColor;if(!inactiveTintColor){return;}else if(typeof inactiveTintColor==='string'){return inactiveTintColor;}return inactiveTintColor[_this.context];};_this._getActiveBackgroundColor=function(){var activeBackgroundColor=_this.props.activeBackgroundColor;if(!activeBackgroundColor){return;}else if(typeof activeBackgroundColor==='string'){return activeBackgroundColor;}return activeBackgroundColor[_this.context];};_this._getInactiveBackgroundColor=function(){var inactiveBackgroundColor=_this.props.inactiveBackgroundColor;if(!inactiveBackgroundColor){return;}else if(typeof inactiveBackgroundColor==='string'){return inactiveBackgroundColor;}return inactiveBackgroundColor[_this.context];};_this._renderLabel=function(_ref){var route=_ref.route,focused=_ref.focused;var _this$props2=_this.props,labelStyle=_this$props2.labelStyle,showLabel=_this$props2.showLabel,showIcon=_this$props2.showIcon,allowFontScaling=_this$props2.allowFontScaling;if(showLabel===false){return null;}var activeTintColor=_this._getActiveTintColor();var inactiveTintColor=_this._getInactiveTintColor();var label=_this.props.getLabelText({route:route});var tintColor=focused?activeTintColor:inactiveTintColor;var horizontal=_this._shouldUseHorizontalLabels();if(typeof label==='string'){return _react.default.createElement(_Animated.default.Text,{numberOfLines:1,style:[styles.label,{color:tintColor},showIcon&&horizontal?styles.labelBeside:styles.labelBeneath,labelStyle],allowFontScaling:allowFontScaling,__source:{fileName:_jsxFileName,lineNumber:217}},label);}if(typeof label==='function'){return label({focused:focused,tintColor:tintColor,orientation:horizontal?'horizontal':'vertical'});}return label;};_this._renderIcon=function(_ref2){var route=_ref2.route,focused=_ref2.focused;var _this$props3=_this.props,renderIcon=_this$props3.renderIcon,showIcon=_this$props3.showIcon,showLabel=_this$props3.showLabel;if(showIcon===false){return null;}var horizontal=_this._shouldUseHorizontalLabels();var activeTintColor=_this._getActiveTintColor();var inactiveTintColor=_this._getInactiveTintColor();var activeOpacity=focused?1:0;var inactiveOpacity=focused?0:1;return _react.default.createElement(_CrossFadeIcon.default,{route:route,horizontal:horizontal,activeOpacity:activeOpacity,inactiveOpacity:inactiveOpacity,activeTintColor:activeTintColor,inactiveTintColor:inactiveTintColor,renderIcon:renderIcon,style:[styles.iconWithExplicitHeight,showLabel===false&&!horizontal&&styles.iconWithoutLabel,showLabel!==false&&!horizontal&&styles.iconWithLabel],__source:{fileName:_jsxFileName,lineNumber:264}});};_this._shouldUseHorizontalLabels=function(){var routes=_this.props.navigation.state.routes;var _this$props4=_this.props,isLandscape=_this$props4.isLandscape,dimensions=_this$props4.dimensions,adaptive=_this$props4.adaptive,tabStyle=_this$props4.tabStyle,labelPosition=_this$props4.labelPosition;if(labelPosition){var position;if(typeof labelPosition==='string'){position=labelPosition;}else{position=labelPosition({deviceOrientation:isLandscape?'horizontal':'vertical'});}if(position){return position==='beside-icon';}}if(!adaptive){return false;}if(_Platform.default.isPad){var maxTabItemWidth=DEFAULT_MAX_TAB_ITEM_WIDTH;var flattenedStyle=_StyleSheet.default.flatten(tabStyle);if(flattenedStyle){if(typeof flattenedStyle.width==='number'){maxTabItemWidth=flattenedStyle.width;}else if(typeof flattenedStyle.maxWidth==='number'){maxTabItemWidth=flattenedStyle.maxWidth;}}return routes.length*maxTabItemWidth<=dimensions.width;}else{return isLandscape;}};return _this;}(0,_createClass2.default)(TabBarBottom,[{key:\"componentDidMount\",value:function componentDidMount(){if(_Platform.default.OS==='ios'){_Keyboard.default.addListener('keyboardWillShow',this._handleKeyboardShow);_Keyboard.default.addListener('keyboardWillHide',this._handleKeyboardHide);}else{_Keyboard.default.addListener('keyboardDidShow',this._handleKeyboardShow);_Keyboard.default.addListener('keyboardDidHide',this._handleKeyboardHide);}}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){if(_Platform.default.OS==='ios'){_Keyboard.default.removeListener('keyboardWillShow',this._handleKeyboardShow);_Keyboard.default.removeListener('keyboardWillHide',this._handleKeyboardHide);}else{_Keyboard.default.removeListener('keyboardDidShow',this._handleKeyboardShow);_Keyboard.default.removeListener('keyboardDidHide',this._handleKeyboardHide);}}},{key:\"render\",value:function render(){var _this2=this;var _this$props5=this.props,navigation=_this$props5.navigation,keyboardHidesTabBar=_this$props5.keyboardHidesTabBar,onTabPress=_this$props5.onTabPress,onTabLongPress=_this$props5.onTabLongPress,safeAreaInset=_this$props5.safeAreaInset,style=_this$props5.style,tabStyle=_this$props5.tabStyle;var routes=navigation.state.routes;var isDark=this.context==='dark';var activeBackgroundColor=this._getActiveBackgroundColor();var inactiveBackgroundColor=this._getInactiveBackgroundColor();var _StyleSheet$flatten=_StyleSheet.default.flatten(style||{}),position=_StyleSheet$flatten.position,top=_StyleSheet$flatten.top,_StyleSheet$flatten$l=_StyleSheet$flatten.left,left=_StyleSheet$flatten$l===void 0?0:_StyleSheet$flatten$l,_StyleSheet$flatten$b=_StyleSheet$flatten.bottom,bottom=_StyleSheet$flatten$b===void 0?0:_StyleSheet$flatten$b,_StyleSheet$flatten$r=_StyleSheet$flatten.right,right=_StyleSheet$flatten$r===void 0?0:_StyleSheet$flatten$r,margin=_StyleSheet$flatten.margin,marginTop=_StyleSheet$flatten.marginTop,marginLeft=_StyleSheet$flatten.marginLeft,marginBottom=_StyleSheet$flatten.marginBottom,marginRight=_StyleSheet$flatten.marginRight,marginHorizontal=_StyleSheet$flatten.marginHorizontal,marginVertical=_StyleSheet$flatten.marginVertical,innerStyle=(0,_objectWithoutProperties2.default)(_StyleSheet$flatten,[\"position\",\"top\",\"left\",\"bottom\",\"right\",\"margin\",\"marginTop\",\"marginLeft\",\"marginBottom\",\"marginRight\",\"marginHorizontal\",\"marginVertical\"]);var containerStyle={position:position,top:top,left:left,bottom:bottom,right:right,margin:margin,marginTop:marginTop,marginLeft:marginLeft,marginBottom:marginBottom,marginRight:marginRight,marginHorizontal:marginHorizontal,marginVertical:marginVertical};var tabBarStyle=[styles.tabBar,isDark?styles.tabBarDark:styles.tabBarLight,this._shouldUseHorizontalLabels()&&!_Platform.default.isPad?styles.tabBarCompact:styles.tabBarRegular,innerStyle];return _react.default.createElement(_Animated.default.View,{style:[styles.container,keyboardHidesTabBar?{transform:[{translateY:this.state.visible.interpolate({inputRange:[0,1],outputRange:[this.state.layout.height,0]})}],position:this.state.keyboard?'absolute':null}:null,containerStyle],pointerEvents:keyboardHidesTabBar&&this.state.keyboard?'none':'auto',onLayout:this._handleLayout,__source:{fileName:_jsxFileName,lineNumber:389}},_react.default.createElement(_reactNativeSafeAreaView.default,{style:tabBarStyle,forceInset:safeAreaInset,__source:{fileName:_jsxFileName,lineNumber:415}},routes.map(function(route,index){var focused=index===navigation.state.index;var scene={route:route,focused:focused};var accessibilityLabel=_this2.props.getAccessibilityLabel({route:route});var accessibilityRole=_this2.props.getAccessibilityRole({route:route});var accessibilityStates=_this2.props.getAccessibilityStates(scene);var testID=_this2.props.getTestID({route:route});var backgroundColor=focused?activeBackgroundColor:inactiveBackgroundColor;var ButtonComponent=_this2.props.getButtonComponent({route:route})||TouchableWithoutFeedbackWrapper;return _react.default.createElement(ButtonComponent,{key:route.key,route:route,focused:focused,onPress:function onPress(){return onTabPress({route:route});},onLongPress:function onLongPress(){return onTabLongPress({route:route});},testID:testID,accessibilityLabel:accessibilityLabel,accessibilityRole:accessibilityRole,accessibilityStates:accessibilityStates,style:[styles.tab,{backgroundColor:backgroundColor},_this2._shouldUseHorizontalLabels()?styles.tabLandscape:styles.tabPortrait,tabStyle],__source:{fileName:_jsxFileName,lineNumber:442}},_this2._renderIcon(scene),_this2._renderLabel(scene));})));}}]);return TabBarBottom;}(_react.default.Component);TabBarBottom.defaultProps={keyboardHidesTabBar:true,activeTintColor:{light:'#007AFF',dark:'#fff'},inactiveTintColor:{light:'#8e8e93',dark:'#7f7f7f'},activeBackgroundColor:'transparent',inactiveBackgroundColor:'transparent',showLabel:true,showIcon:true,allowFontScaling:true,adaptive:isIOS11,safeAreaInset:{bottom:'always',top:'never'}};TabBarBottom.contextType=_reactNavigation.ThemeContext;var DEFAULT_HEIGHT=49;var COMPACT_HEIGHT=29;var styles=_StyleSheet.default.create({tabBar:{borderTopWidth:_StyleSheet.default.hairlineWidth,flexDirection:'row'},tabBarLight:{backgroundColor:_reactNavigation.ThemeColors.light.header,borderTopColor:_reactNavigation.ThemeColors.light.headerBorder},tabBarDark:{backgroundColor:_reactNavigation.ThemeColors.dark.header,borderTopColor:_reactNavigation.ThemeColors.dark.headerBorder},container:{elevation:8},tabBarCompact:{height:COMPACT_HEIGHT},tabBarRegular:{height:DEFAULT_HEIGHT},tab:{flex:1,alignItems:isIos?'center':'stretch'},tabPortrait:{justifyContent:'flex-end',flexDirection:'column'},tabLandscape:{justifyContent:'center',flexDirection:'row'},iconWithoutLabel:{flex:1},iconWithLabel:{flex:1},iconWithExplicitHeight:{height:_Platform.default.isPad?DEFAULT_HEIGHT:COMPACT_HEIGHT},label:{textAlign:'center',backgroundColor:'transparent'},labelBeneath:{fontSize:11,marginBottom:1.5},labelBeside:{fontSize:12,marginLeft:20}});var _default=(0,_withDimensions.default)(TabBarBottom);exports.default=_default;","map":{"version":3,"sources":["BottomTabBar.tsx"],"names":["majorVersion","parseInt","Platform","isIos","isIOS11","DEFAULT_MAX_TAB_ITEM_WIDTH","TouchableWithoutFeedbackWrapper","React","Component","route","focused","onPress","onLongPress","testID","accessibilityLabel","accessibilityRole","accessibilityStates","rest","left","right","top","bottom","TabBarBottom","defaultProps","keyboardHidesTabBar","activeTintColor","light","dark","inactiveTintColor","activeBackgroundColor","inactiveBackgroundColor","showLabel","showIcon","allowFontScaling","adaptive","safeAreaInset","contextType","ThemeContext","state","layout","height","width","keyboard","visible","Animated","Keyboard","_handleKeyboardShow","toValue","duration","useNativeDriver","_handleKeyboardHide","_handleLayout","e","_getActiveTintColor","_getInactiveTintColor","_getActiveBackgroundColor","_getInactiveBackgroundColor","_renderLabel","labelStyle","label","tintColor","horizontal","styles","color","orientation","_renderIcon","renderIcon","activeOpacity","inactiveOpacity","_shouldUseHorizontalLabels","routes","isLandscape","dimensions","tabStyle","labelPosition","position","deviceOrientation","maxTabItemWidth","flattenedStyle","StyleSheet","navigation","onTabPress","onTabLongPress","style","isDark","margin","marginTop","marginLeft","marginBottom","marginRight","marginHorizontal","marginVertical","innerStyle","containerStyle","tabBarStyle","transform","translateY","inputRange","outputRange","index","scene","backgroundColor","ButtonComponent","DEFAULT_HEIGHT","COMPACT_HEIGHT","tabBar","borderTopWidth","flexDirection","tabBarLight","ThemeColors","borderTopColor","tabBarDark","container","elevation","tabBarCompact","tabBarRegular","tab","flex","alignItems","tabPortrait","justifyContent","tabLandscape","iconWithoutLabel","iconWithLabel","iconWithExplicitHeight","textAlign","labelBeneath","fontSize","labelBeside","withDimensions"],"mappings":"6zBAAA,oD,4iBAUA,4FACA,iDAEA,sEACA,+E,qGASA,GAAMA,CAAAA,YAAY,CAAGC,QAAQ,CAACC,kBAAD,OAAA,CAA7B,EAA6B,CAA7B,CACA,GAAMC,CAAAA,KAAK,CAAGD,kBAAAA,EAAAA,GAAd,KAAA,CACA,GAAME,CAAAA,OAAO,CAAGJ,YAAY,EAAZA,EAAAA,EAAhB,KAAA,CAEA,GAAMK,CAAAA,0BAA0B,CAAhC,GAAA,CAEMC,GAAAA,CAAAA,+B,4bAGK,CAAA,GAAA,CAAA,WAAA,CAaH,KAbG,KAAA,CAGLG,KAHK,CAAA,WAAA,CAAA,KAAA,CAKLC,OALK,CAAA,WAAA,CAAA,OAAA,CAMLC,OANK,CAAA,WAAA,CAAA,OAAA,CAOLC,WAPK,CAAA,WAAA,CAAA,WAAA,CAQLC,MARK,CAAA,WAAA,CAAA,MAAA,CASLC,kBATK,CAAA,WAAA,CAAA,kBAAA,CAULC,iBAVK,CAAA,WAAA,CAAA,iBAAA,CAWLC,mBAXK,CAAA,WAAA,CAAA,mBAAA,CAYFC,IAZE,CAAA,sCAAA,WAAA,CAAA,CAAA,OAAA,CAAA,SAAA,CAAA,SAAA,CAAA,aAAA,CAAA,QAAA,CAAA,oBAAA,CAAA,mBAAA,CAAA,qBAAA,CAAA,CAAA,CAeP,MACE,gBAAA,aAAA,CAAA,iCAAA,CAAA,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ADH,UAAA,CAEXb,aAAa,CA5BgB,QA0BlB,CA1BkB,CA8B/Bc,YAAY,CAAE,CACZD,cAAc,CADF,QAAA,CAEZb,aAAa,CAhCgB,KA8BjB,CA9BiB,CAkC/Be,gBAAgB,CAAE,CAChBL,IAAI,CAnCyB,CAkCb,CAlCa,CAqC/BM,aAAa,CAAE,CACbN,IAAI,CAtCyB,CAqChB,CArCgB,CAwC/BO,sBAAsB,CAAE,CAEtBpF,MAAM,CAAEtC,kBAAAA,KAAAA,CAAAA,cAAAA,CA1CqB,cAwCP,CAxCO,CA4C/ByD,KAAK,CAAE,CACLkE,SAAS,CADJ,QAAA,CAELxB,eAAe,CA9Cc,aA4CxB,CA5CwB,CAgD/ByB,YAAY,CAAE,CACZC,QAAQ,CADI,EAAA,CAEZvC,YAAY,CAlDiB,GAgDjB,CAhDiB,CAoD/BwC,WAAW,CAAE,CACXD,QAAQ,CADG,EAAA,CAEXxC,UAAU,CAtDd,EAoDe,CApDkB,CAAlBR,CAAf,C,aA0DekD,4BAAf,YAAeA,C","sourcesContent":["import React from 'react';\nimport {\n Animated,\n TouchableWithoutFeedback,\n StyleSheet,\n View,\n Keyboard,\n Platform,\n LayoutChangeEvent,\n} from 'react-native';\nimport SafeAreaView from 'react-native-safe-area-view';\nimport { ThemeColors, ThemeContext, NavigationRoute } from 'react-navigation';\n\nimport CrossFadeIcon from './CrossFadeIcon';\nimport withDimensions from '../utils/withDimensions';\nimport { BottomTabBarProps, ButtonComponentProps } from '../types';\n\ntype State = {\n layout: { height: number; width: number };\n keyboard: boolean;\n visible: Animated.Value;\n};\n\nconst majorVersion = parseInt(Platform.Version as string, 10);\nconst isIos = Platform.OS === 'ios';\nconst isIOS11 = majorVersion >= 11 && isIos;\n\nconst DEFAULT_MAX_TAB_ITEM_WIDTH = 125;\n\nclass TouchableWithoutFeedbackWrapper extends React.Component<\n ButtonComponentProps\n> {\n render() {\n const {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n route,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n focused,\n onPress,\n onLongPress,\n testID,\n accessibilityLabel,\n accessibilityRole,\n accessibilityStates,\n ...rest\n } = this.props;\n\n return (\n <TouchableWithoutFeedback\n onPress={onPress}\n onLongPress={onLongPress}\n testID={testID}\n hitSlop={{ left: 15, right: 15, top: 0, bottom: 5 }}\n accessibilityLabel={accessibilityLabel}\n accessibilityRole={accessibilityRole}\n accessibilityStates={accessibilityStates}\n >\n <View {...rest} />\n </TouchableWithoutFeedback>\n );\n }\n}\n\nclass TabBarBottom extends React.Component<BottomTabBarProps, State> {\n static defaultProps = {\n keyboardHidesTabBar: true,\n activeTintColor: {\n light: '#007AFF',\n dark: '#fff',\n },\n inactiveTintColor: {\n light: '#8e8e93',\n dark: '#7f7f7f',\n },\n activeBackgroundColor: 'transparent',\n inactiveBackgroundColor: 'transparent',\n showLabel: true,\n showIcon: true,\n allowFontScaling: true,\n adaptive: isIOS11,\n safeAreaInset: { bottom: 'always', top: 'never' } as React.ComponentProps<\n typeof SafeAreaView\n >['forceInset'],\n };\n\n // eslint-disable-next-line react/sort-comp\n static contextType = ThemeContext;\n\n state = {\n layout: { height: 0, width: 0 },\n keyboard: false,\n visible: new Animated.Value(1),\n };\n\n componentDidMount() {\n if (Platform.OS === 'ios') {\n Keyboard.addListener('keyboardWillShow', this._handleKeyboardShow);\n Keyboard.addListener('keyboardWillHide', this._handleKeyboardHide);\n } else {\n Keyboard.addListener('keyboardDidShow', this._handleKeyboardShow);\n Keyboard.addListener('keyboardDidHide', this._handleKeyboardHide);\n }\n }\n\n componentWillUnmount() {\n if (Platform.OS === 'ios') {\n Keyboard.removeListener('keyboardWillShow', this._handleKeyboardShow);\n Keyboard.removeListener('keyboardWillHide', this._handleKeyboardHide);\n } else {\n Keyboard.removeListener('keyboardDidShow', this._handleKeyboardShow);\n Keyboard.removeListener('keyboardDidHide', this._handleKeyboardHide);\n }\n }\n\n // @ts-ignore\n context: 'light' | 'dark';\n\n _handleKeyboardShow = () =>\n this.setState({ keyboard: true }, () =>\n Animated.timing(this.state.visible, {\n toValue: 0,\n duration: 150,\n useNativeDriver: true,\n }).start()\n );\n\n _handleKeyboardHide = () =>\n Animated.timing(this.state.visible, {\n toValue: 1,\n duration: 100,\n useNativeDriver: true,\n }).start(() => {\n this.setState({ keyboard: false });\n });\n\n _handleLayout = (e: LayoutChangeEvent) => {\n const { layout } = this.state;\n const { height, width } = e.nativeEvent.layout;\n\n if (height === layout.height && width === layout.width) {\n return;\n }\n\n this.setState({\n layout: {\n height,\n width,\n },\n });\n };\n\n _getActiveTintColor = () => {\n let { activeTintColor } = this.props;\n if (!activeTintColor) {\n return;\n } else if (typeof activeTintColor === 'string') {\n return activeTintColor;\n }\n\n return activeTintColor[this.context];\n };\n\n _getInactiveTintColor = () => {\n let { inactiveTintColor } = this.props;\n if (!inactiveTintColor) {\n return;\n } else if (typeof inactiveTintColor === 'string') {\n return inactiveTintColor;\n }\n\n return inactiveTintColor[this.context];\n };\n\n _getActiveBackgroundColor = () => {\n let { activeBackgroundColor } = this.props;\n if (!activeBackgroundColor) {\n return;\n } else if (typeof activeBackgroundColor === 'string') {\n return activeBackgroundColor;\n }\n\n return activeBackgroundColor[this.context];\n };\n\n _getInactiveBackgroundColor = () => {\n let { inactiveBackgroundColor } = this.props;\n if (!inactiveBackgroundColor) {\n return;\n } else if (typeof inactiveBackgroundColor === 'string') {\n return inactiveBackgroundColor;\n }\n\n return inactiveBackgroundColor[this.context];\n };\n\n _renderLabel = ({\n route,\n focused,\n }: {\n route: NavigationRoute;\n focused: boolean;\n }) => {\n const { labelStyle, showLabel, showIcon, allowFontScaling } = this.props;\n\n if (showLabel === false) {\n return null;\n }\n\n const activeTintColor = this._getActiveTintColor();\n const inactiveTintColor = this._getInactiveTintColor();\n const label = this.props.getLabelText({ route });\n const tintColor = focused ? activeTintColor : inactiveTintColor;\n const horizontal = this._shouldUseHorizontalLabels();\n\n if (typeof label === 'string') {\n return (\n <Animated.Text\n numberOfLines={1}\n style={[\n styles.label,\n { color: tintColor },\n showIcon && horizontal ? styles.labelBeside : styles.labelBeneath,\n labelStyle,\n ]}\n allowFontScaling={allowFontScaling}\n >\n {label}\n </Animated.Text>\n );\n }\n\n if (typeof label === 'function') {\n return label({\n focused,\n tintColor,\n orientation: horizontal ? 'horizontal' : 'vertical',\n });\n }\n\n return label;\n };\n\n _renderIcon = ({\n route,\n focused,\n }: {\n route: NavigationRoute;\n focused: boolean;\n }) => {\n const { renderIcon, showIcon, showLabel } = this.props;\n\n if (showIcon === false) {\n return null;\n }\n\n const horizontal = this._shouldUseHorizontalLabels();\n\n const activeTintColor = this._getActiveTintColor();\n const inactiveTintColor = this._getInactiveTintColor();\n const activeOpacity = focused ? 1 : 0;\n const inactiveOpacity = focused ? 0 : 1;\n\n return (\n <CrossFadeIcon\n route={route}\n horizontal={horizontal}\n activeOpacity={activeOpacity}\n inactiveOpacity={inactiveOpacity}\n activeTintColor={activeTintColor}\n inactiveTintColor={inactiveTintColor}\n renderIcon={renderIcon}\n style={[\n styles.iconWithExplicitHeight,\n showLabel === false && !horizontal && styles.iconWithoutLabel,\n showLabel !== false && !horizontal && styles.iconWithLabel,\n ]}\n />\n );\n };\n\n _shouldUseHorizontalLabels = () => {\n const { routes } = this.props.navigation.state;\n const {\n isLandscape,\n dimensions,\n adaptive,\n tabStyle,\n labelPosition,\n } = this.props;\n\n if (labelPosition) {\n let position;\n if (typeof labelPosition === 'string') {\n position = labelPosition;\n } else {\n position = labelPosition({\n deviceOrientation: isLandscape ? 'horizontal' : 'vertical',\n });\n }\n\n if (position) {\n return position === 'beside-icon';\n }\n }\n\n if (!adaptive) {\n return false;\n }\n\n // @ts-ignore\n if (Platform.isPad) {\n let maxTabItemWidth = DEFAULT_MAX_TAB_ITEM_WIDTH;\n\n const flattenedStyle = StyleSheet.flatten(tabStyle);\n\n if (flattenedStyle) {\n if (typeof flattenedStyle.width === 'number') {\n maxTabItemWidth = flattenedStyle.width;\n } else if (typeof flattenedStyle.maxWidth === 'number') {\n maxTabItemWidth = flattenedStyle.maxWidth;\n }\n }\n\n return routes.length * maxTabItemWidth <= dimensions.width;\n } else {\n return isLandscape;\n }\n };\n\n render() {\n const {\n navigation,\n keyboardHidesTabBar,\n onTabPress,\n onTabLongPress,\n safeAreaInset,\n style,\n tabStyle,\n } = this.props;\n\n const { routes } = navigation.state;\n const isDark = this.context === 'dark';\n\n const activeBackgroundColor = this._getActiveBackgroundColor();\n const inactiveBackgroundColor = this._getInactiveBackgroundColor();\n\n const {\n position,\n top,\n left = 0,\n bottom = 0,\n right = 0,\n margin,\n marginTop,\n marginLeft,\n marginBottom,\n marginRight,\n marginHorizontal,\n marginVertical,\n ...innerStyle\n } = StyleSheet.flatten(style || {});\n\n const containerStyle = {\n position,\n top,\n left,\n bottom,\n right,\n margin,\n marginTop,\n marginLeft,\n marginBottom,\n marginRight,\n marginHorizontal,\n marginVertical,\n };\n\n const tabBarStyle = [\n styles.tabBar,\n isDark ? styles.tabBarDark : styles.tabBarLight,\n // @ts-ignore\n this._shouldUseHorizontalLabels() && !Platform.isPad\n ? styles.tabBarCompact\n : styles.tabBarRegular,\n innerStyle,\n ];\n\n return (\n <Animated.View\n style={[\n styles.container,\n keyboardHidesTabBar\n ? {\n // When the keyboard is shown, slide down the tab bar\n transform: [\n {\n translateY: this.state.visible.interpolate({\n inputRange: [0, 1],\n outputRange: [this.state.layout.height, 0],\n }),\n },\n ],\n // Absolutely position the tab bar so that the content is below it\n // This is needed to avoid gap at bottom when the tab bar is hidden\n position: this.state.keyboard ? 'absolute' : null,\n }\n : null,\n containerStyle,\n ]}\n pointerEvents={\n keyboardHidesTabBar && this.state.keyboard ? 'none' : 'auto'\n }\n onLayout={this._handleLayout}\n >\n <SafeAreaView style={tabBarStyle} forceInset={safeAreaInset}>\n {routes.map((route, index) => {\n const focused = index === navigation.state.index;\n const scene = { route, focused };\n const accessibilityLabel = this.props.getAccessibilityLabel({\n route,\n });\n\n const accessibilityRole = this.props.getAccessibilityRole({\n route,\n });\n\n const accessibilityStates = this.props.getAccessibilityStates(\n scene\n );\n\n const testID = this.props.getTestID({ route });\n\n const backgroundColor = focused\n ? activeBackgroundColor\n : inactiveBackgroundColor;\n\n const ButtonComponent =\n this.props.getButtonComponent({ route }) ||\n TouchableWithoutFeedbackWrapper;\n\n return (\n <ButtonComponent\n key={route.key}\n route={route}\n focused={focused}\n onPress={() => onTabPress({ route })}\n onLongPress={() => onTabLongPress({ route })}\n testID={testID}\n accessibilityLabel={accessibilityLabel}\n accessibilityRole={accessibilityRole}\n accessibilityStates={accessibilityStates}\n style={[\n styles.tab,\n { backgroundColor },\n this._shouldUseHorizontalLabels()\n ? styles.tabLandscape\n : styles.tabPortrait,\n tabStyle,\n ]}\n >\n {this._renderIcon(scene)}\n {this._renderLabel(scene)}\n </ButtonComponent>\n );\n })}\n </SafeAreaView>\n </Animated.View>\n );\n }\n}\n\nconst DEFAULT_HEIGHT = 49;\nconst COMPACT_HEIGHT = 29;\n\nconst styles = StyleSheet.create({\n tabBar: {\n borderTopWidth: StyleSheet.hairlineWidth,\n flexDirection: 'row',\n },\n tabBarLight: {\n backgroundColor: ThemeColors.light.header,\n borderTopColor: ThemeColors.light.headerBorder,\n },\n tabBarDark: {\n backgroundColor: ThemeColors.dark.header,\n borderTopColor: ThemeColors.dark.headerBorder,\n },\n container: {\n elevation: 8,\n },\n tabBarCompact: {\n height: COMPACT_HEIGHT,\n },\n tabBarRegular: {\n height: DEFAULT_HEIGHT,\n },\n tab: {\n flex: 1,\n alignItems: isIos ? 'center' : 'stretch',\n },\n tabPortrait: {\n justifyContent: 'flex-end',\n flexDirection: 'column',\n },\n tabLandscape: {\n justifyContent: 'center',\n flexDirection: 'row',\n },\n iconWithoutLabel: {\n flex: 1,\n },\n iconWithLabel: {\n flex: 1,\n },\n iconWithExplicitHeight: {\n // @ts-ignore\n height: Platform.isPad ? DEFAULT_HEIGHT : COMPACT_HEIGHT,\n },\n label: {\n textAlign: 'center',\n backgroundColor: 'transparent',\n },\n labelBeneath: {\n fontSize: 11,\n marginBottom: 1.5,\n },\n labelBeside: {\n fontSize: 12,\n marginLeft: 20,\n },\n});\n\nexport default withDimensions(TabBarBottom);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _getBoundingClientRect=_interopRequireDefault(require(\"../../modules/getBoundingClientRect\"));var _setValueForStyles=_interopRequireDefault(require(\"../../vendor/react-dom/setValueForStyles\"));var getRect=function getRect(node){var _getBoundingClientRec=(0,_getBoundingClientRect.default)(node),x=_getBoundingClientRec.x,y=_getBoundingClientRec.y,top=_getBoundingClientRec.top,left=_getBoundingClientRec.left;var width=node.offsetWidth;var height=node.offsetHeight;return{x:x,y:y,width:width,height:height,top:top,left:left};};var _measureLayout=function measureLayout(node,relativeToNativeNode,callback){var relativeNode=relativeToNativeNode||node&&node.parentNode;if(node&&relativeNode){setTimeout(function(){var relativeRect=(0,_getBoundingClientRect.default)(relativeNode);var _getRect=getRect(node),height=_getRect.height,left=_getRect.left,top=_getRect.top,width=_getRect.width;var x=left-relativeRect.left;var y=top-relativeRect.top;callback(x,y,width,height,left,top);},0);}};var focusableElements={A:true,INPUT:true,SELECT:true,TEXTAREA:true};var UIManager={blur:function blur(node){try{node.blur();}catch(err){}},focus:function focus(node){try{var name=node.nodeName;if(node.getAttribute('tabIndex')==null&&focusableElements[name]==null){node.setAttribute('tabIndex','-1');}node.focus();}catch(err){}},measure:function measure(node,callback){_measureLayout(node,null,callback);},measureInWindow:function measureInWindow(node,callback){if(node){setTimeout(function(){var _getRect2=getRect(node),height=_getRect2.height,left=_getRect2.left,top=_getRect2.top,width=_getRect2.width;callback(left,top,width,height);},0);}},measureLayout:function measureLayout(node,relativeToNativeNode,onFail,onSuccess){_measureLayout(node,relativeToNativeNode,onSuccess);},updateView:function updateView(node,props,component){for(var prop in props){if(!Object.prototype.hasOwnProperty.call(props,prop)){continue;}var value=props[prop];switch(prop){case'style':{(0,_setValueForStyles.default)(node,value,component._reactInternalInstance);break;}case'class':case'className':{node.setAttribute('class',value);break;}case'text':case'value':node.value=value;break;default:node.setAttribute(prop,value);}}},configureNextLayoutAnimation:function configureNextLayoutAnimation(config,onAnimationDidEnd){onAnimationDidEnd();},setLayoutAnimationEnabledExperimental:function setLayoutAnimationEnabledExperimental(){}};var _default=UIManager;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/UIManager/index.js"],"names":["getRect","node","_getBoundingClientRec","x","y","top","left","width","offsetWidth","height","offsetHeight","_measureLayout","measureLayout","relativeToNativeNode","callback","relativeNode","parentNode","setTimeout","relativeRect","_getRect","focusableElements","A","INPUT","SELECT","TEXTAREA","UIManager","blur","err","focus","name","nodeName","getAttribute","setAttribute","measure","measureInWindow","_getRect2","onFail","onSuccess","updateView","props","component","prop","Object","prototype","hasOwnProperty","call","value","_reactInternalInstance","configureNextLayoutAnimation","config","onAnimationDidEnd","setLayoutAnimationEnabledExperimental"],"mappings":"mKAQA,kGACA,mGAEA,GAAIA,CAAAA,OAAO,CAAG,QAASA,CAAAA,OAAT,CAAiBC,IAAjB,CAAuB,CAInC,GAAIC,CAAAA,qBAAqB,CAAG,mCAAsBD,IAAtB,CAA5B,CACIE,CAAC,CAAGD,qBAAqB,CAACC,CAD9B,CAEIC,CAAC,CAAGF,qBAAqB,CAACE,CAF9B,CAGIC,GAAG,CAAGH,qBAAqB,CAACG,GAHhC,CAIIC,IAAI,CAAGJ,qBAAqB,CAACI,IAJjC,CAMA,GAAIC,CAAAA,KAAK,CAAGN,IAAI,CAACO,WAAjB,CACA,GAAIC,CAAAA,MAAM,CAAGR,IAAI,CAACS,YAAlB,CACA,MAAO,CACLP,CAAC,CAAEA,CADE,CAELC,CAAC,CAAEA,CAFE,CAGLG,KAAK,CAAEA,KAHF,CAILE,MAAM,C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AAA,UAAT,CAAoBrC,IAApB,CAA0BsC,KAA1B,CAAiCC,SAAjC,CAEV,CACA,IAAK,GAAIC,CAAAA,IAAT,GAAiBF,CAAAA,KAAjB,CAAwB,CACtB,GAAI,CAACG,MAAM,CAACC,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCN,KAArC,CAA4CE,IAA5C,CAAL,CAAwD,CACtD,SACD,CAED,GAAIK,CAAAA,KAAK,CAAGP,KAAK,CAACE,IAAD,CAAjB,CAEA,OAAQA,IAAR,EACE,IAAK,OAAL,CACE,CACE,+BAAkBxC,IAAlB,CAAwB6C,KAAxB,CAA+BN,SAAS,CAACO,sBAAzC,EACA,MACD,CAEH,IAAK,OAAL,CACA,IAAK,WAAL,CACE,CACE9C,IAAI,CAAC+B,YAAL,CAAkB,OAAlB,CAA2Bc,KAA3B,EACA,MACD,CAEH,IAAK,MAAL,CACA,IAAK,OAAL,CAEE7C,IAAI,CAAC6C,KAAL,CAAaA,KAAb,CACA,MAEF,QACE7C,IAAI,CAAC+B,YAAL,CAAkBS,IAAlB,CAAwBK,KAAxB,EArBJ,CAuBD,CACF,CAxEa,CAyEdE,4BAA4B,CAAE,QAASA,CAAAA,4BAAT,CAAsCC,MAAtC,CAA8CC,iBAA9C,CAAiE,CAC7FA,iBAAiB,GAClB,CA3Ea,CA6EdC,qCAAqC,CAAE,QAASA,CAAAA,qCAAT,EAAiD,CAAE,CA7E5E,CAAhB,C,aA+Ee1B,S","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport getBoundingClientRect from '../../modules/getBoundingClientRect';\nimport setValueForStyles from '../../vendor/react-dom/setValueForStyles';\n\nvar getRect = function getRect(node) {\n // Unlike the DOM's getBoundingClientRect, React Native layout measurements\n // for \"height\" and \"width\" ignore scale transforms.\n // https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Determining_the_dimensions_of_elements\n var _getBoundingClientRec = getBoundingClientRect(node),\n x = _getBoundingClientRec.x,\n y = _getBoundingClientRec.y,\n top = _getBoundingClientRec.top,\n left = _getBoundingClientRec.left;\n\n var width = node.offsetWidth;\n var height = node.offsetHeight;\n return {\n x: x,\n y: y,\n width: width,\n height: height,\n top: top,\n left: left\n };\n};\n\nvar _measureLayout = function measureLayout(node, relativeToNativeNode, callback) {\n var relativeNode = relativeToNativeNode || node && node.parentNode;\n\n if (node && relativeNode) {\n setTimeout(function () {\n var relativeRect = getBoundingClientRect(relativeNode);\n\n var _getRect = getRect(node),\n height = _getRect.height,\n left = _getRect.left,\n top = _getRect.top,\n width = _getRect.width;\n\n var x = left - relativeRect.left;\n var y = top - relativeRect.top;\n callback(x, y, width, height, left, top);\n }, 0);\n }\n};\n\nvar focusableElements = {\n A: true,\n INPUT: true,\n SELECT: true,\n TEXTAREA: true\n};\nvar UIManager = {\n blur: function blur(node) {\n try {\n node.blur();\n } catch (err) {}\n },\n focus: function focus(node) {\n try {\n var name = node.nodeName; // A tabIndex of -1 allows element to be programmatically focused but\n // prevents keyboard focus, so we don't want to set the value on elements\n // that support keyboard focus by default.\n\n if (node.getAttribute('tabIndex') == null && focusableElements[name] == null) {\n node.setAttribute('tabIndex', '-1');\n }\n\n node.focus();\n } catch (err) {}\n },\n measure: function measure(node, callback) {\n _measureLayout(node, null, callback);\n },\n measureInWindow: function measureInWindow(node, callback) {\n if (node) {\n setTimeout(function () {\n var _getRect2 = getRect(node),\n height = _getRect2.height,\n left = _getRect2.left,\n top = _getRect2.top,\n width = _getRect2.width;\n\n callback(left, top, width, height);\n }, 0);\n }\n },\n measureLayout: function measureLayout(node, relativeToNativeNode, onFail, onSuccess) {\n _measureLayout(node, relativeToNativeNode, onSuccess);\n },\n updateView: function updateView(node, props, component\n /* only needed to surpress React errors in development */\n ) {\n for (var prop in props) {\n if (!Object.prototype.hasOwnProperty.call(props, prop)) {\n continue;\n }\n\n var value = props[prop];\n\n switch (prop) {\n case 'style':\n {\n setValueForStyles(node, value, component._reactInternalInstance);\n break;\n }\n\n case 'class':\n case 'className':\n {\n node.setAttribute('class', value);\n break;\n }\n\n case 'text':\n case 'value':\n // native platforms use `text` prop to replace text input value\n node.value = value;\n break;\n\n default:\n node.setAttribute(prop, value);\n }\n }\n },\n configureNextLayoutAnimation: function configureNextLayoutAnimation(config, onAnimationDidEnd) {\n onAnimationDidEnd();\n },\n // mocks\n setLayoutAnimationEnabledExperimental: function setLayoutAnimationEnabledExperimental() {}\n};\nexport default UIManager;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=ceil;var _base=require(\"../base\");function ceil(a){return(0,_base.sub)(1,(0,_base.round)((0,_base.sub)(0.5,a)));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/ceil.js"],"names":["ceil","a"],"mappings":"8EAAA,6BAEe,QAASA,CAAAA,IAAT,CAAcC,CAAd,CAAiB,CAC9B,MAAO,cAAI,CAAJ,CAAO,gBAAM,cAAI,GAAJ,CAASA,CAAT,CAAN,CAAP,CAAP,CACD","sourcesContent":["import { sub, round } from '../base';\n\nexport default function ceil(a) {\n return sub(1, round(sub(0.5, a)));\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=_default;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));function _default(config,expoFontName,expoAssetId){var glyphMap={};config.icons.forEach(function(icon){icon.properties.name.split(/\\s*,\\s*/g).forEach(function(name){glyphMap[name]=icon.properties.code;});});var fontFamily=expoFontName||config.preferences.fontPref.metadata.fontFamily;return(0,_createIconSet.default)(glyphMap,fontFamily,expoAssetId||fontFamily+\".ttf\");}","map":{"version":3,"sources":["../src/createIconSetFromIcoMoon.ts"],"names":[],"mappings":"qKAAA,sEAEc,kBAAU,MAAV,CAAkB,YAAlB,CAAgC,WAAhC,CAA2C,CACvD,GAAM,CAAA,QAAQ,CAAG,EAAjB,CACA,MAAM,CAAC,KAAP,CAAa,OAAb,CAAqB,SAAA,IAAI,CAAG,CAC1B,IAAI,CAAC,UAAL,CAAgB,IAAhB,CAAqB,KAArB,CAA2B,UAA3B,EAAuC,OAAvC,CAA+C,SAAA,IAAI,CAAG,CACpD,QAAQ,CAAC,IAAD,CAAR,CAAiB,IAAI,CAAC,UAAL,CAAgB,IAAjC,CACD,CAFD,EAGD,CAJD,EAMA,GAAM,CAAA,UAAU,CACd,YAAY,EAAI,MAAM,CAAC,WAAP,CAAmB,QAAnB,CAA4B,QAA5B,CAAqC,UADvD,CAGA,MAAO,2BACL,QADK,CAEL,UAFK,CAGL,WAAW,EAAO,UAAP,OAHN,CAAP,CAKD","sourcesContent":["import createIconSet from \"./createIconSet\";\n\nexport default function(config, expoFontName, expoAssetId) {\n const glyphMap = {};\n config.icons.forEach(icon => {\n icon.properties.name.split(/\\s*,\\s*/g).forEach(name => {\n glyphMap[name] = icon.properties.code;\n });\n });\n\n const fontFamily =\n expoFontName || config.preferences.fontPref.metadata.fontFamily;\n\n return createIconSet(\n glyphMap,\n fontFamily,\n expoAssetId || `${fontFamily}.ttf`\n );\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Button=_interopRequireDefault(require(\"react-native-web/dist/exports/Button\"));var _Alert=_interopRequireDefault(require(\"react-native-web/dist/exports/Alert\"));var _FontAwesome=_interopRequireDefault(require(\"@expo/vector-icons/FontAwesome\"));var _reactNativeSwiper=_interopRequireDefault(require(\"react-native-swiper\"));var FirstSlide=function FirstSlide(){return _react.default.createElement(_View.default,{style:styles.slide1},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uB2F9\\uC2E0\\uC774 \\uAD81\\uAE08\\uD574\\uD558\\uB294\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uC9C8\\uBB38\\uC744 \\uAC80\\uC0C9\\uD558\\uC138\\uC694\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAE38\\uC7A1\\uC774\\uAC00 \\uB2F9\\uC2E0\\uC758\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uC9C8\\uBB38\\uC744 \\uC774\\uD574\\uD560\\uAC70\\uC5D0\\uC694\"));};var SecondSlide=function SecondSlide(){return _react.default.createElement(_View.default,{style:styles.slide2},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAE38\\uC7A1\\uC774\\uAC00 \\uC218\\uC815\\uD55C\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9 \\uBB38\\uC7A5\\uC744 \\uD655\\uC778\\uD558\\uC138\\uC694\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAE38\\uC7A1\\uC774\\uB294 \\uD56D\\uC0C1 \\uCD5C\\uC801\\uC758\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAC80\\uC0C9\\uD0A4\\uC6CC\\uB4DC\\uB97C \\uC81C\\uC548\\uD569\\uB2C8\\uB2E4\"));};var ThirdSlide=function ThirdSlide(){return _react.default.createElement(_View.default,{style:styles.slide3},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9 \\uC810\\uC218\\uC640 \\uADF8\\uB798\\uD504\\uB85C\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9\\uB2A5\\uB825\\uC744 \\uCCB4\\uD06C\\uD558\\uC138\\uC694\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAE38\\uC7A1\\uC774\\uB294 \\uB2F9\\uC2E0\\uC758\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAC80\\uC0C9\\uB2A5\\uB825 \\uD5A5\\uC0C1\\uC2DC\\uD0B5\\uB2C8\\uB2E4\"));};var LastSlide=function LastSlide(){return _react.default.createElement(_View.default,{style:styles.slide4},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uB0B4 \\uC190 \\uC548\\uC758 \\uAC80\\uC0C9 \\uB3C4\\uC6B0\\uBBF8\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAE38\\uC7A1\\uC774\\uC5D0\\uC11C\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9\\uC744 \\uC2DC\\uC791\\uD558\\uC138\\uC694\"));};var _default=PromptSearch=function PromptSearch(){return _react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_reactNativeSwiper.default,{style:styles.wrapper,showsButtons:true,loop:false,height:400,activeDotColor:\"#3BAD87\",nextButton:_react.default.createElement(_Text.default,{style:{color:'#3BAD87',fontSize:60}},\"\\u203A\"),prevButton:_react.default.createElement(_Text.default,{style:{color:'#3BAD87',fontSize:60}},\"\\u2039\")},_react.default.createElement(FirstSlide,null),_react.default.createElement(SecondSlide,null),_react.default.createElement(ThirdSlide,null),_react.default.createElement(LastSlide,null)));};exports.default=_default;var styles=_StyleSheet.default.create({container:{width:'100%',alignItems:'center',justifyContent:'center'},text:{marginBottom:10,fontSize:30,fontWeight:'bold',color:'#999999'},icon:{marginBottom:20,color:'#999999'},subtext:{marginBottom:10,fontSize:20,fontWeight:'bold',color:'#999999'},wrapper:{flex:1},slide1:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'},slide2:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'},slide3:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'},slide4:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'}});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/PromptSearch/PromptSearch.js"],"names":["FirstSlide","styles","slide1","icon","text","subtext","SecondSlide","slide2","ThirdSlide","slide3","LastSlide","slide4","PromptSearch","wrapper","color","fontSize","StyleSheet","create","container","width","alignItems","justifyContent","marginBottom","fontWeight","flex","backgroundColor"],"mappings":"mKAAA,oD,kaAEA,mFACA,8EAGA,GAAMA,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,SACf,8BAAC,aAAD,EAAM,KAAK,CAAEC,MAAM,CAACC,MAApB,EACI,6BAAC,oBAAD,EAAM,IAAI,CAAC,QAAX,CAAoB,KAAK,CAAED,MAAM,CAACE,IAAlC,CAAwC,IAAI,CAAE,EAA9C,EADJ,CAEI,6BAAC,aAAD,EAAM,KAAK,CAAEF,MAAM,CAACG,IAApB,sDAFJ,CAGI,6BAAC,aAAD,EAAM,KAAK,CAAEH,MAAM,CAACG,IAApB,sDAHJ,CAII,6BAAC,aAAD,EAAM,KAAK,CAAEH,MAAM,CAACI,OAApB,gDAJJ,CAKI,6BAAC,aAAD,EAAM,KAAK,CAAEJ,MAAM,CAACI,OAApB,4DALJ,CADe,EAAnB,CASA,GAAMC,CAAAA,WAAW,CAAG,QAAdA,CAAAA,WAAc,SAChB,8BAAC,aAAD,EAAM,KAAK,CAAEL,MAAM,CAACM,MAApB,EACI,6BAAC,oBAAD,EAAM,IAAI,CAAC,QAAX,CAAoB,KAAK,CAAEN,MAAM,CAACE,IAAlC,CAAwC,IAAI,CAAE,EAA9C,EADJ,CAEI,6BAAC,aAAD,EAAM,KAAK,CAAEF,MAAM,CAACG,IA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AE,MAJX,CA/BqB,CAqC7BhB,MAAM,CAAE,CACNe,IAAI,CAAE,CADA,CAENH,cAAc,CAAE,QAFV,CAGND,UAAU,CAAE,QAHN,CAINK,eAAe,CAAE,MAJX,CArCqB,CA2C7Bd,MAAM,CAAE,CACJa,IAAI,CAAE,CADF,CAEJH,cAAc,CAAE,QAFZ,CAGJD,UAAU,CAAE,QAHR,CAIJK,eAAe,CAAE,MAJb,CA3CqB,CAAlB,CAAf","sourcesContent":["import React from 'react';\r\nimport { View,Text, StyleSheet, Button,Alert } from 'react-native';\r\nimport Icon from 'react-native-vector-icons/FontAwesome';\r\nimport Swiper from 'react-native-swiper';\r\nimport { DARK_MAIN,LIGHT_MAIN, WHITE_MAIN} from 'react-native-dotenv';\r\n\r\nconst FirstSlide = () => (\r\n <View style={styles.slide1} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>당신이 궁금해하는</Text>\r\n <Text style={styles.text}>질문을 검색하세요</Text>\r\n <Text style={styles.subtext}>길잡이가 당신의</Text>\r\n <Text style={styles.subtext}>질문을 이해할거에요</Text>\r\n </View>\r\n)\r\nconst SecondSlide = () => (\r\n <View style={styles.slide2} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>길잡이가 수정한</Text>\r\n <Text style={styles.text}>검색 문장을 확인하세요</Text>\r\n <Text style={styles.subtext}>길잡이는 항상 최적의</Text>\r\n <Text style={styles.subtext}>검색키워드를 제안합니다</Text>\r\n </View>\r\n)\r\nconst ThirdSlide = () => (\r\n <View style={styles.slide3} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>검색 점수와 그래프로</Text>\r\n <Text style={styles.text}>검색능력을 체크하세요</Text>\r\n <Text style={styles.subtext}>길잡이는 당신의</Text>\r\n <Text style={styles.subtext}>검색능력 향상시킵니다</Text>\r\n </View>\r\n)\r\nconst LastSlide = () => (\r\n <View style={styles.slide4} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>내 손 안의 검색 도우미</Text>\r\n <Text style={styles.text}>길잡이에서</Text>\r\n <Text style={styles.text}>검색을 시작하세요</Text>\r\n </View>\r\n)\r\n\r\nexport default PromptSearch = () => {\r\n return(\r\n <>\r\n <Swiper style={styles.wrapper} \r\n showsButtons={true} \r\n loop={false} height={400}\r\n activeDotColor={LIGHT_MAIN}\r\n nextButton={<Text style={{color:'#3BAD87', fontSize:60}}>›</Text>}\r\n prevButton={<Text style={{color:'#3BAD87', fontSize:60}}>‹</Text>}\r\n >\r\n <FirstSlide />\r\n <SecondSlide />\r\n <ThirdSlide />\r\n <LastSlide />\r\n </Swiper>\r\n </>\r\n )\r\n}\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n width: '100%',\r\n alignItems: 'center',\r\n justifyContent:'center',\r\n },\r\n text:{\r\n marginBottom: 10,\r\n fontSize: 30,\r\n fontWeight: 'bold',\r\n color:'#999999',\r\n },\r\n icon: {\r\n marginBottom: 20,\r\n color: '#999999'\r\n },\r\n subtext:{\r\n marginBottom: 10,\r\n fontSize: 20,\r\n fontWeight: 'bold',\r\n color:'#999999',\r\n },\r\n wrapper: {\r\n flex:1,\r\n },\r\n slide1: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n slide2: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n slide3: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n slide4: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n });"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _reactNavigation=require(\"react-navigation\");var _reactNavigationTabs=require(\"react-navigation-tabs\");var _Home=_interopRequireDefault(require(\"../Home/Home\"));var _Rate=_interopRequireDefault(require(\"../Rate/Rate\"));var AppTabNavigator=(0,_reactNavigationTabs.createMaterialTopTabNavigator)({Home:_Home.default,Rate:_Rate.default},{initialRouteName:'Home',tabBarPosition:'bottom',tabBarOptions:{activeTintColor:\"#f0edf6\",inactiveTintColor:\"#226557\",indicatorStyle:{backgroundColor:\"#f0edf6\"},style:{backgroundColor:\"#3BAD87\",allowFontScaling:'true'},showIcon:true,tabStyle:{height:60},labelStyle:{margin:0,padding:0,fontSize:15},iconStyle:{margin:0,padding:0}}});var AppTabContainer=(0,_reactNavigation.createAppContainer)(AppTabNavigator);var _default=AppTabContainer;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/AppTabContainer/AppTabContainer.js"],"names":["AppTabNavigator","Home","Rate","initialRouteName","tabBarPosition","tabBarOptions","activeTintColor","inactiveTintColor","indicatorStyle","backgroundColor","style","allowFontScaling","showIcon","tabStyle","height","labelStyle","margin","padding","fontSize","iconStyle","AppTabContainer"],"mappings":"mKAAA,oDAEA,iDACA,0DACA,0DACA,0DAGA,GAAMA,CAAAA,eAAe,CAAG,uDACpB,CACIC,IAAI,CAAEA,aADV,CAEIC,IAAI,CAAEA,aAFV,CADoB,CAKpB,CACIC,gBAAgB,CAAE,MADtB,CAEIC,cAAc,CAAE,QAFpB,CAGIC,aAAa,CAAC,CACVC,eAAe,UADL,CAEVC,iBAAiB,UAFP,CAGVC,cAAc,CAAE,CACZC,eAAe,UADH,CAHN,CAMVC,KAAK,CAAC,CACFD,eAAe,UADb,CAEFE,gBAAgB,CAAG,MAFjB,CANI,CAUVC,QAAQ,CAAE,IAVA,CAWVC,QAAQ,CAAE,CACNC,MAAM,CAAE,EADF,CAXA,CAcVC,UAAU,CAAE,CACRC,MAAM,CAAG,CADD,CAERC,OAAO,CAAG,CAFF,CAGRC,QAAQ,CAAE,EAHF,CAdF,CAmBVC,SAAS,CAAE,CACPH,MAAM,CAAG,CADF,CAEPC,OAAO,CAAG,CAFH,CAnBD,CAHlB,CALoB,CAAxB,CAkCA,GAAMG,CAAAA,eAAe,CAAG,wCAAmBpB,eAAnB,CAAxB,C,aACeoB,e","sourcesContent":["import React from 'react';\r\nimport { DARK_MAIN,LIGHT_MAIN, WHITE_MAIN} from 'react-native-dotenv';\r\nimport {createAppContainer} from 'react-navigation'; \r\nimport {createMaterialTopTabNavigator} from 'react-navigation-tabs';\r\nimport Home from '../Home/Home';\r\nimport Rate from '../Rate/Rate';\r\n\r\n\r\nconst AppTabNavigator = createMaterialTopTabNavigator (\r\n {\r\n Home: Home,\r\n Rate: Rate\r\n },\r\n {\r\n initialRouteName: 'Home',\r\n tabBarPosition: 'bottom',\r\n tabBarOptions:{\r\n activeTintColor: WHITE_MAIN,\r\n inactiveTintColor: DARK_MAIN,\r\n indicatorStyle: {\r\n backgroundColor: WHITE_MAIN,\r\n },\r\n style:{\r\n backgroundColor:LIGHT_MAIN,\r\n allowFontScaling : 'true'\r\n },\r\n showIcon: true,\r\n tabStyle: {\r\n height: 60,\r\n },\r\n labelStyle :{\r\n margin : 0, \r\n padding : 0,\r\n fontSize: 15,\r\n },\r\n iconStyle :{\r\n margin : 0, \r\n padding : 0,\r\n }\r\n },\r\n }\r\n);\r\nconst AppTabContainer = createAppContainer(AppTabNavigator);\r\nexport default AppTabContainer;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=abs;var _base=require(\"../base\");function abs(a){return(0,_base.cond)((0,_base.lessThan)(a,0),(0,_base.multiply)(-1,a),a);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/abs.js"],"names":["abs","a"],"mappings":"6EAAA,6BAEe,QAASA,CAAAA,GAAT,CAAaC,CAAb,CAAgB,CAC7B,MAAO,eAAK,mBAASA,CAAT,CAAY,CAAZ,CAAL,CAAqB,mBAAS,CAAC,CAAV,CAAaA,CAAb,CAArB,CAAsCA,CAAtC,CAAP,CACD","sourcesContent":["import { cond, lessThan, multiply } from '../base';\n\nexport default function abs(a) {\n return cond(lessThan(a, 0), multiply(-1, a), a);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _Octicons=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/Octicons.ttf\"));var _Octicons2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/Octicons.json\"));var _default=(0,_createIconSet.default)(_Octicons2.default,'octicons',_Octicons.default);exports.default=_default;","map":{"version":3,"sources":["../src/Octicons.ts"],"names":[],"mappings":"mKAAA,sEACA,uGACA,6G,aAEe,2BAAc,kBAAd,CAAwB,UAAxB,CAAoC,iBAApC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Octicons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Octicons.json';\n\nexport default createIconSet(glyphMap, 'octicons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _debounce=_interopRequireDefault(require(\"debounce\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var normalizeScrollEvent=function normalizeScrollEvent(e){return{nativeEvent:{contentOffset:{get x(){return e.target.scrollLeft;},get y(){return e.target.scrollTop;}},contentSize:{get height(){return e.target.scrollHeight;},get width(){return e.target.scrollWidth;}},layoutMeasurement:{get height(){return e.target.offsetHeight;},get width(){return e.target.offsetWidth;}}},timeStamp:Date.now()};};var ScrollViewBase=function(_Component){_inheritsLoose(ScrollViewBase,_Component);function ScrollViewBase(){var _this;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=_Component.call.apply(_Component,[this].concat(args))||this;_this._debouncedOnScrollEnd=(0,_debounce.default)(_this._handleScrollEnd,100);_this._state={isScrolling:false,scrollLastTick:0};_this._createPreventableScrollHandler=function(handler){return function(e){if(_this.props.scrollEnabled){if(handler){handler(e);}}else{e.preventDefault();}};};_this._handleScroll=function(e){e.persist();e.stopPropagation();var scrollEventThrottle=_this.props.scrollEventThrottle;_this._debouncedOnScrollEnd(e);if(_this._state.isScrolling){if(_this._shouldEmitScrollEvent(_this._state.scrollLastTick,scrollEventThrottle)){_this._handleScrollTick(e);}}else{_this._handleScrollStart(e);}};_this._setViewRef=function(element){_this._viewRef=element;};return _this;}var _proto=ScrollViewBase.prototype;_proto.setNativeProps=function setNativeProps(props){if(this._viewRef){this._viewRef.setNativeProps(props);}};_proto.render=function render(){var _this$props=this.props,scrollEnabled=_this$props.scrollEnabled,style=_this$props.style,alwaysBounceHorizontal=_this$props.alwaysBounceHorizontal,alwaysBounceVertical=_this$props.alwaysBounceVertical,automaticallyAdjustContentInsets=_this$props.automaticallyAdjustContentInsets,bounces=_this$props.bounces,bouncesZoom=_this$props.bouncesZoom,canCancelContentTouches=_this$props.canCancelContentTouches,centerContent=_this$props.centerContent,contentInset=_this$props.contentInset,contentInsetAdjustmentBehavior=_this$props.contentInsetAdjustmentBehavior,contentOffset=_this$props.contentOffset,decelerationRate=_this$props.decelerationRate,directionalLockEnabled=_this$props.directionalLockEnabled,endFillColor=_this$props.endFillColor,indicatorStyle=_this$props.indicatorStyle,keyboardShouldPersistTaps=_this$props.keyboardShouldPersistTaps,maximumZoomScale=_this$props.maximumZoomScale,minimumZoomScale=_this$props.minimumZoomScale,onMomentumScrollBegin=_this$props.onMomentumScrollBegin,onMomentumScrollEnd=_this$props.onMomentumScrollEnd,onScrollBeginDrag=_this$props.onScrollBeginDrag,onScrollEndDrag=_this$props.onScrollEndDrag,overScrollMode=_this$props.overScrollMode,pinchGestureEnabled=_this$props.pinchGestureEnabled,removeClippedSubviews=_this$props.removeClippedSubviews,scrollEventThrottle=_this$props.scrollEventThrottle,scrollIndicatorInsets=_this$props.scrollIndicatorInsets,scrollPerfTag=_this$props.scrollPerfTag,scrollsToTop=_this$props.scrollsToTop,showsHorizontalScrollIndicator=_this$props.showsHorizontalScrollIndicator,showsVerticalScrollIndicator=_this$props.showsVerticalScrollIndicator,snapToInterval=_this$props.snapToInterval,snapToAlignment=_this$props.snapToAlignment,zoomScale=_this$props.zoomScale,other=_objectWithoutPropertiesLoose(_this$props,[\"scrollEnabled\",\"style\",\"alwaysBounceHorizontal\",\"alwaysBounceVertical\",\"automaticallyAdjustContentInsets\",\"bounces\",\"bouncesZoom\",\"canCancelContentTouches\",\"centerContent\",\"contentInset\",\"contentInsetAdjustmentBehavior\",\"contentOffset\",\"decelerationRate\",\"directionalLockEnabled\",\"endFillColor\",\"indicatorStyle\",\"keyboardShouldPersistTaps\",\"maximumZoomScale\",\"minimumZoomScale\",\"onMomentumScrollBegin\",\"onMomentumScrollEnd\",\"onScrollBeginDrag\",\"onScrollEndDrag\",\"overScrollMode\",\"pinchGestureEnabled\",\"removeClippedSubviews\",\"scrollEventThrottle\",\"scrollIndicatorInsets\",\"scrollPerfTag\",\"scrollsToTop\",\"showsHorizontalScrollIndicator\",\"showsVerticalScrollIndicator\",\"snapToInterval\",\"snapToAlignment\",\"zoomScale\"]);var hideScrollbar=showsHorizontalScrollIndicator===false||showsVerticalScrollIndicator===false;return _react.default.createElement(_View.default,_extends({},other,{onScroll:this._handleScroll,onTouchMove:this._createPreventableScrollHandler(this.props.onTouchMove),onWheel:this._createPreventableScrollHandler(this.props.onWheel),ref:this._setViewRef,style:[style,!scrollEnabled&&styles.scrollDisabled,hideScrollbar&&styles.hideScrollbar]}));};_proto._handleScrollStart=function _handleScrollStart(e){this._state.isScrolling=true;this._state.scrollLastTick=Date.now();};_proto._handleScrollTick=function _handleScrollTick(e){var onScroll=this.props.onScroll;this._state.scrollLastTick=Date.now();if(onScroll){onScroll(normalizeScrollEvent(e));}};_proto._handleScrollEnd=function _handleScrollEnd(e){var onScroll=this.props.onScroll;this._state.isScrolling=false;if(onScroll){onScroll(normalizeScrollEvent(e));}};_proto._shouldEmitScrollEvent=function _shouldEmitScrollEvent(lastTick,eventThrottle){var timeSinceLastTick=Date.now()-lastTick;return eventThrottle>0&&timeSinceLastTick>=eventThrottle;};return ScrollViewBase;}(_react.Component);exports.default=ScrollViewBase;ScrollViewBase.defaultProps={scrollEnabled:true,scrollEventThrottle:0};ScrollViewBase.propTypes=process.env.NODE_ENV!==\"production\"?_objectSpread({},_ViewPropTypes.default,{onMomentumScrollBegin:_propTypes.func,onMomentumScrollEnd:_propTypes.func,onScroll:_propTypes.func,onScrollBeginDrag:_propTypes.func,onScrollEndDrag:_propTypes.func,onTouchMove:_propTypes.func,onWheel:_propTypes.func,removeClippedSubviews:_propTypes.bool,scrollEnabled:_propTypes.bool,scrollEventThrottle:_propTypes.number,showsHorizontalScrollIndicator:_propTypes.bool,showsVerticalScrollIndicator:_propTypes.bool}):{};var styles=_StyleSheet.default.create({scrollDisabled:{touchAction:'none'},hideScrollbar:{scrollbarWidth:'none'}});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ScrollView/ScrollViewBase.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_extends","assign","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_inheritsLoose","subClass","superClass","create","constructor","__proto__","normalizeScrollEvent","e","nativeEvent","contentOffset","x","scrollLeft","y","scrollTop","contentSize","height","scrollHeight","width","scrollWidth","layoutMeasurement","offsetHeight","offsetWidth","timeStamp","Date","now","ScrollViewBase","_Component","_this","_len","args","Array","_key","_debouncedOnScrollEnd","_handleScrollEnd","_state","isScrolling","scrollLastTick","_createPreventableScrollHandler","handler","props","scrollEnabled","preventDefault","_handleScroll","persist","stopPropagation","scrollEventThrottle","_shouldEmitScrollEvent","_handleScrollTick","_handleScrollStart","_setViewRef","element","_viewRef","_proto","setNativeProps","render","_this$props","style","alwaysBounceHorizontal","alwaysBounceVertical","automaticallyAdjustContentInsets","bounces","bouncesZoom","canCancelContentTouches","centerContent","contentInset","contentInsetAdjustmentBehavior","decelerationRate","directionalLockEnabled","endFillColor","indicatorStyle","keyboardShouldPersistTaps","maximumZoomScale","minimumZoomScale","onMomentumScrollBegin","onMomentumScrollEnd","onScrollBeginDrag","onScrollEndDrag","overScrollMode","pinchGestureEnabled","removeClippedSubviews","scrollIndicatorInsets","scrollPerfTag","scrollsToTop","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","snapToInterval","snapToAlignment","zoomScale","other","hideScrollbar","React","createElement","View","onScroll","onTouchMove","onWheel","ref","styles","scrollDisabled","lastTick","eventThrottle","timeSinceLastTick","Component","defaultProps","propTypes","process","env","NODE_ENV","ViewPropTypes","func","bool","number","StyleSheet","touchAction","scrollbarWidth"],"mappings":"wPAkBA,0DACA,iEACA,qDACA,uEACA,qDACA,qCAvBA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,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,GAAL,GAAa2E,QAArC,CACA,MAAOC,CAAAA,aAAa,CAAG,CAAhB,EAAqBC,iBAAiB,EAAID,aAAjD,CACD,CAHD,CAKA,MAAO3E,CAAAA,cAAP,CACD,CA7ID,CA6IE6E,gBA7IF,CAFA,C,+BAoJA7E,cAAc,CAAC8E,YAAf,CAA8B,CAC5B/D,aAAa,CAAE,IADa,CAE5BK,mBAAmB,CAAE,CAFO,CAA9B,CAKApB,cAAc,CAAC+E,SAAf,CAA2BC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwC5I,aAAa,CAAC,EAAD,CAAK6I,sBAAL,CAAoB,CAClGnC,qBAAqB,CAAEoC,eAD2E,CAElGnC,mBAAmB,CAAEmC,eAF6E,CAGlGhB,QAAQ,CAAEgB,eAHwF,CAIlGlC,iBAAiB,CAAEkC,eAJ+E,CAKlGjC,eAAe,CAAEiC,eALiF,CAMlGf,WAAW,CAAEe,eANqF,CAOlGd,OAAO,CAAEc,eAPyF,CAQlG9B,qBAAqB,CAAE+B,eAR2E,CASlGtE,aAAa,CAAEsE,eATmF,CAUlGjE,mBAAmB,CAAEkE,iBAV6E,CAWlG5B,8BAA8B,CAAE2B,eAXkE,CAYlG1B,4BAA4B,CAAE0B,eAZoE,CAApB,CAArD,CAatB,EAbL,CAcA,GAAIb,CAAAA,MAAM,CAAGe,oBAAW7G,MAAX,CAAkB,CAC7B+F,cAAc,CAAE,CACde,WAAW,CAAE,MADC,CADa,CAI7BxB,aAAa,CAAE,CACbyB,cAAc,CAAE,MADH,CAJc,CAAlB,CAAb","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport debounce from 'debounce';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport React, { Component } from 'react';\nimport { bool, func, number } from 'prop-types';\n\nvar normalizeScrollEvent = function normalizeScrollEvent(e) {\n return {\n nativeEvent: {\n contentOffset: {\n get x() {\n return e.target.scrollLeft;\n },\n\n get y() {\n return e.target.scrollTop;\n }\n\n },\n contentSize: {\n get height() {\n return e.target.scrollHeight;\n },\n\n get width() {\n return e.target.scrollWidth;\n }\n\n },\n layoutMeasurement: {\n get height() {\n return e.target.offsetHeight;\n },\n\n get width() {\n return e.target.offsetWidth;\n }\n\n }\n },\n timeStamp: Date.now()\n };\n};\n/**\n * Encapsulates the Web-specific scroll throttling and disabling logic\n */\n\n\nvar ScrollViewBase =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(ScrollViewBase, _Component);\n\n function ScrollViewBase() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this._debouncedOnScrollEnd = debounce(_this._handleScrollEnd, 100);\n _this._state = {\n isScrolling: false,\n scrollLastTick: 0\n };\n\n _this._createPreventableScrollHandler = function (handler) {\n return function (e) {\n if (_this.props.scrollEnabled) {\n if (handler) {\n handler(e);\n }\n } else {\n // To disable scrolling in all browsers except Chrome\n e.preventDefault();\n }\n };\n };\n\n _this._handleScroll = function (e) {\n e.persist();\n e.stopPropagation();\n var scrollEventThrottle = _this.props.scrollEventThrottle; // A scroll happened, so the scroll bumps the debounce.\n\n _this._debouncedOnScrollEnd(e);\n\n if (_this._state.isScrolling) {\n // Scroll last tick may have changed, check if we need to notify\n if (_this._shouldEmitScrollEvent(_this._state.scrollLastTick, scrollEventThrottle)) {\n _this._handleScrollTick(e);\n }\n } else {\n // Weren't scrolling, so we must have just started\n _this._handleScrollStart(e);\n }\n };\n\n _this._setViewRef = function (element) {\n _this._viewRef = element;\n };\n\n return _this;\n }\n\n var _proto = ScrollViewBase.prototype;\n\n _proto.setNativeProps = function setNativeProps(props) {\n if (this._viewRef) {\n this._viewRef.setNativeProps(props);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n scrollEnabled = _this$props.scrollEnabled,\n style = _this$props.style,\n alwaysBounceHorizontal = _this$props.alwaysBounceHorizontal,\n alwaysBounceVertical = _this$props.alwaysBounceVertical,\n automaticallyAdjustContentInsets = _this$props.automaticallyAdjustContentInsets,\n bounces = _this$props.bounces,\n bouncesZoom = _this$props.bouncesZoom,\n canCancelContentTouches = _this$props.canCancelContentTouches,\n centerContent = _this$props.centerContent,\n contentInset = _this$props.contentInset,\n contentInsetAdjustmentBehavior = _this$props.contentInsetAdjustmentBehavior,\n contentOffset = _this$props.contentOffset,\n decelerationRate = _this$props.decelerationRate,\n directionalLockEnabled = _this$props.directionalLockEnabled,\n endFillColor = _this$props.endFillColor,\n indicatorStyle = _this$props.indicatorStyle,\n keyboardShouldPersistTaps = _this$props.keyboardShouldPersistTaps,\n maximumZoomScale = _this$props.maximumZoomScale,\n minimumZoomScale = _this$props.minimumZoomScale,\n onMomentumScrollBegin = _this$props.onMomentumScrollBegin,\n onMomentumScrollEnd = _this$props.onMomentumScrollEnd,\n onScrollBeginDrag = _this$props.onScrollBeginDrag,\n onScrollEndDrag = _this$props.onScrollEndDrag,\n overScrollMode = _this$props.overScrollMode,\n pinchGestureEnabled = _this$props.pinchGestureEnabled,\n removeClippedSubviews = _this$props.removeClippedSubviews,\n scrollEventThrottle = _this$props.scrollEventThrottle,\n scrollIndicatorInsets = _this$props.scrollIndicatorInsets,\n scrollPerfTag = _this$props.scrollPerfTag,\n scrollsToTop = _this$props.scrollsToTop,\n showsHorizontalScrollIndicator = _this$props.showsHorizontalScrollIndicator,\n showsVerticalScrollIndicator = _this$props.showsVerticalScrollIndicator,\n snapToInterval = _this$props.snapToInterval,\n snapToAlignment = _this$props.snapToAlignment,\n zoomScale = _this$props.zoomScale,\n other = _objectWithoutPropertiesLoose(_this$props, [\"scrollEnabled\", \"style\", \"alwaysBounceHorizontal\", \"alwaysBounceVertical\", \"automaticallyAdjustContentInsets\", \"bounces\", \"bouncesZoom\", \"canCancelContentTouches\", \"centerContent\", \"contentInset\", \"contentInsetAdjustmentBehavior\", \"contentOffset\", \"decelerationRate\", \"directionalLockEnabled\", \"endFillColor\", \"indicatorStyle\", \"keyboardShouldPersistTaps\", \"maximumZoomScale\", \"minimumZoomScale\", \"onMomentumScrollBegin\", \"onMomentumScrollEnd\", \"onScrollBeginDrag\", \"onScrollEndDrag\", \"overScrollMode\", \"pinchGestureEnabled\", \"removeClippedSubviews\", \"scrollEventThrottle\", \"scrollIndicatorInsets\", \"scrollPerfTag\", \"scrollsToTop\", \"showsHorizontalScrollIndicator\", \"showsVerticalScrollIndicator\", \"snapToInterval\", \"snapToAlignment\", \"zoomScale\"]);\n\n var hideScrollbar = showsHorizontalScrollIndicator === false || showsVerticalScrollIndicator === false;\n return React.createElement(View, _extends({}, other, {\n onScroll: this._handleScroll,\n onTouchMove: this._createPreventableScrollHandler(this.props.onTouchMove),\n onWheel: this._createPreventableScrollHandler(this.props.onWheel),\n ref: this._setViewRef,\n style: [style, !scrollEnabled && styles.scrollDisabled, hideScrollbar && styles.hideScrollbar]\n }));\n };\n\n _proto._handleScrollStart = function _handleScrollStart(e) {\n this._state.isScrolling = true;\n this._state.scrollLastTick = Date.now();\n };\n\n _proto._handleScrollTick = function _handleScrollTick(e) {\n var onScroll = this.props.onScroll;\n this._state.scrollLastTick = Date.now();\n\n if (onScroll) {\n onScroll(normalizeScrollEvent(e));\n }\n };\n\n _proto._handleScrollEnd = function _handleScrollEnd(e) {\n var onScroll = this.props.onScroll;\n this._state.isScrolling = false;\n\n if (onScroll) {\n onScroll(normalizeScrollEvent(e));\n }\n };\n\n _proto._shouldEmitScrollEvent = function _shouldEmitScrollEvent(lastTick, eventThrottle) {\n var timeSinceLastTick = Date.now() - lastTick;\n return eventThrottle > 0 && timeSinceLastTick >= eventThrottle;\n };\n\n return ScrollViewBase;\n}(Component); // Chrome doesn't support e.preventDefault in this case; touch-action must be\n// used to disable scrolling.\n// https://developers.google.com/web/updates/2017/01/scrolling-intervention\n\n\nScrollViewBase.defaultProps = {\n scrollEnabled: true,\n scrollEventThrottle: 0\n};\nexport { ScrollViewBase as default };\nScrollViewBase.propTypes = process.env.NODE_ENV !== \"production\" ? _objectSpread({}, ViewPropTypes, {\n onMomentumScrollBegin: func,\n onMomentumScrollEnd: func,\n onScroll: func,\n onScrollBeginDrag: func,\n onScrollEndDrag: func,\n onTouchMove: func,\n onWheel: func,\n removeClippedSubviews: bool,\n scrollEnabled: bool,\n scrollEventThrottle: number,\n showsHorizontalScrollIndicator: bool,\n showsVerticalScrollIndicator: bool\n}) : {};\nvar styles = StyleSheet.create({\n scrollDisabled: {\n touchAction: 'none'\n },\n hideScrollbar: {\n scrollbarWidth: 'none'\n }\n});"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _createReactClass=_interopRequireDefault(require(\"create-react-class\"));var _ensureComponentIsNative=_interopRequireDefault(require(\"../../modules/ensureComponentIsNative\"));var _ensurePositiveDelayProps=_interopRequireDefault(require(\"../Touchable/ensurePositiveDelayProps\"));var _react=_interopRequireDefault(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _reactTimerMixin=_interopRequireDefault(require(\"react-timer-mixin\"));var _Touchable=_interopRequireDefault(require(\"../Touchable\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"../TouchableWithoutFeedback\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _propTypes=require(\"prop-types\");function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var DEFAULT_PROPS={activeOpacity:0.85,underlayColor:'black'};var PRESS_RETENTION_OFFSET={top:20,left:20,right:20,bottom:30};var TouchableHighlight=(0,_createReactClass.default)({displayName:'TouchableHighlight',propTypes:_objectSpread({},_TouchableWithoutFeedback.default.propTypes,{activeOpacity:_propTypes.number,onHideUnderlay:_propTypes.func,onShowUnderlay:_propTypes.func,style:_ViewPropTypes.default.style,underlayColor:_ColorPropType.default}),mixins:[_reactTimerMixin.default,_Touchable.default.Mixin],getDefaultProps:function getDefaultProps(){return DEFAULT_PROPS;},_computeSyntheticState:function _computeSyntheticState(props){return{activeProps:{style:{opacity:props.activeOpacity}},activeUnderlayProps:{style:{backgroundColor:props.underlayColor}},underlayStyle:[INACTIVE_UNDERLAY_PROPS.style,props.style]};},getInitialState:function getInitialState(){this._isMounted=false;return _objectSpread({},this.touchableGetInitialState(),this._computeSyntheticState(this.props));},componentDidMount:function componentDidMount(){this._isMounted=true;(0,_ensurePositiveDelayProps.default)(this.props);(0,_ensureComponentIsNative.default)(this._childRef);},componentWillUnmount:function componentWillUnmount(){this._isMounted=false;},componentDidUpdate:function componentDidUpdate(){(0,_ensureComponentIsNative.default)(this._childRef);},componentWillReceiveProps:function componentWillReceiveProps(nextProps){(0,_ensurePositiveDelayProps.default)(nextProps);if(nextProps.activeOpacity!==this.props.activeOpacity||nextProps.underlayColor!==this.props.underlayColor||nextProps.style!==this.props.style){this.setState(this._computeSyntheticState(nextProps));}},touchableHandleActivePressIn:function touchableHandleActivePressIn(e){this.clearTimeout(this._hideTimeout);this._hideTimeout=null;this._showUnderlay();this.props.onPressIn&&this.props.onPressIn(e);},touchableHandleActivePressOut:function touchableHandleActivePressOut(e){if(!this._hideTimeout){this._hideUnderlay();}this.props.onPressOut&&this.props.onPressOut(e);},touchableHandlePress:function touchableHandlePress(e){this.clearTimeout(this._hideTimeout);this._showUnderlay();this._hideTimeout=this.setTimeout(this._hideUnderlay,this.props.delayPressOut||100);this.props.onPress&&this.props.onPress(e);},touchableHandleLongPress:function touchableHandleLongPress(e){this.props.onLongPress&&this.props.onLongPress(e);},touchableGetPressRectOffset:function touchableGetPressRectOffset(){return this.props.pressRetentionOffset||PRESS_RETENTION_OFFSET;},touchableGetHitSlop:function touchableGetHitSlop(){return this.props.hitSlop;},touchableGetHighlightDelayMS:function touchableGetHighlightDelayMS(){return this.props.delayPressIn;},touchableGetLongPressDelayMS:function touchableGetLongPressDelayMS(){return this.props.delayLongPress;},touchableGetPressOutDelayMS:function touchableGetPressOutDelayMS(){return this.props.delayPressOut;},_showUnderlay:function _showUnderlay(){if(!this._isMounted||!this._hasPressHandler()){return;}this._underlayRef.setNativeProps(this.state.activeUnderlayProps);this._childRef.setNativeProps(this.state.activeProps);this.props.onShowUnderlay&&this.props.onShowUnderlay();},_hideUnderlay:function _hideUnderlay(){this.clearTimeout(this._hideTimeout);this._hideTimeout=null;if(this._hasPressHandler()&&this._underlayRef){this._childRef.setNativeProps(INACTIVE_CHILD_PROPS);this._underlayRef.setNativeProps(_objectSpread({},INACTIVE_UNDERLAY_PROPS,{style:this.state.underlayStyle}));this.props.onHideUnderlay&&this.props.onHideUnderlay();}},_hasPressHandler:function _hasPressHandler(){return!!(this.props.onPress||this.props.onPressIn||this.props.onPressOut||this.props.onLongPress);},_setChildRef:function _setChildRef(node){this._childRef=node;},_setUnderlayRef:function _setUnderlayRef(node){this._underlayRef=node;},render:function render(){var _this$props=this.props,activeOpacity=_this$props.activeOpacity,onHideUnderlay=_this$props.onHideUnderlay,onShowUnderlay=_this$props.onShowUnderlay,underlayColor=_this$props.underlayColor,delayLongPress=_this$props.delayLongPress,delayPressIn=_this$props.delayPressIn,delayPressOut=_this$props.delayPressOut,onLongPress=_this$props.onLongPress,onPress=_this$props.onPress,onPressIn=_this$props.onPressIn,onPressOut=_this$props.onPressOut,pressRetentionOffset=_this$props.pressRetentionOffset,other=_objectWithoutPropertiesLoose(_this$props,[\"activeOpacity\",\"onHideUnderlay\",\"onShowUnderlay\",\"underlayColor\",\"delayLongPress\",\"delayPressIn\",\"delayPressOut\",\"onLongPress\",\"onPress\",\"onPressIn\",\"onPressOut\",\"pressRetentionOffset\"]);return _react.default.createElement(_View.default,_extends({},other,{accessible:this.props.accessible!==false,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,ref:this._setUnderlayRef,style:[styles.root,!this.props.disabled&&styles.actionable,this.state.underlayStyle]}),_react.default.cloneElement(_react.default.Children.only(this.props.children),{ref:this._setChildRef}),_Touchable.default.renderDebugView({color:'green',hitSlop:this.props.hitSlop}));}});var INACTIVE_CHILD_PROPS={style:_StyleSheet.default.create({x:{opacity:1.0}}).x};var INACTIVE_UNDERLAY_PROPS={style:_StyleSheet.default.create({x:{backgroundColor:'transparent'}}).x};var styles=_StyleSheet.default.create({root:{userSelect:'none'},actionable:{cursor:'pointer',touchAction:'manipulation'}});var _default=(0,_applyNativeMethods.default)(TouchableHighlight);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/TouchableHighlight/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","_objectSpread","ownKeys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","DEFAULT_PROPS","activeOpacity","underlayColor","PRESS_RETENTION_OFFSET","top","left","right","bottom","TouchableHighlight","displayName","propTypes","TouchableWithoutFeedback","number","onHideUnderlay","func","onShowUnderlay","style","ViewPropTypes","ColorPropType","mixins","TimerMixin","Touchable","Mixin","getDefaultProps","_computeSyntheticState","props","activeProps","opacity","activeUnderlayProps","backgroundColor","underlayStyle","INACTIVE_UNDERLAY_PROPS","getInitialState","_isMounted","touchableGetInitialState","componentDidMount","_childRef","componentWillUnmount","componentDidUpdate","componentWillReceiveProps","nextProps","setState","touchableHandleActivePressIn","e","clearTimeout","_hideTimeout","_showUnderlay","onPressIn","touchableHandleActivePressOut","_hideUnderlay","onPressOut","touchableHandlePress","setTimeout","delayPressOut","onPress","touchableHandleLongPress","onLongPress","touchableGetPressRectOffset","pressRetentionOffset","touchableGetHitSlop","hitSlop","touchableGetHighlightDelayMS","delayPressIn","touchableGetLongPressDelayMS","delayLongPress","touchableGetPressOutDelayMS","_hasPressHandler","_underlayRef","setNativeProps","state","INACTIVE_CHILD_PROPS","_setChildRef","node","_setUnderlayRef","render","_this$props","other","React","createElement","View","accessible","onKeyDown","touchableHandleKeyEvent","onKeyUp","onResponderGrant","touchableHandleResponderGrant","onResponderMove","touchableHandleResponderMove","onResponderRelease","touchableHandleResponderRelease","onResponderTerminate","touchableHandleResponderTerminate","onResponderTerminationRequest","touchableHandleResponderTerminationRequest","onStartShouldSetResponder","touchableHandleStartShouldSetResponder","ref","styles","root","disabled","actionable","cloneElement","Children","only","children","renderDebugView","color","StyleSheet","create","x","userSelect","cursor","touchAction"],"mappings":"mKAiBA,4FACA,uEACA,4EACA,sGACA,uGACA,oDACA,iEACA,0EACA,+DACA,6FACA,qDACA,uEACA,qCA7BA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,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C,eAAMwB,YAAN,CAAmBxB,eAAMyB,QAAN,CAAeC,IAAf,CAAoB,KAAK9E,KAAL,CAAW+E,QAA/B,CAAnB,CAA6D,CAC/DR,GAAG,CAAE,KAAKzB,YADqD,CAA7D,CAZG,CAcHlD,mBAAUoF,eAAV,CAA0B,CAC5BC,KAAK,CAAE,OADqB,CAE5B9C,OAAO,CAAE,KAAKnC,KAAL,CAAWmC,OAFQ,CAA1B,CAdG,CAAP,CAkBD,CAtLuC,CAAjB,CAAzB,CAwLA,GAAIU,CAAAA,oBAAoB,CAAG,CACzBtD,KAAK,CAAE2F,oBAAWC,MAAX,CAAkB,CACvBC,CAAC,CAAE,CACDlF,OAAO,CAAE,GADR,CADoB,CAAlB,EAIJkF,CALsB,CAA3B,CAOA,GAAI9E,CAAAA,uBAAuB,CAAG,CAC5Bf,KAAK,CAAE2F,oBAAWC,MAAX,CAAkB,CACvBC,CAAC,CAAE,CACDhF,eAAe,CAAE,aADhB,CADoB,CAAlB,EAIJgF,CALyB,CAA9B,CAOA,GAAIZ,CAAAA,MAAM,CAAGU,oBAAWC,MAAX,CAAkB,CAC7BV,IAAI,CAAE,CACJY,UAAU,CAAE,MADR,CADuB,CAI7BV,UAAU,CAAE,CACVW,MAAM,CAAE,SADE,CAEVC,WAAW,CAAE,cAFH,CAJiB,CAAlB,CAAb,C,aASe,gCAAmBxG,kBAAnB,C","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport ColorPropType from '../ColorPropType';\nimport createReactClass from 'create-react-class';\nimport ensureComponentIsNative from '../../modules/ensureComponentIsNative';\nimport ensurePositiveDelayProps from '../Touchable/ensurePositiveDelayProps';\nimport React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport TimerMixin from 'react-timer-mixin';\nimport Touchable from '../Touchable';\nimport TouchableWithoutFeedback from '../TouchableWithoutFeedback';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport { func, number } from 'prop-types';\nvar DEFAULT_PROPS = {\n activeOpacity: 0.85,\n underlayColor: 'black'\n};\nvar PRESS_RETENTION_OFFSET = {\n top: 20,\n left: 20,\n right: 20,\n bottom: 30\n};\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, which allows\n * the underlay color to show through, darkening or tinting the view.\n *\n * The underlay comes from wrapping the child in a new View, which can affect\n * layout, and sometimes cause unwanted visual artifacts if not used correctly,\n * for example if the backgroundColor of the wrapped view isn't explicitly set\n * to an opaque color.\n *\n * TouchableHighlight must have one child (not zero or more than one).\n * If you wish to have several child components, wrap them in a View.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * <TouchableHighlight onPress={this._onPressButton}>\n * <Image\n * style={styles.button}\n * source={require('./myButton.png')}\n * />\n * </TouchableHighlight>\n * );\n * },\n * ```\n */\n\n/* eslint-disable react/prefer-es6-class */\n\nvar TouchableHighlight = createReactClass({\n displayName: 'TouchableHighlight',\n propTypes: _objectSpread({}, TouchableWithoutFeedback.propTypes, {\n /**\n * Determines what the opacity of the wrapped view should be when touch is\n * active.\n */\n activeOpacity: number,\n\n /**\n * Called immediately after the underlay is hidden\n */\n onHideUnderlay: func,\n\n /**\n * Called immediately after the underlay is shown\n */\n onShowUnderlay: func,\n style: ViewPropTypes.style,\n\n /**\n * The color of the underlay that will show through when the touch is\n * active.\n */\n underlayColor: ColorPropType\n }),\n mixins: [TimerMixin, Touchable.Mixin],\n getDefaultProps: function getDefaultProps() {\n return DEFAULT_PROPS;\n },\n // Performance optimization to avoid constantly re-generating these objects.\n _computeSyntheticState: function _computeSyntheticState(props) {\n return {\n activeProps: {\n style: {\n opacity: props.activeOpacity\n }\n },\n activeUnderlayProps: {\n style: {\n backgroundColor: props.underlayColor\n }\n },\n underlayStyle: [INACTIVE_UNDERLAY_PROPS.style, props.style]\n };\n },\n getInitialState: function getInitialState() {\n this._isMounted = false;\n return _objectSpread({}, this.touchableGetInitialState(), this._computeSyntheticState(this.props));\n },\n componentDidMount: function componentDidMount() {\n this._isMounted = true;\n ensurePositiveDelayProps(this.props);\n ensureComponentIsNative(this._childRef);\n },\n componentWillUnmount: function componentWillUnmount() {\n this._isMounted = false;\n },\n componentDidUpdate: function componentDidUpdate() {\n ensureComponentIsNative(this._childRef);\n },\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n ensurePositiveDelayProps(nextProps);\n\n if (nextProps.activeOpacity !== this.props.activeOpacity || nextProps.underlayColor !== this.props.underlayColor || nextProps.style !== this.props.style) {\n this.setState(this._computeSyntheticState(nextProps));\n }\n },\n\n /**\n * `Touchable.Mixin` self callbacks. The mixin will invoke these if they are\n * defined on your component.\n */\n touchableHandleActivePressIn: function touchableHandleActivePressIn(e) {\n this.clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n\n this._showUnderlay();\n\n this.props.onPressIn && this.props.onPressIn(e);\n },\n touchableHandleActivePressOut: function touchableHandleActivePressOut(e) {\n if (!this._hideTimeout) {\n this._hideUnderlay();\n }\n\n this.props.onPressOut && this.props.onPressOut(e);\n },\n touchableHandlePress: function touchableHandlePress(e) {\n this.clearTimeout(this._hideTimeout);\n\n this._showUnderlay();\n\n this._hideTimeout = this.setTimeout(this._hideUnderlay, this.props.delayPressOut || 100);\n this.props.onPress && this.props.onPress(e);\n },\n touchableHandleLongPress: function touchableHandleLongPress(e) {\n this.props.onLongPress && this.props.onLongPress(e);\n },\n touchableGetPressRectOffset: function touchableGetPressRectOffset() {\n return this.props.pressRetentionOffset || PRESS_RETENTION_OFFSET;\n },\n touchableGetHitSlop: function touchableGetHitSlop() {\n return this.props.hitSlop;\n },\n touchableGetHighlightDelayMS: function touchableGetHighlightDelayMS() {\n return this.props.delayPressIn;\n },\n touchableGetLongPressDelayMS: function touchableGetLongPressDelayMS() {\n return this.props.delayLongPress;\n },\n touchableGetPressOutDelayMS: function touchableGetPressOutDelayMS() {\n return this.props.delayPressOut;\n },\n _showUnderlay: function _showUnderlay() {\n if (!this._isMounted || !this._hasPressHandler()) {\n return;\n }\n\n this._underlayRef.setNativeProps(this.state.activeUnderlayProps);\n\n this._childRef.setNativeProps(this.state.activeProps);\n\n this.props.onShowUnderlay && this.props.onShowUnderlay();\n },\n _hideUnderlay: function _hideUnderlay() {\n this.clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n\n if (this._hasPressHandler() && this._underlayRef) {\n this._childRef.setNativeProps(INACTIVE_CHILD_PROPS);\n\n this._underlayRef.setNativeProps(_objectSpread({}, INACTIVE_UNDERLAY_PROPS, {\n style: this.state.underlayStyle\n }));\n\n this.props.onHideUnderlay && this.props.onHideUnderlay();\n }\n },\n _hasPressHandler: function _hasPressHandler() {\n return !!(this.props.onPress || this.props.onPressIn || this.props.onPressOut || this.props.onLongPress);\n },\n _setChildRef: function _setChildRef(node) {\n this._childRef = node;\n },\n _setUnderlayRef: function _setUnderlayRef(node) {\n this._underlayRef = node;\n },\n render: function render() {\n var _this$props = this.props,\n activeOpacity = _this$props.activeOpacity,\n onHideUnderlay = _this$props.onHideUnderlay,\n onShowUnderlay = _this$props.onShowUnderlay,\n underlayColor = _this$props.underlayColor,\n delayLongPress = _this$props.delayLongPress,\n delayPressIn = _this$props.delayPressIn,\n delayPressOut = _this$props.delayPressOut,\n onLongPress = _this$props.onLongPress,\n onPress = _this$props.onPress,\n onPressIn = _this$props.onPressIn,\n onPressOut = _this$props.onPressOut,\n pressRetentionOffset = _this$props.pressRetentionOffset,\n other = _objectWithoutPropertiesLoose(_this$props, [\"activeOpacity\", \"onHideUnderlay\", \"onShowUnderlay\", \"underlayColor\", \"delayLongPress\", \"delayPressIn\", \"delayPressOut\", \"onLongPress\", \"onPress\", \"onPressIn\", \"onPressOut\", \"pressRetentionOffset\"]);\n\n return React.createElement(View, _extends({}, other, {\n accessible: this.props.accessible !== false,\n onKeyDown: this.touchableHandleKeyEvent,\n onKeyUp: this.touchableHandleKeyEvent,\n onResponderGrant: this.touchableHandleResponderGrant,\n onResponderMove: this.touchableHandleResponderMove,\n onResponderRelease: this.touchableHandleResponderRelease,\n onResponderTerminate: this.touchableHandleResponderTerminate,\n onResponderTerminationRequest: this.touchableHandleResponderTerminationRequest,\n onStartShouldSetResponder: this.touchableHandleStartShouldSetResponder,\n ref: this._setUnderlayRef,\n style: [styles.root, !this.props.disabled && styles.actionable, this.state.underlayStyle]\n }), React.cloneElement(React.Children.only(this.props.children), {\n ref: this._setChildRef\n }), Touchable.renderDebugView({\n color: 'green',\n hitSlop: this.props.hitSlop\n }));\n }\n});\nvar INACTIVE_CHILD_PROPS = {\n style: StyleSheet.create({\n x: {\n opacity: 1.0\n }\n }).x\n};\nvar INACTIVE_UNDERLAY_PROPS = {\n style: StyleSheet.create({\n x: {\n backgroundColor: 'transparent'\n }\n }).x\n};\nvar styles = StyleSheet.create({\n root: {\n userSelect: 'none'\n },\n actionable: {\n cursor: 'pointer',\n touchAction: 'manipulation'\n }\n});\nexport default applyNativeMethods(TouchableHighlight);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createFA5iconSet=createFA5iconSet;exports.FA5Style=void 0;var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _createMultiStyleIconSet=_interopRequireDefault(require(\"./createMultiStyleIconSet\"));var FA5Style={regular:'regular',light:'light',solid:'solid',brand:'brand'};exports.FA5Style=FA5Style;function createFA5iconSet(glyphMap){var metadata=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var fonts=arguments.length>2?arguments[2]:undefined;var pro=arguments.length>3&&arguments[3]!==undefined?arguments[3]:false;var metadataKeys=Object.keys(metadata);var fontFamily=\"FontAwesome5\"+(pro?'Pro':'Free');function fallbackFamily(glyph){for(var i=0;i<metadataKeys.length;i+=1){var family=metadataKeys[i];if(metadata[family].indexOf(glyph)!==-1){return family==='brands'?'brand':family;}}return'regular';}function glyphValidator(glyph,style){var family=style==='brand'?'brands':style;if(metadataKeys.indexOf(family)===-1)return false;return metadata[family].indexOf(glyph)!==-1;}function createFontAwesomeStyle(styleName,fontWeight){var family=arguments.length>2&&arguments[2]!==undefined?arguments[2]:fontFamily;var fontFile=fonts[styleName];return{fontFamily:family+\"-\"+styleName,fontFile:fontFile,fontStyle:_Platform.default.select({ios:{fontWeight:fontWeight},default:{}}),glyphMap:glyphMap};}var brandIcons=createFontAwesomeStyle('Brand','400');var lightIcons=createFontAwesomeStyle('Light','100');var regularIcons=createFontAwesomeStyle('Regular','400');var solidIcons=createFontAwesomeStyle('Solid','700');var Icon=(0,_createMultiStyleIconSet.default)({brand:brandIcons,light:lightIcons,regular:regularIcons,solid:solidIcons},{defaultStyle:'regular',fallbackFamily:fall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AED,QAAS,CAAA,sBAAT,CAAgC,SAAhC,CAA2C,UAA3C,CAA0E,IAAnB,CAAA,MAAmB,2DAAV,UAAU,CACxE,GAAI,CAAA,QAAQ,CAAG,KAAK,CAAC,SAAD,CAApB,CAEA,MAAO,CACL,UAAU,CAAK,MAAL,KAAe,SADpB,CAEL,QAAQ,CAAR,QAFK,CAGL,SAAS,CAAE,kBAAS,MAAT,CAAgB,CACzB,GAAG,CAAE,CACH,UAAU,CAAV,UADG,CADoB,CAIzB,OAAO,CAAE,EAJgB,CAAhB,CAHN,CASL,QAAQ,CAAR,QATK,CAAP,CAWD,CAED,GAAM,CAAA,UAAU,CAAG,sBAAsB,CAAC,OAAD,CAAU,KAAV,CAAzC,CACA,GAAM,CAAA,UAAU,CAAG,sBAAsB,CAAC,OAAD,CAAU,KAAV,CAAzC,CACA,GAAM,CAAA,YAAY,CAAG,sBAAsB,CAAC,SAAD,CAAY,KAAZ,CAA3C,CACA,GAAM,CAAA,UAAU,CAAG,sBAAsB,CAAC,OAAD,CAAU,KAAV,CAAzC,CACA,GAAM,CAAA,IAAI,CAAG,qCACX,CACE,KAAK,CAAE,UADT,CAEE,KAAK,CAAE,UAFT,CAGE,OAAO,CAAE,YAHX,CAIE,KAAK,CAAE,UAJT,CADW,CAOX,CACE,YAAY,CAAE,SADhB,CAEE,cAAc,CAAd,cAFF,CAGE,cAAc,CAAd,cAHF,CAPW,CAAb,CAcA,MAAO,CAAA,IAAP,CACD","sourcesContent":["import { Platform } from 'react-native';\nimport createMultiStyleIconSet from './createMultiStyleIconSet';\n\nexport const FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand',\n};\n\nexport function createFA5iconSet(glyphMap, metadata = {}, fonts, pro = false) {\n const metadataKeys = Object.keys(metadata);\n const fontFamily = `FontAwesome5${pro ? 'Pro' : 'Free'}`;\n\n function fallbackFamily(glyph) {\n for (let i = 0; i < metadataKeys.length; i += 1) {\n const family = metadataKeys[i];\n if (metadata[family].indexOf(glyph) !== -1) {\n return family === 'brands' ? 'brand' : family;\n }\n }\n\n return 'regular';\n }\n\n function glyphValidator(glyph, style) {\n const family = style === 'brand' ? 'brands' : style;\n if (metadataKeys.indexOf(family) === -1) return false;\n return metadata[family].indexOf(glyph) !== -1;\n }\n\n function createFontAwesomeStyle(styleName, fontWeight, family = fontFamily) {\n let fontFile = fonts[styleName];\n\n return {\n fontFamily: `${family}-${styleName}`,\n fontFile,\n fontStyle: Platform.select({\n ios: {\n fontWeight,\n },\n default: {},\n }),\n glyphMap,\n };\n }\n\n const brandIcons = createFontAwesomeStyle('Brand', '400');\n const lightIcons = createFontAwesomeStyle('Light', '100');\n const regularIcons = createFontAwesomeStyle('Regular', '400');\n const solidIcons = createFontAwesomeStyle('Solid', '700');\n const Icon = createMultiStyleIconSet(\n {\n brand: brandIcons,\n light: lightIcons,\n regular: regularIcons,\n solid: solidIcons,\n },\n {\n defaultStyle: 'regular',\n fallbackFamily,\n glyphValidator,\n },\n );\n\n return Icon;\n}"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=ensureNativeModuleAvailable;var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _NativeModules=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeModules\"));var NativeIconAPI=_NativeModules.default.RNVectorIconsManager||_NativeModules.default.RNVectorIconsModule;function ensureNativeModuleAvailable(){if(!NativeIconAPI){if(_Platform.default.OS==='android'){throw new Error('RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.');}throw new Error('RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.');}}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/ensure-native-module-available.js"],"names":["NativeIconAPI","NativeModules","RNVectorIconsManager","RNVectorIconsModule","ensureNativeModuleAvailable","Platform","OS","Error"],"mappings":"kXAEA,GAAMA,CAAAA,aAAa,CACjBC,uBAAcC,oBAAd,EAAsCD,uBAAcE,mBADtD,CAGe,QAASC,CAAAA,2BAAT,EAAuC,CACpD,GAAI,CAACJ,aAAL,CAAoB,CAClB,GAAIK,kBAASC,EAAT,GAAgB,SAApB,CAA+B,CAC7B,KAAM,IAAIC,CAAAA,KAAJ,CACJ,sJADI,CAAN,CAGD,CACD,KAAM,IAAIA,CAAAA,KAAJ,CACJ,0LADI,CAAN,CAGD,CACF","sourcesContent":["import { Platform, NativeModules } from 'react-native';\n\nconst NativeIconAPI =\n NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport default function ensureNativeModuleAvailable() {\n if (!NativeIconAPI) {\n if (Platform.OS === 'android') {\n throw new Error(\n 'RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.'\n );\n }\n throw new Error(\n 'RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.'\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createToolbarAndroidComponent;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));function createToolbarAndroidComponent(IconNamePropType,getImageSource){return function(_PureComponent){(0,_inherits2.default)(IconToolbarAndroid,_PureComponent);function IconToolbarAndroid(){(0,_classCallCheck2.default)(this,IconToolbarAndroid);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(IconToolbarAndroid).apply(this,arguments));}(0,_createClass2.default)(IconToolbarAndroid,[{key:\"render\",value:function render(){return null;}}]);return IconToolbarAndroid;}(_react.PureComponent);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/toolbar-android.web.js"],"names":["createToolbarAndroidComponent","IconNamePropType","getImageSource","PureComponent"],"mappings":"yuBACA,qDACe,QAASA,CAAAA,6BAAT,CAAuCC,gBAAvC,CAAyDC,cAAzD,CAAyE,CACtF,6XACW,CACP,MAAO,KAAP,CACD,CAHH,gCAAwCC,oBAAxC,EAKD","sourcesContent":["/* eslint-disable react/no-unused-prop-types */\nimport React, { PureComponent } from 'react';\nexport default function createToolbarAndroidComponent(IconNamePropType, getImageSource) {\n return class IconToolbarAndroid extends PureComponent {\n render() {\n return null;\n }\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});var _exportNames={cond:true,set:true,startClock:true,stopClock:true,clockRunning:true,debug:true,call:true,event:true,always:true,concat:true,block:true,adapt:true,proc:true};Object.defineProperty(exports,\"cond\",{enumerable:true,get:function get(){return _AnimatedCond.createAnimatedCond;}});Object.defineProperty(exports,\"set\",{enumerable:true,get:function get(){return _AnimatedSet.createAnimatedSet;}});Object.defineProperty(exports,\"startClock\",{enumerable:true,get:function get(){return _AnimatedStartClock.createAnimatedStartClock;}});Object.defineProperty(exports,\"stopClock\",{enumerable:true,get:function get(){return _AnimatedStopClock.createAnimatedStopClock;}});Object.defineProperty(exports,\"clockRunning\",{enumerable:true,get:function get(){return _AnimatedClockTest.createAnimatedClockTest;}});Object.defineProperty(exports,\"debug\",{enumerable:true,get:function get(){return _AnimatedDebug.createAnimatedDebug;}});Object.defineProperty(exports,\"call\",{enumerable:true,get:function get(){return _AnimatedCall.createAnimatedCall;}});Object.defineProperty(exports,\"event\",{enumerable:true,get:function get(){return _AnimatedEvent.createAnimatedEvent;}});Object.defineProperty(exports,\"always\",{enumerable:true,get:function get(){return _AnimatedAlways.createAnimatedAlways;}});Object.defineProperty(exports,\"concat\",{enumerable:true,get:function get(){return _AnimatedConcat.createAnimatedConcat;}});Object.defineProperty(exports,\"block\",{enumerable:true,get:function get(){return _AnimatedBlock.createAnimatedBlock;}});Object.defineProperty(exports,\"adapt\",{enumerable:true,get:function get(){return _AnimatedBlock.adapt;}});Object.defineProperty(exports,\"proc\",{enumerable:true,get:function get(){return _AnimatedFunction.createAnimatedFunction;}});var _AnimatedCond=require(\"./core/AnimatedCond\");var _AnimatedSet=require(\"./core/AnimatedSet\");var _AnimatedStartClock=require(\"./core/AnimatedStartClock\");var _AnimatedStopClock=require(\"./core/AnimatedStopClock\");var _AnimatedClockTest=require(\"./core/AnimatedClockTest\");var _AnimatedDebug=require(\"./core/AnimatedDebug\");var _AnimatedCall=require(\"./core/AnimatedCall\");var _AnimatedEvent=require(\"./core/AnimatedEvent\");var _AnimatedAlways=require(\"./core/AnimatedAlways\");var _AnimatedConcat=require(\"./core/AnimatedConcat\");var _AnimatedBlock=require(\"./core/AnimatedBlock\");var _AnimatedFunction=require(\"./core/AnimatedFunction\");var _operators=require(\"./operators\");Object.keys(_operators).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _operators[key];}});});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/base.js"],"names":[],"mappings":"2xDAAA,iDACA,+CACA,6DAGA,2DACA,2DAGA,mDACA,iDACA,mDACA,qDACA,qDACA,mDACA,yDACA","sourcesContent":["export { createAnimatedCond as cond } from './core/AnimatedCond';\nexport { createAnimatedSet as set } from './core/AnimatedSet';\nexport {\n createAnimatedStartClock as startClock,\n} from './core/AnimatedStartClock';\nexport { createAnimatedStopClock as stopClock } from './core/AnimatedStopClock';\nexport {\n createAnimatedClockTest as clockRunning,\n} from './core/AnimatedClockTest';\nexport { createAnimatedDebug as debug } from './core/AnimatedDebug';\nexport { createAnimatedCall as call } from './core/AnimatedCall';\nexport { createAnimatedEvent as event } from './core/AnimatedEvent';\nexport { createAnimatedAlways as always } from './core/AnimatedAlways';\nexport { createAnimatedConcat as concat } from './core/AnimatedConcat';\nexport { createAnimatedBlock as block, adapt } from './core/AnimatedBlock';\nexport { createAnimatedFunction as proc } from './core/AnimatedFunction';\nexport * from './operators';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _findNodeHandle=_interopRequireDefault(require(\"react-native-web/dist/exports/findNodeHandle\"));var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var _validatorState=require(\"./validatorState\");_findNodeHandle.default;if((0,_validatorState.shouldThrowAnErrorOutsideOfExpo)()&&(!_expoConstants.default||!_expoConstants.default.expoVersion)){throw new Error(\"The Expo SDK requires Expo to run. It appears the native Expo modules are unavailable and this code is not running on Expo. Visit https://docs.expo.io to learn more about developing an Expo project.\");}","map":{"version":3,"sources":["../../src/environment/validate.fx.ts"],"names":[],"mappings":"uLAKA,qEAEA,gDAEA,wBAEA,GAAI,wDAAsC,CAAC,sBAAD,EAAc,CAAC,uBAAU,WAA/D,CAAJ,CAAiF,CAC/E,KAAM,IAAI,CAAA,KAAJ,0MAAN,CAGD","sourcesContent":["import {\n // React Native's internal InitializeCore module sets up `window` but runs only when its React\n // renderer is loaded. We can cause this by loading one of its dependents.\n findNodeHandle,\n} from 'react-native';\nimport Constants from 'expo-constants'; // eslint-disable-line no-unused-expressions\n\nimport { shouldThrowAnErrorOutsideOfExpo } from './validatorState';\n\nfindNodeHandle; // eslint-disable-line no-unused-expressions\n\nif (shouldThrowAnErrorOutsideOfExpo() && (!Constants || !Constants.expoVersion)) {\n throw new Error(\n `The Expo SDK requires Expo to run. It appears the native Expo modules are unavailable and this code is not running on Expo. Visit https://docs.expo.io to learn more about developing an Expo project.`\n );\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _Dimensions=_interopRequireDefault(require(\"../Dimensions\"));var PixelRatio=function(){function PixelRatio(){}PixelRatio.get=function get(){return _Dimensions.default.get('window').scale;};PixelRatio.getFontScale=function getFontScale(){return _Dimensions.default.get('window').fontScale||PixelRatio.get();};PixelRatio.getPixelSizeForLayoutSize=function getPixelSizeForLayoutSize(layoutSize){return Math.round(layoutSize*PixelRatio.get());};PixelRatio.roundToNearestPixel=function roundToNearestPixel(layoutSize){var ratio=PixelRatio.get();return Math.round(layoutSize*ratio)/ratio;};return PixelRatio;}();exports.default=PixelRatio;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/PixelRatio/index.js"],"names":["PixelRatio","get","Dimensions","scale","getFontScale","fontScale","getPixelSizeForLayoutSize","layoutSize","Math","round","roundToNearestPixel","ratio"],"mappings":"mKASA,iEAKA,GAAIA,CAAAA,UAAU,CAEd,UAAY,CACV,QAASA,CAAAA,UAAT,EAAsB,CAAE,CAKxBA,UAAU,CAACC,GAAX,CAAiB,QAASA,CAAAA,GAAT,EAAe,CAC9B,MAAOC,qBAAWD,GAAX,CAAe,QAAf,EAAyBE,KAAhC,CACD,CAFD,CAQAH,UAAU,CAACI,YAAX,CAA0B,QAASA,CAAAA,YAAT,EAAwB,CAChD,MAAOF,qBAAWD,GAAX,CAAe,QAAf,EAAyBI,SAAzB,EAAsCL,UAAU,CAACC,GAAX,EAA7C,CACD,CAFD,CASAD,UAAU,CAACM,yBAAX,CAAuC,QAASA,CAAAA,yBAAT,CAAmCC,UAAnC,CAA+C,CACpF,MAAOC,CAAAA,IAAI,CAACC,KAAL,CAAWF,UAAU,CAAGP,UAAU,CAACC,GAAX,EAAxB,CAAP,CACD,CAFD,CAWAD,UAAU,CAACU,mBAAX,CAAiC,QAASA,CAAAA,mBAAT,CAA6BH,UAA7B,CAAyC,CACxE,GAAII,CAAAA,KAAK,CAAGX,UAAU,CAACC,GAAX,EAAZ,CACA,MAAOO,CAAAA,IAAI,CAACC,KAAL,CAAWF,UAAU,CAAGI,KAAxB,EAAiCA,KAAxC,CACD,CAHD,CAKA,MAAOX,CAAAA,UAAP,CACD,CAxCD,EAFA,C","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport Dimensions from '../Dimensions';\n/**\n * PixelRatio gives access to the device pixel density.\n */\n\nvar PixelRatio =\n/*#__PURE__*/\nfunction () {\n function PixelRatio() {}\n\n /**\n * Returns the device pixel density.\n */\n PixelRatio.get = function get() {\n return Dimensions.get('window').scale;\n }\n /**\n * No equivalent for Web\n */\n ;\n\n PixelRatio.getFontScale = function getFontScale() {\n return Dimensions.get('window').fontScale || PixelRatio.get();\n }\n /**\n * Converts a layout size (dp) to pixel size (px).\n * Guaranteed to return an integer number.\n */\n ;\n\n PixelRatio.getPixelSizeForLayoutSize = function getPixelSizeForLayoutSize(layoutSize) {\n return Math.round(layoutSize * PixelRatio.get());\n }\n /**\n * Rounds a layout size (dp) to the nearest layout size that corresponds to\n * an integer number of pixels. For example, on a device with a PixelRatio\n * of 3, `PixelRatio.roundToNearestPixel(8.4) = 8.33`, which corresponds to\n * exactly (8.33 * 3) = 25 pixels.\n */\n ;\n\n PixelRatio.roundToNearestPixel = function roundToNearestPixel(layoutSize) {\n var ratio = PixelRatio.get();\n return Math.round(layoutSize * ratio) / ratio;\n };\n\n return PixelRatio;\n}();\n\nexport { PixelRatio as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _shadow=_interopRequireDefault(require(\"../styles/shadow\"));var _theming=require(\"../core/theming\");var _overlay=_interopRequireDefault(require(\"../styles/overlay\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Surface.tsx\";var Surface=function(_React$Component){(0,_inherits2.default)(Surface,_React$Component);function Surface(){(0,_classCallCheck2.default)(this,Surface);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Surface).apply(this,arguments));}(0,_createClass2.default)(Surface,[{key:\"render\",value:function render(){var _this$props=this.props,style=_this$props.style,theme=_this$props.theme,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\",\"theme\"]);var flattenedStyles=_StyleSheet.default.flatten(style)||{};var _flattenedStyles$elev=flattenedStyles.elevation,elevation=_flattenedStyles$elev===void 0?4:_flattenedStyles$elev;var isDarkTheme=theme.dark,mode=theme.mode,colors=theme.colors;return React.createElement(_Animated.default.View,(0,_extends2.default)({},rest,{style:[{backgroundColor:isDarkTheme&&mode==='adaptive'?(0,_overlay.default)(elevation,colors.surface):colors.surface},elevation&&(0,_shadow.default)(elevation),style],__source:{fileName:_jsxFileName,lineNumber:70}}));}}]);return Surface;}(React.Component);var _default=(0,_theming.withTheme)(Surface);exports.default=_default;","map":{"version":3,"sources":["Surface.tsx"],"names":["Surface","React","Component","style","theme","rest","flattenedStyles","StyleSheet","elevation","isDarkTheme","mode","colors","backgroundColor","overlay","shadow","withTheme"],"mappings":"k5BAAA,oD,oLAEA,gEACA,wCAEA,kE,kGAyDMA,GAAAA,CAAAA,O,oUACK,CAAA,GAAA,CAAA,WAAA,CAC2B,KAD3B,KAAA,CACCG,KADD,CAAA,WAAA,CAAA,KAAA,CACQC,KADR,CAAA,WAAA,CAAA,KAAA,CACkBC,IADlB,CAAA,sCAAA,WAAA,CAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAA,CAEP,GAAMC,CAAAA,eAAe,CAAGC,oBAAAA,OAAAA,CAAAA,KAAAA,GAAxB,EAAA,CAFO,GAAA,CAAA,qBAAA,CAG8BD,eAH9B,CAAA,SAAA,CAGCE,SAHD,CAAA,qBAAA,GAAA,IAAA,EAAA,CAAA,CAAA,CAAA,qBAAA,CAAA,GAIOC,CAAAA,WAJP,CAIqCL,KAJrC,CAAA,IAAA,CAIoBM,IAJpB,CAIqCN,KAJrC,CAAA,IAAA,CAI0BO,MAJ1B,CAIqCP,KAJrC,CAAA,MAAA,CAKP,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,kBAAA,IAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAEE,KAAK,CAAE,CACL,CACEQ,eAAe,CACbH,WAAW,EAAIC,IAAI,GAAnBD,UAAAA,CACII,qBAAO,SAAPA,CAAmBF,MAAM,CAD7BF,OACII,CADJJ,CAEIE,MAAM,CALT,OACL,CADK,CAOLH,SAAS,EAAIM,oBAPR,SAOQA,CAPR,CAFT,KAES,CAFT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,C,sBANkBb,KAAK,CAACC,S,CAAtBF,C,aAuBSe,uBAAf,OAAeA,C","sourcesContent":["import * as React from 'react';\nimport { Animated, StyleSheet, View, StyleProp, ViewStyle } from 'react-native';\nimport shadow from '../styles/shadow';\nimport { withTheme } from '../core/theming';\nimport { Theme } from '../types';\nimport overlay from '../styles/overlay';\n\ntype Props = React.ComponentProps<typeof View> & {\n /**\n * Content of the `Surface`.\n */\n children: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * Surface is a basic container that can give depth to an element with elevation shadow.\n * On dark theme with `adaptive` mode, surface is constructed by also placing a semi-transparent white overlay over a component surface.\n * See [Dark Theme](https://callstack.github.io/react-native-paper/theming.html#dark-theme) for more informations.\n * Overlay and/or shadow can be applied by specifying the `elevation` property both on Android and iOS.\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/surface-1.png\" />\n * <img src=\"screenshots/surface-2.png\" />\n * <img src=\"screenshots/surface-3.png\" />\n * </div>\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/surface-dark-1.png\" />\n * <img src=\"screenshots/surface-dark-2.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Surface, Text } from 'react-native-paper';\n * import { StyleSheet } from 'react-native';\n *\n * const MyComponent = () => (\n * <Surface style={styles.surface}>\n * <Text>Surface</Text>\n * </Surface>\n * );\n *\n * export default MyComponent;\n *\n * const styles = StyleSheet.create({\n * surface: {\n * padding: 8,\n * height: 80,\n * width: 80,\n * alignItems: 'center',\n * justifyContent: 'center',\n * elevation: 4,\n * },\n * });\n * ```\n */\nclass Surface extends React.Component<Props> {\n render() {\n const { style, theme, ...rest } = this.props;\n const flattenedStyles = StyleSheet.flatten(style) || {};\n const { elevation = 4 }: ViewStyle = flattenedStyles;\n const { dark: isDarkTheme, mode, colors } = theme;\n return (\n <Animated.View\n {...rest}\n style={[\n {\n backgroundColor:\n isDarkTheme && mode === 'adaptive'\n ? overlay(elevation, colors.surface)\n : colors.surface,\n },\n elevation && shadow(elevation),\n style,\n ]}\n />\n );\n }\n}\nexport default withTheme(Surface);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var ExecutionEnvironment=require(\"./ExecutionEnvironment\");var performance;if(ExecutionEnvironment.canUseDOM){performance=window.performance||window.msPerformance||window.webkitPerformance;}module.exports=performance||{};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/performance.js"],"names":["ExecutionEnvironment","require","performance","canUseDOM","window","msPerformance","webkitPerformance","module","exports"],"mappings":"AAQA,aAEA,GAAIA,CAAAA,oBAAoB,CAAGC,OAAO,0BAAlC,CAEA,GAAIC,CAAAA,WAAJ,CAEA,GAAIF,oBAAoB,CAACG,SAAzB,CAAoC,CAClCD,WAAW,CAAGE,MAAM,CAACF,WAAP,EAAsBE,MAAM,CAACC,aAA7B,EAA8CD,MAAM,CAACE,iBAAnE,CACD,CAEDC,MAAM,CAACC,OAAP,CAAiBN,WAAW,EAAI,EAAhC","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n'use strict';\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar performance;\n\nif (ExecutionEnvironment.canUseDOM) {\n performance = window.performance || window.msPerformance || window.webkitPerformance;\n}\n\nmodule.exports = performance || {};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _TextStylePropTypes=_interopRequireDefault(require(\"../Text/TextStylePropTypes\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var TextInputStylePropTypes=_objectSpread({},_TextStylePropTypes.default,{caretColor:_ColorPropType.default,resize:(0,_propTypes.oneOf)(['none','vertical','horizontal','both'])});var _default=TextInputStylePropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/TextInput/TextInputStylePropTypes.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","TextInputStylePropTypes","TextStylePropTypes","caretColor","ColorPropType","resize"],"mappings":"mKAYA,uEACA,sFACA,qCAdA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CA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cesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../ColorPropType';\nimport TextStylePropTypes from '../Text/TextStylePropTypes';\nimport { oneOf } from 'prop-types';\n\nvar TextInputStylePropTypes = _objectSpread({}, TextStylePropTypes, {\n /* @platform web */\n caretColor: ColorPropType,\n resize: oneOf(['none', 'vertical', 'horizontal', 'both'])\n});\n\nexport default TextInputStylePropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _reactRedux=require(\"react-redux\");var _FontAwesome=_interopRequireDefault(require(\"@expo/vector-icons/FontAwesome\"));var _RateSentence=_interopRequireDefault(require(\"../RateSentence/RateSentence\"));var _RateBar=_interopRequireDefault(require(\"../RateBar/RateBar\"));var _RateLine=_interopRequireDefault(require(\"../RateLine/RateLine\"));var _scoring=_interopRequireDefault(require(\"../../lib/scoring\"));var Rate=function Rate(_ref){var score=_ref.score;return _react.default.createElement(_View.default,{style:{flex:1,backgroundColor:'#eee',margin:0,padding:0,justifyContent:'center',alignItems:'center'}},_react.default.createElement(_RateSentence.default,null),_react.default.createElement(_RateBar.default,{score:score}),_react.default.createElement(_RateLine.default,null));};var RateContainer=function RateContainer(_ref2){var score=_ref2.score;return _react.default.createElement(Rate,{score:score});};RateContainer.navigationOptions={title:'평가',tabBarIcon:function tabBarIcon(_ref3){var tintColor=_ref3.tintColor;return _react.default.createElement(_FontAwesome.default,{name:\"bar-chart-o\",color:tintColor,style:{marginLeft:0.5},size:20});}};var _default=(0,_reactRedux.connect)(function(_ref4){var search=_ref4.search;return{score:(0,_scoring.default)(search.result.return_data)};})(RateContainer);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/Rate/Rate.js"],"names":["Rate","score","flex","backgroundColor","margin","padding","justifyContent","alignItems","RateContainer","navigationOptions","title","tabBarIcon","tintColor","marginLeft","search","result","return_data"],"mappings":"mKAAA,oD,gKAEA,uCACA,mFACA,kFACA,mEACA,sEACA,kEAEA,GAAMA,CAAAA,IAAI,CAAG,QAAPA,CAAAA,IAAO,MAAa,IAAXC,CAAAA,KAAW,MAAXA,KAAW,CACtB,MACI,8BAAC,aAAD,EAAM,KAAK,CAAE,CAACC,IAAI,CAAE,CAAP,CAAUC,eAAe,CAAC,MAA1B,CAAkCC,MAAM,CAAC,CAAzC,CAA2CC,OAAO,CAAC,CAAnD,CAAsDC,cAAc,CAAC,QAArE,CAA8EC,UAAU,CAAC,QAAzF,CAAb,EACI,6BAAC,qBAAD,MADJ,CAEI,6BAAC,gBAAD,EAAS,KAAK,CAAEN,KAAhB,EAFJ,CAGI,6BAAC,iBAAD,MAHJ,CADJ,CAOH,CARD,CAUA,GAAMO,CAAAA,aAAa,CAAG,QAAhBA,CAAAA,aAAgB,OAAa,IAAXP,CAAAA,KAAW,OAAXA,KAAW,CAC/B,MAAO,8BAAC,IAAD,EAAM,KAAK,CAAEA,KAAb,EAAP,CACH,CAFD,CAIAO,aAAa,CAACC,iBAAd,CAAgC,CAC5BC,KAAK,CAAC,IADsB,CAE7BC,UAAU,CAAE,8BAAEC,CAAAA,SAAF,OAAEA,SAAF,OAAiB,8BAAC,oBAAD,EAAM,IAAI,CAAC,aAAX,CAAyB,KAAK,CAAEA,SAAhC,CAA6C,KAAK,CAAE,CAACC,UAAU,CAAC,GAAZ,CAApD,CAAsE,IAAI,CAAE,EAA5E,EAAjB,EAFiB,CAAhC,C,aAKe,wBACX,mBAAEC,CAAAA,MAAF,OAAEA,MAAF,OAAa,CACTb,KAAK,CAAE,qBAAQa,MAAM,CAACC,MAAP,CAAcC,WAAtB,CADE,CAAb,EADW,EAIbR,aAJa,C","sourcesContent":["import React from 'react';\r\nimport { View, Text} from 'react-native';\r\nimport {connect} from 'react-redux'\r\nimport Icon from 'react-native-vector-icons/FontAwesome';\r\nimport RateSentence from '../RateSentence/RateSentence';\r\nimport RateBar from '../RateBar/RateBar';\r\nimport RateLine from '../RateLine/RateLine';\r\nimport scoring from '../../lib/scoring';\r\n\r\nconst Rate = ({score}) => {\r\n return(\r\n <View style={{flex: 1, backgroundColor:'#eee', margin:0,padding:0, justifyContent:'center',alignItems:'center'}}>\r\n <RateSentence />\r\n <RateBar score={score}/>\r\n <RateLine />\r\n </View>\r\n )\r\n}\r\n\r\nconst RateContainer = ({score}) => {\r\n return(<Rate score={score} />)\r\n}\r\n\r\nRateContainer.navigationOptions={\r\n title:'평가',\r\n tabBarIcon: ({tintColor})=> (<Icon name=\"bar-chart-o\" color={tintColor} style={{marginLeft:0.5}} size={20} />),\r\n}\r\n\r\nexport default connect(\r\n ({search})=>({\r\n score: scoring(search.result.return_data)\r\n })\r\n)(RateContainer);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _StatusBar=_interopRequireDefault(require(\"react-native-web/dist/exports/StatusBar\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _TextInput=_interopRequireDefault(require(\"react-native-web/dist/exports/TextInput\"));var _core=require(\"@react-navigation/core\");var ThemedText=function(_React$Component){(0,_inherits2.default)(ThemedText,_React$Component);function ThemedText(){(0,_classCallCheck2.default)(this,ThemedText);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ThemedText).apply(this,arguments));}(0,_createClass2.default)(ThemedText,[{key:\"render\",value:function render(){return React.createElement(_Text.default,(0,_extends2.default)({},this.props,{style:[{color:_core.ThemeColors[this.context].label},this.props.style]}));}}]);return ThemedText;}(React.Component);ThemedText.contextType=_core.ThemeContext;var ThemedTextInput=function(_React$Component2){(0,_inherits2.default)(ThemedTextInput,_React$Component2);function ThemedTextInput(){(0,_classCallCheck2.default)(this,ThemedTextInput);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ThemedTextInput).apply(this,arguments));}(0,_createClass2.default)(ThemedTextInput,[{key:\"render\",value:function render(){return React.createElement(_TextInput.default,(0,_extends2.default)({},this.props,{placeholderTextColor:this.context==='dark'?'#ebebf54c':'#3c3c434c',style:[{color:_core.ThemeColors[this.context].label},this.props.style]}));}}]);return ThemedTextInput;}(React.Component);ThemedTextInput.contextType=_core.ThemeContext;var ThemedStatusBar=function(_React$Component3){(0,_inherits2.default)(ThemedStatusBar,_React$Component3);function ThemedStatusBar(){(0,_classCallCheck2.default)(this,ThemedStatusBar);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ThemedStatusBar).apply(this,arguments));}(0,_createClass2.default)(ThemedStatusBar,[{key:\"render\",value:function render(){var _this$props=this.props,barStyle=_this$props.barStyle,props=(0,_objectWithoutProperties2.default)(_this$props,[\"barStyle\"]);return React.createElement(_StatusBar.default,(0,_extends2.default)({barStyle:barStyle?barStyle:this.context==='dark'?'light-content':'default'},props));}}]);return ThemedStatusBar;}(React.Component);ThemedStatusBar.contextType=_core.ThemeContext;var _default={Text:ThemedText,StatusBar:ThemedStatusBar,TextInput:ThemedTextInput};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/Themed.js"],"names":["ThemedText","props","color","ThemeColors","context","label","style","React","Component","contextType","ThemeContext","ThemedTextInput","ThemedStatusBar","barStyle","Text","StatusBar","TextInput"],"mappings":"k5BAAA,oD,oQAEA,4C,GAEMA,CAAAA,U,mVAGK,CACP,MAAO,qBAAC,aAAD,0BAAU,KAAKC,KAAf,EAAsB,KAAK,CAAE,CAAC,CAAEC,KAAK,CAAEC,kBAAY,KAAKC,OAAjB,EAA0BC,KAAnC,CAAD,CAA6C,KAAKJ,KAAL,CAAWK,KAAxD,CAA7B,GAAP,CACD,C,wBALsBC,KAAK,CAACC,S,EAAzBR,U,CACGS,W,CAAcC,kB,IAOjBC,CAAAA,e,8WAGK,CACP,MAAO,qBAAC,kBAAD,0BAAe,KAAKV,KAApB,EAA2B,oBAAoB,CAAE,KAAKG,OAAL,GAAiB,MAAjB,CAA0B,WAA1B,CAAwC,WAAzF,CAAsG,KAAK,CAAE,CAAC,CAAEF,KAAK,CAAEC,kBAAY,KAAKC,OAAjB,EAA0BC,KAAnC,CAAD,CAA6C,KAAKJ,KAAL,CAAWK,KAAxD,CAA7G,GAAP,CACD,C,6BAL2BC,KAAK,CAACC,S,EAA9BG,e,CACGF,W,CAAcC,kB,IAOjBE,CAAAA,e,8WAGK,iBACsB,KAAKX,KAD3B,CACDY,QADC,aACDA,QADC,CACYZ,KADZ,iEAGP,MAAO,qBAAC,kBAAD,wBAAW,QAAQ,CAAEY,QAAQ,CAAGA,QAAH,CAAc,KAAKT,OAAL,GAAiB,MAAjB,CAA0B,eAA1B,CAA4C,SAAvF,EAAsGH,KAAtG,EAAP,CACD,C,6BAP2BM,KAAK,CAACC,S,EAA9BI,e,CACGH,W,CAAcC,kB,cASR,CACbI,IAAI,CAAEd,UADO,CAEbe,SAAS,CAAEH,eAFE,CAGbI,SAAS,CAAEL,eAHE,C","sourcesContent":["import * as React from 'react';\nimport { StatusBar, Text, TextInput } from 'react-native';\nimport { ThemeContext, ThemeColors } from '@react-navigation/core';\n\nclass ThemedText extends React.Component {\n static contextType = ThemeContext;\n\n render() {\n return <Text {...this.props} style={[{ color: ThemeColors[this.context].label }, this.props.style]} />;\n }\n}\n\nclass ThemedTextInput extends React.Component {\n static contextType = ThemeContext;\n\n render() {\n return <TextInput {...this.props} placeholderTextColor={this.context === 'dark' ? '#ebebf54c' : '#3c3c434c'} style={[{ color: ThemeColors[this.context].label }, this.props.style]} />;\n }\n}\n\nclass ThemedStatusBar extends React.Component {\n static contextType = ThemeContext;\n\n render() {\n let { barStyle, ...props } = this.props;\n\n return <StatusBar barStyle={barStyle ? barStyle : this.context === 'dark' ? 'light-content' : 'default'} {...props} />;\n }\n}\n\nexport default {\n Text: ThemedText,\n StatusBar: ThemedStatusBar,\n TextInput: ThemedTextInput\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _get2=_interopRequireDefault(require(\"@babel/runtime/helpers/get\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _val=require(\"../val\");var _ReanimatedModule=_interopRequireDefault(require(\"../ReanimatedModule\"));function sanitizeValue(value){return value===null||value===undefined||typeof value==='string'?value:Number(value);}var CONSTANT_VALUES=new Map();function initializeConstantValues(){if(CONSTANT_VALUES.size!=0){return;}[0,-1,1,-2,2].forEach(function(v){return CONSTANT_VALUES.set(v,new InternalAnimatedValue(v,true));});}var InternalAnimatedValue=function(_AnimatedNode){(0,_inherits2.default)(InternalAnimatedValue,_AnimatedNode);(0,_createClass2.default)(InternalAnimatedValue,null,[{key:\"valueForConstant\",value:function valueForConstant(number){initializeConstantValues();return CONSTANT_VALUES.get(number)||new InternalAnimatedValue(number,true);}}]);function InternalAnimatedValue(value){var _this;var constant=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;(0,_classCallCheck2.default)(this,InternalAnimatedValue);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(InternalAnimatedValue).call(this,{type:'value',value:sanitizeValue(value)}));_this._startingValue=_this._value=value;_this._animation=null;_this._constant=constant;return _this;}(0,_createClass2.default)(InternalAnimatedValue,[{key:\"__detach\",value:function __detach(){var _this2=this;if(!this._constant){if(_ReanimatedModule.default.getValue){_ReanimatedModule.default.getValue(this.__nodeID,function(val){return _this2.__nodeConfig.value=val;});}else{this.__nodeConfig.value=this.__getValue();}}this.__detachAnimation(this._animation);(0,_get2.default)((0,_getPrototypeOf2.default)(InternalAnimatedValue.prototype),\"__detach\",this).call(this);}},{key:\"__detachAnimation\",value:function __detachAnimation(animation){animation&&animation.__detach();if(this._animation===animation){this._animation=null;}}},{key:\"__attachAnimation\",value:function __attachAnimation(animation){this.__detachAnimation(this._animation);this._animation=animation;}},{key:\"__onEvaluate\",value:function __onEvaluate(){if(this.__inputNodes&&this.__inputNodes.length){this.__inputNodes.forEach(_val.val);}return this._value;}},{key:\"_updateValue\",value:function _updateValue(value){this._value=value;this.__forceUpdateCache(value);}}]);return InternalAnimatedValue;}(_AnimatedNode2.default);exports.default=InternalAnimatedValue;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/InternalAnimatedValue.js"],"names":["sanitizeValue","value","undefined","Number","CONSTANT_VALUES","Map","initializeConstantValues","size","forEach","v","set","InternalAnimatedValue","number","get","constant","type","_startingValue","_value","_animation","_constant","ReanimatedModule","getValue","__nodeID","val","__nodeConfig","__getValue","__detachAnimation","animation","__detach","__inputNodes","length","__forceUpdateCache","AnimatedNode"],"mappings":"qsBAAA,qEACA,2BACA,6EAEA,QAASA,CAAAA,aAAT,CAAuBC,KAAvB,CAA8B,CAC5B,MAAOA,CAAAA,KAAK,GAAK,IAAV,EAAkBA,KAAK,GAAKC,SAA5B,EAAyC,MAAOD,CAAAA,KAAP,GAAiB,QAA1D,CACHA,KADG,CAEHE,MAAM,CAACF,KAAD,CAFV,CAGD,CAED,GAAMG,CAAAA,eAAe,CAAG,GAAIC,CAAAA,GAAJ,EAAxB,CAEA,QAASC,CAAAA,wBAAT,EAAoC,CAClC,GAAIF,eAAe,CAACG,IAAhB,EAAwB,CAA5B,CAA+B,CAC7B,OACD,CACD,CAAC,CAAD,CAAI,CAAC,CAAL,CAAQ,CAAR,CAAW,CAAC,CAAZ,CAAe,CAAf,EAAkBC,OAAlB,CAA0B,SAAAC,CAAC,QACzBL,CAAAA,eAAe,CAACM,GAAhB,CAAoBD,CAApB,CAAuB,GAAIE,CAAAA,qBAAJ,CAA0BF,CAA1B,CAA6B,IAA7B,CAAvB,CADyB,EAA3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AAO,MAAKN,MAAZ,CACD,C,kDAEYhB,K,CAAO,CAClB,KAAKgB,MAAL,CAAchB,KAAd,CACA,KAAK8B,kBAAL,CAAwB9B,KAAxB,EACD,C,mCApDgD+B,sB","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\nimport ReanimatedModule from '../ReanimatedModule';\n\nfunction sanitizeValue(value) {\n return value === null || value === undefined || typeof value === 'string'\n ? value\n : Number(value);\n}\n\nconst CONSTANT_VALUES = new Map();\n\nfunction initializeConstantValues() {\n if (CONSTANT_VALUES.size != 0) {\n return;\n }\n [0, -1, 1, -2, 2].forEach(v =>\n CONSTANT_VALUES.set(v, new InternalAnimatedValue(v, true))\n );\n}\n\n/**\n * This class has been made internal in order to omit dependencies' cycles which\n * were caused by imperative setValue and interpolate – they are currently exposed with AnimatedValue.js\n */\nexport default class InternalAnimatedValue extends AnimatedNode {\n static valueForConstant(number) {\n initializeConstantValues();\n return (\n CONSTANT_VALUES.get(number) || new InternalAnimatedValue(number, true)\n );\n }\n\n constructor(value, constant = false) {\n super({ type: 'value', value: sanitizeValue(value) });\n this._startingValue = this._value = value;\n this._animation = null;\n this._constant = constant;\n }\n\n __detach() {\n if (!this._constant) {\n if (ReanimatedModule.getValue) {\n ReanimatedModule.getValue(\n this.__nodeID,\n val => (this.__nodeConfig.value = val)\n );\n } else {\n this.__nodeConfig.value = this.__getValue();\n }\n }\n this.__detachAnimation(this._animation);\n super.__detach();\n }\n\n __detachAnimation(animation) {\n animation && animation.__detach();\n if (this._animation === animation) {\n this._animation = null;\n }\n }\n\n __attachAnimation(animation) {\n this.__detachAnimation(this._animation);\n this._animation = animation;\n }\n\n __onEvaluate() {\n if (this.__inputNodes && this.__inputNodes.length) {\n this.__inputNodes.forEach(val);\n }\n return this._value;\n }\n\n _updateValue(value) {\n this._value = value;\n this.__forceUpdateCache(value);\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _SwitchRouter=_interopRequireDefault(require(\"./SwitchRouter\"));var _withDefaultValue=_interopRequireDefault(require(\"../utils/withDefaultValue\"));var _default=function _default(routeConfigs){var config=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};config=(0,_objectSpread2.default)({},config);config=(0,_withDefaultValue.default)(config,'resetOnBlur',false);config=(0,_withDefaultValue.default)(config,'backBehavior','initialRoute');var switchRouter=(0,_SwitchRouter.default)(routeConfigs,config);return switchRouter;};exports.default=_default;","map":{"version":3,"sources":["TabRouter.js"],"names":["config","withDefaultValue","switchRouter","SwitchRouter"],"mappings":"6PAAA,oEACA,mF,aAEe,kBAAA,YAAA,CAA+B,CAAhBA,GAAAA,CAAAA,MAAgB,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CAAP,EAATA,CAC5BA,MAAM,CAAA,2BAAA,EAAA,CAANA,MAAM,CAANA,CACAA,MAAM,CAAGC,8BAAgB,MAAhBA,CAAgB,aAAhBA,CAATD,KAASC,CAATD,CACAA,MAAM,CAAGC,8BAAgB,MAAhBA,CAAgB,cAAhBA,CAATD,cAASC,CAATD,CAEA,GAAME,CAAAA,YAAY,CAAGC,0BAAY,YAAZA,CAArB,MAAqBA,CAArB,CACA,MAAA,CAAA,YAAA,CANF,C","sourcesContent":["import SwitchRouter from './SwitchRouter';\nimport withDefaultValue from '../utils/withDefaultValue';\n\nexport default (routeConfigs, config = {}) => {\n config = { ...config };\n config = withDefaultValue(config, 'resetOnBlur', false);\n config = withDefaultValue(config, 'backBehavior', 'initialRoute');\n\n const switchRouter = SwitchRouter(routeConfigs, config);\n return switchRouter;\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var id=0;var requests={};var ImageLoader={abort:function abort(requestId){var image=requests[\"\"+requestId];if(image){image.onerror=image.onload=image=null;delete requests[\"\"+requestId];}},getSize:function getSize(uri,success,failure){var complete=false;var interval=setInterval(callback,16);var requestId=ImageLoader.load(uri,callback,errorCallback);function callback(){var image=requests[\"\"+requestId];if(image){var naturalHeight=image.naturalHeight,naturalWidth=image.naturalWidth;if(naturalHeight&&naturalWidth){success(naturalWidth,naturalHeight);complete=true;}}if(complete){ImageLoader.abort(requestId);clearInterval(interval);}}function errorCallback(){if(typeof failure==='function'){failure();}ImageLoader.abort(requestId);clearInterval(interval);}},load:function load(uri,onLoad,onError){id+=1;var image=new window.Image();image.onerror=onError;image.onload=function(e){var onDecode=function onDecode(){return onLoad(e);};if(typeof image.decode==='function'){image.decode().then(onDecode,onDecode);}else{setTimeout(onDecode,0);}};image.src=uri;requests[\"\"+id]=image;return id;},prefetch:function prefetch(uri){return new Promise(function(resolve,reject){ImageLoader.load(uri,resolve,reject);});}};var _default=ImageLoader;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ImageLoader/index.js"],"names":["id","requests","ImageLoader","abort","requestId","image","onerror","onload","getSize","uri","success","failure","complete","interval","setInterval","callback","load","errorCallback","naturalHeight","naturalWidth","clearInterval","onLoad","onError","window","Image","e","onDecode","decode","then","setTimeout","src","prefetch","Promise","resolve","reject"],"mappings":"gFAQA,GAAIA,CAAAA,EAAE,CAAG,CAAT,CACA,GAAIC,CAAAA,QAAQ,CAAG,EAAf,CACA,GAAIC,CAAAA,WAAW,CAAG,CAChBC,KAAK,CAAE,QAASA,CAAAA,KAAT,CAAeC,SAAf,CAA0B,CAC/B,GAAIC,CAAAA,KAAK,CAAGJ,QAAQ,CAAC,GAAKG,SAAN,CAApB,CAEA,GAAIC,KAAJ,CAAW,CACTA,KAAK,CAACC,OAAN,C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M,CAACC,KAAX,EAAZ,CACAnB,KAAK,CAACC,OAAN,CAAgBgB,OAAhB,CAEAjB,KAAK,CAACE,MAAN,CAAe,SAAUkB,CAAV,CAAa,CAE1B,GAAIC,CAAAA,QAAQ,CAAG,QAASA,CAAAA,QAAT,EAAoB,CACjC,MAAOL,CAAAA,MAAM,CAACI,CAAD,CAAb,CACD,CAFD,CAIA,GAAI,MAAOpB,CAAAA,KAAK,CAACsB,MAAb,GAAwB,UAA5B,CAAwC,CAItCtB,KAAK,CAACsB,MAAN,GAAeC,IAAf,CAAoBF,QAApB,CAA8BA,QAA9B,EACD,CALD,IAKO,CACLG,UAAU,CAACH,QAAD,CAAW,CAAX,CAAV,CACD,CACF,CAdD,CAgBArB,KAAK,CAACyB,GAAN,CAAYrB,GAAZ,CACAR,QAAQ,CAAC,GAAKD,EAAN,CAAR,CAAoBK,KAApB,CACA,MAAOL,CAAAA,EAAP,CACD,CAlEe,CAmEhB+B,QAAQ,CAAE,QAASA,CAAAA,QAAT,CAAkBtB,GAAlB,CAAuB,CAC/B,MAAO,IAAIuB,CAAAA,OAAJ,CAAY,SAAUC,OAAV,CAAmBC,MAAnB,CAA2B,CAC5ChC,WAAW,CAACc,IAAZ,CAAiBP,GAAjB,CAAsBwB,OAAtB,CAA+BC,MAA/B,EACD,CAFM,CAAP,CAGD,CAvEe,CAAlB,C,aAyEehC,W","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar id = 0;\nvar requests = {};\nvar ImageLoader = {\n abort: function abort(requestId) {\n var image = requests[\"\" + requestId];\n\n if (image) {\n image.onerror = image.onload = image = null;\n delete requests[\"\" + requestId];\n }\n },\n getSize: function getSize(uri, success, failure) {\n var complete = false;\n var interval = setInterval(callback, 16);\n var requestId = ImageLoader.load(uri, callback, errorCallback);\n\n function callback() {\n var image = requests[\"\" + requestId];\n\n if (image) {\n var naturalHeight = image.naturalHeight,\n naturalWidth = image.naturalWidth;\n\n if (naturalHeight && naturalWidth) {\n success(naturalWidth, naturalHeight);\n complete = true;\n }\n }\n\n if (complete) {\n ImageLoader.abort(requestId);\n clearInterval(interval);\n }\n }\n\n function errorCallback() {\n if (typeof failure === 'function') {\n failure();\n }\n\n ImageLoader.abort(requestId);\n clearInterval(interval);\n }\n },\n load: function load(uri, onLoad, onError) {\n id += 1;\n var image = new window.Image();\n image.onerror = onError;\n\n image.onload = function (e) {\n // avoid blocking the main thread\n var onDecode = function onDecode() {\n return onLoad(e);\n };\n\n if (typeof image.decode === 'function') {\n // Safari currently throws exceptions when decoding svgs.\n // We want to catch that error and allow the load handler\n // to be forwarded to the onLoad handler in this case\n image.decode().then(onDecode, onDecode);\n } else {\n setTimeout(onDecode, 0);\n }\n };\n\n image.src = uri;\n requests[\"\" + id] = image;\n return id;\n },\n prefetch: function prefetch(uri) {\n return new Promise(function (resolve, reject) {\n ImageLoader.load(uri, resolve, reject);\n });\n }\n};\nexport default ImageLoader;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"Constants\",{enumerable:true,get:function get(){return _expoConstants.default;}});Object.defineProperty(exports,\"Asset\",{enumerable:true,get:function get(){return _expoAsset.Asset;}});Object.defineProperty(exports,\"LinearGradient\",{enumerable:true,get:function get(){return _expoLinearGradient.LinearGradient;}});exports.SQLite=exports.Icon=exports.Font=void 0;var _expoConstants=_interopRequireDefault(require(\"expo-constants\"));var Font=_interopRequireWildcard(require(\"expo-font\"));exports.Font=Font;var Icon=_interopRequireWildcard(require(\"@expo/vector-icons\"));exports.Icon=Icon;var SQLite=_interopRequireWildcard(require(\"expo-sqlite\"));exports.SQLite=SQLite;var _expoAsset=require(\"expo-asset\");var _expoLinearGradient=require(\"expo-linear-gradient\");","map":{"version":3,"sources":["../src/globals.web.ts"],"names":[],"mappings":"wmBAQA,qEACA,uD,kBACA,gE,kBACA,2D,sBACA,qCAIA","sourcesContent":["// We make some of the Expo SDK available on a global in order to make it\n// possible to augment their libraries with some Expo-specific behavior\n// when inside of an environment with the Expo SDK present, but otherwise\n// continue to work in any bare React Native app without requiring that\n// they install the 'expo' package. We can get rid of this entirely when\n// the following RFC has been implemented:\n// https://github.com/react-native-community/discussions-and-proposals/issues/120\n\nimport Constants from 'expo-constants';\nimport * as Font from 'expo-font';\nimport * as Icon from '@expo/vector-icons';\nimport * as SQLite from 'expo-sqlite';\nexport { Asset } from 'expo-asset';\nexport { Constants };\nexport { Font };\nexport { Icon };\nexport { LinearGradient } from 'expo-linear-gradient';\nexport { SQLite };\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _PooledClass=_interopRequireDefault(require(\"../../vendor/react-native/PooledClass\"));var twoArgumentPooler=_PooledClass.default.twoArgumentPooler;function BoundingDimensions(width,height){this.width=width;this.height=height;}BoundingDimensions.prototype.destructor=function(){this.width=null;this.height=null;};BoundingDimensions.getPooledFromElement=function(element){return BoundingDimensions.getPooled(element.offsetWidth,element.offsetHeight);};_PooledClass.default.addPoolingTo(BoundingDimensions,twoArgumentPooler);var _default=BoundingDimensions;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Touchable/BoundingDimensions.js"],"names":["twoArgumentPooler","PooledClass","BoundingDimensions","width","height","prototype","destructor","getPooledFromElement","element","getPooled","offsetWidth","offsetHeight","addPoolingTo"],"mappings":"mKASA,0FACA,GAAIA,CAAAA,iBAAiB,CAAGC,qBAAYD,iBAApC,CAKA,QAASE,CAAAA,kBAAT,CAA4BC,KAA5B,CAAmCC,MAAnC,CAA2C,CACzC,KAAKD,KAAL,CAAaA,KAAb,CACA,KAAKC,MAAL,CAAcA,MAAd,CACD,CAEDF,kBAAkB,CAACG,SAAnB,CAA6BC,UAA7B,CAA0C,UAAY,CACpD,KAAKH,KAAL,CAAa,IAAb,CACA,KAAKC,MAAL,CAAc,IAAd,CACD,CAHD,CAKAF,kBAAkB,CAACK,oBAAnB,CAA0C,SAAUC,OAAV,CAAmB,CAC3D,MAAON,CAAAA,kBAAkB,CAACO,SAAnB,CAA6BD,OAAO,CAACE,WAArC,CAAkDF,OAAO,CAACG,YAA1D,CAAP,CACD,CAFD,CAIAV,qBAAYW,YAAZ,CAAyBV,kBAAzB,CAA6CF,iBAA7C,E,aACeE,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport PooledClass from '../../vendor/react-native/PooledClass';\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\n/**\n * PooledClass representing the bounding rectangle of a region.\n */\n\nfunction BoundingDimensions(width, height) {\n this.width = width;\n this.height = height;\n}\n\nBoundingDimensions.prototype.destructor = function () {\n this.width = null;\n this.height = null;\n};\n\nBoundingDimensions.getPooledFromElement = function (element) {\n return BoundingDimensions.getPooled(element.offsetWidth, element.offsetHeight);\n};\n\nPooledClass.addPoolingTo(BoundingDimensions, twoArgumentPooler);\nexport default BoundingDimensions;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));var _Animation2=_interopRequireDefault(require(\"./Animation\"));var _SpringConfig=_interopRequireDefault(require(\"../SpringConfig\"));var _spring=_interopRequireDefault(require(\"./spring\"));var _base=require(\"../base\");var _AnimatedClock=_interopRequireDefault(require(\"../core/AnimatedClock\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function withDefault(value,defaultValue){if(value===undefined||value===null){return defaultValue;}return value;}var SpringAnimation=function(_Animation){(0,_inherits2.default)(SpringAnimation,_Animation);function SpringAnimation(config){var _this;(0,_classCallCheck2.default)(this,SpringAnimation);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(SpringAnimation).call(this));_this._overshootClamping=withDefault(config.overshootClamping,false);_this._restDisplacementThreshold=withDefault(config.restDisplacementThreshold,0.001);_this._restSpeedThreshold=withDefault(config.restSpeedThreshold,0.001);_this._initialVelocity=withDefault(config.velocity,0);_this._lastVelocity=withDefault(config.velocity,0);_this._toValue=config.toValue;_this._delay=withDefault(config.delay,0);if(config.stiffness!==undefined||config.damping!==undefined||config.mass!==undefined){(0,_invariant.default)(config.bounciness===undefined&&config.speed===undefined&&config.tension===undefined&&config.friction===undefined,'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');_this._stiffness=withDefault(config.stiffness,100);_this._damping=withDefault(config.damping,10);_this._mass=withDefault(config.mass,1);}else if(config.bounciness!==undefined||config.speed!==undefined){(0,_invariant.default)(config.tension===undefined&&config.friction===undefined&&config.stiffness===undefined&&config.damping===undefined&&config.mass===undefined,'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');var springConfig=_SpringConfig.default.fromBouncinessAndSpeed(withDefault(config.bounciness,8),withDefault(config.speed,12));_this._stiffness=springConfig.stiffness;_this._damping=springConfig.damping;_this._mass=1;}else{var _springConfig=_SpringConfig.default.fromOrigamiTensionAndFriction(withDefault(config.tension,40),withDefault(config.friction,7));_this._stiffness=_springConfig.stiffness;_this._damping=_springConfig.damping;_this._mass=1;}(0,_invariant.default)(_this._stiffness>0,'Stiffness value must be greater than 0');(0,_invariant.default)(_this._damping>0,'Damping value must be greater than 0');(0,_invariant.default)(_this._mass>0,'Mass value must be greater than 0');return _this;}(0,_createClass2.default)(SpringAnimation,[{key:\"start\",value:function start(value){this._clock=new _AnimatedClock.default();var state={finished:new _InternalAnimatedValue.default(0),velocity:new _InternalAnimatedValue.default(this._initialVelocity),position:value,time:new _InternalAnimatedValue.default(0)};var config={damping:this._damping,mass:this._mass,stiffness:this._stiffness,toValue:this._toValue,overshootClamping:this._overshootClamping,restSpeedThreshold:this._restSpeedThreshold,restDisplacementThreshold:this._restDisplacementThreshold};return(0,_base.block)([(0,_base.cond)((0,_base.clockRunning)(this._clock),0,[(0,_base.startClock)(this._clock)]),(0,_spring.default)(this._clock,state,config),(0,_base.cond)(state.finished,(0,_base.stopClock)(this._clock))]);}},{key:\"stop\",value:function stop(){}}],[{key:\"getDefaultState\",value:function getDefaultState(){return{position:new _InternalAnimatedValue.default(0),finished:new _InternalAnimatedValue.default(0),velocity:new _InternalAnimatedValue.default(0),time:new _InternalAnimatedValue.default(0)};}}]);return SpringAnimation;}(_Animation2.default);exports.default=SpringAnimation;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/SpringAnimation.js"],"names":["withDefault","value","defaultValue","undefined","SpringAnimation","config","_overshootClamping","overshootClamping","_restDisplacementThreshold","restDisplacementThreshold","_restSpeedThreshold","restSpeedThreshold","_initialVelocity","velocity","_lastVelocity","_toValue","toValue","_delay","delay","stiffness","damping","mass","bounciness","speed","tension","friction","_stiffness","_damping","_mass","springConfig","SpringConfig","fromBouncinessAndSpeed","fromOrigamiTensionAndFriction","_clock","Clock","state","finished","AnimatedValue","position","time","Animation"],"mappings":"6nBAAA,4FACA,+DACA,qEACA,wDAEA,6BACA,4EAEA,qEAEA,QAASA,CAAAA,WAAT,CAAqBC,KAArB,CAA4BC,YAA5B,CAA0C,CACxC,GAAID,KAAK,GAAKE,SAAV,EAAuBF,KAAK,GAAK,IAArC,CAA2C,CACzC,MAAOC,CAAAA,YAAP,CACD,CACD,MAAOD,CAAAA,KAAP,CACD,C,GAEoBG,CAAAA,e,yEACnB,yBAAYC,MAAZ,CAAoB,8DAClB,6GAEA,MAAKC,kBAAL,CAA0BN,WAAW,CAACK,MAAM,CAACE,iBAAR,CAA2B,KAA3B,CAArC,CACA,MAAKC,0BAAL,CAAkCR,WAAW,CAC3CK,MAAM,CAACI,yBADoC,CAE3C,KAF2C,CAA7C,CAIA,MAAKC,mBAAL,CAA2BV,WAAW,CAACK,MAAM,CAACM,kBAAR,CAA4B,KAA5B,CAAtC,CACA,MAAKC,gBAAL,CAAwBZ,WAAW,CAACK,MAAM,CAACQ,QAAR,CAAkB,CAAlB,CAAnC,CACA,MAAKC,aAAL,CAAqBd,WAAW,CAACK,MAAM,CAACQ,QAAR,CAAkB,CAAlB,CAAhC,CACA,MAAKE,QAAL,CAAgBV,MAAM,CAACW,OAAvB,CACA,MAAKC,MAAL,CAAcjB,WAAW,CAACK,MAAM,CAACa,KAAR,CAAe,CAAf,CAAzB,CAEA,GACEb,MAAM,CAACc,SAAP,GAAqBhB,SAArB,EACAE,MAAM,CAACe,OAAP,GAAmBjB,SADnB,EAEAE,MAAM,CAACgB,IAAP,GAAgBlB,SAHlB,CAIE,CACA,uBACEE,MAAM,CAACiB,UAAP,GAAsBnB,SAAtB,EACEE,MAAM,CAACkB,KAAP,GAAiBpB,SADnB,EAEEE,MAAM,CAACmB,OAAP,GAAmBrB,SAFrB,EAGEE,MAAM,CAACoB,QAAP,GAAoBtB,SAJxB,CAKE,4GALF,EAOA,MAAKuB,UAAL,CAAkB1B,WAAW,CAACK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B,CAAlB,CAJD,CAAP,CAMD,C,6BArG0CG,mB","sourcesContent":["import AnimatedValue from '../core/InternalAnimatedValue';\nimport Animation from './Animation';\nimport SpringConfig from '../SpringConfig';\nimport spring from './spring';\n\nimport { block, clockRunning, startClock, stopClock, cond } from '../base';\nimport Clock from '../core/AnimatedClock';\n\nimport invariant from 'fbjs/lib/invariant';\n\nfunction withDefault(value, defaultValue) {\n if (value === undefined || value === null) {\n return defaultValue;\n }\n return value;\n}\n\nexport default class SpringAnimation extends Animation {\n constructor(config) {\n super();\n\n this._overshootClamping = withDefault(config.overshootClamping, false);\n this._restDisplacementThreshold = withDefault(\n config.restDisplacementThreshold,\n 0.001\n );\n this._restSpeedThreshold = withDefault(config.restSpeedThreshold, 0.001);\n this._initialVelocity = withDefault(config.velocity, 0);\n this._lastVelocity = withDefault(config.velocity, 0);\n this._toValue = config.toValue;\n this._delay = withDefault(config.delay, 0);\n\n if (\n config.stiffness !== undefined ||\n config.damping !== undefined ||\n config.mass !== undefined\n ) {\n invariant(\n config.bounciness === undefined &&\n config.speed === undefined &&\n config.tension === undefined &&\n config.friction === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one'\n );\n this._stiffness = withDefault(config.stiffness, 100);\n this._damping = withDefault(config.damping, 10);\n this._mass = withDefault(config.mass, 1);\n } else if (config.bounciness !== undefined || config.speed !== undefined) {\n // Convert the origami bounciness/speed values to stiffness/damping\n // We assume mass is 1.\n invariant(\n config.tension === undefined &&\n config.friction === undefined &&\n config.stiffness === undefined &&\n config.damping === undefined &&\n config.mass === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one'\n );\n const springConfig = SpringConfig.fromBouncinessAndSpeed(\n withDefault(config.bounciness, 8),\n withDefault(config.speed, 12)\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n } else {\n // Convert the origami tension/friction values to stiffness/damping\n // We assume mass is 1.\n const springConfig = SpringConfig.fromOrigamiTensionAndFriction(\n withDefault(config.tension, 40),\n withDefault(config.friction, 7)\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n }\n\n invariant(this._stiffness > 0, 'Stiffness value must be greater than 0');\n invariant(this._damping > 0, 'Damping value must be greater than 0');\n invariant(this._mass > 0, 'Mass value must be greater than 0');\n }\n\n start(value) {\n this._clock = new Clock();\n const state = {\n finished: new AnimatedValue(0),\n velocity: new AnimatedValue(this._initialVelocity),\n position: value,\n time: new AnimatedValue(0),\n };\n\n const config = {\n damping: this._damping,\n mass: this._mass,\n stiffness: this._stiffness,\n toValue: this._toValue,\n overshootClamping: this._overshootClamping,\n restSpeedThreshold: this._restSpeedThreshold,\n restDisplacementThreshold: this._restDisplacementThreshold,\n };\n\n return block([\n cond(clockRunning(this._clock), 0, [startClock(this._clock)]),\n spring(this._clock, state, config),\n cond(state.finished, stopClock(this._clock)),\n ]);\n }\n\n stop() {\n // this._finished && this._finished.setValue(1);\n }\n static getDefaultState() {\n return {\n position: new AnimatedValue(0),\n finished: new AnimatedValue(0),\n velocity: new AnimatedValue(0),\n time: new AnimatedValue(0),\n };\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _TouchableNativeFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableNativeFeedback\"));var _TouchableOpacity=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableOpacity\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _jsxFileName=\"/Users/satya/Workspace/Projects/react-native-tab-view/src/TouchableItem.tsx\";var LOLLIPOP=21;var TouchableItem=function(_React$Component){(0,_inherits2.default)(TouchableItem,_React$Component);function TouchableItem(){(0,_classCallCheck2.default)(this,TouchableItem);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TouchableItem).apply(this,arguments));}(0,_createClass2.default)(TouchableItem,[{key:\"render\",value:function render(){var _this$props=this.props,style=_this$props.style,pressOpacity=_this$props.pressOpacity,pressColor=_this$props.pressColor,borderless=_this$props.borderless,children=_this$props.children,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\",\"pressOpacity\",\"pressColor\",\"borderless\",\"children\"]);if(_Platform.default.OS==='android'&&_Platform.default.Version>=LOLLIPOP){return React.createElement(_TouchableNativeFeedback.default,(0,_extends2.default)({},rest,{background:_TouchableNativeFeedback.default.Ripple(pressColor,borderless),__source:{fileName:_jsxFileName,lineNumber:42}}),React.createElement(_View.default,{style:style,__source:{fileName:_jsxFileName,lineNumber:46}},React.Children.only(children)));}else{return React.createElement(_TouchableOpacity.default,(0,_extends2.default)({},rest,{style:style,activeOpacity:pressOpacity,__source:{fileName:_jsxFileName,lineNumber:51}}),children);}}}]);return TouchableItem;}(React.Component);exports.default=TouchableItem;TouchableItem.defaultProps={pressColor:'rgba(255, 255, 255, .4)'};","map":{"version":3,"sources":["TouchableItem.tsx"],"names":["LOLLIPOP","TouchableItem","React","Component","defaultProps","pressColor","style","pressOpacity","borderless","children","rest","Plat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QACE,CADF,CAMH,C,4BA/BwCA,KAAK,CAACC,S,CAA5BF,C,8BAAAA,a,CACZG,YADYH,CACG,CACpBI,UAAU,CAFOJ,yBACG,CADHA","sourcesContent":["import * as React from 'react';\nimport {\n TouchableNativeFeedback,\n TouchableOpacity,\n Platform,\n View,\n StyleProp,\n ViewStyle,\n ViewProps,\n} from 'react-native';\n\ntype Props = ViewProps & {\n onPress: () => void;\n onLongPress?: () => void;\n delayPressIn?: number;\n borderless?: boolean;\n pressColor: string;\n pressOpacity?: number;\n children?: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n};\n\nconst LOLLIPOP = 21;\n\nexport default class TouchableItem extends React.Component<Props> {\n static defaultProps = {\n pressColor: 'rgba(255, 255, 255, .4)',\n };\n\n render() {\n const {\n style,\n pressOpacity,\n pressColor,\n borderless,\n children,\n ...rest\n } = this.props;\n\n if (Platform.OS === 'android' && Platform.Version >= LOLLIPOP) {\n return (\n <TouchableNativeFeedback\n {...rest}\n background={TouchableNativeFeedback.Ripple(pressColor, borderless)}\n >\n <View style={style}>{React.Children.only(children)}</View>\n </TouchableNativeFeedback>\n );\n } else {\n return (\n <TouchableOpacity {...rest} style={style} activeOpacity={pressOpacity}>\n {children}\n </TouchableOpacity>\n );\n }\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _requestIdleCallback=_interopRequireWildcard(require(\"../../modules/requestIdleCallback\"));var InteractionManager={Events:{interactionStart:'interactionStart',interactionComplete:'interactionComplete'},runAfterInteractions:function runAfterInteractions(task){var handle;var promise=new Promise(function(resolve){handle=(0,_requestIdleCallback.default)(function(){if(task){resolve(task());}else{resolve();}});});return{then:promise.then.bind(promise),done:promise.then.bind(promise),cancel:function cancel(){(0,_requestIdleCallback.cancelIdleCallback)(handle);}};},createInteractionHandle:function createInteractionHandle(){return 1;},clearInteractionHandle:function clearInteractionHandle(handle){(0,_invariant.default)(!!handle,'Must provide a handle to clear.');},addListener:function addListener(){}};var _default=InteractionManager;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/InteractionManager/index.js"],"names":["InteractionManager","Events","interactionStart","interactionComplete","runAfterInteractions","task","handle","promise","Promise","resolve","then","bind","done","cancel","createInteractionHandle","clearInteractionHandle","addListener"],"mappings":"wPASA,qEACA,+FACA,GAAIA,CAAAA,kBAAkB,CAAG,CACvBC,MAAM,CAAE,CACNC,gBAAgB,CAAE,kBADZ,CAENC,mBAAmB,CAAE,qBAFf,CADe,CASvBC,oBAAoB,CAAE,QAASA,CAAAA,oBAAT,CAA8BC,IAA9B,CAAoC,CACxD,GAAIC,CAAAA,MAAJ,CACA,GAAIC,CAAAA,OAAO,CAAG,GAAIC,CAAAA,OAAJ,CAAY,SAAUC,OAAV,CAAmB,CAC3CH,MAAM,CAAG,iCAAoB,UAAY,CACvC,GAAID,IAAJ,CAAU,CACRI,OAAO,CAACJ,IAAI,EAAL,CAAP,CACD,CAFD,IAEO,CACLI,OAAO,GACR,CACF,CANQ,CAAT,CAOD,CARa,CAAd,CASA,MAAO,CACLC,IAAI,CAAEH,OAAO,CAACG,IAAR,CAAaC,IAAb,CAAkBJ,OAAlB,CADD,CAELK,IAAI,CAAEL,OAAO,CAACG,IAAR,CAAaC,IAAb,CAAkBJ,OAAlB,CAFD,CAGLM,MAAM,CAAE,QAASA,CAAAA,MAAT,EAAkB,CACxB,4CAAmBP,MAAnB,EACD,CALI,CAAP,CAOD,CA3BsB,CAgCvBQ,uBAAuB,CAAE,QAASA,CAAAA,uBAAT,EAAmC,CAC1D,MAAO,EAAP,CACD,CAlCsB,CAuCvBC,sBAAsB,CAAE,QAASA,CAAAA,sBAAT,CAAgCT,MAAhC,CAAwC,CAC9D,uBAAU,CAAC,CAACA,MAAZ,CAAoB,iCAApB,EACD,CAzCsB,CA0CvBU,WAAW,CAAE,QAASA,CAAAA,WAAT,EAAuB,CAAE,CA1Cf,CAAzB,C,aA4CehB,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\nimport requestIdleCallback, { cancelIdleCallback } from '../../modules/requestIdleCallback';\nvar InteractionManager = {\n Events: {\n interactionStart: 'interactionStart',\n interactionComplete: 'interactionComplete'\n },\n\n /**\n * Schedule a function to run after all interactions have completed.\n */\n runAfterInteractions: function runAfterInteractions(task) {\n var handle;\n var promise = new Promise(function (resolve) {\n handle = requestIdleCallback(function () {\n if (task) {\n resolve(task());\n } else {\n resolve();\n }\n });\n });\n return {\n then: promise.then.bind(promise),\n done: promise.then.bind(promise),\n cancel: function cancel() {\n cancelIdleCallback(handle);\n }\n };\n },\n\n /**\n * Notify manager that an interaction has started.\n */\n createInteractionHandle: function createInteractionHandle() {\n return 1;\n },\n\n /**\n * Notify manager that an interaction has completed.\n */\n clearInteractionHandle: function clearInteractionHandle(handle) {\n invariant(!!handle, 'Must provide a handle to clear.');\n },\n addListener: function addListener() {}\n};\nexport default InteractionManager;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createReactClass=_interopRequireDefault(require(\"create-react-class\"));var _dismissKeyboard=_interopRequireDefault(require(\"../../modules/dismissKeyboard\"));var _findNodeHandle=_interopRequireDefault(require(\"../findNodeHandle\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _ScrollResponder=_interopRequireDefault(require(\"../../modules/ScrollResponder\"));var _ScrollViewBase=_interopRequireDefault(require(\"./ScrollViewBase\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _react=_interopRequireDefault(require(\"react\"));var _propTypes=require(\"prop-types\");function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var emptyObject={};var ScrollView=(0,_createReactClass.default)({displayName:\"ScrollView\",propTypes:_objectSpread({},_ViewPropTypes.default,{contentContainerStyle:_ViewPropTypes.default.style,horizontal:_propTypes.bool,keyboardDismissMode:(0,_propTypes.oneOf)(['none','interactive','on-drag']),onContentSizeChange:_propTypes.func,onScroll:_propTypes.func,pagingEnabled:_propTypes.bool,refreshControl:_propTypes.element,scrollEnabled:_propTypes.bool,scrollEventThrottle:_propTypes.number,stickyHeaderIndices:(0,_propTypes.arrayOf)(_propTypes.number),style:_ViewPropTypes.default.style}),mixins:[_ScrollResponder.default.Mixin],getInitialState:function getInitialState(){return this.scrollResponderMixinGetInitialState();},flashScrollIndicators:function flashScrollIndicators(){this.scrollResponderFlashScrollIndicators();},setNativeProps:function setNativeProps(props){if(this._scrollViewRef){this._scrollViewRef.setNativeProps(props);}},getScrollResponder:function getScrollResponder(){return this;},getScrollableNode:function getScrollableNode(){return(0,_findNodeHandle.default)(this._scrollViewRef);},getInnerViewNode:function getInnerViewNode(){return(0,_findNodeHandle.default)(this._innerViewRef);},scrollTo:function scrollTo(y,x,animated){if(typeof y==='number'){console.warn('`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.');}else{var _ref=y||emptyObject;x=_ref.x;y=_ref.y;animated=_ref.animated;}this.getScrollResponder().scrollResponderScrollTo({x:x||0,y:y||0,animated:animated!==false});},scrollToEnd:function scrollToEnd(options){var animated=(options&&options.animated)!==false;var horizontal=this.props.horizontal;var scrollResponder=this.getScrollResponder();var scrollResponderNode=scrollResponder.scrollResponderGetScrollableNode();var x=horizontal?scrollResponderNode.scrollWidth:0;var y=horizontal?0:scrollResponderNode.scrollHeight;scrollResponder.scrollResponderScrollTo({x:x,y:y,animated:animated});},scrollWithoutAnimationTo:function scrollWithoutAnimationTo(y,x){if(y===void 0){y=0;}if(x===void 0){x=0;}console.warn('`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead');this.scrollTo({x:x,y:y,animated:false});},render:function render(){var _this$props=this.props,contentContainerStyle=_this$props.contentContainerStyle,horizontal=_this$props.horizontal,onContentSizeChange=_this$props.onContentSizeChange,refreshControl=_this$props.refreshControl,stickyHeaderIndices=_this$props.stickyHeaderIndices,pagingEnabled=_this$props.pagingEnabled,keyboardDismissMode=_this$props.keyboardDismissMode,onScroll=_this$props.onScroll,other=_objectWithoutPropertiesLoose(_this$props,[\"contentContainerStyle\",\"horizontal\",\"onContentSizeChange\",\"refreshControl\",\"stickyHeaderIndices\",\"pagingEnabled\",\"keyboardDismissMode\",\"onScroll\"]);if(process.env.NODE_ENV!=='production'&&this.props.style){var style=_StyleSheet.default.flatten(this.props.style);var childLayoutProps=['alignItems','justifyContent'].filter(function(prop){return style&&style[prop]!==undefined;});(0,_invariant.default)(childLayoutProps.length===0,\"ScrollView child layout (\"+JSON.stringify(childLayoutProps)+\") \"+'must be applied through the contentContainerStyle prop.');}var contentSizeChangeProps={};if(onContentSizeChange){contentSizeChangeProps={onLayout:this._handleContentOnLayout};}var hasStickyHeaderIndices=!horizontal&&Array.isArray(stickyHeaderIndices);var children=hasStickyHeaderIndices||pagingEnabled?_react.default.Children.map(this.props.children,function(child,i){var isSticky=hasStickyHeaderIndices&&stickyHeaderIndices.indexOf(i)>-1;if(child!=null&&(isSticky||pagingEnabled)){return _react.default.createElement(_View.default,{style:_StyleSheet.default.compose(isSticky&&styles.stickyHeader,pagingEnabled&&styles.pagingEnabledChild)},child);}else{return child;}}):this.props.children;var contentContainer=_react.default.createElement(_View.default,_extends({},contentSizeChangeProps,{children:children,collapsable:false,ref:this._setInnerViewRef,style:_StyleSheet.default.compose(horizontal&&styles.contentContainerHorizontal,contentContainerStyle)}));var baseStyle=horizontal?styles.baseHorizontal:styles.baseVertical;var pagingEnabledStyle=horizontal?styles.pagingEnabledHorizontal:styles.pagingEnabledVertical;var props=_objectSpread({},other,{style:[baseStyle,pagingEnabled&&pagingEnabledStyle,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject});var ScrollViewClass=_ScrollViewBase.default;(0,_invariant.default)(ScrollViewClass!==undefined,'ScrollViewClass must not be undefined');if(refreshControl){return _react.default.cloneElement(refreshControl,{style:props.style},_react.default.createElement(ScrollViewClass,_extends({},props,{ref:this._setScrollViewRef,style:baseStyle}),contentContainer));}return _react.default.createElement(ScrollViewClass,_extends({},props,{ref:this._setScrollViewRef}),contentContainer);},_handleContentOnLayout:function _handleContentOnLayout(e){var _e$nativeEvent$layout=e.nativeEvent.layout,width=_e$nativeEvent$layout.width,height=_e$nativeEvent$layout.height;this.props.onContentSizeChange(width,height);},_handleScroll:function _handleScroll(e){if(process.env.NODE_ENV!=='production'){if(this.props.onScroll&&!this.props.scrollEventThrottle){console.log('You specified `onScroll` on a <ScrollView> but not '+'`scrollEventThrottle`. You will only receive one event. '+'Using `16` you get all the events but be aware that it may '+\"cause frame drops, use a bigger number if you don't need as \"+'much precision.');}}if(this.props.keyboardDismissMode==='on-drag'){(0,_dismissKeyboard.default)();}this.scrollResponderHandleScroll(e);},_setInnerViewRef:function _setInnerViewRef(component){this._innerViewRef=component;},_setScrollViewRef:function _setScrollViewRef(component){this._scrollViewRef=component;}});var commonStyle={flexGrow:1,flexShrink:1,transform:[{translateZ:0}],WebkitOverflowScrolling:'touch'};var styles=_StyleSheet.default.create({baseVertical:_objectSpread({},commonStyle,{flexDirection:'column',overflowX:'hidden',overflowY:'auto'}),baseHorizontal:_objectSpread({},commonStyle,{flexDirection:'row',overflowX:'auto',overflowY:'hidden'}),contentContainerHorizontal:{flexDirection:'row'},stickyHeader:{position:'sticky',top:0,zIndex:10},pagingEnabledHorizontal:{scrollSnapType:'x mandatory'},pagingEnabledVertical:{scrollSnapType:'y mandatory'},pagingEnabledChild:{scrollSnapAlign:'start'}});var _default=ScrollView;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ScrollView/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","_objectSpread","ownKeys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","emptyObject","ScrollView","displayName","propTypes","ViewPropTypes","contentContainerStyle","style","horizontal","bool","keyboardDismissMode","onContentSizeChange","func","onScroll","pagingEnabled","refreshControl","element","scrollEnabled","scrollEventThrottle","number","stickyHeaderIndices","mixins","ScrollResponder","Mixin","getInitialState","scrollResponderMixinGetInitialState","flashScrollIndicators","scrollResponderFlashScrollIndicators","setNativeProps","props","_scrollViewRef","getScrollResponder","getScrollableNode","getInnerViewNode","_innerViewRef","scrollTo","y","x","animated","console","warn","_ref","scrollResponderScrollTo","scrollToEnd","options","scrollResponder","scrollResponderNode","scrollResponderGetScrollableNode","scrollWidth","scrollHeight","scrollWithoutAnimationTo","render","_this$props","other","process","env","NODE_ENV","StyleSheet","flatten","childLayoutProps","prop","undefined","JSON","stringify","contentSizeChangeProps","onLayout","_handleContentOnLayout","hasStickyHeaderIndices","Array","isArray","children","React","Children","map","child","isSticky","createElement","View","compose","styles","stickyHeader","pagingEnabledChild","contentContainer","collapsable","ref","_setInnerViewRef","contentContainerHorizontal","baseStyle","baseHorizontal","baseVertical","pagingEnabledStyle","pagingEnabledHorizontal","pagingEnabledVertical","onTouchStart","scrollResponderHandleTouchStart","onTouchMove","scrollResponderHandleTouchMove","onTouchEnd","scrollResponderHandleTouchEnd","onScrollBeginDrag","scrollResponderHandleScrollBeginDrag","onScrollEndDrag","scrollResponderHandleScrollEndDrag","onMomentumScrollBegin","scrollResponderHandleMomentumScrollBegin","onMomentumScrollEnd","scrollResponderHandleMomentumScrollEnd","onStartShouldSetResponder","scrollResponderHandleStartShouldSetResponder","onStartShouldSetResponderCapture","scrollResponderHandleStartShouldSetResponderCapture","onScrollShouldSetResponder","scrollResponderHandleScrollShouldSetResponder","_handleScroll","onResponderGrant","scrollResponderHandleResponderGrant","onResponderTerminationRequest","scrollResponderHandleTerminationRequest","onResponderTerminate","scrollResponderHandleTerminate","onResponderRelease","scrollResponderHandleResponderRelease","onResponderReject","scrollResponderHandleResponderReject","ScrollViewClass","ScrollViewBase","cloneElement","_setScrollViewRef","e","_e$nativeEvent$layout","nativeEvent","layout","width","height","log","scrollResponderHandleScroll","component","commonStyle","flexGrow","flexShrink","transform","translateZ","WebkitOverflowScrolling","create","flexDirection","overflowX","overflowY","position","top","zIndex","scrollSnapType","scrollSnapAlign"],"mappings":"mKAiBA,4EACA,sFACA,yEACA,qEACA,sFACA,wEACA,iEACA,qDACA,uEACA,oDACA,qCA3BA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAE7T,QAASQ,CAAAA,6BAAT,CAAuCN,MAAvC,CAA+CO,QAA/C,CAAyD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CADF,CAAD,CANK,CAUhBC,uBAAuB,CAAE,OAVT,CAAlB,CAYA,GAAI/D,CAAAA,MAAM,CAAGtB,oBAAWsF,MAAX,CAAkB,CAC7BtD,YAAY,CAAEvG,aAAa,CAAC,EAAD,CAAKuJ,WAAL,CAAkB,CAC3CO,aAAa,CAAE,QAD4B,CAE3CC,SAAS,CAAE,QAFgC,CAG3CC,SAAS,CAAE,MAHgC,CAAlB,CADE,CAM7B1D,cAAc,CAAEtG,aAAa,CAAC,EAAD,CAAKuJ,WAAL,CAAkB,CAC7CO,aAAa,CAAE,KAD8B,CAE7CC,SAAS,CAAE,MAFkC,CAG7CC,SAAS,CAAE,QAHkC,CAAlB,CANA,CAW7B5D,0BAA0B,CAAE,CAC1B0D,aAAa,CAAE,KADW,CAXC,CAc7BhE,YAAY,CAAE,CACZmE,QAAQ,CAAE,QADE,CAEZC,GAAG,CAAE,CAFO,CAGZC,MAAM,CAAE,EAHI,CAde,CAmB7B1D,uBAAuB,CAAE,CACvB2D,cAAc,CAAE,aADO,CAnBI,CAsB7B1D,qBAAqB,CAAE,CACrB0D,cAAc,CAAE,aADK,CAtBM,CAyB7BrE,kBAAkB,CAAE,CAClBsE,eAAe,CAAE,OADC,CAzBS,CAAlB,CAAb,C,aA6BerJ,U","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createReactClass from 'create-react-class';\nimport dismissKeyboard from '../../modules/dismissKeyboard';\nimport findNodeHandle from '../findNodeHandle';\nimport invariant from 'fbjs/lib/invariant';\nimport ScrollResponder from '../../modules/ScrollResponder';\nimport ScrollViewBase from './ScrollViewBase';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport React from 'react';\nimport { arrayOf, bool, element, func, number, oneOf } from 'prop-types';\nvar emptyObject = {};\n/* eslint-disable react/prefer-es6-class, react/prop-types */\n\nvar ScrollView = createReactClass({\n displayName: \"ScrollView\",\n propTypes: _objectSpread({}, ViewPropTypes, {\n contentContainerStyle: ViewPropTypes.style,\n horizontal: bool,\n keyboardDismissMode: oneOf(['none', 'interactive', 'on-drag']),\n onContentSizeChange: func,\n onScroll: func,\n pagingEnabled: bool,\n refreshControl: element,\n scrollEnabled: bool,\n scrollEventThrottle: number,\n stickyHeaderIndices: arrayOf(number),\n style: ViewPropTypes.style\n }),\n mixins: [ScrollResponder.Mixin],\n getInitialState: function getInitialState() {\n return this.scrollResponderMixinGetInitialState();\n },\n flashScrollIndicators: function flashScrollIndicators() {\n this.scrollResponderFlashScrollIndicators();\n },\n setNativeProps: function setNativeProps(props) {\n if (this._scrollViewRef) {\n this._scrollViewRef.setNativeProps(props);\n }\n },\n\n /**\n * Returns a reference to the underlying scroll responder, which supports\n * operations like `scrollTo`. All ScrollView-like components should\n * implement this method so that they can be composed while providing access\n * to the underlying scroll responder's methods.\n */\n getScrollResponder: function getScrollResponder() {\n return this;\n },\n getScrollableNode: function getScrollableNode() {\n return findNodeHandle(this._scrollViewRef);\n },\n getInnerViewNode: function getInnerViewNode() {\n return findNodeHandle(this._innerViewRef);\n },\n\n /**\n * Scrolls to a given x, y offset, either immediately or with a smooth animation.\n * Syntax:\n *\n * scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})\n *\n * Note: The weird argument signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as as alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollTo: function scrollTo(y, x, animated) {\n if (typeof y === 'number') {\n console.warn('`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.');\n } else {\n var _ref = y || emptyObject;\n\n x = _ref.x;\n y = _ref.y;\n animated = _ref.animated;\n }\n\n this.getScrollResponder().scrollResponderScrollTo({\n x: x || 0,\n y: y || 0,\n animated: animated !== false\n });\n },\n\n /**\n * If this is a vertical ScrollView scrolls to the bottom.\n * If this is a horizontal ScrollView scrolls to the right.\n *\n * Use `scrollToEnd({ animated: true })` for smooth animated scrolling,\n * `scrollToEnd({ animated: false })` for immediate scrolling.\n * If no options are passed, `animated` defaults to true.\n */\n scrollToEnd: function scrollToEnd(options) {\n // Default to true\n var animated = (options && options.animated) !== false;\n var horizontal = this.props.horizontal;\n var scrollResponder = this.getScrollResponder();\n var scrollResponderNode = scrollResponder.scrollResponderGetScrollableNode();\n var x = horizontal ? scrollResponderNode.scrollWidth : 0;\n var y = horizontal ? 0 : scrollResponderNode.scrollHeight;\n scrollResponder.scrollResponderScrollTo({\n x: x,\n y: y,\n animated: animated\n });\n },\n\n /**\n * Deprecated, do not use.\n */\n scrollWithoutAnimationTo: function scrollWithoutAnimationTo(y, x) {\n if (y === void 0) {\n y = 0;\n }\n\n if (x === void 0) {\n x = 0;\n }\n\n console.warn('`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead');\n this.scrollTo({\n x: x,\n y: y,\n animated: false\n });\n },\n render: function render() {\n var _this$props = this.props,\n contentContainerStyle = _this$props.contentContainerStyle,\n horizontal = _this$props.horizontal,\n onContentSizeChange = _this$props.onContentSizeChange,\n refreshControl = _this$props.refreshControl,\n stickyHeaderIndices = _this$props.stickyHeaderIndices,\n pagingEnabled = _this$props.pagingEnabled,\n keyboardDismissMode = _this$props.keyboardDismissMode,\n onScroll = _this$props.onScroll,\n other = _objectWithoutPropertiesLoose(_this$props, [\"contentContainerStyle\", \"horizontal\", \"onContentSizeChange\", \"refreshControl\", \"stickyHeaderIndices\", \"pagingEnabled\", \"keyboardDismissMode\", \"onScroll\"]);\n\n if (process.env.NODE_ENV !== 'production' && this.props.style) {\n var style = StyleSheet.flatten(this.props.style);\n var childLayoutProps = ['alignItems', 'justifyContent'].filter(function (prop) {\n return style && style[prop] !== undefined;\n });\n invariant(childLayoutProps.length === 0, \"ScrollView child layout (\" + JSON.stringify(childLayoutProps) + \") \" + 'must be applied through the contentContainerStyle prop.');\n }\n\n var contentSizeChangeProps = {};\n\n if (onContentSizeChange) {\n contentSizeChangeProps = {\n onLayout: this._handleContentOnLayout\n };\n }\n\n var hasStickyHeaderIndices = !horizontal && Array.isArray(stickyHeaderIndices);\n var children = hasStickyHeaderIndices || pagingEnabled ? React.Children.map(this.props.children, function (child, i) {\n var isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;\n\n if (child != null && (isSticky || pagingEnabled)) {\n return React.createElement(View, {\n style: StyleSheet.compose(isSticky && styles.stickyHeader, pagingEnabled && styles.pagingEnabledChild)\n }, child);\n } else {\n return child;\n }\n }) : this.props.children;\n var contentContainer = React.createElement(View, _extends({}, contentSizeChangeProps, {\n children: children,\n collapsable: false,\n ref: this._setInnerViewRef,\n style: StyleSheet.compose(horizontal && styles.contentContainerHorizontal, contentContainerStyle)\n }));\n var baseStyle = horizontal ? styles.baseHorizontal : styles.baseVertical;\n var pagingEnabledStyle = horizontal ? styles.pagingEnabledHorizontal : styles.pagingEnabledVertical;\n\n var props = _objectSpread({}, other, {\n style: [baseStyle, pagingEnabled && pagingEnabledStyle, this.props.style],\n onTouchStart: this.scrollResponderHandleTouchStart,\n onTouchMove: this.scrollResponderHandleTouchMove,\n onTouchEnd: this.scrollResponderHandleTouchEnd,\n onScrollBeginDrag: this.scrollResponderHandleScrollBeginDrag,\n onScrollEndDrag: this.scrollResponderHandleScrollEndDrag,\n onMomentumScrollBegin: this.scrollResponderHandleMomentumScrollBegin,\n onMomentumScrollEnd: this.scrollResponderHandleMomentumScrollEnd,\n onStartShouldSetResponder: this.scrollResponderHandleStartShouldSetResponder,\n onStartShouldSetResponderCapture: this.scrollResponderHandleStartShouldSetResponderCapture,\n onScrollShouldSetResponder: this.scrollResponderHandleScrollShouldSetResponder,\n onScroll: this._handleScroll,\n onResponderGrant: this.scrollResponderHandleResponderGrant,\n onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest,\n onResponderTerminate: this.scrollResponderHandleTerminate,\n onResponderRelease: this.scrollResponderHandleResponderRelease,\n onResponderReject: this.scrollResponderHandleResponderReject\n });\n\n var ScrollViewClass = ScrollViewBase;\n invariant(ScrollViewClass !== undefined, 'ScrollViewClass must not be undefined');\n\n if (refreshControl) {\n return React.cloneElement(refreshControl, {\n style: props.style\n }, React.createElement(ScrollViewClass, _extends({}, props, {\n ref: this._setScrollViewRef,\n style: baseStyle\n }), contentContainer));\n }\n\n return React.createElement(ScrollViewClass, _extends({}, props, {\n ref: this._setScrollViewRef\n }), contentContainer);\n },\n _handleContentOnLayout: function _handleContentOnLayout(e) {\n var _e$nativeEvent$layout = e.nativeEvent.layout,\n width = _e$nativeEvent$layout.width,\n height = _e$nativeEvent$layout.height;\n this.props.onContentSizeChange(width, height);\n },\n _handleScroll: function _handleScroll(e) {\n if (process.env.NODE_ENV !== 'production') {\n if (this.props.onScroll && !this.props.scrollEventThrottle) {\n console.log('You specified `onScroll` on a <ScrollView> but not ' + '`scrollEventThrottle`. You will only receive one event. ' + 'Using `16` you get all the events but be aware that it may ' + \"cause frame drops, use a bigger number if you don't need as \" + 'much precision.');\n }\n }\n\n if (this.props.keyboardDismissMode === 'on-drag') {\n dismissKeyboard();\n }\n\n this.scrollResponderHandleScroll(e);\n },\n _setInnerViewRef: function _setInnerViewRef(component) {\n this._innerViewRef = component;\n },\n _setScrollViewRef: function _setScrollViewRef(component) {\n this._scrollViewRef = component;\n }\n});\nvar commonStyle = {\n flexGrow: 1,\n flexShrink: 1,\n // Enable hardware compositing in modern browsers.\n // Creates a new layer with its own backing surface that can significantly\n // improve scroll performance.\n transform: [{\n translateZ: 0\n }],\n // iOS native scrolling\n WebkitOverflowScrolling: 'touch'\n};\nvar styles = StyleSheet.create({\n baseVertical: _objectSpread({}, commonStyle, {\n flexDirection: 'column',\n overflowX: 'hidden',\n overflowY: 'auto'\n }),\n baseHorizontal: _objectSpread({}, commonStyle, {\n flexDirection: 'row',\n overflowX: 'auto',\n overflowY: 'hidden'\n }),\n contentContainerHorizontal: {\n flexDirection: 'row'\n },\n stickyHeader: {\n position: 'sticky',\n top: 0,\n zIndex: 10\n },\n pagingEnabledHorizontal: {\n scrollSnapType: 'x mandatory'\n },\n pagingEnabledVertical: {\n scrollSnapType: 'y mandatory'\n },\n pagingEnabledChild: {\n scrollSnapAlign: 'start'\n }\n});\nexport default ScrollView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.getFilename=getFilename;exports.getFileExtension=getFileExtension;exports.getManifestBaseUrl=getManifestBaseUrl;var _urlParse=_interopRequireDefault(require(\"url-parse\"));function getFilename(url){var _ref=new _urlParse.default(url,{}),pathname=_ref.pathname;return pathname.substring(pathname.lastIndexOf('/')+1);}function getFileExtension(url){var filename=getFilename(url);var dotIndex=filename.lastIndexOf('.');return dotIndex>0?filename.substring(dotIndex):'';}function getManifestBaseUrl(manifestUrl){var urlObject=new _urlParse.default(manifestUrl,{});if(urlObject.protocol==='exp:'){urlObject.set('protocol','http:');}else if(urlObject.protocol==='exps:'){urlObject.set('protocol','https:');}var directory=urlObject.pathname.substring(0,urlObject.pathname.lastIndexOf('/')+1);urlObject.set('pathname',directory);urlObject.set('query','');urlObject.set('hash','');return urlObject.href;}","map":{"version":3,"sources":["../src/AssetUris.ts"],"names":[],"mappings":"oQAAA,2DAEM,QAAU,CAAA,WAAV,CAAsB,GAAtB,CAAiC,UAChB,GAAI,kBAAJ,CAAQ,GAAR,CAAa,EAAb,CADgB,CAC7B,QAD6B,MAC7B,QAD6B,CAErC,MAAO,CAAA,QAAQ,CAAC,SAAT,CAAmB,QAAQ,CAAC,WAAT,CAAqB,GAArB,EAA4B,CAA/C,CAAP,CACD,CAEK,QAAU,CAAA,gBAAV,CAA2B,GAA3B,CAAsC,CAC1C,GAAM,CAAA,QAAQ,CAAG,WAAW,CAAC,GAAD,CAA5B,CACA,GAAM,CAAA,QAAQ,CAAG,QAAQ,CAAC,WAAT,CAAqB,GAArB,CAAjB,CAEA,MAAO,CAAA,QAAQ,CAAG,CAAX,CAAe,QAAQ,CAAC,SAAT,CAAmB,QAAnB,CAAf,CAA8C,EAArD,CACD,CAaK,QAAU,CAAA,kBAAV,CAA6B,WAA7B,CAAgD,CACpD,GAAM,CAAA,SAAS,CAAG,GAAI,kBAAJ,CAAQ,WAAR,CAAqB,EAArB,CAAlB,CAGA,GAAI,SAAS,CAAC,QAAV,GAAuB,MAA3B,CAAmC,CACjC,SAAS,CAAC,GAAV,CAAc,UAAd,CAA0B,OAA1B,EACD,CAFD,IAEO,IAAI,SAAS,CAAC,QAAV,GAAuB,OAA3B,CAAoC,CACzC,SAAS,CAAC,GAAV,CAAc,UAAd,CAA0B,QAA1B,EACD,CAGD,GAAM,CAAA,SAAS,CAAG,SAAS,CAAC,QAAV,CAAmB,SAAnB,CAA6B,CAA7B,CAAgC,SAAS,CAAC,QAAV,CAAmB,WAAnB,CAA+B,GAA/B,EAAsC,CAAtE,CAAlB,CACA,SAAS,CAAC,GAAV,CAAc,UAAd,CAA0B,SAA1B,EACA,SAAS,CAAC,GAAV,CAAc,OAAd,CAAuB,EAAvB,EACA,SAAS,CAAC,GAAV,CAAc,MAAd,CAAsB,EAAtB,EAEA,MAAO,CAAA,SAAS,CAAC,IAAjB,CACD","sourcesContent":["import URL from 'url-parse';\n\nexport function getFilename(url: string): string {\n const { pathname } = new URL(url, {});\n return pathname.substring(pathname.lastIndexOf('/') + 1);\n}\n\nexport function getFileExtension(url: string): string {\n const filename = getFilename(url);\n const dotIndex = filename.lastIndexOf('.');\n // Ignore leading dots for hidden files\n return dotIndex > 0 ? filename.substring(dotIndex) : '';\n}\n\n/**\n * Returns the base URL from a manifest's URL. For example, given a manifest hosted at\n * https://example.com/app/manifest.json, the base URL would be https://example.com/app/. Query\n * parameters and fragments also are removed.\n *\n * For an Expo-hosted project with a manifest hosted at https://expo.io/@user/project/index.exp, the\n * base URL would be https://expo.io/@user/project.\n *\n * We also normalize the \"exp\" protocol to \"http\" to handle internal URLs with the Expo schemes used\n * to tell the OS to open the URLs in the the Expo client.\n */\nexport function getManifestBaseUrl(manifestUrl: string): string {\n const urlObject = new URL(manifestUrl, {});\n\n // Change the scheme to http(s) if it is exp(s)\n if (urlObject.protocol === 'exp:') {\n urlObject.set('protocol', 'http:');\n } else if (urlObject.protocol === 'exps:') {\n urlObject.set('protocol', 'https:');\n }\n\n // Trim filename, query parameters, and fragment, if any\n const directory = urlObject.pathname.substring(0, urlObject.pathname.lastIndexOf('/') + 1);\n urlObject.set('pathname', directory);\n urlObject.set('query', '');\n urlObject.set('hash', '');\n\n return urlObject.href;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=acc;var _base=require(\"../base\");var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));function acc(v){var acc=new _InternalAnimatedValue.default(0);return(0,_base.set)(acc,(0,_base.add)(acc,v));}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/acc.js"],"names":["acc","v","AnimatedValue"],"mappings":"gKAAA,6BACA,4FAEe,QAASA,CAAAA,GAAT,CAAaC,CAAb,CAAgB,CAC7B,GAAMD,CAAAA,GAAG,CAAG,GAAIE,+BAAJ,CAAkB,CAAlB,CAAZ,CACA,MAAO,cAAIF,GAAJ,CAAS,cAAIA,GAAJ,CAASC,CAAT,CAAT,CAAP,CACD","sourcesContent":["import { set, add } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nexport default function acc(v) {\n const acc = new AnimatedValue(0);\n return set(acc, add(acc, v));\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createIconSet=_interopRequireDefault(require(\"./createIconSet\"));var _Ionicons=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/Fonts/Ionicons.ttf\"));var _Ionicons2=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/Ionicons.json\"));var _default=(0,_createIconSet.default)(_Ionicons2.default,'ionicons',_Ionicons.default);exports.default=_default;","map":{"version":3,"sources":["../src/Ionicons.ts"],"names":[],"mappings":"mKAAA,sEACA,uGACA,6G,aAEe,2BAAc,kBAAd,CAAwB,UAAxB,CAAoC,iBAApC,C","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Ionicons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Ionicons.json';\n\nexport default createIconSet(glyphMap, 'ionicons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"AreaChart\",{enumerable:true,get:function get(){return _areaChart.default;}});Object.defineProperty(exports,\"StackedAreaChart\",{enumerable:true,get:function get(){return _stackedAreaChart.default;}});Object.defineProperty(exports,\"BarChart\",{enumerable:true,get:function get(){return _barChart.default;}});Object.defineProperty(exports,\"StackedBarChart\",{enumerable:true,get:function get(){return _stackedBarChart.default;}});Object.defineProperty(exports,\"LineChart\",{enumerable:true,get:function get(){return _lineChart.default;}});Object.defineProperty(exports,\"PieChart\",{enumerable:true,get:function get(){return _pieChart.default;}});Object.defineProperty(exports,\"ProgressCircle\",{enumerable:true,get:function get(){return _progressCircle.default;}});Object.defineProperty(exports,\"XAxis\",{enumerable:true,get:function get(){return _xAxis.default;}});Object.defineProperty(exports,\"YAxis\",{enumerable:true,get:function get(){return _yAxis.default;}});Object.defineProperty(exports,\"Decorators\",{enumerable:true,get:function get(){return _chartDecorators.default;}});Object.defineProperty(exports,\"Grid\",{enumerable:true,get:function get(){return _grid.default;}});Object.defineProperty(exports,\"Path\",{enumerable:true,get:function get(){return _animatedPath.default;}});var _areaChart=_interopRequireDefault(require(\"./area-chart\"));var _stackedAreaChart=_interopRequireDefault(require(\"./stacked-area-chart\"));var _barChart=_interopRequireDefault(require(\"./bar-chart\"));var _stackedBarChart=_interopRequireDefault(require(\"./stacked-bar-chart\"));var _lineChart=_interopRequireDefault(require(\"./line-chart\"));var _pieChart=_interopRequireDefault(require(\"./pie-chart\"));var _progressCircle=_interopRequireDefault(require(\"./progress-circle\"));var _xAxis=_interopRequireDefault(require(\"./x-axis\"));var _yAxis=_interopRequireDefault(require(\"./y-axis\"));var _chartDecorators=_interopRequireDefault(require(\"./chart-decorators\"));var _grid=_interopRequireDefault(require(\"./grid\"));var _animatedPath=_interopRequireDefault(require(\"./animated-path\"));","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/index.js"],"names":[],"mappings":"u6CAAA,+DACA,8EACA,6DACA,4EACA,+DACA,6DACA,yEACA,uDACA,uDACA,2EACA,oDACA","sourcesContent":["import AreaChart from './area-chart'\nimport StackedAreaChart from './stacked-area-chart'\nimport BarChart from './bar-chart'\nimport StackedBarChart from './stacked-bar-chart'\nimport LineChart from './line-chart'\nimport PieChart from './pie-chart'\nimport ProgressCircle from './progress-circle'\nimport XAxis from './x-axis'\nimport YAxis from './y-axis'\nimport Decorators from './chart-decorators'\nimport Grid from './grid'\nimport Path from './animated-path'\n\nexport {\n LineChart,\n PieChart,\n AreaChart,\n StackedAreaChart,\n StackedBarChart,\n BarChart,\n XAxis,\n YAxis,\n ProgressCircle,\n Decorators,\n Grid,\n Path,\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _reactNativeReanimated=_interopRequireDefault(require(\"react-native-reanimated\"));var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/views/CrossFadeIcon.tsx\";var TabBarIcon=function(_React$Component){(0,_inherits2.default)(TabBarIcon,_React$Component);function TabBarIcon(){(0,_classCallCheck2.default)(this,TabBarIcon);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TabBarIcon).apply(this,arguments));}(0,_createClass2.default)(TabBarIcon,[{key:\"render\",value:function render(){var _this$props=this.props,route=_this$props.route,activeOpacity=_this$props.activeOpacity,inactiveOpacity=_this$props.inactiveOpacity,activeTintColor=_this$props.activeTintColor,inactiveTintColor=_this$props.inactiveTintColor,renderIcon=_this$props.renderIcon,horizontal=_this$props.horizontal,style=_this$props.style;return _react.default.createElement(_View.default,{style:style,__source:{fileName:_jsxFileName,lineNumber:38}},_react.default.createElement(_reactNativeReanimated.default.View,{style:[styles.icon,{opacity:activeOpacity}],__source:{fileName:_jsxFileName,lineNumber:39}},renderIcon({route:route,focused:true,horizontal:horizontal,tintColor:activeTintColor})),_react.default.createElement(_reactNativeReanimated.default.View,{style:[styles.icon,{opacity:inactiveOpacity}],__source:{fileName:_jsxFileName,lineNumber:47}},renderIcon({route:route,focused:false,horizontal:horizontal,tintColor:inactiveTintColor})));}}]);return TabBarIcon;}(_react.default.Component);exports.default=TabBarIcon;var styles=_StyleSheet.default.create({icon:{position:'absolute',alignSelf:'center',alignItems:'center',justifyContent:'center',height:'100%',width:'100%',minWidth:25}});","map":{"version":3,"sources":["CrossFadeIcon.tsx"],"names":["TabBarIcon","React","route","activeOpacity","inactiveOpacity","activeTintColor","inactiveTintColor","renderIcon","horizontal","style","styles","opacity","focused","tintColor","StyleSheet","icon","position","alignSelf","alignItems","justifyContent","height","width","minWidth"],"mappings":"6nBAAA,oD,4KAEA,sF,sGAmBqBA,GAAAA,CAAAA,U,mVACV,CAAA,GAAA,CAAA,WAAA,CAUH,KAVG,KAAA,CAELE,KAFK,CAAA,WAAA,CAAA,KAAA,CAGLC,aAHK,CAAA,WAAA,CAAA,aAAA,CAILC,eAJK,CAAA,WAAA,CAAA,eAAA,CAKLC,eALK,CAAA,WAAA,CAAA,eAAA,CAMLC,iBANK,CAA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,CAWJC,QAAQ,CAZZ,EACQ,CADyB,CAAlBR,CAAf","sourcesContent":["import React from 'react';\nimport { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';\nimport Animated from 'react-native-reanimated';\nimport { NavigationRoute } from 'react-navigation';\n\ntype Props = {\n route: NavigationRoute;\n horizontal?: boolean;\n activeOpacity: number;\n inactiveOpacity: number;\n activeTintColor?: string;\n inactiveTintColor?: string;\n renderIcon: (props: {\n route: NavigationRoute;\n focused: boolean;\n tintColor?: string;\n horizontal?: boolean;\n }) => React.ReactNode;\n style: StyleProp<ViewStyle>;\n};\n\nexport default class TabBarIcon extends React.Component<Props> {\n render() {\n const {\n route,\n activeOpacity,\n inactiveOpacity,\n activeTintColor,\n inactiveTintColor,\n renderIcon,\n horizontal,\n style,\n } = this.props;\n\n // We render the icon twice at the same position on top of each other:\n // active and inactive one, so we can fade between them.\n return (\n <View style={style}>\n <Animated.View style={[styles.icon, { opacity: activeOpacity }]}>\n {renderIcon({\n route,\n focused: true,\n horizontal,\n tintColor: activeTintColor,\n })}\n </Animated.View>\n <Animated.View style={[styles.icon, { opacity: inactiveOpacity }]}>\n {renderIcon({\n route,\n focused: false,\n horizontal,\n tintColor: inactiveTintColor,\n })}\n </Animated.View>\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n icon: {\n // We render the icon twice at the same position on top of each other:\n // active and inactive one, so we can fade between them:\n // Cover the whole iconContainer:\n position: 'absolute',\n alignSelf: 'center',\n alignItems: 'center',\n justifyContent: 'center',\n height: '100%',\n width: '100%',\n // Workaround for react-native >= 0.54 layout bug\n minWidth: 25,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _src=_interopRequireDefault(require(\"./src/\"));module.exports=_src.default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-swiper/index.js"],"names":["module","exports","Swiper"],"mappings":"mFAAA,mDACAA,MAAM,CAACC,OAAP,CAAiBC,YAAjB","sourcesContent":["import Swiper from './src/'\nmodule.exports = Swiper\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createNavigator=_interopRequireDefault(require(\"../navigators/createNavigator\"));var _SwitchRouter=_interopRequireDefault(require(\"../routers/SwitchRouter\"));var _SwitchView=_interopRequireDefault(require(\"../views/SwitchView/SwitchView\"));function createSwitchNavigator(routeConfigMap){var switchConfig=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var router=(0,_SwitchRouter.default)(routeConfigMap,switchConfig);var Navigator=(0,_createNavigator.default)(_SwitchView.default,router,switchConfig);return Navigator;}var _default=createSwitchNavigator;exports.default=_default;","map":{"version":3,"sources":["createSwitchNavigator.js"],"names":["switchConfig","router","SwitchRouter","Navigator","createNavigator"],"mappings":"mKAAA,sFACA,6EACA,kFAEA,QAAA,CAAA,qBAAA,CAAA,cAAA,CAAkE,CAAnBA,GAAAA,CAAAA,YAAmB,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CAAJ,EAAfA,CAC7C,GAAMC,CAAAA,MAAM,CAAGC,0BAAY,cAAZA,CAAf,YAAeA,CAAf,CACA,GAAMC,CAAAA,SAAS,CAAGC,6BAAe,mBAAfA,CAAe,MAAfA,CAAlB,YAAkBA,CAAlB,CACA,MAAA,CAAA,SAAA,CAGF,C,aAAA,qB","sourcesContent":["import createNavigator from '../navigators/createNavigator';\nimport SwitchRouter from '../routers/SwitchRouter';\nimport SwitchView from '../views/SwitchView/SwitchView';\n\nfunction createSwitchNavigator(routeConfigMap, switchConfig = {}) {\n const router = SwitchRouter(routeConfigMap, switchConfig);\n const Navigator = createNavigator(SwitchView, router, switchConfig);\n return Navigator;\n}\n\nexport default createSwitchNavigator;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeScreens=require(\"react-native-screens\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/views/ResourceSavingScene.tsx\";var FAR_FAR_AWAY=3000;var ResourceSavingScene=function(_React$Component){(0,_inherits2.default)(ResourceSavingScene,_React$Component);function ResourceSavingScene(){(0,_classCallCheck2.default)(this,ResourceSavingScene);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ResourceSavingScene).apply(this,arguments));}(0,_createClass2.default)(ResourceSavingScene,[{key:\"render\",value:function render(){if(_reactNativeScreens.screensEnabled&&(0,_reactNativeScreens.screensEnabled)()){var _this$props=this.props,_isVisible=_this$props.isVisible,_rest=(0,_objectWithoutProperties2.default)(_this$props,[\"isVisible\"]);return React.createElement(_reactNativeScreens.Screen,(0,_extends2.default)({active:_isVisible?1:0},_rest,{__source:{fileName:_jsxFileName,lineNumber:20}}));}var _this$props2=this.props,isVisible=_this$props2.isVisible,children=_this$props2.children,style=_this$props2.style,rest=(0,_objectWithoutProperties2.default)(_this$props2,[\"isVisible\",\"children\",\"style\"]);return React.createElement(_View.default,(0,_extends2.default)({style:[styles.container,style,{opacity:isVisible?1:0}],collapsable:false,removeClippedSubviews:_Platform.default.OS==='ios'?!isVisible:true,pointerEvents:isVisible?'auto':'none'},rest,{__source:{fileName:_jsxFileName,lineNumber:26}}),React.createElement(_View.default,{style:isVisible?styles.attached:styles.detached,__source:{fileName:_jsxFileName,lineNumber:37}},children));}}]);return ResourceSavingScene;}(React.Component);exports.default=ResourceSavingScene;var styles=_StyleSheet.default.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:FAR_FAR_AWAY}});","map":{"version":3,"sources":["ResourceSavingScene.tsx"],"names":["FAR_FAR_AWAY","ResourceSavingScene","React","screensEnabled","isVisible","rest","children","style","styles","opacity","Platform","StyleSheet","container","flex","overflow","attached","detached","top"],"mappings":"k5BAAA,oD,oQAIA,wD,4GAQA,GAAMA,CAAAA,YAAY,CAAlB,IAAA,CAEqBC,GAAAA,CAAAA,mB,gYACV,CACP,GAAIE,oCAAJ,wCAAA,CAAwC,CAAA,GAAA,CAAA,WAAA,CACP,KADO,KAAA,CAC9BC,UAD8B,CAAA,WAAA,CAAA,SAAA,CAChBC,KADgB,CAAA,sCAAA,WAAA,CAAA,CAAA,WAAA,CAAA,CAAA,CAGtC,MAAO,CAAA,KAAA,CAAA,aAAA,CAAA,0BAAA,CAAA,sBAAA,CAAQ,MAAM,CAAED,UAAS,CAAA,CAAA,CAAzB,CAAA,CAAA,CAAA,KAAA,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAP,EAAO,CAAA,CAAA,CAAA,CAAP,CAJK,IAAA,CAAA,Y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import * as React from 'react';\nimport { Platform, StyleSheet, View } from 'react-native';\n\n// eslint-disable-next-line import/no-unresolved\nimport { Screen, screensEnabled } from 'react-native-screens';\n\ntype Props = {\n isVisible: boolean;\n children: React.ReactNode;\n style?: any;\n};\n\nconst FAR_FAR_AWAY = 3000; // this should be big enough to move the whole view out of its container\n\nexport default class ResourceSavingScene extends React.Component<Props> {\n render() {\n if (screensEnabled && screensEnabled()) {\n const { isVisible, ...rest } = this.props;\n // @ts-ignore\n return <Screen active={isVisible ? 1 : 0} {...rest} />;\n }\n\n const { isVisible, children, style, ...rest } = this.props;\n\n return (\n <View\n style={[styles.container, style, { opacity: isVisible ? 1 : 0 }]}\n collapsable={false}\n removeClippedSubviews={\n // On iOS, set removeClippedSubviews to true only when not focused\n // This is an workaround for a bug where the clipped view never re-appears\n Platform.OS === 'ios' ? !isVisible : true\n }\n pointerEvents={isVisible ? 'auto' : 'none'}\n {...rest}\n >\n <View style={isVisible ? styles.attached : styles.detached}>\n {children}\n </View>\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n overflow: 'hidden',\n },\n attached: {\n flex: 1,\n },\n detached: {\n flex: 1,\n top: FAR_FAR_AWAY,\n },\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"apisAreAvailable\",{enumerable:true,get:function get(){return _apisAreAvailable.default;}});Object.defineProperty(exports,\"registerRootComponent\",{enumerable:true,get:function get(){return _registerRootComponent.default;}});Object.defineProperty(exports,\"Linking\",{enumerable:true,get:function get(){return _Linking.default;}});Object.defineProperty(exports,\"Notifications\",{enumerable:true,get:function get(){return _Notifications.default;}});Object.defineProperty(exports,\"AppLoading\",{enumerable:true,get:function get(){return _AppLoading.default;}});Object.defineProperty(exports,\"AuthSession\",{enumerable:true,get:function get(){return _AuthSession.default;}});Object.defineProperty(exports,\"DangerZone\",{enumerable:true,get:function get(){return _DangerZone.default;}});Object.defineProperty(exports,\"Accelerometer\",{enumerable:true,get:function get(){return _removed.Accelerometer;}});Object.defineProperty(exports,\"AdMobBanner\",{enumerable:true,get:function get(){return _removed.AdMobBanner;}});Object.defineProperty(exports,\"AdMobInterstitial\",{enumerable:true,get:function get(){return _removed.AdMobInterstitial;}});Object.defineProperty(exports,\"AdMobRewarded\",{enumerable:true,get:function get(){return _removed.AdMobRewarded;}});Object.defineProperty(exports,\"Animated\",{enumerable:true,get:function get(){return _removed.Animated;}});Object.defineProperty(exports,\"Amplitude\",{enumerable:true,get:function get(){return _removed.Amplitude;}});Object.defineProperty(exports,\"AppAuth\",{enumerable:true,get:function get(){return _removed.AppAuth;}});Object.defineProperty(exports,\"Asset\",{enumerable:true,get:function get(){return _removed.Asset;}});Object.defineProperty(exports,\"Audio\",{enumerable:true,get:function get(){return _removed.Audio;}});Object.defineProperty(exports,\"BackgroundFetch\",{enumerable:true,get:function get(){return _removed.BackgroundFetch;}});Object.defineProperty(exports,\"BarCodeScanner\",{enumerable:true,get:function get(){return _removed.BarCodeScanner;}});Object.defineProperty(exports,\"Barometer\",{enumerable:true,get:function get(){return _removed.Barometer;}});Object.defineProperty(exports,\"BlurView\",{enumerable:true,get:function get(){return _removed.BlurView;}});Object.defineProperty(exports,\"Brightness\",{enumerable:true,get:function get(){return _removed.Brightness;}});Object.defineProperty(exports,\"Calendar\",{enumerable:true,get:function get(){return _removed.Calendar;}});Object.defineProperty(exports,\"Camera\",{enumerable:true,get:function get(){return _removed.Camera;}});Object.defineProperty(exports,\"Constants\",{enumerable:true,get:function get(){return _removed.Constants;}});Object.defineProperty(exports,\"Contacts\",{enumerable:true,get:function get(){return _removed.Contacts;}});Object.defineProperty(exports,\"Crypto\",{enumerable:true,get:function get(){return _removed.Crypto;}});Object.defineProperty(exports,\"DocumentPicker\",{enumerable:true,get:function get(){return _removed.DocumentPicker;}});Object.defineProperty(exports,\"Easing\",{enumerable:true,get:function get(){return _removed.Easing;}});Object.defineProperty(exports,\"Facebook\",{enumerable:true,get:function get(){return _removed.Facebook;}});Object.defineProperty(exports,\"FacebookAds\",{enumerable:true,get:function get(){return _removed.FacebookAds;}});Object.defineProperty(exports,\"FaceDetector\",{enumerable:true,get:function get(){return _removed.FaceDetector;}});Object.defineProperty(exports,\"FileSystem\",{enumerable:true,get:function get(){return _removed.FileSystem;}});Object.defineProperty(exports,\"Font\",{enumerable:true,get:function get(){return _removed.Font;}});Object.defineProperty(exports,\"GestureHandler\",{enumerable:true,get:function get(){return _removed.GestureHandler;}});Object.defineProperty(exports,\"GL\",{enumerable:true,get:function get(){return _removed.GL;}});Object.defineProperty(exports,\"GLView\",{enumerable:true,get:function get(){return _removed.GLView;}});Object.defineProperty(exports,\"GoogleSignIn\",{enumerable:true,get:function get(){return _removed.GoogleSignIn;}});Object.defineProperty(exports,\"Google\",{enumerable:true,get:function get(){return _removed.Google;}});Object.defineProperty(exports,\"Gyroscope\",{enumerable:true,get:function get(){return _removed.Gyroscope;}});Object.defineProperty(exports,\"Haptic\",{enumerable:true,get:function get(){return _removed.Haptic;}});Object.defineProperty(exports,\"Haptics\",{enumerable:true,get:function get(){return _removed.Haptics;}});Object.defineProperty(exports,\"Icon\",{enumerable:true,get:function get(){return _removed.Icon;}});Object.defineProperty(exports,\"ImageManipulator\",{enumerable:true,get:function get(){return _removed.ImageManipulator;}});Object.defineProperty(exports,\"ImagePicker\",{enumerable:true,get:function get(){return _removed.ImagePicker;}});Object.defineProperty(exports,\"IntentLauncher\",{enumerable:true,get:function get(){return _removed.IntentLauncher;}});Object.defineProperty(exports,\"IntentLauncherAndroid\",{enumerable:true,get:function get(){return _removed.IntentLauncherAndroid;}});Object.defineProperty(exports,\"KeepAwake\",{enumerable:true,get:function get(){return _removed.KeepAwake;}});Object.defineProperty(exports,\"LinearGradient\",{enumerable:true,get:function get(){return _removed.LinearGradient;}});Object.defineProperty(exports,\"LocalAuthentication\",{enumerable:true,get:function get(){return _removed.LocalAuthentication;}});Object.defineProperty(exports,\"Localization\",{enumerable:true,get:function get(){return _removed.Localization;}});Object.defineProperty(exports,\"Location\",{enumerable:true,get:function get(){return _removed.Location;}});Object.defineProperty(exports,\"Magnetometer\",{enumerable:true,get:function get(){return _removed.Magnetometer;}});Object.defineProperty(exports,\"MagnetometerUncalibrated\",{enumerable:true,get:function get(){return _removed.MagnetometerUncalibrated;}});Object.defineProperty(exports,\"MailComposer\",{enumerable:true,get:function get(){return _removed.MailComposer;}});Object.defineProperty(exports,\"MapView\",{enumerable:true,get:function get(){return _removed.MapView;}});Object.defineProperty(exports,\"MediaLibrary\",{enumerable:true,get:function get(){return _removed.MediaLibrary;}});Object.defineProperty(exports,\"Pedometer\",{enumerable:true,get:function get(){return _removed.Pedometer;}});Object.defineProperty(exports,\"Permissions\",{enumerable:true,get:function get(){return _removed.Permissions;}});Object.defineProperty(exports,\"Print\",{enumerable:true,get:function get(){return _removed.Print;}});Object.defineProperty(exports,\"PublisherBanner\",{enumerable:true,get:function get(){return _removed.PublisherBanner;}});Object.defineProperty(exports,\"Random\",{enumerable:true,get:function get(){return _removed.Random;}});Object.defineProperty(exports,\"SecureStore\",{enumerable:true,get:function get(){return _removed.SecureStore;}});Object.defineProperty(exports,\"Segment\",{enumerable:true,get:function get(){return _removed.Segment;}});Object.defineProperty(exports,\"Sensors\",{enumerable:true,get:function get(){return _removed.Sensors;}});Object.defineProperty(exports,\"Sharing\",{enumerable:true,get:function get(){return _removed.Sharing;}});Object.defineProperty(exports,\"SMS\",{enumerable:true,get:function get(){return _removed.SMS;}});Object.defineProperty(exports,\"Speech\",{enumerable:true,get:function get(){return _removed.Speech;}});Object.defineProperty(exports,\"SQLite\",{enumerable:true,get:function get(){return _removed.SQLite;}});Object.defineProperty(exports,\"Svg\",{enumerable:true,get:function get(){return _removed.Svg;}});Object.defineProperty(exports,\"takeSnapshotAsync\",{enumerable:true,get:function get(){return _removed.takeSnapshotAsync;}});Object.defineProperty(exports,\"TaskManager\",{enumerable:true,get:function get(){return _removed.TaskManager;}});Object.defineProperty(exports,\"Transition\",{enumerable:true,get:function get(){return _removed.Transition;}});Object.defineProperty(exports,\"Transitioning\",{enumerable:true,get:function get(){return _removed.Transitioning;}});Object.defineProperty(exports,\"Video\",{enumerable:true,get:function get(){return _removed.Video;}});Object.defineProperty(exports,\"WebBrowser\",{enumerable:true,get:function get(){return _removed.WebBrowser;}});Object.defineProperty(exports,\"WebView\",{enumerable:true,get:function get(){return _removed.WebView;}});exports.SplashScreen=exports.Updates=exports.ScreenOrientation=exports.Logs=exports.ErrorRecovery=exports.AR=void 0;require(\"./Expo.fx\");var AR=_interopRequireWildcard(require(\"./AR\"));exports.AR=AR;var ErrorRecovery=_interopRequireWildcard(require(\"./ErrorRecovery/ErrorRecovery\"));exports.ErrorRecovery=ErrorRecovery;var Logs=_interopRequireWildcard(require(\"./logs/Logs\"));exports.Logs=Logs;var ScreenOrientation=_interopRequireWildcard(require(\"./ScreenOrientation/ScreenOrientation\"));exports.ScreenOrientation=ScreenOrientation;var Updates=_interopRequireWildcard(require(\"./Updates/Updates\"));exports.Updates=Updates;var SplashScreen=_interopRequireWildcard(require(\"./launch/SplashScreen\"));exports.SplashScreen=SplashScreen;var _apisAreAvailable=_interopRequireDefault(require(\"./apisAreAvailable\"));var _registerRootComponent=_interopRequireDefault(require(\"./launch/registerRootComponent\"));var _Linking=_interopRequireDefault(require(\"./Linking/Linking\"));var _Notifications=_interopRequireDefault(require(\"./Notifications/Notifications\"));var _AppLoading=_interopRequireDefault(require(\"./launch/AppLoading\"));var _AuthSession=_interopRequireDefault(require(\"./AuthSession\"));var _DangerZone=_interopRequireDefault(require(\"./DangerZone\"));var _removed=require(\"./removed\");if(module&&module.exports){if(global){var globals=require(\"./globals\");global.__exponent=globals;global.__expo=globals;global.Expo=globals;}}","map":{"version":3,"sources":["../src/Expo.ts"],"names":[],"mappings":"6/QAAA,qBAEA,gD,cACA,oF,oCACA,yD,kBACA,gG,4CACA,kE,wBACA,2E,kCAIA,4EACA,6FACA,kEACA,oFAOA,uEACA,kEACA,gEAGA,kCA+IA,GAAI,MAAM,EAAI,MAAM,CAAC,OAArB,CAA8B,CAC5B,GAAI,MAAJ,CAAY,CACV,GAAM,CAAA,OAAO,CAAG,OAAO,aAAvB,CAGA,MAAM,CAAC,UAAP,CAAoB,OAApB,CAEA,MAAM,CAAC,MAAP,CAAgB,OAAhB,CAEA,MAAM,CAAC,IAAP,CAAc,OAAd,CACD,CACF","sourcesContent":["import './Expo.fx';\n\nimport * as AR from './AR';\nimport * as ErrorRecovery from './ErrorRecovery/ErrorRecovery';\nimport * as Logs from './logs/Logs';\nimport * as ScreenOrientation from './ScreenOrientation/ScreenOrientation';\nimport * as Updates from './Updates/Updates';\nimport * as SplashScreen from './launch/SplashScreen';\n\nexport { ErrorRecovery };\nexport { Logs };\nexport { default as apisAreAvailable } from './apisAreAvailable';\nexport { default as registerRootComponent } from './launch/registerRootComponent';\nexport { default as Linking } from './Linking/Linking';\nexport { default as Notifications } from './Notifications/Notifications';\n\n// The following should all be extracted from this package\nexport { AR };\nexport { ScreenOrientation };\nexport { SplashScreen };\nexport { Updates };\nexport { default as AppLoading } from './launch/AppLoading';\nexport { default as AuthSession } from './AuthSession';\nexport { default as DangerZone } from './DangerZone';\n\n// @ts-ignore\nexport {\n // @ts-ignore\n Accelerometer,\n // @ts-ignore\n AdMobBanner,\n // @ts-ignore\n AdMobInterstitial,\n // @ts-ignore\n AdMobRewarded,\n // @ts-ignore\n Animated,\n // @ts-ignore\n Amplitude,\n // @ts-ignore\n AppAuth,\n // @ts-ignore\n Asset,\n // @ts-ignore\n Audio,\n // @ts-ignore\n BackgroundFetch,\n // @ts-ignore\n BarCodeScanner,\n // @ts-ignore\n Barometer,\n // @ts-ignore\n BlurView,\n // @ts-ignore\n Brightness,\n // @ts-ignore\n Calendar,\n // @ts-ignore\n Camera,\n // @ts-ignore\n Constants,\n // @ts-ignore\n Contacts,\n // @ts-ignore\n Crypto,\n // @ts-ignore\n DocumentPicker,\n // @ts-ignore\n Easing,\n // @ts-ignore\n Facebook,\n // @ts-ignore\n FacebookAds,\n // @ts-ignore\n FaceDetector,\n // @ts-ignore\n FileSystem,\n // @ts-ignore\n Font,\n // @ts-ignore\n GestureHandler,\n // @ts-ignore\n GL,\n // @ts-ignore\n GLView,\n // @ts-ignore\n GoogleSignIn,\n // @ts-ignore\n Google,\n // @ts-ignore\n Gyroscope,\n // @ts-ignore\n Haptic,\n // @ts-ignore\n Haptics,\n // @ts-ignore\n Icon,\n // @ts-ignore\n ImageManipulator,\n // @ts-ignore\n ImagePicker,\n // @ts-ignore\n IntentLauncher,\n // @ts-ignore\n IntentLauncherAndroid,\n // @ts-ignore\n KeepAwake,\n // @ts-ignore\n LinearGradient,\n // @ts-ignore\n LocalAuthentication,\n // @ts-ignore\n Localization,\n // @ts-ignore\n Location,\n // @ts-ignore\n Magnetometer,\n // @ts-ignore\n MagnetometerUncalibrated,\n // @ts-ignore\n MailComposer,\n // @ts-ignore\n MapView,\n // @ts-ignore\n MediaLibrary,\n // @ts-ignore\n Pedometer,\n // @ts-ignore\n Permissions,\n // @ts-ignore\n Print,\n // @ts-ignore\n PublisherBanner,\n // @ts-ignore\n Random,\n // @ts-ignore\n SecureStore,\n // @ts-ignore\n Segment,\n // @ts-ignore\n Sensors,\n // @ts-ignore\n Sharing,\n // @ts-ignore\n SMS,\n // @ts-ignore\n Speech,\n // @ts-ignore\n SQLite,\n // @ts-ignore\n Svg,\n // @ts-ignore\n takeSnapshotAsync,\n // @ts-ignore\n TaskManager,\n // @ts-ignore\n Transition,\n // @ts-ignore\n Transitioning,\n // @ts-ignore\n Video,\n // @ts-ignore\n WebBrowser,\n // @ts-ignore\n WebView,\n} from './removed';\n\ndeclare var module: any;\n\nif (module && module.exports) {\n if (global) {\n const globals = require('./globals');\n\n // @ts-ignore\n global.__exponent = globals;\n // @ts-ignore\n global.__expo = globals;\n // @ts-ignore\n global.Expo = globals;\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createIconSetFromFontello;var _createIconSet=_interopRequireDefault(require(\"./create-icon-set\"));function createIconSetFromFontello(config,fontFamilyArg,fontFile){var glyphMap={};config.glyphs.forEach(function(glyph){glyphMap[glyph.css]=glyph.code;});var fontFamily=fontFamilyArg||config.name||'fontello';return(0,_createIconSet.default)(glyphMap,fontFamily,fontFile||fontFamily+\".ttf\");}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set-from-fontello.js"],"names":["createIconSetFromFontello","config","fontFamilyArg","fontFile","glyphMap","glyphs","forEach","glyph","css","code","fontFamily","name"],"mappings":"sLAAA,wEAEe,QAASA,CAAAA,yBAAT,CACbC,MADa,CAEbC,aAFa,CAGbC,QAHa,CAIb,CACA,GAAMC,CAAAA,QAAQ,CAAG,EAAjB,CACAH,MAAM,CAACI,MAAP,CAAcC,OAAd,CAAsB,SAAAC,KAAK,CAAI,CAC7BH,QAAQ,CAACG,KAAK,CAACC,GAAP,CAAR,CAAsBD,KAAK,CAACE,IAA5B,CACD,CAFD,EAIA,GAAMC,CAAAA,UAAU,CAAGR,aAAa,EAAID,MAAM,CAACU,IAAxB,EAAgC,UAAnD,CAEA,MAAO,2BAAcP,QAAd,CAAwBM,UAAxB,CAAoCP,QAAQ,EAAOO,UAAP,OAA5C,CAAP,CACD","sourcesContent":["import createIconSet from './create-icon-set';\n\nexport default function createIconSetFromFontello(\n config,\n fontFamilyArg,\n fontFile\n) {\n const glyphMap = {};\n config.glyphs.forEach(glyph => {\n glyphMap[glyph.css] = glyph.code;\n });\n\n const fontFamily = fontFamilyArg || config.name || 'fontello';\n\n return createIconSet(glyphMap, fontFamily, fontFile || `${fontFamily}.ttf`);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=spring;var _base=require(\"../base\");var _derived=require(\"../derived\");var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));var MAX_STEPS_MS=64;function spring(clock,state,config){var lastTime=(0,_base.cond)(state.time,state.time,clock);var deltaTime=(0,_derived.min)((0,_base.sub)(clock,lastTime),MAX_STEPS_MS);var c=config.damping;var m=config.mass;var k=config.stiffness;var v0=(0,_base.multiply)(-1,state.velocity);var x0=(0,_base.sub)(config.toValue,state.position);var zeta=(0,_base.divide)(c,(0,_base.multiply)(2,(0,_base.sqrt)((0,_base.multiply)(k,m))));var omega0=(0,_base.sqrt)((0,_base.divide)(k,m));var omega1=(0,_base.multiply)(omega0,(0,_base.sqrt)((0,_base.sub)(1,(0,_base.multiply)(zeta,zeta))));var t=(0,_base.divide)(deltaTime,1000);var sin1=(0,_base.sin)((0,_base.multiply)(omega1,t));var cos1=(0,_base.cos)((0,_base.multiply)(omega1,t));var underDampedEnvelope=(0,_base.exp)((0,_base.multiply)(-1,zeta,omega0,t));var underDampedFrag1=(0,_base.multiply)(underDampedEnvelope,(0,_base.add)((0,_base.multiply)(sin1,(0,_base.divide)((0,_base.add)(v0,(0,_base.multiply)(zeta,omega0,x0)),omega1)),(0,_base.multiply)(x0,cos1)));var underDampedPosition=(0,_base.sub)(config.toValue,underDampedFrag1);var underDampedVelocity=(0,_base.sub)((0,_base.multiply)(zeta,omega0,underDampedFrag1),(0,_base.multiply)(underDampedEnvelope,(0,_base.sub)((0,_base.multiply)(cos1,(0,_base.add)(v0,(0,_base.multiply)(zeta,omega0,x0))),(0,_base.multiply)(omega1,x0,sin1))));var criticallyDampedEnvelope=(0,_base.exp)((0,_base.multiply)(-1,omega0,t));var criticallyDampedPosition=(0,_base.sub)(config.toValue,(0,_base.multiply)(criticallyDampedEnvelope,(0,_base.add)(x0,(0,_base.multiply)((0,_base.add)(v0,(0,_base.multiply)(omega0,x0)),t))));var criticallyDampedVelocity=(0,_base.multiply)(criticallyDampedEnvelope,(0,_base.add)((0,_base.multiply)(v0,(0,_base.sub)((0,_base.multiply)(t,omega0),1)),(0,_base.multiply)(t,x0,omega0,omega0)));var prevPosition=state.prevPosition?state.prevPosition:new _InternalAnimatedValue.default(0);var isOvershooting=(0,_base.cond)((0,_base.and)(config.overshootClamping,(0,_base.neq)(config.stiffness,0)),(0,_base.cond)((0,_base.lessThan)(prevPosition,config.toValue),(0,_base.greaterThan)(state.position,config.toValue),(0,_base.lessThan)(state.position,config.toValue)));var isVelocity=(0,_base.lessThan)((0,_derived.abs)(state.velocity),config.restSpeedThreshold);var isDisplacement=(0,_base.or)((0,_base.eq)(config.stiffness,0),(0,_base.lessThan)((0,_derived.abs)((0,_base.sub)(config.toValue,state.position)),config.restDisplacementThreshold));return(0,_base.block)([(0,_base.set)(prevPosition,state.position),(0,_base.cond)((0,_base.lessThan)(zeta,1),[(0,_base.set)(state.position,underDampedPosition),(0,_base.set)(state.velocity,underDampedVelocity)],[(0,_base.set)(state.position,criticallyDampedPosition),(0,_base.set)(state.velocity,criticallyDampedVelocity)]),(0,_base.set)(state.time,clock),(0,_base.cond)((0,_base.or)(isOvershooting,(0,_base.and)(isVelocity,isDisplacement)),[(0,_base.cond)((0,_base.neq)(config.stiffness,0),[(0,_base.set)(state.velocity,0),(0,_base.set)(state.position,config.toValue)]),(0,_base.set)(state.finished,1)])]);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/spring.js"],"names":["MAX_STEPS_MS","spring","clock","state","config","lastTime","time","deltaTime","c","damping","m","mass","k","stiffness","v0","velocity","x0","toValue","position","zeta","omega0","omega1","t","sin1","cos1","underDampedEnvelope","underDampedFrag1","underDampedPosition","underDampedVelocity","criticallyDampedEnvelope","criticallyDampedPosition","criticallyDampedVelocity","prevPosition","AnimatedValue","isOvershooting","overshootClamping","isVelocity","restSpeedThreshold","isDisplacement","restDisplacementThreshold","finished"],"mappings":"mKAAA,6BAmBA,mCACA,4FAEA,GAAMA,CAAAA,YAAY,CAAG,EAArB,CAEe,QAASC,CAAAA,MAAT,CAAgBC,KAAhB,CAAuBC,KAAvB,CAA8BC,MAA9B,CAAsC,CACnD,GAAMC,CAAAA,QAAQ,CAAG,eAAKF,KAAK,CAACG,IAAX,CAAiBH,KAAK,CAACG,IAAvB,CAA6BJ,KAA7B,CAAjB,CAEA,GAAMK,CAAAA,SAAS,CAAG,iBAAI,cAAIL,KAAJ,CAAWG,QAAX,CAAJ,CAA0BL,YAA1B,CAAlB,CAEA,GAAMQ,CAAAA,CAAC,CAAGJ,MAAM,CAACK,OAAjB,CACA,GAAMC,CAAAA,CAAC,CAAGN,MAAM,CAACO,IAAjB,CACA,GAAMC,CAAAA,CAAC,CAAGR,MAAM,CAACS,SAAjB,CAEA,GAAMC,CAAAA,EAAE,CAAG,mBAAS,CAAC,CAAV,CAAaX,KAAK,CAACY,QAAnB,CAAX,CACA,GAAMC,CAAAA,EAAE,CAAG,cAAIZ,MAAM,CAACa,OAAX,CAAoBd,KAAK,CAACe,QAA1B,CAAX,CAEA,GAAMC,CAAAA,IAAI,CAAG,iBAAOX,CAAP,CAAU,mBAAS,CAAT,CAAY,eAAK,mBAASI,CAAT,CAAYF,CAAZ,CAAL,CAAZ,CAAV,CAAb,CACA,GAAMU,CAAAA,MAAM,CAAG,eAAK,iBAAOR,CAAP,CAAUF,CAAV,CAAL,CAAf,CACA,GAAMW,CAAAA,MAAM,CAAG,mBAASD,MAAT,CAAiB,eAAK,cAAI,CAAJ,CAAO,mBAASD,IAAT,CAAeA,IAAf,CAAP,CAAL,CAAjB,CAAf,CAEA,GAAMG,CAAAA,CAAC,CAAG,iBAAOf,SAAP,CAAkB,IA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AV,CAAoBa,mBAApB,CAFF,CAFF,CAME,CACE,cAAIzB,KAAK,CAACe,QAAV,CAAoBY,wBAApB,CADF,CAEE,cAAI3B,KAAK,CAACY,QAAV,CAAoBgB,wBAApB,CAFF,CANF,CAFW,CAaX,cAAI5B,KAAK,CAACG,IAAV,CAAgBJ,KAAhB,CAbW,CAcX,eAAK,aAAGgC,cAAH,CAAmB,cAAIE,UAAJ,CAAgBE,cAAhB,CAAnB,CAAL,CAA0D,CACxD,eAAK,cAAIlC,MAAM,CAACS,SAAX,CAAsB,CAAtB,CAAL,CAA+B,CAC7B,cAAIV,KAAK,CAACY,QAAV,CAAoB,CAApB,CAD6B,CAE7B,cAAIZ,KAAK,CAACe,QAAV,CAAoBd,MAAM,CAACa,OAA3B,CAF6B,CAA/B,CADwD,CAKxD,cAAId,KAAK,CAACqC,QAAV,CAAoB,CAApB,CALwD,CAA1D,CAdW,CAAN,CAAP,CAsBD","sourcesContent":["import {\n cond,\n sub,\n divide,\n multiply,\n sqrt,\n add,\n block,\n set,\n exp,\n sin,\n cos,\n eq,\n or,\n neq,\n and,\n lessThan,\n greaterThan,\n} from '../base';\nimport { min, abs } from '../derived';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nconst MAX_STEPS_MS = 64;\n\nexport default function spring(clock, state, config) {\n const lastTime = cond(state.time, state.time, clock);\n\n const deltaTime = min(sub(clock, lastTime), MAX_STEPS_MS);\n\n const c = config.damping;\n const m = config.mass;\n const k = config.stiffness;\n\n const v0 = multiply(-1, state.velocity);\n const x0 = sub(config.toValue, state.position);\n\n const zeta = divide(c, multiply(2, sqrt(multiply(k, m)))); // damping ratio\n const omega0 = sqrt(divide(k, m)); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = multiply(omega0, sqrt(sub(1, multiply(zeta, zeta)))); // exponential decay\n\n const t = divide(deltaTime, 1000); // in seconds\n\n const sin1 = sin(multiply(omega1, t));\n const cos1 = cos(multiply(omega1, t));\n\n // under damped\n const underDampedEnvelope = exp(multiply(-1, zeta, omega0, t));\n const underDampedFrag1 = multiply(\n underDampedEnvelope,\n add(\n multiply(sin1, divide(add(v0, multiply(zeta, omega0, x0)), omega1)),\n multiply(x0, cos1)\n )\n );\n const underDampedPosition = sub(config.toValue, underDampedFrag1);\n // This looks crazy -- it's actually just the derivative of the oscillation function\n const underDampedVelocity = sub(\n multiply(zeta, omega0, underDampedFrag1),\n multiply(\n underDampedEnvelope,\n sub(\n multiply(cos1, add(v0, multiply(zeta, omega0, x0))),\n multiply(omega1, x0, sin1)\n )\n )\n );\n\n // critically damped\n const criticallyDampedEnvelope = exp(multiply(-1, omega0, t));\n const criticallyDampedPosition = sub(\n config.toValue,\n multiply(\n criticallyDampedEnvelope,\n add(x0, multiply(add(v0, multiply(omega0, x0)), t))\n )\n );\n const criticallyDampedVelocity = multiply(\n criticallyDampedEnvelope,\n add(\n multiply(v0, sub(multiply(t, omega0), 1)),\n multiply(t, x0, omega0, omega0)\n )\n );\n\n // conditions for stopping the spring animations\n const prevPosition = state.prevPosition\n ? state.prevPosition\n : new AnimatedValue(0);\n\n const isOvershooting = cond(\n and(config.overshootClamping, neq(config.stiffness, 0)),\n cond(\n lessThan(prevPosition, config.toValue),\n greaterThan(state.position, config.toValue),\n lessThan(state.position, config.toValue)\n )\n );\n const isVelocity = lessThan(abs(state.velocity), config.restSpeedThreshold);\n const isDisplacement = or(\n eq(config.stiffness, 0),\n lessThan(\n abs(sub(config.toValue, state.position)),\n config.restDisplacementThreshold\n )\n );\n\n return block([\n set(prevPosition, state.position),\n cond(\n lessThan(zeta, 1),\n [\n set(state.position, underDampedPosition),\n set(state.velocity, underDampedVelocity),\n ],\n [\n set(state.position, criticallyDampedPosition),\n set(state.velocity, criticallyDampedVelocity),\n ]\n ),\n set(state.time, clock),\n cond(or(isOvershooting, and(isVelocity, isDisplacement)), [\n cond(neq(config.stiffness, 0), [\n set(state.velocity, 0),\n set(state.position, config.toValue),\n ]),\n set(state.finished, 1),\n ]),\n ]);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});var _exportNames={createNativeWrapper:true,Directions:true,gestureHandlerRootHOC:true,NativeViewGestureHandler:true,State:true};Object.defineProperty(exports,\"createNativeWrapper\",{enumerable:true,get:function get(){return _createNativeWrapper.default;}});Object.defineProperty(exports,\"Directions\",{enumerable:true,get:function get(){return _Directions.default;}});Object.defineProperty(exports,\"gestureHandlerRootHOC\",{enumerable:true,get:function get(){return _gestureHandlerRootHOC.default;}});Object.defineProperty(exports,\"NativeViewGestureHandler\",{enumerable:true,get:function get(){return _NativeViewGestureHandler.default;}});Object.defineProperty(exports,\"State\",{enumerable:true,get:function get(){return _State.default;}});var _createNativeWrapper=_interopRequireDefault(require(\"./createNativeWrapper\"));var _Directions=_interopRequireDefault(require(\"./Directions\"));var _gestureHandlerRootHOC=_interopRequireDefault(require(\"./gestureHandlerRootHOC\"));var _NativeViewGestureHandler=_interopRequireDefault(require(\"./NativeViewGestureHandler\"));var _State=_interopRequireDefault(require(\"./State\"));var _GestureButtons=require(\"./GestureButtons\");Object.keys(_GestureButtons).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _GestureButtons[key];}});});var _GestureComponents=require(\"./GestureComponents\");Object.keys(_GestureComponents).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _GestureComponents[key];}});});var _Gestures=require(\"./Gestures\");Object.keys(_Gestures).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _Gestures[key];}});});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/GestureHandler.js"],"names":[],"mappings":"42BAAA,kFACA,gEACA,sFACA,4FAGA,sDAEA,2TACA,uUACA","sourcesContent":["export { default as createNativeWrapper } from './createNativeWrapper';\nexport { default as Directions } from './Directions';\nexport { default as gestureHandlerRootHOC } from './gestureHandlerRootHOC';\nexport {\n default as NativeViewGestureHandler,\n} from './NativeViewGestureHandler';\nexport { default as State } from './State';\n\nexport * from './GestureButtons';\nexport * from './GestureComponents';\nexport * from './Gestures';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var Animation=function(){function Animation(){(0,_classCallCheck2.default)(this,Animation);}(0,_createClass2.default)(Animation,[{key:\"start\",value:function start(fromValue,onUpdate,onEnd,previousAnimation,animatedValue){}},{key:\"stop\",value:function stop(){}}]);return Animation;}();var _default=Animation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/Animation.js"],"names":["Animation","fromValue","onUpdate","onEnd","previousAnimation","animatedValue"],"mappings":"4VAGMA,CAAAA,S,sJACEC,S,CAAWC,Q,CAAUC,K,CAAOC,iB,CAAmBC,a,CAAe,CAAE,C,mCAC/D,CAAE,C,sCAGIL,S","sourcesContent":["// Important note: start() and stop() will only be called at most once.\n// Once an animation has been stopped or finished its course, it will\n// not be reused.\nclass Animation {\n start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {}\n stop() {}\n}\n\nexport default Animation;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=docsUrl;function docsUrl(path){return\"https://reactnavigation.org/docs/\"+path;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/utils/docsUrl.js"],"names":["docsUrl","path"],"mappings":"iFAAe,QAASA,CAAAA,OAAT,CAAiBC,IAAjB,CAAuB,CACpC,0CAA2CA,IAA3C,CACD","sourcesContent":["export default function docsUrl(path) {\n return `https://reactnavigation.org/docs/${path}`;\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"","map":{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":["\n//# sourceMappingURL=types.js.map"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var accessibilityComponentTypeToRole={button:'button',none:'presentation'};var accessibilityTraitsToRole={adjustable:'slider',button:'button',header:'heading',image:'img',link:'link',none:'presentation',search:'search',summary:'region'};var accessibilityRoleToWebRole={adjustable:'slider',button:'button',header:'heading',image:'img',imagebutton:null,keyboardkey:null,label:null,link:'link',none:'presentation',search:'search',summary:'region',text:null};var propsToAriaRole=function propsToAriaRole(_ref){var accessibilityComponentType=_ref.accessibilityComponentType,accessibilityRole=_ref.accessibilityRole,accessibilityTraits=_ref.accessibilityTraits;if(accessibilityRole){var inferredRole=accessibilityRoleToWebRole[accessibilityRole];if(inferredRole!==null){return inferredRole||accessibilityRole;}}if(accessibilityTraits){var trait=Array.isArray(accessibilityTraits)?accessibilityTraits[0]:accessibilityTraits;return accessibilityTraitsToRole[trait];}if(accessibilityComponentType){return accessibilityComponentTypeToRole[accessibilityComponentType];}};var _default=propsToAriaRole;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAriaRole.js"],"names":["accessibilityComponentTypeToRole","button","none","accessibilityTraitsToRole","adjustable","header","image","link","search","summary","accessibilityRoleToWebRole","imagebutton","keyboardkey","label","text","propsToAriaRole","_ref","accessibilityComponentType","accessibilityRole","accessibilityTraits","inferredRole","trait","Array","isArray"],"mappings":"gFAQA,GAAIA,CAAAA,gCAAgC,CAAG,CACrCC,MAAM,CAAE,QAD6B,CAErCC,IAAI,CAAE,cAF+B,CAAvC,CAIA,GAAIC,CAAAA,yBAAyB,CAAG,CAC9BC,UAAU,CAAE,QADkB,CAE9BH,MAAM,CAAE,QAFsB,CAG9BI,MAAM,CAAE,SAHsB,CAI9BC,KAAK,CAAE,KAJuB,CAK9BC,IAAI,CAAE,MALwB,CAM9BL,IAAI,CAAE,cANwB,CAO9BM,MAAM,CAAE,QAPsB,CAQ9BC,OAAO,CAAE,QARqB,CAAhC,CAUA,GAAIC,CAAAA,0BAA0B,CAAG,CAC/BN,UAAU,CAAE,QADmB,CAE/BH,MAAM,CAAE,QAFuB,CAG/BI,MAAM,CAAE,SAHuB,CAI/BC,KAAK,CAAE,KAJwB,CAK/BK,WAAW,CAAE,IALkB,CAM/BC,WAAW,CAAE,IANkB,CAO/BC,KAAK,CAAE,IAPwB,CAQ/BN,IAAI,CAAE,MARyB,CAS/BL,IAAI,CAAE,cATyB,CAU/BM,MAAM,CAAE,QAVuB,CAW/BC,OAAO,CAAE,QAXsB,CAY/BK,IAAI,CAAE,IAZyB,CAAjC,CAoBA,GAAIC,CAAAA,eAAe,CAAG,QAASA,CAAAA,eAAT,CAAyBC,IAAzB,CAA+B,CACnD,GAAIC,CAAAA,0BAA0B,CAAGD,IAAI,CAACC,0BAAtC,CACIC,iBAAiB,CAAGF,IAAI,CAACE,iBAD7B,CAEIC,mBAAmB,CAAGH,IAAI,CAACG,mBAF/B,CAIA,GAAID,iBAAJ,CAAuB,CACrB,GAAIE,CAAAA,YAAY,CAAGV,0BAA0B,CAACQ,iBAAD,CAA7C,CAEA,GAAIE,YAAY,GAAK,IAArB,CAA2B,CAEzB,MAAOA,CAAAA,YAAY,EAAIF,iBAAvB,CACD,CACF,CAED,GAAIC,mBAAJ,CAAyB,CACvB,GAAIE,CAAAA,KAAK,CAAGC,KAAK,CAACC,OAAN,CAAcJ,mBAAd,EAAqCA,mBAAmB,CAAC,CAAD,CAAxD,CAA8DA,mBAA1E,CACA,MAAOhB,CAAAA,yBAAyB,CAACkB,KAAD,CAAhC,CACD,CAED,GAAIJ,0BAAJ,CAAgC,CAC9B,MAAOjB,CAAAA,gCAAgC,CAACiB,0BAAD,CAAvC,CACD,CACF,CAtBD,C,aAwBeF,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar accessibilityComponentTypeToRole = {\n button: 'button',\n none: 'presentation'\n};\nvar accessibilityTraitsToRole = {\n adjustable: 'slider',\n button: 'button',\n header: 'heading',\n image: 'img',\n link: 'link',\n none: 'presentation',\n search: 'search',\n summary: 'region'\n};\nvar accessibilityRoleToWebRole = {\n adjustable: 'slider',\n button: 'button',\n header: 'heading',\n image: 'img',\n imagebutton: null,\n keyboardkey: null,\n label: null,\n link: 'link',\n none: 'presentation',\n search: 'search',\n summary: 'region',\n text: null\n};\n/**\n * Provides compatibility with React Native's \"accessibilityTraits\" (iOS) and\n * \"accessibilityComponentType\" (Android), converting them to equivalent ARIA\n * roles.\n */\n\nvar propsToAriaRole = function propsToAriaRole(_ref) {\n var accessibilityComponentType = _ref.accessibilityComponentType,\n accessibilityRole = _ref.accessibilityRole,\n accessibilityTraits = _ref.accessibilityTraits;\n\n if (accessibilityRole) {\n var inferredRole = accessibilityRoleToWebRole[accessibilityRole];\n\n if (inferredRole !== null) {\n // ignore roles that don't map to web\n return inferredRole || accessibilityRole;\n }\n }\n\n if (accessibilityTraits) {\n var trait = Array.isArray(accessibilityTraits) ? accessibilityTraits[0] : accessibilityTraits;\n return accessibilityTraitsToRole[trait];\n }\n\n if (accessibilityComponentType) {\n return accessibilityComponentTypeToRole[accessibilityComponentType];\n }\n};\n\nexport default propsToAriaRole;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createAnimatedClockTest=createAnimatedClockTest;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedClock=_interopRequireDefault(require(\"./AnimatedClock\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var AnimatedClockTest=function(_AnimatedNode){(0,_inherits2.default)(AnimatedClockTest,_AnimatedNode);function AnimatedClockTest(clockNode){var _this;(0,_classCallCheck2.default)(this,AnimatedClockTest);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedClockTest).call(this,{type:'clockTest',clock:clockNode.__nodeID}));(0,_invariant.default)(clockNode instanceof _AnimatedClock.default,'Node is not of an AnimatedClock type');_this._clockNode=clockNode;return _this;}(0,_createClass2.default)(AnimatedClockTest,[{key:\"__onEvaluate\",value:function __onEvaluate(){return this._clockNode.isStarted()?1:0;}}]);return AnimatedClockTest;}(_AnimatedNode2.default);function createAnimatedClockTest(clock){return new AnimatedClockTest(clock);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedClockTest.js"],"names":["AnimatedClockTest","clockNode","type","clock","__nodeID","AnimatedClock","_clockNode","isStarted","AnimatedNode","createAnimatedClockTest"],"mappings":"8pBAAA,qEACA,sEACA,qE,GAEMA,CAAAA,iB,iFAGJ,2BAAYC,SAAZ,CAAuB,gEACrB,6GAAM,CAAEC,IAAI,CAAE,WAAR,CAAqBC,KAAK,CAAEF,SAAS,CAACG,QAAtC,CAAN,GACA,uBACEH,SAAS,WAAYI,uBADvB,CAEE,sCAFF,EAIA,MAAKC,UAAL,CAAkBL,SAAlB,CANqB,aAOtB,C,8FAEc,CACb,MAAO,MAAKK,UAAL,CAAgBC,SAAhB,GAA8B,CAA9B,CAAkC,CAAzC,CACD,C,+BAd6BC,sB,EAiBzB,QAASC,CAAAA,uBAAT,CAAiCN,KAAjC,CAAwC,CAC7C,MAAO,IAAIH,CAAAA,iBAAJ,CAAsBG,KAAtB,CAAP,CACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport invariant from 'fbjs/lib/invariant';\n\nclass AnimatedClockTest extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n super({ type: 'clockTest', clock: clockNode.__nodeID });\n invariant(\n clockNode instanceof AnimatedClock,\n 'Node is not of an AnimatedClock type'\n );\n this._clockNode = clockNode;\n }\n\n __onEvaluate() {\n return this._clockNode.isStarted() ? 1 : 0;\n }\n}\n\nexport function createAnimatedClockTest(clock) {\n return new AnimatedClockTest(clock);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=color;var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _base=require(\"../base\");var _AnimatedNode=_interopRequireDefault(require(\"../core/AnimatedNode\"));function color(r,g,b){var a=arguments.length>3&&arguments[3]!==undefined?arguments[3]:1;if(a instanceof _AnimatedNode.default){a=(0,_base.round)((0,_base.multiply)(a,255));}else{a=Math.round(a*255);}if(_Platform.default.OS==='web'){throw new Error('color is not implemented on web yet');}var color=(0,_base.add)((0,_base.multiply)(a,1<<24),(0,_base.multiply)(r,1<<16),(0,_base.multiply)(g,1<<8),b);if(_Platform.default.OS==='android'){return(0,_base.cond)((0,_base.lessThan)(color,1<<31>>>0),color,(0,_base.sub)(color,Math.pow(2,32)));}return color;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/color.js"],"names":["color","r","g","b","a","AnimatedNode","Math","round","Platform","OS","Error","pow"],"mappings":"0PAEA,6BACA,0EAEe,QAASA,CAAAA,KAAT,CAAeC,CAAf,CAAkBC,CAAlB,CAAqBC,CAArB,CAA+B,IAAPC,CAAAA,CAAO,2DAAH,CAAG,CAC5C,GAAIA,CAAC,WAAYC,sBAAjB,CAA+B,CAC7BD,CAAC,CAAG,gBAAM,mBAASA,CAAT,CAAY,GAAZ,CAAN,CAAJ,CACD,CAFD,IAEO,CACLA,CAAC,CAAGE,IAAI,CAACC,KAAL,CAAWH,CAAC,CAAG,GAAf,CAAJ,CACD,CAED,GAAII,kBAASC,EAAT,GAAgB,KAApB,CAA2B,CACzB,KAAM,IAAIC,CAAAA,KAAJ,CAAU,qCAAV,CAAN,CACD,CAED,GAAMV,CAAAA,KAAK,CAAG,cACZ,mBAASI,CAAT,CAAY,GAAK,EAAjB,CADY,CAEZ,mBAASH,CAAT,CAAY,GAAK,EAAjB,CAFY,CAGZ,mBAASC,CAAT,CAAY,GAAK,CAAjB,CAHY,CAIZC,CAJY,CAAd,CAMA,GAAIK,kBAASC,EAAT,GAAgB,SAApB,CAA+B,CAE7B,MAAO,eACL,mBAAST,KAAT,CAAiB,GAAK,EAAN,GAAc,CAA9B,CADK,CAELA,KAFK,CAGL,cAAIA,KAAJ,CAAWM,IAAI,CAACK,GAAL,CAAS,CAAT,CAAY,EAAZ,CAAX,CAHK,CAAP,CAKD,CACD,MAAOX,CAAAA,KAAP,CACD","sourcesContent":["import { Platform } from 'react-native';\n\nimport { add, cond, lessThan, multiply, round, sub } from '../base';\nimport AnimatedNode from '../core/AnimatedNode';\n\nexport default function color(r, g, b, a = 1) {\n if (a instanceof AnimatedNode) {\n a = round(multiply(a, 255));\n } else {\n a = Math.round(a * 255);\n }\n\n if (Platform.OS === 'web') {\n throw new Error('color is not implemented on web yet');\n }\n\n const color = add(\n multiply(a, 1 << 24),\n multiply(r, 1 << 16),\n multiply(g, 1 << 8),\n b\n );\n if (Platform.OS === 'android') {\n // on Android color is represented as signed 32 bit int\n return cond(\n lessThan(color, (1 << 31) >>> 0),\n color,\n sub(color, Math.pow(2, 32))\n );\n }\n return color;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ReactNativePropRegistry=_interopRequireDefault(require(\"../../modules/ReactNativePropRegistry\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function getStyle(style){if(typeof style==='number'){return _ReactNativePropRegistry.default.getByID(style);}return style;}function flattenStyle(style){if(!style){return undefined;}if(process.env.NODE_ENV!=='production'){(0,_invariant.default)(style!==true,'style may be false but not true');}if(!Array.isArray(style)){return getStyle(style);}var result={};for(var i=0,styleLength=style.length;i<styleLength;++i){var computedStyle=flattenStyle(style[i]);if(computedStyle){for(var key in computedStyle){var value=computedStyle[key];result[key]=value;}}}return result;}var _default=flattenStyle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/flattenStyle.js"],"names":["getStyle","style","ReactNativePropRegistry","getByID","flattenStyle","undefined","process","env","NODE_ENV","Array","isArray","result","i","styleLength","length","computedStyle","key","value"],"mappings":"mKASA,sGACA,qEAEA,QAASA,CAAAA,QAAT,CAAkBC,KAAlB,CAAyB,CACvB,GAAI,MAAOA,CAAAA,KAAP,GAAiB,QAArB,CAA+B,CAC7B,MAAOC,kCAAwBC,OAAxB,CAAgCF,KAAhC,CAAP,CACD,CAED,MAAOA,CAAAA,KAAP,CACD,CAED,QAASG,CAAAA,YAAT,CAAsBH,KAAtB,CAA6B,CAC3B,GAAI,CAACA,KAAL,CAAY,CACV,MAAOI,CAAAA,SAAP,CACD,CAED,GAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzC,uBAAUP,KAAK,GAAK,IAApB,CAA0B,iCAA1B,EACD,CAED,GAAI,CAACQ,KAAK,CAACC,OAAN,CAAcT,KAAd,CAAL,CAA2B,CACzB,MAAOD,CAAAA,QAAQ,CAACC,KAAD,CAAf,CACD,CAED,GAAIU,CAAAA,MAAM,CAAG,EAAb,CAEA,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAR,CAAWC,WAAW,CAAGZ,KAAK,CAACa,MAApC,CAA4CF,CAAC,CAAGC,WAAhD,CAA6D,EAAED,CAA/D,CAAkE,CAChE,GAAIG,CAAAA,aAAa,CAAGX,YAAY,CAACH,KAAK,CAACW,CAAD,CAAN,CAAhC,CAEA,GAAIG,aAAJ,CAAmB,CACjB,IAAK,GAAIC,CAAAA,GAAT,GAAgBD,CAAAA,aAAhB,CAA+B,CAC7B,GAAIE,CAAAA,KAAK,CAAGF,aAAa,CAACC,GAAD,CAAzB,CACAL,MAAM,CAACK,GAAD,CAAN,CAAcC,KAAd,CACD,CACF,CACF,CAED,MAAON,CAAAA,MAAP,CACD,C,aAEcP,Y","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ReactNativePropRegistry from '../../modules/ReactNativePropRegistry';\nimport invariant from 'fbjs/lib/invariant';\n\nfunction getStyle(style) {\n if (typeof style === 'number') {\n return ReactNativePropRegistry.getByID(style);\n }\n\n return style;\n}\n\nfunction flattenStyle(style) {\n if (!style) {\n return undefined;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n invariant(style !== true, 'style may be false but not true');\n }\n\n if (!Array.isArray(style)) {\n return getStyle(style);\n }\n\n var result = {};\n\n for (var i = 0, styleLength = style.length; i < styleLength; ++i) {\n var computedStyle = flattenStyle(style[i]);\n\n if (computedStyle) {\n for (var key in computedStyle) {\n var value = computedStyle[key];\n result[key] = value;\n }\n }\n }\n\n return result;\n}\n\nexport default flattenStyle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createStyleResolver=_interopRequireDefault(require(\"./createStyleResolver\"));var styleResolver=(0,_createStyleResolver.default)();var _default=styleResolver;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/styleResolver.js"],"names":["styleResolver"],"mappings":"mKAQA,kFACA,GAAIA,CAAAA,aAAa,CAAG,kCAApB,C,aACeA,a","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createStyleResolver from './createStyleResolver';\nvar styleResolver = createStyleResolver();\nexport default styleResolver;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.FlatList=exports.DrawerLayoutAndroid=exports.ToolbarAndroid=exports.TextInput=exports.Switch=exports.ScrollView=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _react=_interopRequireDefault(require(\"react\"));var _DrawerLayoutAndroid=_interopRequireDefault(require(\"react-native-web/dist/exports/DrawerLayoutAndroid\"));var _FlatList=_interopRequireDefault(require(\"react-native-web/dist/exports/FlatList\"));var _Switch=_interopRequireDefault(require(\"react-native-web/dist/exports/Switch\"));var _TextInput=_interopRequireDefault(require(\"react-native-web/dist/exports/TextInput\"));var _ToolbarAndroid=_interopRequireDefault(require(\"react-native-web/dist/exports/ToolbarAndroid\"));var _ScrollView=_interopRequireDefault(require(\"react-native-web/dist/exports/ScrollView\"));var _createNativeWrapper=_interopRequireDefault(require(\"./createNativeWrapper\"));var ScrollView=(0,_createNativeWrapper.default)(_ScrollView.default,{disallowInterruption:true});exports.ScrollView=ScrollView;var Switch=(0,_createNativeWrapper.default)(_Switch.default,{shouldCancelWhenOutside:false,shouldActivateOnStart:true,disallowInterruption:true});exports.Switch=Switch;var TextInput=(0,_createNativeWrapper.default)(_TextInput.default);exports.TextInput=TextInput;var ToolbarAndroid=(0,_createNativeWrapper.default)(_ToolbarAndroid.default);exports.ToolbarAndroid=ToolbarAndroid;var DrawerLayoutAndroid=(0,_createNativeWrapper.default)(_DrawerLayoutAndroid.default,{disallowInterruption:true});exports.DrawerLayoutAndroid=DrawerLayoutAndroid;DrawerLayoutAndroid.positions=_DrawerLayoutAndroid.default.positions;var FlatList=_react.default.forwardRef(function(props,ref){return _react.default.createElement(_FlatList.default,(0,_extends2.default)({ref:ref},props,{renderScrollComponent:function renderScrollComponent(scrollProps){return _react.default.createElement(ScrollView,scrollProps);}}));});exports.FlatList=FlatList;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/GestureComponents.web.js"],"names":["ScrollView","RNScrollView","disallowInterruption","Switch","RNSwitch","shouldCancelWhenOutside","shouldActivateOnStart","TextInput","RNTextInput","ToolbarAndroid","RNToolbarAndroid","DrawerLayoutAndroid","RNDrawerLayoutAndroid","positions","FlatList","React","forwardRef","props","ref","scrollProps"],"mappings":"2VAAA,oD,ojBAUA,kFAEO,GAAMA,CAAAA,UAAU,CAAG,iCAAoBC,mBAApB,CAAkC,CAC1DC,oBAAoB,CAAE,IADoC,CAAlC,CAAnB,C,8BAIA,GAAMC,CAAAA,MAAM,CAAG,iCAAoBC,eAApB,CAA8B,CAClDC,uBAAuB,CAAE,KADyB,CAElDC,qBAAqB,CAAE,IAF2B,CAGlDJ,oBAAoB,CAAE,IAH4B,CAA9B,CAAf,C,sBAKA,GAAMK,CAAAA,SAAS,CAAG,iCAAoBC,kBAApB,CAAlB,C,4BACA,GAAMC,CAAAA,cAAc,CAAG,iCAAoBC,uBAApB,CAAvB,C,sCACA,GAAMC,CAAAA,mBAAmB,CAAG,iCAAoBC,4BAApB,CAA2C,CAC5EV,oBAAoB,CAAE,IADsD,CAA3C,CAA5B,C,gDAGPS,mBAAmB,CAACE,SAApB,CAAgCD,6BAAsBC,SAAtD,CAEO,GAAMC,CAAAA,QAAQ,CAAGC,eAAMC,UAAN,CAAiB,SAACC,KAAD,CAAQC,GAAR,QACvC,8BAAC,iBAAD,wBACE,GAAG,CAAEA,GADP,EAEMD,KAFN,EAGE,qBAAqB,CAAE,+BAAAE,WAAW,QAAI,8BAAC,UAAD,CAAgBA,WAAhB,CAAJ,EAHpC,GADuC,EAAjB,CAAjB,C","sourcesContent":["import React from 'react';\nimport {\n DrawerLayoutAndroid as RNDrawerLayoutAndroid,\n FlatList as RNFlatList,\n Switch as RNSwitch,\n TextInput as RNTextInput,\n ToolbarAndroid as RNToolbarAndroid,\n ScrollView as RNScrollView,\n} from 'react-native';\n\nimport createNativeWrapper from './createNativeWrapper';\n\nexport const ScrollView = createNativeWrapper(RNScrollView, {\n disallowInterruption: true,\n});\n\nexport const Switch = createNativeWrapper(RNSwitch, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: true,\n disallowInterruption: true,\n});\nexport const TextInput = createNativeWrapper(RNTextInput);\nexport const ToolbarAndroid = createNativeWrapper(RNToolbarAndroid);\nexport const DrawerLayoutAndroid = createNativeWrapper(RNDrawerLayoutAndroid, {\n disallowInterruption: true,\n});\nDrawerLayoutAndroid.positions = RNDrawerLayoutAndroid.positions;\n\nexport const FlatList = React.forwardRef((props, ref) => (\n <RNFlatList\n ref={ref}\n {...props}\n renderScrollComponent={scrollProps => <ScrollView {...scrollProps} />}\n />\n));\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var NEWTON_ITERATIONS=4;var NEWTON_MIN_SLOPE=0.001;var SUBDIVISION_PRECISION=0.0000001;var SUBDIVISION_MAX_ITERATIONS=10;var kSplineTableSize=11;var kSampleStepSize=1.0/(kSplineTableSize-1.0);var float32ArraySupported=typeof Float32Array==='function';function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}function C(aA1){return 3.0*aA1;}function calcBezier(aT,aA1,aA2){return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}function getSlope(aT,aA1,aA2){return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}function binarySubdivide(aX,aA,aB,mX1,mX2){var currentX,currentT,i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i<SUBDIVISION_MAX_ITERATIONS);return currentT;}function newtonRaphsonIterate(aX,aGuessT,mX1,mX2){for(var i=0;i<NEWTON_ITERATIONS;++i){var currentSlope=getSlope(aGuessT,mX1,mX2);if(currentSlope===0.0){return aGuessT;}var currentX=calcBezier(aGuessT,mX1,mX2)-aX;aGuessT-=currentX/currentSlope;}return aGuessT;}module.exports=function bezier(mX1,mY1,mX2,mY2){if(!(0<=mX1&&mX1<=1&&0<=mX2&&mX2<=1)){throw new Error('bezier x values must be in [0, 1] range');}var sampleValues=float32ArraySupported?new Float32Array(kSplineTableSize):new Array(kSplineTableSize);if(mX1!==mY1||mX2!==mY2){for(var i=0;i<kSplineTableSize;++i){sampleValues[i]=calcBezier(i*kSampleStepSize,mX1,mX2);}}function getTForX(aX){var intervalStart=0.0;var currentSample=1;var lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;var dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);var guessForT=intervalStart+dist*kSampleStepSize;var initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/bezier.js"],"names":["NEWTON_ITERATIONS","NEWTON_MIN_SLOPE","SUBDIVISION_PRECISION","SUBDIVISION_MAX_ITERATIONS","kSplineTableSize","kSampleStepSize","float32ArraySupported","Float32Array","A","aA1","aA2","B","C","calcBezier","aT","getSlope","binarySubdivide","aX","aA","aB","mX1","mX2","currentX","currentT","i","Math","abs","newtonRaphsonIterate","aGuessT","currentSlope","module","exports","bezier","mY1","mY2","Error","sampleValues","Array","getTForX","intervalStart","currentSample","lastSample","dist","guessForT","initialSlope","BezierEasing","x"],"mappings":"AAOA,aAEA,GAAIA,CAAAA,iBAAiB,CAAG,CAAxB,CACA,GAAIC,CAAAA,gBAAgB,CAAG,KAAvB,CACA,GAAIC,CAAAA,qBAAqB,CAAG,SAA5B,CACA,GAAIC,CAAAA,0BAA0B,CAAG,EAAjC,CACA,GAAIC,CAAAA,gBAAgB,CAAG,EAAvB,CACA,GAAIC,CAAAA,eAAe,CAAG,KAAOD,gBAAgB,CAAG,GAA1B,CAAtB,CACA,GAAIE,CAAAA,qBAAqB,CAAG,MAAOC,CAAAA,YAAP,GAAwB,UAApD,CAEA,QAASC,CAAAA,CAAT,CAAWC,GAAX,CAAgBC,GAAhB,CAAqB,CACnB,M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ACF,CAED,MAAO,SAASwB,CAAAA,YAAT,CAAsBC,CAAtB,CAAyB,CAC9B,GAAI1B,GAAG,GAAKa,GAAR,EAAeZ,GAAG,GAAKa,GAA3B,CAAgC,CAC9B,MAAOY,CAAAA,CAAP,CACD,CAGD,GAAIA,CAAC,GAAK,CAAV,CAAa,CACX,MAAO,EAAP,CACD,CAED,GAAIA,CAAC,GAAK,CAAV,CAAa,CACX,MAAO,EAAP,CACD,CAED,MAAOjC,CAAAA,UAAU,CAACyB,QAAQ,CAACQ,CAAD,CAAT,CAAcb,GAAd,CAAmBC,GAAnB,CAAjB,CACD,CAfD,CAgBD,CAvDD","sourcesContent":["/**\n * BezierEasing - use bezier curve for transition easing function\n * https://github.com/gre/bezier-easing\n *\n * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.\n * \n */\n'use strict'; // These values are established by empiricism with tests (tradeoff: performance VS precision)\n\nvar NEWTON_ITERATIONS = 4;\nvar NEWTON_MIN_SLOPE = 0.001;\nvar SUBDIVISION_PRECISION = 0.0000001;\nvar SUBDIVISION_MAX_ITERATIONS = 10;\nvar kSplineTableSize = 11;\nvar kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\nvar float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\n\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\n\nfunction C(aA1) {\n return 3.0 * aA1;\n} // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\n\n\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n} // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\n\n\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX,\n currentT,\n i = 0;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\n\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n}\n\nmodule.exports = function bezier(mX1, mY1, mX2, mY2) {\n if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) {\n // eslint-disable-line yoda\n throw new Error('bezier x values must be in [0, 1] range');\n } // Precompute samples table\n\n\n var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0.0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample; // Interpolate to provide an initial guess for t\n\n var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n\n return function BezierEasing(x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n } // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n\n\n if (x === 0) {\n return 0;\n }\n\n if (x === 1) {\n return 1;\n }\n\n return calcBezier(getTForX(x), mY1, mY2);\n };\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"createBottomTabNavigator\",{enumerable:true,get:function get(){return _createBottomTabNavigator.default;}});Object.defineProperty(exports,\"createMaterialTopTabNavigator\",{enumerable:true,get:function get(){return _createMaterialTopTabNavigator.default;}});Object.defineProperty(exports,\"BottomTabBar\",{enumerable:true,get:function get(){return _BottomTabBar.default;}});Object.defineProperty(exports,\"MaterialTopTabBar\",{enumerable:true,get:function get(){return _MaterialTopTabBar.default;}});Object.defineProperty(exports,\"createTabNavigator\",{enumerable:true,get:function get(){return _createTabNavigator.default;}});Object.defineProperty(exports,\"NavigationTabState\",{enumerable:true,get:function get(){return _types.NavigationTabState;}});Object.defineProperty(exports,\"NavigationTabProp\",{enumerable:true,get:function get(){return _types.NavigationTabProp;}});Object.defineProperty(exports,\"NavigationTabScreenProps\",{enumerable:true,get:function get(){return _types.NavigationTabScreenProps;}});Object.defineProperty(exports,\"NavigationBottomTabOptions\",{enumerable:true,get:function get(){return _types.NavigationBottomTabOptions;}});Object.defineProperty(exports,\"NavigationMaterialTabOptions\",{enumerable:true,get:function get(){return _types.NavigationMaterialTabOptions;}});Object.defineProperty(exports,\"NavigationBottomTabScreenComponent\",{enumerable:true,get:function get(){return _types.NavigationBottomTabScreenComponent;}});Object.defineProperty(exports,\"NavigationMaterialTabScreenComponent\",{enumerable:true,get:function get(){return _types.NavigationMaterialTabScreenComponent;}});var _createBottomTabNavigator=_interopRequireDefault(require(\"./navigators/createBottomTabNavigator\"));var _createMaterialTopTabNavigator=_interopRequireDefault(require(\"./navigators/createMaterialTopTabNavigator\"));var _BottomTabBar=_interopRequireDefault(require(\"./views/BottomTabBar\"));var _MaterialTopTabBar=_interopRequireDefault(require(\"./views/MaterialTopTabBar\"));var _createTabNavigator=_interopRequireDefault(require(\"./utils/createTabNavigator\"));var _types=require(\"./types\");","map":{"version":3,"sources":["index.tsx"],"names":[],"mappings":"4uDAGA,uGAGA,iHAOA,0EACA,oFAKA,sFAKA","sourcesContent":["/**\n * Navigators\n */\nexport {\n default as createBottomTabNavigator,\n} from './navigators/createBottomTabNavigator';\nexport {\n default as createMaterialTopTabNavigator,\n} from './navigators/createMaterialTopTabNavigator';\n\n/**\n * Views\n */\nexport { default as BottomTabBar } from './views/BottomTabBar';\nexport { default as MaterialTopTabBar } from './views/MaterialTopTabBar';\n\n/**\n * Utils\n */\nexport { default as createTabNavigator } from './utils/createTabNavigator';\n\n/**\n * Types\n */\nexport {\n NavigationTabState,\n NavigationTabProp,\n NavigationTabScreenProps,\n NavigationBottomTabOptions,\n NavigationMaterialTabOptions,\n NavigationBottomTabScreenComponent,\n NavigationMaterialTabScreenComponent,\n} from './types';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});var _exportNames={};Object.defineProperty(exports,\"default\",{enumerable:true,get:function get(){return _ReactNativeSVG.default;}});var _ReactNativeSVG=_interopRequireWildcard(require(\"./ReactNativeSVG\"));Object.keys(_ReactNativeSVG).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _ReactNativeSVG[key];}});});","map":{"version":3,"sources":["index.ts"],"names":[],"mappings":"iRAAA","sourcesContent":["export * from './ReactNativeSVG';\n\nexport { default } from './ReactNativeSVG';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _isWebColor=_interopRequireDefault(require(\"../isWebColor\"));var _processColor=_interopRequireDefault(require(\"../../exports/processColor\"));var normalizeColor=function normalizeColor(color){var opacity=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;if(color==null)return;if(typeof color==='string'&&(0,_isWebColor.default)(color)){return color;}var colorInt=(0,_processColor.default)(color);if(colorInt!=null){var r=colorInt>>16&255;var g=colorInt>>8&255;var b=colorInt&255;var a=(colorInt>>24&255)/255;var alpha=(a*opacity).toFixed(2);return\"rgba(\"+r+\",\"+g+\",\"+b+\",\"+alpha+\")\";}};var _default=normalizeColor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/src/modules/normalizeColor/index.js"],"names":["normalizeColor","color","opacity","colorInt","r","g","b","a","alpha","toFixed"],"mappings":"mKASA,iEACA,gFAEA,GAAMA,CAAAA,cAAc,CAAG,QAAjBA,CAAAA,cAAiB,CAACC,KAAD,CAAmD,IAAzBC,CAAAA,OAAyB,2DAAN,CAAM,CACxE,GAAID,KAAK,EAAI,IAAb,CAAmB,OAEnB,GAAI,MAAOA,CAAAA,KAAP,GAAiB,QAAjB,EAA6B,wBAAWA,KAAX,CAAjC,CAAoD,CAClD,MAAOA,CAAAA,KAAP,CACD,CAED,GAAME,CAAAA,QAAQ,CAAG,0BAAaF,KAAb,CAAjB,CACA,GAAIE,QAAQ,EAAI,IAAhB,CAAsB,CACpB,GAAMC,CAAAA,CAAC,CAAID,QAAQ,EAAI,EAAb,CAAmB,GAA7B,CACA,GAAME,CAAAA,CAAC,CAAIF,QAAQ,EAAI,CAAb,CAAkB,GAA5B,CACA,GAAMG,CAAAA,CAAC,CAAGH,QAAQ,CAAG,GAArB,CACA,GAAMI,CAAAA,CAAC,CAAG,CAAEJ,QAAQ,EAAI,EAAb,CAAmB,GAApB,EAA2B,GAArC,CACA,GAAMK,CAAAA,KAAK,CAAG,CAACD,CAAC,CAAGL,OAAL,EAAcO,OAAd,CAAsB,CAAtB,CAAd,CACA,cAAeL,CAAf,KAAoBC,CAApB,KAAyBC,CAAzB,KAA8BE,KAA9B,KACD,CACF,CAhBD,C,aAkBeR,c","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\nimport isWebColor from '../isWebColor';\nimport processColor from '../../exports/processColor';\n\nconst normalizeColor = (color?: number | string, opacity?: number = 1) => {\n if (color == null) return;\n\n if (typeof color === 'string' && isWebColor(color)) {\n return color;\n }\n\n const colorInt = processColor(color);\n if (colorInt != null) {\n const r = (colorInt >> 16) & 255;\n const g = (colorInt >> 8) & 255;\n const b = colorInt & 255;\n const a = ((colorInt >> 24) & 255) / 255;\n const alpha = (a * opacity).toFixed(2);\n return `rgba(${r},${g},${b},${alpha})`;\n }\n};\n\nexport default normalizeColor;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=min;var _base=require(\"../base\");var _AnimatedBlock=require(\"../core/AnimatedBlock\");function min(a,b){a=(0,_AnimatedBlock.adapt)(a);b=(0,_AnimatedBlock.adapt)(b);return(0,_base.cond)((0,_base.lessThan)(a,b),a,b);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/min.js"],"names":["min","a","b"],"mappings":"6EAAA,6BACA,oDAEe,QAASA,CAAAA,GAAT,CAAaC,CAAb,CAAgBC,CAAhB,CAAmB,CAChCD,CAAC,CAAG,yBAAMA,CAAN,CAAJ,CACAC,CAAC,CAAG,yBAAMA,CAAN,CAAJ,CACA,MAAO,eAAK,mBAASD,CAAT,CAAYC,CAAZ,CAAL,CAAqBD,CAArB,CAAwBC,CAAxB,CAAP,CACD","sourcesContent":["import { cond, lessThan } from '../base';\nimport { adapt } from '../core/AnimatedBlock';\n\nexport default function min(a, b) {\n a = adapt(a);\n b = adapt(b);\n return cond(lessThan(a, b), a, b);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _uuidJs=_interopRequireDefault(require(\"uuid-js\"));var _ExponentNotificationsHelper=require(\"./ExponentNotificationsHelper.web\");require(\"./ExponentNotifications.fx.web\");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function transformLocalNotification(notification,tag){var _notification$web=notification.web,web=_notification$web===void 0?{}:_notification$web,abstractNotification=(0,_objectWithoutProperties2.default)(notification,[\"web\"]);tag=web.tag||tag;var nativeNotification=_objectSpread({},abstractNotification,{tag:tag},web,{_isLocal:true});return[nativeNotification.title,nativeNotification];}function generateID(){return _uuidJs.default.create().toString();}function getRegistrationAsync(){var registration;return _regenerator.default.async(function getRegistrationAsync$(_context){while(1){switch(_context.prev=_context.next){case 0:(0,_ExponentNotificationsHelper.guardPermission)();_context.next=3;return _regenerator.default.awrap(navigator.serviceWorker.getRegistration());case 3:registration=_context.sent;if(registration){_context.next=6;break;}throw new Error('Failed to get notification registration!');case 6:return _context.abrupt(\"return\",registration);case 7:case\"end\":return _context.stop();}}});}function getNotificationsAsync(tag){var registration,notifications;return _regenerator.default.async(function getNotificationsAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_context2.next=2;return _regenerator.default.awrap(getRegistrationAsync());case 2:registration=_context2.sent;_context2.next=5;return _regenerator.default.awrap(registration.getNotifications(tag?{tag:tag}:undefined));case 5:notifications=_context2.sent;return _context2.abrupt(\"return\",notifications);case 7:case\"end\":return _context2.stop();}}});}var _default={presentLocalNotification:function presentLocalNotification(notification){var registration,tag;return _regenerator.default.async(function presentLocalNotification$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_context3.next=2;return _regenerator.default.awrap(getRegistrationAsync());case 2:registration=_context3.sent;tag=generateID();registration.showNotification.apply(registration,(0,_toConsumableArray2.default)(transformLocalNotification(notification,tag)));return _context3.abrupt(\"return\",tag);case 6:case\"end\":return _context3.stop();}}});},scheduleLocalNotification:function scheduleLocalNotification(notification){var options,registration,tag,intervalMs,_args4=arguments;return _regenerator.default.async(function scheduleLocalNotification$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:options=_args4.length>1&&_args4[1]!==undefined?_args4[1]:{};if(!options.intervalMs){_context4.next=10;break;}_context4.next=4;return _regenerator.default.awrap(getRegistrationAsync());case 4:registration=_context4.sent;tag=generateID();setTimeout(function(){registration.showNotification.apply(registration,(0,_toConsumableArray2.default)(transformLocalNotification(notification,tag)));},options.intervalMs);return _context4.abrupt(\"return\",tag);case 10:if(!options.time){_context4.next=15;break;}intervalMs=options.time-Date.now();if(!(intervalMs<0)){_context4.next=14;break;}throw new Error('Expo.Notifications.scheduleLocalNotification(): options.time must be some time in the future.');case 14:return _context4.abrupt(\"return\",this.scheduleLocalNotification(notification,{intervalMs:intervalMs}));case 15:throw new Error(\"Expo.Notifications.scheduleLocalNotification() options \"+JSON.stringify(options,null,2)+\" are not supported yet.\");case 16:case\"end\":return _context4.stop();}}},null,this);},dismissNotification:function dismissNotification(notificationId){var notifications,_iterator,_isArray,_i,_ref,_notification;return _regenerator.default.async(function dismissNotification$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:_context5.next=2;return _regenerator.default.awrap(getNotificationsAsync(notificationId));case 2:notifications=_context5.sent;_iterator=notifications,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();case 4:if(!_isArray){_context5.next=10;break;}if(!(_i>=_iterator.length)){_context5.next=7;break;}return _context5.abrupt(\"break\",18);case 7:_ref=_iterator[_i++];_context5.next=14;break;case 10:_i=_iterator.next();if(!_i.done){_context5.next=13;break;}return _context5.abrupt(\"break\",18);case 13:_ref=_i.value;case 14:_notification=_ref;_notification.close();case 16:_context5.next=4;break;case 18:case\"end\":return _context5.stop();}}});},dismissAllNotifications:function dismissAllNotifications(){return _regenerator.default.async(function dismissAllNotifications$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:this.dismissNotification();case 1:case\"end\":return _context6.stop();}}},null,this);},cancelScheduledNotificationAsync:function cancelScheduledNotificationAsync(notificationId){return _regenerator.default.async(function cancelScheduledNotificationAsync$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:this.dismissNotification(notificationId);case 1:case\"end\":return _context7.stop();}}},null,this);},cancelAllScheduledNotificationsAsync:function cancelAllScheduledNotificationsAsync(){return _regenerator.default.async(function cancelAllScheduledNotificationsAsync$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:this.dismissNotification();case 1:case\"end\":return _context8.stop();}}},null,this);},getExponentPushTokenAsync:function getExponentPushTokenAsync(){return _regenerator.default.async(function getExponentPushTokenAsync$(_context9){while(1){switch(_context9.prev=_context9.next){case 0:_context9.next=2;return _regenerator.default.awrap((0,_ExponentNotificationsHelper.getExponentPushTokenAsync)());case 2:return _context9.abrupt(\"return\",_context9.sent);case 3:case\"end\":return _context9.stop();}}});},getDevicePushTokenAsync:function getDevicePushTokenAsync(){return _regenerator.default.async(function getDevicePushTokenAsync$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:_context10.next=2;return _regenerator.default.awrap((0,_ExponentNotificationsHelper.getDevicePushTokenAsync)());case 2:return _context10.abrupt(\"return\",_context10.sent);case 3:case\"end\":return _context10.stop();}}});}};exports.default=_default;","map":{"version":3,"sources":["../../src/Notifications/ExponentNotifications.web.ts"],"names":[],"mappings":"oiBAAA,uDAGA,8EAOA,0C,yxBAEA,QAAS,CAAA,0BAAT,CACE,YADF,CAEE,GAFF,CAEa,uBAEmC,YAFnC,CAEH,GAFG,CAEH,GAFG,4BAEG,EAFH,mBAEU,oBAFV,uCAEmC,YAFnC,UAGX,GAAG,CAAG,GAAG,CAAC,GAAJ,EAAW,GAAjB,CACA,GAAM,CAAA,kBAAkB,kBACnB,oBADmB,EAEtB,GAAG,CAAH,GAFsB,EAGnB,GAHmB,EAKtB,QAAQ,CAAE,IALY,EAAxB,CAOA,MAAO,CAAC,kBAAkB,CAAC,KAApB,CAA2B,kBAA3B,CAAP,CACD,CAED,QAAS,CAAA,UAAT,EAAmB,CACjB,MAAO,iBAAK,MAAL,GAAc,QAAd,EAAP,CACD,CAED,QAAe,CAAA,oBAAf,mJACE,mDADF,kDAE6B,SAAS,CAAC,aAAV,CAAwB,eAAxB,EAF7B,SAEQ,YAFR,kBAGO,YAHP,8BAIU,IAAI,CAAA,KAAJ,CAAU,0CAAV,CAJV,wCAMS,YANT,gDASA,QAAe,CAAA,qBAAf,CAAqC,GAArC,uNAC6B,oBAAoB,EADjD,SACQ,YADR,mEAE8B,YAAY,CAAC,gBAAb,CAA8B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JAoDX,KAAK,mBAAL,CAAyB,cAAzB,EApDW,0DAsDP,oCAtDO,mMAuDX,KAAK,mBAAL,GAvDW,0DA0DP,yBA1DO,gOA2DE,4DA3DF,0GA8DP,uBA9DO,gOA+DE,0DA/DF,6G","sourcesContent":["import UUID from 'uuid-js';\n\nimport { LocalNotification, LocalNotificationId } from './Notifications.types';\nimport {\n guardPermission,\n getExponentPushTokenAsync,\n getDevicePushTokenAsync,\n} from './ExponentNotificationsHelper.web';\n\n// Register `message`'s event listener (side-effect)\nimport './ExponentNotifications.fx.web';\n\nfunction transformLocalNotification(\n notification: LocalNotification,\n tag: string\n): [string, NotificationOptions] {\n const { web = {}, ...abstractNotification } = notification;\n tag = web.tag || tag;\n const nativeNotification = {\n ...abstractNotification,\n tag,\n ...web,\n // Show that this notification is a local notification\n _isLocal: true,\n };\n return [nativeNotification.title, nativeNotification];\n}\n\nfunction generateID(): string {\n return UUID.create().toString();\n}\n\nasync function getRegistrationAsync(): Promise<ServiceWorkerRegistration> {\n guardPermission();\n const registration = await navigator.serviceWorker.getRegistration();\n if (!registration) {\n throw new Error('Failed to get notification registration!');\n }\n return registration;\n}\n\nasync function getNotificationsAsync(tag?: string): Promise<Notification[]> {\n const registration = await getRegistrationAsync();\n const notifications = await registration.getNotifications(tag ? { tag } : undefined);\n return notifications;\n}\n\nexport default {\n async presentLocalNotification(notification: LocalNotification): Promise<LocalNotificationId> {\n const registration = await getRegistrationAsync();\n const tag = generateID();\n registration.showNotification(...transformLocalNotification(notification, tag));\n return tag;\n },\n async scheduleLocalNotification(\n notification: any,\n options: {\n time?: Date | number;\n repeat?: 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';\n intervalMs?: number;\n } = {}\n ): Promise<string> {\n if (options.intervalMs) {\n const registration = await getRegistrationAsync();\n const tag = generateID();\n setTimeout(() => {\n registration.showNotification(...transformLocalNotification(notification, tag));\n }, options.intervalMs);\n return tag;\n } else if (options.time) {\n const intervalMs = (options.time as number) - Date.now();\n if (intervalMs < 0) {\n throw new Error(\n 'Expo.Notifications.scheduleLocalNotification(): options.time must be some time in the future.'\n );\n }\n return this.scheduleLocalNotification(notification, {\n intervalMs,\n });\n }\n throw new Error(\n `Expo.Notifications.scheduleLocalNotification() options ${JSON.stringify(\n options,\n null,\n 2\n )} are not supported yet.`\n );\n },\n\n async dismissNotification(notificationId?: string): Promise<void> {\n const notifications = await getNotificationsAsync(notificationId);\n for (const notification of notifications) {\n notification.close();\n }\n },\n async dismissAllNotifications(): Promise<void> {\n this.dismissNotification();\n },\n async cancelScheduledNotificationAsync(notificationId: string): Promise<void> {\n this.dismissNotification(notificationId);\n },\n async cancelAllScheduledNotificationsAsync(): Promise<void> {\n this.dismissNotification();\n },\n\n async getExponentPushTokenAsync(): Promise<string> {\n return await getExponentPushTokenAsync();\n },\n\n async getDevicePushTokenAsync(): Promise<{ type: string; data: Object }> {\n return await getDevicePushTokenAsync();\n },\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.UnavailabilityError=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _Platform=_interopRequireDefault(require(\"../Platform\"));var _CodedError2=require(\"./CodedError\");var UnavailabilityError=function(_CodedError){(0,_inherits2.default)(UnavailabilityError,_CodedError);function UnavailabilityError(moduleName,propertyName){(0,_classCallCheck2.default)(this,UnavailabilityError);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(UnavailabilityError).call(this,'ERR_UNAVAILABLE',\"The method or property \"+moduleName+\".\"+propertyName+\" is not available on \"+_Platform.default.OS+\", are you sure you've linked all the native dependencies properly?\"));}return UnavailabilityError;}(_CodedError2.CodedError);exports.UnavailabilityError=UnavailabilityError;","map":{"version":3,"sources":["../../src/errors/UnavailabilityError.ts"],"names":[],"mappings":"ijBAAA,6DACA,yC,GAOa,CAAA,mB,+EACX,6BAAY,UAAZ,CAAgC,YAAhC,CAAoD,uKAEhD,iBAFgD,2BAGtB,UAHsB,KAGR,YAHQ,yBAG4B,kBAAS,EAHrC,wEAKnD,C,6BANsC,uB","sourcesContent":["import Platform from '../Platform';\nimport { CodedError } from './CodedError';\n\n/**\n * A class for errors to be thrown when a property is accessed which is\n * unavailable, unsupported, or not currently implemented on the running\n * platform.\n */\nexport class UnavailabilityError extends CodedError {\n constructor(moduleName: string, propertyName: string) {\n super(\n 'ERR_UNAVAILABLE',\n `The method or property ${moduleName}.${propertyName} is not available on ${Platform.OS}, are you sure you've linked all the native dependencies properly?`\n );\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _normalizeColor=_interopRequireDefault(require(\"react-native-web/src/modules/normalizeColor\"));var NativeLinearGradient=function NativeLinearGradient(_ref){var colors=_ref.colors,locations=_ref.locations,startPoint=_ref.startPoint,endPoint=_ref.endPoint,props=(0,_objectWithoutProperties2.default)(_ref,[\"colors\",\"locations\",\"startPoint\",\"endPoint\"]);var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),layout=_useState2[0],setLayout=_useState2[1];var _useState3=(0,_react.useState)([]),_useState4=(0,_slicedToArray2.default)(_useState3,2),gradientColors=_useState4[0],setGradientColors=_useState4[1];var _useState5=(0,_react.useState)(0),_useState6=(0,_slicedToArray2.default)(_useState5,2),pseudoAngle=_useState6[0],setPseudoAngle=_useState6[1];(0,_react.useEffect)(function(){var getControlPoints=function getControlPoints(){var correctedStartPoint=[0,0];if(Array.isArray(startPoint)){correctedStartPoint=[startPoint[0]!=null?startPoint[0]:0.0,startPoint[1]!=null?startPoint[1]:0.0];}var correctedEndPoint=[0.0,1.0];if(Array.isArray(endPoint)){correctedEndPoint=[endPoint[0]!=null?endPoint[0]:0.0,endPoint[1]!=null?endPoint[1]:1.0];}return[correctedStartPoint,correctedEndPoint];};var _getControlPoints=getControlPoints(),_getControlPoints2=(0,_slicedToArray2.default)(_getControlPoints,2),start=_getControlPoints2[0],end=_getControlPoints2[1];var _ref2=layout||{},_ref2$width=_ref2.width,width=_ref2$width===void 0?1:_ref2$width,_ref2$height=_ref2.height,height=_ref2$height===void 0?1:_ref2$height;start[0]*=width;end[0]*=width;start[1]*=height;end[1]*=height;var py=end[1]-start[1];var px=end[0]-start[0];setPseudoAngle(90+Math.atan2(py,px)*180/Math.PI);},[startPoint,endPoint]);(0,_react.useEffect)(function(){var nextGradientColors=colors.map(function(color,index){var hexColor=(0,_normalizeColor.default)(color);var output=hexColor;if(locations&&locations[index]){var location=Math.max(0,Math.min(1,locations[index]));var percentage=location*100;output+=\" \"+percentage+\"%\";}return output;});setGradientColors(nextGradientColors);},[colors,locations]);var colorStyle=gradientColors.join(',');var backgroundImage=\"linear-gradient(\"+pseudoAngle+\"deg, \"+colorStyle+\")\";return _react.default.createElement(_View.default,(0,_extends2.default)({},props,{style:[props.style,{backgroundImage:backgroundImage}],onLayout:function onLayout(event){setLayout(event.nativeEvent.layout);if(props.onLayout){props.onLayout(event);}}}));};var _default=N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AjB,CACD,CAdD,CAcG,CAAC,MAAD,CAAS,SAAT,CAdH,EAgBA,GAAM,CAAA,UAAU,CAAG,cAAc,CAAC,IAAf,CAAoB,GAApB,CAAnB,CACA,GAAM,CAAA,eAAe,oBAAsB,WAAtB,SAAyC,UAAzC,IAArB,CAGA,MACE,8BAAC,aAAD,0BACM,KADN,EAEE,KAAK,CAAE,CACL,KAAK,CAAC,KADD,CAGL,CAAE,eAAe,CAAf,eAAF,CAHK,CAFT,CAOE,QAAQ,CAAE,kBAAA,KAAK,CAAG,CAChB,SAAS,CAAC,KAAK,CAAC,WAAN,CAAkB,MAAnB,CAAT,CACA,GAAI,KAAK,CAAC,QAAV,CAAoB,CAClB,KAAK,CAAC,QAAN,CAAe,KAAf,EACD,CACF,CAZH,GADF,CAgBD,CA9ED,C,aAgFe,oB","sourcesContent":["import React, { FunctionComponent, useEffect, useState } from 'react';\nimport { LayoutRectangle, View } from 'react-native';\nimport normalizeColor from 'react-native-web/src/modules/normalizeColor';\n\ntype Props = {\n colors: number[];\n locations?: number[] | null;\n startPoint?: Point | null;\n endPoint?: Point | null;\n onLayout?: Function;\n} & React.ComponentProps<typeof View>;\n\ntype Point = [number, number];\n\nconst NativeLinearGradient: FunctionComponent<Props> = ({\n colors,\n locations,\n startPoint,\n endPoint,\n ...props\n}: Props) => {\n const [layout, setLayout] = useState<LayoutRectangle | null>(null);\n const [gradientColors, setGradientColors] = useState<string[]>([]);\n const [pseudoAngle, setPseudoAngle] = useState<number>(0);\n\n useEffect(() => {\n const getControlPoints = (): Point[] => {\n let correctedStartPoint: Point = [0, 0];\n if (Array.isArray(startPoint)) {\n correctedStartPoint = [\n startPoint[0] != null ? startPoint[0] : 0.0,\n startPoint[1] != null ? startPoint[1] : 0.0,\n ];\n }\n let correctedEndPoint: Point = [0.0, 1.0];\n if (Array.isArray(endPoint)) {\n correctedEndPoint = [\n endPoint[0] != null ? endPoint[0] : 0.0,\n endPoint[1] != null ? endPoint[1] : 1.0,\n ];\n }\n return [correctedStartPoint, correctedEndPoint];\n };\n\n const [start, end] = getControlPoints();\n const { width = 1, height = 1 } = layout || {};\n start[0] *= width;\n end[0] *= width;\n start[1] *= height;\n end[1] *= height;\n const py = end[1] - start[1];\n const px = end[0] - start[0];\n\n setPseudoAngle(90 + (Math.atan2(py, px) * 180) / Math.PI);\n }, [startPoint, endPoint]);\n\n useEffect(() => {\n const nextGradientColors = colors.map((color: number, index: number): string => {\n const hexColor = normalizeColor(color);\n let output = hexColor;\n if (locations && locations[index]) {\n const location = Math.max(0, Math.min(1, locations[index]));\n // Convert 0...1 to 0...100\n const percentage = location * 100;\n output += ` ${percentage}%`;\n }\n return output;\n });\n\n setGradientColors(nextGradientColors);\n }, [colors, locations]);\n\n const colorStyle = gradientColors.join(',');\n const backgroundImage = `linear-gradient(${pseudoAngle}deg, ${colorStyle})`;\n // TODO: Bacon: In the future we could consider adding `backgroundRepeat: \"no-repeat\"`. For more\n // browser support.\n return (\n <View\n {...props}\n style={[\n props.style,\n // @ts-ignore: [ts] Property 'backgroundImage' does not exist on type 'ViewStyle'.\n { backgroundImage },\n ]}\n onLayout={event => {\n setLayout(event.nativeEvent.layout);\n if (props.onLayout) {\n props.onLayout(event);\n }\n }}\n />\n );\n};\n\nexport default NativeLinearGradient;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedEvent=require(\"./AnimatedEvent\");var _AnimatedProps=_interopRequireDefault(require(\"./nodes/AnimatedProps\"));var _react=_interopRequireDefault(require(\"react\"));var _ViewStylePropTypes=_interopRequireDefault(require(\"../../../exports/View/ViewStylePropTypes\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");}return self;}function createAnimatedComponent(Component){(0,_invariant.default)(typeof Component==='string'||Component.prototype&&Component.prototype.isReactComponent,'`createAnimatedComponent` does not support stateless functional components; '+'use a class component instead.');var AnimatedComponent=function(_React$Component){_inheritsLoose(AnimatedComponent,_React$Component);function AnimatedComponent(props){var _this;_this=_React$Component.call(this,props)||this;_this._invokeAnimatedPropsCallbackOnMount=false;_this._eventDetachers=[];_this._animatedPropsCallback=function(){if(_this._component==null){_this._invokeAnimatedPropsCallbackOnMount=true;}else if(AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY||typeof _this._component.setNativeProps!=='function'){_this.forceUpdate();}else if(!_this._propsAnimated.__isNative){_this._component.setNativeProps(_this._propsAnimated.__getAnimatedValue());}else{throw new Error('Attempting to run JS driven animation on animated '+'node that has been moved to \"native\" earlier by starting an '+'animation with `useNativeDriver: true`');}};_this._setComponentRef=_this._setComponentRef.bind(_assertThisInitialized(_assertThisInitialized(_this)));return _this;}var _proto=AnimatedComponent.prototype;_proto.componentWillUnmount=function componentWillUnmount(){this._propsAnimated&&this._propsAnimated.__detach();this._detachNativeEvents();};_proto.setNativeProps=function setNativeProps(props){this._component.setNativeProps(props);};_proto.UNSAFE_componentWillMount=function UNSAFE_componentWillMount(){this._attachProps(this.props);};_proto.componentDidMount=function componentDidMount(){if(this._invokeAnimatedPropsCallbackOnMount){this._invokeAnimatedPropsCallbackOnMount=false;this._animatedPropsCallback();}this._propsAnimated.setNativeView(this._component);this._attachNativeEvents();};_proto._attachNativeEvents=function _attachNativeEvents(){var _this2=this;var scrollableNode=this._component.getScrollableNode?this._component.getScrollableNode():this._component;var _loop=function _loop(key){var prop=_this2.props[key];if(prop instanceof _AnimatedEvent.AnimatedEvent&&prop.__isNative){prop.__attach(scrollableNode,key);_this2._eventDetachers.push(function(){return prop.__detach(scrollableNode,key);});}};for(var key in this.props){_loop(key);}};_proto._detachNativeEvents=function _detachNativeEvents(){this._eventDetachers.forEach(function(remove){return remove();});this._eventDetachers=[];};_proto._attachProps=function _attachProps(nextProps){var oldPropsAnimated=this._propsAnimated;this._propsAnimated=new _AnimatedProps.default(nextProps,this._animatedPropsCallback);oldPropsAnimated&&oldPropsAnimated.__detach();};_proto.UNSAFE_componentWillReceiveProps=function UNSAFE_componentWillReceiveProps(newProps){this._attachProps(newProps);};_proto.componentDidUpdate=function componentDidUpdate(prevProps){if(this._component!==this._prevComponent){this._propsAnimated.setNativeView(this._component);}if(this._component!==this._prevComponent||prevProps!==this.props){this._detachNativeEvents();this._attachNativeEvents();}};_proto.render=function render(){var props=this._propsAnimated.__getValue();return _react.default.createElement(Component,_extends({},props,{ref:this._setComponentRef,collapsable:this._propsAnimated.__isNative?false:props.collapsable}));};_proto._setComponentRef=function _setComponentRef(c){this._prevComponent=this._component;this._component=c;};_proto.getNode=function getNode(){return this._component;};return AnimatedComponent;}(_react.default.Component);AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY=false;var propTypes=Component.propTypes;AnimatedComponent.propTypes=process.env.NODE_ENV!==\"production\"?{style:function style(props,propName,componentName){if(!propTypes){return;}for(var key in _ViewStylePropTypes.default){if(!propTypes[key]&&props[key]!==undefined){console.warn('You are setting the style `{ '+key+': ... }` as a prop. You '+'should nest it in a style object. '+'E.g. `{ style: { '+key+': ... } }`');}}}}:{};return AnimatedComponent;}var _default=createAnimatedComponent;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/createAnimatedComponent.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_inheritsLoose","subClass","superClass","create","constructor","__proto__","_assertThisInitialized","self","ReferenceError","createAnimatedComponent","Component","isReactComponent","AnimatedComponent","_React$Component","props","_this","_invokeAnimatedPropsCallbackOnMount","_eventDetachers","_animatedPropsCallback","_component","__skipSetNativeProps_FOR_TESTS_ONLY","setNativeProps","forceUpdate","_propsAnimated","__isNative","__getAnimatedValue","Error","_setComponentRef","bind","_proto","componentWillUnmount","__detach","_detachNativeEvents","UNSAFE_componentWillMount","_attachProps","componentDidMount","setNativeView","_attachNativeEvents","_this2","scrollableNode","getScrollableNode","_loop","prop","AnimatedEvent","__attach","push","forEach","remove","nextProps","oldPropsAnimated","AnimatedProps","UNSAFE_componentWillReceiveProps","newProps","componentDidUpdate","prevProps","_prevComponent","render","__getValue","React","createElement","ref","collapsable","c","getNode","propTypes","process","env","NODE_ENV","style","propName","componentName","ViewStylePropTypes","undefined","console","warn"],"mappings":"AASA,a,mKAQA,8CACA,4EACA,oDACA,oGACA,qEAVA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAE7T,QAASQ,CAAA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,CAAwD,KAAxD,CACA,GAAI4C,CAAAA,SAAS,CAAGtD,SAAS,CAACsD,SAA1B,CACApD,iBAAiB,CAACoD,SAAlB,CAA8BC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwC,CACpEC,KAAK,CAAE,QAASA,CAAAA,KAAT,CAAetD,KAAf,CAAsBuD,QAAtB,CAAgCC,aAAhC,CAA+C,CACpD,GAAI,CAACN,SAAL,CAAgB,CACd,OACD,CAED,IAAK,GAAIrE,CAAAA,GAAT,GAAgB4E,4BAAhB,CAAoC,CAClC,GAAI,CAACP,SAAS,CAACrE,GAAD,CAAV,EAAmBmB,KAAK,CAACnB,GAAD,CAAL,GAAe6E,SAAtC,CAAiD,CAC/CC,OAAO,CAACC,IAAR,CAAa,gCAAkC/E,GAAlC,CAAwC,0BAAxC,CAAqE,oCAArE,CAA4G,mBAA5G,CAAkIA,GAAlI,CAAwI,YAArJ,EACD,CACF,CACF,CAXmE,CAAxC,CAY1B,EAZJ,CAaA,MAAOiB,CAAAA,iBAAP,CACD,C,aAEcH,uB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nimport { AnimatedEvent } from './AnimatedEvent';\nimport AnimatedProps from './nodes/AnimatedProps';\nimport React from 'react';\nimport ViewStylePropTypes from '../../../exports/View/ViewStylePropTypes';\nimport invariant from 'fbjs/lib/invariant';\n\nfunction createAnimatedComponent(Component) {\n invariant(typeof Component === 'string' || Component.prototype && Component.prototype.isReactComponent, '`createAnimatedComponent` does not support stateless functional components; ' + 'use a class component instead.');\n\n var AnimatedComponent =\n /*#__PURE__*/\n function (_React$Component) {\n _inheritsLoose(AnimatedComponent, _React$Component);\n\n function AnimatedComponent(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this._invokeAnimatedPropsCallbackOnMount = false;\n _this._eventDetachers = [];\n\n _this._animatedPropsCallback = function () {\n if (_this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n _this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY || typeof _this._component.setNativeProps !== 'function') {\n _this.forceUpdate();\n } else if (!_this._propsAnimated.__isNative) {\n _this._component.setNativeProps(_this._propsAnimated.__getAnimatedValue());\n } else {\n throw new Error('Attempting to run JS driven animation on animated ' + 'node that has been moved to \"native\" earlier by starting an ' + 'animation with `useNativeDriver: true`');\n }\n };\n\n _this._setComponentRef = _this._setComponentRef.bind(_assertThisInitialized(_assertThisInitialized(_this)));\n return _this;\n }\n\n var _proto = AnimatedComponent.prototype;\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._propsAnimated && this._propsAnimated.__detach();\n\n this._detachNativeEvents();\n };\n\n _proto.setNativeProps = function setNativeProps(props) {\n this._component.setNativeProps(props);\n };\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n this._attachProps(this.props);\n };\n\n _proto.componentDidMount = function componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n\n this._attachNativeEvents();\n };\n\n _proto._attachNativeEvents = function _attachNativeEvents() {\n var _this2 = this;\n\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n var scrollableNode = this._component.getScrollableNode ? this._component.getScrollableNode() : this._component;\n\n var _loop = function _loop(key) {\n var prop = _this2.props[key];\n\n if (prop instanceof AnimatedEvent && prop.__isNative) {\n prop.__attach(scrollableNode, key);\n\n _this2._eventDetachers.push(function () {\n return prop.__detach(scrollableNode, key);\n });\n }\n };\n\n for (var key in this.props) {\n _loop(key);\n }\n };\n\n _proto._detachNativeEvents = function _detachNativeEvents() {\n this._eventDetachers.forEach(function (remove) {\n return remove();\n });\n\n this._eventDetachers = [];\n } // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on leaf native\n // components. If you want to animate a composite component, you need to\n // re-render it. In this case, we have a fallback that uses forceUpdate.\n ;\n\n _proto._attachProps = function _attachProps(nextProps) {\n var oldPropsAnimated = this._propsAnimated;\n this._propsAnimated = new AnimatedProps(nextProps, this._animatedPropsCallback); // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n\n oldPropsAnimated && oldPropsAnimated.__detach();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(newProps) {\n this._attachProps(newProps);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n if (this._component !== this._prevComponent) {\n this._propsAnimated.setNativeView(this._component);\n }\n\n if (this._component !== this._prevComponent || prevProps !== this.props) {\n this._detachNativeEvents();\n\n this._attachNativeEvents();\n }\n };\n\n _proto.render = function render() {\n var props = this._propsAnimated.__getValue();\n\n return React.createElement(Component, _extends({}, props, {\n ref: this._setComponentRef // The native driver updates views directly through the UI thread so we\n // have to make sure the view doesn't get optimized away because it cannot\n // go through the NativeViewHierarchyManager since it operates on the shadow\n // thread.\n ,\n collapsable: this._propsAnimated.__isNative ? false : props.collapsable\n }));\n };\n\n _proto._setComponentRef = function _setComponentRef(c) {\n this._prevComponent = this._component;\n this._component = c;\n } // A third party library can use getNode()\n // to get the node reference of the decorated component\n ;\n\n _proto.getNode = function getNode() {\n return this._component;\n };\n\n return AnimatedComponent;\n }(React.Component);\n\n AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY = false;\n var propTypes = Component.propTypes;\n AnimatedComponent.propTypes = process.env.NODE_ENV !== \"production\" ? {\n style: function style(props, propName, componentName) {\n if (!propTypes) {\n return;\n }\n\n for (var key in ViewStylePropTypes) {\n if (!propTypes[key] && props[key] !== undefined) {\n console.warn('You are setting the style `{ ' + key + ': ... }` as a prop. You ' + 'should nest it in a style object. ' + 'E.g. `{ style: { ' + key + ': ... } }`');\n }\n }\n }\n } : {};\n return AnimatedComponent;\n}\n\nexport default createAnimatedComponent;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});var _exportNames={createNavigationContainer:true,createStackNavigator:true,createBottomTabNavigator:true,createMaterialTopTabNavigator:true,createDrawerNavigator:true,StackGestureContext:true,DrawerGestureContext:true,DrawerRouter:true,DrawerActions:true,Transitioner:true,StackView:true,StackViewCard:true,StackViewTransitionConfigs:true,Header:true,HeaderTitle:true,HeaderBackButton:true,HeaderStyleInterpolator:true,DrawerView:true,DrawerItems:true,DrawerSidebar:true,BottomTabBar:true,MaterialTopTabBar:true};Object.defineProperty(exports,\"createNavigationContainer\",{enumerable:true,get:function get(){return _deprecations.createNavigationContainer;}});Object.defineProperty(exports,\"createStackNavigator\",{enumerable:true,get:function get(){return _deprecations.createStackNavigator;}});Object.defineProperty(exports,\"createBottomTabNavigator\",{enumerable:true,get:function get(){return _deprecations.createBottomTabNavigator;}});Object.defineProperty(exports,\"createMaterialTopTabNavigator\",{enumerable:true,get:function get(){return _deprecations.createMaterialTopTabNavigator;}});Object.defineProperty(exports,\"createDrawerNavigator\",{enumerable:true,get:function get(){return _deprecations.createDrawerNavigator;}});Object.defineProperty(exports,\"StackGestureContext\",{enumerable:true,get:function get(){return _deprecations.StackGestureContext;}});Object.defineProperty(exports,\"DrawerGestureContext\",{enumerable:true,get:function get(){return _deprecations.DrawerGestureContext;}});Object.defineProperty(exports,\"DrawerRouter\",{enumerable:true,get:function get(){return _deprecations.DrawerRouter;}});Object.defineProperty(exports,\"DrawerActions\",{enumerable:true,get:function get(){return _deprecations.DrawerActions;}});Object.defineProperty(exports,\"Transitioner\",{enumerable:true,get:function get(){return _deprecations.Transitioner;}});Object.defineProperty(exports,\"StackView\",{enumerable:true,get:function get(){return _deprecations.StackView;}});Object.defineProperty(exports,\"StackViewCard\",{enumerable:true,get:function get(){return _deprecations.StackViewCard;}});Object.defineProperty(exports,\"StackViewTransitionConfigs\",{enumerable:true,get:function get(){return _deprecations.StackViewTransitionConfigs;}});Object.defineProperty(exports,\"Header\",{enumerable:true,get:function get(){return _deprecations.Header;}});Object.defineProperty(exports,\"HeaderTitle\",{enumerable:true,get:function get(){return _deprecations.HeaderTitle;}});Object.defineProperty(exports,\"HeaderBackButton\",{enumerable:true,get:function get(){return _deprecations.HeaderBackButton;}});Object.defineProperty(exports,\"HeaderStyleInterpolator\",{enumerable:true,get:function get(){return _deprecations.HeaderStyleInterpolator;}});Object.defineProperty(exports,\"DrawerView\",{enumerable:true,get:function get(){return _deprecations.DrawerView;}});Object.defineProperty(exports,\"DrawerItems\",{enumerable:true,get:function get(){return _deprecations.DrawerItems;}});Object.defineProperty(exports,\"DrawerSidebar\",{enumerable:true,get:function get(){return _deprecations.DrawerSidebar;}});Object.defineProperty(exports,\"BottomTabBar\",{enumerable:true,get:function get(){return _deprecations.BottomTabBar;}});Object.defineProperty(exports,\"MaterialTopTabBar\",{enumerable:true,get:function get(){return _deprecations.MaterialTopTabBar;}});var _core=require(\"@react-navigation/core\");Object.keys(_core).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _core[key];}});});var _native=require(\"@react-navigation/native\");Object.keys(_native).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _native[key];}});});var _deprecations=require(\"./deprecations\");","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-navigation/src/react-navigation.js"],"names":[],"mappings":"wzGAAA,mSACA,2SAIA","sourcesContent":["export * from '@react-navigation/core';\nexport * from '@react-navigation/native';\n\n// Export each item individually so that they can be evaluated lazily\n// https://babeljs.io/docs/en/babel-plugin-transform-modules-commonjs#lazy\nexport {\n createNavigationContainer,\n createStackNavigator,\n createBottomTabNavigator,\n createMaterialTopTabNavigator,\n createDrawerNavigator,\n StackGestureContext,\n DrawerGestureContext,\n DrawerRouter,\n DrawerActions,\n Transitioner,\n StackView,\n StackViewCard,\n StackViewTransitionConfigs,\n Header,\n HeaderTitle,\n HeaderBackButton,\n HeaderStyleInterpolator,\n DrawerView,\n DrawerItems,\n DrawerSidebar,\n BottomTabBar,\n MaterialTopTabBar,\n} from './deprecations';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedValue=_interopRequireDefault(require(\"../nodes/AnimatedValue\"));var _AnimatedValueXY=_interopRequireDefault(require(\"../nodes/AnimatedValueXY\"));var _Animation2=_interopRequireDefault(require(\"./Animation\"));var _Easing=_interopRequireDefault(require(\"../Easing\"));var _NativeAnimatedHelper=require(\"../NativeAnimatedHelper\");function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var _easeInOut;function easeInOut(){if(!_easeInOut){_easeInOut=_Easing.default.inOut(_Easing.default.ease);}return _easeInOut;}var TimingAnimation=function(_Animation){_inheritsLoose(TimingAnimation,_Animation);function TimingAnimation(config){var _this;_this=_Animation.call(this)||this;_this._toValue=config.toValue;_this._easing=config.easing!==undefined?config.easing:easeInOut();_this._duration=config.duration!==undefined?config.duration:500;_this._delay=config.delay!==undefined?config.delay:0;_this.__iterations=config.iterations!==undefined?config.iterations:1;_this.__isInteraction=config.isInteraction!==undefined?config.isInteraction:true;_this._useNativeDriver=(0,_NativeAnimatedHelper.shouldUseNativeDriver)(config);return _this;}var _proto=TimingAnimation.prototype;_proto.__getNativeAnimationConfig=function __getNativeAnimationConfig(){var frameDuration=1000.0/60.0;var frames=[];for(var dt=0.0;dt<this._duration;dt+=frameDuration){frames.push(this._easing(dt/this._duration));}frames.push(this._easing(1));return{type:'frames',frames:frames,toValue:this._toValue,iterations:this.__iterations};};_proto.start=function start(fromValue,onUpdate,onEnd,previousAnimation,animatedValue){var _this2=this;this.__active=true;this._fromValue=fromValue;this._onUpdate=onUpdate;this.__onEnd=onEnd;var start=function start(){if(_this2._duration===0&&!_this2._useNativeDriver){_this2._onUpdate(_this2._toValue);_this2.__debouncedOnEnd({finished:true});}else{_this2._startTime=Date.now();if(_this2._useNativeDriver){_this2.__startNativeAnimation(animatedValue);}else{_this2._animationFrame=requestAnimationFrame(_this2.onUpdate.bind(_this2));}}};if(this._delay){this._timeout=setTimeout(start,this._delay);}else{start();}};_proto.onUpdate=function onUpdate(){var now=Date.now();if(now>=this._startTime+this._duration){if(this._duration===0){this._onUpdate(this._toValue);}else{this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue));}this.__debouncedOnEnd({finished:true});return;}this._onUpdate(this._fromValue+this._easing((now-this._startTime)/this._duration)*(this._toValue-this._fromValue));if(this.__active){this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this));}};_proto.stop=function stop(){_Animation.prototype.stop.call(this);this.__active=false;clearTimeout(this._timeout);global.cancelAnimationFrame(this._animationFrame);this.__debouncedOnEnd({finished:false});};return TimingAnimation;}(_Animation2.default);var _default=TimingAnimation;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/animations/TimingAnimation.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","_easeInOut","easeInOut","Easing","inOut","ease","TimingAnimation","_Animation","config","_this","call","_toValue","toValue","_easing","easing","undefined","_duration","duration","_delay","delay","__iterations","iterations","__isInteraction","isInteraction","_useNativeDriver","_proto","__getNativeAnimationConfig","frameDuration","frames","dt","push","type","start","fromValue","onUpdate","onEnd","previousAnimation","animatedValue","_this2","__active","_fromValue","_onUpdate","__onEnd","__debouncedOnEnd","finished","_startTime","Date","now","__startNativeAnimation","_animationFrame","requestAnimationFrame","bind","_timeout","setTimeout","stop","clearTimeout","global","cancelAnimationFrame","Animation"],"mappings":"AASA,a,mKAIA,6EACA,iFACA,+DACA,yDACA,6DANA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAQvL,GAAIM,CAAAA,UAAJ,CAEA,QAASC,CAAAA,SAAT,EAAqB,CACnB,GAAI,CAACD,UAAL,CAAiB,CACfA,UAAU,CAAGE,gBAAOC,KAAP,CAAaD,gBAAOE,IAApB,CAAb,CACD,CAED,MAAOJ,CAAAA,UAAP,CACD,CAED,GAAIK,CAAAA,eAAe,CAEnB,SAAUC,UAAV,CAAsB,CACpBd,cAAc,CAACa,eAAD,CAAkBC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A7GF,CAFA,C,aAiHepD,e","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedValue from '../nodes/AnimatedValue';\nimport AnimatedValueXY from '../nodes/AnimatedValueXY';\nimport Animation from './Animation';\nimport Easing from '../Easing';\nimport { shouldUseNativeDriver } from '../NativeAnimatedHelper';\n\nvar _easeInOut;\n\nfunction easeInOut() {\n if (!_easeInOut) {\n _easeInOut = Easing.inOut(Easing.ease);\n }\n\n return _easeInOut;\n}\n\nvar TimingAnimation =\n/*#__PURE__*/\nfunction (_Animation) {\n _inheritsLoose(TimingAnimation, _Animation);\n\n function TimingAnimation(config) {\n var _this;\n\n _this = _Animation.call(this) || this;\n _this._toValue = config.toValue;\n _this._easing = config.easing !== undefined ? config.easing : easeInOut();\n _this._duration = config.duration !== undefined ? config.duration : 500;\n _this._delay = config.delay !== undefined ? config.delay : 0;\n _this.__iterations = config.iterations !== undefined ? config.iterations : 1;\n _this.__isInteraction = config.isInteraction !== undefined ? config.isInteraction : true;\n _this._useNativeDriver = shouldUseNativeDriver(config);\n return _this;\n }\n\n var _proto = TimingAnimation.prototype;\n\n _proto.__getNativeAnimationConfig = function __getNativeAnimationConfig() {\n var frameDuration = 1000.0 / 60.0;\n var frames = [];\n\n for (var dt = 0.0; dt < this._duration; dt += frameDuration) {\n frames.push(this._easing(dt / this._duration));\n }\n\n frames.push(this._easing(1));\n return {\n type: 'frames',\n frames: frames,\n toValue: this._toValue,\n iterations: this.__iterations\n };\n };\n\n _proto.start = function start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {\n var _this2 = this;\n\n this.__active = true;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n\n var start = function start() {\n // Animations that sometimes have 0 duration and sometimes do not\n // still need to use the native driver when duration is 0 so as to\n // not cause intermixed JS and native animations.\n if (_this2._duration === 0 && !_this2._useNativeDriver) {\n _this2._onUpdate(_this2._toValue);\n\n _this2.__debouncedOnEnd({\n finished: true\n });\n } else {\n _this2._startTime = Date.now();\n\n if (_this2._useNativeDriver) {\n _this2.__startNativeAnimation(animatedValue);\n } else {\n _this2._animationFrame = requestAnimationFrame(_this2.onUpdate.bind(_this2));\n }\n }\n };\n\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n };\n\n _proto.onUpdate = function onUpdate() {\n var now = Date.now();\n\n if (now >= this._startTime + this._duration) {\n if (this._duration === 0) {\n this._onUpdate(this._toValue);\n } else {\n this._onUpdate(this._fromValue + this._easing(1) * (this._toValue - this._fromValue));\n }\n\n this.__debouncedOnEnd({\n finished: true\n });\n\n return;\n }\n\n this._onUpdate(this._fromValue + this._easing((now - this._startTime) / this._duration) * (this._toValue - this._fromValue));\n\n if (this.__active) {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n };\n\n _proto.stop = function stop() {\n _Animation.prototype.stop.call(this);\n\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n\n this.__debouncedOnEnd({\n finished: false\n });\n };\n\n return TimingAnimation;\n}(Animation);\n\nexport default TimingAnimation;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propsToAriaRole=_interopRequireDefault(require(\"./propsToAriaRole\"));var roleComponents={article:'article',banner:'header',complementary:'aside',contentinfo:'footer',form:'form',link:'a',list:'ul',listitem:'li',main:'main',navigation:'nav',region:'section'};var emptyObject={};var propsToAccessibilityComponent=function propsToAccessibilityComponent(props){if(props===void 0){props=emptyObject;}if(props.accessibilityRole==='label'){return'label';}var role=(0,_propsToAriaRole.default)(props);if(role){if(role==='heading'){var level=props['aria-level']||1;return\"h\"+level;}return roleComponents[role];}};var _default=propsToAccessibilityComponent;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAccessibilityComponent.js"],"names":["roleComponents","article","banner","complementary","contentinfo","form","link","list","listitem","main","navigation","region","emptyObject","propsToAccessibilityComponent","props","accessibilityRole","role","level"],"mappings":"mKAQA,0EACA,GAAIA,CAAAA,cAAc,CAAG,CACnBC,OAAO,CAAE,SADU,CAEnBC,MAAM,CAAE,QAFW,CAGnBC,aAAa,CAAE,OAHI,CAInBC,WAAW,CAAE,QAJM,CAKnBC,IAAI,CAAE,MALa,CAMnBC,IAAI,CAAE,GANa,CAOnBC,IAAI,CAAE,IAPa,CAQnBC,QAAQ,CAAE,IARS,CASnBC,IAAI,CAAE,MATa,CAUnBC,UAAU,CAAE,KAVO,CAWnBC,MAAM,CAAE,SAXW,CAArB,CAaA,GAAIC,CAAAA,WAAW,CAAG,EAAlB,CAEA,GAAIC,CAAAA,6BAA6B,CAAG,QAASA,CAAAA,6BAAT,CAAuCC,KAAvC,CAA8C,CAChF,GAAIA,KAAK,GAAK,IAAK,EAAnB,CAAsB,CACpBA,KAAK,CAAGF,WAAR,CACD,CAGD,GAAIE,KAAK,CAACC,iBAAN,GAA4B,OAAhC,CAAyC,CACvC,MAAO,OAAP,CACD,CAED,GAAIC,CAAAA,IAAI,CAAG,6BAAgBF,KAAhB,CAAX,CAEA,GAAIE,IAAJ,CAAU,CACR,GAAIA,IAAI,GAAK,SAAb,CAAwB,CACtB,GAAIC,CAAAA,KAAK,CAAGH,KAAK,CAAC,YAAD,CAAL,EAAuB,CAAnC,CACA,MAAO,IAAMG,KAAb,CACD,CAED,MAAOjB,CAAAA,cAAc,CAACgB,IAAD,CAArB,CACD,CACF,CApBD,C,aAsBeH,6B","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport propsToAriaRole from './propsToAriaRole';\nvar roleComponents = {\n article: 'article',\n banner: 'header',\n complementary: 'aside',\n contentinfo: 'footer',\n form: 'form',\n link: 'a',\n list: 'ul',\n listitem: 'li',\n main: 'main',\n navigation: 'nav',\n region: 'section'\n};\nvar emptyObject = {};\n\nvar propsToAccessibilityComponent = function propsToAccessibilityComponent(props) {\n if (props === void 0) {\n props = emptyObject;\n }\n\n // special-case for \"label\" role which doesn't map to an ARIA role\n if (props.accessibilityRole === 'label') {\n return 'label';\n }\n\n var role = propsToAriaRole(props);\n\n if (role) {\n if (role === 'heading') {\n var level = props['aria-level'] || 1;\n return \"h\" + level;\n }\n\n return roleComponents[role];\n }\n};\n\nexport default propsToAccessibilityComponent;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.jumpTo=exports.JUMP_TO=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var JUMP_TO='Navigation/JUMP_TO';exports.JUMP_TO=JUMP_TO;var jumpTo=function jumpTo(payload){return(0,_objectSpread2.default)({type:JUMP_TO,preserveFocus:true},payload);};exports.jumpTo=jumpTo;","map":{"version":3,"sources":["SwitchActions.ts"],"names":["JUMP_TO","jumpTo","type","preserveFocus"],"mappings":"kLAAA,0FAAO,GAAMA,CAAAA,OAAO,CAAb,oBAAA,C,wBAEA,GAAMC,CAAAA,MAAM,CAANA,QAAAA,CAAAA,MAAAA,CAAS,OAATA,CAAS,CAAA,MAAA,2BAAA,CAKpBC,IAAI,CALgB,OAAA,CAMpBC,aAAa,CANO,IAAA,CAAA,CAAA,OAAA,CAAA,CAAf,CAAA,C","sourcesContent":["export const JUMP_TO = 'Navigation/JUMP_TO';\n\nexport const jumpTo = (payload: {\n routeName: string;\n key: string;\n params?: object;\n}) => ({\n type: JUMP_TO,\n preserveFocus: true,\n ...payload,\n});\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _Asset=require(\"./Asset\");var _resolveAssetSource=require(\"./resolveAssetSource\");(0,_resolveAssetSource.setCustomSourceTransformer)(function(resolver){try{var asset=_Asset.Asset.fromMetadata(resolver.asset);return resolver.fromSource(asset.downloaded?asset.localUri:asset.uri);}catch(e){return resolver.defaultAsset();}});","map":{"version":3,"sources":["../src/Asset.fx.ts"],"names":[],"mappings":"AAAA,8BACA,wDAGA,mDAA2B,SAAA,QAAQ,CAAG,CACpC,GAAI,CACF,GAAM,CAAA,KAAK,CAAG,aAAM,YAAN,CAAmB,QAAQ,CAAC,KAA5B,CAAd,CACA,MAAO,CAAA,QAAQ,CAAC,UAAT,CAAoB,KAAK,CAAC,UAAN,CAAmB,KAAK,CAAC,QAAzB,CAAqC,KAAK,CAAC,GAA/D,CAAP,CACD,CAAC,MAAO,CAAP,CAAU,CACV,MAAO,CAAA,QAAQ,CAAC,YAAT,EAAP,CACD,CACF,CAPD","sourcesContent":["import { Asset } from './Asset';\nimport { setCustomSourceTransformer } from './resolveAssetSource';\n\n// Override React Native's asset resolution for `Image` components\nsetCustomSourceTransformer(resolver => {\n try {\n const asset = Asset.fromMetadata(resolver.asset);\n return resolver.fromSource(asset.downloaded ? asset.localUri! : asset.uri);\n } catch (e) {\n return resolver.defaultAsset();\n }\n});\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.TOUCHABLE_STATE=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _GestureHandler=require(\"../GestureHandler\");var _propTypes=_interopRequireDefault(require(\"prop-types\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var TOUCHABLE_STATE={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};exports.TOUCHABLE_STATE=TOUCHABLE_STATE;var PublicPropTypes={accessible:_propTypes.default.bool,accessibilityLabel:_propTypes.default.node,accessibilityHint:_propTypes.default.string,hitSlop:_propTypes.default.shape({top:_propTypes.default.number,left:_propTypes.default.number,bottom:_propTypes.default.number,right:_propTypes.default.number}),disabled:_propTypes.default.bool,onPress:_propTypes.default.func,onPressIn:_propTypes.default.func,onPressOut:_propTypes.default.func,onLayout:_propTypes.default.func,onLongPress:_propTypes.default.func,nativeID:_propTypes.default.string,testID:_propTypes.default.string,delayPressIn:_propTypes.default.number,delayPressOut:_propTypes.default.number,delayLongPress:_propTypes.default.number};var InternalPropTypes={extraButtonProps:_propTypes.default.object,onStateChange:_propTypes.default.func};var GenericTouchable=function(_Component){(0,_inherits2.default)(GenericTouchable,_Component);function GenericTouchable(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,GenericTouchable);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(GenericTouchable)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.longPressDetected=false;_this.pointerInside=true;_this.STATE=TOUCHABLE_STATE.UNDETERMINED;_this.handlePressIn=function(){if(_this.props.delayPressIn){_this.pressInTimeout=setTimeout(function(){_this.moveToState(TOUCHABLE_STATE.BEGAN);_this.pressInTimeout=null;},_this.props.delayPressIn);}else{_this.moveToState(TOUCHABLE_STATE.BEGAN);}if(_this.props.onLongPress){var time=(_this.props.delayPressIn||0)+(_this.props.delayLongPress||0);_this.longPressTimeout=setTimeout(_this.onLongPressDetected,time);}};_this.handleMoveOutside=function(){if(_this.props.delayPressOut){_this.pressOutTimeout=_this.pressOutTimeout||setTimeout(function(){_this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);_this.pressOutTimeout=null;},_this.props.delayPressOut);}else{_this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);}};_this.handleGoToUndetermined=function(){clearTimeout(_this.pressOutTimeout);if(_this.props.delayPressOut){_this.pressOutTimeout=setTimeout(function(){if(_this.STATE===TOUCHABLE_STATE.UNDETERMINED){_this.moveToState(TOUCHABLE_STATE.BEGAN);}_this.moveToState(TOUCHABLE_STATE.UNDETERMINED);_this.pressOutTimeout=null;},_this.props.delayPressOut);}else{if(_this.STATE===TOUCHABLE_STATE.UNDETERMINED){_this.moveToState(TOUCHABLE_STATE.BEGAN);}_this.moveToState(TOUCHABLE_STATE.UNDETERMINED);}};_this.moveToState=function(newState){if(newState===_this.STATE){return;}if(newState===TOUCHABLE_STATE.BEGAN){_this.props.onPressIn&&_this.props.onPressIn();}else if(newState===TOUCHABLE_STATE.MOVED_OUTSIDE){_this.props.onPressOut&&_this.props.onPressOut();}else if(newState===TOUCHABLE_STATE.UNDETERMINED){_this.reset();if(_this.STATE===TOUCHABLE_STATE.BEGAN){_this.props.onPressOut&&_this.props.onPressOut();}}_this.props.onStateChange&&_this.props.onStateChange(_this.STATE,newState);_this.STATE=newState;};_this.onGestureEvent=function(_ref){var pointerInside=_ref.nativeEvent.pointerInside;if(_this.pointerInside!==pointerInside){if(pointerInside){_this.onMoveIn();}else{_this.onMoveOut();}}_this.pointerInside=pointerInside;};_this.onHandlerStateChange=function(_ref2){var nativeEvent=_ref2.nativeEvent;var state=nativeEvent.state;if(state===_GestureHandler.State.CANCELLED||state===_GestureHandler.State.FAILED){_this.moveToState(TOUCHABLE_STATE.UNDETERMINED);}else if(state===(_Platform.default.OS==='ios'?_GestureHandler.State.ACTIVE:_GestureHandler.State.BEGAN)&&_this.STATE===TOUCHABLE_STATE.UNDETERMINED){_this.handlePressIn();}else if(state===_GestureHandler.State.END){var shouldCallOnPress=!_this.longPressDetected&&_this.STATE!==TOUCHABLE_STATE.MOVED_OUTSIDE&&_this.pressOutTimeout===null;_this.handleGoToUndetermined();if(shouldCallOnPress){_this.props.onPress&&_this.props.onPress();}}};_this.onLongPressDetected=function(){_this.longPressDetected=true;_this.props.onLongPress();};_this.onMoveIn=function(){if(_this.STATE===TOUCHABLE_STATE.MOVED_OUTSIDE){_this.moveToState(TOUCHABLE_STATE.BEGAN);}};_this.onMoveOut=function(){clearTimeout(_this.longPressTimeout);_this.longPressTimeout=null;if(_this.STATE===TOUCHABLE_STATE.BEGAN){_this.handleMoveOutside();}};return _this;}(0,_createClass2.default)(GenericTouchable,[{key:\"componentDidMount\",value:function componentDidMount(){this.reset();}},{key:\"reset\",value:function reset(){this.longPressDetected=false;this.pointerInside=true;clearTimeout(this.pressInTimeout);clearTimeout(this.pressOutTimeout);clearTimeout(this.longPressTimeout);this.pressOutTimeout=null;this.longPressTimeout=null;this.pressInTimeout=null;}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this.reset();}},{key:\"render\",value:function render(){var coreProps={accessible:this.props.accessible!==false,accessibilityLabel:this.props.accessibilityLabel,accessibilityHint:this.props.accessibilityHint,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityRole:this.props.accessibilityRole,accessibilityStates:this.props.accessibilityStates,accessibilityTraits:this.props.accessibilityTraits,nativeID:this.props.nativeID,testID:this.props.testID,onLayout:this.props.onLayout,hitSlop:this.props.hitSlop};return _react.default.createElement(_GestureHandler.BaseButton,(0,_extends2.default)({onHandlerStateChange:this.props.disabled?null:this.onHandlerStateChange,onGestureEvent:this.onGestureEvent,hitSlop:this.props.hitSlop},this.props.extraButtonProps),_react.default.createElement(_Animated.default.View,(0,_extends2.default)({},coreProps,{style:this.props.style}),this.props.children));}}]);return GenericTouchable;}(_react.Component);exports.default=GenericTouchable;GenericTouchable.publicPropTypes=PublicPropTypes;GenericTouchable.internalPropTypes=InternalPropTypes;GenericTouchable.propTypes=_objectSpread({},InternalPropTypes,{},PublicPropTypes);GenericTouchable.defaultProps={delayLongPress:600,extraButtonProps:{rippleColor:'transparent'}};","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/touchables/GenericTouchable.js"],"names":["TOUCHABLE_STATE","UNDETERMINED","BEGAN","MOVED_OUTSIDE","PublicPropTypes","accessible","PropTypes","bool","accessibilityLabel","node","accessibilityHint","string","hitSlop","shape","top","number","left","bottom","right","disabled","onPress","func","onPressIn","onPressOut","onLayout","onLongPress","nativeID","testID","delayPressIn","delayPressOut","delayLongPress","InternalPropTypes","extraButtonProps","object","onStateChange","GenericTouchable","longPressDetected","pointerInside","STATE","handlePressIn","props","pressInTimeout","setTimeout","moveToState","time","longPressTimeout","onLongPressDetected","handleMoveOutside","pressOutTimeout","handleGoToUndetermined","clearTimeout","newState","reset","onGestureEvent","nativeEvent","onMoveIn","onMoveOut","onHandlerStateChange","state","State","CANCELLED","FAILED","Platform","OS","ACTIVE","END","shouldCallOnPress","coreProps","accessibilityComponentType","accessibilityRole","accessibilityStates","accessibilityTraits","style","children","Component","publicPropTypes","internalPropTypes","propTypes","defaultProps","rippleColor"],"mappings":"w5BAAA,qD,gLAEA,iDACA,6D,yxBASO,GAAMA,CAAAA,eAAe,CAAG,CAC7BC,YAAY,CAAE,CADe,CAE7BC,KAAK,CAAE,CAFsB,CAG7BC,aAAa,CAAE,CAHc,CAAxB,C,wCAMP,GAAMC,CAAAA,eAAe,CAAG,CAGtBC,UAAU,CAAEC,mBAAUC,IAHA,CAItBC,kBAAkB,CAAEF,mBAAUG,IAJR,CAKtBC,iBAAiB,CAAEJ,mBAAUK,MALP,CAMtBC,OAAO,CAAEN,mBAAUO,KAAV,CAAgB,CACvBC,GAAG,CAAER,mBAAUS,MADQ,CAEvBC,IAAI,CAAEV,mBAAUS,MAFO,CAGvBE,MAAM,CAAEX,mBAAUS,MAHK,CAIvBG,KAAK,CAAEZ,mBAAUS,MAJM,CAAhB,CANa,CAYtBI,QAAQ,CAAEb,mBAAUC,IAZE,CAatBa,OAAO,CAAEd,mBAAUe,IAbG,CActBC,SAAS,CAAEhB,mBAAUe,IAdC,CAetBE,UAAU,CAAEjB,mBAAUe,IAfA,CAgBtBG,QAAQ,CAAElB,mBAAUe,IAhBE,CAiBtBI,WAAW,CAAEnB,mBAAUe,IAjBD,CAkBtBK,QAAQ,CAAEpB,mBAAUK,MAlBE,CAmBtBgB,MAAM,CAAErB,mBAAUK,MAnBI,CAoBtBiB,YAAY,CAAEtB,mBAAUS,MApBF,CAqBtBc,aAAa,CAAEvB,mBAAUS,MArBH,CAsBtBe,cAAc,CAAExB,mBAAUS,MAtBJ,CAAxB,CAyBA,GAAMgB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,OAAO,CAAE,KAAK4B,KAAL,CAAW5B,OAXJ,CAAlB,CAcA,MACE,8BAAC,0BAAD,wBACE,oBAAoB,CAAE,KAAK4B,KAAL,CAAWrB,QAAX,CAAsB,IAAtB,CAA6B,KAAKsC,oBAD1D,CAEE,cAAc,CAAE,KAAKJ,cAFvB,CAGE,OAAO,CAAE,KAAKb,KAAL,CAAW5B,OAHtB,EAIM,KAAK4B,KAAL,CAAWR,gBAJjB,EAKE,6BAAC,iBAAD,CAAU,IAAV,0BAAmBmC,SAAnB,EAA8B,KAAK,CAAE,KAAK3B,KAAL,CAAWgC,KAAhD,GACG,KAAKhC,KAAL,CAAWiC,QADd,CALF,CADF,CAWD,C,8BAtN2CC,gB,mCAAzBvC,gB,CACZwC,e,CAAkBvE,e,CADN+B,gB,CAEZyC,iB,CAAoB7C,iB,CAFRI,gB,CAOZ0C,S,kBACF9C,iB,IACA3B,e,EATc+B,gB,CAYZ2C,Y,CAAe,CACpBhD,cAAc,CAAE,GADI,CAEpBE,gBAAgB,CAAE,CAChB+C,WAAW,CAAE,aADG,CAFE,C","sourcesContent":["import React, { Component } from 'react';\nimport { Animated, Platform } from 'react-native';\nimport { State, BaseButton } from '../GestureHandler';\nimport PropTypes from 'prop-types';\n\n/**\n * Each touchable is a states' machine which preforms transitions.\n * On very beginning (and on the very end or recognition) touchable is\n * UNDETERMINED. Then it moves to BEGAN. If touchable recognizes that finger\n * travel outside it transits to special MOVED_OUTSIDE state. Gesture recognition\n * finishes in UNDETERMINED state.\n */\nexport const TOUCHABLE_STATE = {\n UNDETERMINED: 0,\n BEGAN: 1,\n MOVED_OUTSIDE: 2,\n};\n\nconst PublicPropTypes = {\n // Decided to drop not used fields from RN's implementation.\n // e.g. onBlur and onFocus as well as deprecated props.\n accessible: PropTypes.bool,\n accessibilityLabel: PropTypes.node,\n accessibilityHint: PropTypes.string,\n hitSlop: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n bottom: PropTypes.number,\n right: PropTypes.number,\n }),\n disabled: PropTypes.bool,\n onPress: PropTypes.func,\n onPressIn: PropTypes.func,\n onPressOut: PropTypes.func,\n onLayout: PropTypes.func,\n onLongPress: PropTypes.func,\n nativeID: PropTypes.string,\n testID: PropTypes.string,\n delayPressIn: PropTypes.number,\n delayPressOut: PropTypes.number,\n delayLongPress: PropTypes.number,\n};\n\nconst InternalPropTypes = {\n extraButtonProps: PropTypes.object,\n onStateChange: PropTypes.func,\n};\n\n/**\n * GenericTouchable is not intented to be used as it.\n * Should be treated as a source for the rest of touchables\n */\n\nexport default class GenericTouchable extends Component {\n static publicPropTypes = PublicPropTypes;\n static internalPropTypes = InternalPropTypes;\n\n // The prop type collections have to be outside of the class, as metro\n // at this time does not compile `this.foo` correctly if HMR is enabled.\n // https://github.com/kmagiera/react-native-gesture-handler/pull/406#issuecomment-453779977\n static propTypes = {\n ...InternalPropTypes,\n ...PublicPropTypes,\n };\n\n static defaultProps = {\n delayLongPress: 600,\n extraButtonProps: {\n rippleColor: 'transparent',\n },\n };\n\n // timeout handlers\n pressInTimeout;\n pressOutTimeout;\n longPressTimeout;\n\n // This flag is required since recognition of longPress implies not-invoking onPress\n longPressDetected = false;\n\n pointerInside = true;\n\n // State of touchable\n STATE = TOUCHABLE_STATE.UNDETERMINED;\n\n // handlePressIn in called on first touch on traveling inside component.\n // Handles state transition with delay.\n handlePressIn = () => {\n if (this.props.delayPressIn) {\n this.pressInTimeout = setTimeout(() => {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n this.pressInTimeout = null;\n }, this.props.delayPressIn);\n } else {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n if (this.props.onLongPress) {\n const time =\n (this.props.delayPressIn || 0) + (this.props.delayLongPress || 0);\n this.longPressTimeout = setTimeout(this.onLongPressDetected, time);\n }\n };\n // handleMoveOutside in called on traveling outside component.\n // Handles state transition with delay.\n handleMoveOutside = () => {\n if (this.props.delayPressOut) {\n this.pressOutTimeout =\n this.pressOutTimeout ||\n setTimeout(() => {\n this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);\n this.pressOutTimeout = null;\n }, this.props.delayPressOut);\n } else {\n this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);\n }\n };\n\n // handleGoToUndetermined transits to UNDETERMINED state with proper delay\n handleGoToUndetermined = () => {\n clearTimeout(this.pressOutTimeout);\n if (this.props.delayPressOut) {\n this.pressOutTimeout = setTimeout(() => {\n if (this.STATE === TOUCHABLE_STATE.UNDETERMINED) {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n this.pressOutTimeout = null;\n }, this.props.delayPressOut);\n } else {\n if (this.STATE === TOUCHABLE_STATE.UNDETERMINED) {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n }\n };\n\n componentDidMount() {\n this.reset();\n }\n // reset timeout to prevent memory leaks.\n reset() {\n this.longPressDetected = false;\n this.pointerInside = true;\n clearTimeout(this.pressInTimeout);\n clearTimeout(this.pressOutTimeout);\n clearTimeout(this.longPressTimeout);\n this.pressOutTimeout = null;\n this.longPressTimeout = null;\n this.pressInTimeout = null;\n }\n\n // All states' transitions are defined here.\n moveToState = newState => {\n if (newState === this.STATE) {\n // Ignore dummy transitions\n return;\n }\n if (newState === TOUCHABLE_STATE.BEGAN) {\n // First touch and moving inside\n this.props.onPressIn && this.props.onPressIn();\n } else if (newState === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n // Moving outside\n this.props.onPressOut && this.props.onPressOut();\n } else if (newState === TOUCHABLE_STATE.UNDETERMINED) {\n // Need to reset each time on transition to UNDETERMINED\n this.reset();\n if (this.STATE === TOUCHABLE_STATE.BEGAN) {\n // ... and if it happens inside button.\n this.props.onPressOut && this.props.onPressOut();\n }\n }\n // Finally call lister (used by subclasses)\n this.props.onStateChange && this.props.onStateChange(this.STATE, newState);\n // ... and make transition.\n this.STATE = newState;\n };\n\n onGestureEvent = ({ nativeEvent: { pointerInside } }) => {\n if (this.pointerInside !== pointerInside) {\n if (pointerInside) {\n this.onMoveIn();\n } else {\n this.onMoveOut();\n }\n }\n this.pointerInside = pointerInside;\n };\n\n onHandlerStateChange = ({ nativeEvent }) => {\n const { state } = nativeEvent;\n if (state === State.CANCELLED || state === State.FAILED) {\n // Need to handle case with external cancellation (e.g. by ScrollView)\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n } else if (\n // This platform check is an implication of slightly different behavior of handlers on different platform.\n // And Android \"Active\" state is achieving on first move of a finger, not on press in.\n // On iOS event on \"Began\" is not delivered.\n state === (Platform.OS === 'ios' ? State.ACTIVE : State.BEGAN) &&\n this.STATE === TOUCHABLE_STATE.UNDETERMINED\n ) {\n // Moving inside requires\n this.handlePressIn();\n } else if (state === State.END) {\n const shouldCallOnPress =\n !this.longPressDetected &&\n this.STATE !== TOUCHABLE_STATE.MOVED_OUTSIDE &&\n this.pressOutTimeout === null;\n this.handleGoToUndetermined();\n if (shouldCallOnPress) {\n // Calls only inside component whether no long press was called previously\n this.props.onPress && this.props.onPress();\n }\n }\n };\n\n onLongPressDetected = () => {\n this.longPressDetected = true;\n this.props.onLongPress();\n };\n\n componentWillUnmount() {\n // to prevent memory leaks\n this.reset();\n }\n\n onMoveIn = () => {\n if (this.STATE === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n // This call is not throttles with delays (like in RN's implementation).\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n };\n\n onMoveOut = () => {\n // long press shouldn't be longer detected\n clearTimeout(this.longPressTimeout);\n this.longPressTimeout = null;\n if (this.STATE === TOUCHABLE_STATE.BEGAN) {\n this.handleMoveOutside();\n }\n };\n\n render() {\n const coreProps = {\n accessible: this.props.accessible !== false,\n accessibilityLabel: this.props.accessibilityLabel,\n accessibilityHint: this.props.accessibilityHint,\n accessibilityComponentType: this.props.accessibilityComponentType,\n accessibilityRole: this.props.accessibilityRole,\n accessibilityStates: this.props.accessibilityStates,\n accessibilityTraits: this.props.accessibilityTraits,\n nativeID: this.props.nativeID,\n testID: this.props.testID,\n onLayout: this.props.onLayout,\n hitSlop: this.props.hitSlop,\n };\n\n return (\n <BaseButton\n onHandlerStateChange={this.props.disabled ? null : this.onHandlerStateChange}\n onGestureEvent={this.onGestureEvent}\n hitSlop={this.props.hitSlop}\n {...this.props.extraButtonProps}>\n <Animated.View {...coreProps} style={this.props.style}>\n {this.props.children}\n </Animated.View>\n </BaseButton>\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../modules/UnimplementedView\"));var _default=_UnimplementedView.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/ViewPagerAndroid/index.js"],"names":["UnimplementedView"],"mappings":"mKAAA,0F,aACeA,0B","sourcesContent":["import UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var NavigationActions=_interopRequireWildcard(require(\"../NavigationActions\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var getNavigationActionCreators=function getNavigationActionCreators(route){return{goBack:function goBack(key){var actualizedKey=key;if(key===undefined&&route.key){(0,_invariant.default)(typeof route.key==='string','key should be a string');actualizedKey=route.key;}return NavigationActions.back({key:actualizedKey});},navigate:function navigate(navigateTo,params,action){if(typeof navigateTo==='string'){return NavigationActions.navigate({routeName:navigateTo,params:params,action:action});}(0,_invariant.default)(typeof navigateTo==='object','Must navigateTo an object or a string');(0,_invariant.default)(params==null,'Params must not be provided to .navigate() when specifying an object');(0,_invariant.default)(action==null,'Child action must not be provided to .navigate() when specifying an object');return NavigationActions.navigate(navigateTo);},setParams:function setParams(params){(0,_invariant.default)(route.key&&typeof route.key==='string','setParams cannot be called by root navigator');return NavigationActions.setParams({params:params,key:route.key});}};};var _default=getNavigationActionCreators;exports.default=_default;","map":{"version":3,"sources":["getNavigationActionCreators.js"],"names":["getNavigationActionCreators","goBack","actualizedKey","key","route","invariant","NavigationActions","navigate","routeName","params","action","setParams"],"mappings":"wPAAA,+EACA,qEAEA,GAAMA,CAAAA,2BAA2B,CAA3BA,QAAAA,CAAAA,2BAAAA,CAA8B,KAA9BA,CAAuC,CAC3C,MAAO,CACLC,MAAM,CAAE,QAAA,CAAA,MAAA,CAAA,GAAA,CAAO,CACb,GAAIC,CAAAA,aAAa,CAAjB,GAAA,CACA,GAAIC,GAAG,GAAHA,SAAAA,EAAqBC,KAAK,CAA9B,GAAA,CAAoC,CAClCC,uBAAU,MAAOD,CAAAA,KAAK,CAAZ,GAAA,GAAD,QAATC,CAAAA,wBAAAA,EACAH,aAAa,CAAGE,KAAK,CAArBF,GAAAA,CAEF,OAAOI,CAAAA,iBAAiB,CAAjBA,IAAAA,CAAuB,CAAEH,GAAG,CAAnC,aAA8B,CAAvBG,CAAP,CAPG,CAAA,CASLC,QAAQ,CAAE,QAAA,CAAA,QAAA,CAAA,UAAA,CAAA,MAAA,CAAA,MAAA,CAAgC,CACxC,GAAI,MAAA,CAAA,UAAA,GAAJ,QAAA,CAAoC,CAClC,MAAOD,CAAAA,iBAAiB,CAAjBA,QAAAA,CAA2B,CAChCE,SAAS,CADuB,UAAA,CAEhCC,MAAM,CAF0B,MAAA,CAGhCC,MAAM,CAHR,MAAkC,CAA3BJ,CAAP,CAMFD,wBACE,MAAA,CAAA,UAAA,GADO,QAATA,CAAAA,uCAAAA,EAIAA,uBACEI,MAAM,EADC,IAATJ,CAAAA,sEAAAA,EAIAA,uBACEK,MAAM,EADC,IAATL,CAAAA,4EAAAA,EAIA,MAAOC,CAAAA,iBAAiB,CAAjBA,QAAAA,CAAP,UAAOA,CAAP,CA7BG,CAAA,CA+BLK,SAAS,CAAE,QAAA,CAAA,SAAA,CAAA,MAAA,CAAU,CACnBN,uBACED,KAAK,CAALA,GAAAA,EAAa,MAAOA,CAAAA,KAAK,CAAZ,GAAA,GADN,QAATC,CAAAA,8CAAAA,EAIA,MAAOC,CAAAA,iBAAiB,CAAjBA,SAAAA,CAA4B,CAAEG,MAAM,CAAR,MAAA,CAAUN,GAAG,CAAEC,KAAK,CAAvD,GAAmC,CAA5BE,CAAP,CApCJ,CAAO,CAAP,CADF,CAAA,C,aA0CA,2B","sourcesContent":["import * as NavigationActions from '../NavigationActions';\nimport invariant from '../utils/invariant';\n\nconst getNavigationActionCreators = route => {\n return {\n goBack: key => {\n let actualizedKey = key;\n if (key === undefined && route.key) {\n invariant(typeof route.key === 'string', 'key should be a string');\n actualizedKey = route.key;\n }\n return NavigationActions.back({ key: actualizedKey });\n },\n navigate: (navigateTo, params, action) => {\n if (typeof navigateTo === 'string') {\n return NavigationActions.navigate({\n routeName: navigateTo,\n params,\n action,\n });\n }\n invariant(\n typeof navigateTo === 'object',\n 'Must navigateTo an object or a string'\n );\n invariant(\n params == null,\n 'Params must not be provided to .navigate() when specifying an object'\n );\n invariant(\n action == null,\n 'Child action must not be provided to .navigate() when specifying an object'\n );\n return NavigationActions.navigate(navigateTo);\n },\n setParams: params => {\n invariant(\n route.key && typeof route.key === 'string',\n 'setParams cannot be called by root navigator'\n );\n return NavigationActions.setParams({ params, key: route.key });\n },\n };\n};\n\nexport default getNavigationActionCreators;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createDOMProps=_interopRequireDefault(require(\"../createDOMProps\"));var _findNodeHandle=_interopRequireDefault(require(\"../../exports/findNodeHandle\"));var _styleResolver=_interopRequireDefault(require(\"../../exports/StyleSheet/styleResolver\"));var _UIManager=_interopRequireDefault(require(\"../../exports/UIManager\"));var NativeMethodsMixin={blur:function blur(){_UIManager.default.blur((0,_findNodeHandle.default)(this));},focus:function focus(){_UIManager.default.focus((0,_findNodeHandle.default)(this));},measure:function measure(callback){_UIManager.default.measure((0,_findNodeHandle.default)(this),callback);},measureInWindow:function measureInWindow(callback){_UIManager.default.measureInWindow((0,_findNodeHandle.default)(this),callback);},measureLayout:function measureLayout(relativeToNativeNode,onSuccess,onFail){_UIManager.default.measureLayout((0,_findNodeHandle.default)(this),relativeToNativeNode,onFail,onSuccess);},setNativeProps:function setNativeProps(nativeProps){if(!nativeProps){return;}var node=(0,_findNodeHandle.default)(this);if(node){var domProps=(0,_createDOMProps.default)(null,nativeProps,function(style){return _styleResolver.default.resolveWithNode(style,node);});_UIManager.default.updateView(node,domProps,this);}}};var _default=NativeMethodsMixin;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/NativeMethodsMixin/index.js"],"names":["NativeMethodsMixin","blur","UIManager","focus","measure","callback","measureInWindow","measureLayout","relativeToNativeNode","onSuccess","onFail","setNativeProps","nativeProps","node","domProps","style","styleResolver","resolveWithNode","updateView"],"mappings":"mKASA,yEACA,oFACA,6FACA,0EACA,GAAIA,CAAAA,kBAAkB,CAAG,CAIvBC,IAAI,CAAE,QAASA,CAAAA,IAAT,EAAgB,CACpBC,mBAAUD,IAAV,CAAe,4BAAe,IAAf,CAAf,EACD,CANsB,CAYvBE,KAAK,CAAE,QAASA,CAAAA,KAAT,EAAiB,CACtBD,mBAAUC,KAAV,CAAgB,4BAAe,IAAf,CAAhB,EACD,CAdsB,CAmBvBC,OAAO,CAAE,QAASA,CAAAA,OAAT,CAAiBC,QAAjB,CAA2B,CAClCH,mBAAUE,OAAV,CAAkB,4BAAe,IAAf,CAAlB,CAAwCC,QAAxC,EACD,CArBsB,CAsCvBC,eAAe,CAAE,QAASA,CAAAA,eAAT,CAAyBD,QAAzB,CAAmC,CAClDH,mBAAUI,eAAV,CAA0B,4BAAe,IAAf,CAA1B,CAAgDD,QAAhD,EACD,CAxCsB,CA6CvBE,aAAa,CAAE,QAASA,CAAAA,aAAT,CAAuBC,oBAAvB,CAA6CC,SAA7C,CAAwDC,MAAxD,CAAgE,CAC7ER,mBAAUK,aAAV,CAAwB,4BAAe,IAAf,CAAxB,CAA8CC,oBAA9C,CAAoEE,MAApE,CAA4ED,SAA5E,EACD,CA/CsB,CAuDvBE,cAAc,CAAE,QAASA,CAAAA,cAAT,CAAwBC,WAAxB,CAAqC,CACnD,GAAI,CAACA,WAAL,CAAkB,CAChB,OACD,CAED,GAAIC,CAAAA,IAAI,CAAG,4BAAe,IAAf,CAAX,CAEA,GAAIA,IAAJ,CAAU,CAGR,GAAIC,CAAAA,QAAQ,CAAG,4BAAe,IAAf,CAAqBF,WAArB,CAAkC,SAAUG,KAAV,CAAiB,CAChE,MAAOC,wBAAcC,eAAd,CAA8BF,KAA9B,CAAqCF,IAArC,CAAP,CACD,CAFc,CAAf,CAGAX,mBAAUgB,UAAV,CAAqBL,IAArB,CAA2BC,QAA3B,CAAqC,IAArC,EACD,CACF,CAtEsB,CAAzB,C,aAwEed,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createDOMProps from '../createDOMProps';\nimport findNodeHandle from '../../exports/findNodeHandle';\nimport styleResolver from '../../exports/StyleSheet/styleResolver';\nimport UIManager from '../../exports/UIManager';\nvar NativeMethodsMixin = {\n /**\n * Removes focus from an input or view. This is the opposite of `focus()`.\n */\n blur: function blur() {\n UIManager.blur(findNodeHandle(this));\n },\n\n /**\n * Requests focus for the given input or view.\n * The exact behavior triggered will depend the type of view.\n */\n focus: function focus() {\n UIManager.focus(findNodeHandle(this));\n },\n\n /**\n * Determines the position and dimensions of the view\n */\n measure: function measure(callback) {\n UIManager.measure(findNodeHandle(this), callback);\n },\n\n /**\n * Determines the location of the given view in the window and returns the\n * values via an async callback. If the React root view is embedded in\n * another native view, this will give you the absolute coordinates. If\n * successful, the callback will be called be called with the following\n * arguments:\n *\n * - x\n * - y\n * - width\n * - height\n *\n * Note that these measurements are not available until after the rendering\n * has been completed.\n */\n measureInWindow: function measureInWindow(callback) {\n UIManager.measureInWindow(findNodeHandle(this), callback);\n },\n\n /**\n * Measures the view relative to another view (usually an ancestor)\n */\n measureLayout: function measureLayout(relativeToNativeNode, onSuccess, onFail) {\n UIManager.measureLayout(findNodeHandle(this), relativeToNativeNode, onFail, onSuccess);\n },\n\n /**\n * This function sends props straight to the underlying DOM node.\n * This works as if all styles were set as inline styles. Since a DOM node\n * may aleady be styled with class names and inline styles, we need to get\n * the initial styles from the DOM node and merge them with incoming props.\n */\n setNativeProps: function setNativeProps(nativeProps) {\n if (!nativeProps) {\n return;\n }\n\n var node = findNodeHandle(this);\n\n if (node) {\n // Next state is determined by comparison to existing state (in the DOM).\n // Existing state has already gone through i18n transform\n var domProps = createDOMProps(null, nativeProps, function (style) {\n return styleResolver.resolveWithNode(style, node);\n });\n UIManager.updateView(node, domProps, this);\n }\n }\n};\nexport default NativeMethodsMixin;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _reactNativeSvg=require(\"react-native-svg\");var HorizontalLine=function(_React$Component){(0,_inherits2.default)(HorizontalLine,_React$Component);function HorizontalLine(){(0,_classCallCheck2.default)(this,HorizontalLine);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(HorizontalLine).apply(this,arguments));}(0,_createClass2.default)(HorizontalLine,[{key:\"render\",value:function render(){var _this$props=this.props,y=_this$props.y,value=_this$props.value,other=(0,_objectWithoutProperties2.default)(_this$props,[\"y\",\"value\"]);return _react.default.createElement(_reactNativeSvg.Line,(0,_extends2.default)({x1:'0%',x2:'100%',y1:y(value),y2:y(value)},other));}}]);return HorizontalLine;}(_react.default.Component);HorizontalLine.defaultProps={stroke:'black'};var _default=HorizontalLine;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/chart-decorators/horizontal-line.js"],"names":["HorizontalLine","props","y","value","other","React","Component","defaultProps","stroke"],"mappings":"6zBAAA,oDACA,gD,GAEMA,CAAAA,c,uWACO,iBAC0B,KAAKC,KAD/B,CACGC,CADH,aACGA,CADH,CACMC,KADN,aACMA,KADN,CACgBC,KADhB,kEAEL,MAAO,8BAAC,oBAAD,wBAAM,EAAE,CAAE,IAAV,CAAgB,EAAE,CAAE,MAApB,CAA4B,EAAE,CAAEF,CAAC,CAACC,KAAD,CAAjC,CAA0C,EAAE,CAAED,CAAC,CAACC,KAAD,CAA/C,EAA4DC,KAA5D,EAAP,CACH,C,4BAJwBC,eAAMC,S,EAOnCN,cAAc,CAACO,YAAf,CAA8B,CAC1BC,MAAM,CAAE,OADkB,CAA9B,C,aAIeR,c","sourcesContent":["import React from 'react'\nimport { Line } from 'react-native-svg'\n\nclass HorizontalLine extends React.Component {\n render() {\n const { y, value, ...other } = this.props\n return <Line x1={'0%'} x2={'100%'} y1={y(value)} y2={y(value)} {...other} />\n }\n}\n\nHorizontalLine.defaultProps = {\n stroke: 'black',\n}\n\nexport default HorizontalLine\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"require(\"./environment/validate.fx\");require(\"./environment/muteWarnings.fx\");require(\"expo-asset\");","map":{"version":3,"sources":["../src/Expo.fx.web.ts"],"names":[],"mappings":"AAAA,qCACA,yCAIA","sourcesContent":["import './environment/validate.fx';\nimport './environment/muteWarnings.fx';\n\n// TODO: Bacon: This is a tricky side-effect\n// load expo-asset immediately to set a custom `source` transformer in React Native\nimport 'expo-asset';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var array=_interopRequireWildcard(require(\"d3-array\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvg=_interopRequireDefault(require(\"react-native-svg\"));var _animatedPath=_interopRequireDefault(require(\"../animated-path\"));var _chart=_interopRequireDefault(require(\"./chart\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var ChartGrouped=function(_PureComponent){(0,_inherits2.default)(ChartGrouped,_PureComponent);function ChartGrouped(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,ChartGrouped);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(ChartGrouped)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={width:0,height:0};return _this;}(0,_createClass2.default)(ChartGrouped,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"createPaths\",value:function createPaths(){throw'Extending \"ChartGrouped\" requires you to override \"createPaths';}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,data=_this$props.data,xAccessor=_this$props.xAccessor,yAccessor=_this$props.yAccessor,yScale=_this$props.yScale,xScale=_this$props.xScale,style=_this$props.style,animate=_this$props.animate,animationDuration=_this$props.animationDuration,numberOfTicks=_this$props.numberOfTicks,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.top,top=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.bottom,bottom=_this$props$contentIn3===void 0?0:_this$props$contentIn3,_this$props$contentIn4=_this$props$contentIn.left,left=_this$props$contentIn4===void 0?0:_this$props$contentIn4,_this$props$contentIn5=_this$props$contentIn.right,right=_this$props$contentIn5===void 0?0:_this$props$contentIn5,gridMax=_this$props.gridMax,gridMin=_this$props.gridMin,clampX=_this$props.clampX,clampY=_this$props.clampY,svg=_this$props.svg,children=_this$props.children;var _this$state=this.state,width=_this$state.width,height=_this$state.height;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var mappedData=data.map(function(dataArray){return dataArray.data.map(function(item,index){return{y:yAccessor({item:item,index:index}),x:xAccessor({item:item,index:index})};});});var yValues=array.merge(mappedData).map(function(item){return item.y;});var xValues=array.merge(mappedData).map(function(item){return item.x;});var yExtent=array.extent([].concat((0,_toConsumableArray2.default)(yValues),[gridMin,gridMax]));var xExtent=array.extent((0,_toConsumableArray2.default)(xValues));var _this$props2=this.props,_this$props2$yMin=_this$props2.yMin,yMin=_this$props2$yMin===void 0?yExtent[0]:_this$props2$yMin,_this$props2$yMax=_this$props2.yMax,yMax=_this$props2$yMax===void 0?yExtent[1]:_this$props2$yMax,_this$props2$xMin=_this$props2.xMin,xMin=_this$props2$xMin===void 0?xExtent[0]:_this$props2$xMin,_this$props2$xMax=_this$props2.xMax,xMax=_this$props2$xMax===void 0?xExtent[1]:_this$props2$xMax;var y=yScale().domain([yMin,yMax]).range([height-bottom,top]).clamp(clampY);var x=xScale().domain([xMin,xMax]).range([left,width-right]).clamp(clampX);var paths=this.createPaths({data:mappedData,x:x,y:y});var ticks=y.ticks(numberOfTicks);var extraProps=_objectSpread({x:x,y:y,data:data,ticks:ticks,width:width,height:height},paths);return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),paths.path.map(function(path,index){var pathSvg=data[index].svg;return _react.default.createElement(_animatedPath.default,(0,_extends2.default)({key:path,fill:'none'},svg,pathSvg,{d:path,animate:animate,animationDuration:animationDuration}));}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}))));}}]);return ChartGrouped;}(_react.PureComponent);ChartGrouped.propTypes=_objectSpread({},_chart.default.propTypes,{data:_propTypes.default.arrayOf(_propTypes.default.shape({data:_propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.object),_propTypes.default.arrayOf(_propTypes.default.number),_propTypes.default.arrayOf(_propTypes.default.array)]),svg:_propTypes.default.object})).isRequired});ChartGrouped.defaultProps=_objectSpread({},_chart.default.defaultProps);var _default=ChartGrouped;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/chart/chart-grouped.js"],"names":["ChartGrouped","state","width","height","event","nativeEvent","layout","setState","props","data","xAccessor","yAccessor","yScale","xScale","style","animate","animationDuration","numberOfTicks","contentInset","top","bottom","left","right","gridMax","gridMin","clampX","clampY","svg","children","length","mappedData","map","dataArray","item","index","y","x","yValues","array","merge","xValues","yExtent","extent","xExtent","yMin","yMax","xMin","xMax","domain","range","clamp","paths","createPaths","ticks","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","path","pathSvg","PureComponent","propTypes","Chart","PropTypes","arrayOf","shape","oneOfType","object","number","isRequired","defaultProps"],"mappings":"o+BAAA,uDACA,6DACA,qD,gFAEA,wEACA,sEACA,sD,4xBAEMA,CAAAA,Y,scACFC,K,CAAQ,CACJC,KAAK,CAAE,CADH,CAEJC,MAAM,CAAE,CAFJ,C,iGAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAG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,CAAO5B,KAAP,CAAiB,IAChB6B,CAAAA,OADgB,CACJtD,IAAI,CAACyB,KAAD,CADA,CACrBP,GADqB,CAE7B,MACI,8BAAC,qBAAD,wBACI,GAAG,CAAEmC,IADT,CAEI,IAAI,CAAE,MAFV,EAGQnC,GAHR,CAIQoC,OAJR,EAKI,CAAC,CAAED,IALP,CAMI,OAAO,CAAE/C,OANb,CAOI,iBAAiB,CAAEC,iBAPvB,GADJ,CAWH,CAbA,CAPL,CAqBKyC,eAAMC,QAAN,CAAe3B,GAAf,CAAmBH,QAAnB,CAA6B,SAAC+B,KAAD,CAAW,CACrC,GAAIA,KAAK,EAAI,CAACA,KAAK,CAACnD,KAAN,CAAYoD,UAA1B,CAAsC,CAClC,MAAOH,gBAAMI,YAAN,CAAmBF,KAAnB,CAA0BL,UAA1B,CAAP,CACH,CACD,MAAO,KAAP,CACH,CALA,CArBL,CAFR,CADJ,CADJ,CAoCH,C,0BA7HsBU,oB,EAgI3BhE,YAAY,CAACiE,SAAb,kBACOC,eAAMD,SADb,EAEIxD,IAAI,CAAE0D,mBAAUC,OAAV,CACFD,mBAAUE,KAAV,CAAgB,CACZ5D,IAAI,CAAE0D,mBAAUG,SAAV,CAAoB,CACtBH,mBAAUC,OAAV,CAAkBD,mBAAUI,MAA5B,CADsB,CAEtBJ,mBAAUC,OAAV,CAAkBD,mBAAUK,MAA5B,CAFsB,CAGtBL,mBAAUC,OAAV,CAAkBD,mBAAU7B,KAA5B,CAHsB,CAApB,CADM,CAMZX,GAAG,CAAEwC,mBAAUI,MANH,CAAhB,CADE,EASJE,UAXN,GAcAzE,YAAY,CAAC0E,YAAb,kBACOR,eAAMQ,YADb,E,aAIe1E,Y","sourcesContent":["import * as array from 'd3-array'\nimport PropTypes from 'prop-types'\nimport React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport Svg from 'react-native-svg'\nimport Path from '../animated-path'\nimport Chart from './chart'\n\nclass ChartGrouped extends PureComponent {\n state = {\n width: 0,\n height: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n createPaths() {\n throw 'Extending \"ChartGrouped\" requires you to override \"createPaths'\n }\n\n render() {\n const {\n data,\n xAccessor,\n yAccessor,\n yScale,\n xScale,\n style,\n animate,\n animationDuration,\n numberOfTicks,\n contentInset: { top = 0, bottom = 0, left = 0, right = 0 },\n gridMax,\n gridMin,\n clampX,\n clampY,\n svg,\n children,\n } = this.props\n\n const { width, height } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const mappedData = data.map((dataArray) =>\n dataArray.data.map((item, index) => ({\n y: yAccessor({ item, index }),\n x: xAccessor({ item, index }),\n }))\n )\n\n const yValues = array.merge(mappedData).map((item) => item.y)\n const xValues = array.merge(mappedData).map((item) => item.x)\n\n const yExtent = array.extent([...yValues, gridMin, gridMax])\n const xExtent = array.extent([...xValues])\n\n const { yMin = yExtent[0], yMax = yExtent[1], xMin = xExtent[0], xMax = xExtent[1] } = this.props\n\n //invert range to support svg coordinate system\n const y = yScale()\n .domain([yMin, yMax])\n .range([height - bottom, top])\n .clamp(clampY)\n\n const x = xScale()\n .domain([xMin, xMax])\n .range([left, width - right])\n .clamp(clampX)\n\n const paths = this.createPaths({\n data: mappedData,\n x,\n y,\n })\n\n const ticks = y.ticks(numberOfTicks)\n\n const extraProps = {\n x,\n y,\n data,\n ticks,\n width,\n height,\n ...paths,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n {paths.path.map((path, index) => {\n const { svg: pathSvg } = data[index]\n return (\n <Path\n key={path}\n fill={'none'}\n {...svg}\n {...pathSvg}\n d={path}\n animate={animate}\n animationDuration={animationDuration}\n />\n )\n })}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nChartGrouped.propTypes = {\n ...Chart.propTypes,\n data: PropTypes.arrayOf(\n PropTypes.shape({\n data: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.object),\n PropTypes.arrayOf(PropTypes.number),\n PropTypes.arrayOf(PropTypes.array),\n ]),\n svg: PropTypes.object,\n })\n ).isRequired,\n}\n\nChartGrouped.defaultProps = {\n ...Chart.defaultProps,\n}\n\nexport default ChartGrouped\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.EventEmitter=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _invariant=_interopRequireDefault(require(\"invariant\"));var _NativeEventEmitter=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeEventEmitter\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var nativeEmitterSubscriptionKey='@@nativeEmitterSubscription@@';var EventEmitter=function(){function EventEmitter(nativeModule){(0,_classCallCheck2.default)(this,EventEmitter);this._listenerCount=0;this._nativeModule=nativeModule;this._eventEmitter=new _NativeEventEmitter.default(nativeModule);}(0,_createClass2.default)(EventEmitter,[{key:\"addListener\",value:function addListener(eventName,listener){var _this=this,_subscription;if(!this._listenerCount&&_Platform.default.OS!=='ios'&&this._nativeModule.startObserving){this._nativeModule.startObserving();}this._listenerCount++;var nativeEmitterSubscription=this._eventEmitter.addListener(eventName,listener);var subscription=(_subscription={},(0,_defineProperty2.default)(_subscription,nativeEmitterSubscriptionKey,nativeEmitterSubscription),(0,_defineProperty2.default)(_subscription,\"remove\",function remove(){_this.removeSubscription(subscription);}),_subscription);return subscription;}},{key:\"removeAllListeners\",value:function removeAllListeners(eventName){var removedListenerCount=this._eventEmitter.listeners(eventName).length;this._eventEmitter.removeAllListeners(eventName);this._listenerCount-=removedListenerCount;(0,_invariant.default)(this._listenerCount>=0,\"EventEmitter must have a non-negative number of listeners\");if(!this._listenerCount&&_Platform.default.OS!=='ios'&&this._nativeModule.stopObserving){this._nativeModule.stopObserving();}}},{key:\"removeSubscription\",value:function removeSubscription(subscription){var nativeEmitterSubscription=subscription[nativeEmitterSubscriptionKey];if(!nativeEmitterSubscription){return;}this._eventEmitter.removeSubscription(nativeEmitterSubscription);this._listenerCount--;delete subscription[nativeEmitterSubscriptionKey];subscription.remove=function(){};if(!this._listenerCount&&_Platform.default.OS!=='ios'&&this._nativeModule.stopObserving){this._nativeModule.stopObserving();}}},{key:\"emit\",value:function emit(eventName){var _this$_eventEmitter;for(var _len=arguments.length,params=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){params[_key-1]=arguments[_key];}(_this$_eventEmitter=this._eventEmitter).emit.apply(_this$_eventEmitter,[eventName].concat(params));}}]);return EventEmitter;}();exports.EventEmitter=EventEmitter;","map":{"version":3,"sources":["../src/EventEmitter.ts"],"names":[],"mappings":"4bAAA,4D,oMAGA,GAAM,CAAA,4BAA4B,CAAG,+BAArC,C,GAaa,CAAA,Y,YAKX,sBAAY,YAAZ,CAAsC,iDAJtC,KAAA,cAAA,CAAiB,CAAjB,CAKE,KAAK,aAAL,CAAqB,YAArB,CACA,KAAK,aAAL,CAAqB,GAAI,4BAAJ,CAAuB,YAAvB,CAArB,CACD,C,sFAEc,S,CAAmB,Q,CAA4B,8BAC5D,GAAI,CAAC,KAAK,cAAN,EAAwB,kBAAS,EAAT,GAAgB,KAAxC,EAAiD,KAAK,aAAL,CAAmB,cAAxE,CAAwF,CACtF,KAAK,aAAL,CAAmB,cAAnB,GACD,CAED,KAAK,cAAL,GACA,GAAM,CAAA,yBAAyB,CAAG,KAAK,aAAL,CAAmB,WAAnB,CAA+B,SAA/B,CAA0C,QAA1C,CAAlC,CACA,GAAM,CAAA,YAAY,8DACf,4BADe,CACgB,yBADhB,sDAER,iBAAK,CACX,KAAI,CAAC,kBAAL,CAAwB,YAAxB,EACD,CAJe,gBAAlB,CAMA,MAAO,CAAA,YAAP,CACD,C,8DAEkB,S,CAAiB,CAClC,GAAM,CAAA,oBAAoB,CAAG,KAAK,aAAL,CAAmB,SAAnB,CAA6B,SAA7B,EAAwC,MAArE,CACA,KAAK,aAAL,CAAmB,kBAAnB,CAAsC,SAAtC,EACA,KAAK,cAAL,EAAuB,oBAAvB,CACA,uBACE,KAAK,cAAL,EAAuB,CADzB,8DAKA,GAAI,CAAC,KAAK,cAAN,EAAwB,kBAAS,EAAT,GAAgB,KAAxC,EAAiD,KAAK,aAAL,CAAmB,aAAxE,CAAuF,CACrF,KAAK,aAAL,CAAmB,aAAnB,GACD,CACF,C,8DAEkB,Y,CAA0B,CAC3C,GAAM,CAAA,yBAAyB,CAAG,YAAY,CAAC,4BAAD,CAA9C,CACA,GAAI,CAAC,yBAAL,CAAgC,CAC9B,OACD,CAED,KAAK,aAAL,CAAmB,kBAAnB,CAAsC,yBAAtC,EACA,KAAK,cAAL,GAIA,MAAO,CAAA,YAAY,CAAC,4BAAD,CAAnB,CAGA,YAAY,CAAC,MAAb,CAAsB,UAAK,CAAG,CAA9B,CAEA,GAAI,CAAC,KAAK,cAAN,EAAwB,kBAAS,EAAT,GAAgB,KAAxC,EAAiD,KAAK,aAAL,CAAmB,aAAxE,CAAuF,CACrF,KAAK,aAAL,CAAmB,aAAnB,GACD,CACF,C,kCAEI,S,CAAmC,uDAAb,MAAa,qDAAb,MAAa,0BACtC,0BAAK,aAAL,EAAmB,IAAnB,4BAAwB,SAAxB,SAAsC,MAAtC,GACD,C","sourcesContent":["import invariant from 'invariant';\nimport { NativeEventEmitter, Platform } from 'react-native';\n\nconst nativeEmitterSubscriptionKey = '@@nativeEmitterSubscription@@';\n\ntype NativeModule = {\n startObserving?: () => void;\n stopObserving?: () => void;\n addListener: (eventName: string) => void;\n removeListeners: (count: number) => void;\n};\n\nexport type Subscription = {\n remove: () => void;\n};\n\nexport class EventEmitter {\n _listenerCount = 0;\n _nativeModule: NativeModule;\n _eventEmitter: NativeEventEmitter;\n\n constructor(nativeModule: NativeModule) {\n this._nativeModule = nativeModule;\n this._eventEmitter = new NativeEventEmitter(nativeModule as any);\n }\n\n addListener<T>(eventName: string, listener: (event: T) => void): Subscription {\n if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.startObserving) {\n this._nativeModule.startObserving();\n }\n\n this._listenerCount++;\n const nativeEmitterSubscription = this._eventEmitter.addListener(eventName, listener);\n const subscription = {\n [nativeEmitterSubscriptionKey]: nativeEmitterSubscription,\n remove: () => {\n this.removeSubscription(subscription);\n },\n };\n return subscription;\n }\n\n removeAllListeners(eventName: string): void {\n const removedListenerCount = this._eventEmitter.listeners(eventName).length;\n this._eventEmitter.removeAllListeners(eventName);\n this._listenerCount -= removedListenerCount;\n invariant(\n this._listenerCount >= 0,\n `EventEmitter must have a non-negative number of listeners`\n );\n\n if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.stopObserving) {\n this._nativeModule.stopObserving();\n }\n }\n\n removeSubscription(subscription: Subscription): void {\n const nativeEmitterSubscription = subscription[nativeEmitterSubscriptionKey];\n if (!nativeEmitterSubscription) {\n return;\n }\n\n this._eventEmitter.removeSubscription(nativeEmitterSubscription!);\n this._listenerCount--;\n\n // Ensure that the emitter's internal state remains correct even if `removeSubscription` is\n // called again with the same subscription\n delete subscription[nativeEmitterSubscriptionKey];\n\n // Release closed-over references to the emitter\n subscription.remove = () => {};\n\n if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.stopObserving) {\n this._nativeModule.stopObserving();\n }\n }\n\n emit(eventName: string, ...params: any[]): void {\n this._eventEmitter.emit(eventName, ...params);\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var NavigationActions=_interopRequireWildcard(require(\"../NavigationActions\"));var StackActions=_interopRequireWildcard(require(\"./StackActions\"));var _createConfigGetter=_interopRequireDefault(require(\"./createConfigGetter\"));var _getScreenForRouteName=_interopRequireDefault(require(\"./getScreenForRouteName\"));var _StateUtils=_interopRequireDefault(require(\"../StateUtils\"));var _validateRouteConfigMap=_interopRequireDefault(require(\"./validateRouteConfigMap\"));var _invariant=_interopRequireDefault(require(\"../utils/invariant\"));var _KeyGenerator=require(\"./KeyGenerator\");var _pathUtils=require(\"./pathUtils\");function behavesLikePushAction(action){return action.type===NavigationActions.NAVIGATE||action.type===StackActions.PUSH;}var defaultActionCreators=function defaultActionCreators(){return{};};function isResetToRootStack(action){return action.type===StackActions.RESET&&action.key===null;}var _default=function _default(routeConfigs){var stackConfig=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,_validateRouteConfigMap.default)(routeConfigs);var childRouters={};var routeNames=Object.keys(routeConfigs);routeNames.forEach(function(routeName){var routeConfig=routeConfigs[routeName];var screen=routeConfig&&routeConfig.screen?routeConfig.screen:routeConfig;if(screen&&screen.router){childRouters[routeName]=screen.router;}else{childRouters[routeName]=null;}});var initialRouteParams=stackConfig.initialRouteParams;var getCustomActionCreators=stackConfig.getCustomActionCreators||defaultActionCreators;var initialRouteName=stackConfig.initialRouteName||routeNames[0];var initialChildRouter=childRouters[initialRouteName];function getInitialState(action){var route={};var childRouter=childRouters[action.routeName];if(behavesLikePushAction(action)&&childRouter!==undefined){var childState={};if(childRouter!==null){var childAction=action.action||NavigationActions.init({params:action.params});childState=childRouter.getStateForAction(childAction);}return{key:'StackRouterRoot',isTransitioning:false,index:0,routes:[(0,_objectSpread2.default)({params:action.params},childState,{key:action.key||(0,_KeyGenerator.generateKey)(),routeName:action.routeName})]};}if(initialChildRouter){route=initialChildRouter.getStateForAction(NavigationActions.navigate({routeName:initialRouteName,params:initialRouteParams}));}var params=(routeConfigs[initialRouteName].params||route.params||action.params||initialRouteParams)&&(0,_objectSpread2.default)({},routeConfigs[initialRouteName].params||{},route.params||{},action.params||{},initialRouteParams||{});var initialRouteKey=stackConfig.initialRouteKey;route=(0,_objectSpread2.default)({},route,params?{params:params}:{},{routeName:initialRouteName,key:action.key||initialRouteKey||(0,_KeyGenerator.generateKey)()});return{key:'StackRouterRoot',isTransitioning:false,index:0,routes:[route]};}function getParamsForRouteAndAction(routeName,action){var routeConfig=routeConfigs[routeName];if(routeConfig&&routeConfig.params){return(0,_objectSpread2.default)({},routeConfig.params,action.params);}else{return action.params;}}var _createPathParser=(0,_pathUtils.createPathParser)(childRouters,routeConfigs,stackConfig),getPathAndParamsForRoute=_createPathParser.getPathAndParamsForRoute,_getActionForPathAndParams=_createPathParser.getActionForPathAndParams;return{childRouters:childRouters,getComponentForState:function getComponentForState(state){var activeChildRoute=state.routes[state.index];var routeName=activeChildRoute.routeName;if(childRouters[routeName]){return childRouters[routeName].getComponentForState(activeChildRoute);}return(0,_getScreenForRouteName.default)(routeConfigs,routeName);},getComponentForRouteName:function getComponentForRouteName(routeName){return(0,_getScreenForRouteName.default)(routeConfigs,routeName);},getActionCreators:function getActionCreators(route,navStateKey){return(0,_objectSpread2.default)({},getCustomActionCreators(route,navStateKey),{pop:function pop(n,params){return StackActions.pop((0,_objectSpread2.default)({n:n},params));},popToTop:function popToTop(params){return StackActions.popToTop(params);},push:function push(routeName,params,action){return StackActions.push({routeName:routeName,params:params,action:action});},replace:function replace(replaceWith,params,action,newKey){if(typeof replaceWith==='string'){return StackActions.replace({routeName:replaceWith,params:params,action:action,key:route.key,newKey:newKey});}(0,_invariant.default)(typeof replaceWith==='object','Must replaceWith an object or a string');(0,_invariant.default)(params==null,'Params must not be provided to .replace() when specifying an object');(0,_invariant.default)(action==null,'Child action must not be provided to .replace() when specifying an object');(0,_invariant.default)(newKey==null,'Child action must not be provided to .replace() when specifying an object');return StackActions.replace(replaceWith);},reset:function reset(actions,index){return StackActions.reset({actions:actions,index:index==null?actions.length-1:index,key:navStateKey});},dismiss:function dismiss(){return NavigationActions.back({key:navStateKey});}});},getStateForAction:function getStateForAction(action,state){if(!state){return getInitialState(action);}var activeChildRoute=state.routes[state.index];if(!isResetToRootStack(action)&&action.type!==NavigationActions.NAVIGATE){var activeChildRouter=childRouters[activeChildRoute.routeName];if(activeChildRouter){var route=activeChildRouter.getStateForAction(action,activeChildRoute);if(route!==null&&route!==activeChildRoute){return _StateUtils.default.replaceAt(state,activeChildRoute.key,route,action.type===NavigationActions.SET_PARAMS);}}}else if(action.type===NavigationActions.NAVIGATE){for(var _iterator=state.routes.slice().reverse(),_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++];}else{_i=_iterator.next();if(_i.done)break;_ref=_i.value;}var _childRoute=_ref;var childRouter=childRouters[_childRoute.routeName];var childAction=action.routeName===_childRoute.routeName&&action.action?action.action:action;if(childRouter){var nextRouteState=childRouter.getStateForAction(childAction,_childRoute);if(nextRouteState===null||nextRouteState!==_childRoute){var newState=_StateUtils.default.replaceAndPrune(state,nextRouteState?nextRouteState.key:_childRoute.key,nextRouteState?nextRouteState:_childRoute);return(0,_objectSpread2.default)({},newState,{isTransitioning:state.index!==newState.index?action.immediate!==true:state.isTransitioning});}}}}if(behavesLikePushAction(action)&&childRouters[action.routeName]!==undefined){var _childRouter=childRouters[action.routeName];var _route;(0,_invariant.default)(action.type!==StackActions.PUSH||action.key==null,'StackRouter does not support key on the push action');var lastRouteIndex=state.routes.findIndex(function(r){if(action.key){return r.key===action.key;}else{return r.routeName===action.routeName;}});if(action.type!==StackActions.PUSH&&lastRouteIndex!==-1){if(state.index===lastRouteIndex&&!action.params){return null;}var routes=state.routes.slice(0,lastRouteIndex+1);if(action.params){var _route2=state.routes[lastRouteIndex];routes[lastRouteIndex]=(0,_objectSpread2.default)({},_route2,{params:(0,_objectSpread2.default)({},_route2.params,action.params)});}return(0,_objectSpread2.default)({},state,{isTransitioning:state.index!==lastRouteIndex?action.immediate!==true:state.isTransitioning,index:lastRouteIndex,routes:routes});}if(_childRouter){var _childAction=action.action||NavigationActions.init({params:getParamsForRouteAndAction(action.routeName,action)});_route=(0,_objectSpread2.default)({params:getParamsForRouteAndAction(action.routeName,action)},_childRouter.getStateForAction(_childAction),{routeName:action.routeName,key:action.key||(0,_KeyGenerator.generateKey)()});}else{_route={params:getParamsForRouteAndAction(action.routeName,action),routeName:action.routeName,key:action.key||(0,_KeyGenerator.generateKey)()};}return(0,_objectSpread2.default)({},_StateUtils.default.push(state,_route),{isTransitioning:action.immediate!==true});}else if(action.type===StackActions.PUSH&&childRouters[action.routeName]===undefined){return state;}if(behavesLikePushAction(action)){var childRouterNames=Object.keys(childRouters);for(var i=0;i<childRouterNames.length;i++){var childRouterName=childRouterNames[i];var _childRouter2=childRouters[childRouterName];if(_childRouter2){var initChildRoute=_childRouter2.getStateForAction(NavigationActions.init());var navigatedChildRoute=_childRouter2.getStateForAction(action,initChildRoute);var routeToPush=null;if(navigatedChildRoute===null){routeToPush=initChildRoute;}else if(navigatedChildRoute!==initChildRoute){routeToPush=navigatedChildRoute;}if(routeToPush){var _route3=(0,_objectSpread2.default)({},routeToPush,{routeName:childRouterName,key:action.key||(0,_KeyGenerator.generateKey)()});return(0,_objectSpread2.default)({},_StateUtils.default.push(state,_route3),{isTransitioning:action.immediate!==true});}}}}if(action.type===StackActions.POP_TO_TOP){if(action.key&&state.key!==action.key){return state;}if(state.index>0){return(0,_objectSpread2.default)({},state,{isTransitioning:action.immediate!==true,index:0,routes:[state.routes[0]]});}return state;}if(action.type===StackActions.REPLACE){var routeIndex;if(action.key===undefined&&state.routes.length){routeIndex=state.routes.length-1;}else{routeIndex=state.routes.findIndex(function(r){return r.key===action.key;});}if(routeIndex!==-1){var _childRouter3=childRouters[action.routeName];var childState={};if(_childRouter3){var _childAction2=action.action||NavigationActions.init({params:getParamsForRouteAndAction(action.routeName,action)});childState=_childRouter3.getStateForAction(_childAction2);}var _routes=(0,_toConsumableArray2.default)(state.routes);_routes[routeIndex]=(0,_objectSpread2.default)({params:getParamsForRouteAndAction(action.routeName,action)},childState,{routeName:action.routeName,key:action.newKey||(0,_KeyGenerator.generateKey)()});return(0,_objectSpread2.default)({},state,{routes:_routes});}}if(action.type===StackActions.COMPLETE_TRANSITION&&(action.key==null||action.key===state.key)&&action.toChildKey===state.routes[state.index].key&&state.isTransitioning){return(0,_objectSpread2.default)({},state,{isTransitioning:false});}if(action.type===NavigationActions.SET_PARAMS){var key=action.key;var lastRoute=state.routes.find(function(route){return route.key===key;});if(lastRoute){var params=(0,_objectSpread2.default)({},lastRoute.params,action.params);var _routes2=(0,_toConsumableArray2.default)(state.routes);_routes2[state.routes.indexOf(lastRoute)]=(0,_objectSpread2.default)({},lastRoute,{params:params});return(0,_objectSpread2.default)({},state,{routes:_routes2});}}if(action.type===StackActions.RESET){if(action.key!=null&&action.key!=state.key){return state;}var newStackActions=action.actions;return(0,_objectSpread2.default)({},state,{routes:newStackActions.map(function(newStackAction){var router=childRouters[newStackAction.routeName];var childState={};if(router){var _childAction3=newStackAction.action||NavigationActions.init({params:getParamsForRouteAndAction(newStackAction.routeName,newStackAction)});childState=router.getStateForAction(_childAction3);}return(0,_objectSpread2.default)({params:getParamsForRouteAndAction(newStackAction.routeName,newStackAction)},childState,{routeName:newStackAction.routeName,key:newStackAction.key||(0,_KeyGenerator.generateKey)()});}),index:action.index});}if(action.type===NavigationActions.BACK||action.type===StackActions.POP){var _key=action.key,n=action.n,immediate=action.immediate;var backRouteIndex=state.index;if(action.type===StackActions.POP&&n!=null){backRouteIndex=Math.max(1,state.index-n+1);}else if(_key){var backRoute=state.routes.find(function(route){return route.key===_key;});backRouteIndex=state.routes.indexOf(backRoute);}if(backRouteIndex>0){return(0,_objectSpread2.default)({},state,{routes:state.routes.slice(0,backRouteIndex),index:backRouteIndex-1,isTransitioning:immediate!==true});}}var keyIndex=action.key?_StateUtils.default.indexOf(state,action.key):-1;for(var _iterator2=state.routes.slice().reverse(),_isArray2=Array.isArray(_iterator2),_i2=0,_iterator2=_isArray2?_iterator2:_iterator2[typeof Symbol===\"function\"?typeof Symbol===\"function\"?Symbol.iterator:\"@@iterator\":\"@@iterator\"]();;){var _ref2;if(_isArray2){if(_i2>=_iterator2.length)break;_ref2=_iterator2[_i2++];}else{_i2=_iterator2.next();if(_i2.done)break;_ref2=_i2.value;}var _childRoute3=_ref2;if(_childRoute3.key===activeChildRoute.key){continue;}if(keyIndex>=0&&_childRoute3.key!==action.key){continue;}var _childRouter5=childRouters[_childRoute3.routeName];if(_childRouter5){var _route4=_childRouter5.getStateForAction(action,_childRoute3);if(_route4===null){return state;}else if(_route4&&_route4!==_childRoute3){return _StateUtils.default.replaceAt(state,_childRoute3.key,_route4,action.preserveFocus||action.type.includes('DRAWER'));}}}return state;},getPathAndParamsForState:function getPathAndParamsForState(state){var route=state.routes[state.index];return getPathAndParamsForRoute(route);},getActionForPathAndParams:function getActionForPathAndParams(path,params){return _getActionForPathAndParams(path,params);},getScreenOptions:(0,_createConfigGetter.default)(routeConfigs,stackConfig.defaultNavigationOptions)};};exports.default=_default;","map":{"version":3,"sources":["StackRouter.js"],"names":["action","NavigationActions","StackActions","defaultActionCreators","stackConfig","validateRouteConfigMap","childRouters","routeNames","Object","routeConfig","routeConfigs","screen","initialRouteParams","getCustomActionCreators","initialRouteName","initialChildRouter","route","childRouter","behavesLikePushAction","childState","childAction","params","key","isTransitioning","index","routes","routeName","initialRouteKey","getPathAndParamsForRoute","getActionForPathAndParams","createPathParser","getComponentForState","activeChildRoute","state","getScreenForRouteName","getComponentForRouteName","getActionCreators","pop","n","popToTop","push","replace","newKey","invariant","reset","actions","dismiss","getStateForAction","getInitialState","isResetToRootStack","activeChildRouter","StateUtils","childRoute","nextRouteState","newState","lastRouteIndex","r","getParamsForRouteAndAction","childRouterNames","i","childRouterName","initChildRoute","navigatedChildRoute","routeToPush","routeIndex","lastRoute","newStackActions","router","newStackAction","immediate","backRouteIndex","Math","backRoute","keyIndex","getPathAndParamsForState","getScreenOptions","createConfigGetter"],"mappings":"sbAAA,+EACA,oEACA,gFACA,sFACA,iEACA,wFACA,qEACA,4CACA,sCAEA,QAAA,CAAA,qBAAA,CAAA,MAAA,CAAuC,CACrC,MACEA,CAAAA,MAAM,CAANA,IAAAA,GAAgBC,iBAAiB,CAAjCD,QAAAA,EACAA,MAAM,CAANA,IAAAA,GAAgBE,YAAY,CAF9B,IAAA,CAMF,IAAMC,CAAAA,qBAAqB,CAArBA,QAAAA,CAAAA,qBAAAA,EAAwB,CAAA,MAAA,EAAA,CAA9B,CAAA,CAEA,QAAA,CAAA,kBAAA,CAAA,MAAA,CAAoC,CAClC,MAAOH,CAAAA,MAAM,CAANA,IAAAA,GAAgBE,YAAY,CAA5BF,KAAAA,EAAsCA,MAAM,CAANA,GAAAA,GAA7C,IAAA,CAGF,C,aAAe,kBAAA,YAAA,CAAoC,CAArBI,GAAAA,CAAAA,WAAqB,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CAAP,EAAdA,CAE5BC,oCAAAA,YAAAA,EAEA,GAAMC,CAAAA,YAAY,CAAlB,EAAA,CACA,GAAMC,CAAAA,UAAU,CAAGC,MAAM,CAANA,IAAAA,CAAnB,YAAmBA,CAAnB,CAGAD,UAAU,CAAVA,OAAAA,CAAmB,SAAA,SA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yC,QAAQ,EAARA,CAAAA,EAAiBrB,YAAU,CAAVA,GAAAA,GAAmBpD,MAAM,CAA9C,GAAA,CAAoD,CAClD,SAEF,IAAIiB,CAAAA,aAAW,CAAGX,YAAY,CAAC8C,YAAU,CAAzC,SAA8B,CAA9B,CACA,GAAA,aAAA,CAAiB,CACf,GAAMpC,CAAAA,OAAK,CAAGC,aAAW,CAAXA,iBAAAA,CAAAA,MAAAA,CAAd,YAAcA,CAAd,CAEA,GAAID,OAAK,GAAT,IAAA,CAAoB,CAClB,MAAA,CAAA,KAAA,CADF,CAAA,IAEO,IAAIA,OAAK,EAAIA,OAAK,GAAlB,YAAA,CAAmC,CACxC,MAAOmC,qBAAAA,SAAAA,CAAAA,KAAAA,CAELC,YAAU,CAFLD,GAAAA,CAAAA,OAAAA,CAMLnD,MAAM,CAANA,aAAAA,EAAwBA,MAAM,CAANA,IAAAA,CAAAA,QAAAA,CAN1B,QAM0BA,CANnBmD,CAAP,CASH,CACF,CAED,OAAA,CAAA,KAAA,CA9cG,CAAA,CAidLuB,wBAjdK,CAAA,QAAA,CAAA,wBAAA,CAAA,KAAA,CAid2B,CAC9B,GAAM1D,CAAAA,KAAK,CAAGiB,KAAK,CAALA,MAAAA,CAAaA,KAAK,CAAhC,KAAcA,CAAd,CACA,MAAOL,CAAAA,wBAAwB,CAA/B,KAA+B,CAA/B,CAndG,CAAA,CAsdLC,yBAtdK,CAAA,QAAA,CAAA,yBAAA,CAAA,IAAA,CAAA,MAAA,CAsdmC,CACtC,MAAOA,CAAAA,0BAAyB,CAAA,IAAA,CAAhC,MAAgC,CAAhC,CAvdG,CAAA,CA0dL8C,gBAAgB,CAAEC,gCAAkB,YAAlBA,CAEhBxE,WAAW,CA5df,wBA0doBwE,CA1db,CAAP,CA3GF,C","sourcesContent":["import * as NavigationActions from '../NavigationActions';\nimport * as StackActions from './StackActions';\nimport createConfigGetter from './createConfigGetter';\nimport getScreenForRouteName from './getScreenForRouteName';\nimport StateUtils from '../StateUtils';\nimport validateRouteConfigMap from './validateRouteConfigMap';\nimport invariant from '../utils/invariant';\nimport { generateKey } from './KeyGenerator';\nimport { createPathParser } from './pathUtils';\n\nfunction behavesLikePushAction(action) {\n return (\n action.type === NavigationActions.NAVIGATE ||\n action.type === StackActions.PUSH\n );\n}\n\nconst defaultActionCreators = () => ({});\n\nfunction isResetToRootStack(action) {\n return action.type === StackActions.RESET && action.key === null;\n}\n\nexport default (routeConfigs, stackConfig = {}) => {\n // Fail fast on invalid route definitions\n validateRouteConfigMap(routeConfigs);\n\n const childRouters = {};\n const routeNames = Object.keys(routeConfigs);\n\n // Loop through routes and find child routers\n routeNames.forEach(routeName => {\n // We're not using `getScreenForRouteName` here to preserve the lazy loading\n // behaviour of routes. This means that routes with child routers must be\n // defined using a component directly or with an object with a screen prop.\n const routeConfig = routeConfigs[routeName];\n const screen =\n routeConfig && routeConfig.screen ? routeConfig.screen : routeConfig;\n if (screen && screen.router) {\n // If it has a router it's a navigator.\n childRouters[routeName] = screen.router;\n } else {\n // If it doesn't have router it's an ordinary React component.\n childRouters[routeName] = null;\n }\n });\n\n const { initialRouteParams } = stackConfig;\n const getCustomActionCreators =\n stackConfig.getCustomActionCreators || defaultActionCreators;\n\n const initialRouteName = stackConfig.initialRouteName || routeNames[0];\n\n const initialChildRouter = childRouters[initialRouteName];\n\n function getInitialState(action) {\n let route = {};\n const childRouter = childRouters[action.routeName];\n\n // This is a push-like action, and childRouter will be a router or null if we are responsible for this routeName\n if (behavesLikePushAction(action) && childRouter !== undefined) {\n let childState = {};\n // The router is null for normal leaf routes\n if (childRouter !== null) {\n const childAction =\n action.action || NavigationActions.init({ params: action.params });\n childState = childRouter.getStateForAction(childAction);\n }\n\n return {\n key: 'StackRouterRoot',\n isTransitioning: false,\n index: 0,\n routes: [\n {\n params: action.params,\n ...childState,\n key: action.key || generateKey(),\n routeName: action.routeName,\n },\n ],\n };\n }\n\n if (initialChildRouter) {\n route = initialChildRouter.getStateForAction(\n NavigationActions.navigate({\n routeName: initialRouteName,\n params: initialRouteParams,\n })\n );\n }\n const params = (routeConfigs[initialRouteName].params ||\n route.params ||\n action.params ||\n initialRouteParams) && {\n ...(routeConfigs[initialRouteName].params || {}),\n ...(route.params || {}),\n ...(action.params || {}),\n ...(initialRouteParams || {}),\n };\n const { initialRouteKey } = stackConfig;\n route = {\n ...route,\n ...(params ? { params } : {}),\n routeName: initialRouteName,\n key: action.key || (initialRouteKey || generateKey()),\n };\n return {\n key: 'StackRouterRoot',\n isTransitioning: false,\n index: 0,\n routes: [route],\n };\n }\n\n function getParamsForRouteAndAction(routeName, action) {\n let routeConfig = routeConfigs[routeName];\n if (routeConfig && routeConfig.params) {\n return { ...routeConfig.params, ...action.params };\n } else {\n return action.params;\n }\n }\n\n const {\n getPathAndParamsForRoute,\n getActionForPathAndParams,\n } = createPathParser(childRouters, routeConfigs, stackConfig);\n\n return {\n childRouters,\n\n getComponentForState(state) {\n const activeChildRoute = state.routes[state.index];\n const { routeName } = activeChildRoute;\n if (childRouters[routeName]) {\n return childRouters[routeName].getComponentForState(activeChildRoute);\n }\n return getScreenForRouteName(routeConfigs, routeName);\n },\n\n getComponentForRouteName(routeName) {\n return getScreenForRouteName(routeConfigs, routeName);\n },\n\n getActionCreators(route, navStateKey) {\n return {\n ...getCustomActionCreators(route, navStateKey),\n pop: (n, params) =>\n StackActions.pop({\n n,\n ...params,\n }),\n popToTop: params => StackActions.popToTop(params),\n push: (routeName, params, action) =>\n StackActions.push({\n routeName,\n params,\n action,\n }),\n replace: (replaceWith, params, action, newKey) => {\n if (typeof replaceWith === 'string') {\n return StackActions.replace({\n routeName: replaceWith,\n params,\n action,\n key: route.key,\n newKey,\n });\n }\n invariant(\n typeof replaceWith === 'object',\n 'Must replaceWith an object or a string'\n );\n invariant(\n params == null,\n 'Params must not be provided to .replace() when specifying an object'\n );\n invariant(\n action == null,\n 'Child action must not be provided to .replace() when specifying an object'\n );\n invariant(\n newKey == null,\n 'Child action must not be provided to .replace() when specifying an object'\n );\n return StackActions.replace(replaceWith);\n },\n reset: (actions, index) =>\n StackActions.reset({\n actions,\n index: index == null ? actions.length - 1 : index,\n key: navStateKey,\n }),\n dismiss: () =>\n NavigationActions.back({\n key: navStateKey,\n }),\n };\n },\n\n getStateForAction(action, state) {\n // Set up the initial state if needed\n if (!state) {\n return getInitialState(action);\n }\n\n const activeChildRoute = state.routes[state.index];\n\n if (\n !isResetToRootStack(action) &&\n action.type !== NavigationActions.NAVIGATE\n ) {\n // Let the active child router handle the action\n const activeChildRouter = childRouters[activeChildRoute.routeName];\n if (activeChildRouter) {\n const route = activeChildRouter.getStateForAction(\n action,\n activeChildRoute\n );\n if (route !== null && route !== activeChildRoute) {\n return StateUtils.replaceAt(\n state,\n activeChildRoute.key,\n route,\n // the following tells replaceAt to NOT change the index to this route for the setParam action, because people don't expect param-setting actions to switch the active route\n action.type === NavigationActions.SET_PARAMS\n );\n }\n }\n } else if (action.type === NavigationActions.NAVIGATE) {\n // Traverse routes from the top of the stack to the bottom, so the\n // active route has the first opportunity, then the one before it, etc.\n\n for (let childRoute of state.routes.slice().reverse()) {\n let childRouter = childRouters[childRoute.routeName];\n let childAction =\n action.routeName === childRoute.routeName && action.action\n ? action.action\n : action;\n\n if (childRouter) {\n const nextRouteState = childRouter.getStateForAction(\n childAction,\n childRoute\n );\n\n if (nextRouteState === null || nextRouteState !== childRoute) {\n const newState = StateUtils.replaceAndPrune(\n state,\n nextRouteState ? nextRouteState.key : childRoute.key,\n nextRouteState ? nextRouteState : childRoute\n );\n return {\n ...newState,\n isTransitioning:\n state.index !== newState.index\n ? action.immediate !== true\n : state.isTransitioning,\n };\n }\n }\n }\n }\n\n // Handle push and navigate actions. This must happen after the focused\n // child router has had a chance to handle the action.\n if (\n behavesLikePushAction(action) &&\n childRouters[action.routeName] !== undefined // undefined means it's not a childRouter or a screen\n ) {\n const childRouter = childRouters[action.routeName];\n let route;\n\n invariant(\n action.type !== StackActions.PUSH || action.key == null,\n 'StackRouter does not support key on the push action'\n );\n\n // Before pushing a new route we first try to find one in the existing route stack\n // More information on this: https://github.com/react-navigation/rfcs/blob/master/text/0004-less-pushy-navigate.md\n const lastRouteIndex = state.routes.findIndex(r => {\n if (action.key) {\n return r.key === action.key;\n } else {\n return r.routeName === action.routeName;\n }\n });\n\n // An instance of this route exists already and we're dealing with a navigate action\n if (action.type !== StackActions.PUSH && lastRouteIndex !== -1) {\n // If index is unchanged and params are not being set, leave state identity intact\n if (state.index === lastRouteIndex && !action.params) {\n return null;\n }\n\n // Remove the now unused routes at the tail of the routes array\n const routes = state.routes.slice(0, lastRouteIndex + 1);\n\n // Apply params if provided, otherwise leave route identity intact\n if (action.params) {\n const route = state.routes[lastRouteIndex];\n routes[lastRouteIndex] = {\n ...route,\n params: {\n ...route.params,\n ...action.params,\n },\n };\n }\n // Return state with new index. Change isTransitioning only if index has changed\n return {\n ...state,\n isTransitioning:\n state.index !== lastRouteIndex\n ? action.immediate !== true\n : state.isTransitioning,\n index: lastRouteIndex,\n routes,\n };\n }\n\n if (childRouter) {\n // Delegate to the child router with the given action, or init it\n const childAction =\n action.action ||\n NavigationActions.init({\n params: getParamsForRouteAndAction(action.routeName, action),\n });\n route = {\n params: getParamsForRouteAndAction(action.routeName, action),\n // note(brentvatne): does it make sense to wipe out the params\n // here? or even to add params at all? need more info about what\n // this solves\n ...childRouter.getStateForAction(childAction),\n routeName: action.routeName,\n key: action.key || generateKey(),\n };\n } else {\n // Create the route from scratch\n route = {\n params: getParamsForRouteAndAction(action.routeName, action),\n routeName: action.routeName,\n key: action.key || generateKey(),\n };\n }\n return {\n ...StateUtils.push(state, route),\n isTransitioning: action.immediate !== true,\n };\n } else if (\n action.type === StackActions.PUSH &&\n childRouters[action.routeName] === undefined\n ) {\n // Return the state identity to bubble the action up\n return state;\n }\n\n // Handle navigation to other child routers that are not yet pushed\n if (behavesLikePushAction(action)) {\n const childRouterNames = Object.keys(childRouters);\n for (let i = 0; i < childRouterNames.length; i++) {\n const childRouterName = childRouterNames[i];\n const childRouter = childRouters[childRouterName];\n if (childRouter) {\n // For each child router, start with a blank state\n const initChildRoute = childRouter.getStateForAction(\n NavigationActions.init()\n );\n // Then check to see if the router handles our navigate action\n const navigatedChildRoute = childRouter.getStateForAction(\n action,\n initChildRoute\n );\n let routeToPush = null;\n if (navigatedChildRoute === null) {\n // Push the route if the router has 'handled' the action and returned null\n routeToPush = initChildRoute;\n } else if (navigatedChildRoute !== initChildRoute) {\n // Push the route if the state has changed in response to this navigation\n routeToPush = navigatedChildRoute;\n }\n if (routeToPush) {\n const route = {\n ...routeToPush,\n routeName: childRouterName,\n key: action.key || generateKey(),\n };\n return {\n ...StateUtils.push(state, route),\n isTransitioning: action.immediate !== true,\n };\n }\n }\n }\n }\n\n // Handle pop-to-top behavior. Make sure this happens after children have had a chance to handle the action, so that the inner stack pops to top first.\n if (action.type === StackActions.POP_TO_TOP) {\n // Refuse to handle pop to top if a key is given that doesn't correspond\n // to this router\n if (action.key && state.key !== action.key) {\n return state;\n }\n\n // If we're already at the top, then we return the state with a new\n // identity so that the action is handled by this router.\n if (state.index > 0) {\n return {\n ...state,\n isTransitioning: action.immediate !== true,\n index: 0,\n routes: [state.routes[0]],\n };\n }\n return state;\n }\n\n // Handle replace action\n if (action.type === StackActions.REPLACE) {\n let routeIndex;\n\n // If the key param is undefined, set the index to the last route in the stack\n if (action.key === undefined && state.routes.length) {\n routeIndex = state.routes.length - 1;\n } else {\n routeIndex = state.routes.findIndex(r => r.key === action.key);\n }\n\n // Only replace if the key matches one of our routes\n if (routeIndex !== -1) {\n const childRouter = childRouters[action.routeName];\n let childState = {};\n if (childRouter) {\n const childAction =\n action.action ||\n NavigationActions.init({\n params: getParamsForRouteAndAction(action.routeName, action),\n });\n childState = childRouter.getStateForAction(childAction);\n }\n const routes = [...state.routes];\n routes[routeIndex] = {\n params: getParamsForRouteAndAction(action.routeName, action),\n // merge the child state in this order to allow params override\n ...childState,\n routeName: action.routeName,\n key: action.newKey || generateKey(),\n };\n return { ...state, routes };\n }\n }\n\n // Update transitioning state\n if (\n action.type === StackActions.COMPLETE_TRANSITION &&\n (action.key == null || action.key === state.key) &&\n action.toChildKey === state.routes[state.index].key &&\n state.isTransitioning\n ) {\n return {\n ...state,\n isTransitioning: false,\n };\n }\n\n if (action.type === NavigationActions.SET_PARAMS) {\n const key = action.key;\n const lastRoute = state.routes.find(route => route.key === key);\n if (lastRoute) {\n const params = {\n ...lastRoute.params,\n ...action.params,\n };\n const routes = [...state.routes];\n routes[state.routes.indexOf(lastRoute)] = {\n ...lastRoute,\n params,\n };\n return {\n ...state,\n routes,\n };\n }\n }\n\n if (action.type === StackActions.RESET) {\n // Only handle reset actions that are unspecified or match this state key\n if (action.key != null && action.key != state.key) {\n // Deliberately use != instead of !== so we can match null with\n // undefined on either the state or the action\n return state;\n }\n const newStackActions = action.actions;\n\n return {\n ...state,\n routes: newStackActions.map(newStackAction => {\n const router = childRouters[newStackAction.routeName];\n\n let childState = {};\n\n if (router) {\n const childAction =\n newStackAction.action ||\n NavigationActions.init({\n params: getParamsForRouteAndAction(\n newStackAction.routeName,\n newStackAction\n ),\n });\n\n childState = router.getStateForAction(childAction);\n }\n\n return {\n params: getParamsForRouteAndAction(\n newStackAction.routeName,\n newStackAction\n ),\n ...childState,\n routeName: newStackAction.routeName,\n key: newStackAction.key || generateKey(),\n };\n }),\n index: action.index,\n };\n }\n\n if (\n action.type === NavigationActions.BACK ||\n action.type === StackActions.POP\n ) {\n const { key, n, immediate } = action;\n let backRouteIndex = state.index;\n if (action.type === StackActions.POP && n != null) {\n // determine the index to go back *from*. In this case, n=1 means to go\n // back from state.index, as if it were a normal \"BACK\" action\n backRouteIndex = Math.max(1, state.index - n + 1);\n } else if (key) {\n const backRoute = state.routes.find(route => route.key === key);\n backRouteIndex = state.routes.indexOf(backRoute);\n }\n\n if (backRouteIndex > 0) {\n return {\n ...state,\n routes: state.routes.slice(0, backRouteIndex),\n index: backRouteIndex - 1,\n isTransitioning: immediate !== true,\n };\n }\n }\n\n // By this point in the router's state handling logic, we have handled the behavior of the active route, and handled any stack actions.\n // If we haven't returned by now, we should allow non-active child routers to handle this action, and switch to that index if the child state (route) does change..\n\n const keyIndex = action.key ? StateUtils.indexOf(state, action.key) : -1;\n\n // Traverse routes from the top of the stack to the bottom, so the\n // active route has the first opportunity, then the one before it, etc.\n for (let childRoute of state.routes.slice().reverse()) {\n if (childRoute.key === activeChildRoute.key) {\n // skip over the active child because we let it attempt to handle the action earlier\n continue;\n }\n // If a key is provided and in routes state then let's use that\n // knowledge to skip extra getStateForAction calls on other child\n // routers\n if (keyIndex >= 0 && childRoute.key !== action.key) {\n continue;\n }\n let childRouter = childRouters[childRoute.routeName];\n if (childRouter) {\n const route = childRouter.getStateForAction(action, childRoute);\n\n if (route === null) {\n return state;\n } else if (route && route !== childRoute) {\n return StateUtils.replaceAt(\n state,\n childRoute.key,\n route,\n // People don't expect these actions to switch the active route\n // TODO: We should switch to action.preserveFocus: true for drawer in future\n action.preserveFocus || action.type.includes('DRAWER')\n );\n }\n }\n }\n\n return state;\n },\n\n getPathAndParamsForState(state) {\n const route = state.routes[state.index];\n return getPathAndParamsForRoute(route);\n },\n\n getActionForPathAndParams(path, params) {\n return getActionForPathAndParams(path, params);\n },\n\n getScreenOptions: createConfigGetter(\n routeConfigs,\n stackConfig.defaultNavigationOptions\n ),\n };\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _NativeMethodsMixin=_interopRequireDefault(require(\"../NativeMethodsMixin\"));var applyNativeMethods=function applyNativeMethods(Component){Object.keys(_NativeMethodsMixin.default).forEach(function(method){if(!Component.prototype[method]){Component.prototype[method]=_NativeMethodsMixin.default[method];}});return Component;};var _default=applyNativeMethods;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/applyNativeMethods/index.js"],"names":["applyNativeMethods","Component","Object","keys","NativeMethodsMixin","forEach","method","prototype"],"mappings":"mKAQA,iFAEA,GAAIA,CAAAA,kBAAkB,CAAG,QAASA,CAAAA,kBAAT,CAA4BC,SAA5B,CAAuC,CAC9DC,MAAM,CAACC,IAAP,CAAYC,2BAAZ,EAAgCC,OAAhC,CAAwC,SAAUC,MAAV,CAAkB,CACxD,GAAI,CAACL,SAAS,CAACM,SAAV,CAAoBD,MAApB,CAAL,CAAkC,CAChCL,SAAS,CAACM,SAAV,CAAoBD,MAApB,EAA8BF,4BAAmBE,MAAnB,CAA9B,CACD,CACF,CAJD,EAKA,MAAOL,CAAAA,SAAP,CACD,CAPD,C,aASeD,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport NativeMethodsMixin from '../NativeMethodsMixin';\n\nvar applyNativeMethods = function applyNativeMethods(Component) {\n Object.keys(NativeMethodsMixin).forEach(function (method) {\n if (!Component.prototype[method]) {\n Component.prototype[method] = NativeMethodsMixin[method];\n }\n });\n return Component;\n};\n\nexport default applyNativeMethods;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.val=val;function val(v){return v&&v.__getValue?v.__getValue():v||0;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/val.js"],"names":["val","v","__getValue"],"mappings":"yEAAO,QAASA,CAAAA,GAAT,CAAaC,CAAb,CAAgB,CACrB,MAAOA,CAAAA,CAAC,EAAIA,CAAC,CAACC,UAAP,CAAoBD,CAAC,CAACC,UAAF,EAApB,CAAqCD,CAAC,EAAI,CAAjD,CACD","sourcesContent":["export function val(v) {\n return v && v.__getValue ? v.__getValue() : v || 0;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=Swipeable;function Swipeable(_ref){var children=_ref.children;console.warn('Swipeable is not yet supported on web.');return children;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/Swipeable.web.js"],"names":["Swipeable","children","console","warn"],"mappings":"mFAAe,QAASA,CAAAA,SAAT,MAAiC,IAAZC,CAAAA,QAAY,MAAZA,QAAY,CAC9CC,OAAO,CAACC,IAAR,CAAa,wCAAb,EACA,MAAOF,CAAAA,QAAP,CACD","sourcesContent":["export default function Swipeable({ children }) {\n console.warn('Swipeable is not yet supported on web.');\n return children;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _slicedToArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _core=require(\"@unimodules/core\");var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _ScreenOrientation=require(\"./ScreenOrientation.types\");var _ScreenOrientation2=require(\"./ScreenOrientation\");var _OrientationWebToAPI;var OrientationLockAPIToWeb={DEFAULT:_ScreenOrientation.WebOrientationLock.NATURAL,ALL:_ScreenOrientation.WebOrientationLock.ANY,PORTRAIT:_ScreenOrientation.WebOrientationLock.PORTRAIT,PORTRAIT_UP:_ScreenOrientation.WebOrientationLock.PORTRAIT_PRIMARY,PORTRAIT_DOWN:_ScreenOrientation.WebOrientationLock.PORTRAIT_SECONDARY,LANDSCAPE:_ScreenOrientation.WebOrientationLock.LANDSCAPE,LANDSCAPE_LEFT:_ScreenOrientation.WebOrientationLock.LANDSCAPE_PRIMARY,LANDSCAPE_RIGHT:_ScreenOrientation.WebOrientationLock.LANDSCAPE_SECONDARY};var OrientationWebToAPI=(_OrientationWebToAPI={},(0,_defineProperty2.default)(_OrientationWebToAPI,_ScreenOrientation.WebOrientation.PORTRAIT_PRIMARY,_ScreenOrientation.Orientation.PORTRAIT_UP),(0,_defineProperty2.default)(_OrientationWebToAPI,_ScreenOrientation.WebOrientation.PORTRAIT_SECONDARY,_ScreenOrientation.Orientation.PORTRAIT_DOWN),(0,_defineProperty2.default)(_OrientationWebToAPI,_ScreenOrientation.WebOrientation.LANDSCAPE_PRIMARY,_ScreenOrientation.Orientation.LANDSCAPE_LEFT),(0,_defineProperty2.default)(_OrientationWebToAPI,_ScreenOrientation.WebOrientation.LANDSCAPE_SECONDARY,_ScreenOrientation.Orientation.LANDSCAPE_RIGHT),_OrientationWebToAPI);var _ref=_ExecutionEnvironment.canUseViewport&&window,screen=_ref.screen;var orientation=_ExecutionEnvironment.canUseViewport&&(screen.orientation||screen.msOrientation||null);function emitOrientationEvent(){var _ref2,_ref3,orientationLock,orientationInfo;return _regenerator.default.async(function emitOrientationEvent$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(Promise.all([(0,_ScreenOrientation2.getOrientationLockAsync)(),(0,_ScreenOrientation2.getOrientationAsync)()]));case 2:_ref2=_context.sent;_ref3=(0,_slicedToArray2.default)(_ref2,2);orientationLock=_ref3[0];orientationInfo=_ref3[1];_core.SyntheticPlatformEmitter.emit('expoDidUpdateDimensions',{orientationLock:orientationLock,orientationInfo:orientationInfo});case 7:case\"end\":return _context.stop();}}});}if(_ExecutionEnvironment.canUseEventListeners){if(orientation){orientation.addEventListener('change',emitOrientationEvent);}else{window.addEventListener('orientationchange',emitOrientationEvent);}}function _convertToLegacyOrientationLock(orientationLock){switch(orientationLock){case _ScreenOrientation.WebOrientationLock.UNKNOWN:throw new Error(\"expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.\");case _ScreenOrientation.WebOrientationLock.ANY:return['portrait','landscape'];case _ScreenOrientation.WebOrientationLock.NATURAL:return'default';default:return orientationLock;}}function _lockAsync(webOrientationLock){var legacyLock,lockOrientation,isSuccess;return _regenerator.default.async(function _lockAsync$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(!(webOrientationLock===_ScreenOrientation.WebOrientationLock.UNKNOWN)){_context2.next=2;break;}throw new Error(\"expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.\");case 2:if(!(screen.orientation&&screen.orientation.lock)){_context2.next=7;break;}_context2.next=5;return _regenerator.default.awrap(screen.orientation.lock(webOrientationLock));case 5:_context2.next=16;break;case 7:if(!(screen['lockOrientation']||screen['mozLockOrientation']||screen['msLockOrientation'])){_context2.next=15;break;}legacyLock=_convertToLegacyOrientationLock(webOrientationLock);lockOrientation=screen['lockOrientation']||screen['mozLockOrientation']||screen['msLockOrientation'];isSuccess=lockOrientation.call(screen,legacyLock);if(isSuccess){_context2.next=13;break;}throw new Error(\"Applying orientation lock: \"+JSON.stringify(webOrientationLock)+\" to device was denied\");case 13:_context2.next=16;break;case 15:throw new Error(\"expo-screen-orientation: The browser doesn't support locking screen orientation.\");case 16:case\"end\":return _context2.stop();}}});}var _lastWebOrientationLock=_ScreenOrientation.WebOrientationLock.UNKNOWN;var _default={get name(){return'ExpoScreenOrientation';},supportsOrientationLockAsync:function supportsOrientationLockAsync(orientationLock){return _regenerator.default.async(function supportsOrientationLockAsync$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:return _context3.abrupt(\"return\",orientationLock in OrientationLockAPIToWeb);case 1:case\"end\":return _context3.stop();}}});},getPlatformOrientationLockAsync:function getPlatformOrientationLockAsync(){return _regenerator.default.async(function getPlatformOrientationLockAsync$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:return _context4.abrupt(\"return\",_lastWebOrientationLock);case 1:case\"end\":return _context4.stop();}}});},getOrientationAsync:function getOrientationAsync(){var webOrientation;return _regenerator.default.async(function getOrientationAsync$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:webOrientation=screen['msOrientation']||(screen.orientation||screen['mozOrientation']||{}).type;if(webOrientation){_context5.next=3;break;}return _context5.abrupt(\"return\",{orientation:_ScreenOrientation.Orientation.UNKNOWN});case 3:return _context5.abrupt(\"return\",{orientation:OrientationWebToAPI[webOrientation]});case 4:case\"end\":return _context5.stop();}}});},lockAsync:function lockAsync(orientationLock){var webOrientationLock;return _regenerator.default.async(function lockAsync$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:webOrientationLock=OrientationLockAPIToWeb[orientationLock];if(webOrientationLock){_context6.next=3;break;}throw new TypeError(\"Invalid Orientation Lock: \"+orientationLock);case 3:_context6.next=5;return _regenerator.default.awrap(_lockAsync(webOrientationLock));case 5:case\"end\":return _context6.stop();}}});},lockPlatformAsync:function lockPlatformAsync(webOrientationLock){return _regenerator.default.async(function lockPlatformAsync$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_context7.next=2;return _regenerator.default.awrap(_lockAsync(webOrientationLock));case 2:_lastWebOrientationLock=webOrientationLock;case 3:case\"end\":return _context7.stop();}}});},unlockAsync:function unlockAsync(){var unlockOrientation,isSuccess;return _regenerator.default.async(function unlockAsync$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:if(!(screen.orientation&&screen.orientation.unlock)){_context8.next=4;break;}screen.orientation.unlock();_context8.next=12;break;case 4:if(!(screen['unlockOrientation']||screen['mozUnlockOrientation']||screen['msUnlockOrientation'])){_context8.next=11;break;}unlockOrientation=screen['unlockOrientation']||screen['mozUnlockOrientation']||screen['msUnlockOrientation'];isSuccess=unlockOrientation.call(screen);if(isSuccess){_context8.next=9;break;}throw new Error(\"Unlocking screen orientation on device was denied\");case 9:_context8.next=12;break;case 11:throw new Error(\"expo-screen-orientation: The browser doesn't support unlocking screen orientation.\");case 12:case\"end\":return _context8.stop();}}});}};exports.default=_default;","map":{"version":3,"sources":["../../src/ScreenOrientation/ExpoScreenOrientation.web.ts"],"names":[],"mappings":"4aAAA,sCACA,mEAEA,4DAQA,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BAAY,OADpB,CAdE,0CAkBJ,CACL,WAAW,CAAE,mBAAmB,CAAC,cAAD,CAD3B,CAlBI,kDAsBP,SAtBO,oBAsBG,eAtBH,gJAuBL,kBAvBK,CAuBgB,uBAAuB,CAAC,eAAD,CAvBvC,IAwBN,kBAxBM,+BAyBH,IAAI,CAAA,SAAJ,8BAA2C,eAA3C,CAzBG,2DA2BL,UAAU,CAAC,kBAAD,CA3BL,kDA6BP,iBA7BO,4BA6BW,kBA7BX,oLA8BL,UAAU,CAAC,kBAAD,CA9BL,SA+BX,uBAAuB,CAAG,kBAA1B,CA/BW,gDAiCP,WAjCO,sLAkCP,MAAM,CAAC,WAAP,EAAsB,MAAM,CAAC,WAAP,CAAmB,MAlClC,2BAmCT,MAAM,CAAC,WAAP,CAAmB,MAAnB,GAnCS,oCAqCT,MAAM,CAAC,mBAAD,CAAN,EACA,MAAM,CAAC,sBAAD,CADN,EAEA,MAAM,CAAC,qBAAD,CAvCG,4BAyCH,iBAzCG,CA0CP,MAAM,CAAC,mBAAD,CAAN,EACA,MAAM,CAAC,sBAAD,CADN,EAEA,MAAM,CAAC,qBAAD,CA5CC,CA8CH,SA9CG,CA8CS,iBAAiB,CAAC,IAAlB,CAAuB,MAAvB,CA9CT,IA+CJ,SA/CI,+BAgDD,IAAI,CAAA,KAAJ,qDAhDC,6CAmDH,IAAI,CAAA,KAAJ,sFAnDG,kD","sourcesContent":["import { SyntheticPlatformEmitter } from '@unimodules/core';\nimport { canUseViewport, canUseEventListeners } from 'fbjs/lib/ExecutionEnvironment';\n\nimport {\n OrientationInfo,\n Orientation,\n OrientationLock,\n WebOrientationLock,\n WebOrientation,\n} from './ScreenOrientation.types';\n\nimport { getOrientationLockAsync, getOrientationAsync } from './ScreenOrientation';\n\nconst OrientationLockAPIToWeb: {\n [lock: string]: WebOrientationLock;\n} = {\n DEFAULT: WebOrientationLock.NATURAL,\n ALL: WebOrientationLock.ANY,\n PORTRAIT: WebOrientationLock.PORTRAIT,\n PORTRAIT_UP: WebOrientationLock.PORTRAIT_PRIMARY,\n PORTRAIT_DOWN: WebOrientationLock.PORTRAIT_SECONDARY,\n LANDSCAPE: WebOrientationLock.LANDSCAPE,\n LANDSCAPE_LEFT: WebOrientationLock.LANDSCAPE_PRIMARY,\n LANDSCAPE_RIGHT: WebOrientationLock.LANDSCAPE_SECONDARY,\n};\n\nconst OrientationWebToAPI: {\n [orientationWeb: string]: Orientation;\n} = {\n [WebOrientation.PORTRAIT_PRIMARY]: Orientation.PORTRAIT_UP,\n [WebOrientation.PORTRAIT_SECONDARY]: Orientation.PORTRAIT_DOWN,\n [WebOrientation.LANDSCAPE_PRIMARY]: Orientation.LANDSCAPE_LEFT,\n [WebOrientation.LANDSCAPE_SECONDARY]: Orientation.LANDSCAPE_RIGHT,\n};\n\ndeclare const window: Window;\n\nconst { screen } = canUseViewport && window;\nconst orientation: ScreenOrientation | null =\n canUseViewport && (screen.orientation || (screen as any).msOrientation || null);\n\nasync function emitOrientationEvent() {\n const [orientationLock, orientationInfo] = await Promise.all([\n getOrientationLockAsync(),\n getOrientationAsync(),\n ]);\n SyntheticPlatformEmitter.emit('expoDidUpdateDimensions', {\n orientationLock,\n orientationInfo,\n });\n}\n\nif (canUseEventListeners) {\n if (orientation) {\n orientation.addEventListener('change', emitOrientationEvent);\n } else {\n window.addEventListener('orientationchange', emitOrientationEvent);\n }\n}\n\nfunction _convertToLegacyOrientationLock(orientationLock: WebOrientationLock): string | string[] {\n switch (orientationLock) {\n case WebOrientationLock.UNKNOWN:\n throw new Error(\n `expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.`\n );\n case WebOrientationLock.ANY:\n return ['portrait', 'landscape'];\n case WebOrientationLock.NATURAL:\n return 'default';\n default:\n return orientationLock;\n }\n}\n\nasync function _lockAsync(webOrientationLock: WebOrientationLock): Promise<void> {\n if (webOrientationLock === WebOrientationLock.UNKNOWN) {\n throw new Error(\n `expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.`\n );\n }\n if (screen.orientation && screen.orientation.lock) {\n await screen.orientation.lock(webOrientationLock);\n } else if (\n screen['lockOrientation'] ||\n screen['mozLockOrientation'] ||\n screen['msLockOrientation']\n ) {\n const legacyLock = _convertToLegacyOrientationLock(webOrientationLock);\n const lockOrientation =\n screen['lockOrientation'] || screen['mozLockOrientation'] || screen['msLockOrientation'];\n // correct `this` context must be passed in otherwise method call is disallowed by browser\n const isSuccess = lockOrientation.call(screen, legacyLock);\n if (!isSuccess) {\n throw new Error(\n `Applying orientation lock: ${JSON.stringify(webOrientationLock)} to device was denied`\n );\n }\n } else {\n throw new Error(\n `expo-screen-orientation: The browser doesn't support locking screen orientation.`\n );\n }\n}\n\nlet _lastWebOrientationLock: WebOrientationLock = WebOrientationLock.UNKNOWN;\n\nexport default {\n get name(): string {\n return 'ExpoScreenOrientation';\n },\n async supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean> {\n return orientationLock in OrientationLockAPIToWeb;\n },\n async getPlatformOrientationLockAsync(): Promise<WebOrientationLock> {\n return _lastWebOrientationLock;\n },\n async getOrientationAsync(): Promise<OrientationInfo> {\n const webOrientation =\n screen['msOrientation'] || (screen.orientation || screen['mozOrientation'] || {}).type;\n if (!webOrientation) {\n return {\n orientation: Orientation.UNKNOWN,\n };\n }\n return {\n orientation: OrientationWebToAPI[webOrientation],\n };\n },\n async lockAsync(orientationLock: OrientationLock): Promise<void> {\n const webOrientationLock = OrientationLockAPIToWeb[orientationLock];\n if (!webOrientationLock) {\n throw new TypeError(`Invalid Orientation Lock: ${orientationLock}`);\n }\n await _lockAsync(webOrientationLock);\n },\n async lockPlatformAsync(webOrientationLock: WebOrientationLock): Promise<void> {\n await _lockAsync(webOrientationLock);\n _lastWebOrientationLock = webOrientationLock;\n },\n async unlockAsync(): Promise<void> {\n if (screen.orientation && screen.orientation.unlock) {\n screen.orientation.unlock();\n } else if (\n screen['unlockOrientation'] ||\n screen['mozUnlockOrientation'] ||\n screen['msUnlockOrientation']\n ) {\n const unlockOrientation =\n screen['unlockOrientation'] ||\n screen['mozUnlockOrientation'] ||\n screen['msUnlockOrientation'];\n // correct `this` context must be passed in otherwise method call is disallowed by browser\n const isSuccess = unlockOrientation.call(screen);\n if (!isSuccess) {\n throw new Error(`Unlocking screen orientation on device was denied`);\n }\n } else {\n throw new Error(\n `expo-screen-orientation: The browser doesn't support unlocking screen orientation.`\n );\n }\n },\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedTransform=_interopRequireDefault(require(\"./AnimatedTransform\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));var _StyleSheet=_interopRequireDefault(require(\"../../../../exports/StyleSheet\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var flattenStyle=_StyleSheet.default.flatten;var AnimatedStyle=function(_AnimatedWithChildren){_inheritsLoose(AnimatedStyle,_AnimatedWithChildren);function AnimatedStyle(style){var _this;_this=_AnimatedWithChildren.call(this)||this;style=flattenStyle(style)||{};if(style.transform){style=_objectSpread({},style,{transform:new _AnimatedTransform.default(style.transform)});}_this._style=style;return _this;}var _proto=AnimatedStyle.prototype;_proto._walkStyleAndGetValues=function _walkStyleAndGetValues(style){var updatedStyle={};for(var key in style){var value=style[key];if(value instanceof _AnimatedNode.default){if(!value.__isNative){updatedStyle[key]=value.__getValue();}}else if(value&&!Array.isArray(value)&&typeof value==='object'){updatedStyle[key]=this._walkStyleAndGetValues(value);}else{updatedStyle[key]=value;}}return updatedStyle;};_proto.__getValue=function __getValue(){return this._walkStyleAndGetValues(this._style);};_proto._walkStyleAndGetAnimatedValues=function _walkStyleAndGetAnimatedValues(style){var updatedStyle={};for(var key in style){var value=style[key];if(value instanceof _AnimatedNode.default){updatedStyle[key]=value.__getAnimatedValue();}else if(value&&!Array.isArray(value)&&typeof value==='object'){updatedStyle[key]=this._walkStyleAndGetAnimatedValues(value);}}return updatedStyle;};_proto.__getAnimatedValue=function __getAnimatedValue(){return this._walkStyleAndGetAnimatedValues(this._style);};_proto.__attach=function __attach(){for(var key in this._style){var value=this._style[key];if(value instanceof _AnimatedNode.default){value.__addChild(this);}}};_proto.__detach=function __detach(){for(var key in this._style){var value=this._style[key];if(value instanceof _AnimatedNode.default){value.__removeChild(this);}}_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__makeNative=function __makeNative(){_AnimatedWithChildren.prototype.__makeNative.call(this);for(var key in this._style){var value=this._style[key];if(value instanceof _AnimatedNode.default){value.__makeNative();}}};_proto.__getNativeConfig=function __getNativeConfig(){var styleConfig={};for(var styleKey in this._style){if(this._style[styleKey]instanceof _AnimatedNode.default){styleConfig[styleKey]=this._style[styleKey].__getNativeTag();}}_NativeAnimatedHelper.default.validateStyles(styleConfig);return{type:'style',style:styleConfig};};return AnimatedStyle;}(_AnimatedWithChildren2.default);var _default=AnimatedStyle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedStyle.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_inheritsLoose","subClass","superClass","prototype","create","constructor","__proto__","flattenStyle","StyleSheet","flatten","AnimatedStyle","_AnimatedWithChildren","style","_this","call","transform","AnimatedTransform","_style","_proto","_walkStyleAndGetValues","updatedStyle","AnimatedNode","__isNative","__getValue","Array","isArray","_walkStyleAndGetAnimatedValues","__getAnimatedValue","__attach","__addChild","__detach","__removeChild","__makeNative","__getNativeConfig","styleConfig","styleKey","__getNativeTag","NativeAnimatedHelper","validateStyles","type","AnimatedWithChildren"],"mappings":"AASA,a,mKAQA,oEACA,8EACA,qFACA,qFACA,kFAVA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GA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ChB,IAAzC,CAA8C,IAA9C,EACD,CAVD,CAYAI,MAAM,CAACc,YAAP,CAAsB,QAASA,CAAAA,YAAT,EAAwB,CAC5CrB,qBAAqB,CAACR,SAAtB,CAAgC6B,YAAhC,CAA6ClB,IAA7C,CAAkD,IAAlD,EAEA,IAAK,GAAIrB,CAAAA,GAAT,GAAgB,MAAKwB,MAArB,CAA6B,CAC3B,GAAIrB,CAAAA,KAAK,CAAG,KAAKqB,MAAL,CAAYxB,GAAZ,CAAZ,CAEA,GAAIG,KAAK,WAAYyB,sBAArB,CAAmC,CACjCzB,KAAK,CAACoC,YAAN,GACD,CACF,CACF,CAVD,CAYAd,MAAM,CAACe,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,GAAIC,CAAAA,WAAW,CAAG,EAAlB,CAEA,IAAK,GAAIC,CAAAA,QAAT,GAAqB,MAAKlB,MAA1B,CAAkC,CAChC,GAAI,KAAKA,MAAL,CAAYkB,QAAZ,WAAiCd,sBAArC,CAAmD,CACjDa,WAAW,CAACC,QAAD,CAAX,CAAwB,KAAKlB,MAAL,CAAYkB,QAAZ,EAAsBC,cAAtB,EAAxB,CACD,CAGF,CAEDC,8BAAqBC,cAArB,CAAoCJ,WAApC,EACA,MAAO,CACLK,IAAI,CAAE,OADD,CAEL3B,KAAK,CAAEsB,WAFF,CAAP,CAID,CAhBD,CAkBA,MAAOxB,CAAAA,aAAP,CACD,CA5HD,CA4HE8B,8BA5HF,CAFA,C,aAgIe9B,a","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedTransform from './AnimatedTransform';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport StyleSheet from '../../../../exports/StyleSheet';\nvar flattenStyle = StyleSheet.flatten;\n\nvar AnimatedStyle =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedStyle, _AnimatedWithChildren);\n\n function AnimatedStyle(style) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n style = flattenStyle(style) || {};\n\n if (style.transform) {\n style = _objectSpread({}, style, {\n transform: new AnimatedTransform(style.transform)\n });\n }\n\n _this._style = style;\n return _this;\n } // Recursively get values for nested styles (like iOS's shadowOffset)\n\n\n var _proto = AnimatedStyle.prototype;\n\n _proto._walkStyleAndGetValues = function _walkStyleAndGetValues(style) {\n var updatedStyle = {};\n\n for (var key in style) {\n var value = style[key];\n\n if (value instanceof AnimatedNode) {\n if (!value.__isNative) {\n // We cannot use value of natively driven nodes this way as the value we have access from\n // JS may not be up to date.\n updatedStyle[key] = value.__getValue();\n }\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetValues(value);\n } else {\n updatedStyle[key] = value;\n }\n }\n\n return updatedStyle;\n };\n\n _proto.__getValue = function __getValue() {\n return this._walkStyleAndGetValues(this._style);\n } // Recursively get animated values for nested styles (like iOS's shadowOffset)\n ;\n\n _proto._walkStyleAndGetAnimatedValues = function _walkStyleAndGetAnimatedValues(style) {\n var updatedStyle = {};\n\n for (var key in style) {\n var value = style[key];\n\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getAnimatedValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);\n }\n }\n\n return updatedStyle;\n };\n\n _proto.__getAnimatedValue = function __getAnimatedValue() {\n return this._walkStyleAndGetAnimatedValues(this._style);\n };\n\n _proto.__attach = function __attach() {\n for (var key in this._style) {\n var value = this._style[key];\n\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n };\n\n _proto.__detach = function __detach() {\n for (var key in this._style) {\n var value = this._style[key];\n\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__makeNative = function __makeNative() {\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n\n for (var key in this._style) {\n var value = this._style[key];\n\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n var styleConfig = {};\n\n for (var styleKey in this._style) {\n if (this._style[styleKey] instanceof AnimatedNode) {\n styleConfig[styleKey] = this._style[styleKey].__getNativeTag();\n } // Non-animated styles are set using `setNativeProps`, no need\n // to pass those as a part of the node config\n\n }\n\n NativeAnimatedHelper.validateStyles(styleConfig);\n return {\n type: 'style',\n style: styleConfig\n };\n };\n\n return AnimatedStyle;\n}(AnimatedWithChildren);\n\nexport default AnimatedStyle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _default={forceTouchAvailable:false};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/PlatformConstants.web.js"],"names":["forceTouchAvailable"],"mappings":"6FAAe,CACbA,mBAAmB,CAAE,KADR,C","sourcesContent":["export default {\n forceTouchAvailable: false,\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _Easing=_interopRequireDefault(require(\"../../vendor/react-native/Animated/Easing\"));var _default=_Easing.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Easing/index.js"],"names":["Easing"],"mappings":"mKAQA,yF,aACeA,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport Easing from '../../vendor/react-native/Animated/Easing';\nexport default Easing;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createTabNavigator;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _reactNavigation=require(\"react-navigation\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-navigation-tabs/src/utils/createTabNavigator.tsx\";function createTabNavigator(TabView){var NavigationView=function(_React$Component){(0,_inherits2.default)(NavigationView,_React$Component);function NavigationView(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,NavigationView);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(NavigationView)).call.apply(_getPrototypeOf2,[this].concat(args)));_this._renderScene=function(_ref){var route=_ref.route;var _this$props=_this.props,screenProps=_this$props.screenProps,descriptors=_this$props.descriptors;var descriptor=descriptors[route.key];var TabComponent=descriptor.getComponent();return React.createElement(_reactNavigation.SceneView,{screenProps:screenProps,navigation:descriptor.navigation,component:TabComponent,__source:{fileName:_jsxFileName,lineNumber:67}});};_this._renderIcon=function(_ref2){var route=_ref2.route,focused=_ref2.focused,tintColor=_ref2.tintColor,_ref2$horizontal=_ref2.horizontal,horizontal=_ref2$horizontal===void 0?false:_ref2$horizontal;var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var options=descriptor.options;if(options.tabBarIcon){return typeof options.tabBarIcon==='function'?options.tabBarIcon({focused:focused,tintColor:tintColor,horizontal:horizontal}):options.tabBarIcon;}return null;};_this._getLabelText=function(_ref3){var route=_ref3.route;var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var options=descriptor.options;if(options.tabBarLabel){return options.tabBarLabel;}if(typeof options.title==='string'){return options.title;}return route.routeName;};_this._getAccessibilityLabel=function(_ref4){var route=_ref4.route;var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var options=descriptor.options;if(typeof options.tabBarAccessibilityLabel!=='undefined'){return options.tabBarAccessibilityLabel;}var label=_this._getLabelText({route:route});if(typeof label==='string'){var routes=_this.props.navigation.state.routes;return label+\", tab, \"+(routes.indexOf(route)+1)+\" of \"+routes.length;}return undefined;};_this._getTestID=function(_ref5){var route=_ref5.route;var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var options=descriptor.options;return options.tabBarTestID;};_this._makeDefaultHandler=function(_ref6){var route=_ref6.route,navigation=_ref6.navigation;return function(){if(navigation.isFocused()){if(route.hasOwnProperty('index')&&route.index>0){navigation.dispatch(_reactNavigation.StackActions.popToTop({key:route.key}));}else{navigation.emit('refocus');}}else{_this._jumpTo(route.routeName);}};};_this._handleTabPress=function(_ref7){var route=_ref7.route;_this._isTabPress=true;Promise.resolve().then(function(){return _this._isTabPress=false;});var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var navigation=descriptor.navigation,options=descriptor.options;var defaultHandler=_this._makeDefaultHandler({route:route,navigation:navigation});if(options.tabBarOnPress){options.tabBarOnPress({navigation:navigation,defaultHandler:defaultHandler});}else{defaultHandler();}};_this._handleTabLongPress=function(_ref8){var route=_ref8.route;var descriptors=_this.props.descriptors;var descriptor=descriptors[route.key];var navigation=descriptor.navigation,options=descriptor.options;var defaultHandler=_this._makeDefaultHandler({route:route,navigation:navigation});if(options.tabBarOnLongPress){options.tabBarOnLongPress({navigation:navigation,defaultHandler:defaultHandler});}else{defaultHandler();}};_this._handleIndexChange=function(index){if(_this._isTabPress){_this._isTabPress=false;return;}_this._jumpTo(_this.props.navigation.state.routes[index].routeName);};_this._jumpTo=function(routeName){var navigation=_this.props.navigation;navigation.dispatch(_reactNavigation.SwitchActions.jumpTo({routeName:routeName,key:navigation.state.key}));};_this._isTabPress=false;return _this;}(0,_createClass2.default)(NavigationView,[{key:\"render\",value:function render(){var _this$props2=this.props,descriptors=_this$props2.descriptors,navigation=_this$props2.navigation,screenProps=_this$props2.screenProps,navigationConfig=_this$props2.navigationConfig;var state=navigation.state;var route=state.routes[state.index];var descriptor=descriptors[route.key];return React.createElement(TabView,(0,_extends2.default)({},navigationConfig,descriptor.options,{getLabelText:this._getLabelText,getAccessibilityLabel:this._getAccessibilityLabel,getTestID:this._getTestID,renderIcon:this._renderIcon,renderScene:this._renderScene,onIndexChange:this._handleIndexChange,onTabPress:this._handleTabPress,onTabLongPress:this._handleTabLongPress,navigation:navigation,descriptors:descriptors,screenProps:screenProps,__source:{fileName:_jsxFileName,lineNumber:228}}));}}]);return NavigationView;}(React.Component);return function(routes){var config=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var router=(0,_reactNavigation.TabRouter)(routes,config);return(0,_reactNavigation.createNavigator)(NavigationView,router,config);};}","map":{"version":3,"sources":["createTabNavigator.tsx"],"names":["NavigationView","React","route","screenProps","descriptors","descriptor","TabComponent","focused","tintColor","horizontal","options","label","routes","navigation","StackActions","key","Promise","defaultHandler","SwitchActions","routeName","navigationConfig","state","config","router","TabRouter","createNavigator"],"mappings":"8yBAAA,oDACA,iD,2GAoDe,QAAA,CAAA,kBAAA,CAAA,OAAA,CAI2C,CAAA,GAClDA,CAAAA,cADkD,CAAA,SAAA,gBAAA,CAAA,CAAA,uBAAA,cAAA,CAAA,gBAAA,EAAA,QAAA,CAAA,cAAA,EAAA,CAAA,GAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,KAAA,CAAA,6BAAA,IAAA,CAAA,cAAA,EAAA,IAAA,GAAA,CAAA,IAAA,CAAA,SAAA,CAAA,MAAA,CAAA,IAAA,CAAA,GAAA,CAAA,KAAA,CAAA,IAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA,IAAA,EAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA,CAAA,SAAA,CAAA,IAAA,CAAA,CAAA,CAAA,KAAA,CAAA,wCAAA,IAAA,CAAA,CAAA,gBAAA,CAAA,6BAAA,cAAA,CAAA,EAAA,IAAA,CAAA,KAAA,CAAA,gBAAA,CAAA,CAAA,IAAA,EAAA,MAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,KAAA,CAAA,YAAA,CAIvC,SAAA,IAAA,CAA2C,CAAxCE,GAAAA,CAAAA,KAAwC,CAAA,IAAA,CAAxCA,KAAAA,CAAwC,GAAA,CAAA,WAAA,CACnB,KAAA,CADmB,KAAA,CAChDC,WADgD,CAAA,WAAA,CAAA,WAAA,CACnCC,WADmC,CAAA,WAAA,CAAA,WAAA,CAExD,GAAMC,CAA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B,sBAAA,CAKE,SAAS,CAAE,KALb,UAAA,CAME,UAAU,CAAE,KANd,WAAA,CAOE,WAAW,CAAE,KAPf,YAAA,CAQE,aAAa,CAAE,KARjB,kBAAA,CASE,UAAU,CAAE,KATd,eAAA,CAUE,cAAc,CAAE,KAVlB,mBAAA,CAWE,UAAU,CAXZ,UAAA,CAYE,WAAW,CAZb,WAAA,CAaE,WAAW,CAbb,WAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAHF,GAGE,CAAA,CAAA,CAAA,CAHF,CAvKoD,CAAA,CAAA,CAAA,EAAA,MAAA,CAAA,cAAA,CAAA,CAAA,CAC3BJ,KAAK,CADsB,SAAA,CAAA,CA6LxD,MAAO,UAAA,MAAA,CAQF,CANHqB,GAAAA,CAAAA,MAMG,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CADC,EALJA,CAOA,GAAMC,CAAAA,MAAM,CAAGC,+BAAS,MAATA,CAAf,MAAeA,CAAf,CAEA,MAAOC,qCAAe,cAAfA,CAAe,MAAfA,CAAP,MAAOA,CAAP,CAXF,CAAA,CAaD","sourcesContent":["import * as React from 'react';\nimport {\n TabRouter,\n StackActions,\n SceneView,\n createNavigator,\n SwitchActions,\n NavigationRoute,\n NavigationRouteConfigMap,\n CreateNavigatorConfig,\n NavigationTabRouterConfig,\n} from 'react-navigation';\nimport {\n NavigationTabProp,\n NavigationCommonTabOptions,\n SceneDescriptorMap,\n} from '../types';\n\ntype RouteConfig<Options> = NavigationRouteConfigMap<\n Options,\n NavigationTabProp<NavigationRoute, any>\n>;\n\ntype CommonProps = {\n navigation: NavigationTabProp;\n descriptors: SceneDescriptorMap;\n screenProps?: unknown;\n};\n\ntype ExtraProps<Config extends {}> = {\n navigationConfig: Config;\n};\n\nexport type RenderIconProps = {\n route: NavigationRoute;\n focused: boolean;\n tintColor?: string;\n horizontal?: boolean;\n};\n\nexport type NavigationViewProps = {\n getLabelText: (props: { route: NavigationRoute }) => string | undefined;\n getAccessibilityLabel: (props: {\n route: NavigationRoute;\n }) => string | undefined;\n getTestID: (props: { route: NavigationRoute }) => string | undefined;\n renderIcon: (props: RenderIconProps) => React.ReactNode;\n renderScene: (props: { route: NavigationRoute }) => React.ReactNode;\n onIndexChange: (index: number) => void;\n onTabPress: (props: { route: NavigationRoute }) => void;\n onTabLongPress: (props: { route: NavigationRoute }) => void;\n};\n\nexport default function createTabNavigator<\n Config extends {},\n Options extends NavigationCommonTabOptions,\n Props extends NavigationViewProps & CommonProps\n>(TabView: React.ComponentType<Props & Config & Options>) {\n class NavigationView extends React.Component<\n Exclude<Props, NavigationViewProps> & ExtraProps<Config>\n > {\n _renderScene = ({ route }: { route: { key: string } }) => {\n const { screenProps, descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const TabComponent = descriptor.getComponent();\n return (\n <SceneView\n screenProps={screenProps}\n navigation={descriptor.navigation}\n component={TabComponent}\n />\n );\n };\n\n _renderIcon = ({\n route,\n focused,\n tintColor,\n horizontal = false,\n }: RenderIconProps) => {\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n if (options.tabBarIcon) {\n return typeof options.tabBarIcon === 'function'\n ? options.tabBarIcon({ focused, tintColor, horizontal })\n : options.tabBarIcon;\n }\n\n return null;\n };\n\n _getLabelText = ({ route }: { route: NavigationRoute }) => {\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n if (options.tabBarLabel) {\n return options.tabBarLabel;\n }\n\n if (typeof options.title === 'string') {\n return options.title;\n }\n\n return route.routeName;\n };\n\n _getAccessibilityLabel = ({ route }: { route: NavigationRoute }) => {\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n if (typeof options.tabBarAccessibilityLabel !== 'undefined') {\n return options.tabBarAccessibilityLabel;\n }\n\n const label = this._getLabelText({ route });\n\n if (typeof label === 'string') {\n const { routes } = this.props.navigation.state;\n return `${label}, tab, ${routes.indexOf(route) + 1} of ${\n routes.length\n }`;\n }\n\n return undefined;\n };\n\n _getTestID = ({ route }: { route: NavigationRoute }) => {\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const options = descriptor.options;\n\n return options.tabBarTestID;\n };\n\n _makeDefaultHandler = ({\n route,\n navigation,\n }: {\n route: NavigationRoute;\n navigation: NavigationTabProp;\n }) => () => {\n if (navigation.isFocused()) {\n if (route.hasOwnProperty('index') && route.index > 0) {\n // If current tab has a nested navigator, pop to top\n navigation.dispatch(StackActions.popToTop({ key: route.key }));\n } else {\n navigation.emit('refocus');\n }\n } else {\n this._jumpTo(route.routeName);\n }\n };\n\n _handleTabPress = ({ route }: { route: NavigationRoute }) => {\n this._isTabPress = true;\n\n // After tab press, handleIndexChange will be called synchronously\n // So we reset it in promise callback\n Promise.resolve().then(() => (this._isTabPress = false));\n\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const { navigation, options } = descriptor;\n\n const defaultHandler = this._makeDefaultHandler({ route, navigation });\n\n if (options.tabBarOnPress) {\n options.tabBarOnPress({ navigation, defaultHandler });\n } else {\n defaultHandler();\n }\n };\n\n _handleTabLongPress = ({ route }: { route: NavigationRoute }) => {\n const { descriptors } = this.props;\n const descriptor = descriptors[route.key];\n const { navigation, options } = descriptor;\n\n const defaultHandler = this._makeDefaultHandler({ route, navigation });\n\n if (options.tabBarOnLongPress) {\n options.tabBarOnLongPress({ navigation, defaultHandler });\n } else {\n defaultHandler();\n }\n };\n\n _handleIndexChange = (index: number) => {\n if (this._isTabPress) {\n this._isTabPress = false;\n return;\n }\n\n this._jumpTo(this.props.navigation.state.routes[index].routeName);\n };\n\n _jumpTo = (routeName: string) => {\n const { navigation } = this.props;\n\n navigation.dispatch(\n SwitchActions.jumpTo({\n routeName,\n key: navigation.state.key,\n })\n );\n };\n\n _isTabPress: boolean = false;\n\n render() {\n const {\n descriptors,\n navigation,\n screenProps,\n navigationConfig,\n } = this.props;\n const { state } = navigation;\n const route = state.routes[state.index];\n const descriptor = descriptors[route.key];\n\n return (\n // TODO: don't have time to fix it right now\n // @ts-ignore\n <TabView\n {...navigationConfig}\n {...descriptor.options}\n getLabelText={this._getLabelText}\n getAccessibilityLabel={this._getAccessibilityLabel}\n getTestID={this._getTestID}\n renderIcon={this._renderIcon}\n renderScene={this._renderScene}\n onIndexChange={this._handleIndexChange}\n onTabPress={this._handleTabPress}\n onTabLongPress={this._handleTabLongPress}\n navigation={navigation}\n descriptors={descriptors}\n screenProps={screenProps}\n />\n );\n }\n }\n\n return (\n routes: RouteConfig<Options>,\n config: CreateNavigatorConfig<\n Partial<Config>,\n NavigationTabRouterConfig,\n Partial<Options>,\n NavigationTabProp<NavigationRoute, any>\n > = {}\n ) => {\n const router = TabRouter(routes, config as any);\n\n return createNavigator(NavigationView as any, router, config as any);\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../modules/UnimplementedView\"));var _default=_UnimplementedView.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Modal/index.js"],"names":["UnimplementedView"],"mappings":"mKAAA,0F,aACeA,0B","sourcesContent":["import UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.useTheme=exports.withTheme=exports.ThemeProvider=void 0;var _reactThemeProvider=require(\"@callstack/react-theme-provider\");var _DefaultTheme=_interopRequireDefault(require(\"../styles/DefaultTheme\"));var _createTheming=(0,_reactThemeProvider.createTheming)(_DefaultTheme.default),ThemeProvider=_createTheming.ThemeProvider,withTheme=_createTheming.withTheme,useTheme=_createTheming.useTheme;exports.useTheme=useTheme;exports.withTheme=withTheme;exports.ThemeProvider=ThemeProvider;","map":{"version":3,"sources":["theming.tsx"],"names":["ThemeProvider","withTheme","useTheme","createTheming"],"mappings":"4MAAA,mEACA,4E,mBAGsDG,sCAAa,qBAAbA,C,CAAvCH,a,gBAAAA,a,CAAeC,S,gBAAAA,S,CAAWC,Q,gBAAAA,Q","sourcesContent":["import { createTheming } from '@callstack/react-theme-provider';\nimport DefaultTheme from '../styles/DefaultTheme';\nimport { Theme } from '../types';\n\nexport const { ThemeProvider, withTheme, useTheme } = createTheming<Theme>(\n DefaultTheme\n);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _default=_View.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-navigation-tabs/node_modules/react-native-safe-area-view/index.web.js"],"names":["View"],"mappings":"mKAAA,oD,6FAGeA,a","sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\n\nexport default View;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _createStrictShapeTypeChecker=_interopRequireDefault(require(\"../../modules/createStrictShapeTypeChecker\"));var _propTypes=require(\"prop-types\");var EdgeInsetsPropType=(0,_createStrictShapeTypeChecker.default)({top:_propTypes.number,left:_propTypes.number,bottom:_propTypes.number,right:_propTypes.number});var _default=EdgeInsetsPropType;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/EdgeInsetsPropType/index.js"],"names":["EdgeInsetsPropType","top","number","left","bottom","right"],"mappings":"mKASA,gHACA,qCACA,GAAIA,CAAAA,kBAAkB,CAAG,0CAA6B,CACpDC,GAAG,CAAEC,iBAD+C,CAEpDC,IAAI,CAAED,iBAF8C,CAGpDE,MAAM,CAAEF,iBAH4C,CAIpDG,KAAK,CAAEH,iBAJ6C,CAA7B,CAAzB,C,aAMeF,kB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createStrictShapeTypeChecker from '../../modules/createStrictShapeTypeChecker';\nimport { number } from 'prop-types';\nvar EdgeInsetsPropType = createStrictShapeTypeChecker({\n top: number,\n left: number,\n bottom: number,\n right: number\n});\nexport default EdgeInsetsPropType;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _TextInput=_interopRequireDefault(require(\"react-native-web/dist/exports/TextInput\"));var _default=function _default(Navigator,navigatorConfig){var _class,_temp;return _temp=_class=function(_React$Component){(0,_inherits2.default)(KeyboardAwareNavigator,_React$Component);function KeyboardAwareNavigator(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,KeyboardAwareNavigator);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(KeyboardAwareNavigator)).call.apply(_getPrototypeOf2,[this].concat(args)));_this._previouslyFocusedTextInput=null;_this._handleGestureBegin=function(){_this._previouslyFocusedTextInput=_TextInput.default.State.currentlyFocusedField();if(_this._previouslyFocusedTextInput){_TextInput.default.State.blurTextInput(_this._previouslyFocusedTextInput);}_this.props.onGestureBegin&&_this.props.onGestureBegin();};_this._handleGestureCanceled=function(){if(_this._previouslyFocusedTextInput){_TextInput.default.State.focusTextInput(_this._previouslyFocusedTextInput);}_this.props.onGestureCanceled&&_this.props.onGestureCanceled();};_this._handleGestureEnd=function(){_this._previouslyFocusedTextInput=null;_this.props.onGestureFinish&&_this.props.onGestureFinish();};_this._handleTransitionStart=function(transitionProps,prevTransitionProps){if(transitionProps.index!==prevTransitionProps.index){var currentField=_TextInput.default.State.currentlyFocusedField();if(currentField){_TextInput.default.State.blurTextInput(currentField);}}var onTransitionStart=_this.props.onTransitionStart||navigatorConfig.onTransitionStart;onTransitionStart&&onTransitionStart(transitionProps,prevTransitionProps);};return _this;}(0,_createClass2.default)(KeyboardAwareNavigator,[{key:\"render\",value:function render(){return _react.default.createElement(Navigator,(0,_extends2.default)({},this.props,{onGestureBegin:this._handleGestureBegin,onGestureCanceled:this._handleGestureCanceled,onGestureEnd:this._handleGestureEnd,onTransitionStart:this._handleTransitionStart}));}}]);return KeyboardAwareNavigator;}(_react.default.Component),_class.router=Navigator.router,_class.navigationOptions=Navigator.navigationOptions,_temp;};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/createKeyboardAwareNavigator.js"],"names":["Navigator","navigatorConfig","_previouslyFocusedTextInput","_handleGestureBegin","TextInput","State","currentlyFocusedField","blurTextInput","props","onGestureBegin","_handleGestureCanceled","focusTextInput","onGestureCanceled","_handleGestureEnd","onGestureFinish","_handleTransitionStart","transitionProps","prevTransitionProps","index","currentField","onTransitionStart","React","Component","router","navigationOptions"],"mappings":"6sBAAA,oD,uGAGgB,kBAACA,SAAD,CAAYC,eAAZ,whBAGdC,2BAHc,CAGgB,IAHhB,OASdC,mBATc,CASQ,UAAM,CAC1B,MAAKD,2BAAL,CAAmCE,mBAAUC,KAAV,CAAgBC,qBAAhB,EAAnC,CACA,GAAI,MAAKJ,2BAAT,CAAsC,CACpCE,mBAAUC,KAAV,CAAgBE,aAAhB,CAA8B,MAAKL,2BAAnC,EACD,CACD,MAAKM,KAAL,CAAWC,cAAX,EAA6B,MAAKD,KAAL,CAAWC,cAAX,EAA7B,CACD,CAfa,OAiBdC,sBAjBc,CAiBW,UAAM,CAC7B,GAAI,MAAKR,2BAAT,CAAsC,CACpCE,mBAAUC,KAAV,CAAgBM,cAAhB,CAA+B,MAAKT,2BAApC,EACD,CACD,MAAKM,KAAL,CAAWI,iBAAX,EAAgC,MAAKJ,KAAL,CAAWI,iBAAX,EAAhC,CACD,CAtBa,OAwBdC,iBAxBc,CAwBM,UAAM,CACxB,MAAKX,2BAAL,CAAmC,IAAnC,CACA,MAAKM,KAAL,CAAWM,eAAX,EAA8B,MAAKN,KAAL,CAAWM,eAAX,EAA9B,CACD,CA3Ba,OA6BdC,sBA7Bc,CA6BW,SAACC,eAAD,CAAkBC,mBAAlB,CAA0C,CAIjE,GAAID,eAAe,CAACE,KAAhB,GAA0BD,mBAAmB,CAACC,KAAlD,CAAyD,CACvD,GAAMC,CAAAA,YAAY,CAAGf,mBAAUC,KAAV,CAAgBC,qBAAhB,EAArB,CACA,GAAIa,YAAJ,CAAkB,CAChBf,mBAAUC,KAAV,CAAgBE,aAAhB,CAA8BY,YAA9B,EACD,CACF,CAED,GAAMC,CAAAA,iBAAiB,CAAG,MAAKZ,KAAL,CAAWY,iBAAX,EAAgCnB,eAAe,CAACmB,iBAA1E,CACAA,iBAAiB,EAAIA,iBAAiB,CAACJ,eAAD,CAAkBC,mBAAlB,CAAtC,CACD,CA1Ca,sGAKL,CACP,MAAO,8BAAC,SAAD,0BAAe,KAAKT,KAApB,EAA2B,cAAc,CAAE,KAAKL,mBAAhD,CAAqE,iBAAiB,CAAE,KAAKO,sBAA7F,CAAqH,YAAY,CAAE,KAAKG,iBAAxI,CAA2J,iBAAiB,CAAE,KAAKE,sBAAnL,GAAP,CACD,CAPa,oCAAqEM,eAAMC,SAA3E,SACPC,MADO,CACEvB,SAAS,CAACuB,MADZ,QAEPC,iBAFO,CAEaxB,SAAS,CAACwB,iBAFvB,Q","sourcesContent":["import React from 'react';\nimport { TextInput } from 'react-native';\n\nexport default ((Navigator, navigatorConfig) => class KeyboardAwareNavigator extends React.Component {\n static router = Navigator.router;\n static navigationOptions = Navigator.navigationOptions;\n _previouslyFocusedTextInput = null;\n\n render() {\n return <Navigator {...this.props} onGestureBegin={this._handleGestureBegin} onGestureCanceled={this._handleGestureCanceled} onGestureEnd={this._handleGestureEnd} onTransitionStart={this._handleTransitionStart} />;\n }\n\n _handleGestureBegin = () => {\n this._previouslyFocusedTextInput = TextInput.State.currentlyFocusedField();\n if (this._previouslyFocusedTextInput) {\n TextInput.State.blurTextInput(this._previouslyFocusedTextInput);\n }\n this.props.onGestureBegin && this.props.onGestureBegin();\n };\n\n _handleGestureCanceled = () => {\n if (this._previouslyFocusedTextInput) {\n TextInput.State.focusTextInput(this._previouslyFocusedTextInput);\n }\n this.props.onGestureCanceled && this.props.onGestureCanceled();\n };\n\n _handleGestureEnd = () => {\n this._previouslyFocusedTextInput = null;\n this.props.onGestureFinish && this.props.onGestureFinish();\n };\n\n _handleTransitionStart = (transitionProps, prevTransitionProps) => {\n // TODO: We should not even have received the transition start event\n // in the case where the index did not change, I believe. We\n // should revisit this after 2.0 release.\n if (transitionProps.index !== prevTransitionProps.index) {\n const currentField = TextInput.State.currentlyFocusedField();\n if (currentField) {\n TextInput.State.blurTextInput(currentField);\n }\n }\n\n const onTransitionStart = this.props.onTransitionStart || navigatorConfig.onTransitionStart;\n onTransitionStart && onTransitionStart(transitionProps, prevTransitionProps);\n };\n});"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _nativeEmitters=require(\"./nativeEmitters\");var SyntheticPlatformEmitter=function(){function SyntheticPlatformEmitter(){(0,_classCallCheck2.default)(this,SyntheticPlatformEmitter);this._emitter=new _nativeEmitters.RCTEventEmitter(_nativeEmitters.RCTDeviceEventEmitter.sharedSubscriber);}(0,_createClass2.default)(SyntheticPlatformEmitter,[{key:\"emit\",value:function emit(eventName,props){this._emitter.emit(eventName,props);}}]);return SyntheticPlatformEmitter;}();var _default=new SyntheticPlatformEmitter();exports.default=_default;","map":{"version":3,"sources":["../src/SyntheticPlatformEmitter.ts"],"names":[],"mappings":"yVAAA,gD,GAMM,CAAA,wB,YAAN,mCAAA,6DACE,KAAA,QAAA,CAAW,GAAI,gCAAJ,CAAoB,sCAAsB,gBAA1C,CAAX,CAKD,C,oFAHM,S,CAAmB,K,CAAU,CAChC,KAAK,QAAL,CAAc,IAAd,CAAmB,SAAnB,CAA8B,KAA9B,EACD,C,qDAGY,GAAI,CAAA,wBAAJ,E","sourcesContent":["import { RCTDeviceEventEmitter, RCTEventEmitter } from './nativeEmitters';\n\n/**\n * This emitter is used for sending synthetic native events to listeners\n * registered in the API layer with `NativeEventEmitter`.\n */\nclass SyntheticPlatformEmitter {\n _emitter = new RCTEventEmitter(RCTDeviceEventEmitter.sharedSubscriber);\n\n emit(eventName: string, props: any): void {\n this._emitter.emit(eventName, props);\n }\n}\n\nexport default new SyntheticPlatformEmitter();\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=decay;var _base=require(\"../base\");var _derived=require(\"../derived\");var VELOCITY_EPS=5;function decay(clock,state,config){var lastTime=(0,_base.cond)(state.time,state.time,clock);var deltaTime=(0,_base.sub)(clock,lastTime);var kv=(0,_base.pow)(config.deceleration,deltaTime);var kx=(0,_base.divide)((0,_base.multiply)(config.deceleration,(0,_base.sub)(1,kv)),(0,_base.sub)(1,config.deceleration));var v0=(0,_base.divide)(state.velocity,1000);var v=(0,_base.multiply)(v0,kv,1000);var x=(0,_base.add)(state.position,(0,_base.multiply)(v0,kx));return(0,_base.block)([(0,_base.set)(state.position,x),(0,_base.set)(state.velocity,v),(0,_base.set)(state.time,clock),(0,_base.cond)((0,_base.lessThan)((0,_derived.abs)(v),VELOCITY_EPS),(0,_base.set)(state.finished,1))]);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/decay.js"],"names":["VELOCITY_EPS","decay","clock","state","config","lastTime","time","deltaTime","kv","deceleration","kx","v0","velocity","v","x","position","finished"],"mappings":"+EAAA,6BAWA,mCAEA,GAAMA,CAAAA,YAAY,CAAG,CAArB,CAEe,QAASC,CAAAA,KAAT,CAAeC,KAAf,CAAsBC,KAAtB,CAA6BC,MAA7B,CAAqC,CAClD,GAAMC,CAAAA,QAAQ,CAAG,eAAKF,KAAK,CAACG,IAAX,CAAiBH,KAAK,CAACG,IAAvB,CAA6BJ,KAA7B,CAAjB,CACA,GAAMK,CAAAA,SAAS,CAAG,cAAIL,KAAJ,CAAWG,QAAX,CAAlB,CAQA,GAAMG,CAAAA,EAAE,CAAG,cAAIJ,MAAM,CAACK,YAAX,CAAyBF,SAAzB,CAAX,CACA,GAAMG,CAAAA,EAAE,CAAG,iBACT,mBAASN,MAAM,CAACK,YAAhB,CAA8B,cAAI,CAAJ,CAAOD,EAAP,CAA9B,CADS,CAET,cAAI,CAAJ,CAAOJ,MAAM,CAACK,YAAd,CAFS,CAAX,CAIA,GAAME,CAAAA,EAAE,CAAG,iBAAOR,KAAK,CAACS,QAAb,CAAuB,IAAvB,CAAX,CACA,GAAMC,CAAAA,CAAC,CAAG,mBAASF,EAAT,CAAaH,EAAb,CAAiB,IAAjB,CAAV,CACA,GAAMM,CAAAA,CAAC,CAAG,cAAIX,KAAK,CAACY,QAAV,CAAoB,mBAASJ,EAAT,CAAaD,EAAb,CAApB,CAAV,CACA,MAAO,gBAAM,CACX,cAAIP,KAAK,CAACY,QAAV,CAAoBD,CAApB,CADW,CAEX,cAAIX,KAAK,CAACS,QAAV,CAAoBC,CAApB,CAFW,CAGX,cAAIV,KAAK,CAACG,IAAV,CAAgBJ,KAAhB,CAHW,CAIX,eAAK,mBAAS,iBAAIW,CAAJ,CAAT,CAAiBb,YAAjB,CAAL,CAAqC,cAAIG,KAAK,CAACa,QAAV,CAAoB,CAApB,CAArC,CAJW,CAAN,CAAP,CAMD","sourcesContent":["import {\n cond,\n sub,\n pow,\n divide,\n multiply,\n add,\n block,\n set,\n lessThan,\n} from '../base';\nimport { abs } from '../derived';\n\nconst VELOCITY_EPS = 5;\n\nexport default function decay(clock, state, config) {\n const lastTime = cond(state.time, state.time, clock);\n const deltaTime = sub(clock, lastTime);\n\n // v0 = v / 1000\n // v = v0 * powf(deceleration, dt);\n // v = v * 1000;\n\n // x0 = x;\n // x = x0 + v0 * deceleration * (1 - powf(deceleration, dt)) / (1 - deceleration)\n const kv = pow(config.deceleration, deltaTime);\n const kx = divide(\n multiply(config.deceleration, sub(1, kv)),\n sub(1, config.deceleration)\n );\n const v0 = divide(state.velocity, 1000);\n const v = multiply(v0, kv, 1000);\n const x = add(state.position, multiply(v0, kx));\n return block([\n set(state.position, x),\n set(state.velocity, v),\n set(state.time, clock),\n cond(lessThan(abs(v), VELOCITY_EPS), set(state.finished, 1)),\n ]);\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _reactDom=require(\"react-dom\");var _default=_reactDom.render;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/render/index.js"],"names":["render"],"mappings":"gFAQA,mC,aACeA,gB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { render } from 'react-dom';\nexport default render;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});var _exportNames={Swipeable:true,DrawerLayout:true};Object.defineProperty(exports,\"Swipeable\",{enumerable:true,get:function get(){return _Swipeable.default;}});Object.defineProperty(exports,\"DrawerLayout\",{enumerable:true,get:function get(){return _DrawerLayout.default;}});var _Swipeable=_interopRequireDefault(require(\"./Swipeable\"));var _DrawerLayout=_interopRequireDefault(require(\"./DrawerLayout\"));var _GestureHandler=require(\"./GestureHandler\");Object.keys(_GestureHandler).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _GestureHandler[key];}});});var _touchables=require(\"./touchables\");Object.keys(_touchables).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _touchables[key];}});});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/index.js"],"names":[],"mappings":"8ZAAA,8DACA,oEACA,2TACA","sourcesContent":["export { default as Swipeable } from './Swipeable';\nexport { default as DrawerLayout } from './DrawerLayout';\nexport * from './GestureHandler';\nexport * from './touchables';\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _chart=_interopRequireDefault(require(\"../chart/chart\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var LineChart=function(_Chart){(0,_inherits2.default)(LineChart,_Chart);function LineChart(){(0,_classCallCheck2.default)(this,LineChart);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(LineChart).apply(this,arguments));}(0,_createClass2.default)(LineChart,[{key:\"createPaths\",value:function createPaths(_ref){var data=_ref.data,x=_ref.x,y=_ref.y;var curve=this.props.curve;var line=shape.line().x(function(d){return x(d.x);}).y(function(d){return y(d.y);}).defined(function(item){return typeof item.y==='number';}).curve(curve)(data);return{path:line,line:line};}}]);return LineChart;}(_chart.default);LineChart.propTypes=_objectSpread({},_chart.default.propTypes);LineChart.defaultProps=_objectSpread({},_chart.default.defaultProps);var _default=LineChart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/line-chart/line-chart.js"],"names":["LineChart","data","x","y","curve","props","line","shape","d","defined","item","path","Chart","propTypes","defaultProps"],"mappings":"gzBAAA,uDACA,6D,4xBAEMA,CAAAA,S,wUAC0B,IAAdC,CAAAA,IAAc,MAAdA,IAAc,CAARC,CAAQ,MAARA,CAAQ,CAALC,CAAK,MAALA,CAAK,IAChBC,CAAAA,KADgB,CACN,KAAKC,KADC,CAChBD,KADgB,CAGxB,GAAME,CAAAA,IAAI,CAAGC,KAAK,CACbD,IADQ,GAERJ,CAFQ,CAEN,SAACM,CAAD,QAAON,CAAAA,CAAC,CAACM,CAAC,CAACN,CAAH,CAAR,EAFM,EAGRC,CAHQ,CAGN,SAACK,CAAD,QAAOL,CAAAA,CAAC,CAACK,CAAC,CAACL,CAAH,CAAR,EAHM,EAIRM,OAJQ,CAIA,SAACC,IAAD,QAAU,OAAOA,CAAAA,IAAI,CAACP,CAAZ,GAAkB,QAA5B,EAJA,EAKRC,KALQ,CAKFA,KALE,EAKKH,IALL,CAAb,CAOA,MAAO,CACHU,IAAI,CAAEL,IADH,CAEHA,IAAI,CAAJA,IAFG,CAAP,CAIH,C,uBAfmBM,c,EAkBxBZ,SAAS,CAACa,SAAV,kBACOD,eAAMC,SADb,EAIAb,SAAS,CAACc,YAAV,kBACOF,eAAME,YADb,E,aAIed,S","sourcesContent":["import * as shape from 'd3-shape'\nimport Chart from '../chart/chart'\n\nclass LineChart extends Chart {\n createPaths({ data, x, y }) {\n const { curve } = this.props\n\n const line = shape\n .line()\n .x((d) => x(d.x))\n .y((d) => y(d.y))\n .defined((item) => typeof item.y === 'number')\n .curve(curve)(data)\n\n return {\n path: line,\n line,\n }\n }\n}\n\nLineChart.propTypes = {\n ...Chart.propTypes,\n}\n\nLineChart.defaultProps = {\n ...Chart.defaultProps,\n}\n\nexport default LineChart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var validateFormat=process.env.NODE_ENV!==\"production\"?function(format){}:function(format){if(format===undefined){throw new Error('invariant(...): Second argument must be a string.');}};function invariant(condition,format){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];}validateFormat(format);if(!condition){var error;if(format===undefined){error=new Error('Minified exception occurred; use the non-minified dev environment '+'for the full error message and additional helpful warnings.');}else{var argIndex=0;error=new Error(format.replace(/%s/g,function(){return String(args[argIndex++]);}));error.name='Invariant Violation';}error.framesToPop=1;throw error;}}module.exports=invariant;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/invariant.js"],"names":["validateFormat","process","env","NODE_ENV","format","undefined","Error","invariant","condition","_len","arguments","length","args","Array","_key","error","argIndex","replace","String","name","framesToPop","module","exports"],"mappings":"AAQA,aAEA,GAAIA,CAAAA,cAAc,CAAGC,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwC,SAAUC,MAAV,CAAkB,CAAE,CAA5D,CAA+D,SAAUA,MAAV,CAAkB,CACpG,GAAIA,MAAM,GAAKC,SAAf,CAA0B,CACxB,KAAM,IAAIC,CAAAA,KAAJ,CAAU,mDAAV,CAAN,CACD,CACF,CAJD,CAeA,QAASC,CAAAA,SAAT,CAAmBC,SAAnB,CAA8BJ,MAA9B,CAAsC,CACpC,IAAK,GAAIK,CAAAA,IAAI,CAAGC,SAAS,CAACC,MAArB,CAA6BC,IAAI,CAAG,GAAIC,CAAAA,KAAJ,CAAUJ,IAAI,CAAG,CAAP,CAAWA,IAAI,CAAG,CAAlB,CAAsB,CAAhC,CAApC,CAAwEK,IAAI,CAAG,CAApF,CAAuFA,IAAI,CAAGL,IAA9F,CAAoGK,IAAI,EAAxG,CAA4G,CAC1GF,IAAI,CAACE,IAAI,CAAG,CAAR,CAAJ,CAAiBJ,SAAS,CAACI,IAAD,CAA1B,CACD,CAEDd,cAAc,CAACI,MAAD,CAAd,CAEA,GAAI,CAACI,SAAL,CAAgB,CACd,GAAIO,CAAAA,KAAJ,CAEA,GAAIX,MAAM,GAAKC,SAAf,CAA0B,CACxBU,KAAK,CAAG,GAAIT,CAAAA,KAAJ,CAAU,qEAAuE,6DAAjF,CAAR,CACD,CAFD,IAEO,CACL,GAAIU,CAAAA,QAAQ,CAAG,CAAf,CACAD,KAAK,CAAG,GAAIT,CAAAA,KAAJ,CAAUF,MAAM,CAACa,OAAP,CAAe,KAAf,CAAsB,UAAY,CAClD,MAAOC,CAAAA,MAAM,CAACN,IAAI,CAACI,QAAQ,EAAT,CAAL,CAAb,CACD,CAFiB,CAAV,CAAR,CAGAD,KAAK,CAACI,IAAN,CAAa,qBAAb,CACD,CAEDJ,KAAK,CAACK,WAAN,CAAoB,CAApB,CAEA,KAAML,CAAAA,KAAN,CACD,CACF,CAEDM,MAAM,CAACC,OAAP,CAAiBf,SAAjB","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nvar validateFormat = process.env.NODE_ENV !== \"production\" ? function (format) {} : function (format) {\n if (format === undefined) {\n throw new Error('invariant(...): Second argument must be a string.');\n }\n};\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments to provide\n * information about what broke and what you were expecting.\n *\n * The invariant message will be stripped in production, but the invariant will\n * remain to ensure logic does not differ in production.\n */\n\nfunction invariant(condition, format) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return String(args[argIndex++]);\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // Skip invariant's own stack frame.\n\n throw error;\n }\n}\n\nmodule.exports = invariant;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _EventEmitter2=_interopRequireDefault(require(\"../emitter/EventEmitter\"));var _RCTDeviceEventEmitter=_interopRequireDefault(require(\"./RCTDeviceEventEmitter\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var NativeEventEmitter=function(_EventEmitter){_inheritsLoose(NativeEventEmitter,_EventEmitter);function NativeEventEmitter(nativeModule){return _EventEmitter.call(this,_RCTDeviceEventEmitter.default.sharedSubscriber)||this;}var _proto=NativeEventEmitter.prototype;_proto.addListener=function addListener(eventType,listener,context){if(this._nativeModule!=null){this._nativeModule.addListener(eventType);}return _EventEmitter.prototype.addListener.call(this,eventType,listener,context);};_proto.removeAllListeners=function removeAllListeners(eventType){(0,_invariant.default)(eventType,'eventType argument is required.');var count=this.listeners(eventType).length;if(this._nativeModule!=null){this._nativeModule.removeListeners(count);}_EventEmitter.prototype.removeAllListeners.call(this,eventType);};_proto.removeSubscription=function removeSubscription(subscription){if(this._nativeModule!=null){this._nativeModule.removeListeners(1);}_EventEmitter.prototype.removeSubscription.call(this,subscription);};return NativeEventEmitter;}(_EventEmitter2.default);var _default=NativeEventEmitter;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/NativeEventEmitter/index.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","NativeEventEmitter","_EventEmitter","nativeModule","call","RCTDeviceEventEmitter","sharedSubscriber","_proto","addListener","eventType","listener","context","_nativeModule","removeAllListeners","count","listeners","length","removeListeners","removeSubscription","subscription","EventEmitter"],"mappings":"AASA,a,mKAIA,qEACA,8EACA,sFAJA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAUvL,GAAIM,CAAAA,kBAAkB,CAEtB,SAAUC,aAAV,CAAyB,CACvBT,cAAc,CAACQ,kBAAD,CAAqBC,aAArB,CAAd,CAEA,QAASD,CAAAA,kBAAT,CAA4BE,YAA5B,CAA0C,CACxC,MAAOD,CAAAA,aAAa,CAACE,IAAd,CAAmB,IAAnB,CAAyBC,+BAAsBC,gBAA/C,GAAoE,IAA3E,CACD,CAED,GAAIC,CAAAA,MAAM,CAAGN,kBAAkB,CAACL,SAAhC,CAEAW,MAAM,CAACC,WAAP,CAAqB,QAASA,CAAAA,WAAT,CAAqBC,SAArB,CAAgCC,QAAhC,CAA0CC,OAA1C,CAAmD,CACtE,GAAI,KAAKC,aAAL,EAAsB,IAA1B,CAAgC,CAC9B,KAAKA,aAAL,CAAmBJ,WAAnB,CAA+BC,SAA/B,EACD,CAED,MAAOP,CAAAA,aAAa,CAACN,SAAd,CAAwBY,WAAxB,CAAoCJ,IAApC,CAAyC,IAAzC,CAA+CK,SAA/C,CAA0DC,QAA1D,CAAoEC,OAApE,CAAP,CACD,CAND,CAQAJ,MAAM,CAACM,kBAAP,CAA4B,QAASA,CAAAA,kBAAT,CAA4BJ,SAA5B,CAAuC,CACjE,uBAAUA,SAAV,CAAqB,iCAArB,EACA,GAAIK,CAAAA,KAAK,CAAG,KAAKC,SAAL,CAAeN,SAAf,EAA0BO,MAAtC,CAEA,GAAI,KAAKJ,aAAL,EAAsB,IAA1B,CAAgC,CAC9B,KAAKA,aAAL,CAAmBK,eAAnB,CAAmCH,KAAnC,EACD,CAEDZ,aAAa,CAACN,SAAd,CAAwBiB,kBAAxB,CAA2CT,IAA3C,CAAgD,IAAhD,CAAsDK,SAAtD,EACD,CATD,CAWAF,MAAM,CAACW,kBAAP,CAA4B,QAASA,CAAAA,kBAAT,CAA4BC,YAA5B,CAA0C,CACpE,GAAI,KAAKP,aAAL,EAAsB,IAA1B,CAAgC,CAC9B,KAAKA,aAAL,CAAmBK,eAAnB,CAAmC,CAAnC,EACD,CAEDf,aAAa,CAACN,SAAd,CAAwBsB,kBAAxB,CAA2Cd,IAA3C,CAAgD,IAAhD,CAAsDe,YAAtD,EACD,CAND,CAQA,MAAOlB,CAAAA,kBAAP,CACD,CArCD,CAqCEmB,sBArCF,CAFA,C,aAyCenB,kB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule NativeEventEmitter\n * \n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport invariant from 'fbjs/lib/invariant';\nimport EventEmitter from '../emitter/EventEmitter';\nimport RCTDeviceEventEmitter from './RCTDeviceEventEmitter';\n\n/**\n * Abstract base class for implementing event-emitting modules. This implements\n * a subset of the standard EventEmitter node module API.\n */\nvar NativeEventEmitter =\n/*#__PURE__*/\nfunction (_EventEmitter) {\n _inheritsLoose(NativeEventEmitter, _EventEmitter);\n\n function NativeEventEmitter(nativeModule) {\n return _EventEmitter.call(this, RCTDeviceEventEmitter.sharedSubscriber) || this;\n }\n\n var _proto = NativeEventEmitter.prototype;\n\n _proto.addListener = function addListener(eventType, listener, context) {\n if (this._nativeModule != null) {\n this._nativeModule.addListener(eventType);\n }\n\n return _EventEmitter.prototype.addListener.call(this, eventType, listener, context);\n };\n\n _proto.removeAllListeners = function removeAllListeners(eventType) {\n invariant(eventType, 'eventType argument is required.');\n var count = this.listeners(eventType).length;\n\n if (this._nativeModule != null) {\n this._nativeModule.removeListeners(count);\n }\n\n _EventEmitter.prototype.removeAllListeners.call(this, eventType);\n };\n\n _proto.removeSubscription = function removeSubscription(subscription) {\n if (this._nativeModule != null) {\n this._nativeModule.removeListeners(1);\n }\n\n _EventEmitter.prototype.removeSubscription.call(this, subscription);\n };\n\n return NativeEventEmitter;\n}(EventEmitter);\n\nexport default NativeEventEmitter;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createTransitioningComponent=createTransitioningComponent;exports.Transition=exports.Transitioning=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf5=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _findNodeHandle=_interopRequireDefault(require(\"react-native-web/dist/exports/findNodeHandle\"));var _ReanimatedModule=_interopRequireDefault(require(\"./ReanimatedModule\"));var TransitioningContext=_react.default.createContext();function configFromProps(type,props){var config={type:type};if('durationMs'in props){config.durationMs=props.durationMs;}if('interpolation'in props){config.interpolation=props.interpolation;}if('type'in props){config.animation=props.type;}if('delayMs'in props){config.delayMs=props.delayMs;}if('propagation'in props){config.propagation=props.propagation;}return config;}function wrapTransitioningContext(Comp){return function(props){return _react.default.createElement(TransitioningContext.Consumer,null,function(context){return _react.default.createElement(Comp,(0,_extends2.default)({context:context},props));});};}var In=function(_React$Component){(0,_inherits2.default)(In,_React$Component);function In(){(0,_classCallCheck2.default)(this,In);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf5.default)(In).apply(this,arguments));}(0,_createClass2.default)(In,[{key:\"componentDidMount\",value:function componentDidMount(){this.props.context.push(configFromProps('in',this.props));}},{key:\"render\",value:function render(){return this.props.children||null;}}]);return In;}(_react.default.Component);var Change=function(_React$Component2){(0,_inherits2.default)(Change,_React$Component2);function Change(){(0,_classCallCheck2.default)(this,Change);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf5.default)(Change).apply(this,arguments));}(0,_createClass2.default)(Change,[{key:\"componentDidMount\",value:function componentDidMount(){this.props.context.push(configFromProps('change',this.props));}},{key:\"render\",value:function render(){return this.props.children||null;}}]);return Change;}(_react.default.Component);var Out=function(_React$Component3){(0,_inherits2.default)(Out,_React$Component3);function Out(){(0,_classCallCheck2.default)(this,Out);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf5.default)(Out).apply(this,arguments));}(0,_createClass2.default)(Out,[{key:\"componentDidMount\",value:function componentDidMount(){this.props.context.push(configFromProps('out',this.props));}},{key:\"render\",value:function render(){return this.props.children||null;}}]);return Out;}(_react.default.Component);var Together=function(_React$Component4){(0,_inherits2.default)(Together,_React$Component4);function Together(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Together);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf5.default)(Together)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.transitions=[];return _this;}(0,_createClass2.default)(Together,[{key:\"componentDidMount\",value:function componentDidMount(){var config=configFromProps('group',this.props);config.transitions=this.transitions;this.props.context.push(config);}},{key:\"render\",value:function render(){return _react.default.createElement(TransitioningContext.Provider,{value:this.transitions},this.props.children);}}]);return Together;}(_react.default.Component);var Sequence=function(_React$Component5){(0,_inherits2.default)(Sequence,_React$Component5);function Sequence(){var _getPrototypeOf3;var _this2;(0,_classCallCheck2.default)(this,Sequence);for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2];}_this2=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf3=(0,_getPrototypeOf5.default)(Sequence)).call.apply(_getPrototypeOf3,[this].concat(args)));_this2.transitions=[];return _this2;}(0,_createClass2.default)(Sequence,[{key:\"componentDidMount\",value:function componentDidMount(){var config=configFromProps('group',this.props);config.sequence=true;config.transitions=this.transitions;this.props.context.push(config);}},{key:\"render\",value:function render(){return _react.default.createElement(TransitioningContext.Provider,{value:this.transitions},this.props.children);}}]);return Sequence;}(_react.default.Component);function createTransitioningComponent(Component){var Wrapped=function(_React$Component6){(0,_inherits2.default)(Wrapped,_React$Component6);function Wrapped(){var _getPrototypeOf4;var _this3;(0,_classCallCheck2.default)(this,Wrapped);for(var _len3=arguments.length,args=new Array(_len3),_key3=0;_key3<_len3;_key3++){args[_key3]=arguments[_key3];}_this3=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf4=(0,_getPrototypeOf5.default)(Wrapped)).call.apply(_getPrototypeOf4,[this].concat(args)));_this3.propTypes=Component.propTypes;_this3.transitions=[];_this3.viewRef=_react.default.createRef();return _this3;}(0,_createClass2.default)(Wrapped,[{key:\"componentDidMount\",value:function componentDidMount(){if(this.props.animateMount){this.animateNextTransition();}}},{key:\"setNativeProps\",value:function setNativeProps(props){this.viewRef.current.setNativeProps(props);}},{key:\"animateNextTransition\",value:function animateNextTransition(){var viewTag=(0,_findNodeHandle.default)(this.viewRef.current);_ReanimatedModule.default.animateNextTransition(viewTag,{transitions:this.transitions});}},{key:\"render\",value:function render(){var _this$props=this.props,transition=_this$props.transition,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"transition\"]);return _react.default.createElement(_react.default.Fragment,null,_react.default.createElement(TransitioningContext.Provider,{value:this.transitions},transition),_react.default.createElement(Component,(0,_extends2.default)({},rest,{ref:this.viewRef,collapsable:false})));}}]);return Wrapped;}(_react.default.Component);return Wrapped;}var Transitioning={View:createTransitioningComponent(_View.default)};exports.Transitioning=Transitioning;var Transition={Sequence:wrapTransitioningContext(Sequence),Together:wrapTransitioningContext(Together),In:wrapTransitioningContext(In),Out:wrapTransitioningContext(Out),Change:wrapTransitioningContext(Change)};exports.Transition=Transition;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/Transitioning.js"],"names":["TransitioningContext","React","createContext","configFromProps","type","props","config","durationMs","interpolation","animation","delayMs","propagation","wrapTransitioningContext","Comp","context","In","push","children","Component","Change","Out","Together","transitions","Sequence","sequence","createTransitioningComponent","Wrapped","propTypes","viewRef","createRef","animateMount","animateNextTransition","current","setNativeProps","viewTag","ReanimatedModule","transition","rest","Transitioning","View","Transition"],"mappings":"w5BAAA,oD,oLAEA,4EAEA,GAAMA,CAAAA,oBAAoB,CAAGC,eAAMC,aAAN,EAA7B,CAEA,QAASC,CAAAA,eAAT,CAAyBC,IAAzB,CAA+BC,KAA/B,CAAsC,CACpC,GAAMC,CAAAA,MAAM,CAAG,CAAEF,IAAI,CAAJA,IAAF,CAAf,CACA,GAAI,cAAgBC,CAAAA,KAApB,CAA2B,CACzBC,MAAM,CAACC,UAAP,CA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8B,CAYvB,CACpB,KAAKuB,OAAL,CAAaI,OAAb,CAAqBC,cAArB,CAAoC5B,KAApC,EACD,CAd4C,qEAgBrB,CACtB,GAAM6B,CAAAA,OAAO,CAAG,4BAAe,KAAKN,OAAL,CAAaI,OAA5B,CAAhB,CACAG,0BAAiBJ,qBAAjB,CAAuCG,OAAvC,CAAgD,CAC9CZ,WAAW,CAAE,KAAKA,WAD4B,CAAhD,EAGD,CArB4C,uCAuBpC,iBACyB,KAAKjB,KAD9B,CACC+B,UADD,aACCA,UADD,CACgBC,IADhB,mEAEP,MACE,8BAAC,cAAD,CAAO,QAAP,MACE,6BAAC,oBAAD,CAAsB,QAAtB,EAA+B,KAAK,CAAE,KAAKf,WAA3C,EACGc,UADH,CADF,CAIE,6BAAC,SAAD,0BAAeC,IAAf,EAAqB,GAAG,CAAE,KAAKT,OAA/B,CAAwC,WAAW,CAAE,KAArD,GAJF,CADF,CAQD,CAjC4C,qBACzB3B,eAAMiB,SADmB,EAmC/C,MAAOQ,CAAAA,OAAP,CACD,CAED,GAAMY,CAAAA,aAAa,CAAG,CACpBC,IAAI,CAAEd,4BAA4B,CAACc,aAAD,CADd,CAAtB,C,oCAIA,GAAMC,CAAAA,UAAU,CAAG,CACjBjB,QAAQ,CAAEX,wBAAwB,CAACW,QAAD,CADjB,CAEjBF,QAAQ,CAAET,wBAAwB,CAACS,QAAD,CAFjB,CAGjBN,EAAE,CAAEH,wBAAwB,CAACG,EAAD,CAHX,CAIjBK,GAAG,CAAER,wBAAwB,CAACQ,GAAD,CAJZ,CAKjBD,MAAM,CAAEP,wBAAwB,CAACO,MAAD,CALf,CAAnB,C","sourcesContent":["import React from 'react';\nimport { View, findNodeHandle } from 'react-native';\nimport ReanimatedModule from './ReanimatedModule';\n\nconst TransitioningContext = React.createContext();\n\nfunction configFromProps(type, props) {\n const config = { type };\n if ('durationMs' in props) {\n config.durationMs = props.durationMs;\n }\n if ('interpolation' in props) {\n config.interpolation = props.interpolation;\n }\n if ('type' in props) {\n config.animation = props.type;\n }\n if ('delayMs' in props) {\n config.delayMs = props.delayMs;\n }\n if ('propagation' in props) {\n config.propagation = props.propagation;\n }\n return config;\n}\n\n/**\n * The below wrapper is used to support legacy context API with Context.Consumer\n * render prop. We need it as we want to access `context` from within\n * `componentDidMount` callback. If we decided to drop support for older\n * react native we could rewrite it using hooks or `static contextType` API.\n */\nfunction wrapTransitioningContext(Comp) {\n return props => {\n return (\n <TransitioningContext.Consumer>\n {context => <Comp context={context} {...props} />}\n </TransitioningContext.Consumer>\n );\n };\n}\n\nclass In extends React.Component {\n componentDidMount() {\n this.props.context.push(configFromProps('in', this.props));\n }\n render() {\n return this.props.children || null;\n }\n}\n\nclass Change extends React.Component {\n componentDidMount() {\n this.props.context.push(configFromProps('change', this.props));\n }\n render() {\n return this.props.children || null;\n }\n}\n\nclass Out extends React.Component {\n componentDidMount() {\n this.props.context.push(configFromProps('out', this.props));\n }\n render() {\n return this.props.children || null;\n }\n}\n\nclass Together extends React.Component {\n transitions = [];\n componentDidMount() {\n const config = configFromProps('group', this.props);\n config.transitions = this.transitions;\n this.props.context.push(config);\n }\n render() {\n return (\n <TransitioningContext.Provider value={this.transitions}>\n {this.props.children}\n </TransitioningContext.Provider>\n );\n }\n}\n\nclass Sequence extends React.Component {\n transitions = [];\n componentDidMount() {\n const config = configFromProps('group', this.props);\n config.sequence = true;\n config.transitions = this.transitions;\n this.props.context.push(config);\n }\n render() {\n return (\n <TransitioningContext.Provider value={this.transitions}>\n {this.props.children}\n </TransitioningContext.Provider>\n );\n }\n}\n\nfunction createTransitioningComponent(Component) {\n class Wrapped extends React.Component {\n propTypes = Component.propTypes;\n transitions = [];\n viewRef = React.createRef();\n\n componentDidMount() {\n if (this.props.animateMount) {\n this.animateNextTransition();\n }\n }\n\n setNativeProps(props) {\n this.viewRef.current.setNativeProps(props);\n }\n\n animateNextTransition() {\n const viewTag = findNodeHandle(this.viewRef.current);\n ReanimatedModule.animateNextTransition(viewTag, {\n transitions: this.transitions,\n });\n }\n\n render() {\n const { transition, ...rest } = this.props;\n return (\n <React.Fragment>\n <TransitioningContext.Provider value={this.transitions}>\n {transition}\n </TransitioningContext.Provider>\n <Component {...rest} ref={this.viewRef} collapsable={false} />\n </React.Fragment>\n );\n }\n }\n return Wrapped;\n}\n\nconst Transitioning = {\n View: createTransitioningComponent(View),\n};\n\nconst Transition = {\n Sequence: wrapTransitioningContext(Sequence),\n Together: wrapTransitioningContext(Together),\n In: wrapTransitioningContext(In),\n Out: wrapTransitioningContext(Out),\n Change: wrapTransitioningContext(Change),\n};\n\nexport { Transitioning, Transition, createTransitioningComponent };\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _normalizeValueWithProperty=_interopRequireDefault(require(\"./normalizeValueWithProperty\"));var _resolveShadowValue=_interopRequireDefault(require(\"./resolveShadowValue\"));function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}var defaultOffset={height:0,width:0};function boxShadowReducer(resolvedStyle,style){var boxShadow=style.boxShadow;var shadow=(0,_resolveShadowValue.default)(style);if(shadow!=null){resolvedStyle.boxShadow=boxShadow?boxShadow+\", \"+shadow:shadow;}}function textShadowReducer(resolvedStyle,style){var textShadowColor=style.textShadowColor,textShadowOffset=style.textShadowOffset,textShadowRadius=style.textShadowRadius;var _ref=textShadowOffset||defaultOffset,height=_ref.height,width=_ref.width;var radius=textShadowRadius||0;var offsetX=(0,_normalizeValueWithProperty.default)(width);var offsetY=(0,_normalizeValueWithProperty.default)(height);var blurRadius=(0,_normalizeValueWithProperty.default)(radius);var color=(0,_normalizeValueWithProperty.default)(textShadowColor,'textShadowColor');if(color&&(height!==0||width!==0||radius!==0)&&offsetX!=null&&offsetY!=null&&blurRadius!=null){resolvedStyle.textShadow=offsetX+\" \"+offsetY+\" \"+blurRadius+\" \"+color;}}var createCompileableStyle=function createCompileableStyle(styles){var shadowColor=styles.shadowColor,shadowOffset=styles.shadowOffset,shadowOpacity=styles.shadowOpacity,shadowRadius=styles.shadowRadius,textShadowColor=styles.textShadowColor,textShadowOffset=styles.textShadowOffset,textShadowRadius=styles.textShadowRadius,nextStyles=_objectWithoutPropertiesLoose(styles,[\"shadowColor\",\"shadowOffset\",\"shadowOpacity\",\"shadowRadius\",\"textShadowColor\",\"textShadowOffset\",\"textShadowRadius\"]);if(shadowColor!=null||shadowOffset!=null||shadowOpacity!=null||shadowRadius!=null){boxShadowReducer(nextStyles,styles);}if(textShadowColor!=null||textShadowOffset!=null||textShadowRadius!=null){textShadowReducer(nextStyles,styles);}return nextStyles;};var _default=createCompileableStyle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/createCompileableStyle.js"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","Object","keys","key","i","length","indexOf","defaultOffset","height","width","boxShadowReducer","resolvedStyle","style","boxShadow","shadow","textShadowReducer","textShadowColor","textShadowOffset","textShadowRadius","_ref","radius","offsetX","offsetY","blurRadius","color","textShadow","createCompileableStyle","styles","shadowColor","shadowOffset","shadowOpacity","shadowRadius","nextStyles"],"mappings":"mKAUA,gGACA,gFAXA,QAASA,CAAAA,6BAAT,CAAuCC,MAAvC,CAA+CC,QAA/C,CAAyD,CAAE,GAAID,MAAM,EAAI,IAAd,CAAoB,MAAO,EAAP,CAAW,GAAIE,CAAAA,MAAM,CAAG,EAAb,CAAiB,GAAIC,CAAAA,UAAU,CAAGC,MAAM,CAACC,IAAP,CAAYL,MAAZ,CAAjB,CAAsC,GAAIM,CAAAA,GAAJ,CAASC,CAAT,CAAY,IAAKA,CAAC,CAAG,CAAT,CAAYA,CAA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CAAqF,CACnFH,iBAAiB,CAACiB,UAAD,CAAaL,MAAb,CAAjB,CACD,CAED,MAAOK,CAAAA,UAAP,CACD,CAnBD,C,aAqBeN,sB","sourcesContent":["function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport normalizeValueWithProperty from './normalizeValueWithProperty';\nimport resolveShadowValue from './resolveShadowValue';\nvar defaultOffset = {\n height: 0,\n width: 0\n};\n\nfunction boxShadowReducer(resolvedStyle, style) {\n var boxShadow = style.boxShadow;\n var shadow = resolveShadowValue(style);\n\n if (shadow != null) {\n resolvedStyle.boxShadow = boxShadow ? boxShadow + \", \" + shadow : shadow;\n }\n}\n\nfunction textShadowReducer(resolvedStyle, style) {\n var textShadowColor = style.textShadowColor,\n textShadowOffset = style.textShadowOffset,\n textShadowRadius = style.textShadowRadius;\n\n var _ref = textShadowOffset || defaultOffset,\n height = _ref.height,\n width = _ref.width;\n\n var radius = textShadowRadius || 0;\n var offsetX = normalizeValueWithProperty(width);\n var offsetY = normalizeValueWithProperty(height);\n var blurRadius = normalizeValueWithProperty(radius);\n var color = normalizeValueWithProperty(textShadowColor, 'textShadowColor');\n\n if (color && (height !== 0 || width !== 0 || radius !== 0) && offsetX != null && offsetY != null && blurRadius != null) {\n resolvedStyle.textShadow = offsetX + \" \" + offsetY + \" \" + blurRadius + \" \" + color;\n }\n}\n\nvar createCompileableStyle = function createCompileableStyle(styles) {\n var shadowColor = styles.shadowColor,\n shadowOffset = styles.shadowOffset,\n shadowOpacity = styles.shadowOpacity,\n shadowRadius = styles.shadowRadius,\n textShadowColor = styles.textShadowColor,\n textShadowOffset = styles.textShadowOffset,\n textShadowRadius = styles.textShadowRadius,\n nextStyles = _objectWithoutPropertiesLoose(styles, [\"shadowColor\", \"shadowOffset\", \"shadowOpacity\", \"shadowRadius\", \"textShadowColor\", \"textShadowOffset\", \"textShadowRadius\"]);\n\n if (shadowColor != null || shadowOffset != null || shadowOpacity != null || shadowRadius != null) {\n boxShadowReducer(nextStyles, styles);\n }\n\n if (textShadowColor != null || textShadowOffset != null || textShadowRadius != null) {\n textShadowReducer(nextStyles, styles);\n }\n\n return nextStyles;\n};\n\nexport default createCompileableStyle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var Avatar=_interopRequireWildcard(require(\"react-native-paper/lib/module/components/Avatar/Avatar\"));var _Button=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Button\"));var _Card=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Card/Card\"));var _Title=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Title\"));var _Paragraph=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Paragraph\"));var _Text=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Text\"));var _Linking=_interopRequireDefault(require(\"react-native-web/dist/exports/Linking\"));var _Image=_interopRequireDefault(require(\"react-native-web/dist/exports/Image\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var SearchIcon=function SearchIcon(props){switch(props.site){case'naver.com':return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/naver-logo.png\"),style:styles.image});case'google.com':return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/google-logo.png\"),style:styles.image});case'namu.wiki':return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/namu-logo.png\"),style:styles.image});case'facebook.com':return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/facebook-logo.png\"),style:styles.image});case'ko.wikipedia.org':return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/wiki-logo.png\"),style:styles.image});case'youtube.com':return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/youtube-logo.png\"),style:styles.image});default:return _react.default.createElement(_Image.default,{source:require(\"../../assets/img/etc-logo.png\"),style:styles.image});}};var SearchCard=function SearchCard(props){return _react.default.createElement(_Card.default,{style:{marginTop:10,marginLeft:10,marginRight:10}},_react.default.createElement(_Card.default.Title,{title:props.title,left:function left(){return _react.default.createElement(SearchIcon,{site:props.site});}}),_react.default.createElement(_Card.default.Content,null,_react.default.createElement(_Paragraph.default,null,props.content)),_react.default.createElement(_Card.default.Actions,{style:{flexDirection:'row',justifyContent:'space-between'}},_react.default.createElement(_Text.default,{style:{marginTop:7,marginLeft:10,fontStyle:'italic'}},\"\\uC815\\uD655\\uB3C4 : \",props.metric,\"%\"),_react.default.createElement(_Button.default,{mode:\"contained\",color:\"#3BAD87\",labelStyle:{color:\"#f0edf6\"},onPress:function onPress(){_Linking.default.openURL(props.url);}},\"\\uC790\\uC138\\uD788\\uBCF4\\uAE30\")));};var styles=_StyleSheet.default.create({image:{width:45,height:45,borderRadius:100}});var _default=SearchCard;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/SearchCard/SearchCard.js"],"names":["SearchIcon","props","site","require","styles","image","SearchCard","marginTop","marginLeft","marginRight","title","content","flexDirection","justifyContent","fontStyle","metric","color","Linking","openURL","url","StyleSheet","create","width","height","borderRadius"],"mappings":"wPAAA,oD,u2BAKA,GAAMA,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,CAACC,KAAD,CAAW,CAC5B,OAAOA,KAAK,CAACC,IAAb,EACE,IAAK,WAAL,CACE,MAAO,8BAAC,cAAD,EAAO,MAAM,CAAEC,OAAO,mCAAtB,CAA2D,KAAK,CAAEC,MAAM,CAACC,KAA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AAa,CAAC,KAAf,CAAsBC,cAAc,CAAC,eAArC,CAArB,EACI,6BAAC,aAAD,EAAM,KAAK,CAAE,CAACN,SAAS,CAAC,CAAX,CAAcC,UAAU,CAAE,EAA1B,CAA6BM,SAAS,CAAC,QAAvC,CAAb,0BAAsEb,KAAK,CAACc,MAA5E,KADJ,CAEI,6BAAC,eAAD,EAAQ,IAAI,CAAC,WAAb,CAAyB,KAAK,UAA9B,CAA6C,UAAU,CAAE,CAACC,KAAK,UAAN,CAAzD,CAA6E,OAAO,CAAE,kBAAI,CAACC,iBAAQC,OAAR,CAAgBjB,KAAK,CAACkB,GAAtB,EAA2B,CAAtH,mCAFJ,CANF,CADiB,EAAnB,CAgBA,GAAMf,CAAAA,MAAM,CAAGgB,oBAAWC,MAAX,CAAkB,CAC/BhB,KAAK,CAAC,CACJiB,KAAK,CAAE,EADH,CAEJC,MAAM,CAAE,EAFJ,CAGJC,YAAY,CAAE,GAHV,CADyB,CAAlB,CAAf,C,aASelB,U","sourcesContent":["import React from 'react';\r\nimport { DARK_MAIN,LIGHT_MAIN, WHITE_MAIN} from 'react-native-dotenv';\r\nimport { Avatar, Button, Card, Title, Paragraph, Text } from 'react-native-paper';\r\nimport {Linking, Image, StyleSheet } from 'react-native';\r\n\r\nconst SearchIcon = (props) => {\r\n switch(props.site){\r\n case 'naver.com':\r\n return(<Image source={require('../../assets/img/naver-logo.png')} style={styles.image}/>)\r\n case 'google.com':\r\n return(<Image source={require('../../assets/img/google-logo.png')} style={styles.image}/>)\r\n case 'namu.wiki':\r\n return(<Image source={require('../../assets/img/namu-logo.png')} style={styles.image}/>)\r\n case 'facebook.com':\r\n return(<Image source={require('../../assets/img/facebook-logo.png')} style={styles.image}/>)\r\n case 'ko.wikipedia.org':\r\n return(<Image source={require('../../assets/img/wiki-logo.png')} style={styles.image}/>)\r\n case 'youtube.com':\r\n return(<Image source={require('../../assets/img/youtube-logo.png')} style={styles.image}/>)\r\n default:\r\n return(<Image source={require('../../assets/img/etc-logo.png')} style={styles.image}/>)\r\n }\r\n}\r\n \r\n\r\n\r\nconst SearchCard = (props) => (\r\n <Card style={{marginTop:10, marginLeft:10, marginRight:10}}>\r\n <Card.Title title={props.title}\r\n left={ () => ( <SearchIcon site={props.site} /> ) } />\r\n <Card.Content>\r\n <Paragraph>{props.content}</Paragraph>\r\n </Card.Content>\r\n <Card.Actions style={{flexDirection:'row', justifyContent:'space-between'}}>\r\n <Text style={{marginTop:7, marginLeft: 10,fontStyle:'italic'}}>정확도 : {props.metric}%</Text>\r\n <Button mode='contained' color= {LIGHT_MAIN} labelStyle={{color:WHITE_MAIN}} onPress={()=>{Linking.openURL(props.url)}}>\r\n 자세히보기\r\n </Button>\r\n </Card.Actions>\r\n </Card>\r\n);\r\n\r\nconst styles = StyleSheet.create({\r\n image:{\r\n width: 45,\r\n height: 45,\r\n borderRadius: 100\r\n }\r\n});\r\n\r\n\r\nexport default SearchCard;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _applyLayout=_interopRequireDefault(require(\"../../modules/applyLayout\"));var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _react=require(\"react\");var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _createElement=_interopRequireDefault(require(\"../createElement\"));var _css=_interopRequireDefault(require(\"../StyleSheet/css\"));var _findNodeHandle=_interopRequireDefault(require(\"../findNodeHandle\"));var _StyleSheetPropType=_interopRequireDefault(require(\"../../modules/StyleSheetPropType\"));var _TextInputStylePropTypes=_interopRequireDefault(require(\"./TextInputStylePropTypes\"));var _TextInputState=_interopRequireDefault(require(\"../../modules/TextInputState\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var isAndroid=_ExecutionEnvironment.canUseDOM&&/Android/i.test(navigator&&navigator.userAgent);var emptyObject={};var normalizeEventHandler=function normalizeEventHandler(handler){return function(e){if(handler){e.nativeEvent.text=e.target.value;return handler(e);}};};var isSelectionStale=function isSelectionStale(node,selection){if(node&&selection){var selectionEnd=node.selectionEnd,selectionStart=node.selectionStart;var start=selection.start,end=selection.end;return start!==selectionStart||end!==selectionEnd;}return false;};var setSelection=function setSelection(node,selection){try{if(isSelectionStale(node,selection)){var start=selection.start,end=selection.end;if(isAndroid){setTimeout(function(){return node.setSelectionRange(start,end||start);},10);}else{node.setSelectionRange(start,end||start);}}}catch(e){}};var TextInput=function(_Component){_inheritsLoose(TextInput,_Component);function TextInput(){var _this;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=_Component.call.apply(_Component,[this].concat(args))||this;_this._handleBlur=function(e){var onBlur=_this.props.onBlur;_TextInputState.default._currentlyFocusedNode=null;if(onBlur){onBlur(e);}};_this._handleContentSizeChange=function(){var _this$props=_this.props,onContentSizeChange=_this$props.onContentSizeChange,multiline=_this$props.multiline;if(multiline&&onContentSizeChange){var newHeight=_this._node.scrollHeight;var newWidth=_this._node.scrollWidth;if(newHeight!==_this._nodeHeight||newWidth!==_this._nodeWidth){_this._nodeHeight=newHeight;_this._nodeWidth=newWidth;onContentSizeChange({nativeEvent:{contentSize:{height:_this._nodeHeight,width:_this._nodeWidth}}});}}};_this._handleChange=function(e){var _this$props2=_this.props,onChange=_this$props2.onChange,onChangeText=_this$props2.onChangeText;var text=e.nativeEvent.text;_this._handleContentSizeChange();if(onChange){onChange(e);}if(onChangeText){onChangeText(text);}_this._handleSelectionChange(e);};_this._handleFocus=function(e){var _this$props3=_this.props,clearTextOnFocus=_this$props3.clearTextOnFocus,onFocus=_this$props3.onFocus,selectTextOnFocus=_this$props3.selectTextOnFocus;var node=_this._node;_TextInputState.default._currentlyFocusedNode=_this._node;if(onFocus){onFocus(e);}if(clearTextOnFocus){_this.clear();}if(selectTextOnFocus){node&&node.select();}};_this._handleKeyDown=function(e){e.stopPropagation();if(e.key==='ArrowLeft'||e.key==='ArrowUp'||e.key==='ArrowRight'||e.key==='ArrowDown'||e.key==='Backspace'||e.key==='Escape'||e.key==='Enter'&&e.metaKey||e.key==='Tab'){_this._handleKeyPress(e);}};_this._handleKeyPress=function(e){var _this$props4=_this.props,blurOnSubmit=_this$props4.blurOnSubmit,multiline=_this$props4.multiline,onKeyPress=_this$props4.onKeyPress,onSubmitEditing=_this$props4.onSubmitEditing;var blurOnSubmitDefault=!multiline;var shouldBlurOnSubmit=blurOnSubmit==null?blurOnSubmitDefault:blurOnSubmit;if(onKeyPress){var keyValue=e.key;if(keyValue){e.nativeEvent={altKey:e.altKey,ctrlKey:e.ctrlKey,key:keyValue,metaKey:e.metaKey,shiftKey:e.shiftKey,target:e.target};onKeyPress(e);}}if(!e.isDefaultPrevented()&&e.key==='Enter'&&!e.shiftKey){if((blurOnSubmit||!multiline)&&onSubmitEditing){e.preventDefault();e.nativeEvent={target:e.target,text:e.target.value};onSubmitEditing(e);}if(shouldBlurOnSubmit){_this.blur();}}};_this._handleSelectionChange=function(e){var _this$props5=_this.props,onSelectionChange=_this$props5.onSelectionChange,_this$props5$selectio=_this$props5.selection,selection=_this$props5$selectio===void 0?emptyObject:_this$props5$selectio;if(onSelectionChange){try{var node=e.target;if(isSelectionStale(node,selection)){var selectionStart=node.selectionStart,selectionEnd=node.selectionEnd;e.nativeEvent.selection={start:selectionStart,end:selectionEnd};onSelectionChange(e);}}catch(e){}}};_this._setNode=function(component){_this._node=(0,_findNodeHandle.default)(component);if(_this._node){_this._handleContentSizeChange();}};return _this;}var _proto=TextInput.prototype;_proto.clear=function clear(){this._node.value='';};_proto.isFocused=function isFocused(){return _TextInputState.default.currentlyFocusedField()===this._node;};_proto.componentDidMount=function componentDidMount(){setSelection(this._node,this.props.selection);if(document.activeElement===this._node){_TextInputState.default._currentlyFocusedNode=this._node;}};_proto.componentDidUpdate=function componentDidUpdate(){setSelection(this._node,this.props.selection);};_proto.render=function render(){var _this$props6=this.props,autoComplete=_this$props6.autoComplete,autoCorrect=_this$props6.autoCorrect,editable=_this$props6.editable,keyboardType=_this$props6.keyboardType,multiline=_this$props6.multiline,numberOfLines=_this$props6.numberOfLines,returnKeyType=_this$props6.returnKeyType,secureTextEntry=_this$props6.secureTextEntry,blurOnSubmit=_this$props6.blurOnSubmit,clearTextOnFocus=_this$props6.clearTextOnFocus,onChangeText=_this$props6.onChangeText,onLayout=_this$props6.onLayout,onSelectionChange=_this$props6.onSelectionChange,onSubmitEditing=_this$props6.onSubmitEditing,selection=_this$props6.selection,selectTextOnFocus=_this$props6.selectTextOnFocus,spellCheck=_this$props6.spellCheck,accessibilityViewIsModal=_this$props6.accessibilityViewIsModal,allowFontScaling=_this$props6.allowFontScaling,caretHidden=_this$props6.caretHidden,clearButtonMode=_this$props6.clearButtonMode,dataDetectorTypes=_this$props6.dataDetectorTypes,disableFullscreenUI=_this$props6.disableFullscreenUI,enablesReturnKeyAutomatically=_this$props6.enablesReturnKeyAutomatically,hitSlop=_this$props6.hitSlop,inlineImageLeft=_this$props6.inlineImageLeft,inlineImagePadding=_this$props6.inlineImagePadding,inputAccessoryViewID=_this$props6.inputAccessoryViewID,keyboardAppearance=_this$props6.keyboardAppearance,maxFontSizeMultiplier=_this$props6.maxFontSizeMultiplier,needsOffscreenAlphaCompositing=_this$props6.needsOffscreenAlphaCompositing,onAccessibilityTap=_this$props6.onAccessibilityTap,onContentSizeChange=_this$props6.onContentSizeChange,onEndEditing=_this$props6.onEndEditing,onMagicTap=_this$props6.onMagicTap,onScroll=_this$props6.onScroll,removeClippedSubviews=_this$props6.removeClippedSubviews,renderToHardwareTextureAndroid=_this$props6.renderToHardwareTextureAndroid,returnKeyLabel=_this$props6.returnKeyLabel,scrollEnabled=_this$props6.scrollEnabled,selectionColor=_this$props6.selectionColor,selectionState=_this$props6.selectionState,shouldRasterizeIOS=_this$props6.shouldRasterizeIOS,textBreakStrategy=_this$props6.textBreakStrategy,textContentType=_this$props6.textContentType,underlineColorAndroid=_this$props6.underlineColorAndroid,otherProps=_objectWithoutPropertiesLoose(_this$props6,[\"autoComplete\",\"autoCorrect\",\"editable\",\"keyboardType\",\"multiline\",\"numberOfLines\",\"returnKeyType\",\"secureTextEntry\",\"blurOnSubmit\",\"clearTextOnFocus\",\"onChangeText\",\"onLayout\",\"onSelectionChange\",\"onSubmitEditing\",\"selection\",\"selectTextOnFocus\",\"spellCheck\",\"accessibilityViewIsModal\",\"allowFontScaling\",\"caretHidden\",\"clearButtonMode\",\"dataDetectorTypes\",\"disableFullscreenUI\",\"enablesReturnKeyAutomatically\",\"hitSlop\",\"inlineImageLeft\",\"inlineImagePadding\",\"inputAccessoryViewID\",\"keyboardAppearance\",\"maxFontSizeMultiplier\",\"needsOffscreenAlphaCompositing\",\"onAccessibilityTap\",\"onContentSizeChange\",\"onEndEditing\",\"onMagicTap\",\"onScroll\",\"removeClippedSubviews\",\"renderToHardwareTextureAndroid\",\"returnKeyLabel\",\"scrollEnabled\",\"selectionColor\",\"selectionState\",\"shouldRasterizeIOS\",\"textBreakStrategy\",\"textContentType\",\"underlineColorAndroid\"]);var type;switch(keyboardType){case'email-address':type='email';break;case'number-pad':case'numeric':type='number';break;case'phone-pad':type='tel';break;case'search':case'web-search':type='search';break;case'url':type='url';break;default:type='text';}if(secureTextEntry){type='password';}var component=multiline?'textarea':'input';(0,_extends2.default)(otherProps,{autoComplete:autoComplete==='off'?'noop':autoComplete,autoCorrect:autoCorrect?'on':'off',classList:[classes.textinput],dir:'auto',enterkeyhint:returnKeyType,onBlur:normalizeEventHandler(this._handleBlur),onChange:normalizeEventHandler(this._handleChange),onFocus:normalizeEventHandler(this._handleFocus),onKeyDown:this._handleKeyDown,onKeyPress:this._handleKeyPress,onSelect:normalizeEventHandler(this._handleSelectionChange),readOnly:!editable,ref:this._setNode,spellCheck:spellCheck!=null?spellCheck:autoCorrect});if(multiline){otherProps.rows=numberOfLines;}else{otherProps.type=type;}return(0,_createElement.default)(component,otherProps);};return TextInput;}(_react.Component);TextInput.displayName='TextInput';TextInput.defaultProps={autoCapitalize:'sentences',autoComplete:'on',autoCorrect:true,editable:true,keyboardType:'default',multiline:false,numberOfLines:1,secureTextEntry:false};TextInput.State=_TextInputState.default;TextInput.propTypes=process.env.NODE_ENV!==\"production\"?_objectSpread({},_ViewPropTypes.default,{autoCapitalize:(0,_propTypes.oneOf)(['characters','none','sentences','words']),autoComplete:_propTypes.string,autoCorrect:_propTypes.bool,autoFocus:_propTypes.bool,blurOnSubmit:_propTypes.bool,clearTextOnFocus:_propTypes.bool,defaultValue:_propTypes.string,editable:_propTypes.bool,inputAccessoryViewID:_propTypes.string,keyboardType:(0,_propTypes.oneOf)(['default','email-address','number-pad','numbers-and-punctuation','numeric','phone-pad','search','url','web-search']),maxFontSizeMultiplier:_propTypes.number,maxLength:_propTypes.number,multiline:_propTypes.bool,numberOfLines:_propTypes.number,onBlur:_propTypes.func,onChange:_propTypes.func,onChangeText:_propTypes.func,onFocus:_propTypes.func,onKeyPress:_propTypes.func,onSelectionChange:_propTypes.func,onSubmitEditing:_propTypes.func,placeholder:_propTypes.string,placeholderTextColor:_ColorPropType.default,returnKeyType:(0,_propTypes.oneOf)(['enter','done','go','next','previous','search','send']),secureTextEntry:_propTypes.bool,selectTextOnFocus:_propTypes.bool,selection:(0,_propTypes.shape)({start:_propTypes.number.isRequired,end:_propTypes.number}),spellCheck:_propTypes.bool,style:(0,_StyleSheetPropType.default)(_TextInputStylePropTypes.default),value:_propTypes.string,caretHidden:_propTypes.bool,clearButtonMode:_propTypes.string,dataDetectorTypes:_propTypes.string,disableFullscreenUI:_propTypes.bool,enablesReturnKeyAutomatically:_propTypes.bool,keyboardAppearance:_propTypes.string,inlineImageLeft:_propTypes.string,inlineImagePadding:_propTypes.number,onContentSizeChange:_propTypes.func,onEndEditing:_propTypes.func,onScroll:_propTypes.func,returnKeyLabel:_propTypes.string,selectionColor:_ColorPropType.default,selectionState:_propTypes.any,textBreakStrategy:_propTypes.string,underlineColorAndroid:_ColorPropType.default}):{};var classes=_css.default.create({textinput:{MozAppearance:'textfield',WebkitAppearance:'none',backgroundColor:'transparent',border:'0 solid black',borderRadius:0,boxSizing:'border-box',font:'14px System',padding:0,resize:'none'}});var _default=(0,_applyLayout.default)((0,_applyNativeMethods.default)(TextInput));exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/TextInput/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_inheritsLoose","subClass","superClass","prototype","create","constructor","__proto__","isAndroid","canUseDOM","test","navigator","userAgent","emptyObject","normalizeEventHandler","handler","e","nativeEvent","text","isSelectionStale","node","selection","selectionEnd","selectionStart","start","end","setSelection","setTimeout","setSelectionRange","TextInput","_Component","_this","_len","args","Array","_key","call","apply","_handleBlur","onBlur","props","TextInputState","_currentlyFocusedNode","_handleContentSizeChange","_this$props","onContentSizeChange","multiline","newHeight","_node","scrollHeight","newWidth","scrollWidth","_nodeHeight","_nodeWidth","contentSize","height","width","_handleChange","_this$props2","onChange","onChangeText","_handleSelectionChange","_handleFocus","_this$props3","clearTextOnFocus","onFocus","selectTextOnFocus","clear","select","_handleKeyDown","stopPropagation","metaKey","_handleKeyPress","_this$props4","blurOnSubmit","onKeyPress","onSubmitEditing","blurOnSubmitDefault","shouldBlurOnSubmit","keyValue","altKey","ctrlKey","shiftKey","isDefaultPrevented","preventDefault","blur","_this$props5","onSelectionChange","_this$props5$selectio","_setNode","component","_proto","isFocused","currentlyFocusedField","componentDidMount","document","activeElement","componentDidUpdate","render","_this$props6","autoComplete","autoCorrect","editable","keyboardType","numberOfLines","returnKeyType","secureTextEntry","onLayout","spellCheck","accessibilityViewIsModal","allowFontScaling","caretHidden","clearButtonMode","dataDetectorTypes","disableFullscreenUI","enablesReturnKeyAutomatically","hitSlop","inlineImageLeft","inlineImagePadding","inputAccessoryViewID","keyboardAppearance","maxFontSizeMultiplier","needsOffscreenAlphaCompositing","onAccessibilityTap","onEndEditing","onMagicTap","onScroll","removeClippedSubviews","renderToHardwareTextureAndroid","returnKeyLabel","scrollEnabled","selectionColor","selectionState","shouldRasterizeIOS","textBreakStrategy","textContentType","underlineColorAndroid","otherProps","type","classList","classes","textinput","dir","enterkeyhint","onKeyDown","onSelect","readOnly","ref","rows","Component","displayName","defaultProps","autoCapitalize","State","propTypes","process","env","NODE_ENV","ViewPropTypes","string","bool","autoFocus","defaultValue","number","maxLength","func","placeholder","placeholderTextColor","ColorPropType","isRequired","style","TextInputStylePropTypes","any","css","MozAppearance","WebkitAppearance","backgroundColor","border","borderRadius","boxSizing","font","padding","resize"],"mappings":"mPAiBA,8EACA,4FACA,mEACA,4BACA,uEACA,uEACA,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wC7F9C,iBAAiB,CAAE8C,iBAxC0E,CAyC7F7C,mBAAmB,CAAE8C,eAzCwE,CA0C7F7C,6BAA6B,CAAE6C,eA1C8D,CA2C7FxC,kBAAkB,CAAEuC,iBA3CyE,CA4C7F1C,eAAe,CAAE0C,iBA5C4E,CA6C7FzC,kBAAkB,CAAE6C,iBA7CyE,CA8C7FtH,mBAAmB,CAAEwH,eA9CwE,CA+C7FzC,YAAY,CAAEyC,eA/C+E,CAgD7FvC,QAAQ,CAAEuC,eAhDmF,CAiD7FpC,cAAc,CAAE8B,iBAjD6E,CAkD7F5B,cAAc,CAAEqC,sBAlD6E,CAmD7FpC,cAAc,CAAEwC,cAnD6E,CAoD7FtC,iBAAiB,CAAEyB,iBApD0E,CAqD7FvB,qBAAqB,CAAEgC,sBArDsE,CAApB,CAArD,CAwDjB,EAxDL,CAyDA,GAAI5B,CAAAA,OAAO,CAAGiC,aAAIxK,MAAJ,CAAW,CACvBwI,SAAS,CAAE,CACTiC,aAAa,CAAE,WADN,CAETC,gBAAgB,CAAE,MAFT,CAGTC,eAAe,CAAE,aAHR,CAITC,MAAM,CAAE,eAJC,CAKTC,YAAY,CAAE,CALL,CAMTC,SAAS,CAAE,YANF,CAOTC,IAAI,CAAE,aAPG,CAQTC,OAAO,CAAE,CARA,CASTC,MAAM,CAAE,MATC,CADY,CAAX,CAAd,C,aAae,yBAAY,gCAAmBzJ,SAAnB,CAAZ,C","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyLayout from '../../modules/applyLayout';\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport { Component } from 'react';\nimport ColorPropType from '../ColorPropType';\nimport createElement from '../createElement';\nimport css from '../StyleSheet/css';\nimport findNodeHandle from '../findNodeHandle';\nimport StyleSheetPropType from '../../modules/StyleSheetPropType';\nimport TextInputStylePropTypes from './TextInputStylePropTypes';\nimport TextInputState from '../../modules/TextInputState';\nimport ViewPropTypes from '../ViewPropTypes';\nimport { any, bool, func, number, oneOf, shape, string } from 'prop-types';\nvar isAndroid = canUseDOM && /Android/i.test(navigator && navigator.userAgent);\nvar emptyObject = {};\n/**\n * React Native events differ from W3C events.\n */\n\nvar normalizeEventHandler = function normalizeEventHandler(handler) {\n return function (e) {\n if (handler) {\n e.nativeEvent.text = e.target.value;\n return handler(e);\n }\n };\n};\n/**\n * Determines whether a 'selection' prop differs from a node's existing\n * selection state.\n */\n\n\nvar isSelectionStale = function isSelectionStale(node, selection) {\n if (node && selection) {\n var selectionEnd = node.selectionEnd,\n selectionStart = node.selectionStart;\n var start = selection.start,\n end = selection.end;\n return start !== selectionStart || end !== selectionEnd;\n }\n\n return false;\n};\n/**\n * Certain input types do no support 'selectSelectionRange' and will throw an\n * error.\n */\n\n\nvar setSelection = function setSelection(node, selection) {\n try {\n if (isSelectionStale(node, selection)) {\n var start = selection.start,\n end = selection.end; // workaround for Blink on Android: see https://github.com/text-mask/text-mask/issues/300\n\n if (isAndroid) {\n setTimeout(function () {\n return node.setSelectionRange(start, end || start);\n }, 10);\n } else {\n node.setSelectionRange(start, end || start);\n }\n }\n } catch (e) {}\n};\n\nvar TextInput =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TextInput, _Component);\n\n function TextInput() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n\n _this._handleBlur = function (e) {\n var onBlur = _this.props.onBlur;\n TextInputState._currentlyFocusedNode = null;\n\n if (onBlur) {\n onBlur(e);\n }\n };\n\n _this._handleContentSizeChange = function () {\n var _this$props = _this.props,\n onContentSizeChange = _this$props.onContentSizeChange,\n multiline = _this$props.multiline;\n\n if (multiline && onContentSizeChange) {\n var newHeight = _this._node.scrollHeight;\n var newWidth = _this._node.scrollWidth;\n\n if (newHeight !== _this._nodeHeight || newWidth !== _this._nodeWidth) {\n _this._nodeHeight = newHeight;\n _this._nodeWidth = newWidth;\n onContentSizeChange({\n nativeEvent: {\n contentSize: {\n height: _this._nodeHeight,\n width: _this._nodeWidth\n }\n }\n });\n }\n }\n };\n\n _this._handleChange = function (e) {\n var _this$props2 = _this.props,\n onChange = _this$props2.onChange,\n onChangeText = _this$props2.onChangeText;\n var text = e.nativeEvent.text;\n\n _this._handleContentSizeChange();\n\n if (onChange) {\n onChange(e);\n }\n\n if (onChangeText) {\n onChangeText(text);\n }\n\n _this._handleSelectionChange(e);\n };\n\n _this._handleFocus = function (e) {\n var _this$props3 = _this.props,\n clearTextOnFocus = _this$props3.clearTextOnFocus,\n onFocus = _this$props3.onFocus,\n selectTextOnFocus = _this$props3.selectTextOnFocus;\n var node = _this._node;\n TextInputState._currentlyFocusedNode = _this._node;\n\n if (onFocus) {\n onFocus(e);\n }\n\n if (clearTextOnFocus) {\n _this.clear();\n }\n\n if (selectTextOnFocus) {\n node && node.select();\n }\n };\n\n _this._handleKeyDown = function (e) {\n // Prevent key events bubbling (see #612)\n e.stopPropagation(); // Backspace, Escape, Tab, Cmd+Enter, and Arrow keys only fire 'keydown'\n // DOM events\n\n if (e.key === 'ArrowLeft' || e.key === 'ArrowUp' || e.key === 'ArrowRight' || e.key === 'ArrowDown' || e.key === 'Backspace' || e.key === 'Escape' || e.key === 'Enter' && e.metaKey || e.key === 'Tab') {\n _this._handleKeyPress(e);\n }\n };\n\n _this._handleKeyPress = function (e) {\n var _this$props4 = _this.props,\n blurOnSubmit = _this$props4.blurOnSubmit,\n multiline = _this$props4.multiline,\n onKeyPress = _this$props4.onKeyPress,\n onSubmitEditing = _this$props4.onSubmitEditing;\n var blurOnSubmitDefault = !multiline;\n var shouldBlurOnSubmit = blurOnSubmit == null ? blurOnSubmitDefault : blurOnSubmit;\n\n if (onKeyPress) {\n var keyValue = e.key;\n\n if (keyValue) {\n e.nativeEvent = {\n altKey: e.altKey,\n ctrlKey: e.ctrlKey,\n key: keyValue,\n metaKey: e.metaKey,\n shiftKey: e.shiftKey,\n target: e.target\n };\n onKeyPress(e);\n }\n }\n\n if (!e.isDefaultPrevented() && e.key === 'Enter' && !e.shiftKey) {\n if ((blurOnSubmit || !multiline) && onSubmitEditing) {\n // prevent \"Enter\" from inserting a newline\n e.preventDefault();\n e.nativeEvent = {\n target: e.target,\n text: e.target.value\n };\n onSubmitEditing(e);\n }\n\n if (shouldBlurOnSubmit) {\n // $FlowFixMe\n _this.blur();\n }\n }\n };\n\n _this._handleSelectionChange = function (e) {\n var _this$props5 = _this.props,\n onSelectionChange = _this$props5.onSelectionChange,\n _this$props5$selectio = _this$props5.selection,\n selection = _this$props5$selectio === void 0 ? emptyObject : _this$props5$selectio;\n\n if (onSelectionChange) {\n try {\n var node = e.target;\n\n if (isSelectionStale(node, selection)) {\n var selectionStart = node.selectionStart,\n selectionEnd = node.selectionEnd;\n e.nativeEvent.selection = {\n start: selectionStart,\n end: selectionEnd\n };\n onSelectionChange(e);\n }\n } catch (e) {}\n }\n };\n\n _this._setNode = function (component) {\n _this._node = findNodeHandle(component);\n\n if (_this._node) {\n _this._handleContentSizeChange();\n }\n };\n\n return _this;\n }\n\n var _proto = TextInput.prototype;\n\n _proto.clear = function clear() {\n this._node.value = '';\n };\n\n _proto.isFocused = function isFocused() {\n return TextInputState.currentlyFocusedField() === this._node;\n };\n\n _proto.componentDidMount = function componentDidMount() {\n setSelection(this._node, this.props.selection);\n\n if (document.activeElement === this._node) {\n TextInputState._currentlyFocusedNode = this._node;\n }\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n setSelection(this._node, this.props.selection);\n };\n\n _proto.render = function render() {\n var _this$props6 = this.props,\n autoComplete = _this$props6.autoComplete,\n autoCorrect = _this$props6.autoCorrect,\n editable = _this$props6.editable,\n keyboardType = _this$props6.keyboardType,\n multiline = _this$props6.multiline,\n numberOfLines = _this$props6.numberOfLines,\n returnKeyType = _this$props6.returnKeyType,\n secureTextEntry = _this$props6.secureTextEntry,\n blurOnSubmit = _this$props6.blurOnSubmit,\n clearTextOnFocus = _this$props6.clearTextOnFocus,\n onChangeText = _this$props6.onChangeText,\n onLayout = _this$props6.onLayout,\n onSelectionChange = _this$props6.onSelectionChange,\n onSubmitEditing = _this$props6.onSubmitEditing,\n selection = _this$props6.selection,\n selectTextOnFocus = _this$props6.selectTextOnFocus,\n spellCheck = _this$props6.spellCheck,\n accessibilityViewIsModal = _this$props6.accessibilityViewIsModal,\n allowFontScaling = _this$props6.allowFontScaling,\n caretHidden = _this$props6.caretHidden,\n clearButtonMode = _this$props6.clearButtonMode,\n dataDetectorTypes = _this$props6.dataDetectorTypes,\n disableFullscreenUI = _this$props6.disableFullscreenUI,\n enablesReturnKeyAutomatically = _this$props6.enablesReturnKeyAutomatically,\n hitSlop = _this$props6.hitSlop,\n inlineImageLeft = _this$props6.inlineImageLeft,\n inlineImagePadding = _this$props6.inlineImagePadding,\n inputAccessoryViewID = _this$props6.inputAccessoryViewID,\n keyboardAppearance = _this$props6.keyboardAppearance,\n maxFontSizeMultiplier = _this$props6.maxFontSizeMultiplier,\n needsOffscreenAlphaCompositing = _this$props6.needsOffscreenAlphaCompositing,\n onAccessibilityTap = _this$props6.onAccessibilityTap,\n onContentSizeChange = _this$props6.onContentSizeChange,\n onEndEditing = _this$props6.onEndEditing,\n onMagicTap = _this$props6.onMagicTap,\n onScroll = _this$props6.onScroll,\n removeClippedSubviews = _this$props6.removeClippedSubviews,\n renderToHardwareTextureAndroid = _this$props6.renderToHardwareTextureAndroid,\n returnKeyLabel = _this$props6.returnKeyLabel,\n scrollEnabled = _this$props6.scrollEnabled,\n selectionColor = _this$props6.selectionColor,\n selectionState = _this$props6.selectionState,\n shouldRasterizeIOS = _this$props6.shouldRasterizeIOS,\n textBreakStrategy = _this$props6.textBreakStrategy,\n textContentType = _this$props6.textContentType,\n underlineColorAndroid = _this$props6.underlineColorAndroid,\n otherProps = _objectWithoutPropertiesLoose(_this$props6, [\"autoComplete\", \"autoCorrect\", \"editable\", \"keyboardType\", \"multiline\", \"numberOfLines\", \"returnKeyType\", \"secureTextEntry\", \"blurOnSubmit\", \"clearTextOnFocus\", \"onChangeText\", \"onLayout\", \"onSelectionChange\", \"onSubmitEditing\", \"selection\", \"selectTextOnFocus\", \"spellCheck\", \"accessibilityViewIsModal\", \"allowFontScaling\", \"caretHidden\", \"clearButtonMode\", \"dataDetectorTypes\", \"disableFullscreenUI\", \"enablesReturnKeyAutomatically\", \"hitSlop\", \"inlineImageLeft\", \"inlineImagePadding\", \"inputAccessoryViewID\", \"keyboardAppearance\", \"maxFontSizeMultiplier\", \"needsOffscreenAlphaCompositing\", \"onAccessibilityTap\", \"onContentSizeChange\", \"onEndEditing\", \"onMagicTap\", \"onScroll\", \"removeClippedSubviews\", \"renderToHardwareTextureAndroid\", \"returnKeyLabel\", \"scrollEnabled\", \"selectionColor\", \"selectionState\", \"shouldRasterizeIOS\", \"textBreakStrategy\", \"textContentType\", \"underlineColorAndroid\"]);\n\n var type;\n\n switch (keyboardType) {\n case 'email-address':\n type = 'email';\n break;\n\n case 'number-pad':\n case 'numeric':\n type = 'number';\n break;\n\n case 'phone-pad':\n type = 'tel';\n break;\n\n case 'search':\n case 'web-search':\n type = 'search';\n break;\n\n case 'url':\n type = 'url';\n break;\n\n default:\n type = 'text';\n }\n\n if (secureTextEntry) {\n type = 'password';\n }\n\n var component = multiline ? 'textarea' : 'input';\n Object.assign(otherProps, {\n // Browser's treat autocomplete \"off\" as \"on\"\n // https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164\n autoComplete: autoComplete === 'off' ? 'noop' : autoComplete,\n autoCorrect: autoCorrect ? 'on' : 'off',\n classList: [classes.textinput],\n dir: 'auto',\n enterkeyhint: returnKeyType,\n onBlur: normalizeEventHandler(this._handleBlur),\n onChange: normalizeEventHandler(this._handleChange),\n onFocus: normalizeEventHandler(this._handleFocus),\n onKeyDown: this._handleKeyDown,\n onKeyPress: this._handleKeyPress,\n onSelect: normalizeEventHandler(this._handleSelectionChange),\n readOnly: !editable,\n ref: this._setNode,\n spellCheck: spellCheck != null ? spellCheck : autoCorrect\n });\n\n if (multiline) {\n otherProps.rows = numberOfLines;\n } else {\n otherProps.type = type;\n }\n\n return createElement(component, otherProps);\n };\n\n return TextInput;\n}(Component);\n\nTextInput.displayName = 'TextInput';\nTextInput.defaultProps = {\n autoCapitalize: 'sentences',\n autoComplete: 'on',\n autoCorrect: true,\n editable: true,\n keyboardType: 'default',\n multiline: false,\n numberOfLines: 1,\n secureTextEntry: false\n};\nTextInput.State = TextInputState;\nTextInput.propTypes = process.env.NODE_ENV !== \"production\" ? _objectSpread({}, ViewPropTypes, {\n autoCapitalize: oneOf(['characters', 'none', 'sentences', 'words']),\n autoComplete: string,\n autoCorrect: bool,\n autoFocus: bool,\n blurOnSubmit: bool,\n clearTextOnFocus: bool,\n defaultValue: string,\n editable: bool,\n inputAccessoryViewID: string,\n keyboardType: oneOf(['default', 'email-address', 'number-pad', 'numbers-and-punctuation', 'numeric', 'phone-pad', 'search', 'url', 'web-search']),\n maxFontSizeMultiplier: number,\n maxLength: number,\n multiline: bool,\n numberOfLines: number,\n onBlur: func,\n onChange: func,\n onChangeText: func,\n onFocus: func,\n onKeyPress: func,\n onSelectionChange: func,\n onSubmitEditing: func,\n placeholder: string,\n placeholderTextColor: ColorPropType,\n returnKeyType: oneOf(['enter', 'done', 'go', 'next', 'previous', 'search', 'send']),\n secureTextEntry: bool,\n selectTextOnFocus: bool,\n selection: shape({\n start: number.isRequired,\n end: number\n }),\n spellCheck: bool,\n style: StyleSheetPropType(TextInputStylePropTypes),\n value: string,\n\n /* react-native compat */\n\n /* eslint-disable */\n caretHidden: bool,\n clearButtonMode: string,\n dataDetectorTypes: string,\n disableFullscreenUI: bool,\n enablesReturnKeyAutomatically: bool,\n keyboardAppearance: string,\n inlineImageLeft: string,\n inlineImagePadding: number,\n onContentSizeChange: func,\n onEndEditing: func,\n onScroll: func,\n returnKeyLabel: string,\n selectionColor: ColorPropType,\n selectionState: any,\n textBreakStrategy: string,\n underlineColorAndroid: ColorPropType\n /* eslint-enable */\n\n}) : {};\nvar classes = css.create({\n textinput: {\n MozAppearance: 'textfield',\n WebkitAppearance: 'none',\n backgroundColor: 'transparent',\n border: '0 solid black',\n borderRadius: 0,\n boxSizing: 'border-box',\n font: '14px System',\n padding: 0,\n resize: 'none'\n }\n});\nexport default applyLayout(applyNativeMethods(TextInput));"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});var _exportNames={deprecate:true};Object.defineProperty(exports,\"deprecate\",{enumerable:true,get:function get(){return _deprecate.default;}});var _AdapterProxy=require(\"./AdapterProxy\");Object.keys(_AdapterProxy).forEach(function(key){if(key===\"default\"||key===\"__esModule\")return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _AdapterProxy[key];}});});var _deprecate=_interopRequireDefault(require(\"./deprecate\"));","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"0RAAA,mTACA","sourcesContent":["export * from './AdapterProxy';\nexport { default as deprecate } from './deprecate';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var React=_interopRequireWildcard(require(\"react\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _I18nManager=_interopRequireDefault(require(\"react-native-web/dist/exports/I18nManager\"));var _theming=require(\"../../core/theming\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Typography/AnimatedText.tsx\";function AnimatedText(_ref){var style=_ref.style,theme=_ref.theme,rest=(0,_objectWithoutProperties2.default)(_ref,[\"style\",\"theme\"]);var writingDirection=_I18nManager.default.isRTL?'rtl':'ltr';return React.createElement(_Animated.default.Text,(0,_extends2.default)({},rest,{style:[(0,_objectSpread2.default)({},theme.fonts.regular,{color:theme.colors.text,textAlign:'left',writingDirection:writingDirection}),style],__source:{fileName:_jsxFileName,lineNumber:23}}));}var _default=(0,_theming.withTheme)(AnimatedText);exports.default=_default;","map":{"version":3,"sources":["AnimatedText.tsx"],"names":["style","theme","rest","writingDirection","I18nManager","color","textAlign","withTheme"],"mappings":"khBAAA,oD,sLAEA,2C,kHAgBA,QAAA,CAAA,YAAA,CAAA,IAAA,CAAwD,CAAhCA,GAAAA,CAAAA,KAAgC,CAAA,IAAA,CAAhCA,KAAAA,CAAOC,KAAyB,CAAA,IAAA,CAAzBA,KAAPD,CAAiBE,IAAe,CAAA,sCAAA,IAAA,CAAA,CAAA,OAAA,CAAA,OAAA,CAAA,CAAhCF,CACtB,GAAMG,CAAAA,gBAAgB,CAAGC,qBAAAA,KAAAA,CAAAA,KAAAA,CAAzB,KAAA,CAEA,MACE,CAAA,KAAA,CAAA,aAAA,CAAA,kBAAA,IAAA,CAAA,sBAAA,EAAA,CAAA,IAAA,CAAA,CAEE,KAAK,CAAE,CAAA,2BAAA,EAAA,CAEAH,KAAK,CAALA,KAAAA,CAFA,OAAA,CAAA,CAGHI,KAAK,CAAEJ,KAAK,CAALA,MAAAA,CAHJ,IAAA,CAIHK,SAAS,CAJN,MAAA,CAKHH,gBAAgB,CALb,gBAAA,CAAA,CAAA,CAFT,KAES,CAFT,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CADF,EACE,CAAA,CAAA,CAAA,CADF,CAgBF,C,aAAeI,uBAAf,YAAeA,C","sourcesContent":["import * as React from 'react';\nimport { Animated, TextStyle, I18nManager, StyleProp } from 'react-native';\nimport { withTheme } from '../../core/theming';\nimport { Theme } from '../../types';\n\ntype Props = React.ComponentProps<typeof Animated.Text> & {\n style?: StyleProp<TextStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * Text component which follows styles from the theme.\n *\n * @extends Text props https://facebook.github.io/react-native/docs/text.html#props\n */\nfunction AnimatedText({ style, theme, ...rest }: Props) {\n const writingDirection = I18nManager.isRTL ? 'rtl' : 'ltr';\n\n return (\n <Animated.Text\n {...rest}\n style={[\n {\n ...theme.fonts.regular,\n color: theme.colors.text,\n textAlign: 'left',\n writingDirection,\n },\n style,\n ]}\n />\n );\n}\n\nexport default withTheme(AnimatedText);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _createReactClass=_interopRequireDefault(require(\"create-react-class\"));var _ensurePositiveDelayProps=_interopRequireDefault(require(\"../Touchable/ensurePositiveDelayProps\"));var _propTypes=require(\"prop-types\");var _react=_interopRequireDefault(require(\"react\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _Touchable=_interopRequireDefault(require(\"../Touchable\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"../TouchableWithoutFeedback\"));var _View=_interopRequireDefault(require(\"../View\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var flattenStyle=_StyleSheet.default.flatten;var PRESS_RETENTION_OFFSET={top:20,left:20,right:20,bottom:30};var TouchableOpacity=(0,_createReactClass.default)({displayName:'TouchableOpacity',mixins:[_Touchable.default.Mixin],propTypes:_objectSpread({},_TouchableWithoutFeedback.default.propTypes,{activeOpacity:_propTypes.number,focusedOpacity:_propTypes.number}),getDefaultProps:function getDefaultProps(){return{activeOpacity:0.2,focusedOpacity:0.7};},getInitialState:function getInitialState(){return this.touchableGetInitialState();},componentDidMount:function componentDidMount(){(0,_ensurePositiveDelayProps.default)(this.props);},componentWillReceiveProps:function componentWillReceiveProps(nextProps){(0,_ensurePositiveDelayProps.default)(nextProps);},setOpacityTo:function setOpacityTo(value,duration){this.setNativeProps({style:{opacity:value,transitionDuration:duration?duration/1000+\"s\":'0s'}});},touchableHandleActivePressIn:function touchableHandleActivePressIn(e){if(e.dispatchConfig.registrationName==='onResponderGrant'){this._opacityActive(0);}else{this._opacityActive(150);}this.props.onPressIn&&this.props.onPressIn(e);},touchableHandleActivePressOut:function touchableHandleActivePressOut(e){this._opacityInactive(250);this.props.onPressOut&&this.props.onPressOut(e);},touchableHandlePress:function touchableHandlePress(e){this.props.onPress&&this.props.onPress(e);},touchableHandleLongPress:function touchableHandleLongPress(e){this.props.onLongPress&&this.props.onLongPress(e);},touchableGetPressRectOffset:function touchableGetPressRectOffset(){return this.props.pressRetentionOffset||PRESS_RETENTION_OFFSET;},touchableGetHitSlop:function touchableGetHitSlop(){return this.props.hitSlop;},touchableGetHighlightDelayMS:function touchableGetHighlightDelayMS(){return this.props.delayPressIn||0;},touchableGetLongPressDelayMS:function touchableGetLongPressDelayMS(){return this.props.delayLongPress===0?0:this.props.delayLongPress||500;},touchableGetPressOutDelayMS:function touchableGetPressOutDelayMS(){return this.props.delayPressOut;},_opacityActive:function _opacityActive(duration){this.setOpacityTo(this.props.activeOpacity,duration);},_opacityInactive:function _opacityInactive(duration){this.setOpacityTo(this._getChildStyleOpacityWithDefault(),duration);},_opacityFocused:function _opacityFocused(){this.setOpacityTo(this.props.focusedOpacity);},_getChildStyleOpacityWithDefault:function _getChildStyleOpacityWithDefault(){var childStyle=flattenStyle(this.props.style)||{};return childStyle.opacity===undefined?1:childStyle.opacity;},render:function render(){var _this$props=this.props,activeOpacity=_this$props.activeOpacity,focusedOpacity=_this$props.focusedOpacity,delayLongPress=_this$props.delayLongPress,delayPressIn=_this$props.delayPressIn,delayPressOut=_this$props.delayPressOut,onLongPress=_this$props.onLongPress,onPress=_this$props.onPress,onPressIn=_this$props.onPressIn,onPressOut=_this$props.onPressOut,pressRetentionOffset=_this$props.pressRetentionOffset,other=_objectWithoutPropertiesLoose(_this$props,[\"activeOpacity\",\"focusedOpacity\",\"delayLongPress\",\"delayPressIn\",\"delayPressOut\",\"onLongPress\",\"onPress\",\"onPressIn\",\"onPressOut\",\"pressRetentionOffset\"]);return _react.default.createElement(_View.default,_extends({},other,{accessible:this.props.accessible!==false,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:[styles.root,!this.props.disabled&&styles.actionable,this.props.style]}),this.props.children,_Touchable.default.renderDebugView({color:'blue',hitSlop:this.props.hitSlop}));}});var styles=_StyleSheet.default.create({root:{transitionProperty:'opacity',transitionDuration:'0.15s',userSelect:'none'},actionable:{cursor:'pointer',touchAction:'manipulation'}});var _default=(0,_applyNativeMethods.default)(TouchableOpacity);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/TouchableOpacity/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","_objectSpread","ownKeys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","flattenStyle","StyleSheet","flatten","PRESS_RETENTION_OFFSET","top","left","right","bottom","TouchableOpacity","displayName","mixins","Touchable","Mixin","propTypes","TouchableWithoutFeedback","activeOpacity","number","focusedOpacity","getDefaultProps","getInitialState","touchableGetInitialState","componentDidMount","props","componentWillReceiveProps","nextProps","setOpacityTo","duration","setNativeProps","style","opacity","transitionDuration","touchableHandleActivePressIn","e","dispatchConfig","registrationName","_opacityActive","onPressIn","touchableHandleActivePressOut","_opacityInactive","onPressOut","touchableHandlePress","onPress","touchableHandleLongPress","onLongPress","touchableGetPressRectOffset","pressRetentionOffset","touchableGetHitSlop","hitSlop","touchableGetHighlightDelayMS","delayPressIn","touchableGetLongPressDelayMS","delayLongPress","touchableGetPressOutDelayMS","delayPressOut","_getChildStyleOpacityWithDefault","_opacityFocused","childStyle","undefined","render","_this$props","other","React","createElement","View","accessible","onKeyDown","touchableHandleKeyEvent","onKeyUp","onResponderGrant","touchableHandleResponderGrant","onResponderMove","touchableHandleResponderMove","onResponderRelease","touchableHandleResponderRelease","onResponderTerminate","touchableHandleResponderTerminate","onResponderTerminationRequest","touchableHandleResponderTerminationRequest","onStartShouldSetResponder","touchableHandleStartShouldSetResponder","styles","root","disabled","actionable","children","renderDebugView","color","create","transitionProperty","userSelect","cursor","touchAction"],"mappings":"mKAiBA,4FACA,4EACA,uGACA,qCACA,oDACA,iEACA,+DACA,6FACA,qDAzBA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,C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OE,gBAAMC,aAAN,CAAoBC,aAApB,CAA0BhG,QAAQ,CAAC,EAAD,CAAK6F,KAAL,CAAY,CACnDI,UAAU,CAAE,KAAK1C,KAAL,CAAW0C,UAAX,GAA0B,KADa,CAEnDC,SAAS,CAAE,KAAKC,uBAFmC,CAGnDC,OAAO,CAAE,KAAKD,uBAHqC,CAInDE,gBAAgB,CAAE,KAAKC,6BAJ4B,CAKnDC,eAAe,CAAE,KAAKC,4BAL6B,CAMnDC,kBAAkB,CAAE,KAAKC,+BAN0B,CAOnDC,oBAAoB,CAAE,KAAKC,iCAPwB,CAQnDC,6BAA6B,CAAE,KAAKC,0CARe,CASnDC,yBAAyB,CAAE,KAAKC,sCATmB,CAUnDnD,KAAK,CAAE,CAACoD,MAAM,CAACC,IAAR,CAAc,CAAC,KAAK3D,KAAL,CAAW4D,QAAZ,EAAwBF,MAAM,CAACG,UAA7C,CAAyD,KAAK7D,KAAL,CAAWM,KAApE,CAV4C,CAAZ,CAAlC,CAWH,KAAKN,KAAL,CAAW8D,QAXR,CAWkBzE,mBAAU0E,eAAV,CAA0B,CACjDC,KAAK,CAAE,MAD0C,CAEjDvC,OAAO,CAAE,KAAKzB,KAAL,CAAWyB,OAF6B,CAA1B,CAXlB,CAAP,CAeD,CAxHqC,CAAjB,CAAvB,CA0HA,GAAIiC,CAAAA,MAAM,CAAG/E,oBAAWsF,MAAX,CAAkB,CAC7BN,IAAI,CAAE,CACJO,kBAAkB,CAAE,SADhB,CAEJ1D,kBAAkB,CAAE,OAFhB,CAGJ2D,UAAU,CAAE,MAHR,CADuB,CAM7BN,UAAU,CAAE,CACVO,MAAM,CAAE,SADE,CAEVC,WAAW,CAAE,cAFH,CANiB,CAAlB,CAAb,C,aAWe,gCAAmBnF,gBAAnB,C","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport createReactClass from 'create-react-class';\nimport ensurePositiveDelayProps from '../Touchable/ensurePositiveDelayProps';\nimport { number } from 'prop-types';\nimport React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport Touchable from '../Touchable';\nimport TouchableWithoutFeedback from '../TouchableWithoutFeedback';\nimport View from '../View';\nvar flattenStyle = StyleSheet.flatten;\nvar PRESS_RETENTION_OFFSET = {\n top: 20,\n left: 20,\n right: 20,\n bottom: 30\n};\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, dimming it.\n *\n * Opacity is controlled by wrapping the children in a View, which is\n * added to the view hiearchy. Be aware that this can affect layout.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * <TouchableOpacity onPress={this._onPressButton}>\n * <Image\n * style={styles.button}\n * source={require('./myButton.png')}\n * />\n * </TouchableOpacity>\n * );\n * },\n * ```\n */\n\n/* eslint-disable react/prefer-es6-class */\n\nvar TouchableOpacity = createReactClass({\n displayName: 'TouchableOpacity',\n mixins: [Touchable.Mixin],\n propTypes: _objectSpread({}, TouchableWithoutFeedback.propTypes, {\n /**\n * Determines what the opacity of the wrapped view should be when touch is\n * active.\n */\n activeOpacity: number,\n focusedOpacity: number\n }),\n getDefaultProps: function getDefaultProps() {\n return {\n activeOpacity: 0.2,\n focusedOpacity: 0.7\n };\n },\n getInitialState: function getInitialState() {\n return this.touchableGetInitialState();\n },\n componentDidMount: function componentDidMount() {\n ensurePositiveDelayProps(this.props);\n },\n componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n ensurePositiveDelayProps(nextProps);\n },\n\n /**\n * Animate the touchable to a new opacity.\n */\n setOpacityTo: function setOpacityTo(value, duration) {\n this.setNativeProps({\n style: {\n opacity: value,\n transitionDuration: duration ? duration / 1000 + \"s\" : '0s'\n }\n });\n },\n\n /**\n * `Touchable.Mixin` self callbacks. The mixin will invoke these if they are\n * defined on your component.\n */\n touchableHandleActivePressIn: function touchableHandleActivePressIn(e) {\n if (e.dispatchConfig.registrationName === 'onResponderGrant') {\n this._opacityActive(0);\n } else {\n this._opacityActive(150);\n }\n\n this.props.onPressIn && this.props.onPressIn(e);\n },\n touchableHandleActivePressOut: function touchableHandleActivePressOut(e) {\n this._opacityInactive(250);\n\n this.props.onPressOut && this.props.onPressOut(e);\n },\n touchableHandlePress: function touchableHandlePress(e) {\n this.props.onPress && this.props.onPress(e);\n },\n touchableHandleLongPress: function touchableHandleLongPress(e) {\n this.props.onLongPress && this.props.onLongPress(e);\n },\n touchableGetPressRectOffset: function touchableGetPressRectOffset() {\n return this.props.pressRetentionOffset || PRESS_RETENTION_OFFSET;\n },\n touchableGetHitSlop: function touchableGetHitSlop() {\n return this.props.hitSlop;\n },\n touchableGetHighlightDelayMS: function touchableGetHighlightDelayMS() {\n return this.props.delayPressIn || 0;\n },\n touchableGetLongPressDelayMS: function touchableGetLongPressDelayMS() {\n return this.props.delayLongPress === 0 ? 0 : this.props.delayLongPress || 500;\n },\n touchableGetPressOutDelayMS: function touchableGetPressOutDelayMS() {\n return this.props.delayPressOut;\n },\n _opacityActive: function _opacityActive(duration) {\n this.setOpacityTo(this.props.activeOpacity, duration);\n },\n _opacityInactive: function _opacityInactive(duration) {\n this.setOpacityTo(this._getChildStyleOpacityWithDefault(), duration);\n },\n _opacityFocused: function _opacityFocused() {\n this.setOpacityTo(this.props.focusedOpacity);\n },\n _getChildStyleOpacityWithDefault: function _getChildStyleOpacityWithDefault() {\n var childStyle = flattenStyle(this.props.style) || {};\n return childStyle.opacity === undefined ? 1 : childStyle.opacity;\n },\n render: function render() {\n var _this$props = this.props,\n activeOpacity = _this$props.activeOpacity,\n focusedOpacity = _this$props.focusedOpacity,\n delayLongPress = _this$props.delayLongPress,\n delayPressIn = _this$props.delayPressIn,\n delayPressOut = _this$props.delayPressOut,\n onLongPress = _this$props.onLongPress,\n onPress = _this$props.onPress,\n onPressIn = _this$props.onPressIn,\n onPressOut = _this$props.onPressOut,\n pressRetentionOffset = _this$props.pressRetentionOffset,\n other = _objectWithoutPropertiesLoose(_this$props, [\"activeOpacity\", \"focusedOpacity\", \"delayLongPress\", \"delayPressIn\", \"delayPressOut\", \"onLongPress\", \"onPress\", \"onPressIn\", \"onPressOut\", \"pressRetentionOffset\"]);\n\n return React.createElement(View, _extends({}, other, {\n accessible: this.props.accessible !== false,\n onKeyDown: this.touchableHandleKeyEvent,\n onKeyUp: this.touchableHandleKeyEvent,\n onResponderGrant: this.touchableHandleResponderGrant,\n onResponderMove: this.touchableHandleResponderMove,\n onResponderRelease: this.touchableHandleResponderRelease,\n onResponderTerminate: this.touchableHandleResponderTerminate,\n onResponderTerminationRequest: this.touchableHandleResponderTerminationRequest,\n onStartShouldSetResponder: this.touchableHandleStartShouldSetResponder,\n style: [styles.root, !this.props.disabled && styles.actionable, this.props.style]\n }), this.props.children, Touchable.renderDebugView({\n color: 'blue',\n hitSlop: this.props.hitSlop\n }));\n }\n});\nvar styles = StyleSheet.create({\n root: {\n transitionProperty: 'opacity',\n transitionDuration: '0.15s',\n userSelect: 'none'\n },\n actionable: {\n cursor: 'pointer',\n touchAction: 'manipulation'\n }\n});\nexport default applyNativeMethods(TouchableOpacity);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _NativeEventEmitter=_interopRequireDefault(require(\"../../vendor/react-native/NativeEventEmitter\"));var _default=_NativeEventEmitter.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/NativeEventEmitter/index.js"],"names":["NativeEventEmitter"],"mappings":"mKAQA,wG,aACeA,2B","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport NativeEventEmitter from '../../vendor/react-native/NativeEventEmitter';\nexport default NativeEventEmitter;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"\"use strict\";function makeEmptyFunction(arg){return function(){return arg;};}var emptyFunction=function emptyFunction(){};emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this;};emptyFunction.thatReturnsArgument=function(arg){return arg;};module.exports=emptyFunction;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/emptyFunction.js"],"names":["makeEmptyFunction","arg","emptyFunction","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsNull","thatReturnsThis","thatReturnsArgument","module","exports"],"mappings":"AAAA,aAUA,QAASA,CAAAA,iBAAT,CAA2BC,GAA3B,CAAgC,CAC9B,MAAO,WAAY,CACjB,MAAOA,CAAAA,GAAP,CACD,CAFD,CAGD,CAQD,GAAIC,CAAAA,aAAa,CAAG,QAASA,CAAAA,aAAT,EAAyB,CAAE,CAA/C,CAEAA,aAAa,CAACC,WAAd,CAA4BH,iBAA5B,CACAE,aAAa,CAACE,gBAAd,CAAiCJ,iBAAiB,CAAC,KAAD,CAAlD,CACAE,aAAa,CAACG,eAAd,CAAgCL,iBAAiB,CAAC,IAAD,CAAjD,CACAE,aAAa,CAACI,eAAd,CAAgCN,iBAAiB,CAAC,IAAD,CAAjD,CAEAE,aAAa,CAACK,eAAd,CAAgC,UAAY,CAC1C,MAAO,KAAP,CACD,CAFD,CAIAL,aAAa,CAACM,mBAAd,CAAoC,SAAUP,GAAV,CAAe,CACjD,MAAOA,CAAAA,GAAP,CACD,CAFD,CAIAQ,MAAM,CAACC,OAAP,CAAiBR,aAAjB","sourcesContent":["\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\n\n\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\n\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedEvent=require(\"../AnimatedEvent\");var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedStyle=_interopRequireDefault(require(\"./AnimatedStyle\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));var _findNodeHandle=_interopRequireDefault(require(\"../../../../exports/findNodeHandle\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedProps=function(_AnimatedNode){_inheritsLoose(AnimatedProps,_AnimatedNode);function AnimatedProps(props,callback){var _this;_this=_AnimatedNode.call(this)||this;if(props.style){props=_objectSpread({},props,{style:new _AnimatedStyle.default(props.style)});}_this._props=props;_this._callback=callback;_this.__attach();return _this;}var _proto=AnimatedProps.prototype;_proto.__getValue=function __getValue(){var props={};for(var key in this._props){var value=this._props[key];if(value instanceof _AnimatedNode2.default){if(!value.__isNative||value instanceof _AnimatedStyle.default){props[key]=value.__getValue();}}else if(value instanceof _AnimatedEvent.AnimatedEvent){props[key]=value.__getHandler();}else{props[key]=value;}}return props;};_proto.__getAnimatedValue=function __getAnimatedValue(){var props={};for(var key in this._props){var value=this._props[key];if(value instanceof _AnimatedNode2.default){props[key]=value.__getAnimatedValue();}}return props;};_proto.__attach=function __attach(){for(var key in this._props){var value=this._props[key];if(value instanceof _AnimatedNode2.default){value.__addChild(this);}}};_proto.__detach=function __detach(){if(this.__isNative&&this._animatedView){this.__disconnectAnimatedView();}for(var key in this._props){var value=this._props[key];if(value instanceof _AnimatedNode2.default){value.__removeChild(this);}}_AnimatedNode.prototype.__detach.call(this);};_proto.update=function update(){this._callback();};_proto.__makeNative=function __makeNative(){if(!this.__isNative){this.__isNative=true;for(var key in this._props){var value=this._props[key];if(value instanceof _AnimatedNode2.default){value.__makeNative();}}if(this._animatedView){this.__connectAnimatedView();}}};_proto.setNativeView=function setNativeView(animatedView){if(this._animatedView===animatedView){return;}this._animatedView=animatedView;if(this.__isNative){this.__connectAnimatedView();}};_proto.__connectAnimatedView=function __connectAnimatedView(){(0,_invariant.default)(this.__isNative,'Expected node to be marked as \"native\"');var nativeViewTag=(0,_findNodeHandle.default)(this._animatedView);(0,_invariant.default)(nativeViewTag!=null,'Unable to locate attached view in the native tree');_NativeAnimatedHelper.default.API.connectAnimatedNodeToView(this.__getNativeTag(),nativeViewTag);};_proto.__disconnectAnimatedView=function __disconnectAnimatedView(){(0,_invariant.default)(this.__isNative,'Expected node to be marked as \"native\"');var nativeViewTag=(0,_findNodeHandle.default)(this._animatedView);(0,_invariant.default)(nativeViewTag!=null,'Unable to locate attached view in the native tree');_NativeAnimatedHelper.default.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),nativeViewTag);};_proto.__getNativeConfig=function __getNativeConfig(){var propsConfig={};for(var propKey in this._props){var value=this._props[propKey];if(value instanceof _AnimatedNode2.default){propsConfig[propKey]=value.__getNativeTag();}}return{type:'props',props:propsConfig};};return AnimatedProps;}(_AnimatedNode2.default);var _default=AnimatedProps;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedProps.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_inheritsLoose","subClass","superClass","prototype","create","constructor","__proto__","AnimatedProps","_AnimatedNode","props","callback","_this","call","style","AnimatedStyle","_props","_callback","__attach","_proto","__getValue","AnimatedNode","__isNative","AnimatedEvent","__getHandler","__getAnimatedValue","__addChild","__detach","_animatedView","__disconnectAnimatedView","__removeChild","update","__makeNative","__connectAnimatedView","setNativeView","animatedView","nativeViewTag","NativeAnimatedHelper","API","connectAnimatedNodeToView","__getNativeTag","disconnectAnimatedNodeFromView","__getNativeConfig","propsConfig","propKey","type"],"mappings":"AASA,a,mKAQA,+CACA,qEACA,sEACA,qFACA,0FACA,qEAXA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6BJ,MAA7B,EAAqCM,MAArC,CAA4C,SAAUC,GAAV,CAAe,CAAE,MAAOL,CAAAA,MAAM,CAACM,wBAAP,CAAgCR,MAAhC,CAAwCO,GAAxC,EAA6CE,UAApD,CAAiE,CAA9H,CAAf,CAAV,CAA4J,CAACR,OAAO,CAACS,OAAR,CAAgB,SAAUC,GAAV,CAAe,CAAEC,eAAe,CAAChB,MAAD,CAASe,GAAT,CAAcX,MAAM,CAACW,GAAD,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AAEiC,WAFF,CAAP,CAID,CAfD,CAiBA,MAAOnC,CAAAA,aAAP,CACD,CAxJD,CAwJEa,sBAxJF,CAFA,C,aA4Jeb,a","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport { AnimatedEvent } from '../AnimatedEvent';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedStyle from './AnimatedStyle';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport findNodeHandle from '../../../../exports/findNodeHandle';\nimport invariant from 'fbjs/lib/invariant';\n\nvar AnimatedProps =\n/*#__PURE__*/\nfunction (_AnimatedNode) {\n _inheritsLoose(AnimatedProps, _AnimatedNode);\n\n function AnimatedProps(props, callback) {\n var _this;\n\n _this = _AnimatedNode.call(this) || this;\n\n if (props.style) {\n props = _objectSpread({}, props, {\n style: new AnimatedStyle(props.style)\n });\n }\n\n _this._props = props;\n _this._callback = callback;\n\n _this.__attach();\n\n return _this;\n }\n\n var _proto = AnimatedProps.prototype;\n\n _proto.__getValue = function __getValue() {\n var props = {};\n\n for (var key in this._props) {\n var value = this._props[key];\n\n if (value instanceof AnimatedNode) {\n if (!value.__isNative || value instanceof AnimatedStyle) {\n // We cannot use value of natively driven nodes this way as the value we have access from\n // JS may not be up to date.\n props[key] = value.__getValue();\n }\n } else if (value instanceof AnimatedEvent) {\n props[key] = value.__getHandler();\n } else {\n props[key] = value;\n }\n }\n\n return props;\n };\n\n _proto.__getAnimatedValue = function __getAnimatedValue() {\n var props = {};\n\n for (var key in this._props) {\n var value = this._props[key];\n\n if (value instanceof AnimatedNode) {\n props[key] = value.__getAnimatedValue();\n }\n }\n\n return props;\n };\n\n _proto.__attach = function __attach() {\n for (var key in this._props) {\n var value = this._props[key];\n\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n };\n\n _proto.__detach = function __detach() {\n if (this.__isNative && this._animatedView) {\n this.__disconnectAnimatedView();\n }\n\n for (var key in this._props) {\n var value = this._props[key];\n\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n\n _AnimatedNode.prototype.__detach.call(this);\n };\n\n _proto.update = function update() {\n this._callback();\n };\n\n _proto.__makeNative = function __makeNative() {\n if (!this.__isNative) {\n this.__isNative = true;\n\n for (var key in this._props) {\n var value = this._props[key];\n\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n\n if (this._animatedView) {\n this.__connectAnimatedView();\n }\n }\n };\n\n _proto.setNativeView = function setNativeView(animatedView) {\n if (this._animatedView === animatedView) {\n return;\n }\n\n this._animatedView = animatedView;\n\n if (this.__isNative) {\n this.__connectAnimatedView();\n }\n };\n\n _proto.__connectAnimatedView = function __connectAnimatedView() {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n var nativeViewTag = findNodeHandle(this._animatedView);\n invariant(nativeViewTag != null, 'Unable to locate attached view in the native tree');\n NativeAnimatedHelper.API.connectAnimatedNodeToView(this.__getNativeTag(), nativeViewTag);\n };\n\n _proto.__disconnectAnimatedView = function __disconnectAnimatedView() {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n var nativeViewTag = findNodeHandle(this._animatedView);\n invariant(nativeViewTag != null, 'Unable to locate attached view in the native tree');\n NativeAnimatedHelper.API.disconnectAnimatedNodeFromView(this.__getNativeTag(), nativeViewTag);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n var propsConfig = {};\n\n for (var propKey in this._props) {\n var value = this._props[propKey];\n\n if (value instanceof AnimatedNode) {\n propsConfig[propKey] = value.__getNativeTag();\n }\n }\n\n return {\n type: 'props',\n props: propsConfig\n };\n };\n\n return AnimatedProps;\n}(AnimatedNode);\n\nexport default AnimatedProps;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../../exports/ColorPropType\"));var _propTypes=require(\"prop-types\");var numberOrString=(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]);var BorderStylePropType=(0,_propTypes.oneOf)(['solid','dotted','dashed']);var BorderPropTypes={borderColor:_ColorPropType.default,borderBottomColor:_ColorPropType.default,borderEndColor:_ColorPropType.default,borderLeftColor:_ColorPropType.default,borderRightColor:_ColorPropType.default,borderStartColor:_ColorPropType.default,borderTopColor:_ColorPropType.default,borderRadius:numberOrString,borderBottomEndRadius:numberOrString,borderBottomLeftRadius:numberOrString,borderBottomRightRadius:numberOrString,borderBottomStartRadius:numberOrString,borderTopEndRadius:numberOrString,borderTopLeftRadius:numberOrString,borderTopRightRadius:numberOrString,borderTopStartRadius:numberOrString,borderStyle:BorderStylePropType,borderBottomStyle:BorderStylePropType,borderEndStyle:BorderStylePropType,borderLeftStyle:BorderStylePropType,borderRightStyle:BorderStylePropType,borderStartStyle:BorderStylePropType,borderTopStyle:BorderStylePropType};var _default=BorderPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/BorderPropTypes/index.js"],"names":["numberOrString","number","string","BorderStylePropType","BorderPropTypes","borderColor","ColorPropType","borderBottomColor","borderEndColor","borderLeftColor","borderRightColor","borderStartColor","borderTopColor","borderRadius","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","borderStyle","borderBottomStyle","borderEndStyle","borderLeftStyle","borderRightStyle","borderStartStyle","borderTopStyle"],"mappings":"mKAQA,kFACA,qCACA,GAAIA,CAAAA,cAAc,CAAG,yBAAU,CAACC,iBAAD,CAASC,iBAAT,CAAV,CAArB,CACA,GAAIC,CAAAA,mBAAmB,CAAG,qBAAM,CAAC,OAAD,CAAU,QAAV,CAAoB,QAApB,CAAN,CAA1B,CACA,GAAIC,CAAAA,eAAe,CAAG,CACpBC,WAAW,CAAEC,sBADO,CAEpBC,iBAAiB,CAAED,sBAFC,CAGpBE,cAAc,CAAEF,sBAHI,CAIpBG,eAAe,CAAEH,sBAJG,CAKpBI,gBAAgB,CAAEJ,sBALE,CAMpBK,gBAAgB,CAAEL,sBANE,CAOpBM,cAAc,CAAEN,sBAPI,CAQpBO,YAAY,CAAEb,cARM,CASpBc,qBAAqB,CAAEd,cATH,CAUpBe,sBAAsB,CAAEf,cAVJ,CAWpBgB,uBAAuB,CAAEhB,cAXL,CAYpBiB,uBAAuB,CAAEjB,cAZL,CAapBkB,kBAAkB,CAAElB,cAbA,CAcpBmB,mBAAmB,CAAEnB,cAdD,CAepBoB,oBAAoB,CAAEpB,cAfF,CAgBpBqB,oBAAoB,CAAErB,cAhBF,CAiBpBsB,WAAW,CAAEnB,mBAjBO,CAkBpBoB,iBAAiB,CAAEpB,mBAlBC,CAmBpBqB,cAAc,CAAErB,mBAnBI,CAoBpBsB,eAAe,CAAEtB,mBApBG,CAqBpBuB,gBAAgB,CAAEvB,mBArBE,CAsBpBwB,gBAAgB,CAAExB,mBAtBE,CAuBpByB,cAAc,CAAEzB,mBAvBI,CAAtB,C,aAyBeC,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../../exports/ColorPropType';\nimport { number, oneOf, oneOfType, string } from 'prop-types';\nvar numberOrString = oneOfType([number, string]);\nvar BorderStylePropType = oneOf(['solid', 'dotted', 'dashed']);\nvar BorderPropTypes = {\n borderColor: ColorPropType,\n borderBottomColor: ColorPropType,\n borderEndColor: ColorPropType,\n borderLeftColor: ColorPropType,\n borderRightColor: ColorPropType,\n borderStartColor: ColorPropType,\n borderTopColor: ColorPropType,\n borderRadius: numberOrString,\n borderBottomEndRadius: numberOrString,\n borderBottomLeftRadius: numberOrString,\n borderBottomRightRadius: numberOrString,\n borderBottomStartRadius: numberOrString,\n borderTopEndRadius: numberOrString,\n borderTopLeftRadius: numberOrString,\n borderTopRightRadius: numberOrString,\n borderTopStartRadius: numberOrString,\n borderStyle: BorderStylePropType,\n borderBottomStyle: BorderStylePropType,\n borderEndStyle: BorderStylePropType,\n borderLeftStyle: BorderStylePropType,\n borderRightStyle: BorderStylePropType,\n borderStartStyle: BorderStylePropType,\n borderTopStyle: BorderStylePropType\n};\nexport default BorderPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireDefault(require(\"react\"));var _reactNativeSvg=require(\"react-native-svg\");var Point=function Point(_ref){var x=_ref.x,y=_ref.y,value=_ref.value,index=_ref.index,radius=_ref.radius,color=_ref.color;if(isNaN(value)){return _react.default.createElement(_reactNativeSvg.Circle,null);}return _react.default.createElement(_reactNativeSvg.Circle,{cx:x(index),cy:y(value),r:radius,stroke:color,fill:'white'});};Point.propTypes={x:_propTypes.default.func.isRequired,y:_propTypes.default.func.isRequired,value:_propTypes.default.number,radius:_propTypes.default.number,index:_propTypes.default.number,color:_propTypes.default.string};Point.defaultProps={radius:4,color:'black'};var _default=Point;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/chart-decorators/point.js"],"names":["Point","x","y","value","index","radius","color","isNaN","propTypes","PropTypes","func","isRequired","number","string","defaultProps"],"mappings":"mKAAA,6DACA,oDACA,gDAEA,GAAMA,CAAAA,KAAK,CAAG,QAARA,CAAAA,KAAQ,MAA2C,IAAxCC,CAAAA,CAAwC,MAAxCA,CAAwC,CAArCC,CAAqC,MAArCA,CAAqC,CAAlCC,KAAkC,MAAlCA,KAAkC,CAA3BC,KAA2B,MAA3BA,KAA2B,CAApBC,MAAoB,MAApBA,MAAoB,CAAZC,KAAY,MAAZA,KAAY,CACrD,GAAIC,KAAK,CAACJ,KAAD,CAAT,CAAkB,CACd,MAAO,8BAAC,sBAAD,MAAP,CACH,CAED,MAAO,8BAAC,sBAAD,EAAQ,EAAE,CAAEF,CAAC,CAACG,KAAD,CAAb,CAAsB,EAAE,CAAEF,CAAC,CAACC,KAAD,CAA3B,CAAoC,CAAC,CAAEE,MAAvC,CAA+C,MAAM,CAAEC,KAAvD,CAA8D,IAAI,CAAE,OAApE,EAAP,CACH,CAND,CAQAN,KAAK,CAACQ,SAAN,CAAkB,CACdP,CAAC,CAAEQ,mBAAUC,IAAV,CAAeC,UADJ,CAEdT,CAAC,CAAEO,mBAAUC,IAAV,CAAeC,UAFJ,CAGdR,KAAK,CAAEM,mBAAUG,MAHH,CAIdP,MAAM,CAAEI,mBAAUG,MAJJ,CAKdR,KAAK,CAAEK,mBAAUG,MALH,CAMdN,KAAK,CAAEG,mBAAUI,MANH,CAAlB,CASAb,KAAK,CAACc,YAAN,CAAqB,CACjBT,MAAM,CAAE,CADS,CAEjBC,KAAK,CAAE,OAFU,CAArB,C,aAKeN,K","sourcesContent":["import PropTypes from 'prop-types'\nimport React from 'react'\nimport { Circle } from 'react-native-svg'\n\nconst Point = ({ x, y, value, index, radius, color }) => {\n if (isNaN(value)) {\n return <Circle />\n }\n\n return <Circle cx={x(index)} cy={y(value)} r={radius} stroke={color} fill={'white'} />\n}\n\nPoint.propTypes = {\n x: PropTypes.func.isRequired,\n y: PropTypes.func.isRequired,\n value: PropTypes.number,\n radius: PropTypes.number,\n index: PropTypes.number,\n color: PropTypes.string,\n}\n\nPoint.defaultProps = {\n radius: 4,\n color: 'black',\n}\n\nexport default Point\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _reactDom=require(\"react-dom\");var findNodeHandle=function findNodeHandle(component){var node;try{node=(0,_reactDom.findDOMNode)(component);}catch(e){}return node;};var _default=findNodeHandle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/findNodeHandle/index.js"],"names":["findNodeHandle","component","node","e"],"mappings":"gFASA,mCAEA,GAAIA,CAAAA,cAAc,CAAG,QAASA,CAAAA,cAAT,CAAwBC,SAAxB,CAAmC,CACtD,GAAIC,CAAAA,IAAJ,CAEA,GAAI,CACFA,IAAI,CAAG,0BAAYD,SAAZ,CAAP,CACD,CAAC,MAAOE,CAAP,CAAU,CAAE,CAEd,MAAOD,CAAAA,IAAP,CACD,CARD,C,aAUeF,c","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { findDOMNode } from 'react-dom';\n\nvar findNodeHandle = function findNodeHandle(component) {\n var node;\n\n try {\n node = findDOMNode(component);\n } catch (e) {}\n\n return node;\n};\n\nexport default findNodeHandle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _default={disconnectNodeFromView:function disconnectNodeFromView(){return _regenerator.default.async(function disconnectNodeFromView$(_context){while(1){switch(_context.prev=_context.next){case 0:case\"end\":return _context.stop();}}});},attachEvent:function attachEvent(viewTag,eventName,nodeID){return _regenerator.default.async(function attachEvent$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:case\"end\":return _context2.stop();}}});},detachEvent:function detachEvent(viewTag,eventName,nodeID){return _regenerator.default.async(function detachEvent$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:case\"end\":return _context3.stop();}}});},createNode:function createNode(nodeID,config){return _regenerator.default.async(function createNode$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:case\"end\":return _context4.stop();}}});},dropNode:function dropNode(nodeID){return _regenerator.default.async(function dropNode$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:case\"end\":return _context5.stop();}}});},configureProps:function configureProps(){return _regenerator.default.async(function configureProps$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:case\"end\":return _context6.stop();}}});},disconnectNodes:function disconnectNodes(){return _regenerator.default.async(function disconnectNodes$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:case\"end\":return _context7.stop();}}});},animateNextTransition:function animateNextTransition(){return _regenerator.default.async(function animateNextTransition$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:console.warn('Reanimated: animateNextTransition is unimplemented on web');case 1:case\"end\":return _context8.stop();}}});}};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/ReanimatedModule.web.js"],"names":["disconnectNodeFromView","attachEvent","viewTag","eventName","nodeID","detachEvent","createNode","config","dropNode","configureProps","disconnectNodes","animateNextTransition","console","warn"],"mappings":"+PAAe,CACPA,sBADO,4MAIPC,WAJO,sBAIKC,OAJL,CAIcC,SAJd,CAIyBC,MAJzB,oKAOPC,WAPO,sBAOKH,OAPL,CAOcC,SAPd,CAOyBC,MAPzB,oKAUPE,UAVO,qBAUIF,MAVJ,CAUYG,MAVZ,mKAaPC,QAbO,mBAaEJ,MAbF,iKAgBPK,cAhBO,gMAmBPC,eAnBO,kMAsBPC,qBAtBO,qKAuBXC,OAAO,CAACC,IAAR,CAAa,2DAAb,EAvBW,gD","sourcesContent":["export default {\n async disconnectNodeFromView() {\n // noop\n },\n async attachEvent(viewTag, eventName, nodeID) {\n // noop\n },\n async detachEvent(viewTag, eventName, nodeID) {\n // noop\n },\n async createNode(nodeID, config) {\n // noop\n },\n async dropNode(nodeID) {\n // noop\n },\n async configureProps() {\n // noop\n },\n async disconnectNodes() {\n // noop\n },\n async animateNextTransition() {\n console.warn('Reanimated: animateNextTransition is unimplemented on web');\n },\n};\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createAnimatedComponent;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _findNodeHandle=_interopRequireDefault(require(\"react-native-web/dist/exports/findNodeHandle\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _ReanimatedEventEmitter=_interopRequireDefault(require(\"./ReanimatedEventEmitter\"));var _AnimatedEvent=_interopRequireDefault(require(\"./core/AnimatedEvent\"));var _AnimatedNode=_interopRequireDefault(require(\"./core/AnimatedNode\"));var _AnimatedProps=require(\"./core/AnimatedProps\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var NODE_MAPPING=new Map();function listener(data){var component=NODE_MAPPING.get(data.viewTag);component&&component._updateFromNative(data.props);}function createAnimatedComponent(Component){(0,_invariant.default)(typeof Component!=='function'||Component.prototype&&Component.prototype.isReactComponent,'`createAnimatedComponent` does not support stateless functional components; '+'use a class component instead.');var AnimatedComponent=function(_React$Component){(0,_inherits2.default)(AnimatedComponent,_React$Component);function AnimatedComponent(props){var _this;(0,_classCallCheck2.default)(this,AnimatedComponent);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedComponent).call(this,props));_this._invokeAnimatedPropsCallbackOnMount=false;_this._animatedPropsCallback=function(){if(_this._component==null){_this._invokeAnimatedPropsCallbackOnMount=true;}else if(typeof _this._component.setNativeProps!=='function'){_this.forceUpdate();}else{_this._component.setNativeProps(_this._propsAnimated.__getValue());}};_this._setComponentRef=function(c){if(c!==_this._component){_this._component=c;}};_this._attachProps(_this.props);return _this;}(0,_createClass2.default)(AnimatedComponent,[{key:\"componentWillUnmount\",value:function componentWillUnmount(){this._detachPropUpdater();this._propsAnimated&&this._propsAnimated.__detach();this._detachNativeEvents();}},{key:\"setNativeProps\",value:function setNativeProps(props){this._component.setNativeProps(props);}},{key:\"componentDidMount\",value:function componentDidMount(){if(this._invokeAnimatedPropsCallbackOnMount){this._invokeAnimatedPropsCallbackOnMount=false;this._animatedPropsCallback();}this._propsAnimated.setNativeView(this._component);this._attachNativeEvents();this._attachPropUpdater();}},{key:\"_getEventViewRef\",value:function _getEventViewRef(){return this._component.getScrollableNode?this._component.getScrollableNode():this._component;}},{key:\"_attachNativeEvents\",value:function _attachNativeEvents(){var node=this._getEventViewRef();for(var key in this.props){var prop=this.props[key];if(prop instanceof _AnimatedEvent.default){prop.attachEvent(node,key);}}}},{key:\"_detachNativeEvents\",value:function _detachNativeEvents(){var node=this._getEventViewRef();for(var key in this.props){var prop=this.props[key];if(prop instanceof _AnimatedEvent.default){prop.detachEvent(node,key);}}}},{key:\"_reattachNativeEvents\",value:function _reattachNativeEvents(prevProps){var node=this._getEventViewRef();var attached=new Set();var nextEvts=new Set();for(var key in this.props){var prop=this.props[key];if(prop instanceof _AnimatedEvent.default){nextEvts.add(prop.__nodeID);}}for(var _key in prevProps){var _prop=this.props[_key];if(_prop instanceof _AnimatedEvent.default){if(!nextEvts.has(_prop.__nodeID)){_prop.detachEvent(node,_key);}else{attached.add(_prop.__nodeID);}}}for(var _key2 in this.props){var _prop2=this.props[_key2];if(_prop2 instanceof _AnimatedEvent.default&&!attached.has(_prop2.__nodeID)){_prop2.attachEvent(node,_key2);}}}},{key:\"_attachProps\",value:function _attachProps(nextProps){var oldPropsAnimated=this._propsAnimated;this._propsAnimated=(0,_AnimatedProps.createOrReusePropsNode)(nextProps,this._animatedPropsCallback,oldPropsAnimated);if(oldPropsAnimated!==this._propsAnimated){oldPropsAnimated&&oldPropsAnimated.__detach();}}},{key:\"_updateFromNative\",value:function _updateFromNative(props){this._component.setNativeProps(props);}},{key:\"_attachPropUpdater\",value:function _attachPropUpdater(){var viewTag=(0,_findNodeHandle.default)(this);NODE_MAPPING.set(viewTag,this);if(NODE_MAPPING.size===1){_ReanimatedEventEmitter.default.addListener('onReanimatedPropsChange',listener);}}},{key:\"_detachPropUpdater\",value:function _detachPropUpdater(){var viewTag=(0,_findNodeHandle.default)(this);NODE_MAPPING.delete(viewTag);if(NODE_MAPPING.size===0){_ReanimatedEventEmitter.default.removeAllListeners('onReanimatedPropsChange');}}},{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps){this._attachProps(this.props);this._reattachNativeEvents(prevProps);this._propsAnimated.setNativeView(this._component);}},{key:\"_filterNonAnimatedStyle\",value:function _filterNonAnimatedStyle(inputStyle){var style={};for(var key in inputStyle){var value=inputStyle[key];if(!(value instanceof _AnimatedNode.default)&&key!=='transform'){style[key]=value;}}return style;}},{key:\"_filterNonAnimatedProps\",value:function _filterNonAnimatedProps(inputProps){var props={};for(var key in inputProps){var value=inputProps[key];if(key==='style'){props[key]=this._filterNonAnimatedStyle(_StyleSheet.default.flatten(value));}else if(!(value instanceof _AnimatedNode.default)){props[key]=value;}}return props;}},{key:\"render\",value:function render(){var props=this._filterNonAnimatedProps(this.props);var platformProps=_Platform.default.select({web:{},default:{collapsable:false}});return _react.default.createElement(Component,(0,_extends2.default)({},props,{ref:this._setComponentRef},platformProps));}},{key:\"getNode\",value:function getNode(){return this._component;}}]);return AnimatedComponent;}(_react.default.Component);return AnimatedComponent;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/createAnimatedComponent.js"],"names":["NODE_MAPPING","Map","listener","data","component","get","viewTag","_updateFromNative","props","createAnimatedComponent","Component","prototype","isReactComponent","AnimatedComponent","_invokeAnimatedPropsCallbackOnMount","_animatedPropsCallback","_component","setNativeProps","forceUpdate","_propsAnimated","__getValue","_setComponentRef","c","_attachProps","_detachPropUpdater","__detach","_detachNativeEvents","setNativeView","_attachNativeEvents","_attachPropUpdater","getScrollableNode","node","_getEventViewRef","key","prop","AnimatedEvent","attachEvent","detachEvent","prevProps","attached","Set","nextEvts","add","__nodeID","has","nextProps","oldPropsAnimated","set","size","ReanimatedEventEmitter","addListener","delete","removeAllListeners","_reattachNativeEvents","inputStyle","style","value","AnimatedNode","inputProps","_filterNonAnimatedStyle","StyleSheet","flatten","_filterNonAnimatedProps","platformProps","Platform","select","web","default","collapsable","React"],"mappings":"8tBAAA,oD,wRAEA,wFAEA,2EACA,yEACA,mDAEA,qEAEA,GAAMA,CAAAA,YAAY,CAAG,GAAIC,CAAAA,GAAJ,EAArB,CAEA,QAASC,CAAAA,QAAT,CAAkBC,IAAlB,CAAwB,CACtB,GAAMC,CAAAA,SAAS,CAAGJ,YAAY,CAACK,GAAb,CAAiBF,IAAI,CAACG,OAAtB,C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C,oBAAWC,OAAX,CAAmBL,KAAnB,CAA7B,CAAb,CACD,CAFD,IAEO,IAAI,EAAEA,KAAK,WAAYC,sBAAnB,CAAJ,CAAsC,CAC3CjD,KAAK,CAACyB,GAAD,CAAL,CAAauB,KAAb,CACD,CACF,CACD,MAAOhD,CAAAA,KAAP,CACD,CAnMsD,uCAqM9C,CACP,GAAMA,CAAAA,KAAK,CAAG,KAAKsD,uBAAL,CAA6B,KAAKtD,KAAlC,CAAd,CACA,GAAMuD,CAAAA,aAAa,CAAGC,kBAASC,MAAT,CAAgB,CACpCC,GAAG,CAAE,EAD+B,CAEpCC,OAAO,CAAE,CAAEC,WAAW,CAAE,KAAf,CAF2B,CAAhB,CAAtB,CAIA,MACE,8BAAC,SAAD,0BAAe5D,KAAf,EAAsB,GAAG,CAAE,KAAKa,gBAAhC,EAAsD0C,aAAtD,EADF,CAGD,CA9MsD,yCAkN7C,CACR,MAAO,MAAK/C,UAAZ,CACD,CApNsD,+BAQzBqD,eAAM3D,SARmB,EAuNzD,MAAOG,CAAAA,iBAAP,CACD","sourcesContent":["import React from 'react';\nimport { findNodeHandle, Platform, StyleSheet } from 'react-native';\nimport ReanimatedEventEmitter from './ReanimatedEventEmitter';\n\nimport AnimatedEvent from './core/AnimatedEvent';\nimport AnimatedNode from './core/AnimatedNode';\nimport { createOrReusePropsNode } from './core/AnimatedProps';\n\nimport invariant from 'fbjs/lib/invariant';\n\nconst NODE_MAPPING = new Map();\n\nfunction listener(data) {\n const component = NODE_MAPPING.get(data.viewTag);\n component && component._updateFromNative(data.props);\n}\n\nexport default function createAnimatedComponent(Component) {\n invariant(\n typeof Component !== 'function' ||\n (Component.prototype && Component.prototype.isReactComponent),\n '`createAnimatedComponent` does not support stateless functional components; ' +\n 'use a class component instead.'\n );\n\n class AnimatedComponent extends React.Component {\n _invokeAnimatedPropsCallbackOnMount = false;\n\n constructor(props) {\n super(props);\n this._attachProps(this.props);\n }\n\n componentWillUnmount() {\n this._detachPropUpdater();\n this._propsAnimated && this._propsAnimated.__detach();\n this._detachNativeEvents();\n }\n\n setNativeProps(props) {\n this._component.setNativeProps(props);\n }\n\n componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n this._attachNativeEvents();\n this._attachPropUpdater();\n }\n\n _getEventViewRef() {\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n return this._component.getScrollableNode\n ? this._component.getScrollableNode()\n : this._component;\n }\n\n _attachNativeEvents() {\n const node = this._getEventViewRef();\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n prop.attachEvent(node, key);\n }\n }\n }\n\n _detachNativeEvents() {\n const node = this._getEventViewRef();\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n prop.detachEvent(node, key);\n }\n }\n }\n\n _reattachNativeEvents(prevProps) {\n const node = this._getEventViewRef();\n const attached = new Set();\n const nextEvts = new Set();\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n nextEvts.add(prop.__nodeID);\n }\n }\n for (const key in prevProps) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n if (!nextEvts.has(prop.__nodeID)) {\n // event was in prev props but not in current props, we detach\n prop.detachEvent(node, key);\n } else {\n // event was in prev and is still in current props\n attached.add(prop.__nodeID);\n }\n }\n }\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent && !attached.has(prop.__nodeID)) {\n // not yet attached\n prop.attachEvent(node, key);\n }\n }\n }\n\n // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on native components\n // If you want to animate a composite component, you need to re-render it.\n // In this case, we have a fallback that uses forceUpdate.\n _animatedPropsCallback = () => {\n if (this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (typeof this._component.setNativeProps !== 'function') {\n this.forceUpdate();\n } else {\n this._component.setNativeProps(this._propsAnimated.__getValue());\n }\n };\n\n _attachProps(nextProps) {\n const oldPropsAnimated = this._propsAnimated;\n\n this._propsAnimated = createOrReusePropsNode(\n nextProps,\n this._animatedPropsCallback,\n oldPropsAnimated\n );\n // If prop node has been reused we don't need to call into \"__detach\"\n if (oldPropsAnimated !== this._propsAnimated) {\n // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n oldPropsAnimated && oldPropsAnimated.__detach();\n }\n }\n\n _updateFromNative(props) {\n this._component.setNativeProps(props);\n }\n\n _attachPropUpdater() {\n const viewTag = findNodeHandle(this);\n NODE_MAPPING.set(viewTag, this);\n if (NODE_MAPPING.size === 1) {\n ReanimatedEventEmitter.addListener('onReanimatedPropsChange', listener);\n }\n }\n\n _detachPropUpdater() {\n const viewTag = findNodeHandle(this);\n NODE_MAPPING.delete(viewTag);\n if (NODE_MAPPING.size === 0) {\n ReanimatedEventEmitter.removeAllListeners('onReanimatedPropsChange');\n }\n }\n\n componentDidUpdate(prevProps) {\n this._attachProps(this.props);\n this._reattachNativeEvents(prevProps);\n\n this._propsAnimated.setNativeView(this._component);\n }\n\n _setComponentRef = c => {\n if (c !== this._component) {\n this._component = c;\n }\n };\n\n _filterNonAnimatedStyle(inputStyle) {\n const style = {};\n for (const key in inputStyle) {\n const value = inputStyle[key];\n if (!(value instanceof AnimatedNode) && key !== 'transform') {\n style[key] = value;\n }\n }\n return style;\n }\n\n _filterNonAnimatedProps(inputProps) {\n const props = {};\n for (const key in inputProps) {\n const value = inputProps[key];\n if (key === 'style') {\n props[key] = this._filterNonAnimatedStyle(StyleSheet.flatten(value));\n } else if (!(value instanceof AnimatedNode)) {\n props[key] = value;\n }\n }\n return props;\n }\n\n render() {\n const props = this._filterNonAnimatedProps(this.props);\n const platformProps = Platform.select({\n web: {},\n default: { collapsable: false },\n });\n return (\n <Component {...props} ref={this._setComponentRef} {...platformProps} />\n );\n }\n\n // A third party library can use getNode()\n // to get the node reference of the decorated component\n getNode() {\n return this._component;\n }\n }\n\n return AnimatedComponent;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ReanimatedModule=_interopRequireDefault(require(\"./ReanimatedModule\"));var _NativeEventEmitter=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeEventEmitter\"));var _default=new _NativeEventEmitter.default(_ReanimatedModule.default);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/ReanimatedEventEmitter.js"],"names":["NativeEventEmitter","ReanimatedModule"],"mappings":"mKAAA,4E,yHAGe,GAAIA,4BAAJ,CAAuBC,yBAAvB,C","sourcesContent":["import ReanimatedModule from './ReanimatedModule';\nimport { NativeEventEmitter } from 'react-native';\n\nexport default new NativeEventEmitter(ReanimatedModule);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.createOrReusePropsNode=createOrReusePropsNode;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _get2=_interopRequireDefault(require(\"@babel/runtime/helpers/get\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _findNodeHandle=_interopRequireDefault(require(\"react-native-web/dist/exports/findNodeHandle\"));var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedEvent=_interopRequireDefault(require(\"./AnimatedEvent\"));var _AnimatedStyle=require(\"./AnimatedStyle\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _areEqual=_interopRequireDefault(require(\"fbjs/lib/areEqual\"));var _val=require(\"../val\");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function sanitizeProps(inputProps){var props={};for(var key in inputProps){var value=inputProps[key];if(value instanceof _AnimatedNode2.default&&!(value instanceof _AnimatedEvent.default)){props[key]=value.__nodeID;}}return props;}function createOrReusePropsNode(props,callback,oldNode){if(props.style){props=_objectSpread({},props,{style:(0,_AnimatedStyle.createOrReuseStyleNode)(props.style,oldNode&&oldNode._props.style)});}var config=sanitizeProps(props);if(oldNode&&(0,_areEqual.default)(config,oldNode._config)){return oldNode;}return new AnimatedProps(props,config,callback);}var AnimatedProps=function(_AnimatedNode){(0,_inherits2.default)(AnimatedProps,_AnimatedNode);function AnimatedProps(props,config,callback){var _this;(0,_classCallCheck2.default)(this,AnimatedProps);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedProps).call(this,{type:'props',props:config},Object.values(props).filter(function(n){return!(n instanceof _AnimatedEvent.default);})));_this._config=config;_this._props=props;_this._callback=callback;_this.__attach();return _this;}(0,_createClass2.default)(AnimatedProps,[{key:\"__onEvaluate\",value:function __onEvaluate(){var props={};for(var key in this._props){var value=this._props[key];if(value instanceof _AnimatedNode2.default){props[key]=value.__getValue();}}return props;}},{key:\"__detach\",value:function __detach(){var nativeViewTag=(0,_findNodeHandle.default)(this._animatedView);(0,_invariant.default)(nativeViewTag!=null,'Unable to locate attached view in the native tree');this._disconnectAnimatedView(nativeViewTag);(0,_get2.default)((0,_getPrototypeOf2.default)(AnimatedProps.prototype),\"__detach\",this).call(this);}},{key:\"update\",value:function update(){this._callback();if(!this._animatedView){return;}(0,_val.val)(this);}},{key:\"setNativeView\",value:function setNativeView(animatedView){if(this._animatedView===animatedView){return;}this._animatedView=animatedView;var nativeViewTag=(0,_findNodeHandle.default)(this._animatedView);(0,_invariant.default)(nativeViewTag!=null,'Unable to locate attached view in the native tree');this._connectAnimatedView(nativeViewTag);}}]);return AnimatedProps;}(_AnimatedNode2.default);","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedProps.js"],"names":["sanitizeProps","inputProps","props","key","value","AnimatedNode","AnimatedEvent","__nodeID","createOrReusePropsNode","callback","oldNode","style","_props","config","_config","AnimatedProps","type","Object","values","filter","n","_callback","__attach","__getValue","nativeViewTag","_animatedView","_disconnectAnimatedView","animatedView","_connectAnimatedView"],"mappings":"s6BAEA,qEACA,sEACA,8CAEA,qEACA,mEACA,2B,yxBAEA,QAASA,CAAAA,aAAT,CAAuBC,UAAvB,CAAmC,CACjC,GAAMC,CAAAA,KAAK,CAAG,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mC,aASpC,C,0FAEc,CACb,GAAMpB,CAAAA,KAAK,CAAG,EAAd,CACA,IAAK,GAAMC,CAAAA,GAAX,GAAkB,MAAKS,MAAvB,CAA+B,CAC7B,GAAMR,CAAAA,KAAK,CAAG,KAAKQ,MAAL,CAAYT,GAAZ,CAAd,CACA,GAAIC,KAAK,WAAYC,uBAArB,CAAmC,CACjCH,KAAK,CAACC,GAAD,CAAL,CAAaC,KAAK,CAACmB,UAAN,EAAb,CACD,CACF,CACD,MAAOrB,CAAAA,KAAP,CACD,C,2CAEU,CACT,GAAMsB,CAAAA,aAAa,CAAG,4BAAe,KAAKC,aAApB,CAAtB,CACA,uBACED,aAAa,EAAI,IADnB,CAEE,mDAFF,EAIA,KAAKE,uBAAL,CAA6BF,aAA7B,EACA,oGACD,C,uCAEQ,CACP,KAAKH,SAAL,GAEA,GAAI,CAAC,KAAKI,aAAV,CAAyB,CACvB,OACD,CAED,aAAI,IAAJ,EACD,C,oDAEaE,Y,CAAc,CAC1B,GAAI,KAAKF,aAAL,GAAuBE,YAA3B,CAAyC,CACvC,OACD,CACD,KAAKF,aAAL,CAAqBE,YAArB,CAEA,GAAMH,CAAAA,aAAa,CAAG,4BAAe,KAAKC,aAApB,CAAtB,CACA,uBACED,aAAa,EAAI,IADnB,CAEE,mDAFF,EAIA,KAAKI,oBAAL,CAA0BJ,aAA1B,EACD,C,2BAvDyBnB,sB","sourcesContent":["import { findNodeHandle } from 'react-native';\n\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedEvent from './AnimatedEvent';\nimport { createOrReuseStyleNode } from './AnimatedStyle';\n\nimport invariant from 'fbjs/lib/invariant';\nimport deepEqual from 'fbjs/lib/areEqual';\nimport { val } from '../val';\n\nfunction sanitizeProps(inputProps) {\n const props = {};\n for (const key in inputProps) {\n const value = inputProps[key];\n if (value instanceof AnimatedNode && !(value instanceof AnimatedEvent)) {\n props[key] = value.__nodeID;\n }\n }\n return props;\n}\n\nexport function createOrReusePropsNode(props, callback, oldNode) {\n if (props.style) {\n props = {\n ...props,\n style: createOrReuseStyleNode(\n props.style,\n oldNode && oldNode._props.style\n ),\n };\n }\n const config = sanitizeProps(props);\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedProps(props, config, callback);\n}\n\nclass AnimatedProps extends AnimatedNode {\n constructor(props, config, callback) {\n super(\n { type: 'props', props: config },\n Object.values(props).filter(n => !(n instanceof AnimatedEvent))\n );\n this._config = config;\n this._props = props;\n this._callback = callback;\n this.__attach();\n }\n\n __onEvaluate() {\n const props = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n props[key] = value.__getValue();\n }\n }\n return props;\n }\n\n __detach() {\n const nativeViewTag = findNodeHandle(this._animatedView);\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree'\n );\n this._disconnectAnimatedView(nativeViewTag);\n super.__detach();\n }\n\n update() {\n this._callback();\n\n if (!this._animatedView) {\n return;\n }\n\n val(this);\n }\n\n setNativeView(animatedView) {\n if (this._animatedView === animatedView) {\n return;\n }\n this._animatedView = animatedView;\n\n const nativeViewTag = findNodeHandle(this._animatedView);\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree'\n );\n this._connectAnimatedView(nativeViewTag);\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _createElement=_interopRequireDefault(require(\"../createElement\"));var _multiplyStyleLengthValue=_interopRequireDefault(require(\"../../modules/multiplyStyleLengthValue\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _UIManager=_interopRequireDefault(require(\"../UIManager\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var emptyObject={};var thumbDefaultBoxShadow='0px 1px 3px rgba(0,0,0,0.5)';var thumbFocusedBoxShadow=thumbDefaultBoxShadow+\", 0 0 0 10px rgba(0,0,0,0.1)\";var Switch=function(_Component){_inheritsLoose(Switch,_Component);function Switch(){var _this;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=_Component.call.apply(_Component,[this].concat(args))||this;_this._handleChange=function(event){var onValueChange=_this.props.onValueChange;onValueChange&&onValueChange(event.nativeEvent.target.checked);};_this._handleFocusState=function(event){var isFocused=event.nativeEvent.type==='focus';var boxShadow=isFocused?thumbFocusedBoxShadow:thumbDefaultBoxShadow;if(_this._thumbElement){_this._thumbElement.setNativeProps({style:{boxShadow:boxShadow}});}};_this._setCheckboxRef=function(element){_this._checkboxElement=element;};_this._setThumbRef=function(element){_this._thumbElement=element;};return _this;}var _proto=Switch.prototype;_proto.blur=function blur(){_UIManager.default.blur(this._checkboxElement);};_proto.focus=function focus(){_UIManager.default.focus(this._checkboxElement);};_proto.render=function render(){var _this$props=this.props,accessibilityLabel=_this$props.accessibilityLabel,activeThumbColor=_this$props.activeThumbColor,activeTrackColor=_this$props.activeTrackColor,disabled=_this$props.disabled,onValueChange=_this$props.onValueChange,style=_this$props.style,thumbColor=_this$props.thumbColor,trackColor=_this$props.trackColor,value=_this$props.value,onTintColor=_this$props.onTintColor,thumbTintColor=_this$props.thumbTintColor,tintColor=_this$props.tintColor,other=_objectWithoutPropertiesLoose(_this$props,[\"accessibilityLabel\",\"activeThumbColor\",\"activeTrackColor\",\"disabled\",\"onValueChange\",\"style\",\"thumbColor\",\"trackColor\",\"value\",\"onTintColor\",\"thumbTintColor\",\"tintColor\"]);var _StyleSheet$flatten=_StyleSheet.default.flatten(style),styleHeight=_StyleSheet$flatten.height,styleWidth=_StyleSheet$flatten.width;var height=styleHeight||20;var minWidth=(0,_multiplyStyleLengthValue.default)(height,2);var width=styleWidth>minWidth?styleWidth:minWidth;var trackBorderRadius=(0,_multiplyStyleLengthValue.default)(height,0.5);var trackCurrentColor=value?onTintColor||activeTrackColor:tintColor||trackColor;var thumbCurrentColor=value?activeThumbColor:thumbTintColor||thumbColor;var thumbHeight=height;var thumbWidth=thumbHeight;var rootStyle=[styles.root,style,{height:height,width:width},disabled&&styles.cursorDefault];var trackStyle=[styles.track,{backgroundColor:trackCurrentColor,borderRadius:trackBorderRadius},disabled&&styles.disabledTrack];var thumbStyle=[styles.thumb,{backgroundColor:thumbCurrentColor,height:thumbHeight,width:thumbWidth},disabled&&styles.disabledThumb];var nativeControl=(0,_createElement.default)('input',{accessibilityLabel:accessibilityLabel,checked:value,disabled:disabled,onBlur:this._handleFocusState,onChange:this._handleChange,onFocus:this._handleFocusState,ref:this._setCheckboxRef,style:[styles.nativeControl,styles.cursorInherit],type:'checkbox'});return _react.default.createElement(_View.default,_extends({},other,{style:rootStyle}),_react.default.createElement(_View.default,{style:trackStyle}),_react.default.createElement(_View.default,{ref:this._setThumbRef,style:[thumbStyle,value&&styles.thumbOn,{marginStart:value?(0,_multiplyStyleLengthValue.default)(thumbWidth,-1):0}]}),nativeControl);};return Switch;}(_react.Component);Switch.displayName='Switch';Switch.defaultProps={activeThumbColor:'#009688',activeTrackColor:'#A3D3CF',disabled:false,style:emptyObject,thumbColor:'#FAFAFA',trackColor:'#939393',value:false};Switch.propTypes=process.env.NODE_ENV!==\"production\"?_objectSpread({},_ViewPropTypes.default,{activeThumbColor:_ColorPropType.default,activeTrackColor:_ColorPropType.default,disabled:_propTypes.bool,onValueChange:_propTypes.func,thumbColor:_ColorPropType.default,trackColor:_ColorPropType.default,value:_propTypes.bool,onTintColor:_ColorPropType.default,thumbTintColor:_ColorPropType.default,tintColor:_ColorPropType.default}):{};var styles=_StyleSheet.default.create({root:{cursor:'pointer',userSelect:'none'},cursorDefault:{cursor:'default'},cursorInherit:{cursor:'inherit'},track:_objectSpread({},_StyleSheet.default.absoluteFillObject,{height:'70%',margin:'auto',transitionDuration:'0.1s',width:'100%'}),disabledTrack:{backgroundColor:'#D5D5D5'},thumb:{alignSelf:'flex-start',borderRadius:'100%',boxShadow:thumbDefaultBoxShadow,start:'0%',transform:[{translateZ:0}],transitionDuration:'0.1s'},thumbOn:{start:'100%'},disabledThumb:{backgroundColor:'#BDBDBD'},nativeControl:_objectSpread({},_StyleSheet.default.absoluteFillObject,{height:'100%',margin:0,opacity:0,padding:0,width:'100%'})});var _default=(0,_applyNativeMethods.default)(Switch);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Switch/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","_extends","assign","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_inheritsLoose","subClass","superClass","create","constructor","__proto__","emptyObject","thumbDefaultBoxShadow","thumbFocusedBoxShadow","Switch","_Component","_this","_len","args","Array","_key","_handleChange","event","onValueChange","props","nativeEvent","checked","_handleFocusState","isFocused","type","boxShadow","_thumbElement","setNativeProps","style","_setCheckboxRef","element","_checkboxElement","_setThumbRef","_proto","blur","UIManager","focus","render","_this$props","accessibilityLabel","activeThumbColor","activeTrackColor","disabled","thumbColor","trackColor","onTintColor","thumbTintColor","tintColor","other","_StyleSheet$flatten","StyleSheet","flatten","styleHeight","height","styleWidth","width","minWidth","trackBorderRadius","trackCurrentColor","thumbCurrentColor","thumbHeight","thumbWidth","rootStyle","styles","root","cursorDefault","trackStyle","track","backgroundColor","borderRadius","disabledTrack","thumbStyle","thumb","disabledThumb","nativeControl","onBlur","onChange","onFocus","ref","cursorInherit","React","createElement","View","thumbOn","marginStart","Component","displayName","defaultProps","propTypes","process","env","NODE_ENV","ViewPropTypes","ColorPropType","bool","func","cursor","userSelect","absoluteFillObject","margin","transitionDuration","alignSelf","start","transform","translateZ","opacity","padding"],"mappings":"wPAkBA,4FACA,uEACA,uEACA,wGACA,iEACA,+DACA,qDACA,uEACA,qDACA,qCA3BA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CA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AJ+C,CAApC,CAXS,CAiB7Be,aAAa,CAAE,CACbF,eAAe,CAAE,SADJ,CAjBc,CAoB7BI,KAAK,CAAE,CACL6B,SAAS,CAAE,YADN,CAELhC,YAAY,CAAE,MAFT,CAGL5C,SAAS,CAAElB,qBAHN,CAIL+F,KAAK,CAAE,IAJF,CAKLC,SAAS,CAAE,CAAC,CACVC,UAAU,CAAE,CADF,CAAD,CALN,CAQLJ,kBAAkB,CAAE,MARf,CApBsB,CA8B7BjB,OAAO,CAAE,CACPmB,KAAK,CAAE,MADA,CA9BoB,CAiC7B7B,aAAa,CAAE,CACbL,eAAe,CAAE,SADJ,CAjCc,CAoC7BM,aAAa,CAAE3G,aAAa,CAAC,EAAD,CAAKmF,oBAAWgD,kBAAhB,CAAoC,CAC9D7C,MAAM,CAAE,MADsD,CAE9D8C,MAAM,CAAE,CAFsD,CAG9DM,OAAO,CAAE,CAHqD,CAI9DC,OAAO,CAAE,CAJqD,CAK9DnD,KAAK,CAAE,MALuD,CAApC,CApCC,CAAlB,CAAb,C,aA4Ce,gCAAmB9C,MAAnB,C","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport ColorPropType from '../ColorPropType';\nimport createElement from '../createElement';\nimport multiplyStyleLengthValue from '../../modules/multiplyStyleLengthValue';\nimport StyleSheet from '../StyleSheet';\nimport UIManager from '../UIManager';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport React, { Component } from 'react';\nimport { bool, func } from 'prop-types';\nvar emptyObject = {};\nvar thumbDefaultBoxShadow = '0px 1px 3px rgba(0,0,0,0.5)';\nvar thumbFocusedBoxShadow = thumbDefaultBoxShadow + \", 0 0 0 10px rgba(0,0,0,0.1)\";\n\nvar Switch =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(Switch, _Component);\n\n function Switch() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n\n _this._handleChange = function (event) {\n var onValueChange = _this.props.onValueChange;\n onValueChange && onValueChange(event.nativeEvent.target.checked);\n };\n\n _this._handleFocusState = function (event) {\n var isFocused = event.nativeEvent.type === 'focus';\n var boxShadow = isFocused ? thumbFocusedBoxShadow : thumbDefaultBoxShadow;\n\n if (_this._thumbElement) {\n _this._thumbElement.setNativeProps({\n style: {\n boxShadow: boxShadow\n }\n });\n }\n };\n\n _this._setCheckboxRef = function (element) {\n _this._checkboxElement = element;\n };\n\n _this._setThumbRef = function (element) {\n _this._thumbElement = element;\n };\n\n return _this;\n }\n\n var _proto = Switch.prototype;\n\n _proto.blur = function blur() {\n UIManager.blur(this._checkboxElement);\n };\n\n _proto.focus = function focus() {\n UIManager.focus(this._checkboxElement);\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n accessibilityLabel = _this$props.accessibilityLabel,\n activeThumbColor = _this$props.activeThumbColor,\n activeTrackColor = _this$props.activeTrackColor,\n disabled = _this$props.disabled,\n onValueChange = _this$props.onValueChange,\n style = _this$props.style,\n thumbColor = _this$props.thumbColor,\n trackColor = _this$props.trackColor,\n value = _this$props.value,\n onTintColor = _this$props.onTintColor,\n thumbTintColor = _this$props.thumbTintColor,\n tintColor = _this$props.tintColor,\n other = _objectWithoutPropertiesLoose(_this$props, [\"accessibilityLabel\", \"activeThumbColor\", \"activeTrackColor\", \"disabled\", \"onValueChange\", \"style\", \"thumbColor\", \"trackColor\", \"value\", \"onTintColor\", \"thumbTintColor\", \"tintColor\"]);\n\n var _StyleSheet$flatten = StyleSheet.flatten(style),\n styleHeight = _StyleSheet$flatten.height,\n styleWidth = _StyleSheet$flatten.width;\n\n var height = styleHeight || 20;\n var minWidth = multiplyStyleLengthValue(height, 2);\n var width = styleWidth > minWidth ? styleWidth : minWidth;\n var trackBorderRadius = multiplyStyleLengthValue(height, 0.5);\n var trackCurrentColor = value ? onTintColor || activeTrackColor : tintColor || trackColor;\n var thumbCurrentColor = value ? activeThumbColor : thumbTintColor || thumbColor;\n var thumbHeight = height;\n var thumbWidth = thumbHeight;\n var rootStyle = [styles.root, style, {\n height: height,\n width: width\n }, disabled && styles.cursorDefault];\n var trackStyle = [styles.track, {\n backgroundColor: trackCurrentColor,\n borderRadius: trackBorderRadius\n }, disabled && styles.disabledTrack];\n var thumbStyle = [styles.thumb, {\n backgroundColor: thumbCurrentColor,\n height: thumbHeight,\n width: thumbWidth\n }, disabled && styles.disabledThumb];\n var nativeControl = createElement('input', {\n accessibilityLabel: accessibilityLabel,\n checked: value,\n disabled: disabled,\n onBlur: this._handleFocusState,\n onChange: this._handleChange,\n onFocus: this._handleFocusState,\n ref: this._setCheckboxRef,\n style: [styles.nativeControl, styles.cursorInherit],\n type: 'checkbox'\n });\n return React.createElement(View, _extends({}, other, {\n style: rootStyle\n }), React.createElement(View, {\n style: trackStyle\n }), React.createElement(View, {\n ref: this._setThumbRef,\n style: [thumbStyle, value && styles.thumbOn, {\n marginStart: value ? multiplyStyleLengthValue(thumbWidth, -1) : 0\n }]\n }), nativeControl);\n };\n\n return Switch;\n}(Component);\n\nSwitch.displayName = 'Switch';\nSwitch.defaultProps = {\n activeThumbColor: '#009688',\n activeTrackColor: '#A3D3CF',\n disabled: false,\n style: emptyObject,\n thumbColor: '#FAFAFA',\n trackColor: '#939393',\n value: false\n};\nSwitch.propTypes = process.env.NODE_ENV !== \"production\" ? _objectSpread({}, ViewPropTypes, {\n activeThumbColor: ColorPropType,\n activeTrackColor: ColorPropType,\n disabled: bool,\n onValueChange: func,\n thumbColor: ColorPropType,\n trackColor: ColorPropType,\n value: bool,\n\n /* eslint-disable react/sort-prop-types */\n // Equivalent of 'activeTrackColor'\n onTintColor: ColorPropType,\n // Equivalent of 'thumbColor'\n thumbTintColor: ColorPropType,\n // Equivalent of 'trackColor'\n tintColor: ColorPropType\n}) : {};\nvar styles = StyleSheet.create({\n root: {\n cursor: 'pointer',\n userSelect: 'none'\n },\n cursorDefault: {\n cursor: 'default'\n },\n cursorInherit: {\n cursor: 'inherit'\n },\n track: _objectSpread({}, StyleSheet.absoluteFillObject, {\n height: '70%',\n margin: 'auto',\n transitionDuration: '0.1s',\n width: '100%'\n }),\n disabledTrack: {\n backgroundColor: '#D5D5D5'\n },\n thumb: {\n alignSelf: 'flex-start',\n borderRadius: '100%',\n boxShadow: thumbDefaultBoxShadow,\n start: '0%',\n transform: [{\n translateZ: 0\n }],\n transitionDuration: '0.1s'\n },\n thumbOn: {\n start: '100%'\n },\n disabledThumb: {\n backgroundColor: '#BDBDBD'\n },\n nativeControl: _objectSpread({}, StyleSheet.absoluteFillObject, {\n height: '100%',\n margin: 0,\n opacity: 0,\n padding: 0,\n width: '100%'\n })\n});\nexport default applyNativeMethods(Switch);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _val=require(\"../val\");var _AnimatedNode2=_interopRequireDefault(require(\"./AnimatedNode\"));var NEWTON_ITERATIONS=4;var NEWTON_MIN_SLOPE=0.001;var SUBDIVISION_PRECISION=0.0000001;var SUBDIVISION_MAX_ITERATIONS=10;var kSplineTableSize=11;var kSampleStepSize=1.0/(kSplineTableSize-1.0);var float32ArraySupported=typeof Float32Array==='function';function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}function C(aA1){return 3.0*aA1;}function calcBezier(aT,aA1,aA2){return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}function getSlope(aT,aA1,aA2){return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}function binarySubdivide(aX,aA,aB,mX1,mX2){var currentX=0;var currentT=0;var i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i<SUBDIVISION_MAX_ITERATIONS);return currentT;}function newtonRaphsonIterate(aX,aGuessT,mX1,mX2){for(var i=0;i<NEWTON_ITERATIONS;++i){var currentSlope=getSlope(aGuessT,mX1,mX2);if(currentSlope===0.0){return aGuessT;}var currentX=calcBezier(aGuessT,mX1,mX2)-aX;aGuessT-=currentX/currentSlope;}return aGuessT;}function bezier(mX1,mY1,mX2,mY2){var sampleValues=float32ArraySupported?new Float32Array(kSplineTableSize):new Array(kSplineTableSize);if(mX1!==mY1||mX2!==mY2){for(var i=0;i<kSplineTableSize;++i){sampleValues[i]=calcBezier(i*kSampleStepSize,mX1,mX2);}}function getTForX(aX){var intervalStart=0.0;var currentSample=1;var lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;var dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);var guessForT=intervalStart+dist*kSampleStepSize;var initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}var AnimatedBezier=function(_AnimatedNode){(0,_inherits2.default)(AnimatedBezier,_AnimatedNode);function AnimatedBezier(value,mX1,mY1,mX2,mY2){var _this;(0,_classCallCheck2.default)(this,AnimatedBezier);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AnimatedBezier).call(this,{type:'bezier',mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,input:value.__nodeID},[value]));_this._value=value;_this._bezier=bezier(mX1,mY1,mX2,mY2);return _this;}(0,_createClass2.default)(AnimatedBezier,[{key:\"__onEvaluate\",value:function __onEvaluate(){return this._bezier((0,_val.val)(this._value));}}]);return AnimatedBezier;}(_AnimatedNode2.default);exports.default=AnimatedBezier;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedBezier.js"],"names":["NEWTON_ITERATIONS","NEWTON_MIN_SLOPE","SUBDIVISION_PRECISION","SUBDIVISION_MAX_ITERATIONS","kSplineTableSize","kSampleStepSize","float32ArraySupported","Float32Array","A","aA1","aA2","B","C","calcBezier","aT","getSlope","binarySubdivide","aX","aA","aB","mX1","mX2","currentX","currentT","i","Math","abs","newtonRaphsonIterate","aGuessT","currentSlope","bezier","mY1","mY2","sampleValues","Array","getTForX","intervalStart","currentSample","lastSample","dist","guessForT","initialSlope","BezierEasing","x","AnimatedBezier","value","type","input","__nodeID","_value","_bezier","AnimatedNode"],"mappings":"6nBAAA,2BACA,qEAGA,GAAIA,CAAAA,iBAAiB,CAAG,CAAxB,CACA,GAAIC,CAAAA,gBAAgB,CAAG,KAAvB,CACA,GAAIC,CAAAA,qBAAqB,CAAG,SAA5B,CACA,GAAIC,CAAAA,0BAA0B,CAAG,EAAjC,CAEA,GAAIC,CAAAA,gBAAgB,CAAG,EAAvB,CACA,GAAIC,CAAAA,eAAe,CAAG,KAAOD,gBAAgB,CAAG,GAA1B,CAAtB,CAEA,GAAIE,CAAAA,qBAAqB,CAAG,MAAOC,CAAAA,YAAP,GAAwB,UAApD,CAEA,QAASC,CAAAA,CAAT,CAAWC,GAAX,CAAgBC,GAAhB,CAAqB,CACnB,MAAO,KAAM,IAAMA,GAAZ,CAAkB,IAAMD,GAA/B,CACD,CACD,QAASE,CAAAA,CAAT,CAAWF,GAAX,CAAgBC,GAAhB,CAAqB,CACnB,MAAO,KAAMA,GAAN,CAAY,IAAMD,GAAzB,CACD,CACD,QAASG,CAAAA,CAAT,CAAWH,GAAX,CAAgB,CACd,MAAO,KAAMA,GAAb,CACD,CAGD,QAASI,CAAAA,UAAT,CAAoBC,EAApB,CAAwBL,GAAxB,CAA6BC,GAA7B,CAAkC,CAChC,MAAO,CAAC,CAACF,CAAC,CA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Ec,IAAI,CAAE,QAAR,CAAkB1B,GAAG,CAAHA,GAAlB,CAAuBW,GAAG,CAAHA,GAAvB,CAA4BV,GAAG,CAAHA,GAA5B,CAAiCW,GAAG,CAAHA,GAAjC,CAAsCe,KAAK,CAAEF,KAAK,CAACG,QAAnD,CAAN,CAAqE,CACnEH,KADmE,CAArE,GAGA,MAAKI,MAAL,CAAcJ,KAAd,CACA,MAAKK,OAAL,CAAepB,MAAM,CAACV,GAAD,CAAMW,GAAN,CAAWV,GAAX,CAAgBW,GAAhB,CAArB,CALqC,aAMtC,C,2FAEc,CACb,MAAO,MAAKkB,OAAL,CAAa,aAAI,KAAKD,MAAT,CAAb,CAAP,CACD,C,4BAdyCE,sB","sourcesContent":["import { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\nvar NEWTON_ITERATIONS = 4;\nvar NEWTON_MIN_SLOPE = 0.001;\nvar SUBDIVISION_PRECISION = 0.0000001;\nvar SUBDIVISION_MAX_ITERATIONS = 10;\n\nvar kSplineTableSize = 11;\nvar kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\nvar float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\nfunction C(aA1) {\n return 3.0 * aA1;\n}\n\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\n\n// Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX = 0;\n var currentT = 0;\n var i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\n\nfunction bezier(mX1, mY1, mX2, mY2) {\n // Precompute samples table\n var sampleValues = float32ArraySupported\n ? new Float32Array(kSplineTableSize)\n : new Array(kSplineTableSize);\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0.0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n var dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n\n var initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2\n );\n }\n }\n\n return function BezierEasing(x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n\nexport default class AnimatedBezier extends AnimatedNode {\n _value;\n _bezier;\n\n constructor(value, mX1, mY1, mX2, mY2) {\n super({ type: 'bezier', mX1, mY1, mX2, mY2, input: value.__nodeID }, [\n value,\n ]);\n this._value = value;\n this._bezier = bezier(mX1, mY1, mX2, mY2);\n }\n\n __onEvaluate() {\n return this._bezier(val(this._value));\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var validateFormat=function validateFormat(){};if(__DEV__){validateFormat=function validateFormat(format){if(format===undefined){throw new Error('invariant requires an error message argument');}};}function invariant(condition,format,a,b,c,d,e,f){validateFormat(format);if(!condition){var error;if(format===undefined){error=new Error('Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.');}else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++];}));error.name='Invariant Violation';}error.framesToPop=1;throw error;}}module.exports=invariant;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/utils/invariant.js"],"names":["validateFormat","__DEV__","format","undefined","Error","invariant","condition","a","b","c","d","e","f","error","args","argIndex","replace","name","framesToPop","module","exports"],"mappings":"AAWA,GAAIA,CAAAA,cAAc,CAAG,yBAAY,CAAE,CAAnC,CAEA,GAAIC,OAAJ,CAAa,CACXD,cAAc,CAAG,wBAAUE,MAAV,CAAkB,CACjC,GAAIA,MAAM,GAAKC,SAAf,CAA0B,CACxB,KAAM,IAAIC,CAAAA,KAAJ,CAAU,8CAAV,CAAN,CACD,CACF,CAJD,CAKD,CAED,QAASC,CAAAA,SAAT,CAAmBC,SAAnB,CAA8BJ,MAA9B,CAAsCK,CAAtC,CAAyCC,CAAzC,CAA4CC,CAA5C,CAA+CC,CAA/C,CAAkDC,CAAlD,CAAqDC,CAArD,CAAwD,CACtDZ,cAAc,CAACE,MAAD,CAAd,CAEA,GAAI,CAACI,SAAL,CAAgB,CACd,GAAIO,CAAAA,KAAJ,CACA,GAAIX,MAAM,GAAKC,SAAf,CAA0B,CACxBU,KAAK,CAAG,GAAIT,CAAAA,KAAJ,CAAU,+HAAV,CAAR,CACD,CAFD,IAEO,CACL,GAAIU,CAAAA,IAAI,CAAG,CAACP,CAAD,CAAIC,CAAJ,CAAOC,CAAP,CAAUC,CAAV,CAAaC,CAAb,CAAgBC,CAAhB,CAAX,CACA,GAAIG,CAAAA,QAAQ,CAAG,CAAf,CACAF,KAAK,CAAG,GAAIT,CAAAA,KAAJ,CAAUF,MAAM,CAACc,OAAP,CAAe,KAAf,CAAsB,UAAY,CAClD,MAAOF,CAAAA,IAAI,CAACC,QAAQ,EAAT,CAAX,CACD,CAFiB,CAAV,CAAR,CAGAF,KAAK,CAACI,IAAN,CAAa,qBAAb,CACD,CAEDJ,KAAK,CAACK,WAAN,CAAoB,CAApB,CACA,KAAML,CAAAA,KAAN,CACD,CACF,CAGDM,MAAM,CAACC,OAAP,CAAiBf,SAAjB","sourcesContent":["/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function () {};\n\nif (__DEV__) {\n validateFormat = function (format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\n// eslint-disable-next-line import/no-commonjs\nmodule.exports = invariant;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var isWebColor=function isWebColor(color){return color==='currentcolor'||color==='currentColor'||color==='inherit'||color.indexOf('var(')===0;};var _default=isWebColor;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/src/modules/isWebColor/index.js"],"names":["isWebColor","color","indexOf"],"mappings":"gFASA,GAAMA,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,CAACC,KAAD,QACjBA,CAAAA,KAAK,GAAK,cAAV,EACAA,KAAK,GAAK,cADV,EAEAA,KAAK,GAAK,SAFV,EAGAA,KAAK,CAACC,OAAN,CAAc,MAAd,IAA0B,CAJT,EAAnB,C,aAMeF,U","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\nconst isWebColor = (color: string): boolean =>\n color === 'currentcolor' ||\n color === 'currentColor' ||\n color === 'inherit' ||\n color.indexOf('var(') === 0;\n\nexport default isWebColor;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var getActiveChildNavigationOptions=function getActiveChildNavigationOptions(navigation,screenProps){var theme=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'light';var state=navigation.state,router=navigation.router,getChildNavigation=navigation.getChildNavigation;var activeRoute=state.routes[state.index];var activeNavigation=getChildNavigation(activeRoute.key);var options=router.getScreenOptions(activeNavigation,screenProps,theme);return options;};var _default=getActiveChildNavigationOptions;exports.default=_default;","map":{"version":3,"sources":["getActiveChildNavigationOptions.js"],"names":["getActiveChildNavigationOptions","theme","state","router","getChildNavigation","navigation","activeRoute","activeNavigation","options"],"mappings":"gFAAA,GAAMA,CAAAA,+BAA+B,CAA/BA,QAAAA,CAAAA,+BAAAA,CAAkC,UAAlCA,CAAkC,WAAlCA,CAID,CADHC,GAAAA,CAAAA,KACG,CAAA,SAAA,CAAA,MAAA,CAAA,CAAA,EAAA,SAAA,CAAA,CAAA,CAAA,GAAA,SAAA,CAAA,SAAA,CAAA,CAAA,CAAA,CADK,OAARA,CACG,GACKC,CAAAA,KADL,CAC2CG,UAD3C,CAAA,KAAA,CACYF,MADZ,CAC2CE,UAD3C,CAAA,MAAA,CACoBD,kBADpB,CAC2CC,UAD3C,CAAA,kBAAA,CAEH,GAAMC,CAAAA,WAAW,CAAGJ,KAAK,CAALA,MAAAA,CAAaA,KAAK,CAAtC,KAAoBA,CAApB,CACA,GAAMK,CAAAA,gBAAgB,CAAGH,kBAAkB,CAACE,WAAW,CAAvD,GAA2C,CAA3C,CACA,GAAME,CAAAA,OAAO,CAAGL,MAAM,CAANA,gBAAAA,CAAAA,gBAAAA,CAAAA,WAAAA,CAAhB,KAAgBA,CAAhB,CACA,MAAA,CAAA,OAAA,CATF,CAAA,C,aAYA,+B","sourcesContent":["const getActiveChildNavigationOptions = (\n navigation,\n screenProps,\n theme = 'light'\n) => {\n const { state, router, getChildNavigation } = navigation;\n const activeRoute = state.routes[state.index];\n const activeNavigation = getChildNavigation(activeRoute.key);\n const options = router.getScreenOptions(activeNavigation, screenProps, theme);\n return options;\n};\n\nexport default getActiveChildNavigationOptions;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.attachNativeEvent=attachNativeEvent;exports.default=exports.AnimatedEvent=void 0;var _AnimatedValue=_interopRequireDefault(require(\"./nodes/AnimatedValue\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"./NativeAnimatedHelper\"));var _findNodeHandle=_interopRequireDefault(require(\"../../../exports/findNodeHandle\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var shouldUseNativeDriver=_NativeAnimatedHelper.default.shouldUseNativeDriver;function attachNativeEvent(viewRef,eventName,argMapping){var eventMappings=[];var traverse=function traverse(value,path){if(value instanceof _AnimatedValue.default){value.__makeNative();eventMappings.push({nativeEventPath:path,animatedValueTag:value.__getNativeTag()});}else if(typeof value==='object'){for(var _key in value){traverse(value[_key],path.concat(_key));}}};(0,_invariant.default)(argMapping[0]&&argMapping[0].nativeEvent,'Native driven events only support animated values contained inside `nativeEvent`.');traverse(argMapping[0].nativeEvent,[]);var viewTag=(0,_findNodeHandle.default)(viewRef);eventMappings.forEach(function(mapping){_NativeAnimatedHelper.default.API.addAnimatedEventToView(viewTag,eventName,mapping);});return{detach:function detach(){eventMappings.forEach(function(mapping){_NativeAnimatedHelper.default.API.removeAnimatedEventFromView(viewTag,eventName,mapping.animatedValueTag);});}};}var AnimatedEvent=function(){function AnimatedEvent(argMapping,config){if(config===void 0){config={};}this._listeners=[];this._argMapping=argMapping;if(config.listener){this.__addListener(config.listener);}this._callListeners=this._callListeners.bind(this);this._attachedEvent=null;this.__isNative=shouldUseNativeDriver(config);if(process.env.NODE_ENV!=='production'){this._validateMapping();}}var _proto=AnimatedEvent.prototype;_proto.__addListener=function __addListener(callback){this._listeners.push(callback);};_proto.__removeListener=function __removeListener(callback){this._listeners=this._listeners.filter(function(listener){return listener!==callback;});};_proto.__attach=function __attach(viewRef,eventName){(0,_invariant.default)(this.__isNative,'Only native driven events need to be attached.');this._attachedEvent=attachNativeEvent(viewRef,eventName,this._argMapping);};_proto.__detach=function __detach(viewTag,eventName){(0,_invariant.default)(this.__isNative,'Only native driven events need to be detached.');this._attachedEvent&&this._attachedEvent.detach();};_proto.__getHandler=function __getHandler(){var _this=this;if(this.__isNative){return this._callListeners;}return function(){for(var _len=arguments.length,args=new Array(_len),_key2=0;_key2<_len;_key2++){args[_key2]=arguments[_key2];}var traverse=function traverse(recMapping,recEvt,key){if(typeof recEvt==='number'&&recMapping instanceof _AnimatedValue.default){recMapping.setValue(recEvt);}else if(typeof recMapping==='object'){for(var mappingKey in recMapping){traverse(recMapping[mappingKey],recEvt[mappingKey],mappingKey);}}};if(!_this.__isNative){_this._argMapping.forEach(function(mapping,idx){traverse(mapping,args[idx],'arg'+idx);});}_this._callListeners.apply(_this,args);};};_proto._callListeners=function _callListeners(){for(var _len2=arguments.length,args=new Array(_len2),_key3=0;_key3<_len2;_key3++){args[_key3]=arguments[_key3];}this._listeners.forEach(function(listener){return listener.apply(void 0,args);});};_proto._validateMapping=function _validateMapping(){var traverse=function traverse(recMapping,recEvt,key){if(typeof recEvt==='number'){(0,_invariant.default)(recMapping instanceof _AnimatedValue.default,'Bad mapping of type '+typeof recMapping+' for key '+key+', event value must map to AnimatedValue');return;}(0,_invariant.default)(typeof recMapping==='object','Bad mapping of type '+typeof recMapping+' for key '+key);(0,_invariant.default)(typeof recEvt==='object','Bad event of type '+typeof recEvt+' for key '+key);for(var mappingKey in recMapping){traverse(recMapping[mappingKey],recEvt[mappingKey],mappingKey);}};};return AnimatedEvent;}();exports.AnimatedEvent=AnimatedEvent;var _default={AnimatedEvent:AnimatedEvent,attachNativeEvent:attachNativeEvent};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/AnimatedEvent.js"],"names":["shouldUseNativeDriver","NativeAnimatedHelper","attachNativeEvent","viewRef","eventName","argMapping","eventMappings","traverse","value","path","AnimatedValue","__makeNative","push","nativeEventPath","animatedValueTag","__getNativeTag","_key","concat","nativeEvent","viewTag","forEach","mapping","API","addAnimatedEventToView","detach","removeAnimatedEventFromView","AnimatedEvent","config","_listeners","_argMapping","listener","__addListener","_callListeners","bind","_attachedEvent","__isNative","process","env","NODE_ENV","_validateMapping","_proto","prototype","callback","__removeListener","filter","__attach","__detach","__getHandler","_this","_len","arguments","length","args","Array","_key2","recMapping","recEvt","key","setVal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AAO6C,CAAAA,UAAhC,CAA6C,WAA7C,CAA2DE,GAA3D,CAAiE,yCAAhH,EACA,OACD,CAED,uBAAU,MAAOF,CAAAA,UAAP,GAAsB,QAAhC,CAA0C,uBAAyB,MAAOA,CAAAA,UAAhC,CAA6C,WAA7C,CAA2DE,GAArG,EACA,uBAAU,MAAOD,CAAAA,MAAP,GAAkB,QAA5B,CAAsC,qBAAuB,MAAOA,CAAAA,MAA9B,CAAuC,WAAvC,CAAqDC,GAA3F,EAEA,IAAK,GAAIE,CAAAA,UAAT,GAAuBJ,CAAAA,UAAvB,CAAmC,CACjChD,QAAQ,CAACgD,UAAU,CAACI,UAAD,CAAX,CAAyBH,MAAM,CAACG,UAAD,CAA/B,CAA6CA,UAA7C,CAAR,CACD,CACF,CAZD,CAaD,CAdD,CAgBA,MAAOjC,CAAAA,aAAP,CACD,CA1GD,EAFA,C,iDA+Ge,CACbA,aAAa,CAAEA,aADF,CAEbxB,iBAAiB,CAAEA,iBAFN,C","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport AnimatedValue from './nodes/AnimatedValue';\nimport NativeAnimatedHelper from './NativeAnimatedHelper';\nimport findNodeHandle from '../../../exports/findNodeHandle';\nimport invariant from 'fbjs/lib/invariant';\nvar shouldUseNativeDriver = NativeAnimatedHelper.shouldUseNativeDriver;\n\nfunction attachNativeEvent(viewRef, eventName, argMapping) {\n // Find animated values in `argMapping` and create an array representing their\n // key path inside the `nativeEvent` object. Ex.: ['contentOffset', 'x'].\n var eventMappings = [];\n\n var traverse = function traverse(value, path) {\n if (value instanceof AnimatedValue) {\n value.__makeNative();\n\n eventMappings.push({\n nativeEventPath: path,\n animatedValueTag: value.__getNativeTag()\n });\n } else if (typeof value === 'object') {\n for (var _key in value) {\n traverse(value[_key], path.concat(_key));\n }\n }\n };\n\n invariant(argMapping[0] && argMapping[0].nativeEvent, 'Native driven events only support animated values contained inside `nativeEvent`.'); // Assume that the event containing `nativeEvent` is always the first argument.\n\n traverse(argMapping[0].nativeEvent, []);\n var viewTag = findNodeHandle(viewRef);\n eventMappings.forEach(function (mapping) {\n NativeAnimatedHelper.API.addAnimatedEventToView(viewTag, eventName, mapping);\n });\n return {\n detach: function detach() {\n eventMappings.forEach(function (mapping) {\n NativeAnimatedHelper.API.removeAnimatedEventFromView(viewTag, eventName, mapping.animatedValueTag);\n });\n }\n };\n}\n\nvar AnimatedEvent =\n/*#__PURE__*/\nfunction () {\n function AnimatedEvent(argMapping, config) {\n if (config === void 0) {\n config = {};\n }\n\n this._listeners = [];\n this._argMapping = argMapping;\n\n if (config.listener) {\n this.__addListener(config.listener);\n }\n\n this._callListeners = this._callListeners.bind(this);\n this._attachedEvent = null;\n this.__isNative = shouldUseNativeDriver(config);\n\n if (process.env.NODE_ENV !== 'production') {\n this._validateMapping();\n }\n }\n\n var _proto = AnimatedEvent.prototype;\n\n _proto.__addListener = function __addListener(callback) {\n this._listeners.push(callback);\n };\n\n _proto.__removeListener = function __removeListener(callback) {\n this._listeners = this._listeners.filter(function (listener) {\n return listener !== callback;\n });\n };\n\n _proto.__attach = function __attach(viewRef, eventName) {\n invariant(this.__isNative, 'Only native driven events need to be attached.');\n this._attachedEvent = attachNativeEvent(viewRef, eventName, this._argMapping);\n };\n\n _proto.__detach = function __detach(viewTag, eventName) {\n invariant(this.__isNative, 'Only native driven events need to be detached.');\n this._attachedEvent && this._attachedEvent.detach();\n };\n\n _proto.__getHandler = function __getHandler() {\n var _this = this;\n\n if (this.__isNative) {\n return this._callListeners;\n }\n\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var traverse = function traverse(recMapping, recEvt, key) {\n if (typeof recEvt === 'number' && recMapping instanceof AnimatedValue) {\n recMapping.setValue(recEvt);\n } else if (typeof recMapping === 'object') {\n for (var mappingKey in recMapping) {\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This\n * comment suppresses an error when upgrading Flow's support for\n * React. To see the error delete this comment and run Flow. */\n traverse(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n }\n };\n\n if (!_this.__isNative) {\n _this._argMapping.forEach(function (mapping, idx) {\n traverse(mapping, args[idx], 'arg' + idx);\n });\n }\n\n _this._callListeners.apply(_this, args);\n };\n };\n\n _proto._callListeners = function _callListeners() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n this._listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n };\n\n _proto._validateMapping = function _validateMapping() {\n var traverse = function traverse(recMapping, recEvt, key) {\n if (typeof recEvt === 'number') {\n invariant(recMapping instanceof AnimatedValue, 'Bad mapping of type ' + typeof recMapping + ' for key ' + key + ', event value must map to AnimatedValue');\n return;\n }\n\n invariant(typeof recMapping === 'object', 'Bad mapping of type ' + typeof recMapping + ' for key ' + key);\n invariant(typeof recEvt === 'object', 'Bad event of type ' + typeof recEvt + ' for key ' + key);\n\n for (var mappingKey in recMapping) {\n traverse(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n };\n };\n\n return AnimatedEvent;\n}();\n\nexport { AnimatedEvent, attachNativeEvent };\nexport default {\n AnimatedEvent: AnimatedEvent,\n attachNativeEvent: attachNativeEvent\n};"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _ReanimatedModule=_interopRequireDefault(require(\"../ReanimatedModule\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var UPDATED_NODES=[];var loopID=1;var propUpdatesEnqueued=null;function sanitizeConfig(config){for(var key in config){var value=config[key];if(value instanceof AnimatedNode){config[key]=value.__nodeID;}}return config;}function runPropUpdates(){var visitedNodes=new Set();var findAndUpdateNodes=function findAndUpdateNodes(node){if(!node){console.warn('findAndUpdateNodes was passed a nullish node');return;}if(visitedNodes.has(node)){return;}else{visitedNodes.add(node);}if(typeof node.update==='function'){node.update();}else{var nodes=node.__getChildren();if(nodes){for(var i=0,l=nodes.length;i<l;i++){findAndUpdateNodes(nodes[i]);}}}};for(var i=0;i<UPDATED_NODES.length;i++){var node=UPDATED_NODES[i];findAndUpdateNodes(node);}UPDATED_NODES.length=0;propUpdatesEnqueued=null;loopID+=1;}var nodeCount=0;var AnimatedNode=function(){function AnimatedNode(nodeConfig,inputNodes){(0,_classCallCheck2.default)(this,AnimatedNode);this.__lastLoopID=0;this.__memoizedValue=null;this.__children=[];this.__nodeID=++nodeCount;this.__nodeConfig=sanitizeConfig(nodeConfig);this.__initialized=false;this.__inputNodes=inputNodes&&inputNodes.filter(function(node){return node instanceof AnimatedNode;});}(0,_createClass2.default)(AnimatedNode,[{key:\"__attach\",value:function __attach(){this.__nativeInitialize();var nodes=this.__inputNodes;if(nodes){for(var i=0,l=nodes.length;i<l;i++){nodes[i].__addChild(this);}}}},{key:\"__detach\",value:function __detach(){var nodes=this.__inputNodes;if(nodes){for(var i=0,l=nodes.length;i<l;i++){nodes[i].__removeChild(this);}}this.__nativeTearDown();}},{key:\"__getValue\",value:function __getValue(){if(this.__lastLoopID<loopID){this.__lastLoopID=loopID;return this.__memoizedValue=this.__onEvaluate();}return this.__memoizedValue;}},{key:\"__forceUpdateCache\",value:function __forceUpdateCache(newValue){this.__memoizedValue=newValue;this.__markUpdated();}},{key:\"__dangerouslyRescheduleEvaluate\",value:function __dangerouslyRescheduleEvaluate(){this.__lastLoopID=0;this.__markUpdated();}},{key:\"__markUpdated\",value:function __markUpdated(){UPDATED_NODES.push(this);if(!propUpdatesEnqueued){propUpdatesEnqueued=setImmediate(runPropUpdates);}}},{key:\"__nativeInitialize\",value:function __nativeInitialize(){if(!this.__initialized){_ReanimatedModule.default.createNode(this.__nodeID,_objectSpread({},this.__nodeConfig));this.__initialized=true;}}},{key:\"__nativeTearDown\",value:function __nativeTearDown(){if(this.__initialized){_ReanimatedModule.default.dropNode(this.__nodeID);this.__initialized=false;}}},{key:\"isNativelyInitialized\",value:function isNativelyInitialized(){return this.__initialized;}},{key:\"__onEvaluate\",value:function __onEvaluate(){throw new Error('Missing implementation of onEvaluate');}},{key:\"__getProps\",value:function __getProps(){return this.__getValue();}},{key:\"__getChildren\",value:function __getChildren(){return this.__children;}},{key:\"__addChild\",value:function __addChild(child){if(this.__children.length===0){this.__attach();}this.__children.push(child);child.__nativeInitialize();if(_ReanimatedModule.default.connectNodes){_ReanimatedModule.default.connectNodes(this.__nodeID,child.__nodeID);}else{this.__dangerouslyRescheduleEvaluate();}}},{key:\"__removeChild\",value:function __removeChild(child){var index=this.__children.indexOf(child);if(index===-1){console.warn(\"Trying to remove a child that doesn't exist\");return;}_ReanimatedModule.default.disconnectNodes(this.__nodeID,child.__nodeID);this.__children.splice(index,1);if(this.__children.length===0){this.__detach();}}},{key:\"_connectAnimatedView\",value:function _connectAnimatedView(nativeViewTag){if(_ReanimatedModule.default.connectNodeToView){_ReanimatedModule.default.connectNodeToView(this.__nodeID,nativeViewTag);}else{this.__dangerouslyRescheduleEvaluate();}}},{key:\"_disconnectAnimatedView\",value:function _disconnectAnimatedView(nativeViewTag){_ReanimatedModule.default.disconnectNodeFromView(this.__nodeID,nativeViewTag);}}]);return AnimatedNode;}();exports.default=AnimatedNode;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedNode.js"],"names":["UPDATED_NODES","loopID","propUpdatesEnqueued","sanitizeConfig","config","key","value","AnimatedNode","__nodeID","runPropUpdates","visitedNodes","Set","findAndUpdateNodes","node","console","warn","has","add","update","nodes","__getChildren","i","l","length","nodeCount","nodeConfig","inputNodes","__lastLoopID","__memoizedValue","__children","__nodeConfig","__initialized","__inputNodes","filter","__nativeInitialize","__addChild","__removeChild","__nativeTearDown","__onEvaluate","newValue","__markUpdated","push","setImmediate","ReanimatedModule","createNode","dropNode","Error","__getValue","child","__attach","connectNodes","__dangerouslyRescheduleEvaluate","index","indexOf","disconnectNodes","splice","__detach","nativeViewTag","connectNodeToView","disconnectNodeFromView"],"mappings":"ubAAA,6E,yxBAEA,GAAMA,CAAAA,aAAa,CAAG,EAAtB,CAEA,GAAIC,CAAAA,MAAM,CAAG,CAAb,CACA,GAAIC,CAAAA,mBAAmB,CAAG,IAA1B,CAEA,QAASC,CAAAA,cAAT,CAAwBC,MAAxB,CAAgC,CAC9B,IAAK,GAAMC,CAAAA,GAAX,GAAkBD,CAAAA,MAAlB,CAA0B,CACxB,GAAME,CAAAA,KAAK,CAAGF,MAAM,CAACC,GAAD,CAApB,CACA,GAAIC,KAAK,WAAYC,CAAAA,YAArB,CAAmC,CACjCH,MAAM,CAACC,GAAD,CAAN,CAAcC,KAAK,CAACE,QAApB,CACD,CACF,CACD,MAAOJ,CAAAA,MAAP,CACD,CAED,QAASK,CAAAA,cAAT,EAA0B,CACxB,GAAMC,CAAAA,Y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AAtC,CAAgDwC,KAAK,CAACxC,QAAtD,EAEA,KAAKqB,UAAL,CAAgB0B,MAAhB,CAAuBH,KAAvB,CAA8B,CAA9B,EACA,GAAI,KAAKvB,UAAL,CAAgBN,MAAhB,GAA2B,CAA/B,CAAkC,CAChC,KAAKiC,QAAL,GACD,CACF,C,kEAEoBC,a,CAAe,CAClC,GAAId,0BAAiBe,iBAArB,CAAwC,CACtCf,0BAAiBe,iBAAjB,CAAmC,KAAKlD,QAAxC,CAAkDiD,aAAlD,EACD,CAFD,IAEO,CACL,KAAKN,+BAAL,GACD,CACF,C,wEAEuBM,a,CAAe,CACrCd,0BAAiBgB,sBAAjB,CAAwC,KAAKnD,QAA7C,CAAuDiD,aAAvD,EACD,C","sourcesContent":["import ReanimatedModule from '../ReanimatedModule';\n\nconst UPDATED_NODES = [];\n\nlet loopID = 1;\nlet propUpdatesEnqueued = null;\n\nfunction sanitizeConfig(config) {\n for (const key in config) {\n const value = config[key];\n if (value instanceof AnimatedNode) {\n config[key] = value.__nodeID;\n }\n }\n return config;\n}\n\nfunction runPropUpdates() {\n const visitedNodes = new Set();\n const findAndUpdateNodes = node => {\n if (!node) {\n console.warn('findAndUpdateNodes was passed a nullish node');\n return;\n }\n\n if (visitedNodes.has(node)) {\n return;\n } else {\n visitedNodes.add(node);\n }\n if (typeof node.update === 'function') {\n node.update();\n } else {\n const nodes = node.__getChildren();\n if (nodes) {\n for (let i = 0, l = nodes.length; i < l; i++) {\n findAndUpdateNodes(nodes[i]);\n }\n }\n }\n };\n for (let i = 0; i < UPDATED_NODES.length; i++) {\n const node = UPDATED_NODES[i];\n findAndUpdateNodes(node);\n }\n UPDATED_NODES.length = 0; // clear array\n propUpdatesEnqueued = null;\n loopID += 1;\n}\n\nlet nodeCount = 0;\n\nexport default class AnimatedNode {\n constructor(nodeConfig, inputNodes) {\n this.__nodeID = ++nodeCount;\n this.__nodeConfig = sanitizeConfig(nodeConfig);\n this.__initialized = false;\n this.__inputNodes =\n inputNodes && inputNodes.filter(node => node instanceof AnimatedNode);\n }\n\n __attach() {\n this.__nativeInitialize();\n\n const nodes = this.__inputNodes;\n\n if (nodes) {\n for (let i = 0, l = nodes.length; i < l; i++) {\n nodes[i].__addChild(this);\n }\n }\n }\n\n __detach() {\n const nodes = this.__inputNodes;\n\n if (nodes) {\n for (let i = 0, l = nodes.length; i < l; i++) {\n nodes[i].__removeChild(this);\n }\n }\n\n this.__nativeTearDown();\n }\n\n __lastLoopID = 0;\n __memoizedValue = null;\n\n __children = [];\n\n __getValue() {\n if (this.__lastLoopID < loopID) {\n this.__lastLoopID = loopID;\n return (this.__memoizedValue = this.__onEvaluate());\n }\n return this.__memoizedValue;\n }\n\n __forceUpdateCache(newValue) {\n this.__memoizedValue = newValue;\n this.__markUpdated();\n }\n\n __dangerouslyRescheduleEvaluate() {\n this.__lastLoopID = 0;\n this.__markUpdated();\n }\n\n __markUpdated() {\n UPDATED_NODES.push(this);\n if (!propUpdatesEnqueued) {\n propUpdatesEnqueued = setImmediate(runPropUpdates);\n }\n }\n\n __nativeInitialize() {\n if (!this.__initialized) {\n ReanimatedModule.createNode(this.__nodeID, { ...this.__nodeConfig });\n this.__initialized = true;\n }\n }\n\n __nativeTearDown() {\n if (this.__initialized) {\n ReanimatedModule.dropNode(this.__nodeID);\n this.__initialized = false;\n }\n }\n\n isNativelyInitialized() {\n return this.__initialized;\n }\n\n __onEvaluate() {\n throw new Error('Missing implementation of onEvaluate');\n }\n\n __getProps() {\n return this.__getValue();\n }\n\n __getChildren() {\n return this.__children;\n }\n\n __addChild(child) {\n if (this.__children.length === 0) {\n this.__attach();\n }\n this.__children.push(child);\n child.__nativeInitialize();\n\n if (ReanimatedModule.connectNodes) {\n ReanimatedModule.connectNodes(this.__nodeID, child.__nodeID);\n } else {\n this.__dangerouslyRescheduleEvaluate();\n }\n }\n\n __removeChild(child) {\n const index = this.__children.indexOf(child);\n if (index === -1) {\n console.warn(\"Trying to remove a child that doesn't exist\");\n return;\n }\n ReanimatedModule.disconnectNodes(this.__nodeID, child.__nodeID);\n\n this.__children.splice(index, 1);\n if (this.__children.length === 0) {\n this.__detach();\n }\n }\n\n _connectAnimatedView(nativeViewTag) {\n if (ReanimatedModule.connectNodeToView) {\n ReanimatedModule.connectNodeToView(this.__nodeID, nativeViewTag);\n } else {\n this.__dangerouslyRescheduleEvaluate();\n }\n }\n\n _disconnectAnimatedView(nativeViewTag) {\n ReanimatedModule.disconnectNodeFromView(this.__nodeID, nativeViewTag);\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _MaterialCommunityIcons=_interopRequireDefault(require(\"./build/MaterialCommunityIcons\"));var _default=_MaterialCommunityIcons.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/MaterialCommunityIcons.js"],"names":["MaterialCommunityIcons"],"mappings":"mKAAA,8F,aACeA,+B","sourcesContent":["import MaterialCommunityIcons from './build/MaterialCommunityIcons';\nexport default MaterialCommunityIcons;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.submit=exports.load=exports.change=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _api=require(\"../lib/api\");var _Alert=_interopRequireDefault(require(\"react-native-web/dist/exports/Alert\"));var _readTest=require(\"../lib/readTest\");var _sqlite=_interopRequireDefault(require(\"../lib/sqlite\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var LOAD='search/LOAD';var CHANGE='search/CHANGE';var SUCCESS='search/SUCCESS';var FAILURE='search/FAILURE';var START='search/START';var change=function change(text){return{type:CHANGE,text:text};};exports.change=change;var load=function load(){return function _callee(dispatch){var past;return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(_sqlite.default.select());case 2:past=_context.sent;_context.next=5;return _regenerator.default.awrap(past.map(function(elem){return elem.score;}));case 5:past=_context.sent;dispatch({type:LOAD,past:past});case 7:case\"end\":return _context.stop();}}});};};exports.load=load;var submit=function submit(text){return function _callee2(dispatch){var response,tempScore,past;return _regenerator.default.async(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:dispatch({type:START});_context2.prev=1;_context2.next=4;return _regenerator.default.awrap((0,_api.sendSearch)(text.nativeEvent.text));case 4:response=_context2.sent;tempScore=scoring(response.return_data).full;_context2.next=8;return _regenerator.default.awrap(_sqlite.default.insert(tempScore));case 8:_context2.next=10;return _regenerator.default.awrap(_sqlite.default.select());case 10:past=_context2.sent;past=past.map(function(elem){return elem.score;});dispatch({type:SUCCESS,result:response,past:past});_context2.next=19;break;case 15:_context2.prev=15;_context2.t0=_context2[\"catch\"](1);console.log(_context2.t0);dispatch({type:FAILURE});case 19:case\"end\":return _context2.stop();}}},null,null,[[1,15]]);};};exports.submit=submit;var initialState={query:'',result:{return_data:{searchResults:[]}},isLoading:false,pastScore:[10,10,10,10,10,10]};var _default=ToggleLoading=function ToggleLoading(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:initialState;var action=arguments.length>1?arguments[1]:undefined;switch(action.type){case CHANGE:return _objectSpread({},state,{query:action.text});case SUCCESS:return _objectSpread({},state,{isLoading:false,result:action.result,pastScore:action.past});case FAILURE:return _objectSpread({},state,{isLoading:false});case START:return _objectSpread({},state,{query:'',isLoading:true});case LOAD:return _objectSpread({},state,{pastScore:action.past});default:return state;}};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/reducers/search.js"],"names":["LOAD","CHANGE","SUCCESS","FAILURE","START","change","text","type","load","dispatch","sqlite","select","past","map","elem","score","submit","nativeEvent","response","tempScore","scoring","return_data","full","insert","result","console","log","initialState","query","searchResults","isLoading","pastScore","ToggleLoading","state","action"],"mappings":"2XAAA,+B,kFAEA,yCACA,6D,yxBAEA,GAAMA,CAAAA,IAAI,CAAG,aAAb,CACA,GAAMC,CAAAA,MAAM,CAAG,eAAf,CACA,GAAMC,CAAAA,OAAO,CAAG,gBAAhB,CACA,GAAMC,CAAAA,OAAO,CAAG,gBAAhB,CACA,GAAMC,CAAAA,KAAK,CAAG,cAAd,CAEO,GAAMC,CAAAA,MAAM,CAAG,QAATA,CAAAA,MAAS,CAACC,IAAD,QAAW,CAC7BC,IAAI,CAAEN,MADuB,CAE7BK,IAAI,CAAJA,IAF6B,CAAX,EAAf,C,sBAKA,GAAME,CAAAA,IAAI,CAAG,QAAPA,CAAAA,IAAO,SAAM,kBAAOC,QAAP,+KACLC,gBAAOC,MAAP,EADK,SAClBC,IADkB,iEAETA,IAAI,CAACC,GAAL,CAAU,SAAAC,IAAI,QAAIA,CAAAA,IAAI,CAACC,KAAT,EAAd,CAFS,SAEtBH,IAFsB,eAGtBH,QAAQ,CAAC,CAACF,IAAI,CAACP,IAAN,CAAYY,IAAI,CAAEA,IAAlB,CAAD,CAAR,CAHsB,8CAAN,EAAb,C,kBAMA,GAAMI,CAAAA,MAAM,CAAG,QAATA,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CAAC,KAA5B,CAAkCN,MAAM,CAAEU,MAAM,CAACV,MAAjD,CAAyDO,SAAS,CAAEG,MAAM,CAACtB,IAA3E,GACJ,IAAKT,CAAAA,OAAL,CACI,wBAAW8B,KAAX,EAAkBH,SAAS,CAAC,KAA5B,GACJ,IAAK1B,CAAAA,KAAL,CACI,wBAAW6B,KAAX,EAAkBL,KAAK,CAAC,EAAxB,CAA2BE,SAAS,CAAC,IAArC,GACJ,IAAK9B,CAAAA,IAAL,CACI,wBAAWiC,KAAX,EAAiBF,SAAS,CAAEG,MAAM,CAACtB,IAAnC,GACJ,QACI,MAAOqB,CAAAA,KAAP,CAZR,CAcH,C","sourcesContent":["import {sendSearch} from '../lib/api'\r\nimport {Alert} from 'react-native'\r\nimport {readTest} from '../lib/readTest';\r\nimport sqlite from '../lib/sqlite';\r\n\r\nconst LOAD = 'search/LOAD';\r\nconst CHANGE = 'search/CHANGE';\r\nconst SUCCESS = 'search/SUCCESS';\r\nconst FAILURE = 'search/FAILURE';\r\nconst START = 'search/START';\r\n\r\nexport const change = (text) => ({ \r\n type: CHANGE,\r\n text,\r\n})\r\n\r\nexport const load = () => async (dispatch) =>{\r\n let past = await sqlite.select();\r\n past = await past.map( elem => elem.score );\r\n dispatch({type:LOAD, past: past})\r\n}\r\n\r\nexport const submit = (text) => async (dispatch) => { \r\n dispatch( {type:START});\r\n try{\r\n const response = await sendSearch(text.nativeEvent.text);\r\n let tempScore = scoring(response.return_data).full;\r\n await sqlite.insert(tempScore);\r\n let past = await sqlite.select();\r\n past = past.map( elem => elem.score );\r\n //dispatch( { type:SUCCESS, result:response }\r\n dispatch( { type:SUCCESS, result:response, past: past})\r\n }\r\n catch(err){\r\n console.log(err);\r\n /* Alert.alert(\r\n 'error',\r\n [\r\n {text: '확인', onPress: () => {}},\r\n ],\r\n ) */\r\n dispatch({ type:FAILURE })\r\n }\r\n}\r\n\r\n\r\nconst initialState = {\r\n query: '',\r\n result: {\r\n return_data: {\r\n searchResults: []\r\n } \r\n },\r\n isLoading: false,\r\n pastScore: [10,10,10,10,10,10],\r\n};\r\n \r\nexport default ToggleLoading = (state = initialState, action) => {\r\n switch (action.type) {\r\n case CHANGE:\r\n return {...state, query: action.text};\r\n case SUCCESS:\r\n return {...state, isLoading:false,result: action.result, pastScore: action.past};\r\n case FAILURE:\r\n return {...state, isLoading:false};\r\n case START:\r\n return {...state, query:'',isLoading:true}\r\n case LOAD:\r\n return {...state,pastScore: action.past}\r\n default:\r\n return state;\r\n }\r\n}\r\n\r\n\r\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=_default;var _createIconSetFromFontello=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/lib/create-icon-set-from-fontello\"));function _default(config,expoFontName,expoAssetId){return(0,_createIconSetFromFontello.default)(config,expoFontName,expoAssetId);}","map":{"version":3,"sources":["../src/createIconSetFromFontello.ts"],"names":[],"mappings":"qKAAA,uIAEc,kBAAU,MAAV,CAAkB,YAAlB,CAAgC,WAAhC,CAA2C,CACvD,MAAO,uCAA0B,MAA1B,CAAkC,YAAlC,CAAgD,WAAhD,CAAP,CACD","sourcesContent":["import createIconSetFromFontello from './vendor/react-native-vector-icons/lib/create-icon-set-from-fontello';\n\nexport default function(config, expoFontName, expoAssetId) {\n return createIconSetFromFontello(config, expoFontName, expoAssetId);\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _SectionList=_interopRequireDefault(require(\"../../vendor/react-native/SectionList\"));var _default=_SectionList.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/SectionList/index.js"],"names":["SectionList"],"mappings":"mKAQA,0F,aACeA,oB","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport SectionList from '../../vendor/react-native/SectionList';\nexport default SectionList;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.atan=exports.asin=exports.acos=exports.tan=exports.not=exports.defined=exports.or=exports.and=exports.neq=exports.greaterOrEq=exports.lessOrEq=exports.greaterThan=exports.eq=exports.lessThan=exports.round=exports.exp=exports.cos=exports.sin=exports.log=exports.sqrt=exports.modulo=exports.pow=exports.divide=exports.multiply=exports.sub=exports.add=void 0;var _AnimatedOperator=require(\"./core/AnimatedOperator\");var operator=_AnimatedOperator.createAnimatedOperator;var add=operator('add');exports.add=add;var sub=operator('sub');exports.sub=sub;var multiply=operator('multiply');exports.multiply=multiply;var divide=operator('divide');exports.divide=divide;var pow=operator('pow');exports.pow=pow;var modulo=operator('modulo');exports.modulo=modulo;var sqrt=operator('sqrt');exports.sqrt=sqrt;var log=operator('log');exports.log=log;var sin=operator('sin');exports.sin=sin;var cos=operator('cos');exports.cos=cos;var exp=operator('exp');exports.exp=exp;var round=operator('round');exports.round=round;var lessThan=operator('lessThan');exports.lessThan=lessThan;var eq=operator('eq');exports.eq=eq;var greaterThan=operator('greaterThan');exports.greaterThan=greaterThan;var lessOrEq=operator('lessOrEq');exports.lessOrEq=lessOrEq;var greaterOrEq=operator('greaterOrEq');exports.greaterOrEq=greaterOrEq;var neq=operator('neq');exports.neq=neq;var and=operator('and');exports.and=and;var or=operator('or');exports.or=or;var defined=operator('defined');exports.defined=defined;var not=operator('not');exports.not=not;var tan=operator('tan');exports.tan=tan;var acos=operator('acos');exports.acos=acos;var asin=operator('asin');exports.asin=asin;var atan=operator('atan');exports.atan=atan;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/operators.js"],"names":["operator","createAnimatedOperator","add","sub","multiply","divide","pow","modulo","sqrt","log","sin","cos","exp","round","lessThan","eq","greaterThan","lessOrEq","greaterOrEq","neq","and","or","defined","not","tan","acos","asin","atan"],"mappings":"qaAAA,yDAEA,GAAMA,CAAAA,QAAQ,CAAGC,wCAAjB,CAEO,GAAMC,CAAAA,GAAG,CAAGF,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMG,CAAAA,GAAG,CAAGH,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMI,CAAAA,QAAQ,CAAGJ,QAAQ,CAAC,UAAD,CAAzB,C,0BACA,GAAMK,CAAAA,MAAM,CAAGL,QAAQ,CAAC,QAAD,CAAvB,C,sBACA,GAAMM,CAAAA,GAAG,CAAGN,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMO,CAAAA,MAAM,CAAGP,QAAQ,CAAC,QAAD,CAAvB,C,sBACA,GAAMQ,CAAAA,IAAI,CAAGR,QAAQ,CAAC,MAAD,CAArB,C,kBACA,GAAMS,CAAAA,GAAG,CAAGT,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMU,CAAAA,GAAG,CAAGV,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMW,CAAAA,GAAG,CAAGX,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMY,CAAAA,GAAG,CAAGZ,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMa,CAAAA,KAAK,CAAGb,QAAQ,CAAC,OAAD,CAAtB,C,oBACA,GAAMc,CAAAA,QAAQ,CAAGd,QAAQ,CAAC,UAAD,CAAzB,C,0BACA,GAAMe,CAAAA,EAAE,CAAGf,QAAQ,CAAC,IAAD,CAAnB,C,cACA,GAAMgB,CAAAA,WAAW,CAAGhB,QAAQ,CAAC,aAAD,CAA5B,C,gCACA,GAAMiB,CAAAA,QAAQ,CAAGjB,QAAQ,CAAC,UAAD,CAAzB,C,0BACA,GAAMkB,CAAAA,WAAW,CAAGlB,QAAQ,CAAC,aAAD,CAA5B,C,gCACA,GAAMmB,CAAAA,GAAG,CAAGnB,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMoB,CAAAA,GAAG,CAAGpB,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMqB,CAAAA,EAAE,CAAGrB,QAAQ,CAAC,IAAD,CAAnB,C,cACA,GAAMsB,CAAAA,OAAO,CAAGtB,QAAQ,CAAC,SAAD,CAAxB,C,wBACA,GAAMuB,CAAAA,GAAG,CAAGvB,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMwB,CAAAA,GAAG,CAAGxB,QAAQ,CAAC,KAAD,CAApB,C,gBACA,GAAMyB,CAAAA,IAAI,CAAGzB,QAAQ,CAAC,MAAD,CAArB,C,kBACA,GAAM0B,CAAAA,IAAI,CAAG1B,QAAQ,CAAC,MAAD,CAArB,C,kBACA,GAAM2B,CAAAA,IAAI,CAAG3B,QAAQ,CAAC,MAAD,CAArB,C","sourcesContent":["import { createAnimatedOperator } from './core/AnimatedOperator';\n\nconst operator = createAnimatedOperator;\n\nexport const add = operator('add');\nexport const sub = operator('sub');\nexport const multiply = operator('multiply');\nexport const divide = operator('divide');\nexport const pow = operator('pow');\nexport const modulo = operator('modulo');\nexport const sqrt = operator('sqrt');\nexport const log = operator('log');\nexport const sin = operator('sin');\nexport const cos = operator('cos');\nexport const exp = operator('exp');\nexport const round = operator('round');\nexport const lessThan = operator('lessThan');\nexport const eq = operator('eq');\nexport const greaterThan = operator('greaterThan');\nexport const lessOrEq = operator('lessOrEq');\nexport const greaterOrEq = operator('greaterOrEq');\nexport const neq = operator('neq');\nexport const and = operator('and');\nexport const or = operator('or');\nexport const defined = operator('defined');\nexport const not = operator('not');\nexport const tan = operator('tan');\nexport const acos = operator('acos');\nexport const asin = operator('asin');\nexport const atan = operator('atan');\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UnimplementedView=_interopRequireDefault(require(\"../../modules/UnimplementedView\"));var _default=_UnimplementedView.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/TouchableNativeFeedback/index.js"],"names":["UnimplementedView"],"mappings":"mKAQA,0F,aACeA,0B","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=getChildrenNavigationCache;function getChildrenNavigationCache(navigation){if(!navigation){return{};}var childrenNavigationCache=navigation._childrenNavigation||(navigation._childrenNavigation={});var childKeys=navigation.state.routes.map(function(route){return route.key;});Object.keys(childrenNavigationCache).forEach(function(cacheKey){if(!childKeys.includes(cacheKey)&&!navigation.state.isTransitioning){delete childrenNavigationCache[cacheKey];}});return navigation._childrenNavigation;}","map":{"version":3,"sources":["getChildrenNavigationCache.js"],"names":["childrenNavigationCache","navigation","childKeys","route","Object"],"mappings":"oGAAe,QAAA,CAAA,0BAAA,CAAA,UAAA,CAAgD,CAC7D,GAAI,CAAJ,UAAA,CAAiB,CACf,MAAA,EAAA,CAGF,IAAIA,CAAAA,uBAAuB,CACzBC,UAAU,CAAVA,mBAAAA,GAAmCA,UAAU,CAAVA,mBAAAA,CADrC,EACEA,CADF,CAEA,GAAIC,CAAAA,SAAS,CAAGD,UAAU,CAAVA,KAAAA,CAAAA,MAAAA,CAAAA,GAAAA,CAA4B,SAAA,KAAA,CAAK,CAAA,MAAIE,CAAAA,KAAK,CAAT,GAAA,CAAjD,CAAgBF,CAAhB,CACAG,MAAM,CAANA,IAAAA,CAAAA,uBAAAA,EAAAA,OAAAA,CAA6C,SAAA,QAAA,CAAY,CACvD,GAAI,CAACF,SAAS,CAATA,QAAAA,CAAD,QAACA,CAAD,EAAiC,CAACD,UAAU,CAAVA,KAAAA,CAAtC,eAAA,CAAwE,CACtE,MAAOD,CAAAA,uBAAuB,CAA9B,QAA8B,CAA9B,CAEH,CAJDI,CAAAA,EAMA,MAAOH,CAAAA,UAAU,CAAjB,mBAAA,CACD","sourcesContent":["export default function getChildrenNavigationCache(navigation) {\n if (!navigation) {\n return {};\n }\n\n let childrenNavigationCache =\n navigation._childrenNavigation || (navigation._childrenNavigation = {});\n let childKeys = navigation.state.routes.map(route => route.key);\n Object.keys(childrenNavigationCache).forEach(cacheKey => {\n if (!childKeys.includes(cacheKey) && !navigation.state.isTransitioning) {\n delete childrenNavigationCache[cacheKey];\n }\n });\n\n return navigation._childrenNavigation;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var React=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _color=_interopRequireDefault(require(\"color\"));var _Text=_interopRequireDefault(require(\"../Typography/Text\"));var _theming=require(\"../../core/theming\");var _colors=require(\"../../styles/colors\");var _jsxFileName=\"/Users/satya/Workspace/Callstack/react-native-paper/src/components/Avatar/AvatarText.tsx\";var defaultSize=64;var AvatarText=function(_React$Component){(0,_inherits2.default)(AvatarText,_React$Component);function AvatarText(){(0,_classCallCheck2.default)(this,AvatarText);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(AvatarText).apply(this,arguments));}(0,_createClass2.default)(AvatarText,[{key:\"render\",value:function render(){var _this$props=this.props,label=_this$props.label,_this$props$size=_this$props.size,size=_this$props$size===void 0?defaultSize:_this$props$size,style=_this$props.style,theme=_this$props.theme,labelStyle=_this$props.labelStyle;var _ref=_StyleSheet.default.flatten(style)||{},_ref$backgroundColor=_ref.backgroundColor,backgroundColor=_ref$backgroundColor===void 0?theme.colors.primary:_ref$backgroundColor,restStyle=(0,_objectWithoutProperties2.default)(_ref,[\"backgroundColor\"]);var textColor=this.props.color||((0,_color.default)(backgroundColor).isLight()?'rgba(0, 0, 0, .54)':_colors.white);return React.createElement(_View.default,{style:[{width:size,height:size,borderRadius:size/2,backgroundColor:backgroundColor},styles.container,restStyle],__source:{fileName:_jsxFileName,lineNumber:80}},React.createElement(_Text.default,{style:[styles.text,{color:textColor,fontSize:size/2,lineHeight:size},labelStyle],numberOfLines:1,__source:{fileName:_jsxFileName,lineNumber:92}},label));}}]);return AvatarText;}(React.Component);AvatarText.displayName='Avatar.Text';AvatarText.defaultProps={size:defaultSize};var styles=_StyleSheet.default.create({container:{justifyContent:'center',alignItems:'center'},text:{textAlign:'center',textAlignVertical:'center'}});var _default=(0,_theming.withTheme)(AvatarText);exports.default=_default;","map":{"version":3,"sources":["AvatarText.tsx"],"names":["defaultSize","AvatarText","React","Component","displayName","defaultProps","size","label","style","theme","labelStyle","backgroundColor","restStyle","StyleSheet","textColor","color","width","height","borderRadius","styles","fontSize","lineHeight","container","justifyContent","alignItems","text","textAlign","textAlignVertical","withTheme"],"mappings":"k0BAAA,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AAQ,CAAEd,IAAI,CAFhB,CAAA,CAGEe,UAAU,CALP,IAEL,CAFK,CADT,UACS,CADT,CAUE,aAAa,CAVf,CAAA,CAAA,QAAA,CAAA,CAAA,QAAA,CAAA,YAAA,CAAA,UAAA,CAAA,EAAA,CAAA,CAAA,CAbJ,KAaI,CAZF,CADF,C,yBAhBqBnB,KAAK,CAACC,S,CAAzBF,CAAAA,U,CACGG,WADHH,CACiB,aADjBA,CAAAA,U,CAGGI,YAHHJ,CAGkB,CACpBK,IAAI,CADgB,WAAA,CAHlBL,CAgDN,GAAMkB,CAAAA,MAAM,CAAGN,oBAAAA,MAAAA,CAAkB,CAC/BS,SAAS,CAAE,CACTC,cAAc,CADL,QAAA,CAETC,UAAU,CAHmB,QACpB,CADoB,CAK/BC,IAAI,CAAE,CACJC,SAAS,CADL,QAAA,CAEJC,iBAAiB,CAPrB,QAKQ,CALyB,CAAlBd,CAAf,C,aAWee,uBAAf,UAAeA,C","sourcesContent":["import * as React from 'react';\nimport {\n View,\n ViewStyle,\n StyleSheet,\n StyleProp,\n TextStyle,\n} from 'react-native';\nimport color from 'color';\nimport Text from '../Typography/Text';\nimport { withTheme } from '../../core/theming';\nimport { white } from '../../styles/colors';\nimport { Theme } from '../../types';\n\nconst defaultSize = 64;\n\ntype Props = {\n /**\n * Initials to show as the text in the `Avatar`.\n */\n label: string;\n /**\n * Size of the avatar.\n */\n size?: number;\n /**\n * Custom color for the text.\n */\n color?: string;\n /**\n * Style for text container\n */\n style?: StyleProp<ViewStyle>;\n /**\n * Style for the title.\n */\n labelStyle?: StyleProp<TextStyle>;\n /**\n * @optional\n */\n theme: Theme;\n};\n\n/**\n * Avatars can be used to represent people in a graphical way.\n *\n * <div class=\"screenshots\">\n * <figure>\n * <img class=\"medium\" src=\"screenshots/avatar-text.png\" />\n * </figure>\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Avatar } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Avatar.Text size={24} label=\"XD\" />\n * );\n * ```\n */\nclass AvatarText extends React.Component<Props> {\n static displayName = 'Avatar.Text';\n\n static defaultProps = {\n size: defaultSize,\n };\n\n render() {\n const { label, size = defaultSize, style, theme, labelStyle } = this.props;\n\n const { backgroundColor = theme.colors.primary, ...restStyle } =\n StyleSheet.flatten(style) || {};\n const textColor =\n this.props.color ||\n (color(backgroundColor).isLight() ? 'rgba(0, 0, 0, .54)' : white);\n\n return (\n <View\n style={[\n {\n width: size,\n height: size,\n borderRadius: size / 2,\n backgroundColor,\n },\n styles.container,\n restStyle,\n ]}\n >\n <Text\n style={[\n styles.text,\n {\n color: textColor,\n fontSize: size / 2,\n lineHeight: size,\n },\n labelStyle,\n ]}\n numberOfLines={1}\n >\n {label}\n </Text>\n </View>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n justifyContent: 'center',\n alignItems: 'center',\n },\n text: {\n textAlign: 'center',\n textAlignVertical: 'center',\n },\n});\n\nexport default withTheme(AvatarText);\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"AppOwnership\",{enumerable:true,get:function get(){return _Constants.AppOwnership;}});Object.defineProperty(exports,\"UserInterfaceIdiom\",{enumerable:true,get:function get(){return _Constants.UserInterfaceIdiom;}});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _Constants=require(\"./Constants.types\");var _ExponentConstants=_interopRequireDefault(require(\"./ExponentConstants\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}if(!_ExponentConstants.default){console.warn(\"No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?\");}var manifest=null;if(_ExponentConstants.default&&_ExponentConstants.default.manifest){manifest=_ExponentConstants.default.manifest;if(typeof manifest==='string'){manifest=JSON.parse(manifest);}}var _ref=_ExponentConstants.default||{},name=_ref.name,constants=(0,_objectWithoutProperties2.default)(_ref,[\"name\"]);var _default=_objectSpread({},constants,{manifest:manifest,deviceId:constants.installationId,linkingUrl:constants.linkingUri});exports.default=_default;","map":{"version":3,"sources":["../src/Constants.ts"],"names":[],"mappings":"qmBAAA,4CASA,8E,yxBAYA,GAAI,CAAC,0BAAL,CAAwB,CACtB,OAAO,CAAC,IAAR,CACE,wGADF,EAGD,CAGD,GAAI,CAAA,QAAQ,CAAG,IAAf,CACA,GAAI,4BAAqB,2BAAkB,QAA3C,CAAqD,CACnD,QAAQ,CAAG,2BAAkB,QAA7B,CACA,GAAI,MAAO,CAAA,QAAP,GAAoB,QAAxB,CAAkC,CAChC,QAAQ,CAAG,IAAI,CAAC,KAAL,CAAW,QAAX,CAAX,CACD,CACF,C,SAE+B,4BAAqB,E,CAA7C,I,MAAA,I,CAAS,S,oFAQZ,S,EACH,QAAQ,CAAR,Q,CAEA,QAAQ,CAAE,SAAS,CAAC,c,CACpB,UAAU,CAAE,SAAS,CAAC,U","sourcesContent":["import {\n AndroidManifest,\n AppOwnership,\n IOSManifest,\n PlatformManifest,\n NativeConstants,\n UserInterfaceIdiom,\n WebManifest,\n} from './Constants.types';\nimport ExponentConstants from './ExponentConstants';\n\nexport {\n AppOwnership,\n UserInterfaceIdiom,\n PlatformManifest,\n NativeConstants,\n IOSManifest,\n AndroidManifest,\n WebManifest,\n};\n\nif (!ExponentConstants) {\n console.warn(\n \"No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?\"\n );\n}\n\n// On Android we pass the manifest in JSON form so this step is necessary\nlet manifest = null;\nif (ExponentConstants && ExponentConstants.manifest) {\n manifest = ExponentConstants.manifest;\n if (typeof manifest === 'string') {\n manifest = JSON.parse(manifest);\n }\n}\n\nconst { name, ...constants } = (ExponentConstants || {}) as any;\n\nexport interface Constants extends NativeConstants {\n deviceId?: string;\n linkingUrl?: string;\n}\n\nexport default {\n ...constants,\n manifest,\n // Legacy aliases\n deviceId: constants.installationId,\n linkingUrl: constants.linkingUri,\n} as Constants;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=getNavigation;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var _getNavigationActionCreators=_interopRequireDefault(require(\"./routers/getNavigationActionCreators\"));var _getChildNavigation2=_interopRequireDefault(require(\"./getChildNavigation\"));var _getChildrenNavigationCache=_interopRequireDefault(require(\"./getChildrenNavigationCache\"));function getNavigation(router,state,dispatch,actionSubscribers,getScreenProps,getCurrentNavigation){var actions=router.getActionCreators(state,null);var navigation={actions:actions,router:router,state:state,dispatch:dispatch,getScreenProps:getScreenProps,getChildNavigation:function getChildNavigation(childKey){return(0,_getChildNavigation2.default)(navigation,childKey,getCurrentNavigation);},isFocused:function isFocused(childKey){var _getCurrentNavigation=getCurrentNavigation().state,routes=_getCurrentNavigation.routes,index=_getCurrentNavigation.index;if(childKey==null||routes[index].key===childKey){return true;}return false;},addListener:function addListener(eventName,handler){if(eventName!=='action'){return{remove:function remove(){}};}actionSubscribers.add(handler);return{remove:function remove(){actionSubscribers.delete(handler);}};},dangerouslyGetParent:function dangerouslyGetParent(){return null;},isFirstRouteInParent:function isFirstRouteInParent(){return true;},_childrenNavigation:(0,_getChildrenNavigationCache.default)(getCurrentNavigation())};var actionCreators=(0,_objectSpread2.default)({},(0,_getNavigationActionCreators.default)(navigation.state),actions);Object.keys(actionCreators).forEach(function(actionName){navigation[actionName]=function(){return navigation.dispatch(actionCreators[actionName].apply(actionCreators,arguments));};});return navigation;}","map":{"version":3,"sources":["getNavigation.js"],"names":["actions","router","navigation","state","dispatch","getScreenProps","getChildNavigation","isFocused","routes","index","getCurrentNavigation","childKey","addListener","eventName","remove","actionSubscribers","dangerouslyGetParent","isFirstRouteInParent","_childrenNavigation","getChildrenNavigationCache","actionCreators","getNavigationActionCreators","Object"],"mappings":"oQAAA,0GACA,iFACA,gGAEe,QAAA,CAAA,aAAA,CAAA,MAAA,CAAA,KAAA,CAAA,QAAA,CAAA,iBAAA,CAAA,cAAA,CAAA,oBAAA,CAOb,CACA,GAAMA,CAAAA,OAAO,CAAGC,MAAM,CAANA,iBAAAA,CAAAA,KAAAA,CAAhB,IAAgBA,CAAhB,CAEA,GAAMC,CAAAA,UAAU,CAAG,CACjBF,OAAO,CADU,OAAA,CAEjBC,MAAM,CAFW,MAAA,CAGjBE,KAAK,CAHY,KAAA,CAIjBC,QAAQ,CAJS,QAAA,CAKjBC,cAAc,CALG,cAAA,CAMjBC,kBAAkB,CAAE,QAAA,CAAA,kBAAA,CAAA,QAAA,CAAQ,CAAA,MAC1BA,iCAAkB,UAAlBA,CAAkB,QAAlBA,CAD0B,oBAC1BA,CAD0B,CANX,CAAA,CAQjBC,SAAS,CAAE,QAAA,CAAA,SAAA,CAAA,QAAA,CAAY,CAAA,GAAA,CAAA,qBAAA,CACKG,oBAAoB,GADzB,KAAA,CACbF,MADa,CAAA,qBAAA,CAAA,MAAA,CACLC,KADK,CAAA,qBAAA,CAAA,KAAA,CAErB,GAAIE,QAAQ,EAARA,IAAAA,EAAoBH,MAAM,CAANA,KAAM,CAANA,CAAAA,GAAAA,GAAxB,QAAA,CAAwD,CACtD,MAAA,KAAA,CAEF,OAAA,MAAA,CAbe,CAAA,CAejBI,WAAW,CAAE,QAAA,CAAA,WAAA,CAAA,SAAA,CAAA,OAAA,CAAwB,CACnC,GAAIC,SAAS,GAAb,QAAA,CAA4B,CAC1B,MAAO,CAAEC,MAAM,CAAE,QAAA,CAAA,MAAA,EAAM,CAAvB,CAAO,CAAP,CAEFC,CAAAA,iBAAiB,CAAjBA,GAAAA,CAAAA,OAAAA,EACA,MAAO,CACLD,MAAM,CAAE,QAAA,CAAA,MAAA,EAAM,CACZC,iBAAiB,CAAjBA,MAAAA,CAAAA,OAAAA,EAFJ,CAAO,CAAP,CApBe,CAAA,CA0BjBC,oBAAoB,CAAE,QAAA,CAAA,oBAAA,EAAA,CAAA,MAAA,KAAA,CA1BL,CAAA,CA2BjBC,oBAAoB,CAAE,QAAA,CAAA,oBAAA,EAAA,CAAA,MAAA,KAAA,CA3BL,CAAA,CA4BjBC,mBAAmB,CAAEC,wCAA2BT,oBA5BlD,EA4BuBS,CA5BJ,CAAnB,CA+BA,GAAMC,CAAAA,cAAc,CAAA,2BAAA,EAAA,CACfC,yCAA4BnB,UAAU,CADvB,KACfmB,CADe,CAApB,OAAoB,CAApB,CAKAC,MAAM,CAANA,IAAAA,CAAAA,cAAAA,EAAAA,OAAAA,CAAoC,SAAA,UAAA,CAAc,CAChDpB,UAAU,CAAVA,UAAU,CAAVA,CAAyB,UAAA,CAAA,MACvBA,CAAAA,UAAU,CAAVA,QAAAA,CAAoBkB,cAAc,CAAdA,UAAc,CAAdA,CAAAA,KAAAA,CAAAA,cAAAA,CADG,SACHA,CAApBlB,CADuB,CAAzBA,CAAAA,CADFoB,CAAAA,EAKA,MAAA,CAAA,UAAA,CACD","sourcesContent":["import getNavigationActionCreators from './routers/getNavigationActionCreators';\nimport getChildNavigation from './getChildNavigation';\nimport getChildrenNavigationCache from './getChildrenNavigationCache';\n\nexport default function getNavigation(\n router,\n state,\n dispatch,\n actionSubscribers,\n getScreenProps,\n getCurrentNavigation\n) {\n const actions = router.getActionCreators(state, null);\n\n const navigation = {\n actions,\n router,\n state,\n dispatch,\n getScreenProps,\n getChildNavigation: childKey =>\n getChildNavigation(navigation, childKey, getCurrentNavigation),\n isFocused: childKey => {\n const { routes, index } = getCurrentNavigation().state;\n if (childKey == null || routes[index].key === childKey) {\n return true;\n }\n return false;\n },\n addListener: (eventName, handler) => {\n if (eventName !== 'action') {\n return { remove: () => {} };\n }\n actionSubscribers.add(handler);\n return {\n remove: () => {\n actionSubscribers.delete(handler);\n },\n };\n },\n dangerouslyGetParent: () => null,\n isFirstRouteInParent: () => true,\n _childrenNavigation: getChildrenNavigationCache(getCurrentNavigation()),\n };\n\n const actionCreators = {\n ...getNavigationActionCreators(navigation.state),\n ...actions,\n };\n\n Object.keys(actionCreators).forEach(actionName => {\n navigation[actionName] = (...args) =>\n navigation.dispatch(actionCreators[actionName](...args));\n });\n\n return navigation;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createIconButtonComponent;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _isString=_interopRequireDefault(require(\"lodash/isString\"));var _omit=_interopRequireDefault(require(\"lodash/omit\"));var _pick=_interopRequireDefault(require(\"lodash/pick\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _TouchableHighlight=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableHighlight\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var styles=_StyleSheet.default.create({container:{flexDirection:'row',justifyContent:'flex-start',alignItems:'center',padding:8},touchable:{overflow:'hidden'},icon:{marginRight:10},text:{fontWeight:'600',backgroundColor:'transparent'}});var IOS7_BLUE='#007AFF';var TEXT_PROP_NAMES=['ellipsizeMode','numberOfLines','textBreakStrategy','selectable','suppressHighlighting','allowFontScaling','adjustsFontSizeToFit','minimumFontScale'];var TOUCHABLE_PROP_NAMES=['accessible','accessibilityLabel','accessibilityHint','accessibilityComponentType','accessibilityRole','accessibilityStates','accessibilityTraits','onFocus','onBlur','disabled','onPress','onPressIn','onPressOut','onLayout','onLongPress','nativeID','testID','delayPressIn','delayPressOut','delayLongPress','activeOpacity','underlayColor','selectionColor','onShowUnderlay','onHideUnderlay','hasTVPreferredFocus','tvParallaxProperties'];function createIconButtonComponent(Icon){var _class,_temp;return _temp=_class=function(_PureComponent){(0,_inherits2.default)(IconButton,_PureComponent);function IconButton(){(0,_classCallCheck2.default)(this,IconButton);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(IconButton).apply(this,arguments));}(0,_createClass2.default)(IconButton,[{key:\"render\",value:function render(){var _this$props=this.props,style=_this$props.style,iconStyle=_this$props.iconStyle,children=_this$props.children,restProps=(0,_objectWithoutProperties2.default)(_this$props,[\"style\",\"iconStyle\",\"children\"]);var iconProps=(0,_pick.default)(restProps,TEXT_PROP_NAMES,'style','name','size','color');var touchableProps=(0,_pick.default)(restProps,TOUCHABLE_PROP_NAMES);var props=(0,_omit.default)(restProps,Object.keys(iconProps),Object.keys(touchableProps),'iconStyle','borderRadius','backgroundColor');iconProps.style=iconStyle?[styles.icon,iconStyle]:styles.icon;var colorStyle=(0,_pick.default)(this.props,'color');var blockStyle=(0,_pick.default)(this.props,'backgroundColor','borderRadius');return _react.default.createElement(_TouchableHighlight.default,(0,_extends2.default)({style:[styles.touchable,blockStyle]},touchableProps),_react.default.createElement(_View.default,(0,_extends2.default)({style:[styles.container,blockStyle,style]},props),_react.default.createElement(Icon,iconProps),(0,_isString.default)(children)?_react.default.createElement(_Text.default,{style:[styles.text,colorStyle]},children):children));}}]);return IconButton;}(_react.PureComponent),_class.propTypes={backgroundColor:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),borderRadius:_propTypes.default.number,color:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),size:_propTypes.default.number,iconStyle:_propTypes.default.any,style:_propTypes.default.any,children:_propTypes.default.node},_class.defaultProps={backgroundColor:IOS7_BLUE,borderRadius:5,color:'white',size:20},_temp;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/icon-button.js"],"names":["styles","StyleSheet","create","container","flexDirection","justifyContent","alignItems","padding","touchable","overflow","icon","marginRight","text","fontWeight","backgroundColor","IOS7_BLUE","TEXT_PROP_NAMES","TOUCHABLE_PROP_NAMES","createIconButtonComponent","Icon","props","style","iconStyle","children","restProps","iconProps","touchableProps","Object","keys","colorStyle","blockStyle","PureComponent","propTypes","PropTypes","oneOfType","string","number","borderRadius","color","size","any","node","defaultProps"],"mappings":"q6BAAA,iEACA,yDACA,yDACA,qDACA,6D,wWAGA,GAAMA,CAAAA,MAAM,CAAGC,oBAAWC,MAAX,CAAkB,CAC/BC,SAAS,CAAE,CACTC,aAAa,CAAE,KADN,CAETC,cAAc,CAAE,YAFP,CAGTC,UAAU,CAAE,QAHH,CAITC,OAAO,CAAE,CAJA,CADo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nB,KAAK,CAAEY,mBAAUO,GATA,CAUjBjB,QAAQ,CAAEU,mBAAUQ,IAVH,CADrB,QAcSC,YAdT,CAcwB,CACpB5B,eAAe,CAAEC,SADG,CAEpBsB,YAAY,CAAE,CAFM,CAGpBC,KAAK,CAAE,OAHa,CAIpBC,IAAI,CAAE,EAJc,CAdxB,OA+DD","sourcesContent":["import isString from 'lodash/isString';\nimport omit from 'lodash/omit';\nimport pick from 'lodash/pick';\nimport React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { StyleSheet, Text, TouchableHighlight, View } from 'react-native';\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n alignItems: 'center',\n padding: 8,\n },\n touchable: {\n overflow: 'hidden',\n },\n icon: {\n marginRight: 10,\n },\n text: {\n fontWeight: '600',\n backgroundColor: 'transparent',\n },\n});\n\nconst IOS7_BLUE = '#007AFF';\n\nconst TEXT_PROP_NAMES = [\n 'ellipsizeMode',\n 'numberOfLines',\n 'textBreakStrategy',\n 'selectable',\n 'suppressHighlighting',\n 'allowFontScaling',\n 'adjustsFontSizeToFit',\n 'minimumFontScale',\n];\n\nconst TOUCHABLE_PROP_NAMES = [\n 'accessible',\n 'accessibilityLabel',\n 'accessibilityHint',\n 'accessibilityComponentType',\n 'accessibilityRole',\n 'accessibilityStates',\n 'accessibilityTraits',\n 'onFocus',\n 'onBlur',\n 'disabled',\n 'onPress',\n 'onPressIn',\n 'onPressOut',\n 'onLayout',\n 'onLongPress',\n 'nativeID',\n 'testID',\n 'delayPressIn',\n 'delayPressOut',\n 'delayLongPress',\n 'activeOpacity',\n 'underlayColor',\n 'selectionColor',\n 'onShowUnderlay',\n 'onHideUnderlay',\n 'hasTVPreferredFocus',\n 'tvParallaxProperties',\n];\n\nexport default function createIconButtonComponent(Icon) {\n return class IconButton extends PureComponent {\n static propTypes = {\n backgroundColor: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number,\n ]),\n borderRadius: PropTypes.number,\n color: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n size: PropTypes.number,\n iconStyle: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n style: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n children: PropTypes.node,\n };\n\n static defaultProps = {\n backgroundColor: IOS7_BLUE,\n borderRadius: 5,\n color: 'white',\n size: 20,\n };\n\n render() {\n const { style, iconStyle, children, ...restProps } = this.props;\n\n const iconProps = pick(\n restProps,\n TEXT_PROP_NAMES,\n 'style',\n 'name',\n 'size',\n 'color'\n );\n const touchableProps = pick(restProps, TOUCHABLE_PROP_NAMES);\n const props = omit(\n restProps,\n Object.keys(iconProps),\n Object.keys(touchableProps),\n 'iconStyle',\n 'borderRadius',\n 'backgroundColor'\n );\n iconProps.style = iconStyle ? [styles.icon, iconStyle] : styles.icon;\n\n const colorStyle = pick(this.props, 'color');\n const blockStyle = pick(this.props, 'backgroundColor', 'borderRadius');\n\n return (\n <TouchableHighlight\n style={[styles.touchable, blockStyle]}\n {...touchableProps}\n >\n <View style={[styles.container, blockStyle, style]} {...props}>\n <Icon {...iconProps} />\n {isString(children) ? (\n <Text style={[styles.text, colorStyle]}>{children}</Text>\n ) : (\n children\n )}\n </View>\n </TouchableHighlight>\n );\n }\n };\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.addWhitelistedNativeProps=addWhitelistedNativeProps;exports.addWhitelistedUIProps=addWhitelistedUIProps;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _ReanimatedModule=_interopRequireDefault(require(\"./ReanimatedModule\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var UI_THREAD_PROPS_WHITELIST={opacity:true,transform:true,backgroundColor:true,borderRightColor:true,borderBottomColor:true,borderColor:true,borderEndColor:true,borderLeftColor:true,borderStartColor:true,borderTopColor:true,shadowOpacity:true,shadowRadius:true,scaleX:true,scaleY:true,translateX:true,translateY:true};var NATIVE_THREAD_PROPS_WHITELIST={borderBottomWidth:true,borderEndWidth:true,borderLeftWidth:true,borderRightWidth:true,borderStartWidth:true,borderTopWidth:true,borderWidth:true,bottom:true,flex:true,flexGrow:true,flexShrink:true,height:true,left:true,margin:true,marginBottom:true,marginEnd:true,marginHorizontal:true,marginLeft:true,marginRight:true,marginStart:true,marginTop:true,marginVertical:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,padding:true,paddingBottom:true,paddingEnd:true,paddingHorizontal:true,paddingLeft:true,paddingRight:true,paddingStart:true,paddingTop:true,paddingVertical:true,right:true,start:true,top:true,width:true,zIndex:true,borderBottomEndRadius:true,borderBottomLeftRadius:true,borderBottomRightRadius:true,borderBottomStartRadius:true,borderRadius:true,borderTopEndRadius:true,borderTopLeftRadius:true,borderTopRightRadius:true,borderTopStartRadius:true,opacity:true,elevation:true,fontSize:true,lineHeight:true,textShadowRadius:true,letterSpacing:true,display:true,backfaceVisibility:true,overflow:true,resizeMode:true,fontStyle:true,fontWeight:true,textAlign:true,textDecorationLine:true,fontFamily:true,textAlignVertical:true,fontVariant:true,textDecorationStyle:true,textTransform:true,writingDirection:true,color:true};function configureProps(){_ReanimatedModule.default.configureProps(Object.keys(NATIVE_THREAD_PROPS_WHITELIST),Object.keys(UI_THREAD_PROPS_WHITELIST));}function addWhitelistedNativeProps(props){NATIVE_THREAD_PROPS_WHITELIST=_objectSpread({},NATIVE_THREAD_PROPS_WHITELIST,{},props);configureProps();}function addWhitelistedUIProps(props){UI_THREAD_PROPS_WHITELIST=_objectSpread({},UI_THREAD_PROPS_WHITELIST,{},props);configureProps();}configureProps();","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/ConfigHelper.js"],"names":["UI_THREAD_PROPS_WHITELIST","opacity","transform","backgroundColor","borderRightColor","borderBottomColor","borderColor","borderEndColor","borderLeftColor","borderStartColor","borderTopColor","shadowOpacity","shadowRadius","scaleX","scaleY","translateX","translateY","NATIVE_THREAD_PROPS_WHITELIST","borderBottomWidth","borderEndWidth","borderLeftWidth","borderRightWidth","borderStartWidth","borderTopWidth","borderWidth","bottom","flex","flexGrow","flexShrink","height","left","margin","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","maxHeight","maxWidth","minHeight","minWidth","padding","paddingBottom","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","right","start","top","width","zIndex","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderRadius","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","elevation","fontSize","lineHeight","textShadowRadius","letterSpacing","display","backfaceVisibility","overflow","resizeMode","fontStyle","fontWeight","textAlign","textDecorationLine","fontFamily","textAlignVertical","fontVariant","textDecorationStyle","textTransform","writingDirection","color","configureProps","ReanimatedModule","Object","keys","addWhitelistedNativeProps","props","addWhitelistedUIProps"],"mappings":"0VAAA,4E,yxBAKA,GAAIA,CAAAA,yBAAyB,CAAG,CAC9BC,OAAO,CAAE,IADqB,CAE9BC,SAAS,CAAE,IAFmB,CAI9BC,eAAe,CAAE,IAJa,CAK9BC,gBAAgB,CAAE,IALY,CAM9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CAAAA,cAAT,EAA0B,CACxBC,0BAAiBD,cAAjB,CACEE,MAAM,CAACC,IAAP,CAAYzE,6BAAZ,CADF,CAEEwE,MAAM,CAACC,IAAP,CAAY1F,yBAAZ,CAFF,EAID,CAEM,QAAS2F,CAAAA,yBAAT,CAAmCC,KAAnC,CAA0C,CAC/C3E,6BAA6B,kBACxBA,6BADwB,IAExB2E,KAFwB,CAA7B,CAIAL,cAAc,GACf,CAEM,QAASM,CAAAA,qBAAT,CAA+BD,KAA/B,CAAsC,CAC3C5F,yBAAyB,kBAAQA,yBAAR,IAAsC4F,KAAtC,CAAzB,CACAL,cAAc,GACf,CAEDA,cAAc","sourcesContent":["import ReanimatedModule from './ReanimatedModule';\n\n/**\n * Styles allowed to be direcly updated in UI thread\n */\nlet UI_THREAD_PROPS_WHITELIST = {\n opacity: true,\n transform: true,\n /* colors */\n backgroundColor: true,\n borderRightColor: true,\n borderBottomColor: true,\n borderColor: true,\n borderEndColor: true,\n borderLeftColor: true,\n borderStartColor: true,\n borderTopColor: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\n/**\n * Whitelist of view props that can be updated in native thread via UIManagerModule\n */\nlet NATIVE_THREAD_PROPS_WHITELIST = {\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n height: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n right: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n opacity: true,\n elevation: true,\n fontSize: true,\n lineHeight: true,\n textShadowRadius: true,\n letterSpacing: true,\n /* strings */\n display: true,\n backfaceVisibility: true,\n overflow: true,\n resizeMode: true,\n fontStyle: true,\n fontWeight: true,\n textAlign: true,\n textDecorationLine: true,\n fontFamily: true,\n textAlignVertical: true,\n fontVariant: true,\n textDecorationStyle: true,\n textTransform: true,\n writingDirection: true,\n /* text color */\n color: true,\n};\n\nfunction configureProps() {\n ReanimatedModule.configureProps(\n Object.keys(NATIVE_THREAD_PROPS_WHITELIST),\n Object.keys(UI_THREAD_PROPS_WHITELIST)\n );\n}\n\nexport function addWhitelistedNativeProps(props) {\n NATIVE_THREAD_PROPS_WHITELIST = {\n ...NATIVE_THREAD_PROPS_WHITELIST,\n ...props,\n };\n configureProps();\n}\n\nexport function addWhitelistedUIProps(props) {\n UI_THREAD_PROPS_WHITELIST = { ...UI_THREAD_PROPS_WHITELIST, ...props };\n configureProps();\n}\n\nconfigureProps();\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _InternalAnimatedValue=_interopRequireDefault(require(\"../core/InternalAnimatedValue\"));var _timing=_interopRequireDefault(require(\"./timing\"));var _base=require(\"../base\");var _AnimatedClock=_interopRequireDefault(require(\"../core/AnimatedClock\"));var _Easing=_interopRequireDefault(require(\"../Easing\"));var _Animation2=_interopRequireDefault(require(\"./Animation\"));var easeInOut=_Easing.default.inOut(_Easing.default.ease);var TimingAnimation=function(_Animation){(0,_inherits2.default)(TimingAnimation,_Animation);function TimingAnimation(config){var _this;(0,_classCallCheck2.default)(this,TimingAnimation);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TimingAnimation).call(this));_this._toValue=config.toValue;_this._easing=config.easing!==undefined?config.easing:easeInOut;_this._duration=config.duration!==undefined?config.duration:500;return _this;}(0,_createClass2.default)(TimingAnimation,[{key:\"start\",value:function start(value){this._clock=new _AnimatedClock.default();var state={finished:new _InternalAnimatedValue.default(0),position:value,time:new _InternalAnimatedValue.default(0),frameTime:new _InternalAnimatedValue.default(0)};var config={duration:this._duration,toValue:this._toValue,easing:this._easing};return(0,_base.block)([(0,_base.cond)((0,_base.clockRunning)(this._clock),0,[(0,_base.startClock)(this._clock)]),(0,_timing.default)(this._clock,state,config),(0,_base.cond)(state.finished,(0,_base.stopClock)(this._clock))]);}},{key:\"stop\",value:function stop(){}}],[{key:\"getDefaultState\",value:function getDefaultState(){return{position:new _InternalAnimatedValue.default(0),finished:new _InternalAnimatedValue.default(0),time:new _InternalAnimatedValue.default(0),frameTime:new _InternalAnimatedValue.default(0)};}}]);return TimingAnimation;}(_Animation2.default);exports.default=TimingAnimation;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/animations/TimingAnimation.js"],"names":["easeInOut","Easing","inOut","ease","TimingAnimation","config","_toValue","toValue","_easing","easing","undefined","_duration","duration","value","_clock","Clock","state","finished","AnimatedValue","position","time","frameTime","Animation"],"mappings":"6nBAAA,4FACA,wDACA,6BACA,4EACA,yDAEA,+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,CAAkB,CAAlB,CAFL,CAGLE,IAAI,CAAE,GAAIF,+BAAJ,CAAkB,CAAlB,CAHD,CAILG,SAAS,CAAE,GAAIH,+BAAJ,CAAkB,CAAlB,CAJN,CAAP,CAMD,C,6BA/C0CI,mB","sourcesContent":["import AnimatedValue from '../core/InternalAnimatedValue';\nimport timing from './timing';\nimport { block, clockRunning, startClock, stopClock, cond } from '../base';\nimport Clock from '../core/AnimatedClock';\nimport Easing from '../Easing';\n\nimport Animation from './Animation';\n\nconst easeInOut = Easing.inOut(Easing.ease);\n\nexport default class TimingAnimation extends Animation {\n _toValue;\n _duration;\n _easing;\n\n _clock;\n\n constructor(config) {\n super();\n this._toValue = config.toValue;\n this._easing = config.easing !== undefined ? config.easing : easeInOut;\n this._duration = config.duration !== undefined ? config.duration : 500;\n }\n\n start(value) {\n this._clock = new Clock();\n\n const state = {\n finished: new AnimatedValue(0),\n position: value,\n time: new AnimatedValue(0),\n frameTime: new AnimatedValue(0),\n };\n\n const config = {\n duration: this._duration,\n toValue: this._toValue,\n easing: this._easing,\n };\n\n return block([\n cond(clockRunning(this._clock), 0, [startClock(this._clock)]),\n timing(this._clock, state, config),\n cond(state.finished, stopClock(this._clock)),\n ]);\n }\n\n stop() {\n // this._finished && this._finished.setValue(1);\n }\n static getDefaultState() {\n return {\n position: new AnimatedValue(0),\n finished: new AnimatedValue(0),\n time: new AnimatedValue(0),\n frameTime: new AnimatedValue(0),\n };\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _Animated=_interopRequireDefault(require(\"react-native-web/dist/exports/Animated\"));var _Easing=_interopRequireDefault(require(\"react-native-web/dist/exports/Easing\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _GenericTouchable=_interopRequireWildcard(require(\"./GenericTouchable\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var TouchableOpacity=function(_Component){(0,_inherits2.default)(TouchableOpacity,_Component);function TouchableOpacity(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,TouchableOpacity);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(TouchableOpacity)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.getChildStyleOpacityWithDefault=function(){var childStyle=_StyleSheet.default.flatten(_this.props.style)||{};return childStyle.opacity==null?1:childStyle.opacity;};_this.opacity=new _Animated.default.Value(_this.getChildStyleOpacityWithDefault());_this.setOpacityTo=function(value,duration){_Animated.default.timing(_this.opacity,{toValue:value,duration:duration,easing:_Easing.default.inOut(_Easing.default.quad),useNativeDriver:true}).start();};_this.onStateChange=function(from,to){if(to===_GenericTouchable.TOUCHABLE_STATE.BEGAN){_this.setOpacityTo(_this.props.activeOpacity,0);}else if(to===_GenericTouchable.TOUCHABLE_STATE.UNDETERMINED||to===_GenericTouchable.TOUCHABLE_STATE.MOVED_OUTSIDE){_this.setOpacityTo(_this.getChildStyleOpacityWithDefault(),150);}};return _this;}(0,_createClass2.default)(TouchableOpacity,[{key:\"render\",value:function render(){var _this$props=this.props,_this$props$style=_this$props.style,style=_this$props$style===void 0?{}:_this$props$style,rest=(0,_objectWithoutProperties2.default)(_this$props,[\"style\"]);return _react.default.createElement(_GenericTouchable.default,(0,_extends2.default)({},rest,{style:[style,{opacity:this.opacity}],onStateChange:this.onStateChange}),this.props.children?this.props.children:_react.default.createElement(_View.default,null));}}]);return TouchableOpacity;}(_react.Component);exports.default=TouchableOpacity;TouchableOpacity.defaultProps=_objectSpread({},_GenericTouchable.default.defaultProps,{activeOpacity:0.2});TouchableOpacity.propTypes=_objectSpread({},_GenericTouchable.default.publicPropTypes,{style:_propTypes.default.any,activeOpacity:_propTypes.default.number});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/touchables/TouchableOpacity.js"],"names":["TouchableOpacity","getChildStyleOpacityWithDefault","childStyle","StyleSheet","flatten","props","style","opacity","Animated","Value","setOpacityTo","value","duration","timing","toValue","easing","Easing","inOut","quad","useNativeDriver","start","onStateChange","from","to","TOUCHABLE_STATE","BEGAN","activeOpacity","UNDETERMINED","MOVED_OUTSIDE","rest","children","Component","defaultProps","GenericTouchable","propTypes","publicPropTypes","PropTypes","any","number"],"mappings":"w0CACA,6EACA,qDACA,6D,4xBAKqBA,CAAAA,gB,8cAanBC,+B,CAAkC,UAAM,CACtC,GAAMC,CAAAA,UAAU,CAAGC,oBAAWC,OAAX,CAAmB,MAAKC,KAAL,CAAWC,KAA9B,GAAwC,EAA3D,CACA,MAAOJ,CAAAA,UAAU,CAACK,OAAX,EAAsB,IAAtB,CAA6B,CAA7B,CAAiCL,UAAU,CAACK,OAAnD,CACD,C,OAEDA,O,CAAU,GAAIC,mBAASC,KAAb,CAAmB,MAAKR,+BAAL,EAAnB,C,OAEVS,Y,CAAe,SAACC,KAAD,CAAQC,QAAR,CAAqB,CAClCJ,kBAASK,MAAT,CAAgB,MAAKN,OAArB,CAA8B,CAC5BO,OAAO,CAAEH,KADmB,CAE5BC,QAAQ,CAAEA,QAFkB,CAG5BG,MAAM,CAAEC,gBAAOC,KAAP,CAAaD,gBAAOE,IAApB,CAHoB,CAI5BC,eAAe,CAAE,IAJW,CAA9B,EAKGC,KALH,GAMD,C,OAEDC,a,CAAgB,SAACC,IAAD,CAAOC,EAAP,CAAc,CAC5B,GAAIA,EAAE,GAAKC,kCAAgBC,KAA3B,CAAkC,CAChC,MAAKf,YAAL,CAAkB,MAAKL,KAAL,CAAWqB,aAA7B,CAA4C,CAA5C,EACD,CAFD,IAEO,IACLH,EAAE,GAAKC,kCAAgBG,YAAvB,EACAJ,EAAE,GAAKC,kCAAgBI,aAFlB,CAGL,CACA,MAAKlB,YAAL,CAAkB,MAAKT,+BAAL,EAAlB,CAA0D,GAA1D,EACD,CACF,C,gGAEQ,iBACyB,KAAKI,KAD9B,+BACCC,KADD,CACCA,KADD,4BACS,EADT,mBACgBuB,IADhB,8DAEP,MACE,8BAAC,yBAAD,0BACMA,IADN,EAEE,KAAK,CAAE,CACLvB,KADK,CAEL,CACEC,OAAO,CAAE,KAAKA,OADhB,CAFK,CAFT,CAQE,aAAa,CAAE,KAAKc,aARtB,GASG,KAAKhB,KAAL,CAAWyB,QAAX,CAAsB,KAAKzB,KAAL,CAAWyB,QAAjC,CAA4C,6BAAC,aAAD,MAT/C,CADF,CAaD,C,8BAvD2CC,gB,mCAAzB/B,gB,CACZgC,Y,kBACFC,0BAAiBD,Y,EACpBN,aAAa,CAAE,G,GAHE1B,gB,CAMZkC,S,kBACFD,0BAAiBE,e,EACpB7B,KAAK,CAAE8B,mBAAUC,G,CACjBX,aAAa,CAAEU,mBAAUE,M","sourcesContent":["import { Animated, Easing, StyleSheet, View } from 'react-native';\nimport GenericTouchable, { TOUCHABLE_STATE } from './GenericTouchable';\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * TouchableOpacity bases on timing animation which has been used in RN's core\n */\nexport default class TouchableOpacity extends Component {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.2,\n };\n\n static propTypes = {\n ...GenericTouchable.publicPropTypes,\n style: PropTypes.any,\n activeOpacity: PropTypes.number,\n };\n\n // opacity is 1 one by default but could be overwritten\n getChildStyleOpacityWithDefault = () => {\n const childStyle = StyleSheet.flatten(this.props.style) || {};\n return childStyle.opacity == null ? 1 : childStyle.opacity;\n };\n\n opacity = new Animated.Value(this.getChildStyleOpacityWithDefault());\n\n setOpacityTo = (value, duration) => {\n Animated.timing(this.opacity, {\n toValue: value,\n duration: duration,\n easing: Easing.inOut(Easing.quad),\n useNativeDriver: true,\n }).start();\n };\n\n onStateChange = (from, to) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.setOpacityTo(this.props.activeOpacity, 0);\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.setOpacityTo(this.getChildStyleOpacityWithDefault(), 150);\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n return (\n <GenericTouchable\n {...rest}\n style={[\n style,\n {\n opacity: this.opacity,\n },\n ]}\n onStateChange={this.onStateChange}>\n {this.props.children ? this.props.children : <View />}\n </GenericTouchable>\n );\n }\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _core=require(\"@unimodules/core\");var _invariant=_interopRequireDefault(require(\"invariant\"));var _Dimensions=_interopRequireDefault(require(\"react-native-web/dist/exports/Dimensions\"));function getBasePath(_ref){var httpServerLocation=_ref.httpServerLocation;if(httpServerLocation[0]==='/'){return httpServerLocation.substr(1);}return httpServerLocation;}function getScale(){return _Dimensions.default.get('window').scale;}function getScaledAssetPath(asset){var scale=AssetSourceResolver.pickScale(asset.scales,getScale());var scaleSuffix=scale===1?'':'@'+scale+'x';var assetDir=getBasePath(asset);return assetDir+'/'+asset.name+scaleSuffix+'.'+asset.type;}var AssetSourceResolver=function(){function AssetSourceResolver(serverUrl,jsbundleUrl,asset){(0,_classCallCheck2.default)(this,AssetSourceResolver);this.serverUrl=serverUrl;this.jsbundleUrl=jsbundleUrl;this.asset=asset;}(0,_createClass2.default)(AssetSourceResolver,[{key:\"isLoadedFromServer\",value:function isLoadedFromServer(){return!!this.serverUrl;}},{key:\"isLoadedFromFileSystem\",value:function isLoadedFromFileSystem(){return!!(this.jsbundleUrl&&this.jsbundleUrl.startsWith('file://'));}},{key:\"defaultAsset\",value:function defaultAsset(){if(this.isLoadedFromServer()){return this.assetServerURL();}return this.scaledAssetURLNearBundle();}},{key:\"assetServerURL\",value:function assetServerURL(){(0,_invariant.default)(!!this.serverUrl,'need server to load from');return this.fromSource(this.serverUrl+getScaledAssetPath(this.asset)+'?platform='+_core.Platform.OS+'&hash='+this.asset.hash);}},{key:\"scaledAssetPath\",value:function scaledAssetPath(){return this.fromSource(getScaledAssetPath(this.asset));}},{key:\"scaledAssetURLNearBundle\",value:function scaledAssetURLNearBundle(){var path=this.jsbundleUrl||'file://';return this.fromSource(path+getScaledAssetPath(this.asset));}},{key:\"resourceIdentifierWithoutScale\",value:function resourceIdentifierWithoutScale(){throw new _core.UnavailabilityError('react-native','resourceIdentifierWithoutScale()');}},{key:\"drawableFolderInBundle\",value:function drawableFolderInBundle(){throw new _core.UnavailabilityError('react-native','drawableFolderInBundle()');}},{key:\"fromSource\",value:function fromSource(source){return{__packager_asset:true,width:this.asset.width,height:this.asset.height,uri:source,scale:AssetSourceResolver.pickScale(this.asset.scales,getScale())};}}],[{key:\"pickScale\",value:function pickScale(scales,deviceScale){for(var i=0;i<scales.length;i++){if(scales[i]>=deviceScale){return scales[i];}}return scales[scales.length-1]||1;}}]);return AssetSourceResolver;}();exports.default=AssetSourceResolver;","map":{"version":3,"sources":["../src/AssetSourceResolver.web.ts"],"names":[],"mappings":"yVAAA,sCACA,4D,4FAeA,QAAS,CAAA,WAAT,MAA0D,IAAnC,CAAA,kBAAmC,MAAnC,kBAAmC,CACxD,GAAI,kBAAkB,CAAC,CAAD,CAAlB,GAA0B,GAA9B,CAAmC,CACjC,MAAO,CAAA,kBAAkB,CAAC,MAAnB,CAA0B,CAA1B,CAAP,CACD,CACD,MAAO,CAAA,kBAAP,CACD,CAUD,QAAS,CAAA,QAAT,EAAiB,CACf,MAAO,qBAAW,GAAX,CAAe,QAAf,EAAyB,KAAhC,CACD,CAED,QAAS,CAAA,kBAAT,CAA4B,KAA5B,CAAiC,CAC/B,GAAM,CAAA,KAAK,CAAG,mBAAmB,CAAC,SAApB,CAA8B,KAAK,CAAC,MAApC,CAA4C,QAAQ,EAApD,CAAd,CACA,GAAM,CAAA,WAAW,CAAG,KAAK,GAAK,CAAV,CAAc,EAAd,CAAmB,IAAM,KAAN,CAAc,GAArD,CACA,GAAM,CAAA,QAAQ,CAAG,WAAW,CAAC,KAAD,CAA5B,CACA,MAAO,CAAA,QAA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AAE,KAAK,KAAL,CAAW,KAFb,CAGL,MAAM,CAAE,KAAK,KAAL,CAAW,MAHd,CAIL,GAAG,CAAE,MAJA,CAKL,KAAK,CAAE,mBAAmB,CAAC,SAApB,CAA8B,KAAK,KAAL,CAAW,MAAzC,CAAiD,QAAQ,EAAzD,CALF,CAAP,CAOD,C,8CAEgB,M,CAAkB,W,CAAmB,CACpD,IAAK,GAAI,CAAA,CAAC,CAAG,CAAb,CAAgB,CAAC,CAAG,MAAM,CAAC,MAA3B,CAAmC,CAAC,EAApC,CAAwC,CACtC,GAAI,MAAM,CAAC,CAAD,CAAN,EAAa,WAAjB,CAA8B,CAC5B,MAAO,CAAA,MAAM,CAAC,CAAD,CAAb,CACD,CACF,CACD,MAAO,CAAA,MAAM,CAAC,MAAM,CAAC,MAAP,CAAgB,CAAjB,CAAN,EAA6B,CAApC,CACD,C","sourcesContent":["import { Platform, UnavailabilityError } from '@unimodules/core';\nimport invariant from 'invariant';\nimport { Dimensions } from 'react-native';\n\ntype PackagerAsset = {\n __packager_asset: boolean;\n fileSystemLocation: string;\n httpServerLocation: string;\n width?: number;\n height?: number;\n scales: number[];\n hash: string;\n name: string;\n type: string;\n};\n\nfunction getBasePath({ httpServerLocation }: PackagerAsset): string {\n if (httpServerLocation[0] === '/') {\n return httpServerLocation.substr(1);\n }\n return httpServerLocation;\n}\n\nexport type ResolvedAssetSource = {\n __packager_asset: boolean;\n width?: number;\n height?: number;\n uri: string;\n scale: number;\n};\n\nfunction getScale(): number {\n return Dimensions.get('window').scale;\n}\n\nfunction getScaledAssetPath(asset): string {\n const scale = AssetSourceResolver.pickScale(asset.scales, getScale());\n const scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n const assetDir = getBasePath(asset);\n return assetDir + '/' + asset.name + scaleSuffix + '.' + asset.type;\n}\n\nexport default class AssetSourceResolver {\n serverUrl?: string | null;\n // where the jsbundle is being run from\n jsbundleUrl?: string | null;\n // the asset to resolve\n asset: PackagerAsset;\n\n constructor(\n serverUrl: string | undefined | null,\n jsbundleUrl: string | undefined | null,\n asset: PackagerAsset\n ) {\n this.serverUrl = serverUrl;\n this.jsbundleUrl = jsbundleUrl;\n this.asset = asset;\n }\n isLoadedFromServer(): boolean {\n return !!this.serverUrl;\n }\n isLoadedFromFileSystem(): boolean {\n return !!(this.jsbundleUrl && this.jsbundleUrl.startsWith('file://'));\n }\n defaultAsset(): ResolvedAssetSource {\n if (this.isLoadedFromServer()) {\n return this.assetServerURL();\n }\n\n return this.scaledAssetURLNearBundle();\n }\n assetServerURL(): ResolvedAssetSource {\n invariant(!!this.serverUrl, 'need server to load from');\n return this.fromSource(\n this.serverUrl +\n getScaledAssetPath(this.asset) +\n '?platform=' +\n Platform.OS +\n '&hash=' +\n this.asset.hash\n );\n }\n scaledAssetPath(): ResolvedAssetSource {\n return this.fromSource(getScaledAssetPath(this.asset));\n }\n scaledAssetURLNearBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(path + getScaledAssetPath(this.asset));\n }\n resourceIdentifierWithoutScale(): ResolvedAssetSource {\n throw new UnavailabilityError('react-native', 'resourceIdentifierWithoutScale()');\n }\n drawableFolderInBundle(): ResolvedAssetSource {\n throw new UnavailabilityError('react-native', 'drawableFolderInBundle()');\n }\n fromSource(source: string): ResolvedAssetSource {\n return {\n __packager_asset: true,\n width: this.asset.width,\n height: this.asset.height,\n uri: source,\n scale: AssetSourceResolver.pickScale(this.asset.scales, getScale()),\n };\n }\n\n static pickScale(scales: number[], deviceScale: number): number {\n for (let i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n return scales[scales.length - 1] || 1;\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _UIManager=_interopRequireDefault(require(\"../UIManager\"));var NativeModules={UIManager:_UIManager.default};var _default=NativeModules;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/NativeModules/index.js"],"names":["NativeModules","UIManager"],"mappings":"mKAQA,+DAEA,GAAIA,CAAAA,aAAa,CAAG,CAClBC,SAAS,CAAEA,kBADO,CAApB,C,aAGeD,a","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport UIManager from '../UIManager'; // NativeModules shim\n\nvar NativeModules = {\n UIManager: UIManager\n};\nexport default NativeModules;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));var _NativeAnimatedHelper=_interopRequireDefault(require(\"../NativeAnimatedHelper\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedTransform=function(_AnimatedWithChildren){_inheritsLoose(AnimatedTransform,_AnimatedWithChildren);function AnimatedTransform(transforms){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._transforms=transforms;return _this;}var _proto=AnimatedTransform.prototype;_proto.__makeNative=function __makeNative(){_AnimatedWithChildren.prototype.__makeNative.call(this);this._transforms.forEach(function(transform){for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode.default){value.__makeNative();}}});};_proto.__getValue=function __getValue(){return this._transforms.map(function(transform){var result={};for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode.default){result[key]=value.__getValue();}else{result[key]=value;}}return result;});};_proto.__getAnimatedValue=function __getAnimatedValue(){return this._transforms.map(function(transform){var result={};for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode.default){result[key]=value.__getAnimatedValue();}else{result[key]=value;}}return result;});};_proto.__attach=function __attach(){var _this2=this;this._transforms.forEach(function(transform){for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode.default){value.__addChild(_this2);}}});};_proto.__detach=function __detach(){var _this3=this;this._transforms.forEach(function(transform){for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode.default){value.__removeChild(_this3);}}});_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){var transConfigs=[];this._transforms.forEach(function(transform){for(var key in transform){var value=transform[key];if(value instanceof _AnimatedNode.default){transConfigs.push({type:'animated',property:key,nodeTag:value.__getNativeTag()});}else{transConfigs.push({type:'static',property:key,value:value});}}});_NativeAnimatedHelper.default.validateTransform(transConfigs);return{type:'transform',transforms:transConfigs};};return AnimatedTransform;}(_AnimatedWithChildren2.default);var _default=AnimatedTransform;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedTransform.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedTransform","_AnimatedWithChildren","transforms","_this","call","_transforms","_proto","__makeNative","forEach","transform","key","value","AnimatedNode","__getValue","map","result","__getAnimatedValue","__attach","_this2","__addChild","__detach","_this3","__removeChild","__getNativeConfig","transConfigs","push","type","property","nodeTag","__getNativeTag","NativeAnimatedHelper","validateTransform","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,oEACA,qFACA,qFAJA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT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SAAhB,CAA2B,CACzB,GAAIE,CAAAA,KAAK,CAAGF,SAAS,CAACC,GAAD,CAArB,CAEA,GAAIC,KAAK,WAAYC,sBAArB,CAAmC,CACjCD,KAAK,CAACW,aAAN,CAAoBD,MAApB,EACD,CACF,CACF,CARD,EAUApB,qBAAqB,CAACN,SAAtB,CAAgCyB,QAAhC,CAAyChB,IAAzC,CAA8C,IAA9C,EACD,CAdD,CAgBAE,MAAM,CAACiB,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,GAAIC,CAAAA,YAAY,CAAG,EAAnB,CAEA,KAAKnB,WAAL,CAAiBG,OAAjB,CAAyB,SAAUC,SAAV,CAAqB,CAC5C,IAAK,GAAIC,CAAAA,GAAT,GAAgBD,CAAAA,SAAhB,CAA2B,CACzB,GAAIE,CAAAA,KAAK,CAAGF,SAAS,CAACC,GAAD,CAArB,CAEA,GAAIC,KAAK,WAAYC,sBAArB,CAAmC,CACjCY,YAAY,CAACC,IAAb,CAAkB,CAChBC,IAAI,CAAE,UADU,CAEhBC,QAAQ,CAAEjB,GAFM,CAGhBkB,OAAO,CAAEjB,KAAK,CAACkB,cAAN,EAHO,CAAlB,EAKD,CAND,IAMO,CACLL,YAAY,CAACC,IAAb,CAAkB,CAChBC,IAAI,CAAE,QADU,CAEhBC,QAAQ,CAAEjB,GAFM,CAGhBC,KAAK,CAAEA,KAHS,CAAlB,EAKD,CACF,CACF,CAlBD,EAoBAmB,8BAAqBC,iBAArB,CAAuCP,YAAvC,EACA,MAAO,CACLE,IAAI,CAAE,WADD,CAELxB,UAAU,CAAEsB,YAFP,CAAP,CAID,CA5BD,CA8BA,MAAOxB,CAAAA,iBAAP,CACD,CA7HD,CA6HEgC,8BA7HF,CAFA,C,aAiIehC,iB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\n\nvar AnimatedTransform =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedTransform, _AnimatedWithChildren);\n\n function AnimatedTransform(transforms) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._transforms = transforms;\n return _this;\n }\n\n var _proto = AnimatedTransform.prototype;\n\n _proto.__makeNative = function __makeNative() {\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n\n this._transforms.forEach(function (transform) {\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n });\n };\n\n _proto.__getValue = function __getValue() {\n return this._transforms.map(function (transform) {\n var result = {};\n\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n } else {\n result[key] = value;\n }\n }\n\n return result;\n });\n };\n\n _proto.__getAnimatedValue = function __getAnimatedValue() {\n return this._transforms.map(function (transform) {\n var result = {};\n\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n result[key] = value.__getAnimatedValue();\n } else {\n // All transform components needed to recompose matrix\n result[key] = value;\n }\n }\n\n return result;\n });\n };\n\n _proto.__attach = function __attach() {\n var _this2 = this;\n\n this._transforms.forEach(function (transform) {\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n value.__addChild(_this2);\n }\n }\n });\n };\n\n _proto.__detach = function __detach() {\n var _this3 = this;\n\n this._transforms.forEach(function (transform) {\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n value.__removeChild(_this3);\n }\n }\n });\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n var transConfigs = [];\n\n this._transforms.forEach(function (transform) {\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n transConfigs.push({\n type: 'animated',\n property: key,\n nodeTag: value.__getNativeTag()\n });\n } else {\n transConfigs.push({\n type: 'static',\n property: key,\n value: value\n });\n }\n }\n });\n\n NativeAnimatedHelper.validateTransform(transConfigs);\n return {\n type: 'transform',\n transforms: transConfigs\n };\n };\n\n return AnimatedTransform;\n}(AnimatedWithChildren);\n\nexport default AnimatedTransform;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var focusVisibleAttributeName='data-focusvisible-polyfill';var rule=\":focus:not([\"+focusVisibleAttributeName+\"]){outline: none;}\";var modality=function modality(insertRule){insertRule(rule);if(!_ExecutionEnvironment.canUseDOM){return;}var hadKeyboardEvent=true;var hadFocusVisibleRecently=false;var hadFocusVisibleRecentlyTimeout=null;var inputTypesWhitelist={text:true,search:true,url:true,tel:true,email:true,password:true,number:true,date:true,month:true,week:true,time:true,datetime:true,'datetime-local':true};function isValidFocusTarget(el){if(el&&el!==document&&el.nodeName!=='HTML'&&el.nodeName!=='BODY'&&'classList'in el&&'contains'in el.classList){return true;}return false;}function focusTriggersKeyboardModality(el){var type=el.type;var tagName=el.tagName;var isReadOnly=el.readOnly;if(tagName==='INPUT'&&inputTypesWhitelist[type]&&!isReadOnly){return true;}if(tagName==='TEXTAREA'&&!isReadOnly){return true;}if(el.isContentEditable){return true;}return false;}function addFocusVisibleAttribute(el){if(el.hasAttribute(focusVisibleAttributeName)){return;}el.setAttribute(focusVisibleAttributeName,true);}function removeFocusVisibleAttribute(el){el.removeAttribute(focusVisibleAttributeName);}function removeAllFocusVisibleAttributes(){var list=document.querySelectorAll(\"[\"+focusVisibleAttributeName+\"]\");for(var i=0;i<list.length;i+=1){removeFocusVisibleAttribute(list[i]);}}function onKeyDown(e){if(e.key!=='Tab'&&(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){return;}if(isValidFocusTarget(document.activeElement)){addFocusVisibleAttribute(document.activeElement);}hadKeyboardEvent=true;}function onPointerDown(e){if(hadKeyboardEvent===true){removeAllFocusVisibleAttributes();}hadKeyboardEvent=false;}function onFocus(e){if(!isValidFocusTarget(e.target)){return;}if(hadKeyboardEvent||focusTriggersKeyboardModality(e.target)){addFocusVisibleAttribute(e.target);}}function onBlur(e){if(!isValidFocusTarget(e.target)){return;}if(e.target.hasAttribute(focusVisibleAttributeName)){hadFocusVisibleRecently=true;window.clearTimeout(hadFocusVisibleRecentlyTimeout);hadFocusVisibleRecentlyTimeout=window.setTimeout(function(){hadFocusVisibleRecently=false;window.clearTimeout(hadFocusVisibleRecentlyTimeout);},100);removeFocusVisibleAttribute(e.target);}}function onVisibilityChange(e){if(document.visibilityState==='hidden'){if(hadFocusVisibleRecently){hadKeyboardEvent=true;}addInitialPointerMoveListeners();}}function addInitialPointerMoveListeners(){document.addEventListener('mousemove',onInitialPointerMove);document.addEventListener('mousedown',onInitialPointerMove);document.addEventListener('mouseup',onInitialPointerMove);document.addEventListener('pointermove',onInitialPointerMove);document.addEventListener('pointerdown',onInitialPointerMove);document.addEventListener('pointerup',onInitialPointerMove);document.addEventListener('touchmove',onInitialPointerMove);document.addEventListener('touchstart',onInitialPointerMove);document.addEventListener('touchend',onInitialPointerMove);}function removeInitialPointerMoveListeners(){document.removeEventListener('mousemove',onInitialPointerMove);document.removeEventListener('mousedown',onInitialPointerMove);document.removeEventListener('mouseup',onInitialPointerMove);document.removeEventListener('pointermove',onInitialPointerMove);document.removeEventListener('pointerdown',onInitialPointerMove);document.removeEventListener('pointerup',onInitialPointerMove);document.removeEventListener('touchmove',onInitialPointerMove);document.removeEventListener('touchstart',onInitialPointerMove);document.removeEventListener('touchend',onInitialPointerMove);}function onInitialPointerMove(e){if(e.target.nodeName==='HTML'){return;}hadKeyboardEvent=false;removeInitialPointerMoveListeners();}document.addEventListener('keydown',onKeyDown,true);document.addEventListener('mousedown',onPointerDown,true);document.addEventListener('pointerdown',onPointerDown,true);document.addEventListener('touchstart',onPointerDown,true);document.addEventListener('focus',onFocus,true);document.addEventListener('blur',onBlur,true);document.addEventListener('visibilitychange',onVisibilityChange,true);addInitialPointerMoveListeners();};var _default=modality;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/modality.js"],"names":["focusVisibleAttributeName","rule","modality","insertRule","canUseDOM","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","inputTypesWhitelist","text","search","url","tel","email","password","number","date","month","week","time","datetime","isValidFocusTarget","el","document","nodeName","classList","focusTriggersKeyboardModality","type","tagName","isReadOnly","readOnly","isContentEditable","addFocusVisibleAttribute","hasAttribute","setAttribute","removeFocusVisibleAttribute","removeAttribute","removeAllFocusVisibleAttributes","list","querySelectorAll","i","length","onKeyDown","e","key","metaKey","altKey","ctrlKey","shiftKey","activeElement","onPointerDown","onFocus","target","onBlur","window","clearTimeout","setTimeout","onVisibilityChange","visibilityState","addInitialPointerMoveListeners","addEventListener","onInitialPointerMove","removeInitialPointerMoveListeners","removeEventListener"],"mappings":"gFAmBA,mEACA,GAAIA,CAAAA,yBAAyB,CAAG,4BAAhC,CACA,GAAIC,CAAAA,IAAI,CAAG,eAAiBD,yBAAjB,CAA6C,oBAAxD,CAEA,GAAIE,CAAAA,QAAQ,CAAG,QAASA,CAAAA,QAAT,CAAkBC,UAAlB,CAA8B,CAC3CA,UAAU,CAACF,IAAD,CAAV,CAEA,GAAI,CAACG,+BAAL,CAAgB,CACd,OACD,CAED,GAAIC,CAAAA,gBAAgB,CAAG,IAAvB,CACA,GAAIC,CAAAA,uBAAuB,CAAG,KAA9B,CACA,GAAIC,CAAAA,8BAA8B,CAAG,IAArC,CACA,GAAIC,CAAAA,mBAAmB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mCT,OAAnC,CAA4C,IAA5C,EACA5B,QAAQ,CAACqC,gBAAT,CAA0B,MAA1B,CAAkCP,MAAlC,CAA0C,IAA1C,EACA9B,QAAQ,CAACqC,gBAAT,CAA0B,kBAA1B,CAA8CH,kBAA9C,CAAkE,IAAlE,EACAE,8BAA8B,GAC/B,CA9PD,C,aAgQezD,Q","sourcesContent":["/**\n * Adapts focus styles based on the user's active input modality (i.e., how\n * they are interacting with the UI right now).\n *\n * Focus styles are only relevant when using the keyboard to interact with the\n * page. If we only show the focus ring when relevant, we can avoid user\n * confusion without compromising accessibility.\n *\n * The script uses two heuristics to determine whether the keyboard is being used:\n *\n * 1. a keydown event occurred immediately before a focus event;\n * 2. a focus event happened on an element which requires keyboard interaction (e.g., a text field);\n *\n * This software or document includes material copied from or derived from https://github.com/WICG/focus-visible.\n * Copyright © 2018 W3C® (MIT, ERCIM, Keio, Beihang).\n * W3C Software Notice and License: https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nvar focusVisibleAttributeName = 'data-focusvisible-polyfill';\nvar rule = \":focus:not([\" + focusVisibleAttributeName + \"]){outline: none;}\";\n\nvar modality = function modality(insertRule) {\n insertRule(rule);\n\n if (!canUseDOM) {\n return;\n }\n\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n */\n\n function isValidFocusTarget(el) {\n if (el && el !== document && el.nodeName !== 'HTML' && el.nodeName !== 'BODY' && 'classList' in el && 'contains' in el.classList) {\n return true;\n }\n\n return false;\n }\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` attribute being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n */\n\n\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n var isReadOnly = el.readOnly;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !isReadOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !isReadOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n /**\n * Add the `focus-visible` attribute to the given element if it was not added by\n * the author.\n */\n\n\n function addFocusVisibleAttribute(el) {\n if (el.hasAttribute(focusVisibleAttributeName)) {\n return;\n }\n\n el.setAttribute(focusVisibleAttributeName, true);\n }\n /**\n * Remove the `focus-visible` attribute from the given element if it was not\n * originally added by the author.\n */\n\n\n function removeFocusVisibleAttribute(el) {\n el.removeAttribute(focusVisibleAttributeName);\n }\n /**\n * Remove the `focus-visible` attribute from all elements in the document.\n */\n\n\n function removeAllFocusVisibleAttributes() {\n var list = document.querySelectorAll(\"[\" + focusVisibleAttributeName + \"]\");\n\n for (var i = 0; i < list.length; i += 1) {\n removeFocusVisibleAttribute(list[i]);\n }\n }\n /**\n * Treat `keydown` as a signal that the user is in keyboard modality.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n */\n\n\n function onKeyDown(e) {\n if (e.key !== 'Tab' && (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)) {\n return;\n }\n\n if (isValidFocusTarget(document.activeElement)) {\n addFocusVisibleAttribute(document.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * It also avoids the situation where a user presses on an element within a\n * previously keyboard-focused element (i.e., `e.target` is not the previously\n * focused element, but one of its descendants) and we need to remove the\n * focus ring because a `blur` event doesn't occur.\n */\n\n\n function onPointerDown(e) {\n if (hadKeyboardEvent === true) {\n removeAllFocusVisibleAttributes();\n }\n\n hadKeyboardEvent = false;\n }\n /**\n * On `focus`, add the `focus-visible` attribute to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n */\n\n\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleAttribute(e.target);\n }\n }\n /**\n * On `blur`, remove the `focus-visible` attribute from the target.\n */\n\n\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (e.target.hasAttribute(focusVisibleAttributeName)) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {\n hadFocusVisibleRecently = false;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n }, 100);\n removeFocusVisibleAttribute(e.target);\n }\n }\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had the focus-visible attribute.\n */\n\n\n function onVisibilityChange(e) {\n if (document.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the attribute when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n\n addInitialPointerMoveListeners();\n }\n }\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n\n\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n */\n\n\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on <html> whenever the\n // window blurs, even if you're tabbing out of the page. ¯\\_(ツ)_/¯\n if (e.target.nodeName === 'HTML') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('focus', onFocus, true);\n document.addEventListener('blur', onBlur, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n addInitialPointerMoveListeners();\n};\n\nexport default modality;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _unmountComponentAtNode=_interopRequireDefault(require(\"../unmountComponentAtNode\"));var _renderApplication=_interopRequireWildcard(require(\"./renderApplication\"));function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var emptyObject={};var runnables={};var componentProviderInstrumentationHook=function componentProviderInstrumentationHook(component){return component();};var wrapperComponentProvider;var AppRegistry=function(){function AppRegistry(){}AppRegistry.getAppKeys=function getAppKeys(){return Object.keys(runnables);};AppRegistry.getApplication=function getApplication(appKey,appParameters){(0,_invariant.default)(runnables[appKey]&&runnables[appKey].getApplication,\"Application \"+appKey+\" has not been registered. \"+'This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.');return runnables[appKey].getApplication(appParameters);};AppRegistry.registerComponent=function registerComponent(appKey,componentProvider){runnables[appKey]={getApplication:function getApplication(appParameters){return(0,_renderApplication.getApplication)(componentProviderInstrumentationHook(componentProvider),appParameters?appParameters.initialProps:emptyObject,wrapperComponentProvider&&wrapperComponentProvider(appParameters));},run:function run(appParameters){return(0,_renderApplication.default)(componentProviderInstrumentationHook(componentProvider),appParameters.initialProps||emptyObject,appParameters.rootTag,wrapperComponentProvider&&wrapperComponentProvider(appParameters),appParameters.callback);}};return appKey;};AppRegistry.registerConfig=function registerConfig(config){config.forEach(function(_ref){var appKey=_ref.appKey,component=_ref.component,run=_ref.run;if(run){AppRegistry.registerRunnable(appKey,run);}else{(0,_invariant.default)(component,'No component provider passed in');AppRegistry.registerComponent(appKey,component);}});};AppRegistry.registerRunnable=function registerRunnable(appKey,run){runnables[appKey]={run:run};return appKey;};AppRegistry.runApplication=function runApplication(appKey,appParameters){var isDevelopment=process.env.NODE_ENV!=='production'&&process.env.NODE_ENV!=='test';if(isDevelopment){var params=_objectSpread({},appParameters);params.rootTag=\"#\"+params.rootTag.id;console.log(\"Running application \\\"\"+appKey+\"\\\" with appParams:\\n\",params,\"\\nDevelopment-level warnings: \"+(isDevelopment?'ON':'OFF')+\".\"+(\"\\nPerformance optimizations: \"+(isDevelopment?'OFF':'ON')+\".\"));}(0,_invariant.default)(runnables[appKey]&&runnables[appKey].run,\"Application \\\"\"+appKey+\"\\\" has not been registered. \"+'This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.');runnables[appKey].run(appParameters);};AppRegistry.setComponentProviderInstrumentationHook=function setComponentProviderInstrumentationHook(hook){componentProviderInstrumentationHook=hook;};AppRegistry.setWrapperComponentProvider=function setWrapperComponentProvider(provider){wrapperComponentProvider=provider;};AppRegistry.unmountApplicationComponentAtRootTag=function unmountApplicationComponentAtRootTag(rootTag){(0,_unmountComponentAtNode.default)(rootTag);};return AppRegistry;}();exports.default=AppRegistry;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/AppRegistry/index.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","emptyObject","runnables","componentProviderInstrumentationHook","component","wrapperComponentProvider","AppRegistry","getAppKeys","getApplication","appKey","appParameters","registerComponent","componentProvider","initialProps","run","rootTag","callback","registerConfig","config","_ref","registerRunnable","runApplication","isDevelopment","process","env","NODE_ENV","params","id","console","log","setComponentProviderInstrumentationHook","hook","setWrapperComponentProvider","provider","unmountApplicationComponentAtRootTag"],"mappings":"wPAaA,qEACA,yFACA,+EAfA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,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CAAiB,IAAMW,MAAM,CAACX,OAAP,CAAeY,EAAtC,CACAC,OAAO,CAACC,GAAR,CAAY,yBAA2BpB,MAA3B,CAAoC,sBAAhD,CAAwEiB,MAAxE,CAAgF,kCAAoCJ,aAAa,CAAG,IAAH,CAAU,KAA3D,EAAoE,GAApE,EAA2E,iCAAmCA,aAAa,CAAG,KAAH,CAAW,IAA3D,EAAmE,GAA9I,CAAhF,EACD,CAED,uBAAUpB,SAAS,CAACO,MAAD,CAAT,EAAqBP,SAAS,CAACO,MAAD,CAAT,CAAkBK,GAAjD,CAAsD,iBAAmBL,MAAnB,CAA4B,8BAA5B,CAA6D,+GAAnH,EACAP,SAAS,CAACO,MAAD,CAAT,CAAkBK,GAAlB,CAAsBJ,aAAtB,EACD,CAZD,CAcAJ,WAAW,CAACwB,uCAAZ,CAAsD,QAASA,CAAAA,uCAAT,CAAiDC,IAAjD,CAAuD,CAC3G5B,oCAAoC,CAAG4B,IAAvC,CACD,CAFD,CAIAzB,WAAW,CAAC0B,2BAAZ,CAA0C,QAASA,CAAAA,2BAAT,CAAqCC,QAArC,CAA+C,CACvF5B,wBAAwB,CAAG4B,QAA3B,CACD,CAFD,CAIA3B,WAAW,CAAC4B,oCAAZ,CAAmD,QAASA,CAAAA,oCAAT,CAA8CnB,OAA9C,CAAuD,CACxG,oCAAuBA,OAAvB,EACD,CAFD,CAIA,MAAOT,CAAAA,WAAP,CACD,CA1ED,EAFA,C","sourcesContent":["function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\nimport unmountComponentAtNode from '../unmountComponentAtNode';\nimport renderApplication, { getApplication as _getApplication } from './renderApplication';\nvar emptyObject = {};\nvar runnables = {};\n\nvar componentProviderInstrumentationHook = function componentProviderInstrumentationHook(component) {\n return component();\n};\n\nvar wrapperComponentProvider;\n\n/**\n * `AppRegistry` is the JS entry point to running all React Native apps.\n */\nvar AppRegistry =\n/*#__PURE__*/\nfunction () {\n function AppRegistry() {}\n\n AppRegistry.getAppKeys = function getAppKeys() {\n return Object.keys(runnables);\n };\n\n AppRegistry.getApplication = function getApplication(appKey, appParameters) {\n invariant(runnables[appKey] && runnables[appKey].getApplication, \"Application \" + appKey + \" has not been registered. \" + 'This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.');\n return runnables[appKey].getApplication(appParameters);\n };\n\n AppRegistry.registerComponent = function registerComponent(appKey, componentProvider) {\n runnables[appKey] = {\n getApplication: function getApplication(appParameters) {\n return _getApplication(componentProviderInstrumentationHook(componentProvider), appParameters ? appParameters.initialProps : emptyObject, wrapperComponentProvider && wrapperComponentProvider(appParameters));\n },\n run: function run(appParameters) {\n return renderApplication(componentProviderInstrumentationHook(componentProvider), appParameters.initialProps || emptyObject, appParameters.rootTag, wrapperComponentProvider && wrapperComponentProvider(appParameters), appParameters.callback);\n }\n };\n return appKey;\n };\n\n AppRegistry.registerConfig = function registerConfig(config) {\n config.forEach(function (_ref) {\n var appKey = _ref.appKey,\n component = _ref.component,\n run = _ref.run;\n\n if (run) {\n AppRegistry.registerRunnable(appKey, run);\n } else {\n invariant(component, 'No component provider passed in');\n AppRegistry.registerComponent(appKey, component);\n }\n });\n } // TODO: fix style sheet creation when using this method\n ;\n\n AppRegistry.registerRunnable = function registerRunnable(appKey, run) {\n runnables[appKey] = {\n run: run\n };\n return appKey;\n };\n\n AppRegistry.runApplication = function runApplication(appKey, appParameters) {\n var isDevelopment = process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test';\n\n if (isDevelopment) {\n var params = _objectSpread({}, appParameters);\n\n params.rootTag = \"#\" + params.rootTag.id;\n console.log(\"Running application \\\"\" + appKey + \"\\\" with appParams:\\n\", params, \"\\nDevelopment-level warnings: \" + (isDevelopment ? 'ON' : 'OFF') + \".\" + (\"\\nPerformance optimizations: \" + (isDevelopment ? 'OFF' : 'ON') + \".\"));\n }\n\n invariant(runnables[appKey] && runnables[appKey].run, \"Application \\\"\" + appKey + \"\\\" has not been registered. \" + 'This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.');\n runnables[appKey].run(appParameters);\n };\n\n AppRegistry.setComponentProviderInstrumentationHook = function setComponentProviderInstrumentationHook(hook) {\n componentProviderInstrumentationHook = hook;\n };\n\n AppRegistry.setWrapperComponentProvider = function setWrapperComponentProvider(provider) {\n wrapperComponentProvider = provider;\n };\n\n AppRegistry.unmountApplicationComponentAtRootTag = function unmountApplicationComponentAtRootTag(rootTag) {\n unmountComponentAtNode(rootTag);\n };\n\n return AppRegistry;\n}();\n\nexport { AppRegistry as default };"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"LinearGradient\",{enumerable:true,get:function get(){return _LinearGradient.default;}});var _LinearGradient=_interopRequireDefault(require(\"./LinearGradient\"));","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"kQAAA","sourcesContent":["export { default as LinearGradient } from './LinearGradient';\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _lineChart=_interopRequireDefault(require(\"./line-chart\"));var _lineChartGrouped=_interopRequireDefault(require(\"./line-chart-grouped\"));var LineChartGate=function LineChartGate(props){var data=props.data;if(data[0]&&data[0].hasOwnProperty('data')){return _react.default.createElement(_lineChartGrouped.default,props);}return _react.default.createElement(_lineChart.default,props);};var _default=LineChartGate;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/line-chart/index.js"],"names":["LineChartGate","props","data","hasOwnProperty"],"mappings":"mKAAA,oDACA,+DACA,8EAEA,GAAMA,CAAAA,aAAa,CAAG,QAAhBA,CAAAA,aAAgB,CAACC,KAAD,CAAW,IACrBC,CAAAA,IADqB,CACZD,KADY,CACrBC,IADqB,CAG7B,GAAIA,IAAI,CAAC,CAAD,CAAJ,EAAWA,IAAI,CAAC,CAAD,CAAJ,CAAQC,cAAR,CAAuB,MAAvB,CAAf,CAA+C,CAC3C,MAAO,8BAAC,yBAAD,CAAsBF,KAAtB,CAAP,CACH,CAED,MAAO,8BAAC,kBAAD,CAAeA,KAAf,CAAP,CACH,CARD,C,aAUeD,a","sourcesContent":["import React from 'react'\nimport LineChart from './line-chart'\nimport LineChartGrouped from './line-chart-grouped'\n\nconst LineChartGate = (props) => {\n const { data } = props\n\n if (data[0] && data[0].hasOwnProperty('data')) {\n return <LineChartGrouped {...props} />\n }\n\n return <LineChart {...props} />\n}\n\nexport default LineChartGate\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var Alert=function(){function Alert(){}Alert.alert=function alert(){};return Alert;}();var _default=Alert;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Alert/index.js"],"names":["Alert","alert"],"mappings":"gFAQA,GAAIA,CAAAA,KAAK,CAET,UAAY,CACV,QAASA,CAAAA,KAAT,EAAiB,CAAE,CAEnBA,KAAK,CAACC,KAAN,CAAc,QAASA,CAAAA,KAAT,EAAiB,CAAE,CAAjC,CAEA,MAAOD,CAAAA,KAAP,CACD,CAND,EAFA,C,aAUeA,K","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar Alert =\n/*#__PURE__*/\nfunction () {\n function Alert() {}\n\n Alert.alert = function alert() {};\n\n return Alert;\n}();\n\nexport default Alert;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _regenerator=_interopRequireDefault(require(\"@babel/runtime/regenerator\"));var _react=_interopRequireWildcard(require(\"react\"));var _Surface=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Surface\"));var _Text=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Typography/Text\"));var _Divider=_interopRequireDefault(require(\"react-native-paper/lib/module/components/Divider\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _reactRedux=require(\"react-redux\");var _search=require(\"../../reducers/search\");var _PromptSearchRate=_interopRequireDefault(require(\"../PromptSearch/PromptSearchRate\"));var RateLine=function RateLine(_ref){var load=_ref.load,pastScore=_ref.pastScore;(0,_react.useEffect)(function(){var get=function get(){return _regenerator.default.async(function get$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return _regenerator.default.awrap(load());case 2:case\"end\":return _context.stop();}}});};get();},[load]);return _react.default.createElement(_Surface.default,{style:styles.surface},pastScore.length?_react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_Text.default,{style:styles.info},\"\\uCD5C\\uADFC \\uC810\\uC218\"),_react.default.createElement(_View.default,{style:styles.scoreContainer},pastScore.map(function(elem,index){return _react.default.createElement(_Text.default,{key:index,style:styles.score},elem);})),_react.default.createElement(_View.default,{style:styles.detail},_react.default.createElement(_Text.default,{style:styles.new},\"\\uCD5C\\uADFC\"),_react.default.createElement(_Text.default,null)),_react.default.createElement(_Text.default,null,\"\\uB2F9\\uC2E0\\uC758 \\uCD5C\\uADFC \\uC810\\uC218 \\uD2B8\\uB80C\\uB4DC\\uC785\\uB2C8\\uB2E4\")):_react.default.createElement(_PromptSearchRate.default,null));};var styles=_StyleSheet.default.create({surface:{padding:8,flex:0.4,width:'95%',alignItems:'center',justifyContent:'center',elevation:2,marginTop:10,marginBottom:10},info:{fontSize:25,fontWeight:'bold',marginBottom:15},score:{fontSize:20},scoreContainer:{flexDirection:'row',justifyContent:'space-around',width:'100%'},detail:{width:'100%',justifyContent:'space-around'},new:{fontSize:18,marginLeft:20,color:'#995432'}});var RateLineContainer=function RateLineContainer(_ref2){var load=_ref2.load,pastScore=_ref2.pastScore;return _react.default.createElement(RateLine,{load:load,pastScore:pastScore});};var _default=(0,_reactRedux.connect)(function(_ref3){var search=_ref3.search;return{pastScore:search.pastScore};},{load:_search.load})(RateLineContainer);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/RateLine/RateLine.js"],"names":["RateLine","load","pastScore","get","styles","surface","length","info","scoreContainer","map","elem","index","score","detail","new","StyleSheet","create","padding","flex","width","alignItems","justifyContent","elevation","marginTop","marginBottom","fontSize","fontWeight","flexDirection","marginLeft","color","RateLineContainer","search"],"mappings":"uUAAA,qD,odAGA,uCACA,6CACA,0FAGA,GAAMA,CAAAA,QAAQ,CAAG,QAAXA,CAAAA,QAAW,MAAuB,IAArBC,CAAAA,IAAqB,MAArBA,IAAqB,CAAhBC,SAAgB,MAAhBA,SAAgB,CACpC,qBAAU,UAAI,CACV,GAAMC,CAAAA,GAAG,CAAG,QAANA,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,CAAC,MAHK,CAnBc,CAwB7BN,MAAM,CAAC,CACHM,KAAK,CAAC,MADH,CAEHE,cAAc,CAAC,cAFZ,CAxBsB,CA6B7BP,GAAG,CAAC,CACAW,QAAQ,CAAE,EADV,CAEAG,UAAU,CAAE,EAFZ,CAGAC,KAAK,CAAC,SAHN,CA7ByB,CAAlB,CAAf,CAoCA,GAAMC,CAAAA,iBAAiB,CAAG,QAApBA,CAAAA,iBAAoB,WAAG7B,CAAAA,IAAH,OAAGA,IAAH,CAAQC,SAAR,OAAQA,SAAR,OACtB,8BAAC,QAAD,EAAU,IAAI,CAAED,IAAhB,CAAsB,SAAS,CAAEC,SAAjC,EADsB,EAA1B,C,aAIe,wBACX,mBAAE6B,CAAAA,MAAF,OAAEA,MAAF,OAAa,CACT7B,SAAS,CAAC6B,MAAM,CAAC7B,SADR,CAAb,EADW,CAIX,CACID,IAAI,CAAJA,YADJ,CAJW,EAOb6B,iBAPa,C","sourcesContent":["import React, {useEffect} from 'react';\r\nimport { Surface, Text,Divider} from 'react-native-paper';\r\nimport { View,StyleSheet } from 'react-native';\r\nimport {connect} from 'react-redux';\r\nimport {load } from '../../reducers/search';\r\nimport PromptSearchRate from '../PromptSearch/PromptSearchRate';\r\n\r\n\r\nconst RateLine = ({load,pastScore }) => {\r\n useEffect(()=>{\r\n const get = async () => {\r\n await load();\r\n }\r\n get();\r\n }, [load]);\r\n\r\n return (\r\n <Surface style={styles.surface}>\r\n {pastScore.length ? \r\n <>\r\n <Text style={styles.info}>최근 점수</Text>\r\n <View style={styles.scoreContainer}>\r\n {pastScore.map((elem,index)=> (\r\n <Text key={index} style={styles.score}>{elem}</Text>\r\n ))} \r\n </View>\r\n <View style={styles.detail}><Text style={styles.new}>최근</Text><Text></Text></View>\r\n <Text>당신의 최근 점수 트렌드입니다</Text>\r\n </>\r\n : <PromptSearchRate />\r\n }\r\n </Surface>\r\n );\r\n}\r\n\r\n\r\n\r\nconst styles = StyleSheet.create({\r\n surface: {\r\n padding: 8,\r\n flex: 0.4,\r\n width: '95%',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n elevation: 2,\r\n marginTop: 10,\r\n marginBottom: 10,\r\n },\r\n info:{\r\n fontSize:25,\r\n fontWeight:'bold',\r\n marginBottom: 15\r\n },\r\n score:{\r\n fontSize:20\r\n },\r\n scoreContainer:{\r\n flexDirection:'row',\r\n justifyContent: 'space-around',\r\n width:'100%'\r\n },\r\n detail:{\r\n width:'100%',\r\n justifyContent:'space-around',\r\n \r\n },\r\n new:{\r\n fontSize: 18,\r\n marginLeft: 20,\r\n color:'#995432'\r\n }\r\n});\r\n\r\nconst RateLineContainer = ( {load,pastScore } ) => (\r\n <RateLine load={load} pastScore={pastScore} />\r\n);\r\n\r\nexport default connect(\r\n ({search})=>({\r\n pastScore:search.pastScore\r\n }),\r\n {\r\n load\r\n }\r\n)(RateLineContainer);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _StyleSheetPropType=_interopRequireDefault(require(\"../../modules/StyleSheetPropType\"));var _TextStylePropTypes=_interopRequireDefault(require(\"./TextStylePropTypes\"));var _propTypes=require(\"prop-types\");var TextPropTypes={accessibilityComponentType:_propTypes.string,accessibilityLabel:_propTypes.string,accessibilityLiveRegion:(0,_propTypes.oneOf)(['assertive','none','polite']),accessibilityRole:(0,_propTypes.oneOf)(['button','header','heading','label','link','listitem','none','text']),accessibilityTraits:(0,_propTypes.oneOfType)([_propTypes.array,_propTypes.string]),accessible:_propTypes.bool,children:_propTypes.any,importantForAccessibility:(0,_propTypes.oneOf)(['auto','no','no-hide-descendants','yes']),maxFontSizeMultiplier:_propTypes.number,nativeID:_propTypes.string,numberOfLines:_propTypes.number,onBlur:_propTypes.func,onFocus:_propTypes.func,onLayout:_propTypes.func,onPress:_propTypes.func,selectable:_propTypes.bool,style:(0,_StyleSheetPropType.default)(_TextStylePropTypes.default),testID:_propTypes.string,onContextMenu:_propTypes.func,itemID:_propTypes.string,itemRef:_propTypes.string,itemProp:_propTypes.string,itemScope:_propTypes.string,itemType:_propTypes.string};var _default=TextPropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Text/TextPropTypes.js"],"names":["TextPropTypes","accessibilityComponentType","string","accessibilityLabel","accessibilityLiveRegion","accessibilityRole","accessibilityTraits","array","accessible","bool","children","any","importantForAccessibility","maxFontSizeMultiplier","number","nativeID","numberOfLines","onBlur","func","onFocus","onLayout","onPress","selectable","style","TextStylePropTypes","testID","onContextMenu","itemID","itemRef","itemProp","itemScope","itemType"],"mappings":"mKASA,4FACA,gFACA,qCACA,GAAIA,CAAAA,aAAa,CAAG,CAClBC,0BAA0B,CAAEC,iBADV,CAElBC,kBAAkB,CAAED,iBAFF,CAGlBE,uBAAuB,CAAE,qBAAM,CAAC,WAAD,CAAc,MAAd,CAAsB,QAAtB,CAAN,CAHP,CAIlBC,iBAAiB,CAAE,qBAAM,CAAC,QAAD,CAAW,QAAX,CAAqB,SAArB,CAAgC,OAAhC,CAAyC,MAAzC,CAAiD,UAAjD,CAA6D,MAA7D,CAAqE,MAArE,CAAN,CAJD,CAKlBC,mBAAmB,CAAE,yBAAU,CAACC,gBAAD,CAAQL,iBAAR,CAAV,CALH,CAMlBM,UAAU,CAAEC,eANM,CAOlBC,QAAQ,CAAEC,cAPQ,CAQlBC,yBAAyB,CAAE,qBAAM,CAAC,MAAD,CAAS,IAAT,CAAe,qBAAf,CAAsC,KAAtC,CAAN,CART,CASlBC,qBAAqB,CAAEC,iBATL,CAUlBC,QAAQ,CAAEb,iBAVQ,CAWlBc,aAAa,CAAEF,iBAXG,CAYlBG,MAAM,CAAEC,eAZU,CAalBC,OAAO,CAAED,eAbS,CAclBE,QAAQ,CAAEF,eAdQ,CAelBG,OAAO,CAAEH,eAfS,CAgBlBI,UAAU,CAAEb,eAhBM,CAiBlBc,KAAK,CAAE,gCAAmBC,2BAAnB,CAjBW,CAkBlBC,MAAM,CAAEvB,iBAlBU,CAoBlBwB,aAAa,CAAER,eApBG,CAqBlBS,MAAM,CAAEzB,iBArBU,CAsBlB0B,OAAO,CAAE1B,iBAtBS,CAuBlB2B,QAAQ,CAAE3B,iBAvBQ,CAwBlB4B,SAAS,CAAE5B,iBAxBO,CAyBlB6B,QAAQ,CAAE7B,iBAzBQ,CAApB,C,aA2BeF,a","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport StyleSheetPropType from '../../modules/StyleSheetPropType';\nimport TextStylePropTypes from './TextStylePropTypes';\nimport { any, array, bool, func, number, oneOf, oneOfType, string } from 'prop-types';\nvar TextPropTypes = {\n accessibilityComponentType: string,\n accessibilityLabel: string,\n accessibilityLiveRegion: oneOf(['assertive', 'none', 'polite']),\n accessibilityRole: oneOf(['button', 'header', 'heading', 'label', 'link', 'listitem', 'none', 'text']),\n accessibilityTraits: oneOfType([array, string]),\n accessible: bool,\n children: any,\n importantForAccessibility: oneOf(['auto', 'no', 'no-hide-descendants', 'yes']),\n maxFontSizeMultiplier: number,\n nativeID: string,\n numberOfLines: number,\n onBlur: func,\n onFocus: func,\n onLayout: func,\n onPress: func,\n selectable: bool,\n style: StyleSheetPropType(TextStylePropTypes),\n testID: string,\n // web extensions\n onContextMenu: func,\n itemID: string,\n itemRef: string,\n itemProp: string,\n itemScope: string,\n itemType: string\n};\nexport default TextPropTypes;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var emptyFunction=require('fbjs/lib/emptyFunction');var warnValidStyle=emptyFunction;if(process.env.NODE_ENV!=='production'){var getComponentName=function getComponentName(instanceOrFiber){if(typeof instanceOrFiber.getName==='function'){var instance=instanceOrFiber;return instance.getName();}if(typeof instanceOrFiber.tag==='number'){var fiber=instanceOrFiber;var type=fiber.type;if(typeof type==='string'){return type;}if(typeof type==='function'){return type.displayName||type.name;}}return null;};var camelizeStyleName=require('fbjs/lib/camelizeStyleName');var warning=require('fbjs/lib/warning');var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/;var badStyleValueWithSemicolonPattern=/;\\s*$/;var warnedStyleNames={};var warnedStyleValues={};var warnedForNaNValue=false;var warnedForInfinityValue=false;var warnHyphenatedStyleName=function warnHyphenatedStyleName(name,owner){if(warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]){return;}warnedStyleNames[name]=true;warning(false,'Unsupported style property %s. Did you mean %s?%s',name,camelizeStyleName(name),checkRenderMessage(owner));};var warnBadVendoredStyleName=function warnBadVendoredStyleName(name,owner){if(warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]){return;}warnedStyleNames[name]=true;warning(false,'Unsupported vendor-prefixed style property %s. Did you mean %s?%s',name,name.charAt(0).toUpperCase()+name.slice(1),checkRenderMessage(owner));};var warnStyleValueWithSemicolon=function warnStyleValueWithSemicolon(name,value,owner){if(warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]){return;}warnedStyleValues[value]=true;warning(false,\"Style property values shouldn't contain a semicolon.%s \"+'Try \"%s: %s\" instead.',checkRenderMessage(owner),name,value.replace(badStyleValueWithSemicolonPattern,''));};var warnStyleValueIsNaN=function warnStyleValueIsNaN(name,value,owner){if(warnedForNaNValue){return;}warnedForNaNValue=true;warning(false,'`NaN` is an invalid value for the `%s` css style property.%s',name,checkRenderMessage(owner));};var warnStyleValueIsInfinity=function warnStyleValueIsInfinity(name,value,owner){if(warnedForInfinityValue){return;}warnedForInfinityValue=true;warning(false,'`Infinity` is an invalid value for the `%s` css style property.%s',name,checkRenderMessage(owner));};var checkRenderMessage=function checkRenderMessage(owner){var ownerName;if(owner!=null){ownerName=getComponentName(owner);}else{}if(ownerName){return'\\n\\nCheck the render method of `'+ownerName+'`.';}return'';};warnValidStyle=function warnValidStyle(name,value,component){var owner;if(component){}if(name.indexOf('-')>-1){warnHyphenatedStyleName(name,owner);}else if(badVendoredStyleNamePattern.test(name)){warnBadVendoredStyleName(name,owner);}else if(badStyleValueWithSemicolonPattern.test(value)){warnStyleValueWithSemicolon(name,value,owner);}if(typeof value==='number'){if(isNaN(value)){warnStyleValueIsNaN(name,value,owner);}else if(!isFinite(value)){warnStyleValueIsInfinity(name,value,owner);}}};}var _default=warnValidStyle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-dom/warnValidStyle/index.js"],"names":["emptyFunction","require","warnValidStyle","process","env","NODE_ENV","getComponentName","instanceOrFiber","getName","instance","tag","fiber","type","displayName","name","camelizeStyleName","warning","badVendoredStyleNamePattern","badStyleValueWithSemicolonPattern","warnedStyleNames","warnedStyleValues","warnedForNaNValue","warnedForInfinityValue","warnHyphenatedStyleName","owner","hasOwnProperty","checkRenderMessage","warnBadVendoredStyleName","charAt","toUpperCase","slice","warnStyleValueWithSemicolon","value","replace","warnStyleValueIsNaN","warnStyleValueIsInfinity","ownerName","component","indexOf","test","isNaN","isFinite"],"mappings":"gFAWA,GAAIA,CAAAA,aAAa,CAAGC,OAAO,CAAC,wBAAD,CAA3B,CAEA,GAAIC,CAAAA,cAAc,CAAGF,aAArB,CAEA,GAAIG,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAA7B,CAA2C,CACzC,GAAIC,CAAAA,gBAAgB,CAAG,QAASA,CAAAA,gBAAT,CAA0BC,eAA1B,CAA2C,CAChE,GAAI,MAAOA,CAAAA,eAAe,CAACC,OAAvB,GAAmC,UAAvC,CAAmD,CAEjD,GAAIC,CAAAA,QAAQ,CAAGF,eAAf,CACA,MAAOE,CAAAA,QAAQ,CAACD,OAAT,EAAP,CACD,CAED,GAAI,MAAOD,CAAAA,e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T,KAAD,CAAb,CAAsB,CAC3BG,wBAAwB,CAACrB,IAAD,CAAOkB,KAAP,CAAcR,KAAd,CAAxB,CACD,CACF,CACF,CAtBD,CAuBD,C,aAEctB,c","sourcesContent":["/* eslint-disable */\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * From React 16.0.0\n * \n */\nvar emptyFunction = require('fbjs/lib/emptyFunction');\n\nvar warnValidStyle = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n var getComponentName = function getComponentName(instanceOrFiber) {\n if (typeof instanceOrFiber.getName === 'function') {\n // Stack reconciler\n var instance = instanceOrFiber;\n return instance.getName();\n }\n\n if (typeof instanceOrFiber.tag === 'number') {\n // Fiber reconciler\n var fiber = instanceOrFiber;\n var type = fiber.type;\n\n if (typeof type === 'string') {\n return type;\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name;\n }\n }\n\n return null;\n }; // 'msTransform' is correct, but the other prefixes should be capitalized\n\n\n var camelizeStyleName = require('fbjs/lib/camelizeStyleName');\n\n var warning = require('fbjs/lib/warning');\n\n var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/; // style values shouldn't contain a semicolon\n\n var badStyleValueWithSemicolonPattern = /;\\s*$/;\n var warnedStyleNames = {};\n var warnedStyleValues = {};\n var warnedForNaNValue = false;\n var warnedForInfinityValue = false;\n\n var warnHyphenatedStyleName = function warnHyphenatedStyleName(name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n warning(false, 'Unsupported style property %s. Did you mean %s?%s', name, camelizeStyleName(name), checkRenderMessage(owner));\n };\n\n var warnBadVendoredStyleName = function warnBadVendoredStyleName(name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?%s', name, name.charAt(0).toUpperCase() + name.slice(1), checkRenderMessage(owner));\n };\n\n var warnStyleValueWithSemicolon = function warnStyleValueWithSemicolon(name, value, owner) {\n if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {\n return;\n }\n\n warnedStyleValues[value] = true;\n warning(false, \"Style property values shouldn't contain a semicolon.%s \" + 'Try \"%s: %s\" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, ''));\n };\n\n var warnStyleValueIsNaN = function warnStyleValueIsNaN(name, value, owner) {\n if (warnedForNaNValue) {\n return;\n }\n\n warnedForNaNValue = true;\n warning(false, '`NaN` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner));\n };\n\n var warnStyleValueIsInfinity = function warnStyleValueIsInfinity(name, value, owner) {\n if (warnedForInfinityValue) {\n return;\n }\n\n warnedForInfinityValue = true;\n warning(false, '`Infinity` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner));\n };\n\n var checkRenderMessage = function checkRenderMessage(owner) {\n var ownerName;\n\n if (owner != null) {\n // Stack passes the owner manually all the way to CSSPropertyOperations.\n ownerName = getComponentName(owner);\n } else {// Fiber doesn't pass it but uses ReactDebugCurrentFiber to track it.\n // It is only enabled in development and tracks host components too.\n // var {getCurrentFiberOwnerName} = require('ReactDebugCurrentFiber');\n // ownerName = getCurrentFiberOwnerName();\n // TODO: also report the stack.\n }\n\n if (ownerName) {\n return '\\n\\nCheck the render method of `' + ownerName + '`.';\n }\n\n return '';\n };\n\n warnValidStyle = function warnValidStyle(name, value, component) {\n var owner;\n\n if (component) {// TODO: this only works with Stack. Seems like we need to add unit tests?\n // owner = component._currentElement._owner;\n }\n\n if (name.indexOf('-') > -1) {\n warnHyphenatedStyleName(name, owner);\n } else if (badVendoredStyleNamePattern.test(name)) {\n warnBadVendoredStyleName(name, owner);\n } else if (badStyleValueWithSemicolonPattern.test(value)) {\n warnStyleValueWithSemicolon(name, value, owner);\n }\n\n if (typeof value === 'number') {\n if (isNaN(value)) {\n warnStyleValueIsNaN(name, value, owner);\n } else if (!isFinite(value)) {\n warnStyleValueIsInfinity(name, value, owner);\n }\n }\n };\n}\n\nexport default warnValidStyle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var assistance=[[\"완벽해요!\",\"키워드가 완벽해요!\",\"맞춤법을 신경써주세요.\",\"세종대왕님이 울고 계십니다.\"],[\"맞춤법이 완벽해요!\",\"훌륭하지만 맞춤법과 키워드 둘 다 완벽하지는 않네요.\",\"맞춤법이 부족하지만 키워드를 잘 찾으시네요.\",\"세종대왕님이 울고 계십니다.\"],[\"키워드를 신경써주세요.\",\"키워드가 부족하지만 맞춤법을 잘 맞추시네요.\",\"키워드와 맞춤법 둘 다 부족하시네요.\",\"둘 다 부족하지만 키워드가 조금 더 낫네요.\"],[\"키워드 점수가 많이 부족하십니다.\",\"키워드 점수가 많이 부족하십니다.\",\"둘 다 부족하지만 맞춤법이 조금 더 낫네요.\",\"개선이 많이 필요해 보입니다.\"]];var getComment=function getComment(fixScore,keywordScore){var fixPos,morpPos;if(fixScore==30){fixPos=0;}else if(fixScore>=25&&fixScore<30){fixPos=1;}else if(fixScore>=15&&fixScore<25){fixPos=2;}else{fixPos=3;}if(keywordScore==70){morpPos=0;}else if(keywordScore>=55&&keywordScore<69){morpPos=1;}else if(keywordScore>=30&&keywordScore<54){morpPos=2;}else{morpPos=3;}return assistance[morpPos][fixPos];};var _default=scoring=function scoring(return_data){if(return_data.originalText){var Text=return_data.originalText,lenNeed=return_data.morps.needMorp.length,lenNoNeed=return_data.morps.noNeedMorp.length,fixedText;try{fixedText=/span class=\\'result_underline\\'>(.*?)<\\/span>/g.exec(return_data.korean.origin_html)[1];}catch(err){fixedText=\"\";}var fixScore=Math.round((Text.length-fixedText.length)/Text.length*30),keywordScore=Math.round(lenNeed/(lenNoNeed+lenNeed)*70),fullScore=fixScore+keywordScore;var comment=getComment(fixScore,keywordScore);return{\"fix\":fixScore,\"key\":keywordScore,\"full\":fullScore,\"msg\":comment};}else{return{\"fix\":0,\"key\":0,\"full\":0,\"msg\":''};}};exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/lib/scoring.js"],"names":["assistance","getComment","fixScore","keywordScore","fixPos","morpPos","scoring","return_data","originalText","Text","lenNeed","morps","needMorp","length","lenNoNeed","noNeedMorp","fixedText","exec","korean","origin_html","err","Math","round","fullScore","comment"],"mappings":"gFAAA,GAAMA,CAAAA,UAAU,CAAG,CACf,CAAC,OAAD,CAAS,YAAT,CAAsB,cAAtB,CAAqC,iBAArC,CADe,CAEf,CAAC,YAAD,CAAc,+BAAd,CAA8C,0BAA9C,CAAyE,iBAAzE,CAFe,CAGf,CAAC,cAAD,CAAgB,0BAAhB,CAA2C,sBAA3C,CAAkE,0BAAlE,CAHe,CAIf,CAAC,oBAAD,CAAsB,oBAAtB,CAA2C,0BAA3C,CAAsE,kBAAtE,CAJe,CAAnB,CAOA,GAAMC,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,CAAEC,QAAF,CAAYC,YAAZ,CAA8B,CAC7C,GAAIC,CAAAA,MAAJ,CAAYC,OAAZ,CACA,GAAIH,QAAQ,EAAI,EAAhB,CAAqB,CACjBE,MAAM,CAAG,CAAT,CACH,CAFD,IAEO,IAAIF,QAAQ,EAAI,EAAZ,EAAkBA,QAAQ,CAAG,EAAjC,CAAsC,CACzCE,MAAM,CAAG,CAAT,CACH,CAFM,IAEA,IAAIF,QAAQ,EAAI,EAAZ,EAAkBA,QAAQ,CAAG,EAAjC,CAAsC,CACzCE,MAAM,CAAG,CAAT,CACH,CAFM,IAEA,CACHA,MAAM,CAAG,CAAT,CACH,CAED,GAAID,YAAY,EAAI,EAApB,CAAyB,CACrBE,OAAO,CAAG,CAAV,CACH,CAFD,IAEO,IAAIF,YAAY,EAAI,EAAhB,EAAsBA,YAAY,CAAG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K,CACD,MAAO,CAAE,MAAQ,CAAV,CAAa,MAAQ,CAArB,CAAwB,OAAS,CAAjC,CAAoC,MAAQ,EAA5C,CAAP,CACH,CACJ,C","sourcesContent":["const assistance = [ \r\n [\"완벽해요!\",\"키워드가 완벽해요!\",\"맞춤법을 신경써주세요.\",\"세종대왕님이 울고 계십니다.\"],\r\n [\"맞춤법이 완벽해요!\",\"훌륭하지만 맞춤법과 키워드 둘 다 완벽하지는 않네요.\",\"맞춤법이 부족하지만 키워드를 잘 찾으시네요.\",\"세종대왕님이 울고 계십니다.\"],\r\n [\"키워드를 신경써주세요.\",\"키워드가 부족하지만 맞춤법을 잘 맞추시네요.\",\"키워드와 맞춤법 둘 다 부족하시네요.\",\"둘 다 부족하지만 키워드가 조금 더 낫네요.\"],\r\n [\"키워드 점수가 많이 부족하십니다.\",\"키워드 점수가 많이 부족하십니다.\",\"둘 다 부족하지만 맞춤법이 조금 더 낫네요.\",\"개선이 많이 필요해 보입니다.\"]\r\n]\r\n\r\nconst getComment = ( fixScore, keywordScore ) => {\r\n let fixPos, morpPos;\r\n if( fixScore == 30 ) {\r\n fixPos = 0;\r\n } else if( fixScore >= 25 && fixScore < 30 ) {\r\n fixPos = 1;\r\n } else if( fixScore >= 15 && fixScore < 25 ) {\r\n fixPos = 2;\r\n } else {\r\n fixPos = 3;\r\n }\r\n\r\n if( keywordScore == 70 ) {\r\n morpPos = 0;\r\n } else if( keywordScore >= 55 && keywordScore < 69 ) {\r\n morpPos = 1;\r\n } else if( keywordScore >= 30 && keywordScore < 54 ){\r\n morpPos = 2;\r\n } else {\r\n morpPos = 3;\r\n }\r\n return assistance[morpPos][fixPos];\r\n}\r\n\r\nexport default scoring = ( return_data ) => {\r\n if(return_data.originalText){\r\n let Text = return_data.originalText,\r\n lenNeed = return_data.morps.needMorp.length,\r\n lenNoNeed = return_data.morps.noNeedMorp.length,\r\n fixedText;\r\n try {\r\n fixedText = /span class=\\'result_underline\\'>(.*?)<\\/span>/g.exec(return_data.korean.origin_html)[1]; \r\n }\r\n catch ( err ) {\r\n fixedText = \"\";\r\n }\r\n\r\n let fixScore = Math.round( ( ( Text.length - fixedText.length ) / Text.length ) * 30 ), \r\n keywordScore = Math.round( lenNeed / ( lenNoNeed + lenNeed ) * 70 ),\r\n fullScore = fixScore + keywordScore;\r\n\r\n let comment = getComment(fixScore,keywordScore);\r\n\r\n return { \"fix\" : fixScore, \"key\" : keywordScore, \"full\" : fullScore, \"msg\" : comment};\r\n }\r\n else {\r\n return { \"fix\" : 0, \"key\" : 0, \"full\" : 0, \"msg\" : ''} ;\r\n }\r\n}\r\n "]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _FontAwesome=_interopRequireDefault(require(\"./build/FontAwesome\"));var _default=_FontAwesome.default;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/FontAwesome.js"],"names":["FontAwesome"],"mappings":"mKAAA,wE,aACeA,oB","sourcesContent":["import FontAwesome from './build/FontAwesome';\nexport default FontAwesome;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ExecutionEnvironment=require(\"fbjs/lib/ExecutionEnvironment\");var _constants=require(\"./constants\");var _normalizeValueWithProperty=_interopRequireDefault(require(\"./normalizeValueWithProperty\"));var emptyObject={};var supportsCSS3TextDecoration=!_ExecutionEnvironment.canUseDOM||window.CSS!=null&&window.CSS.supports!=null&&(window.CSS.supports('text-decoration-line','none')||window.CSS.supports('-webkit-text-decoration-line','none'));var mapTransform=function mapTransform(transform){var type=Object.keys(transform)[0];var value=(0,_normalizeValueWithProperty.default)(transform[type],type);return type+\"(\"+value+\")\";};var convertTransformMatrix=function convertTransformMatrix(transformMatrix){var matrix=transformMatrix.join(',');return\"matrix3d(\"+matrix+\")\";};var resolveTransform=function resolveTransform(resolvedStyle,style){var transform=style.transform;if(Array.isArray(style.transform)){transform=style.transform.map(mapTransform).join(' ');}else if(style.transformMatrix){transform=convertTransformMatrix(style.transformMatrix);}resolvedStyle.transform=transform;};var createReactDOMStyle=function createReactDOMStyle(style){if(!style){return emptyObject;}var resolvedStyle={};Object.keys(style).sort().forEach(function(prop){var value=(0,_normalizeValueWithProperty.default)(style[prop],prop);if(value==null){return;}switch(prop){case'aspectRatio':case'elevation':case'overlayColor':case'resizeMode':case'tintColor':{break;}case'backgroundClip':{if(value==='text'){resolvedStyle.backgroundClip=value;resolvedStyle.WebkitBackgroundClip=value;}break;}case'flex':{if(value>0){resolvedStyle.flexGrow=value;resolvedStyle.flexShrink=1;resolvedStyle.flexBasis='0%';}else if(value===0){resolvedStyle.flexGrow=0;resolvedStyle.flexShrink=0;resolvedStyle.flexBasis='0%';}else if(value===-1){resolvedStyle.flexGrow=0;resolvedStyle.flexShrink=1;resolvedStyle.flexBasis='auto';}break;}case'font':{resolvedStyle[prop]=value.replace('System',_constants.SYSTEM_FONT_STACK);break;}case'fontFamily':{if(value.indexOf('System')>-1){var stack=value.split(/,\\s*/);stack[stack.indexOf('System')]=_constants.SYSTEM_FONT_STACK;resolvedStyle[prop]=stack.join(',');}else if(value==='monospace'){resolvedStyle[prop]=_constants.MONOSPACE_FONT_STACK;}else{resolvedStyle[prop]=value;}break;}case'fontVariant':{if(Array.isArray(value)&&value.length>0){resolvedStyle.fontVariant=value.join(' ');}break;}case'textAlignVertical':{resolvedStyle.verticalAlign=value==='center'?'middle':value;break;}case'textDecorationLine':{if(!supportsCSS3TextDecoration){resolvedStyle.textDecoration=value;}else{resolvedStyle.textDecorationLine=value;}break;}case'transform':case'transformMatrix':{resolveTransform(resolvedStyle,style);break;}case'writingDirection':{resolvedStyle.direction=value;break;}default:{var longFormProperties=_constants.STYLE_SHORT_FORM_EXPANSIONS[prop];if(longFormProperties){longFormProperties.forEach(function(longForm,i){if(typeof style[longForm]==='undefined'){resolvedStyle[longForm]=value;}});}else{resolvedStyle[prop]=Array.isArray(value)?value.join(','):value;}}}});return resolvedStyle;};var _default=createReactDOMStyle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/StyleSheet/createReactDOMStyle.js"],"names":["emptyObject","supportsCSS3TextDecoration","canUseDOM","window","CSS","supports","mapTransform","transform","type","Object","keys","value","convertTransformMatrix","transformMatrix","matrix","join","resolveTransform","resolvedStyle","style","Array","isArray","map","createReactDOMStyle","sort","forEach","prop","backgroundClip","WebkitBackgroundClip","flexGrow","flexShrink","flexBasis","replace","SYSTEM_FONT_STACK","indexOf","stack","split","MONOSPACE_FONT_STACK","length","fontVariant","verticalAlign","textDecoration","textDecorationLine","direction","longFormProperties","STYLE_SHORT_FORM_EXPANSIONS","longForm","i"],"mappings":"mKAQA,mEACA,sCACA,gGAYA,GAAIA,CAAAA,WAAW,CAAG,EAAlB,CACA,GAAIC,CAAAA,0BAA0B,CAAG,CAACC,+BAAD,EAAcC,MAAM,CAACC,GAAP,EAAc,IAAd,EAAsBD,MAAM,CAACC,GAAP,CAAWC,QAAX,EAAuB,IAA7C,GAAsDF,MAAM,CAACC,GAAP,CAAWC,QAAX,CAAoB,sBAApB,CAA4C,MAA5C,GAAuDF,MAAM,CAACC,GAAP,CAAWC,QAAX,CAAoB,8BAApB,CAAoD,MAApD,CAA7G,CAA/C,CAOA,GAAIC,CAAAA,YAAY,CAAG,QAASA,CAAAA,YAAT,CAAsBC,SAAtB,CAAiC,CAClD,GAAIC,CAAAA,IAAI,CAAGC,MAAM,CAACC,IAAP,CAAYH,SAAZ,EAAuB,CAAvB,CAAX,CACA,GAAII,CAAAA,KAAK,CAAG,wCAA2BJ,SAAS,CAACC,IAAD,CAApC,CAA4CA,IAA5C,CAAZ,CAC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T,KAAd,EAAuBA,KAAK,CAACI,IAAN,CAAW,GAAX,CAAvB,CAAyCJ,KAA/D,CACD,CACF,CAzHL,CA2HD,CAlID,EAmIA,MAAOM,CAAAA,aAAP,CACD,CA1ID,C,aA4IeK,mB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport { MONOSPACE_FONT_STACK, SYSTEM_FONT_STACK, STYLE_SHORT_FORM_EXPANSIONS } from './constants';\nimport normalizeValueWithProperty from './normalizeValueWithProperty';\n/**\n * The browser implements the CSS cascade, where the order of properties is a\n * factor in determining which styles to paint. React Native is different. It\n * gives giving precedence to the more specific style property. For example,\n * the value of `paddingTop` takes precedence over that of `padding`.\n *\n * This module creates mutally exclusive style declarations by expanding all of\n * React Native's supported shortform properties (e.g. `padding`) to their\n * longfrom equivalents.\n */\n\nvar emptyObject = {};\nvar supportsCSS3TextDecoration = !canUseDOM || window.CSS != null && window.CSS.supports != null && (window.CSS.supports('text-decoration-line', 'none') || window.CSS.supports('-webkit-text-decoration-line', 'none'));\n/**\n * Transform\n */\n// { scale: 2 } => 'scale(2)'\n// { translateX: 20 } => 'translateX(20px)'\n\nvar mapTransform = function mapTransform(transform) {\n var type = Object.keys(transform)[0];\n var value = normalizeValueWithProperty(transform[type], type);\n return type + \"(\" + value + \")\";\n}; // [1,2,3,4,5,6] => 'matrix3d(1,2,3,4,5,6)'\n\n\nvar convertTransformMatrix = function convertTransformMatrix(transformMatrix) {\n var matrix = transformMatrix.join(',');\n return \"matrix3d(\" + matrix + \")\";\n};\n\nvar resolveTransform = function resolveTransform(resolvedStyle, style) {\n var transform = style.transform;\n\n if (Array.isArray(style.transform)) {\n transform = style.transform.map(mapTransform).join(' ');\n } else if (style.transformMatrix) {\n transform = convertTransformMatrix(style.transformMatrix);\n }\n\n resolvedStyle.transform = transform;\n};\n/**\n * Reducer\n */\n\n\nvar createReactDOMStyle = function createReactDOMStyle(style) {\n if (!style) {\n return emptyObject;\n }\n\n var resolvedStyle = {};\n Object.keys(style).sort().forEach(function (prop) {\n var value = normalizeValueWithProperty(style[prop], prop); // Ignore everything else with a null value\n\n if (value == null) {\n return;\n }\n\n switch (prop) {\n // Ignore some React Native styles\n case 'aspectRatio':\n case 'elevation':\n case 'overlayColor':\n case 'resizeMode':\n case 'tintColor':\n {\n break;\n }\n // TODO: remove once this issue is fixed\n // https://github.com/rofrischmann/inline-style-prefixer/issues/159\n\n case 'backgroundClip':\n {\n if (value === 'text') {\n resolvedStyle.backgroundClip = value;\n resolvedStyle.WebkitBackgroundClip = value;\n }\n\n break;\n }\n // The 'flex' property value in React Native must be a positive integer,\n // 0, or -1.\n\n case 'flex':\n {\n if (value > 0) {\n resolvedStyle.flexGrow = value;\n resolvedStyle.flexShrink = 1;\n resolvedStyle.flexBasis = '0%';\n } else if (value === 0) {\n resolvedStyle.flexGrow = 0;\n resolvedStyle.flexShrink = 0;\n resolvedStyle.flexBasis = '0%';\n } else if (value === -1) {\n resolvedStyle.flexGrow = 0;\n resolvedStyle.flexShrink = 1;\n resolvedStyle.flexBasis = 'auto';\n }\n\n break;\n }\n\n case 'font':\n {\n resolvedStyle[prop] = value.replace('System', SYSTEM_FONT_STACK);\n break;\n }\n\n case 'fontFamily':\n {\n if (value.indexOf('System') > -1) {\n var stack = value.split(/,\\s*/);\n stack[stack.indexOf('System')] = SYSTEM_FONT_STACK;\n resolvedStyle[prop] = stack.join(',');\n } else if (value === 'monospace') {\n resolvedStyle[prop] = MONOSPACE_FONT_STACK;\n } else {\n resolvedStyle[prop] = value;\n }\n\n break;\n }\n\n case 'fontVariant':\n {\n if (Array.isArray(value) && value.length > 0) {\n resolvedStyle.fontVariant = value.join(' ');\n }\n\n break;\n }\n\n case 'textAlignVertical':\n {\n resolvedStyle.verticalAlign = value === 'center' ? 'middle' : value;\n break;\n }\n\n case 'textDecorationLine':\n {\n // use 'text-decoration' for browsers that only support CSS2\n // text-decoration (e.g., IE, Edge)\n if (!supportsCSS3TextDecoration) {\n resolvedStyle.textDecoration = value;\n } else {\n resolvedStyle.textDecorationLine = value;\n }\n\n break;\n }\n\n case 'transform':\n case 'transformMatrix':\n {\n resolveTransform(resolvedStyle, style);\n break;\n }\n\n case 'writingDirection':\n {\n resolvedStyle.direction = value;\n break;\n }\n\n default:\n {\n var longFormProperties = STYLE_SHORT_FORM_EXPANSIONS[prop];\n\n if (longFormProperties) {\n longFormProperties.forEach(function (longForm, i) {\n // The value of any longform property in the original styles takes\n // precedence over the shortform's value.\n if (typeof style[longForm] === 'undefined') {\n resolvedStyle[longForm] = value;\n }\n });\n } else {\n resolvedStyle[prop] = Array.isArray(value) ? value.join(',') : value;\n }\n }\n }\n });\n return resolvedStyle;\n};\n\nexport default createReactDOMStyle;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _TextInputState=_interopRequireDefault(require(\"../TextInputState\"));var dismissKeyboard=function dismissKeyboard(){_TextInputState.default.blurTextInput(_TextInputState.default.currentlyFocusedField());};var _default=dismissKeyboard;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/dismissKeyboard/index.js"],"names":["dismissKeyboard","TextInputState","blurTextInput","currentlyFocusedField"],"mappings":"mKAQA,yEAEA,GAAIA,CAAAA,eAAe,CAAG,QAASA,CAAAA,eAAT,EAA2B,CAC/CC,wBAAeC,aAAf,CAA6BD,wBAAeE,qBAAf,EAA7B,EACD,CAFD,C,aAIeH,e","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport TextInputState from '../TextInputState';\n\nvar dismissKeyboard = function dismissKeyboard() {\n TextInputState.blurTextInput(TextInputState.currentlyFocusedField());\n};\n\nexport default dismissKeyboard;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=exports.FA5Style=void 0;var _createIconSetFromFontAwesome=require(\"./createIconSetFromFontAwesome5\");var _FontAwesome5Free=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json\"));var _FontAwesome5Free_meta=_interopRequireDefault(require(\"./vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json\"));var fontMap={Regular:require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf\"),Light:require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf\"),Solid:require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf\"),Brand:require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf\")};var FA5Style={regular:'regular',light:'light',solid:'solid',brand:'brand'};exports.FA5Style=FA5Style;var iconSet=(0,_createIconSetFromFontAwesome.createFA5iconSet)(_FontAwesome5Free.default,_FontAwesome5Free_meta.default,fontMap,false);var _default=iconSet;exports.default=_default;","map":{"version":3,"sources":["../src/FontAwesome5.ts"],"names":[],"mappings":"oLAAA,6EAEA,4HACA,sIACA,GAAM,CAAA,OAAO,CAAG,CACd,OAAO,CAAE,OAAO,qEADF,CAEd,KAAK,CAAE,OAAO,qEAFA,CAGd,KAAK,CAAE,OAAO,mEAHA,CAId,KAAK,CAAE,OAAO,oEAJA,CAAhB,CAOO,GAAM,CAAA,QAAQ,CAAG,CACtB,OAAO,CAAE,SADa,CAEtB,KAAK,CAAE,OAFe,CAGtB,KAAK,CAAE,OAHe,CAItB,KAAK,CAAE,OAJe,CAAjB,C,0BAOP,GAAM,CAAA,OAAO,CAAG,mDAAiB,yBAAjB,CAA2B,8BAA3B,CAAqC,OAArC,CAA8C,KAA9C,CAAhB,C,aAEe,O","sourcesContent":["import { createFA5iconSet } from './createIconSetFromFontAwesome5';\n\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json';\nimport metadata from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json';\nconst fontMap = {\n Regular: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf'),\n Light: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf'),\n Solid: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf'),\n Brand: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf'),\n};\n\nexport const FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand',\n};\n\nconst iconSet = createFA5iconSet(glyphMap, metadata, fontMap, false);\n\nexport default iconSet;\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createHandler;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf5=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _TouchableWithoutFeedback=_interopRequireDefault(require(\"react-native-web/dist/exports/TouchableWithoutFeedback\"));var _State=_interopRequireDefault(require(\"./State\"));var _class,_temp;function handleHandlerStateChange(props,event,oldState,state){var enabled=props.enabled,onHandlerStateChange=props.onHandlerStateChange;if(enabled!==false&&onHandlerStateChange){var _event$nativeEvent=event.nativeEvent,x=_event$nativeEvent.locationX,y=_event$nativeEvent.locationY,absoluteX=_event$nativeEvent.pageX,absoluteY=_event$nativeEvent.pageY;onHandlerStateChange({nativeEvent:{oldState:oldState,state:state,x:x,y:y,absoluteX:absoluteX,absoluteY:absoluteY,pointerInside:true}});}}function handleFailed(props,event){handleHandlerStateChange(props,event,_State.default.ACTIVE,_State.default.FAILED);}function handleEnd(props,event){handleHandlerStateChange(props,event,_State.default.ACTIVE,_State.default.END);}function handleActivate(props,event){handleHandlerStateChange(props,event,_State.default.BEGAN,_State.default.ACTIVE);}function handleBegan(props,event){handleHandlerStateChange(props,event,_State.default.UNDETERMINED,_State.default.BEGAN);}var UnimplementedGestureHandler=function(_React$Component){(0,_inherits2.default)(UnimplementedGestureHandler,_React$Component);function UnimplementedGestureHandler(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,UnimplementedGestureHandler);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf5.default)(UnimplementedGestureHandler)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.setNativeProps=function(){};return _this;}(0,_createClass2.default)(UnimplementedGestureHandler,[{key:\"render\",value:function render(){return this.props.children;}}]);return UnimplementedGestureHandler;}(_react.default.Component);var handlers={NativeViewGestureHandler:function(_React$Component2){(0,_inherits2.default)(NativeViewGestureHandler,_React$Component2);function NativeViewGestureHandler(){(0,_classCallCheck2.default)(this,NativeViewGestureHandler);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf5.default)(NativeViewGestureHandler).apply(this,arguments));}(0,_createClass2.default)(NativeViewGestureHandler,[{key:\"render\",value:function render(){var children=this.props.children;return children;}}]);return NativeViewGestureHandler;}(_react.default.Component),TapGestureHandler:(_temp=_class=function(_React$Component3){(0,_inherits2.default)(TapGestureHandler,_React$Component3);function TapGestureHandler(){var _getPrototypeOf3;var _this2;(0,_classCallCheck2.default)(this,TapGestureHandler);for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2];}_this2=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf3=(0,_getPrototypeOf5.default)(TapGestureHandler)).call.apply(_getPrototypeOf3,[this].concat(args)));_this2.hasBegun=false;_this2.touchBank=[];_this2.timeout=null;_this2.clearState=function(){_this2.hasBegun=false;_this2.touchBank=[];window.clearTimeout(_this2.timeout);};_this2.handlePressIn=function(event){var maxDelayMs=_this2.props.maxDelayMs;if(!_this2.hasBegun){event.persist();_this2.hasBegun=true;handleBegan(_this2.props,event);_this2.timeout=window.setTimeout(function(){if(_this2.hasBegun){_this2.clearState();handleFailed(_this2.props,event);}},maxDelayMs);}};_this2.handlePressOut=function(event){var _event$touchHistory$t=event.touchHistory.touchBank,touchBank=_event$touchHistory$t===void 0?[]:_event$touchHistory$t;var _this2$props=_this2.props,maxDeltaX=_this2$props.maxDeltaX,maxDeltaY=_this2$props.maxDeltaY,maxDurationMs=_this2$props.maxDurationMs,numberOfTaps=_this2$props.numberOfTaps;_this2.touchBank=_this2.touchBank.concat(touchBank);var areTouchesValid=_this2.touchBank.every(function(touch){var currentPageX=touch.currentPageX,currentPageY=touch.currentPageY,currentTimeStamp=touch.currentTimeStamp,startPageX=touch.startPageX,startPageY=touch.startPageY,startTimeStamp=touch.startTimeStamp;if(startTimeStamp+maxDurationMs<currentTimeStamp){return false;}if(startPageX+maxDeltaX<currentPageX||startPageX-maxDeltaX>currentPageX){return false;}if(startPageY+maxDeltaY<currentPageY||startPageY-maxDeltaY>currentPageY){return false;}return true;});if(!areTouchesValid){_this2.clearState();handleFailed(_this2.props,event);}else if(_this2.touchBank.length>=numberOfTaps){handleActivate(_this2.props,event);_this2.clearState();handleEnd(_this2.props,event);}};return _this2;}(0,_createClass2.default)(TapGestureHandler,[{key:\"setNativeProps\",value:function setNativeProps(){}},{key:\"render\",value:function render(){var _this$props=this.props,children=_this$props.children,style=_this$props.style;return _react.default.createElement(_TouchableWithoutFeedback.default,{style:style,onPressIn:this.handlePressIn,onPressOut:this.handlePressOut},children);}}]);return TapGestureHandler;}(_react.default.Component),_class.defaultProps={numberOfTaps:1,maxDurationMs:500,maxDelayMs:500,minPointers:1,maxDeltaX:Number.MAX_SAFE_INTEGER,maxDeltaY:Number.MAX_SAFE_INTEGER,maxDist:Number.MAX_SAFE_INTEGER},_temp)};function createHandler(handlerName){var propTypes=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var Handler=function(_React$Component4){(0,_inherits2.default)(Handler,_React$Component4);function Handler(){var _getPrototypeOf4;var _this3;(0,_classCallCheck2.default)(this,Handler);for(var _len3=arguments.length,_args=new Array(_len3),_key3=0;_key3<_len3;_key3++){_args[_key3]=arguments[_key3];}_this3=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf4=(0,_getPrototypeOf5.default)(Handler)).call.apply(_getPrototypeOf4,[this].concat(_args)));_this3._refHandler=function(node){_this3._viewNode=node;};_this3.setNativeProps=function(){var _this3$_viewNode;(_this3$_viewNode=_this3._viewNode).setNativeProps.apply(_this3$_viewNode,arguments);};return _this3;}(0,_createClass2.default)(Handler,[{key:\"componentDidMount\",value:function componentDidMount(){if(!handlers[handlerName]){console.warn(handlerName+\" is not yet supported on web.\");}}},{key:\"render\",value:function render(){var Handler=handlers[handlerName]||UnimplementedGestureHandler;return _react.default.createElement(Handler,(0,_extends2.default)({ref:this._refHandler},this.props));}}]);return Handler;}(_react.default.Component);Handler.displayName=handlerName;Handler.propTypes=propTypes;return Handler;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/createHandler.web.js"],"names":["handleHandlerStateChange","props","event","oldState","state","enabled","onHandlerStateChange","nativeEvent","x","locationX","y","locationY","absoluteX","pageX","absoluteY","pageY","pointerInside","handleFailed","State","ACTIVE","FAILED","handleEnd","END","handleActivate","BEGAN","handleBegan","UNDETERMINED","UnimplementedGestureHandler","setNativeProps","children","React","Component","handlers","NativeViewGestureHandler","TapGestureHandler","hasBegun","touchBank","timeout","clearState","window","clearTimeout","handlePressIn","maxDelayMs","persist","setTimeout","handlePressOut","touchHistory","maxDeltaX","maxDeltaY","maxDurationMs","numberOfTaps","concat","areTouchesValid","every","touch","currentPageX","currentPageY","currentTimeStamp","startPageX","startPageY","startTimeStamp","length","style","defaultProps","minPointers","Number","MAX_SAFE_INTEGER","maxDist","createHandler","handlerName","propTypes","Handler","_refHandler","node","_viewNode","console","warn","displayName"],"mappings":"otBAAA,oD,wHAGA,sD,iBAEA,QAASA,CAAAA,wBAAT,CAAkCC,KAAlC,CAAyCC,KAAzC,CAAgDC,QAAhD,CAA0DC,KAA1D,CAAiE,IACvDC,CAAAA,OADuD,CACrBJ,KADqB,CACvDI,OADuD,CAC9CC,oBAD8C,CACrBL,KADqB,CAC9CK,oBAD8C,CAG/D,GAAID,OAAO,GAAK,KAAZ,EAAqBC,oBAAzB,CAA+C,wBAQzCJ,KARyC,CAE3CK,WAF2C,CAG9BC,CAH8B,oBAGzCC,SAHyC,CAI9BC,CAJ8B,oBAIzCC,SAJyC,CAKlCC,SALkC,oBAKzCC,KALyC,CAMlCC,SANkC,oBAMzCC,KANyC,CAU7CT,oBAAoB,CAAC,CACnBC,WAAW,CAAE,CACXJ,QAAQ,CAARA,QADW,CAEXC,KAAK,CAALA,KAFW,CAGXI,CAAC,CAADA,CAHW,CAIXE,CAAC,CAADA,CAJW,CAKXE,SAAS,CAATA,SALW,CAMXE,SAAS,CAATA,SANW,CAOXE,aAAa,CAAE,IAPJ,CADM,CAAD,CAApB,CAWD,CACF,CAED,QAASC,CAAAA,YAAT,CAAsBhB,KAAtB,CAA6BC,KAA7B,CAAoC,CAClCF,wBAAwB,CAACC,KAAD,CAAQC,KAAR,CAAegB,eAAMC,MAArB,CAA6BD,eAAME,MAAnC,CAAxB,CACD,CAED,QAASC,CAAAA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AQ,CAACqC,WAAD,CAAb,CAA4B,CAC1BM,OAAO,CAACC,IAAR,CAAgBP,WAAhB,kCACD,CACF,CAV8D,uCAoBtD,CACP,GAAME,CAAAA,OAAO,CAAGvC,QAAQ,CAACqC,WAAD,CAAR,EAAyB1C,2BAAzC,CAEA,MAAO,8BAAC,OAAD,wBAAS,GAAG,CAAE,KAAK6C,WAAnB,EAAoC,KAAKvE,KAAzC,EAAP,CACD,CAxB8D,qBAC3C6B,eAAMC,SADqC,EAC3DwC,OAD2D,CAExDM,WAFwD,CAE1CR,WAF0C,CAC3DE,OAD2D,CAIxDD,SAJwD,CAI5CA,SAJ4C,CA0BjE,MAAOC,CAAAA,OAAP,CACD","sourcesContent":["import React from 'react';\nimport { TouchableWithoutFeedback } from 'react-native';\n\nimport State from './State';\n\nfunction handleHandlerStateChange(props, event, oldState, state) {\n const { enabled, onHandlerStateChange } = props;\n\n if (enabled !== false && onHandlerStateChange) {\n const {\n nativeEvent: {\n locationX: x,\n locationY: y,\n pageX: absoluteX,\n pageY: absoluteY,\n },\n } = event;\n\n onHandlerStateChange({\n nativeEvent: {\n oldState,\n state,\n x,\n y,\n absoluteX,\n absoluteY,\n pointerInside: true,\n },\n });\n }\n}\n\nfunction handleFailed(props, event) {\n handleHandlerStateChange(props, event, State.ACTIVE, State.FAILED);\n}\n\nfunction handleEnd(props, event) {\n handleHandlerStateChange(props, event, State.ACTIVE, State.END);\n}\n\nfunction handleActivate(props, event) {\n handleHandlerStateChange(props, event, State.BEGAN, State.ACTIVE);\n}\n\nfunction handleBegan(props, event) {\n handleHandlerStateChange(props, event, State.UNDETERMINED, State.BEGAN);\n}\n\nclass UnimplementedGestureHandler extends React.Component {\n setNativeProps = () => {\n // Do nothing\n };\n\n render() {\n return this.props.children;\n }\n}\n\nconst handlers = {\n NativeViewGestureHandler: class NativeViewGestureHandler extends React.Component {\n render() {\n const { children } = this.props;\n\n return children;\n }\n },\n\n TapGestureHandler: class TapGestureHandler extends React.Component {\n static defaultProps = {\n numberOfTaps: 1,\n maxDurationMs: 500,\n maxDelayMs: 500,\n minPointers: 1,\n maxDeltaX: Number.MAX_SAFE_INTEGER,\n maxDeltaY: Number.MAX_SAFE_INTEGER,\n maxDist: Number.MAX_SAFE_INTEGER,\n };\n\n hasBegun = false;\n touchBank = [];\n timeout = null;\n\n setNativeProps() {}\n\n clearState = () => {\n this.hasBegun = false;\n this.touchBank = [];\n window.clearTimeout(this.timeout);\n };\n\n handlePressIn = event => {\n const { maxDelayMs } = this.props;\n\n if (!this.hasBegun) {\n event.persist();\n this.hasBegun = true;\n handleBegan(this.props, event);\n\n // Cancel if not finished in time\n this.timeout = window.setTimeout(() => {\n if (this.hasBegun) {\n this.clearState();\n handleFailed(this.props, event);\n }\n }, maxDelayMs);\n }\n };\n\n handlePressOut = event => {\n const {\n touchHistory: { touchBank = [] },\n } = event;\n const { maxDeltaX, maxDeltaY, maxDurationMs, numberOfTaps } = this.props;\n\n this.touchBank = this.touchBank.concat(touchBank);\n\n // Check if all touches are valid\n const areTouchesValid = this.touchBank.every(touch => {\n const {\n currentPageX,\n currentPageY,\n currentTimeStamp,\n startPageX,\n startPageY,\n startTimeStamp,\n } = touch;\n\n // Check if touch took longer than it may\n if (startTimeStamp + maxDurationMs < currentTimeStamp) {\n return false;\n }\n\n // Check if touch moved too far away\n if (\n startPageX + maxDeltaX < currentPageX ||\n startPageX - maxDeltaX > currentPageX\n ) {\n return false;\n }\n\n // Check if touch moved too far away\n if (\n startPageY + maxDeltaY < currentPageY ||\n startPageY - maxDeltaY > currentPageY\n ) {\n return false;\n }\n\n return true;\n });\n\n // Check if all touches were valid and the necessary number of touches was achieved\n if (!areTouchesValid) {\n this.clearState();\n handleFailed(this.props, event);\n } else if (this.touchBank.length >= numberOfTaps) {\n handleActivate(this.props, event);\n this.clearState();\n handleEnd(this.props, event);\n }\n };\n\n render() {\n const { children, style } = this.props;\n\n return (\n <TouchableWithoutFeedback\n style={style}\n onPressIn={this.handlePressIn}\n onPressOut={this.handlePressOut}>\n {children}\n </TouchableWithoutFeedback>\n );\n }\n },\n};\n\nexport default function createHandler(handlerName, propTypes = {}) {\n class Handler extends React.Component {\n static displayName = handlerName;\n\n static propTypes = propTypes;\n\n componentDidMount() {\n if (!handlers[handlerName]) {\n console.warn(`${handlerName} is not yet supported on web.`);\n }\n }\n\n _refHandler = node => {\n this._viewNode = node;\n };\n\n setNativeProps = (...args) => {\n this._viewNode.setNativeProps(...args);\n };\n\n render() {\n const Handler = handlers[handlerName] || UnimplementedGestureHandler;\n\n return <Handler ref={this._refHandler} {...this.props} />;\n }\n }\n return Handler;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _animatedPath=_interopRequireDefault(require(\"./animated-path\"));var _reactNativeSvg=_interopRequireWildcard(require(\"react-native-svg\"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var ProgressCircle=function(_PureComponent){(0,_inherits2.default)(ProgressCircle,_PureComponent);function ProgressCircle(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,ProgressCircle);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(ProgressCircle)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={height:0,width:0};return _this;}(0,_createClass2.default)(ProgressCircle,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"render\",value:function render(){var _this2=this;var _this$props=this.props,style=_this$props.style,progressColor=_this$props.progressColor,backgroundColor=_this$props.backgroundColor,strokeWidth=_this$props.strokeWidth,startAngle=_this$props.startAngle,endAngle=_this$props.endAngle,animate=_this$props.animate,animateDuration=_this$props.animateDuration,children=_this$props.children,cornerRadius=_this$props.cornerRadius;var progress=this.props.progress;var _this$state=this.state,height=_this$state.height,width=_this$state.width;var outerDiameter=Math.min(width,height);if(!isFinite(progress)||isNaN(progress)){progress=0;}var data=[{key:'rest',value:1-progress,color:backgroundColor},{key:'progress',value:progress,color:progressColor}];var pieSlices=shape.pie().value(function(d){return d.value;}).sort(function(a){return a.key==='rest'?1:-1;}).startAngle(startAngle).endAngle(endAngle)(data);var arcs=pieSlices.map(function(slice,index){return _objectSpread({},data[index],{},slice,{path:shape.arc().outerRadius(outerDiameter/2).innerRadius(outerDiameter/2-strokeWidth).startAngle(index===0?startAngle:slice.startAngle).endAngle(index===0?endAngle:slice.endAngle).cornerRadius(cornerRadius)()});});var extraProps={width:width,height:height};return _react.default.createElement(_View.default,{style:style,onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.createElement(_reactNativeSvg.G,{x:width/2,y:height/2},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}),arcs.map(function(shape,index){return _react.default.createElement(_animatedPath.default,{key:index,fill:shape.color,d:shape.path,animate:animate,animationDuration:animateDuration});}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}return null;}))));}}]);return ProgressCircle;}(_react.PureComponent);ProgressCircle.propTypes={progress:_propTypes.default.number.isRequired,style:_propTypes.default.any,progressColor:_propTypes.default.any,backgroundColor:_propTypes.default.any,strokeWidth:_propTypes.default.number,startAngle:_propTypes.default.number,endAngle:_propTypes.default.number,animate:_propTypes.default.bool,cornerRadius:_propTypes.default.number,animateDuration:_propTypes.default.number};ProgressCircle.defaultProps={progressColor:'black',backgroundColor:'#ECECEC',strokeWidth:5,startAngle:0,endAngle:Math.PI*2,cornerRadius:45};var _default=ProgressCircle;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/progress-circle.js"],"names":["ProgressCircle","state","height","width","event","nativeEvent","layout","setState","props","style","progressColor","backgroundColor","strokeWidth","startAngle","endAngle","animate","animateDuration","children","cornerRadius","progress","outerDiameter","Math","min","isFinite","isNaN","data","key","value","color","pieSlices","shape","pie","d","sort","a","arcs","map","slice","index","path","arc","outerRadius","innerRadius","extraProps","_onLayout","React","Children","child","belowChart","cloneElement","PureComponent","propTypes","PropTypes","number","isRequired","any","bool","defaultProps","P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,CAA3B,CAaArD,cAAc,CAACyD,YAAf,CAA8B,CAC1B/C,aAAa,CAAE,OADW,CAE1BC,eAAe,CAAE,SAFS,CAG1BC,WAAW,CAAE,CAHa,CAI1BC,UAAU,CAAE,CAJc,CAK1BC,QAAQ,CAAEO,IAAI,CAACqC,EAAL,CAAU,CALM,CAM1BxC,YAAY,CAAE,EANY,CAA9B,C,aASelB,c","sourcesContent":["import React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport PropTypes from 'prop-types'\nimport * as shape from 'd3-shape'\nimport Path from './animated-path'\nimport Svg, { G } from 'react-native-svg'\n\nclass ProgressCircle extends PureComponent {\n state = {\n height: 0,\n width: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n render() {\n const {\n style,\n progressColor,\n backgroundColor,\n strokeWidth,\n startAngle,\n endAngle,\n animate,\n animateDuration,\n children,\n cornerRadius,\n } = this.props\n\n let { progress } = this.props\n\n const { height, width } = this.state\n\n const outerDiameter = Math.min(width, height)\n\n if (!isFinite(progress) || isNaN(progress)) {\n progress = 0\n }\n\n // important order to have progress render over \"rest\"\n const data = [\n {\n key: 'rest',\n value: 1 - progress,\n color: backgroundColor,\n },\n {\n key: 'progress',\n value: progress,\n color: progressColor,\n },\n ]\n\n const pieSlices = shape\n .pie()\n .value((d) => d.value)\n .sort((a) => (a.key === 'rest' ? 1 : -1))\n .startAngle(startAngle)\n .endAngle(endAngle)(data)\n\n const arcs = pieSlices.map((slice, index) => ({\n ...data[index],\n ...slice,\n path: shape\n .arc()\n .outerRadius(outerDiameter / 2) // Radius of the pie\n .innerRadius(outerDiameter / 2 - strokeWidth) // Inner radius: to create a donut or pie\n .startAngle(index === 0 ? startAngle : slice.startAngle)\n .endAngle(index === 0 ? endAngle : slice.endAngle)\n .cornerRadius(cornerRadius)(),\n }))\n\n const extraProps = {\n width,\n height,\n }\n\n return (\n <View style={style} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {/* center the progress circle*/}\n <G x={width / 2} y={height / 2}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n {arcs.map((shape, index) => {\n return (\n <Path\n key={index}\n fill={shape.color}\n d={shape.path}\n animate={animate}\n animationDuration={animateDuration}\n />\n )\n })}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n return null\n })}\n </G>\n </Svg>\n )}\n </View>\n )\n }\n}\n\nProgressCircle.propTypes = {\n progress: PropTypes.number.isRequired,\n style: PropTypes.any,\n progressColor: PropTypes.any,\n backgroundColor: PropTypes.any,\n strokeWidth: PropTypes.number,\n startAngle: PropTypes.number,\n endAngle: PropTypes.number,\n animate: PropTypes.bool,\n cornerRadius: PropTypes.number,\n animateDuration: PropTypes.number,\n}\n\nProgressCircle.defaultProps = {\n progressColor: 'black',\n backgroundColor: '#ECECEC',\n strokeWidth: 5,\n startAngle: 0,\n endAngle: Math.PI * 2,\n cornerRadius: 45,\n}\n\nexport default ProgressCircle\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _AnimatedAlways=require(\"./AnimatedAlways\");var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var Code=function(_React$Component){(0,_inherits2.default)(Code,_React$Component);function Code(){(0,_classCallCheck2.default)(this,Code);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Code).apply(this,arguments));}(0,_createClass2.default)(Code,[{key:\"componentDidMount\",value:function componentDidMount(){var _this$props=this.props,children=_this$props.children,exec=_this$props.exec;var nodeChildren=Code.resolveNode(children);var nodeExec=Code.resolveNode(exec);var cantResolveNode=nodeChildren===null&&nodeExec===null;if(cantResolveNode){var error=nodeChildren===null?\"Got \\\"\"+typeof children+\"\\\" type passed to children\":\"Got \\\"\"+typeof exec+\"\\\" type passed to exec\";throw new Error(\"<Animated.Code /> expects the 'exec' prop or children to be an animated node or a function returning an animated node. \"+error);}this.always=(0,_AnimatedAlways.createAnimatedAlways)(nodeExec||nodeChildren);this.always.__attach();}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){this.always.__detach();}},{key:\"render\",value:function render(){return null;}}]);return Code;}(_react.default.Component);Code.resolveNode=function(maybeNode){if(typeof maybeNode==='function'){return Code.resolveNode(maybeNode());}if(maybeNode instanceof _AnimatedNode.default){return maybeNode;}return null;};var _default=Code;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/core/AnimatedCode.js"],"names":["Code","props","children","exec","nodeChildren","resolveNode","nodeExec","cantResolveNode","error","Error","always","__attach","__detach","React","Component","maybeNode","AnimatedNode"],"mappings":"6nBAAA,oDACA,gDACA,oE,GAEMA,CAAAA,I,2UAagB,iBACS,KAAKC,KADd,CACVC,QADU,aACVA,QADU,CACAC,IADA,aACAA,IADA,CAElB,GAAMC,CAAAA,YAAY,CAAGJ,IAAI,CAACK,WAAL,CAAiBH,QAAjB,CAArB,CACA,GAAMI,CAAAA,QAAQ,CAAGN,IAAI,CAACK,WAAL,CAAiBF,IAAjB,CAAjB,CAEA,GAAMI,CAAAA,eAAe,CAAGH,YAAY,GAAK,IAAjB,EAAyBE,QAAQ,GAAK,IAA9D,CAEA,GAAIC,eAAJ,CAAqB,CACnB,GAAMC,CAAAA,KAAK,CACTJ,YAAY,GAAK,IAAjB,UACY,MAAOF,CAAAA,QADnB,uCAEY,MAAOC,CAAAA,IAFnB,yBADF,CAKA,KAAM,IAAIM,CAAAA,KAAJ,2HACsHD,KADtH,CAAN,CAGD,CAED,KAAKE,MAAL,CAAc,yCAAqBJ,QAAQ,EAAIF,YAAjC,CAAd,CACA,KAAKM,MAAL,CAAYC,QAAZ,GACD,C,mEAEsB,CACrB,KAAKD,MAAL,CAAYE,QAAZ,GACD,C,uCAEQ,CACP,MAAO,KAAP,CACD,C,kBAzCgBC,eAAMC,S,EAAnBd,I,CACGK,W,CAAc,SAAAU,SAAS,CAAI,CAChC,GAAI,MAAOA,CAAAA,SAAP,GAAqB,UAAzB,CAAqC,CACnC,MAAOf,CAAAA,IAAI,CAACK,WAAL,CAAiBU,SAAS,EAA1B,CAAP,CACD,CAED,GAAIA,SAAS,WAAYC,sBAAzB,CAAuC,CACrC,MAAOD,CAAAA,SAAP,CACD,CAED,MAAO,KAAP,CACD,C,cAgCYf,I","sourcesContent":["import React from 'react';\nimport { createAnimatedAlways } from './AnimatedAlways';\nimport AnimatedNode from './AnimatedNode';\n\nclass Code extends React.Component {\n static resolveNode = maybeNode => {\n if (typeof maybeNode === 'function') {\n return Code.resolveNode(maybeNode());\n }\n\n if (maybeNode instanceof AnimatedNode) {\n return maybeNode;\n }\n\n return null;\n };\n\n componentDidMount() {\n const { children, exec } = this.props;\n const nodeChildren = Code.resolveNode(children);\n const nodeExec = Code.resolveNode(exec);\n\n const cantResolveNode = nodeChildren === null && nodeExec === null;\n\n if (cantResolveNode) {\n const error =\n nodeChildren === null\n ? `Got \"${typeof children}\" type passed to children`\n : `Got \"${typeof exec}\" type passed to exec`;\n\n throw new Error(\n `<Animated.Code /> expects the 'exec' prop or children to be an animated node or a function returning an animated node. ${error}`\n );\n }\n\n this.always = createAnimatedAlways(nodeExec || nodeChildren);\n this.always.__attach();\n }\n\n componentWillUnmount() {\n this.always.__detach();\n }\n\n render() {\n return null;\n }\n}\nexport default Code;\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=interpolate;exports.Extrapolate=void 0;var _operators=require(\"../operators\");var _AnimatedCond=require(\"../core/AnimatedCond\");var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _AnimatedNode=_interopRequireDefault(require(\"../core/AnimatedNode\"));function interpolateInternalSingle(value,inputRange,outputRange,offset){var inS=inputRange[offset];var inE=inputRange[offset+1];var outS=outputRange[offset];var outE=outputRange[offset+1];var progress=(0,_operators.divide)((0,_operators.sub)(value,inS),(0,_operators.sub)(inE,inS));return(0,_operators.add)(outS,(0,_operators.multiply)(progress,(0,_operators.sub)(outE,outS)));}function interpolateInternal(value,inputRange,outputRange){var offset=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;if(inputRange.length-offset===2){return interpolateInternalSingle(value,inputRange,outputRange,offset);}return(0,_AnimatedCond.createAnimatedCond)((0,_operators.lessThan)(value,inputRange[offset+1]),interpolateInternalSingle(value,inputRange,outputRange,offset),interpolateInternal(value,inputRange,outputRange,offset+1));}var Extrapolate={EXTEND:'extend',CLAMP:'clamp',IDENTITY:'identity'};exports.Extrapolate=Extrapolate;function checkNonDecreasing(name,arr){for(var i=1;i<arr.length;++i){if(arr[i]instanceof _AnimatedNode.default||arr[i-1]instanceof _AnimatedNode.default)continue;(0,_invariant.default)(arr[i]>=arr[i-1],'%s must be monotonically non-decreasing. (%s)',name,arr);}}function checkMinElements(name,arr){(0,_invariant.default)(arr.length>=2,'%s must have at least 2 elements. (%s)',name,arr);}function checkValidNumbers(name,arr){for(var i=0;i<arr.length;i++){if(arr[i]instanceof _AnimatedNode.default)continue;(0,_invariant.default)(Number.isFinite(arr[i]),'%s cannot include %s. (%s)',name,arr[i],arr);}}function interpolate(value,config){var inputRange=config.inputRange,outputRange=config.outputRange,_config$extrapolate=config.extrapolate,extrapolate=_config$extrapolate===void 0?Extrapolate.EXTEND:_config$extrapolate,extrapolateLeft=config.extrapolateLeft,extrapolateRight=config.extrapolateRight;checkMinElements('inputRange',inputRange);checkValidNumbers('inputRange',inputRange);checkMinElements('outputRange',outputRange);checkValidNumbers('outputRange',outputRange);checkNonDecreasing('inputRange',inputRange);(0,_invariant.default)(inputRange.length===outputRange.length,'inputRange and outputRange must be the same length.');var left=extrapolateLeft||extrapolate;var right=extrapolateRight||extrapolate;var output=interpolateInternal(value,inputRange,outputRange);if(left===Extrapolate.EXTEND){}else if(left===Extrapolate.CLAMP){output=(0,_AnimatedCond.createAnimatedCond)((0,_operators.lessThan)(value,inputRange[0]),outputRange[0],output);}else if(left===Extrapolate.IDENTITY){output=(0,_AnimatedCond.createAnimatedCond)((0,_operators.lessThan)(value,inputRange[0]),value,output);}if(right===Extrapolate.EXTEND){}else if(right===Extrapolate.CLAMP){output=(0,_AnimatedCond.createAnimatedCond)((0,_operators.greaterThan)(value,inputRange[inputRange.length-1]),outputRange[outputRange.length-1],output);}else if(right===Extrapolate.IDENTITY){output=(0,_AnimatedCond.createAnimatedCond)((0,_operators.greaterThan)(value,inputRange[inputRange.length-1]),value,output);}return output;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-reanimated/src/derived/interpolate.js"],"names":["interpolateInternalSingle","value","inputRange","outputRange","offset","inS","inE","outS","outE","progress","interpolateInternal","length","Extrapolate","EXTEND","CLAMP","IDENTITY","checkNonDecreasing","name","arr","i","AnimatedNode","checkMinElements","checkValidNumbers","Number","isFinite","interpolate","config","extrapolate","extrapolateLeft","extrapolateRight","left","right","output"],"mappings":"mMAAA,uCASA,kDACA,qEACA,0EAEA,QAASA,CAAAA,yBAAT,CAAmCC,KAAnC,CAA0CC,UAA1C,CAAsDC,WAAtD,CAAmEC,MAAnE,CAA2E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AAZ,CAAqB,CAAtB,CAFJ,CAGPqB,MAHO,CAAT,CAKD,CANM,IAMA,IAAID,KAAK,GAAKnB,WAAW,CAACG,QAA1B,CAAoC,CACzCiB,MAAM,CAAG,qCACP,2BAAY/B,KAAZ,CAAmBC,UAAU,CAACA,UAAU,CAACS,MAAX,CAAoB,CAArB,CAA7B,CADO,CAEPV,KAFO,CAGP+B,MAHO,CAAT,CAKD,CAED,MAAOA,CAAAA,MAAP,CACD","sourcesContent":["import {\n lessThan,\n multiply,\n sub,\n add,\n divide,\n greaterThan,\n} from '../operators';\n\nimport { createAnimatedCond as cond } from '../core/AnimatedCond';\nimport invariant from 'fbjs/lib/invariant';\nimport AnimatedNode from '../core/AnimatedNode';\n\nfunction interpolateInternalSingle(value, inputRange, outputRange, offset) {\n const inS = inputRange[offset];\n const inE = inputRange[offset + 1];\n const outS = outputRange[offset];\n const outE = outputRange[offset + 1];\n const progress = divide(sub(value, inS), sub(inE, inS));\n return add(outS, multiply(progress, sub(outE, outS)));\n}\n\nfunction interpolateInternal(value, inputRange, outputRange, offset = 0) {\n if (inputRange.length - offset === 2) {\n return interpolateInternalSingle(value, inputRange, outputRange, offset);\n }\n return cond(\n lessThan(value, inputRange[offset + 1]),\n interpolateInternalSingle(value, inputRange, outputRange, offset),\n interpolateInternal(value, inputRange, outputRange, offset + 1)\n );\n}\n\nexport const Extrapolate = {\n EXTEND: 'extend',\n CLAMP: 'clamp',\n IDENTITY: 'identity',\n};\n\nfunction checkNonDecreasing(name, arr) {\n for (let i = 1; i < arr.length; ++i) {\n // We can't validate animated nodes in JS.\n if (arr[i] instanceof AnimatedNode || arr[i - 1] instanceof AnimatedNode)\n continue;\n invariant(\n arr[i] >= arr[i - 1],\n '%s must be monotonically non-decreasing. (%s)',\n name,\n arr\n );\n }\n}\n\nfunction checkMinElements(name, arr) {\n invariant(\n arr.length >= 2,\n '%s must have at least 2 elements. (%s)',\n name,\n arr\n );\n}\n\nfunction checkValidNumbers(name, arr) {\n for (let i = 0; i < arr.length; i++) {\n // We can't validate animated nodes in JS.\n if (arr[i] instanceof AnimatedNode) continue;\n invariant(\n Number.isFinite(arr[i]),\n '%s cannot include %s. (%s)',\n name,\n arr[i],\n arr\n );\n }\n}\n\nexport default function interpolate(value, config) {\n const {\n inputRange,\n outputRange,\n extrapolate = Extrapolate.EXTEND,\n extrapolateLeft,\n extrapolateRight,\n } = config;\n checkMinElements('inputRange', inputRange);\n checkValidNumbers('inputRange', inputRange);\n checkMinElements('outputRange', outputRange);\n checkValidNumbers('outputRange', outputRange);\n checkNonDecreasing('inputRange', inputRange);\n invariant(\n inputRange.length === outputRange.length,\n 'inputRange and outputRange must be the same length.'\n );\n\n const left = extrapolateLeft || extrapolate;\n const right = extrapolateRight || extrapolate;\n let output = interpolateInternal(value, inputRange, outputRange);\n\n if (left === Extrapolate.EXTEND) {\n } else if (left === Extrapolate.CLAMP) {\n output = cond(lessThan(value, inputRange[0]), outputRange[0], output);\n } else if (left === Extrapolate.IDENTITY) {\n output = cond(lessThan(value, inputRange[0]), value, output);\n }\n\n if (right === Extrapolate.EXTEND) {\n } else if (right === Extrapolate.CLAMP) {\n output = cond(\n greaterThan(value, inputRange[inputRange.length - 1]),\n outputRange[outputRange.length - 1],\n output\n );\n } else if (right === Extrapolate.IDENTITY) {\n output = cond(\n greaterThan(value, inputRange[inputRange.length - 1]),\n value,\n output\n );\n }\n\n return output;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _createElement=_interopRequireDefault(require(\"../createElement\"));var _css=_interopRequireDefault(require(\"../StyleSheet/css\"));var _AssetRegistry=require(\"../../modules/AssetRegistry\");var _resolveShadowValue=_interopRequireDefault(require(\"../StyleSheet/resolveShadowValue\"));var _ImageLoader=_interopRequireDefault(require(\"../../modules/ImageLoader\"));var _ImageResizeMode=_interopRequireDefault(require(\"./ImageResizeMode\"));var _ImageSourcePropType=_interopRequireDefault(require(\"./ImageSourcePropType\"));var _ImageStylePropTypes=_interopRequireDefault(require(\"./ImageStylePropTypes\"));var _ImageUriCache=_interopRequireDefault(require(\"./ImageUriCache\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _StyleSheetPropType=_interopRequireDefault(require(\"../../modules/StyleSheetPropType\"));var _View=_interopRequireDefault(require(\"../View\"));var _ViewPropTypes=_interopRequireDefault(require(\"../ViewPropTypes\"));var _propTypes=require(\"prop-types\");var _react=_interopRequireWildcard(require(\"react\"));function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};return _extends.apply(this,arguments);}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var emptyObject={};var STATUS_ERRORED='ERRORED';var STATUS_LOADED='LOADED';var STATUS_LOADING='LOADING';var STATUS_PENDING='PENDING';var STATUS_IDLE='IDLE';var getImageState=function getImageState(uri,shouldDisplaySource){return shouldDisplaySource?STATUS_LOADED:uri?STATUS_PENDING:STATUS_IDLE;};var resolveAssetDimensions=function resolveAssetDimensions(source){if(typeof source==='number'){var _getAssetByID=(0,_AssetRegistry.getAssetByID)(source),height=_getAssetByID.height,width=_getAssetByID.width;return{height:height,width:width};}else if(typeof source==='object'){var _height=source.height,_width=source.width;return{height:_height,width:_width};}};var svgDataUriPattern=/^(data:image\\/svg\\+xml;utf8,)(.*)/;var resolveAssetUri=function resolveAssetUri(source){var uri='';if(typeof source==='number'){var asset=(0,_AssetRegistry.getAssetByID)(source);var scale=asset.scales[0];var scaleSuffix=scale!==1?\"@\"+scale+\"x\":'';uri=asset?asset.httpServerLocation+\"/\"+asset.name+scaleSuffix+\".\"+asset.type:'';}else if(typeof source==='string'){uri=source;}else if(source&&typeof source.uri==='string'){uri=source.uri;}if(uri){var match=uri.match(svgDataUriPattern);if(match){var prefix=match[1],svg=match[2];var encodedSvg=encodeURIComponent(svg);return\"\"+prefix+encodedSvg;}}return uri;};var filterId=0;var createTintColorSVG=function createTintColorSVG(tintColor,id){return tintColor&&id!=null?_react.default.createElement(\"svg\",{style:{position:'absolute',height:0,visibility:'hidden',width:0}},_react.default.createElement(\"defs\",null,_react.default.createElement(\"filter\",{id:\"tint-\"+id},_react.default.createElement(\"feFlood\",{floodColor:\"\"+tintColor}),_react.default.createElement(\"feComposite\",{in2:\"SourceAlpha\",operator:\"atop\"})))):null;};var Image=function(_Component){_inheritsLoose(Image,_Component);Image.getSize=function getSize(uri,success,failure){_ImageLoader.default.getSize(uri,success,failure);};Image.prefetch=function prefetch(uri){return _ImageLoader.default.prefetch(uri).then(function(){_ImageUriCache.default.add(uri);_ImageUriCache.default.remove(uri);});};Image.queryCache=function queryCache(uris){var result={};uris.forEach(function(u){if(_ImageUriCache.default.has(u)){result[u]='disk/memory';}});return Promise.resolve(result);};function Image(props,context){var _this;_this=_Component.call(this,props,context)||this;_this._filterId=0;_this._imageRef=null;_this._imageRequestId=null;_this._imageState=null;_this._isMounted=false;_this._createLayoutHandler=function(resizeMode){var onLayout=_this.props.onLayout;if(resizeMode==='center'||resizeMode==='repeat'||onLayout){return function(e){var layout=e.nativeEvent.layout;onLayout&&onLayout(e);_this.setState(function(){return{layout:layout};});};}};_this._getBackgroundSize=function(resizeMode){if(_this._imageRef&&(resizeMode==='center'||resizeMode==='repeat')){var _this$_imageRef=_this._imageRef,naturalHeight=_this$_imageRef.naturalHeight,naturalWidth=_this$_imageRef.naturalWidth;var _this$state$layout=_this.state.layout,height=_this$state$layout.height,width=_this$state$layout.width;if(naturalHeight&&naturalWidth&&height&&width){var scaleFactor=Math.min(1,width/naturalWidth,height/naturalHeight);var x=Math.ceil(scaleFactor*naturalWidth);var y=Math.ceil(scaleFactor*naturalHeight);return{backgroundSize:x+\"px \"+y+\"px\"};}}};_this._onError=function(){var _this$props=_this.props,onError=_this$props.onError,source=_this$props.source;_this._updateImageState(STATUS_ERRORED);if(onError){onError({nativeEvent:{error:\"Failed to load resource \"+resolveAssetUri(source)+\" (404)\"}});}_this._onLoadEnd();};_this._onLoad=function(e){var _this$props2=_this.props,onLoad=_this$props2.onLoad,source=_this$props2.source;var event={nativeEvent:e};_ImageUriCache.default.add(resolveAssetUri(source));_this._updateImageState(STATUS_LOADED);if(onLoad){onLoad(event);}_this._onLoadEnd();};_this._setImageRef=function(ref){_this._imageRef=ref;};var uri=resolveAssetUri(props.source);var shouldDisplaySource=_ImageUriCache.default.has(uri);_this.state={layout:{},shouldDisplaySource:shouldDisplaySource};_this._imageState=getImageState(uri,shouldDisplaySource);_this._filterId=filterId;filterId++;return _this;}var _proto=Image.prototype;_proto.componentDidMount=function componentDidMount(){this._isMounted=true;if(this._imageState===STATUS_PENDING){this._createImageLoader();}else if(this._imageState===STATUS_LOADED){this._onLoad({target:this._imageRef});}};_proto.componentDidUpdate=function componentDidUpdate(prevProps){var prevUri=resolveAssetUri(prevProps.source);var uri=resolveAssetUri(this.props.source);var hasDefaultSource=this.props.defaultSource!=null;if(prevUri!==uri){_ImageUriCache.default.remove(prevUri);var isPreviouslyLoaded=_ImageUriCache.default.has(uri);isPreviouslyLoaded&&_ImageUriCache.default.add(uri);this._updateImageState(getImageState(uri,isPreviouslyLoaded),hasDefaultSource);}else if(hasDefaultSource&&prevProps.defaultSource!==this.props.defaultSource){this._updateImageState(this._imageState,hasDefaultSource);}if(this._imageState===STATUS_PENDING){this._createImageLoader();}};_proto.componentWillUnmount=function componentWillUnmount(){var uri=resolveAssetUri(this.props.source);_ImageUriCache.default.remove(uri);this._destroyImageLoader();this._isMounted=false;};_proto.render=function render(){var shouldDisplaySource=this.state.shouldDisplaySource;var _this$props3=this.props,accessibilityLabel=_this$props3.accessibilityLabel,accessible=_this$props3.accessible,blurRadius=_this$props3.blurRadius,defaultSource=_this$props3.defaultSource,draggable=_this$props3.draggable,source=_this$props3.source,testID=_this$props3.testID,capInsets=_this$props3.capInsets,onError=_this$props3.onError,onLayout=_this$props3.onLayout,onLoad=_this$props3.onLoad,onLoadEnd=_this$props3.onLoadEnd,onLoadStart=_this$props3.onLoadStart,resizeMethod=_this$props3.resizeMethod,resizeMode=_this$props3.resizeMode,other=_objectWithoutPropertiesLoose(_this$props3,[\"accessibilityLabel\",\"accessible\",\"blurRadius\",\"defaultSource\",\"draggable\",\"source\",\"testID\",\"capInsets\",\"onError\",\"onLayout\",\"onLoad\",\"onLoadEnd\",\"onLoadStart\",\"resizeMethod\",\"resizeMode\"]);if(process.env.NODE_ENV!=='production'){if(this.props.src){console.warn('The <Image> component requires a `source` property rather than `src`.');}if(this.props.children){throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using the <ImageBackground> component or absolute positioning.');}}var selectedSource=shouldDisplaySource?source:defaultSource;var displayImageUri=resolveAssetUri(selectedSource);var imageSizeStyle=resolveAssetDimensions(selectedSource);var backgroundImage=displayImageUri?\"url(\\\"\"+displayImageUri+\"\\\")\":null;var flatStyle=_objectSpread({},_StyleSheet.default.flatten(this.props.style));var finalResizeMode=resizeMode||flatStyle.resizeMode||_ImageResizeMode.default.cover;var filters=[];var tintColor=flatStyle.tintColor;if(flatStyle.filter){filters.push(flatStyle.filter);}if(blurRadius){filters.push(\"blur(\"+blurRadius+\"px)\");}if(flatStyle.shadowOffset){var shadowString=(0,_resolveShadowValue.default)(flatStyle);if(shadowString){filters.push(\"drop-shadow(\"+shadowString+\")\");}}if(flatStyle.tintColor){filters.push(\"url(#tint-\"+this._filterId+\")\");}delete flatStyle.shadowColor;delete flatStyle.shadowOpacity;delete flatStyle.shadowOffset;delete flatStyle.shadowRadius;delete flatStyle.tintColor;delete flatStyle.overlayColor;delete flatStyle.resizeMode;var hiddenImage=displayImageUri?(0,_createElement.default)('img',{alt:accessibilityLabel||'',classList:[classes.accessibilityImage],draggable:draggable||false,ref:this._setImageRef,src:displayImageUri}):null;return _react.default.createElement(_View.default,_extends({},other,{accessibilityLabel:accessibilityLabel,accessible:accessible,onLayout:this._createLayoutHandler(finalResizeMode),style:[styles.root,this.context.isInAParentText&&styles.inline,imageSizeStyle,flatStyle],testID:testID}),_react.default.createElement(_View.default,{style:[styles.image,resizeModeStyles[finalResizeMode],this._getBackgroundSize(finalResizeMode),backgroundImage&&{backgroundImage:backgroundImage},filters.length>0&&{filter:filters.join(' ')}]}),hiddenImage,createTintColorSVG(tintColor,this._filterId));};_proto._createImageLoader=function _createImageLoader(){var source=this.props.source;this._destroyImageLoader();var uri=resolveAssetUri(source);this._imageRequestId=_ImageLoader.default.load(uri,this._onLoad,this._onError);this._onLoadStart();};_proto._destroyImageLoader=function _destroyImageLoader(){if(this._imageRequestId){_ImageLoader.default.abort(this._imageRequestId);this._imageRequestId=null;}};_proto._onLoadEnd=function _onLoadEnd(){var onLoadEnd=this.props.onLoadEnd;if(onLoadEnd){onLoadEnd();}};_proto._onLoadStart=function _onLoadStart(){var _this$props4=this.props,defaultSource=_this$props4.defaultSource,onLoadStart=_this$props4.onLoadStart;this._updateImageState(STATUS_LOADING,defaultSource!=null);if(onLoadStart){onLoadStart();}};_proto._updateImageState=function _updateImageState(status,hasDefaultSource){if(hasDefaultSource===void 0){hasDefaultSource=false;}this._imageState=status;var shouldDisplaySource=this._imageState===STATUS_LOADED||this._imageState===STATUS_LOADING&&!hasDefaultSource;if(shouldDisplaySource!==this.state.shouldDisplaySource){if(this._isMounted){this.setState(function(){return{shouldDisplaySource:shouldDisplaySource};});}}};return Image;}(_react.Component);Image.displayName='Image';Image.contextTypes={isInAParentText:_propTypes.bool};Image.defaultProps={style:emptyObject};Image.propTypes=process.env.NODE_ENV!==\"production\"?_objectSpread({},_ViewPropTypes.default,{blurRadius:_propTypes.number,defaultSource:_ImageSourcePropType.default,draggable:_propTypes.bool,onError:_propTypes.func,onLayout:_propTypes.func,onLoad:_propTypes.func,onLoadEnd:_propTypes.func,onLoadStart:_propTypes.func,resizeMode:(0,_propTypes.oneOf)(Object.keys(_ImageResizeMode.default)),source:_ImageSourcePropType.default,style:(0,_StyleSheetPropType.default)(_ImageStylePropTypes.default),capInsets:(0,_propTypes.shape)({top:_propTypes.number,left:_propTypes.number,bottom:_propTypes.number,right:_propTypes.number}),resizeMethod:(0,_propTypes.oneOf)(['auto','resize','scale'])}):{};var classes=_css.default.create({accessibilityImage:_objectSpread({},_StyleSheet.default.absoluteFillObject,{height:'100%',opacity:0,width:'100%',zIndex:-1})});var styles=_StyleSheet.default.create({root:{flexBasis:'auto',overflow:'hidden',zIndex:0},inline:{display:'inline-flex'},image:_objectSpread({},_StyleSheet.default.absoluteFillObject,{backgroundColor:'transparent',backgroundPosition:'center',backgroundRepeat:'no-repeat',backgroundSize:'cover',height:'100%',width:'100%',zIndex:-1})});var resizeModeStyles=_StyleSheet.default.create({center:{backgroundSize:'auto'},contain:{backgroundSize:'contain'},cover:{backgroundSize:'cover'},none:{backgroundPosition:'0 0',backgroundSize:'auto'},repeat:{backgroundPosition:'0 0',backgroundRepeat:'repeat',backgroundSize:'auto'},stretch:{backgroundSize:'100% 100%'}});var _default=(0,_applyNativeMethods.default)(Image);exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Image/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectSpread","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","_defineProperty","obj","value","defineProperty","configurable","writable","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_inheritsLoose","subClass","superClass","create","constructor","__proto__","emptyObject","STATUS_ERRORED","STATUS_LOADED","STATUS_LOADING","STATUS_PENDING","STATUS_IDLE","getImageState","uri","shouldDisplaySource","resolveAssetDimensions","_getAssetByID","height","width","_height","_width","svgDataUriPattern","resolveAssetUri","asset","scale","scales","scaleSuffix","httpServerLocation","name","type","match","prefix","svg","encodedSvg","encodeURIComponent","filterId","createTintColorSVG","tintColor","id","React","createElement","style","position","visibility","floodColor","in2","operator","Image","_Component","getSize","success","failure","ImageLoader","prefetch","then","ImageUriCache","add","remove","queryCache","uris","result","u","has","Promise","resolve","props","context","_this","_filterId","_imageRef","_imageRequestId","_imageState","_isMounted","_createLayoutHandler","resizeMode","onLayout","e","layout","nativeEvent","setState","_getBackgroundSize","_this$_imageRef","naturalHeight","naturalWidth","_this$state$layout","state","scaleFactor","Math","min","x","ceil","y","backgroundSize","_onError","_this$props","onError","_updateImageState","error","_onLoadEnd","_onLoad","_this$props2","onLoad","event","_setImageRef","ref","_proto","componentDidMount","_createImageLoader","componentDidUpdate","prevProps","prevUri","hasDefaultSource","defaultSource","isPreviouslyLoaded","componentWillUnmount","_destroyImageLoader","render","_this$props3","accessibilityLabel","accessible","blurRadius","draggable","testID","capInsets","onLoadEnd","onLoadStart","resizeMethod","other","process","env","NODE_ENV","src","console","warn","children","Error","selectedSource","displayImageUri","imageSizeStyle","backgroundImage","flatStyle","StyleSheet","flatten","finalResizeMode","ImageResizeMode","cover","filters","push","shadowOffset","shadowString","shadowColor","shadowOpacity","shadowRadius","overlayColor","hiddenImage","alt","classList","classes","accessibilityImage","View","styles","root","isInAParentText","inline","image","resizeModeStyles","join","load","_onLoadStart","abort","_this$props4","status","Component","displayName","contextTypes","bool","defaultProps","propTypes","ViewPropTypes","number","ImageSourcePropType","func","ImageStylePropTypes","top","left","bottom","right","css","absoluteFillObject","opacity","zIndex","flexBasis","overflow","display","backgroundColor","backgroundPosition","backgroundRepeat","center","contain","none","repeat","stretch"],"mappings":"wPAmBA,4FACA,uEACA,8DACA,0DACA,4FACA,8EACA,0EACA,kFACA,kFACA,sEACA,iEACA,4FACA,qDACA,uEACA,qCACA,qDAlCA,QAASA,CAAAA,QAAT,EAAoB,CAAEA,QAAQ,CAAGC,MAAM,CAACC,MAAP,EAAiB,SAAUC,MAAV,CAAkB,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAtB,CAA2B,IAAK,GAAII,CAAAA,GAAT,GAAgBD,CAAAA,MAAhB,CAAwB,CAAE,GAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,CAA6CC,GAA7C,CAAJ,CAAuD,CAAEL,MAAM,CAACK,GAAD,CAAN,CAAcD,MAAM,CAACC,GAAD,CAApB,CAA4B,CAAE,CAAE,CAAC,MAAOL,CAAAA,MAAP,CAAgB,CAA5P,CAA8P,MAAOH,CAAAA,QAAQ,CAACY,KAAT,CAAe,IAAf,CAAqBP,SAArB,CAAP,CAAyC,CAE7T,QAASQ,CAAAA,aAAT,CAAuBV,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,C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MAAM,CAAE,MAD2D,CAEnE4K,OAAO,CAAE,CAF0D,CAGnE3K,KAAK,CAAE,MAH4D,CAInE4K,MAAM,CAAE,CAAC,CAJ0D,CAApC,CADV,CAAX,CAAd,CAQA,GAAI9B,CAAAA,MAAM,CAAGnB,oBAAW1I,MAAX,CAAkB,CAC7B8J,IAAI,CAAE,CACJ8B,SAAS,CAAE,MADP,CAEJC,QAAQ,CAAE,QAFN,CAGJF,MAAM,CAAE,CAHJ,CADuB,CAM7B3B,MAAM,CAAE,CACN8B,OAAO,CAAE,aADH,CANqB,CAS7B7B,KAAK,CAAExL,aAAa,CAAC,EAAD,CAAKiK,oBAAW+C,kBAAhB,CAAoC,CACtDM,eAAe,CAAE,aADqC,CAEtDC,kBAAkB,CAAE,QAFkC,CAGtDC,gBAAgB,CAAE,WAHoC,CAItDxG,cAAc,CAAE,OAJsC,CAKtD3E,MAAM,CAAE,MAL8C,CAMtDC,KAAK,CAAE,MAN+C,CAOtD4K,MAAM,CAAE,CAAC,CAP6C,CAApC,CATS,CAAlB,CAAb,CAmBA,GAAIzB,CAAAA,gBAAgB,CAAGxB,oBAAW1I,MAAX,CAAkB,CACvCkM,MAAM,CAAE,CACNzG,cAAc,CAAE,MADV,CAD+B,CAIvC0G,OAAO,CAAE,CACP1G,cAAc,CAAE,SADT,CAJ8B,CAOvCqD,KAAK,CAAE,CACLrD,cAAc,CAAE,OADX,CAPgC,CAUvC2G,IAAI,CAAE,CACJJ,kBAAkB,CAAE,KADhB,CAEJvG,cAAc,CAAE,MAFZ,CAViC,CAcvC4G,MAAM,CAAE,CACNL,kBAAkB,CAAE,KADd,CAENC,gBAAgB,CAAE,QAFZ,CAGNxG,cAAc,CAAE,MAHV,CAd+B,CAmBvC6G,OAAO,CAAE,CACP7G,cAAc,CAAE,WADT,CAnB8B,CAAlB,CAAvB,C,aAuBe,gCAAmB7C,KAAnB,C","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport createElement from '../createElement';\nimport css from '../StyleSheet/css';\nimport { getAssetByID } from '../../modules/AssetRegistry';\nimport resolveShadowValue from '../StyleSheet/resolveShadowValue';\nimport ImageLoader from '../../modules/ImageLoader';\nimport ImageResizeMode from './ImageResizeMode';\nimport ImageSourcePropType from './ImageSourcePropType';\nimport ImageStylePropTypes from './ImageStylePropTypes';\nimport ImageUriCache from './ImageUriCache';\nimport StyleSheet from '../StyleSheet';\nimport StyleSheetPropType from '../../modules/StyleSheetPropType';\nimport View from '../View';\nimport ViewPropTypes from '../ViewPropTypes';\nimport { bool, func, number, oneOf, shape } from 'prop-types';\nimport React, { Component } from 'react';\nvar emptyObject = {};\nvar STATUS_ERRORED = 'ERRORED';\nvar STATUS_LOADED = 'LOADED';\nvar STATUS_LOADING = 'LOADING';\nvar STATUS_PENDING = 'PENDING';\nvar STATUS_IDLE = 'IDLE';\n\nvar getImageState = function getImageState(uri, shouldDisplaySource) {\n return shouldDisplaySource ? STATUS_LOADED : uri ? STATUS_PENDING : STATUS_IDLE;\n};\n\nvar resolveAssetDimensions = function resolveAssetDimensions(source) {\n if (typeof source === 'number') {\n var _getAssetByID = getAssetByID(source),\n height = _getAssetByID.height,\n width = _getAssetByID.width;\n\n return {\n height: height,\n width: width\n };\n } else if (typeof source === 'object') {\n var _height = source.height,\n _width = source.width;\n return {\n height: _height,\n width: _width\n };\n }\n};\n\nvar svgDataUriPattern = /^(data:image\\/svg\\+xml;utf8,)(.*)/;\n\nvar resolveAssetUri = function resolveAssetUri(source) {\n var uri = '';\n\n if (typeof source === 'number') {\n // get the URI from the packager\n var asset = getAssetByID(source);\n var scale = asset.scales[0];\n var scaleSuffix = scale !== 1 ? \"@\" + scale + \"x\" : '';\n uri = asset ? asset.httpServerLocation + \"/\" + asset.name + scaleSuffix + \".\" + asset.type : '';\n } else if (typeof source === 'string') {\n uri = source;\n } else if (source && typeof source.uri === 'string') {\n uri = source.uri;\n }\n\n if (uri) {\n var match = uri.match(svgDataUriPattern); // inline SVG markup may contain characters (e.g., #, \") that need to be escaped\n\n if (match) {\n var prefix = match[1],\n svg = match[2];\n var encodedSvg = encodeURIComponent(svg);\n return \"\" + prefix + encodedSvg;\n }\n }\n\n return uri;\n};\n\nvar filterId = 0;\n\nvar createTintColorSVG = function createTintColorSVG(tintColor, id) {\n return tintColor && id != null ? React.createElement(\"svg\", {\n style: {\n position: 'absolute',\n height: 0,\n visibility: 'hidden',\n width: 0\n }\n }, React.createElement(\"defs\", null, React.createElement(\"filter\", {\n id: \"tint-\" + id\n }, React.createElement(\"feFlood\", {\n floodColor: \"\" + tintColor\n }), React.createElement(\"feComposite\", {\n in2: \"SourceAlpha\",\n operator: \"atop\"\n })))) : null;\n};\n\nvar Image =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(Image, _Component);\n\n Image.getSize = function getSize(uri, success, failure) {\n ImageLoader.getSize(uri, success, failure);\n };\n\n Image.prefetch = function prefetch(uri) {\n return ImageLoader.prefetch(uri).then(function () {\n // Add the uri to the cache so it can be immediately displayed when used\n // but also immediately remove it to correctly reflect that it has no active references\n ImageUriCache.add(uri);\n ImageUriCache.remove(uri);\n });\n };\n\n Image.queryCache = function queryCache(uris) {\n var result = {};\n uris.forEach(function (u) {\n if (ImageUriCache.has(u)) {\n result[u] = 'disk/memory';\n }\n });\n return Promise.resolve(result);\n };\n\n function Image(props, context) {\n var _this;\n\n _this = _Component.call(this, props, context) || this; // If an image has been loaded before, render it immediately\n\n _this._filterId = 0;\n _this._imageRef = null;\n _this._imageRequestId = null;\n _this._imageState = null;\n _this._isMounted = false;\n\n _this._createLayoutHandler = function (resizeMode) {\n var onLayout = _this.props.onLayout;\n\n if (resizeMode === 'center' || resizeMode === 'repeat' || onLayout) {\n return function (e) {\n var layout = e.nativeEvent.layout;\n onLayout && onLayout(e);\n\n _this.setState(function () {\n return {\n layout: layout\n };\n });\n };\n }\n };\n\n _this._getBackgroundSize = function (resizeMode) {\n if (_this._imageRef && (resizeMode === 'center' || resizeMode === 'repeat')) {\n var _this$_imageRef = _this._imageRef,\n naturalHeight = _this$_imageRef.naturalHeight,\n naturalWidth = _this$_imageRef.naturalWidth;\n var _this$state$layout = _this.state.layout,\n height = _this$state$layout.height,\n width = _this$state$layout.width;\n\n if (naturalHeight && naturalWidth && height && width) {\n var scaleFactor = Math.min(1, width / naturalWidth, height / naturalHeight);\n var x = Math.ceil(scaleFactor * naturalWidth);\n var y = Math.ceil(scaleFactor * naturalHeight);\n return {\n backgroundSize: x + \"px \" + y + \"px\"\n };\n }\n }\n };\n\n _this._onError = function () {\n var _this$props = _this.props,\n onError = _this$props.onError,\n source = _this$props.source;\n\n _this._updateImageState(STATUS_ERRORED);\n\n if (onError) {\n onError({\n nativeEvent: {\n error: \"Failed to load resource \" + resolveAssetUri(source) + \" (404)\"\n }\n });\n }\n\n _this._onLoadEnd();\n };\n\n _this._onLoad = function (e) {\n var _this$props2 = _this.props,\n onLoad = _this$props2.onLoad,\n source = _this$props2.source;\n var event = {\n nativeEvent: e\n };\n ImageUriCache.add(resolveAssetUri(source));\n\n _this._updateImageState(STATUS_LOADED);\n\n if (onLoad) {\n onLoad(event);\n }\n\n _this._onLoadEnd();\n };\n\n _this._setImageRef = function (ref) {\n _this._imageRef = ref;\n };\n\n var uri = resolveAssetUri(props.source);\n var shouldDisplaySource = ImageUriCache.has(uri);\n _this.state = {\n layout: {},\n shouldDisplaySource: shouldDisplaySource\n };\n _this._imageState = getImageState(uri, shouldDisplaySource);\n _this._filterId = filterId;\n filterId++;\n return _this;\n }\n\n var _proto = Image.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this._isMounted = true;\n\n if (this._imageState === STATUS_PENDING) {\n this._createImageLoader();\n } else if (this._imageState === STATUS_LOADED) {\n this._onLoad({\n target: this._imageRef\n });\n }\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var prevUri = resolveAssetUri(prevProps.source);\n var uri = resolveAssetUri(this.props.source);\n var hasDefaultSource = this.props.defaultSource != null;\n\n if (prevUri !== uri) {\n ImageUriCache.remove(prevUri);\n var isPreviouslyLoaded = ImageUriCache.has(uri);\n isPreviouslyLoaded && ImageUriCache.add(uri);\n\n this._updateImageState(getImageState(uri, isPreviouslyLoaded), hasDefaultSource);\n } else if (hasDefaultSource && prevProps.defaultSource !== this.props.defaultSource) {\n this._updateImageState(this._imageState, hasDefaultSource);\n }\n\n if (this._imageState === STATUS_PENDING) {\n this._createImageLoader();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var uri = resolveAssetUri(this.props.source);\n ImageUriCache.remove(uri);\n\n this._destroyImageLoader();\n\n this._isMounted = false;\n };\n\n _proto.render = function render() {\n var shouldDisplaySource = this.state.shouldDisplaySource;\n\n var _this$props3 = this.props,\n accessibilityLabel = _this$props3.accessibilityLabel,\n accessible = _this$props3.accessible,\n blurRadius = _this$props3.blurRadius,\n defaultSource = _this$props3.defaultSource,\n draggable = _this$props3.draggable,\n source = _this$props3.source,\n testID = _this$props3.testID,\n capInsets = _this$props3.capInsets,\n onError = _this$props3.onError,\n onLayout = _this$props3.onLayout,\n onLoad = _this$props3.onLoad,\n onLoadEnd = _this$props3.onLoadEnd,\n onLoadStart = _this$props3.onLoadStart,\n resizeMethod = _this$props3.resizeMethod,\n resizeMode = _this$props3.resizeMode,\n other = _objectWithoutPropertiesLoose(_this$props3, [\"accessibilityLabel\", \"accessible\", \"blurRadius\", \"defaultSource\", \"draggable\", \"source\", \"testID\", \"capInsets\", \"onError\", \"onLayout\", \"onLoad\", \"onLoadEnd\", \"onLoadStart\", \"resizeMethod\", \"resizeMode\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (this.props.src) {\n console.warn('The <Image> component requires a `source` property rather than `src`.');\n }\n\n if (this.props.children) {\n throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using the <ImageBackground> component or absolute positioning.');\n }\n }\n\n var selectedSource = shouldDisplaySource ? source : defaultSource;\n var displayImageUri = resolveAssetUri(selectedSource);\n var imageSizeStyle = resolveAssetDimensions(selectedSource);\n var backgroundImage = displayImageUri ? \"url(\\\"\" + displayImageUri + \"\\\")\" : null;\n\n var flatStyle = _objectSpread({}, StyleSheet.flatten(this.props.style));\n\n var finalResizeMode = resizeMode || flatStyle.resizeMode || ImageResizeMode.cover; // CSS filters\n\n var filters = [];\n var tintColor = flatStyle.tintColor;\n\n if (flatStyle.filter) {\n filters.push(flatStyle.filter);\n }\n\n if (blurRadius) {\n filters.push(\"blur(\" + blurRadius + \"px)\");\n }\n\n if (flatStyle.shadowOffset) {\n var shadowString = resolveShadowValue(flatStyle);\n\n if (shadowString) {\n filters.push(\"drop-shadow(\" + shadowString + \")\");\n }\n }\n\n if (flatStyle.tintColor) {\n filters.push(\"url(#tint-\" + this._filterId + \")\");\n } // these styles were converted to filters\n\n\n delete flatStyle.shadowColor;\n delete flatStyle.shadowOpacity;\n delete flatStyle.shadowOffset;\n delete flatStyle.shadowRadius;\n delete flatStyle.tintColor; // these styles are not supported on View\n\n delete flatStyle.overlayColor;\n delete flatStyle.resizeMode; // Accessibility image allows users to trigger the browser's image context menu\n\n var hiddenImage = displayImageUri ? createElement('img', {\n alt: accessibilityLabel || '',\n classList: [classes.accessibilityImage],\n draggable: draggable || false,\n ref: this._setImageRef,\n src: displayImageUri\n }) : null;\n return React.createElement(View, _extends({}, other, {\n accessibilityLabel: accessibilityLabel,\n accessible: accessible,\n onLayout: this._createLayoutHandler(finalResizeMode),\n style: [styles.root, this.context.isInAParentText && styles.inline, imageSizeStyle, flatStyle],\n testID: testID\n }), React.createElement(View, {\n style: [styles.image, resizeModeStyles[finalResizeMode], this._getBackgroundSize(finalResizeMode), backgroundImage && {\n backgroundImage: backgroundImage\n }, filters.length > 0 && {\n filter: filters.join(' ')\n }]\n }), hiddenImage, createTintColorSVG(tintColor, this._filterId));\n };\n\n _proto._createImageLoader = function _createImageLoader() {\n var source = this.props.source;\n\n this._destroyImageLoader();\n\n var uri = resolveAssetUri(source);\n this._imageRequestId = ImageLoader.load(uri, this._onLoad, this._onError);\n\n this._onLoadStart();\n };\n\n _proto._destroyImageLoader = function _destroyImageLoader() {\n if (this._imageRequestId) {\n ImageLoader.abort(this._imageRequestId);\n this._imageRequestId = null;\n }\n };\n\n _proto._onLoadEnd = function _onLoadEnd() {\n var onLoadEnd = this.props.onLoadEnd;\n\n if (onLoadEnd) {\n onLoadEnd();\n }\n };\n\n _proto._onLoadStart = function _onLoadStart() {\n var _this$props4 = this.props,\n defaultSource = _this$props4.defaultSource,\n onLoadStart = _this$props4.onLoadStart;\n\n this._updateImageState(STATUS_LOADING, defaultSource != null);\n\n if (onLoadStart) {\n onLoadStart();\n }\n };\n\n _proto._updateImageState = function _updateImageState(status, hasDefaultSource) {\n if (hasDefaultSource === void 0) {\n hasDefaultSource = false;\n }\n\n this._imageState = status;\n var shouldDisplaySource = this._imageState === STATUS_LOADED || this._imageState === STATUS_LOADING && !hasDefaultSource; // only triggers a re-render when the image is loading and has no default image (to support PJPEG), loaded, or failed\n\n if (shouldDisplaySource !== this.state.shouldDisplaySource) {\n if (this._isMounted) {\n this.setState(function () {\n return {\n shouldDisplaySource: shouldDisplaySource\n };\n });\n }\n }\n };\n\n return Image;\n}(Component);\n\nImage.displayName = 'Image';\nImage.contextTypes = {\n isInAParentText: bool\n};\nImage.defaultProps = {\n style: emptyObject\n};\nImage.propTypes = process.env.NODE_ENV !== \"production\" ? _objectSpread({}, ViewPropTypes, {\n blurRadius: number,\n defaultSource: ImageSourcePropType,\n draggable: bool,\n onError: func,\n onLayout: func,\n onLoad: func,\n onLoadEnd: func,\n onLoadStart: func,\n resizeMode: oneOf(Object.keys(ImageResizeMode)),\n source: ImageSourcePropType,\n style: StyleSheetPropType(ImageStylePropTypes),\n // compatibility with React Native\n\n /* eslint-disable react/sort-prop-types */\n capInsets: shape({\n top: number,\n left: number,\n bottom: number,\n right: number\n }),\n resizeMethod: oneOf(['auto', 'resize', 'scale'])\n /* eslint-enable react/sort-prop-types */\n\n}) : {};\nvar classes = css.create({\n accessibilityImage: _objectSpread({}, StyleSheet.absoluteFillObject, {\n height: '100%',\n opacity: 0,\n width: '100%',\n zIndex: -1\n })\n});\nvar styles = StyleSheet.create({\n root: {\n flexBasis: 'auto',\n overflow: 'hidden',\n zIndex: 0\n },\n inline: {\n display: 'inline-flex'\n },\n image: _objectSpread({}, StyleSheet.absoluteFillObject, {\n backgroundColor: 'transparent',\n backgroundPosition: 'center',\n backgroundRepeat: 'no-repeat',\n backgroundSize: 'cover',\n height: '100%',\n width: '100%',\n zIndex: -1\n })\n});\nvar resizeModeStyles = StyleSheet.create({\n center: {\n backgroundSize: 'auto'\n },\n contain: {\n backgroundSize: 'contain'\n },\n cover: {\n backgroundSize: 'cover'\n },\n none: {\n backgroundPosition: '0 0',\n backgroundSize: 'auto'\n },\n repeat: {\n backgroundPosition: '0 0',\n backgroundRepeat: 'repeat',\n backgroundSize: 'auto'\n },\n stretch: {\n backgroundSize: '100% 100%'\n }\n});\nexport default applyNativeMethods(Image);"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _applyLayout=_interopRequireDefault(require(\"../../modules/applyLayout\"));var _applyNativeMethods=_interopRequireDefault(require(\"../../modules/applyNativeMethods\"));var _propTypes=require(\"prop-types\");var _createElement=_interopRequireDefault(require(\"../createElement\"));var _css=_interopRequireDefault(require(\"../StyleSheet/css\"));var _filterSupportedProps=_interopRequireDefault(require(\"./filterSupportedProps\"));var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var _warning=_interopRequireDefault(require(\"fbjs/lib/warning\"));var _StyleSheet=_interopRequireDefault(require(\"../StyleSheet\"));var _ViewPropTypes=_interopRequireDefault(require(\"./ViewPropTypes\"));var _react=_interopRequireWildcard(require(\"react\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var calculateHitSlopStyle=function calculateHitSlopStyle(hitSlop){var hitStyle={};for(var prop in hitSlop){if(hitSlop.hasOwnProperty(prop)){var value=hitSlop[prop];hitStyle[prop]=value>0?-1*value:0;}}return hitStyle;};var View=function(_Component){_inheritsLoose(View,_Component);function View(){return _Component.apply(this,arguments)||this;}var _proto=View.prototype;_proto.render=function render(){var hitSlop=this.props.hitSlop;var supportedProps=(0,_filterSupportedProps.default)(this.props);if(process.env.NODE_ENV!=='production'){(0,_warning.default)(this.props.className==null,'Using the \"className\" prop on <View> is deprecated.');_react.default.Children.toArray(this.props.children).forEach(function(item){(0,_invariant.default)(typeof item!=='string',\"Unexpected text node: \"+item+\". A text node cannot be a child of a <View>.\");});}var isInAParentText=this.context.isInAParentText;supportedProps.classList=[this.props.className,classes.view];supportedProps.style=_StyleSheet.default.compose(isInAParentText&&styles.inline,this.props.style);if(hitSlop){var hitSlopStyle=calculateHitSlopStyle(hitSlop);var hitSlopChild=(0,_createElement.default)('span',{classList:[classes.hitSlop],style:hitSlopStyle});supportedProps.children=_react.default.Children.toArray([hitSlopChild,supportedProps.children]);}return(0,_createElement.default)('div',supportedProps);};return View;}(_react.Component);View.displayName='View';View.contextTypes={isInAParentText:_propTypes.bool};View.propTypes=process.env.NODE_ENV!==\"production\"?_ViewPropTypes.default:{};var classes=_css.default.create({view:{alignItems:'stretch',border:'0 solid black',boxSizing:'border-box',display:'flex',flexBasis:'auto',flexDirection:'column',flexShrink:0,margin:0,minHeight:0,minWidth:0,padding:0,position:'relative',zIndex:0},hitSlop:{position:'absolute',top:0,left:0,right:0,bottom:0,zIndex:-1}});var styles=_StyleSheet.default.create({inline:{display:'inline-flex'}});var _default=(0,_applyLayout.default)((0,_applyNativeMethods.default)(View));exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/View/index.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","calculateHitSlopStyle","hitSlop","hitStyle","prop","hasOwnProperty","value","View","_Component","apply","arguments","_proto","render","props","supportedProps","process","env","NODE_ENV","className","React","Children","toArray","children","forEach","item","isInAParentText","context","classList","classes","view","style","StyleSheet","compose","styles","inline","hitSlopStyle","hitSlopChild","Component","displayName","contextTypes","bool","propTypes","ViewPropTypes","css","alignItems","border","boxSizing","display","flexBasis","flexDirection","flexShrink","margin","minHeight","minWidth","padding","position","zIndex","top","left","right","bottom"],"mappings":"wPAWA,8EACA,4FACA,qC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AACkC,SAAL,CAAiB1B,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwCyB,sBAAxC,CAAwD,EAAzE,CACA,GAAId,CAAAA,OAAO,CAAGe,aAAI7C,MAAJ,CAAW,CACvB+B,IAAI,CAAE,CACJe,UAAU,CAAE,SADR,CAEJC,MAAM,CAAE,eAFJ,CAGJC,SAAS,CAAE,YAHP,CAIJC,OAAO,CAAE,MAJL,CAKJC,SAAS,CAAE,MALP,CAMJC,aAAa,CAAE,QANX,CAOJC,UAAU,CAAE,CAPR,CAQJC,MAAM,CAAE,CARJ,CASJC,SAAS,CAAE,CATP,CAUJC,QAAQ,CAAE,CAVN,CAWJC,OAAO,CAAE,CAXL,CAYJC,QAAQ,CAAE,UAZN,CAaJC,MAAM,CAAE,CAbJ,CADiB,CAkBvBtD,OAAO,CAAE,CACPqD,QAAQ,CAAE,UADH,CAEPE,GAAG,CAAE,CAFE,CAGPC,IAAI,CAAE,CAHC,CAIPC,KAAK,CAAE,CAJA,CAKPC,MAAM,CAAE,CALD,CAMPJ,MAAM,CAAE,CAAC,CANF,CAlBc,CAAX,CAAd,CA2BA,GAAIvB,CAAAA,MAAM,CAAGF,oBAAWjC,MAAX,CAAkB,CAC7BoC,MAAM,CAAE,CACNa,OAAO,CAAE,aADH,CADqB,CAAlB,CAAb,C,aAKe,yBAAY,gCAAmBxC,IAAnB,CAAZ,C","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport applyLayout from '../../modules/applyLayout';\nimport applyNativeMethods from '../../modules/applyNativeMethods';\nimport { bool } from 'prop-types';\nimport createElement from '../createElement';\nimport css from '../StyleSheet/css';\nimport filterSupportedProps from './filterSupportedProps';\nimport invariant from 'fbjs/lib/invariant';\nimport warning from 'fbjs/lib/warning';\nimport StyleSheet from '../StyleSheet';\nimport ViewPropTypes from './ViewPropTypes';\nimport React, { Component } from 'react';\n\nvar calculateHitSlopStyle = function calculateHitSlopStyle(hitSlop) {\n var hitStyle = {};\n\n for (var prop in hitSlop) {\n if (hitSlop.hasOwnProperty(prop)) {\n var value = hitSlop[prop];\n hitStyle[prop] = value > 0 ? -1 * value : 0;\n }\n }\n\n return hitStyle;\n};\n\nvar View =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(View, _Component);\n\n function View() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = View.prototype;\n\n _proto.render = function render() {\n var hitSlop = this.props.hitSlop;\n var supportedProps = filterSupportedProps(this.props);\n\n if (process.env.NODE_ENV !== 'production') {\n warning(this.props.className == null, 'Using the \"className\" prop on <View> is deprecated.');\n React.Children.toArray(this.props.children).forEach(function (item) {\n invariant(typeof item !== 'string', \"Unexpected text node: \" + item + \". A text node cannot be a child of a <View>.\");\n });\n }\n\n var isInAParentText = this.context.isInAParentText;\n supportedProps.classList = [this.props.className, classes.view];\n supportedProps.style = StyleSheet.compose(isInAParentText && styles.inline, this.props.style);\n\n if (hitSlop) {\n var hitSlopStyle = calculateHitSlopStyle(hitSlop);\n var hitSlopChild = createElement('span', {\n classList: [classes.hitSlop],\n style: hitSlopStyle\n });\n supportedProps.children = React.Children.toArray([hitSlopChild, supportedProps.children]);\n }\n\n return createElement('div', supportedProps);\n };\n\n return View;\n}(Component);\n\nView.displayName = 'View';\nView.contextTypes = {\n isInAParentText: bool\n};\nView.propTypes = process.env.NODE_ENV !== \"production\" ? ViewPropTypes : {};\nvar classes = css.create({\n view: {\n alignItems: 'stretch',\n border: '0 solid black',\n boxSizing: 'border-box',\n display: 'flex',\n flexBasis: 'auto',\n flexDirection: 'column',\n flexShrink: 0,\n margin: 0,\n minHeight: 0,\n minWidth: 0,\n padding: 0,\n position: 'relative',\n zIndex: 0\n },\n // this zIndex-ordering positions the hitSlop above the View but behind\n // its children\n hitSlop: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: -1\n }\n});\nvar styles = StyleSheet.create({\n inline: {\n display: 'inline-flex'\n }\n});\nexport default applyLayout(applyNativeMethods(View));"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=createIconSet;exports.DEFAULT_ICON_COLOR=exports.DEFAULT_ICON_SIZE=exports.NativeIconAPI=void 0;var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireWildcard(require(\"react\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _NativeModules=_interopRequireDefault(require(\"react-native-web/dist/exports/NativeModules\"));var _Platform=_interopRequireDefault(require(\"react-native-web/dist/exports/Platform\"));var _PixelRatio=_interopRequireDefault(require(\"react-native-web/dist/exports/PixelRatio\"));var _processColor=_interopRequireDefault(require(\"react-native-web/dist/exports/processColor\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _ensureNativeModuleAvailable=_interopRequireDefault(require(\"./ensure-native-module-available\"));var _iconButton=_interopRequireDefault(require(\"./icon-button\"));var _tabBarItemIos=_interopRequireDefault(require(\"./tab-bar-item-ios\"));var _toolbarAndroid=_interopRequireDefault(require(\"./toolbar-android\"));var NativeIconAPI=_NativeModules.default.RNVectorIconsManager||_NativeModules.default.RNVectorIconsModule;exports.NativeIconAPI=NativeIconAPI;var DEFAULT_ICON_SIZE=12;exports.DEFAULT_ICON_SIZE=DEFAULT_ICON_SIZE;var DEFAULT_ICON_COLOR='black';exports.DEFAULT_ICON_COLOR=DEFAULT_ICON_COLOR;function createIconSet(glyphMap,fontFamily,fontFile,fontStyle){var fontBasename=fontFile?fontFile.replace(/\\.(otf|ttf)$/,''):fontFamily;var fontReference=_Platform.default.select({windows:\"Assets/\"+fontFile+\"#\"+fontFamily,android:fontBasename,web:fontBasename,default:fontFamily});var IconNamePropType=_propTypes.default.oneOf(Object.keys(glyphMap));var Icon=function(_PureComponent){(0,_inherits2.default)(Icon,_PureComponent);function Icon(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,Icon);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Icon)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.root=null;_this.handleRef=function(ref){_this.root=ref;};return _this;}(0,_createClass2.default)(Icon,[{key:\"setNativeProps\",value:function setNativeProps(nativeProps){if(this.root){this.root.setNativeProps(nativeProps);}}},{key:\"render\",value:function render(){var _this$props=this.props,name=_this$props.name,size=_this$props.size,color=_this$props.color,style=_this$props.style,children=_this$props.children,props=(0,_objectWithoutProperties2.default)(_this$props,[\"name\",\"size\",\"color\",\"style\",\"children\"]);var glyph=name?glyphMap[name]||'?':'';if(typeof glyph==='number'){glyph=String.fromCharCode(glyph);}var styleDefaults={fontSize:size,color:color};var styleOverrides={fontFamily:fontReference,fontWeight:'normal',fontStyle:'normal'};props.style=[styleDefaults,style,styleOverrides,fontStyle||{}];props.ref=this.handleRef;return _react.default.createElement(_Text.default,props,glyph,children);}}]);return Icon;}(_react.PureComponent);Icon.propTypes={allowFontScaling:_propTypes.default.bool,name:IconNamePropType,size:_propTypes.default.number,color:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),children:_propTypes.default.node,style:_propTypes.default.any};Icon.defaultProps={size:DEFAULT_ICON_SIZE,allowFontScaling:false};var imageSourceCache={};function getImageSource(name){var size=arguments.length>1&&arguments[1]!==undefined?arguments[1]:DEFAULT_ICON_SIZE;var color=arguments.length>2&&arguments[2]!==undefined?arguments[2]:DEFAULT_ICON_COLOR;(0,_ensureNativeModuleAvailable.default)();var glyph=glyphMap[name]||'?';if(typeof glyph==='number'){glyph=String.fromCharCode(glyph);}var processedColor=(0,_processColor.default)(color);var cacheKey=glyph+\":\"+size+\":\"+processedColor;var scale=_PixelRatio.default.get();return new Promise(function(resolve,reject){var cached=imageSourceCache[cacheKey];if(typeof cached!=='undefined'){if(!cached||cached instanceof Error){reject(cached);}else{resolve({uri:cached,scale:scale});}}else{NativeIconAPI.getImageForFont(fontReference,glyph,size,processedColor,function(err,image){var error=typeof err==='string'?new Error(err):err;imageSourceCache[cacheKey]=image||error||false;if(!error&&image){resolve({uri:image,scale:scale});}else{reject(error);}});}});}function loadFont(){var file=arguments.length>0&&arguments[0]!==undefined?arguments[0]:fontFile;if(_Platform.default.OS==='ios'){(0,_ensureNativeModuleAvailable.default)();if(!file){return Promise.reject(new Error('Unable to load font, because no file was specified. '));}return NativeIconAPI.loadFontWithFileName.apply(NativeIconAPI,(0,_toConsumableArray2.default)(file.split('.')));}return Promise.resolve();}function hasIcon(name){return Object.prototype.hasOwnProperty.call(glyphMap,name);}function getRawGlyphMap(){return glyphMap;}function getFontFamily(){return fontReference;}Icon.Button=(0,_iconButton.default)(Icon);Icon.TabBarItem=(0,_tabBarItemIos.default)(IconNamePropType,getImageSource);Icon.TabBarItemIOS=Icon.TabBarItem;Icon.ToolbarAndroid=(0,_toolbarAndroid.default)(IconNamePropType,getImageSource);Icon.getImageSource=getImageSource;Icon.loadFont=loadFont;Icon.hasIcon=hasIcon;Icon.getRawGlyphMap=getRawGlyphMap;Icon.getFontFamily=getFontFamily;return Icon;}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set.js"],"names":["NativeIconAPI","NativeModules","RNVectorIconsManager","RNVectorIconsModule","DEFAULT_ICON_SIZE","DEFAULT_ICON_COLOR","createIconSet","glyphMap","fontFamily","fontFile","fontStyle","fontBasename","replace","fontReference","Platform","select","windows","android","web","default","IconNamePropType","PropTypes","oneOf","Object","keys","Icon","root","handleRef","ref","nativeProps","setNativeProps","props","name","size","color","style","children","glyph","String","fromCharCode","styleDefaults","fontSize","styleOverrides","fontWeight","PureComponent","propTypes","allowFontScaling","bool","number","oneOfType","string","node","any","defaultProps","imageSourceCache","getImageSource","processedColor","cacheKey","scale","PixelRatio","get","Promise","resolve","reject","cached","Error","uri","getImageForFont","err","image","error","loadFont","file","OS","loadFontWithFileName","split","hasIcon","prototype","hasOwnProperty","call","getRawGlyphMap","getFontFamily","Button","TabBarItem","TabBarItemIOS","ToolbarAndroid"],"mappings":"+/BAAA,qDACA,6D,scAGA,qGACA,iEACA,yEACA,yEAEO,GAAMA,CAAAA,aAAa,CACxBC,uBAAcC,oBAAd,EAAsCD,uBAAcE,mBAD/C,C,oCAGA,GAAMC,CAAAA,iBAAiB,CAAG,EAA1B,C,4CACA,GAAMC,CAAAA,kBAAkB,CAAG,OAA3B,C,8CAEQ,QAASC,CAAAA,aAAT,CACbC,QADa,CAEbC,UAFa,CAGbC,QAHa,CAIbC,SAJa,CAKb,CAEA,GAAMC,CAAAA,YAAY,CAAGF,QAAQ,CACzBA,QAAQ,CAACG,OAAT,CAAiB,cAAjB,CAAiC,EAAjC,CADyB,CAEzBJ,UAFJ,CAIA,GAAMK,CAAAA,aAAa,CAAGC,kBAASC,MAAT,CAAgB,CACpCC,OAAO,WAA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CAED,QAASc,CAAAA,OAAT,CAAiB5C,IAAjB,CAAuB,CACrB,MAAOT,CAAAA,MAAM,CAACsD,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCxE,QAArC,CAA+CyB,IAA/C,CAAP,CACD,CAED,QAASgD,CAAAA,cAAT,EAA0B,CACxB,MAAOzE,CAAAA,QAAP,CACD,CAED,QAAS0E,CAAAA,aAAT,EAAyB,CACvB,MAAOpE,CAAAA,aAAP,CACD,CAEDY,IAAI,CAACyD,MAAL,CAAc,wBAA0BzD,IAA1B,CAAd,CACAA,IAAI,CAAC0D,UAAL,CAAkB,2BAChB/D,gBADgB,CAEhBmC,cAFgB,CAAlB,CAIA9B,IAAI,CAAC2D,aAAL,CAAqB3D,IAAI,CAAC0D,UAA1B,CACA1D,IAAI,CAAC4D,cAAL,CAAsB,4BACpBjE,gBADoB,CAEpBmC,cAFoB,CAAtB,CAIA9B,IAAI,CAAC8B,cAAL,CAAsBA,cAAtB,CACA9B,IAAI,CAAC8C,QAAL,CAAgBA,QAAhB,CACA9C,IAAI,CAACmD,OAAL,CAAeA,OAAf,CACAnD,IAAI,CAACuD,cAAL,CAAsBA,cAAtB,CACAvD,IAAI,CAACwD,aAAL,CAAqBA,aAArB,CAEA,MAAOxD,CAAAA,IAAP,CACD","sourcesContent":["import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { NativeModules, Platform, PixelRatio, processColor, Text } from 'react-native';\n\nimport ensureNativeModuleAvailable from './ensure-native-module-available';\nimport createIconButtonComponent from './icon-button';\nimport createTabBarItemIOSComponent from './tab-bar-item-ios';\nimport createToolbarAndroidComponent from './toolbar-android';\n\nexport const NativeIconAPI =\n NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport const DEFAULT_ICON_SIZE = 12;\nexport const DEFAULT_ICON_COLOR = 'black';\n\nexport default function createIconSet(\n glyphMap,\n fontFamily,\n fontFile,\n fontStyle\n) {\n // Android doesn't care about actual fontFamily name, it will only look in fonts folder.\n const fontBasename = fontFile\n ? fontFile.replace(/\\.(otf|ttf)$/, '')\n : fontFamily;\n\n const fontReference = Platform.select({\n windows: `Assets/${fontFile}#${fontFamily}`,\n android: fontBasename,\n web: fontBasename,\n default: fontFamily,\n });\n\n const IconNamePropType = PropTypes.oneOf(Object.keys(glyphMap));\n\n class Icon extends PureComponent {\n static propTypes = {\n allowFontScaling: PropTypes.bool,\n name: IconNamePropType,\n size: PropTypes.number,\n color: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n children: PropTypes.node,\n style: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n };\n\n static defaultProps = {\n size: DEFAULT_ICON_SIZE,\n allowFontScaling: false,\n };\n\n root = null;\n\n setNativeProps(nativeProps) {\n if (this.root) {\n this.root.setNativeProps(nativeProps);\n }\n }\n\n handleRef = ref => {\n this.root = ref;\n };\n\n render() {\n const { name, size, color, style, children, ...props } = this.props;\n\n let glyph = name ? glyphMap[name] || '?' : '';\n if (typeof glyph === 'number') {\n glyph = String.fromCharCode(glyph);\n }\n\n const styleDefaults = {\n fontSize: size,\n color,\n };\n\n const styleOverrides = {\n fontFamily: fontReference,\n fontWeight: 'normal',\n fontStyle: 'normal',\n };\n\n props.style = [styleDefaults, style, styleOverrides, fontStyle || {}];\n props.ref = this.handleRef;\n\n return (\n <Text {...props}>\n {glyph}\n {children}\n </Text>\n );\n }\n }\n\n const imageSourceCache = {};\n\n function getImageSource(\n name,\n size = DEFAULT_ICON_SIZE,\n color = DEFAULT_ICON_COLOR\n ) {\n ensureNativeModuleAvailable();\n\n let glyph = glyphMap[name] || '?';\n if (typeof glyph === 'number') {\n glyph = String.fromCharCode(glyph);\n }\n\n const processedColor = processColor(color);\n const cacheKey = `${glyph}:${size}:${processedColor}`;\n const scale = PixelRatio.get();\n\n return new Promise((resolve, reject) => {\n const cached = imageSourceCache[cacheKey];\n if (typeof cached !== 'undefined') {\n if (!cached || cached instanceof Error) {\n reject(cached);\n } else {\n resolve({ uri: cached, scale });\n }\n } else {\n NativeIconAPI.getImageForFont(\n fontReference,\n glyph,\n size,\n processedColor,\n (err, image) => {\n const error = typeof err === 'string' ? new Error(err) : err;\n imageSourceCache[cacheKey] = image || error || false;\n if (!error && image) {\n resolve({ uri: image, scale });\n } else {\n reject(error);\n }\n }\n );\n }\n });\n }\n\n function loadFont(file = fontFile) {\n if (Platform.OS === 'ios') {\n ensureNativeModuleAvailable();\n if (!file) {\n return Promise.reject(\n new Error('Unable to load font, because no file was specified. ')\n );\n }\n return NativeIconAPI.loadFontWithFileName(...file.split('.'));\n }\n return Promise.resolve();\n }\n\n function hasIcon(name) {\n return Object.prototype.hasOwnProperty.call(glyphMap, name);\n }\n\n function getRawGlyphMap() {\n return glyphMap;\n }\n\n function getFontFamily() {\n return fontReference;\n }\n\n Icon.Button = createIconButtonComponent(Icon);\n Icon.TabBarItem = createTabBarItemIOSComponent(\n IconNamePropType,\n getImageSource\n );\n Icon.TabBarItemIOS = Icon.TabBarItem;\n Icon.ToolbarAndroid = createToolbarAndroidComponent(\n IconNamePropType,\n getImageSource\n );\n Icon.getImageSource = getImageSource;\n Icon.loadFont = loadFont;\n Icon.hasIcon = hasIcon;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.getFontFamily = getFontFamily;\n\n return Icon;\n}\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"'use strict';Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;function infoLog(){var _console;return(_console=console).log.apply(_console,arguments);}var _default=infoLog;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/infoLog/index.js"],"names":["infoLog","_console","console","log","apply","arguments"],"mappings":"AAMA,a,gFAKA,QAASA,CAAAA,OAAT,EAAmB,CACjB,GAAIC,CAAAA,QAAJ,CAEA,MAAO,CAACA,QAAQ,CAAGC,OAAZ,EAAqBC,GAArB,CAAyBC,KAAzB,CAA+BH,QAA/B,CAAyCI,SAAzC,CAAP,CACD,C,aAEcL,O","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n/**\n * Intentional info-level logging for clear separation from ad-hoc console debug logging.\n */\n\nfunction infoLog() {\n var _console;\n\n return (_console = console).log.apply(_console, arguments);\n}\n\nexport default infoLog;"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=_default;exports.isOrientationLandscape=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _react=_interopRequireDefault(require(\"react\"));var _Dimensions=_interopRequireDefault(require(\"react-native-web/dist/exports/Dimensions\"));var _hoistNonReactStatics=_interopRequireDefault(require(\"hoist-non-react-statics\"));var isOrientationLandscape=function isOrientationLandscape(_ref){var width=_ref.width,height=_ref.height;return width>height;};exports.isOrientationLandscape=isOrientationLandscape;function _default(WrappedComponent){var withOrientation=function(_React$Component){(0,_inherits2.default)(withOrientation,_React$Component);function withOrientation(){var _this;(0,_classCallCheck2.default)(this,withOrientation);_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(withOrientation).call(this));_this.handleOrientationChange=function(_ref2){var window=_ref2.window;var isLandscape=isOrientationLandscape(window);_this.setState({isLandscape:isLandscape});};var _isLandscape=isOrientationLandscape(_Dimensions.default.get('window'));_this.state={isLandscape:_isLandscape};return _this;}(0,_createClass2.default)(withOrientation,[{key:\"componentDidMount\",value:function componentDidMount(){_Dimensions.default.addEventListener('change',this.handleOrientationChange);}},{key:\"componentWillUnmount\",value:function componentWillUnmount(){_Dimensions.default.removeEventListener('change',this.handleOrientationChange);}},{key:\"render\",value:function render(){return _react.default.createElement(WrappedComponent,(0,_extends2.default)({},this.props,this.state));}}]);return withOrientation;}(_react.default.Component);return(0,_hoistNonReactStatics.default)(withOrientation,WrappedComponent);}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/@react-navigation/native/dist/withOrientation.js"],"names":["isOrientationLandscape","width","height","WrappedComponent","withOrientation","handleOrientationChange","window","isLandscape","setState","Dimensions","get","state","addEventListener","removeEventListener","props","React","Component"],"mappings":"qvBAAA,oD,4FAEA,qFAEO,GAAMA,CAAAA,sBAAsB,CAAG,QAAzBA,CAAAA,sBAAyB,UAAGC,CAAAA,KAAH,MAAGA,KAAH,CAAUC,MAAV,MAAUA,MAAV,OAAuBD,CAAAA,KAAK,CAAGC,MAA/B,EAA/B,C,sDAEQ,kBAAUC,gBAAV,CAA4B,IACnCC,CAAAA,eADmC,qFAEvC,0BAAc,8DACZ,6GADY,MAedC,uBAfc,CAeY,eAAgB,IAAbC,CAAAA,MAAa,OAAbA,MAAa,CACxC,GAAMC,CAAAA,WAAW,CAAGP,sBAAsB,CAACM,MAAD,CAA1C,CACA,MAAKE,QAAL,CAAc,CAAED,WAAW,CAAXA,WAAF,CAAd,EACD,CAlBa,CAGZ,GAAMA,CAAAA,YAAW,CAAGP,sBAAsB,CAACS,oBAAWC,GAAX,CAAe,QAAf,CAAD,CAA1C,CACA,MAAKC,KAAL,CAAa,CAAEJ,WAAW,CAAXA,YAAF,CAAb,CAJY,aAKb,CAPsC,sGASnB,CAClBE,oBAAWG,gBAAX,CAA4B,QAA5B,CAAsC,KAAKP,uBAA3C,EACD,CAXsC,mEAahB,CACrBI,oBAAWI,mBAAX,CAA+B,QAA/B,CAAyC,KAAKR,uBAA9C,EACD,CAfsC,uCAsB9B,CACP,MAAO,8BAAC,gBAAD,0BAAsB,KAAKS,KAA3B,CAAsC,KAAKH,KAA3C,EAAP,CACD,CAxBsC,6BACXI,eAAMC,SADK,EA2BzC,MAAO,kCAAoBZ,eAApB,CAAqCD,gBAArC,CAAP,CACD","sourcesContent":["import React from 'react';\nimport { Dimensions } from 'react-native';\nimport hoistNonReactStatic from 'hoist-non-react-statics';\n\nexport const isOrientationLandscape = ({ width, height }) => width > height;\n\nexport default function (WrappedComponent) {\n class withOrientation extends React.Component {\n constructor() {\n super();\n\n const isLandscape = isOrientationLandscape(Dimensions.get('window'));\n this.state = { isLandscape };\n }\n\n componentDidMount() {\n Dimensions.addEventListener('change', this.handleOrientationChange);\n }\n\n componentWillUnmount() {\n Dimensions.removeEventListener('change', this.handleOrientationChange);\n }\n\n handleOrientationChange = ({ window }) => {\n const isLandscape = isOrientationLandscape(window);\n this.setState({ isLandscape });\n };\n\n render() {\n return <WrappedComponent {...this.props} {...this.state} />;\n }\n }\n\n return hoistNonReactStatic(withOrientation, WrappedComponent);\n}"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf3=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var array=_interopRequireWildcard(require(\"d3-array\"));var scale=_interopRequireWildcard(require(\"d3-scale\"));var shape=_interopRequireWildcard(require(\"d3-shape\"));var _propTypes=_interopRequireDefault(require(\"prop-types\"));var _react=_interopRequireWildcard(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _reactNativeSvg=_interopRequireDefault(require(\"react-native-svg\"));var _animatedPath=_interopRequireDefault(require(\"../animated-path\"));var BarChart=function(_PureComponent){(0,_inherits2.default)(BarChart,_PureComponent);function BarChart(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,BarChart);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(BarChart)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.state={width:0,height:0};return _this;}(0,_createClass2.default)(BarChart,[{key:\"_onLayout\",value:function _onLayout(event){var _event$nativeEvent$la=event.nativeEvent.layout,height=_event$nativeEvent$la.height,width=_event$nativeEvent$la.width;this.setState({height:height,width:width});}},{key:\"calcXScale\",value:function calcXScale(domain){var _this$props=this.props,horizontal=_this$props.horizontal,_this$props$contentIn=_this$props.contentInset,_this$props$contentIn2=_this$props$contentIn.left,left=_this$props$contentIn2===void 0?0:_this$props$contentIn2,_this$props$contentIn3=_this$props$contentIn.right,right=_this$props$contentIn3===void 0?0:_this$props$contentIn3,spacingInner=_this$props.spacingInner,spacingOuter=_this$props.spacingOuter,clamp=_this$props.clamp;var width=this.state.width;if(horizontal){return scale.scaleLinear().domain(domain).range([left,width-right]).clamp(clamp);}return scale.scaleBand().domain(domain).range([left,width-right]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}},{key:\"calcYScale\",value:function calcYScale(domain){var _this$props2=this.props,horizontal=_this$props2.horizontal,_this$props2$contentI=_this$props2.contentInset,_this$props2$contentI2=_this$props2$contentI.top,top=_this$props2$contentI2===void 0?0:_this$props2$contentI2,_this$props2$contentI3=_this$props2$contentI.bottom,bottom=_this$props2$contentI3===void 0?0:_this$props2$contentI3,spacingInner=_this$props2.spacingInner,spacingOuter=_this$props2.spacingOuter,clamp=_this$props2.clamp;var height=this.state.height;if(horizontal){return scale.scaleBand().domain(domain).range([top,height-bottom]).paddingInner([spacingInner]).paddingOuter([spacingOuter]);}return scale.scaleLinear().domain(domain).range([height-bottom,top]).clamp(clamp);}},{key:\"calcAreas\",value:function calcAreas(x,y){var _this$props3=this.props,horizontal=_this$props3.horizontal,data=_this$props3.data,yAccessor=_this$props3.yAccessor;var values=data.map(function(item){return yAccessor({item:item});});if(horizontal){return data.map(function(bar,index){return{bar:bar,path:shape.area().y(function(value,_index){return _index===0?y(index):y(index)+y.bandwidth();}).x0(x(0)).x1(function(value){return x(value);}).defined(function(value){return typeof value==='number';})([values[index],values[index]])};});}return data.map(function(bar,index){return{bar:bar,path:shape.area().y0(y(0)).y1(function(value){return y(value);}).x(function(value,_index){return _index===0?x(index):x(index)+x.bandwidth();}).defined(function(value){return typeof value==='number';})([values[index],values[index]])};});}},{key:\"calcExtent\",value:function calcExtent(){var _this$props4=this.props,data=_this$props4.data,gridMin=_this$props4.gridMin,gridMax=_this$props4.gridMax,yAccessor=_this$props4.yAccessor;var values=data.map(function(obj){return yAccessor({item:obj});});var extent=array.extent([].concat((0,_toConsumableArray2.default)(values),[gridMax,gridMin]));var _this$props5=this.props,_this$props5$yMin=_this$props5.yMin,yMin=_this$props5$yMin===void 0?extent[0]:_this$props5$yMin,_this$props5$yMax=_this$props5.yMax,yMax=_this$props5$yMax===void 0?extent[1]:_this$props5$yMax;return[yMin,yMax];}},{key:\"calcIndexes\",value:function calcIndexes(){var data=this.props.data;return data.map(function(_,index){return index;});}},{key:\"render\",value:function render(){var _this2=this;var _this$props6=this.props,data=_this$props6.data,animate=_this$props6.animate,animationDuration=_this$props6.animationDuration,style=_this$props6.style,numberOfTicks=_this$props6.numberOfTicks,svg=_this$props6.svg,horizontal=_this$props6.horizontal,children=_this$props6.children;var _this$state=this.state,height=_this$state.height,width=_this$state.width;if(data.length===0){return _react.default.createElement(_View.default,{style:style});}var extent=this.calcExtent();var indexes=this.calcIndexes();var ticks=array.ticks(extent[0],extent[1],numberOfTicks);var xDomain=horizontal?extent:indexes;var yDomain=horizontal?indexes:extent;var x=this.calcXScale(xDomain);var y=this.calcYScale(yDomain);var bandwidth=horizontal?y.bandwidth():x.bandwidth();var areas=this.calcAreas(x,y).filter(function(area){return area.bar!==null&&area.bar!==undefined&&area.path!==null;});var extraProps={x:x,y:y,width:width,height:height,bandwidth:bandwidth,ticks:ticks,data:data};return _react.default.createElement(_View.default,{style:style},_react.default.createElement(_View.default,{style:{flex:1},onLayout:function onLayout(event){return _this2._onLayout(event);}},height>0&&width>0&&_react.default.createElement(_reactNativeSvg.default,{style:{height:height,width:width}},_react.default.Children.map(children,function(child){if(child&&child.props.belowChart){return _react.default.cloneElement(child,extraProps);}}),areas.map(function(area,index){var _area$bar$svg=area.bar.svg,barSvg=_area$bar$svg===void 0?{}:_area$bar$svg,path=area.path;return _react.default.createElement(_animatedPath.default,(0,_extends2.default)({key:index},svg,barSvg,{d:path,animate:animate,animationDuration:animationDuration}));}),_react.default.Children.map(children,function(child){if(child&&!child.props.belowChart){return _react.default.cloneElement(child,extraProps);}}))));}}]);return BarChart;}(_react.PureComponent);BarChart.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.object])).isRequired,style:_propTypes.default.any,spacingInner:_propTypes.default.number,spacingOuter:_propTypes.default.number,animate:_propTypes.default.bool,animationDuration:_propTypes.default.number,contentInset:_propTypes.default.shape({top:_propTypes.default.number,left:_propTypes.default.number,right:_propTypes.default.number,bottom:_propTypes.default.number}),numberOfTicks:_propTypes.default.number,gridMin:_propTypes.default.number,gridMax:_propTypes.default.number,svg:_propTypes.default.object,yMin:_propTypes.default.any,yMax:_propTypes.default.any,clamp:_propTypes.default.bool};BarChart.defaultProps={spacingInner:0.05,spacingOuter:0.05,contentInset:{},numberOfTicks:10,svg:{},yAccessor:function yAccessor(_ref){var item=_ref.item;return item;}};var _default=BarChart;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-svg-charts/src/bar-chart/bar-chart.js"],"names":["BarChart","state","width","height","event","nativeEvent","layout","setState","domain","props","horizontal","contentInset","left","right","spacingInner","spacingOuter","clamp","scale","scaleLinear","range","scaleBand","paddingInner","paddingOuter","top","bottom","x","y","data","yAccessor","values","map","item","bar","index","path","shape","area","value","_index","bandwidth","x0","x1","defined","y0","y1","gridMin","gridMax","obj","extent","array","yMin","yMax","_","animate","animationDuration","style","numberOfTicks","svg","children","length","calcExtent","indexes","calcIndexes","ticks","xDomain","yDomain","calcXScale","calcYScale","areas","calcAreas","filter","undefined","extraProps","flex","_onLayout","React","Children","child","belowChart","cloneElement","barSvg","PureComponent","propTypes","PropTypes","arrayOf","oneOfType","number","object","isRequired","any","bool","defaultProps"],"mappings":"s4BAAA,uDACA,uDACA,uDACA,6DACA,qD,gFAEA,wEACA,sE,GAEMA,CAAAA,Q,sbACFC,K,CAAQ,CACJC,KAAK,CAAE,CADH,CAEJC,MAAM,CAAE,CAFJ,C,6FAKEC,K,CAAO,2BAKTA,KALS,CAETC,WAFS,CAGLC,MAHK,CAGKH,MAHL,uBAGKA,MAHL,CAGaD,KAHb,uBAGaA,KAHb,CAMb,KAAKK,QAAL,CAAc,CAAEJ,MAAM,CAANA,MAAF,CAAUD,KAAK,CAALA,KAAV,CAAd,EACH,C,8CAEUM,M,CAAQ,iBAOX,KAAKC,KAPM,CAEXC,UAFW,aAEXA,UAFW,mCAGXC,YAHW,8CAGKC,IAHL,CAGKA,IAHL,iCAGY,CAHZ,qEAGeC,KAHf,CAGeA,KAHf,iCAGuB,CAHvB,wBAIXC,YAJW,aAIXA,YAJW,CAKXC,YALW,aAK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AAA,IAAH,MAAGA,IAAH,OAAcA,CAAAA,IAAd,EANS,CAAxB,C,aASe/B,Q","sourcesContent":["import * as array from 'd3-array'\nimport * as scale from 'd3-scale'\nimport * as shape from 'd3-shape'\nimport PropTypes from 'prop-types'\nimport React, { PureComponent } from 'react'\nimport { View } from 'react-native'\nimport Svg from 'react-native-svg'\nimport Path from '../animated-path'\n\nclass BarChart extends PureComponent {\n state = {\n width: 0,\n height: 0,\n }\n\n _onLayout(event) {\n const {\n nativeEvent: {\n layout: { height, width },\n },\n } = event\n this.setState({ height, width })\n }\n\n calcXScale(domain) {\n const {\n horizontal,\n contentInset: { left = 0, right = 0 },\n spacingInner,\n spacingOuter,\n clamp,\n } = this.props\n\n const { width } = this.state\n\n if (horizontal) {\n return scale\n .scaleLinear()\n .domain(domain)\n .range([left, width - right])\n .clamp(clamp)\n }\n\n return scale\n .scaleBand()\n .domain(domain)\n .range([left, width - right])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n calcYScale(domain) {\n const {\n horizontal,\n contentInset: { top = 0, bottom = 0 },\n spacingInner,\n spacingOuter,\n clamp,\n } = this.props\n\n const { height } = this.state\n\n if (horizontal) {\n return scale\n .scaleBand()\n .domain(domain)\n .range([top, height - bottom])\n .paddingInner([spacingInner])\n .paddingOuter([spacingOuter])\n }\n\n return scale\n .scaleLinear()\n .domain(domain)\n .range([height - bottom, top])\n .clamp(clamp)\n }\n\n calcAreas(x, y) {\n const { horizontal, data, yAccessor } = this.props\n\n const values = data.map((item) => yAccessor({ item }))\n\n if (horizontal) {\n return data.map((bar, index) => ({\n bar,\n path: shape\n .area()\n .y((value, _index) => (_index === 0 ? y(index) : y(index) + y.bandwidth()))\n .x0(x(0))\n .x1((value) => x(value))\n .defined((value) => typeof value === 'number')([values[index], values[index]]),\n }))\n }\n\n return data.map((bar, index) => ({\n bar,\n path: shape\n .area()\n .y0(y(0))\n .y1((value) => y(value))\n .x((value, _index) => (_index === 0 ? x(index) : x(index) + x.bandwidth()))\n .defined((value) => typeof value === 'number')([values[index], values[index]]),\n }))\n }\n\n calcExtent() {\n const { data, gridMin, gridMax, yAccessor } = this.props\n const values = data.map((obj) => yAccessor({ item: obj }))\n\n const extent = array.extent([...values, gridMax, gridMin])\n\n const { yMin = extent[0], yMax = extent[1] } = this.props\n\n return [yMin, yMax]\n }\n\n calcIndexes() {\n const { data } = this.props\n return data.map((_, index) => index)\n }\n\n render() {\n const { data, animate, animationDuration, style, numberOfTicks, svg, horizontal, children } = this.props\n\n const { height, width } = this.state\n\n if (data.length === 0) {\n return <View style={style} />\n }\n\n const extent = this.calcExtent()\n const indexes = this.calcIndexes()\n const ticks = array.ticks(extent[0], extent[1], numberOfTicks)\n\n const xDomain = horizontal ? extent : indexes\n const yDomain = horizontal ? indexes : extent\n\n const x = this.calcXScale(xDomain)\n const y = this.calcYScale(yDomain)\n\n const bandwidth = horizontal ? y.bandwidth() : x.bandwidth()\n\n const areas = this.calcAreas(x, y).filter(\n (area) => area.bar !== null && area.bar !== undefined && area.path !== null\n )\n\n const extraProps = {\n x,\n y,\n width,\n height,\n bandwidth,\n ticks,\n data,\n }\n\n return (\n <View style={style}>\n <View style={{ flex: 1 }} onLayout={(event) => this._onLayout(event)}>\n {height > 0 && width > 0 && (\n <Svg style={{ height, width }}>\n {React.Children.map(children, (child) => {\n if (child && child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n })}\n {areas.map((area, index) => {\n const {\n bar: { svg: barSvg = {} },\n path,\n } = area\n\n return (\n <Path\n key={index}\n {...svg}\n {...barSvg}\n d={path}\n animate={animate}\n animationDuration={animationDuration}\n />\n )\n })}\n {React.Children.map(children, (child) => {\n if (child && !child.props.belowChart) {\n return React.cloneElement(child, extraProps)\n }\n })}\n </Svg>\n )}\n </View>\n </View>\n )\n }\n}\n\nBarChart.propTypes = {\n data: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.object])).isRequired,\n style: PropTypes.any,\n spacingInner: PropTypes.number,\n spacingOuter: PropTypes.number,\n animate: PropTypes.bool,\n animationDuration: PropTypes.number,\n contentInset: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n }),\n numberOfTicks: PropTypes.number,\n gridMin: PropTypes.number,\n gridMax: PropTypes.number,\n svg: PropTypes.object,\n\n yMin: PropTypes.any,\n yMax: PropTypes.any,\n clamp: PropTypes.bool,\n}\n\nBarChart.defaultProps = {\n spacingInner: 0.05,\n spacingOuter: 0.05,\n contentInset: {},\n numberOfTicks: 10,\n svg: {},\n yAccessor: ({ item }) => item,\n}\n\nexport default BarChart\n"]},"metadata":{},"sourceType":"script"}
\ No newline at end of file
{
"expo": {
"name": "searchGuide",
"name": "길잡이",
"slug": "searchGuide",
"privacy": "public",
"sdkVersion": "35.0.0",
......@@ -28,6 +28,9 @@
],
"ios": {
"supportsTablet": true
},
"android": {
"package": "com.blackcow.bluejoy"
}
}
}
......