1"use strict";(self.webpackChunkcrm_copilot=self.webpackChunkcrm_copilot||[]).push([[208],{6503:(t,e,r)=>{r.d(e,{A:()=>n});var n=r(92585).Q1},6739:(t,e,r)=>{r.d(e,{Ay:()=>o});var n=r(27732),o=n.YY.create({name:"typography",addOptions:()=>({closeDoubleQuote:"\u201d",closeSingleQuote:"\u2019",copyright:"\xa9",ellipsis:"\u2026",emDash:"\u2014",laquo:"\xab",leftArrow:"\u2190",multiplication:"\xd7",notEqual:"\u2260",oneHalf:"\xbd",oneQuarter:"\xbc",openDoubleQuote:"\u201c",openSingleQuote:"\u2018",plusMinus:"\xb1",raquo:"\xbb",registeredTrademark:"\xae",rightArrow:"\u2192",servicemark:"\u2120",superscriptThree:"\xb3",superscriptTwo:"\xb2",threeQuarters:"\xbe",trademark:"\u2122"}),addInputRules(){const t=[];var e;return!1!==this.options.emDash&&t.push((e=this.options.emDash,(0,n.Yp)({find:/--$/,replace:null!=e?e:"\u2014"}))),!1!==this.options.ellipsis&&t.push((t=>(0,n.Yp)({find:/\.\.\.$/,replace:null!=t?t:"\u2026"}))(this.options.ellipsis)),!1!==this.options.openDoubleQuote&&t.push((t=>(0,n.Yp)({find:/(?:^|[\s{[(<'"\u2018\u201C])(")$/,replace:null!=t?t:"\u201c"}))(this.options.openDoubleQuote)),!1!==this.options.closeDoubleQuote&&t.push((t=>(0,n.Yp)({find:/"$/,replace:null!=t?t:"\u201d"}))(this.options.closeDoubleQuote)),!1!==this.options.openSingleQuote&&t.push((t=>(0,n.Yp)({find:/(?:^|[\s{[(<'"\u2018\u201C])(')$/,replace:null!=t?t:"\u2018"}))(this.options.openSingleQuote)),!1!==this.options.closeSingleQuote&&t.push((t=>(0,n.Yp)({find:/'$/,replace:null!=t?t:"\u2019"}))(this.options.closeSingleQuote)),!1!==this.options.leftArrow&&t.push((t=>(0,n.Yp)({find:/<-$/,replace:null!=t?t:"\u2190"}))(this.options.leftArrow)),!1!==this.options.rightArrow&&t.push((t=>(0,n.Yp)({find:/->$/,replace:null!=t?t:"\u2192"}))(this.options.rightArrow)),!1!==this.options.copyright&&t.push((t=>(0,n.Yp)({find:/\(c\)$/,replace:null!=t?t:"\xa9"}))(this.options.copyright)),!1!==this.options.trademark&&t.push((t=>(0,n.Yp)({find:/\(tm\)$/,replace:null!=t?t:"\u2122"}))(this.options.trademark)),!1!==this.options.servicemark&&t.push((t=>(0,n.Yp)({find:/\(sm\)$/,replace:null!=t?t:"\u2120"}))(this.options.servicemark)),!1!==this.options.registeredTrademark&&t.push((t=>(0,n.Yp)({find:/\(r\)$/,replace:null!=t?t:"\xae"}))(this.options.registeredTrademark)),!1!==this.options.oneHalf&&t.push((t=>(0,n.Yp)({find:/(?:^|\s)(1\/2)\s$/,replace:null!=t?t:"\xbd"}
1))(this.options.oneHalf)),!1!==this.options.plusMinus&&t.push((t=>(0,n.Yp)({find:/\+\/-$/,replace:null!=t?t:"\xb1"}))(this.options.plusMinus)),!1!==this.options.notEqual&&t.push((t=>(0,n.Yp)({find:/!=$/,replace:null!=t?t:"\u2260"}))(this.options.notEqual)),!1!==this.options.laquo&&t.push((t=>(0,n.Yp)({find:/<<$/,replace:null!=t?t:"\xab"}))(this.options.laquo)),!1!==this.options.raquo&&t.push((t=>(0,n.Yp)({find:/>>$/,replace:null!=t?t:"\xbb"}))(this.options.raquo)),!1!==this.options.multiplication&&t.push((t=>(0,n.Yp)({find:/\d+\s?([*x])\s?\d+$/,replace:null!=t?t:"\xd7"}))(this.options.multiplication)),!1!==this.options.superscriptTwo&&t.push((t=>(0,n.Yp)({find:/\^2$/,replace:null!=t?t:"\xb2"}))(this.options.superscriptTwo)),!1!==this.options.superscriptThree&&t.push((t=>(0,n.Yp)({find:/\^3$/,replace:null!=t?t:"\xb3"}))(this.options.superscriptThree)),!1!==this.options.oneQuarter&&t.push((t=>(0,n.Yp)({find:/(?:^|\s)(1\/4)\s$/,replace:null!=t?t:"\xbc"}))(this.options.oneQuarter)),!1!==this.options.threeQuarters&&t.push((t=>(0,n.Yp)({find:/(?:^|\s)(3\/4)\s$/,replace:null!=t?t:"\xbe"}))(this.options.threeQuarters)),t}})},35734:(t,e,r)=>{r.d(e,{Ay:()=>i});var n=r(27732),o=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,s=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,i=n.CU.create({name:"highlight",addOptions:()=>({multicolor:!1,HTMLAttributes:{}}),addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:t=>t.getAttribute("data-color")||t.style.backgroundColor,renderHTML:t=>t.color?{"data-color":t.color,style:"background-color: ".concat(t.color,"; color: inherit")}:{}}}:{}},parseHTML:()=>[{tag:"mark"}],renderHTML(t){let{HTMLAttributes:e}=t;return["mark",(0,n.KV)(this.options.HTMLAttributes,e),0]},renderMarkdown:(t,e)=>"==".concat(e.renderChildren(t),"=="),parseMarkdown:(t,e)=>e.applyMark("highlight",e.parseInline(t.tokens||[])),markdownTokenizer:{name:"highlight",level:"inline",start:t=>t.indexOf("=="),tokenize(t,e,r){const n=/^(==)([^=]+)(==)/.exec(t);if(n){const t=n[2].trim(),e=r.inlineTokens(t);return{type:"highlight",raw:n[0],text:t,tokens:e}}}},addCommands(){return{setHighlight:t=>e=>{let{commands:r}=e;return r.setMark(this.name,t)},toggleHighlight:t=>e=>{let{commands:r}=e;return r.toggleMark(this.name,t)},unsetHighlight:()=>t=>{let{commands:e}=t;return e.unsetMark(this.name)}}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}}
1,addInputRules(){return[(0,n.OX)({find:o,type:this.type})]},addPasteRules(){return[(0,n.Zc)({find:s,type:this.type})]}})},86745:(t,e,r)=>{r.d(e,{A:()=>n});var n=r(63314).n4},89941:(t,e,r)=>{r.d(e,{A:()=>n});var n=r(27732).YY.create({name:"textAlign",addOptions:()=>({types:[],alignments:["left","center","right","justify"],defaultAlignment:null}),addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:t=>{const e=t.style.textAlign;return this.options.alignments.includes(e)?e:this.options.defaultAlignment},renderHTML:t=>t.textAlign?{style:"text-align: ".concat(t.textAlign)}:{}}}}]},addCommands(){return{setTextAlign:t=>e=>{let{commands:r}=e;return!!this.options.alignments.includes(t)&&this.options.types.map(e=>r.updateAttributes(e,{textAlign:t})).some(t=>t)},unsetTextAlign:()=>t=>{let{commands:e}=t;return this.options.types.map(t=>e.resetAttributes(t,"textAlign")).some(t=>t)},toggleTextAlign:t=>e=>{let{editor:r,commands:n}=e;return!!this.options.alignments.includes(t)&&(r.isActive({textAlign:t})?n.unsetTextAlign():n.setTextAlign(t))}}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}})},90125:(t,e,r)=>{r.d(e,{Gz:()=>C});const{getOwnPropertyNames:n,getOwnPropertySymbols:o}=Object,{hasOwnProperty:s}=Object.prototype;function i(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function a(t){return function(e,r,n){if(!e||!r||"object"!==typeof e||"object"!==typeof r)return t(e,r,n);const{cache:o}=n,s=o.get(e),i=o.get(r);if(s&&i)return s===r&&i===e;o.set(e,r),o.set(r,e);const a=t(e,r,n);return o.delete(e),o.delete(r),a}}function l(t){return n(t).concat(o(t))}const u=Object.hasOwn||((t,e)=>s.call(t,e)),{getOwnPropertyDescriptor:c,keys:p}=Object,h=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e};function d(t,e){return t===e}function f(t,e){return t.byteLength===e.byteLength&&M(new Uint8Array(t),new Uint8Array(e))}function m(t,e,r){let n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function g(t,e){return t.byteLength===e.byteLength&&M(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function y(t,e){return h(t.getTime(),e.getTime())}function b(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function A(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),s=t.entries();let i,a,l=0;for(;(i=s.next())&&!i.done;){const n=e.entries();let s=!1,u=0;for(;(a=n.next())&&!a.done;){if(o[u]){u++;continue}const n=i.value,c=a.value;if(r.equals(n[0],c[0],l,u,t,e,r)&&r.equals(n[1],c[1],n[0],c[0],t,e,r)){s=o[u]=!0;break}u++}if(!s)return!1;l++}return!0}function S(t,e,r){const n=p(t);let o=n.length;if(p(e).length!==o)return!1;for(;o-- >0;)if(!j(t,e,r,n[o]))return!1;return!0}function E(t,e,r){const n=l(t);let o,s,i,a=n.length;if(l(e).length!==a)return!1;for(;a-- >0;){if(o=n[a],!j(t,e,r,o))return!1;if(s=c(t,o),i=c(e,o),(s||i)&&(!s||!i||s.configurable!==i.configurable||s.enumerable!==i.enumerable||s.writable!==i.writable))return!1}return!0}function k(t,e){return h(t.valueOf(),e.valueOf())}function q(t,e){return t.source===e.source&&t.flags===e.flags}function x(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),s=t.values();let i,a;for(;(i=s.next())&&!i.done;){const n=e.values();let s=!1,l=0;for(;(a=n.next())&&!a.done;){if(!o[l]&&r.equals(i.value,a.value,i.value,a.value,t,e,r)){s=o[l]=!0;break}l++}if(!s)return!1}return!0}function M(t,e){let r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function T(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function j(t,e,r,n){return!("_owner"!==n&&"__o"!==n&&"__v"!==n||!t.$$typeof&&!e.$$typeof)||u(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}const v=Object.prototype.toString;H(),H({strict:!0});const C=H({circular:!0});
1H({circular:!0,strict:!0}),H({createInternalComparator:()=>h}),H({strict:!0,createInternalComparator:()=>h}),H({circular:!0,createInternalComparator:()=>h}),H({circular:!0,createInternalComparator:()=>h,strict:!0});function H(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{circular:e=!1,createInternalComparator:r,createState:n,strict:o=!1}=t,s=function(t){let{circular:e,createCustomConfig:r,strict:n}=t,o={areArrayBuffersEqual:f,areArraysEqual:n?E:m,areDataViewsEqual:g,areDatesEqual:y,areErrorsEqual:b,areFunctionsEqual:d,areMapsEqual:n?i(A,E):A,areNumbersEqual:h,areObjectsEqual:n?E:S,arePrimitiveWrappersEqual:k,areRegExpsEqual:q,areSetsEqual:n?i(x,E):x,areTypedArraysEqual:n?i(M,E):M,areUrlsEqual:T,getUnsupportedCustomComparator:void 0};if(r&&(o=Object.assign({},o,r(o))),e){const t=a(o.areArraysEqual),e=a(o.areMapsEqual),r=a(o.areObjectsEqual),n=a(o.areSetsEqual);o=Object.assign({},o,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:r,areSetsEqual:n})}return o}(t),l=function(t){const e=function(t){let{areArrayBuffersEqual:e,areArraysEqual:r,areDataViewsEqual:n,areDatesEqual:o,areErrorsEqual:s,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:l,areObjectsEqual:u,arePrimitiveWrappersEqual:c,areRegExpsEqual:p,areSetsEqual:h,areTypedArraysEqual:d,areUrlsEqual:f}=t;return{"[object Arguments]":u,"[object Array]":r,"[object ArrayBuffer]":e,"[object AsyncGeneratorFunction]":i,"[object BigInt]":l,"[object BigInt64Array]":d,"[object BigUint64Array]":d,"[object Boolean]":c,"[object DataView]":n,"[object Date]":o,"[object Error]":s,"[object Float16Array]":d,"[object Float32Array]":d,"[object Float64Array]":d,"[object Function]":i,"[object GeneratorFunction]":i,"[object Int8Array]":d,"[object Int16Array]":d,"[object Int32Array]":d,"[object Map]":a,"[object Number]":c,"[object Object]":(t,e,r)=>"function"!==typeof t.then&&"function"!==typeof e.then&&u(t,e,r),"[object RegExp]":p,"[object Set]":h,"[object String]":c,"[object URL]":f,"[object Uint8Array]":d,"[object Uint8ClampedArray]":d,"[object Uint16Array]":d,"[object Uint32Array]":d}}(t),{areArraysEqual:r,areDatesEqual:n,areFunctionsEqual:o,areMapsEqual:s,areNumbersEqual:i,areObjectsEqual:a,areRegExpsEqual:l,areSetsEqual:u,getUnsupportedCustomComparator:c}=t;return function(t,p,h){if(t===p)return!0;if(null==t||null==p)return!1;const d=typeof t;if(d!==typeof p)return!1;if("object"!==d)return"number"===d||"bigint"===d?i(t,p,h):"function"===d&&o(t,p,h);const f=t.constructor;if(f!==p.constructor)return!1;if(f===Object)return a(t,p,h);if(f===Array)return r(t,p,h);if(f===Date)return n(t,p,h);if(f===RegExp)return l(t,p,h);if(f===Map)return s(t,p,h);if(f===Set)return u(t,p,h);if(f===Promise)return!1;if(Array.isArray(t))return r(t,p,h);const m=v.call(t),g=e[m];if(g)return g(t,p,h);const y=c&&c(t,p,h,m);return!!y&&y(t,p,h)}}(s);var u;return function(t){let{circular:e,comparator:r,createState:n,equals:o,strict:s}=t;if(n)return function(t,i){const{cache:a=(e?new WeakMap:void 0),meta:l}=n();return r(t,i,{cache:a,equals:o,meta:l,strict:s})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:s})};const i={cache:void 0,equals:o,meta:void 0,strict:s};return function(t,e){return r(t,e,i)}}({circular:e,comparator:l,createState:n,equals:r?r(l):(u=l,function(t,e,r,n,o,s,i){return u(t,e,i)}),strict:o})}},92585:(t,e,r)=>{r.d(e,{Q1:()=>a,xJ:()=>s});var n=r(27732),o=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=[];return!t.children.length||e>20||Array.from(t.children).forEach(t=>{"SPAN"===t.tagName?r.push(t):t.children.length&&r.push(...o(t,e+1))}),r},s=n.CU.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!0}),parseHTML(){return[{tag:"span",consuming:!1,getAttrs:t=>!!t.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&(t=>{if(!t.children.length)return;const e=o(t);e&&e.forEach(t=>{var e,r;const n=t.getAttribute("style"),o=null==(r=null==(e=t.parentElement)?void 0:e.closest("span"))?void 0:r.getAttribute("style");t.setAttribute("style","".concat(o,";").concat(n))})})(t),{})}]},renderHTML(t){let{HTMLAttributes:e}=t;return["span",(0,n.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleTextStyle:t=>e=>{let{commands:r}=e;return r.toggleMark(this.name,t)},removeEmptyTextStyle:()=>t=>{let{tr:e}=t;const{selection:r}=e;return e.doc.nodesBetween(r.from,r.to,(t,r)=>{if(t.isTextblock)return!0;t.marks.filter(t=>t.type===this.type).some(t=>Object.values(t.attrs).some(t=>
1!!t))||e.removeMark(r,r+t.nodeSize,this.type)}),!0}}}}),i=n.YY.create({name:"backgroundColor",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{backgroundColor:{default:null,parseHTML:t=>{var e;const r=t.getAttribute("style");if(r){const t=r.split(";").map(t=>t.trim()).filter(Boolean);for(let e=t.length-1;e>=0;e-=1){const r=t[e].split(":");if(r.length>=2){const t=r[0].trim().toLowerCase(),e=r.slice(1).join(":").trim();if("background-color"===t)return e.replace(/['"]+/g,"")}}}return null==(e=t.style.backgroundColor)?void 0:e.replace(/['"]+/g,"")},renderHTML:t=>t.backgroundColor?{style:"background-color: ".concat(t.backgroundColor)}:{}}}}]},addCommands:()=>({setBackgroundColor:t=>e=>{let{chain:r}=e;return r().setMark("textStyle",{backgroundColor:t}).run()},unsetBackgroundColor:()=>t=>{let{chain:e}=t;return e().setMark("textStyle",{backgroundColor:null}).removeEmptyTextStyle().run()}})}),a=n.YY.create({name:"color",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:t=>{var e;const r=t.getAttribute("style");if(r){const t=r.split(";").map(t=>t.trim()).filter(Boolean);for(let e=t.length-1;e>=0;e-=1){const r=t[e].split(":");if(r.length>=2){const t=r[0].trim().toLowerCase(),e=r.slice(1).join(":").trim();if("color"===t)return e.replace(/['"]+/g,"")}}}return null==(e=t.style.color)?void 0:e.replace(/['"]+/g,"")},renderHTML:t=>t.color?{style:"color: ".concat(t.color)}:{}}}}]},addCommands:()=>({setColor:t=>e=>{let{chain:r}=e;return r().setMark("textStyle",{color:t}).run()},unsetColor:()=>t=>{let{chain:e}=t;return e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}})}),l=n.YY.create({name:"fontFamily",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:t=>t.style.fontFamily,renderHTML:t=>t.fontFamily?{style:"font-family: ".concat(t.fontFamily)}:{}}}}]},addCommands:()=>({setFontFamily:t=>e=>{let{chain:r}=e;return r().setMark("textStyle",{fontFamily:t}).run()},unsetFontFamily:()=>t=>{let{chain:e}=t;return e().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}})}),u=n.YY.create({name:"fontSize",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:t=>t.style.fontSize,renderHTML:t=>t.fontSize?{style:"font-size: ".concat(t.fontSize)}:{}}}}]},addCommands:()=>({setFontSize:t=>e=>{let{chain:r}=e;return r().setMark("textStyle",{fontSize:t}).run()},unsetFontSize:()=>t=>{let{chain:e}=t;return e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}})}),c=n.YY.create({name:"lineHeight",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:t=>t.style.lineHeight,renderHTML:t=>t.lineHeight?{style:"line-height: ".concat(t.lineHeight)}:{}}}}]},addCommands:()=>({setLineHeight:t=>e=>{let{chain:r}=e;return r().setMark("textStyle",{lineHeight:t}).run()},unsetLineHeight:()=>t=>{let{chain:e}=t;return e().setMark("textStyle",{lineHeight:null}).removeEmptyTextStyle().run()}})});n.YY.create({name:"textStyleKit",addExtensions(){const t=[];return!1!==this.options.backgroundColor&&t.push(i.configure(this.options.backgroundColor)),!1!==this.options.color&&t.push(a.configure(this.options.color)),!1!==this.options.fontFamily&&t.push(l.configure(this.options.fontFamily)),!1!==this.options.fontSize&&t.push(u.configure(this.options.fontSize)),!1!==this.options.lineHeight&&t.push(c.configure(this.options.lineHeight)),!1!==this.options.textStyle&&t.push(s.configure(this.options.textStyle)),t}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.