+1
-1
@@ -1,2 +0,2 @@ | ||
| /*! 2.0.24 ac1a44a90afce1a40196d4d763d7f343e31c88b4 Fri May 15 2020 17:40:30 GMT (Nikro) */ | ||
| /*! 2.0.25 c306c0fc051420e091d3382f4610defa9739795c Fri May 15 2020 18:10:58 GMT (Nikro) */ | ||
| (window.webpackJsonpExpoFP=window.webpackJsonpExpoFP||[]).push([[0],{160:function(e,t,a){var n=a(161);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var l={insert:function(e){window.__efpStyleElements.push(e);var t=new CustomEvent("__efpStyleLoad");window.dispatchEvent(t)},singleton:!1};a(16)(n,l);n.locals&&(e.exports=n.locals)},161:function(e,t,a){(t=a(15)(!1)).push([e.i,".debug{position:fixed;z-index:999;background:#fff;width:calc(100vw - 2rem);height:calc(100vh - 2rem);top:1rem;left:1vw;padding:1rem;box-shadow:0 0 1rem rgba(0,0,0,0.5);overflow:scroll}.debug label{display:block;font-weight:500}.debug__canvas{display:inline-block;padding:2px;vertical-align:top}.debug__canvas>img{background:#aaa}\n",""]),e.exports=t},176:function(e,t,a){"use strict";a.r(t);var n=a(18),l=a(13),c=a.n(l),i=a(14),o=a(42),s=a(6);a(160);function r(){const e=o.a.map(e=>c.a.createElement("div",{className:"debug__canvas",key:e.toDataURL()},e.width,"x",e.height,"=",e.width*e.height,c.a.createElement("br",null),c.a.createElement("img",{src:e.toDataURL(),alt:""})));return c.a.createElement("div",{className:"debug"},c.a.createElement("button",{onClick:()=>i.c.selectSearch("")},Object(s.b)("Close")),e)}t.default=()=>Object(n.c)(()=>c.a.createElement(c.a.Fragment,null,"search"===i.e.list.type&&"q1"===i.e.list.text?c.a.createElement(r,null):null))}}]); |
+1
-1
@@ -1,2 +0,2 @@ | ||
| /*! 2.0.24 ac1a44a90afce1a40196d4d763d7f343e31c88b4 Fri May 15 2020 17:40:30 GMT (Nikro) */ | ||
| /*! 2.0.25 c306c0fc051420e091d3382f4610defa9739795c Fri May 15 2020 18:10:58 GMT (Nikro) */ | ||
| (window.webpackJsonpExpoFP=window.webpackJsonpExpoFP||[]).push([[1],{156:function(e,t,n){var o=n(157);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var s={insert:function(e){window.__efpStyleElements.push(e);var t=new CustomEvent("__efpStyleLoad");window.dispatchEvent(t)},singleton:!1};n(16)(o,s);o.locals&&(e.exports=o.locals)},157:function(e,t,n){(t=n(15)(!1)).push([e.i,".demo{position:fixed;width:100%;display:flex;justify-content:center;background:#ab40a0;background:linear-gradient(90deg, #e5175c, #5c17e5);min-height:2rem;transition:all 0.5s;opacity:1;bottom:0}.demo>section{display:flex;font-size:0.8rem;user-select:none;padding:0.2rem 0.5rem}.demo__message{color:#fff;display:flex;align-items:center}.demo__message a{color:#fff;text-decoration:underline}.demo__dismiss{display:flex;align-items:center;background:#1378d5;color:#fff !important;padding:0.1rem 0.8rem;text-decoration:none !important;border-radius:2px;font-weight:500;font-size:0.8rem;margin-left:0.5rem}.demo__dismiss:hover{background:#69b7ff}@media print{.demo__dismiss{display:none}}.demo.top{bottom:unset;min-height:2.5rem;top:0;width:100%}.demo.top>section{flex-grow:1}.demo.top span{display:inline-block}.demo.top .demo__message{flex-grow:1}.demo.hidden{transform:translate(0, 100%)}.demo.top.hidden{transform:translate(0, -100%)}\n",""]),e.exports=t},174:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var o=n(23),s=n.n(o),i=n(18),a=n(13),r=n.n(a),d=n(14),m=n(6),l=n(25);n(156);const c="note-dismissed5";function p(){const e=Object(i.b)(()=>({hidden:!0,get top(){return d.e.screenSize.width<=820},get classes(){return s()({demo:!0,top:this.top,hidden:this.hidden})}}));return Object(l.b)(()=>{sessionStorage.getItem(c)||window.setTimeout(()=>{e.hidden=!1},2e3)}),Object(i.c)(()=>r.a.createElement("div",{className:e.classes},r.a.createElement("section",null,r.a.createElement("div",{className:"demo__message"},r.a.createElement("span",null,Object(m.b)("Get your free floor plan at")," ",r.a.createElement("a",{href:"https://expofp.com/",target:"_blank",rel:"noopener noreferrer"},"ExpoFP.com"))),r.a.createElement("a",{href:"/",onClick:t,className:"demo__dismiss"},Object(m.b)("Dismiss")))));function t(t){t.preventDefault(),e.hidden=!0,sessionStorage.setItem(c,"1")}}}}]); |
+1
-1
@@ -1,2 +0,2 @@ | ||
| /*! 2.0.24 ac1a44a90afce1a40196d4d763d7f343e31c88b4 Fri May 15 2020 17:40:30 GMT (Nikro) */ | ||
| /*! 2.0.25 c306c0fc051420e091d3382f4610defa9739795c Fri May 15 2020 18:10:58 GMT (Nikro) */ | ||
| (window.webpackJsonpExpoFP=window.webpackJsonpExpoFP||[]).push([[4],{158:function(e,t,n){var r=n(159);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:function(e){window.__efpStyleElements.push(e);var t=new CustomEvent("__efpStyleLoad");window.dispatchEvent(t)},singleton:!1};n(16)(r,o);r.locals&&(e.exports=r.locals)},159:function(e,t,n){(t=n(15)(!1)).push([e.i,".free{position:fixed;width:100%;display:flex;justify-content:center;background:#ab40a0;background:linear-gradient(90deg, #e5175c, #5c17e5);min-height:2rem;transition:all 0.5s;opacity:1;bottom:0}.free>section{display:flex;font-size:0.8rem;user-select:none;padding:0.2rem 0.5rem}.free__message{color:#fff;display:flex;align-items:center}.free__message a{color:#fff;text-decoration:underline}.free.bottom .free__message{font-size:1.5rem;font-weight:300;color:rgba(255,255,255,0.9)}.free.bottom>section{padding:0.5rem}.free.bottom .free__dismiss{font-size:1.2rem;font-weight:600;padding:0.5rem 1rem}.free__dismiss{display:flex;align-items:center;background:#1378d5;color:#fff !important;padding:0.1rem 0.8rem;text-decoration:none !important;border-radius:2px;font-weight:500;font-size:0.8rem;margin-left:0.5rem}.free__dismiss:hover{background:#69b7ff}@media print{.free__dismiss{display:none}}.free.top{bottom:unset;min-height:2.5rem;top:0;width:100%}.free.top>section{flex-grow:1}.free.top span{display:inline-block}.free.top .free__message{flex-grow:1}.free.hidden{transform:translate(0, 100%)}.free.top.hidden{transform:translate(0, -100%)}\n",""]),e.exports=t},175:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var r=n(23),o=n.n(r),s=n(18),i=n(13),a=n.n(i),f=n(14),d=n(6),l=n(25);n(158);const c="free-dismissed5";function m(){const e=Object(s.b)(()=>({hidden:!0,get top(){return f.e.screenSize.width<=820},get classes(){return o()({free:!0,top:this.top,bottom:!this.top,hidden:this.hidden})}}));return Object(l.b)(()=>{sessionStorage.getItem(c)||window.setTimeout(()=>{e.hidden=!1},2e3)}),Object(s.c)(()=>a.a.createElement("div",{className:e.classes},a.a.createElement("section",null,a.a.createElement("div",{className:"free__message"},a.a.createElement("span",null,Object(d.b)("This is a FREE floor plan.")," ",e.top&&a.a.createElement("br",null)," ",Object(d.b)("Create yours at")," ",a.a.createElement("a",{href:"https://expofp.com/",target:"_blank",rel:"noopener noreferrer"},"ExpoFP.com"))),a.a.createElement("a",{href:"/",onClick:t,className:"free__dismiss"},Object(d.b)("Dismiss")))));function t(t){t.preventDefault(),e.hidden=!0,sessionStorage.setItem(c,"1")}}}}]); |
@@ -1,2 +0,2 @@ | ||
| /*! 2.0.24 ac1a44a90afce1a40196d4d763d7f343e31c88b4 Fri May 15 2020 17:40:30 GMT (Nikro) */ | ||
| /*! 2.0.25 c306c0fc051420e091d3382f4610defa9739795c Fri May 15 2020 18:10:58 GMT (Nikro) */ | ||
| (window.webpackJsonpExpoFP=window.webpackJsonpExpoFP||[]).push([[5],{177:function(t,e,n){var i,o=function(t,e){"use strict";var n,i={};function o(t,e){return t.x<e.x?-1:t.x>e.x?1:t.y<e.y?-1:t.y>e.y?1:0}return(n=function(){var t=this;t.defaults={responsive:null,selector:null,maxParticles:100,sizeVariations:3,showParticles:!0,speed:.5,color:"#000000",minDistance:120,connectParticles:!1},t.element=null,t.context=null,t.ratio=null,t.breakpoints=[],t.activeBreakpoint=null,t.breakpointSettings=[],t.originalSettings=null,t.storage=[],t.usingPolyfill=!1}).prototype.init=function(t){var e=this;return e.options=e._extend(e.defaults,t),e.originalSettings=e.options,e._animate=e._animate.bind(e),e._initializeCanvas(),e._initializeEvents(),e._registerBreakpoints(),e._checkResponsive(),e._initializeStorage(),e._animate(),e},n.prototype.destroy=function(){var e=this;e.storage=[],e.element.remove(),t.removeEventListener("resize",e.listener,!1),t.clearTimeout(e._animation),cancelAnimationFrame(e._animation)},n.prototype._initializeCanvas=function(){var n,i,o=this;if(!o.options.selector)return console.warn("particles.js: No selector specified! Check https://github.com/marcbruederlin/particles.js#options"),!1;o.element=o.options.selector.tagName?o.options.selector:e.querySelector(o.options.selector),o.context=o.element.getContext("2d"),n=t.devicePixelRatio||1,i=o.context.webkitBackingStorePixelRatio||o.context.mozBackingStorePixelRatio||o.context.msBackingStorePixelRatio||o.context.oBackingStorePixelRatio||o.context.backingStorePixelRatio||1,o.ratio=n/i,o.element.width=o.element.offsetParent?o.element.offsetParent.clientWidth*o.ratio:o.element.clientWidth*o.ratio,o.element.offsetParent&&"BODY"===o.element.offsetParent.nodeName?o.element.height=t.innerHeight*o.ratio:o.element.height=o.element.offsetParent?o.element.offsetParent.clientHeight*o.ratio:o.element.clientHeight*o.ratio,o.element.style.width="100%",o.element.style.height="100%",o.context.scale(o.ratio,o.ratio)},n.prototype._initializeEvents=function(){var e=this;e.listener=function(){e._resize()}.bind(this),t.addEventListener("resize",e.listener,!1)},n.prototype._initializeStorage=function(){var t=this;t.storage=[];for(var e=t.options.maxParticles;e--;)t.storage.push(new i(t.context,t.options))},n.prototype._registerBreakpoints=function(){var t,e,n,i=this,o=i.options.responsive||null;if("object"==typeof o&&null!==o&&o.length){for(t in o)if(n=i.breakpoints.length-1,e=o[t].breakpoint,o.hasOwnProperty(t)){for(;0<=n;)i.breakpoints[n]&&i.breakpoints[n]===e&&i.breakpoints.splice(n,1),n--;i.breakpoints.push(e),i.breakpointSettings[e]=o[t].options}i.breakpoints.sort((function(t,e){return e-t}))}},n.prototype._checkResponsive=function(){var e,n=this,i=!1,o=t.innerWidth;if(n.options.responsive&&n.options.responsive.length&&null!==n.options.responsive){for(e in i=null,n.breakpoints)n.breakpoints.hasOwnProperty(e)&&o<=n.breakpoints[e]&&(i=n.breakpoints[e]);null!==i?(n.activeBreakpoint=i,n.options=n._extend(n.options,n.breakpointSettings[i])):null!==n.activeBreakpoint&&(i=n.activeBreakpoint=null,n.options=n._extend(n.options,n.originalSettings))}},n.prototype._refresh=function(){this._initializeStorage(),this._draw()},n.prototype._resize=function(){var e=this;e.element.width=e.element.offsetParent?e.element.offsetParent.clientWidth*e.ratio:e.element.clientWidth*e.ratio,e.element.offsetParent&&"BODY"===e.element.offsetParent.nodeName?e.element.height=t.innerHeight*e.ratio:e.element.height=e.element.offsetParent?e.element.offsetParent.clientHeight*e.ratio:e.element.clientHeight*e.ratio,e.context.scale(e.ratio,e.ratio),clearTimeout(e.windowDelay),e.windowDelay=t.setTimeout((function(){e._checkResponsive(),e._refresh()}),50)},n.prototype._animate=function(){var e=this;e._draw(),e._animation=t.requestAnimFrame(e._animate)},n.prototype.resumeAnimation=function(){this._animation||this._animate()},n.prototype.pauseAnimation=function(){var e=this;e._animation&&(e.usingPolyfill?t.clearTimeout(e._animation):(t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame)(e._animation),e._animation=null)},n.prototype._draw=function(){var e=this,n=e.element,i=n.offsetParent?n.offsetParent.clientWidth:n.clientWidth,r=n.offsetParent?n.offsetParent.clientHeight:n.clientHeight,a=e.options.showParticles,s=e.storage;n.offsetParent&&"BODY"===n.offsetParent.nodeName&&(r=t.innerHeight),e.context.clearRect(0,0,n.width,n.height),e.context.beginPath();for(var l=s.length;l--;){var c=s[l];a&&c._draw(),c._updateCoordinates(i,r)}e.options.connectParticles&&(s.sort(o),e._updateEdges())},n.prototype._updateEdges=function(){for(var t=this,e=t.options.minDistance,n=Math.sqrt,i=Math.abs,o=t.storage,r=o.length,a=0;a<r;a++)for(var s=o[a],l=a+1;l<r;l++){var c,p=o[l],f=s.x-p.x,h=s.y-p.y;if(c=n(f*f+h*h),i(f)>e)break;c<=e&&t._drawEdge(s,p,1.2-c/e)}},n.prototype._drawEdge=function(t,e,n){var i=this,o=i.context.createLinearGradient(t.x,t.y,e.x,e.y),r=this._hex2rgb(t.color),a=this._hex2rgb(e.color);o.addColorStop(0,"rgba("+r.r+","+r.g+","+r.b+","+n+")"),o.addColorStop(1,"rgba("+a.r+","+a.g+","+a.b+","+n+")"),i.context.beginPath(),i.context.strokeStyle=o,i.context.moveTo(t.x,t.y),i.context.lineTo(e.x,e.y),i.context.stroke(),i.context.fill(),i.context.closePath()},n.prototype._extend=function(t,e){return Object.keys(e).forEach((function(n){t[n]=e[n]})),t},n.prototype._hex2rgb=function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null},(i=function(n,i){var o=this,r=Math.random,a=i.speed,s=i.color instanceof Array?i.color[Math.floor(Math.random()*i.color.length)]:i.color;o.context=n;var l=(o.options=i).selector.tagName?i.selector:e.querySelector(i.selector);o.x=l.offsetParent?r()*l.offsetParent.clientWidth:r()*l.clientWidth,l.offsetParent&&"BODY"===l.offsetParent.nodeName?o.y=r()*t.innerHeight:o.y=l.offsetParent?r()*l.offsetParent.clientHeight:r()*l.clientHeight,o.vx=r()*a*2-a,o.vy=r()*a*2-a,o.radius=r()*r()*i.sizeVariations,o.color=s,o._draw()}).prototype._draw=function(){var t=this;t.context.save(),t.context.translate(t.x,t.y),t.context.moveTo(0,0),t.context.beginPath(),t.context.arc(0,0,t.radius,0,2*Math.PI,!1),t.context.fillStyle=t.color,t.context.fill(),t.context.restore()},i.prototype._updateCoordinates=function(t,e){var n=this,i=n.x+this.vx,o=n.y+this.vy,r=n.radius;t<i+r?i=r:i-r<0&&(i=t-r),e<o+r?o=r:o-r<0&&(o=e-r),n.x=i,n.y=o},t.requestAnimFrame=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||(this._usingPolyfill=!0,function(e){return t.setTimeout(e,1e3/60)})}(),new n}(window,document);!function(){"use strict";void 0===(i=function(){return o}.call(e,n,e,t))||(t.exports=i)}()}}]); |
+2
-2
@@ -1,2 +0,2 @@ | ||
| /*! 2.0.24 ac1a44a90afce1a40196d4d763d7f343e31c88b4 Fri May 15 2020 17:40:30 GMT (Nikro) */ | ||
| (window.webpackJsonpExpoFP=window.webpackJsonpExpoFP||[]).push([[6],{181:function(t,e,i){"use strict";i.r(e);var s=i(2),n=i(13),l=i.n(n);const a="".concat("image-slider","-navs"),o="".concat("image-slider","-bullets");let r;!function(t){t[t.cover=0]="cover",t[t.contain=1]="contain"}(r||(r={}));const h=t=>l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 50 234",style:t},l.a.createElement("path",{d:"M25,112L45,22C50,7,29,0,25,17L2.845342751,110.673876883Q0,124,3.433705391,134.796743451L25,222C29,234,48,229,45,217L26,135Q22,123,25,112Z"})),c=t=>l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 50 234",style:t},l.a.createElement("path",{d:"M25,112L5,22C0,7,21,0,25,17L47.154657249,110.673876883Q50,124,46.566294609,134.796743451L25,222C21,234,2,229,5,217L24,135Q28,123,25,112Z"}));var d={ClassNameRoot:"image-slider",ClassNameNavs:a,ClassNameBullets:o,ImageNavArrowLeft:h,ImageNavArrowRight:c};var p=(()=>{const t={},e=[],i=new Array(3).fill(0).map(t=>new Image);return{load:s=>{if(s&&!t[s])if(0===i.length)e.push(s);else{const n=i.shift();n.src=s,n.onload=()=>{t[s]=!0,e.length>0?n.src=e.shift():i.push(n)}}}}})();const u=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return Object.assign({},...e)},g={display:"block",margin:"0",padding:"0",border:"0"},m={position:"fixed",top:0,bottom:0,left:0,right:0,padding:"20px",zIndex:"999",backgroundColor:"rgba(0, 0, 0, 0.8)"},S={position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"cover"},v={backgroundSize:"contain",backgroundPosition:"center"},C={position:"absolute",top:"50%",translate:"0 -50%",padding:"50px 20px",cursor:"pointer",outline:"none",background:"none"},F={position:"absolute",left:"50%",bottom:"15px"},x={display:"inline-block",cursor:"pointer",outline:"none",background:"none",borderRadius:"50%",border:"2px solid ".concat("#FFFFFF"),width:"".concat(15,"px"),height:"".concat(15,"px"),marginLeft:"".concat(3,"px"),marginRight:"".concat(3,"px")},w={position:"relative",top:"50%",transform:"translateY(-50%)"};var f={ImageNavArrowLeft:t=>h(u({height:t?"100px":"50px"},{fill:"#FFFFFF"})),ImageNavArrowRight:t=>c(u({height:t?"100px":"50px"},{fill:"#FFFFFF"})),FullScreenContainer:t=>t?m:{},FullScreenIcon:t=>((t,e)=>t?l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 890.954544294 890.954544294",style:e},l.a.createElement("g",null,l.a.createElement("path",{d:"M49.302354415,120.013032534C0,70.710678118,70.710678118,0,120.013032532,49.302354413L841.237697892,770.527019774C890.954544294,820.243866176,820.243866176,890.954544294,770.527019776,841.237697895Z"}),l.a.createElement("path",{d:"M770.941511761,49.302354415C820.243866176,0,890.954544294,70.710678118,841.652189881,120.013032532L120.42752452,841.237697893C70.710678118,890.954544294,0,820.243866176,49.7168464,770.527019775Z"}))):l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 800 800",style:e},l.a.createElement("g",null,l.a.createElement("path",{d:"M0,0L300,0C360,0,360,100,300,100L100,100L100,300C100,360,0,360,0,300Z"}),l.a.createElement("path",{d:"M800,0L500,0C440,0,440,100,500,100L700,100L700,300C700,360,800,360,800,300Z"}),l.a.createElement("path",{d:"M0,800L300,800C360,800,360,700,300,700L100,700L100,500C100,440,0,440,0,500Z"}),l.a.createElement("path",{d:"M800,800L500,800C440,800,440,700,500,700L700,700L700,500C700,440,800,440,800,500Z"}))))(t,u((t=>({position:"absolute",right:"".concat(10*t,"px"),top:"".concat(10*t,"px"),width:"".concat(25*t,"px"),cursor:"pointer"}))(t?1.5:1),{fill:"#FFFFFF"})),ImageSlider:u(g,{position:"absolute",left:0,top:0,width:"100%",height:"100%"}),NavLeft:u(g,C,{left:0}),NavRight:u(g,C,{right:0}),BulletContainer:t=>u(g,F,{marginLeft:"-".concat(21*t/2,"px")}),BulletNormal:u(g,x),BulletActive:u(g,x,{background:"#FFFFFF"}),getRootContainer:(t,e,i,s)=>u(g,{overflow:"hidden",width:t,height:e,background:s?"transparent":i},s?w:{}),getSubContainer:(t,e)=>u(g,{position:"absolute",overflow:"hidden",width:t,height:e}),getImageSlide:(t,e,i,s,n)=>u(S,{overflow:"hidden",transition:"".concat(e,"s"),backgroundImage:"url(".concat(t,")"),transform:s?"translate3d(".concat(100*i,"%, 0px, 0px)"):"translate(".concat(100*i,"%, 0px)")},n===r.cover?{}:v)};class y{constructor(t,e,i,s,n,l){this.idx=t,this.sliding=e,this.currentSlideStyle=i,this.nextSlideStyle=s,this.startTouchPoint=n,this.isFullScreen=l}}let b=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})();class k extends l.a.Component{constructor(t){super(t),this.componentDidMount=()=>document.addEventListener("keydown",this.onKeyDown),this.componentWillUnmount=()=>document.removeEventListener("keydown",this.onKeyDown),this.onKeyDown=t=>{this.state.isFullScreen&&27===t.keyCode?this.onFullScreenChanged():39==t.keyCode?this.onClickNav(!0):37==t.keyCode&&this.onClickNav(!1)},this.getImageUrl=t=>this.props.images[t]?this.props.images[t]:"",this.isCanSlide=t=>t!==this.state.idx&&!this.state.sliding,this.isPrevImageAvail=()=>this.props.images.length>0&&this.state.idx>0,this.isNextImageAvail=()=>this.props.images.length>0&&this.state.idx<this.props.images.length-1,this.onClickNav=t=>{t&&!this.isNextImageAvail()||!t&&!this.isPrevImageAvail()||this.isCanSlide(-1)&&(this.props.onClickNav(t),this.slide(t?this.state.idx+1:this.state.idx-1))},this.onClickBullets=t=>{this.isCanSlide(t)&&(this.props.onClickBullets(t),this.slide(t))},this.onTouchStart=t=>{this.setState(Object(s.a)({},this.state,{startTouchPoint:{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}}))},this.onTouchEnd=t=>{let e=t.target,i=t.changedTouches[0].clientX,n=this.state.startTouchPoint.x,l=(e.clientLeft+(e.clientLeft+e.clientWidth))/2,a=(i-n)/e.clientWidth;this.setState(Object(s.a)({},this.state,{startTouchPoint:null}),()=>{n<l&&i>l||Math.abs(a)>.1&&a>0?this.onClickNav(!1):(n>l&&i<l||Math.abs(a)>.1&&a<0)&&this.onClickNav(!0)})},this.onFullScreenContainerClick=t=>{t.target.classList.contains("image-slider-full-screen-container")&&this.state.isFullScreen&&this.onFullScreenChanged()},this.renderNav=()=>({left:this.isPrevImageAvail()?l.a.createElement("button",{type:"button",style:f.NavLeft,onClick:()=>this.onClickNav(!1)},f.ImageNavArrowLeft(this.state.isFullScreen)):null,right:this.isNextImageAvail()?l.a.createElement("button",{type:"button",style:f.NavRight,onClick:()=>this.onClickNav(!0)},f.ImageNavArrowRight(this.state.isFullScreen)):null}),this.renderBullets=(t,e)=>{if(t>1){const i=Array.from({length:t}).map((t,i)=>l.a.createElement("button",{type:"button",className:d.ClassNameBullets,style:i===e?f.BulletActive:f.BulletNormal,key:"bullet-".concat(i+1),onClick:this.onClickBullets.bind(this,i)}));return l.a.createElement("div",{style:f.BulletContainer(t)},i)}return null},this.slide=t=>{const e=t>this.state.idx,i=this.getImageUrl(this.state.idx),s=this.getImageUrl(t),n=e?1:-1,l=e?-1:1;this.setState({idx:t,sliding:!0,currentSlideStyle:f.getImageSlide(i,0,0,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode),nextSlideStyle:f.getImageSlide(s,0,n,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode)},()=>{setTimeout(()=>{this.setState({currentSlideStyle:f.getImageSlide(i,this.props.slideDuration,l,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode),nextSlideStyle:f.getImageSlide(s,this.props.slideDuration,0,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode)})},50),p.load(this.getImageUrl(t+2))}),this.props.onStartSlide(t+1)},this.onSlideEnd=()=>{this.setState({currentSlideStyle:f.getImageSlide(this.getImageUrl(this.state.idx),0,0,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode),sliding:!1}),this.props.onCompleteSlide(this.state.idx+1)},this.onFullScreenChanged=()=>{let t=!this.state.isFullScreen,e=this.state,i=e.currentSlideStyle,n=e.nextSlideStyle;this.setState(Object(s.a)({},this.state,{currentSlideStyle:f.getImageSlide(this.getImageUrl(this.state.idx),0,i.idx,this.props.useGPURender,t?r.contain:this.props.fillMode),nextSlideStyle:f.getImageSlide(this.getImageUrl(this.state.idx),0,n.idx,this.props.useGPURender,t?r.contain:this.props.fillMode),isFullScreen:t}))},this.onKeyDown=this.onKeyDown.bind(this),this.state=new y(0,!1,f.getImageSlide(this.getImageUrl(0),this.props.slideDuration,0,this.props.useGPURender,t.isFullScreen?r.contain:this.props.fillMode),f.getImageSlide(this.getImageUrl(1),this.props.slideDuration,1,this.props.useGPURender,t.isFullScreen?r.contain:this.props.fillMode),null,t.isFullScreen),p.load(this.getImageUrl(2))}render(){let t=this.state.isFullScreen?"80%":this.props.height;const e=f.getRootContainer(this.props.width,t,this.props.bgColor,this.state.isFullScreen),i=this.props.images.length,s=!b&&this.props.showNavs?this.renderNav().left:null,n=!b&&this.props.showNavs?this.renderNav().right:null,a=this.props.showBullets?this.renderBullets(i,this.state.idx):null,o=l.a.createElement("div",{onClick:()=>this.onFullScreenChanged()},f.FullScreenIcon(this.state.isFullScreen));return l.a.createElement("div",{className:"image-slider-full-screen-container",onClick:t=>this.onFullScreenContainerClick(t),style:f.FullScreenContainer(this.state.isFullScreen)},l.a.createElement("div",{className:d.ClassNameRoot,style:u(e,this.props.style)},l.a.createElement("div",{style:f.getSubContainer(this.props.width,"100%")},l.a.createElement("div",{style:f.ImageSlider,onTouchStart:t=>this.onTouchStart(t),onTouchEnd:t=>this.onTouchEnd(t)},l.a.createElement("div",{style:this.state.currentSlideStyle,onTransitionEnd:this.onSlideEnd}),l.a.createElement("div",{style:this.state.nextSlideStyle})),s,n,a)),o)}}k.defaultProps={width:"100%",height:"250px",slideDuration:.5,showNavs:!0,showBullets:!0,bgColor:"black",useGPURender:!0,navStyle:1,fillMode:r.cover,isFullScreen:!1,onClickNav:()=>{},onClickBullets:()=>{},onStartSlide:()=>{},onCompleteSlide:()=>{}};e.default=k}}]); | ||
| /*! 2.0.25 c306c0fc051420e091d3382f4610defa9739795c Fri May 15 2020 18:10:58 GMT (Nikro) */ | ||
| (window.webpackJsonpExpoFP=window.webpackJsonpExpoFP||[]).push([[6],{181:function(t,e,i){"use strict";i.r(e);var s=i(2),n=i(13),l=i.n(n);const a="".concat("image-slider","-navs"),o="".concat("image-slider","-bullets");let r;!function(t){t[t.cover=0]="cover",t[t.contain=1]="contain"}(r||(r={}));const h=t=>l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 50 234",style:t},l.a.createElement("path",{d:"M25,112L45,22C50,7,29,0,25,17L2.845342751,110.673876883Q0,124,3.433705391,134.796743451L25,222C29,234,48,229,45,217L26,135Q22,123,25,112Z"})),c=t=>l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 50 234",style:t},l.a.createElement("path",{d:"M25,112L5,22C0,7,21,0,25,17L47.154657249,110.673876883Q50,124,46.566294609,134.796743451L25,222C21,234,2,229,5,217L24,135Q28,123,25,112Z"}));var d={ClassNameRoot:"image-slider",ClassNameNavs:a,ClassNameBullets:o,ImageNavArrowLeft:h,ImageNavArrowRight:c};var p=(()=>{const t={},e=[],i=new Array(3).fill(0).map(t=>new Image);return{load:s=>{if(s&&!t[s])if(0===i.length)e.push(s);else{const n=i.shift();n.src=s,n.onload=()=>{t[s]=!0,e.length>0?n.src=e.shift():i.push(n)}}}}})();const u=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return Object.assign({},...e)},g={display:"block",margin:"0",padding:"0",border:"0"},m={position:"fixed",top:0,bottom:0,left:0,right:0,padding:"20px",zIndex:"999",backgroundColor:"rgba(0, 0, 0, 0.8)"},S={position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"cover"},v={backgroundSize:"contain",backgroundPosition:"center"},C={position:"absolute",top:"50%",transform:"translate(0, -50%)",padding:"50px 20px",cursor:"pointer",outline:"none",background:"none"},F={position:"absolute",left:"50%",bottom:"15px"},x={display:"inline-block",cursor:"pointer",outline:"none",background:"none",borderRadius:"50%",border:"2px solid ".concat("#FFFFFF"),width:"".concat(15,"px"),height:"".concat(15,"px"),marginLeft:"".concat(3,"px"),marginRight:"".concat(3,"px")},w={position:"relative",top:"50%",transform:"translateY(-50%)"};var f={ImageNavArrowLeft:t=>h(u({height:t?"100px":"50px"},{fill:"#FFFFFF"})),ImageNavArrowRight:t=>c(u({height:t?"100px":"50px"},{fill:"#FFFFFF"})),FullScreenContainer:t=>t?m:{},FullScreenIcon:t=>((t,e)=>t?l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 890.954544294 890.954544294",style:e},l.a.createElement("g",null,l.a.createElement("path",{d:"M49.302354415,120.013032534C0,70.710678118,70.710678118,0,120.013032532,49.302354413L841.237697892,770.527019774C890.954544294,820.243866176,820.243866176,890.954544294,770.527019776,841.237697895Z"}),l.a.createElement("path",{d:"M770.941511761,49.302354415C820.243866176,0,890.954544294,70.710678118,841.652189881,120.013032532L120.42752452,841.237697893C70.710678118,890.954544294,0,820.243866176,49.7168464,770.527019775Z"}))):l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 800 800",style:e},l.a.createElement("g",null,l.a.createElement("path",{d:"M0,0L300,0C360,0,360,100,300,100L100,100L100,300C100,360,0,360,0,300Z"}),l.a.createElement("path",{d:"M800,0L500,0C440,0,440,100,500,100L700,100L700,300C700,360,800,360,800,300Z"}),l.a.createElement("path",{d:"M0,800L300,800C360,800,360,700,300,700L100,700L100,500C100,440,0,440,0,500Z"}),l.a.createElement("path",{d:"M800,800L500,800C440,800,440,700,500,700L700,700L700,500C700,440,800,440,800,500Z"}))))(t,u((t=>({position:"absolute",right:"".concat(10*t,"px"),top:"".concat(10*t,"px"),width:"".concat(25*t,"px"),cursor:"pointer"}))(t?1.5:1),{fill:"#FFFFFF"})),ImageSlider:u(g,{position:"absolute",left:0,top:0,width:"100%",height:"100%"}),NavLeft:u(g,C,{left:0}),NavRight:u(g,C,{right:0}),BulletContainer:t=>u(g,F,{marginLeft:"-".concat(21*t/2,"px")}),BulletNormal:u(g,x),BulletActive:u(g,x,{background:"#FFFFFF"}),getRootContainer:(t,e,i,s)=>u(g,{overflow:"hidden",width:t,height:e,background:s?"transparent":i},s?w:{}),getSubContainer:(t,e)=>u(g,{position:"absolute",overflow:"hidden",width:t,height:e}),getImageSlide:(t,e,i,s,n)=>u(S,{overflow:"hidden",transition:"".concat(e,"s"),backgroundImage:"url(".concat(t,")"),transform:s?"translate3d(".concat(100*i,"%, 0px, 0px)"):"translate(".concat(100*i,"%, 0px)")},n===r.cover?{}:v)};class y{constructor(t,e,i,s,n,l){this.idx=t,this.sliding=e,this.currentSlideStyle=i,this.nextSlideStyle=s,this.startTouchPoint=n,this.isFullScreen=l}}let b=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})();class k extends l.a.Component{constructor(t){super(t),this.componentDidMount=()=>document.addEventListener("keydown",this.onKeyDown),this.componentWillUnmount=()=>document.removeEventListener("keydown",this.onKeyDown),this.onKeyDown=t=>{this.state.isFullScreen&&27===t.keyCode?this.onFullScreenChanged():39==t.keyCode?this.onClickNav(!0):37==t.keyCode&&this.onClickNav(!1)},this.getImageUrl=t=>this.props.images[t]?this.props.images[t]:"",this.isCanSlide=t=>t!==this.state.idx&&!this.state.sliding,this.isPrevImageAvail=()=>this.props.images.length>0&&this.state.idx>0,this.isNextImageAvail=()=>this.props.images.length>0&&this.state.idx<this.props.images.length-1,this.onClickNav=t=>{t&&!this.isNextImageAvail()||!t&&!this.isPrevImageAvail()||this.isCanSlide(-1)&&(this.props.onClickNav(t),this.slide(t?this.state.idx+1:this.state.idx-1))},this.onClickBullets=t=>{this.isCanSlide(t)&&(this.props.onClickBullets(t),this.slide(t))},this.onTouchStart=t=>{this.setState(Object(s.a)({},this.state,{startTouchPoint:{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}}))},this.onTouchEnd=t=>{let e=t.target,i=t.changedTouches[0].clientX,n=this.state.startTouchPoint.x,l=(e.clientLeft+(e.clientLeft+e.clientWidth))/2,a=(i-n)/e.clientWidth;this.setState(Object(s.a)({},this.state,{startTouchPoint:null}),()=>{n<l&&i>l||Math.abs(a)>.1&&a>0?this.onClickNav(!1):(n>l&&i<l||Math.abs(a)>.1&&a<0)&&this.onClickNav(!0)})},this.onFullScreenContainerClick=t=>{t.target.classList.contains("image-slider-full-screen-container")&&this.state.isFullScreen&&this.onFullScreenChanged()},this.renderNav=()=>({left:this.isPrevImageAvail()?l.a.createElement("button",{type:"button",style:f.NavLeft,onClick:()=>this.onClickNav(!1)},f.ImageNavArrowLeft(this.state.isFullScreen)):null,right:this.isNextImageAvail()?l.a.createElement("button",{type:"button",style:f.NavRight,onClick:()=>this.onClickNav(!0)},f.ImageNavArrowRight(this.state.isFullScreen)):null}),this.renderBullets=(t,e)=>{if(t>1){const i=Array.from({length:t}).map((t,i)=>l.a.createElement("button",{type:"button",className:d.ClassNameBullets,style:i===e?f.BulletActive:f.BulletNormal,key:"bullet-".concat(i+1),onClick:this.onClickBullets.bind(this,i)}));return l.a.createElement("div",{style:f.BulletContainer(t)},i)}return null},this.slide=t=>{const e=t>this.state.idx,i=this.getImageUrl(this.state.idx),s=this.getImageUrl(t),n=e?1:-1,l=e?-1:1;this.setState({idx:t,sliding:!0,currentSlideStyle:f.getImageSlide(i,0,0,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode),nextSlideStyle:f.getImageSlide(s,0,n,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode)},()=>{setTimeout(()=>{this.setState({currentSlideStyle:f.getImageSlide(i,this.props.slideDuration,l,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode),nextSlideStyle:f.getImageSlide(s,this.props.slideDuration,0,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode)})},50),p.load(this.getImageUrl(t+2))}),this.props.onStartSlide(t+1)},this.onSlideEnd=()=>{this.setState({currentSlideStyle:f.getImageSlide(this.getImageUrl(this.state.idx),0,0,this.props.useGPURender,this.state.isFullScreen?r.contain:this.props.fillMode),sliding:!1}),this.props.onCompleteSlide(this.state.idx+1)},this.onFullScreenChanged=()=>{let t=!this.state.isFullScreen,e=this.state,i=e.currentSlideStyle,n=e.nextSlideStyle;this.setState(Object(s.a)({},this.state,{currentSlideStyle:f.getImageSlide(this.getImageUrl(this.state.idx),0,i.idx,this.props.useGPURender,t?r.contain:this.props.fillMode),nextSlideStyle:f.getImageSlide(this.getImageUrl(this.state.idx),0,n.idx,this.props.useGPURender,t?r.contain:this.props.fillMode),isFullScreen:t}))},this.onKeyDown=this.onKeyDown.bind(this),this.state=new y(0,!1,f.getImageSlide(this.getImageUrl(0),this.props.slideDuration,0,this.props.useGPURender,t.isFullScreen?r.contain:this.props.fillMode),f.getImageSlide(this.getImageUrl(1),this.props.slideDuration,1,this.props.useGPURender,t.isFullScreen?r.contain:this.props.fillMode),null,t.isFullScreen),p.load(this.getImageUrl(2))}render(){let t=this.state.isFullScreen?"80%":this.props.height;const e=f.getRootContainer(this.props.width,t,this.props.bgColor,this.state.isFullScreen),i=this.props.images.length,s=!b&&this.props.showNavs?this.renderNav().left:null,n=!b&&this.props.showNavs?this.renderNav().right:null,a=this.props.showBullets?this.renderBullets(i,this.state.idx):null,o=l.a.createElement("div",{onClick:()=>this.onFullScreenChanged()},f.FullScreenIcon(this.state.isFullScreen));return l.a.createElement("div",{className:"image-slider-full-screen-container",onClick:t=>this.onFullScreenContainerClick(t),style:f.FullScreenContainer(this.state.isFullScreen)},l.a.createElement("div",{className:d.ClassNameRoot,style:u(e,this.props.style)},l.a.createElement("div",{style:f.getSubContainer(this.props.width,"100%")},l.a.createElement("div",{style:f.ImageSlider,onTouchStart:t=>this.onTouchStart(t),onTouchEnd:t=>this.onTouchEnd(t)},l.a.createElement("div",{style:this.state.currentSlideStyle,onTransitionEnd:this.onSlideEnd}),l.a.createElement("div",{style:this.state.nextSlideStyle})),s,n,a)),o)}}k.defaultProps={width:"100%",height:"250px",slideDuration:.5,showNavs:!0,showBullets:!0,bgColor:"black",useGPURender:!0,navStyle:1,fillMode:r.cover,isFullScreen:!1,onClickNav:()=>{},onClickBullets:()=>{},onStartSlide:()=>{},onCompleteSlide:()=>{}};e.default=k}}]); |
+1
-1
| { | ||
| "name": "expofp", | ||
| "license": "UNLICENSED", | ||
| "version": "2.0.24", | ||
| "version": "2.0.25", | ||
| "main": "./dist/expofp.js", | ||
@@ -6,0 +6,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
6541575
0