You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
44 KiB

{"version":3,"sources":["/source-files/jsondiffpatch/node_modules/fiberglass/node_modules/browserify/node_modules/browser-pack/_prelude.js","/source-files/jsondiffpatch/src/main-formatters.js","/source-files/jsondiffpatch/src/formatters/index.js","/source-files/jsondiffpatch/src/environment.js","/source-files/jsondiffpatch/src/formatters/base.js","/source-files/jsondiffpatch/src/formatters/annotated.js","/source-files/jsondiffpatch/src/formatters/jsonpatch.js","/source-files/jsondiffpatch/src/formatters/html.js"],"names":["module","exports","require","environment","base","html","annotated","jsonpatch","isBrowser","consoleModuleName","console","window","isArray","Array","a","getObjectKeys","Object","keys","obj","names","property","prototype","hasOwnProperty","call","push","trimUnderscore","str","substr","slice","arrayKeyToSortNumber","key","parseInt","arrayKeyComparer","key1","key2","BaseFormatter","format","delta","left","context","this","prepareContext","recurse","finalize","buffer","out","apply","arguments","typeFormattterNotFound","deltaType","Error","typeFormattterErrorFormatter","err","toString","join","leftKey","movedFrom","isLast","useMoveOriginHere","leftValue","value","type","getDeltaType","nodeType","_t","nodeBegin","rootBegin","typeFormattter","error","stack","nodeEnd","rootEnd","formatDeltaChildren","self","forEachDeltaKey","undefined","fn","name","arrayKeys","moveDestinations","includeMoveDestinations","sort","index","length","parseTextDiff","output","lines","split","i","l","line","lineOutput","pieces","location","exec","chr","pieceIndex","piecesLength","piece","pieceOutput","text","AnnotatedFormatter","indent","levels","indentLevel","indentPad","row","json","htmlNote","formatTextDiffString","format_unchanged","format_movedestination","format_node","wrapPropertyName","deltaAnnotations","added","formatLegend","modified","deleted","moved","textdiff","formatAnyChange","annotator","JSON","stringify","format_added","format_modified","format_deleted","format_moved","format_textdiff","defaultInstance","JSONFormatter","last","arr","sortBy","pred","opsByDescendingOrder","removeOps","b","splitA","path","splitB","compareByIndexDesc","partition","right","forEach","el","coll","reorderOps","jsonFormattedDiff","removeOpsOtherOps","operation","op","otherOps","removeOpsReverse","concat","named","movedestination","unchanged","textDiffLine","result","pushCurrentOp","val","currentPath","pop","indexA","indexB","lastA","lastB","isNaN","log","htmlEscape","replacements","replace","HtmlFormatter","formatValue","unescape","adjustArrows","node","document","getElementText","textContent","innerText","eachByQuery","query","elems","querySelectorAll","eachChildren","children","arrow","arrowParent","parentNode","svg","style","display","destinationElem","destination","querySelector","container","child","getAttribute","distance","offsetTop","setAttribute","Math","abs","top","curve","round","nodeClass","hasArrows","showUnchanged","show","delay","body","prefix","classes","showing","hiding","visible","hidden","list","classList","remove","add","setTimeout","intervalId","setInterval","clearInterval","hideUnchanged"],"mappings":"AAAA;ACCAA,OAAOC,QAAUC,QAAQ;;AEAzBD,QAAQO,UAA8B,mBAAXG;;AED3B,GAAIP,MAAOF,QAAQ,UACfiC,cAAgB/B,KAAK+B,cAErBkE,mBAAqB,WACvB7D,KAAKwC,yBAA0B,EAGjCqB,oBAAmBhF,UAAY,GAAIc,eAEnCkE,mBAAmBhF,UAAUoB,eAAiB,SAASF,GACrDJ,cAAcd,UAAUoB,eAAelB,KAAKiB,KAAMD,GAClDA,EAAQ+D,OAAS,SAASC,GACxB/D,KAAKgE,aAAehE,KAAKgE,aAAe,IACnB,mBAAXD,GAAyB,EAAIA,GACvC/D,KAAKiE,UAAY,GAAI5F,OAAM2B,KAAKgE,YAAc,GAAGlD,KAAK,iBAExDf,EAAQmE,IAAM,SAASC,EAAMC,GAC3BrE,EAAQM,IAAI,mHAEZN,EAAQM,IAAIN,EAAQkE,WACpBlE,EAAQM,IAAI,6CACZN,EAAQM,IAAI8D,GACZpE,EAAQM,IAAI,yDACZN,EAAQM,IAAI+D,GACZrE,EAAQM,IAAI,sBAIhBwD,mBAAmBhF,UAAU8B,6BAA+B,SAASZ,EAASa,GAC5Eb,EAAQmE,IAAI,GAAI,oCAAsCtD,EAAM,WAG9DiD,mBAAmBhF,UAAUwF,qBAAuB,SAAStE,EAASqB,GACpE,GAAI0B,GAAQ9C,KAAK4C,cAAcxB,EAC/BrB,GAAQM,IAAI,sCACZ,KAAK,GAAI2C,GAAI,EAAGC,EAAIH,EAAMH,OAAYM,EAAJD,EAAOA,IAAK,CAC5C,GAAIE,GAAOJ,EAAME,EACjBjD,GAAQM,IAAI,qGAGV6C,EAAKG,SAASH,KACd,oDAEAA,EAAKG,SAASE,IACd,yDAIF,KAAK,GADDH,GAASF,EAAKE,OACTI,EAAa,EAAG