{"version":3,"sources":["angular-1.7.2/angular-sanitize.js"],"names":["window","angular","$sanitizeMinErr","$$minErr","bind","extend","forEach","isArray","isDefined","lowercase","noop","nodeContains","htmlParser","htmlSanitizeWriter","$SanitizeProvider","hasBeenInstantiated","svgEnabled","$get","$$sanitizeUri","validElements","svgElements","html","buf","uri","isImage","test","join","enableSvg","addValidElements","elements","htmlElements","addElementsTo","voidElements","htmlVoidElements","addValidAttrs","attrs","validAttrs","arrayToMap","$$lowercase","htmlParserImpl","htmlSanitizeWriterImpl","Node","prototype","contains","arg","compareDocumentPosition","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","stringToMap","optionalEndTagBlockElements","optionalEndTagInlineElements","optionalEndTagElements","blockElements","inlineElements","blockedElements","uriAttrs","htmlAttrs","svgAttrs","str","lowercaseKeys","split","items","obj","i","length","elementsMap","newElements","getInertBodyElement","document","inertDocument","implementation","createHTMLDocument","inertBodyElement","documentElement","getDocumentElement","querySelector","innerHTML","getInertBodyElement_XHR","getInertBodyElement_DOMParser","getInertBodyElement_InertDocument","encodeURI","e","undefined","xhr","XMLHttpRequest","responseType","open","send","body","response","firstChild","remove","DOMParser","parseFromString","documentMode","stripCustomNsAttrs","handler","mXSSAttempts","node","nodeType","start","nodeName","toLowerCase","attrToMap","attributes","chars","textContent","nextNode","end","getNonDescendant","removeChild","map","ii","attr","name","value","encodeEntities","replace","hi","charCodeAt","low","uriValidator","ignoreCurrentElement","out","push","tag","key","lkey","ELEMENT_NODE","l","attrNode","attrName","lastIndexOf","removeAttributeNode","propName","call","outerHTML","outerText","sanitizeText","writer","module","provider","info","angularVersion","filter","$sanitize","LINKY_URL_REGEXP","MAILTO_REGEXP","linkyMinErr","isFunction","isObject","isString","text","target","attributesFn","getAttributesObject","getEmptyAttributesObject","match","raw","url","index","addText","substr","addLink","substring","linkAttributes"],"mappings":";;AAAA;;;;;AAKA,CAAC,UAASA,MAAT,EAAiBC,OAAjB,EAA0B;AAAC;AAE5B;;;;;;;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IAAYuC,cAAZ,EAA4B;AAC1BhJ,UAAAA,IAAI,CAACuG,IAAL,CAAUE,GAAG,GAAG,IAAN,GAAauC,cAAc,CAACvC,GAAD,CAA3B,GAAmC,IAA7C;AACD;;AAED,YAAItH,SAAS,CAACiJ,MAAD,CAAT,IAAqB,EAAE,YAAYY,cAAd,CAAzB,EAAwD;AACtDhJ,UAAAA,IAAI,CAACuG,IAAL,CAAU,UAAV,EACU6B,MADV,EAEU,IAFV;AAGD;;AACDpI,QAAAA,IAAI,CAACuG,IAAL,CAAU,QAAV,EACUmC,GAAG,CAAC1C,OAAJ,CAAY,IAAZ,EAAkB,QAAlB,CADV,EAEU,IAFV;AAGA4C,QAAAA,OAAO,CAACT,IAAD,CAAP;AACAnI,QAAAA,IAAI,CAACuG,IAAL,CAAU,MAAV;AACD;AACF,KAvDD;AAwDD,GAnE4C,CAA7C;AAsEC,CA34BD,EA24BG5H,MA34BH,EA24BWA,MAAM,CAACC,OA34BlB","sourcesContent":["/**\r\n * @license AngularJS v1.7.2\r\n * (c) 2010-2018 Google, Inc. http://angularjs.org\r\n * License: MIT\r\n */\r\n(function(window, angular) {'use strict';\r\n\r\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r\n * Any commits to this file should be reviewed with security in mind. *\r\n * Changes to this file can potentially create security vulnerabilities. *\r\n * An approval from 2 Core members with history of modifying *\r\n * this file is required. *\r\n * *\r\n * Does the change somehow allow for arbitrary javascript to be executed? *\r\n * Or allows for someone to change the prototype of built-in objects? *\r\n * Or gives undesired access to variables likes document or window? *\r\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\r\n\r\nvar $sanitizeMinErr = angular.$$minErr('$sanitize');\r\nvar bind;\r\nvar extend;\r\nvar forEach;\r\nvar isArray;\r\nvar isDefined;\r\nvar lowercase;\r\nvar noop;\r\nvar nodeContains;\r\nvar htmlParser;\r\nvar htmlSanitizeWriter;\r\n\r\n/**\r\n * @ngdoc module\r\n * @name ngSanitize\r\n * @description\r\n *\r\n * The `ngSanitize` module provides functionality to sanitize HTML.\r\n *\r\n * See {@link ngSanitize.$sanitize `$sanitize`} for usage.\r\n */\r\n\r\n/**\r\n * @ngdoc service\r\n * @name $sanitize\r\n * @kind function\r\n *\r\n * @description\r\n * Sanitizes an html string by stripping all potentially dangerous tokens.\r\n *\r\n * The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are\r\n * then serialized back to a properly escaped HTML string. This means that no unsafe input can make\r\n * it into the returned string.\r\n *\r\n * The whitelist for URL sanitization of attribute values is configured using the functions\r\n * `aHrefSanitizationWhitelist` and `imgSrcSanitizationWhitelist` of {@link $compileProvider}.\r\n *\r\n * The input may also contain SVG markup if this is enabled via {@link $sanitizeProvider}.\r\n *\r\n * @param {string} html HTML input.\r\n * @returns {string} Sanitized HTML.\r\n *\r\n * @example\r\n an html\\nclick here\\nsnippet an html\\n\" +\r\n \"click here\\n\" +\r\n \"snippet\r\n
\r\n \r\n \r\n Directive \r\n How \r\n Source \r\n Rendered \r\n \r\n \r\n ng-bind-html \r\n Automatically uses $sanitize \r\n \r\n <div ng-bind-html=\"snippet\">
</div>\r\n \r\n \r\n ng-bind-html \r\n Bypass $sanitize by explicitly trusting the dangerous value \r\n \r\n \r\n <div ng-bind-html=\"deliberatelyTrustDangerousSnippet()\">\r\n</div>
\r\n \r\n \r\n \r\n ng-bind \r\n Automatically escapes \r\n \r\n <div ng-bind=\"snippet\">
</div>\r\n
By enabling this setting without taking other precautions, you might expose your\r\n * application to click-hijacking attacks. In these attacks, sanitized svg elements could be positioned\r\n * outside of the containing element and be rendered over other elements on the page (e.g. a login\r\n * link). Such behavior can then result in phishing incidents.
\r\n *\r\n *To protect against these, explicitly setup `overflow: hidden` css rule for all potential svg\r\n * tags within the sanitized content:
\r\n *\r\n *\r\n * .rootOfTheIncludedContent svg {\r\n * overflow: hidden !important;\r\n * }\r\n *
\r\n *