1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="23652a91-d481-4b9d-99c7-821d0eb096e2",t._sentryDebugIdIdentifier="sentry-dbid-23652a91-d481-4b9d-99c7-821d0eb096e2")}catch(t){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"hdc_web_v2.4-staging|prod"},(this.webpackJsonphdc_web=this.webpackJsonphdc_web||[]).push([[0],{1314:function(t,e,s){"use strict";s.r(e),s.d(e,"id",(function(){return o})),s.d(e,"ids",(function(){return i})),s.d(e,"modules",(function(){return n}));const o=338,i=[338,486,917],n={917:(t,e,s)=>{function o(t){let e=(t=t instanceof Date?t:new Date).getFullYear(),s=t.getMonth()+1,o=t.getDate(),i=t.getDay(),n=t.getHours(),h=t.getMinutes(),r=t.getSeconds(),a=t.getMilliseconds(),c=-t.getTimezoneOffset()/60,l=parseInt(c,10);return{year:e,month:s,day:o,dayOfWeek:i,hour:n,minute:h,second:r,milliseconds:a,tzHour:l,tzMinute:Math.abs(60*(c-l))}}s.d(e,{Z:()=>o})},411:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=s(74),i=s(630),n=s(917);const h=class{constructor(t,e,s={}){this.t=t,this.annot=e,this.i=Object.assign({onUpdated:()=>{},onActivate:()=>{},onInactivate:()=>{},onContextmenu:()=>{},modifyAnnotProps:t=>Promise.resolve(t)},s),this.o=null,this.h=[],this.isActive=!1}activate(){if(this.isActive)return;const{rect:t}=this.annot,e=this.t.transformPDFToDevice(),[s,o,n,h]=e.transformRect(t.left,t.top,t.right,t.bottom);this.o=new i.ZP({left:s,top:o,right:n,bottom:h},this.t.ePagePad,{vertexType:i.vW,onUpdated:this.updateRect.bind(this),onContextmenu:t=>this.i.onContextmenu(this.t,this,t)}),this.o.activate(),this.isActive=!0,this.i.onActivate(this.t,this)}inactivate(){this.isActive&&(this.h.forEach((t=>t())),this.h=[],this.o.inactivate(),this.o=null,this.isActive=!1,this.i.onInactivate(this.t,this))}updateRect(t){const e=this.t,s=e.pdfDocRender,i=s.pdfViewer.workerFetch,{handle:h}=this.annot,r=e.transformDeviceToPDF(),[a,c,l,d]=r.transformRect(t.left,t.top,t.right,t.bottom);this.i.modifyAnnotProps({rect:{left:a,top:c,right:l,bottom:d},modifiedDateTime:(0,n.Z)()},"modify").then((t=>{i.request("doc/page/annot/set",{doc:s.docId,page:e.index,annot:h,set:t}).then((t=>{const s=t.find((t=>t.type===o.Zp)),i=e.transformPDFToDevice(),n=t=>{const{rect:e}=t,[s,o,n,h]=i.transformRect(e.left,e.top,e.right,e.bottom);return{left:s,top:o,right:n,bottom:h,flags:4}};e.redraw(n(s),n(this.annot)),this.annot=s,this.i.onUpdated(t)}))}))}}},630:(t,e,s)=>{s.d(e,{Bw:()=>l,Gj:()=>r,Qc:()=>i,ZP:()=>d,nT:()=>c,qC:()=>n,vW:()=>h});var o=s(832);const i=1,n=2,h=3,r=8,a="px",c=(t={},e)=>{t=Object.assign({cursor:"move",left:0+a,top:0+a,width:r+a,height:r+a},t);const s=document.createElement("div");return s.classList.add("fx-rect-control-vertex"),Object.entries(t).forEach((t=>{s.style[t[0]]=t[1]})),e.appendChild(s),s},l=(t,e,s)=>{s=Object.assign({start:()=>{},move:()=>{},end:()=>{}},s);let i=null,n=!1;const h=e=>{e.target===t&&(i=(0,o.wA)(e),s.start(),e.stopPropagation())},r=t=>{if(!i)return;n=!0;const[e,h]=(0,o.wA)(t),[r,a]=[e-i[0],h-i[1]];i=[i[0]+r,i[1]+a],s.move(r,a),t.stopPropagation(),t.preventDefault()},a=t=>{i&&(s.end(n),i=null,n=!1,t.stopPropagation())},c=o.b1?{touchstart:h,touchmove:r,touchend:a,touchcancel:a}:{mousedown:h,mousemove:r,mouseup:a,mouseleave:a};return Object.entries(c).forEach((t=>e.addEventListener(...t))),()=>{Object.entries(c).forEach((t=>e.removeEventListener(...t)))}};class d{constructor(t,e,s){this.l=t,this.u=e,this.i=Object.assign({vertexType:h,beforeActivate:()=>{},afterActivate:()=>{},beforeInactivate:()=>{},afterInactivate:()=>{},onUpdated:()=>{},onUpdating:()=>{},onContextmenu:()=>{}},s),this.m=null,this.p={},this.h=[]}setOption(t){this.i=Object.assign(this.i,t)}getControlDom(){return this.m}getContainerDom(){return this.u}activate(){this.i.beforeActivate(),this.v(),this.j(),this.i.afterActivate()}inactivate(){this.i.beforeInactivate(),this.h.forEach((t=>
1t())),this.h=[],Object.values(this.p).forEach((t=>this.m.removeChild(t))),this.u.removeChild(this.m),this.i.afterInactivate()}O(t){if(!t)return;const e=this.m,s=this.l,o={left:e.offsetLeft,top:e.offsetTop,right:e.offsetLeft+e.offsetWidth,bottom:e.offsetTop+e.offsetHeight};this.l=o,this.i.onUpdated(o,s)}adjustRect(t){const{left:e,top:s,right:o,bottom:i}=t,n=this.m;n.style.cursor="move",n.style.left=e+a,n.style.top=s+a,n.style.width=o-e+a,n.style.height=i-s+a,this.l=t}v(){const t=this.u,e=this.m=document.createElement("div");e.classList.add("fx-rect-control"),t.appendChild(e),this.adjustRect(this.l),this.i.vertexType!==i&&(this.p.eWest=c({cursor:"w-resize",left:-r/2+a,top:`calc(50% - ${r/2+a})`},e),this.p.eNorth=c({cursor:"n-resize",left:`calc(50% - ${r/2+a})`,top:-r/2+a},e),this.p.eEast=c({cursor:"e-resize",left:`calc(100% - ${r/2+a})`,top:`calc(50% - ${r/2+a})`},e),this.p.eSouth=c({cursor:"s-resize",left:`calc(50% - ${r/2+a})`,top:`calc(100% - ${r/2+a})`},e),this.i.vertexType===h&&(this.p.eNorthWest=c({cursor:"nw-resize",left:-r/2+a,top:-r/2+a},e),this.p.eNorthEast=c({cursor:"ne-resize",left:`calc(100% - ${r/2+a})`,top:-r/2+a},e),this.p.eSouthEast=c({cursor:"se-resize",left:`calc(100% - ${r/2+a})`,top:`calc(100% - ${r/2+a})`},e),this.p.eSouthWest=c({cursor:"sw-resize",left:-r/2+a,top:`calc(100% - ${r/2+a})`},e)))}j(){this.g(),this.i.vertexType!==i&&this.$()}g(){const t=this.u,e=this.m,s=this.p;let i,n=!1;const h=t=>{t.target===e&&(i=(0,o.wA)(t),Object.values(s).forEach((t=>t.style.pointerEvents="none")),t.stopPropagation())},r=s=>{if(!i)return;n=!0;const[h,r]=(0,o.wA)(s),[c,l]=[h-i[0],r-i[1]];i=[i[0]+c,i[1]+l];let d=c+parseFloat(e.style.left);d<0?d=0:d+e.offsetWidth>t.clientWidth&&(d=t.clientWidth-e.offsetWidth);let f=l+parseFloat(e.style.top);f<0?f=0:f+e.offsetHeight>t.clientHeight&&(f=t.clientHeight-e.offsetHeight),e.style.left=d+a,e.style.top=f+a,s.stopPropagation(),s.preventDefault()},c=t=>{i&&(this.O(n),Object.values(s).forEach((t=>t.style.pointerEvents="")),i=null,n=!1,t.stopPropagation())},l=t=>{t.stopPropagation(),t.preventDefault(),this.i.onContextmenu(t)},d=o.b1?{touchstart:h,touchmove:r,touchend:c,touchcancel:c}:{mousedown:h,mousemove:r,mouseup:c,mouseleave:c};Object.entries(d).forEach((e=>t.addEventListener(...e))),o.b1||e.addEventListener("contextmenu",l),this.h.push((()=>{Object.entries(d).forEach((e=>t.removeEventListener(...e))),o.b1||e.removeEventListener("contextmenu",l)}))}$(){const t=this.u,e=this.m,s=this.O.bind(this),o=(t,s)=>{const o=parseFloat(e.style.left),i=e.offsetWidth;let n=o+t,h=i-t;h>o+i?(n=0,h=o+i-n):h<1&&(h=1,n=o+i-h),e.style.left=n+a,e.style.width=h+a},i=(t,s)=>{const o=parseFloat(e.style.top),i=e.offsetHeight;let n=o+s,h=i-s;h>o+i?(n=0,h=o+i-n):h<1&&(h=1,n=o+i-h),e.style.top=n+a,e.style.height=h+a},n=(s,o)=>{const i=parseFloat(e.style.left);let n=e.offsetWidth+s;n>t.clientWidth-i?n=t.clientWidth-i:n<1&&(n=1),e.style.width=n+a},r=(s,o)=>{const i=parseFloat(e.style.top);let n=e.offsetHeight+o;n>t.clientHeight-i?n=t.clientHeight-i:n<1&&(n=1),e.style.height=n+a};this.h.push(l(this.p.eWest,t,{move:o,end:s}),l(this.p.eEast,t,{move:n,end:s}),l(this.p.eNorth,t,{move:i,end:s}),l(this.p.eSouth,t,{move:r,end:s})),this.i.vertexType===h&&this.h.push(l(this.p.eNorthWest,t,{move:(t,e)=>{i(0,e),o(t)},end:s}),l(this.p.eNorthEast,t,{move:(t,e)=>{i(0,e),n(t)},end:s}),l(this.p.eSouthEast,t,{move:(t,e)=>{r(0,e),n(t)},end:s}),l(this.p.eSouthWest,t,{move:(t,e)=>{r(0,e),o(t)},end:s}))}}}}}}]); 2//# sourceMappingURL=0.a42f02b9.js.map
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.