define(['exports', 'aurelia-framework'], function (exports, _aureliaFramework) {
    'use strict';

    exports.__esModule = true;
    exports.PragmaTemplate = undefined;

    function _initDefineProp(target, property, descriptor, context) {
        if (!descriptor) return;
        Object.defineProperty(target, property, {
            enumerable: descriptor.enumerable,
            configurable: descriptor.configurable,
            writable: descriptor.writable,
            value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
        });
    }

    function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
        var desc = {};
        Object['ke' + 'ys'](descriptor).forEach(function (key) {
            desc[key] = descriptor[key];
        });
        desc.enumerable = !!desc.enumerable;
        desc.configurable = !!desc.configurable;

        if ('value' in desc || desc.initializer) {
            desc.writable = true;
        }

        desc = decorators.slice().reverse().reduce(function (desc, decorator) {
            return decorator(target, property, desc) || desc;
        }, desc);

        if (context && desc.initializer !== void 0) {
            desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
            desc.initializer = undefined;
        }

        if (desc.initializer === void 0) {
            Object['define' + 'Property'](target, property, desc);
            desc = null;
        }

        return desc;
    }

    function _initializerWarningHelper(descriptor, context) {
        throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');
    }

    var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3;

    let PragmaTemplate = exports.PragmaTemplate = (_class = class PragmaTemplate {
        constructor() {
            _initDefineProp(this, 'html', _descriptor, this);

            _initDefineProp(this, 'dataItem', _descriptor2, this);

            _initDefineProp(this, 'viewStrategy', _descriptor3, this);
        }

        htmlChanged() {
            this.viewStrategy = new _aureliaFramework.InlineViewStrategy(this.html);
        }
    }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, 'html', [_aureliaFramework.bindable], {
        enumerable: true,
        initializer: null
    }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, 'dataItem', [_aureliaFramework.bindable], {
        enumerable: true,
        initializer: null
    }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, 'viewStrategy', [_aureliaFramework.bindable], {
        enumerable: true,
        initializer: null
    })), _class);
});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByYWdtYS10ZW1wbGF0ZS5qcyJdLCJuYW1lcyI6WyJQcmFnbWFUZW1wbGF0ZSIsImh0bWxDaGFuZ2VkIiwidmlld1N0cmF0ZWd5IiwiaHRtbCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O1FBRWFBLGMsV0FBQUEsYyxhQUFOLE1BQU1BLGNBQU4sQ0FBcUI7QUFBQTtBQUFBOztBQUFBOztBQUFBO0FBQUE7O0FBS3hCQyxzQkFBYztBQUNWLGlCQUFLQyxZQUFMLEdBQW9CLHlDQUF1QixLQUFLQyxJQUE1QixDQUFwQjtBQUNIO0FBUHVCLEsiLCJmaWxlIjoicHJhZ21hLXRlbXBsYXRlLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtiaW5kYWJsZSwgSW5saW5lVmlld1N0cmF0ZWd5fSBmcm9tICdhdXJlbGlhLWZyYW1ld29yayc7XHJcblxyXG5leHBvcnQgY2xhc3MgUHJhZ21hVGVtcGxhdGUge1xyXG4gICAgQGJpbmRhYmxlIGh0bWw7XHJcbiAgICBAYmluZGFibGUgZGF0YUl0ZW07XHJcbiAgICBAYmluZGFibGUgdmlld1N0cmF0ZWd5O1xyXG5cclxuICAgIGh0bWxDaGFuZ2VkKCkge1xyXG4gICAgICAgIHRoaXMudmlld1N0cmF0ZWd5ID0gbmV3IElubGluZVZpZXdTdHJhdGVneSh0aGlzLmh0bWwpO1xyXG4gICAgfVxyXG59Il19