PageSourceSearch

https://dash.ticto.com.br/_next/static/chunks/4651.8dc04e0400fdcce7.js

js ticto.com.br collected 2026-09-24 13:06:47 UTC 94,695 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7acb174e-898b-4c56-a0a8-f000ee83b9b4",e._sentryDebugIdIdentifier="sentry-dbid-7acb174e-898b-4c56-a0a8-f000ee83b9b4")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4651],{14651:(e,t,n)=>{n.r(t),n.d(t,{A:()=>tc,F:()=>es,M:()=>tI,S:()=>tl,T:()=>eu,_:()=>ea,a:()=>tM,b:()=>ta,c:()=>tp,d:()=>k,e:()=>tB,f:()=>t$,g:()=>tf,h:()=>en,i:()=>tE,j:()=>t5,k:()=>t1,l:()=>q,m:()=>tF,n:()=>tW,o:()=>tD,p:()=>eo,q:()=>ec,r:()=>td,u:()=>D,v:()=>no,w:()=>to});var r,o,i,a,l,s,u,c,d=n(95071),p=n(14616),f={},_=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var o,i,a,l={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:l[a]=t[a];if(arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===l[a]&&(l[a]=e.defaultProps[a]
1);return x(e,l,o,i,null)}function x(e,t,n,r,a){var l={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:a??++i,__i:-1,__u:0};return null==a&&null!=o.vnode&&o.vnode(l),l}function y(){return{current:null}}function k(e){return e.children}function w(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function S(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!E.__r++||l!==o.debounceRendering)&&((l=o.debounceRendering)||s)(E)}function E(){var e,t,n,r,i,l,s,c,d;for(a.sort(u);e=a.shift();)e.__d&&(t=a.length,r=void 0,l=(i=(n=e).__v).__e,c=[],d=[],(s=n.__P)&&((r=g({},i)).__v=i.__v+1,o.vnode&&o.vnode(r),O(s,r,i,n.__n,void 0!==s.ownerSVGElement,32&i.__u?[l]:null,c,l??C(i),!!(32&i.__u),d),r.__.__k[r.__i]=r,N(c,r,d),r.__e!=l&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r)),a.length>t&&a.sort(u));E.__r=0}function I(e,t,n,r,o,i,a,l,s,u,c){var d,p,h,g,v,b=r&&r.__k||_,y=t.length;for(n.__d=s,function(e,t,n){var r,o,i,a,l,s=t.length,u=n.length,c=u,d=0;for(e.__k=[],r=0;r<s;r++)null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?x(null,o,null,null,o):m(o)?x(k,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,l=function(e,t,n,r){var o=e.key,i=e.type,a=n-1,l=n+1,s=t[n];if(null===s||s&&o==s.key&&i===s.type)return n;if(r>(null==s||131072&s.__u?0:1))for(;a>=0||l<t.length;){if(a>=0){if((s=t[a])&&!(131072&s.__u)&&o==s.key&&i===s.type)return a;a--}if(l<t.length){if((s=t[l])&&!(131072&s.__u)&&o==s.key&&i===s.type)return l;l++}}return -1}(o,n,a=r+d,c),o.__i=l,i=null,-1!==l&&(c--,(i=n[l])&&(i.__u|=131072)),null==i||null===i.__v?(-1==l&&d--,"function"!=typeof o.type&&(o.__u|=65536)):l!==a&&(l===a+1?d++:l>a?c>s-a?d+=l-a:d--:d=l<a&&l==a-1?l-a:0,l!==r+d&&(o.__u|=65536))):(i=n[r])&&null==i.key&&i.__e&&(i.__e==e.__d&&(e.__d=C(i)),A(i,i,!1),n[r]=null,c--);if(c)for(r=0;r<u;r++)null==(i=n[r])||131072&i.__u||(i.__e==e.__d&&(e.__d=C(i)),A(i,i))}(n,t,b),s=n.__d,d=0;d<y;d++)null!=(h=n.__k[d])&&"boolean"!=typeof h&&"function"!=typeof h&&(p=-1===h.__i?f:b[h.__i]||f,h.__i=d,O(e,h,p,o,i,a,l,s,u,c),g=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&T(p.ref,null,h),c.push(h.ref,h.__c||g,h)),null==v&&null!=g&&(v=g),65536&h.__u||p.__k===h.__k?s=function e(t,n,r){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,n=e(o[i],n,r));return n}return t.__e!=n&&(r.insertBefore(t.__e,n||null),n=t.__e),n&&n.nextSibling}(h,s,e):"function"==typeof h.type&&void 0!==h.__d?s=h.__d:g&&(s=g.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=s,n.__e=v}function j(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some(function(e){j(e,t)}):t.push(e)),t}function R(e,t,n){"-"===t[0]?e.setProperty(t,n??""):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function U(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||R(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||R(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?H:L,i)):e.removeEventListener(t,i?H:L,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=n??"";break e}catch{}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function L(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(o.event?o.event(e):e)}function H(e){return this.l[e.type+!0](o.event?o.event(e):e)}function O(e,t,n,i,a,l,s,u,c,d){var p,_,h,b,x,y,S,E,j,R,L,H,O,N,T,A=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),l=[u=t.__e=n.__e]),(p=o.__b)&&p(t);e:if("function"==typeof A)try{if(E=t.props,j=(p=A.contextType)&&i[p.__c],R=p?j?j.props.value:p.__:i,n.__c?S=(_=t.__c=n.__c).__=_.__E:("prototype"in A&&A.prototype.render?t.__c=_=new A(E,R):(t.__c=_=new w(E,R),_.constructor=A,_.render=P),j&&j.sub(_),_.props=E,_.state||(_.state={}),_.context=R,_.__n=i,h=_.__d=!0,_.__h=[],_._sb=[]),null==_.__s&&(_.__s=_.state),null!=A.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=g({},_.__s)),g(_.__s,A.getDerivedStateFromProps(E,_.__s))),b=_.props,x=_.state,_.__v=t,h)null==A.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(null==A.getDerivedStateFromProps&&E!==b&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(E,R),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(E,_.__s,R)||t.__v===n.__v)){for(t.__v!==n.__v&&(_.props=E,_.state=_.__s,_.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEac
1h(function(e){e&&(e.__=t)}),L=0;L<_._sb.length;L++)_.__h.push(_._sb[L]);_._sb=[],_.__h.length&&s.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(E,_.__s,R),null!=_.componentDidUpdate&&_.__h.push(function(){_.componentDidUpdate(b,x,y)})}if(_.context=R,_.props=E,_.__P=e,_.__e=!1,H=o.__r,O=0,"prototype"in A&&A.prototype.render){for(_.state=_.__s,_.__d=!1,H&&H(t),p=_.render(_.props,_.state,_.context),N=0;N<_._sb.length;N++)_.__h.push(_._sb[N]);_._sb=[]}else do _.__d=!1,H&&H(t),p=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++O<25);_.state=_.__s,null!=_.getChildContext&&(i=g(g({},i),_.getChildContext())),h||null==_.getSnapshotBeforeUpdate||(y=_.getSnapshotBeforeUpdate(b,x)),I(e,m(T=null!=p&&p.type===k&&null==p.key?p.props.children:p)?T:[T],t,n,i,a,l,s,u,c,d),_.base=t.__e,t.__u&=-161,_.__h.length&&s.push(_),S&&(_.__E=_.__=null)}catch(e){t.__v=null,c||null!=l?(t.__e=u,t.__u|=c?160:32,l[l.indexOf(u)]=null):(t.__e=n.__e,t.__k=n.__k),o.__e(e,t,n)}else null==l&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,o,i,a,l,s,u){var c,d,p,_,h,g,b,x=n.props,y=t.props,k=t.type;if("svg"===k&&(i=!0),null!=a){for(c=0;c<a.length;c++)if((h=a[c])&&"setAttribute"in h==!!k&&(k?h.localName===k:3===h.nodeType)){e=h,a[c]=null;break}}if(null==e){if(null===k)return document.createTextNode(y);e=i?document.createElementNS("http://www.w3.org/2000/svg",k):document.createElement(k,y.is&&y),a=null,s=!1}if(null===k)x===y||s&&e.data===y||(e.data=y);else{if(a=a&&r.call(e.childNodes),x=n.props||f,!s&&null!=a)for(x={},c=0;c<e.attributes.length;c++)x[(h=e.attributes[c]).name]=h.value;for(c in x)h=x[c],"children"==c||("dangerouslySetInnerHTML"==c?p=h:"key"===c||c in y||U(e,c,null,h,i));for(c in y)h=y[c],"children"==c?_=h:"dangerouslySetInnerHTML"==c?d=h:"value"==c?g=h:"checked"==c?b=h:"key"===c||s&&"function"!=typeof h||x[c]===h||U(e,c,h,x[c],i);if(d)s||p&&(d.__html===p.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(p&&(e.innerHTML=""),I(e,m(_)?_:[_],t,n,o,i&&"foreignObject"!==k,a,l,a?a[0]:n.__k&&C(n,0),s,u),null!=a)for(c=a.length;c--;)null!=a[c]&&v(a[c]);s||(c="value",void 0===g||g===e[c]&&("progress"!==k||g)&&("option"!==k||g===x[c])||U(e,c,g,x[c],!1),c="checked",void 0!==b&&b!==e[c]&&U(e,c,b,x[c],!1))}return e}(n.__e,t,n,i,a,l,s,c,d);(p=o.diffed)&&p(t)}function N(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)T(n[r],n[++r],n[++r]);o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function T(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function A(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||T(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&A(r[i],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function M(e,t,n){var i,a,l,s;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,l=[],s=[],O(t,e=(!i&&n||t).__k=b(k,null,[e]),a||f,f,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,l,!i&&n?n:a?a.__e:t.firstChild,i,s),N(l,e,s)}function V(e,t,n){var o,i,a,l,s=g({},e.props);for(a in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=void 0===t[a]&&void 0!==l?l[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),x(e.type,s,o||e.key,i||e.ref,null)}function q(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,S(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=_.slice,o={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},i=0,w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},w.prototype.render=k,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,c=0;var z=0;function D(e,t,n,r,i,a){var l,s,u={};for(s in t)"ref"==s?l=t[s]:u[s]=t[s];var c={type:e,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--z,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(l=e.defaultProps))for(s in l)void 0===u[s]&&(u[s]=l[s]);return o.vnode&&o.vnode(c),c}var F,B,$,W,Z=0,Q=[],G=[],K=o.__b,J=o.__r,Y=o.diffed,X=o.__c,ee=o.unmount;function et(e,t){o.__h&&o.__h(B,e,Z||t),Z=0;var n=B.__H||(B.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:G}),n.__[e]}function en(e){return Z=1,er(ev,e)}function er(e,t,n){var r=et(F++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ev(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=B,!B.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter(function(e){return e.__c});if(o.every(function(e){return!e.__N}))return!i||i.call(this,e,t,n);var a=!1;return o.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};B.u=!0;var i=B.shouldComponentUpdate,a=B.componentWillUpdate;B.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},B.shouldComponentUpdate=o}return r.__N||r.__}function eo(e,t){var n=et(F++,3);!o.__s&&eg(n.__H,t)&&(n.__=e,n.i=t,B.__H.__h.push(n))}function ei(e,t){var n=et(F++,4);!o.__s&&eg(n.__H,t)&&(n.__=e,n.i=t,B.__h.push(n))}function ea(e){return Z=5,es(function(){return{current:e}},[])}function el(e,t,n){Z=6,ei(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))}function es(e,t){var n=et(F++,7);return eg(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function eu(e,t){return Z=8,es(function(){return e},t)}function ec(e){var t=B.context[e.__c],n=et(F++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(B)),t.props.value):e.__}function ed(e,t){o.useDebugValue&&o.useDebugValue(t?t(e):e)}function ep(){var e=et(F++,11);if(!e.__){for(var t=B.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ef(){for(var e;e=Q.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eh),e.__H.__h.forEach(em),e.__H.__h=[]}catch(t){e.__H.__h=[],o.__e(t,e.__v)}}o.__b=function(e){B=null,K&&K(e)},o.__r=function(e){J&&J(e),F=0;var t=(B=e.__c).__H;t&&($===B?(t.__h=[],B.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=G,e.__N=e.i=void 0})):(t.__h.forEach(eh),t.__h.forEach(em),t.__h=[],F=0)),$=B},o.diffed=function(e){Y&&Y(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Q.push(t)&&W===o.requestAnimationFrame||((W=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),e_&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);e_&&(t=requestAnimationFrame(n))})(ef)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==G&&(e.__=e.__V),e.i=void 0,e.__V=G})),$=B=null},o.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eh),e.__h=e.__h.filter(function(e){return!e.__||em(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.__e(n,e.__v)}}),X&&X(e,t)},o.unmount=function(e){ee&&ee(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eh(e)}catch(e){t=e}}),n.__H=void 0,t&&o.__e(t,n.__v))};var e_="function"==typeof requestAnimationFrame;function eh(e){var t=B,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),B=t}function em(e){var t=B;e.__c=e.__(),B=t}function eg(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ev(e,t){return"function"==typeof t?t(e):t}function eb(e,t){for(var n in t)e[n]=t[n];return e}function ex(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ey(e){this.props=e}function ek(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ex(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ey.prototype=new w).isPureReactComponent=!0,ey.prototype.shouldComponentUpdate=function(e,t){return ex(this.props,e)||ex(this.state,t)};var ew=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ew&&ew(e)};var eC="u">typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function eS(e){function t(t){var n=eb({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eC,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var eE=function(e,t){return null==e?null:j(j(e).map(t))}
1,eI={map:eE,forEach:eE,count:function(e){return e?j(e).length:0},only:function(e){var t=j(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:j},ej=o.__e;o.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ej(e,t,n,r)};var eR=o.unmount;function eU(){this.__u=0,this.t=null,this.__b=null}function eL(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eH(e){var t,n,r;function o(o){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return b(n,o)}return o.displayName="Lazy",o.__f=!0,o}function eO(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),eR&&eR(e)},(eU.prototype=new w).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=eL(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var l=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.t.pop();)e.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},eU.prototype.componentWillUnmount=function(){this.t=[]},eU.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=eb({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(k,null,e.fallback);return o&&(o.__u&=-33),[b(k,null,t.__a?null:e.children),o]};var eN=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function eT(e){return this.getChildContext=function(){return e.context},e.children}function eA(e){var t=this,n=e.i;t.componentWillUnmount=function(){M(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),M(b(eT,{context:t.context},e.__v),t.l)}function eP(e,t){var n=b(eA,{__v:e,i:t});return n.containerInfo=t,n}(eO.prototype=new w).__a=function(e){var t=this,n=eL(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),eN(t,e,r)):o()};n?n(i):i()}},eO.prototype.render=function(e){this.u=null,this.o=new Map;var t=j(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},eO.prototype.componentDidUpdate=eO.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){eN(e,n,t)})};var eM="u">typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,eV=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,eq=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ez=/[A-Z0-9]/g,eD="u">typeof document;function eF(e,t,n){return null==t.__k&&(t.textContent=""),M(e,t),"function"==typeof n&&n(),e?e.__c:null}function eB(e,t,n){return function e(t,n){M(t,n,e)}(e,t),"function"==typeof n&&n(),e?e.__c:null}w.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(w.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var e$=o.event;function eW(){}function eZ(){return this.cancelBubble}function eQ(){return this.defaultPrevented}o.event=function(e){return e$&&(e=e$(e)),e.persist=eW,e.isPropagationStopped=eZ,e.isDefaultPrevented=eQ,e.nativeEvent=e};
1var eG,eK={enumerable:!1,configurable:!0,get:function(){return this.class}},eJ=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||eD&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a,l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||(a=t.type,("u">typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(a))?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":eq.test(o)?o=l:-1===n.indexOf("-")&&eV.test(o)?o=o.replace(ez,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&r[o=l]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=j(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==n&&null!=r.defaultValue&&(r.value=j(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",eK)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=eM,eJ&&eJ(e)};var eY=o.__r;o.__r=function(e){eY&&eY(e),eG=e.__c};var eX=o.diffed;o.diffed=function(e){eX&&eX(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),eG=null};var e0={ReactCurrentDispatcher:{current:{readContext:function(e){return eG.__n[e.__c].props.value}}}};function e1(e){return b.bind(null,e)}function e2(e){return!!e&&e.$$typeof===eM}function e3(e){return e2(e)&&e.type===k}function e5(e){return e2(e)?V.apply(null,arguments):e}function e6(e){return!!e.__k&&(M(null,e),!0)}function e4(e){return e&&(e.base||1===e.nodeType&&e)||null}var e8=function(e,t){return e(t)},e9=function(e,t){return e(t)};function e7(e){e()}function te(e){return e}function tt(){return[!1,e7]}function tn(e,t){var n=t(),r=en({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ei(function(){o.__=n,o.v=t,tr(o)&&i({h:o})},[e,n,t]),eo(function(){return tr(o)&&i({h:o}),e(function(){tr(o)&&i({h:o})})},[e]),n}function tr(e){var t=e.v,n=e.__;try{var r=t();return(n!==r||0===n&&1/n!=1/r)&&(n==n||r==r)}catch{return!0}}var to={useState:en,useId:ep,useReducer:er,useEffect:eo,useLayoutEffect:ei,useInsertionEffect:ei,useTransition:tt,useDeferredValue:te,useSyncExternalStore:tn,startTransition:e7,useRef:ea,useImperativeHandle:el,useMemo:es,useCallback:eu,useContext:ec,useDebugValue:ed,version:"17.0.2",Children:eI,render:eF,hydrate:eB,unmountComponentAtNode:e6,createPortal:eP,createElement:b,createContext:q,createFactory:e1,cloneElement:e5,createRef:y,Fragment:k,isValidElement:e2,isElement:e2,isFragment:e3,findDOMNode:e4,Component:w,PureComponent:ey,memo:ek,forwardRef:eS,flushSync:e9,unstable_batchedUpdates:e8,StrictMode:k,Suspense:eU,SuspenseList:eO,lazy:eH,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e0};let ti=Object.freeze(Object.defineProperty({__proto__:null,Children:eI,Component:w,Fragment:k,PureComponent:ey,StrictMode:k,Suspense:eU,SuspenseList:eO,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e0,cloneElement:e5,createContext:q,createElement:b,createFactory:e1,createPortal:eP,createRef:y,default:to,findDOMNode:e4,flushSync:e9,forwardRef:eS,hydrate:eB,isElement:e2,isFragment:e3,isValidElement:e2,lazy:eH,memo:ek,render:eF,startTransition:e7,unmountComponentAtNode:e6,unstable_batchedUpdates:e8,useCallback:eu,useContext:ec,useDebugValue:ed,useDeferredValue:te,useEffect:eo,useErrorBoundary:function(e){var t=et(F++,10),n=en();return t.__=e,B.componentDidCatch||(B.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:ep,useImperativeHandle:el,useInsertionEffect:ei,useLayoutEffect:ei,useMemo:es,useReducer:er,useRef:ea,useState:en,useSyncExternalStore:tn,useTransition:tt,version:"17.0.2"},Symbol.toStringTag,{value:"Module"})),ta=e=>b("svg",{fill:"none",height:24,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg",...e},b("path",{d:"M17 10L12 15L7 10",stroke:"#0B2330",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),tl=e=>b("svg",{fill:"none",height:10,viewBox:"0 0 10 10",width:10,xmlns:"http://www.w3.org/2000/svg",...e},b("path",{d:"M9.15377 1.30774L4.07685 8.23082L1.30762 5.00005",stroke:"white",strokeLinecap:"round",strokeWidth:2})),ts=({visible:e})=>D("div",{className:"sprig-check-background",style:{opacity:+!!e},children:D(tl,{className:"sprig-check"})}),tu="250ms",tc=eS(({animate:e,children:t,header:n,isOpen:r,onClick:o,showHeaderCheck:i},a)=>{let l=ea(null),[s,u]=en(0),[c,d]=en("none"),[p,f]=en(!0);return eo(()=>{var e;let t=null==(e=l.current)?void 0:e.getBoundingClientRect();u(r&&t?t.height:0)},[r]),eo(()=>{(s||!r)&&p&&f(!1),d(e&&!p?`height ${tu} ease`:"none")},[e,p,s,r]),D("div",{className:"sprig-accordion",ref:a,children:[D("button",{className:"sprig-accordion-header-container",onClick:o,type:"button",children:[D("div",{className:"sprig-header-label-container",children:[D("span",{className:"sprig-header-label",children:n}),D(ts,{visible:i})]}),D(ta,{className:"sprig-caret",style:{transitionDuration:e?tu:"0",transform:r?"rotate(-180deg)":"none"}})]}),D("div",{className:"sprig-accordion-body",style:{transition:c,height:s},children:D("div",{ref:l,children:t})})]})}),td=({style:e,stroke:t="black"})=>D("svg",{fill:"none",height:"10",style:e,viewBox:"0 0 12 10",width:"12",xmlns:"http://www.w3.org/2000/svg",children:[D("path",{d:"M1.47839 5.2085L10.9384 5.2085",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.35"}
1),D("path",{d:"M7.0686 1.15845L10.9386 5.20845L7.0686 9.25845",stroke:t,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.35"})]}),tp=(...e)=>e.filter(Boolean).join(" "),tf=(e,t,n)=>{let r=t?"--mobile":"--desktop";return`${e+r} ${e+(n?`${r}_${n}`:"")} ${e}`},t_=e=>{let t,n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=r??"object"!=typeof o?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,i={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,o,i),i};var th={exports:{}},tm={};let tg=function(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}(ti);var tv,tb,tx,ty,tk={exports:{}},tw={};
1let{useSyncExternalStoreWithSelector:tC}=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((ty||(ty=1,th.exports=function(){if(tx)return tm;tx=1;var e=(tb||(tb=1,tk.exports=function(){if(tv)return tw;tv=1;var e="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},t=tg.useState,n=tg.useEffect,r=tg.useLayoutEffect,o=tg.useDebugValue;function i(t){var n=t.getSnapshot;t=t.value;try{var r=n();return!e(t,r)}catch{return!0}}var a=typeof window>"u"||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,a){var l=a(),s=t({inst:{value:l,getSnapshot:a}}),u=s[0].inst,c=s[1];return r(function(){u.value=l,u.getSnapshot=a,i(u)&&c({inst:u})},[e,l,a]),n(function(){return i(u)&&c({inst:u}),e(function(){i(u)&&c({inst:u})})},[e]),o(l),l};return tw.useSyncExternalStore=void 0!==tg.useSyncExternalStore?tg.useSyncExternalStore:a,tw}()),tk.exports),t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useSyncExternalStore,r=tg.useRef,o=tg.useEffect,i=tg.useMemo,a=tg.useDebugValue;return tm.useSyncExternalStoreWithSelector=function(e,l,s,u,c){var d=r(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var f=n(e,(d=i(function(){function e(e){if(!o){if(o=!0,n=e,e=u(e),void 0!==c&&p.hasValue){var i=p.value;if(c(i,e))return r=i}return r=e}if(i=r,t(n,e))return i;var a=u(e);return void 0!==c&&c(i,a)?i:(n=e,r=a)}var n,r,o=!1,i=void 0===s?null:s;return[function(){return e(l())},null===i?void 0:function(){return e(i())}]},[l,s,u,c]))[0],d[1]);return o(function(){p.hasValue=!0,p.value=f},[f]),a(f),f},tm}
1()),th.exports)),tS=e=>{let t="function"==typeof e?(e=>e?t_(e):t_)(e):e,n=(e,n)=>(function(e,t=e.getState,n){let r=tC(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return ed(r),r})(t,e,n);return Object.assign(n,t),n},tE=e=>e?tS(e):tS;var tI=(e=>(e.RIGHT="right",e.LEFT="left",e))(tI||{});let tj={eq:(e,t)=>e==t,neq(e,t){return!this.eq(e,t)},gt:(e,t)=>e>t,gte:(e,t)=>e>=t,lt:(e,t)=>e<t,lte:(e,t)=>e<=t,list_exact:(e,t)=>!(!Array.isArray(e)||!Array.isArray(t))&&e.slice().sort().join(",")===t.slice().sort().join(","),list_all:(e,t)=>!(!Array.isArray(e)||!Array.isArray(t))&&!t.some(t=>-1===e.indexOf(t)),list_alo(e,t){if(!Array.isArray(t))return!1;let n=new Set(Array.isArray(e)?e:[e]);return t.some(e=>n.has(e))},list_dni(e,t){if(!Array.isArray(t))return!1;let n=new Set(Array.isArray(e)?e:[e]);return t.every(e=>!n.has(e))},contains(e,t){let n=e.toLowerCase(),r=t.toLowerCase();return n.includes(r)},notcontains(e,t){return!this.contains(e,t)}},tR=(e,t,n)=>{switch(t){case"videovoice":return!!(e&&e.value);case"open":return!!n;case"multipleselect":return!!(n&&Object.keys(n).length);case"recordedtask":return(null==n?void 0:n.taskStatus)==="completed";case"texturlprompt":return!e.value;case"consentlegal":case"nps":case"likert":return null!==n;case"multiplechoice":return void 0!==n;case"matrix":return!!(n&&Object.values(n).every(e=>null!==e));default:return!0}},tU=(e,t)=>{if("matrix"===t){let t=Object.keys(e).length,n=Object.values(e).filter(e=>null!==e).length;return n>0&&n<t}return!1},tL=({cards:e,index:t,hasEndCard:n,allResponses:r,uploadProgress:o={}})=>{let i;if(t>=e.length||t<0)return null;let a=t+1,l=e[t].props.routingOptions||[];for(let t=0;t<l.length;t++){let{group:o,target:i}=l[t];if(!(null!=o&&o.length))continue;let s=o[0];if(void 0===s.questionIndex||s.questionIndex>r.length)continue;let u=tH({comparator:s.comparator,response:r[s.questionIndex],type:e[s.questionIndex].type,value:s.value});for(let t=1;t<o.length;t+=2){let n=o[t],i=o[t+1],a=tH({comparator:i.comparator,response:r[i.questionIndex],type:e[i.questionIndex].type,value:i.value});1===n?u&&(u=a):2===n&&(u||(u=a))}if(u){a=-1===i&&n?e.length-1:i;break}}let s=e.findIndex(e=>"uploading"===e.type);return t>=(i=s>0?n?e.length-3:e.length-2:e.length-1)||-1===a||null!==a&&a>i?s>0&&Object.values(o).some(e=>e.isSubmitted&&!e.isComplete)?s:n?e.length-1:null:-1===a?null:a},tH=({comparator:e,response:t,type:n,value:r})=>{if("answered"===e)switch(n){case"texturlprompt":return void 0===t;case"consentlegal":return t&&!0===t.submitted;case"recordedtask":return"taskStatus"in t&&"completed"===t.taskStatus;case"likert":case"nps":return Number.isInteger(t);case"rankorder":case"matrix":return Object.values(t).every(e=>null!==e);case"maxdiff":return!(null===t||!Array.isArray(t))&&t.every(e=>{if(!Array.isArray(e))return!1;let t=e.some(e=>"left"===e.selected),n=e.some(e=>"right"===e.selected);return t&&n});case"multiplechoice":return!!t;case"multipleselect":return(null==t?void 0:t.length)>0;case"open":return t&&t.length>0;case"videovoice":return!!(null!=t&&t.mediaRecordingUid);default:return!1}if("given_up"===e)return"recordedtask"!==n||"taskStatus"in t&&"given.up"===t.taskStatus;if("partial"===e)return"matrix"===n&&tU(t,n);if("skipped"===e)switch(n){case"texturlprompt":return null==t?void 0:t.skipped;case"consentlegal":case"likert":case"nps":case"videovoice":return null===t;case"recordedtask":return"taskStatus"in t&&"abandoned"===t.taskStatus;case"open":case"multipleselect":return null===t||(null==t?void 0:t.length)===0;case"multiplechoice":return null==t;case"matrix":return null===t||Object.values(t).every(e=>null===e);case"maxdiff":return null===t||!Array.isArray(t)||t.some(e=>{if(!Array.isArray(e))return!0;let t=e.some(e=>"left"===e.selected),n=e.some(e=>"right"===e.selected);return!(t&&n)});case"rankorder":return null===t||Object.values(t).some(e=>null===e);default:return!1}return tj[e](t,r)},tO=e=>{var t,n,r,o,i;switch(e.type){case"multipleselect":return e&&e.props&&e.props.options?e.props.options.length>13?e.props.options.map(e=>[e.value]):(t=e.props.options.map(e=>e.value),n=!e.props.properties.required,t.reduce((e,t)=>
1e.concat(e.map(e=>[...e,t])),[[]]).filter(e=>n||e.length>0)):null;case"multiplechoice":{if(!e||!e.props||!e.props.options)return null;let t=e.props.options.map(e=>e.value);return e.props.properties.required||t.push(void 0),t}case"matrix":{if(!(null!=(r=null==e?void 0:e.props)&&r.options))return null;let t=e.props.properties.matrixColumn,n=e.props.options,o=n.reduce((e,t)=>(e[t.id]=null,e),{}),i=[{...o,[n[0].id]:t[0].value},n.reduce((e,n)=>(e[n.id]=t[0].value,e),{})];return e.props.properties.required||i.push(o),i}case"likert":return[...Array.from(Array(Number(null==(i=null==(o=e.props)?void 0:o.properties)?void 0:i.range)||5).keys()).map(e=>e+1),...e.props.properties.required?[]:[null]];case"nps":return[0,1,2,3,4,5,6,7,8,9,10,...e.props.properties.required?[]:[null]];case"videovoice":case"open":return["1",...e.props.properties.required?[]:[""]];case"recordedtask":{let t=[{taskStatus:"completed"},{taskStatus:"given.up"}];return e.props.properties.required||t.push({taskStatus:"abandoned"}),t}case"texturlprompt":return[void 0,...e.props.properties.required?[]:[{skipped:!0}]];case"consentlegal":return[1,...e.props.properties.required?[]:[null]];default:return[1]}},tN=e=>e in tj,tT=e=>"object"==typeof e&&null!==e&&"taskStatus"in e,tA=(e,t=[])=>t.reduce((t,n)=>{let{group:r,target:o}=n;return null!=r&&r.length?[...t,...r.filter(t=>!!Number(t)||"object"==typeof t&&t.questionIndex===e).map(e=>{let{comparator:t,value:n}=e;return{comparator:t,target:o,value:n}})]:[...t]},[]),tP=new Set(["thanks","uploading"]),tM=tE()((e,t)=>({allResponses:[],answers:void 0,apiURL:"",avatars:{agentAvatar:{"1x":"","2x":""},respondentAvatar:{"1x":"","2x":""}},border:"#000000",cards:[],close:async(e=d.A)=>{let n=t(),{fadeout:r,remove:o,trackHistory:i,studyType:a}=n;await r(e),tV(n)||i({event:"closed"}),p.b.info("SurveyClosing",{surveyId:n.surveyId}),d.C.enable(),o({initiator:p.D.Closed,studyType:a})},configureExitOnOverlayClick:()=>{},customMetadata:{},destroy:async e=>{let{eventEmitFn:n,fadeout:r,remove:o,studyType:i,surveyId:a}=t();n("survey.complete",a),await r(e),d.C.enable(),o({initiator:p.D.Complete,studyType:i})},endCard:{headline:""},envId:"",eventEmitFn:p.e.emit.bind(p.e),fadeout:async e=>{let{eventEmitFn:n,headers:r,viewDocument:o}=t();return(0,p.h)(r)?Promise.resolve():(n(p.S.SurveyFadingOut),new Promise(t=>{let n=o.getElementById(e);n?(n.addEventListener("transitionend",()=>{t()}),n.classList.remove("ul-app--visible")):t()}))},forceBrandedLogo:!1,frame:document.createElement("iframe"),handleClickEmbedButton:n=>{let{cards:r,eventEmitFn:o,index:i}=t();o(n,{qid:r[i].name,props:r[i].props}),e(()=>({hasViewedEmbed:!0}))},handleUploadUpdate:({mediaRecordingUid:n,isComplete:r,progressPct:o,isSubmitted:i})=>{var a,l,s;let{cards:u,destroy:c,index:p,uploadProgress:f}=t(),_=r||(null==(a=f[n])?void 0:a.isComplete);if(e({uploadProgress:{...f,[n]:{progressPct:_?100:o||(null==(l=f[n])?void 0:l.progressPct),isComplete:_,isSubmitted:i||(null==(s=f[n])?void 0:s.isSubmitted)}}}),"uploading"!==u[p].type)return;let h=Object.entries(f).every(([e,t])=>!t.isSubmitted||t.isComplete||n==e&&r);if(h&&p>=u.length-1)return c(d.A);e({index:h?p+1:p,uploadingCardViewed:!0})},hasViewedEmbed:!1,headers:{Authorization:"","Content-Type":"","userleap-platform":"web","x-ul-environment-id":"","x-ul-installation-method":"web-snippet","x-ul-sdk-version":"","x-ul-visitor-id":""},index:0,isConversationalUI:!1,isPreview:!1,marketingUrl:"https://sprig.com",meta:{ch:0,cw:0,l:"",mode:null,p:"",sh:0,sw:0},mode:void 0,next:n=>{let{allResponses:r,cards:o,eventEmitFn:i,index:a,responseGroupUid:l,submit:s,trackHistory:u,uploadProgress:c,viewedCardCount:d}=t();e({minScrollableHeight:void 0});let p=Array.isArray(n.data)?n.data:[n.data],f=Date.now(),_=[...o],h={response:[],responseGroupUid:l,questionIndex:a},m=null,g=r.slice(0);p.forEach((e,t)=>{let r=_[a+t],{type:o,...i}=e,l={...i,answeredAt:f};l.questionId=Math.floor(l.questionId);let s=l.value;(e=>e&&!tP.has(e.type))(r)&&(r.value=s,r.secondaryValue=l.secondaryValue||null),h.response.push(l);let u=s;"multipleselect"!==o&&"multiplechoice"!==o||null===s||(u="multiplechoice"===o?Object.values(s).find(e=>!1!==e):s,"multipleselect"===o&&(u=_[a+t].props.options.reduce((e,t)=>
1(s[t.id]&&e.push(t.value),e),[]))),g[a+t]=u,m=tL({cards:_,index:a+t,hasEndCard:!!n.endCard,uploadProgress:c,allResponses:g})}),e({allResponses:g}),(null===m||tP.has(_[m].type))&&(h.completedAt=f);let v=s(h);if(null===m)return void n.completeSurvey();m&&!tP.has(_[m].type)&&v.finally(()=>{u({event:"seen",index:m})});let b=_[m];_[m]&&i&&i("survey.question",{qid:b.name,props:b.props}),e({cards:_,hasViewedEmbed:!1,index:m,viewedCardCount:d+1})},pendingRemoveIframeReason:null,previewKey:null,previewMode:void 0,recorder:()=>{},recorderEventEmitter:p.e,resolveTrackedPromise:()=>{let{removeIframeIfReady:n}=t();e(e=>({unresolvedRequestCount:e.unresolvedRequestCount-1})),n()},responseGroupUid:"",remove:({initiator:n,studyType:r})=>{let{eventEmitFn:o,removeIframeIfReady:i,surveyId:a}=t();e({pendingRemoveIframeReason:n,studyType:r}),o(p.S.SurveyCloseRequested,{name:p.S.SurveyCloseRequested,initiator:n,studyType:r,"survey.id":a}),i()},removeIframeIfReady:()=>{let{eventEmitFn:n,pendingRemoveIframeReason:r,unresolvedRequestCount:o,studyType:i,surveyId:a}=t();r&&0===o&&(n(p.S.SurveyWillClose,{name:p.S.SurveyWillClose,initiator:r,studyType:i,"survey.id":a}),e({pendingRemoveIframeReason:null,studyType:i}))},seen:async()=>{let{trackHistory:e}=t();return e({event:"seen",isNew:!0})},slugName:null,showStripes:!1,showSurveyBrand:!1,startingQuestionIdx:null,styleNonce:"",submit:async({completedAt:e,questionIndex:n,response:r,responseGroupUid:o})=>{let i=t();if(!o||tV(i))return;let a={responseGroupUid:o,meta:i.meta,customMetadata:i.customMetadata,responses:r,completedAt:e,previewKey:i.previewKey},l=await i.trackPromise((0,p.s)(`${i.apiURL}/sdk/1/environments/${i.envId}/visitors/${i.userId}/responses/submit`,{body:JSON.stringify(a),headers:i.headers,method:"POST"}));l.ok?r.forEach((e,t)=>{i.eventEmitFn(p.S.QuestionAnswered,{...e,questionIndex:n?n+t:void 0,"survey.id":i.surveyId})}):l.reportError&&(console.warn("[Sprig] (ERR-427) Failed to submit response",l.error),await i.trackPromise(tq(i,"submitResponse",l.error)))},surveyId:0,tabTitle:"",trackHistory:async({event:e,index:n,isNew:r=!1})=>{let o=t();if(tV(o))return;let{cards:i,index:a}=o,l=n??a,s=i[l];for(;s;){let t={sid:o.surveyId,qid:Math.floor(s.name),action:e,vid:o.userId,eid:o.envId,isNew:r,responseGroupUid:o.responseGroupUid,previewKey:o.previewKey},n=await o.trackPromise((0,p.s)(`${o.apiURL}/sdk/1/visitors/${o.userId}/surveys/${o.surveyId}/history`,{method:"POST",headers:o.headers,body:JSON.stringify(t)}));!n.ok&&n.reportError&&(console.warn("[Sprig] (ERR-428) Failed to track survey event",n.error),await o.trackPromise(tq(o,"trackHistory",n.error)));let a=i[l+1];if(!s.groupId||!(null!=a&&a.groupId)||a.groupId!==s.groupId)break;l++,s=a,r=!1}},trackPromise:async n=>{let{resolveTrackedPromise:r}=t();return e(e=>({unresolvedRequestCount:e.unresolvedRequestCount+1})),n.then(e=>(r(),e)).catch(e=>{throw r(),e})},unresolvedRequestCount:0,update:()=>{let{cards:n,index:r,headers:o,eventEmitFn:i,frame:a,useMobileStyling:l,surveyId:s,viewDocument:u}=t(),c="web"===o["userleap-platform"],f=(0,p.h)(o),_=n[r],h="matrix"===_.type&&!(_.props.properties.displayMatrixAsAccordion||l);e({minScrollableHeight:void 0}),setTimeout(()=>{var t,n,r;f||l||null==(t=null==a?void 0:a.setWidth)||t.call(a,d.d);let[o,_,m]=(0,d.e)(u,c&&!l,f);f?(i(p.S.SurveyHeight,{name:p.S.SurveyHeight,contentFrameHeight:o,"survey.id":s}),i(p.S.SurveyWidth,{name:p.S.SurveyWidth,contentFrameWidth:_,"survey.id":s})):(null==(n=a.setHeight)||n.call(a,o),e({minScrollableHeight:m}),!l&&h&&(null==(r=a.setWidth)||r.call(a,_)))},100)},uploadingCardViewed:!1,uploadProgress:{},useDesktopPrototype:void 0,useMobileStyling:!1,userId:"",viewDocument:window.document,viewedCardCount:0,focusedQuestionId:null,setFocusedQuestionId:t=>e({focusedQuestionId:t})})),tV=e=>!e.userId||e.meta&&"test"===e.meta.mode||e.isPreview||e.previewMode,tq=async(e,t,n)=>{let{mode:r,userId:o,envId:i,apiURL:a,headers:l,viewDocument:s}=e,u=s.documentElement,c={mode:r,screenWidth:window.screen.width,screenHeight:window.screen.height,clientWidth:u.clientWidth,clientHeight:u.clientHeight,location:window.location.href,language:window.navigator.language},d={action:t,err:{message:`${null==n?void 0:n.name} - ${null==n?void 0:n.message}`,stack:null==n?void 0:n.stack},meta:c,vid:o,envId:i};(await (0,p.s)(`${a}/sdk/1/errors`,{method:"POST",headers:Object.assign({"x-ul-error":window.btoa(`userleap-${Date.now()}-error`)},l),body:JSON.stringify(d)})).ok||console.warn("[Sprig] (ERR-444) Failed to report error to API",n)},tz=({logoOnly:e=!1,style:t={}})=>D("svg",{alt:(e?"Powered by ":"")+"Sprig",fill:"none",height:"15",style:{display:"block",...t},viewBox:e?"79 0 31 15":"0 0 112 15",width:e?"35":"112",xmlns:"http://www.w3.org/2000/svg",children:[!e&&D("path",{d:"M0.648926 12.0181V2.8584H4.21631C6.0127 2.8584 7.25684 4.06445 7.25684 5.86084V5.87354C7.25684 7.66357 6.0127 8.88867 4.21631 8.88867H2.0708V12.0181H0.648926ZM3.86084 4.05811H2.0708V7.69531H3.86084C5.09229 7.69531 5.80957 7.02881 5.80957 5.87988V5.86719C5.80957 4.72461 5.09229 4.05811 3.86084 4.05811ZM11.6621 12.1514C9.63721 12.1514 8.39941 10.7993 8.39941 8.57764V8.56494C8.39941 6.34961 9.64355 4.99121 11.6621 4.99121C13.6743 4.99121 14.9185 6.34326 14.9185 8.56494V8.57764C14.9185 10.7993 13.6807 12.1514 11.6621 12.1514ZM11.
16621 11.0024C12.8428 11.0024 13.5156 10.1011 13.5156 8.57764V8.56494C13.5156 7.03516 12.8428 6.14014 11.6621 6.14014C10.4751 6.14014 9.80859 7.03516 9.80859 8.56494V8.57764C9.80859 10.1074 10.4751 11.0024 11.6621 11.0024ZM17.6226 12.0181L15.7183 5.12451H17.1021L18.3398 10.4438H18.4414L19.8633 5.12451H21.1709L22.5928 10.4438H22.7007L23.9321 5.12451H25.2969L23.3989 12.0181H21.9834L20.5552 6.87646H20.4473L19.0254 12.0181H17.6226ZM29.334 12.1514C27.3154 12.1514 26.0967 10.7739 26.0967 8.59033V8.58398C26.0967 6.43213 27.3408 4.99121 29.2642 4.99121C31.1875 4.99121 32.3682 6.38135 32.3682 8.45068V8.93311H27.4805C27.5059 10.2534 28.2295 11.0215 29.3657 11.0215C30.248 11.0215 30.7749 10.5835 30.9399 10.228L30.9653 10.1772L32.292 10.1709L32.2793 10.228C32.0508 11.1357 31.0986 12.1514 29.334 12.1514ZM29.2705 6.12109C28.3311 6.12109 27.6201 6.76221 27.4995 7.94922H31.0034C30.8955 6.71777 30.2036 6.12109 29.2705 6.12109ZM34.0059 12.0181V5.12451H35.3833V6.16553H35.4849C35.7324 5.43555 36.3735 5.00391 37.2939 5.00391C37.5161 5.00391 37.7573 5.03564 37.897 5.06738V6.33691C37.6494 6.28613 37.4146 6.25439 37.1543 6.25439C36.1006 6.25439 35.3833 6.90186 35.3833 7.89844V12.0181H34.0059ZM41.9277 12.1514C39.9092 12.1514 38.6904 10.7739 38.6904 8.59033V8.58398C38.6904 6.43213 39.9346 4.99121 41.8579 4.99121C43.7812 4.99121 44.9619 6.38135 44.9619 8.45068V8.93311H40.0742C40.0996 10.2534 40.8232 11.0215 41.9595 11.0215C42.8418 11.0215 43.3687 10.5835 43.5337 10.228L43.5591 10.1772L44.8857 10.1709L44.873 10.228C44.6445 11.1357 43.6924 12.1514 41.9277 12.1514ZM41.8643 6.12109C40.9248 6.12109 40.2139 6.76221 40.0933 7.94922H43.5972C43.4893 6.71777 42.7974 6.12109 41.8643 6.12109ZM49.1133 12.1323C47.3804 12.1323 46.2568 10.7422 46.2568 8.57764V8.56494C46.2568 6.38135 47.3613 5.00391 49.1133 5.00391C50.0591 5.00391 50.8652 5.47363 51.2334 6.21631H51.3413V2.42041H52.7124V12.0181H51.3413V10.9326H51.2334C50.8335 11.688 50.0781 12.1323 49.1133 12.1323ZM49.5068 10.958C50.6558 10.958 51.3604 10.0503 51.3604 8.57764V8.56494C51.3604 7.09229 50.6494 6.18457 49.5068 6.18457C48.3516 6.18457 47.6597 7.08594 47.6597 8.56494V8.57764C47.6597 10.0566 48.3516 10.958 49.5068 10.958ZM61.98 12.1323C61.0151 12.1323 60.2598 11.688 59.8599 10.9326H59.7583V12.0181H58.3809V2.42041H59.7583V6.21631H59.8599C60.228 5.47363 61.0342 5.00391 61.98 5.00391C63.7319 5.00391 64.8364 6.38135 64.8364 8.56494V8.57764C64.8364 10.7422 63.7192 12.1323 61.98 12.1323ZM61.5928 10.958C62.7417 10.958 63.4336 10.0566 63.4336 8.57764V8.56494C63.4336 7.08594 62.7417 6.18457 61.5928 6.18457C60.4438 6.18457 59.7329 7.09229 59.7329 8.56494V8.57764C59.7329 10.0503 60.4438 10.958 61.5928 10.958ZM66.8867 14.4429C66.7153 14.4429 66.5122 14.4302 66.3345 14.4111V13.3257C66.4678 13.3447 66.6392 13.3511 66.7979 13.3511C67.439 13.3511 67.8262 13.0781 68.0293 12.3799L68.1309 12.0244L65.6299 5.12451H67.1152L68.8418 10.6343H68.9624L70.6826 5.12451H72.1299L69.5654 12.2847C68.9814 13.9287 68.2832 14.4429 66.8867 14.4429Z",fill:"black",fillOpacity:"0.7"}),D("path",{d:"M81.1088 6.63629C79.6878 6.32154 78.9672 5.76865 78.9672 4.99369C78.9672 4.19299 79.736 3.5886 80.7556 3.5886C81.8066 3.5886 82.5995 4.25285 82.5995 5.13336V5.20352H84.0518V5.13336C84.0518 3.52424 82.6405 2.30774 80.7693 2.30774C79.8676 2.30774 79.0414 2.58451 78.4433 3.08655C78.1463 3.33144 77.9077 3.63818 77.7448 3.98479C77.5818 4.33141 77.4984 4.70934 77.5005 5.09153C77.4946 5.44197 77.5675 5.78934 77.714 6.10857C77.8605 6.42779 78.0769 6.71092 78.3475 6.93752C78.8512 7.37584 79.5659 7.70024 80.4709 7.90299C81.9949 8.23898 82.7676 8.81054 82.7676 9.60094C82.7676 10.4576 81.9258 11.1032 80.813 11.1032C79.6571 11.1032 78.7854 10.3856 78.7854 9.43424V9.36408H77.3318V9.43424C77.3318 11.1167 78.8219 12.3847 80.7973 12.3847C81.7421 12.3847 82.6093 12.0983 83.2393 11.5769C83.5519 11.3237 83.8034 11.0048 83.9753 10.6433C84.1472 10.2818 84.2352 9.88702 84.2329 9.48766C84.2329 8.05875 83.1833 7.09907 81.1088 6.63629Z",fill:"black",fillOpacity:"0.7"}),D("path",{d:"M89.2394 4.68276C88.6963 4.67605 88.1596 4.79915 87.6751 5.04156C87.1905 5.28397 86.7725 5.63851 86.4566 6.07497V4.85204H85.0747V14.8479H86.4566V11.0356C86.7725 11.472 87.1906 11.8265 87.6751 12.0688C88.1596 12.3111 88.6963 12.434 89.2394 12.4272C91.3836 12.4272 93 10.7627 93 8.55495C93 6.34723 91.3836 4.68276 89.2394 4.68276ZM91.5608 8.84202C91.5057 9.41605 91.2512 9.95356 90.8406 10.3633C90.4299 10.773 89.8883 11.0296 89.3078 11.0896C88.5363 11.1669 87.8177 10.9461 87.2841 10.4692C86.7505 9.99222 86.4566 9.3106 86.4566 8.55495C86.4566 7.10159 87.5538 6.00546 89.0087 6.00546C89.7619 6.00546 90.4421 6.29124 90.9171 6.81002C91.407 7.34232 91.6357 8.06385 91.5608 8.84202Z",fill:"black",fillOpacity:"0.7"}),D("path",{d:"M109.95 4.85407V6.06349C109.298 5.18298 108.292 4.68286 107.153 4.68286C105.017 4.68286 103.406 6.31709 103.406 8.48426C103.406 10.6514 105.017 12.285 107.153 12.285C108.296 12.285 109.303 11.79 109.95 10.9185V11.1046C109.95 12.6101 108.993 13.5826 107.513 13.5826C106.513 13.5826 105.68 13.1494 105.284 12.424L105.264 12.3867H103.838L103.871 12.48C104.112 13.1892 104.583 13.8001 105.211 14.2179C105.841 14.6324 106.637 14.8512 107.513 14.8512C108.637 14.8512 109.594 14.4972 110.28 13.8285C110.967 13.1597 111.332 
112.2194 111.332 11.1213V4.85407H109.95ZM109.175 10.3502C108.588 10.905 107.752 11.138 106.879 10.9887C106.361 10.8984 105.886 10.6475 105.523 10.2725C105.16 9.89751 104.927 9.41787 104.859 8.90328C104.736 8.03757 104.999 7.21756 105.581 6.655C106.069 6.19093 106.723 5.93643 107.401 5.94699C107.565 5.94713 107.729 5.96026 107.891 5.98625C108.946 6.15489 109.781 7.01609 109.921 8.0852C110.039 8.96507 109.766 9.78958 109.175 10.3502Z",fill:"black",fillOpacity:"0.7"}),D("path",{d:"M101.89 2.12378C101.63 2.06766 101.358 2.11486 101.133 2.25518C100.908 2.39551 100.747 2.61769 100.687 2.87371C100.626 3.12973 100.67 3.39902 100.809 3.62339C100.947 3.84775 101.17 4.00917 101.428 4.07275C101.503 4.08936 101.58 4.09778 101.657 4.09786C101.906 4.09824 102.146 4.0083 102.331 3.84518C102.517 3.68206 102.636 3.45714 102.664 3.21327C102.693 2.9694 102.63 2.72361 102.487 2.5227C102.344 2.32179 102.132 2.17981 101.89 2.12378Z",fill:"black",fillOpacity:"0.7"}),D("path",{d:"M100.967 10.934H99.7755C98.9285 10.934 98.4196 10.3644 98.4196 9.40982C98.4196 8.4791 98.8757 7.36945 99.8054 6.01778L99.8178 5.99976V5.61807L95.8571 5.06453C95.8585 4.90331 95.8162 4.74466 95.7346 4.60501C95.653 4.46536 95.5352 4.34979 95.3932 4.27027C95.0381 4.07718 94.6498 4.07717 94.3279 4.26383C94.1667 4.35799 94.035 4.4945 93.9476 4.65816C93.8602 4.82182 93.8205 5.00623 93.8328 5.19087C93.8452 5.37552 93.9092 5.55315 94.0176 5.70402C94.1261 5.85489 94.2748 5.97309 94.4472 6.04546L93.2151 12.258H94.5833L95.7196 6.35891L97.8593 6.7155C97.284 7.73439 96.9921 8.68442 96.9921 9.53919C96.9921 11.1168 97.9577 12.1498 99.5187 12.2496V12.258H102.346V4.87723H100.967V10.934Z",fill:"black",fillOpacity:"0.7"})]}),tD=({forceBrandedLogo:e,marketingUrlLink:t})=>D("div",{className:e?"yellow-footer-logo":"",style:{marginTop:"4px",marginBottom:"4px"},children:D("a",{href:t,rel:"noreferrer",target:"_blank",children:D("div",{style:{display:"flex"},children:[D(tz,{logoOnly:!1}),e&&D(td,{style:{display:"block",margin:"auto 0 auto 4px",transform:"rotateY(0deg) rotate(-45deg)"}})]})})}),tF=({marketingUrlLink:e})=>D("a",{dir:"ltr",href:e,rel:"noreferrer",target:"_blank",children:D("div",{className:"thank-you-card-link",children:[D("div",{className:"sprig-box-logo",children:D(tz,{logoOnly:!0,style:{margin:"auto"}})}),D("div",{children:D("p",{children:["Capture insights about your own product",D(td,{style:{display:"inline-flex",marginInlineStart:"4px",verticalAlign:"middle"}})]})})]})}),tB=e=>(null==e?void 0:e.buttonText)||"Next",t$=e=>(null==e?void 0:e.skipButtonText)||"Skip",tW=({marketingUrl:e,slugName:t,surveyId:n,forceBrandedLogo:r})=>`${e}?utm_source=survey_branding&utm_medium=website&utm_campaign=${t}&utm_content=${n}${r?"&utm_term=poweredby_pill":""}`,tZ=()=>{var e;let{border:t,cards:n,forceBrandedLogo:r,headers:o,index:i,marketingUrl:a,showSurveyBrand:l,slugName:s,surveyId:u,viewedCardCount:c}=tM(e=>({border:e.border,cards:e.cards,forceBrandedLogo:e.forceBrandedLogo,headers:e.headers,index:e.index,marketingUrl:e.marketingUrl,showSurveyBrand:e.showSurveyBrand,slugName:e.slugName,surveyId:e.surveyId,viewedCardCount:e.viewedCardCount})),d=ea(null),p=n.filter(e=>"uploading"!==e.type&&"thanks"!==e.type),f=((e,t)=>{let n=new Set(["thanks","uploading"]);if(t>=e.length||t<0||n.has(e[t].type))return 0;let r=e.filter(e=>!n.has(e.type));if(t===r.length-1)return 1;let o={[r.length-1]:1,[-1]:0};for(let e=r.length-2;e>=t;e--){let n=r[e],i=tA(e,n.props.routingOptions);if(0===i.length){o[e]=o[e+1]+1;continue}let a=0,l=tO(n);if(null===l)return r.length-1-t;for(let s=0;s<i.length&&0!==l.length;s++){let{comparator:u,target:c,value:d}=i[s],p=l.filter(e=>{let t=tR({value:e},n.type,e),r=tU(e,n.type);return!(t&&"answered"===u||r&&"partial"===u||!t&&!r&&"skipped"===u||"given_up"===u&&tT(e)&&"given.up"===e.taskStatus||t&&"open"===n.type&&("contains"===u||"notcontains"===u)||t&&tN(u)&&tj[u](e,d))});if(p.length<l.length){let n=parseInt(String(c),10);if(-1!==n&&n<=e||n>=r.length)return r.length-1-t;a=Math.max(o[n]+1,a)}l=p}l.length>0&&(a=Math.max(o[e+1]+1,a)),o[e]=a}return o[t]})(n,i),_=c+1,h=_/(_+f),m=tW({marketingUrl:a,slugName:s,surveyId:u,forceBrandedLogo:r});eo(()=>{d.current&&(d.current.style.width=100*h+"%")},[h]);let g=(null==(e=n[i])?void 0:e.type)==="thanks";return D("footer",{className:"ul-footer "+("link"===o["userleap-platform"]?"ul-footer__link":""),children:g&&r?D(tF,{marketingUrlLink:m}):D(k,{children:[p.length>1&&D("div",{className:"ul-progress-bar-container ul-progress-bar-container__footer",children:D("div",{className:"ul-progress-bar-current",ref:d,style:{border:`1px solid ${t||"#000"}`}})}),l?D(tD,{forceBrandedLogo:r,marketingUrlLink:m}):null]})})},tQ=/<piped-value\b([^>]*)>.*?<\/piped-value>/gis,tG=["questionHtml","captionHtml","footerHtml","richTextBody"],tK=e=>!!e.props&&"object"==typeof e.props&&"properties"in e.props,tJ=e=>!!e.props&&"object"==typeof e.props&&"options"in e.props&&Array.isArray(e.props.options),tY=e=>["string","number"].includes(typeof e),tX=e=>0===e.length?"":1===e.length?e[0]:e.join(", "),t0=e=>{var t,n;let r=(e=>null!=e&&"object"==typeof e&&"value"in e)(e)?e.value:void 0;if(null!=r){if("multipleselect"===e.type&&tJ(e)&&(e=>!!e&&"object"==typeof e&&!Array.isArray(e))(r)){let t=e.secondaryValue??null,n=e.props.options.filter(e=>!0===r[String(e.id)]).map(e=>{var n;return e.label+(null!=(n=null==t?void 0:t[String(e.id)])&&n.userText?`: ${t[String(e.id)].userText}`:"")});return n.length?tX(n):"No options selected"}if("multiplechoice"===e.type&&"object"==typeof r&&null!==r){let o=e.secondaryValue??null,i=Object.keys(r)[0];if(i){let r=e.props.options.find(e=>String(e.id)===i);return(null==r?void 0:r.label)+(null!=(t=null==o?void 0:o[i])&&t.userText?`: ${null==(n=null==o?void 0:o[i])?void 0:n.userText}`:"")}}if("matrix"===e.type&&tJ(e)&&(e=>{if(!tK(e))return!1;let t=e.props.properties;return!!t&&"object"==typeof t&&"matrixColumn"in t})(e)){let t=e.props.options,n=e.props.properties.matrixColumn,o=[];for(let[e,i]of Object.entries(r)){let r=t.find(t=>String(t.id)===e),a=(null==r?void 0:r.label)??e,l=tY(i)?String(i):JSON.stringify(i),s=n.find(e=>e.value===l),u=(null==s?void 0:s.label)??l;o.push(`${a}: ${u}`)}return o.join("; ")}if("rankorder"===e.type&&tJ(e)){let t=e.props.options.reduce((e,t)=>
1(e[String(t.id)]=t.label,e),{}),n=[];for(let[e,o]of Object.entries(r)){let r=t[e];r&&(n[o-1]=r)}return tX(n)}if(tY(r)){let e=String(r).replaceAll(/[\u200B-\u200D\uFEFF]/g,"").trim();return""===e?void 0:e}try{return JSON.stringify(r)}catch{return String(r)}}},t1=(e,t)=>e.map(e=>{if(!tK(e)||void 0===e.props.properties||null===e.props.properties)return e;let n=e.props.properties;if(null===n||"object"!=typeof n||!tG.some(e=>e in n))return e;let r=!1,o={};for(let e of tG){let i=n[e];if(void 0!==i){let n=t3(i,t);o[e]=n,n!==i&&(r=!0)}}return r?{...e,props:{...e.props,properties:{...n,...o}}}:e}),t2=(e,t)=>{let n=RegExp(`${t}="([^"]*)"`,"i").exec(e);return(null==n?void 0:n[1])??null},t3=(e,t)=>{if(null==e)return e;let n=!1,r=e.replace(tQ,(e,r)=>{n=!0;let o=t2(r,"answer-id"),i=t2(r,"fallback-text")??"",a=o?Number(o):NaN;return Number.isFinite(a)&&Object.hasOwn(t,a)?String(t[a]):i});return n?r:e},t5=e=>{let t={};for(let n of e){let e=t0(n);void 0!==e&&(t[n.name]=e)}return t},t6=()=>{let{border:e,cards:t,index:n,focusedQuestionId:r,isConversationalUI:o}=tM(e=>({border:e.border,cards:e.cards,index:e.index,focusedQuestionId:e.focusedQuestionId,isConversationalUI:e.isConversationalUI})),{totalQuestions:i,fraction:a}=es(()=>{var e;let i=t.filter(e=>"uploading"!==e.type&&"thanks"!==e.type),a=i.length;if(a<=1)return{totalQuestions:a,fraction:0};if((null==(e=t[n])?void 0:e.type)==="thanks")return{totalQuestions:a,fraction:1};return{totalQuestions:a,fraction:(o?n+1:i.findIndex(e=>e.name===r))/(a+1)}},[t,n,r,o]);return i<=1?null:D("div",{className:"ul-progress-bar-container ul-progress-bar-container__header",children:D("div",{className:"ul-progress-bar-current",style:{width:100*a+"%",border:`1px solid ${e??"#000"}`}})})},t4=eH(()=>Promise.all([n.e(2264),n.e(9507)]).then(n.bind(n,89507))),t8=eH(async()=>({default:(await Promise.all([n.e(2264),n.e(7943)]).then(n.bind(n,67943))).PageCard})),t9=()=>{let{answers:e,border:t,cards:r,close:o,configureExitOnOverlayClick:i,destroy:a,endCard:l,eventEmitFn:s,fontFamily:u,headers:c,isConversationalUI:f,index:_,minScrollableHeight:h,next:m,previewMode:g,productConfig:v,seen:b,showStripes:x,studyType:y,surveyId:k,update:w,useMobileStyling:C,viewDocument:S}=tM(e=>({answers:e.answers,border:e.border,cards:e.cards,close:e.close,configureExitOnOverlayClick:e.configureExitOnOverlayClick,destroy:e.destroy,endCard:e.endCard,eventEmitFn:e.eventEmitFn,fontFamily:e.fontFamily,headers:e.headers,index:e.index,isConversationalUI:e.isConversationalUI,previewMode:e.previewMode,productConfig:e.productConfig,minScrollableHeight:e.minScrollableHeight,next:e.next,seen:e.seen,showStripes:e.showStripes,studyType:e.studyType,surveyId:e.surveyId,update:e.update,useMobileStyling:e.useMobileStyling,viewDocument:e.viewDocument})),E=ea(null),I=ea(!1),j=ea(!1),R=c["userleap-platform"],{props:U,type:L,name:H}=r[_];eo(()=>{if(window.Sprig)return window.Sprig.trackHistory=e=>tM.getState().trackHistory(e),()=>{window.Sprig.trackHistory=void 0}},[]),eo(()=>{E.current&&(E.current.classList.contains("ul-app--visible")||E.current.classList.add("ul-app--visible"),!I.current&&s&&(I.current=!0,s(p.S.SurveyAppeared,{name:p.S.SurveyAppeared,"survey.id":k})))},[s,k]),eo(()=>{let e=()=>{"visible"===S.visibilityState&&(b(),S.removeEventListener("visibilitychange",e))};return S.addEventListener("visibilitychange",e),e(),()=>{S.removeEventListener("visibilitychange",e)}},[b,S]);let O=eu(async()=>{if(f&&S&&!j.current){let e=await n.e(8438).then(n.bind(n,28438));(0,d.f)({document:S,elementId:"conversational-ui-styles",styleString:e.default}),requestAnimationFrame(()=>{w()}),j.current=!0}},[f,S,w]);eo(()=>{w()},[_,w]),eo(()=>{i(()=>o())},[o,i]),eo(()=>{f&&!j.current&&O()},[f,O]);let N=es(()=>(0,p.u)(r,_),[r,_]),T=t5(r),A=eu(e=>{m({data:e,completeSurvey:()=>a(d.A),endCard:l}),(0,d.r)(S)},[m,a,l,S]);if(e){for(let t of e)if(t.questionId===H){let e;if("multiplechoice"===L){let n=U.options.find(({value:e})=>e===t.value);if(!n)break;e={[n.id]:n.value}}else e=t.value;A({value:e,type:L,questionId:t.questionId});break}}let P=!C&&((null==v?void 0:v.framePosition)==="center"||(null==v?void 0:v.desktopDisplay)==="center-modal"||((null==v?void 0:v.placement)||"").includes("center"));return f&&!j.current&&(0,p.t)(y)?null:D("div",{className:tp("ul-app",(0,p.h)(c)?"ul-app--visible":"ul-app--overlay"),dir:"auto",id:d.A,onClick:e=>{var t;let n=window.sprigAPI,r=e.target;if(n&&r){for(let o of[r,r.parentElement])if((null==(t=null==o?void 0:o.tagName)?void 0:t.toLowerCase())==="a"){e.preventDefault();try{let e=new URL(o.href);"http:"!==e.protocol&&"https:"!==e.protocol||null==n||n.openUrl(e.toString())}catch(e){console.error(e)}return}}},ref:E,style:{"--theme":t,...u?{fontFamily:u.replace(";","")}:{},...P?{position:"relative"}:{}},children:D("div",{className:"ul-app__container",children:D("div",{className:tp(tf("ul-card__container",C,y)),style:{..."feedbackButton"!==y||(null==v?void 0:v.desktopDisplay)==="center-modal"?{borderColor:t}:{},...(null==v?void 0:v.desktopDisplay)==="slider"?{margin:"0px"}:{}},children:D("div",{className:"sprig-container",style:{minHeight:h},children:[x&&D("div",{className:"ul-header__container",dir:"ltr",children:D("div",{className:"ul-header",children:"For development purposes only"})}),g&&D("div",{className:"ul-header__container",dir:"ltr",children:D("div",{className:"ul-header",children:"Preview Mode: Response will not be recorded."})}),(0,p.t)(y)&&D(t6,{}),D("div",{className:tp(((e,t)=>`${e} ${e}__${t}`)("ul-card-main-content",R)),children:D(eU,f?{fallback:null,children:D(t4,{cards:r,next:A,previousResponses:T})}:{fallback:null,children:D(t8,{cards:N,next:A,previousResponses:T})})}),!(0,p.t)(y)&&D(tZ,{})]})})})})},t7=()=>
1MediaRecorder.isTypeSupported("video/webm")?"video/webm":"video/mp4",ne=e=>new MediaRecorder(e,{audioBitsPerSecond:128e3,videoBitsPerSecond:25e5,mimeType:t7()}),nt=(e,t,n)=>{n[t]=[],e.ondataavailable=function(e){n[t].push(e.data)},e.currentMediaRecordingUid=t,e.start()};function nn(e,t,n,r,o,i){if(e&&"inactive"!==e.state){let{"begin.callback":a}=r,l=e.currentMediaRecordingUid;l&&(a&&a(l),e.onstop=()=>(async function(e,t,n,r,o,i,a){let l=tM.getState().viewDocument,{"upload.callback":s,"progress.callback":u}=r,c={mediaType:n,updatedAt:new Date().toISOString(),mediaRecordingUid:o,...r["passthrough.data"]},d=await (async(e,t)=>{var n;let r=await fetch(t,{method:"POST",cache:"no-cache",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(r.ok){let e=await r.json();return null==(n=null==e?void 0:e.upload)?void 0:n.url}return null})(c,e);if(!d)return void(s&&s(null,{message:"failed to get upload url"}));let p=new Blob(a,{type:t7()});if(!l.defaultView)return;let f=new l.defaultView.File([p],`recording video ${Date.now()}`),_=i.createUpload({endpoint:d,file:f,chunkSize:5120});_.on("error",e=>{s&&s(null,e)}),_.on("progress",e=>{u&&u(o,e)}),_.on("success",()=>{s&&s(o,!0)})})(t,0,n,r,l,o,i),e.stop())}}let nr=Object.create({state:{chunks:{}},stopRecording(e){let{uploadApiEndpoint:t,avRecorder:n,screenRecorder:r,UpChunk:o}=this.state,i=this.state.avStream&&this.state.avStream.getVideoTracks().length>0?"video":"audio";this.state.chunks&&t&&o&&(null!=n&&n.currentMediaRecordingUid&&nn(n,t,i,e,o,this.state.chunks[null==n?void 0:n.currentMediaRecordingUid]),null!=r&&r.currentMediaRecordingUid&&nn(r,t,"screen",e,o,this.state.chunks[null==r?void 0:r.currentMediaRecordingUid]))},handleCancelledStream(e){let t=e.getVideoTracks(),n=e.getAudioTracks(),r=t.length&&t[0];(r=r||n.length&&n[0])&&r.addEventListener("ended",()=>{[this.state.avRecorder,this.state.screenRecorder].map(e=>{e&&("recording"===e.state&&e.stop(),e.stream.getTracks().map(e=>{"live"===e.readyState&&e.stop()}))}),Object.assign(this.state,{avStream:null,captureStream:null,avRecorder:null,screenRecorder:null})})},taskDurationMillisecond(){return this.state.startTime?new Date().getTime()-this.state.startTime.getTime():0},setUpChunk(e){this.state.UpChunk=e},configure(e,t){Object.assign(this.state,t),this.state.uploadApiEndpoint=`${t.apiURL}/2/environments/integrations/upload`,this.state.chunks={},e.on("permission.status",this.permissionStatusCallback.bind(this)),e.on("av.permission",async e=>{this.avPermissionCallback(e)}),e.on("begin.recording",this.beginRecordingCallback.bind(this)),e.on("start.task",this.startTaskCallback.bind(this)),e.on("screen.permission",async e=>{this.screenPermissionCallback(e)}),e.on("finish.task",async e=>{this.finishTaskCallback(e)})},async avPermissionCallback(e){var t,n,r;let{"stream.ready":o,"permission.descriptors":i}=e;try{null!=(t=this.state.avStream)&&t.active&&(this.state.avStream.getTracks().map(e=>"live"===e.readyState&&e.stop()),(null==(n=this.state.captureStream)?void 0:n.getAudioTracks().length)===1&&this.state.captureStream.removeTrack(this.state.captureStream.getAudioTracks()[0])),this.state.avStream=await navigator.mediaDevices.getUserMedia({video:i.includes("camera"),audio:!0}),(null==(r=this.state.captureStream)?void 0:r.getAudioTracks().length)===0&&this.state.captureStream.addTrack(this.state.avStream.getAudioTracks()[0]),this.handleCancelledStream(this.state.avStream)}catch(e){return console.warn("Error: failed to get permissions: "+e),void(o&&o(null,null))}o&&o(this.state.avStream,this.state.captureStream)},async screenPermissionCallback(e){let{"screen.permission.requested":t,"stream.ready.callback":n}=e;null==t||t(!0);try{this.state.captureStream=await navigator.mediaDevices.getDisplayMedia({video:!0,cursor:"always",displaySurface:"browser",preferCurrentTab:!0})}catch(e){return null==t||t(!1),console.warn("Error: failed to get permissions: "+e),void(n&&n(null,null))}null==t||t(!1),this.state.avStream&&this.state.avStream.getAudioTracks().length>0&&this.state.captureStream.addTrack(this.state.avStream.getAudioTracks()[0]),this.handleCancelledStream(this.state.captureStream),n&&n(this.state.avStream||null,this.state.captureStream)},beginRecordingCallback(e){let{"recording.media.types":t,"start.recording.callback":n=()=>{}}=e;if(!t)return;let r=[];if(t.includes("video")&&this.state.avStream){this.state.avRecorder=ne(this.state.avStream);let e=(0,p.v)();nt(this.state.avRecorder,e,this.state.chunks),r.push(e)}if(t.includes("screen")&&this.state.captureStream){this.state.screenRecorder=ne(this.state.captureStream);let e=(0,p.v)();nt(this.state.screenRecorder,e,this.state.chunks),r.push(e)}r&&n&&n(r)},async finishTaskCallback(e){let{"current.index":t,"task.response":n,"task.complete.callback":r}=e;await this.stopRecording(e),r&&r(this.taskDurationMillisecond()),this.state.cards&&void 0!==this.state.hasEndCard&&this.lookAheadAndStopStream(t,n,this.state.cards,this.state.hasEndCard)},startTaskCallback(){this.state.startTime=new Date},permissionStatusCallback(e){var t;let{"permission.status.callback":n}=e,r=this.state.avStream;n&&n(r,!!r&&(null==r?void 0:r.getVideoTracks().length)>0,!!(null!=(t=this.state.captureStream)&&t.active),this.state.captureStream)},lookAheadAndStopStream(e,t,n,r){let{avRecorder:o,screenRecorder:i}=this.state,{allResponses:a}=tM.getState(),l=tL({cards:n,index:e,hasEndCard:r,allResponses:a});null!==l&&"recordedtask"===n[l].type||[o,i].map(e=>{e&&("recording"===e.state&&e.stop(),e.stream.getTracks().map(e=>{"live"===e.readyState&&e.stop()}))})}});Object.freeze(nr);let no=Object.freeze(Object.defineProperty({__proto__:null,default:{configure:function(e,t=!0){var n;let{answers:r,apiURL:o,endCard:i,eventEmitFn:a,fontFamilyURL:l,frame:s,previewKey:u,viewDocument:c,viewWindow:f}=e,_=(0,p.h)(e.headers)?e.frame:c.body,h=e.UpChunk||window.UpChunk,m=p.e,g=((e,t)=>{let n=[...e],r=new Set(["videovoice","recordedtask"]);return e.some(e=>r.has(e.type))&&n.push({name:-2,props:{routingOptions:[]},type:"uploading"}),t&&n.push({name:-1,props:{routingOptions:[]},type:"thanks"}),n})(e.cards,!!i);nr.configure(m,{cards:g,hasEndCard:!!i,apiURL:o,UpChunk:h});let v="conversational"===e.layout;tM.setState({apiURL:o,answers:r,avatars:e.avatars,border:e.border,index:e.startingQuestionIdx||0,isConversationalUI:v,cards:g,configureExitOnOverlayClick:e.configureExitOnOverlayClick,customMetadata:e.customMetadata,endCard:e.endCard,envId:e.envId,eventEmitFn:a,fontFamily:e.fontFamily,forceBrandedLogo:e.forceBrandedLogo,frame:s,headers:e.headers,hasViewedEmbed:!1,isPreview:e.isPreview,marketingUrl:"https://sprig.com",meta:(({mode:e=null,viewWindow:t,viewDocument:n,trackPageViewUrl:r})=>{let o,i=n.documentElement;try{o=t.parent.location.href}catch{o=t.location.href}return{mode:e,sw:t.screen.width,sh:t.screen.height,cw:i.clientWidth,ch:i.clientHeight,p:r??o,l:t.navigator.language}}
1)({mode:e.mode,viewWindow:f,viewDocument:c,trackPageViewUrl:e.trackPageViewUrl}),mode:e.mode,previewKey:u,previewMode:e.previewMode,productConfig:e.productConfig,recorder:nr,recorderEventEmitter:m,responseGroupUid:e.responseGroupUid,showStripes:e.showStripes,showSurveyBrand:e.showSurveyBrand,slugName:e.slugName,startingQuestionIdx:e.startingQuestionIdx,styleNonce:e.styleNonce,studyType:e.studyType,surveyId:e.surveyId,tabTitle:e.tabTitle,uploadingCardViewed:!1,uploadProgress:{},useMobileStyling:e.useMobileStyling,useDesktopPrototype:e.useDesktopPrototype,userId:e.userId,viewDocument:e.viewDocument,visitorAttributes:e.visitorAttributes,viewedCardCount:e.startingQuestionIdx||0});let{head:b}=c;if((0,d.f)({document:c,elementId:"sprig-style",styleString:'html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}ol,ul{padding-inline-start:1em}.ul-loading-spinner-container{font-size:1.8rem;flex-grow:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ul-loading-spinner{display:inline-block;position:relative;width:6rem;height:6rem}.ul-loading-spinner div{box-sizing:border-box;display:block;position:absolute;width:80%;height:80%;margin:5px;border:5px solid #152e3e;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#152e3e transparent transparent transparent}.ul-loading-spinner .first{animation-delay:-.45s}.ul-loading-spinner .second{animation-delay:-.3s}.ul-loading-spinner .third{animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-in-transition{animation:fadeIn .4s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.ul-card{flex:1 1 auto;border-radius:2px;display:flex;flex-direction:column;font-size:17px;line-height:19px;text-align:start;
1min-width:200px;justify-content:center;animation:enable-transitions 0s .3s forwards;min-height:0}@keyframes enable-transitions{to{transition:opacity .2s ease-in-out}}.ul-focus-transitions-active .ul-card,.ul-card--with-transitions{transition:opacity .2s ease-in-out}.ul-card__container--desktop{border:2px solid #fff;box-shadow:0 0 15px #00000026;margin:15px}.ul-card__container--mobile{border-width:0;box-shadow:0 0 5px #00000040;margin-top:5px}.ul-card__container--desktop_longFormSurvey,.ul-card__container--mobile_longFormSurvey{margin:0}.sprig-container{display:flex;flex-direction:column;width:100%;height:fit-content;flex:1 1 auto;min-height:0;justify-content:center}.ul-card__container{background:#fff;border-radius:6px;display:flex;flex-direction:column;flex-grow:1;flex:1 1 auto;font-size:17px;line-height:23px;padding:0;min-height:0;position:relative;text-align:center;word-break:normal;overflow:auto}.ul-card__container--desktop_feedbackButton{box-shadow:unset}.ul-card-vertical__button-wrapper{flex-direction:column;align-items:center}.ul-card__button-wrapper{margin-top:4px;display:flex;gap:16px;justify-content:center;align-self:stretch}.sprig-question-footer-container{align-items:center;width:100%;height:fit-content;display:flex;flex-direction:column;padding:12px 20px 0}.long-form-question-footer-container{position:fixed;bottom:0;left:0;width:100%;display:flex;justify-content:space-between;align-items:center;overflow:visible;z-index:1000;pointer-events:none;padding:32px}.long-form-question-footer-container--mobile{background-color:#fff;border-top:1px solid #e6e6e6;padding:16px 24px}.long-form-question-footer-container-center{justify-content:center}.long-form-question-footer-container .long-form-question-footer-container-logo{width:auto;pointer-events:auto}.long-form-question-footer-container-center .long-form-question-footer-container-logo{margin-left:0}.long-form-question-footer-container .long-form-question-footer-container-actions{display:flex;gap:8px;pointer-events:auto}.long-form-question-footer-container .long-form-question-footer-container-actions .long-form-button{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px;border-radius:8px;height:40px;width:40px}.long-form-question-footer-container .long-form-question-footer-container-actions .long-form-button .long-form-button-text-container{display:flex;align-items:center}.ul-rich-text-body{min-height:2em}.ul-rich-text-body,.ul-rich-text-body p{margin-top:10px;margin-bottom:10px}.ul-rich-text-body li{margin:5px 0}.ul-rich-text-body p,.ul-rich-text-body li{font-size:15px;line-height:130.35%;letter-spacing:.02em;color:#343442;text-align:start;white-space:pre-line}.ul-rich-text-body:last-child,.ul-rich-text-body li:last-child{margin-bottom:15px}.ul-card-main-content__link,.ul-card-main-content__email,.ul-card-main-content__web,.ul-card-main-content__android,.ul-card-main-content__ios{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;z-index:2;height:fit-content}.sprig-border-bottom{border-bottom:1px solid rgba(0,0,0,.1)}.sprig-border-top{border-top:1px solid rgba(0,0,0,.1)}.question-header-container{z-index:1}.sprig-header-container{padding:16px}.question-header-button-container{display:grid;grid-template-columns:97fr 3fr;align-items:center;justify-content:space-between;width:100%;height:fit-content}.ul-card--thanks-content .question-header-button-container{justify-content:center}.sprig-question-body{padding:0 20px;min-height:0;flex-shrink:1;overflow:auto;position:relative;align-self:stretch;width:100%}.sprig-stretch{align-self:stretch}.ul-question{color:#343442;display:block;font-size:17px;line-height:125%;font-weight:500;cursor:default;text-align:start}.ul-question ol,.ul-question ul,.ul-caption ol,.ul-caption ul{margin-left:1em}.ul-caption{flex:1 0 auto;font-size:14px;line-height:130.35%;letter-spacing:.02em;color:#6c6c6e;text-align:start;margin-top:4px}.ul-card__choices{margin:5px 0 0;flex:1 0}.choice--mobile{border:2px solid #e6e6e6}.choice--desktop{border:1px solid #e6e6e6}.choice{align-items:flex-start;color:#262136;cursor:pointer;display:flex;justify-content:flex-start;flex-direction:column;box-sizing:border-box;border-radius:3px;margin-bottom:7px;font-size:15px;line-height:20px;padding:10px 20px 10px 15px;background-color:#00000003}.choice--desktop:hover,.choice--desktop:active,.choice--mobile:active{background-color:#0000000d}.choice-label-container{align-items:center;display:flex;flex-direction:row;flex:0 0 fit-content;gap:15px;height:fit-content;justify-content:flex-start;width:100%}.choice-text-entry-container{width:100%;height:fit-content;flex:0 1 fit-content;overflow:hidden}.choice .choice-text-input--mobile{max-height:63px}.choice .choice-text-input--desktop{max-height:150px}.choice .choice-text-input{box-sizing:border-box;background-color:transparent;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:20px;max-height:60px;padding:0;margin-top:8px;resize:none;width:100%;font-size:14px;line-height:20px;outline:none;border:none;overflow-wrap:break-word}.choice .choice-text-input::placeholder{color:#6c6c6e80}.ul-thanks-check{text-align:center;margin-bottom:20px}.ul-card--thanks-content{padding:20px 0 10px}.ul-card--thanks .ul-question{padding-top:0;text-align:center}.ul-card--thanks .ul-caption{padding-top:0;text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-lines:no-limit}.ul-card--uploading .ul-question{padding-top:15px;text-align:center}.ul-card--uploading .ul-caption{padding-top:5px;text-align:center;overflow-wrap:break-word}.select-checkbox{height:16px;width:16px;display:flex;box-sizing:border-box;background-color:"transparent";align-items:center;justify-content:center;border-radius:4px;border:1px solid #b0b5b7;flex-shrink:0}.select-radio{height:16px;width:16px;border-radius:16px;border:1px solid #323232;display:flex;box-sizing:border-box;box-shadow:inset 2px 2px #0000001a;background-color:"transparent";align-items:center;justify-content:center}.footer{width:100%;margin-top:12px;font-size:12px;line-height:12px;color:#000000b3}[class^=CenteredSurveyLayout] .ul-header__container,[class^=QuestionConceptTestLayout] .ul-header__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{margin-bottom:unset}[class^=CenteredSurveyLayout] .ul-card__container,[class^=QuestionConceptTestLayout] .ul-card__container,.ul-websurvey-frame .ul-card__container,.ul-websurvey-frame-mobile .ul-card__container{align-self:center;box-shadow:unset;border-radius:unset;border:none!important;position:unset;width:100%}@media only screen and (min-height: 600px) and (width: 600px){.ul-card{position:relative;top:-20px}}.ul-vertical-centered-container{display:flex;flex-direction:column;align-items:center;align-self:stretch}.sprig-accordion{width:100%;margin-bottom:8px}.sprig-accordion-body{width:100%;overflow:hidden}.sprig-accordion-header-container{background:transparent;border:none;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;cursor:pointer;margin:8px 0 0;padding:0;font-family:inherit}.sprig-header-label-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex:1 1 0}.sprig-header-label{color:#343442;font-size:15px;font-weight:590;line-height:21px;text-align:start;overflow:hidden}.sprig-check-background{flex:0 0 16px;height:16px;width:16px;border-radius:8px;margin-right:8px;background-color:#efefee;display:flex;align-items:center;justify-content:center}.sprig-check{height:9px;width:9px;margin-left:-1px}.sprig-check path{stroke:#506067;stroke-width:1.5}.sprig-caret{height:20px;width:20px;transition-property:transform}.sprig-caret path{stroke:#000}.ul-card-longform__submit-button-container{display:flex;justify-content:flex-end}.ul-card-longform__submit-button-container .ul-card-longform__submit-button{display:flex;flex-direction:row;align-items:center;white-space:nowrap;gap:4px;border-radius:8px;color:#fff;cursor:pointer}.ul-card-longform__submit-button-container .ul-card-longform__submit-button:disabled{opacity:.5;cursor:not-allowed}.ul-card-list-container--longform{display:flex;flex-direction:column;gap:2rem;width:100%;align-items:center;padding-block-start:calc(40vh - 100px);padding-block-end:calc(50vh - 100px);height:auto}@media (min-height: 1200px){.ul-card-list-container--longform{padding-block-start:calc(50vh - 100px)}}.ul-card-scroll-wrapper{width:100%;max-width:100vw;position:relative;display:flex;justify-content:center}.ul-card--unfocused{opacity:.3;transition:opacity .3s ease-in-out}.ul-consent-legal__name-input--mobile{border:2px solid #e6e6e6}.ul-consent-legal__name-input--desktop{border:1px solid #e6e6e6}.ul-consent-legal__name-input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;padding:10px 20px 10px 15px;border-radius:3px;font-size:15px;line-height:20px;margin-bottom:7px;width:100%}.ul-consent-legal__name-input::placeholder{color:#6c6c6e80}.ul-consent-legal__name-input:focus{outline:none;background:#fff}.ul-consent-legal__name-input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__consent-legal .choice{font-size:15px;padding:10px 15px;background-color:#00000003}.ul-card__consent-legal .choice--desktop:hover,.ul-card__consent-legal .choice--desktop:active,.ul-card__consent-legal .choice--mobile:active{background-color:#0000000d}.ul-card--likert__numbers{align-items:center;border-radius:5px;
1display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.ul-card--likert__numbers>button{padding:unset}.likert-number--mobile{border:2px solid #e6e6e6}.likert-number--mobile:not(:first-child){margin-inline-start:-2px}.likert-number--desktop{border:1px solid #e6e6e6}.likert-number--desktop:not(:first-child){margin-inline-start:-1px}.likert-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px}.likert-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.likert-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.likert-number:active,.likert-number--desktop:hover{background-color:#0000000d;font-weight:500}.likert-star--mobile:not(:first-child){margin-inline-start:-2px}.likert-star--desktop:not(:first-child){margin-inline-start:-1px}.likert-star{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;font-size:18px;line-height:24px;height:67px;background:unset;border:unset}.likert-smiley--mobile:not(:first-child){margin-inline-start:-2px}.likert-smiley--desktop:not(:first-child){margin-inline-start:-1px}.likert-smiley{align-items:center;cursor:pointer;display:flex;justify-content:space-between;flex:1 0;color:transparent;line-height:24px;height:67px;background:unset;border:unset}.likert-smiley>svg{margin:0 auto}.likert-smiley circle:not(:first-child){fill-opacity:1}.ul-card--likert__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card--likert__labels>span:last-child{margin-left:auto;flex:1 1 auto;min-width:0;text-align:right}.ul-card--matrix_grid{display:grid;grid-template-columns:max-content repeat(var(--numColumns),minmax(107px,1fr));grid-template-rows:repeat(var(--numRows),min-content);margin:0 auto;row-gap:4px;width:max-content}.ul-card--matrix_grid_longform{width:100%}.ul-matrix-row-options{display:grid;grid-column:2/-1;grid-template-columns:subgrid}.ul-matrix-column-label{font-size:15px;max-width:150px;padding:10px 12px;text-align:center}.ul-card--matrix_container{margin-bottom:16px;overflow:auto}.ul-card--matrix_question_container{display:flex;flex-direction:column}.ul-matrix-scroll-gradient{-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent)}.ul-matrix-scroll-gradient:dir(rtl){-webkit-mask-image:linear-gradient(270deg,#000,90%,transparent);mask-image:linear-gradient(270deg,#000,90%,transparent)}.ul-matrix-scroll-gradient:dir(rtl)+.ul-matrix-scroll-arrow{rotate:180deg}.ul-matrix-scroll-arrow{align-self:flex-end;background:none;border:none;color:#000;padding:0;position:absolute;top:45%}.ul-matrix-scroll-arrow:hover{cursor:pointer}.ul-matrix-option-wrapper{align-items:center;background:#f9f9f8;display:flex;justify-content:center;padding:10px 12px}.ul-matrix-last-option{border-start-end-radius:4px;border-end-end-radius:4px}.ul-matrix-row-label{align-items:center;background:#f9f9f8;border-end-start-radius:4px;border-start-start-radius:4px;display:flex;font-size:15px;left:0;right:0;max-width:200px;min-width:100px;padding:10px 12px;position:sticky}.ul-matrix-option-selected{border:6px solid var(--border);box-shadow:none}.ul-card__matrix{max-width:100%}.select-label{cursor:pointer;flex:1;overflow-wrap:anywhere;text-align:start}.ul-card--nps__numbers{align-items:center;border-radius:5px;display:flex;flex-direction:row;flex:1 0;justify-content:center;margin:5px 0 0}.nps-number--mobile{border:2px solid #e6e6e6}.nps-number--mobile:not(:first-child){margin-inline-start:-2px}.nps-number--desktop{border:1px solid #e6e6e6}.nps-number--desktop:not(:first-child){margin-inline-start:-1px}.nps-number{align-items:center;cursor:pointer;display:flex;justify-content:center;flex:1 0;background-color:#00000003;font-size:18px;line-height:24px;height:67px;padding:unset}.nps-number:first-child{border-start-start-radius:5px;border-end-start-radius:5px}.nps-number:last-child{border-start-end-radius:5px;border-end-end-radius:5px}.nps-number:active,.nps-number--desktop:hover{background-color:#0000000d;font-weight:500}.ul-card--nps__labels{align-items:center;color:#262136;display:flex;flex-direction:row;flex:1 0;font-weight:500;font-size:13px;line-height:15px;justify-content:space-between;margin:7px 0 10px}.ul-card-rank__labels{font-size:14px;font-style:normal;font-weight:600;line-height:150%;text-align:left}.ul-card-rank__list{list-style-type:none;padding-inline-start:0;margin:4px 0}
1.ul-card-rank__option{display:flex;align-items:center;padding:8px;gap:8px;align-self:stretch;border:1px solid #e2e3e1;border-radius:8px;margin-bottom:4px;background:#fff}.ul-card-rank__option:last-child{margin-bottom:0}.ul-card-rank__drag-btn{display:inline-flex;align-items:center;justify-content:center;line-height:0;padding:0;width:25px;height:25px;margin-left:auto;color:#0b2330;cursor:grab;background:transparent;border:0}.ul-card-rank__drag-btn:active,.ul-card-rank__option:active{cursor:grabbing}.ul-card-rank__option svg{display:block}.ul-card-rank__option.is-dragging{opacity:1;box-shadow:0 8px 25px #00000026,0 3px 10px #0000001a;z-index:1000;background:#fff;border-color:#0b2330;transition:none}.ul-card-rank__option.is-drop-target{background:#0b23301a;border-radius:8px;border-color:#0b23301a}.ul-card-rank__option.is-drop-target select,.ul-card-rank__option.is-drop-target span,.ul-card-rank__option.is-drop-target button{visibility:hidden}.ul-card-rank__option span{font-size:14px;font-weight:400;pointer-events:none}.ul-card-rank__select{appearance:none;-webkit-appearance:none;-moz-appearance:none;box-sizing:border-box;height:25px;min-height:25px;border:1px solid #E2E3E1;border-radius:4px;font-size:14px;line-height:1.4;padding:2px 28px 2px 8px;background-image:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'13\' viewBox=\'0 0 12 13\' fill=\'none\'><path d=\'M9.75 5L6 8.75L2.25 5\' stroke=\'%230B2330\' stroke-width=\'1.5\' stroke-linecap=\'round\' stroke-linejoin=\'round\'/></svg>");background-repeat:no-repeat;background-position:right 8px center;background-size:12px 12px;background-color:#fff;cursor:pointer;pointer-events:auto}.ul-card-rank__select.ul-card-rank__select--placeholder{color:#b0b5b7}.ul-card-text{margin-top:2px;margin-bottom:3px;display:flex;flex-direction:column;justify-content:center;padding:0;width:100%}.ul-card-text__container{align-items:center;box-sizing:border-box;border-radius:3px;display:flex;justify-content:center;margin-bottom:12px;flex:1 0 100%}.ul-card-text__input--mobile{border:2px solid #e6e6e6;max-height:63px}.ul-card-text__input--desktop{border:1px solid #e6e6e6;max-height:150px}.ul-card-text__input{background:#00000003;box-sizing:border-box;color:#343442;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;min-height:63px;overflow:auto;padding:12px;resize:none;width:100%;border-radius:3px;font-size:15px;line-height:20px;overflow-wrap:break-word}.ul-card-text__input::placeholder{color:#6c6c6e80}.ul-card-text__input:focus{outline:none;background:#fff}.ul-card-text__input--desktop:hover:not(:focus){background-color:#0000000d}.ul-card__text-url-prompt-button{text-decoration:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available}#ul-card-video__player_recorder{width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.ul-card-record__task{flex:1 0 auto;margin-top:2px;margin-bottom:3px;align-items:center;display:flex;flex-wrap:wrap;justify-content:center;padding:0}#ul-record-task-upload-progress,#ul-record-task-video-preview{width:100%;height:150px}.ul-permission-graphics-container{width:100%;height:150px;background-color:#0000000d;text-align:center;flex-direction:column;margin-left:auto;margin-right:auto;border-radius:5px;display:flex;align-items:center;font-size:15px;color:#000000b3}.ul-av-permission-denied-paragraph{margin:auto 15px;font-size:12px}.ul-av-permission-denied-headline{font-size:14px;color:#262136;text-decoration:underline;font-size:12px}.ul-permission-body{color:#000;margin:5px auto 5px 5px;line-height:135%;text-align:center}.ul-select-tab-container{width:240px;height:46px;background:#fff;border-radius:5px;text-align:start;align-items:center;display:flex;padding:0 5px;margin-top:20px;margin-bottom:auto}.ul-select-tab-text{color:#4b575d;margin:5px;line-height:135%;text-align:center}button.ul-task-skip-button{color:#000;background-color:#fff}#ul-task-detail-container{margin-top:0;margin-bottom:0;overflow:auto}#ul-task-detail-container.ul-rich-text-body p,#ul-task-detail-container.ul-rich-text-body li,#ul-task-detail-container.ul-rich-text-body{color:#4c4c4c}#ul-task-detail-container :first-child{margin-top:0}#ul-task-detail-container :last-child{margin-bottom:20px}.ul-horizontal-button-container{width:100%;display:flex;flex-direction:row}.ul-skip-button-below{margin-top:5px}.ul-horizontal-button-container-center{justify-content:center}.ul-vertical-button-container-center{display:flex;flex-direction:column;align-items:center}.ul-horizontal-button-container-left{justify-content:flex-start}
1.ul_recorded-task-inset-spacing{margin-top:5px;margin-bottom:24px}.ul_permission_svg_container{justify-content:center}.ul-card-text__button{background-color:var(--theme);border-radius:3px;border:none;color:#fff;cursor:pointer;font-size:15px;font-weight:500;line-height:18px;padding:10.5px 21px}.ul-card-text__button:disabled,.ul-card-text__button.sprig-button-disabled{background-color:#0000001a;color:#0003}.ul-card-text__button:disabled>svg path,.ul-card-text__button.sprig-button-disabled>svg path{stroke:#0003}.ul-card-text__button.ul-button-inactive{background-color:#fff!important;color:#5d696f!important}.ul-card-skip__button{color:#00000080;background:none;border:none;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;cursor:pointer}.ul-card-button-group{align-items:center;display:flex;gap:15px;justify-content:center;flex-direction:column}.select-button{align-items:center;background-color:transparent;border-radius:8px;border:1px solid #0b2330;box-shadow:0 0 0 2px #c8cccc;cursor:pointer;display:flex;font-size:15px;justify-content:space-between;margin-bottom:8px;padding:4px 8px 4px 16px;width:100%}.select-button:hover{background-color:#f3f3f3}.select-button:active{background-color:#eee}.select-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-button.select-button-placeholder{color:#b0b5b7}.select-button svg{flex-shrink:0}.select-list{position:relative;height:fit-content;padding:4px 0;z-index:100;background-color:#fff;border:1px solid #E2E3E1;box-shadow:0 16px 24px #0b23300d,0 4px 12px #0b233008;border-radius:8px;overflow-y:scroll;width:100%}.select-option{align-items:center;cursor:pointer;display:flex;font-size:15px;gap:16px;line-height:20px;padding:8px 16px}.select-option:hover{background-color:#f3f3f3}.ul-card-maxdiff__labels-row{display:flex;justify-content:space-between;margin-bottom:8px;column-gap:50%}@media (max-width: 600px){.ul-card-maxdiff__labels-row{column-gap:30%}}.ul-card-maxdiff__label{font-weight:600;text-align:center;margin:auto;flex:1;padding:8px;overflow:auto;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.ul-card-maxdiff__label-spacer{flex:6}.ul-card-maxdiff .ul-question{text-align:center}.ul-card-maxdiff__option-row{display:flex;justify-content:space-between;margin-bottom:8px;padding:0 24px}.ul-card-maxdiff__option-label{flex:6;align-self:center;padding:12px;text-align:center;max-width:100%;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.ul-card-maxdiff__option-control.smiley{display:flex;justify-content:center;align-items:center;min-width:86px;flex:1;padding:12px;border-radius:none;border:none;background:none;cursor:pointer}.ul-card-maxdiff__option-control .choice-label-container{justify-content:center}.ul-card-maxdiff p.ul-caption{text-align:center}.ul-card-maxdiff .question-header-button-container{display:flex;justify-content:center}.ul-card-maxdiff__option-selected{border-radius:100px}.ul-card-maxdiff__option-selected.good{background:#90ee90}.ul-card-maxdiff__option-selected.bad{background:#f08080}.ul-card-maxdiff__option-btn{width:42px;height:42px;justify-content:center;align-items:center}html,body{cursor:default;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;height:100%;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-webkit-touch-callout:none}b{font-weight:500}form{margin-block-end:0;margin-block-start:0}#ul-app{opacity:0;width:100%;flex-grow:2;display:flex}#ul-app.ul-app--overlay{position:absolute;bottom:0;transition:opacity .1s ease-out;transition-delay:.1s}#ul-app.ul-app--visible{opacity:1;bottom:0}.ul-app__container{width:100%;display:flex;flex-direction:column;max-height:100vh}.ul-header__container{margin-bottom:15px}.ul-header{align-items:center;background:repeating-linear-gradient(120deg,#ebebeb,#ebebeb 24px,#fff 24px,#fff 48px);border-bottom:2px solid #ebebeb;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;width:100%}.ul-footer{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;margin-top:auto;flex-grow:0;width:100%;min-height:10px;height:fit-content;flex-shrink:0}.ul-footer>.yellow-footer-logo{background:#fad133;border:1px solid #f9c600;border-radius:14px;padding:6px 12px}.ul-footer>.yellow-footer-logo:hover{background:#f9c600}
1.ul-footer .thank-you-card-link{background:#00000003;border:1px solid #e6e6e6;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;gap:12px;margin-bottom:15px;padding:12px;text-align:initial;width:280px}.ul-footer .thank-you-card-link:hover{background:#00000008}.ul-footer>a{color:inherit}.ul-footer-bubble{display:inline-block;margin:0 3px;width:7px;height:7px;border-radius:3px;border:1px solid transparent}.sprig-box-logo{background:#f9c600;border-radius:5px;display:flex;padding:4px}.close-container{display:flex;justify-content:flex-end;width:100%;height:0}.close-btn{cursor:pointer;height:16px;margin-inline-end:-10px;position:relative;top:-10px;width:16px;z-index:1;align-self:flex-start;justify-self:end;flex-shrink:0}.ul-app__container{transition:opacity .3s ease-out}.ul-center-horizontally{text-align:center}.ul-progress-bar-container{width:100%;height:2px;background-color:#0000001a;border-radius:2px}.ul-progress-bar-container__footer{max-width:250px;margin:16px 0}.ul-progress-bar-container__header{position:fixed;top:80px;max-width:unset;margin:0;z-index:3}.ul-progress-bar-current{transition:width 1s ease;width:0%;height:0;border-radius:2px}.prototype-button{align-self:stretch;background:#00000003;border:1.5px solid #e6e6e6;border-radius:4px 0 0 4px;flex:none;flex-grow:0;height:fit-content;line-height:16.5px;margin:0 20px;padding:20px 0;font-size:14px;font-family:inherit;text-decoration:underline}.prototype-button:hover{cursor:pointer}'}),e.customStyles&&(0,d.f)({document:c,elementId:"ul-custom-style",styleString:e.customStyles,nonce:e.styleNonce}),e.fontFamily&&l&&parent){let e=c.createElement("link");e.rel="stylesheet",e.href=l,b.appendChild(e)}if(!h&&e.cards.some(e=>"recordedtask"===e.type)){let t=c.createElement("script");t.src=e.upchunkLibraryURL??"https://cdn.sprig.com/userleap-web-upchunk-v2.2.2.js",t.onload=()=>{nr.setUpChunk(f.UpChunk)},t.onerror=()=>{console.warn("[Sprig] - recording functionality not configured due to UpChunk library load failure")},b.appendChild(t)}let x=a||(null==(n=s.eventEmitter)?void 0:n.emit);null==x||x("verify.view.version",{"view.version":"2.39.0"}),_&&t&&(M(D(t9,{}),_),p.e.once(p.S.SurveyClosed,()=>{e6(_)}))}}},Symbol.toStringTag,{value:"Module"}))}}]);

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.