har 0.0.1.dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/.gitignore +4 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +24 -0
  5. data/README.mdown +36 -0
  6. data/Rakefile +28 -0
  7. data/bin/har +4 -0
  8. data/har.gemspec +27 -0
  9. data/lib/har.rb +32 -0
  10. data/lib/har/archive.rb +135 -0
  11. data/lib/har/page.rb +19 -0
  12. data/lib/har/schema_type.rb +78 -0
  13. data/lib/har/schemas/browserType +19 -0
  14. data/lib/har/schemas/cacheEntryType +25 -0
  15. data/lib/har/schemas/cacheType +15 -0
  16. data/lib/har/schemas/contentType +26 -0
  17. data/lib/har/schemas/cookieType +32 -0
  18. data/lib/har/schemas/creatorType +18 -0
  19. data/lib/har/schemas/entryType +46 -0
  20. data/lib/har/schemas/logType +40 -0
  21. data/lib/har/schemas/pageTimingsType +17 -0
  22. data/lib/har/schemas/pageType +29 -0
  23. data/lib/har/schemas/postDataType +38 -0
  24. data/lib/har/schemas/recordType +17 -0
  25. data/lib/har/schemas/requestType +53 -0
  26. data/lib/har/schemas/responseType +51 -0
  27. data/lib/har/schemas/timingsType +43 -0
  28. data/lib/har/serializable.rb +22 -0
  29. data/lib/har/version.rb +3 -0
  30. data/lib/har/viewer.rb +99 -0
  31. data/lib/har/viewer/css/SyntaxHighlighter.css +1 -0
  32. data/lib/har/viewer/css/aboutTab.css +1 -0
  33. data/lib/har/viewer/css/domTab.css +1 -0
  34. data/lib/har/viewer/css/domTree.css +1 -0
  35. data/lib/har/viewer/css/harPreview.css +1 -0
  36. data/lib/har/viewer/css/harView.css +1 -0
  37. data/lib/har/viewer/css/harViewer.css +1 -0
  38. data/lib/har/viewer/css/homeTab.css +1 -0
  39. data/lib/har/viewer/css/images/ajax-loader.gif +0 -0
  40. data/lib/har/viewer/css/images/bg-button.gif +0 -0
  41. data/lib/har/viewer/css/images/blank.gif +0 -0
  42. data/lib/har/viewer/css/images/button-background.png +0 -0
  43. data/lib/har/viewer/css/images/checkmark.gif +0 -0
  44. data/lib/har/viewer/css/images/checkmark.png +0 -0
  45. data/lib/har/viewer/css/images/close-sprites.png +0 -0
  46. data/lib/har/viewer/css/images/contextMenuTarget.png +0 -0
  47. data/lib/har/viewer/css/images/contextMenuTargetHover.png +0 -0
  48. data/lib/har/viewer/css/images/download-sprites.png +0 -0
  49. data/lib/har/viewer/css/images/downloadButtons-aero.png +0 -0
  50. data/lib/har/viewer/css/images/group.gif +0 -0
  51. data/lib/har/viewer/css/images/loading_16.gif +0 -0
  52. data/lib/har/viewer/css/images/menu/Thumbs.db +0 -0
  53. data/lib/har/viewer/css/images/menu/shadowAlpha.png +0 -0
  54. data/lib/har/viewer/css/images/menu/tabMenuCheckbox.png +0 -0
  55. data/lib/har/viewer/css/images/menu/tabMenuPin.png +0 -0
  56. data/lib/har/viewer/css/images/menu/tabMenuRadio.png +0 -0
  57. data/lib/har/viewer/css/images/netBarBlocking.gif +0 -0
  58. data/lib/har/viewer/css/images/netBarBlocking2.gif +0 -0
  59. data/lib/har/viewer/css/images/netBarCached.gif +0 -0
  60. data/lib/har/viewer/css/images/netBarConnecting.gif +0 -0
  61. data/lib/har/viewer/css/images/netBarLoaded.gif +0 -0
  62. data/lib/har/viewer/css/images/netBarReceiving.gif +0 -0
  63. data/lib/har/viewer/css/images/netBarResolving.gif +0 -0
  64. data/lib/har/viewer/css/images/netBarResponded.gif +0 -0
  65. data/lib/har/viewer/css/images/netBarSending.gif +0 -0
  66. data/lib/har/viewer/css/images/netBarWaiting.gif +0 -0
  67. data/lib/har/viewer/css/images/page-timeline.png +0 -0
  68. data/lib/har/viewer/css/images/save.png +0 -0
  69. data/lib/har/viewer/css/images/spriteArrows.gif +0 -0
  70. data/lib/har/viewer/css/images/spriteArrows.png +0 -0
  71. data/lib/har/viewer/css/images/tabEnabled.png +0 -0
  72. data/lib/har/viewer/css/images/timeline-sprites.png +0 -0
  73. data/lib/har/viewer/css/images/tooltipConnectorUp.png +0 -0
  74. data/lib/har/viewer/css/images/twisty-sprites.png +0 -0
  75. data/lib/har/viewer/css/images/twistyClosed.png +0 -0
  76. data/lib/har/viewer/css/images/twistyOpen.png +0 -0
  77. data/lib/har/viewer/css/infoTip.css +1 -0
  78. data/lib/har/viewer/css/pageList.css +1 -0
  79. data/lib/har/viewer/css/pageStats.css +1 -0
  80. data/lib/har/viewer/css/pageTimeline.css +1 -0
  81. data/lib/har/viewer/css/popupMenu.css +1 -0
  82. data/lib/har/viewer/css/previewTab.css +1 -0
  83. data/lib/har/viewer/css/requestBody.css +1 -0
  84. data/lib/har/viewer/css/requestList.css +1 -0
  85. data/lib/har/viewer/css/schemaTab.css +1 -0
  86. data/lib/har/viewer/css/tabView.css +1 -0
  87. data/lib/har/viewer/css/toolTip.css +1 -0
  88. data/lib/har/viewer/css/toolbar.css +1 -0
  89. data/lib/har/viewer/css/xhrSpy.css +1 -0
  90. data/lib/har/viewer/index.html +13 -0
  91. data/lib/har/viewer/scripts/app.build.js +0 -0
  92. data/lib/har/viewer/scripts/core/cookies.js +2 -0
  93. data/lib/har/viewer/scripts/core/lib.js +23 -0
  94. data/lib/har/viewer/scripts/core/trace.js +26 -0
  95. data/lib/har/viewer/scripts/domplate/domTree.js +5 -0
  96. data/lib/har/viewer/scripts/domplate/domplate.js +263 -0
  97. data/lib/har/viewer/scripts/domplate/infoTip.js +4 -0
  98. data/lib/har/viewer/scripts/domplate/popupMenu.js +14 -0
  99. data/lib/har/viewer/scripts/domplate/tabView.js +6 -0
  100. data/lib/har/viewer/scripts/domplate/toolTip.js +3 -0
  101. data/lib/har/viewer/scripts/domplate/toolbar.js +3 -0
  102. data/lib/har/viewer/scripts/downloadify/LICENSE.txt +22 -0
  103. data/lib/har/viewer/scripts/downloadify/README.textile +89 -0
  104. data/lib/har/viewer/scripts/downloadify/js/downloadify.min.js +6 -0
  105. data/lib/har/viewer/scripts/downloadify/js/swfobject.js +18 -0
  106. data/lib/har/viewer/scripts/downloadify/media/downloadify.swf +0 -0
  107. data/lib/har/viewer/scripts/downloadify/src/Downloadify.as +162 -0
  108. data/lib/har/viewer/scripts/downloadify/src/downloadify.js +6 -0
  109. data/lib/har/viewer/scripts/excanvas/excanvas.js +21 -0
  110. data/lib/har/viewer/scripts/harPreview.js +149 -0
  111. data/lib/har/viewer/scripts/harViewer.js +244 -0
  112. data/lib/har/viewer/scripts/jquery-plugins/jquery.json.js +6 -0
  113. data/lib/har/viewer/scripts/nls/harViewer.js +1 -0
  114. data/lib/har/viewer/scripts/nls/homeTab.js +1 -0
  115. data/lib/har/viewer/scripts/nls/pageStats.js +2 -0
  116. data/lib/har/viewer/scripts/nls/pageTimeline.js +1 -0
  117. data/lib/har/viewer/scripts/nls/previewTab.js +1 -0
  118. data/lib/har/viewer/scripts/nls/requestBody.js +1 -0
  119. data/lib/har/viewer/scripts/nls/requestList.js +2 -0
  120. data/lib/har/viewer/scripts/preview/harModel.js +7 -0
  121. data/lib/har/viewer/scripts/preview/harSchema.js +308 -0
  122. data/lib/har/viewer/scripts/preview/jsonSchema.js +7 -0
  123. data/lib/har/viewer/scripts/preview/pageList.js +4 -0
  124. data/lib/har/viewer/scripts/preview/ref.js +5 -0
  125. data/lib/har/viewer/scripts/preview/requestBody.js +11 -0
  126. data/lib/har/viewer/scripts/preview/requestList.js +27 -0
  127. data/lib/har/viewer/scripts/requireplugins-jquery-1.4.2.js +204 -0
  128. data/lib/har/viewer/scripts/syntax-highlighter/README.txt +9 -0
  129. data/lib/har/viewer/scripts/syntax-highlighter/shCore.js +20 -0
  130. data/lib/har/viewer/scripts/tabs/aboutTab.html +93 -0
  131. data/lib/har/viewer/scripts/tabs/aboutTab.js +2 -0
  132. data/lib/har/viewer/scripts/tabs/domTab.js +1 -0
  133. data/lib/har/viewer/scripts/tabs/homeTab.html +34 -0
  134. data/lib/har/viewer/scripts/tabs/homeTab.js +5 -0
  135. data/lib/har/viewer/scripts/tabs/pageStats.js +14 -0
  136. data/lib/har/viewer/scripts/tabs/pageTimeline.js +10 -0
  137. data/lib/har/viewer/scripts/tabs/previewTab.js +6 -0
  138. data/lib/har/viewer/scripts/tabs/schemaTab.js +2 -0
  139. data/lib/har/viewer/scripts/xhr-spy/spy.js +2 -0
  140. data/lib/har/viewer/scripts/xhr-spy/spy.php +13 -0
  141. data/lib/har/viewer/scripts/xhr-spy/xhr.js +6 -0
  142. data/lib/har/viewer/scripts/xhr-spy/xhrSpyBookmarklet.js +1 -0
  143. data/schema.json +201 -0
  144. data/spec/fixtures/entry1.json +124 -0
  145. data/spec/fixtures/hars/bad.har +2563 -0
  146. data/spec/fixtures/hars/browser-blocking-time.har +2567 -0
  147. data/spec/fixtures/hars/google.com.har +612 -0
  148. data/spec/fixtures/hars/inline-scripts-block.har +1066 -0
  149. data/spec/fixtures/hars/softwareishard.com.har +5323 -0
  150. data/spec/har/archive_spec.rb +130 -0
  151. data/spec/har/entry_spec.rb +16 -0
  152. data/spec/har/page_spec.rb +24 -0
  153. data/spec/har/viewer_spec.rb +17 -0
  154. data/spec/spec_helper.rb +34 -0
  155. metadata +283 -0
