1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[224],{34203:function(e,t,n){var r=n(67294),o=n(94170),i=function(e){var t=e.fill;return r.createElement("svg",{fill:"none",viewBox:"0 0 24 24"},r.createElement("path",{fill:t||"#000",d:"M16.59 8.295L12 12.875l-4.59-4.58L6 9.705l6 6 6-6-1.41-1.41z"}))};i.displayName="svgNode",t.Z=(0,o.Z)(i)},41744:function(e,t,n){n.d(t,{Z:function(){return B}});var r=n(59499),o=n(92777),i=n(82262),a=n(63553),s=n(37247),l=n(10748),c=n(81531),u=n(67294),p=n(92377),d=n(80464),h=n(2190),f=n(41789),y=n(78833),v=n(4730),g=n(22238),m=n(45697),x=n.n(m);function b(){return(b=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}x().oneOfType([x().element,x().object,x().bool,x().func]);var Z=function(e,t,n){return null==t||!1===t?null:u.isValidElement(t)?t:"function"==typeof t?t():!0===t?u.createElement(e,n):"string"==typeof t||"number"==typeof t?u.createElement(e,n,t):u.createElement(e,b({},n,t))},_=n(7209),P=["containerStyle","textStyle","badgeStyle","onPress","Component","value","theme","status"];function S(){return(S=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}var w=function(e){var t=e.containerStyle,n=e.textStyle,r=e.badgeStyle,o=e.onPress,i=e.Component,a=void 0===i?o?_.Z:y.Z:i,s=e.value,l=e.theme,c=e.status,p=(0,v.Z)(e,P),d=Z(g.Z,s,{style:f.Z.flatten([A.text,n&&n])});return u.createElement(y.Z,{style:f.Z.flatten([t&&t])},u.createElement(a,S({},p,{style:f.Z.flatten([A.badge(l,c),!d&&A.miniBadge,r&&r]),onPress:o}),d))};w.defaultProps={status:"primary"};var A={badge:function(e,t){return{alignSelf:"center",minWidth:18,height:18,borderRadius:9,alignItems:"center",justifyContent:"center",backgroundColor:e.colors[t],borderWidth:f.Z.hairlineWidth,borderColor:"#fff"}},miniBadge:{paddingHorizontal:0,paddingVertical:0,minWidth:8,height:8,borderRadius:4},text:{fontSize:12,color:"white",paddingHorizontal:4}},T=function(e){var t=e.onPress,n=e.title,r=e.titleStyle;return u.createElement(y.Z,null,u.createElement(_.Z,{onPress:t},u.createElement(g.Z,{style:r},n)))},E={primary:"#2089dc",grey3:"#86939e"},k=["containerStyle","badgeStyle"],C=["type","title","titleStyle","onPress"];function O(){return(O=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(e){function t(e){var n,r,i;return(0,o.Z)(this,t),r=t,i=[e],r=(0,s.Z)(r),n=(0,a.Z)(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?r.apply(this,i):Reflect.construct(r,i||[],(0,s.Z)(this).constructor)),I((0,l.Z)(n),"dotsPos",n._getPos(n.props.dotsPos,"bottom","right")),I((0,l.Z)(n),"prevPos",n._getPos(n.props.prevPos,"bottom-left","top-right")),I((0,l.Z)(n),"nextPos",n._getPos(n.props.nextPos,"bottom-right")),n._renderRow=n._renderRow.bind((0,l.Z)(n)),n._renderCell=n._renderCell.bind((0,l.Z)(n)),n._renderDot=n._renderDot.bind((0,l.Z)(n)),n._renderButton=n._renderButton.bind((0,l.Z)(n)),n}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"_getPos",value:function(e,t,n){return!1===e?null:e||(n&&this.props.vertical?n:t)}},{key:"_renderDot",value:function(e){var t=e.isActive,n=e.onPress,r=this.props,o=r.dotProps,i=void 0===o?{}:o,a=r.dotActiveStyle,s=i.containerStyle,l=i.badgeStyle,c=(0,v.Z)(i,k);return u.createElement(w,O({theme:{colors:E},containerStyle:f.Z.flatten([j.dotsItemContainer,s]),badgeStyle:f.Z.flatten([j.dotsItem({colors:E},t),l,t&&a]),onPress:n},c))}},{key:"_renderDots",value:function(){var e=this.props,t=e.vertical,n=e.count,r=e.activeIndex,o=e.dotsTouchable,i=e.dotsWrapperStyle,a=e.DotComponent,s=void 0===a?this._renderDot:a,l=e.goTo;
1return u.createElement(y.Z,{style:f.Z.flatten([j.dotsWrapper(t),i])},Array.from({length:n},function(e,t){return t}).map(function(e){return u.createElement(s,{key:e,index:e,activeIndex:r,isActive:r===e,onPress:o?function(){return l(e)}:void 0})}))}},{key:"_renderButton",value:function(e){var t=e.type,n=e.title,r=e.titleStyle,o=e.onPress,i=(0,v.Z)(e,C);return u.createElement(T,O({theme:{colors:E},type:"clear",onPress:o,title:n,titleStyle:f.Z.flatten([j.buttonTitleStyle({colors:E},t),r])},i))}},{key:"_renderPrev",value:function(){var e=this.props,t=e.goToPrev,n=e.isFirst,r=e.prevTitle,o=e.firstPrevElement,i=e.prevTitleStyle,a=e.PrevComponent,s=void 0===a?this._renderButton:a;return n?Z(g.Z,o):u.createElement(s,{type:"prev",title:r,titleStyle:i,onPress:t})}},{key:"_renderNext",value:function(){var e=this.props,t=e.goToNext,n=e.isLast,r=e.nextTitle,o=e.lastNextElement,i=e.nextTitleStyle,a=e.NextComponent,s=void 0===a?this._renderButton:a;return n?Z(g.Z,o):u.createElement(s,{type:"next",title:r,titleStyle:i,onPress:t})}},{key:"_renderCell",value:function(e){var t=e.name,n=this.props,r=n.cellsStyle,o=n.cellsContent,i=void 0===o?{}:o;return u.createElement(y.Z,{style:f.Z.flatten([j.cell,(void 0===r?{}:r)[t]])},this.dotsPos===t&&this._renderDots(),this.prevPos===t&&this._renderPrev(),this.nextPos===t&&this._renderNext(),i[t]&&Z(g.Z,i[t]))}},{key:"_renderRow",value:function(e){var t=e.rowAlign,n=this._renderCell,r=["flex-start","center","flex-end"];return u.createElement(y.Z,{style:j.row},["".concat(t?t+"-":"","left"),t||"center","".concat(t?t+"-":"","right")].map(function(e,t){return u.createElement(y.Z,{key:e,style:j.spaceHolder(r[t])},u.createElement(n,{name:e}))}))}},{key:"render",value:function(){var e=this._renderRow;return u.createElement(u.Fragment,null,u.createElement(e,{rowAlign:"top",contentAlign:"flex-start"}),u.createElement(e,{contentAlign:"center"}),u.createElement(e,{rowAlign:"bottom",contentAlign:"flex-end"}))}}]),t}(u.Component);R.defaultProps={prevTitle:"Prev",nextTitle:"Next"};var j={row:{flexDirection:"row",height:0,alignItems:"center",margin:20},spaceHolder:function(e){return{height:0,flex:1,alignItems:e,justifyContent:"center"}},cell:{alignItems:"center",justifyContent:"center",position:"absolute"},dotsWrapper:function(e){return{flexDirection:e?"column":"row",alignItems:"center",justifyContent:"center",minWidth:1,minHeight:1}},dotsItemContainer:{margin:3},dotsItem:function(e,t){return{backgroundColor:t?e.colors.primary:e.colors.grey3,borderColor:"transparent"}},buttonTitleStyle:function(e,t){return{color:"prev"===t?e.colors.grey3:e.colors.primary}},hidden:{opacity:0}};function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function L(){return(L=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){function t(e){var n,r,i;return(0,o.Z)(this,t),r=t,i=[e],r=(0,s.Z)(r),n=(0,a.Z)(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?r.apply(this,i):Reflect.construct(r,i||[],(0,s.Z)(this).constructor)),V((0,l.Z)(n),"children",u.Children.toArray(n.props.children)),V((0,l.Z)(n),"count",n.children.length),n._autoplayTimeout=n._autoplayTimeout.bind((0,l.Z)(n)),n._onLayout=n._onLayout.bind((0,l.Z)(n)),n._fixState=n._fixState.bind((0,l.Z)(n)),n.goToPrev=n.goToPrev.bind((0,l.Z)(n)),n.goToNext=n.goToNext.bind((0,l.Z)(n)),n.goTo=n.goTo.bind((0,l.Z)(n)),n.state={x:0,y:0,width:0,height:0,activeIndex:e.from,pan:new p.Z.ValueXY},n._animatedValueX=0,n._animatedValueY=0,n._panResponder=h.Z.create(n._getPanResponderCallbacks()),n}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"startAutoplay",value:function(){var e=this.props.timeout;this.stopAutoplay(),e&&(this.autoplay=setTimeout(this._autoplayTimeout,1e3*Math.abs(e)))}},{key:"stopAutoplay",value:function(){this.autoplay&&clearTimeout(this.autoplay)}},{key:"goToNext",value:function(){this._goToNeighboring()}},{key:"goToPrev",value:function(){this._goToNeighboring(!0)}},{key:"goTo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e-this.getActiveIndex();t&&this._fixAndGo(t)}},{key:"getActiveIndex",value:function(){return this.state.activeIndex}},{key:"_autoplayTimeout",value:function(){var e=this.props.timeout;this._goToNeighboring(0>e)}},{key:"_goToNeighboring",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._fixAndGo(e?-1:1)}},{key:"componentDidMount",value:function(){var e=this;this.state.pan.x.addListener(function(t){var n=t.value;return e._animatedValueX=n}),this.state.pan.y.addListener(function(t){var n=t.value;return e._animatedValueY=n}),this.startAutoplay()}},{key:"componentWillUnmount",value:function(){this.stopAutoplay(),this.state.pan.x.removeAllListeners(),this.state.pan.y.removeAllListeners()}},{key:"_getPanResponderCallbacks",value:function(){var e=this,t=Math.abs;return{onPanResponderTerminationRequest:function(){return!1},onMoveShouldSetResponderCapture:function(){return!0},onMoveShouldSetPanResponderCapture:function(n,r){var o=e.props,i=o.gesturesEnabled,a=o.vertical,s=o.minDistanceToCapture;if(!i())return!1;e.props.onAnimationStart&&e.props.onAnimationStart(e.getActiveIndex());
1var l=t(a?r.dy:r.dx)>s;return l&&e.stopAutoplay(),l},onPanResponderGrant:function(){return e._fixState()},onPanResponderMove:p.Z.event([null,this.props.vertical?{dy:this.state.pan.y}:{dx:this.state.pan.x}],{useNativeDriver:!1}),onPanResponderRelease:function(n,r){var o=e.props,i=o.vertical,a=o.minDistanceForAction,s=e.state,l=s.width,c=s.height;e.startAutoplay();var u=i?r.moveY-r.y0:r.moveX-r.x0;t(u)<(i?c:l)*a?e._spring({x:0,y:0}):e._changeIndex(0<u?!i&&d.Z.isRTL?1:-1:!i&&d.Z.isRTL?-1:1)}}}},{key:"_spring",value:function(e){var t=this.props,n=t.springConfig,r=t.onAnimationEnd,o=this.state.activeIndex;p.Z.spring(this.state.pan,N(N({},n),{},{toValue:e,useNativeDriver:!1})).start(function(){return r&&r(o)})}},{key:"_fixState",value:function(){var e=this.props.vertical,t=this.state,n=t.width,r=t.height,o=t.activeIndex;this._animatedValueX=e?0:n*o*(d.Z.isRTL?1:-1),this._animatedValueY=e?-(r*o*1):0,this.state.pan.setOffset({x:this._animatedValueX,y:this._animatedValueY}),this.state.pan.setValue({x:0,y:0})}},{key:"_fixAndGo",value:function(e){this._fixState(),this.props.onAnimationStart&&this.props.onAnimationStart(this.getActiveIndex()),this._changeIndex(e)}},{key:"_changeIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.loop,r=t.vertical,o=this.state,i=o.width,a=o.height,s=o.activeIndex,l={x:0,y:0},c=!e,u=e;if(0>=s&&0>e?(c=!n,u=this.count+e):s+1>=this.count&&0<e&&(c=!n,u=-1*s+e-1),c)return this._spring(l);this.stopAutoplay();var p=s+u;this.setState({activeIndex:p}),r?l.y=-1*a*u:l.x=i*(d.Z.isRTL?1:-1)*u,this._spring(l),this.startAutoplay(),this.props.onIndexChanged&&this.props.onIndexChanged(p)}},{key:"_onLayout",value:function(e){var t=this,n=e.nativeEvent.layout,r=n.x,o=n.y,i=n.width,a=n.height;this.setState({x:r,y:o,width:i,height:a},function(){return t._fixState()})}},{key:"render",value:function(){var e=this,t=this.state,n=t.pan,r=t.x,o=t.y,i=t.width,a=t.height,s=this.props,l=s.theme,c=s.loop,d=s.vertical,h=s.positionFixed,v=s.containerStyle,g=s.innerContainerStyle,m=s.swipeAreaStyle,x=s.slideWrapperStyle,b=s.controlsEnabled,Z=s.controlsProps,_=s.Controls;return u.createElement(y.Z,{style:f.Z.flatten([W.root,v]),onLayout:this._onLayout},u.createElement(y.Z,{style:f.Z.flatten([W.container(h,r,o,i,a),g])},u.createElement(p.Z.View,L({style:f.Z.flatten([W.swipeArea(d,this.count,i,a),m,{transform:[{translateX:n.x},{translateY:n.y}]}])},this._panResponder.panHandlers),this.children.map(function(t,n){return u.createElement(y.Z,{key:n,style:f.Z.flatten([{width:i,height:a},x])},(0,u.cloneElement)(t,{activeIndex:e.getActiveIndex(),index:n,isActive:n===e.getActiveIndex()}))})),b&&u.createElement(void 0===_?R:_,L({},Z,{theme:l,vertical:d,count:this.count,activeIndex:this.getActiveIndex(),isFirst:!c&&!this.getActiveIndex(),isLast:!c&&this.getActiveIndex()+1>=this.count,goToPrev:this.goToPrev,goToNext:this.goToNext,goTo:this.goTo}))))}}]),t}(u.Component);B.defaultProps={vertical:!1,from:0,loop:!1,timeout:0,gesturesEnabled:function(){return!0},minDistanceToCapture:5,minDistanceForAction:.2,positionFixed:!1,controlsEnabled:!0};var W={root:{flex:1,backgroundColor:"transparent"},container:function(e,t,n,r,o){return{backgroundColor:"transparent",position:e?"fixed":"relative",overflow:"hidden",top:e?n:0,left:e?t:0,width:r,height:o,justifyContent:"space-between"}},swipeArea:function(e,t,n,r){return{position:"absolute",top:0,left:0,width:e?n:n*t,height:e?r*t:r,flexDirection:e?"column":"row"}}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.