/*! For license information please see fh.1488.bundle_1719394352819.js.LICENSE.txt */
"use strict";(self.webpackChunkCustomerApp=self.webpackChunkCustomerApp||[]).push([[1488,170,6636,1540,4564],{40834:function(e,t,o){var i,n=o(85893),a=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},i(e,t)},function(e,t){function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=o(32330),l=o(44898),p=o(61853),u=o(30492),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state=new u.ImageZoomState,t.lastPositionX=null,t.positionX=0,t.animatedPositionX=new l.Animated.Value(0),t.lastPositionY=null,t.positionY=0,t.animatedPositionY=new l.Animated.Value(0),t.scale=1,t.animatedScale=new l.Animated.Value(1),t.zoomLastDistance=null,t.zoomCurrentDistance=0,t.lastTouchStartTime=0,t.horizontalWholeOuterCounter=0,t.swipeDownOffset=0,t.horizontalWholeCounter=0,t.verticalWholeCounter=0,t.centerDiffX=0,t.centerDiffY=0,t.lastClickTime=0,t.doubleClickX=0,t.doubleClickY=0,t.isDoubleClick=!1,t.isLongPress=!1,t.isHorizontalWrap=!1,t.imagePanResponder=l.PanResponder.create({onStartShouldSetPanResponder:t.props.onStartShouldSetPanResponder,onPanResponderTerminationRequest:t.props.onPanResponderTerminationRequest,onMoveShouldSetPanResponder:t.props.onMoveShouldSetPanResponder,onPanResponderGrant:function(e){if(t.lastPositionX=null,t.lastPositionY=null,t.zoomLastDistance=null,t.horizontalWholeCounter=0,t.verticalWholeCounter=0,t.lastTouchStartTime=(new Date).getTime(),t.isDoubleClick=!1,t.isLongPress=!1,t.isHorizontalWrap=!1,t.singleClickTimeout&&clearTimeout(t.singleClickTimeout),e.nativeEvent.changedTouches.length>1){var o=(e.nativeEvent.changedTouches[0].pageX+e.nativeEvent.changedTouches[1].pageX)/2;t.centerDiffX=o-t.props.cropWidth/2;var i=(e.nativeEvent.changedTouches[0].pageY+e.nativeEvent.changedTouches[1].pageY)/2;t.centerDiffY=i-t.props.cropHeight/2}t.longPressTimeout&&clearTimeout(t.longPressTimeout);var n=e.nativeEvent,a=n.locationX,s=n.locationY,r=n.pageX,p=n.pageY;if(t.longPressTimeout=setTimeout((function(){t.isLongPress=!0,t.props.onLongPress&&t.props.onLongPress({locationX:a,locationY:s,pageX:r,pageY:p})}),t.props.longPressTime),e.nativeEvent.changedTouches.length<=1)if((new Date).getTime()-t.lastClickTime<(t.props.doubleClickInterval||0)){if(t.lastClickTime=0,t.doubleClickX=e.nativeEvent.changedTouches[0].pageX,t.doubleClickY=e.nativeEvent.changedTouches[0].pageY,t.props.onDoubleClick&&t.props.onDoubleClick({locationX:e.nativeEvent.changedTouches[0].locationX,locationY:e.nativeEvent.changedTouches[0].locationY,pageX:t.doubleClickX,pageY:t.doubleClickY}),clearTimeout(t.longPressTimeout),t.isDoubleClick=!0,t.props.enableDoubleClickZoom){if(t.scale>1||t.scale<1)t.scale=1,t.positionX=0,t.positionY=0;else{var u=t.scale;t.scale=2;var c=t.scale-u;t.positionX=(t.props.cropWidth/2-t.doubleClickX)*c/t.scale,t.positionY=(t.props.cropHeight/2-t.doubleClickY)*c/t.scale}t.imageDidMove("centerOn"),l.Animated.parallel([l.Animated.timing(t.animatedScale,{toValue:t.scale,duration:100,useNativeDriver:!!t.props.useNativeDriver}),l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}),l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver})]).start()}}else t.lastClickTime=(new Date).getTime()},onPanResponderMove:function(e,o){if(!t.isDoubleClick){if(e.nativeEvent.changedTouches.length<=1){var i=o.dx-(t.lastPositionX||0);null===t.lastPositionX&&(i=0);var n=o.dy-(t.lastPositionY||0);if(null===t.lastPositionY&&(n=0),t.lastPositionX=o.dx,t.lastPositionY=o.dy,t.horizontalWholeCounter+=i,t.verticalWholeCounter+=n,(Math.abs(t.horizontalWholeCounter)>5||Math.abs(t.verticalWholeCounter)>5)&&clearTimeout(t.longPressTimeout),t.props.panToMove){if(0===t.swipeDownOffset){if(Math.abs(i)>Math.abs(n)&&(t.isHorizontalWrap=!0),t.props.imageWidth*t.scale>t.props.cropWidth){t.horizontalWholeOuterCounter>0?i<0?t.horizontalWholeOuterCounter>Math.abs(i)?(t.horizontalWholeOuterCounter+=i,i=0):(i+=t.horizontalWholeOuterCounter,t.horizontalWholeOuterCounter=0,t.props.horizontalOuterRangeOffset&&t.props.horizontalOuterRangeOffset(0)):t.horizontalWholeOuterCounter+=i:t.horizontalWholeOuterCounter<0&&(i>0?Math.abs(t.horizontalWholeOuterCounter)>i?(t.horizontalWholeOuterCounter+=i,i=0):(i+=t.horizontalWholeOuterCounter,t.horizontalWholeOuterCounter=0,t.props.horizontalOuterRangeOffset&&t.props.horizontalOuterRangeOffset(0)):t.horizontalWholeOuterCounter+=i),t.positionX+=i/t.scale;var a=(t.props.imageWidth*t.scale-t.props.cropWidth)/2/t.scale;t.positionX<-a?(t.positionX=-a,t.horizontalWholeOuterCounter+=-1e-10):t.positionX>a&&(t.positionX=a,t.horizontalWholeOuterCounter+=1e-10),t.animatedPositionX.setValue(t.positionX)}else t.horizontalWholeOuterCounter+=i;t.horizontalWholeOuterCounter>(t.props.maxOverflow||0)?t.horizontalWholeOuterCounter=t.props.maxOverflow||0:t.horizontalWholeOuterCounter<-(t.props.maxOverflow||0)&&(t.horizontalWholeOuterCounter=-(t.props.maxOverflow||0)),0!==t.horizontalWholeOuterCounter&&t.props.horizontalOuterRangeOffset&&t.props.horizontalOuterRangeOffset(t.horizontalWholeOuterCounter)}t.props.imageHeight*t.scale>t.props.cropHeight?(t.positionY+=n/t.scale,t.animatedPositionY.setValue(t.positionY)):t.props.enableSwipeDown&&!t.isHorizontalWrap&&(t.swipeDownOffset+=n,t.swipeDownOffset>0&&(t.positionY+=n/t.scale,t.animatedPositionY.setValue(t.positionY),t.scale=t.scale-n/1e3,t.animatedScale.setValue(t.scale)))}}else if(t.longPressTimeout&&clearTimeout(t.longPressTimeout),t.props.pinchToZoom){var s=void 0,r=void 0;e.nativeEvent.changedTouches[0].locationX>e.nativeEvent.changedTouches[1].locationX?(s=e.nativeEvent.changedTouches[1].pageX,r=e.nativeEvent.changedTouches[0].pageX):(s=e.nativeEvent.changedTouches[0].pageX,r=e.nativeEvent.changedTouches[1].pageX);var l=void 0,p=void 0;e.nativeEvent.changedTouches[0].locationY>e.nativeEvent.changedTouches[1].locationY?(l=e.nativeEvent.changedTouches[1].pageY,p=e.nativeEvent.changedTouches[0].pageY):(l=e.nativeEvent.changedTouches[0].pageY,p=e.nativeEvent.changedTouches[1].pageY);var u=r-s,c=p-l,h=Math.sqrt(u*u+c*c);if(t.zoomCurrentDistance=Number(h.toFixed(1)),null!==t.zoomLastDistance){var d=(t.zoomCurrentDistance-t.zoomLastDistance)/200,v=t.scale+d;v<(t.props.minScale||0)&&(v=t.props.minScale||0),v>(t.props.maxScale||0)&&(v=t.props.maxScale||0);var m=t.scale;t.scale=v,t.animatedScale.setValue(t.scale);var f=t.scale-m;t.positionX-=t.centerDiffX*f/t.scale,t.positionY-=t.centerDiffY*f/t.scale,t.animatedPositionX.setValue(t.positionX),t.animatedPositionY.setValue(t.positionY)}t.zoomLastDistance=t.zoomCurrentDistance}t.imageDidMove("onPanResponderMove")}},onPanResponderRelease:function(e,o){if(t.longPressTimeout&&clearTimeout(t.longPressTimeout),!t.isDoubleClick&&!t.isLongPress){var i=Math.sqrt(o.dx*o.dx+o.dy*o.dy),n=e.nativeEvent,a=n.locationX,s=n.locationY,r=n.pageX,l=n.pageY;1===e.nativeEvent.changedTouches.length&&i<(t.props.clickDistance||0)?t.singleClickTimeout=setTimeout((function(){t.props.onClick&&t.props.onClick({locationX:a,locationY:s,pageX:r,pageY:l})}),t.props.doubleClickInterval):(t.props.responderRelease&&t.props.responderRelease(o.vx,t.scale),t.panResponderReleaseResolve())}},onPanResponderTerminate:function(){}}),t.resetScale=function(){t.positionX=0,t.positionY=0,t.scale=1,t.animatedScale.setValue(1)},t.panResponderReleaseResolve=function(){if(t.props.enableSwipeDown&&t.props.swipeDownThreshold&&t.swipeDownOffset>t.props.swipeDownThreshold)t.props.onSwipeDown&&t.props.onSwipeDown();else{if(t.props.enableCenterFocus&&t.scale<1&&(t.scale=1,l.Animated.timing(t.animatedScale,{toValue:t.scale,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.props.imageWidth*t.scale<=t.props.cropWidth&&(t.positionX=0,l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.props.imageHeight*t.scale<=t.props.cropHeight&&(t.positionY=0,l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.props.imageHeight*t.scale>t.props.cropHeight){var e=(t.props.imageHeight*t.scale-t.props.cropHeight)/2/t.scale;t.positionY<-e?t.positionY=-e:t.positionY>e&&(t.positionY=e),l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()}if(t.props.imageWidth*t.scale>t.props.cropWidth){var o=(t.props.imageWidth*t.scale-t.props.cropWidth)/2/t.scale;t.positionX<-o?t.positionX=-o:t.positionX>o&&(t.positionX=o),l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()}t.props.enableCenterFocus&&1===t.scale&&(t.positionX=0,t.positionY=0,l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start(),l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.horizontalWholeOuterCounter=0,t.swipeDownOffset=0,t.imageDidMove("onPanResponderRelease")}},t}return a(t,e),t.prototype.componentDidMount=function(){this.props.centerOn&&this.centerOn(this.props.centerOn)},t.prototype.componentDidUpdate=function(e){(this.props.centerOn&&!e.centerOn||this.props.centerOn&&e.centerOn&&this.didCenterOnChange(e.centerOn,this.props.centerOn))&&this.centerOn(this.props.centerOn)},t.prototype.imageDidMove=function(e){this.props.onMove&&this.props.onMove({type:e,positionX:this.positionX,positionY:this.positionY,scale:this.scale,zoomCurrentDistance:this.zoomCurrentDistance})},t.prototype.didCenterOnChange=function(e,t){return e.x!==t.x||e.y!==t.y||e.scale!==t.scale},t.prototype.centerOn=function(e){var t=this;this.positionX=e.x,this.positionY=e.y,this.scale=e.scale;var o=e.duration||300;l.Animated.parallel([l.Animated.timing(this.animatedScale,{toValue:this.scale,duration:o,useNativeDriver:!!this.props.useNativeDriver}),l.Animated.timing(this.animatedPositionX,{toValue:this.positionX,duration:o,useNativeDriver:!!this.props.useNativeDriver}),l.Animated.timing(this.animatedPositionY,{toValue:this.positionY,duration:o,useNativeDriver:!!this.props.useNativeDriver})]).start((function(){t.imageDidMove("centerOn")}))},t.prototype.handleLayout=function(e){this.props.layoutChange&&this.props.layoutChange(e)},t.prototype.reset=function(){this.scale=1,this.animatedScale.setValue(this.scale),this.positionX=0,this.animatedPositionX.setValue(this.positionX),this.positionY=0,this.animatedPositionY.setValue(this.positionY)},t.prototype.render=function(){var e={transform:[{scale:this.animatedScale},{translateX:this.animatedPositionX},{translateY:this.animatedPositionY}]},t=l.StyleSheet.flatten(this.props.style);return(0,n.jsx)(l.View,Object.assign({style:s(s(s({},p.default.container),t),{width:this.props.cropWidth,height:this.props.cropHeight})},this.imagePanResponder.panHandlers,{children:(0,n.jsx)(l.Animated.View,{style:e,renderToHardwareTextureAndroid:this.props.useHardwareTextureAndroid,children:(0,n.jsx)(l.View,{onLayout:this.handleLayout.bind(this),style:{width:this.props.imageWidth,height:this.props.imageHeight},children:this.props.children})})}))},t.defaultProps=new u.ImageZoomProps,t}(r.Component);t.default=c},61853:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default={container:{justifyContent:"center",alignItems:"center",overflow:"hidden",backgroundColor:"transparent"}}},30492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ImageZoomState=t.ImageZoomProps=void 0;var o=function(){this.cropWidth=100,this.cropHeight=100,this.imageWidth=100,this.imageHeight=100,this.panToMove=!0,this.pinchToZoom=!0,this.enableDoubleClickZoom=!0,this.clickDistance=10,this.maxOverflow=100,this.longPressTime=800,this.doubleClickInterval=175,this.style={},this.swipeDownThreshold=230,this.enableSwipeDown=!1,this.enableCenterFocus=!0,this.useHardwareTextureAndroid=!0,this.minScale=.6,this.maxScale=10,this.useNativeDriver=!1,this.onClick=function(){},this.onDoubleClick=function(){},this.onLongPress=function(){},this.horizontalOuterRangeOffset=function(){},this.onDragLeft=function(){},this.responderRelease=function(){},this.onMove=function(){},this.layoutChange=function(){},this.onSwipeDown=function(){},this.onStartShouldSetPanResponder=function(){return!0},this.onPanResponderTerminationRequest=function(){return!1}};t.ImageZoomProps=o;var i=function(){this.centerX=.5,this.centerY=.5};t.ImageZoomState=i},20694:function(e,t,o){var i=this&&this.__createBinding||(Object.create?function(e,t,o,i){void 0===i&&(i=o),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[o]}})}:function(e,t,o,i){void 0===i&&(i=o),e[i]=t[o]}),n=this&&this.__exportStar||function(e,t){for(var o in e)"default"===o||t.hasOwnProperty(o)||i(t,e,o)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(40834);t.default=a.default,n(o(30492),t)},67878:(e,t,o)=>{o.r(t),o.d(t,{default:()=>v});var i=o(73759),n=o.n(i),a=o(64897),s=o(13145),r=s.Z&&!document.hasOwnProperty("hidden")&&document.hasOwnProperty("webkitHidden"),l=["change","memoryWarning"],p=r?"webkitvisibilitychange":"visibilitychange",u=r?"webkitVisibilityState":"visibilityState",c="background",h="active",d=null;class v{static get currentState(){if(!v.isAvailable)return h;switch(document[u]){case"hidden":case"prerender":case"unloaded":return c;default:return h}}static addEventListener(e,t){if(v.isAvailable&&(n()(-1!==l.indexOf(e),'Trying to subscribe to unknown event: "%s"',e),"change"===e))return d||(d=new a.Z,document.addEventListener(p,(()=>{d&&d.emit("change",v.currentState)}),!1)),d.addListener(e,t)}static removeEventListener(e,t){v.isAvailable&&(console.error("AppState.removeListener('"+e+"', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `AppState.addEventListener`."),n()(-1!==l.indexOf(e),'Trying to remove listener for unknown event: "%s"',e),"change"===e&&d&&d.removeListener(t))}}v.isAvailable=s.Z&&document[u]},90615:(e,t,o)=>{function i(){}o.r(t),o.d(t,{default:()=>n});const n={exitApp:i,addEventListener:()=>({remove:i}),removeEventListener:i}},95900:(e,t,o)=>{o.r(t),o.d(t,{default:()=>h});var i=o(57078),n=o(89172),a=o(32330),s=o(63250),r=o(73457),l=o(67177),p=["children","style","imageStyle","imageRef"],u={},c=(0,a.forwardRef)(((e,t)=>{var o=e.children,c=e.style,h=void 0===c?u:c,d=e.imageStyle,v=e.imageRef,m=(0,n.Z)(e,p),f=r.default.flatten(h),g=f.height,O=f.width;return a.createElement(l.default,{ref:t,style:h},a.createElement(s.default,(0,i.Z)({},m,{ref:v,style:[{width:O,height:g,zIndex:-1},r.default.absoluteFill,d]})),o)}));c.displayName="ImageBackground";const h=c},64166:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var i=o(22805),n=o(67505);function a(e,t){i.default.isTesting||n.default.configureNextLayoutAnimation(e,null!=t?t:function(){},(function(){}))}function s(e,t,o){return{duration:e,create:{type:t,property:o},update:{type:t},delete:{type:t,property:o}}}var r={easeInEaseOut:s(300,"easeInEaseOut","opacity"),linear:s(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}};const l={configureNext:a,create:s,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:r,easeInEaseOut:a.bind(null,r.easeInEaseOut),linear:a.bind(null,r.linear),spring:a.bind(null,r.spring)}},76636:(e,t,o)=>{o.r(t),o.d(t,{default:()=>d});var i=o(57078),n=o(89172),a=o(32330),s=o(73457),r=o(67177),l=o(13145),p=["style"],u=l.Z&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env",c=a.forwardRef(((e,t)=>{var o=e.style,l=(0,n.Z)(e,p);return a.createElement(r.default,(0,i.Z)({},l,{ref:t,style:s.default.compose(h.root,o)}))}));c.displayName="SafeAreaView";var h=s.default.create({root:{paddingTop:u+"(safe-area-inset-top)",paddingRight:u+"(safe-area-inset-right)",paddingBottom:u+"(safe-area-inset-bottom)",paddingLeft:u+"(safe-area-inset-left)"}});const d=c},12368:(e,t,o)=>{o.r(t),o.d(t,{default:()=>a});var i=o(32330),n=o(49355);function a(){var e=i.useState(n.default.getColorScheme()),t=e[0],o=e[1];return i.useEffect((()=>n.default.addChangeListener((function(e){o(e.colorScheme)})).remove)),t}},75251:(e,t,o)=>{var i=o(32330),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,r=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function p(e,t,o){var i,a={},p=null,u=null;for(i in void 0!==o&&(p=""+o),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,i)&&!l.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===a[i]&&(a[i]=t[i]);return{$$typeof:n,type:e,key:p,ref:u,props:a,_owner:r.current}}t.Fragment=a,t.jsx=p,t.jsxs=p},85893:(e,t,o)=>{e.exports=o(75251)}}]);