File "index.js"
Full Path: /home/fresvfqn/waterdamagerestorationandrepairsmithtown.com/wp-content/plugins/surerank/build/vendor-e9105a8c/index.js
File size: 13.71 KB
MIME-type: text/plain
Charset: utf-8
"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[418],{849:(t,e,n)=>{n.d(e,{S:()=>r});const r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},2743:(t,e,n)=>{n.d(e,{U:()=>a});var r=n(98288),s=n(8452);function a(){if(s.r.current=!0,r.B)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>s.O.current=t.matches;t.addListener(e),e()}else s.O.current=!1}},5252:(t,e,n)=>{n.d(e,{u:()=>s});var r=n(33735);const s={test:(0,n(73259).$)("#"),parse:function(t){let e="",n="",r="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}},transform:r.B.transform}},8452:(t,e,n)=>{n.d(e,{O:()=>r,r:()=>s});const r={current:null},s={current:!1}},14322:(t,e,n)=>{n.d(e,{u:()=>a});var r=n(47365),s=n(69896);function a(t){const e=(0,s.S)(t)?t.get():t;return(0,r.B)(e)?e.toValue():e}},15746:(t,e,n)=>{n.d(e,{w:()=>s});const r=(t,e)=>Math.abs(t-e);function s(t,e){const n=r(t.x,e.x),s=r(t.y,e.y);return Math.sqrt(n**2+s**2)}},22503:(t,e,n)=>{function r(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}n.d(e,{a:()=>r})},22606:(t,e,n)=>{n.d(e,{v:()=>s});var r=n(32358);class s{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let s=0;s<r;s++){const r=this.subscriptions[s];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},24552:(t,e,n)=>{n.d(e,{V:()=>f,f:()=>g});var r=n(27739);const s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var a=n(849),o=n(66046);const i="number",u="color",c="var",h="var(",l="${}",d=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function f(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},a=[];let o=0;const f=e.replace(d,t=>(r.y.test(t)?(s.color.push(o),a.push(u),n.push(r.y.parse(t))):t.startsWith(h)?(s.var.push(o),a.push(c),n.push(t)):(s.number.push(o),a.push(i),n.push(parseFloat(t))),++o,l)).split(l);return{values:n,split:f,indexes:s,types:a}}function p(t){return f(t).values}function v(t){const{split:e,types:n}=f(t),s=e.length;return t=>{let a="";for(let c=0;c<s;c++)if(a+=e[c],void 0!==t[c]){const e=n[c];a+=e===i?(0,o.a)(t[c]):e===u?r.y.transform(t[c]):t[c]}return a}}const m=t=>"number"===typeof t?0:t,g={test:function(t){var e,n;return isNaN(t)&&"string"===typeof t&&((null===(e=t.match(a.S))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(s))||void 0===n?void 0:n.length)||0)>0},parse:p,createTransformer:v,getAnimatableNone:function(t){const e=p(t);return v(t)(e.map(m))}}},24785:(t,e,n)=>{n.d(e,{OQ:()=>c});var r=n(44582),s=n(22606),a=n(57177),o=n(10104);const i={current:void 0};class u{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{const n=r.k.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new s.v);const n=this.events[t].add(e);return"change"===t?()=>{n(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return i.current&&i.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,a.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(t,e){return new u(t,e)}},25128:(t,e,n)=>{n.d(e,{E:()=>s});var r=n(51609);const s=n(98288).B?r.useLayoutEffect:r.useEffect},26044:(t,e,n)=>{n.d(e,{p:()=>u});var r=n(24552),s=n(849);const a=new Set(["brightness","contrast","saturate","opacity"]);function o(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(s.S)||[];if(!r)return t;const o=n.replace(r,"");let i=a.has(e)?1:0;return r!==n&&(i*=100),e+"("+i+o+")"}const i=/\b([a-z-]*)\(.*?\)/gu,u={...r.f,getAnimatableNone:t=>{const e=t.match(i);return e?e.map(o).join(" "):t}}},27739:(t,e,n)=>{n.d(e,{y:()=>o});var r=n(5252),s=n(72027),a=n(33735);const o={test:t=>a.B.test(t)||r.u.test(t)||s.V.test(t),parse:t=>a.B.test(t)?a.B.parse(t):s.V.test(t)?s.V.parse(t):r.u.parse(t),transform:t=>"string"===typeof t?t:t.hasOwnProperty("red")?a.B.transform(t):s.V.transform(t)}},28601:(t,e,n)=>{n.d(e,{M:()=>s});var r=n(51609);function s(t){const e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},28844:(t,e,n)=>{n.d(e,{G:()=>c});var r=n(8104),s=n(41533),a=n(86896),o=n(42464),i=n(58799),u=n(91339);function c(t,e,{clamp:n=!0,ease:c,mixer:h}={}){const l=t.length;if((0,r.V)(l===e.length,"Both input and output ranges must be the same length"),1===l)return()=>e[0];if(2===l&&e[0]===e[1])return()=>e[1];const d=t[0]===t[1];t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());const f=function(t,e,n){const r=[],a=n||i.j,o=t.length-1;for(let i=0;i<o;i++){let n=a(t[i],t[i+1]);if(e){const t=Array.isArray(e)?e[i]||s.l:e;n=(0,u.F)(t,n)}r.push(n)}return r}(e,c,h),p=f.length,v=n=>{if(d&&n<t[0])return e[0];let r=0;if(p>1)for(;r<t.length-2&&!(n<t[r+1]);r++);const s=(0,a.q)(t[r],t[r+1],n);return f[r](s)};return n?e=>v((0,o.q)(t[0],t[l-1],e)):v}},30951:(t,e,n)=>{function r(t,e){return t.map(t=>t*e)}n.d(e,{A:()=>r})},32358:(t,e,n)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:()=>s,Kq:()=>r})},33490:(t,e,n)=>{n.d(e,{Z:()=>a});var r=n(86896),s=n(39713);function a(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let a=1;a<=e;a++){const o=(0,r.q)(0,e,a);t.push((0,s.k)(n,1,o))}}(e,t.length-1),e}},33735:(t,e,n)=>{n.d(e,{B:()=>u});var r=n(42464),s=n(82944),a=n(66046),o=n(73259);const i={...s.ai,transform:t=>Math.round((t=>(0,r.q)(0,255,t))(t))},u={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+i.transform(t)+", "+i.transform(e)+", "+i.transform(n)+", "+(0,a.a)(s.X4.transform(r))+")"}},39652:(t,e,n)=>{n.d(e,{d:()=>r});const r={current:!1}},39713:(t,e,n)=>{n.d(e,{k:()=>r});const r=(t,e,n)=>t+(e-t)*n},42464:(t,e,n)=>{n.d(e,{q:()=>r});const r=(t,e,n)=>n>e?e:n<t?t:n},47365:(t,e,n)=>{n.d(e,{B:()=>s,K:()=>a});var r=n(1712);const s=t=>Boolean(t&&"object"===typeof t&&t.mix&&t.toValue),a=t=>(0,r.p)(t)?t[t.length-1]||0:t},50029:(t,e,n)=>{n.d(e,{g:()=>s});var r=n(69896);function s(t,e){const n=t.getValue("willChange");if(s=n,Boolean((0,r.S)(s)&&s.add))return n.add(e);var s}},55269:(t,e,n)=>{n.d(e,{KN:()=>a,gQ:()=>c,px:()=>o,uj:()=>s,vh:()=>i,vw:()=>u});const r=t=>({test:e=>"string"===typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=r("deg"),a=r("%"),o=r("px"),i=r("vh"),u=r("vw"),c={...a,parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)}},57177:(t,e,n)=>{function r(t,e){return e?t*(1e3/e):0}n.d(e,{f:()=>r})},58799:(t,e,n)=>{n.d(e,{j:()=>F});var r=n(39713),s=n(8104);function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var o=n(5252),i=n(33735),u=n(72027);function c(t,e){return n=>n>0?e:t}const h=(t,e,n)=>{const r=t*t,s=n*(e*e-r)+r;return s<0?0:Math.sqrt(s)},l=[o.u,i.B,u.V];function d(t){const e=(n=t,l.find(t=>t.test(n)));var n;if((0,s.$)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let r=e.parse(t);return e===u.V&&(r=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let s=0,o=0,i=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,u=2*n-r;s=a(u,r,t+1/3),o=a(u,r,t),i=a(u,r,t-1/3)}else s=o=i=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*i),alpha:r}}(r)),r}const f=(t,e)=>{const n=d(t),s=d(e);if(!n||!s)return c(t,e);const a={...n};return t=>(a.red=h(n.red,s.red,t),a.green=h(n.green,s.green,t),a.blue=h(n.blue,s.blue,t),a.alpha=(0,r.k)(n.alpha,s.alpha,t),i.B.transform(a))};var p=n(91339),v=n(27739),m=n(24552),g=n(40568);const b=new Set(["none","hidden"]);function y(t,e){return n=>(0,r.k)(t,e,n)}function A(t){return"number"===typeof t?y:"string"===typeof t?(0,g.p)(t)?c:v.y.test(t)?f:k:Array.isArray(t)?w:"object"===typeof t?v.y.test(t)?f:V:c}function w(t,e){const n=[...t],r=n.length,s=t.map((t,n)=>A(t)(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=s[e](t);return n}}function V(t,e){const n={...t,...e},r={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(r[s]=A(t[s])(t[s],e[s]));return t=>{for(const e in r)n[e]=r[e](t);return n}}const k=(t,e)=>{const n=m.f.createTransformer(e),r=(0,m.V)(t),a=(0,m.V)(e);return r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length?b.has(t)&&!a.values.length||b.has(e)&&!r.values.length?function(t,e){return b.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,p.F)(w(function(t,e){var n;const r=[],s={color:0,var:0,number:0};for(let a=0;a<e.values.length;a++){const o=e.types[a],i=null!==(n=t.values[t.indexes[o][s[o]]])&&void 0!==n?n:0;r[a]=i,s[o]++}return r}(r,a),a.values),n):((0,s.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),c(t,e))};function F(t,e,n){return"number"===typeof t&&"number"===typeof e&&"number"===typeof n?(0,r.k)(t,e,n):A(t)(t,e)}},66046:(t,e,n)=>{n.d(e,{a:()=>r});const r=t=>Math.round(1e5*t)/1e5},66528:(t,e,n)=>{n.d(e,{c:()=>a});var r=n(44582),s=n(10104);function a(t,e){const n=r.k.now(),a=({timestamp:r})=>{const o=r-n;o>=e&&((0,s.WG)(a),t(o-e))};return s.Gt.read(a,!0),()=>(0,s.WG)(a)}},69896:(t,e,n)=>{n.d(e,{S:()=>r});const r=t=>Boolean(t&&t.getVelocity)},72027:(t,e,n)=>{n.d(e,{V:()=>i});var r=n(82944),s=n(55269),a=n(66046),o=n(73259);const i={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+s.KN.transform((0,a.a)(e))+", "+s.KN.transform((0,a.a)(n))+", "+(0,a.a)(r.X4.transform(o))+")"}},73259:(t,e,n)=>{n.d(e,{$:()=>a,q:()=>o});var r=n(849);const s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,a=(t,e)=>n=>Boolean("string"===typeof n&&s.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),o=(t,e,n)=>s=>{if("string"!==typeof s)return s;const[a,o,i,u]=s.match(r.S);return{[t]:parseFloat(a),[e]:parseFloat(o),[n]:parseFloat(i),alpha:void 0!==u?parseFloat(u):1}}},74668:(t,e,n)=>{n.d(e,{W:()=>r});const r={skipAnimations:!1,useManualTiming:!1}},77312:(t,e,n)=>{n.d(e,{$:()=>r});const r=t=>/^0[^.\s]+$/u.test(t)},78379:(t,e,n)=>{n.d(e,{Y:()=>a});var r=n(51609);const s=(t,e,n)=>{const r=e-t;return((n-t)%r+r)%r+t};function a(...t){const e=(0,r.useRef)(0),[n,a]=(0,r.useState)(t[e.current]);return[n,(0,r.useCallback)(n=>{e.current="number"!==typeof n?s(0,t.length,e.current+1):n,a(t[e.current])},[t.length,...t])]}},82944:(t,e,n)=>{n.d(e,{X4:()=>a,ai:()=>s,hs:()=>o});var r=n(42464);const s={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},a={...s,transform:t=>(0,r.q)(0,1,t)},o={...s,default:1}},83953:(t,e,n)=>{function r(t){return t&&"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(e,{X:()=>r})},84281:(t,e,n)=>{n.d(e,{C:()=>o});var r=n(51609),s=n(25128),a=n(10104);function o(){const t=function(){const t=(0,r.useRef)(!1);return(0,s.E)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}(),[e,n]=(0,r.useState)(0),o=(0,r.useCallback)(()=>{t.current&&n(e+1)},[e]);return[(0,r.useCallback)(()=>a.Gt.postRender(o),[o]),e]}},84364:(t,e,n)=>{n.d(e,{s:()=>r});const r=({current:t})=>t?t.ownerDocument.defaultView:null},89652:(t,e,n)=>{n.d(e,{i:()=>r});const r=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},91339:(t,e,n)=>{n.d(e,{F:()=>s});const r=(t,e)=>n=>e(t(n)),s=(...t)=>t.reduce(r)},98288:(t,e,n)=>{n.d(e,{B:()=>r});const r="undefined"!==typeof window}}]);