@@ -0,0 +1,3 @@
1
+ module HAR
2
+ VERSION = "0.0.1.dev"
3
+ end
@@ -0,0 +1,99 @@
1
+ require "webrick"
2
+ require "launchy"
3
+
4
+ module HAR
5
+ class Viewer
6
+ attr_reader :options, :har
7
+
8
+ def initialize(args)
9
+ @running = false
10
+ @options = parse(args)
11
+
12
+ hars = create_archives args
13
+ @har = merge hars
14
+ end
15
+
16
+ def show
17
+ s = server(create_root)
18
+ launch_browser
19
+ s.join
20
+ end
21
+
22
+ private
23
+
24
+ def create_archives(hars)
25
+ hars = hars.map { |path| Archive.from_file(path) }
26
+ hars.each { |h| h.validate! }
27
+ end
28
+
29
+ def create_root
30
+ viewer = File.expand_path("../viewer", __FILE__)
31
+ tmp_dir = Dir.mktmpdir("harviewer")
32
+
33
+ at_exit { FileUtils.rm_rf tmp_dir }
34
+ FileUtils.cp_r viewer, tmp_dir
35
+
36
+ har.save_to File.join(tmp_dir, 'viewer', url_friendly(@har.uri))
37
+
38
+ tmp_dir
39
+ end
40
+
41
+ def merge(hars)
42
+ har = hars.shift or raise Error, "no HARs given"
43
+
44
+ unless hars.empty?
45
+ hars.each { |h| har.merge! h }
46
+ end
47
+
48
+ har
49
+ end
50
+
51
+ DEFAULT_OPTIONS = {
52
+ :port => 9292
53
+ }
54
+
55
+ def parse(args)
56
+ # TODO: parse command line
57
+ DEFAULT_OPTIONS.dup
58
+ end
59
+
60
+ def url
61
+ "http://localhost:#{port}/viewer/index.html?path=#{url_friendly @har.uri}"
62
+ end
63
+
64
+ def port
65
+ @options[:port]
66
+ end
67
+
68
+ def url_friendly(str)
69
+ str.gsub(/\W/, '_').gsub("_har", ".har")
70
+ end
71
+
72
+ def start_hook
73
+ lambda { @running = true }
74
+ end
75
+
76
+ def server(root)
77
+ Thread.new do
78
+ puts "Starting HAR Viewer Server..."
79
+ puts "Type ^C to exit\n\n"
80
+
81
+ server = WEBrick::HTTPServer.new(:Port => port,
82
+ :DocumentRoot => root,
83
+ :StartCallback => start_hook)
84
+
85
+ [:INT, :TERM].each do |signal|
86
+ trap(signal) { server.shutdown }
87
+ end
88
+
89
+ server.start
90
+ end
91
+ end
92
+
93
+ def launch_browser
94
+ sleep 0.1 until @running
95
+ Launchy.open url
96
+ end
97
+
98
+ end # Viewer
99
+ end # HAR
@@ -0,0 +1 @@
1
+ .dp-highlighter{font-family: "Consolas", "Courier New", Courier, mono, serif; font-size: 12px; width: 100%; overflow: auto;}.dp-highlighter ol,.dp-highlighter ol li,.dp-highlighter ol li span {margin: 0; padding: 0; border: none;}.dp-highlighter a,.dp-highlighter a:hover{background: none; border: none; padding: 0; margin: 0;}.dp-highlighter .bar{padding-left: 45px;}.dp-highlighter.collapsed .bar,.dp-highlighter.nogutter .bar{padding-left: 0px;}.dp-highlighter ol{list-style: decimal; background-color: #fff; margin: 0px 0px 1px 45px !important; padding: 0px; color: #5C5C5C;}.dp-highlighter.nogutter ol,.dp-highlighter.nogutter ol li{list-style: none !important; margin-left: 0px !important;}.dp-highlighter ol li,.dp-highlighter .columns div{list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 1px solid rgb(204,204,204); background-color: #F8F8F8; color: #5C5C5C; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;}.dp-highlighter.nogutter ol li,.dp-highlighter.nogutter .columns div{border: 0;}.dp-highlighter .columns{background-color: #F8F8F8; color: gray; overflow: hidden; width: 100%;}.dp-highlighter .columns div{padding-bottom: 5px;}.dp-highlighter ol li.alt{background-color: #FFF; color: inherit;}.dp-highlighter ol li span{color: black; background-color: inherit;}.dp-highlighter.collapsed ol{margin: 0px;}.dp-highlighter.collapsed ol li{display: none;}.dp-highlighter.printing{border: none;}.dp-highlighter.printing .tools{display: none !important;}.dp-highlighter.printing li{display: list-item !important;}.dp-highlighter .tools{padding: 3px 8px 3px 10px; font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; padding-bottom: 10px; border-left: 3px solid #6CE26C;}.dp-highlighter.nogutter .tools{border-left: 0;}.dp-highlighter.collapsed .tools{border-bottom: 0;}.dp-highlighter .tools a{font-size: 9px; color: #a0a0a0; background-color: inherit; text-decoration: none; margin-right: 10px;}.dp-highlighter .tools a:hover{color: red; background-color: inherit; text-decoration: underline;}.dp-about {background-color: #fff; color: #333; margin: 0px; padding: 0px;}.dp-about table {width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important;}.dp-about td {padding: 10px; vertical-align: top;}.dp-about .copy {border-bottom: 1px solid #ACA899; height: 95%;}.dp-about .title {color: red; background-color: inherit; font-weight: bold;}.dp-about .para {margin: 0 0 4px 0;}.dp-about .footer {background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right;}.dp-about .close {font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px;}.dp-highlighter .comment, .dp-highlighter .comments {color: #008200; background-color: inherit;}.dp-highlighter .string {color: blue; background-color: inherit;}.dp-highlighter .keyword {color: #069; font-weight: bold; background-color: inherit;}.dp-highlighter .preprocessor {color: gray; background-color: inherit;}
@@ -0,0 +1 @@
1
+ .AboutTab {margin-left: 100px;}.AboutTab .version {font-size: 11px; color: #DD467B;}.tabAboutBody {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11.7px; font-style: normal; font-weight: 400;}.aboutBody {padding: 8px;}.tabAboutBody code {color: green;}
@@ -0,0 +1 @@
1
+ .tabDOMBody {font-family: Lucida Grande,Tahoma,sans-serif; font-size: 11px;}.tabDOMBody .separator {border-bottom: 1px solid #D7D7D7;}.tabDOMBody .domTable {padding: 5px;}
@@ -0,0 +1 @@
1
+ .domTable {}.memberLabelCell {padding: 2px 50px 2px 0; vertical-align: top;}.memberValueCell {padding: 1px 0 1px 5px; display: block; overflow: hidden;}.memberLabel {cursor: default; -moz-user-select: none; overflow: hidden; padding-left: 18px; white-space: nowrap; background-color: #FFFFFF;}.memberRow.hasChildren.opened > .memberLabelCell > .memberLabel {background-image: url(images/twistyOpen.png);}.memberRow.hasChildren > .memberLabelCell > .memberLabel:hover {cursor: pointer; color: blue; text-decoration: underline;}.memberRow.hasChildren > .memberLabelCell > .memberLabel {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 3px;}.memberRow.hasChildren > .memberLabelCell > .memberLabel {background-position: 2px 2px;}
@@ -0,0 +1 @@
1
+ .tabView {width: 100%; background-color: #FFFFFF; color: #000000;}.tabViewCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; vertical-align:top;}.tabViewBody {margin: 2px 0px 0px 0px;}.tabBar {padding-left: 14px; border-bottom: 1px solid #D7D7D7; white-space: nowrap;}.tab {position: relative; top: 1px; padding: 4px 8px; border: 1px solid transparent; border-bottom: none; color: #565656; font-weight: bold; white-space: nowrap; -moz-user-select: none; display:inline-block;}.tab:hover {cursor: pointer; border-color: #D7D7D7; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tab[selected="true"],.tab .selected {cursor: default !important; border-color: #D7D7D7; background-color: #FFFFFF; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tabBodies {width: 100%; overflow: auto;}.tabBody {display: none; margin: 0;}.tabBody[selected="true"],.tabBody.selected {display: block;}@media print {.tabBodies {overflow:visible;}.tabViewCol {background: none;}}.infoTip {z-index: 2147483647; position: fixed; padding: 2px 4px 3px 4px; background: LightYellow; font-family: Lucida Grande, Tahoma, sans-serif; color: #000000; display: none; white-space: nowrap; font-size: 11px; border: 1px solid rgb(126, 171, 205); background: url(images/tabEnabled.png) repeat-x scroll 0px 0px rgb(234, 234, 234); background-position-x: 0; background-position-y: 100%; background-repeat: repeat-x; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: gray 2px 2px 3px; -webkit-box-shadow: gray 2px 2px 3px; box-shadow: gray 2px 2px 3px; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray'); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray')";}.infoTip[active="true"] {display: block;}.infoTip[multiline="true"] {background-image: none;}.popupMenu {display: none; position: absolute; font-size: 11px; z-index: 2147483647; font-family: Lucida Grande, Tahoma, sans-serif;}.popupMenuContent {padding: 2px;}.popupMenuSeparator {display: block; position: relative; padding: 1px 18px 0; text-decoration: none; color: #000; cursor: default; background: #ACA899; margin: 2px 0;}.popupMenuOption{display: block; position: relative; padding: 2px 18px; text-decoration: none; color: #000; cursor: default;}.popupMenuOption:hover{color: #fff; background: #316AC5;}.popupMenuGroup {background: transparent url(images/menu/tabMenuPin.png) no-repeat right 0;}.popupMenuGroup:hover {background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuGroupSelected {color: #fff; background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuChecked {background: transparent url(images/menu/tabMenuCheckbox.png) no-repeat 4px 0;}.popupMenuChecked:hover {background: #316AC5 url(images/menu/tabMenuCheckbox.png) no-repeat 4px -17px;}.popupMenuRadioSelected {background: transparent url(images/menu/tabMenuRadio.png) no-repeat 4px 0;}.popupMenuRadioSelected:hover {background: #316AC5 url(images/menu/tabMenuRadio.png) no-repeat 4px -17px;}.popupMenuShortcut {padding-right: 85px;}.popupMenuShortcutKey {position: absolute; right: 0; top: 2px; width: 77px;}.popupMenuDisabled {color: #ACA899 !important;}.popupMenuShadow {float: left; background: url(images/menu/shadowAlpha.png) no-repeat bottom right !important; margin: 10px 0 0 10px !important; margin: 10px 0 0 5px;}.popupMenuShadowContent {display: block; position: relative; background-color: #fff; border: 1px solid #a9a9a9; top: -6px; left: -6px;}#optionsMenu {top: 22px; left: 0;}.pageList {width: 100%;}.pageTable {width: 100%; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px;}.pageCol {white-space: nowrap; border-bottom: 1px solid #EEEEEE;}.pageRow {font-weight: bold; height: 17px; background-color: white;}.pageRow:hover {background: #EFEFEF;}.opened > .pageCol > .pageName {background-image: url(images/twistyOpen.png);}.pageName {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 1px; padding-left: 18px; font-weight: bold; cursor:pointer;}.pageID {color: gray;}.pageInfoCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding: 0px 0px 4px 17px;}@media print {.pageInfoCol {background: none;}}.netTable {width: 100%; border-left: 1px solid #EFEFEF; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px; table-layout: fixed;}.netRow {background: white;}.netRow.loaded {background: #FFFFFF;}.netHrefCol:hover {background: white;}.netRow.loaded:hover {background: #EFEFEF;}.netCol {padding: 0; vertical-align: top; border-bottom: 1px solid #EFEFEF; white-space: nowrap; text-overflow: clip; overflow: hidden;}.netStatusCol {padding-left: 10px; color: rgb(128, 128, 128);}.responseError > .netStatusCol {color: red;}.netStatusCol,.netDomainCol,.netSizeCol,.netTimeCol {padding-left: 8px;}.netTimeCol {overflow: visible;}.netSizeCol {text-align: right;}.netHrefLabel {-moz-box-sizing: padding-box; overflow: hidden; z-index: 100; position: relative; padding-left: 18px; padding-top: 1px; font-weight: bold;}.netFullHrefLabel {position: absolute; display: none; -moz-user-select: none; padding-right: 10px; padding-bottom: 3px; background: #FFFFFF;}.netHrefCol:hover > .netStatusLabel,.netHrefCol:hover > .netDomainLabel,.netHrefCol:hover > .netHrefLabel {display: none;}.netHrefCol:hover > .netFullHrefLabel {display: block;}.netRow.loaded:hover > .netCol > .netFullHrefLabel {background-color: #EFEFEF;}.netSizeLabel {padding-left: 6px;}.netStatusLabel,.netDomainLabel,.netSizeLabel,.netTimelineBar {padding: 1px 0 2px 0 !important;}.responseError {color: red;}.netOptionsCol {width: 11px; padding-left: 2px; padding-top: 3px;}.netOptionsLabel {width: 11px; height: 10px; background: url(images/contextMenuTarget.png) no-repeat; display: none;}.netRow:hover > .netOptionsCol > .netOptionsLabel {display: block;}.netOptionsLabel:hover {background-image: url(images/contextMenuTargetHover.png);}.hasHeaders .netHrefLabel:hover {cursor: pointer; color: blue; text-decoration: underline;}.netTimelineBar {position: relative; border-right: 50px solid transparent;}.netResolvingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -16px #FFFFFF; min-width: 0px; z-index: 70; height: 16px;}.netConnectingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -32px #FFFFFF; min-width: 0px; z-index: 60; height: 16px;}.netBlockingBar {position: absolute; left: 0; top: 0; bottom: 0; background: #FFFFFF url(images/timeline-sprites.png) repeat-x; min-width: 0px; z-index: 50; height: 16px;}.netSendingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -48px #FFFFFF; min-width: 0px; z-index: 40; height: 16px;}.netWaitingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -64px #FFFFFF; min-width: 1px; z-index: 30; height: 16px;}.netReceivingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -80px #B6B6B6; min-width: 0px; z-index: 20; height: 16px;}.fromCache .netReceivingBar,.fromCache.netReceivingBar {background: url(images/timeline-sprites.png) repeat-x scroll 0 -96px #D6D6D6; border-color: #D6D6D6; height: 16px;}.netWindowLoadBar,.netContentLoadBar {position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background-color: red; z-index:90; opacity: 0.5; display: none; margin-bottom:-1px;}.netContentLoadBar {background-color: Blue;}.netTimeLabel {-moz-box-sizing: padding-box; position: absolute; top: 1px; left: 100%; padding-left: 6px; color: #444444; min-width: 16px;}.timeInfoTip {width: 150px; height: 40px; font-size: 11px;}.sizeInfoTip {font-size: 11px;}.timeInfoTipBar,.timeInfoTipEventBar {position: relative; display: block; margin: 0; opacity: 1; height: 15px; width: 4px;}.timeInfoTipEventBar {width: 1px !important;}.netWindowLoadBar.timeInfoTipBar,.netContentLoadBar.timeInfoTipBar {width: 1px;}.netSummaryRow .netTimeLabel,.loaded .netTimeLabel {background: transparent;}.loaded .netTimeBar {background: #B6B6B6 url(images/netBarLoaded.gif) repeat-x; border-color: #B6B6B6;}.fromCache .netTimeBar {background: #D6D6D6 url(images/netBarCached.gif) repeat-x; border-color: #D6D6D6;}.netSummaryRow .netTimeBar {background: #BBBBBB; border: none; display: inline-block;}.timeInfoTipCell.startTime {padding-right: 25px;}.timeInfoTipCell.elapsedTime {text-align: right; padding-right: 8px;}.netSummaryLabel {color: #222222;}.netSummaryRow {background: #BBBBBB !important; font-weight: bold;}.netSummaryRow TD {padding: 1px 0 2px 0 !important;}.netSummaryRow > .netCol {border-top: 1px solid #999999; border-bottom: 1px solid; border-bottom-color: #999999; padding-top: 1px;}.netSummaryRow > .netCol:first-child {border-left: 1px solid #999999;}.netSummaryRow > .netCol:last-child {border-right: 1px solid #999999;}.netCountLabel {padding-left: 18px;}.netTotalSizeCol {text-align: right;}.netTotalTimeCol {text-align: right;}.netCacheSizeLabel {display: inline-block; float:left; padding-left: 6px;}.netTotalTimeLabel {padding-right: 6px;}.netInfoCol {border-top: 1px solid #EEEEEE; background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding-left: 10px; padding-bottom: 4px;}.netHrefLabel {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 2px;}.netRow.opened > .netCol > .netHrefLabel {background-image: url(images/twistyOpen.png);}.requestBodyBodies {border-left: 1px solid #D7D7D7; border-bottom: 1px solid #D7D7D7;}.netInfoRow .tabView {width: 99%;}.netInfoText {padding: 8px; background-color: #FFFFFF; font-family: Monaco, monospace;}.netInfoText[selected="true"] {display: block;}.netInfoParamName {padding: 0 10px 0 0; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; vertical-align: top; text-align: right; white-space: nowrap;}.netInfoParamValue > PRE {margin: 0}.netInfoHeadersText,.netInfoCookiesText {padding-top: 0;}.netInfoHeadersGroup,.netInfoCookiesGroup {margin-bottom: 4px; border-bottom: 1px solid #D7D7D7; padding-top: 8px; padding-bottom: 2px; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; color: #565656;}.netInfoHtmlPreview {border: 0; width: 100%; height:100%;}.netInfoHtmlText {padding: 0;}.dp-highlighter{font-family: "Consolas", "Courier New", Courier, mono, serif; font-size: 12px; width: 100%; overflow: auto;}.dp-highlighter ol,.dp-highlighter ol li,.dp-highlighter ol li span {margin: 0; padding: 0; border: none;}.dp-highlighter a,.dp-highlighter a:hover{background: none; border: none; padding: 0; margin: 0;}.dp-highlighter .bar{padding-left: 45px;}.dp-highlighter.collapsed .bar,.dp-highlighter.nogutter .bar{padding-left: 0px;}.dp-highlighter ol{list-style: decimal; background-color: #fff; margin: 0px 0px 1px 45px !important; padding: 0px; color: #5C5C5C;}.dp-highlighter.nogutter ol,.dp-highlighter.nogutter ol li{list-style: none !important; margin-left: 0px !important;}.dp-highlighter ol li,.dp-highlighter .columns div{list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 1px solid rgb(204,204,204); background-color: #F8F8F8; color: #5C5C5C; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;}.dp-highlighter.nogutter ol li,.dp-highlighter.nogutter .columns div{border: 0;}.dp-highlighter .columns{background-color: #F8F8F8; color: gray; overflow: hidden; width: 100%;}.dp-highlighter .columns div{padding-bottom: 5px;}.dp-highlighter ol li.alt{background-color: #FFF; color: inherit;}.dp-highlighter ol li span{color: black; background-color: inherit;}.dp-highlighter.collapsed ol{margin: 0px;}.dp-highlighter.collapsed ol li{display: none;}.dp-highlighter.printing{border: none;}.dp-highlighter.printing .tools{display: none !important;}.dp-highlighter.printing li{display: list-item !important;}.dp-highlighter .tools{padding: 3px 8px 3px 10px; font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; padding-bottom: 10px; border-left: 3px solid #6CE26C;}.dp-highlighter.nogutter .tools{border-left: 0;}.dp-highlighter.collapsed .tools{border-bottom: 0;}.dp-highlighter .tools a{font-size: 9px; color: #a0a0a0; background-color: inherit; text-decoration: none; margin-right: 10px;}.dp-highlighter .tools a:hover{color: red; background-color: inherit; text-decoration: underline;}.dp-about {background-color: #fff; color: #333; margin: 0px; padding: 0px;}.dp-about table {width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important;}.dp-about td {padding: 10px; vertical-align: top;}.dp-about .copy {border-bottom: 1px solid #ACA899; height: 95%;}.dp-about .title {color: red; background-color: inherit; font-weight: bold;}.dp-about .para {margin: 0 0 4px 0;}.dp-about .footer {background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right;}.dp-about .close {font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px;}.dp-highlighter .comment, .dp-highlighter .comments {color: #008200; background-color: inherit;}.dp-highlighter .string {color: blue; background-color: inherit;}.dp-highlighter .keyword {color: #069; font-weight: bold; background-color: inherit;}.dp-highlighter .preprocessor {color: gray; background-color: inherit;}
@@ -0,0 +1 @@
1
+ .harBody {margin: 0; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 13px;}#content a {text-decoration: none;}#content h1 {font-size: 17px; border-bottom: 1px solid threedlightshadow;}#content h2 {color: #DD467B; font-size: 22.8px; font-weight:lighter;}#content h3 {color: #DD467B; font-weight: bold;}#content pre {margin: 0; font: inherit;}.collapsed,[collapsed="true"] {display: none !important;}.link {color:blue;}.link:hover {text-decoration: underline; cursor:pointer;}.harViewBodies {position: absolute; top: 33px; bottom: 0px;}.harViewBar > .tab {font-size: 17px; font-family: Lucida Grande, Tahoma, sans-serif;}
@@ -0,0 +1 @@
1
+ .harBody {margin: 0; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 13px;}#content a {text-decoration: none;}#content h1 {font-size: 17px; border-bottom: 1px solid threedlightshadow;}#content h2 {color: #DD467B; font-size: 22.8px; font-weight:lighter;}#content h3 {color: #DD467B; font-weight: bold;}#content pre {margin: 0; font: inherit;}.collapsed,[collapsed="true"] {display: none !important;}.link {color:blue;}.link:hover {text-decoration: underline; cursor:pointer;}.harViewBodies {position: absolute; top: 33px; bottom: 0px;}.harViewBar > .tab {font-size: 17px; font-family: Lucida Grande, Tahoma, sans-serif;}.tabView {width: 100%; background-color: #FFFFFF; color: #000000;}.tabViewCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; vertical-align:top;}.tabViewBody {margin: 2px 0px 0px 0px;}.tabBar {padding-left: 14px; border-bottom: 1px solid #D7D7D7; white-space: nowrap;}.tab {position: relative; top: 1px; padding: 4px 8px; border: 1px solid transparent; border-bottom: none; color: #565656; font-weight: bold; white-space: nowrap; -moz-user-select: none; display:inline-block;}.tab:hover {cursor: pointer; border-color: #D7D7D7; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tab[selected="true"],.tab .selected {cursor: default !important; border-color: #D7D7D7; background-color: #FFFFFF; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tabBodies {width: 100%; overflow: auto;}.tabBody {display: none; margin: 0;}.tabBody[selected="true"],.tabBody.selected {display: block;}@media print {.tabBodies {overflow:visible;}.tabViewCol {background: none;}}.toolbar {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11px; font-weight: 400; font-style: normal; border-bottom: 1px solid #EEEEEE; padding-left: 3px;}.toolbarButton,.toolbarSeparator {display: inline-block; vertical-align: middle; cursor: pointer; color: #000000; -moz-user-select: none;}.toolbarButton.image {padding: 0; height: 16px; width: 16px;}.toolbarButton.text,.toolbarSeparator {margin: 3px 0 3px 0; padding: 3px; border: 1px solid transparent;}.toolbarButton.text:hover {background: url(images/bg-button.gif) repeat-x scroll 0 0 #FFFFFF; border-top:1px solid #bbb; border-bottom:1px solid #aaa; border-left:1px solid #bbb; border-right:1px solid #aaa; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}.toolbarButton.text:active {background-position: 0 -400px;}.domTable {}.memberLabelCell {padding: 2px 50px 2px 0; vertical-align: top;}.memberValueCell {padding: 1px 0 1px 5px; display: block; overflow: hidden;}.memberLabel {cursor: default; -moz-user-select: none; overflow: hidden; padding-left: 18px; white-space: nowrap; background-color: #FFFFFF;}.memberRow.hasChildren.opened > .memberLabelCell > .memberLabel {background-image: url(images/twistyOpen.png);}.memberRow.hasChildren > .memberLabelCell > .memberLabel:hover {cursor: pointer; color: blue; text-decoration: underline;}.memberRow.hasChildren > .memberLabelCell > .memberLabel {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 3px;}.memberRow.hasChildren > .memberLabelCell > .memberLabel {background-position: 2px 2px;}.infoTip {z-index: 2147483647; position: fixed; padding: 2px 4px 3px 4px; background: LightYellow; font-family: Lucida Grande, Tahoma, sans-serif; color: #000000; display: none; white-space: nowrap; font-size: 11px; border: 1px solid rgb(126, 171, 205); background: url(images/tabEnabled.png) repeat-x scroll 0px 0px rgb(234, 234, 234); background-position-x: 0; background-position-y: 100%; background-repeat: repeat-x; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: gray 2px 2px 3px; -webkit-box-shadow: gray 2px 2px 3px; box-shadow: gray 2px 2px 3px; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray'); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray')";}.infoTip[active="true"] {display: block;}.infoTip[multiline="true"] {background-image: none;}.popupMenu {display: none; position: absolute; font-size: 11px; z-index: 2147483647; font-family: Lucida Grande, Tahoma, sans-serif;}.popupMenuContent {padding: 2px;}.popupMenuSeparator {display: block; position: relative; padding: 1px 18px 0; text-decoration: none; color: #000; cursor: default; background: #ACA899; margin: 2px 0;}.popupMenuOption{display: block; position: relative; padding: 2px 18px; text-decoration: none; color: #000; cursor: default;}.popupMenuOption:hover{color: #fff; background: #316AC5;}.popupMenuGroup {background: transparent url(images/menu/tabMenuPin.png) no-repeat right 0;}.popupMenuGroup:hover {background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuGroupSelected {color: #fff; background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuChecked {background: transparent url(images/menu/tabMenuCheckbox.png) no-repeat 4px 0;}.popupMenuChecked:hover {background: #316AC5 url(images/menu/tabMenuCheckbox.png) no-repeat 4px -17px;}.popupMenuRadioSelected {background: transparent url(images/menu/tabMenuRadio.png) no-repeat 4px 0;}.popupMenuRadioSelected:hover {background: #316AC5 url(images/menu/tabMenuRadio.png) no-repeat 4px -17px;}.popupMenuShortcut {padding-right: 85px;}.popupMenuShortcutKey {position: absolute; right: 0; top: 2px; width: 77px;}.popupMenuDisabled {color: #ACA899 !important;}.popupMenuShadow {float: left; background: url(images/menu/shadowAlpha.png) no-repeat bottom right !important; margin: 10px 0 0 10px !important; margin: 10px 0 0 5px;}.popupMenuShadowContent {display: block; position: relative; background-color: #fff; border: 1px solid #a9a9a9; top: -6px; left: -6px;}#optionsMenu {top: 22px; left: 0;}.pageList {width: 100%;}.pageTable {width: 100%; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px;}.pageCol {white-space: nowrap; border-bottom: 1px solid #EEEEEE;}.pageRow {font-weight: bold; height: 17px; background-color: white;}.pageRow:hover {background: #EFEFEF;}.opened > .pageCol > .pageName {background-image: url(images/twistyOpen.png);}.pageName {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 1px; padding-left: 18px; font-weight: bold; cursor:pointer;}.pageID {color: gray;}.pageInfoCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding: 0px 0px 4px 17px;}@media print {.pageInfoCol {background: none;}}.netTable {width: 100%; border-left: 1px solid #EFEFEF; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px; table-layout: fixed;}.netRow {background: white;}.netRow.loaded {background: #FFFFFF;}.netHrefCol:hover {background: white;}.netRow.loaded:hover {background: #EFEFEF;}.netCol {padding: 0; vertical-align: top; border-bottom: 1px solid #EFEFEF; white-space: nowrap; text-overflow: clip; overflow: hidden;}.netStatusCol {padding-left: 10px; color: rgb(128, 128, 128);}.responseError > .netStatusCol {color: red;}.netStatusCol,.netDomainCol,.netSizeCol,.netTimeCol {padding-left: 8px;}.netTimeCol {overflow: visible;}.netSizeCol {text-align: right;}.netHrefLabel {-moz-box-sizing: padding-box; overflow: hidden; z-index: 100; position: relative; padding-left: 18px; padding-top: 1px; font-weight: bold;}.netFullHrefLabel {position: absolute; display: none; -moz-user-select: none; padding-right: 10px; padding-bottom: 3px; background: #FFFFFF;}.netHrefCol:hover > .netStatusLabel,.netHrefCol:hover > .netDomainLabel,.netHrefCol:hover > .netHrefLabel {display: none;}.netHrefCol:hover > .netFullHrefLabel {display: block;}.netRow.loaded:hover > .netCol > .netFullHrefLabel {background-color: #EFEFEF;}.netSizeLabel {padding-left: 6px;}.netStatusLabel,.netDomainLabel,.netSizeLabel,.netTimelineBar {padding: 1px 0 2px 0 !important;}.responseError {color: red;}.netOptionsCol {width: 11px; padding-left: 2px; padding-top: 3px;}.netOptionsLabel {width: 11px; height: 10px; background: url(images/contextMenuTarget.png) no-repeat; display: none;}.netRow:hover > .netOptionsCol > .netOptionsLabel {display: block;}.netOptionsLabel:hover {background-image: url(images/contextMenuTargetHover.png);}.hasHeaders .netHrefLabel:hover {cursor: pointer; color: blue; text-decoration: underline;}.netTimelineBar {position: relative; border-right: 50px solid transparent;}.netResolvingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -16px #FFFFFF; min-width: 0px; z-index: 70; height: 16px;}.netConnectingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -32px #FFFFFF; min-width: 0px; z-index: 60; height: 16px;}.netBlockingBar {position: absolute; left: 0; top: 0; bottom: 0; background: #FFFFFF url(images/timeline-sprites.png) repeat-x; min-width: 0px; z-index: 50; height: 16px;}.netSendingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -48px #FFFFFF; min-width: 0px; z-index: 40; height: 16px;}.netWaitingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -64px #FFFFFF; min-width: 1px; z-index: 30; height: 16px;}.netReceivingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -80px #B6B6B6; min-width: 0px; z-index: 20; height: 16px;}.fromCache .netReceivingBar,.fromCache.netReceivingBar {background: url(images/timeline-sprites.png) repeat-x scroll 0 -96px #D6D6D6; border-color: #D6D6D6; height: 16px;}.netWindowLoadBar,.netContentLoadBar {position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background-color: red; z-index:90; opacity: 0.5; display: none; margin-bottom:-1px;}.netContentLoadBar {background-color: Blue;}.netTimeLabel {-moz-box-sizing: padding-box; position: absolute; top: 1px; left: 100%; padding-left: 6px; color: #444444; min-width: 16px;}.timeInfoTip {width: 150px; height: 40px; font-size: 11px;}.sizeInfoTip {font-size: 11px;}.timeInfoTipBar,.timeInfoTipEventBar {position: relative; display: block; margin: 0; opacity: 1; height: 15px; width: 4px;}.timeInfoTipEventBar {width: 1px !important;}.netWindowLoadBar.timeInfoTipBar,.netContentLoadBar.timeInfoTipBar {width: 1px;}.netSummaryRow .netTimeLabel,.loaded .netTimeLabel {background: transparent;}.loaded .netTimeBar {background: #B6B6B6 url(images/netBarLoaded.gif) repeat-x; border-color: #B6B6B6;}.fromCache .netTimeBar {background: #D6D6D6 url(images/netBarCached.gif) repeat-x; border-color: #D6D6D6;}.netSummaryRow .netTimeBar {background: #BBBBBB; border: none; display: inline-block;}.timeInfoTipCell.startTime {padding-right: 25px;}.timeInfoTipCell.elapsedTime {text-align: right; padding-right: 8px;}.netSummaryLabel {color: #222222;}.netSummaryRow {background: #BBBBBB !important; font-weight: bold;}.netSummaryRow TD {padding: 1px 0 2px 0 !important;}.netSummaryRow > .netCol {border-top: 1px solid #999999; border-bottom: 1px solid; border-bottom-color: #999999; padding-top: 1px;}.netSummaryRow > .netCol:first-child {border-left: 1px solid #999999;}.netSummaryRow > .netCol:last-child {border-right: 1px solid #999999;}.netCountLabel {padding-left: 18px;}.netTotalSizeCol {text-align: right;}.netTotalTimeCol {text-align: right;}.netCacheSizeLabel {display: inline-block; float:left; padding-left: 6px;}.netTotalTimeLabel {padding-right: 6px;}.netInfoCol {border-top: 1px solid #EEEEEE; background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding-left: 10px; padding-bottom: 4px;}.netHrefLabel {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 2px;}.netRow.opened > .netCol > .netHrefLabel {background-image: url(images/twistyOpen.png);}.requestBodyBodies {border-left: 1px solid #D7D7D7; border-bottom: 1px solid #D7D7D7;}.netInfoRow .tabView {width: 99%;}.netInfoText {padding: 8px; background-color: #FFFFFF; font-family: Monaco, monospace;}.netInfoText[selected="true"] {display: block;}.netInfoParamName {padding: 0 10px 0 0; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; vertical-align: top; text-align: right; white-space: nowrap;}.netInfoParamValue > PRE {margin: 0}.netInfoHeadersText,.netInfoCookiesText {padding-top: 0;}.netInfoHeadersGroup,.netInfoCookiesGroup {margin-bottom: 4px; border-bottom: 1px solid #D7D7D7; padding-top: 8px; padding-bottom: 2px; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; color: #565656;}.netInfoHtmlPreview {border: 0; width: 100%; height:100%;}.netInfoHtmlText {padding: 0;}.pageStatsBody[class~=opened] {border-bottom: 1px solid #EEEEEE;}.pagePieTable {margin: 7px; border-right: 1px solid #EEEEEE; padding-right: 7px; display: inline-table;}.pieGraph {width: 100px; height: 100px; display: block;}.pieLabel {font-size: 11px; padding-left: 10px; cursor: default;}.pieLabel SPAN {vertical-align: middle;}.pieLabel .box {display: inline-block; width: 10px; height: 10px; margin-top: 1px;}.pieLabel .label {padding-left: 5px;}.pageTimeline {background-color: #FFFFFF; color: #000000;}.pageTimelineBody {width: 100%;}.pageTimelineBody[class~=opened] {border-bottom: 1px solid #EEEEEE;}.pageTimelineTable {height: 100px; padding-left: 5px;}.pageTimelineCol {vertical-align: bottom; padding-left: 4px; outline: none; -moz-outline-style: none; -moz-user-focus: ignore;}.pageBar {width: 9px; background: url(images/page-timeline.png) repeat-y scroll 0px 0px #FFFFFF; cursor: pointer;}.pageBar.selected {opacity: 0.5; -moz-opacity: 0.50: filter: alpha(opacity=50);}.pageTimelineCol:hover .pageBar {background: url(images/page-timeline.png) repeat-y scroll -8px 0px #FFFFFF;}.pageTimelineBody .connector {margin-left: 16px; display: block; background: url(images/tooltipConnectorUp.png) no-repeat; width: 16px; height: 11px; position: relative; margin-bottom: -1px;}.pageDescBox .desc {font-size: 11px; border: 1px solid rgb(126, 171, 205); background: url(images/tabEnabled.png) repeat-x scroll 0px 0px rgb(234, 234, 234); padding: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}.pageDescBox .desc .summary {font-weight: bold;}.pageDescBox .desc .time {padding-left: 10px;}.pageDescBox .desc .title {color: black; padding-left: 10px;}.pageDescBox .desc .comment {color: gray; padding-top: 1px;}.AboutTab {margin-left: 100px;}.AboutTab .version {font-size: 11px; color: #DD467B;}.tabAboutBody {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11.7px; font-style: normal; font-weight: 400;}.aboutBody {padding: 8px;}.tabAboutBody code {color: green;}.tabHomeBody {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11.7px; font-style: normal; font-weight: 400;}.homeBody {padding: 8px;}.tabDOMBody {font-family: Lucida Grande,Tahoma,sans-serif; font-size: 11px;}.tabDOMBody .separator {border-bottom: 1px solid #D7D7D7;}.tabDOMBody .domTable {padding: 5px;}.tabSchemaBody {font-family: Monaco,monospace; font-size: 12px;}.AboutTab {margin-left: 100px;}.AboutTab .version {font-size: 11px; color: #DD467B;}.tabAboutBody {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11.7px; font-style: normal; font-weight: 400;}.aboutBody {padding: 8px;}.errorTable {margin: 8px; font-size: 13px;}.errorProperty {color: gray; font-style:italic;}.errorMessage {color: red;}.harDownloadButton OBJECT {outline: none; -moz-user-focus: ignore;}.harSaveButton {background: url(images/save.png) no-repeat;}.dp-highlighter{font-family: "Consolas", "Courier New", Courier, mono, serif; font-size: 12px; width: 100%; overflow: auto;}.dp-highlighter ol,.dp-highlighter ol li,.dp-highlighter ol li span {margin: 0; padding: 0; border: none;}.dp-highlighter a,.dp-highlighter a:hover{background: none; border: none; padding: 0; margin: 0;}.dp-highlighter .bar{padding-left: 45px;}.dp-highlighter.collapsed .bar,.dp-highlighter.nogutter .bar{padding-left: 0px;}.dp-highlighter ol{list-style: decimal; background-color: #fff; margin: 0px 0px 1px 45px !important; padding: 0px; color: #5C5C5C;}.dp-highlighter.nogutter ol,.dp-highlighter.nogutter ol li{list-style: none !important; margin-left: 0px !important;}.dp-highlighter ol li,.dp-highlighter .columns div{list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 1px solid rgb(204,204,204); background-color: #F8F8F8; color: #5C5C5C; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;}.dp-highlighter.nogutter ol li,.dp-highlighter.nogutter .columns div{border: 0;}.dp-highlighter .columns{background-color: #F8F8F8; color: gray; overflow: hidden; width: 100%;}.dp-highlighter .columns div{padding-bottom: 5px;}.dp-highlighter ol li.alt{background-color: #FFF; color: inherit;}.dp-highlighter ol li span{color: black; background-color: inherit;}.dp-highlighter.collapsed ol{margin: 0px;}.dp-highlighter.collapsed ol li{display: none;}.dp-highlighter.printing{border: none;}.dp-highlighter.printing .tools{display: none !important;}.dp-highlighter.printing li{display: list-item !important;}.dp-highlighter .tools{padding: 3px 8px 3px 10px; font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; padding-bottom: 10px; border-left: 3px solid #6CE26C;}.dp-highlighter.nogutter .tools{border-left: 0;}.dp-highlighter.collapsed .tools{border-bottom: 0;}.dp-highlighter .tools a{font-size: 9px; color: #a0a0a0; background-color: inherit; text-decoration: none; margin-right: 10px;}.dp-highlighter .tools a:hover{color: red; background-color: inherit; text-decoration: underline;}.dp-about {background-color: #fff; color: #333; margin: 0px; padding: 0px;}.dp-about table {width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important;}.dp-about td {padding: 10px; vertical-align: top;}.dp-about .copy {border-bottom: 1px solid #ACA899; height: 95%;}.dp-about .title {color: red; background-color: inherit; font-weight: bold;}.dp-about .para {margin: 0 0 4px 0;}.dp-about .footer {background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right;}.dp-about .close {font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px;}.dp-highlighter .comment, .dp-highlighter .comments {color: #008200; background-color: inherit;}.dp-highlighter .string {color: blue; background-color: inherit;}.dp-highlighter .keyword {color: #069; font-weight: bold; background-color: inherit;}.dp-highlighter .preprocessor {color: gray; background-color: inherit;}
@@ -0,0 +1 @@
1
+ .tabHomeBody {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11.7px; font-style: normal; font-weight: 400;}.homeBody {padding: 8px;}
@@ -0,0 +1 @@
1
+ .infoTip {z-index: 2147483647; position: fixed; padding: 2px 4px 3px 4px; background: LightYellow; font-family: Lucida Grande, Tahoma, sans-serif; color: #000000; display: none; white-space: nowrap; font-size: 11px; border: 1px solid rgb(126, 171, 205); background: url(images/tabEnabled.png) repeat-x scroll 0px 0px rgb(234, 234, 234); background-position-x: 0; background-position-y: 100%; background-repeat: repeat-x; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: gray 2px 2px 3px; -webkit-box-shadow: gray 2px 2px 3px; box-shadow: gray 2px 2px 3px; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray'); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray')";}.infoTip[active="true"] {display: block;}.infoTip[multiline="true"] {background-image: none;}
@@ -0,0 +1 @@
1
+ .pageList {width: 100%;}.pageTable {width: 100%; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px;}.pageCol {white-space: nowrap; border-bottom: 1px solid #EEEEEE;}.pageRow {font-weight: bold; height: 17px; background-color: white;}.pageRow:hover {background: #EFEFEF;}.opened > .pageCol > .pageName {background-image: url(images/twistyOpen.png);}.pageName {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 1px; padding-left: 18px; font-weight: bold; cursor:pointer;}.pageID {color: gray;}.pageInfoCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding: 0px 0px 4px 17px;}@media print {.pageInfoCol {background: none;}}
@@ -0,0 +1 @@
1
+ .pageStatsBody[class~=opened] {border-bottom: 1px solid #EEEEEE;}.pagePieTable {margin: 7px; border-right: 1px solid #EEEEEE; padding-right: 7px; display: inline-table;}.pieGraph {width: 100px; height: 100px; display: block;}.pieLabel {font-size: 11px; padding-left: 10px; cursor: default;}.pieLabel SPAN {vertical-align: middle;}.pieLabel .box {display: inline-block; width: 10px; height: 10px; margin-top: 1px;}.pieLabel .label {padding-left: 5px;}
@@ -0,0 +1 @@
1
+ .pageTimeline {background-color: #FFFFFF; color: #000000;}.pageTimelineBody {width: 100%;}.pageTimelineBody[class~=opened] {border-bottom: 1px solid #EEEEEE;}.pageTimelineTable {height: 100px; padding-left: 5px;}.pageTimelineCol {vertical-align: bottom; padding-left: 4px; outline: none; -moz-outline-style: none; -moz-user-focus: ignore;}.pageBar {width: 9px; background: url(images/page-timeline.png) repeat-y scroll 0px 0px #FFFFFF; cursor: pointer;}.pageBar.selected {opacity: 0.5; -moz-opacity: 0.50: filter: alpha(opacity=50);}.pageTimelineCol:hover .pageBar {background: url(images/page-timeline.png) repeat-y scroll -8px 0px #FFFFFF;}.pageTimelineBody .connector {margin-left: 16px; display: block; background: url(images/tooltipConnectorUp.png) no-repeat; width: 16px; height: 11px; position: relative; margin-bottom: -1px;}.pageDescBox .desc {font-size: 11px; border: 1px solid rgb(126, 171, 205); background: url(images/tabEnabled.png) repeat-x scroll 0px 0px rgb(234, 234, 234); padding: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}.pageDescBox .desc .summary {font-weight: bold;}.pageDescBox .desc .time {padding-left: 10px;}.pageDescBox .desc .title {color: black; padding-left: 10px;}.pageDescBox .desc .comment {color: gray; padding-top: 1px;}
@@ -0,0 +1 @@
1
+ .popupMenu {display: none; position: absolute; font-size: 11px; z-index: 2147483647; font-family: Lucida Grande, Tahoma, sans-serif;}.popupMenuContent {padding: 2px;}.popupMenuSeparator {display: block; position: relative; padding: 1px 18px 0; text-decoration: none; color: #000; cursor: default; background: #ACA899; margin: 2px 0;}.popupMenuOption{display: block; position: relative; padding: 2px 18px; text-decoration: none; color: #000; cursor: default;}.popupMenuOption:hover{color: #fff; background: #316AC5;}.popupMenuGroup {background: transparent url(images/menu/tabMenuPin.png) no-repeat right 0;}.popupMenuGroup:hover {background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuGroupSelected {color: #fff; background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuChecked {background: transparent url(images/menu/tabMenuCheckbox.png) no-repeat 4px 0;}.popupMenuChecked:hover {background: #316AC5 url(images/menu/tabMenuCheckbox.png) no-repeat 4px -17px;}.popupMenuRadioSelected {background: transparent url(images/menu/tabMenuRadio.png) no-repeat 4px 0;}.popupMenuRadioSelected:hover {background: #316AC5 url(images/menu/tabMenuRadio.png) no-repeat 4px -17px;}.popupMenuShortcut {padding-right: 85px;}.popupMenuShortcutKey {position: absolute; right: 0; top: 2px; width: 77px;}.popupMenuDisabled {color: #ACA899 !important;}.popupMenuShadow {float: left; background: url(images/menu/shadowAlpha.png) no-repeat bottom right !important; margin: 10px 0 0 10px !important; margin: 10px 0 0 5px;}.popupMenuShadowContent {display: block; position: relative; background-color: #fff; border: 1px solid #a9a9a9; top: -6px; left: -6px;}#optionsMenu {top: 22px; left: 0;}
@@ -0,0 +1 @@
1
+ .AboutTab {margin-left: 100px;}.AboutTab .version {font-size: 11px; color: #DD467B;}.tabAboutBody {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11.7px; font-style: normal; font-weight: 400;}.aboutBody {padding: 8px;}.errorTable {margin: 8px; font-size: 13px;}.errorProperty {color: gray; font-style:italic;}.errorMessage {color: red;}.harDownloadButton OBJECT {outline: none; -moz-user-focus: ignore;}.harSaveButton {background: url(images/save.png) no-repeat;}
@@ -0,0 +1 @@
1
+ .requestBodyBodies {border-left: 1px solid #D7D7D7; border-bottom: 1px solid #D7D7D7;}.netInfoRow .tabView {width: 99%;}.netInfoText {padding: 8px; background-color: #FFFFFF; font-family: Monaco, monospace;}.netInfoText[selected="true"] {display: block;}.netInfoParamName {padding: 0 10px 0 0; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; vertical-align: top; text-align: right; white-space: nowrap;}.netInfoParamValue > PRE {margin: 0}.netInfoHeadersText,.netInfoCookiesText {padding-top: 0;}.netInfoHeadersGroup,.netInfoCookiesGroup {margin-bottom: 4px; border-bottom: 1px solid #D7D7D7; padding-top: 8px; padding-bottom: 2px; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; color: #565656;}.netInfoHtmlPreview {border: 0; width: 100%; height:100%;}.netInfoHtmlText {padding: 0;}
@@ -0,0 +1 @@
1
+ .netTable {width: 100%; border-left: 1px solid #EFEFEF; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px; table-layout: fixed;}.netRow {background: white;}.netRow.loaded {background: #FFFFFF;}.netHrefCol:hover {background: white;}.netRow.loaded:hover {background: #EFEFEF;}.netCol {padding: 0; vertical-align: top; border-bottom: 1px solid #EFEFEF; white-space: nowrap; text-overflow: clip; overflow: hidden;}.netStatusCol {padding-left: 10px; color: rgb(128, 128, 128);}.responseError > .netStatusCol {color: red;}.netStatusCol,.netDomainCol,.netSizeCol,.netTimeCol {padding-left: 8px;}.netTimeCol {overflow: visible;}.netSizeCol {text-align: right;}.netHrefLabel {-moz-box-sizing: padding-box; overflow: hidden; z-index: 100; position: relative; padding-left: 18px; padding-top: 1px; font-weight: bold;}.netFullHrefLabel {position: absolute; display: none; -moz-user-select: none; padding-right: 10px; padding-bottom: 3px; background: #FFFFFF;}.netHrefCol:hover > .netStatusLabel,.netHrefCol:hover > .netDomainLabel,.netHrefCol:hover > .netHrefLabel {display: none;}.netHrefCol:hover > .netFullHrefLabel {display: block;}.netRow.loaded:hover > .netCol > .netFullHrefLabel {background-color: #EFEFEF;}.netSizeLabel {padding-left: 6px;}.netStatusLabel,.netDomainLabel,.netSizeLabel,.netTimelineBar {padding: 1px 0 2px 0 !important;}.responseError {color: red;}.netOptionsCol {width: 11px; padding-left: 2px; padding-top: 3px;}.netOptionsLabel {width: 11px; height: 10px; background: url(images/contextMenuTarget.png) no-repeat; display: none;}.netRow:hover > .netOptionsCol > .netOptionsLabel {display: block;}.netOptionsLabel:hover {background-image: url(images/contextMenuTargetHover.png);}.hasHeaders .netHrefLabel:hover {cursor: pointer; color: blue; text-decoration: underline;}.netTimelineBar {position: relative; border-right: 50px solid transparent;}.netResolvingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -16px #FFFFFF; min-width: 0px; z-index: 70; height: 16px;}.netConnectingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -32px #FFFFFF; min-width: 0px; z-index: 60; height: 16px;}.netBlockingBar {position: absolute; left: 0; top: 0; bottom: 0; background: #FFFFFF url(images/timeline-sprites.png) repeat-x; min-width: 0px; z-index: 50; height: 16px;}.netSendingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -48px #FFFFFF; min-width: 0px; z-index: 40; height: 16px;}.netWaitingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -64px #FFFFFF; min-width: 1px; z-index: 30; height: 16px;}.netReceivingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -80px #B6B6B6; min-width: 0px; z-index: 20; height: 16px;}.fromCache .netReceivingBar,.fromCache.netReceivingBar {background: url(images/timeline-sprites.png) repeat-x scroll 0 -96px #D6D6D6; border-color: #D6D6D6; height: 16px;}.netWindowLoadBar,.netContentLoadBar {position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background-color: red; z-index:90; opacity: 0.5; display: none; margin-bottom:-1px;}.netContentLoadBar {background-color: Blue;}.netTimeLabel {-moz-box-sizing: padding-box; position: absolute; top: 1px; left: 100%; padding-left: 6px; color: #444444; min-width: 16px;}.timeInfoTip {width: 150px; height: 40px; font-size: 11px;}.sizeInfoTip {font-size: 11px;}.timeInfoTipBar,.timeInfoTipEventBar {position: relative; display: block; margin: 0; opacity: 1; height: 15px; width: 4px;}.timeInfoTipEventBar {width: 1px !important;}.netWindowLoadBar.timeInfoTipBar,.netContentLoadBar.timeInfoTipBar {width: 1px;}.netSummaryRow .netTimeLabel,.loaded .netTimeLabel {background: transparent;}.loaded .netTimeBar {background: #B6B6B6 url(images/netBarLoaded.gif) repeat-x; border-color: #B6B6B6;}.fromCache .netTimeBar {background: #D6D6D6 url(images/netBarCached.gif) repeat-x; border-color: #D6D6D6;}.netSummaryRow .netTimeBar {background: #BBBBBB; border: none; display: inline-block;}.timeInfoTipCell.startTime {padding-right: 25px;}.timeInfoTipCell.elapsedTime {text-align: right; padding-right: 8px;}.netSummaryLabel {color: #222222;}.netSummaryRow {background: #BBBBBB !important; font-weight: bold;}.netSummaryRow TD {padding: 1px 0 2px 0 !important;}.netSummaryRow > .netCol {border-top: 1px solid #999999; border-bottom: 1px solid; border-bottom-color: #999999; padding-top: 1px;}.netSummaryRow > .netCol:first-child {border-left: 1px solid #999999;}.netSummaryRow > .netCol:last-child {border-right: 1px solid #999999;}.netCountLabel {padding-left: 18px;}.netTotalSizeCol {text-align: right;}.netTotalTimeCol {text-align: right;}.netCacheSizeLabel {display: inline-block; float:left; padding-left: 6px;}.netTotalTimeLabel {padding-right: 6px;}.netInfoCol {border-top: 1px solid #EEEEEE; background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding-left: 10px; padding-bottom: 4px;}.netHrefLabel {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 2px;}.netRow.opened > .netCol > .netHrefLabel {background-image: url(images/twistyOpen.png);}
@@ -0,0 +1 @@
1
+ .tabSchemaBody {font-family: Monaco,monospace; font-size: 12px;}
@@ -0,0 +1 @@
1
+ .tabView {width: 100%; background-color: #FFFFFF; color: #000000;}.tabViewCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; vertical-align:top;}.tabViewBody {margin: 2px 0px 0px 0px;}.tabBar {padding-left: 14px; border-bottom: 1px solid #D7D7D7; white-space: nowrap;}.tab {position: relative; top: 1px; padding: 4px 8px; border: 1px solid transparent; border-bottom: none; color: #565656; font-weight: bold; white-space: nowrap; -moz-user-select: none; display:inline-block;}.tab:hover {cursor: pointer; border-color: #D7D7D7; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tab[selected="true"],.tab .selected {cursor: default !important; border-color: #D7D7D7; background-color: #FFFFFF; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tabBodies {width: 100%; overflow: auto;}.tabBody {display: none; margin: 0;}.tabBody[selected="true"],.tabBody.selected {display: block;}@media print {.tabBodies {overflow:visible;}.tabViewCol {background: none;}}
@@ -0,0 +1 @@
1
+ .toolTip {z-index: 2147483647; position: absolute; padding: 2px 4px 3px 4px; font-family: Lucida Grande, Tahoma, sans-serif; color: #000000; display: none; font-size: 11px; border: 1px solid #a9a9a9; background: white; overflow: auto;}.toolTip {height: 150px; width: 500px;}
@@ -0,0 +1 @@
1
+ .toolbar {font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 11px; font-weight: 400; font-style: normal; border-bottom: 1px solid #EEEEEE; padding-left: 3px;}.toolbarButton,.toolbarSeparator {display: inline-block; vertical-align: middle; cursor: pointer; color: #000000; -moz-user-select: none;}.toolbarButton.image {padding: 0; height: 16px; width: 16px;}.toolbarButton.text,.toolbarSeparator {margin: 3px 0 3px 0; padding: 3px; border: 1px solid transparent;}.toolbarButton.text:hover {background: url(images/bg-button.gif) repeat-x scroll 0 0 #FFFFFF; border-top:1px solid #bbb; border-bottom:1px solid #aaa; border-left:1px solid #bbb; border-right:1px solid #aaa; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}.toolbarButton.text:active {background-position: 0 -400px;}
@@ -0,0 +1 @@
1
+ .tabView {width: 100%; background-color: #FFFFFF; color: #000000;}.tabViewCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; vertical-align:top;}.tabViewBody {margin: 2px 0px 0px 0px;}.tabBar {padding-left: 14px; border-bottom: 1px solid #D7D7D7; white-space: nowrap;}.tab {position: relative; top: 1px; padding: 4px 8px; border: 1px solid transparent; border-bottom: none; color: #565656; font-weight: bold; white-space: nowrap; -moz-user-select: none; display:inline-block;}.tab:hover {cursor: pointer; border-color: #D7D7D7; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tab[selected="true"],.tab .selected {cursor: default !important; border-color: #D7D7D7; background-color: #FFFFFF; -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0;}.tabBodies {width: 100%; overflow: auto;}.tabBody {display: none; margin: 0;}.tabBody[selected="true"],.tabBody.selected {display: block;}@media print {.tabBodies {overflow:visible;}.tabViewCol {background: none;}}.pageList {width: 100%;}.pageTable {width: 100%; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px;}.pageCol {white-space: nowrap; border-bottom: 1px solid #EEEEEE;}.pageRow {font-weight: bold; height: 17px; background-color: white;}.pageRow:hover {background: #EFEFEF;}.opened > .pageCol > .pageName {background-image: url(images/twistyOpen.png);}.pageName {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 1px; padding-left: 18px; font-weight: bold; cursor:pointer;}.pageID {color: gray;}.pageInfoCol {background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding: 0px 0px 4px 17px;}@media print {.pageInfoCol {background: none;}}.netTable {width: 100%; border-left: 1px solid #EFEFEF; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px; table-layout: fixed;}.netRow {background: white;}.netRow.loaded {background: #FFFFFF;}.netHrefCol:hover {background: white;}.netRow.loaded:hover {background: #EFEFEF;}.netCol {padding: 0; vertical-align: top; border-bottom: 1px solid #EFEFEF; white-space: nowrap; text-overflow: clip; overflow: hidden;}.netStatusCol {padding-left: 10px; color: rgb(128, 128, 128);}.responseError > .netStatusCol {color: red;}.netStatusCol,.netDomainCol,.netSizeCol,.netTimeCol {padding-left: 8px;}.netTimeCol {overflow: visible;}.netSizeCol {text-align: right;}.netHrefLabel {-moz-box-sizing: padding-box; overflow: hidden; z-index: 100; position: relative; padding-left: 18px; padding-top: 1px; font-weight: bold;}.netFullHrefLabel {position: absolute; display: none; -moz-user-select: none; padding-right: 10px; padding-bottom: 3px; background: #FFFFFF;}.netHrefCol:hover > .netStatusLabel,.netHrefCol:hover > .netDomainLabel,.netHrefCol:hover > .netHrefLabel {display: none;}.netHrefCol:hover > .netFullHrefLabel {display: block;}.netRow.loaded:hover > .netCol > .netFullHrefLabel {background-color: #EFEFEF;}.netSizeLabel {padding-left: 6px;}.netStatusLabel,.netDomainLabel,.netSizeLabel,.netTimelineBar {padding: 1px 0 2px 0 !important;}.responseError {color: red;}.netOptionsCol {width: 11px; padding-left: 2px; padding-top: 3px;}.netOptionsLabel {width: 11px; height: 10px; background: url(images/contextMenuTarget.png) no-repeat; display: none;}.netRow:hover > .netOptionsCol > .netOptionsLabel {display: block;}.netOptionsLabel:hover {background-image: url(images/contextMenuTargetHover.png);}.hasHeaders .netHrefLabel:hover {cursor: pointer; color: blue; text-decoration: underline;}.netTimelineBar {position: relative; border-right: 50px solid transparent;}.netResolvingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -16px #FFFFFF; min-width: 0px; z-index: 70; height: 16px;}.netConnectingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -32px #FFFFFF; min-width: 0px; z-index: 60; height: 16px;}.netBlockingBar {position: absolute; left: 0; top: 0; bottom: 0; background: #FFFFFF url(images/timeline-sprites.png) repeat-x; min-width: 0px; z-index: 50; height: 16px;}.netSendingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -48px #FFFFFF; min-width: 0px; z-index: 40; height: 16px;}.netWaitingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -64px #FFFFFF; min-width: 1px; z-index: 30; height: 16px;}.netReceivingBar {position: absolute; left: 0; top: 0; bottom: 0; background: url(images/timeline-sprites.png) repeat-x scroll 0 -80px #B6B6B6; min-width: 0px; z-index: 20; height: 16px;}.fromCache .netReceivingBar,.fromCache.netReceivingBar {background: url(images/timeline-sprites.png) repeat-x scroll 0 -96px #D6D6D6; border-color: #D6D6D6; height: 16px;}.netWindowLoadBar,.netContentLoadBar {position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background-color: red; z-index:90; opacity: 0.5; display: none; margin-bottom:-1px;}.netContentLoadBar {background-color: Blue;}.netTimeLabel {-moz-box-sizing: padding-box; position: absolute; top: 1px; left: 100%; padding-left: 6px; color: #444444; min-width: 16px;}.timeInfoTip {width: 150px; height: 40px; font-size: 11px;}.sizeInfoTip {font-size: 11px;}.timeInfoTipBar,.timeInfoTipEventBar {position: relative; display: block; margin: 0; opacity: 1; height: 15px; width: 4px;}.timeInfoTipEventBar {width: 1px !important;}.netWindowLoadBar.timeInfoTipBar,.netContentLoadBar.timeInfoTipBar {width: 1px;}.netSummaryRow .netTimeLabel,.loaded .netTimeLabel {background: transparent;}.loaded .netTimeBar {background: #B6B6B6 url(images/netBarLoaded.gif) repeat-x; border-color: #B6B6B6;}.fromCache .netTimeBar {background: #D6D6D6 url(images/netBarCached.gif) repeat-x; border-color: #D6D6D6;}.netSummaryRow .netTimeBar {background: #BBBBBB; border: none; display: inline-block;}.timeInfoTipCell.startTime {padding-right: 25px;}.timeInfoTipCell.elapsedTime {text-align: right; padding-right: 8px;}.netSummaryLabel {color: #222222;}.netSummaryRow {background: #BBBBBB !important; font-weight: bold;}.netSummaryRow TD {padding: 1px 0 2px 0 !important;}.netSummaryRow > .netCol {border-top: 1px solid #999999; border-bottom: 1px solid; border-bottom-color: #999999; padding-top: 1px;}.netSummaryRow > .netCol:first-child {border-left: 1px solid #999999;}.netSummaryRow > .netCol:last-child {border-right: 1px solid #999999;}.netCountLabel {padding-left: 18px;}.netTotalSizeCol {text-align: right;}.netTotalTimeCol {text-align: right;}.netCacheSizeLabel {display: inline-block; float:left; padding-left: 6px;}.netTotalTimeLabel {padding-right: 6px;}.netInfoCol {border-top: 1px solid #EEEEEE; background: url(images/timeline-sprites.png) repeat-x scroll 0 -112px #FFFFFF; padding-left: 10px; padding-bottom: 4px;}.netHrefLabel {background-image: url(images/twistyClosed.png); background-repeat: no-repeat; background-position: 2px 2px;}.netRow.opened > .netCol > .netHrefLabel {background-image: url(images/twistyOpen.png);}.requestBodyBodies {border-left: 1px solid #D7D7D7; border-bottom: 1px solid #D7D7D7;}.netInfoRow .tabView {width: 99%;}.netInfoText {padding: 8px; background-color: #FFFFFF; font-family: Monaco, monospace;}.netInfoText[selected="true"] {display: block;}.netInfoParamName {padding: 0 10px 0 0; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; vertical-align: top; text-align: right; white-space: nowrap;}.netInfoParamValue > PRE {margin: 0}.netInfoHeadersText,.netInfoCookiesText {padding-top: 0;}.netInfoHeadersGroup,.netInfoCookiesGroup {margin-bottom: 4px; border-bottom: 1px solid #D7D7D7; padding-top: 8px; padding-bottom: 2px; font-family: Lucida Grande, Tahoma, sans-serif; font-weight: bold; color: #565656;}.netInfoHtmlPreview {border: 0; width: 100%; height:100%;}.netInfoHtmlText {padding: 0;}.infoTip {z-index: 2147483647; position: fixed; padding: 2px 4px 3px 4px; background: LightYellow; font-family: Lucida Grande, Tahoma, sans-serif; color: #000000; display: none; white-space: nowrap; font-size: 11px; border: 1px solid rgb(126, 171, 205); background: url(images/tabEnabled.png) repeat-x scroll 0px 0px rgb(234, 234, 234); background-position-x: 0; background-position-y: 100%; background-repeat: repeat-x; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: gray 2px 2px 3px; -webkit-box-shadow: gray 2px 2px 3px; box-shadow: gray 2px 2px 3px; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray'); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray')";}.infoTip[active="true"] {display: block;}.infoTip[multiline="true"] {background-image: none;}.popupMenu {display: none; position: absolute; font-size: 11px; z-index: 2147483647; font-family: Lucida Grande, Tahoma, sans-serif;}.popupMenuContent {padding: 2px;}.popupMenuSeparator {display: block; position: relative; padding: 1px 18px 0; text-decoration: none; color: #000; cursor: default; background: #ACA899; margin: 2px 0;}.popupMenuOption{display: block; position: relative; padding: 2px 18px; text-decoration: none; color: #000; cursor: default;}.popupMenuOption:hover{color: #fff; background: #316AC5;}.popupMenuGroup {background: transparent url(images/menu/tabMenuPin.png) no-repeat right 0;}.popupMenuGroup:hover {background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuGroupSelected {color: #fff; background: #316AC5 url(images/menu/tabMenuPin.png) no-repeat right -17px;}.popupMenuChecked {background: transparent url(images/menu/tabMenuCheckbox.png) no-repeat 4px 0;}.popupMenuChecked:hover {background: #316AC5 url(images/menu/tabMenuCheckbox.png) no-repeat 4px -17px;}.popupMenuRadioSelected {background: transparent url(images/menu/tabMenuRadio.png) no-repeat 4px 0;}.popupMenuRadioSelected:hover {background: #316AC5 url(images/menu/tabMenuRadio.png) no-repeat 4px -17px;}.popupMenuShortcut {padding-right: 85px;}.popupMenuShortcutKey {position: absolute; right: 0; top: 2px; width: 77px;}.popupMenuDisabled {color: #ACA899 !important;}.popupMenuShadow {float: left; background: url(images/menu/shadowAlpha.png) no-repeat bottom right !important; margin: 10px 0 0 10px !important; margin: 10px 0 0 5px;}.popupMenuShadowContent {display: block; position: relative; background-color: #fff; border: 1px solid #a9a9a9; top: -6px; left: -6px;}#optionsMenu {top: 22px; left: 0;}.harBody {margin: 0; font-family: Lucida Grande, Tahoma, sans-serif; font-size: 11px;}.xhrSpyFrame {}.tabView.requestBody,.netInfoHeadersGroup {}
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <title>HTTP Archive Viewer 2.0.5</title>
5
+ </head>
6
+ <body class="harBody">
7
+ <div id="content" version="2.0.5"></div>
8
+ <!--[if IE]><script type="text/javascript" src="scripts/excanvas/excanvas.js"></script><![endif]-->
9
+ <script src="scripts/requireplugins-jquery-1.4.2.js"></script>
10
+ <script>require(["harViewer"]);</script>
11
+ <link rel="stylesheet" href="css/harViewer.css" type="text/css"/>
12
+ </body>
13
+ </html>
File without changes
@@ -0,0 +1,2 @@
1
+ require.def("core/cookies",["core/lib"],function(f){return{getCookie:function(c){for(var b=document.cookie.split(";"),a=0;a<b.length;a++){var d=b[a].split("=");if(f.trim(d[0])==c)return d[1].length?unescape(f.trim(d[1])):null}},setCookie:function(c,b,a,d,g,h){var e=new Date;e.setTime(e.getTime());if(a)a=a*1E3*60*60*24;e=new Date(e.getTime()+a);document.cookie=c+"="+escape(b)+(a?";expires="+e.toGMTString():"")+(d?";path="+d:"")+(g?";domain="+g:"")+(h?";secure":"")},removeCookie:function(c,b,a){if(this.getCookie(c))document.cookie=
2
+ c+"="+(b?";path="+b:"")+(a?";domain="+a:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}}});
@@ -0,0 +1,23 @@
1
+ require.def("core/lib",["core/trace"],function(l){var d={},j=navigator.userAgent.toLowerCase();d.isFirefox=/firefox/.test(j);d.isOpera=/opera/.test(j);d.isSafari=/webkit/.test(j);d.isIE=/msie/.test(j)&&!/opera/.test(j);d.isIE6=/msie 6/i.test(navigator.appVersion);d.browserVersion=(j.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1];d.isIElt8=d.isIE&&d.browserVersion-0<8;d.extend=function(a,b){var c={};d.append(c,a);d.append(c,b);return c};d.append=function(a,b){for(var c in b)a[c]=b[c];return a};
2
+ d.bind=function(){var a=d.cloneArray(arguments),b=a.shift(),c=a.shift();return function(){return b.apply(c,d.arrayInsert(d.cloneArray(a),0,arguments))}};d.bindFixed=function(){var a=d.cloneArray(arguments),b=a.shift(),c=a.shift();return function(){return b.apply(c,a)}};d.dispatch=function(a,b,c){for(var e=0;a&&e<a.length;e++){var f=a[e];if(f[b])try{f[b].apply(f,c)}catch(g){l.exception(g)}}};d.dispatch2=function(a,b,c){for(var e=0;e<a.length;e++){var f=a[e];if(f[b])try{var g=f[b].apply(f,c);if(g)return g}catch(h){l.exception(h)}}};
3
+ var m=Object.prototype.toString,o=/^\s*function(\s+[\w_$][\w\d_$]*)?\s*\(/;d.isArray=function(a){return m.call(a)==="[object Array]"};d.isFunction=function(a){if(!a)return false;return m.call(a)==="[object Function]"||d.isIE&&typeof a!="string"&&o.test(""+a)};d.isAncestor=function(a,b){for(a=a;a;a=a.parentNode)if(a==b)return true;return false};d.fixEvent=function(a){return $.event.fix(a||window.event)};d.fireEvent=function(a,b){if(document.createEvent){var c=document.createEvent("Events");c.initEvent(b,
4
+ true,false);return!a.dispatchEvent(c)}};d.cancelEvent=function(a){a=d.fixEvent(a);a.stopPropagation();a.preventDefault()};d.addEventListener=function(a,b,c,e){e=e||false;a.addEventListener?a.addEventListener(b,c,e):a.attachEvent("on"+b,c)};d.removeEventListener=function(a,b,c,e){e=e||false;a.removeEventListener?a.removeEventListener(b,c,e):a.detachEvent("on"+b,c)};d.isLeftClick=function(a){return a.button==0&&d.noKeyModifiers(a)};d.noKeyModifiers=function(a){return!a.ctrlKey&&!a.shiftKey&&!a.altKey&&
5
+ !a.metaKey};d.isControlClick=function(a){return a.button==0&&d.isControl(a)};d.isShiftClick=function(a){return a.button==0&&d.isShift(a)};d.isControl=function(a){return(a.metaKey||a.ctrlKey)&&!a.shiftKey&&!a.altKey};d.isAlt=function(a){return a.altKey&&!a.ctrlKey&&!a.shiftKey&&!a.metaKey};d.isAltClick=function(a){return a.button==0&&d.isAlt(a)};d.isControlShift=function(a){return(a.metaKey||a.ctrlKey)&&a.shiftKey&&!a.altKey};d.isShift=function(a){return a.shiftKey&&!a.metaKey&&!a.ctrlKey&&!a.altKey};
6
+ d.inflateRect=function(a,b,c){return{top:a.top-c,left:a.left-b,height:a.height+2*c,width:a.width+2*b}};d.pointInRect=function(a,b,c){return c>=a.top&&c<=a.top+a.height&&b>=a.left&&b<=a.left+a.width};d.cloneArray=function(a,b){var c=[];if(b)for(var e=0;e<a.length;++e)c.push(b(a[e]));else for(e=0;e<a.length;++e)c.push(a[e]);return c};d.arrayInsert=function(a,b,c){for(var e=0;e<c.length;++e)a.splice(e+b,0,c[e]);return a};d.remove=function(a,b){for(var c=0;c<a.length;++c)if(a[c]==b){a.splice(c,1);break}};
7
+ d.formatSize=function(a){var b=1;b=b>2?2:b;b=b<-1?-1:b;if(b==-1)return a+" B";b=Math.pow(10,b);return a==-1||a==undefined?"?":a==0?"0":a<1024?a+" B":a<1048576?Math.round(a/1024*b)/b+" KB":Math.round(a/1048576*b)/b+" MB"};d.formatTime=function(a){return a==-1?"-":a<1E3?a+"ms":a<6E4?Math.ceil(a/10)/100+"s":Math.ceil(a/6E4*100)/100+"m"};d.formatNumber=function(a){a+="";var b=a.split(".");a=b[0];b=b.length>1?"."+b[1]:"";for(var c=/(\d+)(\d{3})/;c.test(a);)a=a.replace(c,"$1,$2");return a+b};d.formatString=
8
+ function(a){var b=d.cloneArray(arguments);a=b.shift();for(var c=0;c<b.length;c++){var e=b[c].toString();a=a.replace("%S",e)}return a};d.parseISO8601=function(a){return(a=d.fromISOString(a))?a.getTime():null};d.fromISOString=function(a){if(!a)return null;a=a.toString().match(new RegExp(/(\d\d\d\d)(-)?(\d\d)(-)?(\d\d)(T)?(\d\d)(:)?(\d\d)(:)?(\d\d)(\.\d+)?(Z|([+-])(\d\d)(:)?(\d\d))/));if(!a)return null;var b=new Date;b.setUTCDate(1);b.setUTCFullYear(parseInt(a[1],10));b.setUTCMonth(parseInt(a[3],10)-
9
+ 1);b.setUTCDate(parseInt(a[5],10));b.setUTCHours(parseInt(a[7],10));b.setUTCMinutes(parseInt(a[9],10));b.setUTCSeconds(parseInt(a[11],10));a[12]?b.setUTCMilliseconds(parseFloat(a[12])*1E3):b.setUTCMilliseconds(0);if(a[13]!="Z"){var c=a[15]*60+parseInt(a[17],10);c*=a[14]=="-"?-1:1;b.setTime(b.getTime()-c*60*1E3)}return b};d.getFileName=function(a){return d.splitURLBase(a).name};d.getFileExtension=function(a){if(!a)return null;var b=a.indexOf("?");if(b!=-1)a=a.substr(0,b);b=a.lastIndexOf(".");return a.substr(b+
10
+ 1)};d.splitURLBase=function(a){if(d.isDataURL(a))return d.splitDataURL(a);return d.splitURLTrue(a)};d.isDataURL=function(a){return a&&a.substr(0,5)=="data:"};d.splitDataURL=function(a){var b=a.indexOf(":",3);if(b!=4)return false;var c=a.indexOf(",",b+1);if(c<b)return false;var e={encodedContent:a.substr(c+1)};a=a.substr(b+1,c).split(";");for(b=0;b<a.length;b++){c=a[b].split("=");if(c.length==2)e[c[0]]=c[1]}if(e.hasOwnProperty("fileName")){a=decodeURIComponent(e.fileName);a=d.splitURLTrue(a);if(e.hasOwnProperty("baseLineNumber")){e.path=
11
+ a.path;e.line=e.baseLineNumber;a=decodeURIComponent(e.encodedContent.substr(0,200)).replace(/\s*$/,"");e.name="eval->"+a}else{e.name=a.name;e.path=a.path}}else{e.hasOwnProperty("path")||(e.path="data:");e.hasOwnProperty("name")||(e.name=decodeURIComponent(e.encodedContent.substr(0,200)).replace(/\s*$/,""))}return e};d.splitURLTrue=function(a){var b=/:\/{1,3}(.*?)\/([^\/]*?)\/?($|\?.*)/.exec(a);return b?b[2]?{path:b[1],name:b[2]+b[3]}:{path:b[1],name:b[1]}:{name:a,path:a}};d.getURLParameter=function(a){for(var b=
12
+ window.location.search.substring(1).split("&"),c=0;c<b.length;c++){var e=b[c].split("=");if(e[0]==a)return unescape(e[1])}return null};d.getURLParameters=function(a){for(var b=[],c=window.location.search.substring(1).split("&"),e=0;e<c.length;e++){var f=c[e].split("=");f[0]==a&&b.push(unescape(f[1]))}return b};d.parseURLParams=function(a){var b=a?a.indexOf("?"):-1;if(b==-1)return[];a=a.substr(b+1);b=a.lastIndexOf("#");if(b!=-1)a=a.substr(0,b);if(!a)return[];return d.parseURLEncodedText(a)};d.parseURLEncodedText=
13
+ function(a,b){function c(k){try{return decodeURIComponent(k)}catch(n){return decodeURIComponent(unescape(k))}}var e=[];if(a=="")return e;a=a.replace(/\+/g," ");a=a.split("&");for(var f=0;f<a.length;++f)try{var g=a[f].indexOf("=");if(g!=-1){var h=a[f].substring(0,g),i=a[f].substring(g+1);if(i.length>25E3&&!b)i=d.$STR("LargeData");e.push({name:c(h),value:c(i)})}else{h=a[f];e.push({name:c(h),value:""})}}catch(p){}e.sort(function(k,n){return k.name<=n.name?-1:1});return e};d.getBody=function(a){if(a.body)return a.body;
14
+ if(a=a.getElementsByTagName("body")[0])return a;return null};d.getHead=function(a){return a.getElementsByTagName("head")[0]};d.getAncestorByClass=function(a,b){for(a=a;a;a=a.parentNode)if(d.hasClass(a,b))return a;return null};d.$=function(){return d.getElementByClass.apply(this,arguments)};d.getElementByClass=function(a){if(!a)return null;var b=d.cloneArray(arguments);b.splice(0,1);for(var c=a.firstChild;c;c=c.nextSibling){var e=d.cloneArray(b);e.unshift(c);if(d.hasClass.apply(this,e))return c;else if(e=
15
+ d.getElementByClass.apply(this,e))return e}return null};d.getElementsByClass=function(a){function b(f,g,h){for(f=f.firstChild;f;f=f.nextSibling){var i=d.cloneArray(g);i.unshift(f);d.hasClass.apply(null,i)&&h.push(f);b(f,g,h)}}var c=[],e=d.cloneArray(arguments);e.shift();b(a,e,c);return c};d.getChildByClass=function(a){for(var b=1;b<arguments.length;++b){var c=arguments[b],e=a.firstChild;for(a=null;e;e=e.nextSibling)if(d.hasClass(e,c)){a=e;break}}return a};d.eraseNode=function(a){for(;a.lastChild;)a.removeChild(a.lastChild)};
16
+ d.clearNode=function(a){a.innerHTML=""};d.hasClass=function(a,b){if(!a||a.nodeType!=1)return false;else{for(var c=1;c<arguments.length;++c){b=arguments[c];var e=a.className;if(!e||e.indexOf(b+" ")==-1)return false}return true}};d.setClass=function(a,b){if(a&&!d.hasClass(a,b))a.className+=" "+b+" "};d.removeClass=function(a,b){if(a&&a.className){var c=a.className.indexOf(b);if(c>=0){b=b.length;a.className=a.className.substr(0,c-1)+a.className.substr(c+b)}}};d.toggleClass=function(a,b){if(d.hasClass(a,
17
+ b)){d.removeClass(a,b);return false}else{d.setClass(a,b);return true}};d.trim=function(a){return a.replace(/^\s*|\s*$/g,"")};d.wrapText=function(a,b){var c=/[^A-Za-z_$0-9'"-]/,e=[];a=d.splitLines(a);for(var f=0;f<a.length;++f){for(var g=a[f];g.length>100;){var h=c.exec(g.substr(100,100));h=100+(h?h.index:0);var i=g.substr(0,h);g=g.substr(h);b||e.push("<pre>");e.push(b?i:d.escapeHTML(i));b||e.push("</pre>")}b||e.push("<pre>");e.push(b?g:d.escapeHTML(g));b||e.push("</pre>")}return e.join(b?"\n":"")};
18
+ d.insertWrappedText=function(a,b,c){b.innerHTML="<pre>"+d.wrapText(a,c)+"</pre>"};d.splitLines=function(a){var b=/\r\n|\r|\n/;if(a){if(a.split)return a.split(b)}else return[];return(a+"").split(b)};d.getPrettyDomain=function(a){return(a=/[^:]+:\/{1,3}(www\.)?([^\/]+)/.exec(a))?a[2]:""};d.escapeHTML=function(a){function b(c){switch(c){case "<":return"&lt;";case ">":return"&gt;";case "&":return"&amp;";case "'":return"&#39;";case '"':return"&quot;"}return"?"}return String(a).replace(/[<>&"']/g,b)};d.cropString=
19
+ function(a,b){a+="";var c=b?b/2:50;return a.length>b?d.escapeNewLines(a.substr(0,c)+"..."+a.substr(a.length-c)):d.escapeNewLines(a)};d.escapeNewLines=function(a){return a.replace(/\r/g,"\\r").replace(/\n/g,"\\n")};d.cloneJSON=function(a){if(a==null||typeof a!="object")return a;try{var b=a.constructor();for(var c in a)b[c]=cloneJSON(a[c]);return b}catch(e){l.exception(a)}return null};d.getOverflowParent=function(a){for(a=a.parentNode;a;a=a.offsetParent)if(a.scrollHeight>a.offsetHeight)return a};d.getElementBox=
20
+ function(a){var b={};if(a.getBoundingClientRect){a=a.getBoundingClientRect();var c=d.isIE?document.body.clientTop||document.documentElement.clientTop:0,e=d.getWindowScrollPosition();b.top=Math.round(a.top-c+e.top);b.left=Math.round(a.left-c+e.left);b.height=Math.round(a.bottom-a.top);b.width=Math.round(a.right-a.left)}else{c=d.getElementPosition(a);b.top=c.top;b.left=c.left;b.height=a.offsetHeight;b.width=a.offsetWidth}return b};d.getElementPosition=function(a){var b=0,c=0;do{b+=a.offsetLeft;c+=a.offsetTop}while(a=
21
+ a.offsetParent);return{left:b,top:c}};d.getWindowSize=function(){var a=0,b=0,c;if(typeof window.innerWidth=="number"){a=window.innerWidth;b=window.innerHeight}else if((c=document.documentElement)&&(c.clientHeight||c.clientWidth)){a=c.clientWidth;b=c.clientHeight}else if((c=document.body)&&(c.clientHeight||c.clientWidth)){a=c.clientWidth;b=c.clientHeight}return{width:a,height:b}};d.getWindowScrollSize=function(){var a=0,b=0,c;if(!d.isIEQuiksMode&&(c=document.documentElement)&&(c.scrollHeight||c.scrollWidth)){a=
22
+ c.scrollWidth;b=c.scrollHeight}if((c=document.body)&&(c.scrollHeight||c.scrollWidth)&&(c.scrollWidth>a||c.scrollHeight>b)){a=c.scrollWidth;b=c.scrollHeight}return{width:a,height:b}};d.getWindowScrollPosition=function(){var a=0,b=0,c;if(typeof window.pageYOffset=="number"){a=window.pageYOffset;b=window.pageXOffset}else if((c=document.body)&&(c.scrollTop||c.scrollLeft)){a=c.scrollTop;b=c.scrollLeft}else if((c=document.documentElement)&&(c.scrollTop||c.scrollLeft)){a=c.scrollTop;b=c.scrollLeft}return{top:a,
23
+ left:b}};d.addStyleSheet=function(a,b){if(!a.getElementById(b)){var c=a.createElement("link");c.type="text/css";c.rel="stylesheet";c.href=b;c.setAttribute("id",b);d.getHead(a).appendChild(c)}};return d});
@@ -0,0 +1,26 @@
1
+ /* See license.txt for terms of usage */
2
+
3
+ require.def("core/trace", [
4
+ ],
5
+
6
+ function() {
7
+
8
+ //*************************************************************************************************
9
+
10
+ var Trace = {
11
+ log: function(){},
12
+ error: function(){},
13
+ exception: function(){},
14
+ time: function(){},
15
+ timeEnd: function(){}
16
+ };
17
+
18
+ if (typeof(console) == "undefined")
19
+ return Trace;
20
+
21
+
22
+ return Trace;
23
+
24
+ //*************************************************************************************************
25
+ });
26
+
@@ -0,0 +1,5 @@
1
+ require.def("domplate/domTree",["domplate/domplate","core/lib"],function(g,e){with(g){g=function(a){this.input=a};g.prototype=domplate({tag:TABLE({"class":"domTable",cellpadding:0,cellspacing:0,onclick:"$onClick"},TBODY(FOR("member","$object|memberIterator",TAG("$member|getRowTag",{member:"$member"})))),rowTag:TR({"class":"memberRow $member.open $member.type\\Row $member|hasChildren",$hasChildren:"$member|hasChildren",_repObject:"$member",level:"$member.level"},TD({"class":"memberLabelCell",style:"padding-left: $member.indent\\px"},
2
+ SPAN({"class":"memberLabel $member.type\\Label"},"$member.name")),TD({"class":"memberValueCell"},TAG("$member.tag",{object:"$member.value"}))),valueTag:SPAN({"class":"objectTitle"},"$object|getTitle"),loop:FOR("member","$members",TAG("$member|getRowTag",{member:"$member"})),hasChildren:function(a){return a.hasChildren?"hasChildren":""},memberIterator:function(a){return this.getMembers(a)},getRowTag:function(){return this.rowTag},getTitle:function(a){if(jQuery.isArray(a))return"Array";a=h(a);var b=
3
+ /\[object (.*?)\]/.exec(a);return b?b[1]:a},onClick:function(a){a=$.event.fix(a||window.event);if(e.isLeftClick(a)){var b=e.getAncestorByClass(a.target,"memberRow");e.getAncestorByClass(a.target,"memberLabel")&&e.hasClass(b,"hasChildren")&&this.toggleRow(b)}},toggleRow:function(a){var b=parseInt(a.getAttribute("level"));if(e.hasClass(a,"opened")){e.removeClass(a,"opened");for(var c=a.parentNode,d=a.nextSibling;d;d=a.nextSibling){if(parseInt(d.getAttribute("level"))<=b)break;c.removeChild(d)}}else{e.setClass(a,
4
+ "opened");if(c=a.repObject)(b=this.getMembers(c.value,b+1))&&this.loop.insertRows({members:b},a)}},getMembers:function(a,b){b||(b=0);var c=[];for(var d in a){var f=a[d];typeof f!="function"&&c.push(this.createMember("dom",d,f,b))}return c},createMember:function(a,b,c,d){var f=typeof c;f=this.hasProperties(c)&&f=="object";return{name:b,value:c,type:a,rowClass:"memberRow-"+a,open:"",level:d,indent:d*16,hasChildren:f,tag:this.valueTag}},hasProperties:function(a){for(var b in a)return true;return false},
5
+ append:function(a){a=this.tag.append({object:this.input},a);a.firstChild.firstChild&&this.toggleRow(a.firstChild.firstChild)}});var h=function(a){try{return a.toString()}catch(b){return""}};return g}});
@@ -0,0 +1,263 @@
1
+
2
+ require.def("domplate/domplate",[],function(){Domplate={};(function(){function DomplateTag(tagName)
3
+ {this.tagName=tagName;}
4
+ this.DomplateTag=DomplateTag;function DomplateEmbed()
5
+ {}
6
+ function DomplateLoop()
7
+ {}
8
+ var womb=null;var domplate=function()
9
+ {var lastSubject;for(var i=0;i<arguments.length;++i)
10
+ lastSubject=lastSubject?copyObject(lastSubject,arguments[i]):arguments[i];for(var name in lastSubject)
11
+ {var val=lastSubject[name];if(isTag(val))
12
+ val.tag.subject=lastSubject;}
13
+ return lastSubject;};domplate.context=function(context,fn)
14
+ {var lastContext=domplate.lastContext;domplate.topContext=context;fn.apply(context);domplate.topContext=lastContext;};this.domplate=domplate;this.create=domplate;this.TAG=function()
15
+ {var embed=new DomplateEmbed();return embed.merge(arguments);};this.FOR=function()
16
+ {var loop=new DomplateLoop();return loop.merge(arguments);};DomplateTag.prototype={merge:function(args,oldTag)
17
+ {if(oldTag)
18
+ this.tagName=oldTag.tagName;this.context=oldTag?oldTag.context:null;this.subject=oldTag?oldTag.subject:null;this.attrs=oldTag?copyObject(oldTag.attrs):{};this.classes=oldTag?copyObject(oldTag.classes):{};this.props=oldTag?copyObject(oldTag.props):null;this.listeners=oldTag?copyArray(oldTag.listeners):null;this.children=oldTag?copyArray(oldTag.children):[];this.vars=oldTag?copyArray(oldTag.vars):[];var attrs=args.length?args[0]:null;var hasAttrs=typeof(attrs)=="object"&&!isTag(attrs);this.children=[];if(domplate.topContext)
19
+ this.context=domplate.topContext;if(args.length)
20
+ parseChildren(args,hasAttrs?1:0,this.vars,this.children);if(hasAttrs)
21
+ this.parseAttrs(attrs);return creator(this,DomplateTag);},parseAttrs:function(args)
22
+ {for(var name in args)
23
+ {var val=parseValue(args[name]);readPartNames(val,this.vars);if(name.indexOf("on")==0)
24
+ {var eventName=$.browser.msie?name:name.substr(2);if(!this.listeners)
25
+ this.listeners=[];this.listeners.push(eventName,val);}
26
+ else if(name.indexOf("_")==0)
27
+ {var propName=name.substr(1);if(!this.props)
28
+ this.props={};this.props[propName]=val;}
29
+ else if(name.indexOf("$")==0)
30
+ {var className=name.substr(1);if(!this.classes)
31
+ this.classes={};this.classes[className]=val;}
32
+ else
33
+ {if(name=="class"&&name in this.attrs)
34
+ this.attrs[name]+=" "+val;else
35
+ this.attrs[name]=val;}}},compile:function()
36
+ {if(this.renderMarkup)
37
+ return;this.compileMarkup();this.compileDOM();},compileMarkup:function()
38
+ {this.markupArgs=[];var topBlock=[],topOuts=[],blocks=[],info={args:this.markupArgs,argIndex:0};this.generateMarkup(topBlock,topOuts,blocks,info);this.addCode(topBlock,topOuts,blocks);var fnBlock=['(function (__code__, __context__, __in__, __out__'];for(var i=0;i<info.argIndex;++i)
39
+ fnBlock.push(', s',i);fnBlock.push(') {\n');if(this.subject)
40
+ fnBlock.push('with (this) {\n');if(this.context)
41
+ fnBlock.push('with (__context__) {\n');fnBlock.push('with (__in__) {\n');fnBlock.push.apply(fnBlock,blocks);if(this.subject)
42
+ fnBlock.push('}\n');if(this.context)
43
+ fnBlock.push('}\n');fnBlock.push('}})\n');function __link__(tag,code,outputs,args)
44
+ {tag.tag.compile();var tagOutputs=[];var markupArgs=[code,tag.tag.context,args,tagOutputs];markupArgs.push.apply(markupArgs,tag.tag.markupArgs);tag.tag.renderMarkup.apply(tag.tag.subject,markupArgs);outputs.push(tag);outputs.push(tagOutputs);}
45
+ function __escape__(value)
46
+ {function replaceChars(ch)
47
+ {switch(ch)
48
+ {case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case"'":return"&#39;";case'"':return"&quot;";}
49
+ return"?";};return String(value).replace(/[<>&"']/g,replaceChars);}
50
+ function __loop__(iter,outputs,fn)
51
+ {var iterOuts=[];outputs.push(iterOuts);if(iter instanceof Array)
52
+ iter=new ArrayIterator(iter);try
53
+ {while(1)
54
+ {var value=iter.next();var itemOuts=[0,0];iterOuts.push(itemOuts);fn.apply(this,[value,itemOuts]);}}
55
+ catch(exc)
56
+ {if(exc!=StopIteration)
57
+ throw exc;}}
58
+ var js=$.browser.msie?'var f = '+fnBlock.join("")+';f':fnBlock.join("");this.renderMarkup=eval(js);},getVarNames:function(args)
59
+ {if(this.vars)
60
+ args.push.apply(args,this.vars);for(var i=0;i<this.children.length;++i)
61
+ {var child=this.children[i];if(isTag(child))
62
+ child.tag.getVarNames(args);else if(child instanceof Parts)
63
+ {for(var i=0;i<child.parts.length;++i)
64
+ {if(child.parts[i]instanceof Variable)
65
+ {var name=child.parts[i].name;var names=name.split(".");args.push(names[0]);}}}}},generateMarkup:function(topBlock,topOuts,blocks,info)
66
+ {topBlock.push(',"<',this.tagName,'"');for(var name in this.attrs)
67
+ {if(name!="class")
68
+ {var val=this.attrs[name];topBlock.push(', " ',name,'=\\""');addParts(val,',',topBlock,info,true);topBlock.push(', "\\""');}}
69
+ if(this.listeners)
70
+ {for(var i=0;i<this.listeners.length;i+=2)
71
+ readPartNames(this.listeners[i+1],topOuts);}
72
+ if(this.props)
73
+ {for(var name in this.props)
74
+ readPartNames(this.props[name],topOuts);}
75
+ if("class"in this.attrs||this.classes)
76
+ {topBlock.push(', " class=\\""');if("class"in this.attrs)
77
+ addParts(this.attrs["class"],',',topBlock,info,true);topBlock.push(', " "');for(var name in this.classes)
78
+ {topBlock.push(', (');addParts(this.classes[name],'',topBlock,info);topBlock.push(' ? "',name,'" + " " : "")');}
79
+ topBlock.push(', "\\""');}
80
+ topBlock.push(',">"');this.generateChildMarkup(topBlock,topOuts,blocks,info);topBlock.push(',"</',this.tagName,'>"');},generateChildMarkup:function(topBlock,topOuts,blocks,info)
81
+ {for(var i=0;i<this.children.length;++i)
82
+ {var child=this.children[i];if(isTag(child))
83
+ child.tag.generateMarkup(topBlock,topOuts,blocks,info);else
84
+ addParts(child,',',topBlock,info,true);}},addCode:function(topBlock,topOuts,blocks)
85
+ {if(topBlock.length)
86
+ blocks.push('__code__.push(""',topBlock.join(""),');\n');if(topOuts.length)
87
+ blocks.push('__out__.push(',topOuts.join(","),');\n');topBlock.splice(0,topBlock.length);topOuts.splice(0,topOuts.length);},addLocals:function(blocks)
88
+ {var varNames=[];this.getVarNames(varNames);var map={};for(var i=0;i<varNames.length;++i)
89
+ {var name=varNames[i];if(map.hasOwnProperty(name))
90
+ continue;map[name]=1;var names=name.split(".");blocks.push('var ',names[0]+' = '+'__in__.'+names[0]+';\n');}},compileDOM:function()
91
+ {var path=[];var blocks=[];this.domArgs=[];path.embedIndex=0;path.loopIndex=0;path.staticIndex=0;path.renderIndex=0;var nodeCount=this.generateDOM(path,blocks,this.domArgs);var fnBlock=['(function (root, context, o'];for(var i=0;i<path.staticIndex;++i)
92
+ fnBlock.push(', ','s'+i);for(var i=0;i<path.renderIndex;++i)
93
+ fnBlock.push(', ','d'+i);fnBlock.push(') {\n');for(var i=0;i<path.loopIndex;++i)
94
+ fnBlock.push('var l',i,' = 0;\n');for(var i=0;i<path.embedIndex;++i)
95
+ fnBlock.push('var e',i,' = 0;\n');if(this.subject)
96
+ fnBlock.push('with (this) {\n');if(this.context)
97
+ fnBlock.push('with (context) {\n');fnBlock.push(blocks.join(""));if(this.subject)
98
+ fnBlock.push('}\n');if(this.context)
99
+ fnBlock.push('}\n');fnBlock.push('return ',nodeCount,';\n');fnBlock.push('})\n');function __prop__(object,prop,value)
100
+ {object[prop]=value;}
101
+ function __bind__(object,fn)
102
+ {return function(event){return fn.apply(object,[event]);}}
103
+ function __link__(node,tag,args)
104
+ {tag.tag.compile();var domArgs=[node,tag.tag.context,0];domArgs.push.apply(domArgs,tag.tag.domArgs);domArgs.push.apply(domArgs,args);return tag.tag.renderDOM.apply(tag.tag.subject,domArgs);}
105
+ var self=this;function __loop__(iter,fn)
106
+ {var nodeCount=0;for(var i=0;i<iter.length;++i)
107
+ {iter[i][0]=i;iter[i][1]=nodeCount;nodeCount+=fn.apply(this,iter[i]);}
108
+ return nodeCount;}
109
+ function __path__(parent,offset)
110
+ {var root=parent;for(var i=2;i<arguments.length;++i)
111
+ {var index=arguments[i];if(i==3)
112
+ index+=offset;if(index==-1)
113
+ parent=parent.parentNode;else
114
+ parent=parent.childNodes[index];}
115
+ return parent;}
116
+ var js=$.browser.msie?'var f = '+fnBlock.join("")+';f':fnBlock.join("");this.renderDOM=eval(js);},generateDOM:function(path,blocks,args)
117
+ {if(this.listeners||this.props)
118
+ this.generateNodePath(path,blocks);if(this.listeners)
119
+ {for(var i=0;i<this.listeners.length;i+=2)
120
+ {var val=this.listeners[i+1];var arg=generateArg(val,path,args);if($.browser.msie)
121
+ blocks.push('node.attachEvent("',this.listeners[i],'", __bind__(this, ',arg,'));\n');else
122
+ blocks.push('node.addEventListener("',this.listeners[i],'", __bind__(this, ',arg,'), false);\n');}}
123
+ if(this.props)
124
+ {for(var name in this.props)
125
+ {var val=this.props[name];var arg=generateArg(val,path,args);blocks.push("__prop__(node, '"+name+"', "+arg+");\n");}}
126
+ this.generateChildDOM(path,blocks,args);return 1;},generateNodePath:function(path,blocks)
127
+ {blocks.push("var node = __path__(root, o");for(var i=0;i<path.length;++i)
128
+ blocks.push(",",path[i]);blocks.push(");\n");},generateChildDOM:function(path,blocks,args)
129
+ {path.push(0);for(var i=0;i<this.children.length;++i)
130
+ {var child=this.children[i];if(isTag(child))
131
+ path[path.length-1]+='+'+child.tag.generateDOM(path,blocks,args);else
132
+ path[path.length-1]+='+1';}
133
+ path.pop();}};DomplateEmbed.prototype=copyObject(DomplateTag.prototype,{merge:function(args,oldTag)
134
+ {this.value=oldTag?oldTag.value:parseValue(args[0]);this.attrs=oldTag?oldTag.attrs:{};this.vars=oldTag?copyArray(oldTag.vars):[];var attrs=args[1];for(var name in attrs)
135
+ {var val=parseValue(attrs[name]);this.attrs[name]=val;readPartNames(val,this.vars);}
136
+ return creator(this,DomplateEmbed);},getVarNames:function(names)
137
+ {if(this.value instanceof Parts)
138
+ names.push(this.value.parts[0].name);if(this.vars)
139
+ names.push.apply(names,this.vars);},generateMarkup:function(topBlock,topOuts,blocks,info)
140
+ {this.addCode(topBlock,topOuts,blocks);blocks.push('__link__(');addParts(this.value,'',blocks,info);blocks.push(', __code__, __out__, {\n');var lastName=null;for(var name in this.attrs)
141
+ {if(lastName)
142
+ blocks.push(',');lastName=name;var val=this.attrs[name];blocks.push('"',name,'":');addParts(val,'',blocks,info);}
143
+ blocks.push('});\n');},generateDOM:function(path,blocks,args)
144
+ {var embedName='e'+path.embedIndex++;this.generateNodePath(path,blocks);var valueName='d'+path.renderIndex++;var argsName='d'+path.renderIndex++;blocks.push(embedName+' = __link__(node, ',valueName,', ',argsName,');\n');return embedName;}});DomplateLoop.prototype=copyObject(DomplateTag.prototype,{merge:function(args,oldTag)
145
+ {this.isLoop=true;this.varName=oldTag?oldTag.varName:args[0];this.iter=oldTag?oldTag.iter:parseValue(args[1]);this.vars=[];this.children=oldTag?copyArray(oldTag.children):[];var offset=Math.min(args.length,2);parseChildren(args,offset,this.vars,this.children);return creator(this,DomplateLoop);},getVarNames:function(names)
146
+ {if(this.iter instanceof Parts)
147
+ names.push(this.iter.parts[0].name);DomplateTag.prototype.getVarNames.apply(this,[names]);},generateMarkup:function(topBlock,topOuts,blocks,info)
148
+ {this.addCode(topBlock,topOuts,blocks);var iterName;if(this.iter instanceof Parts)
149
+ {var part=this.iter.parts[0];iterName=part.name;if(part.format)
150
+ {for(var i=0;i<part.format.length;++i)
151
+ iterName=part.format[i]+"("+iterName+")";}}
152
+ else
153
+ iterName=this.iter;blocks.push('__loop__.apply(this, [',iterName,', __out__, function(',this.varName,', __out__) {\n');this.generateChildMarkup(topBlock,topOuts,blocks,info);this.addCode(topBlock,topOuts,blocks);blocks.push('}]);\n');},generateDOM:function(path,blocks,args)
154
+ {var iterName='d'+path.renderIndex++;var counterName='i'+path.loopIndex;var loopName='l'+path.loopIndex++;if(!path.length)
155
+ path.push(-1,0);var preIndex=path.renderIndex;path.renderIndex=0;var nodeCount=0;var subBlocks=[];var basePath=path[path.length-1];for(var i=0;i<this.children.length;++i)
156
+ {path[path.length-1]=basePath+'+'+loopName+'+'+nodeCount;var child=this.children[i];if(isTag(child))
157
+ nodeCount+='+'+child.tag.generateDOM(path,subBlocks,args);else
158
+ nodeCount+='+1';}
159
+ path[path.length-1]=basePath+'+'+loopName;blocks.push(loopName,' = __loop__.apply(this, [',iterName,', function(',counterName,',',loopName);for(var i=0;i<path.renderIndex;++i)
160
+ blocks.push(',d'+i);blocks.push(') {\n');blocks.push(subBlocks.join(""));blocks.push('return ',nodeCount,';\n');blocks.push('}]);\n');path.renderIndex=preIndex;return loopName;}});function Variable(name,format)
161
+ {this.name=name;this.format=format;}
162
+ function Parts(parts)
163
+ {this.parts=parts;}
164
+ function parseParts(str)
165
+ {var re=/\$([_A-Za-z][_A-Za-z0-9.|]*)/g;var index=0;var parts=[];var m;while(m=re.exec(str))
166
+ {var pre=str.substr(index,(re.lastIndex-m[0].length)-index);if(pre)
167
+ parts.push(pre);var expr=m[1].split("|");parts.push(new Variable(expr[0],expr.slice(1)));index=re.lastIndex;}
168
+ if(!index)
169
+ return str;var post=str.substr(index);if(post)
170
+ parts.push(post);return new Parts(parts);}
171
+ function parseValue(val)
172
+ {return typeof(val)=='string'?parseParts(val):val;}
173
+ function parseChildren(args,offset,vars,children)
174
+ {for(var i=offset;i<args.length;++i)
175
+ {var val=parseValue(args[i]);children.push(val);readPartNames(val,vars);}}
176
+ function readPartNames(val,vars)
177
+ {if(val instanceof Parts)
178
+ {for(var i=0;i<val.parts.length;++i)
179
+ {var part=val.parts[i];if(part instanceof Variable)
180
+ vars.push(part.name);}}}
181
+ function generateArg(val,path,args)
182
+ {if(val instanceof Parts)
183
+ {var vals=[];for(var i=0;i<val.parts.length;++i)
184
+ {var part=val.parts[i];if(part instanceof Variable)
185
+ {var varName='d'+path.renderIndex++;if(part.format)
186
+ {for(var j=0;j<part.format.length;++j)
187
+ varName=part.format[j]+'('+varName+')';}
188
+ vals.push(varName);}
189
+ else
190
+ vals.push('"'+part.replace(/"/g,'\\"')+'"');}
191
+ return vals.join('+');}
192
+ else
193
+ {args.push(val);return's'+path.staticIndex++;}}
194
+ function addParts(val,delim,block,info,escapeIt)
195
+ {var vals=[];if(val instanceof Parts)
196
+ {for(var i=0;i<val.parts.length;++i)
197
+ {var part=val.parts[i];if(part instanceof Variable)
198
+ {var partName=part.name;if(part.format)
199
+ {for(var j=0;j<part.format.length;++j)
200
+ partName=part.format[j]+"("+partName+")";}
201
+ if(escapeIt)
202
+ vals.push("__escape__("+partName+")");else
203
+ vals.push(partName);}
204
+ else
205
+ vals.push('"'+part+'"');}}
206
+ else if(isTag(val))
207
+ {info.args.push(val);vals.push('s'+info.argIndex++);}
208
+ else
209
+ vals.push('"'+val+'"');var parts=vals.join(delim);if(parts)
210
+ block.push(delim,parts);}
211
+ function isTag(obj)
212
+ {return(typeof(obj)=="function"||obj instanceof Function)&&!!obj.tag;}
213
+ function isDomplate(obj)
214
+ {return(typeof(obj)=="object")&&!!obj.render;}
215
+ function creator(tag,cons)
216
+ {var fn=new Function("var tag = arguments.callee.tag;"+"var cons = arguments.callee.cons;"+"var newTag = new cons();"+"return newTag.merge(arguments, tag);");fn.tag=tag;fn.cons=cons;extend(fn,Renderer);return fn;}
217
+ function copyArray(oldArray)
218
+ {var ary=[];if(oldArray)
219
+ for(var i=0;i<oldArray.length;++i)
220
+ ary.push(oldArray[i]);return ary;}
221
+ function copyObject(l,r)
222
+ {var m={};extend(m,l);extend(m,r);return m;}
223
+ function extend(l,r)
224
+ {for(var n in r)
225
+ l[n]=r[n];}
226
+ function ArrayIterator(array)
227
+ {var index=-1;this.next=function()
228
+ {if(++index>=array.length)
229
+ throw StopIteration;return array[index];};}
230
+ function StopIteration(){}
231
+ this.$break=function()
232
+ {throw StopIteration;};var Renderer={renderHTML:function(args,outputs,self)
233
+ {var code=[];var markupArgs=[code,this.tag.context,args,outputs];markupArgs.push.apply(markupArgs,this.tag.markupArgs);this.tag.renderMarkup.apply(self?self:this.tag.subject,markupArgs);return code.join("");},insertRows:function(args,before,self)
234
+ {this.tag.compile();var outputs=[];var html=this.renderHTML(args,outputs,self);var doc=before.ownerDocument;var tableParent=doc.createElement("div");tableParent.innerHTML="<table>"+html+"</table>";var tbody=tableParent.firstChild.firstChild;var parent=before.tagName.toLowerCase()=="tr"?before.parentNode:before;var after=before.tagName.toLowerCase()=="tr"?before.nextSibling:null;var firstRow=tbody.firstChild,lastRow;while(tbody.firstChild)
235
+ {lastRow=tbody.firstChild;if(after)
236
+ parent.insertBefore(lastRow,after);else
237
+ parent.appendChild(lastRow);}
238
+ var offset=0;if(this.tag.isLoop)
239
+ {var node=firstRow.parentNode.firstChild;for(;node&&node!=firstRow;node=node.nextSibling)
240
+ ++offset;}
241
+ var domArgs=[firstRow,this.tag.context,offset];domArgs.push.apply(domArgs,this.tag.domArgs);domArgs.push.apply(domArgs,outputs);this.tag.renderDOM.apply(self?self:this.tag.subject,domArgs);return[firstRow,lastRow];},insertAfter:function(args,before,self)
242
+ {this.tag.compile();var outputs=[];var html=this.renderHTML(args,outputs,self);var doc=before.ownerDocument;var range=doc.createRange();range.selectNode(doc.body);var frag=range.createContextualFragment(html);var root=frag.firstChild;if(before.nextSibling)
243
+ before.parentNode.insertBefore(frag,before.nextSibling);else
244
+ before.parentNode.appendChild(frag);var domArgs=[root,this.tag.context,0];domArgs.push.apply(domArgs,this.tag.domArgs);domArgs.push.apply(domArgs,outputs);this.tag.renderDOM.apply(self?self:(this.tag.subject?this.tag.subject:null),domArgs);return root;},replace:function(args,parent,self)
245
+ {this.tag.compile();var outputs=[];var html=this.renderHTML(args,outputs,self);var root;if(parent.nodeType==1)
246
+ {parent.innerHTML=html;root=parent.firstChild;}
247
+ else
248
+ {if(!parent||parent.nodeType!=9)
249
+ parent=document;if(!womb||womb.ownerDocument!=parent)
250
+ womb=parent.createElement("div");womb.innerHTML=html;root=womb.firstChild;}
251
+ var domArgs=[root,this.tag.context,0];domArgs.push.apply(domArgs,this.tag.domArgs);domArgs.push.apply(domArgs,outputs);this.tag.renderDOM.apply(self?self:this.tag.subject,domArgs);return root;},append:function(args,parent,self)
252
+ {this.tag.compile();var outputs=[];var html=this.renderHTML(args,outputs,self);if(!womb||womb.ownerDocument!=parent.ownerDocument)
253
+ womb=parent.ownerDocument.createElement("div");womb.innerHTML=html;var root=womb.firstChild;while(womb.firstChild)
254
+ parent.appendChild(womb.firstChild);var domArgs=[root,this.tag.context,0];domArgs.push.apply(domArgs,this.tag.domArgs);domArgs.push.apply(domArgs,outputs);this.tag.renderDOM.apply(self?self:this.tag.subject,domArgs);return root;},insertCols:function(args,parent,self)
255
+ {this.tag.compile();var outputs=[];var html=this.renderHTML(args,outputs,self);var womb=parent.ownerDocument.createElement("div");womb.innerHTML="<table><tbody><tr>"+html+"</tr></tbody></table>";womb=womb.firstChild.firstChild.firstChild;var firstCol=womb.firstChild;if(!firstCol)
256
+ return null;while(womb.firstChild)
257
+ parent.appendChild(womb.firstChild);var offset=0;if(this.tag.isLoop)
258
+ {var node=firstCol.parentNode.firstChild;for(;node&&node!=firstCol;node=node.nextSibling)
259
+ ++offset;}
260
+ var domArgs=[firstCol,this.tag.context,offset];domArgs.push.apply(domArgs,this.tag.domArgs);domArgs.push.apply(domArgs,outputs);this.tag.renderDOM.apply(self?self:this.tag.subject,domArgs);return firstCol;}};function defineTags()
261
+ {for(var i=0;i<arguments.length;++i)
262
+ {var tagName=arguments[i];var fn=new Function("var newTag = new Domplate.DomplateTag('"+tagName+"'); return newTag.merge(arguments);");var fnName=tagName.toUpperCase();Domplate[fnName]=fn;}}
263
+ defineTags("a","button","br","canvas","col","colgroup","div","fieldset","form","h1","h2","h3","hr","img","input","label","legend","li","ol","optgroup","option","p","pre","select","span","strong","table","tbody","td","textarea","tfoot","th","thead","tr","tt","ul","code","iframe","canvas");}).apply(Domplate);return Domplate;});