@reltio/remotes 1.4.1680 → 1.4.1682
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1039.js +1 -1
- package/1088.js +1 -1
- package/1148.js +1 -1
- package/1215.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/1550.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1840.js +1 -1
- package/2066.js +1 -1
- package/2400.js +1 -1
- package/2596.js +1 -1
- package/2617.js +1 -1
- package/2966.js +1 -1
- package/3096.js +1 -1
- package/3144.js +1 -1
- package/3209.js +1 -1
- package/3348.js +1 -1
- package/3373.js +1 -1
- package/3381.js +1 -1
- package/3383.js +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/3639.js +1 -1
- package/3785.js +1 -1
- package/4038.js +1 -1
- package/4143.js +1 -1
- package/415.js +1 -1
- package/4197.js +1 -1
- package/4197.js.map +1 -1
- package/4212.js +1 -1
- package/4481.js +1 -1
- package/4610.js +1 -1
- package/4787.js +1 -1
- package/4806.js +1 -1
- package/4838.js +1 -1
- package/50.js +1 -1
- package/5039.js +1 -1
- package/5177.js +1 -1
- package/5201.js +1 -1
- package/5258.js +1 -1
- package/5292.js +1 -1
- package/5383.js +1 -1
- package/5738.js +1 -1
- package/5738.js.map +1 -1
- package/5769.js +1 -1
- package/6287.js +1 -1
- package/636.js +1 -1
- package/6422.js +1 -1
- package/658.js +1 -1
- package/6799.js +1 -1
- package/6844.js +1 -1
- package/6903.js +1 -1
- package/7074.js +1 -1
- package/7119.js +1 -1
- package/7237.js +1 -1
- package/7340.js +1 -1
- package/735.js +1 -1
- package/7407.js +1 -1
- package/7422.js +1 -1
- package/7468.js +1 -1
- package/7605.js +1 -1
- package/7626.js +1 -1
- package/7744.js +1 -1
- package/7802.js +1 -1
- package/7896.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/8216.js +1 -1
- package/8216.js.map +1 -1
- package/829.js +1 -1
- package/8741.js +1 -1
- package/8786.js +1 -1
- package/9016.js +1 -1
- package/9032.js +1 -1
- package/9050.js +1 -1
- package/9109.js +1 -1
- package/9283.js +1 -1
- package/9328.js +1 -1
- package/9387.js +1 -1
- package/9719.js +1 -1
- package/9861.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
package/2617.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7cad6965-04f5-47fc-bb3d-1e8ea1129ed2",e._sentryDebugIdIdentifier="sentry-dbid-7cad6965-04f5-47fc-bb3d-1e8ea1129ed2")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1681"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2617],{42639:(e,t,n)=>{n.d(t,{Z:()=>u});var a,r=n(65439),i=n(71153),l=n.n(i),o=n(24328),s=n.n(o);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}!function(e){e[e.ICON_MODE=0]="ICON_MODE",e[e.TEXT_MODE=1]="TEXT_MODE",e[e.ERROR_MODE=2]="ERROR_MODE"}(a||(a={}));const u=e=>{let{className:t,icon:n,avatarText:i,rootClasses:u}=e,d=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","icon","avatarText","rootClasses"]);const[p,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{h(n?a.ICON_MODE:a.TEXT_MODE)}),[n,i]);const m=()=>{h(a.ERROR_MODE)};switch(p){case a.ICON_MODE:return s().createElement(r.Z,c({className:l()(t,null==u?void 0:u.iconRoot),src:n,onError:m},d));case a.TEXT_MODE:case a.ERROR_MODE:return s().createElement(r.Z,c({className:l()(t,null==u?void 0:u.textRoot)},d),i);default:return null}}},30488:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(38748),r=n(50548);const i=e=>t=>(0,r.l)(a.X,e,t)},87825:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(24328),r=n.n(a),i=n(13980),l=n.n(i),o=n(53862);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(this,arguments)}const c=e=>r().createElement("svg",s({width:20,height:18,viewBox:"0 0 20 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M16 7.24V6h-4v1.24a8.417 8.417 0 00-2 .768V6H6v6h.29a8.497 8.497 0 00-.15.358l-.29.733.29.733.07.176H2c-1.1 0-2-.9-2-2V2C0 .9.9 0 2 0h14c1.1 0 2 .9 2 2v6.008a8.417 8.417 0 00-2-.768zM4 12V6H2v6h2zm0-8V2H2v2h2zm6 0V2H6v2h4zm6 0V2h-4v2h4zm-2 5a6.451 6.451 0 00-6 4.09 6.451 6.451 0 006 4.092 6.451 6.451 0 006-4.091A6.451 6.451 0 0014 9zm0 6.818a2.728 2.728 0 010-5.454 2.728 2.728 0 010 5.454zm0-4.363c-.905 0-1.636.73-1.636 1.636 0 .905.73 1.636 1.636 1.636.905 0 1.636-.73 1.636-1.636 0-.906-.73-1.636-1.636-1.636z",fill:"#000",fillRule:"nonzero",stroke:"none",strokeWidth:1,opacity:.54}));var u=n(39475),d=n(50914),p=n(45013),h=n(2507),m=n.n(h),b=n(15954);const g=e=>{let{columnsData:t,selectedColumns:n,onChangeColumns:i,title:l,tooltipTitle:o}=e;const[s,h]=(0,a.useState)(null),g=(0,a.useCallback)((e=>{const t=(0,d.pipe)(b.JJ,(0,d.pluck)("id"))(e),a=(0,b.u)(n,e);i(a?(0,d.difference)(n,t):(0,d.uniq)((0,d.concat)(n,t)))}),[n,i]);return r().createElement(r().Fragment,null,r().createElement(u.k,{tooltipTitle:o||m().text("Show/hide columns"),size:"L",icon:c,onClick:e=>h(e.currentTarget)}),r().createElement(p.G,{onColumnClick:g,anchorEl:s,columnsData:t,onClose:()=>h(null),title:l,selectedColumns:n}))};g.propTypes={columnsData:o.uz,selectedColumns:l().arrayOf(l().string),onChangeColumns:l().func,title:l().string,tooltipTitle:l().string};const f=g},45013:(e,t,n)=>{n.d(t,{G:()=>E});var a=n(24328),r=n.n(a),i=n(2507),l=n.n(i),o=n(50914),s=n(98679),c=n(63485),u=n(22311),d=n(15954),p=n(41008),h=n(26638),m=n(13980),b=n.n(m),g=n(33117),f=n(94792),y=n(71153),v=n.n(y);const x=(0,n(72342).makeStyles)({popup:{minWidth:"200px"},groupItem:{backgroundColor:"rgba(0,0,0,0.04)"}}),C=e=>{let{item:t,onClick:n,checked:a,level:i,style:l,isFocused:o,isGroupItem:s,hideCheckBox:c}=e;const u=x();return r().createElement(g.Z,{hideCheckBox:c,key:t.id,onClick:n,checked:a,level:i,data:t,label:r().createElement(f.Z,{text:t.label,highlight:t.filterText}),labelInText:t.label,style:l,isFocused:o,hideIcon:s,className:v()({[u.groupItem]:s})})};C.propTypes={item:b().shape({label:b().string,filterText:b().string}),level:b().number,onClick:b().func,checked:b().bool,style:b().object,isGroupItem:b().bool,isFocused:b().bool,hideCheckBox:b().bool};const k=C,E=e=>{let{anchorEl:t,onClose:n,title:i,columnsData:m,onColumnClick:b,selectedColumns:g,hideCheckBox:f}=e;const y=x(),[v,C]=(0,a.useState)(""),E=(0,a.useMemo)((()=>(0,d.eX)(m,v)),[m,v]),O=(0,a.useMemo)((()=>(0,p.LG)(E)),[E]),S=(0,s.fW1)("label")(E)||308,I=(0,a.useCallback)((e=>{let{item:t}=e;return b(t)}),[b]),{focusIndex:w,handleKeyDown:T}=(0,h.t)({items:O,open:!0,onSelectFocusedItem:I,selectedItems:g,onClose:n}),P=(0,a.useCallback)((0,o.pipe)(n,(()=>C(""))),[n]),R=Math.min(300,32*O.length),j=Math.max(140,R+108);return r().createElement(u.Z,{className:y.popup,open:!!t,anchorEl:t,onClose:P,onSearch:C,title:i||l().text("Show/hide columns"),containerWidth:S,containerHeight:j,searchInputOnKeyDown:T},r().createElement(c.Z,{fixedTitle:!1,height:R,renderItem:(e,t,n)=>{let{item:a,level:i=0}=t;return r().createElement(k,{hideCheckBox:f,style:e,item:a,level:i,isFocused:w===n,checked:(0,d.u)(g,a),isGroupItem:(0,d.yf)(a),onClick:f?(0,o.pipe)(b,P):b})},items:O,getItemSize:()=>32,focusIndex:w}))}},15954:(e,t,n)=>{n.d(t,{eX:()=>f,JJ:()=>y,yf:()=>o,u:()=>v});var a=n(50914),r=n(98679);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o=e=>e.id===e.groupId,s=(0,a.curry)(((e,t)=>{let{id:n,groupId:a}=e;return t.groupId===a&&(n===t.id||n.startsWith(`${t.id}.`))})),c=(0,a.curry)(((e,t)=>{let{groupId:n}=e;return n===t.id})),u=(0,a.propOr)(!0,"hideable"),d=(e,t)=>{const n=((e,t)=>e.find((0,a.either)(c(t),s(t))))(e,t);return n?(n.children=d(n.children||[],t),e):e.concat(t)},p=(0,a.curry)(((e,t)=>r.P6Y.strings.search(t.label,e)||(t.children||[]).some(p(e)))),h=(0,a.reduce)(((e,t)=>d(e,{id:t.id,groupId:t.groupId,label:t.label,attrType:t.dataTypeDefinition})),[]),m=(0,a.curry)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,a.pipe)((0,a.filter)(p(e)),(0,a.chain)((t=>[{item:i({},t,{filterText:e}),level:n},...t.children?m(e,t.children,n+1):[]])))(t)})),b=(0,a.has)("columns"),g=e=>{let{id:t,label:n,columns:r}=e;return[{id:t,groupId:t,label:n},...r.map((0,a.assoc)("groupId",t))]},f=(e,t)=>(0,a.pipe)((0,a.chain)((0,a.when)(b,g)),(0,a.filter)((0,a.either)(o,u)),h,m(t))(e),y=e=>e.children?(0,a.chain)(y,e.children):[e],v=(e,t)=>{const n=y(t),a=t=>e.includes(t.id);return o(t)?n.every(a):n.some(a)}},20146:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),i=n(71153),l=n.n(i),o=n(98679),s=n(79312),c=n(40007),u=n(14596);const d=(0,n(72342).makeStyles)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px",flexShrink:0},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px",flexShrink:0}}),p=e=>{let{entity:t,className:n,size:a="small"}=e;const i=d(),p=(0,u.AH)(),h=(0,o.nt9)(p,t.type),m=(h?(0,o.VD3)(p,h,"typeColor"):null)||o.rSc.palette.primary.main,b=(0,o.jFi)(p,t);return r().createElement(c.Z,{value:b,placement:"top"},r().createElement(s.Z,{style:{backgroundColor:m,color:o.P6Y.Colors.getColor(m)?"#FFFFFF":"#212121"},className:l()(i[`entityType-${a}`],i["entityType-overflow"],n),component:"div"},b))}},79386:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(24328),r=n.n(a),i=n(71153),l=n.n(i),o=n(50914),s=n(79312),c=n(23883),u=n(2507),d=n.n(u),p=n(98679),h=n(37573),m=n(20146),b=n(14596);const g=(0,n(72342).makeStyles)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"0px 1px 0px rgba(0, 0, 0, 0.12)",marginBottom:"1px","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),f=e=>{let{className:t,entity:n,children:i,classes:u,renderLabel:f=o.identity}=e;const y=g({classes:u}),v=(0,b.AH)(),x=(0,b.QQ)(),C=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,p.BTI)(n))}),[n]);if((0,o.isNil)(n))return null;const k=(0,p.idV)(n.label),E=n.secondaryLabel,O=(0,p.ptG)(v,n),S=(0,p.Fn9)(n),I=n.uri,w=(0,p.BTI)(n);return r().createElement("div",{className:l()(y.profileBandWrapper,t)},r().createElement("div",{className:l()(y.profileBand,{[y.inactive]:!S}),"data-entity-uri":I},r().createElement(h.Z,{key:n.uri,entity:n,avatarClassName:y.profileIcon,imageClassName:y.imageProfileIcon}),r().createElement("div",{className:y.profileInfo},r().createElement("div",null,r().createElement(s.Z,{variant:"h6",className:y.label},f(k)),E&&r().createElement(s.Z,{variant:"subtitle2",className:y.secondaryLabel},E),O&&r().createElement(s.Z,{variant:"subtitle1",className:y.businessCard},O)),r().createElement("div",{className:y.specialInfo},r().createElement("div",{className:y.entityType},r().createElement(m.Z,{entity:n,size:"medium",className:y.badge}),!(0,p.ZiX)(I)&&x&&r().createElement(c.Z,{title:d().text("Copy to clipboard")},r().createElement(s.Z,{display:"inline",variant:"body2",className:y.entityId,onClick:C},d().text("Entity ID"),": ",w))))),i&&r().createElement("div",null,i)))}},76368:(e,t,n)=>{n.d(t,{a:()=>N});var a=n(24328),r=n.n(a),i=n(55485),l=n(23468),o=n(31373),s=n(98679),c=n(71153),u=n.n(c),d=n(50914),p=n(2507),h=n.n(p),m=n(49753),b=n(78223),g=n(39475);const f=(0,n(72342).makeStyles)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),y=(0,b.Z)(i.Z),v=e=>{var t;let{className:n,total:i=0,onPrev:c,onNext:p,onSearchResultsClick:b,isPrevDisabled:v,isNextDisabled:x}=e;const C=f(),k=(0,a.useContext)(m.T),{OPEN_RESULTS:E,SEARCH_RESULT:O,SEARCH_RESULTS:S,NEXT_PROFILE:I,PREVIOUS_PROFILE:w}=(0,d.mergeRight)({OPEN_RESULTS:h().text("Go to search results"),SEARCH_RESULT:h().text("Search result"),SEARCH_RESULTS:h().text("Search results"),PREVIOUS_PROFILE:h().text("Go to previous profile"),NEXT_PROFILE:h().text("Go to next profile")},null!==(t=null==k?void 0:k.profileBand)&&void 0!==t?t:{});return r().createElement("div",{className:u()(C.container,n)},r().createElement(y,{className:C.link,component:"button",variant:"caption",onClick:b,underline:"none",tooltipTitle:E},(0,s.k7L)(i,1e6)," ",1===i?O:S),r().createElement(g.k,{size:"L",icon:l.Z,"data-reltio-id":"reltio-previous-profile-button",tooltipTitle:w,onClick:c,disabled:v,showForDisabled:!0}),r().createElement(g.k,{size:"L",icon:o.Z,"data-reltio-id":"reltio-next-profile-button",tooltipTitle:I,onClick:p,disabled:x,showForDisabled:!0}))};var x=n(63532),C=n(14596),k=n(96697),E=n(98001),O=n(19701);function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){I(e,t,n[t])}))}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:{query:n,sortField:a,sortOrder:r},tenant:i,searchTenant:l,apiPath:o,dtssPath:c,globalSearchRequestOptions:u}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[t.getQueryFilter(),...e],r=S({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,s.uqV)({filters:a,options:r,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,s.ZOr)(a,r)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,s.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,s.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=a,this.sortOrder=r,this.tenant=i,this.searchTenant=l,this.apiPath=o,this.dtssPath=c,this.globalSearchRequestOptions=u}}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class R{constructor(e){var t=this;let{data:n,tenant:a,apiPath:r}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[{rawFilter:t.searchBody.filter},...e];return(0,s.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:T({},t.searchBody,{filter:e.length?(0,s.Uqd)()(a):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,s.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,s.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=a,this.apiPath=r}}const j=(e,t)=>(0,d.pipe)((0,d.map)((0,d.prop)("uri")),(0,d.reject)((e=>t.includes(e))))(e),N=e=>{let{className:t}=e;const{total:n,onPrev:i,onNext:l,onSearchResultsClick:o,isPrevDisabled:c,isNextDisabled:u}=(()=>{const e=(0,O._)(),t=(0,O._)(),n=(0,O._)(),r=(0,a.useContext)(x.m),i=(0,C.qq)("searchNavigationListener"),l=(0,C.ax)("updateSearchNavigationDataFields"),o=(0,C.ax)("openEntity"),c=(0,C.ax)("openPerspective"),{uri:u,index:d,total:p,tenant:h,cache:m}=(0,C.M3)()||{},{type:b,data:g}=(0,C.XS)()||{},f=(0,C.Uv)(),y=(0,C.id)(),v=(0,C.rg)(),S=(0,C.mU)(["ovOnly"]),{updateEntitiesNavigationLoadingState:I}=(0,k.M)(),[T,P]=(0,a.useState)(!1),N=(0,a.useMemo)((()=>((e,t)=>{switch(e){case"search":return new w(t);case"graphsearch":return new R(t)}})(b,{data:g,tenant:f,searchTenant:h,apiPath:y,dtssPath:v,globalSearchRequestOptions:S})),[b,g,f,h,y,v,S]),D=(0,a.useCallback)((e=>{l(e)}),[l]),z=(0,a.useCallback)((e=>{const t=f!==h?(0,s.wwR)({uri:e,dataTenant:h}):e;o({uri:t,viewId:r,source:"navigation"})}),[o,r,f,h]),Z=(0,a.useCallback)((()=>{c({perspectiveId:b,viewId:r})}),[c,b,r]);(0,a.useEffect)((()=>{d>=p?D({index:p-1}):d<0&&D({index:0})}),[p,d,D]);const F=(0,E.u)();(0,a.useEffect)((()=>{const e=F(i);return()=>e()}),[F,D,i]);const L=(0,a.useCallback)(((e,a,r)=>{P(!0),t(N.requestTotal()).then((e=>D({total:e})));const i=r+1;return n(N.requestEntities(15,i)).then((t=>{if(t){if(t.length){const n=j(t,e);if(n.length>0)return D({cache:e.concat(n),uri:n[0],index:i+t.length-n.length}),void z(n[0]);if(r+t.length<a-1)return L(e,a-t.length,r+t.length)}D({index:i})}})).finally((()=>{P(!1)}))}),[N,D,z]),_=(0,a.useCallback)(((e,a)=>{P(!0),t(N.requestTotal()).then((e=>D({total:e})));const r=a-1,i=Math.max(0,a-15),l=15+Math.min(0,a-15);return n(N.requestEntities(l,i)).then((t=>{if(t){if(t.length){const n=j(t,e);if(n.length>0)return D({cache:n.concat(e),uri:n[n.length-1],index:r-(t.length-n.length)}),void z(n[n.length-1]);if(a-t.length>0)return _(e,a-t.length)}D({index:0})}})).finally((()=>{P(!1)}))}),[N,D,z]),B=(0,a.useCallback)(((t,n,a,r)=>{if(n<t.length){const i=t[n];return P(!0),e(N.checkEntity(i)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),B(e,n,a-1,r)}D({index:r+1,uri:i,cache:t,total:a}),z(i)})).finally((()=>{P(!1)}))}if(!(r>=a-1))return L(t,a,r);D({cache:t,total:a,index:a-1})}),[N,D,z,L]),q=(0,a.useCallback)(((t,n,a,r)=>{if(n>-1){const i=t[n];return P(!0),e(N.checkEntity(i)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),q(e,n-1,a-1,r-1)}D({index:r-1,uri:i,cache:t,total:a}),z(i)})).finally((()=>{P(!1)}))}if(!(r<=0))return _(t,r);D({index:0,cache:t,total:a})}),[N,D,z,_]),M=(0,a.useCallback)((()=>{if(m&&u){const e=m.indexOf(u)-1;q(m,e,p,d)}}),[q,m,u,p,d]),H=(0,a.useCallback)((()=>{if(m&&u){const e=m.indexOf(u)+1;B(m,e,p,d)}}),[B,m,u,p,d]);return(0,a.useEffect)((()=>{I(T)}),[I,T]),(0,a.useEffect)((()=>()=>I(!1)),[]),{total:p,onPrev:M,onNext:H,onSearchResultsClick:Z,isPrevDisabled:T||d<=0,isNextDisabled:T||d>=p-1}})();return(()=>{const{cache:e}=(0,C.M3)()||{},t=(0,C.YA)(),n=(0,C.eh)();return(0,s.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?r().createElement(v,{className:t,total:n,onPrev:i,onNext:l,onSearchResultsClick:o,isPrevDisabled:c,isNextDisabled:u}):null}},11802:(e,t,n)=>{n.d(t,{u:()=>h});var a=n(24328),r=n.n(a),i=n(71153),l=n.n(i),o=n(31396),s=n(47746),c=n(98679);const u=(0,n(72342).makeStyles)((()=>({container:{position:"relative","& .Resizer":{zIndex:1,boxSizing:"border-box",backgroundClip:"padding-box","&.disabled":{cursor:"initial",height:0,margin:0},"&.horizontal":{height:"11px",backgroundImage:"linear-gradient(rgba(0,0,0,0.33), rgba(0,0,0,0.33))",backgroundRepeat:"no-repeat",backgroundSize:"100% 1px",backgroundPosition:"top",width:"100%",marginBottom:"-10px","&:not(.disabled):hover":{cursor:"row-resize",backgroundImage:"linear-gradient(rgba(0, 114, 206, 0), rgba(0, 114, 206, 0.35), rgba(0, 114, 206, 1))",backgroundSize:"100% 3px"}},"&.vertical":{width:"11px",backgroundImage:"linear-gradient(rgba(0,0,0,0.33), rgba(0,0,0,0.33))",backgroundRepeat:"no-repeat",backgroundSize:"1px 100%",backgroundPosition:"left",height:"100%",marginRight:"-10px","&:not(.disabled):hover":{cursor:"col-resize",backgroundImage:"linear-gradient(to left, rgba(0, 114, 206, 0.35), rgba(0, 114, 206, 1), rgba(0, 114, 206, 0.35))",backgroundSize:"3px 100%"}}}}}))),d=250,p=e=>"horizontal"===e,h=e=>{let{className:t,children:n,orientation:i,primary:h,defaultSize:m,size:b,minSize:g,maxSize:f,allowResize:y,debounceInterval:v=d,onChange:x}=e;const C=u(),k=(0,s.Z)(),[E,O]=(0,a.useState)(null),[S,I]=(0,a.useState)(!0),w=(0,a.useCallback)((()=>I(!0)),[]),T=(0,a.useCallback)((()=>I(!1)),[]),P=()=>p(i)?null==E?void 0:E.clientHeight:null==E?void 0:E.clientWidth,R=(0,a.useCallback)((0,c.DsO)((e=>{const t=P();x({percentageSize:e/t*100+"%",isMaxSize:+f>0?e===f:e===t+f,isMinSize:e===g,size:e})}),v),[x,i,f,E]),j=(0,a.useMemo)((()=>({transition:k.transitions.create(p(i)?"height":"width",{easing:k.transitions.easing.sharp,duration:k.transitions.duration.leavingScreen})})),[i,k]);return"number"==typeof b&&b<0&&(b=(P()||0)+b),r().createElement("div",{ref:O,className:l()(C.container,t)},r().createElement(o.Z,{split:i,size:b,primary:h,allowResize:y,onChange:R,defaultSize:m,minSize:g,maxSize:f,onDragStarted:T,onDragFinished:w,pane1Style:S?j:void 0},n))};h.displayName="ResizablePanes"},21210:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),i=n(98679),l=n(42639),o=n(14596);const s=e=>{let{sourceType:t,className:n,classes:a}=e;const s=(0,o.AH)(),{uri:c,icon:u}=(0,i.PWK)(s,t)||{},d=c?(0,i.tH7)(s,c)[0]:"",p=u?(0,i.vPL)("https://s3.amazonaws.com/reltio.images/api",u):null;return r().createElement(l.Z,{className:n,avatarText:d,icon:p,variant:"square",rootClasses:a})}},79935:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(24328),r=n.n(a);const i=()=>r().createElement("div",{style:{flex:1}})},75647:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),i=n(2507),l=n.n(i),o=n(38677),s=n(79312),c=n(14596);const u=(0,n(72342).makeStyles)({root:{display:"flex",alignItems:"flex-start"},slice:{fontWeight:500},cancelButton:{width:"88px",flexShrink:0,marginLeft:"15px"}}),d=()=>{const e=u(),t=(0,c.ax)("clearHistoryEvent"),n=(0,c.OK)();return n?r().createElement("div",{className:e.root},r().createElement(s.Z,{component:"div"},l().text("You are viewing a historic slice:")," ",r().createElement("span",{className:e.slice},l().date(n.aStamp,"llll"))),r().createElement(o.Z,{className:e.cancelButton,variant:"contained",color:"primary",onClick:t},l().text("Cancel"))):null}},98001:(e,t,n)=>{n.d(t,{G:()=>l,u:()=>o});var a=n(24328),r=n.n(a);const i=(0,a.createContext)(null);i.displayName="ActionsHookContext";const l=e=>{let{children:t,hook:n}=e;return r().createElement(i.Provider,{value:n},t)},o=()=>{const e=(0,a.useContext)(i);if(!e)throw new Error("ActionsHookContext must be provided");return e}},23759:(e,t,n)=>{n.d(t,{hR:()=>c,nX:()=>u,RT:()=>d,pu:()=>p,BF:()=>h});var a=n(24328),r=n.n(a),i=n(98679),l=n(50914),o=n(79573);const s=(0,a.createContext)(null),c=e=>{let{children:t}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children"]);return r().createElement(s.Provider,{value:n},t)},u=e=>{const{getCrosswalkColor:t=(0,l.pipe)(i.uKF,i.CJp)}=(0,a.useContext)(s)||{};return e?t(e):""},d=()=>{const{highlightedCrosswalks:e=[]}=(0,a.useContext)(s)||{};return e},p=e=>{const{highlightedCrosswalks:t=[],setCrosswalkHighlighted:n=o.ZT}=(0,a.useContext)(s)||{},r=!!e&&!!t.find((0,l.eqBy)(i.uKF,e));return{isHighlighted:r,isDimmed:t.length>0&&!r,highlightCrosswalk:(0,a.useCallback)((()=>n(e,!0)),[e,n]),removeHighlight:(0,a.useCallback)((()=>n(e,!1)),[e,n])}},h=e=>{const{toggleCrosswalkFocus:t=o.ZT,focusedCrosswalks:n=[]}=(0,a.useContext)(s)||{};return{isFocused:!!e&&n.some((0,l.eqBy)(i.uKF,e)),toggleCrosswalkFocus:(0,a.useCallback)((()=>t(e)),[e,t])}}},96697:(e,t,n)=>{n.d(t,{f:()=>h,M:()=>m});var a=n(24328),r=n.n(a),i=n(50914),l=n(79573),o=n(98001),s=n(14596);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=r().createContext({isLoading:!1,isEmptyState:!1,updateEntityLoadingState:l.ZT,updateEntitiesNavigationLoadingState:l.ZT,resetLoadingState:l.ZT}),p={entitiesNavigation:!1,entity:!1,entityCleansing:!1},h=e=>{let{children:t}=e;const n=(()=>{const[e,t]=(0,a.useState)(p),n=(0,a.useCallback)((e=>{t((t=>c({},t,{entity:e})))}),[]),r=(0,a.useCallback)((e=>{t((t=>c({},t,{entitiesNavigation:e})))}),[]),l=(0,a.useCallback)((e=>{t((t=>c({},t,{entityCleansing:e})))}),[]),u=(0,a.useCallback)((()=>{t(p)}),[]),d=(0,o.u)(),h=(0,s.qq)("cleanseLoadingListener"),m=(0,a.useMemo)((()=>h(l)),[h,l]);return(0,a.useEffect)((()=>{const e=d(m);return()=>e()}),[m,d]),{isLoading:Object.values(e).includes(!0),isEmptyState:(0,i.pipe)((0,i.omit)(["entityCleansing"]),i.values,(0,i.includes)(!0))(e),updateEntityLoadingState:n,updateEntitiesNavigationLoadingState:r,updateEntityCleansingLoadingState:l,resetLoadingState:u}})();return r().createElement(d.Provider,{value:n},t)},m=()=>(0,a.useContext)(d)},49753:(e,t,n)=>{n.d(t,{T:()=>r});var a=n(24328);const r=n.n(a)().createContext({profileBand:{}});r.displayName="LabelsContext"},36852:(e,t,n)=>{n.d(t,{C:()=>h});var a=n(24328),r=n(50914),i=n(98679),l=n(14596);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=(e,t)=>t.filter((t=>t.replyId!==e)),u=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),a=[...e.replies];return a[n]=t,a},d=[],p=e=>console.error("Collaboration error",e),h=e=>{let{objectIds:t=d,objectTypes:n,enabled:s=!0}=e;const h=(0,l.eh)(),m=(0,l.Uv)(),b=(0,l.f5)(),g=(0,l.Bv)()&&s,[f,y]=(0,a.useState)(null),[v,x]=(0,a.useState)([]),[C,k]=(0,a.useState)(null),[E,O]=(0,a.useState)(null),[S,I]=(0,a.useState)(!1),[w,T]=(0,a.useState)(!1),[P,R]=(0,a.useState)({}),j=(0,a.useCallback)((e=>{k((t=>o({},t,e)))}),[]),N=null==h?void 0:h.uri,D=(0,a.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(g&&N&&!(0,i.ZiX)(N)){const n=e=>{console.warn("Collaboration error",e),k(null)};(0,r.pipe)(i.$oF,(0,r.andThen)((0,r.map)((0,r.props)(["objectId","comments"]))),(0,r.andThen)(r.fromPairs),(0,r.andThen)(t?k:j),(0,r.otherwise)(n))({uris:e,tenant:m,collaborationPath:b})}else k(null)}),[j,b,N,g,m]);(0,a.useEffect)((()=>{D(t,!0)}),[t,D]);const z=(0,a.useCallback)(((e,t)=>{(0,i.liG)({collaborationPath:b,tenant:m,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:a}=e;x((e=>t?(0,r.uniqBy)((0,r.prop)("commentId"),[...e,...n]):n)),y(a)})).catch(p)}),[b,m]),Z=(0,a.useCallback)((e=>{T(!0),(0,i.d7q)({collaborationPath:b,tenant:m,commentId:e}).then(O).catch(p).finally((()=>T(!1)))}),[b,m]),F=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:l}=e;I(!0);const s={objectId:r,content:t,relatedObjectUris:l,objectType:a,visibility:"public",namedUsers:n,permanentLink:`${window.location.href}&commentId=${encodeURIComponent("{commentId}")}`};return(0,i.Yrx)({collaborationPath:b,tenant:m,data:s}).then((e=>{let[t]=e;return((e,t)=>{O(e),k((n=>o({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),x((t=>[e,...t]))})(t,r)})).catch(p).finally((()=>I(!1)))}),[b,m]),L=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:l,relatedObjectUris:s,commentId:c,replies:u}=e;I(!0);const d={objectId:l,content:t,relatedObjectUris:s,objectType:a,visibility:"public",namedUsers:n,commentId:c,replies:u};return(0,i.uAg)({collaborationPath:b,tenant:m,data:d}).then((e=>(e=>{O(e),x((0,r.map)((0,r.when)((0,r.propEq)("commentId",e.commentId),(0,r.always)(e))))})(o({},e,{replies:u})))).catch(p).finally((()=>I(!1)))}),[b,m]),_=(0,a.useCallback)((e=>{let{uri:t,commentId:n}=e;I(!0),(0,i.YFy)({collaborationPath:b,tenant:m,commentId:n}).then((()=>((e,t)=>{O(null),k((n=>{const a=n[t]||[];return o({},n,{[t]:a.filter((t=>t.commentId!==e))})})),x((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(p).finally((()=>I(!1)))}),[b,m]),B=(0,a.useCallback)(((e,t,n,a)=>{const r="resolve"===e.action?"resolved":"open",{replyId:i}=e;O("resolved"===r?e=>{if(e)return null}:t=>{if(t)return o({},t,{replies:a?c(i,t.replies):[...t.replies,e]})}),k((e=>o({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?o({},e,{status:r,replies:a?e.replies-1:e.replies+1}):e))}))),x((t=>t.map((t=>t.commentId===n?o({},t,{status:r,replies:a?c(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),q=(0,a.useCallback)((e=>{let{uri:t,commentId:n,reply:a}=e;I(!0),(0,i.Mfr)({collaborationPath:b,tenant:m,commentId:n,replyId:a.replyId}).then((()=>B(a,t,n,!0))).catch(p).finally((()=>I(!1)))}),[b,B,m]),M=(0,a.useCallback)(((e,t)=>{O((t=>{if(t)return o({},t,{replies:u(t,e)})})),x((n=>n.map((n=>n.commentId===t?o({},n,{replies:u(n,e)}):n))))}),[]),H=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,replyId:r}=e;I(!0);const l={content:t,namedUsers:n};return(0,i.ufV)({collaborationPath:b,tenant:m,commentId:a,replyId:r,data:l}).then((e=>M(e,a))).catch(p).finally((()=>I(!1)))}),[b,m,M]),U=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,action:r,uri:l}=e;I(!0);const o={content:t,action:r,namedUsers:n};return(0,i.PP2)({collaborationPath:b,tenant:m,commentId:a,data:o}).then((e=>{let[t]=e;return B(t,l,a)})).catch(p).finally((()=>I(!1)))}),[b,m,B]),W=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;U({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[U]),A=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;U({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[U]);return{clearCurrentComment:(0,a.useCallback)((()=>{O(null)}),[]),comments:v,commentsMap:C,getCommentState:(e,t)=>(0,r.pathOr)({},[e,t],P),updateCommentState:(e,t,n)=>{R((a=>{const i=[e,t],l=(0,r.path)(i,a);return(0,r.assocPath)(i,(0,r.mergeRight)(l,n),a)}))},clearCommentState:(e,t)=>R((0,r.dissocPath)([e,t])),createComment:F,createReply:U,currentComment:E,deleteComment:_,editComment:L,getComment:Z,getComments:z,getCommentsCount:D,loading:w,objectTypes:n,pageToken:f,reOpenThread:A,resolveThread:W,sending:S,deleteReply:q,editReply:H}}},18408:(e,t,n)=>{n.d(t,{D:()=>h});var a=n(24328),r=n.n(a),i=n(2507),l=n.n(i),o=n(50914),s=n(83820),c=n(38677),u=n(10050),d=n(79573);const p=3e5,h=function(){let{anchorOrigin:e={vertical:"bottom",horizontal:"center"},showDismiss:t,dismissTitle:n=l().text("Dismiss"),autoHideDuration:i=p,onDismissClick:h=d.ZT}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[m,b]=(0,a.useState)(!1),[g,f]=(0,a.useState)(""),y=(0,a.useCallback)((()=>{b(!1),f("")}),[]),v=(0,a.useCallback)(((e,t)=>{"clickaway"!==t&&y()}),[y]),x=(0,a.useCallback)((e=>{b(!0),f(e)}),[]),C=(0,a.useCallback)((()=>r().createElement(s.Z,{container:document.body},r().createElement(u.Z,{open:m,anchorOrigin:e,autoHideDuration:i,onClose:v,message:g,style:{maxWidth:500},action:t?r().createElement(c.Z,{color:"primary",onClick:(0,o.pipe)(y,h)},n):void 0}))),[m,y,g]);return{SnackbarRenderer:C,showSnackbarMessage:x}}}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7cad6965-04f5-47fc-bb3d-1e8ea1129ed2",e._sentryDebugIdIdentifier="sentry-dbid-7cad6965-04f5-47fc-bb3d-1e8ea1129ed2")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1683"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2617],{42639:(e,t,n)=>{n.d(t,{Z:()=>u});var a,r=n(65439),i=n(71153),l=n.n(i),o=n(24328),s=n.n(o);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}!function(e){e[e.ICON_MODE=0]="ICON_MODE",e[e.TEXT_MODE=1]="TEXT_MODE",e[e.ERROR_MODE=2]="ERROR_MODE"}(a||(a={}));const u=e=>{let{className:t,icon:n,avatarText:i,rootClasses:u}=e,d=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","icon","avatarText","rootClasses"]);const[p,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{h(n?a.ICON_MODE:a.TEXT_MODE)}),[n,i]);const m=()=>{h(a.ERROR_MODE)};switch(p){case a.ICON_MODE:return s().createElement(r.Z,c({className:l()(t,null==u?void 0:u.iconRoot),src:n,onError:m},d));case a.TEXT_MODE:case a.ERROR_MODE:return s().createElement(r.Z,c({className:l()(t,null==u?void 0:u.textRoot)},d),i);default:return null}}},30488:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(38748),r=n(50548);const i=e=>t=>(0,r.l)(a.X,e,t)},87825:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(24328),r=n.n(a),i=n(13980),l=n.n(i),o=n(53862);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(this,arguments)}const c=e=>r().createElement("svg",s({width:20,height:18,viewBox:"0 0 20 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M16 7.24V6h-4v1.24a8.417 8.417 0 00-2 .768V6H6v6h.29a8.497 8.497 0 00-.15.358l-.29.733.29.733.07.176H2c-1.1 0-2-.9-2-2V2C0 .9.9 0 2 0h14c1.1 0 2 .9 2 2v6.008a8.417 8.417 0 00-2-.768zM4 12V6H2v6h2zm0-8V2H2v2h2zm6 0V2H6v2h4zm6 0V2h-4v2h4zm-2 5a6.451 6.451 0 00-6 4.09 6.451 6.451 0 006 4.092 6.451 6.451 0 006-4.091A6.451 6.451 0 0014 9zm0 6.818a2.728 2.728 0 010-5.454 2.728 2.728 0 010 5.454zm0-4.363c-.905 0-1.636.73-1.636 1.636 0 .905.73 1.636 1.636 1.636.905 0 1.636-.73 1.636-1.636 0-.906-.73-1.636-1.636-1.636z",fill:"#000",fillRule:"nonzero",stroke:"none",strokeWidth:1,opacity:.54}));var u=n(39475),d=n(50914),p=n(45013),h=n(2507),m=n.n(h),b=n(15954);const g=e=>{let{columnsData:t,selectedColumns:n,onChangeColumns:i,title:l,tooltipTitle:o}=e;const[s,h]=(0,a.useState)(null),g=(0,a.useCallback)((e=>{const t=(0,d.pipe)(b.JJ,(0,d.pluck)("id"))(e),a=(0,b.u)(n,e);i(a?(0,d.difference)(n,t):(0,d.uniq)((0,d.concat)(n,t)))}),[n,i]);return r().createElement(r().Fragment,null,r().createElement(u.k,{tooltipTitle:o||m().text("Show/hide columns"),size:"L",icon:c,onClick:e=>h(e.currentTarget)}),r().createElement(p.G,{onColumnClick:g,anchorEl:s,columnsData:t,onClose:()=>h(null),title:l,selectedColumns:n}))};g.propTypes={columnsData:o.uz,selectedColumns:l().arrayOf(l().string),onChangeColumns:l().func,title:l().string,tooltipTitle:l().string};const f=g},45013:(e,t,n)=>{n.d(t,{G:()=>E});var a=n(24328),r=n.n(a),i=n(2507),l=n.n(i),o=n(50914),s=n(98679),c=n(63485),u=n(22311),d=n(15954),p=n(41008),h=n(26638),m=n(13980),b=n.n(m),g=n(33117),f=n(94792),y=n(71153),v=n.n(y);const x=(0,n(72342).makeStyles)({popup:{minWidth:"200px"},groupItem:{backgroundColor:"rgba(0,0,0,0.04)"}}),C=e=>{let{item:t,onClick:n,checked:a,level:i,style:l,isFocused:o,isGroupItem:s,hideCheckBox:c}=e;const u=x();return r().createElement(g.Z,{hideCheckBox:c,key:t.id,onClick:n,checked:a,level:i,data:t,label:r().createElement(f.Z,{text:t.label,highlight:t.filterText}),labelInText:t.label,style:l,isFocused:o,hideIcon:s,className:v()({[u.groupItem]:s})})};C.propTypes={item:b().shape({label:b().string,filterText:b().string}),level:b().number,onClick:b().func,checked:b().bool,style:b().object,isGroupItem:b().bool,isFocused:b().bool,hideCheckBox:b().bool};const k=C,E=e=>{let{anchorEl:t,onClose:n,title:i,columnsData:m,onColumnClick:b,selectedColumns:g,hideCheckBox:f}=e;const y=x(),[v,C]=(0,a.useState)(""),E=(0,a.useMemo)((()=>(0,d.eX)(m,v)),[m,v]),O=(0,a.useMemo)((()=>(0,p.LG)(E)),[E]),S=(0,s.fW1)("label")(E)||308,I=(0,a.useCallback)((e=>{let{item:t}=e;return b(t)}),[b]),{focusIndex:w,handleKeyDown:T}=(0,h.t)({items:O,open:!0,onSelectFocusedItem:I,selectedItems:g,onClose:n}),P=(0,a.useCallback)((0,o.pipe)(n,(()=>C(""))),[n]),R=Math.min(300,32*O.length),j=Math.max(140,R+108);return r().createElement(u.Z,{className:y.popup,open:!!t,anchorEl:t,onClose:P,onSearch:C,title:i||l().text("Show/hide columns"),containerWidth:S,containerHeight:j,searchInputOnKeyDown:T},r().createElement(c.Z,{fixedTitle:!1,height:R,renderItem:(e,t,n)=>{let{item:a,level:i=0}=t;return r().createElement(k,{hideCheckBox:f,style:e,item:a,level:i,isFocused:w===n,checked:(0,d.u)(g,a),isGroupItem:(0,d.yf)(a),onClick:f?(0,o.pipe)(b,P):b})},items:O,getItemSize:()=>32,focusIndex:w}))}},15954:(e,t,n)=>{n.d(t,{eX:()=>f,JJ:()=>y,yf:()=>o,u:()=>v});var a=n(50914),r=n(98679);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o=e=>e.id===e.groupId,s=(0,a.curry)(((e,t)=>{let{id:n,groupId:a}=e;return t.groupId===a&&(n===t.id||n.startsWith(`${t.id}.`))})),c=(0,a.curry)(((e,t)=>{let{groupId:n}=e;return n===t.id})),u=(0,a.propOr)(!0,"hideable"),d=(e,t)=>{const n=((e,t)=>e.find((0,a.either)(c(t),s(t))))(e,t);return n?(n.children=d(n.children||[],t),e):e.concat(t)},p=(0,a.curry)(((e,t)=>r.P6Y.strings.search(t.label,e)||(t.children||[]).some(p(e)))),h=(0,a.reduce)(((e,t)=>d(e,{id:t.id,groupId:t.groupId,label:t.label,attrType:t.dataTypeDefinition})),[]),m=(0,a.curry)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,a.pipe)((0,a.filter)(p(e)),(0,a.chain)((t=>[{item:i({},t,{filterText:e}),level:n},...t.children?m(e,t.children,n+1):[]])))(t)})),b=(0,a.has)("columns"),g=e=>{let{id:t,label:n,columns:r}=e;return[{id:t,groupId:t,label:n},...r.map((0,a.assoc)("groupId",t))]},f=(e,t)=>(0,a.pipe)((0,a.chain)((0,a.when)(b,g)),(0,a.filter)((0,a.either)(o,u)),h,m(t))(e),y=e=>e.children?(0,a.chain)(y,e.children):[e],v=(e,t)=>{const n=y(t),a=t=>e.includes(t.id);return o(t)?n.every(a):n.some(a)}},20146:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),i=n(71153),l=n.n(i),o=n(98679),s=n(79312),c=n(40007),u=n(14596);const d=(0,n(72342).makeStyles)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px",flexShrink:0},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px",flexShrink:0}}),p=e=>{let{entity:t,className:n,size:a="small"}=e;const i=d(),p=(0,u.AH)(),h=(0,o.nt9)(p,t.type),m=(h?(0,o.VD3)(p,h,"typeColor"):null)||o.rSc.palette.primary.main,b=(0,o.jFi)(p,t);return r().createElement(c.Z,{value:b,placement:"top"},r().createElement(s.Z,{style:{backgroundColor:m,color:o.P6Y.Colors.getColor(m)?"#FFFFFF":"#212121"},className:l()(i[`entityType-${a}`],i["entityType-overflow"],n),component:"div"},b))}},79386:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(24328),r=n.n(a),i=n(71153),l=n.n(i),o=n(50914),s=n(79312),c=n(23883),u=n(2507),d=n.n(u),p=n(98679),h=n(37573),m=n(20146),b=n(14596);const g=(0,n(72342).makeStyles)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"0px 1px 0px rgba(0, 0, 0, 0.12)",marginBottom:"1px","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),f=e=>{let{className:t,entity:n,children:i,classes:u,renderLabel:f=o.identity}=e;const y=g({classes:u}),v=(0,b.AH)(),x=(0,b.QQ)(),C=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,p.BTI)(n))}),[n]);if((0,o.isNil)(n))return null;const k=(0,p.idV)(n.label),E=n.secondaryLabel,O=(0,p.ptG)(v,n),S=(0,p.Fn9)(n),I=n.uri,w=(0,p.BTI)(n);return r().createElement("div",{className:l()(y.profileBandWrapper,t)},r().createElement("div",{className:l()(y.profileBand,{[y.inactive]:!S}),"data-entity-uri":I},r().createElement(h.Z,{key:n.uri,entity:n,avatarClassName:y.profileIcon,imageClassName:y.imageProfileIcon}),r().createElement("div",{className:y.profileInfo},r().createElement("div",null,r().createElement(s.Z,{variant:"h6",className:y.label},f(k)),E&&r().createElement(s.Z,{variant:"subtitle2",className:y.secondaryLabel},E),O&&r().createElement(s.Z,{variant:"subtitle1",className:y.businessCard},O)),r().createElement("div",{className:y.specialInfo},r().createElement("div",{className:y.entityType},r().createElement(m.Z,{entity:n,size:"medium",className:y.badge}),!(0,p.ZiX)(I)&&x&&r().createElement(c.Z,{title:d().text("Copy to clipboard")},r().createElement(s.Z,{display:"inline",variant:"body2",className:y.entityId,onClick:C},d().text("Entity ID"),": ",w))))),i&&r().createElement("div",null,i)))}},76368:(e,t,n)=>{n.d(t,{a:()=>N});var a=n(24328),r=n.n(a),i=n(55485),l=n(23468),o=n(31373),s=n(98679),c=n(71153),u=n.n(c),d=n(50914),p=n(2507),h=n.n(p),m=n(49753),b=n(78223),g=n(39475);const f=(0,n(72342).makeStyles)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),y=(0,b.Z)(i.Z),v=e=>{var t;let{className:n,total:i=0,onPrev:c,onNext:p,onSearchResultsClick:b,isPrevDisabled:v,isNextDisabled:x}=e;const C=f(),k=(0,a.useContext)(m.T),{OPEN_RESULTS:E,SEARCH_RESULT:O,SEARCH_RESULTS:S,NEXT_PROFILE:I,PREVIOUS_PROFILE:w}=(0,d.mergeRight)({OPEN_RESULTS:h().text("Go to search results"),SEARCH_RESULT:h().text("Search result"),SEARCH_RESULTS:h().text("Search results"),PREVIOUS_PROFILE:h().text("Go to previous profile"),NEXT_PROFILE:h().text("Go to next profile")},null!==(t=null==k?void 0:k.profileBand)&&void 0!==t?t:{});return r().createElement("div",{className:u()(C.container,n)},r().createElement(y,{className:C.link,component:"button",variant:"caption",onClick:b,underline:"none",tooltipTitle:E},(0,s.k7L)(i,1e6)," ",1===i?O:S),r().createElement(g.k,{size:"L",icon:l.Z,"data-reltio-id":"reltio-previous-profile-button",tooltipTitle:w,onClick:c,disabled:v,showForDisabled:!0}),r().createElement(g.k,{size:"L",icon:o.Z,"data-reltio-id":"reltio-next-profile-button",tooltipTitle:I,onClick:p,disabled:x,showForDisabled:!0}))};var x=n(63532),C=n(14596),k=n(96697),E=n(98001),O=n(19701);function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){I(e,t,n[t])}))}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:{query:n,sortField:a,sortOrder:r},tenant:i,searchTenant:l,apiPath:o,dtssPath:c,globalSearchRequestOptions:u}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[t.getQueryFilter(),...e],r=S({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,s.uqV)({filters:a,options:r,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,s.ZOr)(a,r)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,s.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,s.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=a,this.sortOrder=r,this.tenant=i,this.searchTenant=l,this.apiPath=o,this.dtssPath=c,this.globalSearchRequestOptions=u}}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class R{constructor(e){var t=this;let{data:n,tenant:a,apiPath:r}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[{rawFilter:t.searchBody.filter},...e];return(0,s.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:T({},t.searchBody,{filter:e.length?(0,s.Uqd)()(a):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,s.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,s.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=a,this.apiPath=r}}const j=(e,t)=>(0,d.pipe)((0,d.map)((0,d.prop)("uri")),(0,d.reject)((e=>t.includes(e))))(e),N=e=>{let{className:t}=e;const{total:n,onPrev:i,onNext:l,onSearchResultsClick:o,isPrevDisabled:c,isNextDisabled:u}=(()=>{const e=(0,O._)(),t=(0,O._)(),n=(0,O._)(),r=(0,a.useContext)(x.m),i=(0,C.qq)("searchNavigationListener"),l=(0,C.ax)("updateSearchNavigationDataFields"),o=(0,C.ax)("openEntity"),c=(0,C.ax)("openPerspective"),{uri:u,index:d,total:p,tenant:h,cache:m}=(0,C.M3)()||{},{type:b,data:g}=(0,C.XS)()||{},f=(0,C.Uv)(),y=(0,C.id)(),v=(0,C.rg)(),S=(0,C.mU)(["ovOnly"]),{updateEntitiesNavigationLoadingState:I}=(0,k.M)(),[T,P]=(0,a.useState)(!1),N=(0,a.useMemo)((()=>((e,t)=>{switch(e){case"search":return new w(t);case"graphsearch":return new R(t)}})(b,{data:g,tenant:f,searchTenant:h,apiPath:y,dtssPath:v,globalSearchRequestOptions:S})),[b,g,f,h,y,v,S]),D=(0,a.useCallback)((e=>{l(e)}),[l]),z=(0,a.useCallback)((e=>{const t=f!==h?(0,s.wwR)({uri:e,dataTenant:h}):e;o({uri:t,viewId:r,source:"navigation"})}),[o,r,f,h]),Z=(0,a.useCallback)((()=>{c({perspectiveId:b,viewId:r})}),[c,b,r]);(0,a.useEffect)((()=>{d>=p?D({index:p-1}):d<0&&D({index:0})}),[p,d,D]);const F=(0,E.u)();(0,a.useEffect)((()=>{const e=F(i);return()=>e()}),[F,D,i]);const L=(0,a.useCallback)(((e,a,r)=>{P(!0),t(N.requestTotal()).then((e=>D({total:e})));const i=r+1;return n(N.requestEntities(15,i)).then((t=>{if(t){if(t.length){const n=j(t,e);if(n.length>0)return D({cache:e.concat(n),uri:n[0],index:i+t.length-n.length}),void z(n[0]);if(r+t.length<a-1)return L(e,a-t.length,r+t.length)}D({index:i})}})).finally((()=>{P(!1)}))}),[N,D,z]),_=(0,a.useCallback)(((e,a)=>{P(!0),t(N.requestTotal()).then((e=>D({total:e})));const r=a-1,i=Math.max(0,a-15),l=15+Math.min(0,a-15);return n(N.requestEntities(l,i)).then((t=>{if(t){if(t.length){const n=j(t,e);if(n.length>0)return D({cache:n.concat(e),uri:n[n.length-1],index:r-(t.length-n.length)}),void z(n[n.length-1]);if(a-t.length>0)return _(e,a-t.length)}D({index:0})}})).finally((()=>{P(!1)}))}),[N,D,z]),B=(0,a.useCallback)(((t,n,a,r)=>{if(n<t.length){const i=t[n];return P(!0),e(N.checkEntity(i)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),B(e,n,a-1,r)}D({index:r+1,uri:i,cache:t,total:a}),z(i)})).finally((()=>{P(!1)}))}if(!(r>=a-1))return L(t,a,r);D({cache:t,total:a,index:a-1})}),[N,D,z,L]),q=(0,a.useCallback)(((t,n,a,r)=>{if(n>-1){const i=t[n];return P(!0),e(N.checkEntity(i)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),q(e,n-1,a-1,r-1)}D({index:r-1,uri:i,cache:t,total:a}),z(i)})).finally((()=>{P(!1)}))}if(!(r<=0))return _(t,r);D({index:0,cache:t,total:a})}),[N,D,z,_]),M=(0,a.useCallback)((()=>{if(m&&u){const e=m.indexOf(u)-1;q(m,e,p,d)}}),[q,m,u,p,d]),H=(0,a.useCallback)((()=>{if(m&&u){const e=m.indexOf(u)+1;B(m,e,p,d)}}),[B,m,u,p,d]);return(0,a.useEffect)((()=>{I(T)}),[I,T]),(0,a.useEffect)((()=>()=>I(!1)),[]),{total:p,onPrev:M,onNext:H,onSearchResultsClick:Z,isPrevDisabled:T||d<=0,isNextDisabled:T||d>=p-1}})();return(()=>{const{cache:e}=(0,C.M3)()||{},t=(0,C.YA)(),n=(0,C.eh)();return(0,s.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?r().createElement(v,{className:t,total:n,onPrev:i,onNext:l,onSearchResultsClick:o,isPrevDisabled:c,isNextDisabled:u}):null}},11802:(e,t,n)=>{n.d(t,{u:()=>h});var a=n(24328),r=n.n(a),i=n(71153),l=n.n(i),o=n(31396),s=n(47746),c=n(98679);const u=(0,n(72342).makeStyles)((()=>({container:{position:"relative","& .Resizer":{zIndex:1,boxSizing:"border-box",backgroundClip:"padding-box","&.disabled":{cursor:"initial",height:0,margin:0},"&.horizontal":{height:"11px",backgroundImage:"linear-gradient(rgba(0,0,0,0.33), rgba(0,0,0,0.33))",backgroundRepeat:"no-repeat",backgroundSize:"100% 1px",backgroundPosition:"top",width:"100%",marginBottom:"-10px","&:not(.disabled):hover":{cursor:"row-resize",backgroundImage:"linear-gradient(rgba(0, 114, 206, 0), rgba(0, 114, 206, 0.35), rgba(0, 114, 206, 1))",backgroundSize:"100% 3px"}},"&.vertical":{width:"11px",backgroundImage:"linear-gradient(rgba(0,0,0,0.33), rgba(0,0,0,0.33))",backgroundRepeat:"no-repeat",backgroundSize:"1px 100%",backgroundPosition:"left",height:"100%",marginRight:"-10px","&:not(.disabled):hover":{cursor:"col-resize",backgroundImage:"linear-gradient(to left, rgba(0, 114, 206, 0.35), rgba(0, 114, 206, 1), rgba(0, 114, 206, 0.35))",backgroundSize:"3px 100%"}}}}}))),d=250,p=e=>"horizontal"===e,h=e=>{let{className:t,children:n,orientation:i,primary:h,defaultSize:m,size:b,minSize:g,maxSize:f,allowResize:y,debounceInterval:v=d,onChange:x}=e;const C=u(),k=(0,s.Z)(),[E,O]=(0,a.useState)(null),[S,I]=(0,a.useState)(!0),w=(0,a.useCallback)((()=>I(!0)),[]),T=(0,a.useCallback)((()=>I(!1)),[]),P=()=>p(i)?null==E?void 0:E.clientHeight:null==E?void 0:E.clientWidth,R=(0,a.useCallback)((0,c.DsO)((e=>{const t=P();x({percentageSize:e/t*100+"%",isMaxSize:+f>0?e===f:e===t+f,isMinSize:e===g,size:e})}),v),[x,i,f,E]),j=(0,a.useMemo)((()=>({transition:k.transitions.create(p(i)?"height":"width",{easing:k.transitions.easing.sharp,duration:k.transitions.duration.leavingScreen})})),[i,k]);return"number"==typeof b&&b<0&&(b=(P()||0)+b),r().createElement("div",{ref:O,className:l()(C.container,t)},r().createElement(o.Z,{split:i,size:b,primary:h,allowResize:y,onChange:R,defaultSize:m,minSize:g,maxSize:f,onDragStarted:T,onDragFinished:w,pane1Style:S?j:void 0},n))};h.displayName="ResizablePanes"},21210:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),i=n(98679),l=n(42639),o=n(14596);const s=e=>{let{sourceType:t,className:n,classes:a}=e;const s=(0,o.AH)(),{uri:c,icon:u}=(0,i.PWK)(s,t)||{},d=c?(0,i.tH7)(s,c)[0]:"",p=u?(0,i.vPL)("https://s3.amazonaws.com/reltio.images/api",u):null;return r().createElement(l.Z,{className:n,avatarText:d,icon:p,variant:"square",rootClasses:a})}},79935:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(24328),r=n.n(a);const i=()=>r().createElement("div",{style:{flex:1}})},75647:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),i=n(2507),l=n.n(i),o=n(38677),s=n(79312),c=n(14596);const u=(0,n(72342).makeStyles)({root:{display:"flex",alignItems:"flex-start"},slice:{fontWeight:500},cancelButton:{width:"88px",flexShrink:0,marginLeft:"15px"}}),d=()=>{const e=u(),t=(0,c.ax)("clearHistoryEvent"),n=(0,c.OK)();return n?r().createElement("div",{className:e.root},r().createElement(s.Z,{component:"div"},l().text("You are viewing a historic slice:")," ",r().createElement("span",{className:e.slice},l().date(n.aStamp,"llll"))),r().createElement(o.Z,{className:e.cancelButton,variant:"contained",color:"primary",onClick:t},l().text("Cancel"))):null}},98001:(e,t,n)=>{n.d(t,{G:()=>l,u:()=>o});var a=n(24328),r=n.n(a);const i=(0,a.createContext)(null);i.displayName="ActionsHookContext";const l=e=>{let{children:t,hook:n}=e;return r().createElement(i.Provider,{value:n},t)},o=()=>{const e=(0,a.useContext)(i);if(!e)throw new Error("ActionsHookContext must be provided");return e}},23759:(e,t,n)=>{n.d(t,{hR:()=>c,nX:()=>u,RT:()=>d,pu:()=>p,BF:()=>h});var a=n(24328),r=n.n(a),i=n(98679),l=n(50914),o=n(79573);const s=(0,a.createContext)(null),c=e=>{let{children:t}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children"]);return r().createElement(s.Provider,{value:n},t)},u=e=>{const{getCrosswalkColor:t=(0,l.pipe)(i.uKF,i.CJp)}=(0,a.useContext)(s)||{};return e?t(e):""},d=()=>{const{highlightedCrosswalks:e=[]}=(0,a.useContext)(s)||{};return e},p=e=>{const{highlightedCrosswalks:t=[],setCrosswalkHighlighted:n=o.ZT}=(0,a.useContext)(s)||{},r=!!e&&!!t.find((0,l.eqBy)(i.uKF,e));return{isHighlighted:r,isDimmed:t.length>0&&!r,highlightCrosswalk:(0,a.useCallback)((()=>n(e,!0)),[e,n]),removeHighlight:(0,a.useCallback)((()=>n(e,!1)),[e,n])}},h=e=>{const{toggleCrosswalkFocus:t=o.ZT,focusedCrosswalks:n=[]}=(0,a.useContext)(s)||{};return{isFocused:!!e&&n.some((0,l.eqBy)(i.uKF,e)),toggleCrosswalkFocus:(0,a.useCallback)((()=>t(e)),[e,t])}}},96697:(e,t,n)=>{n.d(t,{f:()=>h,M:()=>m});var a=n(24328),r=n.n(a),i=n(50914),l=n(79573),o=n(98001),s=n(14596);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=r().createContext({isLoading:!1,isEmptyState:!1,updateEntityLoadingState:l.ZT,updateEntitiesNavigationLoadingState:l.ZT,resetLoadingState:l.ZT}),p={entitiesNavigation:!1,entity:!1,entityCleansing:!1},h=e=>{let{children:t}=e;const n=(()=>{const[e,t]=(0,a.useState)(p),n=(0,a.useCallback)((e=>{t((t=>c({},t,{entity:e})))}),[]),r=(0,a.useCallback)((e=>{t((t=>c({},t,{entitiesNavigation:e})))}),[]),l=(0,a.useCallback)((e=>{t((t=>c({},t,{entityCleansing:e})))}),[]),u=(0,a.useCallback)((()=>{t(p)}),[]),d=(0,o.u)(),h=(0,s.qq)("cleanseLoadingListener"),m=(0,a.useMemo)((()=>h(l)),[h,l]);return(0,a.useEffect)((()=>{const e=d(m);return()=>e()}),[m,d]),{isLoading:Object.values(e).includes(!0),isEmptyState:(0,i.pipe)((0,i.omit)(["entityCleansing"]),i.values,(0,i.includes)(!0))(e),updateEntityLoadingState:n,updateEntitiesNavigationLoadingState:r,updateEntityCleansingLoadingState:l,resetLoadingState:u}})();return r().createElement(d.Provider,{value:n},t)},m=()=>(0,a.useContext)(d)},49753:(e,t,n)=>{n.d(t,{T:()=>r});var a=n(24328);const r=n.n(a)().createContext({profileBand:{}});r.displayName="LabelsContext"},36852:(e,t,n)=>{n.d(t,{C:()=>h});var a=n(24328),r=n(50914),i=n(98679),l=n(14596);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=(e,t)=>t.filter((t=>t.replyId!==e)),u=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),a=[...e.replies];return a[n]=t,a},d=[],p=e=>console.error("Collaboration error",e),h=e=>{let{objectIds:t=d,objectTypes:n,enabled:s=!0}=e;const h=(0,l.eh)(),m=(0,l.Uv)(),b=(0,l.f5)(),g=(0,l.Bv)()&&s,[f,y]=(0,a.useState)(null),[v,x]=(0,a.useState)([]),[C,k]=(0,a.useState)(null),[E,O]=(0,a.useState)(null),[S,I]=(0,a.useState)(!1),[w,T]=(0,a.useState)(!1),[P,R]=(0,a.useState)({}),j=(0,a.useCallback)((e=>{k((t=>o({},t,e)))}),[]),N=null==h?void 0:h.uri,D=(0,a.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(g&&N&&!(0,i.ZiX)(N)){const n=e=>{console.warn("Collaboration error",e),k(null)};(0,r.pipe)(i.$oF,(0,r.andThen)((0,r.map)((0,r.props)(["objectId","comments"]))),(0,r.andThen)(r.fromPairs),(0,r.andThen)(t?k:j),(0,r.otherwise)(n))({uris:e,tenant:m,collaborationPath:b})}else k(null)}),[j,b,N,g,m]);(0,a.useEffect)((()=>{D(t,!0)}),[t,D]);const z=(0,a.useCallback)(((e,t)=>{(0,i.liG)({collaborationPath:b,tenant:m,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:a}=e;x((e=>t?(0,r.uniqBy)((0,r.prop)("commentId"),[...e,...n]):n)),y(a)})).catch(p)}),[b,m]),Z=(0,a.useCallback)((e=>{T(!0),(0,i.d7q)({collaborationPath:b,tenant:m,commentId:e}).then(O).catch(p).finally((()=>T(!1)))}),[b,m]),F=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:l}=e;I(!0);const s={objectId:r,content:t,relatedObjectUris:l,objectType:a,visibility:"public",namedUsers:n,permanentLink:`${window.location.href}&commentId=${encodeURIComponent("{commentId}")}`};return(0,i.Yrx)({collaborationPath:b,tenant:m,data:s}).then((e=>{let[t]=e;return((e,t)=>{O(e),k((n=>o({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),x((t=>[e,...t]))})(t,r)})).catch(p).finally((()=>I(!1)))}),[b,m]),L=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:l,relatedObjectUris:s,commentId:c,replies:u}=e;I(!0);const d={objectId:l,content:t,relatedObjectUris:s,objectType:a,visibility:"public",namedUsers:n,commentId:c,replies:u};return(0,i.uAg)({collaborationPath:b,tenant:m,data:d}).then((e=>(e=>{O(e),x((0,r.map)((0,r.when)((0,r.propEq)("commentId",e.commentId),(0,r.always)(e))))})(o({},e,{replies:u})))).catch(p).finally((()=>I(!1)))}),[b,m]),_=(0,a.useCallback)((e=>{let{uri:t,commentId:n}=e;I(!0),(0,i.YFy)({collaborationPath:b,tenant:m,commentId:n}).then((()=>((e,t)=>{O(null),k((n=>{const a=n[t]||[];return o({},n,{[t]:a.filter((t=>t.commentId!==e))})})),x((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(p).finally((()=>I(!1)))}),[b,m]),B=(0,a.useCallback)(((e,t,n,a)=>{const r="resolve"===e.action?"resolved":"open",{replyId:i}=e;O("resolved"===r?e=>{if(e)return null}:t=>{if(t)return o({},t,{replies:a?c(i,t.replies):[...t.replies,e]})}),k((e=>o({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?o({},e,{status:r,replies:a?e.replies-1:e.replies+1}):e))}))),x((t=>t.map((t=>t.commentId===n?o({},t,{status:r,replies:a?c(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),q=(0,a.useCallback)((e=>{let{uri:t,commentId:n,reply:a}=e;I(!0),(0,i.Mfr)({collaborationPath:b,tenant:m,commentId:n,replyId:a.replyId}).then((()=>B(a,t,n,!0))).catch(p).finally((()=>I(!1)))}),[b,B,m]),M=(0,a.useCallback)(((e,t)=>{O((t=>{if(t)return o({},t,{replies:u(t,e)})})),x((n=>n.map((n=>n.commentId===t?o({},n,{replies:u(n,e)}):n))))}),[]),H=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,replyId:r}=e;I(!0);const l={content:t,namedUsers:n};return(0,i.ufV)({collaborationPath:b,tenant:m,commentId:a,replyId:r,data:l}).then((e=>M(e,a))).catch(p).finally((()=>I(!1)))}),[b,m,M]),U=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,action:r,uri:l}=e;I(!0);const o={content:t,action:r,namedUsers:n};return(0,i.PP2)({collaborationPath:b,tenant:m,commentId:a,data:o}).then((e=>{let[t]=e;return B(t,l,a)})).catch(p).finally((()=>I(!1)))}),[b,m,B]),W=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;U({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[U]),A=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;U({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[U]);return{clearCurrentComment:(0,a.useCallback)((()=>{O(null)}),[]),comments:v,commentsMap:C,getCommentState:(e,t)=>(0,r.pathOr)({},[e,t],P),updateCommentState:(e,t,n)=>{R((a=>{const i=[e,t],l=(0,r.path)(i,a);return(0,r.assocPath)(i,(0,r.mergeRight)(l,n),a)}))},clearCommentState:(e,t)=>R((0,r.dissocPath)([e,t])),createComment:F,createReply:U,currentComment:E,deleteComment:_,editComment:L,getComment:Z,getComments:z,getCommentsCount:D,loading:w,objectTypes:n,pageToken:f,reOpenThread:A,resolveThread:W,sending:S,deleteReply:q,editReply:H}}},18408:(e,t,n)=>{n.d(t,{D:()=>h});var a=n(24328),r=n.n(a),i=n(2507),l=n.n(i),o=n(50914),s=n(83820),c=n(38677),u=n(10050),d=n(79573);const p=3e5,h=function(){let{anchorOrigin:e={vertical:"bottom",horizontal:"center"},showDismiss:t,dismissTitle:n=l().text("Dismiss"),autoHideDuration:i=p,onDismissClick:h=d.ZT}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[m,b]=(0,a.useState)(!1),[g,f]=(0,a.useState)(""),y=(0,a.useCallback)((()=>{b(!1),f("")}),[]),v=(0,a.useCallback)(((e,t)=>{"clickaway"!==t&&y()}),[y]),x=(0,a.useCallback)((e=>{b(!0),f(e)}),[]),C=(0,a.useCallback)((()=>r().createElement(s.Z,{container:document.body},r().createElement(u.Z,{open:m,anchorOrigin:e,autoHideDuration:i,onClose:v,message:g,style:{maxWidth:500},action:t?r().createElement(c.Z,{color:"primary",onClick:(0,o.pipe)(y,h)},n):void 0}))),[m,y,g]);return{SnackbarRenderer:C,showSnackbarMessage:x}}}}]);
|
|
2
2
|
//# sourceMappingURL=2617.js.map
|
package/2966.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see 2966.js.LICENSE.txt */
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1a6b6b53-c2ff-430d-a6cb-a75fcdd7bdfc",e._sentryDebugIdIdentifier="sentry-dbid-1a6b6b53-c2ff-430d-a6cb-a75fcdd7bdfc")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1681"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2966,7896],{25455:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(24328),n=o(84501),a=o(36855),i=o(52322);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],o=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:u=s,isEnabled:p=c,open:f}=e,m=r.useRef(!1),h=r.useRef(null),b=r.useRef(null),v=r.useRef(null),g=r.useRef(null),Z=r.useRef(!1),y=r.useRef(null),x=(0,n.Z)(t.ref,y),w=r.useRef(null);r.useEffect((()=>{f&&y.current&&(Z.current=!o)}),[o,f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),Z.current&&y.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current),t=t=>{const{current:o}=y;if(null!==o)if(e.hasFocus()&&!l&&p()&&!m.current){if(!o.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!Z.current)return;let a=[];if(e.activeElement!==h.current&&e.activeElement!==b.current||(a=u(y.current)),a.length>0){var r,n;const e=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(n=w.current)?void 0:n.key)),t=a[0],o=a[a.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else o.focus()}}else m.current=!1},o=t=>{w.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(m.current=!0,b.current&&b.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,l,d,p,f,u]);const S=e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0,g.current=e.target;const o=t.props.onFocus;o&&o(e)}}),(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:b,"data-testid":"sentinelEnd"})]})}},41622:(e,t,o)=>{o.d(t,{G:()=>i,Z:()=>d});var r=o(36855),n=o(27270),a=o(41626);function i(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,n.Z)(e).getComputedStyle(e).paddingRight,10)||0}function s(e,t,o,r,n){const a=[t,o,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),o=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&i(e,n)}))}function c(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&i(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);s(t,e.mount,e.modalRef,r,!0);const n=c(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=c(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[o];i.restore||(i.restore=function(e,t){const o=[],i=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,n.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){const e=(0,a.Z)((0,r.Z)(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${l(i)+e}px`;const t=(0,r.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`}))}let e;if(i.parentNode instanceof DocumentFragment)e=(0,r.Z)(i).body;else{const t=i.parentElement,o=(0,n.Z)(i);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===o.getComputedStyle(t).overflowY?t:i}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}(i,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(o,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&i(e.modalRef,t),s(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&i(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},83820:(e,t,o)=>{o.d(t,{Z:()=>c});var r=o(24328),n=o(75047),a=o(84501),i=o(21399),l=o(75377),s=o(52322);const c=r.forwardRef((function(e,t){const{children:o,container:c,disablePortal:d=!1}=e,[u,p]=r.useState(null),f=(0,a.Z)(r.isValidElement(o)?o.ref:null,t);if((0,i.Z)((()=>{d||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,i.Z)((()=>{if(u&&!d)return(0,l.Z)(t,u),()=>{(0,l.Z)(t,null)}}),[t,u,d]),d){if(r.isValidElement(o)){const e={ref:f};return r.cloneElement(o,e)}return(0,s.jsx)(r.Fragment,{children:o})}return(0,s.jsx)(r.Fragment,{children:u?n.createPortal(o,u):u})}))},73570:(e,t,o)=>{o.d(t,{Z:()=>b});var r=o(7896),n=o(31461),a=o(24328),i=o(75047),l=o(84501),s=o(27270),c=o(71166),d=o(21399),u=o(52322);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const b=a.forwardRef((function(e,t){const{onChange:o,maxRows:b,minRows:v=1,style:g,value:Z}=e,y=(0,n.Z)(e,p),{current:x}=a.useRef(null!=Z),w=a.useRef(null),S=(0,l.Z)(t,w),k=a.useRef(null),C=a.useRef(0),[P,R]=a.useState({outerHeightStyle:0}),E=a.useCallback((()=>{const t=w.current,o=(0,s.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0};const r=k.current;r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const n=o.boxSizing,a=f(o.paddingBottom)+f(o.paddingTop),i=f(o.borderBottomWidth)+f(o.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=l;return v&&(d=Math.max(Number(v)*c,d)),b&&(d=Math.min(Number(b)*c,d)),d=Math.max(d,c),{outerHeightStyle:d+("border-box"===n?a+i:0),overflow:Math.abs(d-l)<=1}}),[b,v,e.placeholder]),$=(e,t)=>{const{outerHeightStyle:o,overflow:r}=t;return C.current<20&&(o>0&&Math.abs((e.outerHeightStyle||0)-o)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:o}):e},M=a.useCallback((()=>{const e=E();h(e)||R((t=>$(t,e)))}),[E]);return a.useEffect((()=>{const e=(0,c.Z)((()=>{C.current=0,w.current&&(()=>{const e=E();h(e)||i.flushSync((()=>{R((t=>$(t,e)))}))})()}));let t;const o=w.current,r=(0,s.Z)(o);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(o)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,d.Z)((()=>{M()})),a.useEffect((()=>{C.current=0}),[Z]),(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)("textarea",(0,r.Z)({value:Z,onChange:e=>{C.current=0,x||M(),o&&o(e)},ref:S,rows:v,style:(0,r.Z)({height:P.outerHeightStyle,overflow:P.overflow?"hidden":void 0},g)},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.Z)({},m,g,{padding:0})})]})}))},49161:(e,t,o)=>{o.d(t,{T:()=>i});var r=o(24328);o(52322);const n={disableDefaultClasses:!1},a=r.createContext(n);function i(e){const{disableDefaultClasses:t}=r.useContext(a);return o=>t?"":e(o)}},69917:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(7896),n=o(65444);function a(e,t,o){return void 0===e||(0,n.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,o)})}},97427:(e,t,o)=>{function r(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}o.d(t,{Z:()=>r})},65444:(e,t,o)=>{function r(e){return"string"==typeof e}o.d(t,{Z:()=>r})},5584:(e,t,o)=>{function r(e,t){return"function"==typeof e?e(t):e}o.d(t,{Z:()=>r})},80876:(e,t,o)=>{o.d(t,{Z:()=>p});var r=o(7896),n=o(31461),a=o(84501),i=o(69917),l=o(6277),s=o(97427);function c(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((o=>{t[o]=e[o]})),t}var d=o(5584);const u=["elementType","externalSlotProps","ownerState"];function p(e){var t;const{elementType:o,externalSlotProps:p,ownerState:f}=e,m=(0,n.Z)(e,u),h=(0,d.Z)(p,f),{props:b,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const e=(0,l.default)(null==a?void 0:a.className,null==n?void 0:n.className,i,null==o?void 0:o.className),t=(0,r.Z)({},null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),s=(0,r.Z)({},o,a,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const d=(0,s.Z)((0,r.Z)({},a,n)),u=c(n),p=c(a),f=t(d),m=(0,l.default)(null==f?void 0:f.className,null==o?void 0:o.className,i,null==a?void 0:a.className,null==n?void 0:n.className),h=(0,r.Z)({},null==f?void 0:f.style,null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),b=(0,r.Z)({},f,o,p,u);return m.length>0&&(b.className=m),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:f.ref}}((0,r.Z)({},m,{externalSlotProps:h})),g=(0,a.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.Z)(o,(0,r.Z)({},b,{ref:g}),f)}},88546:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(17055),u=o(70436),p=o(52322);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})((({ownerState:e})=>(0,n.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),h=a.forwardRef((function(e,t){var o,a,s;const h=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:b,className:v,component:g="div",components:Z={},componentsProps:y={},invisible:x=!1,open:w,slotProps:S={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:P}=h,R=(0,r.Z)(h,f),E=(0,n.Z)({},h,{component:g,invisible:x}),$=(e=>{const{classes:t,invisible:o}=e,r={root:["root",o&&"invisible"]};return(0,l.Z)(r,u.s,t)})(E),M=null!=(o=S.root)?o:y.root;return(0,p.jsx)(C,(0,n.Z)({in:w,timeout:P},R,{children:(0,p.jsx)(m,(0,n.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(s=k.root)?s:Z.Root)?a:g,className:(0,i.default)($.root,v,null==M?void 0:M.className),ownerState:(0,n.Z)({},E,null==M?void 0:M.ownerState),classes:$,ref:t,children:b}))}))}))},70436:(e,t,o)=>{o.d(t,{s:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiBackdrop",e)}const i=(0,r.Z)("MuiBackdrop",["root","invisible"])},38677:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(73022),s=o(69075),c=o(47591),d=o(65992),u=o(43853),p=o(13705),f=o(7342),m=o(58997),h=o(49146),b=o(52322);const v=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],g=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,f.Z)(o.color)}`],t[`size${(0,f.Z)(o.size)}`],t[`${o.variant}Size${(0,f.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var o,r;const a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.Z.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.Z.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(r=e.palette).getContrastText)?void 0:o.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.Z.disabled}`]:{boxShadow:"none"}})),y=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},g(e)))),x=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},g(e)))),w=a.forwardRef((function(e,t){const o=a.useContext(h.Z),c=(0,l.Z)(o,e),d=(0,u.Z)({props:c,name:"MuiButton"}),{children:p,color:g="primary",component:w="button",className:S,disabled:k=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:R,focusVisibleClassName:E,fullWidth:$=!1,size:M="medium",startIcon:O,type:T,variant:I="text"}=d,N=(0,r.Z)(d,v),j=(0,n.Z)({},d,{color:g,component:w,disabled:k,disableElevation:C,disableFocusRipple:P,fullWidth:$,size:M,type:T,variant:I}),A=(e=>{const{color:t,disableElevation:o,fullWidth:r,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},d=(0,s.Z)(c,m.F,l);return(0,n.Z)({},l,d)})(j),B=O&&(0,b.jsx)(y,{className:A.startIcon,ownerState:j,children:O}),F=R&&(0,b.jsx)(x,{className:A.endIcon,ownerState:j,children:R});return(0,b.jsxs)(Z,(0,n.Z)({ownerState:j,className:(0,i.default)(o.className,A.root,S),component:w,disabled:k,focusRipple:!P,focusVisibleClassName:(0,i.default)(A.focusVisible,E),ref:t,type:T},N,{classes:A,children:[B,p,F]}))}))},58997:(e,t,o)=>{o.d(t,{F:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiButton",e)}const i=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},13705:(e,t,o)=>{o.d(t,{Z:()=>T});var r=o(7896),n=o(31461),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(98659),u=o(78647),p=o(8250),f=o(89789),m=o(46324),h=o(52322);var b=o(15489);const v=["center","classes","className"];let g,Z,y,x,w=e=>e;const S=(0,m.keyframes)(g||(g=w`
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1a6b6b53-c2ff-430d-a6cb-a75fcdd7bdfc",e._sentryDebugIdIdentifier="sentry-dbid-1a6b6b53-c2ff-430d-a6cb-a75fcdd7bdfc")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1683"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2966,7896],{25455:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(24328),n=o(84501),a=o(36855),i=o(52322);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],o=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:u=s,isEnabled:p=c,open:f}=e,m=r.useRef(!1),h=r.useRef(null),b=r.useRef(null),v=r.useRef(null),g=r.useRef(null),Z=r.useRef(!1),y=r.useRef(null),x=(0,n.Z)(t.ref,y),w=r.useRef(null);r.useEffect((()=>{f&&y.current&&(Z.current=!o)}),[o,f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),Z.current&&y.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current),t=t=>{const{current:o}=y;if(null!==o)if(e.hasFocus()&&!l&&p()&&!m.current){if(!o.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!Z.current)return;let a=[];if(e.activeElement!==h.current&&e.activeElement!==b.current||(a=u(y.current)),a.length>0){var r,n;const e=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(n=w.current)?void 0:n.key)),t=a[0],o=a[a.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else o.focus()}}else m.current=!1},o=t=>{w.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(m.current=!0,b.current&&b.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,l,d,p,f,u]);const S=e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0,g.current=e.target;const o=t.props.onFocus;o&&o(e)}}),(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:b,"data-testid":"sentinelEnd"})]})}},41622:(e,t,o)=>{o.d(t,{G:()=>i,Z:()=>d});var r=o(36855),n=o(27270),a=o(41626);function i(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,n.Z)(e).getComputedStyle(e).paddingRight,10)||0}function s(e,t,o,r,n){const a=[t,o,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),o=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&i(e,n)}))}function c(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&i(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);s(t,e.mount,e.modalRef,r,!0);const n=c(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=c(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[o];i.restore||(i.restore=function(e,t){const o=[],i=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,n.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){const e=(0,a.Z)((0,r.Z)(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${l(i)+e}px`;const t=(0,r.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`}))}let e;if(i.parentNode instanceof DocumentFragment)e=(0,r.Z)(i).body;else{const t=i.parentElement,o=(0,n.Z)(i);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===o.getComputedStyle(t).overflowY?t:i}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}(i,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(o,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&i(e.modalRef,t),s(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&i(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},83820:(e,t,o)=>{o.d(t,{Z:()=>c});var r=o(24328),n=o(75047),a=o(84501),i=o(21399),l=o(75377),s=o(52322);const c=r.forwardRef((function(e,t){const{children:o,container:c,disablePortal:d=!1}=e,[u,p]=r.useState(null),f=(0,a.Z)(r.isValidElement(o)?o.ref:null,t);if((0,i.Z)((()=>{d||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,i.Z)((()=>{if(u&&!d)return(0,l.Z)(t,u),()=>{(0,l.Z)(t,null)}}),[t,u,d]),d){if(r.isValidElement(o)){const e={ref:f};return r.cloneElement(o,e)}return(0,s.jsx)(r.Fragment,{children:o})}return(0,s.jsx)(r.Fragment,{children:u?n.createPortal(o,u):u})}))},73570:(e,t,o)=>{o.d(t,{Z:()=>b});var r=o(7896),n=o(31461),a=o(24328),i=o(75047),l=o(84501),s=o(27270),c=o(71166),d=o(21399),u=o(52322);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const b=a.forwardRef((function(e,t){const{onChange:o,maxRows:b,minRows:v=1,style:g,value:Z}=e,y=(0,n.Z)(e,p),{current:x}=a.useRef(null!=Z),w=a.useRef(null),S=(0,l.Z)(t,w),k=a.useRef(null),C=a.useRef(0),[P,R]=a.useState({outerHeightStyle:0}),E=a.useCallback((()=>{const t=w.current,o=(0,s.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0};const r=k.current;r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const n=o.boxSizing,a=f(o.paddingBottom)+f(o.paddingTop),i=f(o.borderBottomWidth)+f(o.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=l;return v&&(d=Math.max(Number(v)*c,d)),b&&(d=Math.min(Number(b)*c,d)),d=Math.max(d,c),{outerHeightStyle:d+("border-box"===n?a+i:0),overflow:Math.abs(d-l)<=1}}),[b,v,e.placeholder]),$=(e,t)=>{const{outerHeightStyle:o,overflow:r}=t;return C.current<20&&(o>0&&Math.abs((e.outerHeightStyle||0)-o)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:o}):e},M=a.useCallback((()=>{const e=E();h(e)||R((t=>$(t,e)))}),[E]);return a.useEffect((()=>{const e=(0,c.Z)((()=>{C.current=0,w.current&&(()=>{const e=E();h(e)||i.flushSync((()=>{R((t=>$(t,e)))}))})()}));let t;const o=w.current,r=(0,s.Z)(o);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(o)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,d.Z)((()=>{M()})),a.useEffect((()=>{C.current=0}),[Z]),(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)("textarea",(0,r.Z)({value:Z,onChange:e=>{C.current=0,x||M(),o&&o(e)},ref:S,rows:v,style:(0,r.Z)({height:P.outerHeightStyle,overflow:P.overflow?"hidden":void 0},g)},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.Z)({},m,g,{padding:0})})]})}))},49161:(e,t,o)=>{o.d(t,{T:()=>i});var r=o(24328);o(52322);const n={disableDefaultClasses:!1},a=r.createContext(n);function i(e){const{disableDefaultClasses:t}=r.useContext(a);return o=>t?"":e(o)}},69917:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(7896),n=o(65444);function a(e,t,o){return void 0===e||(0,n.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,o)})}},97427:(e,t,o)=>{function r(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}o.d(t,{Z:()=>r})},65444:(e,t,o)=>{function r(e){return"string"==typeof e}o.d(t,{Z:()=>r})},5584:(e,t,o)=>{function r(e,t){return"function"==typeof e?e(t):e}o.d(t,{Z:()=>r})},80876:(e,t,o)=>{o.d(t,{Z:()=>p});var r=o(7896),n=o(31461),a=o(84501),i=o(69917),l=o(6277),s=o(97427);function c(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((o=>{t[o]=e[o]})),t}var d=o(5584);const u=["elementType","externalSlotProps","ownerState"];function p(e){var t;const{elementType:o,externalSlotProps:p,ownerState:f}=e,m=(0,n.Z)(e,u),h=(0,d.Z)(p,f),{props:b,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const e=(0,l.default)(null==a?void 0:a.className,null==n?void 0:n.className,i,null==o?void 0:o.className),t=(0,r.Z)({},null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),s=(0,r.Z)({},o,a,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const d=(0,s.Z)((0,r.Z)({},a,n)),u=c(n),p=c(a),f=t(d),m=(0,l.default)(null==f?void 0:f.className,null==o?void 0:o.className,i,null==a?void 0:a.className,null==n?void 0:n.className),h=(0,r.Z)({},null==f?void 0:f.style,null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),b=(0,r.Z)({},f,o,p,u);return m.length>0&&(b.className=m),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:f.ref}}((0,r.Z)({},m,{externalSlotProps:h})),g=(0,a.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.Z)(o,(0,r.Z)({},b,{ref:g}),f)}},88546:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(17055),u=o(70436),p=o(52322);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})((({ownerState:e})=>(0,n.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),h=a.forwardRef((function(e,t){var o,a,s;const h=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:b,className:v,component:g="div",components:Z={},componentsProps:y={},invisible:x=!1,open:w,slotProps:S={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:P}=h,R=(0,r.Z)(h,f),E=(0,n.Z)({},h,{component:g,invisible:x}),$=(e=>{const{classes:t,invisible:o}=e,r={root:["root",o&&"invisible"]};return(0,l.Z)(r,u.s,t)})(E),M=null!=(o=S.root)?o:y.root;return(0,p.jsx)(C,(0,n.Z)({in:w,timeout:P},R,{children:(0,p.jsx)(m,(0,n.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(s=k.root)?s:Z.Root)?a:g,className:(0,i.default)($.root,v,null==M?void 0:M.className),ownerState:(0,n.Z)({},E,null==M?void 0:M.ownerState),classes:$,ref:t,children:b}))}))}))},70436:(e,t,o)=>{o.d(t,{s:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiBackdrop",e)}const i=(0,r.Z)("MuiBackdrop",["root","invisible"])},38677:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(73022),s=o(69075),c=o(47591),d=o(65992),u=o(43853),p=o(13705),f=o(7342),m=o(58997),h=o(49146),b=o(52322);const v=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],g=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,f.Z)(o.color)}`],t[`size${(0,f.Z)(o.size)}`],t[`${o.variant}Size${(0,f.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var o,r;const a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.Z.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.Z.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(r=e.palette).getContrastText)?void 0:o.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.Z.disabled}`]:{boxShadow:"none"}})),y=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},g(e)))),x=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},g(e)))),w=a.forwardRef((function(e,t){const o=a.useContext(h.Z),c=(0,l.Z)(o,e),d=(0,u.Z)({props:c,name:"MuiButton"}),{children:p,color:g="primary",component:w="button",className:S,disabled:k=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:R,focusVisibleClassName:E,fullWidth:$=!1,size:M="medium",startIcon:O,type:T,variant:I="text"}=d,N=(0,r.Z)(d,v),j=(0,n.Z)({},d,{color:g,component:w,disabled:k,disableElevation:C,disableFocusRipple:P,fullWidth:$,size:M,type:T,variant:I}),A=(e=>{const{color:t,disableElevation:o,fullWidth:r,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},d=(0,s.Z)(c,m.F,l);return(0,n.Z)({},l,d)})(j),B=O&&(0,b.jsx)(y,{className:A.startIcon,ownerState:j,children:O}),F=R&&(0,b.jsx)(x,{className:A.endIcon,ownerState:j,children:R});return(0,b.jsxs)(Z,(0,n.Z)({ownerState:j,className:(0,i.default)(o.className,A.root,S),component:w,disabled:k,focusRipple:!P,focusVisibleClassName:(0,i.default)(A.focusVisible,E),ref:t,type:T},N,{classes:A,children:[B,p,F]}))}))},58997:(e,t,o)=>{o.d(t,{F:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiButton",e)}const i=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},13705:(e,t,o)=>{o.d(t,{Z:()=>T});var r=o(7896),n=o(31461),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(98659),u=o(78647),p=o(8250),f=o(89789),m=o(46324),h=o(52322);var b=o(15489);const v=["center","classes","className"];let g,Z,y,x,w=e=>e;const S=(0,m.keyframes)(g||(g=w`
|
|
3
3
|
0% {
|
|
4
4
|
transform: scale(0);
|
|
5
5
|
opacity: 0.1;
|
package/3096.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e54160af-1f54-4a38-9014-28045a644aab",e._sentryDebugIdIdentifier="sentry-dbid-e54160af-1f54-4a38-9014-28045a644aab")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1681"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3096],{3096:e=>{e.exports=function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var s=n[u]={exports:{}};t[u][0].call(s.exports,(function(e){return o(t[u][1][e]||e)}),s,s.exports,e,t,n,r)}return n[u].exports}for(var i=void 0,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t,n){(function(r,o,i,u,a,s,f,l,c){"use strict";var d=e("crypto");function h(e,t){return function(e,t){var n;if(void 0===(n="passthrough"!==t.algorithm?d.createHash(t.algorithm):new m).write&&(n.write=n.update,n.end=n.update),b(t,n).dispatch(e),n.update||n.end(""),n.digest)return n.digest("buffer"===t.encoding?void 0:t.encoding);var r=n.read();return"buffer"!==t.encoding?r.toString(t.encoding):r}(e,t=y(e,t))}(n=t.exports=h).sha1=function(e){return h(e)},n.keys=function(e){return h(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(e){return h(e,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(e){return h(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var p=d.getHashes?d.getHashes().slice():["sha1","md5"];p.push("passthrough");var g=["buffer","hex","binary","base64"];function y(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var r=0;r<p.length;++r)p[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=p[r]);if(-1===p.indexOf(n.algorithm))throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+p.join(", "));if(-1===g.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+g.join(", "));return n}function w(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,n){function r(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return n=n||[],{dispatch:function(t){return e.replacer&&(t=e.replacer(t)),this["_"+(null===t?"null":typeof t)](t)},_object:function(t){var o,u=Object.prototype.toString.call(t),a=/\[object (.*)\]/i.exec(u);if(a=(a=a?a[1]:"unknown:["+u+"]").toLowerCase(),0<=(o=n.indexOf(t)))return this.dispatch("[CIRCULAR:"+o+"]");if(n.push(t),void 0!==i&&i.isBuffer&&i.isBuffer(t))return r("buffer:"),r(t);if("object"===a||"function"===a||"asyncfunction"===a){var s=Object.keys(t);e.unorderedObjects&&(s=s.sort()),!1===e.respectType||w(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),r("object:"+s.length+":");var f=this;return s.forEach((function(n){f.dispatch(n),r(":"),e.excludeValues||f.dispatch(t[n]),r(",")}))}if(!this["_"+a]){if(e.ignoreUnknown)return r("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,o){o=void 0!==o?o:!1!==e.unorderedArrays;var i=this;if(r("array:"+t.length+":"),!o||t.length<=1)return t.forEach((function(e){return i.dispatch(e)}));var u=[],a=t.map((function(t){var r=new m,o=n.slice();return b(e,r,o).dispatch(t),u=u.concat(o.slice(n.length)),r.read().toString()}));return n=n.concat(u),a.sort(),this._array(a,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),w(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){r("map:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_set:function(t){r("set:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function m(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}n.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),b(t=y(e,t),n).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_7eac155c.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(e,t,n){(function(e,t,r,o,i,u,a,s,f){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),r="/".charCodeAt(0),o="0".charCodeAt(0),i="a".charCodeAt(0),u="A".charCodeAt(0),a="-".charCodeAt(0),s="_".charCodeAt(0);function f(e){var t=e.charCodeAt(0);return t===n||t===a?62:t===r||t===s?63:t<o?-1:t<o+10?t-o+26+26:t<u+26?t-u:t<i+26?t-i+26:void 0}e.toByteArray=function(e){var n,r;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.length,i="="===e.charAt(o-2)?2:"="===e.charAt(o-1)?1:0,u=new t(3*e.length/4-i),a=0<i?e.length-4:e.length,s=0;function l(e){u[s++]=e}for(n=0;n<a;n+=4,0)l((16711680&(r=f(e.charAt(n))<<18|f(e.charAt(n+1))<<12|f(e.charAt(n+2))<<6|f(e.charAt(n+3))))>>16),l((65280&r)>>8),l(255&r);return 2==i?l(255&(r=f(e.charAt(n))<<2|f(e.charAt(n+1))>>4)):1==i&&(l((r=f(e.charAt(n))<<10|f(e.charAt(n+1))<<4|f(e.charAt(n+2))>>2)>>8&255),l(255&r)),u},e.fromByteArray=function(e){var t,n,r,o,i=e.length%3,u="";function a(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,r=e.length-i;t<r;t+=3)u+=a((o=n=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+a(o>>12&63)+a(o>>6&63)+a(63&o);switch(i){case 1:u+=a((n=e[e.length-1])>>2),u+=a(n<<4&63),u+="==";break;case 2:u+=a((n=(e[e.length-2]<<8)+e[e.length-1])>>10),u+=a(n>>4&63),u+=a(n<<2&63),u+="="}return u}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(e,t,n){(function(t,r,o,i,u,a,s,f,l){var c=e("base64-js"),d=e("ieee754");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);var r,i,u,a,s,f=typeof e;if("base64"===t&&"string"==f)for(e=(r=e).trim?r.trim():r.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==f)i=U(e);else if("string"==f)i=o.byteLength(e,t);else{if("object"!=f)throw new Error("First argument needs to be a number, array or string.");i=U(e.length)}if(o._useTypedArrays?u=o._augment(new Uint8Array(i)):((u=this).length=i,u._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)u._set(e);else if(x(s=e)||o.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<i;a++)o.isBuffer(e)?u[a]=e.readUInt8(a):u[a]=e[a];else if("string"==f)u.write(e,0,t);else if("number"==f&&!o._useTypedArrays&&!n)for(a=0;a<i;a++)u[a]=0;return u}function h(e,t,n,r){r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length"));var o,i=e.length;if(!(i<=t))return n?(o=e[t],t+1<i&&(o|=e[t+1]<<8)):(o=e[t]<<8,t+1<i&&(o|=e[t+1])),o}function p(e,t,n,r){r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length"));var o,i=e.length;if(!(i<=t))return n?(t+2<i&&(o=e[t+2]<<16),t+1<i&&(o|=e[t+1]<<8),o|=e[t],t+3<i&&(o+=e[t+3]<<24>>>0)):(t+1<i&&(o=e[t+1]<<16),t+2<i&&(o|=e[t+2]<<8),t+3<i&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}function g(e,t,n,r){if(r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=h(e,t,n,!0);return 32768&o?-1*(65535-o+1):o}}function y(e,t,n,r){if(r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=p(e,t,n,!0);return 2147483648&o?-1*(4294967295-o+1):o}}function w(e,t,n,r){return r||(F("boolean"==typeof n,"missing or invalid endian"),F(t+3<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,23,4)}function b(e,t,n,r){return r||(F("boolean"==typeof n,"missing or invalid endian"),F(t+7<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,52,8)}function m(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+1<e.length,"trying to write beyond buffer length"),M(t,65535));var i=e.length;if(!(i<=n))for(var u=0,a=Math.min(i-n,2);u<a;u++)e[n+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function v(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+3<e.length,"trying to write beyond buffer length"),M(t,4294967295));var i=e.length;if(!(i<=n))for(var u=0,a=Math.min(i-n,4);u<a;u++)e[n+u]=t>>>8*(r?u:3-u)&255}function _(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+1<e.length,"Trying to write beyond buffer length"),N(t,32767,-32768)),e.length<=n||m(e,0<=t?t:65535+t+1,n,r,o)}function E(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+3<e.length,"Trying to write beyond buffer length"),N(t,2147483647,-2147483648)),e.length<=n||v(e,0<=t?t:4294967295+t+1,n,r,o)}function I(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+3<e.length,"Trying to write beyond buffer length"),Y(t,34028234663852886e22,-34028234663852886e22)),e.length<=n||d.write(e,t,n,r,23,4)}function A(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+7<e.length,"Trying to write beyond buffer length"),Y(t,17976931348623157e292,-17976931348623157e292)),e.length<=n||d.write(e,t,n,r,52,8)}n.Buffer=o,n.SlowBuffer=o,n.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=C(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=k(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw new Error("Unknown encoding")}return n},o.concat=function(e,t){if(F(x(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];if("number"!=typeof t)for(i=t=0;i<e.length;i++)t+=e[i].length;for(var n=new o(t),r=0,i=0;i<e.length;i++){var u=e[i];u.copy(n,r),r+=u.length}return n},o.prototype.write=function(e,t,n,r){var i;isFinite(t)?isFinite(n)||(r=n,n=void 0):(i=r,r=t,t=n,n=i),t=Number(t)||0;var u,a,s,f,l,c,d,h=this.length-t;switch((!n||h<(n=Number(n)))&&(n=h),r=String(r||"utf8").toLowerCase()){case"hex":u=function(e,t,n,r){n=Number(n)||0;var i=e.length-n;(!r||i<(r=Number(r)))&&(r=i);var u=t.length;F(u%2==0,"Invalid hex string"),u/2<r&&(r=u/2);for(var a=0;a<r;a++){var s=parseInt(t.substr(2*a,2),16);F(!isNaN(s),"Invalid hex string"),e[n+a]=s}return o._charsWritten=2*a,a}(this,e,t,n);break;case"utf8":case"utf-8":this,l=e,c=t,d=n,u=o._charsWritten=j(C(l),this,c,d);break;case"ascii":case"binary":u=function(e,t,n,r){return o._charsWritten=j(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}(this,e,t,n);break;case"base64":this,a=e,s=t,f=n,u=o._charsWritten=j(k(a),this,s,f);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":u=function(e,t,n,r){return o._charsWritten=j(function(e){for(var t,n,r,o=[],i=0;i<e.length;i++)n=(t=e.charCodeAt(i))>>8,r=t%256,o.push(r),o.push(n);return o}(t),e,n,r)}(this,e,t,n);break;default:throw new Error("Unknown encoding")}return u},o.prototype.toString=function(e,t,n){var r,o,i,u,a=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):n=a.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var o="",i=t;i<n;i++)o+=S(e[i]);return o}(a,t,n);break;case"utf8":case"utf-8":r=function(e,t,n){var r="",o="";n=Math.min(e.length,n);for(var i=t;i<n;i++)e[i]<=127?(r+=T(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return r+T(o)}(a,t,n);break;case"ascii":case"binary":r=function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;o++)r+=String.fromCharCode(e[o]);return r}(a,t,n);break;case"base64":o=a,u=n,r=0===(i=t)&&u===o.length?c.fromByteArray(o):c.fromByteArray(o.slice(i,u));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=function(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}(a,t,n);break;default:throw new Error("Unknown encoding")}return r},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,n,r){if(n=n||0,r||0===r||(r=this.length),t=t||0,r!==n&&0!==e.length&&0!==this.length){F(n<=r,"sourceEnd < sourceStart"),F(0<=t&&t<e.length,"targetStart out of bounds"),F(0<=n&&n<this.length,"sourceStart out of bounds"),F(0<=r&&r<=this.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(i<100||!o._useTypedArrays)for(var u=0;u<i;u++)e[u+t]=this[u+n];else e._set(this.subarray(n,n+i),t)}},o.prototype.slice=function(e,t){var n=this.length;if(e=L(e,n,0),t=L(t,n,n),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var r=t-e,i=new o(r,void 0,!0),u=0;u<r;u++)i[u]=this[u+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return h(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return h(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return p(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return p(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return g(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return g(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return b(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return b(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,n){n||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"trying to write beyond buffer length"),M(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,n){m(this,e,t,!0,n)},o.prototype.writeUInt16BE=function(e,t,n){m(this,e,t,!1,n)},o.prototype.writeUInt32LE=function(e,t,n){v(this,e,t,!0,n)},o.prototype.writeUInt32BE=function(e,t,n){v(this,e,t,!1,n)},o.prototype.writeInt8=function(e,t,n){n||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"Trying to write beyond buffer length"),N(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},o.prototype.writeInt16LE=function(e,t,n){_(this,e,t,!0,n)},o.prototype.writeInt16BE=function(e,t,n){_(this,e,t,!1,n)},o.prototype.writeInt32LE=function(e,t,n){E(this,e,t,!0,n)},o.prototype.writeInt32BE=function(e,t,n){E(this,e,t,!1,n)},o.prototype.writeFloatLE=function(e,t,n){I(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){I(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){A(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){A(this,e,t,!1,n)},o.prototype.fill=function(e,t,n){if(e=e||0,t=t||0,n=n||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),F("number"==typeof e&&!isNaN(e),"value is not a number"),F(t<=n,"end < start"),n!==t&&0!==this.length){F(0<=t&&t<this.length,"start out of bounds"),F(0<=n&&n<=this.length,"end out of bounds");for(var r=t;r<n;r++)this[r]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,r=0;r<t;r++)if(e[r]=S(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer};var B=o.prototype;function L(e,t,n){return"number"!=typeof e?n:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function U(e){return(e=~~Math.ceil(+e))<0?0:e}function x(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function S(e){return e<16?"0"+e.toString(16):e.toString(16)}function C(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(e.charCodeAt(n));else{var o=n;55296<=r&&r<=57343&&n++;for(var i=encodeURIComponent(e.slice(o,n+1)).substr(1).split("%"),u=0;u<i.length;u++)t.push(parseInt(i[u],16))}}return t}function k(e){return c.toByteArray(e)}function j(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function T(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function M(e,t){F("number"==typeof e,"cannot write a non-number as a number"),F(0<=e,"specified a negative value for writing an unsigned value"),F(e<=t,"value is larger than maximum value for type"),F(Math.floor(e)===e,"value has a fractional component")}function N(e,t,n){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(n<=e,"value smaller than minimum allowed value"),F(Math.floor(e)===e,"value has a fractional component")}function Y(e,t,n){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(n<=e,"value smaller than minimum allowed value")}function F(e,t){if(!e)throw new Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=B.get,e.set=B.set,e.write=B.write,e.toString=B.toString,e.toLocaleString=B.toString,e.toJSON=B.toJSON,e.copy=B.copy,e.slice=B.slice,e.readUInt8=B.readUInt8,e.readUInt16LE=B.readUInt16LE,e.readUInt16BE=B.readUInt16BE,e.readUInt32LE=B.readUInt32LE,e.readUInt32BE=B.readUInt32BE,e.readInt8=B.readInt8,e.readInt16LE=B.readInt16LE,e.readInt16BE=B.readInt16BE,e.readInt32LE=B.readInt32LE,e.readInt32BE=B.readInt32BE,e.readFloatLE=B.readFloatLE,e.readFloatBE=B.readFloatBE,e.readDoubleLE=B.readDoubleLE,e.readDoubleBE=B.readDoubleBE,e.writeUInt8=B.writeUInt8,e.writeUInt16LE=B.writeUInt16LE,e.writeUInt16BE=B.writeUInt16BE,e.writeUInt32LE=B.writeUInt32LE,e.writeUInt32BE=B.writeUInt32BE,e.writeInt8=B.writeInt8,e.writeInt16LE=B.writeInt16LE,e.writeInt16BE=B.writeInt16BE,e.writeInt32LE=B.writeInt32LE,e.writeInt32BE=B.writeInt32BE,e.writeFloatLE=B.writeFloatLE,e.writeFloatBE=B.writeFloatBE,e.writeDoubleLE=B.writeDoubleLE,e.writeDoubleBE=B.writeDoubleBE,e.fill=B.fill,e.inspect=B.inspect,e.toArrayBuffer=B.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){o=e("buffer").Buffer;var c=new o(4);c.fill(0),t.exports={hash:function(e,t,n,r){return o.isBuffer(e)||(e=new o(e)),function(e,t,n){for(var r=new o(t),i=n?r.writeInt32BE:r.writeInt32LE,u=0;u<e.length;u++)i.call(r,e[u],4*u,!0);return r}(t(function(e,t){var n;e.length%4!=0&&(n=e.length+(4-e.length%4),e=o.concat([e,c],n));for(var r=[],i=t?e.readInt32BE:e.readInt32LE,u=0;u<e.length;u+=4)r.push(i.call(e,u));return r}(e,r),8*e.length),n,r)}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(e,t,n){(function(t,r,o,i,u,a,s,f,l){o=e("buffer").Buffer;var c=e("./sha"),d=e("./sha256"),h=e("./rng"),p={sha1:c,sha256:d,md5:e("./md5")},g=64,y=new o(g);function w(e,t){var n=p[e=e||"sha1"],r=[];return n||b("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),r.push(e),e.length,this},digest:function(e){var i=o.concat(r),u=t?function(e,t,n){o.isBuffer(t)||(t=new o(t)),o.isBuffer(n)||(n=new o(n)),t.length>g?t=e(t):t.length<g&&(t=o.concat([t,y],g));for(var r=new o(g),i=new o(g),u=0;u<g;u++)r[u]=54^t[u],i[u]=92^t[u];var a=e(o.concat([r,n]));return e(o.concat([i,a]))}(n,t,i):n(i);return r=null,e?u.toString(e):u}}}function b(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}y.fill(0),n.createHash=function(e){return w(e)},n.createHmac=w,n.randomBytes=function(e,t){if(!t||!t.call)return new o(h(e));try{t.call(this,void 0,new o(h(e)))}catch(e){t(e)}},function(e,t){for(var n in e)t(e[n])}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(e){n[e]=function(){b("sorry,",e,"is not implemented yet")}}))}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){var c=e("./helpers");function d(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,u=0;u<e.length;u+=16){var a=n,s=r,f=o,l=i;n=p(n,r,o,i,e[u+0],7,-680876936),i=p(i,n,r,o,e[u+1],12,-389564586),o=p(o,i,n,r,e[u+2],17,606105819),r=p(r,o,i,n,e[u+3],22,-1044525330),n=p(n,r,o,i,e[u+4],7,-176418897),i=p(i,n,r,o,e[u+5],12,1200080426),o=p(o,i,n,r,e[u+6],17,-1473231341),r=p(r,o,i,n,e[u+7],22,-45705983),n=p(n,r,o,i,e[u+8],7,1770035416),i=p(i,n,r,o,e[u+9],12,-1958414417),o=p(o,i,n,r,e[u+10],17,-42063),r=p(r,o,i,n,e[u+11],22,-1990404162),n=p(n,r,o,i,e[u+12],7,1804603682),i=p(i,n,r,o,e[u+13],12,-40341101),o=p(o,i,n,r,e[u+14],17,-1502002290),n=g(n,r=p(r,o,i,n,e[u+15],22,1236535329),o,i,e[u+1],5,-165796510),i=g(i,n,r,o,e[u+6],9,-1069501632),o=g(o,i,n,r,e[u+11],14,643717713),r=g(r,o,i,n,e[u+0],20,-373897302),n=g(n,r,o,i,e[u+5],5,-701558691),i=g(i,n,r,o,e[u+10],9,38016083),o=g(o,i,n,r,e[u+15],14,-660478335),r=g(r,o,i,n,e[u+4],20,-405537848),n=g(n,r,o,i,e[u+9],5,568446438),i=g(i,n,r,o,e[u+14],9,-1019803690),o=g(o,i,n,r,e[u+3],14,-187363961),r=g(r,o,i,n,e[u+8],20,1163531501),n=g(n,r,o,i,e[u+13],5,-1444681467),i=g(i,n,r,o,e[u+2],9,-51403784),o=g(o,i,n,r,e[u+7],14,1735328473),n=y(n,r=g(r,o,i,n,e[u+12],20,-1926607734),o,i,e[u+5],4,-378558),i=y(i,n,r,o,e[u+8],11,-2022574463),o=y(o,i,n,r,e[u+11],16,1839030562),r=y(r,o,i,n,e[u+14],23,-35309556),n=y(n,r,o,i,e[u+1],4,-1530992060),i=y(i,n,r,o,e[u+4],11,1272893353),o=y(o,i,n,r,e[u+7],16,-155497632),r=y(r,o,i,n,e[u+10],23,-1094730640),n=y(n,r,o,i,e[u+13],4,681279174),i=y(i,n,r,o,e[u+0],11,-358537222),o=y(o,i,n,r,e[u+3],16,-722521979),r=y(r,o,i,n,e[u+6],23,76029189),n=y(n,r,o,i,e[u+9],4,-640364487),i=y(i,n,r,o,e[u+12],11,-421815835),o=y(o,i,n,r,e[u+15],16,530742520),n=w(n,r=y(r,o,i,n,e[u+2],23,-995338651),o,i,e[u+0],6,-198630844),i=w(i,n,r,o,e[u+7],10,1126891415),o=w(o,i,n,r,e[u+14],15,-1416354905),r=w(r,o,i,n,e[u+5],21,-57434055),n=w(n,r,o,i,e[u+12],6,1700485571),i=w(i,n,r,o,e[u+3],10,-1894986606),o=w(o,i,n,r,e[u+10],15,-1051523),r=w(r,o,i,n,e[u+1],21,-2054922799),n=w(n,r,o,i,e[u+8],6,1873313359),i=w(i,n,r,o,e[u+15],10,-30611744),o=w(o,i,n,r,e[u+6],15,-1560198380),r=w(r,o,i,n,e[u+13],21,1309151649),n=w(n,r,o,i,e[u+4],6,-145523070),i=w(i,n,r,o,e[u+11],10,-1120210379),o=w(o,i,n,r,e[u+2],15,718787259),r=w(r,o,i,n,e[u+9],21,-343485551),n=b(n,a),r=b(r,s),o=b(o,f),i=b(i,l)}return Array(n,r,o,i)}function h(e,t,n,r,o,i){return b((u=b(b(t,e),b(r,i)))<<(a=o)|u>>>32-a,n);var u,a}function p(e,t,n,r,o,i,u){return h(t&n|~t&r,e,t,o,i,u)}function g(e,t,n,r,o,i,u){return h(t&r|n&~r,e,t,o,i,u)}function y(e,t,n,r,o,i,u){return h(t^n^r,e,t,o,i,u)}function w(e,t,n,r,o,i,u){return h(n^(t|~r),e,t,o,i,u)}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return c.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,t,n){(function(e,n,r,o,i,u,a,s,f){var l;l=function(e){for(var t,n=new Array(e),r=0;r<e;r++)0==(3&r)&&(t=4294967296*Math.random()),n[r]=t>>>((3&r)<<3)&255;return n},t.exports=l}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){var c=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,o,i,u,a=Array(80),s=1732584193,f=-271733879,l=-1732584194,c=271733878,d=-1009589776,g=0;g<e.length;g+=16){for(var y=s,w=f,b=l,m=c,v=d,_=0;_<80;_++){a[_]=_<16?e[g+_]:p(a[_-3]^a[_-8]^a[_-14]^a[_-16],1);var E=h(h(p(s,5),(o=f,i=l,u=c,(r=_)<20?o&i|~o&u:!(r<40)&&r<60?o&i|o&u|i&u:o^i^u)),h(h(d,a[_]),(n=_)<20?1518500249:n<40?1859775393:n<60?-1894007588:-899497514));d=c,c=l,l=p(f,30),f=s,s=E}s=h(s,y),f=h(f,w),l=h(l,b),c=h(c,m),d=h(d,v)}return Array(s,f,l,c,d)}function h(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function p(e,t){return e<<t|e>>>32-t}t.exports=function(e){return c.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){function c(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){return e>>>t|e<<32-t}function h(e,t){var n,r,o,i,u,a,s,f,l,h,p=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),g=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),y=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var w,b,m,v,_,E,I,A,B=0;B<e.length;B+=16){n=g[0],r=g[1],o=g[2],i=g[3],u=g[4],a=g[5],s=g[6],f=g[7];for(var L=0;L<64;L++)y[L]=L<16?e[L+B]:c(c(c(d(A=y[L-2],17)^d(A,19)^A>>>10,y[L-7]),d(I=y[L-15],7)^d(I,18)^I>>>3),y[L-16]),l=c(c(c(c(f,d(E=u,6)^d(E,11)^d(E,25)),(_=u)&a^~_&s),p[L]),y[L]),h=c(d(v=n,2)^d(v,13)^d(v,22),(w=n)&(b=r)^w&(m=o)^b&m),f=s,s=a,a=u,u=c(i,l),i=o,o=r,r=n,n=c(l,h);g[0]=c(n,g[0]),g[1]=c(r,g[1]),g[2]=c(o,g[2]),g[3]=c(i,g[3]),g[4]=c(u,g[4]),g[5]=c(a,g[5]),g[6]=c(s,g[6]),g[7]=c(f,g[7])}return g}var p=e("./helpers");t.exports=function(e){return p.hash(e,h,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,t,n){(function(e,n,r,o,i,u,a,s,f){function l(){}(e=t.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<n.length&&n.shift()())}),!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=l,e.addListener=l,e.once=l,e.off=l,e.removeListener=l,e.removeAllListeners=l,e.emit=l,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(e,t,n){(function(e,t,r,o,i,u,a,s,f){n.read=function(e,t,n,r,o){var i,u,a=8*o-r-1,s=(1<<a)-1,f=s>>1,l=-7,c=n?o-1:0,d=n?-1:1,h=e[t+c];for(c+=d,i=h&(1<<-l)-1,h>>=-l,l+=a;0<l;i=256*i+e[t+c],c+=d,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;0<l;u=256*u+e[t+c],c+=d,l-=8);if(0===i)i=1-f;else{if(i===s)return u?NaN:1/0*(h?-1:1);u+=Math.pow(2,r),i-=f}return(h?-1:1)*u*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var u,a,s,f=8*i-o-1,l=(1<<f)-1,c=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-u))<1&&(u--,s*=2),2<=(t+=1<=u+c?d/s:d*Math.pow(2,1-c))*s&&(u++,s/=2),l<=u+c?(a=0,u=l):1<=u+c?(a=(t*s-1)*Math.pow(2,o),u+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),u=0));8<=o;e[n+h]=255&a,h+=p,a/=256,o-=8);for(u=u<<o|a,f+=o;0<f;e[n+h]=255&u,h+=p,u/=256,f-=8);e[n+h-p]|=128*g}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e54160af-1f54-4a38-9014-28045a644aab",e._sentryDebugIdIdentifier="sentry-dbid-e54160af-1f54-4a38-9014-28045a644aab")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1683"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3096],{3096:e=>{e.exports=function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var s=n[u]={exports:{}};t[u][0].call(s.exports,(function(e){return o(t[u][1][e]||e)}),s,s.exports,e,t,n,r)}return n[u].exports}for(var i=void 0,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t,n){(function(r,o,i,u,a,s,f,l,c){"use strict";var d=e("crypto");function h(e,t){return function(e,t){var n;if(void 0===(n="passthrough"!==t.algorithm?d.createHash(t.algorithm):new m).write&&(n.write=n.update,n.end=n.update),b(t,n).dispatch(e),n.update||n.end(""),n.digest)return n.digest("buffer"===t.encoding?void 0:t.encoding);var r=n.read();return"buffer"!==t.encoding?r.toString(t.encoding):r}(e,t=y(e,t))}(n=t.exports=h).sha1=function(e){return h(e)},n.keys=function(e){return h(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(e){return h(e,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(e){return h(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var p=d.getHashes?d.getHashes().slice():["sha1","md5"];p.push("passthrough");var g=["buffer","hex","binary","base64"];function y(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var r=0;r<p.length;++r)p[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=p[r]);if(-1===p.indexOf(n.algorithm))throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+p.join(", "));if(-1===g.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+g.join(", "));return n}function w(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,n){function r(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return n=n||[],{dispatch:function(t){return e.replacer&&(t=e.replacer(t)),this["_"+(null===t?"null":typeof t)](t)},_object:function(t){var o,u=Object.prototype.toString.call(t),a=/\[object (.*)\]/i.exec(u);if(a=(a=a?a[1]:"unknown:["+u+"]").toLowerCase(),0<=(o=n.indexOf(t)))return this.dispatch("[CIRCULAR:"+o+"]");if(n.push(t),void 0!==i&&i.isBuffer&&i.isBuffer(t))return r("buffer:"),r(t);if("object"===a||"function"===a||"asyncfunction"===a){var s=Object.keys(t);e.unorderedObjects&&(s=s.sort()),!1===e.respectType||w(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),r("object:"+s.length+":");var f=this;return s.forEach((function(n){f.dispatch(n),r(":"),e.excludeValues||f.dispatch(t[n]),r(",")}))}if(!this["_"+a]){if(e.ignoreUnknown)return r("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,o){o=void 0!==o?o:!1!==e.unorderedArrays;var i=this;if(r("array:"+t.length+":"),!o||t.length<=1)return t.forEach((function(e){return i.dispatch(e)}));var u=[],a=t.map((function(t){var r=new m,o=n.slice();return b(e,r,o).dispatch(t),u=u.concat(o.slice(n.length)),r.read().toString()}));return n=n.concat(u),a.sort(),this._array(a,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),w(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){r("map:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_set:function(t){r("set:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function m(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}n.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),b(t=y(e,t),n).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_7eac155c.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(e,t,n){(function(e,t,r,o,i,u,a,s,f){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),r="/".charCodeAt(0),o="0".charCodeAt(0),i="a".charCodeAt(0),u="A".charCodeAt(0),a="-".charCodeAt(0),s="_".charCodeAt(0);function f(e){var t=e.charCodeAt(0);return t===n||t===a?62:t===r||t===s?63:t<o?-1:t<o+10?t-o+26+26:t<u+26?t-u:t<i+26?t-i+26:void 0}e.toByteArray=function(e){var n,r;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.length,i="="===e.charAt(o-2)?2:"="===e.charAt(o-1)?1:0,u=new t(3*e.length/4-i),a=0<i?e.length-4:e.length,s=0;function l(e){u[s++]=e}for(n=0;n<a;n+=4,0)l((16711680&(r=f(e.charAt(n))<<18|f(e.charAt(n+1))<<12|f(e.charAt(n+2))<<6|f(e.charAt(n+3))))>>16),l((65280&r)>>8),l(255&r);return 2==i?l(255&(r=f(e.charAt(n))<<2|f(e.charAt(n+1))>>4)):1==i&&(l((r=f(e.charAt(n))<<10|f(e.charAt(n+1))<<4|f(e.charAt(n+2))>>2)>>8&255),l(255&r)),u},e.fromByteArray=function(e){var t,n,r,o,i=e.length%3,u="";function a(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,r=e.length-i;t<r;t+=3)u+=a((o=n=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+a(o>>12&63)+a(o>>6&63)+a(63&o);switch(i){case 1:u+=a((n=e[e.length-1])>>2),u+=a(n<<4&63),u+="==";break;case 2:u+=a((n=(e[e.length-2]<<8)+e[e.length-1])>>10),u+=a(n>>4&63),u+=a(n<<2&63),u+="="}return u}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(e,t,n){(function(t,r,o,i,u,a,s,f,l){var c=e("base64-js"),d=e("ieee754");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);var r,i,u,a,s,f=typeof e;if("base64"===t&&"string"==f)for(e=(r=e).trim?r.trim():r.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==f)i=U(e);else if("string"==f)i=o.byteLength(e,t);else{if("object"!=f)throw new Error("First argument needs to be a number, array or string.");i=U(e.length)}if(o._useTypedArrays?u=o._augment(new Uint8Array(i)):((u=this).length=i,u._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)u._set(e);else if(x(s=e)||o.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<i;a++)o.isBuffer(e)?u[a]=e.readUInt8(a):u[a]=e[a];else if("string"==f)u.write(e,0,t);else if("number"==f&&!o._useTypedArrays&&!n)for(a=0;a<i;a++)u[a]=0;return u}function h(e,t,n,r){r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length"));var o,i=e.length;if(!(i<=t))return n?(o=e[t],t+1<i&&(o|=e[t+1]<<8)):(o=e[t]<<8,t+1<i&&(o|=e[t+1])),o}function p(e,t,n,r){r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length"));var o,i=e.length;if(!(i<=t))return n?(t+2<i&&(o=e[t+2]<<16),t+1<i&&(o|=e[t+1]<<8),o|=e[t],t+3<i&&(o+=e[t+3]<<24>>>0)):(t+1<i&&(o=e[t+1]<<16),t+2<i&&(o|=e[t+2]<<8),t+3<i&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}function g(e,t,n,r){if(r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=h(e,t,n,!0);return 32768&o?-1*(65535-o+1):o}}function y(e,t,n,r){if(r||(F("boolean"==typeof n,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=p(e,t,n,!0);return 2147483648&o?-1*(4294967295-o+1):o}}function w(e,t,n,r){return r||(F("boolean"==typeof n,"missing or invalid endian"),F(t+3<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,23,4)}function b(e,t,n,r){return r||(F("boolean"==typeof n,"missing or invalid endian"),F(t+7<e.length,"Trying to read beyond buffer length")),d.read(e,t,n,52,8)}function m(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+1<e.length,"trying to write beyond buffer length"),M(t,65535));var i=e.length;if(!(i<=n))for(var u=0,a=Math.min(i-n,2);u<a;u++)e[n+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function v(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+3<e.length,"trying to write beyond buffer length"),M(t,4294967295));var i=e.length;if(!(i<=n))for(var u=0,a=Math.min(i-n,4);u<a;u++)e[n+u]=t>>>8*(r?u:3-u)&255}function _(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+1<e.length,"Trying to write beyond buffer length"),N(t,32767,-32768)),e.length<=n||m(e,0<=t?t:65535+t+1,n,r,o)}function E(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+3<e.length,"Trying to write beyond buffer length"),N(t,2147483647,-2147483648)),e.length<=n||v(e,0<=t?t:4294967295+t+1,n,r,o)}function I(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+3<e.length,"Trying to write beyond buffer length"),Y(t,34028234663852886e22,-34028234663852886e22)),e.length<=n||d.write(e,t,n,r,23,4)}function A(e,t,n,r,o){o||(F(null!=t,"missing value"),F("boolean"==typeof r,"missing or invalid endian"),F(null!=n,"missing offset"),F(n+7<e.length,"Trying to write beyond buffer length"),Y(t,17976931348623157e292,-17976931348623157e292)),e.length<=n||d.write(e,t,n,r,52,8)}n.Buffer=o,n.SlowBuffer=o,n.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=C(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=k(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw new Error("Unknown encoding")}return n},o.concat=function(e,t){if(F(x(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];if("number"!=typeof t)for(i=t=0;i<e.length;i++)t+=e[i].length;for(var n=new o(t),r=0,i=0;i<e.length;i++){var u=e[i];u.copy(n,r),r+=u.length}return n},o.prototype.write=function(e,t,n,r){var i;isFinite(t)?isFinite(n)||(r=n,n=void 0):(i=r,r=t,t=n,n=i),t=Number(t)||0;var u,a,s,f,l,c,d,h=this.length-t;switch((!n||h<(n=Number(n)))&&(n=h),r=String(r||"utf8").toLowerCase()){case"hex":u=function(e,t,n,r){n=Number(n)||0;var i=e.length-n;(!r||i<(r=Number(r)))&&(r=i);var u=t.length;F(u%2==0,"Invalid hex string"),u/2<r&&(r=u/2);for(var a=0;a<r;a++){var s=parseInt(t.substr(2*a,2),16);F(!isNaN(s),"Invalid hex string"),e[n+a]=s}return o._charsWritten=2*a,a}(this,e,t,n);break;case"utf8":case"utf-8":this,l=e,c=t,d=n,u=o._charsWritten=j(C(l),this,c,d);break;case"ascii":case"binary":u=function(e,t,n,r){return o._charsWritten=j(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}(this,e,t,n);break;case"base64":this,a=e,s=t,f=n,u=o._charsWritten=j(k(a),this,s,f);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":u=function(e,t,n,r){return o._charsWritten=j(function(e){for(var t,n,r,o=[],i=0;i<e.length;i++)n=(t=e.charCodeAt(i))>>8,r=t%256,o.push(r),o.push(n);return o}(t),e,n,r)}(this,e,t,n);break;default:throw new Error("Unknown encoding")}return u},o.prototype.toString=function(e,t,n){var r,o,i,u,a=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):n=a.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var o="",i=t;i<n;i++)o+=S(e[i]);return o}(a,t,n);break;case"utf8":case"utf-8":r=function(e,t,n){var r="",o="";n=Math.min(e.length,n);for(var i=t;i<n;i++)e[i]<=127?(r+=T(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return r+T(o)}(a,t,n);break;case"ascii":case"binary":r=function(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;o++)r+=String.fromCharCode(e[o]);return r}(a,t,n);break;case"base64":o=a,u=n,r=0===(i=t)&&u===o.length?c.fromByteArray(o):c.fromByteArray(o.slice(i,u));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=function(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}(a,t,n);break;default:throw new Error("Unknown encoding")}return r},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,n,r){if(n=n||0,r||0===r||(r=this.length),t=t||0,r!==n&&0!==e.length&&0!==this.length){F(n<=r,"sourceEnd < sourceStart"),F(0<=t&&t<e.length,"targetStart out of bounds"),F(0<=n&&n<this.length,"sourceStart out of bounds"),F(0<=r&&r<=this.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(i<100||!o._useTypedArrays)for(var u=0;u<i;u++)e[u+t]=this[u+n];else e._set(this.subarray(n,n+i),t)}},o.prototype.slice=function(e,t){var n=this.length;if(e=L(e,n,0),t=L(t,n,n),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var r=t-e,i=new o(r,void 0,!0),u=0;u<r;u++)i[u]=this[u+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return h(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return h(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return p(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return p(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return g(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return g(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return b(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return b(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,n){n||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"trying to write beyond buffer length"),M(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,n){m(this,e,t,!0,n)},o.prototype.writeUInt16BE=function(e,t,n){m(this,e,t,!1,n)},o.prototype.writeUInt32LE=function(e,t,n){v(this,e,t,!0,n)},o.prototype.writeUInt32BE=function(e,t,n){v(this,e,t,!1,n)},o.prototype.writeInt8=function(e,t,n){n||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"Trying to write beyond buffer length"),N(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},o.prototype.writeInt16LE=function(e,t,n){_(this,e,t,!0,n)},o.prototype.writeInt16BE=function(e,t,n){_(this,e,t,!1,n)},o.prototype.writeInt32LE=function(e,t,n){E(this,e,t,!0,n)},o.prototype.writeInt32BE=function(e,t,n){E(this,e,t,!1,n)},o.prototype.writeFloatLE=function(e,t,n){I(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){I(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){A(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){A(this,e,t,!1,n)},o.prototype.fill=function(e,t,n){if(e=e||0,t=t||0,n=n||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),F("number"==typeof e&&!isNaN(e),"value is not a number"),F(t<=n,"end < start"),n!==t&&0!==this.length){F(0<=t&&t<this.length,"start out of bounds"),F(0<=n&&n<=this.length,"end out of bounds");for(var r=t;r<n;r++)this[r]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,r=0;r<t;r++)if(e[r]=S(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer};var B=o.prototype;function L(e,t,n){return"number"!=typeof e?n:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function U(e){return(e=~~Math.ceil(+e))<0?0:e}function x(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function S(e){return e<16?"0"+e.toString(16):e.toString(16)}function C(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(e.charCodeAt(n));else{var o=n;55296<=r&&r<=57343&&n++;for(var i=encodeURIComponent(e.slice(o,n+1)).substr(1).split("%"),u=0;u<i.length;u++)t.push(parseInt(i[u],16))}}return t}function k(e){return c.toByteArray(e)}function j(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function T(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function M(e,t){F("number"==typeof e,"cannot write a non-number as a number"),F(0<=e,"specified a negative value for writing an unsigned value"),F(e<=t,"value is larger than maximum value for type"),F(Math.floor(e)===e,"value has a fractional component")}function N(e,t,n){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(n<=e,"value smaller than minimum allowed value"),F(Math.floor(e)===e,"value has a fractional component")}function Y(e,t,n){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(n<=e,"value smaller than minimum allowed value")}function F(e,t){if(!e)throw new Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=B.get,e.set=B.set,e.write=B.write,e.toString=B.toString,e.toLocaleString=B.toString,e.toJSON=B.toJSON,e.copy=B.copy,e.slice=B.slice,e.readUInt8=B.readUInt8,e.readUInt16LE=B.readUInt16LE,e.readUInt16BE=B.readUInt16BE,e.readUInt32LE=B.readUInt32LE,e.readUInt32BE=B.readUInt32BE,e.readInt8=B.readInt8,e.readInt16LE=B.readInt16LE,e.readInt16BE=B.readInt16BE,e.readInt32LE=B.readInt32LE,e.readInt32BE=B.readInt32BE,e.readFloatLE=B.readFloatLE,e.readFloatBE=B.readFloatBE,e.readDoubleLE=B.readDoubleLE,e.readDoubleBE=B.readDoubleBE,e.writeUInt8=B.writeUInt8,e.writeUInt16LE=B.writeUInt16LE,e.writeUInt16BE=B.writeUInt16BE,e.writeUInt32LE=B.writeUInt32LE,e.writeUInt32BE=B.writeUInt32BE,e.writeInt8=B.writeInt8,e.writeInt16LE=B.writeInt16LE,e.writeInt16BE=B.writeInt16BE,e.writeInt32LE=B.writeInt32LE,e.writeInt32BE=B.writeInt32BE,e.writeFloatLE=B.writeFloatLE,e.writeFloatBE=B.writeFloatBE,e.writeDoubleLE=B.writeDoubleLE,e.writeDoubleBE=B.writeDoubleBE,e.fill=B.fill,e.inspect=B.inspect,e.toArrayBuffer=B.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){o=e("buffer").Buffer;var c=new o(4);c.fill(0),t.exports={hash:function(e,t,n,r){return o.isBuffer(e)||(e=new o(e)),function(e,t,n){for(var r=new o(t),i=n?r.writeInt32BE:r.writeInt32LE,u=0;u<e.length;u++)i.call(r,e[u],4*u,!0);return r}(t(function(e,t){var n;e.length%4!=0&&(n=e.length+(4-e.length%4),e=o.concat([e,c],n));for(var r=[],i=t?e.readInt32BE:e.readInt32LE,u=0;u<e.length;u+=4)r.push(i.call(e,u));return r}(e,r),8*e.length),n,r)}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(e,t,n){(function(t,r,o,i,u,a,s,f,l){o=e("buffer").Buffer;var c=e("./sha"),d=e("./sha256"),h=e("./rng"),p={sha1:c,sha256:d,md5:e("./md5")},g=64,y=new o(g);function w(e,t){var n=p[e=e||"sha1"],r=[];return n||b("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),r.push(e),e.length,this},digest:function(e){var i=o.concat(r),u=t?function(e,t,n){o.isBuffer(t)||(t=new o(t)),o.isBuffer(n)||(n=new o(n)),t.length>g?t=e(t):t.length<g&&(t=o.concat([t,y],g));for(var r=new o(g),i=new o(g),u=0;u<g;u++)r[u]=54^t[u],i[u]=92^t[u];var a=e(o.concat([r,n]));return e(o.concat([i,a]))}(n,t,i):n(i);return r=null,e?u.toString(e):u}}}function b(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}y.fill(0),n.createHash=function(e){return w(e)},n.createHmac=w,n.randomBytes=function(e,t){if(!t||!t.call)return new o(h(e));try{t.call(this,void 0,new o(h(e)))}catch(e){t(e)}},function(e,t){for(var n in e)t(e[n])}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(e){n[e]=function(){b("sorry,",e,"is not implemented yet")}}))}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){var c=e("./helpers");function d(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,u=0;u<e.length;u+=16){var a=n,s=r,f=o,l=i;n=p(n,r,o,i,e[u+0],7,-680876936),i=p(i,n,r,o,e[u+1],12,-389564586),o=p(o,i,n,r,e[u+2],17,606105819),r=p(r,o,i,n,e[u+3],22,-1044525330),n=p(n,r,o,i,e[u+4],7,-176418897),i=p(i,n,r,o,e[u+5],12,1200080426),o=p(o,i,n,r,e[u+6],17,-1473231341),r=p(r,o,i,n,e[u+7],22,-45705983),n=p(n,r,o,i,e[u+8],7,1770035416),i=p(i,n,r,o,e[u+9],12,-1958414417),o=p(o,i,n,r,e[u+10],17,-42063),r=p(r,o,i,n,e[u+11],22,-1990404162),n=p(n,r,o,i,e[u+12],7,1804603682),i=p(i,n,r,o,e[u+13],12,-40341101),o=p(o,i,n,r,e[u+14],17,-1502002290),n=g(n,r=p(r,o,i,n,e[u+15],22,1236535329),o,i,e[u+1],5,-165796510),i=g(i,n,r,o,e[u+6],9,-1069501632),o=g(o,i,n,r,e[u+11],14,643717713),r=g(r,o,i,n,e[u+0],20,-373897302),n=g(n,r,o,i,e[u+5],5,-701558691),i=g(i,n,r,o,e[u+10],9,38016083),o=g(o,i,n,r,e[u+15],14,-660478335),r=g(r,o,i,n,e[u+4],20,-405537848),n=g(n,r,o,i,e[u+9],5,568446438),i=g(i,n,r,o,e[u+14],9,-1019803690),o=g(o,i,n,r,e[u+3],14,-187363961),r=g(r,o,i,n,e[u+8],20,1163531501),n=g(n,r,o,i,e[u+13],5,-1444681467),i=g(i,n,r,o,e[u+2],9,-51403784),o=g(o,i,n,r,e[u+7],14,1735328473),n=y(n,r=g(r,o,i,n,e[u+12],20,-1926607734),o,i,e[u+5],4,-378558),i=y(i,n,r,o,e[u+8],11,-2022574463),o=y(o,i,n,r,e[u+11],16,1839030562),r=y(r,o,i,n,e[u+14],23,-35309556),n=y(n,r,o,i,e[u+1],4,-1530992060),i=y(i,n,r,o,e[u+4],11,1272893353),o=y(o,i,n,r,e[u+7],16,-155497632),r=y(r,o,i,n,e[u+10],23,-1094730640),n=y(n,r,o,i,e[u+13],4,681279174),i=y(i,n,r,o,e[u+0],11,-358537222),o=y(o,i,n,r,e[u+3],16,-722521979),r=y(r,o,i,n,e[u+6],23,76029189),n=y(n,r,o,i,e[u+9],4,-640364487),i=y(i,n,r,o,e[u+12],11,-421815835),o=y(o,i,n,r,e[u+15],16,530742520),n=w(n,r=y(r,o,i,n,e[u+2],23,-995338651),o,i,e[u+0],6,-198630844),i=w(i,n,r,o,e[u+7],10,1126891415),o=w(o,i,n,r,e[u+14],15,-1416354905),r=w(r,o,i,n,e[u+5],21,-57434055),n=w(n,r,o,i,e[u+12],6,1700485571),i=w(i,n,r,o,e[u+3],10,-1894986606),o=w(o,i,n,r,e[u+10],15,-1051523),r=w(r,o,i,n,e[u+1],21,-2054922799),n=w(n,r,o,i,e[u+8],6,1873313359),i=w(i,n,r,o,e[u+15],10,-30611744),o=w(o,i,n,r,e[u+6],15,-1560198380),r=w(r,o,i,n,e[u+13],21,1309151649),n=w(n,r,o,i,e[u+4],6,-145523070),i=w(i,n,r,o,e[u+11],10,-1120210379),o=w(o,i,n,r,e[u+2],15,718787259),r=w(r,o,i,n,e[u+9],21,-343485551),n=b(n,a),r=b(r,s),o=b(o,f),i=b(i,l)}return Array(n,r,o,i)}function h(e,t,n,r,o,i){return b((u=b(b(t,e),b(r,i)))<<(a=o)|u>>>32-a,n);var u,a}function p(e,t,n,r,o,i,u){return h(t&n|~t&r,e,t,o,i,u)}function g(e,t,n,r,o,i,u){return h(t&r|n&~r,e,t,o,i,u)}function y(e,t,n,r,o,i,u){return h(t^n^r,e,t,o,i,u)}function w(e,t,n,r,o,i,u){return h(n^(t|~r),e,t,o,i,u)}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return c.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,t,n){(function(e,n,r,o,i,u,a,s,f){var l;l=function(e){for(var t,n=new Array(e),r=0;r<e;r++)0==(3&r)&&(t=4294967296*Math.random()),n[r]=t>>>((3&r)<<3)&255;return n},t.exports=l}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){var c=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,o,i,u,a=Array(80),s=1732584193,f=-271733879,l=-1732584194,c=271733878,d=-1009589776,g=0;g<e.length;g+=16){for(var y=s,w=f,b=l,m=c,v=d,_=0;_<80;_++){a[_]=_<16?e[g+_]:p(a[_-3]^a[_-8]^a[_-14]^a[_-16],1);var E=h(h(p(s,5),(o=f,i=l,u=c,(r=_)<20?o&i|~o&u:!(r<40)&&r<60?o&i|o&u|i&u:o^i^u)),h(h(d,a[_]),(n=_)<20?1518500249:n<40?1859775393:n<60?-1894007588:-899497514));d=c,c=l,l=p(f,30),f=s,s=E}s=h(s,y),f=h(f,w),l=h(l,b),c=h(c,m),d=h(d,v)}return Array(s,f,l,c,d)}function h(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function p(e,t){return e<<t|e>>>32-t}t.exports=function(e){return c.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(e,t,n){(function(n,r,o,i,u,a,s,f,l){function c(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){return e>>>t|e<<32-t}function h(e,t){var n,r,o,i,u,a,s,f,l,h,p=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),g=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),y=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var w,b,m,v,_,E,I,A,B=0;B<e.length;B+=16){n=g[0],r=g[1],o=g[2],i=g[3],u=g[4],a=g[5],s=g[6],f=g[7];for(var L=0;L<64;L++)y[L]=L<16?e[L+B]:c(c(c(d(A=y[L-2],17)^d(A,19)^A>>>10,y[L-7]),d(I=y[L-15],7)^d(I,18)^I>>>3),y[L-16]),l=c(c(c(c(f,d(E=u,6)^d(E,11)^d(E,25)),(_=u)&a^~_&s),p[L]),y[L]),h=c(d(v=n,2)^d(v,13)^d(v,22),(w=n)&(b=r)^w&(m=o)^b&m),f=s,s=a,a=u,u=c(i,l),i=o,o=r,r=n,n=c(l,h);g[0]=c(n,g[0]),g[1]=c(r,g[1]),g[2]=c(o,g[2]),g[3]=c(i,g[3]),g[4]=c(u,g[4]),g[5]=c(a,g[5]),g[6]=c(s,g[6]),g[7]=c(f,g[7])}return g}var p=e("./helpers");t.exports=function(e){return p.hash(e,h,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,t,n){(function(e,n,r,o,i,u,a,s,f){function l(){}(e=t.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<n.length&&n.shift()())}),!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=l,e.addListener=l,e.once=l,e.off=l,e.removeListener=l,e.removeAllListeners=l,e.emit=l,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(e,t,n){(function(e,t,r,o,i,u,a,s,f){n.read=function(e,t,n,r,o){var i,u,a=8*o-r-1,s=(1<<a)-1,f=s>>1,l=-7,c=n?o-1:0,d=n?-1:1,h=e[t+c];for(c+=d,i=h&(1<<-l)-1,h>>=-l,l+=a;0<l;i=256*i+e[t+c],c+=d,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;0<l;u=256*u+e[t+c],c+=d,l-=8);if(0===i)i=1-f;else{if(i===s)return u?NaN:1/0*(h?-1:1);u+=Math.pow(2,r),i-=f}return(h?-1:1)*u*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var u,a,s,f=8*i-o-1,l=(1<<f)-1,c=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-u))<1&&(u--,s*=2),2<=(t+=1<=u+c?d/s:d*Math.pow(2,1-c))*s&&(u++,s/=2),l<=u+c?(a=0,u=l):1<=u+c?(a=(t*s-1)*Math.pow(2,o),u+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),u=0));8<=o;e[n+h]=255&a,h+=p,a/=256,o-=8);for(u=u<<o|a,f+=o;0<f;e[n+h]=255&u,h+=p,u/=256,f-=8);e[n+h-p]|=128*g}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)}}]);
|
|
2
2
|
//# sourceMappingURL=3096.js.map
|