├── .gitignore ├── README.md ├── project.clj └── src ├── deps.cljs └── react ├── externs └── react.js ├── react.js ├── react.min.js ├── react_with_addons.js └── react_with_addons.min.js /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /classes 3 | /checkouts 4 | pom.xml 5 | pom.xml.asc 6 | *.jar 7 | *.class 8 | /.lein-* 9 | /.nrepl-port 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react 2 | 3 | **This repository is deprecated, please use http://cljsjs.github.io** 4 | 5 | The latest version of React bundled in a JAR. 6 | -------------------------------------------------------------------------------- /project.clj: -------------------------------------------------------------------------------- 1 | (defproject com.facebook/react "0.12.2.4" 2 | :description "Facebook's React" 3 | :url "http://facebook.github.io/react" 4 | :license {:name "Eclipse Public License" 5 | :url "http://www.eclipse.org/legal/epl-v10.html"}) 6 | -------------------------------------------------------------------------------- /src/deps.cljs: -------------------------------------------------------------------------------- 1 | { 2 | :foreign-libs [{:file "react/react.js" 3 | :file-min "react/react.min.js" 4 | :provides ["com.facebook.React"]} 5 | {:file "react/react_with_addons.js" 6 | :file-min "react/react_with_addons.min.js" 7 | :provides ["com.facebook.ReactWithAddons"]}] 8 | :externs ["react/externs/react.js"] 9 | } 10 | -------------------------------------------------------------------------------- /src/react/externs/react.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @fileoverview Closure Compiler externs for Facebook React.js 0.12.0. 3 | * @see http://reactjs.org 4 | * @externs 5 | */ 6 | 7 | /** 8 | * @type {Object} 9 | * @const 10 | */ 11 | var React = {}; 12 | 13 | /** 14 | * @type {string} 15 | */ 16 | React.version; 17 | 18 | /** 19 | * @param {boolean} shouldUseTouch 20 | */ 21 | React.initializeTouchEvents = function(shouldUseTouch) {}; 22 | 23 | React.createClass = function(specification) {}; 24 | React.createFactory = function(reactClass) {}; 25 | 26 | /** 27 | * @param {*} componentClass 28 | * @return {boolean} 29 | * @deprecated 30 | */ 31 | React.isValidClass = function(componentClass) {}; 32 | 33 | /** 34 | * @param {?Object} object 35 | * @return {boolean} True if `object` is a valid component. 36 | */ 37 | React.isValidElement = function(object) {}; 38 | 39 | /** 40 | * @param {React.ReactComponent} container 41 | * @param {Element} mountPoint 42 | * @param {Function=} callback 43 | * @return {React.ReactComponent} 44 | * @deprecated 45 | */ 46 | React.renderComponent = function(container, mountPoint, callback) {}; 47 | 48 | /** 49 | * @param {React.ReactComponent} container 50 | * @param {Element} mountPoint 51 | * @param {Function=} callback 52 | * @return {React.ReactComponent} 53 | */ 54 | React.render = function(container, mountPoint, callback) {}; 55 | 56 | 57 | /** 58 | * @param {Element} container 59 | */ 60 | React.unmountComponentAtNode = function(container) {}; 61 | 62 | /** 63 | * @param {React.ReactComponent} component 64 | * @return {string} 65 | * @deprecated 66 | */ 67 | React.renderComponentToString = function(component) {}; 68 | 69 | /** 70 | * @param {React.ReactComponent} component 71 | * @return {string} 72 | */ 73 | React.renderToString = function(component) {}; 74 | 75 | /** 76 | * @param {React.ReactComponent} component 77 | * @return {string} 78 | * @deprecated 79 | */ 80 | React.renderComponentToStaticMarkup = function(component) {}; 81 | 82 | /** 83 | * @param {React.ReactComponent} component 84 | * @return {string} 85 | */ 86 | React.renderToStaticMarkup = function(component) {}; 87 | 88 | /** 89 | * Constructs a component instance of `constructor` with `initialProps` and 90 | * renders it into the supplied `container`. 91 | * 92 | * @param {Function} constructor React component constructor. 93 | * @param {Object} props Initial props of the component instance. 94 | * @param {Element} container DOM element to render into. 95 | * @return {React.ReactComponent} Component instance rendered in `container`. 96 | */ 97 | React.constructAndRenderComponent = function(constructor, props, container) {}; 98 | 99 | /** 100 | * Constructs a component instance of `constructor` with `initialProps` and 101 | * renders it into a container node identified by supplied `id`. 102 | * 103 | * @param {Function} componentConstructor React component constructor 104 | * @param {Object} props Initial props of the component instance. 105 | * @param {string} id ID of the DOM element to render into. 106 | * @return {React.ReactComponent} Component instance rendered in the container node. 107 | */ 108 | React.constructAndRenderComponentByID = function(componentConstructor, props, 109 | id) {}; 110 | 111 | /** 112 | * @interface 113 | */ 114 | React.ReactComponent = function() {}; 115 | 116 | /** 117 | * @type {Object} 118 | */ 119 | React.ReactComponent.prototype.props; 120 | 121 | /** 122 | * @type {Object} 123 | */ 124 | React.ReactComponent.prototype.state; 125 | 126 | /** 127 | * @type {Object} 128 | */ 129 | React.ReactComponent.prototype.refs; 130 | 131 | /** 132 | * @type {Object} 133 | */ 134 | React.ReactComponent.prototype.context; 135 | 136 | /** 137 | * @type {Object} 138 | * @protected 139 | */ 140 | React.ReactComponent.prototype.propTypes; 141 | 142 | /** 143 | * @type {Object} 144 | * @protected 145 | */ 146 | React.ReactComponent.prototype.contextTypes; 147 | 148 | /** 149 | * @type {Object} 150 | */ 151 | React.ReactComponent.prototype.mixins; 152 | 153 | /** 154 | * @param {Object} nextProps 155 | * @param {Function=} callback 156 | */ 157 | React.ReactComponent.prototype.setProps = function(nextProps, callback) {}; 158 | 159 | /** 160 | * @return {Object} 161 | */ 162 | React.ReactComponent.prototype.getInitialState = function() {}; 163 | 164 | /** 165 | * @return {Object} 166 | */ 167 | React.ReactComponent.prototype.getDefaultProps = function() {}; 168 | 169 | /** 170 | * @return {Object} 171 | */ 172 | React.ReactComponent.prototype.getChildContext = function() {}; 173 | 174 | /** 175 | * @return {Element} 176 | */ 177 | React.ReactComponent.prototype.getDOMNode = function() {}; 178 | 179 | /** 180 | * @param {Object} nextProps 181 | * @param {Function=} callback 182 | */ 183 | React.ReactComponent.prototype.replaceProps = function(nextProps, callback) {}; 184 | 185 | /** 186 | * @param {React.ReactComponent} targetComponent 187 | * @return {React.ReactComponent} 188 | */ 189 | React.ReactComponent.prototype.transferPropsTo = function(targetComponent) {}; 190 | 191 | /** 192 | * @param {Function=} callback 193 | */ 194 | React.ReactComponent.prototype.forceUpdate = function(callback) {}; 195 | 196 | /** 197 | * @return {boolean} 198 | */ 199 | React.ReactComponent.prototype.isMounted = function() {}; 200 | 201 | /** 202 | * @param {Object} nextState 203 | * @param {Function=} callback 204 | */ 205 | React.ReactComponent.prototype.setState = function(nextState, callback) {}; 206 | 207 | /** 208 | * @param {Object} nextState 209 | * @param {Function=} callback 210 | */ 211 | React.ReactComponent.prototype.replaceState = function(nextState, callback) {}; 212 | 213 | /** 214 | * @protected 215 | */ 216 | React.ReactComponent.prototype.componentWillMount = function() {}; 217 | 218 | /** 219 | * @param {Element} element 220 | * @protected 221 | */ 222 | React.ReactComponent.prototype.componentDidMount = function(element) {}; 223 | 224 | /** 225 | * @param {Object} nextProps 226 | * @protected 227 | */ 228 | React.ReactComponent.prototype.componentWillReceiveProps = function( 229 | nextProps) {}; 230 | 231 | /** 232 | * @param {Object} nextProps 233 | * @param {Object} nextState 234 | * @return {boolean} 235 | * @protected 236 | */ 237 | React.ReactComponent.prototype.shouldComponentUpdate = function( 238 | nextProps, nextState) {}; 239 | 240 | /** 241 | * @param {Object} nextProps 242 | * @param {Object} nextState 243 | * @protected 244 | */ 245 | React.ReactComponent.prototype.componentWillUpdate = function( 246 | nextProps, nextState) {}; 247 | 248 | /** 249 | * @param {Object} prevProps 250 | * @param {Object} prevState 251 | * @param {Element} rootNode 252 | * @protected 253 | */ 254 | React.ReactComponent.prototype.componentDidUpdate = function( 255 | prevProps, prevState, rootNode) {}; 256 | 257 | /** 258 | * @protected 259 | */ 260 | React.ReactComponent.prototype.componentWillUnmount = function() {}; 261 | 262 | /** 263 | * @return {React.ReactComponent} 264 | * @protected 265 | */ 266 | React.ReactComponent.prototype.render = function() {}; 267 | 268 | /** 269 | * Interface to preserve React attributes for advanced compilation. 270 | * @interface 271 | */ 272 | React.ReactAtrribute = function() {}; 273 | 274 | /** 275 | * @type {Object} 276 | */ 277 | React.ReactAtrribute.dangerouslySetInnerHTML; 278 | 279 | /** 280 | * @type {string} 281 | */ 282 | React.ReactAtrribute.__html; 283 | 284 | /** 285 | * @type {string} 286 | */ 287 | React.ReactAtrribute.key; 288 | 289 | /** 290 | * @type {string} 291 | */ 292 | React.ReactAtrribute.ref; 293 | 294 | // Attributes not defined in default Closure Compiler DOM externs. 295 | // http://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes 296 | // It happens because React favors camelCasing over allinlowercase. 297 | // How to update list: 298 | // 1) Open http://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes 299 | // 2) Github Search in google/closure-compiler for attribute. 300 | 301 | /** 302 | * @type {boolean} 303 | */ 304 | React.ReactAtrribute.allowFullScreen; 305 | 306 | /** 307 | * @type {boolean} 308 | */ 309 | React.ReactAtrribute.autoComplete; 310 | 311 | /** 312 | * @type {boolean} 313 | */ 314 | React.ReactAtrribute.autoFocus; 315 | 316 | /** 317 | * @type {boolean} 318 | */ 319 | React.ReactAtrribute.autoPlay; 320 | 321 | /** 322 | * @type {boolean} 323 | */ 324 | React.ReactAtrribute.noValidate; 325 | 326 | /** 327 | * @type {boolean} 328 | */ 329 | React.ReactAtrribute.spellCheck; 330 | 331 | 332 | // http://facebook.github.io/react/docs/events.html 333 | 334 | /** 335 | * @type {Function} 336 | */ 337 | React.ReactAtrribute.onCopy; 338 | 339 | /** 340 | * @type {Function} 341 | */ 342 | React.ReactAtrribute.onCut; 343 | 344 | /** 345 | * @type {Function} 346 | */ 347 | React.ReactAtrribute.onPaste; 348 | 349 | /** 350 | * @type {Function} 351 | */ 352 | React.ReactAtrribute.onKeyDown; 353 | 354 | /** 355 | * @type {Function} 356 | */ 357 | React.ReactAtrribute.onKeyPress; 358 | 359 | /** 360 | * @type {Function} 361 | */ 362 | React.ReactAtrribute.onKeyUp; 363 | 364 | /** 365 | * @type {Function} 366 | */ 367 | React.ReactAtrribute.onFocus; 368 | 369 | /** 370 | * @type {Function} 371 | */ 372 | React.ReactAtrribute.onBlur; 373 | 374 | /** 375 | * @type {Function} 376 | */ 377 | React.ReactAtrribute.onChange; 378 | 379 | /** 380 | * @type {Function} 381 | */ 382 | React.ReactAtrribute.onInput; 383 | 384 | /** 385 | * @type {Function} 386 | */ 387 | React.ReactAtrribute.onSubmit; 388 | 389 | /** 390 | * @type {Function} 391 | */ 392 | React.ReactAtrribute.onClick; 393 | 394 | /** 395 | * @type {Function} 396 | */ 397 | React.ReactAtrribute.onDoubleClick; 398 | 399 | /** 400 | * @type {Function} 401 | */ 402 | React.ReactAtrribute.onDrag; 403 | 404 | /** 405 | * @type {Function} 406 | */ 407 | React.ReactAtrribute.onDragEnd; 408 | 409 | /** 410 | * @type {Function} 411 | */ 412 | React.ReactAtrribute.onDragEnter; 413 | 414 | /** 415 | * @type {Function} 416 | */ 417 | React.ReactAtrribute.onDragExit; 418 | 419 | /** 420 | * @type {Function} 421 | */ 422 | React.ReactAtrribute.onDragLeave; 423 | 424 | /** 425 | * @type {Function} 426 | */ 427 | React.ReactAtrribute.onDragOver; 428 | 429 | /** 430 | * @type {Function} 431 | */ 432 | React.ReactAtrribute.onDragStart; 433 | 434 | /** 435 | * @type {Function} 436 | */ 437 | React.ReactAtrribute.onDrop; 438 | 439 | /** 440 | * @type {Function} 441 | */ 442 | React.ReactAtrribute.onMouseDown; 443 | 444 | /** 445 | * @type {Function} 446 | */ 447 | React.ReactAtrribute.onMouseEnter; 448 | 449 | /** 450 | * @type {Function} 451 | */ 452 | React.ReactAtrribute.onMouseLeave; 453 | 454 | /** 455 | * @type {Function} 456 | */ 457 | React.ReactAtrribute.onMouseMove; 458 | 459 | /** 460 | * @type {Function} 461 | */ 462 | React.ReactAtrribute.onMouseUp; 463 | 464 | /** 465 | * @type {Function} 466 | */ 467 | React.ReactAtrribute.onTouchCancel; 468 | 469 | /** 470 | * @type {Function} 471 | */ 472 | React.ReactAtrribute.onTouchEnd; 473 | 474 | /** 475 | * @type {Function} 476 | */ 477 | React.ReactAtrribute.onTouchMove; 478 | 479 | /** 480 | * @type {Function} 481 | */ 482 | React.ReactAtrribute.onTouchStart; 483 | 484 | /** 485 | * @type {Function} 486 | */ 487 | React.ReactAtrribute.onScroll; 488 | 489 | /** 490 | * @type {Function} 491 | */ 492 | React.ReactAtrribute.onWheel; 493 | 494 | /** 495 | * @type {Object} 496 | * @const 497 | */ 498 | React.DOM = {}; 499 | 500 | /** 501 | * @typedef { 502 | * boolean|number|string|React.ReactComponent| 503 | * Array.|Array.|Array.|Array. 504 | * } 505 | */ 506 | React.ChildrenArgument; 507 | 508 | /** 509 | * @param {Object=} props 510 | * @param {...React.ChildrenArgument} children 511 | * @return {React.ReactComponent} 512 | * @protected 513 | */ 514 | React.DOM.a = function(props, children) {}; 515 | 516 | /** 517 | * @param {Object=} props 518 | * @param {...React.ChildrenArgument} children 519 | * @return {React.ReactComponent} 520 | * @protected 521 | */ 522 | React.DOM.abbr = function(props, children) {}; 523 | 524 | /** 525 | * @param {Object=} props 526 | * @param {...React.ChildrenArgument} children 527 | * @return {React.ReactComponent} 528 | * @protected 529 | */ 530 | React.DOM.address = function(props, children) {}; 531 | 532 | /** 533 | * @param {Object=} props 534 | * @param {...React.ChildrenArgument} children 535 | * @return {React.ReactComponent} 536 | * @protected 537 | */ 538 | React.DOM.area = function(props, children) {}; 539 | 540 | /** 541 | * @param {Object=} props 542 | * @param {...React.ChildrenArgument} children 543 | * @return {React.ReactComponent} 544 | * @protected 545 | */ 546 | React.DOM.article = function(props, children) {}; 547 | 548 | /** 549 | * @param {Object=} props 550 | * @param {...React.ChildrenArgument} children 551 | * @return {React.ReactComponent} 552 | * @protected 553 | */ 554 | React.DOM.aside = function(props, children) {}; 555 | 556 | /** 557 | * @param {Object=} props 558 | * @param {...React.ChildrenArgument} children 559 | * @return {React.ReactComponent} 560 | * @protected 561 | */ 562 | React.DOM.audio = function(props, children) {}; 563 | 564 | /** 565 | * @param {Object=} props 566 | * @param {...React.ChildrenArgument} children 567 | * @return {React.ReactComponent} 568 | * @protected 569 | */ 570 | React.DOM.b = function(props, children) {}; 571 | 572 | /** 573 | * @param {Object=} props 574 | * @param {...React.ChildrenArgument} children 575 | * @return {React.ReactComponent} 576 | * @protected 577 | */ 578 | React.DOM.base = function(props, children) {}; 579 | 580 | /** 581 | * @param {Object=} props 582 | * @param {...React.ChildrenArgument} children 583 | * @return {React.ReactComponent} 584 | * @protected 585 | */ 586 | React.DOM.bdi = function(props, children) {}; 587 | 588 | /** 589 | * @param {Object=} props 590 | * @param {...React.ChildrenArgument} children 591 | * @return {React.ReactComponent} 592 | * @protected 593 | */ 594 | React.DOM.bdo = function(props, children) {}; 595 | 596 | /** 597 | * @param {Object=} props 598 | * @param {...React.ChildrenArgument} children 599 | * @return {React.ReactComponent} 600 | * @protected 601 | */ 602 | React.DOM.big = function(props, children) {}; 603 | 604 | /** 605 | * @param {Object=} props 606 | * @param {...React.ChildrenArgument} children 607 | * @return {React.ReactComponent} 608 | * @protected 609 | */ 610 | React.DOM.blockquote = function(props, children) {}; 611 | 612 | /** 613 | * @param {Object=} props 614 | * @param {...React.ChildrenArgument} children 615 | * @return {React.ReactComponent} 616 | * @protected 617 | */ 618 | React.DOM.body = function(props, children) {}; 619 | 620 | /** 621 | * @param {Object=} props 622 | * @param {...React.ChildrenArgument} children 623 | * @return {React.ReactComponent} 624 | * @protected 625 | */ 626 | React.DOM.br = function(props, children) {}; 627 | 628 | /** 629 | * @param {Object=} props 630 | * @param {...React.ChildrenArgument} children 631 | * @return {React.ReactComponent} 632 | * @protected 633 | */ 634 | React.DOM.button = function(props, children) {}; 635 | 636 | /** 637 | * @param {Object=} props 638 | * @param {...React.ChildrenArgument} children 639 | * @return {React.ReactComponent} 640 | * @protected 641 | */ 642 | React.DOM.canvas = function(props, children) {}; 643 | 644 | /** 645 | * @param {Object=} props 646 | * @param {...React.ChildrenArgument} children 647 | * @return {React.ReactComponent} 648 | * @protected 649 | */ 650 | React.DOM.caption = function(props, children) {}; 651 | 652 | /** 653 | * @param {Object=} props 654 | * @param {...React.ChildrenArgument} children 655 | * @return {React.ReactComponent} 656 | * @protected 657 | */ 658 | React.DOM.circle = function(props, children) {}; 659 | 660 | /** 661 | * @param {Object=} props 662 | * @param {...React.ChildrenArgument} children 663 | * @return {React.ReactComponent} 664 | * @protected 665 | */ 666 | React.DOM.cite = function(props, children) {}; 667 | 668 | /** 669 | * @param {Object=} props 670 | * @param {...React.ChildrenArgument} children 671 | * @return {React.ReactComponent} 672 | * @protected 673 | */ 674 | React.DOM.code = function(props, children) {}; 675 | 676 | /** 677 | * @param {Object=} props 678 | * @param {...React.ChildrenArgument} children 679 | * @return {React.ReactComponent} 680 | * @protected 681 | */ 682 | React.DOM.col = function(props, children) {}; 683 | 684 | /** 685 | * @param {Object=} props 686 | * @param {...React.ChildrenArgument} children 687 | * @return {React.ReactComponent} 688 | * @protected 689 | */ 690 | React.DOM.colgroup = function(props, children) {}; 691 | 692 | /** 693 | * @param {Object=} props 694 | * @param {...React.ChildrenArgument} children 695 | * @return {React.ReactComponent} 696 | * @protected 697 | */ 698 | React.DOM.data = function(props, children) {}; 699 | 700 | /** 701 | * @param {Object=} props 702 | * @param {...React.ChildrenArgument} children 703 | * @return {React.ReactComponent} 704 | * @protected 705 | */ 706 | React.DOM.datalist = function(props, children) {}; 707 | 708 | /** 709 | * @param {Object=} props 710 | * @param {...React.ChildrenArgument} children 711 | * @return {React.ReactComponent} 712 | * @protected 713 | */ 714 | React.DOM.dd = function(props, children) {}; 715 | 716 | /** 717 | * @param {Object=} props 718 | * @param {...React.ChildrenArgument} children 719 | * @return {React.ReactComponent} 720 | * @protected 721 | */ 722 | React.DOM.defs = function(props, children) {}; 723 | 724 | /** 725 | * @param {Object=} props 726 | * @param {...React.ChildrenArgument} children 727 | * @return {React.ReactComponent} 728 | * @protected 729 | */ 730 | React.DOM.del = function(props, children) {}; 731 | 732 | /** 733 | * @param {Object=} props 734 | * @param {...React.ChildrenArgument} children 735 | * @return {React.ReactComponent} 736 | * @protected 737 | */ 738 | React.DOM.details = function(props, children) {}; 739 | 740 | /** 741 | * @param {Object=} props 742 | * @param {...React.ChildrenArgument} children 743 | * @return {React.ReactComponent} 744 | * @protected 745 | */ 746 | React.DOM.dfn = function(props, children) {}; 747 | 748 | /** 749 | * @param {Object=} props 750 | * @param {...React.ChildrenArgument} children 751 | * @return {React.ReactComponent} 752 | * @protected 753 | */ 754 | React.DOM.div = function(props, children) {}; 755 | 756 | /** 757 | * @param {Object=} props 758 | * @param {...React.ChildrenArgument} children 759 | * @return {React.ReactComponent} 760 | * @protected 761 | */ 762 | React.DOM.dl = function(props, children) {}; 763 | 764 | /** 765 | * @param {Object=} props 766 | * @param {...React.ChildrenArgument} children 767 | * @return {React.ReactComponent} 768 | * @protected 769 | */ 770 | React.DOM.dt = function(props, children) {}; 771 | 772 | /** 773 | * @param {Object=} props 774 | * @param {...React.ChildrenArgument} children 775 | * @return {React.ReactComponent} 776 | * @protected 777 | */ 778 | React.DOM.ellipse = function(props, children) {}; 779 | 780 | /** 781 | * @param {Object=} props 782 | * @param {...React.ChildrenArgument} children 783 | * @return {React.ReactComponent} 784 | * @protected 785 | */ 786 | React.DOM.em = function(props, children) {}; 787 | 788 | /** 789 | * @param {Object=} props 790 | * @param {...React.ChildrenArgument} children 791 | * @return {React.ReactComponent} 792 | * @protected 793 | */ 794 | React.DOM.embed = function(props, children) {}; 795 | 796 | /** 797 | * @param {Object=} props 798 | * @param {...React.ChildrenArgument} children 799 | * @return {React.ReactComponent} 800 | * @protected 801 | */ 802 | React.DOM.fieldset = function(props, children) {}; 803 | 804 | /** 805 | * @param {Object=} props 806 | * @param {...React.ChildrenArgument} children 807 | * @return {React.ReactComponent} 808 | * @protected 809 | */ 810 | React.DOM.figcaption = function(props, children) {}; 811 | 812 | /** 813 | * @param {Object=} props 814 | * @param {...React.ChildrenArgument} children 815 | * @return {React.ReactComponent} 816 | * @protected 817 | */ 818 | React.DOM.figure = function(props, children) {}; 819 | 820 | /** 821 | * @param {Object=} props 822 | * @param {...React.ChildrenArgument} children 823 | * @return {React.ReactComponent} 824 | * @protected 825 | */ 826 | React.DOM.footer = function(props, children) {}; 827 | 828 | /** 829 | * @param {Object=} props 830 | * @param {...React.ChildrenArgument} children 831 | * @return {React.ReactComponent} 832 | * @protected 833 | */ 834 | React.DOM.form = function(props, children) {}; 835 | 836 | /** 837 | * @param {Object=} props 838 | * @param {...React.ChildrenArgument} children 839 | * @return {React.ReactComponent} 840 | * @protected 841 | */ 842 | React.DOM.g = function(props, children) {}; 843 | 844 | /** 845 | * @param {Object=} props 846 | * @param {...React.ChildrenArgument} children 847 | * @return {React.ReactComponent} 848 | * @protected 849 | */ 850 | React.DOM.h1 = function(props, children) {}; 851 | 852 | /** 853 | * @param {Object=} props 854 | * @param {...React.ChildrenArgument} children 855 | * @return {React.ReactComponent} 856 | * @protected 857 | */ 858 | React.DOM.h2 = function(props, children) {}; 859 | 860 | /** 861 | * @param {Object=} props 862 | * @param {...React.ChildrenArgument} children 863 | * @return {React.ReactComponent} 864 | * @protected 865 | */ 866 | React.DOM.h3 = function(props, children) {}; 867 | 868 | /** 869 | * @param {Object=} props 870 | * @param {...React.ChildrenArgument} children 871 | * @return {React.ReactComponent} 872 | * @protected 873 | */ 874 | React.DOM.h4 = function(props, children) {}; 875 | 876 | /** 877 | * @param {Object=} props 878 | * @param {...React.ChildrenArgument} children 879 | * @return {React.ReactComponent} 880 | * @protected 881 | */ 882 | React.DOM.h5 = function(props, children) {}; 883 | 884 | /** 885 | * @param {Object=} props 886 | * @param {...React.ChildrenArgument} children 887 | * @return {React.ReactComponent} 888 | * @protected 889 | */ 890 | React.DOM.h6 = function(props, children) {}; 891 | 892 | /** 893 | * @param {Object=} props 894 | * @param {...React.ChildrenArgument} children 895 | * @return {React.ReactComponent} 896 | * @protected 897 | */ 898 | React.DOM.head = function(props, children) {}; 899 | 900 | /** 901 | * @param {Object=} props 902 | * @param {...React.ChildrenArgument} children 903 | * @return {React.ReactComponent} 904 | * @protected 905 | */ 906 | React.DOM.header = function(props, children) {}; 907 | 908 | /** 909 | * @param {Object=} props 910 | * @param {...React.ChildrenArgument} children 911 | * @return {React.ReactComponent} 912 | * @protected 913 | */ 914 | React.DOM.hr = function(props, children) {}; 915 | 916 | /** 917 | * @param {Object=} props 918 | * @param {...React.ChildrenArgument} children 919 | * @return {React.ReactComponent} 920 | * @protected 921 | */ 922 | React.DOM.html = function(props, children) {}; 923 | 924 | /** 925 | * @param {Object=} props 926 | * @param {...React.ChildrenArgument} children 927 | * @return {React.ReactComponent} 928 | * @protected 929 | */ 930 | React.DOM.i = function(props, children) {}; 931 | 932 | /** 933 | * @param {Object=} props 934 | * @param {...React.ChildrenArgument} children 935 | * @return {React.ReactComponent} 936 | * @protected 937 | */ 938 | React.DOM.iframe = function(props, children) {}; 939 | 940 | /** 941 | * @param {Object=} props 942 | * @param {...React.ChildrenArgument} children 943 | * @return {React.ReactComponent} 944 | * @protected 945 | */ 946 | React.DOM.img = function(props, children) {}; 947 | 948 | /** 949 | * @param {Object=} props 950 | * @param {...React.ChildrenArgument} children 951 | * @return {React.ReactComponent} 952 | * @protected 953 | */ 954 | React.DOM.input = function(props, children) {}; 955 | 956 | /** 957 | * @param {Object=} props 958 | * @param {...React.ChildrenArgument} children 959 | * @return {React.ReactComponent} 960 | * @protected 961 | */ 962 | React.DOM.ins = function(props, children) {}; 963 | 964 | /** 965 | * @param {Object=} props 966 | * @param {...React.ChildrenArgument} children 967 | * @return {React.ReactComponent} 968 | * @protected 969 | */ 970 | React.DOM.kbd = function(props, children) {}; 971 | 972 | /** 973 | * @param {Object=} props 974 | * @param {...React.ChildrenArgument} children 975 | * @return {React.ReactComponent} 976 | * @protected 977 | */ 978 | React.DOM.keygen = function(props, children) {}; 979 | 980 | /** 981 | * @param {Object=} props 982 | * @param {...React.ChildrenArgument} children 983 | * @return {React.ReactComponent} 984 | * @protected 985 | */ 986 | React.DOM.label = function(props, children) {}; 987 | 988 | /** 989 | * @param {Object=} props 990 | * @param {...React.ChildrenArgument} children 991 | * @return {React.ReactComponent} 992 | * @protected 993 | */ 994 | React.DOM.legend = function(props, children) {}; 995 | 996 | /** 997 | * @param {Object=} props 998 | * @param {...React.ChildrenArgument} children 999 | * @return {React.ReactComponent} 1000 | * @protected 1001 | */ 1002 | React.DOM.li = function(props, children) {}; 1003 | 1004 | /** 1005 | * @param {Object=} props 1006 | * @param {...React.ChildrenArgument} children 1007 | * @return {React.ReactComponent} 1008 | * @protected 1009 | */ 1010 | React.DOM.line = function(props, children) {}; 1011 | 1012 | /** 1013 | * @param {Object=} props 1014 | * @param {...React.ChildrenArgument} children 1015 | * @return {React.ReactComponent} 1016 | * @protected 1017 | */ 1018 | React.DOM.linearGradient = function(props, children) {}; 1019 | 1020 | /** 1021 | * @param {Object=} props 1022 | * @param {...React.ChildrenArgument} children 1023 | * @return {React.ReactComponent} 1024 | * @protected 1025 | */ 1026 | React.DOM.link = function(props, children) {}; 1027 | 1028 | /** 1029 | * @param {Object=} props 1030 | * @param {...React.ChildrenArgument} children 1031 | * @return {React.ReactComponent} 1032 | * @protected 1033 | */ 1034 | React.DOM.main = function(props, children) {}; 1035 | 1036 | /** 1037 | * @param {Object=} props 1038 | * @param {...React.ChildrenArgument} children 1039 | * @return {React.ReactComponent} 1040 | * @protected 1041 | */ 1042 | React.DOM.map = function(props, children) {}; 1043 | 1044 | /** 1045 | * @param {Object=} props 1046 | * @param {...React.ChildrenArgument} children 1047 | * @return {React.ReactComponent} 1048 | * @protected 1049 | */ 1050 | React.DOM.mark = function(props, children) {}; 1051 | 1052 | /** 1053 | * @param {Object=} props 1054 | * @param {...React.ChildrenArgument} children 1055 | * @return {React.ReactComponent} 1056 | * @protected 1057 | */ 1058 | React.DOM.mask = function(props, children) {}; 1059 | 1060 | /** 1061 | * @param {Object=} props 1062 | * @param {...React.ChildrenArgument} children 1063 | * @return {React.ReactComponent} 1064 | * @protected 1065 | */ 1066 | React.DOM.menu = function(props, children) {}; 1067 | 1068 | /** 1069 | * @param {Object=} props 1070 | * @param {...React.ChildrenArgument} children 1071 | * @return {React.ReactComponent} 1072 | * @protected 1073 | */ 1074 | React.DOM.menuitem = function(props, children) {}; 1075 | 1076 | /** 1077 | * @param {Object=} props 1078 | * @param {...React.ChildrenArgument} children 1079 | * @return {React.ReactComponent} 1080 | * @protected 1081 | */ 1082 | React.DOM.meta = function(props, children) {}; 1083 | 1084 | /** 1085 | * @param {Object=} props 1086 | * @param {...React.ChildrenArgument} children 1087 | * @return {React.ReactComponent} 1088 | * @protected 1089 | */ 1090 | React.DOM.meter = function(props, children) {}; 1091 | 1092 | /** 1093 | * @param {Object=} props 1094 | * @param {...React.ChildrenArgument} children 1095 | * @return {React.ReactComponent} 1096 | * @protected 1097 | */ 1098 | React.DOM.nav = function(props, children) {}; 1099 | 1100 | /** 1101 | * @param {Object=} props 1102 | * @param {...React.ChildrenArgument} children 1103 | * @return {React.ReactComponent} 1104 | * @protected 1105 | */ 1106 | React.DOM.noscript = function(props, children) {}; 1107 | 1108 | /** 1109 | * @param {Object=} props 1110 | * @param {...React.ChildrenArgument} children 1111 | * @return {React.ReactComponent} 1112 | * @protected 1113 | */ 1114 | React.DOM.object = function(props, children) {}; 1115 | 1116 | /** 1117 | * @param {Object=} props 1118 | * @param {...React.ChildrenArgument} children 1119 | * @return {React.ReactComponent} 1120 | * @protected 1121 | */ 1122 | React.DOM.ol = function(props, children) {}; 1123 | 1124 | /** 1125 | * @param {Object=} props 1126 | * @param {...React.ChildrenArgument} children 1127 | * @return {React.ReactComponent} 1128 | * @protected 1129 | */ 1130 | React.DOM.optgroup = function(props, children) {}; 1131 | 1132 | /** 1133 | * @param {Object=} props 1134 | * @param {...React.ChildrenArgument} children 1135 | * @return {React.ReactComponent} 1136 | * @protected 1137 | */ 1138 | React.DOM.option = function(props, children) {}; 1139 | 1140 | /** 1141 | * @param {Object=} props 1142 | * @param {...React.ChildrenArgument} children 1143 | * @return {React.ReactComponent} 1144 | * @protected 1145 | */ 1146 | React.DOM.output = function(props, children) {}; 1147 | 1148 | /** 1149 | * @param {Object=} props 1150 | * @param {...React.ChildrenArgument} children 1151 | * @return {React.ReactComponent} 1152 | * @protected 1153 | */ 1154 | React.DOM.p = function(props, children) {}; 1155 | 1156 | /** 1157 | * @param {Object=} props 1158 | * @param {...React.ChildrenArgument} children 1159 | * @return {React.ReactComponent} 1160 | * @protected 1161 | */ 1162 | React.DOM.param = function(props, children) {}; 1163 | 1164 | /** 1165 | * @param {Object=} props 1166 | * @param {...React.ChildrenArgument} children 1167 | * @return {React.ReactComponent} 1168 | * @protected 1169 | */ 1170 | React.DOM.path = function(props, children) {}; 1171 | 1172 | /** 1173 | * @param {Object=} props 1174 | * @param {...React.ChildrenArgument} children 1175 | * @return {React.ReactComponent} 1176 | * @protected 1177 | */ 1178 | React.DOM.pattern = function(props, children) {}; 1179 | 1180 | /** 1181 | * @param {Object=} props 1182 | * @param {...React.ChildrenArgument} children 1183 | * @return {React.ReactComponent} 1184 | * @protected 1185 | */ 1186 | React.DOM.polygon = function(props, children) {}; 1187 | 1188 | /** 1189 | * @param {Object=} props 1190 | * @param {...React.ChildrenArgument} children 1191 | * @return {React.ReactComponent} 1192 | * @protected 1193 | */ 1194 | React.DOM.polyline = function(props, children) {}; 1195 | 1196 | /** 1197 | * @param {Object=} props 1198 | * @param {...React.ChildrenArgument} children 1199 | * @return {React.ReactComponent} 1200 | * @protected 1201 | */ 1202 | React.DOM.pre = function(props, children) {}; 1203 | 1204 | /** 1205 | * @param {Object=} props 1206 | * @param {...React.ChildrenArgument} children 1207 | * @return {React.ReactComponent} 1208 | * @protected 1209 | */ 1210 | React.DOM.progress = function(props, children) {}; 1211 | 1212 | /** 1213 | * @param {Object=} props 1214 | * @param {...React.ChildrenArgument} children 1215 | * @return {React.ReactComponent} 1216 | * @protected 1217 | */ 1218 | React.DOM.q = function(props, children) {}; 1219 | 1220 | /** 1221 | * @param {Object=} props 1222 | * @param {...React.ChildrenArgument} children 1223 | * @return {React.ReactComponent} 1224 | * @protected 1225 | */ 1226 | React.DOM.radialGradient = function(props, children) {}; 1227 | 1228 | /** 1229 | * @param {Object=} props 1230 | * @param {...React.ChildrenArgument} children 1231 | * @return {React.ReactComponent} 1232 | * @protected 1233 | */ 1234 | React.DOM.rect = function(props, children) {}; 1235 | 1236 | /** 1237 | * @param {Object=} props 1238 | * @param {...React.ChildrenArgument} children 1239 | * @return {React.ReactComponent} 1240 | * @protected 1241 | */ 1242 | React.DOM.rp = function(props, children) {}; 1243 | 1244 | /** 1245 | * @param {Object=} props 1246 | * @param {...React.ChildrenArgument} children 1247 | * @return {React.ReactComponent} 1248 | * @protected 1249 | */ 1250 | React.DOM.rt = function(props, children) {}; 1251 | 1252 | /** 1253 | * @param {Object=} props 1254 | * @param {...React.ChildrenArgument} children 1255 | * @return {React.ReactComponent} 1256 | * @protected 1257 | */ 1258 | React.DOM.ruby = function(props, children) {}; 1259 | 1260 | /** 1261 | * @param {Object=} props 1262 | * @param {...React.ChildrenArgument} children 1263 | * @return {React.ReactComponent} 1264 | * @protected 1265 | */ 1266 | React.DOM.s = function(props, children) {}; 1267 | 1268 | /** 1269 | * @param {Object=} props 1270 | * @param {...React.ChildrenArgument} children 1271 | * @return {React.ReactComponent} 1272 | * @protected 1273 | */ 1274 | React.DOM.samp = function(props, children) {}; 1275 | 1276 | /** 1277 | * @param {Object=} props 1278 | * @param {...React.ChildrenArgument} children 1279 | * @return {React.ReactComponent} 1280 | * @protected 1281 | */ 1282 | React.DOM.script = function(props, children) {}; 1283 | 1284 | /** 1285 | * @param {Object=} props 1286 | * @param {...React.ChildrenArgument} children 1287 | * @return {React.ReactComponent} 1288 | * @protected 1289 | */ 1290 | React.DOM.section = function(props, children) {}; 1291 | 1292 | /** 1293 | * @param {Object=} props 1294 | * @param {...React.ChildrenArgument} children 1295 | * @return {React.ReactComponent} 1296 | * @protected 1297 | */ 1298 | React.DOM.select = function(props, children) {}; 1299 | 1300 | /** 1301 | * @param {Object=} props 1302 | * @param {...React.ChildrenArgument} children 1303 | * @return {React.ReactComponent} 1304 | * @protected 1305 | */ 1306 | React.DOM.small = function(props, children) {}; 1307 | 1308 | /** 1309 | * @param {Object=} props 1310 | * @param {...React.ChildrenArgument} children 1311 | * @return {React.ReactComponent} 1312 | * @protected 1313 | */ 1314 | React.DOM.source = function(props, children) {}; 1315 | 1316 | /** 1317 | * @param {Object=} props 1318 | * @param {...React.ChildrenArgument} children 1319 | * @return {React.ReactComponent} 1320 | * @protected 1321 | */ 1322 | React.DOM.span = function(props, children) {}; 1323 | 1324 | /** 1325 | * @param {Object=} props 1326 | * @param {...React.ChildrenArgument} children 1327 | * @return {React.ReactComponent} 1328 | * @protected 1329 | */ 1330 | React.DOM.stop = function(props, children) {}; 1331 | 1332 | /** 1333 | * @param {Object=} props 1334 | * @param {...React.ChildrenArgument} children 1335 | * @return {React.ReactComponent} 1336 | * @protected 1337 | */ 1338 | React.DOM.strong = function(props, children) {}; 1339 | 1340 | /** 1341 | * @param {Object=} props 1342 | * @param {...React.ChildrenArgument} children 1343 | * @return {React.ReactComponent} 1344 | * @protected 1345 | */ 1346 | React.DOM.style = function(props, children) {}; 1347 | 1348 | /** 1349 | * @param {Object=} props 1350 | * @param {...React.ChildrenArgument} children 1351 | * @return {React.ReactComponent} 1352 | * @protected 1353 | */ 1354 | React.DOM.sub = function(props, children) {}; 1355 | 1356 | /** 1357 | * @param {Object=} props 1358 | * @param {...React.ChildrenArgument} children 1359 | * @return {React.ReactComponent} 1360 | * @protected 1361 | */ 1362 | React.DOM.svg = function(props, children) {}; 1363 | 1364 | /** 1365 | * @param {Object=} props 1366 | * @param {...React.ChildrenArgument} children 1367 | * @return {React.ReactComponent} 1368 | * @protected 1369 | */ 1370 | React.DOM.table = function(props, children) {}; 1371 | 1372 | /** 1373 | * @param {Object=} props 1374 | * @param {...React.ChildrenArgument} children 1375 | * @return {React.ReactComponent} 1376 | * @protected 1377 | */ 1378 | React.DOM.tbody = function(props, children) {}; 1379 | 1380 | /** 1381 | * @param {Object=} props 1382 | * @param {...React.ChildrenArgument} children 1383 | * @return {React.ReactComponent} 1384 | * @protected 1385 | */ 1386 | React.DOM.td = function(props, children) {}; 1387 | 1388 | /** 1389 | * @param {Object=} props 1390 | * @param {...React.ChildrenArgument} children 1391 | * @return {React.ReactComponent} 1392 | * @protected 1393 | */ 1394 | React.DOM.text = function(props, children) {}; 1395 | 1396 | /** 1397 | * @param {Object=} props 1398 | * @param {...React.ChildrenArgument} children 1399 | * @return {React.ReactComponent} 1400 | * @protected 1401 | */ 1402 | React.DOM.textarea = function(props, children) {}; 1403 | 1404 | /** 1405 | * @param {Object=} props 1406 | * @param {...React.ChildrenArgument} children 1407 | * @return {React.ReactComponent} 1408 | * @protected 1409 | */ 1410 | React.DOM.tfoot = function(props, children) {}; 1411 | 1412 | /** 1413 | * @param {Object=} props 1414 | * @param {...React.ChildrenArgument} children 1415 | * @return {React.ReactComponent} 1416 | * @protected 1417 | */ 1418 | React.DOM.th = function(props, children) {}; 1419 | 1420 | /** 1421 | * @param {Object=} props 1422 | * @param {...React.ChildrenArgument} children 1423 | * @return {React.ReactComponent} 1424 | * @protected 1425 | */ 1426 | React.DOM.thead = function(props, children) {}; 1427 | 1428 | /** 1429 | * @param {Object=} props 1430 | * @param {...React.ChildrenArgument} children 1431 | * @return {React.ReactComponent} 1432 | * @protected 1433 | */ 1434 | React.DOM.time = function(props, children) {}; 1435 | 1436 | /** 1437 | * @param {Object=} props 1438 | * @param {...React.ChildrenArgument} children 1439 | * @return {React.ReactComponent} 1440 | * @protected 1441 | */ 1442 | React.DOM.title = function(props, children) {}; 1443 | 1444 | /** 1445 | * @param {Object=} props 1446 | * @param {...React.ChildrenArgument} children 1447 | * @return {React.ReactComponent} 1448 | * @protected 1449 | */ 1450 | React.DOM.tr = function(props, children) {}; 1451 | 1452 | /** 1453 | * @param {Object=} props 1454 | * @param {...React.ChildrenArgument} children 1455 | * @return {React.ReactComponent} 1456 | * @protected 1457 | */ 1458 | React.DOM.track = function(props, children) {}; 1459 | 1460 | /** 1461 | * @param {Object=} props 1462 | * @param {...React.ChildrenArgument} children 1463 | * @return {React.ReactComponent} 1464 | * @protected 1465 | */ 1466 | React.DOM.tspan = function(props, children) {}; 1467 | 1468 | /** 1469 | * @param {Object=} props 1470 | * @param {...React.ChildrenArgument} children 1471 | * @return {React.ReactComponent} 1472 | * @protected 1473 | */ 1474 | React.DOM.u = function(props, children) {}; 1475 | 1476 | /** 1477 | * @param {Object=} props 1478 | * @param {...React.ChildrenArgument} children 1479 | * @return {React.ReactComponent} 1480 | * @protected 1481 | */ 1482 | React.DOM.ul = function(props, children) {}; 1483 | 1484 | /** 1485 | * @param {Object=} props 1486 | * @param {...React.ChildrenArgument} children 1487 | * @return {React.ReactComponent} 1488 | * @protected 1489 | */ 1490 | React.DOM.var = function(props, children) {}; 1491 | 1492 | /** 1493 | * @param {Object=} props 1494 | * @param {...React.ChildrenArgument} children 1495 | * @return {React.ReactComponent} 1496 | * @protected 1497 | */ 1498 | React.DOM.video = function(props, children) {}; 1499 | 1500 | /** 1501 | * @param {Object=} props 1502 | * @param {...React.ChildrenArgument} children 1503 | * @return {React.ReactComponent} 1504 | * @protected 1505 | */ 1506 | React.DOM.wbr = function(props, children) {}; 1507 | 1508 | /** 1509 | * @typedef {function(boolean, boolean, Object, string, string, string): boolean} React.ChainableTypeChecker 1510 | */ 1511 | React.ChainableTypeChecker; 1512 | 1513 | /** 1514 | * @type {React.ChainableTypeChecker} 1515 | */ 1516 | React.ChainableTypeChecker.weak; 1517 | 1518 | /** 1519 | * @type {React.ChainableTypeChecker} 1520 | */ 1521 | React.ChainableTypeChecker.weak.isRequired; 1522 | 1523 | /** 1524 | * @type {React.ChainableTypeChecker} 1525 | */ 1526 | React.ChainableTypeChecker.isRequired; 1527 | 1528 | /** 1529 | * @type {React.ChainableTypeChecker} 1530 | */ 1531 | React.ChainableTypeChecker.isRequired.weak; 1532 | 1533 | /** 1534 | * @type {Object} 1535 | */ 1536 | React.PropTypes = { 1537 | /** @type {React.ChainableTypeChecker} */ 1538 | any: function() {}, 1539 | /** @type {React.ChainableTypeChecker} */ 1540 | array: function() {}, 1541 | /** 1542 | * @param {React.ChainableTypeChecker} typeChecker 1543 | * @return {React.ChainableTypeChecker} 1544 | */ 1545 | arrayOf: function(typeChecker) {}, 1546 | /** @type {React.ChainableTypeChecker} */ 1547 | bool: function() {}, 1548 | /** @type {React.ChainableTypeChecker} */ 1549 | component: function() {}, 1550 | /** @type {React.ChainableTypeChecker} */ 1551 | func: function() {}, 1552 | /** @type {React.ChainableTypeChecker} */ 1553 | node: function() {}, 1554 | /** @type {React.ChainableTypeChecker} */ 1555 | number: function() {}, 1556 | /** @type {React.ChainableTypeChecker} */ 1557 | object: function() {}, 1558 | /** 1559 | * @param {React.ChainableTypeChecker} typeChecker 1560 | * @return {React.ChainableTypeChecker} 1561 | */ 1562 | objectOf: function(typeChecker) {}, 1563 | /** @type {React.ChainableTypeChecker} */ 1564 | string: function() {}, 1565 | /** 1566 | * @param {Array.<*>} expectedValues 1567 | * @return {React.ChainableTypeChecker} 1568 | */ 1569 | oneOf: function(expectedValues) {}, 1570 | /** 1571 | * @param {Array.} typeCheckers 1572 | * @return {React.ChainableTypeChecker} 1573 | */ 1574 | oneOfType: function(typeCheckers) {}, 1575 | /** 1576 | * @param {function (new:Object, ...*): ?} expectedClass 1577 | * @return {React.ChainableTypeChecker} 1578 | */ 1579 | instanceOf: function(expectedClass) {}, 1580 | /** @type {React.ChainableTypeChecker} */ 1581 | renderable: function() {}, 1582 | /** @type {React.ChainableTypeChecker} */ 1583 | /** 1584 | * @param {Object.} shapeTypes 1585 | * @return {React.ChainableTypeChecker} 1586 | */ 1587 | shape: function(shapeTypes) {} 1588 | }; 1589 | 1590 | /** 1591 | * @type {Object} 1592 | */ 1593 | React.Children; 1594 | 1595 | /** 1596 | * @param {Object} children Children tree container. 1597 | * @param {function(*, number)} mapFunction 1598 | * @param {*=} mapContext Context for mapFunction. 1599 | * @return {Object|undefined} Object containing the ordered map of results. 1600 | */ 1601 | React.Children.map; 1602 | 1603 | /** 1604 | * @param {Object} children Children tree container. 1605 | * @param {function(*, number)} mapFunction 1606 | * @param {*=} mapContext Context for mapFunction. 1607 | */ 1608 | React.Children.forEach; 1609 | 1610 | /** 1611 | * @param {Object} children Children tree container. 1612 | * @return {Object|undefined} 1613 | */ 1614 | React.Children.only; 1615 | 1616 | /** 1617 | * @type {Object} 1618 | */ 1619 | React.addons; 1620 | 1621 | /** 1622 | * @param {Object|string} objectOrClassName 1623 | * @param {...string} classNames 1624 | * @return {string} 1625 | */ 1626 | React.addons.classSet; 1627 | 1628 | /** 1629 | * @type {Object} 1630 | */ 1631 | React.addons.Perf; 1632 | 1633 | React.addons.Perf.start = function() {}; 1634 | 1635 | React.addons.Perf.stop = function() {}; 1636 | 1637 | /** 1638 | * @return {Array.} 1639 | */ 1640 | React.addons.Perf.getLastMeasurements = function() {}; 1641 | 1642 | /** 1643 | * @param {React.addons.Perf.Measurement=} measurements 1644 | */ 1645 | React.addons.Perf.printExclusive = function(measurements) {}; 1646 | 1647 | /** 1648 | * @param {React.addons.Perf.Measurement=} measurements 1649 | */ 1650 | React.addons.Perf.printInclusive = function(measurements) {}; 1651 | 1652 | /** 1653 | * @param {React.addons.Perf.Measurement=} measurements 1654 | */ 1655 | React.addons.Perf.printWasted = function(measurements) {}; 1656 | 1657 | /** 1658 | * @typedef {{ 1659 | * exclusive: !Object., 1660 | * inclusive: !Object., 1661 | * render: !Object., 1662 | * counts: !Object., 1663 | * writes: !Object., 1664 | * displayNames: !Object., 1665 | * totalTime: number 1666 | * }} 1667 | */ 1668 | React.addons.Perf.Measurement; 1669 | -------------------------------------------------------------------------------- /src/react/react.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * React v0.12.2 3 | * 4 | * Copyright 2013-2014, Facebook, Inc. 5 | * All rights reserved. 6 | * 7 | * This source code is licensed under the BSD-style license found in the 8 | * LICENSE file in the root directory of this source tree. An additional grant 9 | * of patent rights can be found in the PATENTS file in the same directory. 10 | * 11 | */ 12 | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.React=e()}}(function(){return function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var u="function"==typeof require&&require;if(!s&&u)return u(i,!0);if(a)return a(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return o(n?n:e)},l,l.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;in;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),r.addPoolingTo(n),t.exports=n},{"./Object.assign":27,"./PooledClass":28,"./invariant":124}],7:[function(e,t){"use strict";function n(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function r(e){var t=M.getPooled(P.change,w,e);E.accumulateTwoPhaseDispatches(t),R.batchedUpdates(o,t)}function o(e){y.enqueueEvents(e),y.processEventQueue()}function a(e,t){_=e,w=t,_.attachEvent("onchange",r)}function i(){_&&(_.detachEvent("onchange",r),_=null,w=null)}function s(e,t,n){return e===x.topChange?n:void 0}function u(e,t,n){e===x.topFocus?(i(),a(t,n)):e===x.topBlur&&i()}function c(e,t){_=e,w=t,T=e.value,N=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(_,"value",k),_.attachEvent("onpropertychange",p)}function l(){_&&(delete _.value,_.detachEvent("onpropertychange",p),_=null,w=null,T=null,N=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==T&&(T=t,r(e))}}function d(e,t,n){return e===x.topInput?n:void 0}function f(e,t,n){e===x.topFocus?(l(),c(t,n)):e===x.topBlur&&l()}function h(e){return e!==x.topSelectionChange&&e!==x.topKeyUp&&e!==x.topKeyDown||!_||_.value===T?void 0:(T=_.value,w)}function m(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function v(e,t,n){return e===x.topClick?n:void 0}var g=e("./EventConstants"),y=e("./EventPluginHub"),E=e("./EventPropagators"),C=e("./ExecutionEnvironment"),R=e("./ReactUpdates"),M=e("./SyntheticEvent"),b=e("./isEventSupported"),O=e("./isTextInputElement"),D=e("./keyOf"),x=g.topLevelTypes,P={change:{phasedRegistrationNames:{bubbled:D({onChange:null}),captured:D({onChangeCapture:null})},dependencies:[x.topBlur,x.topChange,x.topClick,x.topFocus,x.topInput,x.topKeyDown,x.topKeyUp,x.topSelectionChange]}},_=null,w=null,T=null,N=null,I=!1;C.canUseDOM&&(I=b("change")&&(!("documentMode"in document)||document.documentMode>8));var S=!1;C.canUseDOM&&(S=b("input")&&(!("documentMode"in document)||document.documentMode>9));var k={get:function(){return N.get.call(this)},set:function(e){T=""+e,N.set.call(this,e)}},A={eventTypes:P,extractEvents:function(e,t,r,o){var a,i;if(n(t)?I?a=s:i=u:O(t)?S?a=d:(a=h,i=f):m(t)&&(a=v),a){var c=a(e,t,r);if(c){var l=M.getPooled(P.change,c,o);return E.accumulateTwoPhaseDispatches(l),l}}i&&i(e,t,r)}};t.exports=A},{"./EventConstants":16,"./EventPluginHub":18,"./EventPropagators":21,"./ExecutionEnvironment":22,"./ReactUpdates":77,"./SyntheticEvent":85,"./isEventSupported":125,"./isTextInputElement":127,"./keyOf":131}],8:[function(e,t){"use strict";var n=0,r={createReactRootIndex:function(){return n++}};t.exports=r},{}],9:[function(e,t){"use strict";function n(e){switch(e){case g.topCompositionStart:return E.compositionStart;case g.topCompositionEnd:return E.compositionEnd;case g.topCompositionUpdate:return E.compositionUpdate}}function r(e,t){return e===g.topKeyDown&&t.keyCode===h}function o(e,t){switch(e){case g.topKeyUp:return-1!==f.indexOf(t.keyCode);case g.topKeyDown:return t.keyCode!==h;case g.topKeyPress:case g.topMouseDown:case g.topBlur:return!0;default:return!1}}function a(e){this.root=e,this.startSelection=c.getSelection(e),this.startValue=this.getText()}var i=e("./EventConstants"),s=e("./EventPropagators"),u=e("./ExecutionEnvironment"),c=e("./ReactInputSelection"),l=e("./SyntheticCompositionEvent"),p=e("./getTextContentAccessor"),d=e("./keyOf"),f=[9,13,27,32],h=229,m=u.canUseDOM&&"CompositionEvent"in window,v=!m||"documentMode"in document&&document.documentMode>8&&document.documentMode<=11,g=i.topLevelTypes,y=null,E={compositionEnd:{phasedRegistrationNames:{bubbled:d({onCompositionEnd:null}),captured:d({onCompositionEndCapture:null})},dependencies:[g.topBlur,g.topCompositionEnd,g.topKeyDown,g.topKeyPress,g.topKeyUp,g.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:d({onCompositionStart:null}),captured:d({onCompositionStartCapture:null})},dependencies:[g.topBlur,g.topCompositionStart,g.topKeyDown,g.topKeyPress,g.topKeyUp,g.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:d({onCompositionUpdate:null}),captured:d({onCompositionUpdateCapture:null})},dependencies:[g.topBlur,g.topCompositionUpdate,g.topKeyDown,g.topKeyPress,g.topKeyUp,g.topMouseDown]}};a.prototype.getText=function(){return this.root.value||this.root[p()]},a.prototype.getData=function(){var e=this.getText(),t=this.startSelection.start,n=this.startValue.length-this.startSelection.end;return e.substr(t,e.length-n-t)};var C={eventTypes:E,extractEvents:function(e,t,i,u){var c,p;if(m?c=n(e):y?o(e,u)&&(c=E.compositionEnd):r(e,u)&&(c=E.compositionStart),v&&(y||c!==E.compositionStart?c===E.compositionEnd&&y&&(p=y.getData(),y=null):y=new a(t)),c){var d=l.getPooled(c,i,u);return p&&(d.data=p),s.accumulateTwoPhaseDispatches(d),d}}};t.exports=C},{"./EventConstants":16,"./EventPropagators":21,"./ExecutionEnvironment":22,"./ReactInputSelection":57,"./SyntheticCompositionEvent":83,"./getTextContentAccessor":119,"./keyOf":131}],10:[function(e,t){"use strict";function n(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var r,o=e("./Danger"),a=e("./ReactMultiChildUpdateTypes"),i=e("./getTextContentAccessor"),s=e("./invariant"),u=i();r="textContent"===u?function(e,t){e.textContent=t}:function(e,t){for(;e.firstChild;)e.removeChild(e.firstChild);if(t){var n=e.ownerDocument||document;e.appendChild(n.createTextNode(t))}};var c={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:r,processUpdates:function(e,t){for(var i,u=null,c=null,l=0;i=e[l];l++)if(i.type===a.MOVE_EXISTING||i.type===a.REMOVE_NODE){var p=i.fromIndex,d=i.parentNode.childNodes[p],f=i.parentID;s(d),u=u||{},u[f]=u[f]||[],u[f][p]=d,c=c||[],c.push(d)}var h=o.dangerouslyRenderMarkup(t);if(c)for(var m=0;mt||r.hasOverloadedBooleanValue[e]&&t===!1}var r=e("./DOMProperty"),o=e("./escapeTextForBrowser"),a=e("./memoizeStringOnly"),i=(e("./warning"),a(function(e){return o(e)+'="'})),s={createMarkupForID:function(e){return i(r.ID_ATTRIBUTE_NAME)+o(e)+'"'},createMarkupForProperty:function(e,t){if(r.isStandardName.hasOwnProperty(e)&&r.isStandardName[e]){if(n(e,t))return"";var a=r.getAttributeName[e];return r.hasBooleanValue[e]||r.hasOverloadedBooleanValue[e]&&t===!0?o(a):i(a)+o(t)+'"'}return r.isCustomAttribute(e)?null==t?"":i(e)+o(t)+'"':null},setValueForProperty:function(e,t,o){if(r.isStandardName.hasOwnProperty(t)&&r.isStandardName[t]){var a=r.getMutationMethod[t];if(a)a(e,o);else if(n(t,o))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute[t])e.setAttribute(r.getAttributeName[t],""+o);else{var i=r.getPropertyName[t];r.hasSideEffects[t]&&""+e[i]==""+o||(e[i]=o)}}else r.isCustomAttribute(t)&&(null==o?e.removeAttribute(t):e.setAttribute(t,""+o))},deleteValueForProperty:function(e,t){if(r.isStandardName.hasOwnProperty(t)&&r.isStandardName[t]){var n=r.getMutationMethod[t];if(n)n(e,void 0);else if(r.mustUseAttribute[t])e.removeAttribute(r.getAttributeName[t]);else{var o=r.getPropertyName[t],a=r.getDefaultValueForProperty(e.nodeName,o);r.hasSideEffects[t]&&""+e[o]===a||(e[o]=a)}}else r.isCustomAttribute(t)&&e.removeAttribute(t)}};t.exports=s},{"./DOMProperty":11,"./escapeTextForBrowser":107,"./memoizeStringOnly":133,"./warning":141}],13:[function(e,t){"use strict";function n(e){return e.substring(1,e.indexOf(" "))}var r=e("./ExecutionEnvironment"),o=e("./createNodesFromMarkup"),a=e("./emptyFunction"),i=e("./getMarkupWrap"),s=e("./invariant"),u=/^(<[^ \/>]+)/,c="data-danger-index",l={dangerouslyRenderMarkup:function(e){s(r.canUseDOM);for(var t,l={},p=0;pu;u++){var l=s[u];if(l){var p=l.extractEvents(e,t,r,a);p&&(i=o(i,p))}}return i},enqueueEvents:function(e){e&&(u=o(u,e))},processEventQueue:function(){var e=u;u=null,a(e,c),i(!u)},__purge:function(){s={}},__getListenerBank:function(){return s}};t.exports=p},{"./EventPluginRegistry":19,"./EventPluginUtils":20,"./accumulateInto":95,"./forEachAccumulated":110,"./invariant":124}],19:[function(e,t){"use strict";function n(){if(i)for(var e in s){var t=s[e],n=i.indexOf(e);if(a(n>-1),!u.plugins[n]){a(t.extractEvents),u.plugins[n]=t;var o=t.eventTypes;for(var c in o)a(r(o[c],t,c))}}}function r(e,t,n){a(!u.eventNameDispatchConfigs.hasOwnProperty(n)),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];o(s,t,n)}return!0}return e.registrationName?(o(e.registrationName,t,n),!0):!1}function o(e,t,n){a(!u.registrationNameModules[e]),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=e("./invariant"),i=null,s={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){a(!i),i=Array.prototype.slice.call(e),n()},injectEventPluginsByName:function(e){var t=!1;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];s.hasOwnProperty(r)&&s[r]===o||(a(!s[r]),s[r]=o,t=!0)}t&&n()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){i=null;for(var e in s)s.hasOwnProperty(e)&&delete s[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=u},{"./invariant":124}],20:[function(e,t){"use strict";function n(e){return e===m.topMouseUp||e===m.topTouchEnd||e===m.topTouchCancel}function r(e){return e===m.topMouseMove||e===m.topTouchMove}function o(e){return e===m.topMouseDown||e===m.topTouchStart}function a(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var o=0;ol;l++){var d=s[l];i.hasOwnProperty(d)&&i[d]||(d===u.topWheel?c("wheel")?m.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",o):c("mousewheel")?m.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",o):m.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",o):d===u.topScroll?c("scroll",!0)?m.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",o):m.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",m.ReactEventListener.WINDOW_HANDLE):d===u.topFocus||d===u.topBlur?(c("focus",!0)?(m.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",o),m.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",o)):c("focusin")&&(m.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",o),m.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",o)),i[u.topBlur]=!0,i[u.topFocus]=!0):f.hasOwnProperty(d)&&m.ReactEventListener.trapBubbledEvent(d,f[d],o),i[d]=!0)}},trapBubbledEvent:function(e,t,n){return m.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return m.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!p){var e=s.refreshScrollValues;m.ReactEventListener.monitorScrollValue(e),p=!0}},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:o.putListener,getListener:o.getListener,deleteListener:o.deleteListener,deleteAllListeners:o.deleteAllListeners});t.exports=m},{"./EventConstants":16,"./EventPluginHub":18,"./EventPluginRegistry":19,"./Object.assign":27,"./ReactEventEmitterMixin":54,"./ViewportMetrics":94,"./isEventSupported":125}],31:[function(e,t){"use strict";function n(e,t){this.forEachFunction=e,this.forEachContext=t}function r(e,t,n,r){var o=e;o.forEachFunction.call(o.forEachContext,t,r)}function o(e,t,o){if(null==e)return e;var a=n.getPooled(t,o);p(e,r,a),n.release(a)}function a(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function i(e,t,n,r){var o=e,a=o.mapResult,i=!a.hasOwnProperty(n);if(i){var s=o.mapFunction.call(o.mapContext,t,r);a[n]=s}}function s(e,t,n){if(null==e)return e;var r={},o=a.getPooled(r,t,n);return p(e,i,o),a.release(o),r}function u(){return null}function c(e){return p(e,u,null)}var l=e("./PooledClass"),p=e("./traverseAllChildren"),d=(e("./warning"),l.twoArgumentPooler),f=l.threeArgumentPooler;l.addPoolingTo(n,d),l.addPoolingTo(a,f);var h={forEach:o,map:s,count:c};t.exports=h},{"./PooledClass":28,"./traverseAllChildren":140,"./warning":141}],32:[function(e,t){"use strict";var n=e("./ReactElement"),r=e("./ReactOwner"),o=e("./ReactUpdates"),a=e("./Object.assign"),i=e("./invariant"),s=e("./keyMirror"),u=s({MOUNTED:null,UNMOUNTED:null}),c=!1,l=null,p=null,d={injection:{injectEnvironment:function(e){i(!c),p=e.mountImageIntoNode,l=e.unmountIDFromEnvironment,d.BackendIDOperations=e.BackendIDOperations,c=!0}},LifeCycle:u,BackendIDOperations:null,Mixin:{isMounted:function(){return this._lifeCycleState===u.MOUNTED},setProps:function(e,t){var n=this._pendingElement||this._currentElement;this.replaceProps(a({},n.props,e),t)},replaceProps:function(e,t){i(this.isMounted()),i(0===this._mountDepth),this._pendingElement=n.cloneAndReplaceProps(this._pendingElement||this._currentElement,e),o.enqueueUpdate(this,t)},_setPropsInternal:function(e,t){var r=this._pendingElement||this._currentElement;this._pendingElement=n.cloneAndReplaceProps(r,a({},r.props,e)),o.enqueueUpdate(this,t)},construct:function(e){this.props=e.props,this._owner=e._owner,this._lifeCycleState=u.UNMOUNTED,this._pendingCallbacks=null,this._currentElement=e,this._pendingElement=null},mountComponent:function(e,t,n){i(!this.isMounted());var o=this._currentElement.ref;if(null!=o){var a=this._currentElement._owner;r.addComponentAsRefTo(this,o,a)}this._rootNodeID=e,this._lifeCycleState=u.MOUNTED,this._mountDepth=n},unmountComponent:function(){i(this.isMounted());var e=this._currentElement.ref;null!=e&&r.removeComponentAsRefFrom(this,e,this._owner),l(this._rootNodeID),this._rootNodeID=null,this._lifeCycleState=u.UNMOUNTED},receiveComponent:function(e,t){i(this.isMounted()),this._pendingElement=e,this.performUpdateIfNecessary(t)},performUpdateIfNecessary:function(e){if(null!=this._pendingElement){var t=this._currentElement,n=this._pendingElement;this._currentElement=n,this.props=n.props,this._owner=n._owner,this._pendingElement=null,this.updateComponent(e,t)}},updateComponent:function(e,t){var n=this._currentElement;(n._owner!==t._owner||n.ref!==t.ref)&&(null!=t.ref&&r.removeComponentAsRefFrom(this,t.ref,t._owner),null!=n.ref&&r.addComponentAsRefTo(this,n.ref,n._owner))},mountComponentIntoNode:function(e,t,n){var r=o.ReactReconcileTransaction.getPooled();r.perform(this._mountComponentIntoNode,this,e,t,r,n),o.ReactReconcileTransaction.release(r)},_mountComponentIntoNode:function(e,t,n,r){var o=this.mountComponent(e,n,0);p(o,t,r)},isOwnedBy:function(e){return this._owner===e},getSiblingByRef:function(e){var t=this._owner;return t&&t.refs?t.refs[e]:null}}};t.exports=d},{"./Object.assign":27,"./ReactElement":50,"./ReactOwner":65,"./ReactUpdates":77,"./invariant":124,"./keyMirror":130}],33:[function(e,t){"use strict";var n=e("./ReactDOMIDOperations"),r=e("./ReactMarkupChecksum"),o=e("./ReactMount"),a=e("./ReactPerf"),i=e("./ReactReconcileTransaction"),s=e("./getReactRootElementInContainer"),u=e("./invariant"),c=e("./setInnerHTML"),l=1,p=9,d={ReactReconcileTransaction:i,BackendIDOperations:n,unmountIDFromEnvironment:function(e){o.purgeID(e)},mountImageIntoNode:a.measure("ReactComponentBrowserEnvironment","mountImageIntoNode",function(e,t,n){if(u(t&&(t.nodeType===l||t.nodeType===p)),n){if(r.canReuseMarkup(e,s(t)))return;u(t.nodeType!==p)}u(t.nodeType!==p),c(t,e)})};t.exports=d},{"./ReactDOMIDOperations":41,"./ReactMarkupChecksum":60,"./ReactMount":61,"./ReactPerf":66,"./ReactReconcileTransaction":72,"./getReactRootElementInContainer":118,"./invariant":124,"./setInnerHTML":136}],34:[function(e,t){"use strict";function n(e){var t=e._owner||null;return t&&t.constructor&&t.constructor.displayName?" Check the render method of `"+t.constructor.displayName+"`.":""}function r(e,t){for(var n in t)t.hasOwnProperty(n)&&D("function"==typeof t[n])}function o(e,t){var n=S.hasOwnProperty(t)?S[t]:null;L.hasOwnProperty(t)&&D(n===N.OVERRIDE_BASE),e.hasOwnProperty(t)&&D(n===N.DEFINE_MANY||n===N.DEFINE_MANY_MERGED)}function a(e){var t=e._compositeLifeCycleState;D(e.isMounted()||t===A.MOUNTING),D(null==f.current),D(t!==A.UNMOUNTING)}function i(e,t){if(t){D(!g.isValidFactory(t)),D(!h.isValidElement(t));var n=e.prototype;t.hasOwnProperty(T)&&k.mixins(e,t.mixins);for(var r in t)if(t.hasOwnProperty(r)&&r!==T){var a=t[r];if(o(n,r),k.hasOwnProperty(r))k[r](e,a);else{var i=S.hasOwnProperty(r),s=n.hasOwnProperty(r),u=a&&a.__reactDontBind,p="function"==typeof a,d=p&&!i&&!s&&!u;if(d)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[r]=a,n[r]=a;else if(s){var f=S[r];D(i&&(f===N.DEFINE_MANY_MERGED||f===N.DEFINE_MANY)),f===N.DEFINE_MANY_MERGED?n[r]=c(n[r],a):f===N.DEFINE_MANY&&(n[r]=l(n[r],a))}else n[r]=a}}}}function s(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in k;D(!o);var a=n in e;D(!a),e[n]=r}}}function u(e,t){return D(e&&t&&"object"==typeof e&&"object"==typeof t),_(t,function(t,n){D(void 0===e[n]),e[n]=t}),e}function c(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);return null==n?r:null==r?n:u(n,r)}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}var p=e("./ReactComponent"),d=e("./ReactContext"),f=e("./ReactCurrentOwner"),h=e("./ReactElement"),m=(e("./ReactElementValidator"),e("./ReactEmptyComponent")),v=e("./ReactErrorUtils"),g=e("./ReactLegacyElement"),y=e("./ReactOwner"),E=e("./ReactPerf"),C=e("./ReactPropTransferer"),R=e("./ReactPropTypeLocations"),M=(e("./ReactPropTypeLocationNames"),e("./ReactUpdates")),b=e("./Object.assign"),O=e("./instantiateReactComponent"),D=e("./invariant"),x=e("./keyMirror"),P=e("./keyOf"),_=(e("./monitorCodeUse"),e("./mapObject")),w=e("./shouldUpdateReactComponent"),T=(e("./warning"),P({mixins:null})),N=x({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),I=[],S={mixins:N.DEFINE_MANY,statics:N.DEFINE_MANY,propTypes:N.DEFINE_MANY,contextTypes:N.DEFINE_MANY,childContextTypes:N.DEFINE_MANY,getDefaultProps:N.DEFINE_MANY_MERGED,getInitialState:N.DEFINE_MANY_MERGED,getChildContext:N.DEFINE_MANY_MERGED,render:N.DEFINE_ONCE,componentWillMount:N.DEFINE_MANY,componentDidMount:N.DEFINE_MANY,componentWillReceiveProps:N.DEFINE_MANY,shouldComponentUpdate:N.DEFINE_ONCE,componentWillUpdate:N.DEFINE_MANY,componentDidUpdate:N.DEFINE_MANY,componentWillUnmount:N.DEFINE_MANY,updateComponent:N.OVERRIDE_BASE},k={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t)+o}),_createOpenTagMarkupAndPutListeners:function(e){var t=this.props,n="<"+this._tag;for(var o in t)if(t.hasOwnProperty(o)){var a=t[o];if(null!=a)if(R.hasOwnProperty(o))r(this._rootNodeID,o,a,e);else{o===b&&(a&&(a=t.style=m({},t.style)),a=i.createMarkupForStyles(a));var s=u.createMarkupForProperty(o,a);s&&(n+=" "+s)}}if(e.renderToStaticMarkup)return n+">";var c=u.createMarkupForID(this._rootNodeID);return n+" "+c+">"},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=M[typeof this.props.children]?this.props.children:null,r=null!=n?null:this.props.children;if(null!=n)return v(n);if(null!=r){var o=this.mountChildren(r,e);return o.join("")}}return""},receiveComponent:function(e,t){(e!==this._currentElement||null==e._owner)&&l.Mixin.receiveComponent.call(this,e,t)},updateComponent:h.measure("ReactDOMComponent","updateComponent",function(e,t){n(this._currentElement.props),l.Mixin.updateComponent.call(this,e,t),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e)}),_updateDOMProperties:function(e,t){var n,o,a,i=this.props;for(n in e)if(!i.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===b){var u=e[n];for(o in u)u.hasOwnProperty(o)&&(a=a||{},a[o]="")}else R.hasOwnProperty(n)?E(this._rootNodeID,n):(s.isStandardName[n]||s.isCustomAttribute(n))&&l.BackendIDOperations.deletePropertyByID(this._rootNodeID,n);for(n in i){var c=i[n],p=e[n];if(i.hasOwnProperty(n)&&c!==p)if(n===b)if(c&&(c=i.style=m({},c)),p){for(o in p)!p.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in c)c.hasOwnProperty(o)&&p[o]!==c[o]&&(a=a||{},a[o]=c[o])}else a=c;else R.hasOwnProperty(n)?r(this._rootNodeID,n,c,t):(s.isStandardName[n]||s.isCustomAttribute(n))&&l.BackendIDOperations.updatePropertyByID(this._rootNodeID,n,c)}a&&l.BackendIDOperations.updateStylesByID(this._rootNodeID,a)},_updateDOMChildren:function(e,t){var n=this.props,r=M[typeof e.children]?e.children:null,o=M[typeof n.children]?n.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,i=n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html,s=null!=r?null:e.children,u=null!=o?null:n.children,c=null!=r||null!=a,p=null!=o||null!=i;null!=s&&null==u?this.updateChildren(null,t):c&&!p&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=i?a!==i&&l.BackendIDOperations.updateInnerHTMLByID(this._rootNodeID,i):null!=u&&this.updateChildren(u,t)},unmountComponent:function(){this.unmountChildren(),p.deleteAllListeners(this._rootNodeID),l.Mixin.unmountComponent.call(this)}},m(a.prototype,l.Mixin,a.Mixin,f.Mixin,c),t.exports=a},{"./CSSPropertyOperations":5,"./DOMProperty":11,"./DOMPropertyOperations":12,"./Object.assign":27,"./ReactBrowserComponentMixin":29,"./ReactBrowserEventEmitter":30,"./ReactComponent":32,"./ReactMount":61,"./ReactMultiChild":62,"./ReactPerf":66,"./escapeTextForBrowser":107,"./invariant":124,"./isEventSupported":125,"./keyOf":131,"./monitorCodeUse":134}],40:[function(e,t){"use strict";var n=e("./EventConstants"),r=e("./LocalEventTrapMixin"),o=e("./ReactBrowserComponentMixin"),a=e("./ReactCompositeComponent"),i=e("./ReactElement"),s=e("./ReactDOM"),u=i.createFactory(s.form.type),c=a.createClass({displayName:"ReactDOMForm",mixins:[o,r],render:function(){return u(this.props)},componentDidMount:function(){this.trapBubbledEvent(n.topLevelTypes.topReset,"reset"),this.trapBubbledEvent(n.topLevelTypes.topSubmit,"submit")}});t.exports=c},{"./EventConstants":16,"./LocalEventTrapMixin":25,"./ReactBrowserComponentMixin":29,"./ReactCompositeComponent":34,"./ReactDOM":37,"./ReactElement":50}],41:[function(e,t){"use strict";var n=e("./CSSPropertyOperations"),r=e("./DOMChildrenOperations"),o=e("./DOMPropertyOperations"),a=e("./ReactMount"),i=e("./ReactPerf"),s=e("./invariant"),u=e("./setInnerHTML"),c={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},l={updatePropertyByID:i.measure("ReactDOMIDOperations","updatePropertyByID",function(e,t,n){var r=a.getNode(e);s(!c.hasOwnProperty(t)),null!=n?o.setValueForProperty(r,t,n):o.deleteValueForProperty(r,t)}),deletePropertyByID:i.measure("ReactDOMIDOperations","deletePropertyByID",function(e,t,n){var r=a.getNode(e);s(!c.hasOwnProperty(t)),o.deleteValueForProperty(r,t,n)}),updateStylesByID:i.measure("ReactDOMIDOperations","updateStylesByID",function(e,t){var r=a.getNode(e);n.setValueForStyles(r,t)}),updateInnerHTMLByID:i.measure("ReactDOMIDOperations","updateInnerHTMLByID",function(e,t){var n=a.getNode(e);u(n,t)}),updateTextContentByID:i.measure("ReactDOMIDOperations","updateTextContentByID",function(e,t){var n=a.getNode(e);r.updateTextContent(n,t)}),dangerouslyReplaceNodeWithMarkupByID:i.measure("ReactDOMIDOperations","dangerouslyReplaceNodeWithMarkupByID",function(e,t){var n=a.getNode(e);r.dangerouslyReplaceNodeWithMarkup(n,t)}),dangerouslyProcessChildrenUpdates:i.measure("ReactDOMIDOperations","dangerouslyProcessChildrenUpdates",function(e,t){for(var n=0;nc;c++){var h=u[c];if(h!==i&&h.form===i.form){var v=l.getID(h);f(v);var g=m[v];f(g),p.asap(n,g)}}}return t}});t.exports=v},{"./AutoFocusMixin":2,"./DOMPropertyOperations":12,"./LinkedValueUtils":24,"./Object.assign":27,"./ReactBrowserComponentMixin":29,"./ReactCompositeComponent":34,"./ReactDOM":37,"./ReactElement":50,"./ReactMount":61,"./ReactUpdates":77,"./invariant":124}],44:[function(e,t){"use strict";var n=e("./ReactBrowserComponentMixin"),r=e("./ReactCompositeComponent"),o=e("./ReactElement"),a=e("./ReactDOM"),i=(e("./warning"),o.createFactory(a.option.type)),s=r.createClass({displayName:"ReactDOMOption",mixins:[n],componentWillMount:function(){},render:function(){return i(this.props,this.props.children)}});t.exports=s},{"./ReactBrowserComponentMixin":29,"./ReactCompositeComponent":34,"./ReactDOM":37,"./ReactElement":50,"./warning":141}],45:[function(e,t){"use strict";function n(){this.isMounted()&&(this.setState({value:this._pendingValue}),this._pendingValue=0)}function r(e,t){if(null!=e[t])if(e.multiple){if(!Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to must be a scalar value if `multiple` is false.")}function o(e,t){var n,r,o,a=e.props.multiple,i=null!=t?t:e.state.value,s=e.getDOMNode().options;if(a)for(n={},r=0,o=i.length;o>r;++r)n[""+i[r]]=!0;else n=""+i;for(r=0,o=s.length;o>r;r++){var u=a?n.hasOwnProperty(s[r].value):s[r].value===n;u!==s[r].selected&&(s[r].selected=u)}}var a=e("./AutoFocusMixin"),i=e("./LinkedValueUtils"),s=e("./ReactBrowserComponentMixin"),u=e("./ReactCompositeComponent"),c=e("./ReactElement"),l=e("./ReactDOM"),p=e("./ReactUpdates"),d=e("./Object.assign"),f=c.createFactory(l.select.type),h=u.createClass({displayName:"ReactDOMSelect",mixins:[a,i.Mixin,s],propTypes:{defaultValue:r,value:r},getInitialState:function(){return{value:this.props.defaultValue||(this.props.multiple?[]:"")}},componentWillMount:function(){this._pendingValue=null},componentWillReceiveProps:function(e){!this.props.multiple&&e.multiple?this.setState({value:[this.state.value]}):this.props.multiple&&!e.multiple&&this.setState({value:this.state.value[0]}) 14 | },render:function(){var e=d({},this.props);return e.onChange=this._handleChange,e.value=null,f(e,this.props.children)},componentDidMount:function(){o(this,i.getValue(this))},componentDidUpdate:function(e){var t=i.getValue(this),n=!!e.multiple,r=!!this.props.multiple;(null!=t||n!==r)&&o(this,t)},_handleChange:function(e){var t,r=i.getOnChange(this);r&&(t=r.call(this,e));var o;if(this.props.multiple){o=[];for(var a=e.target.options,s=0,u=a.length;u>s;s++)a[s].selected&&o.push(a[s].value)}else o=e.target.value;return this._pendingValue=o,p.asap(n,this),t}});t.exports=h},{"./AutoFocusMixin":2,"./LinkedValueUtils":24,"./Object.assign":27,"./ReactBrowserComponentMixin":29,"./ReactCompositeComponent":34,"./ReactDOM":37,"./ReactElement":50,"./ReactUpdates":77}],46:[function(e,t){"use strict";function n(e,t,n,r){return e===n&&t===r}function r(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var a=o.text.length,i=a+r;return{start:a,end:i}}function o(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var r=t.anchorNode,o=t.anchorOffset,a=t.focusNode,i=t.focusOffset,s=t.getRangeAt(0),u=n(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),c=u?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(e),l.setEnd(s.startContainer,s.startOffset);var p=n(l.startContainer,l.startOffset,l.endContainer,l.endOffset),d=p?0:l.toString().length,f=d+c,h=document.createRange();h.setStart(r,o),h.setEnd(a,i);var m=h.collapsed;return{start:m?f:d,end:m?d:f}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();"undefined"==typeof t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function i(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a="undefined"==typeof t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(p),n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var s=e("./ExecutionEnvironment"),u=e("./getNodeForCharacterOffset"),c=e("./getTextContentAccessor"),l=s.canUseDOM&&document.selection,p={getOffsets:l?r:o,setOffsets:l?a:i};t.exports=p},{"./ExecutionEnvironment":22,"./getNodeForCharacterOffset":117,"./getTextContentAccessor":119}],47:[function(e,t){"use strict";function n(){this.isMounted()&&this.forceUpdate()}var r=e("./AutoFocusMixin"),o=e("./DOMPropertyOperations"),a=e("./LinkedValueUtils"),i=e("./ReactBrowserComponentMixin"),s=e("./ReactCompositeComponent"),u=e("./ReactElement"),c=e("./ReactDOM"),l=e("./ReactUpdates"),p=e("./Object.assign"),d=e("./invariant"),f=(e("./warning"),u.createFactory(c.textarea.type)),h=s.createClass({displayName:"ReactDOMTextarea",mixins:[r,a.Mixin,i],getInitialState:function(){var e=this.props.defaultValue,t=this.props.children;null!=t&&(d(null==e),Array.isArray(t)&&(d(t.length<=1),t=t[0]),e=""+t),null==e&&(e="");var n=a.getValue(this);return{initialValue:""+(null!=n?n:e)}},render:function(){var e=p({},this.props);return d(null==e.dangerouslySetInnerHTML),e.defaultValue=null,e.value=null,e.onChange=this._handleChange,f(e,this.state.initialValue)},componentDidUpdate:function(){var e=a.getValue(this);if(null!=e){var t=this.getDOMNode();o.setValueForProperty(t,"value",""+e)}},_handleChange:function(e){var t,r=a.getOnChange(this);return r&&(t=r.call(this,e)),l.asap(n,this),t}});t.exports=h},{"./AutoFocusMixin":2,"./DOMPropertyOperations":12,"./LinkedValueUtils":24,"./Object.assign":27,"./ReactBrowserComponentMixin":29,"./ReactCompositeComponent":34,"./ReactDOM":37,"./ReactElement":50,"./ReactUpdates":77,"./invariant":124,"./warning":141}],48:[function(e,t){"use strict";function n(){this.reinitializeTransaction()}var r=e("./ReactUpdates"),o=e("./Transaction"),a=e("./Object.assign"),i=e("./emptyFunction"),s={initialize:i,close:function(){p.isBatchingUpdates=!1}},u={initialize:i,close:r.flushBatchedUpdates.bind(r)},c=[u,s];a(n.prototype,o.Mixin,{getTransactionWrappers:function(){return c}});var l=new n,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n){var r=p.isBatchingUpdates;p.isBatchingUpdates=!0,r?e(t,n):l.perform(e,null,t,n)}};t.exports=p},{"./Object.assign":27,"./ReactUpdates":77,"./Transaction":93,"./emptyFunction":105}],49:[function(e,t){"use strict";function n(){O.EventEmitter.injectReactEventListener(b),O.EventPluginHub.injectEventPluginOrder(s),O.EventPluginHub.injectInstanceHandle(D),O.EventPluginHub.injectMount(x),O.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:u,ChangeEventPlugin:o,CompositionEventPlugin:i,MobileSafariClickEventPlugin:p,SelectEventPlugin:P,BeforeInputEventPlugin:r}),O.NativeComponent.injectGenericComponentClass(m),O.NativeComponent.injectComponentClasses({button:v,form:g,img:y,input:E,option:C,select:R,textarea:M,html:N("html"),head:N("head"),body:N("body")}),O.CompositeComponent.injectMixin(d),O.DOMProperty.injectDOMPropertyConfig(l),O.DOMProperty.injectDOMPropertyConfig(T),O.EmptyComponent.injectEmptyComponent("noscript"),O.Updates.injectReconcileTransaction(f.ReactReconcileTransaction),O.Updates.injectBatchingStrategy(h),O.RootIndex.injectCreateReactRootIndex(c.canUseDOM?a.createReactRootIndex:_.createReactRootIndex),O.Component.injectEnvironment(f)}var r=e("./BeforeInputEventPlugin"),o=e("./ChangeEventPlugin"),a=e("./ClientReactRootIndex"),i=e("./CompositionEventPlugin"),s=e("./DefaultEventPluginOrder"),u=e("./EnterLeaveEventPlugin"),c=e("./ExecutionEnvironment"),l=e("./HTMLDOMPropertyConfig"),p=e("./MobileSafariClickEventPlugin"),d=e("./ReactBrowserComponentMixin"),f=e("./ReactComponentBrowserEnvironment"),h=e("./ReactDefaultBatchingStrategy"),m=e("./ReactDOMComponent"),v=e("./ReactDOMButton"),g=e("./ReactDOMForm"),y=e("./ReactDOMImg"),E=e("./ReactDOMInput"),C=e("./ReactDOMOption"),R=e("./ReactDOMSelect"),M=e("./ReactDOMTextarea"),b=e("./ReactEventListener"),O=e("./ReactInjection"),D=e("./ReactInstanceHandles"),x=e("./ReactMount"),P=e("./SelectEventPlugin"),_=e("./ServerReactRootIndex"),w=e("./SimpleEventPlugin"),T=e("./SVGDOMPropertyConfig"),N=e("./createFullPageComponent");t.exports={inject:n}},{"./BeforeInputEventPlugin":3,"./ChangeEventPlugin":7,"./ClientReactRootIndex":8,"./CompositionEventPlugin":9,"./DefaultEventPluginOrder":14,"./EnterLeaveEventPlugin":15,"./ExecutionEnvironment":22,"./HTMLDOMPropertyConfig":23,"./MobileSafariClickEventPlugin":26,"./ReactBrowserComponentMixin":29,"./ReactComponentBrowserEnvironment":33,"./ReactDOMButton":38,"./ReactDOMComponent":39,"./ReactDOMForm":40,"./ReactDOMImg":42,"./ReactDOMInput":43,"./ReactDOMOption":44,"./ReactDOMSelect":45,"./ReactDOMTextarea":47,"./ReactDefaultBatchingStrategy":48,"./ReactEventListener":55,"./ReactInjection":56,"./ReactInstanceHandles":58,"./ReactMount":61,"./SVGDOMPropertyConfig":78,"./SelectEventPlugin":79,"./ServerReactRootIndex":80,"./SimpleEventPlugin":81,"./createFullPageComponent":101}],50:[function(e,t){"use strict";var n=e("./ReactContext"),r=e("./ReactCurrentOwner"),o=(e("./warning"),{key:!0,ref:!0}),a=function(e,t,n,r,o,a){this.type=e,this.key=t,this.ref=n,this._owner=r,this._context=o,this.props=a};a.prototype={_isReactElement:!0},a.createElement=function(e,t,i){var s,u={},c=null,l=null;if(null!=t){l=void 0===t.ref?null:t.ref,c=null==t.key?null:""+t.key;for(s in t)t.hasOwnProperty(s)&&!o.hasOwnProperty(s)&&(u[s]=t[s])}var p=arguments.length-2;if(1===p)u.children=i;else if(p>1){for(var d=Array(p),f=0;p>f;f++)d[f]=arguments[f+2];u.children=d}if(e&&e.defaultProps){var h=e.defaultProps;for(s in h)"undefined"==typeof u[s]&&(u[s]=h[s])}return new a(e,c,l,r.current,n.current,u)},a.createFactory=function(e){var t=a.createElement.bind(null,e);return t.type=e,t},a.cloneAndReplaceProps=function(e,t){var n=new a(e.type,e.key,e.ref,e._owner,e._context,t);return n},a.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},t.exports=a},{"./ReactContext":35,"./ReactCurrentOwner":36,"./warning":141}],51:[function(e,t){"use strict";function n(){var e=p.current;return e&&e.constructor.displayName||void 0}function r(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,a("react_key_warning",'Each child in an array should have a unique "key" prop.',e,t))}function o(e,t,n){v.test(e)&&a("react_numeric_key_warning","Child objects should have non-numeric keys so ordering is preserved.",t,n)}function a(e,t,r,o){var a=n(),i=o.displayName,s=a||i,u=f[e];if(!u.hasOwnProperty(s)){u[s]=!0,t+=a?" Check the render method of "+a+".":" Check the renderComponent call using <"+i+">.";var c=null;r._owner&&r._owner!==p.current&&(c=r._owner.constructor.displayName,t+=" It was passed a child from "+c+"."),t+=" See http://fb.me/react-warning-keys for more information.",d(e,{component:s,componentOwner:c}),console.warn(t)}}function i(){var e=n()||"";h.hasOwnProperty(e)||(h[e]=!0,d("react_object_map_children"))}function s(e,t){if(Array.isArray(e))for(var n=0;no;o++){t=e.ancestors[o];var i=l.getID(t)||"";m._handleTopLevel(e.topLevelType,t,i,e.nativeEvent)}}function a(e){var t=h(window);e(t)}var i=e("./EventListener"),s=e("./ExecutionEnvironment"),u=e("./PooledClass"),c=e("./ReactInstanceHandles"),l=e("./ReactMount"),p=e("./ReactUpdates"),d=e("./Object.assign"),f=e("./getEventTarget"),h=e("./getUnboundedScrollPosition");d(r.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),u.addPoolingTo(r,u.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:s.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?i.listen(r,t,m.dispatchEvent.bind(null,e)):void 0},trapCapturedEvent:function(e,t,n){var r=n;return r?i.capture(r,t,m.dispatchEvent.bind(null,e)):void 0},monitorScrollValue:function(e){var t=a.bind(null,e);i.listen(window,"scroll",t),i.listen(window,"resize",t)},dispatchEvent:function(e,t){if(m._enabled){var n=r.getPooled(e,t);try{p.batchedUpdates(o,n)}finally{r.release(n)}}}};t.exports=m},{"./EventListener":17,"./ExecutionEnvironment":22,"./Object.assign":27,"./PooledClass":28,"./ReactInstanceHandles":58,"./ReactMount":61,"./ReactUpdates":77,"./getEventTarget":115,"./getUnboundedScrollPosition":120}],56:[function(e,t){"use strict";var n=e("./DOMProperty"),r=e("./EventPluginHub"),o=e("./ReactComponent"),a=e("./ReactCompositeComponent"),i=e("./ReactEmptyComponent"),s=e("./ReactBrowserEventEmitter"),u=e("./ReactNativeComponent"),c=e("./ReactPerf"),l=e("./ReactRootIndex"),p=e("./ReactUpdates"),d={Component:o.injection,CompositeComponent:a.injection,DOMProperty:n.injection,EmptyComponent:i.injection,EventPluginHub:r.injection,EventEmitter:s.injection,NativeComponent:u.injection,Perf:c.injection,RootIndex:l.injection,Updates:p.injection};t.exports=d},{"./DOMProperty":11,"./EventPluginHub":18,"./ReactBrowserEventEmitter":30,"./ReactComponent":32,"./ReactCompositeComponent":34,"./ReactEmptyComponent":52,"./ReactNativeComponent":64,"./ReactPerf":66,"./ReactRootIndex":73,"./ReactUpdates":77}],57:[function(e,t){"use strict";function n(e){return o(document.documentElement,e)}var r=e("./ReactDOMSelection"),o=e("./containsNode"),a=e("./focusNode"),i=e("./getActiveElement"),s={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=i();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?s.getSelection(e):null}},restoreSelection:function(e){var t=i(),r=e.focusedElem,o=e.selectionRange;t!==r&&n(r)&&(s.hasSelectionCapabilities(r)&&s.setSelection(r,o),a(r))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=r.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,o=t.end;if("undefined"==typeof o&&(o=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(o,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",o-n),a.select()}else r.setOffsets(e,t)}};t.exports=s},{"./ReactDOMSelection":46,"./containsNode":99,"./focusNode":109,"./getActiveElement":111}],58:[function(e,t){"use strict";function n(e){return d+e.toString(36)}function r(e,t){return e.charAt(t)===d||t===e.length}function o(e){return""===e||e.charAt(0)===d&&e.charAt(e.length-1)!==d}function a(e,t){return 0===t.indexOf(e)&&r(t,e.length)}function i(e){return e?e.substr(0,e.lastIndexOf(d)):""}function s(e,t){if(p(o(e)&&o(t)),p(a(e,t)),e===t)return e;for(var n=e.length+f,i=n;i=i;i++)if(r(e,i)&&r(t,i))a=i;else if(e.charAt(i)!==t.charAt(i))break;var s=e.substr(0,a);return p(o(s)),s}function c(e,t,n,r,o,u){e=e||"",t=t||"",p(e!==t);var c=a(t,e);p(c||a(e,t));for(var l=0,d=c?i:s,f=e;;f=d(f,t)){var m;if(o&&f===e||u&&f===t||(m=n(f,c,r)),m===!1||f===t)break;p(l++1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var a=u(e,t);a!==e&&c(e,a,n,r,!1,!0),a!==t&&c(a,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},_getFirstCommonAncestorID:u,_getNextDescendantID:s,isAncestorIDOf:a,SEPARATOR:d};t.exports=m},{"./ReactRootIndex":73,"./invariant":124}],59:[function(e,t){"use strict";function n(e,t){if("function"==typeof t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if("function"==typeof r){var o=r.bind(t);for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);e[n]=o}else e[n]=r}}var r=(e("./ReactCurrentOwner"),e("./invariant")),o=(e("./monitorCodeUse"),e("./warning"),{}),a={},i={};i.wrapCreateFactory=function(e){var t=function(t){return"function"!=typeof t?e(t):t.isReactNonLegacyFactory?e(t.type):t.isReactLegacyFactory?e(t.type):t};return t},i.wrapCreateElement=function(e){var t=function(t){if("function"!=typeof t)return e.apply(this,arguments);var n;return t.isReactNonLegacyFactory?(n=Array.prototype.slice.call(arguments,0),n[0]=t.type,e.apply(this,n)):t.isReactLegacyFactory?(t._isMockFunction&&(t.type._mockedReactClassConstructor=t),n=Array.prototype.slice.call(arguments,0),n[0]=t.type,e.apply(this,n)):t.apply(null,Array.prototype.slice.call(arguments,1))};return t},i.wrapFactory=function(e){r("function"==typeof e);var t=function(){return e.apply(this,arguments)};return n(t,e.type),t.isReactLegacyFactory=o,t.type=e.type,t},i.markNonLegacyFactory=function(e){return e.isReactNonLegacyFactory=a,e},i.isValidFactory=function(e){return"function"==typeof e&&e.isReactLegacyFactory===o},i.isValidClass=function(e){return i.isValidFactory(e)},i._isLegacyCallWarningEnabled=!0,t.exports=i},{"./ReactCurrentOwner":36,"./invariant":124,"./monitorCodeUse":134,"./warning":141}],60:[function(e,t){"use strict";var n=e("./adler32"),r={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=n(e);return e.replace(">"," "+r.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var o=t.getAttribute(r.CHECKSUM_ATTR_NAME);o=o&&parseInt(o,10);var a=n(e);return a===o}};t.exports=r},{"./adler32":96}],61:[function(e,t){"use strict";function n(e){var t=E(e);return t&&S.getID(t)}function r(e){var t=o(e);if(t)if(x.hasOwnProperty(t)){var n=x[t];n!==e&&(R(!s(n,t)),x[t]=e)}else x[t]=e;return t}function o(e){return e&&e.getAttribute&&e.getAttribute(D)||""}function a(e,t){var n=o(e);n!==t&&delete x[n],e.setAttribute(D,t),x[t]=e}function i(e){return x.hasOwnProperty(e)&&s(x[e],e)||(x[e]=S.findReactNodeByID(e)),x[e]}function s(e,t){if(e){R(o(e)===t);var n=S.findReactContainerForID(t);if(n&&g(n,e))return!0}return!1}function u(e){delete x[e]}function c(e){var t=x[e];return t&&s(t,e)?void(I=t):!1}function l(e){I=null,m.traverseAncestors(e,c);var t=I;return I=null,t}var p=e("./DOMProperty"),d=e("./ReactBrowserEventEmitter"),f=(e("./ReactCurrentOwner"),e("./ReactElement")),h=e("./ReactLegacyElement"),m=e("./ReactInstanceHandles"),v=e("./ReactPerf"),g=e("./containsNode"),y=e("./deprecated"),E=e("./getReactRootElementInContainer"),C=e("./instantiateReactComponent"),R=e("./invariant"),M=e("./shouldUpdateReactComponent"),b=(e("./warning"),h.wrapCreateElement(f.createElement)),O=m.SEPARATOR,D=p.ID_ATTRIBUTE_NAME,x={},P=1,_=9,w={},T={},N=[],I=null,S={_instancesByReactRootID:w,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){var o=t.props;return S.scrollMonitor(n,function(){e.replaceProps(o,r)}),e},_registerComponent:function(e,t){R(t&&(t.nodeType===P||t.nodeType===_)),d.ensureScrollValueMonitoring();var n=S.registerContainer(t);return w[n]=e,n},_renderNewRootComponent:v.measure("ReactMount","_renderNewRootComponent",function(e,t,n){var r=C(e,null),o=S._registerComponent(r,t);return r.mountComponentIntoNode(o,t,n),r}),render:function(e,t,r){R(f.isValidElement(e));var o=w[n(t)];if(o){var a=o._currentElement;if(M(a,e))return S._updateRootComponent(o,e,t,r);S.unmountComponentAtNode(t)}var i=E(t),s=i&&S.isRenderedByReact(i),u=s&&!o,c=S._renderNewRootComponent(e,t,u);return r&&r.call(c),c},constructAndRenderComponent:function(e,t,n){var r=b(e,t);return S.render(r,n)},constructAndRenderComponentByID:function(e,t,n){var r=document.getElementById(n);return R(r),S.constructAndRenderComponent(e,t,r)},registerContainer:function(e){var t=n(e);return t&&(t=m.getReactRootIDFromNodeID(t)),t||(t=m.createReactRootID()),T[t]=e,t},unmountComponentAtNode:function(e){var t=n(e),r=w[t];return r?(S.unmountComponentFromNode(r,e),delete w[t],delete T[t],!0):!1},unmountComponentFromNode:function(e,t){for(e.unmountComponent(),t.nodeType===_&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var t=m.getReactRootIDFromNodeID(e),n=T[t];return n},findReactNodeByID:function(e){var t=S.findReactContainerForID(e);return S.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=S.getID(e);return t?t.charAt(0)===O:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(S.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var n=N,r=0,o=l(t)||e;for(n[0]=o.firstChild,n.length=1;r>",R=i(),M=p(),b={array:r("array"),bool:r("boolean"),func:r("function"),number:r("number"),object:r("object"),string:r("string"),any:o(),arrayOf:a,element:R,instanceOf:s,node:M,objectOf:c,oneOf:u,oneOfType:l,shape:d,component:y("React.PropTypes","component","element",this,R),renderable:y("React.PropTypes","renderable","node",this,M)};t.exports=b},{"./ReactElement":50,"./ReactPropTypeLocationNames":68,"./deprecated":104,"./emptyFunction":105}],71:[function(e,t){"use strict";function n(){this.listenersToPut=[]}var r=e("./PooledClass"),o=e("./ReactBrowserEventEmitter"),a=e("./Object.assign");a(n.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e"+a+""},receiveComponent:function(e){var t=e.props;t!==this.props&&(this.props=t,r.BackendIDOperations.updateTextContentByID(this._rootNodeID,t))}});var u=function(e){return new o(s,null,null,null,null,e)};u.type=s,t.exports=u},{"./DOMPropertyOperations":12,"./Object.assign":27,"./ReactComponent":32,"./ReactElement":50,"./escapeTextForBrowser":107}],77:[function(e,t){"use strict";function n(){h(O.ReactReconcileTransaction&&y)}function r(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled()}function o(e,t,r){n(),y.batchedUpdates(e,t,r)}function a(e,t){return e._mountDepth-t._mountDepth}function i(e){var t=e.dirtyComponentsLength;h(t===m.length),m.sort(a);for(var n=0;t>n;n++){var r=m[n];if(r.isMounted()){var o=r._pendingCallbacks;if(r._pendingCallbacks=null,r.performUpdateIfNecessary(e.reconcileTransaction),o)for(var i=0;i":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;t.exports=r},{}],108:[function(e,t){"use strict";function n(e,t,n){var r=e,a=!r.hasOwnProperty(n);if(a&&null!=t){var i,s=typeof t;i="string"===s?o(t):"number"===s?o(""+t):t,r[n]=i}}function r(e){if(null==e)return e;var t={};return a(e,n,t),t}{var o=e("./ReactTextComponent"),a=e("./traverseAllChildren");e("./warning")}t.exports=r},{"./ReactTextComponent":76,"./traverseAllChildren":140,"./warning":141}],109:[function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}t.exports=n},{}],110:[function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=n},{}],111:[function(e,t){function n(){try{return document.activeElement||document.body}catch(e){return document.body}}t.exports=n},{}],112:[function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}t.exports=n},{}],113:[function(e,t){"use strict";function n(e){if(e.key){var t=o[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var r=e("./getEventCharCode"),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=n},{"./getEventCharCode":112}],114:[function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return r?!!n[r]:!1}function r(){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},{}],115:[function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}t.exports=n},{}],116:[function(e,t){function n(e){return o(!!a),p.hasOwnProperty(e)||(e="*"),i.hasOwnProperty(e)||(a.innerHTML="*"===e?"":"<"+e+">",i[e]=!a.firstChild),i[e]?p[e]:null}var r=e("./ExecutionEnvironment"),o=e("./invariant"),a=r.canUseDOM?document.createElement("div"):null,i={circle:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},s=[1,'"],u=[1,"","
"],c=[3,"","
"],l=[1,"",""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c,circle:l,defs:l,ellipse:l,g:l,line:l,linearGradient:l,path:l,polygon:l,polyline:l,radialGradient:l,rect:l,stop:l,text:l};t.exports=n},{"./ExecutionEnvironment":22,"./invariant":124}],117:[function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),a=0,i=0;o;){if(3==o.nodeType){if(i=a+o.textContent.length,t>=a&&i>=t)return{node:o,offset:t-a};a=i}o=n(r(o))}}t.exports=o},{}],118:[function(e,t){"use strict";function n(e){return e?e.nodeType===r?e.documentElement:e.firstChild:null}var r=9;t.exports=n},{}],119:[function(e,t){"use strict";function n(){return!o&&r.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var r=e("./ExecutionEnvironment"),o=null;t.exports=n},{"./ExecutionEnvironment":22}],120:[function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=n},{}],121:[function(e,t){function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;t.exports=n},{}],122:[function(e,t){"use strict";function n(e){return r(e).replace(o,"-ms-")}var r=e("./hyphenate"),o=/^ms-/;t.exports=n},{"./hyphenate":121}],123:[function(e,t){"use strict";function n(e,t){var n;return n="string"==typeof e.type?r.createInstanceForTag(e.type,e.props,t):new e.type(e.props),n.construct(e),n}{var r=(e("./warning"),e("./ReactElement"),e("./ReactLegacyElement"),e("./ReactNativeComponent"));e("./ReactEmptyComponent")}t.exports=n},{"./ReactElement":50,"./ReactEmptyComponent":52,"./ReactLegacyElement":59,"./ReactNativeComponent":64,"./warning":141}],124:[function(e,t){"use strict";var n=function(e,t,n,r,o,a,i,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],l=0;u=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};t.exports=n},{}],125:[function(e,t){"use strict";function n(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var i=document.createElement("div");i.setAttribute(n,"return;"),a="function"==typeof i[n]}return!a&&r&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}var r,o=e("./ExecutionEnvironment");o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=n},{"./ExecutionEnvironment":22}],126:[function(e,t){function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=n},{}],127:[function(e,t){"use strict";function n(e){return e&&("INPUT"===e.nodeName&&r[e.type]||"TEXTAREA"===e.nodeName)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=n},{}],128:[function(e,t){function n(e){return r(e)&&3==e.nodeType}var r=e("./isNode");t.exports=n},{"./isNode":126}],129:[function(e,t){"use strict";function n(e){e||(e="");var t,n=arguments.length;if(n>1)for(var r=1;n>r;r++)t=arguments[r],t&&(e=(e?e+" ":"")+t);return e}t.exports=n},{}],130:[function(e,t){"use strict";var n=e("./invariant"),r=function(e){var t,r={};n(e instanceof Object&&!Array.isArray(e));for(t in e)e.hasOwnProperty(t)&&(r[t]=t);return r};t.exports=r},{"./invariant":124}],131:[function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=n},{}],132:[function(e,t){"use strict";function n(e,t,n){if(!e)return null;var o={};for(var a in e)r.call(e,a)&&(o[a]=t.call(n,e[a],a,e));return o}var r=Object.prototype.hasOwnProperty;t.exports=n},{}],133:[function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)?t[n]:t[n]=e.call(this,n)}}t.exports=n},{}],134:[function(e,t){"use strict";function n(e){r(e&&!/[^a-z0-9_]/.test(e))}var r=e("./invariant");t.exports=n},{"./invariant":124}],135:[function(e,t){"use strict";function n(e){return o(r.isValidElement(e)),e}var r=e("./ReactElement"),o=e("./invariant");t.exports=n},{"./ReactElement":50,"./invariant":124}],136:[function(e,t){"use strict";var n=e("./ExecutionEnvironment"),r=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,a=function(e,t){e.innerHTML=t};if(n.canUseDOM){var i=document.createElement("div");i.innerHTML=" ",""===i.innerHTML&&(a=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),r.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML=""+t; 16 | var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}t.exports=a},{"./ExecutionEnvironment":22}],137:[function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}t.exports=n},{}],138:[function(e,t){"use strict";function n(e,t){return e&&t&&e.type===t.type&&e.key===t.key&&e._owner===t._owner?!0:!1}t.exports=n},{}],139:[function(e,t){function n(e){var t=e.length;if(r(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e)),r("number"==typeof t),r(0===t||t-1 in e),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(n){}for(var o=Array(t),a=0;t>a;a++)o[a]=e[a];return o}var r=e("./invariant");t.exports=n},{"./invariant":124}],140:[function(e,t){"use strict";function n(e){return d[e]}function r(e,t){return e&&null!=e.key?a(e.key):t.toString(36)}function o(e){return(""+e).replace(f,n)}function a(e){return"$"+o(e)}function i(e,t,n){return null==e?0:h(e,"",0,t,n)}var s=e("./ReactElement"),u=e("./ReactInstanceHandles"),c=e("./invariant"),l=u.SEPARATOR,p=":",d={"=":"=0",".":"=1",":":"=2"},f=/[=.:]/g,h=function(e,t,n,o,i){var u,d,f=0;if(Array.isArray(e))for(var m=0;m