PageSourceSearch

https://bids.auctionbypearce.com/signature-request.3757abf0b1acfb8dfb07.js

js auctionbypearce.com collected 2026-09-28 06:50:37 UTC 13,251 bytes, 2 lines download raw bytes

vendor: 5,464 bytes, lines 1-2
1/*! For license information please see signature-request.3757abf0b1acfb8dfb07.js.LICENSE.txt */
2"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[819],{41325(e,t,n){n.r(t);var r,o=n(68909),i=n(39242),u=n(16029),a=n(18590),c=n(36058),l=n(65756),f=n(12673),s=n(21665),p=n(97785),d=n(75058),v=n(54175),m=n.n(v),y=n(44610),h=n(73781),g=n(27448),b=["popover"];function _(){var e=k(),t=e.m(_),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,S(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(_=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new x(e,t)},AsyncIterator:j,async:function(e,t,n,o,u){return(r(t)?E:w)(i(e),t,n,o,u)},keys:O,values:S}})()}function S(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(C(e)+" is not iterable")}function O(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function w(e,t,n,r,o){var i=E(e,t,n,r,o);return i.next().then(function(e){return e.done?e.value:i.next()})}function E(e,t,n,r,o){return new j(k().w(e,t,n,r),o||Promise)}function j(e,t){function n(r,o,i,u){try{var a=e[r](o),c=a.value;return c instanceof x?t.resolve(c.v).then(function(e){n("next",e,i,u)},function(e){n("throw",e,i,u)}):t.resolve(c).then(function(e){a.value=e,i(a)},function(e){return n("throw",e,i,u)})}catch(e){u(e)}}var r;this.next||(P(j.prototype),P(j.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),P(this,"_invoke",function(e,o,i){function u(){return new t(function(t,r){n(e,i,t,r)})}return r=r?r.then(u,u):u()},!0)}function k(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,l=Object.create(c.prototype);return P(l,"_invoke",function(n,r,o){var i,a,c,l=0,f=o||[],s=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,p.n=n,u}};function d(n,r){for(a=n,c=r,t=0;!s&&l&&!o&&t<f.length;t++){var o,i=f[t],d=p.p,v=i[2];n>3?(o=v===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,p.n=v,a=0))}if(o||n>1)return u;throw s=!0,r}return function(o,f,v){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,v),a=f,c=v;(t=a<2?e:c)||!s;){i||(a?a<3?(a>1&&(p.n=-1),d(a,c)):p.n=c:p.v=c);try{if(l=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(s=p.n<0)?c:n.call(r,p))!==u)break}catch(t){i=e,a=1,c=t}finally{l=1}}return{value:t,done:s}}}(n,o,i),!0),l}var u={};function a(){}function c(){}function l(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(P(t={},r,function(){return this}),t),s=l.prototype=a.prototype=Object.create(f);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,P(e,o,"GeneratorFunction")),e.prototype=Object.create(s),e}return c.prototype=l,P(s,"constructor",l),P(l,"constructor",c),c.displayName="GeneratorFunction",P(l,o,"GeneratorFunction"),P(s),P(s,o,"Generator"),P(s,r,function(){return this}),P(s,"toString",function(){return"[object Generator]"}),(k=function(){return{w:i,m:p}})()}function P(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}P=function(e,t,n,r){function i(t,n){P(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},P(e,t,n,r)}function x(e,t){this.v=e,this.k=t}function T(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,z(r.key),r)}}function D(e,t,n){return t=F(t),function(e,t){if(t&&("object"==C(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,R()?Reflect.construct(t,n||[],F(e).constructor):t.apply(e,n))}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R=function(){return!!e})()}
2function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function A(e,t){return A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},A(e,t)}function G(e,t,n){return(t=z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){var t=function(e,t){if("object"!=C(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=C(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==C(t)?t:t+""}function C(e){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(e)}var I=function(e,t,n,r){var o,i=arguments.length,u=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":C(Reflect))&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(i<3?o(u):i>3?o(t,n,u):o(t,n))||u);return i>3&&u&&Object.defineProperty(t,n,u),u},L=(0,d.Ng)(function(e){return{auth:e.auth}},null,null,{forwardRef:!0}),U=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),G(n=D(this,t,[e]),"pdfFormModal",o.createRef()),G(n,"refetch",void 0),G(n,"defaultState",{page:1,pageSize:50,search:"",popover:void 0,signed:!1});var r=e.location;return n.state=Object.assign({},n.defaultState,""!=r.search?(0,c.JO)(r.search,["page","pageSize"]):{}),n.updateState=n.updateState.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(t,e),n=t,d=[{key:"componentDidUpdate",value:function(e){this.props.location.search!==e.location.search&&this.setState(this.getState(this.props.location.search))}},{key:"getState",value:function(e){return e&&""!=e.trim()?(0,c.JO)(e,["page","pageSize"]):this.defaultState}},{key:"updateState",value:function(e){var t=this.props,n=t.history,r=t.match;this.setState(e);var o=Object.assign({},this.state,e),i=(o.popover,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o,b)),u=(0,c.Go)(i);this.props.location.search!=u&&n.push(r.url+u)}},{key:"getColumns",value:function(){var e=this,t=this.state.signed,n=this.props.auth;return{signed_document_id:{key:!0,label:"ID",display:!1},full_auction:{label:"Auction",canSort:!1,render:function(e,t){return t?o.createElement(o.Fragment,null,t.title,"  (",t.auction_ref,")"):""}},document:{label:"Document",canSort:!1,render:function(e,t){return t?o.createElement(o.Fragment,null,(0,h.O)(t)):""}},view_button:{label:"",canHide:!1,canSort:!1,shrinkToFit:!0,render:function(r){var i,u,a,c=r.document;if(!c)return null;var s=c.signed_form_url?c.signed_form_url+"&auction_id=".concat(null===(i=r.full_auction)||void 0===i?void 0:i.auction_id,"&user_id=").concat(null==n||null===(u=n.user)||void 0===u?void 0:u.user_id,"&attachment_id=").concat(c.attachment_id):void 0,p=t&&s?s+"&signed_document_id=".concat(r.signed_document_id):c.url;return o.createElement(f.A,null,!!p&&o.createElement(l.A,{color:"primary",size:"sm",href:p,target:"_blank"},"Document"),!e.state.signed&&!(null==n||null===(a=n.user)||void 0===a||!a.user_id
2)&&!!s&&o.createElement(l.A,{size:"sm",target:"_blank",className:"form-link",onClick:function(){var t,o,i;return e.openSignatureModal("Sign: ".concat((0,h.O)(c)),{signed_document_id:r.signed_document_id,auction_id:null===(t=r.full_auction)||void 0===t?void 0:t.auction_id,user_id:null==n||null===(o=n.user)||void 0===o?void 0:o.user_id,pdf_url:s,form_fields:(null===(i=c.asset_metadata)||void 0===i?void 0:i.formFields)||[]})}},"Sign"))}}}}},{key:"openSignatureModal",value:(S=_().mark(function e(t,n){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.pdfFormModal.current){e.next=3;break}throw new Error("NO REF");case 3:return e.next=5,this.pdfFormModal.current.open({title:t,document:n});case 5:return e.abrupt("return",e.sent);case 8:if(e.prev=8,e.t0=e.catch(0),"cancel"!==e.t0){e.next=12;break}return e.abrupt("return");case 12:p.oR.error("An unknown error has occurred"),console.log("Form ERROR:",e.t0);case 14:return e.prev=14,this.refetch&&this.refetch(),e.finish(14);case 17:case"end":return e.stop()}},e,this,[[0,8,14,17]])}),O=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=S.apply(e,t);function i(e){T(o,n,r,i,u,"next",e)}function u(e){T(o,n,r,i,u,"throw",e)}i(void 0)})},function(e,t){return O.apply(this,arguments)})},{key:"GET_SIGNATURE_REQUESTS",value:function(){return(0,u.Ay)(r||(e=["\n      query MyDocumentsToSign_sig_request($filter: SignedDocumentFilterInput, $pagination: Pagination) {\n        myDocumentsToSign(filter: $filter, pagination: $pagination) {\n          signed_document_id\n          document {\n            attachment_id\n            title\n            url\n            signed_form_url\n            asset_metadata {\n              title\n              formFields {\n                left\n                bottom\n                width\n                height\n                page\n                field\n                displayName\n              }\n            }\n          }\n          full_auction {\n            title\n            auction_ref\n            auction_id\n          }\n        }\n      }\n    "],t||(t=e.slice(0)),r=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))));var e,t}},{key:"toggleSigned",value:function(){this.setState(function(e){return m()(e,{signed:{$set:!e.signed}})})}},{key:"render",value:function(){var e=this,t=this.state,n=t.page,r=t.pageSize,u=t.popover,c=t.signed;return o.createElement(o.Fragment,null,o.createElement(y.G,{ref:this.pdfFormModal}),o.createElement(s.mg,null,o.createElement("title",null,"Requested Signatures")),o.createElement("div",{className:"text-right"},o.createElement(l.A,{color:"primary",size:"sm",onClick:function(){return e.toggleSigned()}},c?"View Unsigned Documents":"View Signed Documents")),o.createElement(i.X,{query:this.GET_SIGNATURE_REQUESTS(),variables:{filter:{signed:c,is_external:!1},pagination:{page:n,pageSize:r}},fetchPolicy:"cache-and-network"},function(t){var i,c,l=t.data,f=t.loading,s=t.error,p=t.refetch;return f?o.createElement("div",{className:"loader"},"Loading..."):s?o.createElement(g.v,{error:s}):0===(null==l||null===(i=l.myDocumentsToSign)||void 0===i?void 0:i.length)?o.createElement("div",{className:"text-center",style:{margin:"3em 0"}},"You do not currently have any documents to sign"):(p&&(e.refetch=p),o.createElement(a.A,{tableName:"accountSignatureRequestList",loading:f,error:s,data:null==l?void 0:l.myDocumentsToSign,canSearch:!1,columns:e.getColumns(),pagination:{page:n,pageSize:r,total:f||s?void 0:(null==l||null===(c=l.myDocumentsToSign)||void 0===c?void 0:c.length)||1},search:"",updateState:e.updateState,popover:u,canHideColumns:!1}))}))}}],d&&N(n.prototype,d),v&&N(n,v),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,d,v,S,O}(o.Component);const M=U=I([L],U);n.d(t,["default",0,M])}}]);

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.