0
  $   ˆÏÎÍ459Ìa–ßi~”Ji?u8 ¸'.Õ1hßË Ë    ‹      Í”_oÓ0Åß÷).~à­¹ý746'h$•¨ÔµU„âÁ��ÆjGöe|zœ&Ó:´Š!$Ä“�äwÏ=Ç±Í_%‹8ý¼œÀ‡ôfË�ïgÓXñÓ(FLÒ¤ý0úÄÉœ+ˆêKÄý~ìG�±LWXÐ®£#«3
$I�ñæ]t¼PBú8i*U4­¤ú&4wä´Tc¬­É�
ëÁžSeŽÖÂ;gÑÂ*¤¬¤-Ç¶Þ+b'É×FÞ7�¡ê‹æÄú ÞLmÄ©€o¢Ô›*ddjq½Û€³YÈPg¦r¸.Eµ6:g J
Ù—i¼øê9ß±©Ž¸ ß:Ù»8œ_-Â„Es±SÅóÌ�g®Y4Ž`g¤Îµ’'áÛ¾Õ?N&-“(—Y]“6Õ#Š>âqÔÌ”®>ë¹OPØcªEäïVCdOcy½šÌÓdºj—D6�î^þ�X´ôCE�h«22ö¾Ñ*¾®Ö®¾zx„Î¢Õ›‚XÐƒgÉ?È•›R*{œìT&¿›.‚7Þp79öù‹±a8êõßö†08¿ì�þ�Û.ÀößøáþÃîdr<œvŽí½òÌú¾¿º    D   ˆl–ß=¿Jõ0–52 \¸®JbÑ¿�þH'VnVšr1‘Æ¥xÏÊƒd!Ï_�uÐb&=LyZËcõÀÍ '    require 'sprockets/legacy_tilt_processor'
require 'sprockets/utils'

module Sprockets
  # `Engines` provides a global and `Environment` instance registry.
  #
  # An engine is a type of processor that is bound to a filename
  # extension. `application.js.coffee` indicates that the
  # `CoffeeScriptProcessor` engine will be ran on the file.
  #
  # Extensions can be stacked and will be evaulated from right to
  # left. `application.js.coffee.erb` will first run `ERBProcessor`
  # then `CoffeeScriptProcessor`.
  #
  # All `Engine`s must follow the `Template` interface. It is
  # recommended to subclass `Template`.
  #
  # Its recommended that you register engine changes on your local
  # `Environment` instance.
  #
  #     environment.register_engine '.foo', FooProcessor
  #
  # The global registry is exposed for plugins to register themselves.
  #
  #     Sprockets.register_engine '.sass', SassProcessor
  #
  module Engines
    include Utils

    # Returns a `Hash` of `Engine`s registered on the `Environment`.
    # If an `ext` argument is supplied, the `Engine` associated with
    # that extension will be returned.
    #
    #     environment.engines
    #     # => {".coffee" => CoffeeScriptProcessor, ".sass" => SassProcessor, ...}
    #
    def engines
      config[:engines]
    end

    # Internal: Returns a `Hash` of engine extensions to mime types.
    #
    # # => { '.coffee' => 'application/javascript' }
    def engine_mime_types
      config[:engine_mime_types]
    end

    # Registers a new Engine `klass` for `ext`. If the `ext` already
    # has an engine registered, it will be overridden.
    #
    #     environment.register_engine '.coffee', CoffeeScriptProcessor
    #
    def register_engine(ext, klass, options = {})
      unless options[:silence_deprecation]
        msg = <<-MSG
Sprockets method `register_engine` is deprecated.
Please register a mime type using `register_mime_type` then
use `register_compressor` or `register_transformer`.
https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors
        MSG

        Deprecation.new([caller.first]).warn(msg)
      end

      ext = Sprockets::Utils.normalize_extension(ext)

      self.computed_config = {}

      if klass.respond_to?(:call)
        processor = klass
        self.config = hash_reassoc(config, :engines) do |engines|
          engines.merge(ext => klass)
        end
        if options[:mime_type]
          self.config = hash_reassoc(config, :engine_mime_types) do |mime_types|
            mime_types.merge(ext.to_s => options[:mime_type])
          end
        end
      else
        processor = LegacyTiltProcessor.new(klass)
        self.config = hash_reassoc(config, :engines) do |engines|
          engines.merge(ext => processor)
        end
        if klass.respond_to?(:default_mime_type) && klass.default_mime_type
          self.config = hash_reassoc(config, :engine_mime_types) do |mime_types|
            mime_types.merge(ext.to_s => klass.default_mime_type)
          end
        end
      end
    end
  end
end
     ˆÒÑÐ478ÏÀÍ Þ    ‹      ½”_oÓ0Åß÷).~à-¹MÚ±9F£©D¥®­º „ÎkiÙ.aûô8MÐ
j�IO¾I~9÷œ;ôU¸žEŸ7søÝ.aóñýr1â ~ÏÃ(ìLÜ‘‡8_ ¥1ÍbÛ¶n;v¥*0ÚbivÕµQ"1njRÂ.hw�] -3žÚ¨¦ÊØ¢N³ï s@¹7Z¤Ù%4¥² £³*G%¥Á½V¨K®2Œ÷6eóÆ;ñ£O±²Ò8hÓX¦]Kï%ä­ÊÁ.�]ºR1jJøÆ+QÔ1²!ŒŠ]Z%A‘ÈZc\ñúÞ-DN€W& _³õWËÙÖÝÛŒr°ò€¼›«ëu¶â»Œ"?ÍÜZæ†°%×v2¹ÈÒ³ð]ß‰Çó‚aÏ„™N”hŒ�õŠ6âqÔDVºá6ëÔ&(Õ1Õ#éß¦Á“_†±¹ÙÎWQ¸Øö